~ubuntu-branches/ubuntu/trusty/gnomeradio/trusty

« back to all changes in this revision

Viewing changes to .pc/gnomeradio-gstreamer-1.0.patch/configure

  • Committer: Package Import Robot
  • Author(s): POJAR GEORGE
  • Date: 2013-09-20 13:31:33 UTC
  • Revision ID: package-import@ubuntu.com-20130920133133-otwactksfjh4bwev
Tags: 1.8-2ubuntu23
* Updated debian/patches/gnomeradio-tray_menu.patch:
  - Fixed menu item not update conform new order when we use move up[down]
    swap. (LP: #1232931)
  - Fixed conditional jump or move depends on uninitialized value.
  - Added function to switch to preset in settings preset list when changed
    them from tray menu.
  - Cleaned up the files relating to the tray icon. Neither gui.c, prefs.c nor
    record.c touch the internals of trayicon.c anymore.
* Updated debian/patches/gnomeradio-preferences.patch:
  - Added option to disable audio loopback mode in Preferences settings.
  - Moved in separate GOptionGroup all command line parameters which refers to
    audio loopback mode.
* Updated debian/patches/gnomeradio-device.patch: Not need radio_mute() when
  exit or session die, already is called in radio_stop().
* Updated debian/patches/gnomeradio-station_list.patch: Fixed pointer targets
  in passing argument differ in signedness.
* Removed the content against configure and Makefile.in, since we use
  autoreconf anyways, from:
  - debian/patches/gnomeradio-gstreamer-1.0.patch.
  - debian/patches/gnomeradio-volume_button.patch.
* Updated debian/patches/gnomeradio-volume_button.patch: Removed unused
  vol_down[up].xpm icons.
* debian/gnomeradio.1: Updated man page.   

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.61 for gnomeradio 1.8.
4
 
#
5
 
# Report bugs to <http://mfcn.ilo.de/gnomeradio>.
6
 
#
7
 
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9
 
# This configure script is free software; the Free Software Foundation
10
 
# gives unlimited permission to copy, distribute and modify it.
11
 
## --------------------- ##
12
 
## M4sh Initialization.  ##
13
 
## --------------------- ##
14
 
 
15
 
# Be more Bourne compatible
16
 
DUALCASE=1; export DUALCASE # for MKS sh
17
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18
 
  emulate sh
19
 
  NULLCMD=:
20
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21
 
  # is contrary to our usage.  Disable this feature.
22
 
  alias -g '${1+"$@"}'='"$@"'
23
 
  setopt NO_GLOB_SUBST
24
 
else
25
 
  case `(set -o) 2>/dev/null` in
26
 
  *posix*) set -o posix ;;
27
 
esac
28
 
 
29
 
fi
30
 
 
31
 
 
32
 
 
33
 
 
34
 
# PATH needs CR
35
 
# Avoid depending upon Character Ranges.
36
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
 
as_cr_digits='0123456789'
40
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
41
 
 
42
 
# The user is always right.
43
 
if test "${PATH_SEPARATOR+set}" != set; then
44
 
  echo "#! /bin/sh" >conf$$.sh
45
 
  echo  "exit 0"   >>conf$$.sh
46
 
  chmod +x conf$$.sh
47
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48
 
    PATH_SEPARATOR=';'
49
 
  else
50
 
    PATH_SEPARATOR=:
51
 
  fi
52
 
  rm -f conf$$.sh
53
 
fi
54
 
 
55
 
# Support unset when possible.
56
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57
 
  as_unset=unset
58
 
else
59
 
  as_unset=false
60
 
fi
61
 
 
62
 
 
63
 
# IFS
64
 
# We need space, tab and new line, in precisely that order.  Quoting is
65
 
# there to prevent editors from complaining about space-tab.
66
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67
 
# splitting by setting IFS to empty value.)
68
 
as_nl='
69
 
'
70
 
IFS=" ""        $as_nl"
71
 
 
72
 
# Find who we are.  Look in the path if we contain no directory separator.
73
 
case $0 in
74
 
  *[\\/]* ) as_myself=$0 ;;
75
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76
 
for as_dir in $PATH
77
 
do
78
 
  IFS=$as_save_IFS
79
 
  test -z "$as_dir" && as_dir=.
80
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81
 
done
82
 
IFS=$as_save_IFS
83
 
 
84
 
     ;;
85
 
esac
86
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
87
 
# in which case we are not to be found in the path.
88
 
if test "x$as_myself" = x; then
89
 
  as_myself=$0
90
 
fi
91
 
if test ! -f "$as_myself"; then
92
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93
 
  { (exit 1); exit 1; }
94
 
fi
95
 
 
96
 
# Work around bugs in pre-3.0 UWIN ksh.
97
 
for as_var in ENV MAIL MAILPATH
98
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99
 
done
100
 
PS1='$ '
101
 
PS2='> '
102
 
PS4='+ '
103
 
 
104
 
# NLS nuisances.
105
 
for as_var in \
106
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108
 
  LC_TELEPHONE LC_TIME
109
 
do
110
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111
 
    eval $as_var=C; export $as_var
112
 
  else
113
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114
 
  fi
115
 
done
116
 
 
117
 
# Required to use basename.
118
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
119
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
120
 
  as_expr=expr
121
 
else
122
 
  as_expr=false
123
 
fi
124
 
 
125
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126
 
  as_basename=basename
127
 
else
128
 
  as_basename=false
129
 
fi
130
 
 
131
 
 
132
 
# Name of the executable.
133
 
as_me=`$as_basename -- "$0" ||
134
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135
 
         X"$0" : 'X\(//\)$' \| \
136
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137
 
echo X/"$0" |
138
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
139
 
            s//\1/
140
 
            q
141
 
          }
142
 
          /^X\/\(\/\/\)$/{
143
 
            s//\1/
144
 
            q
145
 
          }
146
 
          /^X\/\(\/\).*/{
147
 
            s//\1/
148
 
            q
149
 
          }
150
 
          s/.*/./; q'`
151
 
 
152
 
# CDPATH.
153
 
$as_unset CDPATH
154
 
 
155
 
 
156
 
if test "x$CONFIG_SHELL" = x; then
157
 
  if (eval ":") 2>/dev/null; then
158
 
  as_have_required=yes
159
 
else
160
 
  as_have_required=no
161
 
fi
162
 
 
163
 
  if test $as_have_required = yes &&     (eval ":
164
 
(as_func_return () {
165
 
  (exit \$1)
166
 
}
167
 
as_func_success () {
168
 
  as_func_return 0
169
 
}
170
 
as_func_failure () {
171
 
  as_func_return 1
172
 
}
173
 
as_func_ret_success () {
174
 
  return 0
175
 
}
176
 
as_func_ret_failure () {
177
 
  return 1
178
 
}
179
 
 
180
 
exitcode=0
181
 
if as_func_success; then
182
 
  :
183
 
else
184
 
  exitcode=1
185
 
  echo as_func_success failed.
186
 
fi
187
 
 
188
 
if as_func_failure; then
189
 
  exitcode=1
190
 
  echo as_func_failure succeeded.
191
 
fi
192
 
 
193
 
if as_func_ret_success; then
194
 
  :
195
 
else
196
 
  exitcode=1
197
 
  echo as_func_ret_success failed.
198
 
fi
199
 
 
200
 
if as_func_ret_failure; then
201
 
  exitcode=1
202
 
  echo as_func_ret_failure succeeded.
203
 
fi
204
 
 
205
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206
 
  :
207
 
else
208
 
  exitcode=1
209
 
  echo positional parameters were not saved.
210
 
fi
211
 
 
212
 
test \$exitcode = 0) || { (exit 1); exit 1; }
213
 
 
214
 
(
215
 
  as_lineno_1=\$LINENO
216
 
  as_lineno_2=\$LINENO
217
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219
 
") 2> /dev/null; then
220
 
  :
221
 
else
222
 
  as_candidate_shells=
223
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225
 
do
226
 
  IFS=$as_save_IFS
227
 
  test -z "$as_dir" && as_dir=.
228
 
  case $as_dir in
229
 
         /*)
230
 
           for as_base in sh bash ksh sh5; do
231
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232
 
           done;;
233
 
       esac
234
 
done
235
 
IFS=$as_save_IFS
236
 
 
237
 
 
238
 
      for as_shell in $as_candidate_shells $SHELL; do
239
 
         # Try only shells that exist, to save several forks.
240
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
242
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243
 
  emulate sh
244
 
  NULLCMD=:
245
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246
 
  # is contrary to our usage.  Disable this feature.
247
 
  alias -g '${1+"$@"}'='"$@"'
248
 
  setopt NO_GLOB_SUBST
249
 
else
250
 
  case `(set -o) 2>/dev/null` in
251
 
  *posix*) set -o posix ;;
252
 
esac
253
 
 
254
 
fi
255
 
 
256
 
 
257
 
:
258
 
_ASEOF
259
 
}; then
260
 
  CONFIG_SHELL=$as_shell
261
 
               as_have_required=yes
262
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
263
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
 
  emulate sh
265
 
  NULLCMD=:
266
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267
 
  # is contrary to our usage.  Disable this feature.
268
 
  alias -g '${1+"$@"}'='"$@"'
269
 
  setopt NO_GLOB_SUBST
270
 
else
271
 
  case `(set -o) 2>/dev/null` in
272
 
  *posix*) set -o posix ;;
273
 
esac
274
 
 
275
 
fi
276
 
 
277
 
 
278
 
:
279
 
(as_func_return () {
280
 
  (exit $1)
281
 
}
282
 
as_func_success () {
283
 
  as_func_return 0
284
 
}
285
 
as_func_failure () {
286
 
  as_func_return 1
287
 
}
288
 
as_func_ret_success () {
289
 
  return 0
290
 
}
291
 
as_func_ret_failure () {
292
 
  return 1
293
 
}
294
 
 
295
 
exitcode=0
296
 
if as_func_success; then
297
 
  :
298
 
else
299
 
  exitcode=1
300
 
  echo as_func_success failed.
301
 
fi
302
 
 
303
 
if as_func_failure; then
304
 
  exitcode=1
305
 
  echo as_func_failure succeeded.
306
 
fi
307
 
 
308
 
if as_func_ret_success; then
309
 
  :
310
 
else
311
 
  exitcode=1
312
 
  echo as_func_ret_success failed.
313
 
fi
314
 
 
315
 
if as_func_ret_failure; then
316
 
  exitcode=1
317
 
  echo as_func_ret_failure succeeded.
318
 
fi
319
 
 
320
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
321
 
  :
322
 
else
323
 
  exitcode=1
324
 
  echo positional parameters were not saved.
325
 
fi
326
 
 
327
 
test $exitcode = 0) || { (exit 1); exit 1; }
328
 
 
329
 
(
330
 
  as_lineno_1=$LINENO
331
 
  as_lineno_2=$LINENO
332
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
333
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
 
 
335
 
_ASEOF
336
 
}; then
337
 
  break
338
 
fi
339
 
 
340
 
fi
341
 
 
342
 
      done
343
 
 
344
 
      if test "x$CONFIG_SHELL" != x; then
345
 
  for as_var in BASH_ENV ENV
346
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347
 
        done
348
 
        export CONFIG_SHELL
349
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350
 
fi
351
 
 
352
 
 
353
 
    if test $as_have_required = no; then
354
 
  echo This script requires a shell more modern than all the
355
 
      echo shells that I found on your system.  Please install a
356
 
      echo modern shell, or manually run the script under such a
357
 
      echo shell if you do have one.
358
 
      { (exit 1); exit 1; }
359
 
fi
360
 
 
361
 
 
362
 
fi
363
 
 
364
 
fi
365
 
 
366
 
 
367
 
 
368
 
(eval "as_func_return () {
369
 
  (exit \$1)
370
 
}
371
 
as_func_success () {
372
 
  as_func_return 0
373
 
}
374
 
as_func_failure () {
375
 
  as_func_return 1
376
 
}
377
 
as_func_ret_success () {
378
 
  return 0
379
 
}
380
 
as_func_ret_failure () {
381
 
  return 1
382
 
}
383
 
 
384
 
exitcode=0
385
 
if as_func_success; then
386
 
  :
387
 
else
388
 
  exitcode=1
389
 
  echo as_func_success failed.
390
 
fi
391
 
 
392
 
if as_func_failure; then
393
 
  exitcode=1
394
 
  echo as_func_failure succeeded.
395
 
fi
396
 
 
397
 
if as_func_ret_success; then
398
 
  :
399
 
else
400
 
  exitcode=1
401
 
  echo as_func_ret_success failed.
402
 
fi
403
 
 
404
 
if as_func_ret_failure; then
405
 
  exitcode=1
406
 
  echo as_func_ret_failure succeeded.
407
 
fi
408
 
 
409
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410
 
  :
411
 
else
412
 
  exitcode=1
413
 
  echo positional parameters were not saved.
414
 
fi
415
 
 
416
 
test \$exitcode = 0") || {
417
 
  echo No shell found that supports shell functions.
418
 
  echo Please tell autoconf@gnu.org about your system,
419
 
  echo including any error possibly output before this
420
 
  echo message
421
 
}
422
 
 
423
 
 
424
 
 
425
 
  as_lineno_1=$LINENO
426
 
  as_lineno_2=$LINENO
427
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
428
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429
 
 
430
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
432
 
  # line-number line after each line using $LINENO; the second 'sed'
433
 
  # does the real work.  The second script uses 'N' to pair each
434
 
  # line-number line with the line containing $LINENO, and appends
435
 
  # trailing '-' during substitution so that $LINENO is not a special
436
 
  # case at line end.
437
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
439
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
440
 
  sed -n '
441
 
    p
442
 
    /[$]LINENO/=
443
 
  ' <$as_myself |
444
 
    sed '
445
 
      s/[$]LINENO.*/&-/
446
 
      t lineno
447
 
      b
448
 
      :lineno
449
 
      N
450
 
      :loop
451
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452
 
      t loop
453
 
      s/-\n.*//
454
 
    ' >$as_me.lineno &&
455
 
  chmod +x "$as_me.lineno" ||
456
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457
 
   { (exit 1); exit 1; }; }
458
 
 
459
 
  # Don't try to exec as it changes $[0], causing all sort of problems
460
 
  # (the dirname of $[0] is not the place where we might find the
461
 
  # original and so on.  Autoconf is especially sensitive to this).
462
 
  . "./$as_me.lineno"
463
 
  # Exit status is that of the last command.
464
 
  exit
465
 
}
466
 
 
467
 
 
468
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469
 
  as_dirname=dirname
470
 
else
471
 
  as_dirname=false
472
 
fi
473
 
 
474
 
ECHO_C= ECHO_N= ECHO_T=
475
 
case `echo -n x` in
476
 
-n*)
477
 
  case `echo 'x\c'` in
478
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
479
 
  *)   ECHO_C='\c';;
480
 
  esac;;
481
 
*)
482
 
  ECHO_N='-n';;
483
 
esac
484
 
 
485
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
486
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
487
 
  as_expr=expr
488
 
else
489
 
  as_expr=false
490
 
fi
491
 
 
492
 
rm -f conf$$ conf$$.exe conf$$.file
493
 
if test -d conf$$.dir; then
494
 
  rm -f conf$$.dir/conf$$.file
495
 
else
496
 
  rm -f conf$$.dir
497
 
  mkdir conf$$.dir
498
 
fi
499
 
echo >conf$$.file
500
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
501
 
  as_ln_s='ln -s'
502
 
  # ... but there are two gotchas:
503
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505
 
  # In both cases, we have to default to `cp -p'.
506
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507
 
    as_ln_s='cp -p'
508
 
elif ln conf$$.file conf$$ 2>/dev/null; then
509
 
  as_ln_s=ln
510
 
else
511
 
  as_ln_s='cp -p'
512
 
fi
513
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514
 
rmdir conf$$.dir 2>/dev/null
515
 
 
516
 
if mkdir -p . 2>/dev/null; then
517
 
  as_mkdir_p=:
518
 
else
519
 
  test -d ./-p && rmdir ./-p
520
 
  as_mkdir_p=false
521
 
fi
522
 
 
523
 
if test -x / >/dev/null 2>&1; then
524
 
  as_test_x='test -x'
525
 
else
526
 
  if ls -dL / >/dev/null 2>&1; then
527
 
    as_ls_L_option=L
528
 
  else
529
 
    as_ls_L_option=
530
 
  fi
531
 
  as_test_x='
532
 
    eval sh -c '\''
533
 
      if test -d "$1"; then
534
 
        test -d "$1/.";
535
 
      else
536
 
        case $1 in
537
 
        -*)set "./$1";;
538
 
        esac;
539
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540
 
        ???[sx]*):;;*)false;;esac;fi
541
 
    '\'' sh
542
 
  '
543
 
fi
544
 
as_executable_p=$as_test_x
545
 
 
546
 
# Sed expression to map a string onto a valid CPP name.
547
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548
 
 
549
 
# Sed expression to map a string onto a valid variable name.
550
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551
 
 
552
 
 
553
 
 
554
 
 
555
 
# Check that we are running under the correct shell.
556
 
SHELL=${CONFIG_SHELL-/bin/sh}
557
 
 
558
 
case X$ECHO in
559
 
X*--fallback-echo)
560
 
  # Remove one level of quotation (which was required for Make).
561
 
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
562
 
  ;;
563
 
esac
564
 
 
565
 
echo=${ECHO-echo}
566
 
if test "X$1" = X--no-reexec; then
567
 
  # Discard the --no-reexec flag, and continue.
568
 
  shift
569
 
elif test "X$1" = X--fallback-echo; then
570
 
  # Avoid inline document here, it may be left over
571
 
  :
572
 
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
573
 
  # Yippee, $echo works!
574
 
  :
575
 
else
576
 
  # Restart under the correct shell.
577
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
578
 
fi
579
 
 
580
 
if test "X$1" = X--fallback-echo; then
581
 
  # used as fallback echo
582
 
  shift
583
 
  cat <<EOF
584
 
$*
585
 
EOF
586
 
  exit 0
587
 
fi
588
 
 
589
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
590
 
# if CDPATH is set.
591
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
592
 
 
593
 
if test -z "$ECHO"; then
594
 
if test "X${echo_test_string+set}" != Xset; then
595
 
# find a string as large as possible, as long as the shell can cope with it
596
 
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597
 
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598
 
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
599
 
       echo_test_string=`eval $cmd` &&
600
 
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
601
 
    then
602
 
      break
603
 
    fi
604
 
  done
605
 
fi
606
 
 
607
 
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
608
 
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
609
 
   test "X$echo_testing_string" = "X$echo_test_string"; then
610
 
  :
611
 
else
612
 
  # The Solaris, AIX, and Digital Unix default echo programs unquote
613
 
  # backslashes.  This makes it impossible to quote backslashes using
614
 
  #   echo "$something" | sed 's/\\/\\\\/g'
615
 
  #
616
 
  # So, first we look for a working echo in the user's PATH.
617
 
 
618
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
619
 
  for dir in $PATH /usr/ucb; do
620
 
    IFS="$lt_save_ifs"
621
 
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
622
 
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
623
 
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
624
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
625
 
      echo="$dir/echo"
626
 
      break
627
 
    fi
628
 
  done
629
 
  IFS="$lt_save_ifs"
630
 
 
631
 
  if test "X$echo" = Xecho; then
632
 
    # We didn't find a better echo, so look for alternatives.
633
 
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
634
 
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
635
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
636
 
      # This shell has a builtin print -r that does the trick.
637
 
      echo='print -r'
638
 
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
639
 
         test "X$CONFIG_SHELL" != X/bin/ksh; then
640
 
      # If we have ksh, try running configure again with it.
641
 
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
642
 
      export ORIGINAL_CONFIG_SHELL
643
 
      CONFIG_SHELL=/bin/ksh
644
 
      export CONFIG_SHELL
645
 
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
646
 
    else
647
 
      # Try using printf.
648
 
      echo='printf %s\n'
649
 
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
650
 
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
651
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
652
 
        # Cool, printf works
653
 
        :
654
 
      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
655
 
           test "X$echo_testing_string" = 'X\t' &&
656
 
           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
657
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
658
 
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
659
 
        export CONFIG_SHELL
660
 
        SHELL="$CONFIG_SHELL"
661
 
        export SHELL
662
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
663
 
      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
664
 
           test "X$echo_testing_string" = 'X\t' &&
665
 
           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
666
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
667
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
668
 
      else
669
 
        # maybe with a smaller string...
670
 
        prev=:
671
 
 
672
 
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
673
 
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
674
 
          then
675
 
            break
676
 
          fi
677
 
          prev="$cmd"
678
 
        done
679
 
 
680
 
        if test "$prev" != 'sed 50q "$0"'; then
681
 
          echo_test_string=`eval $prev`
682
 
          export echo_test_string
683
 
          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
684
 
        else
685
 
          # Oops.  We lost completely, so just stick with echo.
686
 
          echo=echo
687
 
        fi
688
 
      fi
689
 
    fi
690
 
  fi
691
 
fi
692
 
fi
693
 
 
694
 
# Copy echo and quote the copy suitably for passing to libtool from
695
 
# the Makefile, instead of quoting the original, which is used later.
696
 
ECHO=$echo
697
 
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
698
 
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
699
 
fi
700
 
 
701
 
 
702
 
 
703
 
 
704
 
tagnames=${tagnames+${tagnames},}CXX
705
 
 
706
 
tagnames=${tagnames+${tagnames},}F77
707
 
 
708
 
exec 7<&0 </dev/null 6>&1
709
 
 
710
 
# Name of the host.
711
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
712
 
# so uname gets run too.
713
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
714
 
 
715
 
#
716
 
# Initializations.
717
 
#
718
 
ac_default_prefix=/usr/local
719
 
ac_clean_files=
720
 
ac_config_libobj_dir=.
721
 
LIBOBJS=
722
 
cross_compiling=no
723
 
subdirs=
724
 
MFLAGS=
725
 
MAKEFLAGS=
726
 
SHELL=${CONFIG_SHELL-/bin/sh}
727
 
 
728
 
# Identity of this package.
729
 
PACKAGE_NAME='gnomeradio'
730
 
PACKAGE_TARNAME='gnomeradio'
731
 
PACKAGE_VERSION='1.8'
732
 
PACKAGE_STRING='gnomeradio 1.8'
733
 
PACKAGE_BUGREPORT='http://mfcn.ilo.de/gnomeradio'
734
 
 
735
 
ac_unique_file="src/gui.c"
736
 
# Factoring default headers for most tests.
737
 
ac_includes_default="\
738
 
#include <stdio.h>
739
 
#ifdef HAVE_SYS_TYPES_H
740
 
# include <sys/types.h>
741
 
#endif
742
 
#ifdef HAVE_SYS_STAT_H
743
 
# include <sys/stat.h>
744
 
#endif
745
 
#ifdef STDC_HEADERS
746
 
# include <stdlib.h>
747
 
# include <stddef.h>
748
 
#else
749
 
# ifdef HAVE_STDLIB_H
750
 
#  include <stdlib.h>
751
 
# endif
752
 
#endif
753
 
#ifdef HAVE_STRING_H
754
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
755
 
#  include <memory.h>
756
 
# endif
757
 
# include <string.h>
758
 
#endif
759
 
#ifdef HAVE_STRINGS_H
760
 
# include <strings.h>
761
 
#endif
762
 
#ifdef HAVE_INTTYPES_H
763
 
# include <inttypes.h>
764
 
#endif
765
 
#ifdef HAVE_STDINT_H
766
 
# include <stdint.h>
767
 
#endif
768
 
#ifdef HAVE_UNISTD_H
769
 
# include <unistd.h>
770
 
#endif"
771
 
 
772
 
ac_subst_vars='SHELL
773
 
PATH_SEPARATOR
774
 
PACKAGE_NAME
775
 
PACKAGE_TARNAME
776
 
PACKAGE_VERSION
777
 
PACKAGE_STRING
778
 
PACKAGE_BUGREPORT
779
 
exec_prefix
780
 
prefix
781
 
program_transform_name
782
 
bindir
783
 
sbindir
784
 
libexecdir
785
 
datarootdir
786
 
datadir
787
 
sysconfdir
788
 
sharedstatedir
789
 
localstatedir
790
 
includedir
791
 
oldincludedir
792
 
docdir
793
 
infodir
794
 
htmldir
795
 
dvidir
796
 
pdfdir
797
 
psdir
798
 
libdir
799
 
localedir
800
 
mandir
801
 
DEFS
802
 
ECHO_C
803
 
ECHO_N
804
 
ECHO_T
805
 
LIBS
806
 
build_alias
807
 
host_alias
808
 
target_alias
809
 
INSTALL_PROGRAM
810
 
INSTALL_SCRIPT
811
 
INSTALL_DATA
812
 
CYGPATH_W
813
 
PACKAGE
814
 
VERSION
815
 
ACLOCAL
816
 
AUTOCONF
817
 
AUTOMAKE
818
 
AUTOHEADER
819
 
MAKEINFO
820
 
install_sh
821
 
STRIP
822
 
INSTALL_STRIP_PROGRAM
823
 
mkdir_p
824
 
AWK
825
 
SET_MAKE
826
 
am__leading_dot
827
 
AMTAR
828
 
am__tar
829
 
am__untar
830
 
MAINTAINER_MODE_TRUE
831
 
MAINTAINER_MODE_FALSE
832
 
MAINT
833
 
INTLTOOL_DESKTOP_RULE
834
 
INTLTOOL_DIRECTORY_RULE
835
 
INTLTOOL_KEYS_RULE
836
 
INTLTOOL_PROP_RULE
837
 
INTLTOOL_OAF_RULE
838
 
INTLTOOL_PONG_RULE
839
 
INTLTOOL_SERVER_RULE
840
 
INTLTOOL_SHEET_RULE
841
 
INTLTOOL_SOUNDLIST_RULE
842
 
INTLTOOL_UI_RULE
843
 
INTLTOOL_XAM_RULE
844
 
INTLTOOL_KBD_RULE
845
 
INTLTOOL_XML_RULE
846
 
INTLTOOL_XML_NOMERGE_RULE
847
 
INTLTOOL_CAVES_RULE
848
 
INTLTOOL_SCHEMAS_RULE
849
 
INTLTOOL_THEME_RULE
850
 
INTLTOOL_SERVICE_RULE
851
 
INTLTOOL_POLICY_RULE
852
 
XGETTEXT
853
 
MSGMERGE
854
 
MSGFMT
855
 
INTLTOOL_EXTRACT
856
 
INTLTOOL_MERGE
857
 
INTLTOOL_UPDATE
858
 
INTLTOOL_PERL
859
 
ALL_LINGUAS
860
 
CC
861
 
CFLAGS
862
 
LDFLAGS
863
 
CPPFLAGS
864
 
ac_ct_CC
865
 
EXEEXT
866
 
OBJEXT
867
 
DEPDIR
868
 
am__include
869
 
am__quote
870
 
AMDEP_TRUE
871
 
AMDEP_FALSE
872
 
AMDEPBACKSLASH
873
 
CCDEPMODE
874
 
am__fastdepCC_TRUE
875
 
am__fastdepCC_FALSE
876
 
DATADIRNAME
877
 
build
878
 
build_cpu
879
 
build_vendor
880
 
build_os
881
 
host
882
 
host_cpu
883
 
host_vendor
884
 
host_os
885
 
SED
886
 
GREP
887
 
EGREP
888
 
LN_S
889
 
ECHO
890
 
AR
891
 
RANLIB
892
 
DSYMUTIL
893
 
NMEDIT
894
 
CPP
895
 
CXX
896
 
CXXFLAGS
897
 
ac_ct_CXX
898
 
CXXDEPMODE
899
 
am__fastdepCXX_TRUE
900
 
am__fastdepCXX_FALSE
901
 
CXXCPP
902
 
F77
903
 
FFLAGS
904
 
ac_ct_F77
905
 
LIBTOOL
906
 
USE_NLS
907
 
MSGFMT_OPTS
908
 
GMSGFMT
909
 
CATALOGS
910
 
CATOBJEXT
911
 
GMOFILES
912
 
INSTOBJEXT
913
 
INTLLIBS
914
 
PO_IN_DATADIR_TRUE
915
 
PO_IN_DATADIR_FALSE
916
 
POFILES
917
 
POSUB
918
 
MKINSTALLDIRS
919
 
GETTEXT_PACKAGE
920
 
PKG_CONFIG
921
 
GNOME_CFLAGS
922
 
GNOME_LIBS
923
 
GNOME14_CFLAGS
924
 
GNOME14_LIBS
925
 
GNOME_14
926
 
LIRC
927
 
GSTREAMER_CFLAGS
928
 
GSTREAMER_LIBS
929
 
HELP_DIR
930
 
OMF_DIR
931
 
DOC_USER_FORMATS
932
 
ENABLE_SK_TRUE
933
 
ENABLE_SK_FALSE
934
 
DISTCHECK_CONFIGURE_FLAGS
935
 
HAVE_GNOME_DOC_UTILS_TRUE
936
 
HAVE_GNOME_DOC_UTILS_FALSE
937
 
GCONFTOOL
938
 
GCONF_SCHEMA_CONFIG_SOURCE
939
 
GCONF_SCHEMA_FILE_DIR
940
 
GCONF_SCHEMAS_INSTALL_TRUE
941
 
GCONF_SCHEMAS_INSTALL_FALSE
942
 
INSTALL_SCHEMAS_TRUE
943
 
INSTALL_SCHEMAS_FALSE
944
 
LIBOBJS
945
 
LTLIBOBJS'
946
 
ac_subst_files=''
947
 
      ac_precious_vars='build_alias
948
 
host_alias
949
 
target_alias
950
 
CC
951
 
CFLAGS
952
 
LDFLAGS
953
 
LIBS
954
 
CPPFLAGS
955
 
CPP
956
 
CXX
957
 
CXXFLAGS
958
 
CCC
959
 
CXXCPP
960
 
F77
961
 
FFLAGS
962
 
PKG_CONFIG
963
 
GNOME_CFLAGS
964
 
GNOME_LIBS
965
 
GNOME14_CFLAGS
966
 
GNOME14_LIBS
967
 
GSTREAMER_CFLAGS
968
 
GSTREAMER_LIBS'
969
 
 
970
 
 
971
 
# Initialize some variables set by options.
972
 
ac_init_help=
973
 
ac_init_version=false
974
 
# The variables have the same names as the options, with
975
 
# dashes changed to underlines.
976
 
cache_file=/dev/null
977
 
exec_prefix=NONE
978
 
no_create=
979
 
no_recursion=
980
 
prefix=NONE
981
 
program_prefix=NONE
982
 
program_suffix=NONE
983
 
program_transform_name=s,x,x,
984
 
silent=
985
 
site=
986
 
srcdir=
987
 
verbose=
988
 
x_includes=NONE
989
 
x_libraries=NONE
990
 
 
991
 
# Installation directory options.
992
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
993
 
# and all the variables that are supposed to be based on exec_prefix
994
 
# by default will actually change.
995
 
# Use braces instead of parens because sh, perl, etc. also accept them.
996
 
# (The list follows the same order as the GNU Coding Standards.)
997
 
bindir='${exec_prefix}/bin'
998
 
sbindir='${exec_prefix}/sbin'
999
 
libexecdir='${exec_prefix}/libexec'
1000
 
datarootdir='${prefix}/share'
1001
 
datadir='${datarootdir}'
1002
 
sysconfdir='${prefix}/etc'
1003
 
sharedstatedir='${prefix}/com'
1004
 
localstatedir='${prefix}/var'
1005
 
includedir='${prefix}/include'
1006
 
oldincludedir='/usr/include'
1007
 
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1008
 
infodir='${datarootdir}/info'
1009
 
htmldir='${docdir}'
1010
 
dvidir='${docdir}'
1011
 
pdfdir='${docdir}'
1012
 
psdir='${docdir}'
1013
 
libdir='${exec_prefix}/lib'
1014
 
localedir='${datarootdir}/locale'
1015
 
mandir='${datarootdir}/man'
1016
 
 
1017
 
ac_prev=
1018
 
ac_dashdash=
1019
 
for ac_option
1020
 
do
1021
 
  # If the previous option needs an argument, assign it.
1022
 
  if test -n "$ac_prev"; then
1023
 
    eval $ac_prev=\$ac_option
1024
 
    ac_prev=
1025
 
    continue
1026
 
  fi
1027
 
 
1028
 
  case $ac_option in
1029
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1030
 
  *)    ac_optarg=yes ;;
1031
 
  esac
1032
 
 
1033
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
1034
 
 
1035
 
  case $ac_dashdash$ac_option in
1036
 
  --)
1037
 
    ac_dashdash=yes ;;
1038
 
 
1039
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1040
 
    ac_prev=bindir ;;
1041
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1042
 
    bindir=$ac_optarg ;;
1043
 
 
1044
 
  -build | --build | --buil | --bui | --bu)
1045
 
    ac_prev=build_alias ;;
1046
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1047
 
    build_alias=$ac_optarg ;;
1048
 
 
1049
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
1050
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1051
 
    ac_prev=cache_file ;;
1052
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1053
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1054
 
    cache_file=$ac_optarg ;;
1055
 
 
1056
 
  --config-cache | -C)
1057
 
    cache_file=config.cache ;;
1058
 
 
1059
 
  -datadir | --datadir | --datadi | --datad)
1060
 
    ac_prev=datadir ;;
1061
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1062
 
    datadir=$ac_optarg ;;
1063
 
 
1064
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1065
 
  | --dataroo | --dataro | --datar)
1066
 
    ac_prev=datarootdir ;;
1067
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1068
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1069
 
    datarootdir=$ac_optarg ;;
1070
 
 
1071
 
  -disable-* | --disable-*)
1072
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1073
 
    # Reject names that are not valid shell variable names.
1074
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1075
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1076
 
   { (exit 1); exit 1; }; }
1077
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1078
 
    eval enable_$ac_feature=no ;;
1079
 
 
1080
 
  -docdir | --docdir | --docdi | --doc | --do)
1081
 
    ac_prev=docdir ;;
1082
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1083
 
    docdir=$ac_optarg ;;
1084
 
 
1085
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1086
 
    ac_prev=dvidir ;;
1087
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1088
 
    dvidir=$ac_optarg ;;
1089
 
 
1090
 
  -enable-* | --enable-*)
1091
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1092
 
    # Reject names that are not valid shell variable names.
1093
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1094
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1095
 
   { (exit 1); exit 1; }; }
1096
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1097
 
    eval enable_$ac_feature=\$ac_optarg ;;
1098
 
 
1099
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1100
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1101
 
  | --exec | --exe | --ex)
1102
 
    ac_prev=exec_prefix ;;
1103
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1104
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1105
 
  | --exec=* | --exe=* | --ex=*)
1106
 
    exec_prefix=$ac_optarg ;;
1107
 
 
1108
 
  -gas | --gas | --ga | --g)
1109
 
    # Obsolete; use --with-gas.
1110
 
    with_gas=yes ;;
1111
 
 
1112
 
  -help | --help | --hel | --he | -h)
1113
 
    ac_init_help=long ;;
1114
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1115
 
    ac_init_help=recursive ;;
1116
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1117
 
    ac_init_help=short ;;
1118
 
 
1119
 
  -host | --host | --hos | --ho)
1120
 
    ac_prev=host_alias ;;
1121
 
  -host=* | --host=* | --hos=* | --ho=*)
1122
 
    host_alias=$ac_optarg ;;
1123
 
 
1124
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1125
 
    ac_prev=htmldir ;;
1126
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1127
 
  | --ht=*)
1128
 
    htmldir=$ac_optarg ;;
1129
 
 
1130
 
  -includedir | --includedir | --includedi | --included | --include \
1131
 
  | --includ | --inclu | --incl | --inc)
1132
 
    ac_prev=includedir ;;
1133
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1134
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1135
 
    includedir=$ac_optarg ;;
1136
 
 
1137
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1138
 
    ac_prev=infodir ;;
1139
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1140
 
    infodir=$ac_optarg ;;
1141
 
 
1142
 
  -libdir | --libdir | --libdi | --libd)
1143
 
    ac_prev=libdir ;;
1144
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1145
 
    libdir=$ac_optarg ;;
1146
 
 
1147
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1148
 
  | --libexe | --libex | --libe)
1149
 
    ac_prev=libexecdir ;;
1150
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1151
 
  | --libexe=* | --libex=* | --libe=*)
1152
 
    libexecdir=$ac_optarg ;;
1153
 
 
1154
 
  -localedir | --localedir | --localedi | --localed | --locale)
1155
 
    ac_prev=localedir ;;
1156
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1157
 
    localedir=$ac_optarg ;;
1158
 
 
1159
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1160
 
  | --localstate | --localstat | --localsta | --localst | --locals)
1161
 
    ac_prev=localstatedir ;;
1162
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1163
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1164
 
    localstatedir=$ac_optarg ;;
1165
 
 
1166
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1167
 
    ac_prev=mandir ;;
1168
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1169
 
    mandir=$ac_optarg ;;
1170
 
 
1171
 
  -nfp | --nfp | --nf)
1172
 
    # Obsolete; use --without-fp.
1173
 
    with_fp=no ;;
1174
 
 
1175
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1176
 
  | --no-cr | --no-c | -n)
1177
 
    no_create=yes ;;
1178
 
 
1179
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1180
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1181
 
    no_recursion=yes ;;
1182
 
 
1183
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1184
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1185
 
  | --oldin | --oldi | --old | --ol | --o)
1186
 
    ac_prev=oldincludedir ;;
1187
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1188
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1189
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1190
 
    oldincludedir=$ac_optarg ;;
1191
 
 
1192
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1193
 
    ac_prev=prefix ;;
1194
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1195
 
    prefix=$ac_optarg ;;
1196
 
 
1197
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1198
 
  | --program-pre | --program-pr | --program-p)
1199
 
    ac_prev=program_prefix ;;
1200
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1201
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1202
 
    program_prefix=$ac_optarg ;;
1203
 
 
1204
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1205
 
  | --program-suf | --program-su | --program-s)
1206
 
    ac_prev=program_suffix ;;
1207
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1208
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1209
 
    program_suffix=$ac_optarg ;;
1210
 
 
1211
 
  -program-transform-name | --program-transform-name \
1212
 
  | --program-transform-nam | --program-transform-na \
1213
 
  | --program-transform-n | --program-transform- \
1214
 
  | --program-transform | --program-transfor \
1215
 
  | --program-transfo | --program-transf \
1216
 
  | --program-trans | --program-tran \
1217
 
  | --progr-tra | --program-tr | --program-t)
1218
 
    ac_prev=program_transform_name ;;
1219
 
  -program-transform-name=* | --program-transform-name=* \
1220
 
  | --program-transform-nam=* | --program-transform-na=* \
1221
 
  | --program-transform-n=* | --program-transform-=* \
1222
 
  | --program-transform=* | --program-transfor=* \
1223
 
  | --program-transfo=* | --program-transf=* \
1224
 
  | --program-trans=* | --program-tran=* \
1225
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
1226
 
    program_transform_name=$ac_optarg ;;
1227
 
 
1228
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1229
 
    ac_prev=pdfdir ;;
1230
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1231
 
    pdfdir=$ac_optarg ;;
1232
 
 
1233
 
  -psdir | --psdir | --psdi | --psd | --ps)
1234
 
    ac_prev=psdir ;;
1235
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1236
 
    psdir=$ac_optarg ;;
1237
 
 
1238
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1239
 
  | -silent | --silent | --silen | --sile | --sil)
1240
 
    silent=yes ;;
1241
 
 
1242
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1243
 
    ac_prev=sbindir ;;
1244
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1245
 
  | --sbi=* | --sb=*)
1246
 
    sbindir=$ac_optarg ;;
1247
 
 
1248
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1249
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1250
 
  | --sharedst | --shareds | --shared | --share | --shar \
1251
 
  | --sha | --sh)
1252
 
    ac_prev=sharedstatedir ;;
1253
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1254
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1255
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1256
 
  | --sha=* | --sh=*)
1257
 
    sharedstatedir=$ac_optarg ;;
1258
 
 
1259
 
  -site | --site | --sit)
1260
 
    ac_prev=site ;;
1261
 
  -site=* | --site=* | --sit=*)
1262
 
    site=$ac_optarg ;;
1263
 
 
1264
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1265
 
    ac_prev=srcdir ;;
1266
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1267
 
    srcdir=$ac_optarg ;;
1268
 
 
1269
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1270
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1271
 
    ac_prev=sysconfdir ;;
1272
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1273
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1274
 
    sysconfdir=$ac_optarg ;;
1275
 
 
1276
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1277
 
    ac_prev=target_alias ;;
1278
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1279
 
    target_alias=$ac_optarg ;;
1280
 
 
1281
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1282
 
    verbose=yes ;;
1283
 
 
1284
 
  -version | --version | --versio | --versi | --vers | -V)
1285
 
    ac_init_version=: ;;
1286
 
 
1287
 
  -with-* | --with-*)
1288
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1289
 
    # Reject names that are not valid shell variable names.
1290
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1291
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1292
 
   { (exit 1); exit 1; }; }
1293
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1294
 
    eval with_$ac_package=\$ac_optarg ;;
1295
 
 
1296
 
  -without-* | --without-*)
1297
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1298
 
    # Reject names that are not valid shell variable names.
1299
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1300
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1301
 
   { (exit 1); exit 1; }; }
1302
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1303
 
    eval with_$ac_package=no ;;
1304
 
 
1305
 
  --x)
1306
 
    # Obsolete; use --with-x.
1307
 
    with_x=yes ;;
1308
 
 
1309
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1310
 
  | --x-incl | --x-inc | --x-in | --x-i)
1311
 
    ac_prev=x_includes ;;
1312
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1313
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1314
 
    x_includes=$ac_optarg ;;
1315
 
 
1316
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1317
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1318
 
    ac_prev=x_libraries ;;
1319
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1320
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1321
 
    x_libraries=$ac_optarg ;;
1322
 
 
1323
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1324
 
Try \`$0 --help' for more information." >&2
1325
 
   { (exit 1); exit 1; }; }
1326
 
    ;;
1327
 
 
1328
 
  *=*)
1329
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1330
 
    # Reject names that are not valid shell variable names.
1331
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1332
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1333
 
   { (exit 1); exit 1; }; }
1334
 
    eval $ac_envvar=\$ac_optarg
1335
 
    export $ac_envvar ;;
1336
 
 
1337
 
  *)
1338
 
    # FIXME: should be removed in autoconf 3.0.
1339
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1340
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1341
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1342
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1343
 
    ;;
1344
 
 
1345
 
  esac
1346
 
done
1347
 
 
1348
 
if test -n "$ac_prev"; then
1349
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1350
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
1351
 
   { (exit 1); exit 1; }; }
1352
 
fi
1353
 
 
1354
 
# Be sure to have absolute directory names.
1355
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1356
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1357
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1358
 
                libdir localedir mandir
1359
 
do
1360
 
  eval ac_val=\$$ac_var
1361
 
  case $ac_val in
1362
 
    [\\/$]* | ?:[\\/]* )  continue;;
1363
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1364
 
  esac
1365
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1366
 
   { (exit 1); exit 1; }; }
1367
 
done
1368
 
 
1369
 
# There might be people who depend on the old broken behavior: `$host'
1370
 
# used to hold the argument of --host etc.
1371
 
# FIXME: To remove some day.
1372
 
build=$build_alias
1373
 
host=$host_alias
1374
 
target=$target_alias
1375
 
 
1376
 
# FIXME: To remove some day.
1377
 
if test "x$host_alias" != x; then
1378
 
  if test "x$build_alias" = x; then
1379
 
    cross_compiling=maybe
1380
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1381
 
    If a cross compiler is detected then cross compile mode will be used." >&2
1382
 
  elif test "x$build_alias" != "x$host_alias"; then
1383
 
    cross_compiling=yes
1384
 
  fi
1385
 
fi
1386
 
 
1387
 
ac_tool_prefix=
1388
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1389
 
 
1390
 
test "$silent" = yes && exec 6>/dev/null
1391
 
 
1392
 
 
1393
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1394
 
ac_ls_di=`ls -di .` &&
1395
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1396
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
1397
 
   { (exit 1); exit 1; }; }
1398
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1399
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1400
 
   { (exit 1); exit 1; }; }
1401
 
 
1402
 
 
1403
 
# Find the source files, if location was not specified.
1404
 
if test -z "$srcdir"; then
1405
 
  ac_srcdir_defaulted=yes
1406
 
  # Try the directory containing this script, then the parent directory.
1407
 
  ac_confdir=`$as_dirname -- "$0" ||
1408
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1409
 
         X"$0" : 'X\(//\)[^/]' \| \
1410
 
         X"$0" : 'X\(//\)$' \| \
1411
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1412
 
echo X"$0" |
1413
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1414
 
            s//\1/
1415
 
            q
1416
 
          }
1417
 
          /^X\(\/\/\)[^/].*/{
1418
 
            s//\1/
1419
 
            q
1420
 
          }
1421
 
          /^X\(\/\/\)$/{
1422
 
            s//\1/
1423
 
            q
1424
 
          }
1425
 
          /^X\(\/\).*/{
1426
 
            s//\1/
1427
 
            q
1428
 
          }
1429
 
          s/.*/./; q'`
1430
 
  srcdir=$ac_confdir
1431
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1432
 
    srcdir=..
1433
 
  fi
1434
 
else
1435
 
  ac_srcdir_defaulted=no
1436
 
fi
1437
 
if test ! -r "$srcdir/$ac_unique_file"; then
1438
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1439
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1440
 
   { (exit 1); exit 1; }; }
1441
 
fi
1442
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1443
 
ac_abs_confdir=`(
1444
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1445
 
   { (exit 1); exit 1; }; }
1446
 
        pwd)`
1447
 
# When building in place, set srcdir=.
1448
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1449
 
  srcdir=.
1450
 
fi
1451
 
# Remove unnecessary trailing slashes from srcdir.
1452
 
# Double slashes in file names in object file debugging info
1453
 
# mess up M-x gdb in Emacs.
1454
 
case $srcdir in
1455
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1456
 
esac
1457
 
for ac_var in $ac_precious_vars; do
1458
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1459
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1460
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1461
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1462
 
done
1463
 
 
1464
 
#
1465
 
# Report the --help message.
1466
 
#
1467
 
if test "$ac_init_help" = "long"; then
1468
 
  # Omit some internal or obsolete options to make the list less imposing.
1469
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1470
 
  cat <<_ACEOF
1471
 
\`configure' configures gnomeradio 1.8 to adapt to many kinds of systems.
1472
 
 
1473
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1474
 
 
1475
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1476
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1477
 
 
1478
 
Defaults for the options are specified in brackets.
1479
 
 
1480
 
Configuration:
1481
 
  -h, --help              display this help and exit
1482
 
      --help=short        display options specific to this package
1483
 
      --help=recursive    display the short help of all the included packages
1484
 
  -V, --version           display version information and exit
1485
 
  -q, --quiet, --silent   do not print \`checking...' messages
1486
 
      --cache-file=FILE   cache test results in FILE [disabled]
1487
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1488
 
  -n, --no-create         do not create output files
1489
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1490
 
 
1491
 
Installation directories:
1492
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1493
 
                          [$ac_default_prefix]
1494
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1495
 
                          [PREFIX]
1496
 
 
1497
 
By default, \`make install' will install all the files in
1498
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1499
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1500
 
for instance \`--prefix=\$HOME'.
1501
 
 
1502
 
For better control, use the options below.
1503
 
 
1504
 
Fine tuning of the installation directories:
1505
 
  --bindir=DIR           user executables [EPREFIX/bin]
1506
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1507
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1508
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1509
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1510
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1511
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1512
 
  --includedir=DIR       C header files [PREFIX/include]
1513
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1514
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1515
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1516
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1517
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1518
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1519
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/gnomeradio]
1520
 
  --htmldir=DIR          html documentation [DOCDIR]
1521
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1522
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1523
 
  --psdir=DIR            ps documentation [DOCDIR]
1524
 
_ACEOF
1525
 
 
1526
 
  cat <<\_ACEOF
1527
 
 
1528
 
Program names:
1529
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1530
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1531
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1532
 
 
1533
 
System types:
1534
 
  --build=BUILD     configure for building on BUILD [guessed]
1535
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1536
 
_ACEOF
1537
 
fi
1538
 
 
1539
 
if test -n "$ac_init_help"; then
1540
 
  case $ac_init_help in
1541
 
     short | recursive ) echo "Configuration of gnomeradio 1.8:";;
1542
 
   esac
1543
 
  cat <<\_ACEOF
1544
 
 
1545
 
Optional Features:
1546
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1547
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1548
 
  --enable-maintainer-mode  enable make rules and dependencies not useful
1549
 
                          (and sometimes confusing) to the casual installer
1550
 
  --disable-dependency-tracking  speeds up one-time build
1551
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1552
 
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1553
 
  --enable-static[=PKGS]  build static libraries [default=yes]
1554
 
  --enable-fast-install[=PKGS]
1555
 
                          optimize for fast installation [default=yes]
1556
 
  --disable-libtool-lock  avoid locking (might break parallel builds)
1557
 
  --disable-scrollkeeper  do not make updates to the scrollkeeper database
1558
 
  --disable-schemas-install     Disable the schemas installation
1559
 
  --disable-install-schemas        Disable installation of the gconf schemas
1560
 
 
1561
 
Optional Packages:
1562
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1563
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1564
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1565
 
  --with-pic              try to use only PIC/non-PIC objects [default=use
1566
 
                          both]
1567
 
  --with-tags[=TAGS]      include additional configurations [automatic]
1568
 
  --with-help-dir=DIR     path to help docs
1569
 
  --with-omf-dir=DIR      path to OMF files
1570
 
  --with-help-formats=FORMATS
1571
 
                          list of formats
1572
 
  --with-gconf-source=sourceaddress      Config database for installing schema files.
1573
 
  --with-gconf-schema-file-dir=dir        Directory for installing schema files.
1574
 
 
1575
 
Some influential environment variables:
1576
 
  CC          C compiler command
1577
 
  CFLAGS      C compiler flags
1578
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1579
 
              nonstandard directory <lib dir>
1580
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1581
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1582
 
              you have headers in a nonstandard directory <include dir>
1583
 
  CPP         C preprocessor
1584
 
  CXX         C++ compiler command
1585
 
  CXXFLAGS    C++ compiler flags
1586
 
  CXXCPP      C++ preprocessor
1587
 
  F77         Fortran 77 compiler command
1588
 
  FFLAGS      Fortran 77 compiler flags
1589
 
  PKG_CONFIG  path to pkg-config utility
1590
 
  GNOME_CFLAGS
1591
 
              C compiler flags for GNOME, overriding pkg-config
1592
 
  GNOME_LIBS  linker flags for GNOME, overriding pkg-config
1593
 
  GNOME14_CFLAGS
1594
 
              C compiler flags for GNOME14, overriding pkg-config
1595
 
  GNOME14_LIBS
1596
 
              linker flags for GNOME14, overriding pkg-config
1597
 
  GSTREAMER_CFLAGS
1598
 
              C compiler flags for GSTREAMER, overriding pkg-config
1599
 
  GSTREAMER_LIBS
1600
 
              linker flags for GSTREAMER, overriding pkg-config
1601
 
 
1602
 
Use these variables to override the choices made by `configure' or to help
1603
 
it to find libraries and programs with nonstandard names/locations.
1604
 
 
1605
 
Report bugs to <http://mfcn.ilo.de/gnomeradio>.
1606
 
_ACEOF
1607
 
ac_status=$?
1608
 
fi
1609
 
 
1610
 
if test "$ac_init_help" = "recursive"; then
1611
 
  # If there are subdirs, report their specific --help.
1612
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1613
 
    test -d "$ac_dir" || continue
1614
 
    ac_builddir=.
1615
 
 
1616
 
case "$ac_dir" in
1617
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1618
 
*)
1619
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1620
 
  # A ".." for each directory in $ac_dir_suffix.
1621
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1622
 
  case $ac_top_builddir_sub in
1623
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1624
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1625
 
  esac ;;
1626
 
esac
1627
 
ac_abs_top_builddir=$ac_pwd
1628
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1629
 
# for backward compatibility:
1630
 
ac_top_builddir=$ac_top_build_prefix
1631
 
 
1632
 
case $srcdir in
1633
 
  .)  # We are building in place.
1634
 
    ac_srcdir=.
1635
 
    ac_top_srcdir=$ac_top_builddir_sub
1636
 
    ac_abs_top_srcdir=$ac_pwd ;;
1637
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1638
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1639
 
    ac_top_srcdir=$srcdir
1640
 
    ac_abs_top_srcdir=$srcdir ;;
1641
 
  *) # Relative name.
1642
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1643
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1644
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1645
 
esac
1646
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1647
 
 
1648
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1649
 
    # Check for guested configure.
1650
 
    if test -f "$ac_srcdir/configure.gnu"; then
1651
 
      echo &&
1652
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1653
 
    elif test -f "$ac_srcdir/configure"; then
1654
 
      echo &&
1655
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1656
 
    else
1657
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1658
 
    fi || ac_status=$?
1659
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1660
 
  done
1661
 
fi
1662
 
 
1663
 
test -n "$ac_init_help" && exit $ac_status
1664
 
if $ac_init_version; then
1665
 
  cat <<\_ACEOF
1666
 
gnomeradio configure 1.8
1667
 
generated by GNU Autoconf 2.61
1668
 
 
1669
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1670
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1671
 
This configure script is free software; the Free Software Foundation
1672
 
gives unlimited permission to copy, distribute and modify it.
1673
 
_ACEOF
1674
 
  exit
1675
 
fi
1676
 
cat >config.log <<_ACEOF
1677
 
This file contains any messages produced by compilers while
1678
 
running configure, to aid debugging if configure makes a mistake.
1679
 
 
1680
 
It was created by gnomeradio $as_me 1.8, which was
1681
 
generated by GNU Autoconf 2.61.  Invocation command line was
1682
 
 
1683
 
  $ $0 $@
1684
 
 
1685
 
_ACEOF
1686
 
exec 5>>config.log
1687
 
{
1688
 
cat <<_ASUNAME
1689
 
## --------- ##
1690
 
## Platform. ##
1691
 
## --------- ##
1692
 
 
1693
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1694
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1695
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1696
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1697
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1698
 
 
1699
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1700
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1701
 
 
1702
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1703
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1704
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1705
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1706
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1707
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1708
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1709
 
 
1710
 
_ASUNAME
1711
 
 
1712
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1713
 
for as_dir in $PATH
1714
 
do
1715
 
  IFS=$as_save_IFS
1716
 
  test -z "$as_dir" && as_dir=.
1717
 
  echo "PATH: $as_dir"
1718
 
done
1719
 
IFS=$as_save_IFS
1720
 
 
1721
 
} >&5
1722
 
 
1723
 
cat >&5 <<_ACEOF
1724
 
 
1725
 
 
1726
 
## ----------- ##
1727
 
## Core tests. ##
1728
 
## ----------- ##
1729
 
 
1730
 
_ACEOF
1731
 
 
1732
 
 
1733
 
# Keep a trace of the command line.
1734
 
# Strip out --no-create and --no-recursion so they do not pile up.
1735
 
# Strip out --silent because we don't want to record it for future runs.
1736
 
# Also quote any args containing shell meta-characters.
1737
 
# Make two passes to allow for proper duplicate-argument suppression.
1738
 
ac_configure_args=
1739
 
ac_configure_args0=
1740
 
ac_configure_args1=
1741
 
ac_must_keep_next=false
1742
 
for ac_pass in 1 2
1743
 
do
1744
 
  for ac_arg
1745
 
  do
1746
 
    case $ac_arg in
1747
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1748
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1749
 
    | -silent | --silent | --silen | --sile | --sil)
1750
 
      continue ;;
1751
 
    *\'*)
1752
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1753
 
    esac
1754
 
    case $ac_pass in
1755
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1756
 
    2)
1757
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1758
 
      if test $ac_must_keep_next = true; then
1759
 
        ac_must_keep_next=false # Got value, back to normal.
1760
 
      else
1761
 
        case $ac_arg in
1762
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1763
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1764
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1765
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1766
 
            case "$ac_configure_args0 " in
1767
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1768
 
            esac
1769
 
            ;;
1770
 
          -* ) ac_must_keep_next=true ;;
1771
 
        esac
1772
 
      fi
1773
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
1774
 
      ;;
1775
 
    esac
1776
 
  done
1777
 
done
1778
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1779
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1780
 
 
1781
 
# When interrupted or exit'd, cleanup temporary files, and complete
1782
 
# config.log.  We remove comments because anyway the quotes in there
1783
 
# would cause problems or look ugly.
1784
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
1785
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1786
 
trap 'exit_status=$?
1787
 
  # Save into config.log some information that might help in debugging.
1788
 
  {
1789
 
    echo
1790
 
 
1791
 
    cat <<\_ASBOX
1792
 
## ---------------- ##
1793
 
## Cache variables. ##
1794
 
## ---------------- ##
1795
 
_ASBOX
1796
 
    echo
1797
 
    # The following way of writing the cache mishandles newlines in values,
1798
 
(
1799
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1800
 
    eval ac_val=\$$ac_var
1801
 
    case $ac_val in #(
1802
 
    *${as_nl}*)
1803
 
      case $ac_var in #(
1804
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1805
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1806
 
      esac
1807
 
      case $ac_var in #(
1808
 
      _ | IFS | as_nl) ;; #(
1809
 
      *) $as_unset $ac_var ;;
1810
 
      esac ;;
1811
 
    esac
1812
 
  done
1813
 
  (set) 2>&1 |
1814
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1815
 
    *${as_nl}ac_space=\ *)
1816
 
      sed -n \
1817
 
        "s/'\''/'\''\\\\'\'''\''/g;
1818
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1819
 
      ;; #(
1820
 
    *)
1821
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1822
 
      ;;
1823
 
    esac |
1824
 
    sort
1825
 
)
1826
 
    echo
1827
 
 
1828
 
    cat <<\_ASBOX
1829
 
## ----------------- ##
1830
 
## Output variables. ##
1831
 
## ----------------- ##
1832
 
_ASBOX
1833
 
    echo
1834
 
    for ac_var in $ac_subst_vars
1835
 
    do
1836
 
      eval ac_val=\$$ac_var
1837
 
      case $ac_val in
1838
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1839
 
      esac
1840
 
      echo "$ac_var='\''$ac_val'\''"
1841
 
    done | sort
1842
 
    echo
1843
 
 
1844
 
    if test -n "$ac_subst_files"; then
1845
 
      cat <<\_ASBOX
1846
 
## ------------------- ##
1847
 
## File substitutions. ##
1848
 
## ------------------- ##
1849
 
_ASBOX
1850
 
      echo
1851
 
      for ac_var in $ac_subst_files
1852
 
      do
1853
 
        eval ac_val=\$$ac_var
1854
 
        case $ac_val in
1855
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1856
 
        esac
1857
 
        echo "$ac_var='\''$ac_val'\''"
1858
 
      done | sort
1859
 
      echo
1860
 
    fi
1861
 
 
1862
 
    if test -s confdefs.h; then
1863
 
      cat <<\_ASBOX
1864
 
## ----------- ##
1865
 
## confdefs.h. ##
1866
 
## ----------- ##
1867
 
_ASBOX
1868
 
      echo
1869
 
      cat confdefs.h
1870
 
      echo
1871
 
    fi
1872
 
    test "$ac_signal" != 0 &&
1873
 
      echo "$as_me: caught signal $ac_signal"
1874
 
    echo "$as_me: exit $exit_status"
1875
 
  } >&5
1876
 
  rm -f core *.core core.conftest.* &&
1877
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1878
 
    exit $exit_status
1879
 
' 0
1880
 
for ac_signal in 1 2 13 15; do
1881
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1882
 
done
1883
 
ac_signal=0
1884
 
 
1885
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1886
 
rm -f -r conftest* confdefs.h
1887
 
 
1888
 
# Predefined preprocessor variables.
1889
 
 
1890
 
cat >>confdefs.h <<_ACEOF
1891
 
#define PACKAGE_NAME "$PACKAGE_NAME"
1892
 
_ACEOF
1893
 
 
1894
 
 
1895
 
cat >>confdefs.h <<_ACEOF
1896
 
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1897
 
_ACEOF
1898
 
 
1899
 
 
1900
 
cat >>confdefs.h <<_ACEOF
1901
 
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1902
 
_ACEOF
1903
 
 
1904
 
 
1905
 
cat >>confdefs.h <<_ACEOF
1906
 
#define PACKAGE_STRING "$PACKAGE_STRING"
1907
 
_ACEOF
1908
 
 
1909
 
 
1910
 
cat >>confdefs.h <<_ACEOF
1911
 
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1912
 
_ACEOF
1913
 
 
1914
 
 
1915
 
# Let the site file select an alternate cache file if it wants to.
1916
 
# Prefer explicitly selected file to automatically selected ones.
1917
 
if test -n "$CONFIG_SITE"; then
1918
 
  set x "$CONFIG_SITE"
1919
 
elif test "x$prefix" != xNONE; then
1920
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1921
 
else
1922
 
  set x "$ac_default_prefix/share/config.site" \
1923
 
        "$ac_default_prefix/etc/config.site"
1924
 
fi
1925
 
shift
1926
 
for ac_site_file
1927
 
do
1928
 
  if test -r "$ac_site_file"; then
1929
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1930
 
echo "$as_me: loading site script $ac_site_file" >&6;}
1931
 
    sed 's/^/| /' "$ac_site_file" >&5
1932
 
    . "$ac_site_file"
1933
 
  fi
1934
 
done
1935
 
 
1936
 
if test -r "$cache_file"; then
1937
 
  # Some versions of bash will fail to source /dev/null (special
1938
 
  # files actually), so we avoid doing that.
1939
 
  if test -f "$cache_file"; then
1940
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1941
 
echo "$as_me: loading cache $cache_file" >&6;}
1942
 
    case $cache_file in
1943
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1944
 
      *)                      . "./$cache_file";;
1945
 
    esac
1946
 
  fi
1947
 
else
1948
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1949
 
echo "$as_me: creating cache $cache_file" >&6;}
1950
 
  >$cache_file
1951
 
fi
1952
 
 
1953
 
# Check that the precious variables saved in the cache have kept the same
1954
 
# value.
1955
 
ac_cache_corrupted=false
1956
 
for ac_var in $ac_precious_vars; do
1957
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1958
 
  eval ac_new_set=\$ac_env_${ac_var}_set
1959
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1960
 
  eval ac_new_val=\$ac_env_${ac_var}_value
1961
 
  case $ac_old_set,$ac_new_set in
1962
 
    set,)
1963
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1964
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1965
 
      ac_cache_corrupted=: ;;
1966
 
    ,set)
1967
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1968
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1969
 
      ac_cache_corrupted=: ;;
1970
 
    ,);;
1971
 
    *)
1972
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
1973
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1974
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1975
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1976
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1977
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1978
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1979
 
        ac_cache_corrupted=:
1980
 
      fi;;
1981
 
  esac
1982
 
  # Pass precious variables to config.status.
1983
 
  if test "$ac_new_set" = set; then
1984
 
    case $ac_new_val in
1985
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1986
 
    *) ac_arg=$ac_var=$ac_new_val ;;
1987
 
    esac
1988
 
    case " $ac_configure_args " in
1989
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1990
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1991
 
    esac
1992
 
  fi
1993
 
done
1994
 
if $ac_cache_corrupted; then
1995
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1996
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1997
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1998
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1999
 
   { (exit 1); exit 1; }; }
2000
 
fi
2001
 
 
2002
 
 
2003
 
 
2004
 
 
2005
 
 
2006
 
 
2007
 
 
2008
 
 
2009
 
 
2010
 
 
2011
 
 
2012
 
 
2013
 
 
2014
 
 
2015
 
 
2016
 
 
2017
 
 
2018
 
 
2019
 
 
2020
 
 
2021
 
 
2022
 
 
2023
 
 
2024
 
 
2025
 
 
2026
 
ac_ext=c
2027
 
ac_cpp='$CPP $CPPFLAGS'
2028
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2029
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2030
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2031
 
 
2032
 
 
2033
 
 
2034
 
am__api_version="1.9"
2035
 
ac_aux_dir=
2036
 
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2037
 
  if test -f "$ac_dir/install-sh"; then
2038
 
    ac_aux_dir=$ac_dir
2039
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2040
 
    break
2041
 
  elif test -f "$ac_dir/install.sh"; then
2042
 
    ac_aux_dir=$ac_dir
2043
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2044
 
    break
2045
 
  elif test -f "$ac_dir/shtool"; then
2046
 
    ac_aux_dir=$ac_dir
2047
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2048
 
    break
2049
 
  fi
2050
 
done
2051
 
if test -z "$ac_aux_dir"; then
2052
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2053
 
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2054
 
   { (exit 1); exit 1; }; }
2055
 
fi
2056
 
 
2057
 
# These three variables are undocumented and unsupported,
2058
 
# and are intended to be withdrawn in a future Autoconf release.
2059
 
# They can cause serious problems if a builder's source tree is in a directory
2060
 
# whose full name contains unusual characters.
2061
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2062
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2063
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2064
 
 
2065
 
 
2066
 
# Find a good install program.  We prefer a C program (faster),
2067
 
# so one script is as good as another.  But avoid the broken or
2068
 
# incompatible versions:
2069
 
# SysV /etc/install, /usr/sbin/install
2070
 
# SunOS /usr/etc/install
2071
 
# IRIX /sbin/install
2072
 
# AIX /bin/install
2073
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2074
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2075
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2076
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2077
 
# OS/2's system install, which has a completely different semantic
2078
 
# ./install, which can be erroneously created by make from ./install.sh.
2079
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2080
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2081
 
if test -z "$INSTALL"; then
2082
 
if test "${ac_cv_path_install+set}" = set; then
2083
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2084
 
else
2085
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2086
 
for as_dir in $PATH
2087
 
do
2088
 
  IFS=$as_save_IFS
2089
 
  test -z "$as_dir" && as_dir=.
2090
 
  # Account for people who put trailing slashes in PATH elements.
2091
 
case $as_dir/ in
2092
 
  ./ | .// | /cC/* | \
2093
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2094
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2095
 
  /usr/ucb/* ) ;;
2096
 
  *)
2097
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2098
 
    # Don't use installbsd from OSF since it installs stuff as root
2099
 
    # by default.
2100
 
    for ac_prog in ginstall scoinst install; do
2101
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2102
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2103
 
          if test $ac_prog = install &&
2104
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2105
 
            # AIX install.  It has an incompatible calling convention.
2106
 
            :
2107
 
          elif test $ac_prog = install &&
2108
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2109
 
            # program-specific install script used by HP pwplus--don't use.
2110
 
            :
2111
 
          else
2112
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2113
 
            break 3
2114
 
          fi
2115
 
        fi
2116
 
      done
2117
 
    done
2118
 
    ;;
2119
 
esac
2120
 
done
2121
 
IFS=$as_save_IFS
2122
 
 
2123
 
 
2124
 
fi
2125
 
  if test "${ac_cv_path_install+set}" = set; then
2126
 
    INSTALL=$ac_cv_path_install
2127
 
  else
2128
 
    # As a last resort, use the slow shell script.  Don't cache a
2129
 
    # value for INSTALL within a source directory, because that will
2130
 
    # break other packages using the cache if that directory is
2131
 
    # removed, or if the value is a relative name.
2132
 
    INSTALL=$ac_install_sh
2133
 
  fi
2134
 
fi
2135
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2136
 
echo "${ECHO_T}$INSTALL" >&6; }
2137
 
 
2138
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2139
 
# It thinks the first close brace ends the variable substitution.
2140
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2141
 
 
2142
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2143
 
 
2144
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2145
 
 
2146
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2147
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2148
 
# Just in case
2149
 
sleep 1
2150
 
echo timestamp > conftest.file
2151
 
# Do `set' in a subshell so we don't clobber the current shell's
2152
 
# arguments.  Must try -L first in case configure is actually a
2153
 
# symlink; some systems play weird games with the mod time of symlinks
2154
 
# (eg FreeBSD returns the mod time of the symlink's containing
2155
 
# directory).
2156
 
if (
2157
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2158
 
   if test "$*" = "X"; then
2159
 
      # -L didn't work.
2160
 
      set X `ls -t $srcdir/configure conftest.file`
2161
 
   fi
2162
 
   rm -f conftest.file
2163
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2164
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2165
 
 
2166
 
      # If neither matched, then we have a broken ls.  This can happen
2167
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2168
 
      # broken ls alias from the environment.  This has actually
2169
 
      # happened.  Such a system could not be considered "sane".
2170
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2171
 
alias in your environment" >&5
2172
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2173
 
alias in your environment" >&2;}
2174
 
   { (exit 1); exit 1; }; }
2175
 
   fi
2176
 
 
2177
 
   test "$2" = conftest.file
2178
 
   )
2179
 
then
2180
 
   # Ok.
2181
 
   :
2182
 
else
2183
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2184
 
Check your system clock" >&5
2185
 
echo "$as_me: error: newly created file is older than distributed files!
2186
 
Check your system clock" >&2;}
2187
 
   { (exit 1); exit 1; }; }
2188
 
fi
2189
 
{ echo "$as_me:$LINENO: result: yes" >&5
2190
 
echo "${ECHO_T}yes" >&6; }
2191
 
test "$program_prefix" != NONE &&
2192
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2193
 
# Use a double $ so make ignores it.
2194
 
test "$program_suffix" != NONE &&
2195
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2196
 
# Double any \ or $.  echo might interpret backslashes.
2197
 
# By default was `s,x,x', remove it if useless.
2198
 
cat <<\_ACEOF >conftest.sed
2199
 
s/[\\$]/&&/g;s/;s,x,x,$//
2200
 
_ACEOF
2201
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2202
 
rm -f conftest.sed
2203
 
 
2204
 
# expand $ac_aux_dir to an absolute path
2205
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2206
 
 
2207
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2208
 
# Use eval to expand $SHELL
2209
 
if eval "$MISSING --run true"; then
2210
 
  am_missing_run="$MISSING --run "
2211
 
else
2212
 
  am_missing_run=
2213
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2214
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2215
 
fi
2216
 
 
2217
 
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2218
 
  # We used to keeping the `.' as first argument, in order to
2219
 
  # allow $(mkdir_p) to be used without argument.  As in
2220
 
  #   $(mkdir_p) $(somedir)
2221
 
  # where $(somedir) is conditionally defined.  However this is wrong
2222
 
  # for two reasons:
2223
 
  #  1. if the package is installed by a user who cannot write `.'
2224
 
  #     make install will fail,
2225
 
  #  2. the above comment should most certainly read
2226
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
2227
 
  #     so it does not work when $(somedir) is undefined and
2228
 
  #     $(DESTDIR) is not.
2229
 
  #  To support the latter case, we have to write
2230
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2231
 
  #  so the `.' trick is pointless.
2232
 
  mkdir_p='mkdir -p --'
2233
 
else
2234
 
  # On NextStep and OpenStep, the `mkdir' command does not
2235
 
  # recognize any option.  It will interpret all options as
2236
 
  # directories to create, and then abort because `.' already
2237
 
  # exists.
2238
 
  for d in ./-p ./--version;
2239
 
  do
2240
 
    test -d $d && rmdir $d
2241
 
  done
2242
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2243
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
2244
 
    mkdir_p='$(mkinstalldirs)'
2245
 
  else
2246
 
    mkdir_p='$(install_sh) -d'
2247
 
  fi
2248
 
fi
2249
 
 
2250
 
for ac_prog in gawk mawk nawk awk
2251
 
do
2252
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2253
 
set dummy $ac_prog; ac_word=$2
2254
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2255
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2256
 
if test "${ac_cv_prog_AWK+set}" = set; then
2257
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2258
 
else
2259
 
  if test -n "$AWK"; then
2260
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2261
 
else
2262
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2263
 
for as_dir in $PATH
2264
 
do
2265
 
  IFS=$as_save_IFS
2266
 
  test -z "$as_dir" && as_dir=.
2267
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2268
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2269
 
    ac_cv_prog_AWK="$ac_prog"
2270
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2271
 
    break 2
2272
 
  fi
2273
 
done
2274
 
done
2275
 
IFS=$as_save_IFS
2276
 
 
2277
 
fi
2278
 
fi
2279
 
AWK=$ac_cv_prog_AWK
2280
 
if test -n "$AWK"; then
2281
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2282
 
echo "${ECHO_T}$AWK" >&6; }
2283
 
else
2284
 
  { echo "$as_me:$LINENO: result: no" >&5
2285
 
echo "${ECHO_T}no" >&6; }
2286
 
fi
2287
 
 
2288
 
 
2289
 
  test -n "$AWK" && break
2290
 
done
2291
 
 
2292
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2293
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2294
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2295
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2296
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2297
 
else
2298
 
  cat >conftest.make <<\_ACEOF
2299
 
SHELL = /bin/sh
2300
 
all:
2301
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2302
 
_ACEOF
2303
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2304
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2305
 
  *@@@%%%=?*=@@@%%%*)
2306
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2307
 
  *)
2308
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2309
 
esac
2310
 
rm -f conftest.make
2311
 
fi
2312
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2313
 
  { echo "$as_me:$LINENO: result: yes" >&5
2314
 
echo "${ECHO_T}yes" >&6; }
2315
 
  SET_MAKE=
2316
 
else
2317
 
  { echo "$as_me:$LINENO: result: no" >&5
2318
 
echo "${ECHO_T}no" >&6; }
2319
 
  SET_MAKE="MAKE=${MAKE-make}"
2320
 
fi
2321
 
 
2322
 
rm -rf .tst 2>/dev/null
2323
 
mkdir .tst 2>/dev/null
2324
 
if test -d .tst; then
2325
 
  am__leading_dot=.
2326
 
else
2327
 
  am__leading_dot=_
2328
 
fi
2329
 
rmdir .tst 2>/dev/null
2330
 
 
2331
 
# test to see if srcdir already configured
2332
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2333
 
   test -f $srcdir/config.status; then
2334
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2335
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2336
 
   { (exit 1); exit 1; }; }
2337
 
fi
2338
 
 
2339
 
# test whether we have cygpath
2340
 
if test -z "$CYGPATH_W"; then
2341
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
2342
 
    CYGPATH_W='cygpath -w'
2343
 
  else
2344
 
    CYGPATH_W=echo
2345
 
  fi
2346
 
fi
2347
 
 
2348
 
 
2349
 
# Define the identity of the package.
2350
 
 PACKAGE=gnomeradio
2351
 
 VERSION=1.8
2352
 
 
2353
 
 
2354
 
cat >>confdefs.h <<_ACEOF
2355
 
#define PACKAGE "$PACKAGE"
2356
 
_ACEOF
2357
 
 
2358
 
 
2359
 
cat >>confdefs.h <<_ACEOF
2360
 
#define VERSION "$VERSION"
2361
 
_ACEOF
2362
 
 
2363
 
# Some tools Automake needs.
2364
 
 
2365
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2366
 
 
2367
 
 
2368
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2369
 
 
2370
 
 
2371
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2372
 
 
2373
 
 
2374
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2375
 
 
2376
 
 
2377
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2378
 
 
2379
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
2380
 
 
2381
 
# Installed binaries are usually stripped using `strip' when the user
2382
 
# run `make install-strip'.  However `strip' might not be the right
2383
 
# tool to use in cross-compilation environments, therefore Automake
2384
 
# will honor the `STRIP' environment variable to overrule this program.
2385
 
if test "$cross_compiling" != no; then
2386
 
  if test -n "$ac_tool_prefix"; then
2387
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2388
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2389
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2390
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2391
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2392
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2393
 
else
2394
 
  if test -n "$STRIP"; then
2395
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2396
 
else
2397
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2398
 
for as_dir in $PATH
2399
 
do
2400
 
  IFS=$as_save_IFS
2401
 
  test -z "$as_dir" && as_dir=.
2402
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2403
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2404
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2405
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2406
 
    break 2
2407
 
  fi
2408
 
done
2409
 
done
2410
 
IFS=$as_save_IFS
2411
 
 
2412
 
fi
2413
 
fi
2414
 
STRIP=$ac_cv_prog_STRIP
2415
 
if test -n "$STRIP"; then
2416
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2417
 
echo "${ECHO_T}$STRIP" >&6; }
2418
 
else
2419
 
  { echo "$as_me:$LINENO: result: no" >&5
2420
 
echo "${ECHO_T}no" >&6; }
2421
 
fi
2422
 
 
2423
 
 
2424
 
fi
2425
 
if test -z "$ac_cv_prog_STRIP"; then
2426
 
  ac_ct_STRIP=$STRIP
2427
 
  # Extract the first word of "strip", so it can be a program name with args.
2428
 
set dummy strip; ac_word=$2
2429
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2430
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2431
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2432
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2433
 
else
2434
 
  if test -n "$ac_ct_STRIP"; then
2435
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2436
 
else
2437
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2438
 
for as_dir in $PATH
2439
 
do
2440
 
  IFS=$as_save_IFS
2441
 
  test -z "$as_dir" && as_dir=.
2442
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2443
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2444
 
    ac_cv_prog_ac_ct_STRIP="strip"
2445
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2446
 
    break 2
2447
 
  fi
2448
 
done
2449
 
done
2450
 
IFS=$as_save_IFS
2451
 
 
2452
 
fi
2453
 
fi
2454
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2455
 
if test -n "$ac_ct_STRIP"; then
2456
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2457
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2458
 
else
2459
 
  { echo "$as_me:$LINENO: result: no" >&5
2460
 
echo "${ECHO_T}no" >&6; }
2461
 
fi
2462
 
 
2463
 
  if test "x$ac_ct_STRIP" = x; then
2464
 
    STRIP=":"
2465
 
  else
2466
 
    case $cross_compiling:$ac_tool_warned in
2467
 
yes:)
2468
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2469
 
whose name does not start with the host triplet.  If you think this
2470
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2471
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2472
 
whose name does not start with the host triplet.  If you think this
2473
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2474
 
ac_tool_warned=yes ;;
2475
 
esac
2476
 
    STRIP=$ac_ct_STRIP
2477
 
  fi
2478
 
else
2479
 
  STRIP="$ac_cv_prog_STRIP"
2480
 
fi
2481
 
 
2482
 
fi
2483
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2484
 
 
2485
 
# We need awk for the "check" target.  The system "awk" is bad on
2486
 
# some platforms.
2487
 
# Always define AMTAR for backward compatibility.
2488
 
 
2489
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2490
 
 
2491
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2492
 
 
2493
 
 
2494
 
 
2495
 
 
2496
 
 
2497
 
 
2498
 
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2499
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2500
 
    # Check whether --enable-maintainer-mode was given.
2501
 
if test "${enable_maintainer_mode+set}" = set; then
2502
 
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2503
 
else
2504
 
  USE_MAINTAINER_MODE=no
2505
 
fi
2506
 
 
2507
 
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2508
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2509
 
 
2510
 
 
2511
 
if test $USE_MAINTAINER_MODE = yes; then
2512
 
  MAINTAINER_MODE_TRUE=
2513
 
  MAINTAINER_MODE_FALSE='#'
2514
 
else
2515
 
  MAINTAINER_MODE_TRUE='#'
2516
 
  MAINTAINER_MODE_FALSE=
2517
 
fi
2518
 
 
2519
 
  MAINT=$MAINTAINER_MODE_TRUE
2520
 
 
2521
 
 
2522
 
ac_config_headers="$ac_config_headers config.h"
2523
 
 
2524
 
 
2525
 
DEPDIR="${am__leading_dot}deps"
2526
 
 
2527
 
ac_config_commands="$ac_config_commands depfiles"
2528
 
 
2529
 
 
2530
 
am_make=${MAKE-make}
2531
 
cat > confinc << 'END'
2532
 
am__doit:
2533
 
        @echo done
2534
 
.PHONY: am__doit
2535
 
END
2536
 
# If we don't find an include directive, just comment out the code.
2537
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2538
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2539
 
am__include="#"
2540
 
am__quote=
2541
 
_am_result=none
2542
 
# First try GNU make style include.
2543
 
echo "include confinc" > confmf
2544
 
# We grep out `Entering directory' and `Leaving directory'
2545
 
# messages which can occur if `w' ends up in MAKEFLAGS.
2546
 
# In particular we don't look at `^make:' because GNU make might
2547
 
# be invoked under some other name (usually "gmake"), in which
2548
 
# case it prints its new name instead of `make'.
2549
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2550
 
   am__include=include
2551
 
   am__quote=
2552
 
   _am_result=GNU
2553
 
fi
2554
 
# Now try BSD make style include.
2555
 
if test "$am__include" = "#"; then
2556
 
   echo '.include "confinc"' > confmf
2557
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2558
 
      am__include=.include
2559
 
      am__quote="\""
2560
 
      _am_result=BSD
2561
 
   fi
2562
 
fi
2563
 
 
2564
 
 
2565
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
2566
 
echo "${ECHO_T}$_am_result" >&6; }
2567
 
rm -f confinc confmf
2568
 
 
2569
 
# Check whether --enable-dependency-tracking was given.
2570
 
if test "${enable_dependency_tracking+set}" = set; then
2571
 
  enableval=$enable_dependency_tracking;
2572
 
fi
2573
 
 
2574
 
if test "x$enable_dependency_tracking" != xno; then
2575
 
  am_depcomp="$ac_aux_dir/depcomp"
2576
 
  AMDEPBACKSLASH='\'
2577
 
fi
2578
 
 
2579
 
 
2580
 
if test "x$enable_dependency_tracking" != xno; then
2581
 
  AMDEP_TRUE=
2582
 
  AMDEP_FALSE='#'
2583
 
else
2584
 
  AMDEP_TRUE='#'
2585
 
  AMDEP_FALSE=
2586
 
fi
2587
 
 
2588
 
 
2589
 
 
2590
 
ac_ext=c
2591
 
ac_cpp='$CPP $CPPFLAGS'
2592
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2593
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2594
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2595
 
if test -n "$ac_tool_prefix"; then
2596
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2597
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2598
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2599
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2600
 
if test "${ac_cv_prog_CC+set}" = set; then
2601
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2602
 
else
2603
 
  if test -n "$CC"; then
2604
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2605
 
else
2606
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2607
 
for as_dir in $PATH
2608
 
do
2609
 
  IFS=$as_save_IFS
2610
 
  test -z "$as_dir" && as_dir=.
2611
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2612
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2613
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2614
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2615
 
    break 2
2616
 
  fi
2617
 
done
2618
 
done
2619
 
IFS=$as_save_IFS
2620
 
 
2621
 
fi
2622
 
fi
2623
 
CC=$ac_cv_prog_CC
2624
 
if test -n "$CC"; then
2625
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2626
 
echo "${ECHO_T}$CC" >&6; }
2627
 
else
2628
 
  { echo "$as_me:$LINENO: result: no" >&5
2629
 
echo "${ECHO_T}no" >&6; }
2630
 
fi
2631
 
 
2632
 
 
2633
 
fi
2634
 
if test -z "$ac_cv_prog_CC"; then
2635
 
  ac_ct_CC=$CC
2636
 
  # Extract the first word of "gcc", so it can be a program name with args.
2637
 
set dummy gcc; ac_word=$2
2638
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2639
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2640
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2641
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2642
 
else
2643
 
  if test -n "$ac_ct_CC"; then
2644
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2645
 
else
2646
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2647
 
for as_dir in $PATH
2648
 
do
2649
 
  IFS=$as_save_IFS
2650
 
  test -z "$as_dir" && as_dir=.
2651
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2652
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2653
 
    ac_cv_prog_ac_ct_CC="gcc"
2654
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2655
 
    break 2
2656
 
  fi
2657
 
done
2658
 
done
2659
 
IFS=$as_save_IFS
2660
 
 
2661
 
fi
2662
 
fi
2663
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2664
 
if test -n "$ac_ct_CC"; then
2665
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2666
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
2667
 
else
2668
 
  { echo "$as_me:$LINENO: result: no" >&5
2669
 
echo "${ECHO_T}no" >&6; }
2670
 
fi
2671
 
 
2672
 
  if test "x$ac_ct_CC" = x; then
2673
 
    CC=""
2674
 
  else
2675
 
    case $cross_compiling:$ac_tool_warned in
2676
 
yes:)
2677
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2678
 
whose name does not start with the host triplet.  If you think this
2679
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2680
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2681
 
whose name does not start with the host triplet.  If you think this
2682
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2683
 
ac_tool_warned=yes ;;
2684
 
esac
2685
 
    CC=$ac_ct_CC
2686
 
  fi
2687
 
else
2688
 
  CC="$ac_cv_prog_CC"
2689
 
fi
2690
 
 
2691
 
if test -z "$CC"; then
2692
 
          if test -n "$ac_tool_prefix"; then
2693
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2694
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
2695
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2696
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2697
 
if test "${ac_cv_prog_CC+set}" = set; then
2698
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2699
 
else
2700
 
  if test -n "$CC"; then
2701
 
  ac_cv_prog_CC="$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_CC="${ac_tool_prefix}cc"
2711
 
    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
 
CC=$ac_cv_prog_CC
2721
 
if test -n "$CC"; then
2722
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2723
 
echo "${ECHO_T}$CC" >&6; }
2724
 
else
2725
 
  { echo "$as_me:$LINENO: result: no" >&5
2726
 
echo "${ECHO_T}no" >&6; }
2727
 
fi
2728
 
 
2729
 
 
2730
 
  fi
2731
 
fi
2732
 
if test -z "$CC"; then
2733
 
  # Extract the first word of "cc", so it can be a program name with args.
2734
 
set dummy cc; ac_word=$2
2735
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2736
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2737
 
if test "${ac_cv_prog_CC+set}" = set; then
2738
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2739
 
else
2740
 
  if test -n "$CC"; then
2741
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2742
 
else
2743
 
  ac_prog_rejected=no
2744
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2745
 
for as_dir in $PATH
2746
 
do
2747
 
  IFS=$as_save_IFS
2748
 
  test -z "$as_dir" && as_dir=.
2749
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2750
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2751
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2752
 
       ac_prog_rejected=yes
2753
 
       continue
2754
 
     fi
2755
 
    ac_cv_prog_CC="cc"
2756
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2757
 
    break 2
2758
 
  fi
2759
 
done
2760
 
done
2761
 
IFS=$as_save_IFS
2762
 
 
2763
 
if test $ac_prog_rejected = yes; then
2764
 
  # We found a bogon in the path, so make sure we never use it.
2765
 
  set dummy $ac_cv_prog_CC
2766
 
  shift
2767
 
  if test $# != 0; then
2768
 
    # We chose a different compiler from the bogus one.
2769
 
    # However, it has the same basename, so the bogon will be chosen
2770
 
    # first if we set CC to just the basename; use the full file name.
2771
 
    shift
2772
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2773
 
  fi
2774
 
fi
2775
 
fi
2776
 
fi
2777
 
CC=$ac_cv_prog_CC
2778
 
if test -n "$CC"; then
2779
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2780
 
echo "${ECHO_T}$CC" >&6; }
2781
 
else
2782
 
  { echo "$as_me:$LINENO: result: no" >&5
2783
 
echo "${ECHO_T}no" >&6; }
2784
 
fi
2785
 
 
2786
 
 
2787
 
fi
2788
 
if test -z "$CC"; then
2789
 
  if test -n "$ac_tool_prefix"; then
2790
 
  for ac_prog in cl.exe
2791
 
  do
2792
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2793
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2794
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2795
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2796
 
if test "${ac_cv_prog_CC+set}" = set; then
2797
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2798
 
else
2799
 
  if test -n "$CC"; then
2800
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2801
 
else
2802
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2803
 
for as_dir in $PATH
2804
 
do
2805
 
  IFS=$as_save_IFS
2806
 
  test -z "$as_dir" && as_dir=.
2807
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2808
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2809
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2810
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2811
 
    break 2
2812
 
  fi
2813
 
done
2814
 
done
2815
 
IFS=$as_save_IFS
2816
 
 
2817
 
fi
2818
 
fi
2819
 
CC=$ac_cv_prog_CC
2820
 
if test -n "$CC"; then
2821
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2822
 
echo "${ECHO_T}$CC" >&6; }
2823
 
else
2824
 
  { echo "$as_me:$LINENO: result: no" >&5
2825
 
echo "${ECHO_T}no" >&6; }
2826
 
fi
2827
 
 
2828
 
 
2829
 
    test -n "$CC" && break
2830
 
  done
2831
 
fi
2832
 
if test -z "$CC"; then
2833
 
  ac_ct_CC=$CC
2834
 
  for ac_prog in cl.exe
2835
 
do
2836
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2837
 
set dummy $ac_prog; ac_word=$2
2838
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2839
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2840
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2841
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2842
 
else
2843
 
  if test -n "$ac_ct_CC"; then
2844
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2845
 
else
2846
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2847
 
for as_dir in $PATH
2848
 
do
2849
 
  IFS=$as_save_IFS
2850
 
  test -z "$as_dir" && as_dir=.
2851
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2852
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2853
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
2854
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2855
 
    break 2
2856
 
  fi
2857
 
done
2858
 
done
2859
 
IFS=$as_save_IFS
2860
 
 
2861
 
fi
2862
 
fi
2863
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2864
 
if test -n "$ac_ct_CC"; then
2865
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2866
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
2867
 
else
2868
 
  { echo "$as_me:$LINENO: result: no" >&5
2869
 
echo "${ECHO_T}no" >&6; }
2870
 
fi
2871
 
 
2872
 
 
2873
 
  test -n "$ac_ct_CC" && break
2874
 
done
2875
 
 
2876
 
  if test "x$ac_ct_CC" = x; then
2877
 
    CC=""
2878
 
  else
2879
 
    case $cross_compiling:$ac_tool_warned in
2880
 
yes:)
2881
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2882
 
whose name does not start with the host triplet.  If you think this
2883
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2884
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2885
 
whose name does not start with the host triplet.  If you think this
2886
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2887
 
ac_tool_warned=yes ;;
2888
 
esac
2889
 
    CC=$ac_ct_CC
2890
 
  fi
2891
 
fi
2892
 
 
2893
 
fi
2894
 
 
2895
 
 
2896
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2897
 
See \`config.log' for more details." >&5
2898
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
2899
 
See \`config.log' for more details." >&2;}
2900
 
   { (exit 1); exit 1; }; }
2901
 
 
2902
 
# Provide some information about the compiler.
2903
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
2904
 
ac_compiler=`set X $ac_compile; echo $2`
2905
 
{ (ac_try="$ac_compiler --version >&5"
2906
 
case "(($ac_try" in
2907
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2908
 
  *) ac_try_echo=$ac_try;;
2909
 
esac
2910
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2911
 
  (eval "$ac_compiler --version >&5") 2>&5
2912
 
  ac_status=$?
2913
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914
 
  (exit $ac_status); }
2915
 
{ (ac_try="$ac_compiler -v >&5"
2916
 
case "(($ac_try" in
2917
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2918
 
  *) ac_try_echo=$ac_try;;
2919
 
esac
2920
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2921
 
  (eval "$ac_compiler -v >&5") 2>&5
2922
 
  ac_status=$?
2923
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924
 
  (exit $ac_status); }
2925
 
{ (ac_try="$ac_compiler -V >&5"
2926
 
case "(($ac_try" in
2927
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2928
 
  *) ac_try_echo=$ac_try;;
2929
 
esac
2930
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2931
 
  (eval "$ac_compiler -V >&5") 2>&5
2932
 
  ac_status=$?
2933
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934
 
  (exit $ac_status); }
2935
 
 
2936
 
cat >conftest.$ac_ext <<_ACEOF
2937
 
/* confdefs.h.  */
2938
 
_ACEOF
2939
 
cat confdefs.h >>conftest.$ac_ext
2940
 
cat >>conftest.$ac_ext <<_ACEOF
2941
 
/* end confdefs.h.  */
2942
 
 
2943
 
int
2944
 
main ()
2945
 
{
2946
 
 
2947
 
  ;
2948
 
  return 0;
2949
 
}
2950
 
_ACEOF
2951
 
ac_clean_files_save=$ac_clean_files
2952
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2953
 
# Try to create an executable without -o first, disregard a.out.
2954
 
# It will help us diagnose broken compilers, and finding out an intuition
2955
 
# of exeext.
2956
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2957
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2958
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2959
 
#
2960
 
# List of possible output files, starting from the most likely.
2961
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2962
 
# only as a last resort.  b.out is created by i960 compilers.
2963
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2964
 
#
2965
 
# The IRIX 6 linker writes into existing files which may not be
2966
 
# executable, retaining their permissions.  Remove them first so a
2967
 
# subsequent execution test works.
2968
 
ac_rmfiles=
2969
 
for ac_file in $ac_files
2970
 
do
2971
 
  case $ac_file in
2972
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2973
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2974
 
  esac
2975
 
done
2976
 
rm -f $ac_rmfiles
2977
 
 
2978
 
if { (ac_try="$ac_link_default"
2979
 
case "(($ac_try" in
2980
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2981
 
  *) ac_try_echo=$ac_try;;
2982
 
esac
2983
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2984
 
  (eval "$ac_link_default") 2>&5
2985
 
  ac_status=$?
2986
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2987
 
  (exit $ac_status); }; then
2988
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2989
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2990
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2991
 
# so that the user can short-circuit this test for compilers unknown to
2992
 
# Autoconf.
2993
 
for ac_file in $ac_files ''
2994
 
do
2995
 
  test -f "$ac_file" || continue
2996
 
  case $ac_file in
2997
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2998
 
        ;;
2999
 
    [ab].out )
3000
 
        # We found the default executable, but exeext='' is most
3001
 
        # certainly right.
3002
 
        break;;
3003
 
    *.* )
3004
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3005
 
        then :; else
3006
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3007
 
        fi
3008
 
        # We set ac_cv_exeext here because the later test for it is not
3009
 
        # safe: cross compilers may not add the suffix if given an `-o'
3010
 
        # argument, so we may need to know it at that point already.
3011
 
        # Even if this section looks crufty: it has the advantage of
3012
 
        # actually working.
3013
 
        break;;
3014
 
    * )
3015
 
        break;;
3016
 
  esac
3017
 
done
3018
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3019
 
 
3020
 
else
3021
 
  ac_file=''
3022
 
fi
3023
 
 
3024
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
3025
 
echo "${ECHO_T}$ac_file" >&6; }
3026
 
if test -z "$ac_file"; then
3027
 
  echo "$as_me: failed program was:" >&5
3028
 
sed 's/^/| /' conftest.$ac_ext >&5
3029
 
 
3030
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3031
 
See \`config.log' for more details." >&5
3032
 
echo "$as_me: error: C compiler cannot create executables
3033
 
See \`config.log' for more details." >&2;}
3034
 
   { (exit 77); exit 77; }; }
3035
 
fi
3036
 
 
3037
 
ac_exeext=$ac_cv_exeext
3038
 
 
3039
 
# Check that the compiler produces executables we can run.  If not, either
3040
 
# the compiler is broken, or we cross compile.
3041
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3042
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3043
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3044
 
# If not cross compiling, check that we can run a simple program.
3045
 
if test "$cross_compiling" != yes; then
3046
 
  if { ac_try='./$ac_file'
3047
 
  { (case "(($ac_try" in
3048
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3049
 
  *) ac_try_echo=$ac_try;;
3050
 
esac
3051
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3052
 
  (eval "$ac_try") 2>&5
3053
 
  ac_status=$?
3054
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3055
 
  (exit $ac_status); }; }; then
3056
 
    cross_compiling=no
3057
 
  else
3058
 
    if test "$cross_compiling" = maybe; then
3059
 
        cross_compiling=yes
3060
 
    else
3061
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3062
 
If you meant to cross compile, use \`--host'.
3063
 
See \`config.log' for more details." >&5
3064
 
echo "$as_me: error: cannot run C compiled programs.
3065
 
If you meant to cross compile, use \`--host'.
3066
 
See \`config.log' for more details." >&2;}
3067
 
   { (exit 1); exit 1; }; }
3068
 
    fi
3069
 
  fi
3070
 
fi
3071
 
{ echo "$as_me:$LINENO: result: yes" >&5
3072
 
echo "${ECHO_T}yes" >&6; }
3073
 
 
3074
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
3075
 
ac_clean_files=$ac_clean_files_save
3076
 
# Check that the compiler produces executables we can run.  If not, either
3077
 
# the compiler is broken, or we cross compile.
3078
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3079
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3080
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3081
 
echo "${ECHO_T}$cross_compiling" >&6; }
3082
 
 
3083
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3084
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3085
 
if { (ac_try="$ac_link"
3086
 
case "(($ac_try" in
3087
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3088
 
  *) ac_try_echo=$ac_try;;
3089
 
esac
3090
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3091
 
  (eval "$ac_link") 2>&5
3092
 
  ac_status=$?
3093
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3094
 
  (exit $ac_status); }; then
3095
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3096
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3097
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3098
 
# `rm'.
3099
 
for ac_file in conftest.exe conftest conftest.*; do
3100
 
  test -f "$ac_file" || continue
3101
 
  case $ac_file in
3102
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3103
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3104
 
          break;;
3105
 
    * ) break;;
3106
 
  esac
3107
 
done
3108
 
else
3109
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3110
 
See \`config.log' for more details." >&5
3111
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3112
 
See \`config.log' for more details." >&2;}
3113
 
   { (exit 1); exit 1; }; }
3114
 
fi
3115
 
 
3116
 
rm -f conftest$ac_cv_exeext
3117
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3118
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
3119
 
 
3120
 
rm -f conftest.$ac_ext
3121
 
EXEEXT=$ac_cv_exeext
3122
 
ac_exeext=$EXEEXT
3123
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3124
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3125
 
if test "${ac_cv_objext+set}" = set; then
3126
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3127
 
else
3128
 
  cat >conftest.$ac_ext <<_ACEOF
3129
 
/* confdefs.h.  */
3130
 
_ACEOF
3131
 
cat confdefs.h >>conftest.$ac_ext
3132
 
cat >>conftest.$ac_ext <<_ACEOF
3133
 
/* end confdefs.h.  */
3134
 
 
3135
 
int
3136
 
main ()
3137
 
{
3138
 
 
3139
 
  ;
3140
 
  return 0;
3141
 
}
3142
 
_ACEOF
3143
 
rm -f conftest.o conftest.obj
3144
 
if { (ac_try="$ac_compile"
3145
 
case "(($ac_try" in
3146
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3147
 
  *) ac_try_echo=$ac_try;;
3148
 
esac
3149
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3150
 
  (eval "$ac_compile") 2>&5
3151
 
  ac_status=$?
3152
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153
 
  (exit $ac_status); }; then
3154
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3155
 
  test -f "$ac_file" || continue;
3156
 
  case $ac_file in
3157
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3158
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3159
 
       break;;
3160
 
  esac
3161
 
done
3162
 
else
3163
 
  echo "$as_me: failed program was:" >&5
3164
 
sed 's/^/| /' conftest.$ac_ext >&5
3165
 
 
3166
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3167
 
See \`config.log' for more details." >&5
3168
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
3169
 
See \`config.log' for more details." >&2;}
3170
 
   { (exit 1); exit 1; }; }
3171
 
fi
3172
 
 
3173
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3174
 
fi
3175
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3176
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
3177
 
OBJEXT=$ac_cv_objext
3178
 
ac_objext=$OBJEXT
3179
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3180
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3181
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3182
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3183
 
else
3184
 
  cat >conftest.$ac_ext <<_ACEOF
3185
 
/* confdefs.h.  */
3186
 
_ACEOF
3187
 
cat confdefs.h >>conftest.$ac_ext
3188
 
cat >>conftest.$ac_ext <<_ACEOF
3189
 
/* end confdefs.h.  */
3190
 
 
3191
 
int
3192
 
main ()
3193
 
{
3194
 
#ifndef __GNUC__
3195
 
       choke me
3196
 
#endif
3197
 
 
3198
 
  ;
3199
 
  return 0;
3200
 
}
3201
 
_ACEOF
3202
 
rm -f conftest.$ac_objext
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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3209
 
  (eval "$ac_compile") 2>conftest.er1
3210
 
  ac_status=$?
3211
 
  grep -v '^ *+' conftest.er1 >conftest.err
3212
 
  rm -f conftest.er1
3213
 
  cat conftest.err >&5
3214
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3215
 
  (exit $ac_status); } && {
3216
 
         test -z "$ac_c_werror_flag" ||
3217
 
         test ! -s conftest.err
3218
 
       } && test -s conftest.$ac_objext; then
3219
 
  ac_compiler_gnu=yes
3220
 
else
3221
 
  echo "$as_me: failed program was:" >&5
3222
 
sed 's/^/| /' conftest.$ac_ext >&5
3223
 
 
3224
 
        ac_compiler_gnu=no
3225
 
fi
3226
 
 
3227
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3228
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3229
 
 
3230
 
fi
3231
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3232
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3233
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
3234
 
ac_test_CFLAGS=${CFLAGS+set}
3235
 
ac_save_CFLAGS=$CFLAGS
3236
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3237
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3238
 
if test "${ac_cv_prog_cc_g+set}" = set; then
3239
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3240
 
else
3241
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3242
 
   ac_c_werror_flag=yes
3243
 
   ac_cv_prog_cc_g=no
3244
 
   CFLAGS="-g"
3245
 
   cat >conftest.$ac_ext <<_ACEOF
3246
 
/* confdefs.h.  */
3247
 
_ACEOF
3248
 
cat confdefs.h >>conftest.$ac_ext
3249
 
cat >>conftest.$ac_ext <<_ACEOF
3250
 
/* end confdefs.h.  */
3251
 
 
3252
 
int
3253
 
main ()
3254
 
{
3255
 
 
3256
 
  ;
3257
 
  return 0;
3258
 
}
3259
 
_ACEOF
3260
 
rm -f conftest.$ac_objext
3261
 
if { (ac_try="$ac_compile"
3262
 
case "(($ac_try" in
3263
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3264
 
  *) ac_try_echo=$ac_try;;
3265
 
esac
3266
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3267
 
  (eval "$ac_compile") 2>conftest.er1
3268
 
  ac_status=$?
3269
 
  grep -v '^ *+' conftest.er1 >conftest.err
3270
 
  rm -f conftest.er1
3271
 
  cat conftest.err >&5
3272
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273
 
  (exit $ac_status); } && {
3274
 
         test -z "$ac_c_werror_flag" ||
3275
 
         test ! -s conftest.err
3276
 
       } && test -s conftest.$ac_objext; then
3277
 
  ac_cv_prog_cc_g=yes
3278
 
else
3279
 
  echo "$as_me: failed program was:" >&5
3280
 
sed 's/^/| /' conftest.$ac_ext >&5
3281
 
 
3282
 
        CFLAGS=""
3283
 
      cat >conftest.$ac_ext <<_ACEOF
3284
 
/* confdefs.h.  */
3285
 
_ACEOF
3286
 
cat confdefs.h >>conftest.$ac_ext
3287
 
cat >>conftest.$ac_ext <<_ACEOF
3288
 
/* end confdefs.h.  */
3289
 
 
3290
 
int
3291
 
main ()
3292
 
{
3293
 
 
3294
 
  ;
3295
 
  return 0;
3296
 
}
3297
 
_ACEOF
3298
 
rm -f conftest.$ac_objext
3299
 
if { (ac_try="$ac_compile"
3300
 
case "(($ac_try" in
3301
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3302
 
  *) ac_try_echo=$ac_try;;
3303
 
esac
3304
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3305
 
  (eval "$ac_compile") 2>conftest.er1
3306
 
  ac_status=$?
3307
 
  grep -v '^ *+' conftest.er1 >conftest.err
3308
 
  rm -f conftest.er1
3309
 
  cat conftest.err >&5
3310
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311
 
  (exit $ac_status); } && {
3312
 
         test -z "$ac_c_werror_flag" ||
3313
 
         test ! -s conftest.err
3314
 
       } && test -s conftest.$ac_objext; then
3315
 
  :
3316
 
else
3317
 
  echo "$as_me: failed program was:" >&5
3318
 
sed 's/^/| /' conftest.$ac_ext >&5
3319
 
 
3320
 
        ac_c_werror_flag=$ac_save_c_werror_flag
3321
 
         CFLAGS="-g"
3322
 
         cat >conftest.$ac_ext <<_ACEOF
3323
 
/* confdefs.h.  */
3324
 
_ACEOF
3325
 
cat confdefs.h >>conftest.$ac_ext
3326
 
cat >>conftest.$ac_ext <<_ACEOF
3327
 
/* end confdefs.h.  */
3328
 
 
3329
 
int
3330
 
main ()
3331
 
{
3332
 
 
3333
 
  ;
3334
 
  return 0;
3335
 
}
3336
 
_ACEOF
3337
 
rm -f conftest.$ac_objext
3338
 
if { (ac_try="$ac_compile"
3339
 
case "(($ac_try" in
3340
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3341
 
  *) ac_try_echo=$ac_try;;
3342
 
esac
3343
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3344
 
  (eval "$ac_compile") 2>conftest.er1
3345
 
  ac_status=$?
3346
 
  grep -v '^ *+' conftest.er1 >conftest.err
3347
 
  rm -f conftest.er1
3348
 
  cat conftest.err >&5
3349
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350
 
  (exit $ac_status); } && {
3351
 
         test -z "$ac_c_werror_flag" ||
3352
 
         test ! -s conftest.err
3353
 
       } && test -s conftest.$ac_objext; then
3354
 
  ac_cv_prog_cc_g=yes
3355
 
else
3356
 
  echo "$as_me: failed program was:" >&5
3357
 
sed 's/^/| /' conftest.$ac_ext >&5
3358
 
 
3359
 
 
3360
 
fi
3361
 
 
3362
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3363
 
fi
3364
 
 
3365
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3366
 
fi
3367
 
 
3368
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3369
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3370
 
fi
3371
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3372
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3373
 
if test "$ac_test_CFLAGS" = set; then
3374
 
  CFLAGS=$ac_save_CFLAGS
3375
 
elif test $ac_cv_prog_cc_g = yes; then
3376
 
  if test "$GCC" = yes; then
3377
 
    CFLAGS="-g -O2"
3378
 
  else
3379
 
    CFLAGS="-g"
3380
 
  fi
3381
 
else
3382
 
  if test "$GCC" = yes; then
3383
 
    CFLAGS="-O2"
3384
 
  else
3385
 
    CFLAGS=
3386
 
  fi
3387
 
fi
3388
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3389
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3390
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
3391
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3392
 
else
3393
 
  ac_cv_prog_cc_c89=no
3394
 
ac_save_CC=$CC
3395
 
cat >conftest.$ac_ext <<_ACEOF
3396
 
/* confdefs.h.  */
3397
 
_ACEOF
3398
 
cat confdefs.h >>conftest.$ac_ext
3399
 
cat >>conftest.$ac_ext <<_ACEOF
3400
 
/* end confdefs.h.  */
3401
 
#include <stdarg.h>
3402
 
#include <stdio.h>
3403
 
#include <sys/types.h>
3404
 
#include <sys/stat.h>
3405
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3406
 
struct buf { int x; };
3407
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3408
 
static char *e (p, i)
3409
 
     char **p;
3410
 
     int i;
3411
 
{
3412
 
  return p[i];
3413
 
}
3414
 
static char *f (char * (*g) (char **, int), char **p, ...)
3415
 
{
3416
 
  char *s;
3417
 
  va_list v;
3418
 
  va_start (v,p);
3419
 
  s = g (p, va_arg (v,int));
3420
 
  va_end (v);
3421
 
  return s;
3422
 
}
3423
 
 
3424
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3425
 
   function prototypes and stuff, but not '\xHH' hex character constants.
3426
 
   These don't provoke an error unfortunately, instead are silently treated
3427
 
   as 'x'.  The following induces an error, until -std is added to get
3428
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3429
 
   array size at least.  It's necessary to write '\x00'==0 to get something
3430
 
   that's true only with -std.  */
3431
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3432
 
 
3433
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3434
 
   inside strings and character constants.  */
3435
 
#define FOO(x) 'x'
3436
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3437
 
 
3438
 
int test (int i, double x);
3439
 
struct s1 {int (*f) (int a);};
3440
 
struct s2 {int (*f) (double a);};
3441
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3442
 
int argc;
3443
 
char **argv;
3444
 
int
3445
 
main ()
3446
 
{
3447
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3448
 
  ;
3449
 
  return 0;
3450
 
}
3451
 
_ACEOF
3452
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3453
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3454
 
do
3455
 
  CC="$ac_save_CC $ac_arg"
3456
 
  rm -f conftest.$ac_objext
3457
 
if { (ac_try="$ac_compile"
3458
 
case "(($ac_try" in
3459
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3460
 
  *) ac_try_echo=$ac_try;;
3461
 
esac
3462
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3463
 
  (eval "$ac_compile") 2>conftest.er1
3464
 
  ac_status=$?
3465
 
  grep -v '^ *+' conftest.er1 >conftest.err
3466
 
  rm -f conftest.er1
3467
 
  cat conftest.err >&5
3468
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469
 
  (exit $ac_status); } && {
3470
 
         test -z "$ac_c_werror_flag" ||
3471
 
         test ! -s conftest.err
3472
 
       } && test -s conftest.$ac_objext; then
3473
 
  ac_cv_prog_cc_c89=$ac_arg
3474
 
else
3475
 
  echo "$as_me: failed program was:" >&5
3476
 
sed 's/^/| /' conftest.$ac_ext >&5
3477
 
 
3478
 
 
3479
 
fi
3480
 
 
3481
 
rm -f core conftest.err conftest.$ac_objext
3482
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3483
 
done
3484
 
rm -f conftest.$ac_ext
3485
 
CC=$ac_save_CC
3486
 
 
3487
 
fi
3488
 
# AC_CACHE_VAL
3489
 
case "x$ac_cv_prog_cc_c89" in
3490
 
  x)
3491
 
    { echo "$as_me:$LINENO: result: none needed" >&5
3492
 
echo "${ECHO_T}none needed" >&6; } ;;
3493
 
  xno)
3494
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
3495
 
echo "${ECHO_T}unsupported" >&6; } ;;
3496
 
  *)
3497
 
    CC="$CC $ac_cv_prog_cc_c89"
3498
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3499
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3500
 
esac
3501
 
 
3502
 
 
3503
 
ac_ext=c
3504
 
ac_cpp='$CPP $CPPFLAGS'
3505
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3506
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3507
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3508
 
 
3509
 
depcc="$CC"   am_compiler_list=
3510
 
 
3511
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3512
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3513
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3514
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3515
 
else
3516
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3517
 
  # We make a subdir and do the tests there.  Otherwise we can end up
3518
 
  # making bogus files that we don't know about and never remove.  For
3519
 
  # instance it was reported that on HP-UX the gcc test will end up
3520
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3521
 
  # in D'.
3522
 
  mkdir conftest.dir
3523
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
3524
 
  # using a relative directory.
3525
 
  cp "$am_depcomp" conftest.dir
3526
 
  cd conftest.dir
3527
 
  # We will build objects and dependencies in a subdirectory because
3528
 
  # it helps to detect inapplicable dependency modes.  For instance
3529
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
3530
 
  # side effect of compilation, but ICC will put the dependencies in
3531
 
  # the current directory while Tru64 will put them in the object
3532
 
  # directory.
3533
 
  mkdir sub
3534
 
 
3535
 
  am_cv_CC_dependencies_compiler_type=none
3536
 
  if test "$am_compiler_list" = ""; then
3537
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3538
 
  fi
3539
 
  for depmode in $am_compiler_list; do
3540
 
    # Setup a source with many dependencies, because some compilers
3541
 
    # like to wrap large dependency lists on column 80 (with \), and
3542
 
    # we should not choose a depcomp mode which is confused by this.
3543
 
    #
3544
 
    # We need to recreate these files for each test, as the compiler may
3545
 
    # overwrite some of them when testing with obscure command lines.
3546
 
    # This happens at least with the AIX C compiler.
3547
 
    : > sub/conftest.c
3548
 
    for i in 1 2 3 4 5 6; do
3549
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3550
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3551
 
      # Solaris 8's {/usr,}/bin/sh.
3552
 
      touch sub/conftst$i.h
3553
 
    done
3554
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3555
 
 
3556
 
    case $depmode in
3557
 
    nosideeffect)
3558
 
      # after this tag, mechanisms are not by side-effect, so they'll
3559
 
      # only be used when explicitly requested
3560
 
      if test "x$enable_dependency_tracking" = xyes; then
3561
 
        continue
3562
 
      else
3563
 
        break
3564
 
      fi
3565
 
      ;;
3566
 
    none) break ;;
3567
 
    esac
3568
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3569
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3570
 
    # handle `-M -o', and we need to detect this.
3571
 
    if depmode=$depmode \
3572
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3573
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3574
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3575
 
         >/dev/null 2>conftest.err &&
3576
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3577
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3578
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3579
 
      # icc doesn't choke on unknown options, it will just issue warnings
3580
 
      # or remarks (even with -Werror).  So we grep stderr for any message
3581
 
      # that says an option was ignored or not supported.
3582
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3583
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
3584
 
      # The diagnosis changed in icc 8.0:
3585
 
      #   icc: Command line remark: option '-MP' not supported
3586
 
      if (grep 'ignoring option' conftest.err ||
3587
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3588
 
        am_cv_CC_dependencies_compiler_type=$depmode
3589
 
        break
3590
 
      fi
3591
 
    fi
3592
 
  done
3593
 
 
3594
 
  cd ..
3595
 
  rm -rf conftest.dir
3596
 
else
3597
 
  am_cv_CC_dependencies_compiler_type=none
3598
 
fi
3599
 
 
3600
 
fi
3601
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3602
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3603
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3604
 
 
3605
 
 
3606
 
 
3607
 
if
3608
 
  test "x$enable_dependency_tracking" != xno \
3609
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3610
 
  am__fastdepCC_TRUE=
3611
 
  am__fastdepCC_FALSE='#'
3612
 
else
3613
 
  am__fastdepCC_TRUE='#'
3614
 
  am__fastdepCC_FALSE=
3615
 
fi
3616
 
 
3617
 
 
3618
 
 
3619
 
 
3620
 
case "$am__api_version" in
3621
 
    1.01234)
3622
 
        { { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
3623
 
echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
3624
 
   { (exit 1); exit 1; }; }
3625
 
    ;;
3626
 
    *)
3627
 
    ;;
3628
 
esac
3629
 
 
3630
 
if test -n "0.21"; then
3631
 
    { echo "$as_me:$LINENO: checking for intltool >= 0.21" >&5
3632
 
echo $ECHO_N "checking for intltool >= 0.21... $ECHO_C" >&6; }
3633
 
 
3634
 
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.21 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3635
 
    INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`
3636
 
    INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERSION[3];}' ${ac_aux_dir}/intltool-update.in`
3637
 
 
3638
 
    { echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
3639
 
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
3640
 
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3641
 
        { { echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool 0.21 or later." >&5
3642
 
echo "$as_me: error: Your intltool is too old.  You need intltool 0.21 or later." >&2;}
3643
 
   { (exit 1); exit 1; }; }
3644
 
fi
3645
 
 
3646
 
  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 $< $@'
3647
 
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 $< $@'
3648
 
     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 $< $@'
3649
 
     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 $< $@'
3650
 
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
3651
 
     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 $< $@'
3652
 
   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 $< $@'
3653
 
    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 $< $@'
3654
 
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 $< $@'
3655
 
       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 $< $@'
3656
 
      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 $< $@'
3657
 
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
3658
 
      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 $< $@'
3659
 
      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 $< $@'
3660
 
    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 $< $@'
3661
 
  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 $< $@'
3662
 
    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 $< $@'
3663
 
    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 $< $@'
3664
 
   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 $< $@'
3665
 
 
3666
 
 
3667
 
 
3668
 
 
3669
 
 
3670
 
 
3671
 
 
3672
 
 
3673
 
 
3674
 
 
3675
 
 
3676
 
 
3677
 
 
3678
 
 
3679
 
 
3680
 
 
3681
 
 
3682
 
 
3683
 
 
3684
 
 
3685
 
 
3686
 
# Check the gettext tools to make sure they are GNU
3687
 
# Extract the first word of "xgettext", so it can be a program name with args.
3688
 
set dummy xgettext; ac_word=$2
3689
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3690
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3691
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
3692
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3693
 
else
3694
 
  case $XGETTEXT in
3695
 
  [\\/]* | ?:[\\/]*)
3696
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
3697
 
  ;;
3698
 
  *)
3699
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3700
 
for as_dir in $PATH
3701
 
do
3702
 
  IFS=$as_save_IFS
3703
 
  test -z "$as_dir" && as_dir=.
3704
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3705
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3706
 
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
3707
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3708
 
    break 2
3709
 
  fi
3710
 
done
3711
 
done
3712
 
IFS=$as_save_IFS
3713
 
 
3714
 
  ;;
3715
 
esac
3716
 
fi
3717
 
XGETTEXT=$ac_cv_path_XGETTEXT
3718
 
if test -n "$XGETTEXT"; then
3719
 
  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
3720
 
echo "${ECHO_T}$XGETTEXT" >&6; }
3721
 
else
3722
 
  { echo "$as_me:$LINENO: result: no" >&5
3723
 
echo "${ECHO_T}no" >&6; }
3724
 
fi
3725
 
 
3726
 
 
3727
 
# Extract the first word of "msgmerge", so it can be a program name with args.
3728
 
set dummy msgmerge; ac_word=$2
3729
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3730
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3731
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then
3732
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3733
 
else
3734
 
  case $MSGMERGE in
3735
 
  [\\/]* | ?:[\\/]*)
3736
 
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
3737
 
  ;;
3738
 
  *)
3739
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3740
 
for as_dir in $PATH
3741
 
do
3742
 
  IFS=$as_save_IFS
3743
 
  test -z "$as_dir" && as_dir=.
3744
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3745
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3746
 
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
3747
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3748
 
    break 2
3749
 
  fi
3750
 
done
3751
 
done
3752
 
IFS=$as_save_IFS
3753
 
 
3754
 
  ;;
3755
 
esac
3756
 
fi
3757
 
MSGMERGE=$ac_cv_path_MSGMERGE
3758
 
if test -n "$MSGMERGE"; then
3759
 
  { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
3760
 
echo "${ECHO_T}$MSGMERGE" >&6; }
3761
 
else
3762
 
  { echo "$as_me:$LINENO: result: no" >&5
3763
 
echo "${ECHO_T}no" >&6; }
3764
 
fi
3765
 
 
3766
 
 
3767
 
# Extract the first word of "msgfmt", so it can be a program name with args.
3768
 
set dummy msgfmt; ac_word=$2
3769
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3770
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3771
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
3772
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3773
 
else
3774
 
  case $MSGFMT in
3775
 
  [\\/]* | ?:[\\/]*)
3776
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
3777
 
  ;;
3778
 
  *)
3779
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3780
 
for as_dir in $PATH
3781
 
do
3782
 
  IFS=$as_save_IFS
3783
 
  test -z "$as_dir" && as_dir=.
3784
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3785
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3786
 
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
3787
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3788
 
    break 2
3789
 
  fi
3790
 
done
3791
 
done
3792
 
IFS=$as_save_IFS
3793
 
 
3794
 
  ;;
3795
 
esac
3796
 
fi
3797
 
MSGFMT=$ac_cv_path_MSGFMT
3798
 
if test -n "$MSGFMT"; then
3799
 
  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
3800
 
echo "${ECHO_T}$MSGFMT" >&6; }
3801
 
else
3802
 
  { echo "$as_me:$LINENO: result: no" >&5
3803
 
echo "${ECHO_T}no" >&6; }
3804
 
fi
3805
 
 
3806
 
 
3807
 
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
3808
 
    { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
3809
 
echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
3810
 
   { (exit 1); exit 1; }; }
3811
 
fi
3812
 
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
3813
 
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
3814
 
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
3815
 
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
3816
 
    { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
3817
 
echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
3818
 
   { (exit 1); exit 1; }; }
3819
 
fi
3820
 
 
3821
 
# Use the tools built into the package, not the ones that are installed.
3822
 
INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
3823
 
 
3824
 
INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
3825
 
 
3826
 
INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
3827
 
 
3828
 
 
3829
 
# Extract the first word of "perl", so it can be a program name with args.
3830
 
set dummy perl; ac_word=$2
3831
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3832
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3833
 
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
3834
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3835
 
else
3836
 
  case $INTLTOOL_PERL in
3837
 
  [\\/]* | ?:[\\/]*)
3838
 
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
3839
 
  ;;
3840
 
  *)
3841
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3842
 
for as_dir in $PATH
3843
 
do
3844
 
  IFS=$as_save_IFS
3845
 
  test -z "$as_dir" && as_dir=.
3846
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3847
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3848
 
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
3849
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3850
 
    break 2
3851
 
  fi
3852
 
done
3853
 
done
3854
 
IFS=$as_save_IFS
3855
 
 
3856
 
  ;;
3857
 
esac
3858
 
fi
3859
 
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
3860
 
if test -n "$INTLTOOL_PERL"; then
3861
 
  { echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
3862
 
echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
3863
 
else
3864
 
  { echo "$as_me:$LINENO: result: no" >&5
3865
 
echo "${ECHO_T}no" >&6; }
3866
 
fi
3867
 
 
3868
 
 
3869
 
if test -z "$INTLTOOL_PERL"; then
3870
 
   { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
3871
 
echo "$as_me: error: perl not found; required for intltool" >&2;}
3872
 
   { (exit 1); exit 1; }; }
3873
 
fi
3874
 
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
3875
 
   { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
3876
 
echo "$as_me: error: perl 5.x required for intltool" >&2;}
3877
 
   { (exit 1); exit 1; }; }
3878
 
fi
3879
 
if test "x" != "xno-xml"; then
3880
 
   { echo "$as_me:$LINENO: checking for XML::Parser" >&5
3881
 
echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; }
3882
 
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
3883
 
       { echo "$as_me:$LINENO: result: ok" >&5
3884
 
echo "${ECHO_T}ok" >&6; }
3885
 
   else
3886
 
       { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
3887
 
echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
3888
 
   { (exit 1); exit 1; }; }
3889
 
   fi
3890
 
fi
3891
 
 
3892
 
# Substitute ALL_LINGUAS so we can use it in po/Makefile
3893
 
 
3894
 
 
3895
 
# Set DATADIRNAME correctly if it is not set yet
3896
 
# (copied from glib-gettext.m4)
3897
 
if test -z "$DATADIRNAME"; then
3898
 
  cat >conftest.$ac_ext <<_ACEOF
3899
 
/* confdefs.h.  */
3900
 
_ACEOF
3901
 
cat confdefs.h >>conftest.$ac_ext
3902
 
cat >>conftest.$ac_ext <<_ACEOF
3903
 
/* end confdefs.h.  */
3904
 
 
3905
 
int
3906
 
main ()
3907
 
{
3908
 
extern int _nl_msg_cat_cntr;
3909
 
                       return _nl_msg_cat_cntr
3910
 
  ;
3911
 
  return 0;
3912
 
}
3913
 
_ACEOF
3914
 
rm -f conftest.$ac_objext conftest$ac_exeext
3915
 
if { (ac_try="$ac_link"
3916
 
case "(($ac_try" in
3917
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3918
 
  *) ac_try_echo=$ac_try;;
3919
 
esac
3920
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3921
 
  (eval "$ac_link") 2>conftest.er1
3922
 
  ac_status=$?
3923
 
  grep -v '^ *+' conftest.er1 >conftest.err
3924
 
  rm -f conftest.er1
3925
 
  cat conftest.err >&5
3926
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3927
 
  (exit $ac_status); } && {
3928
 
         test -z "$ac_c_werror_flag" ||
3929
 
         test ! -s conftest.err
3930
 
       } && test -s conftest$ac_exeext &&
3931
 
       $as_test_x conftest$ac_exeext; then
3932
 
  DATADIRNAME=share
3933
 
else
3934
 
  echo "$as_me: failed program was:" >&5
3935
 
sed 's/^/| /' conftest.$ac_ext >&5
3936
 
 
3937
 
        case $host in
3938
 
    *-*-solaris*)
3939
 
                        { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
3940
 
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
3941
 
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
3942
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3943
 
else
3944
 
  cat >conftest.$ac_ext <<_ACEOF
3945
 
/* confdefs.h.  */
3946
 
_ACEOF
3947
 
cat confdefs.h >>conftest.$ac_ext
3948
 
cat >>conftest.$ac_ext <<_ACEOF
3949
 
/* end confdefs.h.  */
3950
 
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
3951
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3952
 
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
3953
 
 
3954
 
/* System header to define __stub macros and hopefully few prototypes,
3955
 
    which can conflict with char bind_textdomain_codeset (); below.
3956
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3957
 
    <limits.h> exists even on freestanding compilers.  */
3958
 
 
3959
 
#ifdef __STDC__
3960
 
# include <limits.h>
3961
 
#else
3962
 
# include <assert.h>
3963
 
#endif
3964
 
 
3965
 
#undef bind_textdomain_codeset
3966
 
 
3967
 
/* Override any GCC internal prototype to avoid an error.
3968
 
   Use char because int might match the return type of a GCC
3969
 
   builtin and then its argument prototype would still apply.  */
3970
 
#ifdef __cplusplus
3971
 
extern "C"
3972
 
#endif
3973
 
char bind_textdomain_codeset ();
3974
 
/* The GNU C library defines this for functions which it implements
3975
 
    to always fail with ENOSYS.  Some functions are actually named
3976
 
    something starting with __ and the normal name is an alias.  */
3977
 
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
3978
 
choke me
3979
 
#endif
3980
 
 
3981
 
int
3982
 
main ()
3983
 
{
3984
 
return bind_textdomain_codeset ();
3985
 
  ;
3986
 
  return 0;
3987
 
}
3988
 
_ACEOF
3989
 
rm -f conftest.$ac_objext conftest$ac_exeext
3990
 
if { (ac_try="$ac_link"
3991
 
case "(($ac_try" in
3992
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3993
 
  *) ac_try_echo=$ac_try;;
3994
 
esac
3995
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3996
 
  (eval "$ac_link") 2>conftest.er1
3997
 
  ac_status=$?
3998
 
  grep -v '^ *+' conftest.er1 >conftest.err
3999
 
  rm -f conftest.er1
4000
 
  cat conftest.err >&5
4001
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4002
 
  (exit $ac_status); } && {
4003
 
         test -z "$ac_c_werror_flag" ||
4004
 
         test ! -s conftest.err
4005
 
       } && test -s conftest$ac_exeext &&
4006
 
       $as_test_x conftest$ac_exeext; then
4007
 
  ac_cv_func_bind_textdomain_codeset=yes
4008
 
else
4009
 
  echo "$as_me: failed program was:" >&5
4010
 
sed 's/^/| /' conftest.$ac_ext >&5
4011
 
 
4012
 
        ac_cv_func_bind_textdomain_codeset=no
4013
 
fi
4014
 
 
4015
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4016
 
      conftest$ac_exeext conftest.$ac_ext
4017
 
fi
4018
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
4019
 
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
4020
 
if test $ac_cv_func_bind_textdomain_codeset = yes; then
4021
 
  DATADIRNAME=share
4022
 
else
4023
 
  DATADIRNAME=lib
4024
 
fi
4025
 
 
4026
 
    ;;
4027
 
    *)
4028
 
    DATADIRNAME=lib
4029
 
    ;;
4030
 
    esac
4031
 
fi
4032
 
 
4033
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4034
 
      conftest$ac_exeext conftest.$ac_ext
4035
 
fi
4036
 
 
4037
 
 
4038
 
 
4039
 
 
4040
 
 
4041
 
ac_config_commands="$ac_config_commands intltool"
4042
 
 
4043
 
 
4044
 
 
4045
 
 
4046
 
# Check whether --enable-shared was given.
4047
 
if test "${enable_shared+set}" = set; then
4048
 
  enableval=$enable_shared; p=${PACKAGE-default}
4049
 
    case $enableval in
4050
 
    yes) enable_shared=yes ;;
4051
 
    no) enable_shared=no ;;
4052
 
    *)
4053
 
      enable_shared=no
4054
 
      # Look at the argument we got.  We use all the common list separators.
4055
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4056
 
      for pkg in $enableval; do
4057
 
        IFS="$lt_save_ifs"
4058
 
        if test "X$pkg" = "X$p"; then
4059
 
          enable_shared=yes
4060
 
        fi
4061
 
      done
4062
 
      IFS="$lt_save_ifs"
4063
 
      ;;
4064
 
    esac
4065
 
else
4066
 
  enable_shared=yes
4067
 
fi
4068
 
 
4069
 
 
4070
 
# Check whether --enable-static was given.
4071
 
if test "${enable_static+set}" = set; then
4072
 
  enableval=$enable_static; p=${PACKAGE-default}
4073
 
    case $enableval in
4074
 
    yes) enable_static=yes ;;
4075
 
    no) enable_static=no ;;
4076
 
    *)
4077
 
     enable_static=no
4078
 
      # Look at the argument we got.  We use all the common list separators.
4079
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4080
 
      for pkg in $enableval; do
4081
 
        IFS="$lt_save_ifs"
4082
 
        if test "X$pkg" = "X$p"; then
4083
 
          enable_static=yes
4084
 
        fi
4085
 
      done
4086
 
      IFS="$lt_save_ifs"
4087
 
      ;;
4088
 
    esac
4089
 
else
4090
 
  enable_static=yes
4091
 
fi
4092
 
 
4093
 
 
4094
 
# Check whether --enable-fast-install was given.
4095
 
if test "${enable_fast_install+set}" = set; then
4096
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
4097
 
    case $enableval in
4098
 
    yes) enable_fast_install=yes ;;
4099
 
    no) enable_fast_install=no ;;
4100
 
    *)
4101
 
      enable_fast_install=no
4102
 
      # Look at the argument we got.  We use all the common list separators.
4103
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4104
 
      for pkg in $enableval; do
4105
 
        IFS="$lt_save_ifs"
4106
 
        if test "X$pkg" = "X$p"; then
4107
 
          enable_fast_install=yes
4108
 
        fi
4109
 
      done
4110
 
      IFS="$lt_save_ifs"
4111
 
      ;;
4112
 
    esac
4113
 
else
4114
 
  enable_fast_install=yes
4115
 
fi
4116
 
 
4117
 
 
4118
 
# Make sure we can run config.sub.
4119
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4120
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4121
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4122
 
   { (exit 1); exit 1; }; }
4123
 
 
4124
 
{ echo "$as_me:$LINENO: checking build system type" >&5
4125
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4126
 
if test "${ac_cv_build+set}" = set; then
4127
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4128
 
else
4129
 
  ac_build_alias=$build_alias
4130
 
test "x$ac_build_alias" = x &&
4131
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4132
 
test "x$ac_build_alias" = x &&
4133
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4134
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4135
 
   { (exit 1); exit 1; }; }
4136
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4137
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4138
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4139
 
   { (exit 1); exit 1; }; }
4140
 
 
4141
 
fi
4142
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4143
 
echo "${ECHO_T}$ac_cv_build" >&6; }
4144
 
case $ac_cv_build in
4145
 
*-*-*) ;;
4146
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4147
 
echo "$as_me: error: invalid value of canonical build" >&2;}
4148
 
   { (exit 1); exit 1; }; };;
4149
 
esac
4150
 
build=$ac_cv_build
4151
 
ac_save_IFS=$IFS; IFS='-'
4152
 
set x $ac_cv_build
4153
 
shift
4154
 
build_cpu=$1
4155
 
build_vendor=$2
4156
 
shift; shift
4157
 
# Remember, the first character of IFS is used to create $*,
4158
 
# except with old shells:
4159
 
build_os=$*
4160
 
IFS=$ac_save_IFS
4161
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4162
 
 
4163
 
 
4164
 
{ echo "$as_me:$LINENO: checking host system type" >&5
4165
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4166
 
if test "${ac_cv_host+set}" = set; then
4167
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4168
 
else
4169
 
  if test "x$host_alias" = x; then
4170
 
  ac_cv_host=$ac_cv_build
4171
 
else
4172
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4173
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4174
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4175
 
   { (exit 1); exit 1; }; }
4176
 
fi
4177
 
 
4178
 
fi
4179
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4180
 
echo "${ECHO_T}$ac_cv_host" >&6; }
4181
 
case $ac_cv_host in
4182
 
*-*-*) ;;
4183
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4184
 
echo "$as_me: error: invalid value of canonical host" >&2;}
4185
 
   { (exit 1); exit 1; }; };;
4186
 
esac
4187
 
host=$ac_cv_host
4188
 
ac_save_IFS=$IFS; IFS='-'
4189
 
set x $ac_cv_host
4190
 
shift
4191
 
host_cpu=$1
4192
 
host_vendor=$2
4193
 
shift; shift
4194
 
# Remember, the first character of IFS is used to create $*,
4195
 
# except with old shells:
4196
 
host_os=$*
4197
 
IFS=$ac_save_IFS
4198
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4199
 
 
4200
 
 
4201
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4202
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4203
 
if test "${lt_cv_path_SED+set}" = set; then
4204
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4205
 
else
4206
 
  # Loop through the user's path and test for sed and gsed.
4207
 
# Then use that list of sed's as ones to test for truncation.
4208
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4209
 
for as_dir in $PATH
4210
 
do
4211
 
  IFS=$as_save_IFS
4212
 
  test -z "$as_dir" && as_dir=.
4213
 
  for lt_ac_prog in sed gsed; do
4214
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4215
 
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
4216
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4217
 
      fi
4218
 
    done
4219
 
  done
4220
 
done
4221
 
IFS=$as_save_IFS
4222
 
lt_ac_max=0
4223
 
lt_ac_count=0
4224
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
4225
 
# along with /bin/sed that truncates output.
4226
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4227
 
  test ! -f $lt_ac_sed && continue
4228
 
  cat /dev/null > conftest.in
4229
 
  lt_ac_count=0
4230
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4231
 
  # Check for GNU sed and select it if it is found.
4232
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4233
 
    lt_cv_path_SED=$lt_ac_sed
4234
 
    break
4235
 
  fi
4236
 
  while true; do
4237
 
    cat conftest.in conftest.in >conftest.tmp
4238
 
    mv conftest.tmp conftest.in
4239
 
    cp conftest.in conftest.nl
4240
 
    echo >>conftest.nl
4241
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4242
 
    cmp -s conftest.out conftest.nl || break
4243
 
    # 10000 chars as input seems more than enough
4244
 
    test $lt_ac_count -gt 10 && break
4245
 
    lt_ac_count=`expr $lt_ac_count + 1`
4246
 
    if test $lt_ac_count -gt $lt_ac_max; then
4247
 
      lt_ac_max=$lt_ac_count
4248
 
      lt_cv_path_SED=$lt_ac_sed
4249
 
    fi
4250
 
  done
4251
 
done
4252
 
 
4253
 
fi
4254
 
 
4255
 
SED=$lt_cv_path_SED
4256
 
 
4257
 
{ echo "$as_me:$LINENO: result: $SED" >&5
4258
 
echo "${ECHO_T}$SED" >&6; }
4259
 
 
4260
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4261
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4262
 
if test "${ac_cv_path_GREP+set}" = set; then
4263
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4264
 
else
4265
 
  # Extract the first word of "grep ggrep" to use in msg output
4266
 
if test -z "$GREP"; then
4267
 
set dummy grep ggrep; ac_prog_name=$2
4268
 
if test "${ac_cv_path_GREP+set}" = set; then
4269
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4270
 
else
4271
 
  ac_path_GREP_found=false
4272
 
# Loop through the user's path and test for each of PROGNAME-LIST
4273
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4274
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4275
 
do
4276
 
  IFS=$as_save_IFS
4277
 
  test -z "$as_dir" && as_dir=.
4278
 
  for ac_prog in grep ggrep; do
4279
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4280
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4281
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4282
 
    # Check for GNU ac_path_GREP and select it if it is found.
4283
 
  # Check for GNU $ac_path_GREP
4284
 
case `"$ac_path_GREP" --version 2>&1` in
4285
 
*GNU*)
4286
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4287
 
*)
4288
 
  ac_count=0
4289
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4290
 
  while :
4291
 
  do
4292
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4293
 
    mv "conftest.tmp" "conftest.in"
4294
 
    cp "conftest.in" "conftest.nl"
4295
 
    echo 'GREP' >> "conftest.nl"
4296
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4297
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4298
 
    ac_count=`expr $ac_count + 1`
4299
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4300
 
      # Best one so far, save it but keep looking for a better one
4301
 
      ac_cv_path_GREP="$ac_path_GREP"
4302
 
      ac_path_GREP_max=$ac_count
4303
 
    fi
4304
 
    # 10*(2^10) chars as input seems more than enough
4305
 
    test $ac_count -gt 10 && break
4306
 
  done
4307
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4308
 
esac
4309
 
 
4310
 
 
4311
 
    $ac_path_GREP_found && break 3
4312
 
  done
4313
 
done
4314
 
 
4315
 
done
4316
 
IFS=$as_save_IFS
4317
 
 
4318
 
 
4319
 
fi
4320
 
 
4321
 
GREP="$ac_cv_path_GREP"
4322
 
if test -z "$GREP"; then
4323
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4324
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4325
 
   { (exit 1); exit 1; }; }
4326
 
fi
4327
 
 
4328
 
else
4329
 
  ac_cv_path_GREP=$GREP
4330
 
fi
4331
 
 
4332
 
 
4333
 
fi
4334
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4335
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4336
 
 GREP="$ac_cv_path_GREP"
4337
 
 
4338
 
 
4339
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
4340
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4341
 
if test "${ac_cv_path_EGREP+set}" = set; then
4342
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4343
 
else
4344
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4345
 
   then ac_cv_path_EGREP="$GREP -E"
4346
 
   else
4347
 
     # Extract the first word of "egrep" to use in msg output
4348
 
if test -z "$EGREP"; then
4349
 
set dummy egrep; ac_prog_name=$2
4350
 
if test "${ac_cv_path_EGREP+set}" = set; then
4351
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4352
 
else
4353
 
  ac_path_EGREP_found=false
4354
 
# Loop through the user's path and test for each of PROGNAME-LIST
4355
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4356
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4357
 
do
4358
 
  IFS=$as_save_IFS
4359
 
  test -z "$as_dir" && as_dir=.
4360
 
  for ac_prog in egrep; do
4361
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4362
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4363
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4364
 
    # Check for GNU ac_path_EGREP and select it if it is found.
4365
 
  # Check for GNU $ac_path_EGREP
4366
 
case `"$ac_path_EGREP" --version 2>&1` in
4367
 
*GNU*)
4368
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4369
 
*)
4370
 
  ac_count=0
4371
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4372
 
  while :
4373
 
  do
4374
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4375
 
    mv "conftest.tmp" "conftest.in"
4376
 
    cp "conftest.in" "conftest.nl"
4377
 
    echo 'EGREP' >> "conftest.nl"
4378
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4379
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4380
 
    ac_count=`expr $ac_count + 1`
4381
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4382
 
      # Best one so far, save it but keep looking for a better one
4383
 
      ac_cv_path_EGREP="$ac_path_EGREP"
4384
 
      ac_path_EGREP_max=$ac_count
4385
 
    fi
4386
 
    # 10*(2^10) chars as input seems more than enough
4387
 
    test $ac_count -gt 10 && break
4388
 
  done
4389
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4390
 
esac
4391
 
 
4392
 
 
4393
 
    $ac_path_EGREP_found && break 3
4394
 
  done
4395
 
done
4396
 
 
4397
 
done
4398
 
IFS=$as_save_IFS
4399
 
 
4400
 
 
4401
 
fi
4402
 
 
4403
 
EGREP="$ac_cv_path_EGREP"
4404
 
if test -z "$EGREP"; then
4405
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4406
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4407
 
   { (exit 1); exit 1; }; }
4408
 
fi
4409
 
 
4410
 
else
4411
 
  ac_cv_path_EGREP=$EGREP
4412
 
fi
4413
 
 
4414
 
 
4415
 
   fi
4416
 
fi
4417
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4418
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4419
 
 EGREP="$ac_cv_path_EGREP"
4420
 
 
4421
 
 
4422
 
 
4423
 
# Check whether --with-gnu-ld was given.
4424
 
if test "${with_gnu_ld+set}" = set; then
4425
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4426
 
else
4427
 
  with_gnu_ld=no
4428
 
fi
4429
 
 
4430
 
ac_prog=ld
4431
 
if test "$GCC" = yes; then
4432
 
  # Check if gcc -print-prog-name=ld gives a path.
4433
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4434
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4435
 
  case $host in
4436
 
  *-*-mingw*)
4437
 
    # gcc leaves a trailing carriage return which upsets mingw
4438
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4439
 
  *)
4440
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4441
 
  esac
4442
 
  case $ac_prog in
4443
 
    # Accept absolute paths.
4444
 
    [\\/]* | ?:[\\/]*)
4445
 
      re_direlt='/[^/][^/]*/\.\./'
4446
 
      # Canonicalize the pathname of ld
4447
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4448
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4449
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4450
 
      done
4451
 
      test -z "$LD" && LD="$ac_prog"
4452
 
      ;;
4453
 
  "")
4454
 
    # If it fails, then pretend we aren't using GCC.
4455
 
    ac_prog=ld
4456
 
    ;;
4457
 
  *)
4458
 
    # If it is relative, then search for the first ld in PATH.
4459
 
    with_gnu_ld=unknown
4460
 
    ;;
4461
 
  esac
4462
 
elif test "$with_gnu_ld" = yes; then
4463
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
4464
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4465
 
else
4466
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4467
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4468
 
fi
4469
 
if test "${lt_cv_path_LD+set}" = set; then
4470
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4471
 
else
4472
 
  if test -z "$LD"; then
4473
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4474
 
  for ac_dir in $PATH; do
4475
 
    IFS="$lt_save_ifs"
4476
 
    test -z "$ac_dir" && ac_dir=.
4477
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4478
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
4479
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
4480
 
      # but apparently some variants of GNU ld only accept -v.
4481
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
4482
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4483
 
      *GNU* | *'with BFD'*)
4484
 
        test "$with_gnu_ld" != no && break
4485
 
        ;;
4486
 
      *)
4487
 
        test "$with_gnu_ld" != yes && break
4488
 
        ;;
4489
 
      esac
4490
 
    fi
4491
 
  done
4492
 
  IFS="$lt_save_ifs"
4493
 
else
4494
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4495
 
fi
4496
 
fi
4497
 
 
4498
 
LD="$lt_cv_path_LD"
4499
 
if test -n "$LD"; then
4500
 
  { echo "$as_me:$LINENO: result: $LD" >&5
4501
 
echo "${ECHO_T}$LD" >&6; }
4502
 
else
4503
 
  { echo "$as_me:$LINENO: result: no" >&5
4504
 
echo "${ECHO_T}no" >&6; }
4505
 
fi
4506
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4507
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4508
 
   { (exit 1); exit 1; }; }
4509
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4510
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4511
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
4512
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4513
 
else
4514
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4515
 
case `$LD -v 2>&1 </dev/null` in
4516
 
*GNU* | *'with BFD'*)
4517
 
  lt_cv_prog_gnu_ld=yes
4518
 
  ;;
4519
 
*)
4520
 
  lt_cv_prog_gnu_ld=no
4521
 
  ;;
4522
 
esac
4523
 
fi
4524
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4525
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4526
 
with_gnu_ld=$lt_cv_prog_gnu_ld
4527
 
 
4528
 
 
4529
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4530
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4531
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
4532
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4533
 
else
4534
 
  lt_cv_ld_reload_flag='-r'
4535
 
fi
4536
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4537
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4538
 
reload_flag=$lt_cv_ld_reload_flag
4539
 
case $reload_flag in
4540
 
"" | " "*) ;;
4541
 
*) reload_flag=" $reload_flag" ;;
4542
 
esac
4543
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4544
 
case $host_os in
4545
 
  darwin*)
4546
 
    if test "$GCC" = yes; then
4547
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4548
 
    else
4549
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4550
 
    fi
4551
 
    ;;
4552
 
esac
4553
 
 
4554
 
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4555
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4556
 
if test "${lt_cv_path_NM+set}" = set; then
4557
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4558
 
else
4559
 
  if test -n "$NM"; then
4560
 
  # Let the user override the test.
4561
 
  lt_cv_path_NM="$NM"
4562
 
else
4563
 
  lt_nm_to_check="${ac_tool_prefix}nm"
4564
 
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4565
 
    lt_nm_to_check="$lt_nm_to_check nm"
4566
 
  fi
4567
 
  for lt_tmp_nm in $lt_nm_to_check; do
4568
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4569
 
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4570
 
      IFS="$lt_save_ifs"
4571
 
      test -z "$ac_dir" && ac_dir=.
4572
 
      tmp_nm="$ac_dir/$lt_tmp_nm"
4573
 
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4574
 
        # Check to see if the nm accepts a BSD-compat flag.
4575
 
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4576
 
        #   nm: unknown option "B" ignored
4577
 
        # Tru64's nm complains that /dev/null is an invalid object file
4578
 
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4579
 
        */dev/null* | *'Invalid file or object type'*)
4580
 
          lt_cv_path_NM="$tmp_nm -B"
4581
 
          break
4582
 
          ;;
4583
 
        *)
4584
 
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4585
 
          */dev/null*)
4586
 
            lt_cv_path_NM="$tmp_nm -p"
4587
 
            break
4588
 
            ;;
4589
 
          *)
4590
 
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4591
 
            continue # so that we can try to find one that supports BSD flags
4592
 
            ;;
4593
 
          esac
4594
 
          ;;
4595
 
        esac
4596
 
      fi
4597
 
    done
4598
 
    IFS="$lt_save_ifs"
4599
 
  done
4600
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4601
 
fi
4602
 
fi
4603
 
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4604
 
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4605
 
NM="$lt_cv_path_NM"
4606
 
 
4607
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
4608
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4609
 
LN_S=$as_ln_s
4610
 
if test "$LN_S" = "ln -s"; then
4611
 
  { echo "$as_me:$LINENO: result: yes" >&5
4612
 
echo "${ECHO_T}yes" >&6; }
4613
 
else
4614
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4615
 
echo "${ECHO_T}no, using $LN_S" >&6; }
4616
 
fi
4617
 
 
4618
 
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4619
 
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4620
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
4621
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4622
 
else
4623
 
  lt_cv_file_magic_cmd='$MAGIC_CMD'
4624
 
lt_cv_file_magic_test_file=
4625
 
lt_cv_deplibs_check_method='unknown'
4626
 
# Need to set the preceding variable on all platforms that support
4627
 
# interlibrary dependencies.
4628
 
# 'none' -- dependencies not supported.
4629
 
# `unknown' -- same as none, but documents that we really don't know.
4630
 
# 'pass_all' -- all dependencies passed with no checks.
4631
 
# 'test_compile' -- check by making test program.
4632
 
# 'file_magic [[regex]]' -- check by looking for files in library path
4633
 
# which responds to the $file_magic_cmd with a given extended regex.
4634
 
# If you have `file' or equivalent on your system and you're not sure
4635
 
# whether `pass_all' will *always* work, you probably want this one.
4636
 
 
4637
 
case $host_os in
4638
 
aix[4-9]*)
4639
 
  lt_cv_deplibs_check_method=pass_all
4640
 
  ;;
4641
 
 
4642
 
beos*)
4643
 
  lt_cv_deplibs_check_method=pass_all
4644
 
  ;;
4645
 
 
4646
 
bsdi[45]*)
4647
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4648
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
4649
 
  lt_cv_file_magic_test_file=/shlib/libc.so
4650
 
  ;;
4651
 
 
4652
 
cygwin*)
4653
 
  # func_win32_libid is a shell function defined in ltmain.sh
4654
 
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4655
 
  lt_cv_file_magic_cmd='func_win32_libid'
4656
 
  ;;
4657
 
 
4658
 
mingw* | pw32*)
4659
 
  # Base MSYS/MinGW do not provide the 'file' command needed by
4660
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
4661
 
  # unless we find 'file', for example because we are cross-compiling.
4662
 
  if ( file / ) >/dev/null 2>&1; then
4663
 
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4664
 
    lt_cv_file_magic_cmd='func_win32_libid'
4665
 
  else
4666
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4667
 
    lt_cv_file_magic_cmd='$OBJDUMP -f'
4668
 
  fi
4669
 
  ;;
4670
 
 
4671
 
darwin* | rhapsody*)
4672
 
  lt_cv_deplibs_check_method=pass_all
4673
 
  ;;
4674
 
 
4675
 
freebsd* | dragonfly*)
4676
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4677
 
    case $host_cpu in
4678
 
    i*86 )
4679
 
      # Not sure whether the presence of OpenBSD here was a mistake.
4680
 
      # Let's accept both of them until this is cleared up.
4681
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4682
 
      lt_cv_file_magic_cmd=/usr/bin/file
4683
 
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4684
 
      ;;
4685
 
    esac
4686
 
  else
4687
 
    lt_cv_deplibs_check_method=pass_all
4688
 
  fi
4689
 
  ;;
4690
 
 
4691
 
gnu*)
4692
 
  lt_cv_deplibs_check_method=pass_all
4693
 
  ;;
4694
 
 
4695
 
hpux10.20* | hpux11*)
4696
 
  lt_cv_file_magic_cmd=/usr/bin/file
4697
 
  case $host_cpu in
4698
 
  ia64*)
4699
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4700
 
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4701
 
    ;;
4702
 
  hppa*64*)
4703
 
    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]'
4704
 
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4705
 
    ;;
4706
 
  *)
4707
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4708
 
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
4709
 
    ;;
4710
 
  esac
4711
 
  ;;
4712
 
 
4713
 
interix[3-9]*)
4714
 
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4715
 
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4716
 
  ;;
4717
 
 
4718
 
irix5* | irix6* | nonstopux*)
4719
 
  case $LD in
4720
 
  *-32|*"-32 ") libmagic=32-bit;;
4721
 
  *-n32|*"-n32 ") libmagic=N32;;
4722
 
  *-64|*"-64 ") libmagic=64-bit;;
4723
 
  *) libmagic=never-match;;
4724
 
  esac
4725
 
  lt_cv_deplibs_check_method=pass_all
4726
 
  ;;
4727
 
 
4728
 
# This must be Linux ELF.
4729
 
linux* | k*bsd*-gnu)
4730
 
  lt_cv_deplibs_check_method=pass_all
4731
 
  ;;
4732
 
 
4733
 
netbsd* | netbsdelf*-gnu)
4734
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4735
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4736
 
  else
4737
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4738
 
  fi
4739
 
  ;;
4740
 
 
4741
 
newos6*)
4742
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4743
 
  lt_cv_file_magic_cmd=/usr/bin/file
4744
 
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
4745
 
  ;;
4746
 
 
4747
 
nto-qnx*)
4748
 
  lt_cv_deplibs_check_method=unknown
4749
 
  ;;
4750
 
 
4751
 
openbsd*)
4752
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4753
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4754
 
  else
4755
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4756
 
  fi
4757
 
  ;;
4758
 
 
4759
 
osf3* | osf4* | osf5*)
4760
 
  lt_cv_deplibs_check_method=pass_all
4761
 
  ;;
4762
 
 
4763
 
rdos*)
4764
 
  lt_cv_deplibs_check_method=pass_all
4765
 
  ;;
4766
 
 
4767
 
solaris*)
4768
 
  lt_cv_deplibs_check_method=pass_all
4769
 
  ;;
4770
 
 
4771
 
sysv4 | sysv4.3*)
4772
 
  case $host_vendor in
4773
 
  motorola)
4774
 
    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]'
4775
 
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4776
 
    ;;
4777
 
  ncr)
4778
 
    lt_cv_deplibs_check_method=pass_all
4779
 
    ;;
4780
 
  sequent)
4781
 
    lt_cv_file_magic_cmd='/bin/file'
4782
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4783
 
    ;;
4784
 
  sni)
4785
 
    lt_cv_file_magic_cmd='/bin/file'
4786
 
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4787
 
    lt_cv_file_magic_test_file=/lib/libc.so
4788
 
    ;;
4789
 
  siemens)
4790
 
    lt_cv_deplibs_check_method=pass_all
4791
 
    ;;
4792
 
  pc)
4793
 
    lt_cv_deplibs_check_method=pass_all
4794
 
    ;;
4795
 
  esac
4796
 
  ;;
4797
 
 
4798
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4799
 
  lt_cv_deplibs_check_method=pass_all
4800
 
  ;;
4801
 
esac
4802
 
 
4803
 
fi
4804
 
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4805
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4806
 
file_magic_cmd=$lt_cv_file_magic_cmd
4807
 
deplibs_check_method=$lt_cv_deplibs_check_method
4808
 
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4809
 
 
4810
 
 
4811
 
 
4812
 
 
4813
 
# If no C compiler was specified, use CC.
4814
 
LTCC=${LTCC-"$CC"}
4815
 
 
4816
 
# If no C compiler flags were specified, use CFLAGS.
4817
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4818
 
 
4819
 
# Allow CC to be a program name with arguments.
4820
 
compiler=$CC
4821
 
 
4822
 
# Check whether --enable-libtool-lock was given.
4823
 
if test "${enable_libtool_lock+set}" = set; then
4824
 
  enableval=$enable_libtool_lock;
4825
 
fi
4826
 
 
4827
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4828
 
 
4829
 
# Some flags need to be propagated to the compiler or linker for good
4830
 
# libtool support.
4831
 
case $host in
4832
 
ia64-*-hpux*)
4833
 
  # Find out which ABI we are using.
4834
 
  echo 'int i;' > conftest.$ac_ext
4835
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4836
 
  (eval $ac_compile) 2>&5
4837
 
  ac_status=$?
4838
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4839
 
  (exit $ac_status); }; then
4840
 
    case `/usr/bin/file conftest.$ac_objext` in
4841
 
    *ELF-32*)
4842
 
      HPUX_IA64_MODE="32"
4843
 
      ;;
4844
 
    *ELF-64*)
4845
 
      HPUX_IA64_MODE="64"
4846
 
      ;;
4847
 
    esac
4848
 
  fi
4849
 
  rm -rf conftest*
4850
 
  ;;
4851
 
*-*-irix6*)
4852
 
  # Find out which ABI we are using.
4853
 
  echo '#line 4853 "configure"' > conftest.$ac_ext
4854
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4855
 
  (eval $ac_compile) 2>&5
4856
 
  ac_status=$?
4857
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4858
 
  (exit $ac_status); }; then
4859
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
4860
 
    case `/usr/bin/file conftest.$ac_objext` in
4861
 
    *32-bit*)
4862
 
      LD="${LD-ld} -melf32bsmip"
4863
 
      ;;
4864
 
    *N32*)
4865
 
      LD="${LD-ld} -melf32bmipn32"
4866
 
      ;;
4867
 
    *64-bit*)
4868
 
      LD="${LD-ld} -melf64bmip"
4869
 
      ;;
4870
 
    esac
4871
 
   else
4872
 
    case `/usr/bin/file conftest.$ac_objext` in
4873
 
    *32-bit*)
4874
 
      LD="${LD-ld} -32"
4875
 
      ;;
4876
 
    *N32*)
4877
 
      LD="${LD-ld} -n32"
4878
 
      ;;
4879
 
    *64-bit*)
4880
 
      LD="${LD-ld} -64"
4881
 
      ;;
4882
 
    esac
4883
 
   fi
4884
 
  fi
4885
 
  rm -rf conftest*
4886
 
  ;;
4887
 
 
4888
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
4889
 
s390*-*linux*|sparc*-*linux*)
4890
 
  # Find out which ABI we are using.
4891
 
  echo 'int i;' > conftest.$ac_ext
4892
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4893
 
  (eval $ac_compile) 2>&5
4894
 
  ac_status=$?
4895
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4896
 
  (exit $ac_status); }; then
4897
 
    case `/usr/bin/file conftest.o` in
4898
 
    *32-bit*)
4899
 
      case $host in
4900
 
        x86_64-*kfreebsd*-gnu)
4901
 
          LD="${LD-ld} -m elf_i386_fbsd"
4902
 
          ;;
4903
 
        x86_64-*linux*)
4904
 
          LD="${LD-ld} -m elf_i386"
4905
 
          ;;
4906
 
        ppc64-*linux*|powerpc64-*linux*)
4907
 
          LD="${LD-ld} -m elf32ppclinux"
4908
 
          ;;
4909
 
        s390x-*linux*)
4910
 
          LD="${LD-ld} -m elf_s390"
4911
 
          ;;
4912
 
        sparc64-*linux*)
4913
 
          LD="${LD-ld} -m elf32_sparc"
4914
 
          ;;
4915
 
      esac
4916
 
      ;;
4917
 
    *64-bit*)
4918
 
      case $host in
4919
 
        x86_64-*kfreebsd*-gnu)
4920
 
          LD="${LD-ld} -m elf_x86_64_fbsd"
4921
 
          ;;
4922
 
        x86_64-*linux*)
4923
 
          LD="${LD-ld} -m elf_x86_64"
4924
 
          ;;
4925
 
        ppc*-*linux*|powerpc*-*linux*)
4926
 
          LD="${LD-ld} -m elf64ppc"
4927
 
          ;;
4928
 
        s390*-*linux*)
4929
 
          LD="${LD-ld} -m elf64_s390"
4930
 
          ;;
4931
 
        sparc*-*linux*)
4932
 
          LD="${LD-ld} -m elf64_sparc"
4933
 
          ;;
4934
 
      esac
4935
 
      ;;
4936
 
    esac
4937
 
  fi
4938
 
  rm -rf conftest*
4939
 
  ;;
4940
 
 
4941
 
*-*-sco3.2v5*)
4942
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4943
 
  SAVE_CFLAGS="$CFLAGS"
4944
 
  CFLAGS="$CFLAGS -belf"
4945
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4946
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4947
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
4948
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4949
 
else
4950
 
  ac_ext=c
4951
 
ac_cpp='$CPP $CPPFLAGS'
4952
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4953
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4954
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4955
 
 
4956
 
     cat >conftest.$ac_ext <<_ACEOF
4957
 
/* confdefs.h.  */
4958
 
_ACEOF
4959
 
cat confdefs.h >>conftest.$ac_ext
4960
 
cat >>conftest.$ac_ext <<_ACEOF
4961
 
/* end confdefs.h.  */
4962
 
 
4963
 
int
4964
 
main ()
4965
 
{
4966
 
 
4967
 
  ;
4968
 
  return 0;
4969
 
}
4970
 
_ACEOF
4971
 
rm -f conftest.$ac_objext conftest$ac_exeext
4972
 
if { (ac_try="$ac_link"
4973
 
case "(($ac_try" in
4974
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4975
 
  *) ac_try_echo=$ac_try;;
4976
 
esac
4977
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4978
 
  (eval "$ac_link") 2>conftest.er1
4979
 
  ac_status=$?
4980
 
  grep -v '^ *+' conftest.er1 >conftest.err
4981
 
  rm -f conftest.er1
4982
 
  cat conftest.err >&5
4983
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4984
 
  (exit $ac_status); } && {
4985
 
         test -z "$ac_c_werror_flag" ||
4986
 
         test ! -s conftest.err
4987
 
       } && test -s conftest$ac_exeext &&
4988
 
       $as_test_x conftest$ac_exeext; then
4989
 
  lt_cv_cc_needs_belf=yes
4990
 
else
4991
 
  echo "$as_me: failed program was:" >&5
4992
 
sed 's/^/| /' conftest.$ac_ext >&5
4993
 
 
4994
 
        lt_cv_cc_needs_belf=no
4995
 
fi
4996
 
 
4997
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4998
 
      conftest$ac_exeext conftest.$ac_ext
4999
 
     ac_ext=c
5000
 
ac_cpp='$CPP $CPPFLAGS'
5001
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5002
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5003
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5004
 
 
5005
 
fi
5006
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5007
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5008
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5009
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5010
 
    CFLAGS="$SAVE_CFLAGS"
5011
 
  fi
5012
 
  ;;
5013
 
sparc*-*solaris*)
5014
 
  # Find out which ABI we are using.
5015
 
  echo 'int i;' > conftest.$ac_ext
5016
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5017
 
  (eval $ac_compile) 2>&5
5018
 
  ac_status=$?
5019
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5020
 
  (exit $ac_status); }; then
5021
 
    case `/usr/bin/file conftest.o` in
5022
 
    *64-bit*)
5023
 
      case $lt_cv_prog_gnu_ld in
5024
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
5025
 
      *)
5026
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5027
 
          LD="${LD-ld} -64"
5028
 
        fi
5029
 
        ;;
5030
 
      esac
5031
 
      ;;
5032
 
    esac
5033
 
  fi
5034
 
  rm -rf conftest*
5035
 
  ;;
5036
 
 
5037
 
 
5038
 
esac
5039
 
 
5040
 
need_locks="$enable_libtool_lock"
5041
 
 
5042
 
 
5043
 
ac_ext=c
5044
 
ac_cpp='$CPP $CPPFLAGS'
5045
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5046
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5047
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5048
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5049
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5050
 
# On Suns, sometimes $CPP names a directory.
5051
 
if test -n "$CPP" && test -d "$CPP"; then
5052
 
  CPP=
5053
 
fi
5054
 
if test -z "$CPP"; then
5055
 
  if test "${ac_cv_prog_CPP+set}" = set; then
5056
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5057
 
else
5058
 
      # Double quotes because CPP needs to be expanded
5059
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5060
 
    do
5061
 
      ac_preproc_ok=false
5062
 
for ac_c_preproc_warn_flag in '' yes
5063
 
do
5064
 
  # Use a header file that comes with gcc, so configuring glibc
5065
 
  # with a fresh cross-compiler works.
5066
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5067
 
  # <limits.h> exists even on freestanding compilers.
5068
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5069
 
  # not just through cpp. "Syntax error" is here to catch this case.
5070
 
  cat >conftest.$ac_ext <<_ACEOF
5071
 
/* confdefs.h.  */
5072
 
_ACEOF
5073
 
cat confdefs.h >>conftest.$ac_ext
5074
 
cat >>conftest.$ac_ext <<_ACEOF
5075
 
/* end confdefs.h.  */
5076
 
#ifdef __STDC__
5077
 
# include <limits.h>
5078
 
#else
5079
 
# include <assert.h>
5080
 
#endif
5081
 
                     Syntax error
5082
 
_ACEOF
5083
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5084
 
case "(($ac_try" in
5085
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5086
 
  *) ac_try_echo=$ac_try;;
5087
 
esac
5088
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5089
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5090
 
  ac_status=$?
5091
 
  grep -v '^ *+' conftest.er1 >conftest.err
5092
 
  rm -f conftest.er1
5093
 
  cat conftest.err >&5
5094
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5095
 
  (exit $ac_status); } >/dev/null && {
5096
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5097
 
         test ! -s conftest.err
5098
 
       }; then
5099
 
  :
5100
 
else
5101
 
  echo "$as_me: failed program was:" >&5
5102
 
sed 's/^/| /' conftest.$ac_ext >&5
5103
 
 
5104
 
  # Broken: fails on valid input.
5105
 
continue
5106
 
fi
5107
 
 
5108
 
rm -f conftest.err conftest.$ac_ext
5109
 
 
5110
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5111
 
  # can be detected and how.
5112
 
  cat >conftest.$ac_ext <<_ACEOF
5113
 
/* confdefs.h.  */
5114
 
_ACEOF
5115
 
cat confdefs.h >>conftest.$ac_ext
5116
 
cat >>conftest.$ac_ext <<_ACEOF
5117
 
/* end confdefs.h.  */
5118
 
#include <ac_nonexistent.h>
5119
 
_ACEOF
5120
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5121
 
case "(($ac_try" in
5122
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5123
 
  *) ac_try_echo=$ac_try;;
5124
 
esac
5125
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5126
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5127
 
  ac_status=$?
5128
 
  grep -v '^ *+' conftest.er1 >conftest.err
5129
 
  rm -f conftest.er1
5130
 
  cat conftest.err >&5
5131
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5132
 
  (exit $ac_status); } >/dev/null && {
5133
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5134
 
         test ! -s conftest.err
5135
 
       }; then
5136
 
  # Broken: success on invalid input.
5137
 
continue
5138
 
else
5139
 
  echo "$as_me: failed program was:" >&5
5140
 
sed 's/^/| /' conftest.$ac_ext >&5
5141
 
 
5142
 
  # Passes both tests.
5143
 
ac_preproc_ok=:
5144
 
break
5145
 
fi
5146
 
 
5147
 
rm -f conftest.err conftest.$ac_ext
5148
 
 
5149
 
done
5150
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5151
 
rm -f conftest.err conftest.$ac_ext
5152
 
if $ac_preproc_ok; then
5153
 
  break
5154
 
fi
5155
 
 
5156
 
    done
5157
 
    ac_cv_prog_CPP=$CPP
5158
 
 
5159
 
fi
5160
 
  CPP=$ac_cv_prog_CPP
5161
 
else
5162
 
  ac_cv_prog_CPP=$CPP
5163
 
fi
5164
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
5165
 
echo "${ECHO_T}$CPP" >&6; }
5166
 
ac_preproc_ok=false
5167
 
for ac_c_preproc_warn_flag in '' yes
5168
 
do
5169
 
  # Use a header file that comes with gcc, so configuring glibc
5170
 
  # with a fresh cross-compiler works.
5171
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5172
 
  # <limits.h> exists even on freestanding compilers.
5173
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5174
 
  # not just through cpp. "Syntax error" is here to catch this case.
5175
 
  cat >conftest.$ac_ext <<_ACEOF
5176
 
/* confdefs.h.  */
5177
 
_ACEOF
5178
 
cat confdefs.h >>conftest.$ac_ext
5179
 
cat >>conftest.$ac_ext <<_ACEOF
5180
 
/* end confdefs.h.  */
5181
 
#ifdef __STDC__
5182
 
# include <limits.h>
5183
 
#else
5184
 
# include <assert.h>
5185
 
#endif
5186
 
                     Syntax error
5187
 
_ACEOF
5188
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5189
 
case "(($ac_try" in
5190
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5191
 
  *) ac_try_echo=$ac_try;;
5192
 
esac
5193
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5194
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5195
 
  ac_status=$?
5196
 
  grep -v '^ *+' conftest.er1 >conftest.err
5197
 
  rm -f conftest.er1
5198
 
  cat conftest.err >&5
5199
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5200
 
  (exit $ac_status); } >/dev/null && {
5201
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5202
 
         test ! -s conftest.err
5203
 
       }; then
5204
 
  :
5205
 
else
5206
 
  echo "$as_me: failed program was:" >&5
5207
 
sed 's/^/| /' conftest.$ac_ext >&5
5208
 
 
5209
 
  # Broken: fails on valid input.
5210
 
continue
5211
 
fi
5212
 
 
5213
 
rm -f conftest.err conftest.$ac_ext
5214
 
 
5215
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5216
 
  # can be detected and how.
5217
 
  cat >conftest.$ac_ext <<_ACEOF
5218
 
/* confdefs.h.  */
5219
 
_ACEOF
5220
 
cat confdefs.h >>conftest.$ac_ext
5221
 
cat >>conftest.$ac_ext <<_ACEOF
5222
 
/* end confdefs.h.  */
5223
 
#include <ac_nonexistent.h>
5224
 
_ACEOF
5225
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5226
 
case "(($ac_try" in
5227
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5228
 
  *) ac_try_echo=$ac_try;;
5229
 
esac
5230
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5231
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5232
 
  ac_status=$?
5233
 
  grep -v '^ *+' conftest.er1 >conftest.err
5234
 
  rm -f conftest.er1
5235
 
  cat conftest.err >&5
5236
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5237
 
  (exit $ac_status); } >/dev/null && {
5238
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5239
 
         test ! -s conftest.err
5240
 
       }; then
5241
 
  # Broken: success on invalid input.
5242
 
continue
5243
 
else
5244
 
  echo "$as_me: failed program was:" >&5
5245
 
sed 's/^/| /' conftest.$ac_ext >&5
5246
 
 
5247
 
  # Passes both tests.
5248
 
ac_preproc_ok=:
5249
 
break
5250
 
fi
5251
 
 
5252
 
rm -f conftest.err conftest.$ac_ext
5253
 
 
5254
 
done
5255
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5256
 
rm -f conftest.err conftest.$ac_ext
5257
 
if $ac_preproc_ok; then
5258
 
  :
5259
 
else
5260
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5261
 
See \`config.log' for more details." >&5
5262
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5263
 
See \`config.log' for more details." >&2;}
5264
 
   { (exit 1); exit 1; }; }
5265
 
fi
5266
 
 
5267
 
ac_ext=c
5268
 
ac_cpp='$CPP $CPPFLAGS'
5269
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5270
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5271
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5272
 
 
5273
 
 
5274
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5275
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5276
 
if test "${ac_cv_header_stdc+set}" = set; then
5277
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5278
 
else
5279
 
  cat >conftest.$ac_ext <<_ACEOF
5280
 
/* confdefs.h.  */
5281
 
_ACEOF
5282
 
cat confdefs.h >>conftest.$ac_ext
5283
 
cat >>conftest.$ac_ext <<_ACEOF
5284
 
/* end confdefs.h.  */
5285
 
#include <stdlib.h>
5286
 
#include <stdarg.h>
5287
 
#include <string.h>
5288
 
#include <float.h>
5289
 
 
5290
 
int
5291
 
main ()
5292
 
{
5293
 
 
5294
 
  ;
5295
 
  return 0;
5296
 
}
5297
 
_ACEOF
5298
 
rm -f conftest.$ac_objext
5299
 
if { (ac_try="$ac_compile"
5300
 
case "(($ac_try" in
5301
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5302
 
  *) ac_try_echo=$ac_try;;
5303
 
esac
5304
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5305
 
  (eval "$ac_compile") 2>conftest.er1
5306
 
  ac_status=$?
5307
 
  grep -v '^ *+' conftest.er1 >conftest.err
5308
 
  rm -f conftest.er1
5309
 
  cat conftest.err >&5
5310
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5311
 
  (exit $ac_status); } && {
5312
 
         test -z "$ac_c_werror_flag" ||
5313
 
         test ! -s conftest.err
5314
 
       } && test -s conftest.$ac_objext; then
5315
 
  ac_cv_header_stdc=yes
5316
 
else
5317
 
  echo "$as_me: failed program was:" >&5
5318
 
sed 's/^/| /' conftest.$ac_ext >&5
5319
 
 
5320
 
        ac_cv_header_stdc=no
5321
 
fi
5322
 
 
5323
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5324
 
 
5325
 
if test $ac_cv_header_stdc = yes; then
5326
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5327
 
  cat >conftest.$ac_ext <<_ACEOF
5328
 
/* confdefs.h.  */
5329
 
_ACEOF
5330
 
cat confdefs.h >>conftest.$ac_ext
5331
 
cat >>conftest.$ac_ext <<_ACEOF
5332
 
/* end confdefs.h.  */
5333
 
#include <string.h>
5334
 
 
5335
 
_ACEOF
5336
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5337
 
  $EGREP "memchr" >/dev/null 2>&1; then
5338
 
  :
5339
 
else
5340
 
  ac_cv_header_stdc=no
5341
 
fi
5342
 
rm -f conftest*
5343
 
 
5344
 
fi
5345
 
 
5346
 
if test $ac_cv_header_stdc = yes; then
5347
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5348
 
  cat >conftest.$ac_ext <<_ACEOF
5349
 
/* confdefs.h.  */
5350
 
_ACEOF
5351
 
cat confdefs.h >>conftest.$ac_ext
5352
 
cat >>conftest.$ac_ext <<_ACEOF
5353
 
/* end confdefs.h.  */
5354
 
#include <stdlib.h>
5355
 
 
5356
 
_ACEOF
5357
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5358
 
  $EGREP "free" >/dev/null 2>&1; then
5359
 
  :
5360
 
else
5361
 
  ac_cv_header_stdc=no
5362
 
fi
5363
 
rm -f conftest*
5364
 
 
5365
 
fi
5366
 
 
5367
 
if test $ac_cv_header_stdc = yes; then
5368
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5369
 
  if test "$cross_compiling" = yes; then
5370
 
  :
5371
 
else
5372
 
  cat >conftest.$ac_ext <<_ACEOF
5373
 
/* confdefs.h.  */
5374
 
_ACEOF
5375
 
cat confdefs.h >>conftest.$ac_ext
5376
 
cat >>conftest.$ac_ext <<_ACEOF
5377
 
/* end confdefs.h.  */
5378
 
#include <ctype.h>
5379
 
#include <stdlib.h>
5380
 
#if ((' ' & 0x0FF) == 0x020)
5381
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5382
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5383
 
#else
5384
 
# define ISLOWER(c) \
5385
 
                   (('a' <= (c) && (c) <= 'i') \
5386
 
                     || ('j' <= (c) && (c) <= 'r') \
5387
 
                     || ('s' <= (c) && (c) <= 'z'))
5388
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5389
 
#endif
5390
 
 
5391
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5392
 
int
5393
 
main ()
5394
 
{
5395
 
  int i;
5396
 
  for (i = 0; i < 256; i++)
5397
 
    if (XOR (islower (i), ISLOWER (i))
5398
 
        || toupper (i) != TOUPPER (i))
5399
 
      return 2;
5400
 
  return 0;
5401
 
}
5402
 
_ACEOF
5403
 
rm -f conftest$ac_exeext
5404
 
if { (ac_try="$ac_link"
5405
 
case "(($ac_try" in
5406
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5407
 
  *) ac_try_echo=$ac_try;;
5408
 
esac
5409
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5410
 
  (eval "$ac_link") 2>&5
5411
 
  ac_status=$?
5412
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5413
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5414
 
  { (case "(($ac_try" in
5415
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5416
 
  *) ac_try_echo=$ac_try;;
5417
 
esac
5418
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5419
 
  (eval "$ac_try") 2>&5
5420
 
  ac_status=$?
5421
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5422
 
  (exit $ac_status); }; }; then
5423
 
  :
5424
 
else
5425
 
  echo "$as_me: program exited with status $ac_status" >&5
5426
 
echo "$as_me: failed program was:" >&5
5427
 
sed 's/^/| /' conftest.$ac_ext >&5
5428
 
 
5429
 
( exit $ac_status )
5430
 
ac_cv_header_stdc=no
5431
 
fi
5432
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5433
 
fi
5434
 
 
5435
 
 
5436
 
fi
5437
 
fi
5438
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5439
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5440
 
if test $ac_cv_header_stdc = yes; then
5441
 
 
5442
 
cat >>confdefs.h <<\_ACEOF
5443
 
#define STDC_HEADERS 1
5444
 
_ACEOF
5445
 
 
5446
 
fi
5447
 
 
5448
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5449
 
 
5450
 
 
5451
 
 
5452
 
 
5453
 
 
5454
 
 
5455
 
 
5456
 
 
5457
 
 
5458
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5459
 
                  inttypes.h stdint.h unistd.h
5460
 
do
5461
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5462
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5463
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5464
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5465
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5466
 
else
5467
 
  cat >conftest.$ac_ext <<_ACEOF
5468
 
/* confdefs.h.  */
5469
 
_ACEOF
5470
 
cat confdefs.h >>conftest.$ac_ext
5471
 
cat >>conftest.$ac_ext <<_ACEOF
5472
 
/* end confdefs.h.  */
5473
 
$ac_includes_default
5474
 
 
5475
 
#include <$ac_header>
5476
 
_ACEOF
5477
 
rm -f conftest.$ac_objext
5478
 
if { (ac_try="$ac_compile"
5479
 
case "(($ac_try" in
5480
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5481
 
  *) ac_try_echo=$ac_try;;
5482
 
esac
5483
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5484
 
  (eval "$ac_compile") 2>conftest.er1
5485
 
  ac_status=$?
5486
 
  grep -v '^ *+' conftest.er1 >conftest.err
5487
 
  rm -f conftest.er1
5488
 
  cat conftest.err >&5
5489
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5490
 
  (exit $ac_status); } && {
5491
 
         test -z "$ac_c_werror_flag" ||
5492
 
         test ! -s conftest.err
5493
 
       } && test -s conftest.$ac_objext; then
5494
 
  eval "$as_ac_Header=yes"
5495
 
else
5496
 
  echo "$as_me: failed program was:" >&5
5497
 
sed 's/^/| /' conftest.$ac_ext >&5
5498
 
 
5499
 
        eval "$as_ac_Header=no"
5500
 
fi
5501
 
 
5502
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5503
 
fi
5504
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5505
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5506
 
echo "${ECHO_T}$ac_res" >&6; }
5507
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5508
 
  cat >>confdefs.h <<_ACEOF
5509
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5510
 
_ACEOF
5511
 
 
5512
 
fi
5513
 
 
5514
 
done
5515
 
 
5516
 
 
5517
 
 
5518
 
for ac_header in dlfcn.h
5519
 
do
5520
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5521
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5522
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
5523
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5524
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5525
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5526
 
fi
5527
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5528
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5529
 
echo "${ECHO_T}$ac_res" >&6; }
5530
 
else
5531
 
  # Is the header compilable?
5532
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5533
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5534
 
cat >conftest.$ac_ext <<_ACEOF
5535
 
/* confdefs.h.  */
5536
 
_ACEOF
5537
 
cat confdefs.h >>conftest.$ac_ext
5538
 
cat >>conftest.$ac_ext <<_ACEOF
5539
 
/* end confdefs.h.  */
5540
 
$ac_includes_default
5541
 
#include <$ac_header>
5542
 
_ACEOF
5543
 
rm -f conftest.$ac_objext
5544
 
if { (ac_try="$ac_compile"
5545
 
case "(($ac_try" in
5546
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5547
 
  *) ac_try_echo=$ac_try;;
5548
 
esac
5549
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5550
 
  (eval "$ac_compile") 2>conftest.er1
5551
 
  ac_status=$?
5552
 
  grep -v '^ *+' conftest.er1 >conftest.err
5553
 
  rm -f conftest.er1
5554
 
  cat conftest.err >&5
5555
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5556
 
  (exit $ac_status); } && {
5557
 
         test -z "$ac_c_werror_flag" ||
5558
 
         test ! -s conftest.err
5559
 
       } && test -s conftest.$ac_objext; then
5560
 
  ac_header_compiler=yes
5561
 
else
5562
 
  echo "$as_me: failed program was:" >&5
5563
 
sed 's/^/| /' conftest.$ac_ext >&5
5564
 
 
5565
 
        ac_header_compiler=no
5566
 
fi
5567
 
 
5568
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5569
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5570
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
5571
 
 
5572
 
# Is the header present?
5573
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5574
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5575
 
cat >conftest.$ac_ext <<_ACEOF
5576
 
/* confdefs.h.  */
5577
 
_ACEOF
5578
 
cat confdefs.h >>conftest.$ac_ext
5579
 
cat >>conftest.$ac_ext <<_ACEOF
5580
 
/* end confdefs.h.  */
5581
 
#include <$ac_header>
5582
 
_ACEOF
5583
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5584
 
case "(($ac_try" in
5585
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5586
 
  *) ac_try_echo=$ac_try;;
5587
 
esac
5588
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5589
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5590
 
  ac_status=$?
5591
 
  grep -v '^ *+' conftest.er1 >conftest.err
5592
 
  rm -f conftest.er1
5593
 
  cat conftest.err >&5
5594
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5595
 
  (exit $ac_status); } >/dev/null && {
5596
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5597
 
         test ! -s conftest.err
5598
 
       }; then
5599
 
  ac_header_preproc=yes
5600
 
else
5601
 
  echo "$as_me: failed program was:" >&5
5602
 
sed 's/^/| /' conftest.$ac_ext >&5
5603
 
 
5604
 
  ac_header_preproc=no
5605
 
fi
5606
 
 
5607
 
rm -f conftest.err conftest.$ac_ext
5608
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5609
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
5610
 
 
5611
 
# So?  What about this header?
5612
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5613
 
  yes:no: )
5614
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5615
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5616
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5617
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5618
 
    ac_header_preproc=yes
5619
 
    ;;
5620
 
  no:yes:* )
5621
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5622
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5623
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5624
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5625
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5626
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5627
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5628
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5629
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5630
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5631
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5632
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5633
 
    ( cat <<\_ASBOX
5634
 
## -------------------------------------------- ##
5635
 
## Report this to http://mfcn.ilo.de/gnomeradio ##
5636
 
## -------------------------------------------- ##
5637
 
_ASBOX
5638
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
5639
 
    ;;
5640
 
esac
5641
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5642
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5643
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5644
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5645
 
else
5646
 
  eval "$as_ac_Header=\$ac_header_preproc"
5647
 
fi
5648
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5649
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5650
 
echo "${ECHO_T}$ac_res" >&6; }
5651
 
 
5652
 
fi
5653
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5654
 
  cat >>confdefs.h <<_ACEOF
5655
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5656
 
_ACEOF
5657
 
 
5658
 
fi
5659
 
 
5660
 
done
5661
 
 
5662
 
ac_ext=cpp
5663
 
ac_cpp='$CXXCPP $CPPFLAGS'
5664
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5665
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5666
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5667
 
if test -z "$CXX"; then
5668
 
  if test -n "$CCC"; then
5669
 
    CXX=$CCC
5670
 
  else
5671
 
    if test -n "$ac_tool_prefix"; then
5672
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5673
 
  do
5674
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5675
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5676
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5677
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5678
 
if test "${ac_cv_prog_CXX+set}" = set; then
5679
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5680
 
else
5681
 
  if test -n "$CXX"; then
5682
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
5683
 
else
5684
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5685
 
for as_dir in $PATH
5686
 
do
5687
 
  IFS=$as_save_IFS
5688
 
  test -z "$as_dir" && as_dir=.
5689
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5690
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5691
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5692
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5693
 
    break 2
5694
 
  fi
5695
 
done
5696
 
done
5697
 
IFS=$as_save_IFS
5698
 
 
5699
 
fi
5700
 
fi
5701
 
CXX=$ac_cv_prog_CXX
5702
 
if test -n "$CXX"; then
5703
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
5704
 
echo "${ECHO_T}$CXX" >&6; }
5705
 
else
5706
 
  { echo "$as_me:$LINENO: result: no" >&5
5707
 
echo "${ECHO_T}no" >&6; }
5708
 
fi
5709
 
 
5710
 
 
5711
 
    test -n "$CXX" && break
5712
 
  done
5713
 
fi
5714
 
if test -z "$CXX"; then
5715
 
  ac_ct_CXX=$CXX
5716
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5717
 
do
5718
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5719
 
set dummy $ac_prog; ac_word=$2
5720
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5721
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5722
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5723
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5724
 
else
5725
 
  if test -n "$ac_ct_CXX"; then
5726
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5727
 
else
5728
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5729
 
for as_dir in $PATH
5730
 
do
5731
 
  IFS=$as_save_IFS
5732
 
  test -z "$as_dir" && as_dir=.
5733
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5734
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5735
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
5736
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5737
 
    break 2
5738
 
  fi
5739
 
done
5740
 
done
5741
 
IFS=$as_save_IFS
5742
 
 
5743
 
fi
5744
 
fi
5745
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5746
 
if test -n "$ac_ct_CXX"; then
5747
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5748
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
5749
 
else
5750
 
  { echo "$as_me:$LINENO: result: no" >&5
5751
 
echo "${ECHO_T}no" >&6; }
5752
 
fi
5753
 
 
5754
 
 
5755
 
  test -n "$ac_ct_CXX" && break
5756
 
done
5757
 
 
5758
 
  if test "x$ac_ct_CXX" = x; then
5759
 
    CXX="g++"
5760
 
  else
5761
 
    case $cross_compiling:$ac_tool_warned in
5762
 
yes:)
5763
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5764
 
whose name does not start with the host triplet.  If you think this
5765
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5766
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5767
 
whose name does not start with the host triplet.  If you think this
5768
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5769
 
ac_tool_warned=yes ;;
5770
 
esac
5771
 
    CXX=$ac_ct_CXX
5772
 
  fi
5773
 
fi
5774
 
 
5775
 
  fi
5776
 
fi
5777
 
# Provide some information about the compiler.
5778
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5779
 
ac_compiler=`set X $ac_compile; echo $2`
5780
 
{ (ac_try="$ac_compiler --version >&5"
5781
 
case "(($ac_try" in
5782
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5783
 
  *) ac_try_echo=$ac_try;;
5784
 
esac
5785
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5786
 
  (eval "$ac_compiler --version >&5") 2>&5
5787
 
  ac_status=$?
5788
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5789
 
  (exit $ac_status); }
5790
 
{ (ac_try="$ac_compiler -v >&5"
5791
 
case "(($ac_try" in
5792
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5793
 
  *) ac_try_echo=$ac_try;;
5794
 
esac
5795
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5796
 
  (eval "$ac_compiler -v >&5") 2>&5
5797
 
  ac_status=$?
5798
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5799
 
  (exit $ac_status); }
5800
 
{ (ac_try="$ac_compiler -V >&5"
5801
 
case "(($ac_try" in
5802
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5803
 
  *) ac_try_echo=$ac_try;;
5804
 
esac
5805
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5806
 
  (eval "$ac_compiler -V >&5") 2>&5
5807
 
  ac_status=$?
5808
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5809
 
  (exit $ac_status); }
5810
 
 
5811
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5812
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5813
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5814
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5815
 
else
5816
 
  cat >conftest.$ac_ext <<_ACEOF
5817
 
/* confdefs.h.  */
5818
 
_ACEOF
5819
 
cat confdefs.h >>conftest.$ac_ext
5820
 
cat >>conftest.$ac_ext <<_ACEOF
5821
 
/* end confdefs.h.  */
5822
 
 
5823
 
int
5824
 
main ()
5825
 
{
5826
 
#ifndef __GNUC__
5827
 
       choke me
5828
 
#endif
5829
 
 
5830
 
  ;
5831
 
  return 0;
5832
 
}
5833
 
_ACEOF
5834
 
rm -f conftest.$ac_objext
5835
 
if { (ac_try="$ac_compile"
5836
 
case "(($ac_try" in
5837
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5838
 
  *) ac_try_echo=$ac_try;;
5839
 
esac
5840
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5841
 
  (eval "$ac_compile") 2>conftest.er1
5842
 
  ac_status=$?
5843
 
  grep -v '^ *+' conftest.er1 >conftest.err
5844
 
  rm -f conftest.er1
5845
 
  cat conftest.err >&5
5846
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5847
 
  (exit $ac_status); } && {
5848
 
         test -z "$ac_cxx_werror_flag" ||
5849
 
         test ! -s conftest.err
5850
 
       } && test -s conftest.$ac_objext; then
5851
 
  ac_compiler_gnu=yes
5852
 
else
5853
 
  echo "$as_me: failed program was:" >&5
5854
 
sed 's/^/| /' conftest.$ac_ext >&5
5855
 
 
5856
 
        ac_compiler_gnu=no
5857
 
fi
5858
 
 
5859
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5860
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5861
 
 
5862
 
fi
5863
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5864
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5865
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
5866
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
5867
 
ac_save_CXXFLAGS=$CXXFLAGS
5868
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5869
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5870
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
5871
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5872
 
else
5873
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5874
 
   ac_cxx_werror_flag=yes
5875
 
   ac_cv_prog_cxx_g=no
5876
 
   CXXFLAGS="-g"
5877
 
   cat >conftest.$ac_ext <<_ACEOF
5878
 
/* confdefs.h.  */
5879
 
_ACEOF
5880
 
cat confdefs.h >>conftest.$ac_ext
5881
 
cat >>conftest.$ac_ext <<_ACEOF
5882
 
/* end confdefs.h.  */
5883
 
 
5884
 
int
5885
 
main ()
5886
 
{
5887
 
 
5888
 
  ;
5889
 
  return 0;
5890
 
}
5891
 
_ACEOF
5892
 
rm -f conftest.$ac_objext
5893
 
if { (ac_try="$ac_compile"
5894
 
case "(($ac_try" in
5895
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5896
 
  *) ac_try_echo=$ac_try;;
5897
 
esac
5898
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5899
 
  (eval "$ac_compile") 2>conftest.er1
5900
 
  ac_status=$?
5901
 
  grep -v '^ *+' conftest.er1 >conftest.err
5902
 
  rm -f conftest.er1
5903
 
  cat conftest.err >&5
5904
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5905
 
  (exit $ac_status); } && {
5906
 
         test -z "$ac_cxx_werror_flag" ||
5907
 
         test ! -s conftest.err
5908
 
       } && test -s conftest.$ac_objext; then
5909
 
  ac_cv_prog_cxx_g=yes
5910
 
else
5911
 
  echo "$as_me: failed program was:" >&5
5912
 
sed 's/^/| /' conftest.$ac_ext >&5
5913
 
 
5914
 
        CXXFLAGS=""
5915
 
      cat >conftest.$ac_ext <<_ACEOF
5916
 
/* confdefs.h.  */
5917
 
_ACEOF
5918
 
cat confdefs.h >>conftest.$ac_ext
5919
 
cat >>conftest.$ac_ext <<_ACEOF
5920
 
/* end confdefs.h.  */
5921
 
 
5922
 
int
5923
 
main ()
5924
 
{
5925
 
 
5926
 
  ;
5927
 
  return 0;
5928
 
}
5929
 
_ACEOF
5930
 
rm -f conftest.$ac_objext
5931
 
if { (ac_try="$ac_compile"
5932
 
case "(($ac_try" in
5933
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5934
 
  *) ac_try_echo=$ac_try;;
5935
 
esac
5936
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5937
 
  (eval "$ac_compile") 2>conftest.er1
5938
 
  ac_status=$?
5939
 
  grep -v '^ *+' conftest.er1 >conftest.err
5940
 
  rm -f conftest.er1
5941
 
  cat conftest.err >&5
5942
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5943
 
  (exit $ac_status); } && {
5944
 
         test -z "$ac_cxx_werror_flag" ||
5945
 
         test ! -s conftest.err
5946
 
       } && test -s conftest.$ac_objext; then
5947
 
  :
5948
 
else
5949
 
  echo "$as_me: failed program was:" >&5
5950
 
sed 's/^/| /' conftest.$ac_ext >&5
5951
 
 
5952
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5953
 
         CXXFLAGS="-g"
5954
 
         cat >conftest.$ac_ext <<_ACEOF
5955
 
/* confdefs.h.  */
5956
 
_ACEOF
5957
 
cat confdefs.h >>conftest.$ac_ext
5958
 
cat >>conftest.$ac_ext <<_ACEOF
5959
 
/* end confdefs.h.  */
5960
 
 
5961
 
int
5962
 
main ()
5963
 
{
5964
 
 
5965
 
  ;
5966
 
  return 0;
5967
 
}
5968
 
_ACEOF
5969
 
rm -f conftest.$ac_objext
5970
 
if { (ac_try="$ac_compile"
5971
 
case "(($ac_try" in
5972
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5973
 
  *) ac_try_echo=$ac_try;;
5974
 
esac
5975
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5976
 
  (eval "$ac_compile") 2>conftest.er1
5977
 
  ac_status=$?
5978
 
  grep -v '^ *+' conftest.er1 >conftest.err
5979
 
  rm -f conftest.er1
5980
 
  cat conftest.err >&5
5981
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5982
 
  (exit $ac_status); } && {
5983
 
         test -z "$ac_cxx_werror_flag" ||
5984
 
         test ! -s conftest.err
5985
 
       } && test -s conftest.$ac_objext; then
5986
 
  ac_cv_prog_cxx_g=yes
5987
 
else
5988
 
  echo "$as_me: failed program was:" >&5
5989
 
sed 's/^/| /' conftest.$ac_ext >&5
5990
 
 
5991
 
 
5992
 
fi
5993
 
 
5994
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5995
 
fi
5996
 
 
5997
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5998
 
fi
5999
 
 
6000
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6001
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6002
 
fi
6003
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6004
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
6005
 
if test "$ac_test_CXXFLAGS" = set; then
6006
 
  CXXFLAGS=$ac_save_CXXFLAGS
6007
 
elif test $ac_cv_prog_cxx_g = yes; then
6008
 
  if test "$GXX" = yes; then
6009
 
    CXXFLAGS="-g -O2"
6010
 
  else
6011
 
    CXXFLAGS="-g"
6012
 
  fi
6013
 
else
6014
 
  if test "$GXX" = yes; then
6015
 
    CXXFLAGS="-O2"
6016
 
  else
6017
 
    CXXFLAGS=
6018
 
  fi
6019
 
fi
6020
 
ac_ext=cpp
6021
 
ac_cpp='$CXXCPP $CPPFLAGS'
6022
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6023
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6024
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6025
 
 
6026
 
depcc="$CXX"  am_compiler_list=
6027
 
 
6028
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6029
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
6030
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6031
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6032
 
else
6033
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6034
 
  # We make a subdir and do the tests there.  Otherwise we can end up
6035
 
  # making bogus files that we don't know about and never remove.  For
6036
 
  # instance it was reported that on HP-UX the gcc test will end up
6037
 
  # making a dummy file named `D' -- because `-MD' means `put the output
6038
 
  # in D'.
6039
 
  mkdir conftest.dir
6040
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
6041
 
  # using a relative directory.
6042
 
  cp "$am_depcomp" conftest.dir
6043
 
  cd conftest.dir
6044
 
  # We will build objects and dependencies in a subdirectory because
6045
 
  # it helps to detect inapplicable dependency modes.  For instance
6046
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
6047
 
  # side effect of compilation, but ICC will put the dependencies in
6048
 
  # the current directory while Tru64 will put them in the object
6049
 
  # directory.
6050
 
  mkdir sub
6051
 
 
6052
 
  am_cv_CXX_dependencies_compiler_type=none
6053
 
  if test "$am_compiler_list" = ""; then
6054
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6055
 
  fi
6056
 
  for depmode in $am_compiler_list; do
6057
 
    # Setup a source with many dependencies, because some compilers
6058
 
    # like to wrap large dependency lists on column 80 (with \), and
6059
 
    # we should not choose a depcomp mode which is confused by this.
6060
 
    #
6061
 
    # We need to recreate these files for each test, as the compiler may
6062
 
    # overwrite some of them when testing with obscure command lines.
6063
 
    # This happens at least with the AIX C compiler.
6064
 
    : > sub/conftest.c
6065
 
    for i in 1 2 3 4 5 6; do
6066
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
6067
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6068
 
      # Solaris 8's {/usr,}/bin/sh.
6069
 
      touch sub/conftst$i.h
6070
 
    done
6071
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6072
 
 
6073
 
    case $depmode in
6074
 
    nosideeffect)
6075
 
      # after this tag, mechanisms are not by side-effect, so they'll
6076
 
      # only be used when explicitly requested
6077
 
      if test "x$enable_dependency_tracking" = xyes; then
6078
 
        continue
6079
 
      else
6080
 
        break
6081
 
      fi
6082
 
      ;;
6083
 
    none) break ;;
6084
 
    esac
6085
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
6086
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
6087
 
    # handle `-M -o', and we need to detect this.
6088
 
    if depmode=$depmode \
6089
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6090
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6091
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6092
 
         >/dev/null 2>conftest.err &&
6093
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6094
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6095
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6096
 
      # icc doesn't choke on unknown options, it will just issue warnings
6097
 
      # or remarks (even with -Werror).  So we grep stderr for any message
6098
 
      # that says an option was ignored or not supported.
6099
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
6100
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
6101
 
      # The diagnosis changed in icc 8.0:
6102
 
      #   icc: Command line remark: option '-MP' not supported
6103
 
      if (grep 'ignoring option' conftest.err ||
6104
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6105
 
        am_cv_CXX_dependencies_compiler_type=$depmode
6106
 
        break
6107
 
      fi
6108
 
    fi
6109
 
  done
6110
 
 
6111
 
  cd ..
6112
 
  rm -rf conftest.dir
6113
 
else
6114
 
  am_cv_CXX_dependencies_compiler_type=none
6115
 
fi
6116
 
 
6117
 
fi
6118
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6119
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
6120
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6121
 
 
6122
 
 
6123
 
 
6124
 
if
6125
 
  test "x$enable_dependency_tracking" != xno \
6126
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6127
 
  am__fastdepCXX_TRUE=
6128
 
  am__fastdepCXX_FALSE='#'
6129
 
else
6130
 
  am__fastdepCXX_TRUE='#'
6131
 
  am__fastdepCXX_FALSE=
6132
 
fi
6133
 
 
6134
 
 
6135
 
 
6136
 
 
6137
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6138
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6139
 
    (test "X$CXX" != "Xg++"))) ; then
6140
 
  ac_ext=cpp
6141
 
ac_cpp='$CXXCPP $CPPFLAGS'
6142
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6143
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6144
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6145
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6146
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
6147
 
if test -z "$CXXCPP"; then
6148
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
6149
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6150
 
else
6151
 
      # Double quotes because CXXCPP needs to be expanded
6152
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
6153
 
    do
6154
 
      ac_preproc_ok=false
6155
 
for ac_cxx_preproc_warn_flag in '' yes
6156
 
do
6157
 
  # Use a header file that comes with gcc, so configuring glibc
6158
 
  # with a fresh cross-compiler works.
6159
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6160
 
  # <limits.h> exists even on freestanding compilers.
6161
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6162
 
  # not just through cpp. "Syntax error" is here to catch this case.
6163
 
  cat >conftest.$ac_ext <<_ACEOF
6164
 
/* confdefs.h.  */
6165
 
_ACEOF
6166
 
cat confdefs.h >>conftest.$ac_ext
6167
 
cat >>conftest.$ac_ext <<_ACEOF
6168
 
/* end confdefs.h.  */
6169
 
#ifdef __STDC__
6170
 
# include <limits.h>
6171
 
#else
6172
 
# include <assert.h>
6173
 
#endif
6174
 
                     Syntax error
6175
 
_ACEOF
6176
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6177
 
case "(($ac_try" in
6178
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6179
 
  *) ac_try_echo=$ac_try;;
6180
 
esac
6181
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6182
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6183
 
  ac_status=$?
6184
 
  grep -v '^ *+' conftest.er1 >conftest.err
6185
 
  rm -f conftest.er1
6186
 
  cat conftest.err >&5
6187
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6188
 
  (exit $ac_status); } >/dev/null && {
6189
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6190
 
         test ! -s conftest.err
6191
 
       }; then
6192
 
  :
6193
 
else
6194
 
  echo "$as_me: failed program was:" >&5
6195
 
sed 's/^/| /' conftest.$ac_ext >&5
6196
 
 
6197
 
  # Broken: fails on valid input.
6198
 
continue
6199
 
fi
6200
 
 
6201
 
rm -f conftest.err conftest.$ac_ext
6202
 
 
6203
 
  # OK, works on sane cases.  Now check whether nonexistent headers
6204
 
  # can be detected and how.
6205
 
  cat >conftest.$ac_ext <<_ACEOF
6206
 
/* confdefs.h.  */
6207
 
_ACEOF
6208
 
cat confdefs.h >>conftest.$ac_ext
6209
 
cat >>conftest.$ac_ext <<_ACEOF
6210
 
/* end confdefs.h.  */
6211
 
#include <ac_nonexistent.h>
6212
 
_ACEOF
6213
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6214
 
case "(($ac_try" in
6215
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6216
 
  *) ac_try_echo=$ac_try;;
6217
 
esac
6218
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6219
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6220
 
  ac_status=$?
6221
 
  grep -v '^ *+' conftest.er1 >conftest.err
6222
 
  rm -f conftest.er1
6223
 
  cat conftest.err >&5
6224
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6225
 
  (exit $ac_status); } >/dev/null && {
6226
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6227
 
         test ! -s conftest.err
6228
 
       }; then
6229
 
  # Broken: success on invalid input.
6230
 
continue
6231
 
else
6232
 
  echo "$as_me: failed program was:" >&5
6233
 
sed 's/^/| /' conftest.$ac_ext >&5
6234
 
 
6235
 
  # Passes both tests.
6236
 
ac_preproc_ok=:
6237
 
break
6238
 
fi
6239
 
 
6240
 
rm -f conftest.err conftest.$ac_ext
6241
 
 
6242
 
done
6243
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6244
 
rm -f conftest.err conftest.$ac_ext
6245
 
if $ac_preproc_ok; then
6246
 
  break
6247
 
fi
6248
 
 
6249
 
    done
6250
 
    ac_cv_prog_CXXCPP=$CXXCPP
6251
 
 
6252
 
fi
6253
 
  CXXCPP=$ac_cv_prog_CXXCPP
6254
 
else
6255
 
  ac_cv_prog_CXXCPP=$CXXCPP
6256
 
fi
6257
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
6258
 
echo "${ECHO_T}$CXXCPP" >&6; }
6259
 
ac_preproc_ok=false
6260
 
for ac_cxx_preproc_warn_flag in '' yes
6261
 
do
6262
 
  # Use a header file that comes with gcc, so configuring glibc
6263
 
  # with a fresh cross-compiler works.
6264
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6265
 
  # <limits.h> exists even on freestanding compilers.
6266
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6267
 
  # not just through cpp. "Syntax error" is here to catch this case.
6268
 
  cat >conftest.$ac_ext <<_ACEOF
6269
 
/* confdefs.h.  */
6270
 
_ACEOF
6271
 
cat confdefs.h >>conftest.$ac_ext
6272
 
cat >>conftest.$ac_ext <<_ACEOF
6273
 
/* end confdefs.h.  */
6274
 
#ifdef __STDC__
6275
 
# include <limits.h>
6276
 
#else
6277
 
# include <assert.h>
6278
 
#endif
6279
 
                     Syntax error
6280
 
_ACEOF
6281
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6282
 
case "(($ac_try" in
6283
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6284
 
  *) ac_try_echo=$ac_try;;
6285
 
esac
6286
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6287
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6288
 
  ac_status=$?
6289
 
  grep -v '^ *+' conftest.er1 >conftest.err
6290
 
  rm -f conftest.er1
6291
 
  cat conftest.err >&5
6292
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293
 
  (exit $ac_status); } >/dev/null && {
6294
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6295
 
         test ! -s conftest.err
6296
 
       }; then
6297
 
  :
6298
 
else
6299
 
  echo "$as_me: failed program was:" >&5
6300
 
sed 's/^/| /' conftest.$ac_ext >&5
6301
 
 
6302
 
  # Broken: fails on valid input.
6303
 
continue
6304
 
fi
6305
 
 
6306
 
rm -f conftest.err conftest.$ac_ext
6307
 
 
6308
 
  # OK, works on sane cases.  Now check whether nonexistent headers
6309
 
  # can be detected and how.
6310
 
  cat >conftest.$ac_ext <<_ACEOF
6311
 
/* confdefs.h.  */
6312
 
_ACEOF
6313
 
cat confdefs.h >>conftest.$ac_ext
6314
 
cat >>conftest.$ac_ext <<_ACEOF
6315
 
/* end confdefs.h.  */
6316
 
#include <ac_nonexistent.h>
6317
 
_ACEOF
6318
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6319
 
case "(($ac_try" in
6320
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6321
 
  *) ac_try_echo=$ac_try;;
6322
 
esac
6323
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6324
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6325
 
  ac_status=$?
6326
 
  grep -v '^ *+' conftest.er1 >conftest.err
6327
 
  rm -f conftest.er1
6328
 
  cat conftest.err >&5
6329
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6330
 
  (exit $ac_status); } >/dev/null && {
6331
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6332
 
         test ! -s conftest.err
6333
 
       }; then
6334
 
  # Broken: success on invalid input.
6335
 
continue
6336
 
else
6337
 
  echo "$as_me: failed program was:" >&5
6338
 
sed 's/^/| /' conftest.$ac_ext >&5
6339
 
 
6340
 
  # Passes both tests.
6341
 
ac_preproc_ok=:
6342
 
break
6343
 
fi
6344
 
 
6345
 
rm -f conftest.err conftest.$ac_ext
6346
 
 
6347
 
done
6348
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6349
 
rm -f conftest.err conftest.$ac_ext
6350
 
if $ac_preproc_ok; then
6351
 
  :
6352
 
else
6353
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6354
 
See \`config.log' for more details." >&5
6355
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6356
 
See \`config.log' for more details." >&2;}
6357
 
   { (exit 1); exit 1; }; }
6358
 
fi
6359
 
 
6360
 
ac_ext=cpp
6361
 
ac_cpp='$CXXCPP $CPPFLAGS'
6362
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6363
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6364
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6365
 
 
6366
 
fi
6367
 
 
6368
 
 
6369
 
ac_ext=f
6370
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6371
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6372
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
6373
 
if test -n "$ac_tool_prefix"; then
6374
 
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6375
 
  do
6376
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6377
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6378
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6379
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6380
 
if test "${ac_cv_prog_F77+set}" = set; then
6381
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6382
 
else
6383
 
  if test -n "$F77"; then
6384
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
6385
 
else
6386
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6387
 
for as_dir in $PATH
6388
 
do
6389
 
  IFS=$as_save_IFS
6390
 
  test -z "$as_dir" && as_dir=.
6391
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6392
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6393
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
6394
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6395
 
    break 2
6396
 
  fi
6397
 
done
6398
 
done
6399
 
IFS=$as_save_IFS
6400
 
 
6401
 
fi
6402
 
fi
6403
 
F77=$ac_cv_prog_F77
6404
 
if test -n "$F77"; then
6405
 
  { echo "$as_me:$LINENO: result: $F77" >&5
6406
 
echo "${ECHO_T}$F77" >&6; }
6407
 
else
6408
 
  { echo "$as_me:$LINENO: result: no" >&5
6409
 
echo "${ECHO_T}no" >&6; }
6410
 
fi
6411
 
 
6412
 
 
6413
 
    test -n "$F77" && break
6414
 
  done
6415
 
fi
6416
 
if test -z "$F77"; then
6417
 
  ac_ct_F77=$F77
6418
 
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6419
 
do
6420
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6421
 
set dummy $ac_prog; ac_word=$2
6422
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6423
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6424
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6425
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6426
 
else
6427
 
  if test -n "$ac_ct_F77"; then
6428
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
6429
 
else
6430
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6431
 
for as_dir in $PATH
6432
 
do
6433
 
  IFS=$as_save_IFS
6434
 
  test -z "$as_dir" && as_dir=.
6435
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6436
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6437
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
6438
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6439
 
    break 2
6440
 
  fi
6441
 
done
6442
 
done
6443
 
IFS=$as_save_IFS
6444
 
 
6445
 
fi
6446
 
fi
6447
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
6448
 
if test -n "$ac_ct_F77"; then
6449
 
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6450
 
echo "${ECHO_T}$ac_ct_F77" >&6; }
6451
 
else
6452
 
  { echo "$as_me:$LINENO: result: no" >&5
6453
 
echo "${ECHO_T}no" >&6; }
6454
 
fi
6455
 
 
6456
 
 
6457
 
  test -n "$ac_ct_F77" && break
6458
 
done
6459
 
 
6460
 
  if test "x$ac_ct_F77" = x; then
6461
 
    F77=""
6462
 
  else
6463
 
    case $cross_compiling:$ac_tool_warned in
6464
 
yes:)
6465
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6466
 
whose name does not start with the host triplet.  If you think this
6467
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6468
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6469
 
whose name does not start with the host triplet.  If you think this
6470
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6471
 
ac_tool_warned=yes ;;
6472
 
esac
6473
 
    F77=$ac_ct_F77
6474
 
  fi
6475
 
fi
6476
 
 
6477
 
 
6478
 
# Provide some information about the compiler.
6479
 
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6480
 
ac_compiler=`set X $ac_compile; echo $2`
6481
 
{ (ac_try="$ac_compiler --version >&5"
6482
 
case "(($ac_try" in
6483
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6484
 
  *) ac_try_echo=$ac_try;;
6485
 
esac
6486
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6487
 
  (eval "$ac_compiler --version >&5") 2>&5
6488
 
  ac_status=$?
6489
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6490
 
  (exit $ac_status); }
6491
 
{ (ac_try="$ac_compiler -v >&5"
6492
 
case "(($ac_try" in
6493
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6494
 
  *) ac_try_echo=$ac_try;;
6495
 
esac
6496
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6497
 
  (eval "$ac_compiler -v >&5") 2>&5
6498
 
  ac_status=$?
6499
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6500
 
  (exit $ac_status); }
6501
 
{ (ac_try="$ac_compiler -V >&5"
6502
 
case "(($ac_try" in
6503
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6504
 
  *) ac_try_echo=$ac_try;;
6505
 
esac
6506
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6507
 
  (eval "$ac_compiler -V >&5") 2>&5
6508
 
  ac_status=$?
6509
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6510
 
  (exit $ac_status); }
6511
 
rm -f a.out
6512
 
 
6513
 
# If we don't use `.F' as extension, the preprocessor is not run on the
6514
 
# input file.  (Note that this only needs to work for GNU compilers.)
6515
 
ac_save_ext=$ac_ext
6516
 
ac_ext=F
6517
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6518
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6519
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6520
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6521
 
else
6522
 
  cat >conftest.$ac_ext <<_ACEOF
6523
 
      program main
6524
 
#ifndef __GNUC__
6525
 
       choke me
6526
 
#endif
6527
 
 
6528
 
      end
6529
 
_ACEOF
6530
 
rm -f conftest.$ac_objext
6531
 
if { (ac_try="$ac_compile"
6532
 
case "(($ac_try" in
6533
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6534
 
  *) ac_try_echo=$ac_try;;
6535
 
esac
6536
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6537
 
  (eval "$ac_compile") 2>conftest.er1
6538
 
  ac_status=$?
6539
 
  grep -v '^ *+' conftest.er1 >conftest.err
6540
 
  rm -f conftest.er1
6541
 
  cat conftest.err >&5
6542
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6543
 
  (exit $ac_status); } && {
6544
 
         test -z "$ac_f77_werror_flag" ||
6545
 
         test ! -s conftest.err
6546
 
       } && test -s conftest.$ac_objext; then
6547
 
  ac_compiler_gnu=yes
6548
 
else
6549
 
  echo "$as_me: failed program was:" >&5
6550
 
sed 's/^/| /' conftest.$ac_ext >&5
6551
 
 
6552
 
        ac_compiler_gnu=no
6553
 
fi
6554
 
 
6555
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6556
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6557
 
 
6558
 
fi
6559
 
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6560
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6561
 
ac_ext=$ac_save_ext
6562
 
ac_test_FFLAGS=${FFLAGS+set}
6563
 
ac_save_FFLAGS=$FFLAGS
6564
 
FFLAGS=
6565
 
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6566
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6567
 
if test "${ac_cv_prog_f77_g+set}" = set; then
6568
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6569
 
else
6570
 
  FFLAGS=-g
6571
 
cat >conftest.$ac_ext <<_ACEOF
6572
 
      program main
6573
 
 
6574
 
      end
6575
 
_ACEOF
6576
 
rm -f conftest.$ac_objext
6577
 
if { (ac_try="$ac_compile"
6578
 
case "(($ac_try" in
6579
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6580
 
  *) ac_try_echo=$ac_try;;
6581
 
esac
6582
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6583
 
  (eval "$ac_compile") 2>conftest.er1
6584
 
  ac_status=$?
6585
 
  grep -v '^ *+' conftest.er1 >conftest.err
6586
 
  rm -f conftest.er1
6587
 
  cat conftest.err >&5
6588
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6589
 
  (exit $ac_status); } && {
6590
 
         test -z "$ac_f77_werror_flag" ||
6591
 
         test ! -s conftest.err
6592
 
       } && test -s conftest.$ac_objext; then
6593
 
  ac_cv_prog_f77_g=yes
6594
 
else
6595
 
  echo "$as_me: failed program was:" >&5
6596
 
sed 's/^/| /' conftest.$ac_ext >&5
6597
 
 
6598
 
        ac_cv_prog_f77_g=no
6599
 
fi
6600
 
 
6601
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6602
 
 
6603
 
fi
6604
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6605
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6606
 
if test "$ac_test_FFLAGS" = set; then
6607
 
  FFLAGS=$ac_save_FFLAGS
6608
 
elif test $ac_cv_prog_f77_g = yes; then
6609
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6610
 
    FFLAGS="-g -O2"
6611
 
  else
6612
 
    FFLAGS="-g"
6613
 
  fi
6614
 
else
6615
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6616
 
    FFLAGS="-O2"
6617
 
  else
6618
 
    FFLAGS=
6619
 
  fi
6620
 
fi
6621
 
 
6622
 
G77=`test $ac_compiler_gnu = yes && echo yes`
6623
 
ac_ext=c
6624
 
ac_cpp='$CPP $CPPFLAGS'
6625
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6626
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6627
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6628
 
 
6629
 
 
6630
 
 
6631
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6632
 
# find the maximum length of command line arguments
6633
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6634
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6635
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6636
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6637
 
else
6638
 
    i=0
6639
 
  teststring="ABCD"
6640
 
 
6641
 
  case $build_os in
6642
 
  msdosdjgpp*)
6643
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
6644
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
6645
 
    # during glob expansion).  Even if it were fixed, the result of this
6646
 
    # check would be larger than it should be.
6647
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6648
 
    ;;
6649
 
 
6650
 
  gnu*)
6651
 
    # Under GNU Hurd, this test is not required because there is
6652
 
    # no limit to the length of command line arguments.
6653
 
    # Libtool will interpret -1 as no limit whatsoever
6654
 
    lt_cv_sys_max_cmd_len=-1;
6655
 
    ;;
6656
 
 
6657
 
  cygwin* | mingw*)
6658
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
6659
 
    # about 5 minutes as the teststring grows exponentially.
6660
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
6661
 
    # you end up with a "frozen" computer, even though with patience
6662
 
    # the test eventually succeeds (with a max line length of 256k).
6663
 
    # Instead, let's just punt: use the minimum linelength reported by
6664
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
6665
 
    lt_cv_sys_max_cmd_len=8192;
6666
 
    ;;
6667
 
 
6668
 
  amigaos*)
6669
 
    # On AmigaOS with pdksh, this test takes hours, literally.
6670
 
    # So we just punt and use a minimum line length of 8192.
6671
 
    lt_cv_sys_max_cmd_len=8192;
6672
 
    ;;
6673
 
 
6674
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6675
 
    # This has been around since 386BSD, at least.  Likely further.
6676
 
    if test -x /sbin/sysctl; then
6677
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6678
 
    elif test -x /usr/sbin/sysctl; then
6679
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6680
 
    else
6681
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6682
 
    fi
6683
 
    # And add a safety zone
6684
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6685
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6686
 
    ;;
6687
 
 
6688
 
  interix*)
6689
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6690
 
    lt_cv_sys_max_cmd_len=196608
6691
 
    ;;
6692
 
 
6693
 
  osf*)
6694
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6695
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6696
 
    # nice to cause kernel panics so lets avoid the loop below.
6697
 
    # First set a reasonable default.
6698
 
    lt_cv_sys_max_cmd_len=16384
6699
 
    #
6700
 
    if test -x /sbin/sysconfig; then
6701
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6702
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6703
 
      esac
6704
 
    fi
6705
 
    ;;
6706
 
  sco3.2v5*)
6707
 
    lt_cv_sys_max_cmd_len=102400
6708
 
    ;;
6709
 
  sysv5* | sco5v6* | sysv4.2uw2*)
6710
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6711
 
    if test -n "$kargmax"; then
6712
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
6713
 
    else
6714
 
      lt_cv_sys_max_cmd_len=32768
6715
 
    fi
6716
 
    ;;
6717
 
  *)
6718
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6719
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
6720
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6721
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6722
 
    else
6723
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6724
 
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6725
 
               = "XX$teststring") >/dev/null 2>&1 &&
6726
 
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
6727
 
              lt_cv_sys_max_cmd_len=$new_result &&
6728
 
              test $i != 17 # 1/2 MB should be enough
6729
 
      do
6730
 
        i=`expr $i + 1`
6731
 
        teststring=$teststring$teststring
6732
 
      done
6733
 
      teststring=
6734
 
      # Add a significant safety factor because C++ compilers can tack on massive
6735
 
      # amounts of additional arguments before passing them to the linker.
6736
 
      # It appears as though 1/2 is a usable value.
6737
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6738
 
    fi
6739
 
    ;;
6740
 
  esac
6741
 
 
6742
 
fi
6743
 
 
6744
 
if test -n $lt_cv_sys_max_cmd_len ; then
6745
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6746
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6747
 
else
6748
 
  { echo "$as_me:$LINENO: result: none" >&5
6749
 
echo "${ECHO_T}none" >&6; }
6750
 
fi
6751
 
 
6752
 
 
6753
 
 
6754
 
 
6755
 
 
6756
 
# Check for command to grab the raw symbol name followed by C symbol from nm.
6757
 
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6758
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6759
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6760
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6761
 
else
6762
 
 
6763
 
# These are sane defaults that work on at least a few old systems.
6764
 
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6765
 
 
6766
 
# Character class describing NM global symbol codes.
6767
 
symcode='[BCDEGRST]'
6768
 
 
6769
 
# Regexp to match symbols that can be accessed directly from C.
6770
 
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6771
 
 
6772
 
# Transform an extracted symbol line into a proper C declaration
6773
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6774
 
 
6775
 
# Transform an extracted symbol line into symbol name and symbol address
6776
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
6777
 
 
6778
 
# Define system-specific variables.
6779
 
case $host_os in
6780
 
aix*)
6781
 
  symcode='[BCDT]'
6782
 
  ;;
6783
 
cygwin* | mingw* | pw32*)
6784
 
  symcode='[ABCDGISTW]'
6785
 
  ;;
6786
 
hpux*) # Its linker distinguishes data from code symbols
6787
 
  if test "$host_cpu" = ia64; then
6788
 
    symcode='[ABCDEGRST]'
6789
 
  fi
6790
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6791
 
  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
6792
 
  ;;
6793
 
linux* | k*bsd*-gnu)
6794
 
  if test "$host_cpu" = ia64; then
6795
 
    symcode='[ABCDGIRSTW]'
6796
 
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6797
 
    lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
6798
 
  fi
6799
 
  ;;
6800
 
irix* | nonstopux*)
6801
 
  symcode='[BCDEGRST]'
6802
 
  ;;
6803
 
osf*)
6804
 
  symcode='[BCDEGQRST]'
6805
 
  ;;
6806
 
solaris*)
6807
 
  symcode='[BDRT]'
6808
 
  ;;
6809
 
sco3.2v5*)
6810
 
  symcode='[DT]'
6811
 
  ;;
6812
 
sysv4.2uw2*)
6813
 
  symcode='[DT]'
6814
 
  ;;
6815
 
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6816
 
  symcode='[ABDT]'
6817
 
  ;;
6818
 
sysv4)
6819
 
  symcode='[DFNSTU]'
6820
 
  ;;
6821
 
esac
6822
 
 
6823
 
# Handle CRLF in mingw tool chain
6824
 
opt_cr=
6825
 
case $build_os in
6826
 
mingw*)
6827
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6828
 
  ;;
6829
 
esac
6830
 
 
6831
 
# If we're using GNU nm, then use its standard symbol codes.
6832
 
case `$NM -V 2>&1` in
6833
 
*GNU* | *'with BFD'*)
6834
 
  symcode='[ABCDGIRSTW]' ;;
6835
 
esac
6836
 
 
6837
 
# Try without a prefix undercore, then with it.
6838
 
for ac_symprfx in "" "_"; do
6839
 
 
6840
 
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6841
 
  symxfrm="\\1 $ac_symprfx\\2 \\2"
6842
 
 
6843
 
  # Write the raw and C identifiers.
6844
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6845
 
 
6846
 
  # Check to see that the pipe works correctly.
6847
 
  pipe_works=no
6848
 
 
6849
 
  rm -f conftest*
6850
 
  cat > conftest.$ac_ext <<EOF
6851
 
#ifdef __cplusplus
6852
 
extern "C" {
6853
 
#endif
6854
 
char nm_test_var;
6855
 
void nm_test_func(){}
6856
 
#ifdef __cplusplus
6857
 
}
6858
 
#endif
6859
 
int main(){nm_test_var='a';nm_test_func();return(0);}
6860
 
EOF
6861
 
 
6862
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6863
 
  (eval $ac_compile) 2>&5
6864
 
  ac_status=$?
6865
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6866
 
  (exit $ac_status); }; then
6867
 
    # Now try to grab the symbols.
6868
 
    nlist=conftest.nm
6869
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6870
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6871
 
  ac_status=$?
6872
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6873
 
  (exit $ac_status); } && test -s "$nlist"; then
6874
 
      # Try sorting and uniquifying the output.
6875
 
      if sort "$nlist" | uniq > "$nlist"T; then
6876
 
        mv -f "$nlist"T "$nlist"
6877
 
      else
6878
 
        rm -f "$nlist"T
6879
 
      fi
6880
 
 
6881
 
      # Make sure that we snagged all the symbols we need.
6882
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
6883
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
6884
 
          cat <<EOF > conftest.$ac_ext
6885
 
#ifdef __cplusplus
6886
 
extern "C" {
6887
 
#endif
6888
 
 
6889
 
EOF
6890
 
          # Now generate the symbol file.
6891
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6892
 
 
6893
 
          cat <<EOF >> conftest.$ac_ext
6894
 
#if defined (__STDC__) && __STDC__
6895
 
# define lt_ptr_t void *
6896
 
#else
6897
 
# define lt_ptr_t char *
6898
 
# define const
6899
 
#endif
6900
 
 
6901
 
/* The mapping between symbol names and symbols. */
6902
 
const struct {
6903
 
  const char *name;
6904
 
  lt_ptr_t address;
6905
 
}
6906
 
lt_preloaded_symbols[] =
6907
 
{
6908
 
EOF
6909
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
6910
 
          cat <<\EOF >> conftest.$ac_ext
6911
 
  {0, (lt_ptr_t) 0}
6912
 
};
6913
 
 
6914
 
#ifdef __cplusplus
6915
 
}
6916
 
#endif
6917
 
EOF
6918
 
          # Now try linking the two files.
6919
 
          mv conftest.$ac_objext conftstm.$ac_objext
6920
 
          lt_save_LIBS="$LIBS"
6921
 
          lt_save_CFLAGS="$CFLAGS"
6922
 
          LIBS="conftstm.$ac_objext"
6923
 
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6924
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6925
 
  (eval $ac_link) 2>&5
6926
 
  ac_status=$?
6927
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6928
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
6929
 
            pipe_works=yes
6930
 
          fi
6931
 
          LIBS="$lt_save_LIBS"
6932
 
          CFLAGS="$lt_save_CFLAGS"
6933
 
        else
6934
 
          echo "cannot find nm_test_func in $nlist" >&5
6935
 
        fi
6936
 
      else
6937
 
        echo "cannot find nm_test_var in $nlist" >&5
6938
 
      fi
6939
 
    else
6940
 
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6941
 
    fi
6942
 
  else
6943
 
    echo "$progname: failed program was:" >&5
6944
 
    cat conftest.$ac_ext >&5
6945
 
  fi
6946
 
  rm -rf conftest* conftst*
6947
 
 
6948
 
  # Do not use the global_symbol_pipe unless it works.
6949
 
  if test "$pipe_works" = yes; then
6950
 
    break
6951
 
  else
6952
 
    lt_cv_sys_global_symbol_pipe=
6953
 
  fi
6954
 
done
6955
 
 
6956
 
fi
6957
 
 
6958
 
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6959
 
  lt_cv_sys_global_symbol_to_cdecl=
6960
 
fi
6961
 
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6962
 
  { echo "$as_me:$LINENO: result: failed" >&5
6963
 
echo "${ECHO_T}failed" >&6; }
6964
 
else
6965
 
  { echo "$as_me:$LINENO: result: ok" >&5
6966
 
echo "${ECHO_T}ok" >&6; }
6967
 
fi
6968
 
 
6969
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
6970
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6971
 
if test "${lt_cv_objdir+set}" = set; then
6972
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6973
 
else
6974
 
  rm -f .libs 2>/dev/null
6975
 
mkdir .libs 2>/dev/null
6976
 
if test -d .libs; then
6977
 
  lt_cv_objdir=.libs
6978
 
else
6979
 
  # MS-DOS does not allow filenames that begin with a dot.
6980
 
  lt_cv_objdir=_libs
6981
 
fi
6982
 
rmdir .libs 2>/dev/null
6983
 
fi
6984
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6985
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
6986
 
objdir=$lt_cv_objdir
6987
 
 
6988
 
 
6989
 
 
6990
 
 
6991
 
 
6992
 
case $host_os in
6993
 
aix3*)
6994
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
6995
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
6996
 
  # vanish in a puff of smoke.
6997
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
6998
 
    COLLECT_NAMES=
6999
 
    export COLLECT_NAMES
7000
 
  fi
7001
 
  ;;
7002
 
esac
7003
 
 
7004
 
# Sed substitution that helps us do robust quoting.  It backslashifies
7005
 
# metacharacters that are still active within double-quoted strings.
7006
 
Xsed='sed -e 1s/^X//'
7007
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
7008
 
 
7009
 
# Same as above, but do not quote variable references.
7010
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
7011
 
 
7012
 
# Sed substitution to delay expansion of an escaped shell variable in a
7013
 
# double_quote_subst'ed string.
7014
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7015
 
 
7016
 
# Sed substitution to avoid accidental globbing in evaled expressions
7017
 
no_glob_subst='s/\*/\\\*/g'
7018
 
 
7019
 
# Constants:
7020
 
rm="rm -f"
7021
 
 
7022
 
# Global variables:
7023
 
default_ofile=libtool
7024
 
can_build_shared=yes
7025
 
 
7026
 
# All known linkers require a `.a' archive for static linking (except MSVC,
7027
 
# which needs '.lib').
7028
 
libext=a
7029
 
ltmain="$ac_aux_dir/ltmain.sh"
7030
 
ofile="$default_ofile"
7031
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
7032
 
 
7033
 
if test -n "$ac_tool_prefix"; then
7034
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7035
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
7036
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7037
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7038
 
if test "${ac_cv_prog_AR+set}" = set; then
7039
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7040
 
else
7041
 
  if test -n "$AR"; then
7042
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
7043
 
else
7044
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7045
 
for as_dir in $PATH
7046
 
do
7047
 
  IFS=$as_save_IFS
7048
 
  test -z "$as_dir" && as_dir=.
7049
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7050
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7051
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
7052
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7053
 
    break 2
7054
 
  fi
7055
 
done
7056
 
done
7057
 
IFS=$as_save_IFS
7058
 
 
7059
 
fi
7060
 
fi
7061
 
AR=$ac_cv_prog_AR
7062
 
if test -n "$AR"; then
7063
 
  { echo "$as_me:$LINENO: result: $AR" >&5
7064
 
echo "${ECHO_T}$AR" >&6; }
7065
 
else
7066
 
  { echo "$as_me:$LINENO: result: no" >&5
7067
 
echo "${ECHO_T}no" >&6; }
7068
 
fi
7069
 
 
7070
 
 
7071
 
fi
7072
 
if test -z "$ac_cv_prog_AR"; then
7073
 
  ac_ct_AR=$AR
7074
 
  # Extract the first word of "ar", so it can be a program name with args.
7075
 
set dummy ar; ac_word=$2
7076
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7077
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7078
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7079
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7080
 
else
7081
 
  if test -n "$ac_ct_AR"; then
7082
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7083
 
else
7084
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7085
 
for as_dir in $PATH
7086
 
do
7087
 
  IFS=$as_save_IFS
7088
 
  test -z "$as_dir" && as_dir=.
7089
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7090
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7091
 
    ac_cv_prog_ac_ct_AR="ar"
7092
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7093
 
    break 2
7094
 
  fi
7095
 
done
7096
 
done
7097
 
IFS=$as_save_IFS
7098
 
 
7099
 
fi
7100
 
fi
7101
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
7102
 
if test -n "$ac_ct_AR"; then
7103
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7104
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
7105
 
else
7106
 
  { echo "$as_me:$LINENO: result: no" >&5
7107
 
echo "${ECHO_T}no" >&6; }
7108
 
fi
7109
 
 
7110
 
  if test "x$ac_ct_AR" = x; then
7111
 
    AR="false"
7112
 
  else
7113
 
    case $cross_compiling:$ac_tool_warned in
7114
 
yes:)
7115
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7116
 
whose name does not start with the host triplet.  If you think this
7117
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7118
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7119
 
whose name does not start with the host triplet.  If you think this
7120
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7121
 
ac_tool_warned=yes ;;
7122
 
esac
7123
 
    AR=$ac_ct_AR
7124
 
  fi
7125
 
else
7126
 
  AR="$ac_cv_prog_AR"
7127
 
fi
7128
 
 
7129
 
if test -n "$ac_tool_prefix"; then
7130
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7131
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7132
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7133
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7134
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
7135
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7136
 
else
7137
 
  if test -n "$RANLIB"; then
7138
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7139
 
else
7140
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7141
 
for as_dir in $PATH
7142
 
do
7143
 
  IFS=$as_save_IFS
7144
 
  test -z "$as_dir" && as_dir=.
7145
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7146
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7147
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7148
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7149
 
    break 2
7150
 
  fi
7151
 
done
7152
 
done
7153
 
IFS=$as_save_IFS
7154
 
 
7155
 
fi
7156
 
fi
7157
 
RANLIB=$ac_cv_prog_RANLIB
7158
 
if test -n "$RANLIB"; then
7159
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
7160
 
echo "${ECHO_T}$RANLIB" >&6; }
7161
 
else
7162
 
  { echo "$as_me:$LINENO: result: no" >&5
7163
 
echo "${ECHO_T}no" >&6; }
7164
 
fi
7165
 
 
7166
 
 
7167
 
fi
7168
 
if test -z "$ac_cv_prog_RANLIB"; then
7169
 
  ac_ct_RANLIB=$RANLIB
7170
 
  # Extract the first word of "ranlib", so it can be a program name with args.
7171
 
set dummy ranlib; ac_word=$2
7172
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7173
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7174
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7175
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7176
 
else
7177
 
  if test -n "$ac_ct_RANLIB"; then
7178
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7179
 
else
7180
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7181
 
for as_dir in $PATH
7182
 
do
7183
 
  IFS=$as_save_IFS
7184
 
  test -z "$as_dir" && as_dir=.
7185
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7186
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7187
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
7188
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7189
 
    break 2
7190
 
  fi
7191
 
done
7192
 
done
7193
 
IFS=$as_save_IFS
7194
 
 
7195
 
fi
7196
 
fi
7197
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7198
 
if test -n "$ac_ct_RANLIB"; then
7199
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7200
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7201
 
else
7202
 
  { echo "$as_me:$LINENO: result: no" >&5
7203
 
echo "${ECHO_T}no" >&6; }
7204
 
fi
7205
 
 
7206
 
  if test "x$ac_ct_RANLIB" = x; then
7207
 
    RANLIB=":"
7208
 
  else
7209
 
    case $cross_compiling:$ac_tool_warned in
7210
 
yes:)
7211
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7212
 
whose name does not start with the host triplet.  If you think this
7213
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7214
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7215
 
whose name does not start with the host triplet.  If you think this
7216
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7217
 
ac_tool_warned=yes ;;
7218
 
esac
7219
 
    RANLIB=$ac_ct_RANLIB
7220
 
  fi
7221
 
else
7222
 
  RANLIB="$ac_cv_prog_RANLIB"
7223
 
fi
7224
 
 
7225
 
if test -n "$ac_tool_prefix"; then
7226
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7227
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
7228
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7229
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7230
 
if test "${ac_cv_prog_STRIP+set}" = set; then
7231
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7232
 
else
7233
 
  if test -n "$STRIP"; then
7234
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7235
 
else
7236
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7237
 
for as_dir in $PATH
7238
 
do
7239
 
  IFS=$as_save_IFS
7240
 
  test -z "$as_dir" && as_dir=.
7241
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7242
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7243
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7244
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7245
 
    break 2
7246
 
  fi
7247
 
done
7248
 
done
7249
 
IFS=$as_save_IFS
7250
 
 
7251
 
fi
7252
 
fi
7253
 
STRIP=$ac_cv_prog_STRIP
7254
 
if test -n "$STRIP"; then
7255
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
7256
 
echo "${ECHO_T}$STRIP" >&6; }
7257
 
else
7258
 
  { echo "$as_me:$LINENO: result: no" >&5
7259
 
echo "${ECHO_T}no" >&6; }
7260
 
fi
7261
 
 
7262
 
 
7263
 
fi
7264
 
if test -z "$ac_cv_prog_STRIP"; then
7265
 
  ac_ct_STRIP=$STRIP
7266
 
  # Extract the first word of "strip", so it can be a program name with args.
7267
 
set dummy strip; ac_word=$2
7268
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7269
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7270
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7271
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7272
 
else
7273
 
  if test -n "$ac_ct_STRIP"; then
7274
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7275
 
else
7276
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7277
 
for as_dir in $PATH
7278
 
do
7279
 
  IFS=$as_save_IFS
7280
 
  test -z "$as_dir" && as_dir=.
7281
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7282
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7283
 
    ac_cv_prog_ac_ct_STRIP="strip"
7284
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7285
 
    break 2
7286
 
  fi
7287
 
done
7288
 
done
7289
 
IFS=$as_save_IFS
7290
 
 
7291
 
fi
7292
 
fi
7293
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7294
 
if test -n "$ac_ct_STRIP"; then
7295
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7296
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7297
 
else
7298
 
  { echo "$as_me:$LINENO: result: no" >&5
7299
 
echo "${ECHO_T}no" >&6; }
7300
 
fi
7301
 
 
7302
 
  if test "x$ac_ct_STRIP" = x; then
7303
 
    STRIP=":"
7304
 
  else
7305
 
    case $cross_compiling:$ac_tool_warned in
7306
 
yes:)
7307
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7308
 
whose name does not start with the host triplet.  If you think this
7309
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7310
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7311
 
whose name does not start with the host triplet.  If you think this
7312
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7313
 
ac_tool_warned=yes ;;
7314
 
esac
7315
 
    STRIP=$ac_ct_STRIP
7316
 
  fi
7317
 
else
7318
 
  STRIP="$ac_cv_prog_STRIP"
7319
 
fi
7320
 
 
7321
 
 
7322
 
old_CC="$CC"
7323
 
old_CFLAGS="$CFLAGS"
7324
 
 
7325
 
# Set sane defaults for various variables
7326
 
test -z "$AR" && AR=ar
7327
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
7328
 
test -z "$AS" && AS=as
7329
 
test -z "$CC" && CC=cc
7330
 
test -z "$LTCC" && LTCC=$CC
7331
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7332
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
7333
 
test -z "$LD" && LD=ld
7334
 
test -z "$LN_S" && LN_S="ln -s"
7335
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7336
 
test -z "$NM" && NM=nm
7337
 
test -z "$SED" && SED=sed
7338
 
test -z "$OBJDUMP" && OBJDUMP=objdump
7339
 
test -z "$RANLIB" && RANLIB=:
7340
 
test -z "$STRIP" && STRIP=:
7341
 
test -z "$ac_objext" && ac_objext=o
7342
 
 
7343
 
# Determine commands to create old-style static archives.
7344
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7345
 
old_postinstall_cmds='chmod 644 $oldlib'
7346
 
old_postuninstall_cmds=
7347
 
 
7348
 
if test -n "$RANLIB"; then
7349
 
  case $host_os in
7350
 
  openbsd*)
7351
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7352
 
    ;;
7353
 
  *)
7354
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7355
 
    ;;
7356
 
  esac
7357
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7358
 
fi
7359
 
 
7360
 
for cc_temp in $compiler""; do
7361
 
  case $cc_temp in
7362
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7363
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7364
 
    \-*) ;;
7365
 
    *) break;;
7366
 
  esac
7367
 
done
7368
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7369
 
 
7370
 
 
7371
 
# Only perform the check for file, if the check method requires it
7372
 
case $deplibs_check_method in
7373
 
file_magic*)
7374
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7375
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7376
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7377
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7378
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7379
 
else
7380
 
  case $MAGIC_CMD in
7381
 
[\\/*] |  ?:[\\/]*)
7382
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7383
 
  ;;
7384
 
*)
7385
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7386
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7387
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7388
 
  for ac_dir in $ac_dummy; do
7389
 
    IFS="$lt_save_ifs"
7390
 
    test -z "$ac_dir" && ac_dir=.
7391
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
7392
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7393
 
      if test -n "$file_magic_test_file"; then
7394
 
        case $deplibs_check_method in
7395
 
        "file_magic "*)
7396
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7397
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7398
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7399
 
            $EGREP "$file_magic_regex" > /dev/null; then
7400
 
            :
7401
 
          else
7402
 
            cat <<EOF 1>&2
7403
 
 
7404
 
*** Warning: the command libtool uses to detect shared libraries,
7405
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
7406
 
*** The result is that libtool may fail to recognize shared libraries
7407
 
*** as such.  This will affect the creation of libtool libraries that
7408
 
*** depend on shared libraries, but programs linked with such libtool
7409
 
*** libraries will work regardless of this problem.  Nevertheless, you
7410
 
*** may want to report the problem to your system manager and/or to
7411
 
*** bug-libtool@gnu.org
7412
 
 
7413
 
EOF
7414
 
          fi ;;
7415
 
        esac
7416
 
      fi
7417
 
      break
7418
 
    fi
7419
 
  done
7420
 
  IFS="$lt_save_ifs"
7421
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7422
 
  ;;
7423
 
esac
7424
 
fi
7425
 
 
7426
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7427
 
if test -n "$MAGIC_CMD"; then
7428
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7429
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
7430
 
else
7431
 
  { echo "$as_me:$LINENO: result: no" >&5
7432
 
echo "${ECHO_T}no" >&6; }
7433
 
fi
7434
 
 
7435
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
7436
 
  if test -n "$ac_tool_prefix"; then
7437
 
    { echo "$as_me:$LINENO: checking for file" >&5
7438
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7439
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7440
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7441
 
else
7442
 
  case $MAGIC_CMD in
7443
 
[\\/*] |  ?:[\\/]*)
7444
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7445
 
  ;;
7446
 
*)
7447
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7448
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7449
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7450
 
  for ac_dir in $ac_dummy; do
7451
 
    IFS="$lt_save_ifs"
7452
 
    test -z "$ac_dir" && ac_dir=.
7453
 
    if test -f $ac_dir/file; then
7454
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
7455
 
      if test -n "$file_magic_test_file"; then
7456
 
        case $deplibs_check_method in
7457
 
        "file_magic "*)
7458
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7459
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7460
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7461
 
            $EGREP "$file_magic_regex" > /dev/null; then
7462
 
            :
7463
 
          else
7464
 
            cat <<EOF 1>&2
7465
 
 
7466
 
*** Warning: the command libtool uses to detect shared libraries,
7467
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
7468
 
*** The result is that libtool may fail to recognize shared libraries
7469
 
*** as such.  This will affect the creation of libtool libraries that
7470
 
*** depend on shared libraries, but programs linked with such libtool
7471
 
*** libraries will work regardless of this problem.  Nevertheless, you
7472
 
*** may want to report the problem to your system manager and/or to
7473
 
*** bug-libtool@gnu.org
7474
 
 
7475
 
EOF
7476
 
          fi ;;
7477
 
        esac
7478
 
      fi
7479
 
      break
7480
 
    fi
7481
 
  done
7482
 
  IFS="$lt_save_ifs"
7483
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7484
 
  ;;
7485
 
esac
7486
 
fi
7487
 
 
7488
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7489
 
if test -n "$MAGIC_CMD"; then
7490
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7491
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
7492
 
else
7493
 
  { echo "$as_me:$LINENO: result: no" >&5
7494
 
echo "${ECHO_T}no" >&6; }
7495
 
fi
7496
 
 
7497
 
  else
7498
 
    MAGIC_CMD=:
7499
 
  fi
7500
 
fi
7501
 
 
7502
 
  fi
7503
 
  ;;
7504
 
esac
7505
 
 
7506
 
 
7507
 
  case $host_os in
7508
 
    rhapsody* | darwin*)
7509
 
    if test -n "$ac_tool_prefix"; then
7510
 
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7511
 
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7512
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7513
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7514
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7515
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7516
 
else
7517
 
  if test -n "$DSYMUTIL"; then
7518
 
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7519
 
else
7520
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7521
 
for as_dir in $PATH
7522
 
do
7523
 
  IFS=$as_save_IFS
7524
 
  test -z "$as_dir" && as_dir=.
7525
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7526
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7527
 
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7528
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7529
 
    break 2
7530
 
  fi
7531
 
done
7532
 
done
7533
 
IFS=$as_save_IFS
7534
 
 
7535
 
fi
7536
 
fi
7537
 
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7538
 
if test -n "$DSYMUTIL"; then
7539
 
  { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7540
 
echo "${ECHO_T}$DSYMUTIL" >&6; }
7541
 
else
7542
 
  { echo "$as_me:$LINENO: result: no" >&5
7543
 
echo "${ECHO_T}no" >&6; }
7544
 
fi
7545
 
 
7546
 
 
7547
 
fi
7548
 
if test -z "$ac_cv_prog_DSYMUTIL"; then
7549
 
  ac_ct_DSYMUTIL=$DSYMUTIL
7550
 
  # Extract the first word of "dsymutil", so it can be a program name with args.
7551
 
set dummy dsymutil; ac_word=$2
7552
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7553
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7554
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7555
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7556
 
else
7557
 
  if test -n "$ac_ct_DSYMUTIL"; then
7558
 
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7559
 
else
7560
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7561
 
for as_dir in $PATH
7562
 
do
7563
 
  IFS=$as_save_IFS
7564
 
  test -z "$as_dir" && as_dir=.
7565
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7566
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7567
 
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7568
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7569
 
    break 2
7570
 
  fi
7571
 
done
7572
 
done
7573
 
IFS=$as_save_IFS
7574
 
 
7575
 
fi
7576
 
fi
7577
 
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7578
 
if test -n "$ac_ct_DSYMUTIL"; then
7579
 
  { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7580
 
echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
7581
 
else
7582
 
  { echo "$as_me:$LINENO: result: no" >&5
7583
 
echo "${ECHO_T}no" >&6; }
7584
 
fi
7585
 
 
7586
 
  if test "x$ac_ct_DSYMUTIL" = x; then
7587
 
    DSYMUTIL=":"
7588
 
  else
7589
 
    case $cross_compiling:$ac_tool_warned in
7590
 
yes:)
7591
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7592
 
whose name does not start with the host triplet.  If you think this
7593
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7594
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7595
 
whose name does not start with the host triplet.  If you think this
7596
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7597
 
ac_tool_warned=yes ;;
7598
 
esac
7599
 
    DSYMUTIL=$ac_ct_DSYMUTIL
7600
 
  fi
7601
 
else
7602
 
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7603
 
fi
7604
 
 
7605
 
    if test -n "$ac_tool_prefix"; then
7606
 
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7607
 
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7608
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7609
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7610
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then
7611
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7612
 
else
7613
 
  if test -n "$NMEDIT"; then
7614
 
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7615
 
else
7616
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7617
 
for as_dir in $PATH
7618
 
do
7619
 
  IFS=$as_save_IFS
7620
 
  test -z "$as_dir" && as_dir=.
7621
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7622
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7623
 
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7624
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7625
 
    break 2
7626
 
  fi
7627
 
done
7628
 
done
7629
 
IFS=$as_save_IFS
7630
 
 
7631
 
fi
7632
 
fi
7633
 
NMEDIT=$ac_cv_prog_NMEDIT
7634
 
if test -n "$NMEDIT"; then
7635
 
  { echo "$as_me:$LINENO: result: $NMEDIT" >&5
7636
 
echo "${ECHO_T}$NMEDIT" >&6; }
7637
 
else
7638
 
  { echo "$as_me:$LINENO: result: no" >&5
7639
 
echo "${ECHO_T}no" >&6; }
7640
 
fi
7641
 
 
7642
 
 
7643
 
fi
7644
 
if test -z "$ac_cv_prog_NMEDIT"; then
7645
 
  ac_ct_NMEDIT=$NMEDIT
7646
 
  # Extract the first word of "nmedit", so it can be a program name with args.
7647
 
set dummy nmedit; ac_word=$2
7648
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7649
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7650
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7651
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7652
 
else
7653
 
  if test -n "$ac_ct_NMEDIT"; then
7654
 
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7655
 
else
7656
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7657
 
for as_dir in $PATH
7658
 
do
7659
 
  IFS=$as_save_IFS
7660
 
  test -z "$as_dir" && as_dir=.
7661
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7662
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7663
 
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7664
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7665
 
    break 2
7666
 
  fi
7667
 
done
7668
 
done
7669
 
IFS=$as_save_IFS
7670
 
 
7671
 
fi
7672
 
fi
7673
 
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7674
 
if test -n "$ac_ct_NMEDIT"; then
7675
 
  { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7676
 
echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
7677
 
else
7678
 
  { echo "$as_me:$LINENO: result: no" >&5
7679
 
echo "${ECHO_T}no" >&6; }
7680
 
fi
7681
 
 
7682
 
  if test "x$ac_ct_NMEDIT" = x; then
7683
 
    NMEDIT=":"
7684
 
  else
7685
 
    case $cross_compiling:$ac_tool_warned in
7686
 
yes:)
7687
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7688
 
whose name does not start with the host triplet.  If you think this
7689
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7690
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7691
 
whose name does not start with the host triplet.  If you think this
7692
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7693
 
ac_tool_warned=yes ;;
7694
 
esac
7695
 
    NMEDIT=$ac_ct_NMEDIT
7696
 
  fi
7697
 
else
7698
 
  NMEDIT="$ac_cv_prog_NMEDIT"
7699
 
fi
7700
 
 
7701
 
 
7702
 
    { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7703
 
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
7704
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7705
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7706
 
else
7707
 
  lt_cv_apple_cc_single_mod=no
7708
 
      if test -z "${LT_MULTI_MODULE}"; then
7709
 
   # By default we will add the -single_module flag. You can override
7710
 
   # by either setting the environment variable LT_MULTI_MODULE
7711
 
   # non-empty at configure time, or by adding -multi_module to the
7712
 
   # link flags.
7713
 
   echo "int foo(void){return 1;}" > conftest.c
7714
 
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7715
 
     -dynamiclib ${wl}-single_module conftest.c
7716
 
   if test -f libconftest.dylib; then
7717
 
     lt_cv_apple_cc_single_mod=yes
7718
 
     rm -rf libconftest.dylib*
7719
 
   fi
7720
 
   rm conftest.c
7721
 
      fi
7722
 
fi
7723
 
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7724
 
echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
7725
 
    { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7726
 
echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
7727
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7728
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7729
 
else
7730
 
  lt_cv_ld_exported_symbols_list=no
7731
 
      save_LDFLAGS=$LDFLAGS
7732
 
      echo "_main" > conftest.sym
7733
 
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7734
 
      cat >conftest.$ac_ext <<_ACEOF
7735
 
/* confdefs.h.  */
7736
 
_ACEOF
7737
 
cat confdefs.h >>conftest.$ac_ext
7738
 
cat >>conftest.$ac_ext <<_ACEOF
7739
 
/* end confdefs.h.  */
7740
 
 
7741
 
int
7742
 
main ()
7743
 
{
7744
 
 
7745
 
  ;
7746
 
  return 0;
7747
 
}
7748
 
_ACEOF
7749
 
rm -f conftest.$ac_objext conftest$ac_exeext
7750
 
if { (ac_try="$ac_link"
7751
 
case "(($ac_try" in
7752
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7753
 
  *) ac_try_echo=$ac_try;;
7754
 
esac
7755
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7756
 
  (eval "$ac_link") 2>conftest.er1
7757
 
  ac_status=$?
7758
 
  grep -v '^ *+' conftest.er1 >conftest.err
7759
 
  rm -f conftest.er1
7760
 
  cat conftest.err >&5
7761
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7762
 
  (exit $ac_status); } && {
7763
 
         test -z "$ac_c_werror_flag" ||
7764
 
         test ! -s conftest.err
7765
 
       } && test -s conftest$ac_exeext &&
7766
 
       $as_test_x conftest$ac_exeext; then
7767
 
  lt_cv_ld_exported_symbols_list=yes
7768
 
else
7769
 
  echo "$as_me: failed program was:" >&5
7770
 
sed 's/^/| /' conftest.$ac_ext >&5
7771
 
 
7772
 
        lt_cv_ld_exported_symbols_list=no
7773
 
fi
7774
 
 
7775
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7776
 
      conftest$ac_exeext conftest.$ac_ext
7777
 
   LDFLAGS="$save_LDFLAGS"
7778
 
 
7779
 
fi
7780
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7781
 
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
7782
 
    case $host_os in
7783
 
    rhapsody* | darwin1.[0123])
7784
 
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7785
 
    darwin1.*)
7786
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7787
 
    darwin*)
7788
 
      # if running on 10.5 or later, the deployment target defaults
7789
 
      # to the OS version, if on x86, and 10.4, the deployment
7790
 
      # target defaults to 10.4. Don't you love it?
7791
 
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7792
 
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7793
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7794
 
   10.[012]*)
7795
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7796
 
   10.*)
7797
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7798
 
      esac
7799
 
    ;;
7800
 
  esac
7801
 
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7802
 
      _lt_dar_single_mod='$single_module'
7803
 
    fi
7804
 
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7805
 
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7806
 
    else
7807
 
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
7808
 
    fi
7809
 
    if test "$DSYMUTIL" != ":"; then
7810
 
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
7811
 
    else
7812
 
      _lt_dsymutil=
7813
 
    fi
7814
 
    ;;
7815
 
  esac
7816
 
 
7817
 
 
7818
 
enable_dlopen=no
7819
 
enable_win32_dll=no
7820
 
 
7821
 
# Check whether --enable-libtool-lock was given.
7822
 
if test "${enable_libtool_lock+set}" = set; then
7823
 
  enableval=$enable_libtool_lock;
7824
 
fi
7825
 
 
7826
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7827
 
 
7828
 
 
7829
 
# Check whether --with-pic was given.
7830
 
if test "${with_pic+set}" = set; then
7831
 
  withval=$with_pic; pic_mode="$withval"
7832
 
else
7833
 
  pic_mode=default
7834
 
fi
7835
 
 
7836
 
test -z "$pic_mode" && pic_mode=default
7837
 
 
7838
 
# Use C for the default configuration in the libtool script
7839
 
tagname=
7840
 
lt_save_CC="$CC"
7841
 
ac_ext=c
7842
 
ac_cpp='$CPP $CPPFLAGS'
7843
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7844
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7845
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7846
 
 
7847
 
 
7848
 
# Source file extension for C test sources.
7849
 
ac_ext=c
7850
 
 
7851
 
# Object file extension for compiled C test sources.
7852
 
objext=o
7853
 
objext=$objext
7854
 
 
7855
 
# Code to be used in simple compile tests
7856
 
lt_simple_compile_test_code="int some_variable = 0;"
7857
 
 
7858
 
# Code to be used in simple link tests
7859
 
lt_simple_link_test_code='int main(){return(0);}'
7860
 
 
7861
 
 
7862
 
# If no C compiler was specified, use CC.
7863
 
LTCC=${LTCC-"$CC"}
7864
 
 
7865
 
# If no C compiler flags were specified, use CFLAGS.
7866
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7867
 
 
7868
 
# Allow CC to be a program name with arguments.
7869
 
compiler=$CC
7870
 
 
7871
 
 
7872
 
# save warnings/boilerplate of simple test code
7873
 
ac_outfile=conftest.$ac_objext
7874
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7875
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7876
 
_lt_compiler_boilerplate=`cat conftest.err`
7877
 
$rm conftest*
7878
 
 
7879
 
ac_outfile=conftest.$ac_objext
7880
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7881
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7882
 
_lt_linker_boilerplate=`cat conftest.err`
7883
 
$rm -r conftest*
7884
 
 
7885
 
 
7886
 
 
7887
 
lt_prog_compiler_no_builtin_flag=
7888
 
 
7889
 
if test "$GCC" = yes; then
7890
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7891
 
 
7892
 
 
7893
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7894
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7895
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7896
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7897
 
else
7898
 
  lt_cv_prog_compiler_rtti_exceptions=no
7899
 
  ac_outfile=conftest.$ac_objext
7900
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7901
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
7902
 
   # Insert the option either (1) after the last *FLAGS variable, or
7903
 
   # (2) before a word containing "conftest.", or (3) at the end.
7904
 
   # Note that $ac_compile itself does not contain backslashes and begins
7905
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7906
 
   # The option is referenced via a variable to avoid confusing sed.
7907
 
   lt_compile=`echo "$ac_compile" | $SED \
7908
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7909
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7910
 
   -e 's:$: $lt_compiler_flag:'`
7911
 
   (eval echo "\"\$as_me:7911: $lt_compile\"" >&5)
7912
 
   (eval "$lt_compile" 2>conftest.err)
7913
 
   ac_status=$?
7914
 
   cat conftest.err >&5
7915
 
   echo "$as_me:7915: \$? = $ac_status" >&5
7916
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
7917
 
     # The compiler can only warn and ignore the option if not recognized
7918
 
     # So say no if there are warnings other than the usual output.
7919
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7920
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7921
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7922
 
       lt_cv_prog_compiler_rtti_exceptions=yes
7923
 
     fi
7924
 
   fi
7925
 
   $rm conftest*
7926
 
 
7927
 
fi
7928
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7929
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7930
 
 
7931
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7932
 
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7933
 
else
7934
 
    :
7935
 
fi
7936
 
 
7937
 
fi
7938
 
 
7939
 
lt_prog_compiler_wl=
7940
 
lt_prog_compiler_pic=
7941
 
lt_prog_compiler_static=
7942
 
 
7943
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7944
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7945
 
 
7946
 
  if test "$GCC" = yes; then
7947
 
    lt_prog_compiler_wl='-Wl,'
7948
 
    lt_prog_compiler_static='-static'
7949
 
 
7950
 
    case $host_os in
7951
 
      aix*)
7952
 
      # All AIX code is PIC.
7953
 
      if test "$host_cpu" = ia64; then
7954
 
        # AIX 5 now supports IA64 processor
7955
 
        lt_prog_compiler_static='-Bstatic'
7956
 
      fi
7957
 
      ;;
7958
 
 
7959
 
    amigaos*)
7960
 
      # FIXME: we need at least 68020 code to build shared libraries, but
7961
 
      # adding the `-m68020' flag to GCC prevents building anything better,
7962
 
      # like `-m68040'.
7963
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7964
 
      ;;
7965
 
 
7966
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7967
 
      # PIC is the default for these OSes.
7968
 
      ;;
7969
 
 
7970
 
    mingw* | cygwin* | pw32* | os2*)
7971
 
      # This hack is so that the source file can tell whether it is being
7972
 
      # built for inclusion in a dll (and should export symbols for example).
7973
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
7974
 
      # (--disable-auto-import) libraries
7975
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
7976
 
      ;;
7977
 
 
7978
 
    darwin* | rhapsody*)
7979
 
      # PIC is the default on this platform
7980
 
      # Common symbols not allowed in MH_DYLIB files
7981
 
      lt_prog_compiler_pic='-fno-common'
7982
 
      ;;
7983
 
 
7984
 
    interix[3-9]*)
7985
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7986
 
      # Instead, we relocate shared libraries at runtime.
7987
 
      ;;
7988
 
 
7989
 
    msdosdjgpp*)
7990
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
7991
 
      # on systems that don't support them.
7992
 
      lt_prog_compiler_can_build_shared=no
7993
 
      enable_shared=no
7994
 
      ;;
7995
 
 
7996
 
    sysv4*MP*)
7997
 
      if test -d /usr/nec; then
7998
 
        lt_prog_compiler_pic=-Kconform_pic
7999
 
      fi
8000
 
      ;;
8001
 
 
8002
 
    hpux*)
8003
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8004
 
      # not for PA HP-UX.
8005
 
      case $host_cpu in
8006
 
      hppa*64*|ia64*)
8007
 
        # +Z the default
8008
 
        ;;
8009
 
      *)
8010
 
        lt_prog_compiler_pic='-fPIC'
8011
 
        ;;
8012
 
      esac
8013
 
      ;;
8014
 
 
8015
 
    *)
8016
 
      lt_prog_compiler_pic='-fPIC'
8017
 
      ;;
8018
 
    esac
8019
 
  else
8020
 
    # PORTME Check for flag to pass linker flags through the system compiler.
8021
 
    case $host_os in
8022
 
    aix*)
8023
 
      lt_prog_compiler_wl='-Wl,'
8024
 
      if test "$host_cpu" = ia64; then
8025
 
        # AIX 5 now supports IA64 processor
8026
 
        lt_prog_compiler_static='-Bstatic'
8027
 
      else
8028
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8029
 
      fi
8030
 
      ;;
8031
 
      darwin*)
8032
 
        # PIC is the default on this platform
8033
 
        # Common symbols not allowed in MH_DYLIB files
8034
 
       case $cc_basename in
8035
 
         xlc*)
8036
 
         lt_prog_compiler_pic='-qnocommon'
8037
 
         lt_prog_compiler_wl='-Wl,'
8038
 
         ;;
8039
 
       esac
8040
 
       ;;
8041
 
 
8042
 
    mingw* | cygwin* | pw32* | os2*)
8043
 
      # This hack is so that the source file can tell whether it is being
8044
 
      # built for inclusion in a dll (and should export symbols for example).
8045
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
8046
 
      ;;
8047
 
 
8048
 
    hpux9* | hpux10* | hpux11*)
8049
 
      lt_prog_compiler_wl='-Wl,'
8050
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8051
 
      # not for PA HP-UX.
8052
 
      case $host_cpu in
8053
 
      hppa*64*|ia64*)
8054
 
        # +Z the default
8055
 
        ;;
8056
 
      *)
8057
 
        lt_prog_compiler_pic='+Z'
8058
 
        ;;
8059
 
      esac
8060
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8061
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
8062
 
      ;;
8063
 
 
8064
 
    irix5* | irix6* | nonstopux*)
8065
 
      lt_prog_compiler_wl='-Wl,'
8066
 
      # PIC (with -KPIC) is the default.
8067
 
      lt_prog_compiler_static='-non_shared'
8068
 
      ;;
8069
 
 
8070
 
    newsos6)
8071
 
      lt_prog_compiler_pic='-KPIC'
8072
 
      lt_prog_compiler_static='-Bstatic'
8073
 
      ;;
8074
 
 
8075
 
    linux* | k*bsd*-gnu)
8076
 
      case $cc_basename in
8077
 
      icc* | ecc*)
8078
 
        lt_prog_compiler_wl='-Wl,'
8079
 
        lt_prog_compiler_pic='-KPIC'
8080
 
        lt_prog_compiler_static='-static'
8081
 
        ;;
8082
 
      pgcc* | pgf77* | pgf90* | pgf95*)
8083
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
8084
 
        # which looks to be a dead project)
8085
 
        lt_prog_compiler_wl='-Wl,'
8086
 
        lt_prog_compiler_pic='-fpic'
8087
 
        lt_prog_compiler_static='-Bstatic'
8088
 
        ;;
8089
 
      ccc*)
8090
 
        lt_prog_compiler_wl='-Wl,'
8091
 
        # All Alpha code is PIC.
8092
 
        lt_prog_compiler_static='-non_shared'
8093
 
        ;;
8094
 
      *)
8095
 
        case `$CC -V 2>&1 | sed 5q` in
8096
 
        *Sun\ C*)
8097
 
          # Sun C 5.9
8098
 
          lt_prog_compiler_pic='-KPIC'
8099
 
          lt_prog_compiler_static='-Bstatic'
8100
 
          lt_prog_compiler_wl='-Wl,'
8101
 
          ;;
8102
 
        *Sun\ F*)
8103
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8104
 
          lt_prog_compiler_pic='-KPIC'
8105
 
          lt_prog_compiler_static='-Bstatic'
8106
 
          lt_prog_compiler_wl=''
8107
 
          ;;
8108
 
        esac
8109
 
        ;;
8110
 
      esac
8111
 
      ;;
8112
 
 
8113
 
    osf3* | osf4* | osf5*)
8114
 
      lt_prog_compiler_wl='-Wl,'
8115
 
      # All OSF/1 code is PIC.
8116
 
      lt_prog_compiler_static='-non_shared'
8117
 
      ;;
8118
 
 
8119
 
    rdos*)
8120
 
      lt_prog_compiler_static='-non_shared'
8121
 
      ;;
8122
 
 
8123
 
    solaris*)
8124
 
      lt_prog_compiler_pic='-KPIC'
8125
 
      lt_prog_compiler_static='-Bstatic'
8126
 
      case $cc_basename in
8127
 
      f77* | f90* | f95*)
8128
 
        lt_prog_compiler_wl='-Qoption ld ';;
8129
 
      *)
8130
 
        lt_prog_compiler_wl='-Wl,';;
8131
 
      esac
8132
 
      ;;
8133
 
 
8134
 
    sunos4*)
8135
 
      lt_prog_compiler_wl='-Qoption ld '
8136
 
      lt_prog_compiler_pic='-PIC'
8137
 
      lt_prog_compiler_static='-Bstatic'
8138
 
      ;;
8139
 
 
8140
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
8141
 
      lt_prog_compiler_wl='-Wl,'
8142
 
      lt_prog_compiler_pic='-KPIC'
8143
 
      lt_prog_compiler_static='-Bstatic'
8144
 
      ;;
8145
 
 
8146
 
    sysv4*MP*)
8147
 
      if test -d /usr/nec ;then
8148
 
        lt_prog_compiler_pic='-Kconform_pic'
8149
 
        lt_prog_compiler_static='-Bstatic'
8150
 
      fi
8151
 
      ;;
8152
 
 
8153
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8154
 
      lt_prog_compiler_wl='-Wl,'
8155
 
      lt_prog_compiler_pic='-KPIC'
8156
 
      lt_prog_compiler_static='-Bstatic'
8157
 
      ;;
8158
 
 
8159
 
    unicos*)
8160
 
      lt_prog_compiler_wl='-Wl,'
8161
 
      lt_prog_compiler_can_build_shared=no
8162
 
      ;;
8163
 
 
8164
 
    uts4*)
8165
 
      lt_prog_compiler_pic='-pic'
8166
 
      lt_prog_compiler_static='-Bstatic'
8167
 
      ;;
8168
 
 
8169
 
    *)
8170
 
      lt_prog_compiler_can_build_shared=no
8171
 
      ;;
8172
 
    esac
8173
 
  fi
8174
 
 
8175
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8176
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
8177
 
 
8178
 
#
8179
 
# Check to make sure the PIC flag actually works.
8180
 
#
8181
 
if test -n "$lt_prog_compiler_pic"; then
8182
 
 
8183
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8184
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
8185
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8186
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8187
 
else
8188
 
  lt_cv_prog_compiler_pic_works=no
8189
 
  ac_outfile=conftest.$ac_objext
8190
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8191
 
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8192
 
   # Insert the option either (1) after the last *FLAGS variable, or
8193
 
   # (2) before a word containing "conftest.", or (3) at the end.
8194
 
   # Note that $ac_compile itself does not contain backslashes and begins
8195
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8196
 
   # The option is referenced via a variable to avoid confusing sed.
8197
 
   lt_compile=`echo "$ac_compile" | $SED \
8198
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8199
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8200
 
   -e 's:$: $lt_compiler_flag:'`
8201
 
   (eval echo "\"\$as_me:8201: $lt_compile\"" >&5)
8202
 
   (eval "$lt_compile" 2>conftest.err)
8203
 
   ac_status=$?
8204
 
   cat conftest.err >&5
8205
 
   echo "$as_me:8205: \$? = $ac_status" >&5
8206
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
8207
 
     # The compiler can only warn and ignore the option if not recognized
8208
 
     # So say no if there are warnings other than the usual output.
8209
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8210
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8211
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8212
 
       lt_cv_prog_compiler_pic_works=yes
8213
 
     fi
8214
 
   fi
8215
 
   $rm conftest*
8216
 
 
8217
 
fi
8218
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8219
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
8220
 
 
8221
 
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8222
 
    case $lt_prog_compiler_pic in
8223
 
     "" | " "*) ;;
8224
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8225
 
     esac
8226
 
else
8227
 
    lt_prog_compiler_pic=
8228
 
     lt_prog_compiler_can_build_shared=no
8229
 
fi
8230
 
 
8231
 
fi
8232
 
case $host_os in
8233
 
  # For platforms which do not support PIC, -DPIC is meaningless:
8234
 
  *djgpp*)
8235
 
    lt_prog_compiler_pic=
8236
 
    ;;
8237
 
  *)
8238
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8239
 
    ;;
8240
 
esac
8241
 
 
8242
 
#
8243
 
# Check to make sure the static flag actually works.
8244
 
#
8245
 
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8246
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8247
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
8248
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8249
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8250
 
else
8251
 
  lt_cv_prog_compiler_static_works=no
8252
 
   save_LDFLAGS="$LDFLAGS"
8253
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8254
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8255
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8256
 
     # The linker can only warn and ignore the option if not recognized
8257
 
     # So say no if there are warnings
8258
 
     if test -s conftest.err; then
8259
 
       # Append any errors to the config.log.
8260
 
       cat conftest.err 1>&5
8261
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8262
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8263
 
       if diff conftest.exp conftest.er2 >/dev/null; then
8264
 
         lt_cv_prog_compiler_static_works=yes
8265
 
       fi
8266
 
     else
8267
 
       lt_cv_prog_compiler_static_works=yes
8268
 
     fi
8269
 
   fi
8270
 
   $rm -r conftest*
8271
 
   LDFLAGS="$save_LDFLAGS"
8272
 
 
8273
 
fi
8274
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8275
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
8276
 
 
8277
 
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8278
 
    :
8279
 
else
8280
 
    lt_prog_compiler_static=
8281
 
fi
8282
 
 
8283
 
 
8284
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8285
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8286
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8287
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8288
 
else
8289
 
  lt_cv_prog_compiler_c_o=no
8290
 
   $rm -r conftest 2>/dev/null
8291
 
   mkdir conftest
8292
 
   cd conftest
8293
 
   mkdir out
8294
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8295
 
 
8296
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8297
 
   # Insert the option either (1) after the last *FLAGS variable, or
8298
 
   # (2) before a word containing "conftest.", or (3) at the end.
8299
 
   # Note that $ac_compile itself does not contain backslashes and begins
8300
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8301
 
   lt_compile=`echo "$ac_compile" | $SED \
8302
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8303
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8304
 
   -e 's:$: $lt_compiler_flag:'`
8305
 
   (eval echo "\"\$as_me:8305: $lt_compile\"" >&5)
8306
 
   (eval "$lt_compile" 2>out/conftest.err)
8307
 
   ac_status=$?
8308
 
   cat out/conftest.err >&5
8309
 
   echo "$as_me:8309: \$? = $ac_status" >&5
8310
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8311
 
   then
8312
 
     # The compiler can only warn and ignore the option if not recognized
8313
 
     # So say no if there are warnings
8314
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8315
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8316
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8317
 
       lt_cv_prog_compiler_c_o=yes
8318
 
     fi
8319
 
   fi
8320
 
   chmod u+w . 2>&5
8321
 
   $rm conftest*
8322
 
   # SGI C++ compiler will create directory out/ii_files/ for
8323
 
   # template instantiation
8324
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
8325
 
   $rm out/* && rmdir out
8326
 
   cd ..
8327
 
   rmdir conftest
8328
 
   $rm conftest*
8329
 
 
8330
 
fi
8331
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8332
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8333
 
 
8334
 
 
8335
 
hard_links="nottested"
8336
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8337
 
  # do not overwrite the value of need_locks provided by the user
8338
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8339
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
8340
 
  hard_links=yes
8341
 
  $rm conftest*
8342
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8343
 
  touch conftest.a
8344
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
8345
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8346
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
8347
 
echo "${ECHO_T}$hard_links" >&6; }
8348
 
  if test "$hard_links" = no; then
8349
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8350
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8351
 
    need_locks=warn
8352
 
  fi
8353
 
else
8354
 
  need_locks=no
8355
 
fi
8356
 
 
8357
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8358
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
8359
 
 
8360
 
  runpath_var=
8361
 
  allow_undefined_flag=
8362
 
  enable_shared_with_static_runtimes=no
8363
 
  archive_cmds=
8364
 
  archive_expsym_cmds=
8365
 
  old_archive_From_new_cmds=
8366
 
  old_archive_from_expsyms_cmds=
8367
 
  export_dynamic_flag_spec=
8368
 
  whole_archive_flag_spec=
8369
 
  thread_safe_flag_spec=
8370
 
  hardcode_libdir_flag_spec=
8371
 
  hardcode_libdir_flag_spec_ld=
8372
 
  hardcode_libdir_separator=
8373
 
  hardcode_direct=no
8374
 
  hardcode_minus_L=no
8375
 
  hardcode_shlibpath_var=unsupported
8376
 
  link_all_deplibs=unknown
8377
 
  hardcode_automatic=no
8378
 
  module_cmds=
8379
 
  module_expsym_cmds=
8380
 
  always_export_symbols=no
8381
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8382
 
  # include_expsyms should be a list of space-separated symbols to be *always*
8383
 
  # included in the symbol list
8384
 
  include_expsyms=
8385
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
8386
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8387
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8388
 
  # as well as any symbol that contains `d'.
8389
 
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8390
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8391
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
8392
 
  # the symbol is explicitly referenced.  Since portable code cannot
8393
 
  # rely on this symbol name, it's probably fine to never include it in
8394
 
  # preloaded symbol tables.
8395
 
  # Exclude shared library initialization/finalization symbols.
8396
 
  extract_expsyms_cmds=
8397
 
  # Just being paranoid about ensuring that cc_basename is set.
8398
 
  for cc_temp in $compiler""; do
8399
 
  case $cc_temp in
8400
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8401
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8402
 
    \-*) ;;
8403
 
    *) break;;
8404
 
  esac
8405
 
done
8406
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8407
 
 
8408
 
  case $host_os in
8409
 
  cygwin* | mingw* | pw32*)
8410
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8411
 
    # When not using gcc, we currently assume that we are using
8412
 
    # Microsoft Visual C++.
8413
 
    if test "$GCC" != yes; then
8414
 
      with_gnu_ld=no
8415
 
    fi
8416
 
    ;;
8417
 
  interix*)
8418
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
8419
 
    with_gnu_ld=yes
8420
 
    ;;
8421
 
  openbsd*)
8422
 
    with_gnu_ld=no
8423
 
    ;;
8424
 
  esac
8425
 
 
8426
 
  ld_shlibs=yes
8427
 
  if test "$with_gnu_ld" = yes; then
8428
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
8429
 
    wlarc='${wl}'
8430
 
 
8431
 
    # Set some defaults for GNU ld with shared library support. These
8432
 
    # are reset later if shared libraries are not supported. Putting them
8433
 
    # here allows them to be overridden if necessary.
8434
 
    runpath_var=LD_RUN_PATH
8435
 
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
8436
 
    export_dynamic_flag_spec='${wl}--export-dynamic'
8437
 
    # ancient GNU ld didn't support --whole-archive et. al.
8438
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
8439
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8440
 
      else
8441
 
        whole_archive_flag_spec=
8442
 
    fi
8443
 
    supports_anon_versioning=no
8444
 
    case `$LD -v 2>/dev/null` in
8445
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8446
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8447
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8448
 
      *\ 2.11.*) ;; # other 2.11 versions
8449
 
      *) supports_anon_versioning=yes ;;
8450
 
    esac
8451
 
 
8452
 
    # See if GNU ld supports shared libraries.
8453
 
    case $host_os in
8454
 
    aix[3-9]*)
8455
 
      # On AIX/PPC, the GNU linker is very broken
8456
 
      if test "$host_cpu" != ia64; then
8457
 
        ld_shlibs=no
8458
 
        cat <<EOF 1>&2
8459
 
 
8460
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8461
 
*** to be unable to reliably create shared libraries on AIX.
8462
 
*** Therefore, libtool is disabling shared libraries support.  If you
8463
 
*** really care for shared libraries, you may want to modify your PATH
8464
 
*** so that a non-GNU linker is found, and then restart.
8465
 
 
8466
 
EOF
8467
 
      fi
8468
 
      ;;
8469
 
 
8470
 
    amigaos*)
8471
 
      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)'
8472
 
      hardcode_libdir_flag_spec='-L$libdir'
8473
 
      hardcode_minus_L=yes
8474
 
 
8475
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8476
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
8477
 
      # to version 4, is to share data among multiple programs linked
8478
 
      # with the same dynamic library.  Since this doesn't match the
8479
 
      # behavior of shared libraries on other platforms, we can't use
8480
 
      # them.
8481
 
      ld_shlibs=no
8482
 
      ;;
8483
 
 
8484
 
    beos*)
8485
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8486
 
        allow_undefined_flag=unsupported
8487
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8488
 
        # support --undefined.  This deserves some investigation.  FIXME
8489
 
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8490
 
      else
8491
 
        ld_shlibs=no
8492
 
      fi
8493
 
      ;;
8494
 
 
8495
 
    cygwin* | mingw* | pw32*)
8496
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8497
 
      # as there is no search path for DLLs.
8498
 
      hardcode_libdir_flag_spec='-L$libdir'
8499
 
      allow_undefined_flag=unsupported
8500
 
      always_export_symbols=no
8501
 
      enable_shared_with_static_runtimes=yes
8502
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8503
 
 
8504
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
8505
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8506
 
        # If the export-symbols file already is a .def file (1st line
8507
 
        # is EXPORTS), use it as is; otherwise, prepend...
8508
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8509
 
          cp $export_symbols $output_objdir/$soname.def;
8510
 
        else
8511
 
          echo EXPORTS > $output_objdir/$soname.def;
8512
 
          cat $export_symbols >> $output_objdir/$soname.def;
8513
 
        fi~
8514
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8515
 
      else
8516
 
        ld_shlibs=no
8517
 
      fi
8518
 
      ;;
8519
 
 
8520
 
    interix[3-9]*)
8521
 
      hardcode_direct=no
8522
 
      hardcode_shlibpath_var=no
8523
 
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8524
 
      export_dynamic_flag_spec='${wl}-E'
8525
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8526
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
8527
 
      # default) and relocated if they conflict, which is a slow very memory
8528
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
8529
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8530
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8531
 
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8532
 
      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'
8533
 
      ;;
8534
 
 
8535
 
    gnu* | linux* | k*bsd*-gnu)
8536
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8537
 
        tmp_addflag=
8538
 
        case $cc_basename,$host_cpu in
8539
 
        pgcc*)                          # Portland Group C compiler
8540
 
          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'
8541
 
          tmp_addflag=' $pic_flag'
8542
 
          ;;
8543
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8544
 
          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'
8545
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
8546
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
8547
 
          tmp_addflag=' -i_dynamic' ;;
8548
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8549
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
8550
 
        ifc* | ifort*)                  # Intel Fortran compiler
8551
 
          tmp_addflag=' -nofor_main' ;;
8552
 
        esac
8553
 
        case `$CC -V 2>&1 | sed 5q` in
8554
 
        *Sun\ C*)                       # Sun C 5.9
8555
 
          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'
8556
 
          tmp_sharedflag='-G' ;;
8557
 
        *Sun\ F*)                       # Sun Fortran 8.3
8558
 
          tmp_sharedflag='-G' ;;
8559
 
        *)
8560
 
          tmp_sharedflag='-shared' ;;
8561
 
        esac
8562
 
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8563
 
 
8564
 
        if test $supports_anon_versioning = yes; then
8565
 
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
8566
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8567
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
8568
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8569
 
        fi
8570
 
        link_all_deplibs=no
8571
 
      else
8572
 
        ld_shlibs=no
8573
 
      fi
8574
 
      ;;
8575
 
 
8576
 
    netbsd* | netbsdelf*-gnu)
8577
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8578
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8579
 
        wlarc=
8580
 
      else
8581
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8582
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8583
 
      fi
8584
 
      ;;
8585
 
 
8586
 
    solaris*)
8587
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
8588
 
        ld_shlibs=no
8589
 
        cat <<EOF 1>&2
8590
 
 
8591
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8592
 
*** create shared libraries on Solaris systems.  Therefore, libtool
8593
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
8594
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
8595
 
*** your PATH or compiler configuration so that the native linker is
8596
 
*** used, and then restart.
8597
 
 
8598
 
EOF
8599
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8600
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8601
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8602
 
      else
8603
 
        ld_shlibs=no
8604
 
      fi
8605
 
      ;;
8606
 
 
8607
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8608
 
      case `$LD -v 2>&1` in
8609
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8610
 
        ld_shlibs=no
8611
 
        cat <<_LT_EOF 1>&2
8612
 
 
8613
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8614
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
8615
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
8616
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8617
 
*** your PATH or compiler configuration so that the native linker is
8618
 
*** used, and then restart.
8619
 
 
8620
 
_LT_EOF
8621
 
        ;;
8622
 
        *)
8623
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8624
 
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8625
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8626
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8627
 
          else
8628
 
            ld_shlibs=no
8629
 
          fi
8630
 
        ;;
8631
 
      esac
8632
 
      ;;
8633
 
 
8634
 
    sunos4*)
8635
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8636
 
      wlarc=
8637
 
      hardcode_direct=yes
8638
 
      hardcode_shlibpath_var=no
8639
 
      ;;
8640
 
 
8641
 
    *)
8642
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8643
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8644
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8645
 
      else
8646
 
        ld_shlibs=no
8647
 
      fi
8648
 
      ;;
8649
 
    esac
8650
 
 
8651
 
    if test "$ld_shlibs" = no; then
8652
 
      runpath_var=
8653
 
      hardcode_libdir_flag_spec=
8654
 
      export_dynamic_flag_spec=
8655
 
      whole_archive_flag_spec=
8656
 
    fi
8657
 
  else
8658
 
    # PORTME fill in a description of your system's linker (not GNU ld)
8659
 
    case $host_os in
8660
 
    aix3*)
8661
 
      allow_undefined_flag=unsupported
8662
 
      always_export_symbols=yes
8663
 
      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'
8664
 
      # Note: this linker hardcodes the directories in LIBPATH if there
8665
 
      # are no directories specified by -L.
8666
 
      hardcode_minus_L=yes
8667
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8668
 
        # Neither direct hardcoding nor static linking is supported with a
8669
 
        # broken collect2.
8670
 
        hardcode_direct=unsupported
8671
 
      fi
8672
 
      ;;
8673
 
 
8674
 
    aix[4-9]*)
8675
 
      if test "$host_cpu" = ia64; then
8676
 
        # On IA64, the linker does run time linking by default, so we don't
8677
 
        # have to do anything special.
8678
 
        aix_use_runtimelinking=no
8679
 
        exp_sym_flag='-Bexport'
8680
 
        no_entry_flag=""
8681
 
      else
8682
 
        # If we're using GNU nm, then we don't want the "-C" option.
8683
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
8684
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
8685
 
          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'
8686
 
        else
8687
 
          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'
8688
 
        fi
8689
 
        aix_use_runtimelinking=no
8690
 
 
8691
 
        # Test if we are trying to use run time linking or normal
8692
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8693
 
        # need to do runtime linking.
8694
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8695
 
          for ld_flag in $LDFLAGS; do
8696
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8697
 
            aix_use_runtimelinking=yes
8698
 
            break
8699
 
          fi
8700
 
          done
8701
 
          ;;
8702
 
        esac
8703
 
 
8704
 
        exp_sym_flag='-bexport'
8705
 
        no_entry_flag='-bnoentry'
8706
 
      fi
8707
 
 
8708
 
      # When large executables or shared objects are built, AIX ld can
8709
 
      # have problems creating the table of contents.  If linking a library
8710
 
      # or program results in "error TOC overflow" add -mminimal-toc to
8711
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8712
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8713
 
 
8714
 
      archive_cmds=''
8715
 
      hardcode_direct=yes
8716
 
      hardcode_libdir_separator=':'
8717
 
      link_all_deplibs=yes
8718
 
 
8719
 
      if test "$GCC" = yes; then
8720
 
        case $host_os in aix4.[012]|aix4.[012].*)
8721
 
        # We only want to do this on AIX 4.2 and lower, the check
8722
 
        # below for broken collect2 doesn't work under 4.3+
8723
 
          collect2name=`${CC} -print-prog-name=collect2`
8724
 
          if test -f "$collect2name" && \
8725
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
8726
 
          then
8727
 
          # We have reworked collect2
8728
 
          :
8729
 
          else
8730
 
          # We have old collect2
8731
 
          hardcode_direct=unsupported
8732
 
          # It fails to find uninstalled libraries when the uninstalled
8733
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
8734
 
          # to unsupported forces relinking
8735
 
          hardcode_minus_L=yes
8736
 
          hardcode_libdir_flag_spec='-L$libdir'
8737
 
          hardcode_libdir_separator=
8738
 
          fi
8739
 
          ;;
8740
 
        esac
8741
 
        shared_flag='-shared'
8742
 
        if test "$aix_use_runtimelinking" = yes; then
8743
 
          shared_flag="$shared_flag "'${wl}-G'
8744
 
        fi
8745
 
      else
8746
 
        # not using gcc
8747
 
        if test "$host_cpu" = ia64; then
8748
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8749
 
        # chokes on -Wl,-G. The following line is correct:
8750
 
          shared_flag='-G'
8751
 
        else
8752
 
          if test "$aix_use_runtimelinking" = yes; then
8753
 
            shared_flag='${wl}-G'
8754
 
          else
8755
 
            shared_flag='${wl}-bM:SRE'
8756
 
          fi
8757
 
        fi
8758
 
      fi
8759
 
 
8760
 
      # It seems that -bexpall does not export symbols beginning with
8761
 
      # underscore (_), so it is better to generate a list of symbols to export.
8762
 
      always_export_symbols=yes
8763
 
      if test "$aix_use_runtimelinking" = yes; then
8764
 
        # Warning - without using the other runtime loading flags (-brtl),
8765
 
        # -berok will link without error, but may produce a broken library.
8766
 
        allow_undefined_flag='-berok'
8767
 
       # Determine the default libpath from the value encoded in an empty executable.
8768
 
       cat >conftest.$ac_ext <<_ACEOF
8769
 
/* confdefs.h.  */
8770
 
_ACEOF
8771
 
cat confdefs.h >>conftest.$ac_ext
8772
 
cat >>conftest.$ac_ext <<_ACEOF
8773
 
/* end confdefs.h.  */
8774
 
 
8775
 
int
8776
 
main ()
8777
 
{
8778
 
 
8779
 
  ;
8780
 
  return 0;
8781
 
}
8782
 
_ACEOF
8783
 
rm -f conftest.$ac_objext conftest$ac_exeext
8784
 
if { (ac_try="$ac_link"
8785
 
case "(($ac_try" in
8786
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8787
 
  *) ac_try_echo=$ac_try;;
8788
 
esac
8789
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8790
 
  (eval "$ac_link") 2>conftest.er1
8791
 
  ac_status=$?
8792
 
  grep -v '^ *+' conftest.er1 >conftest.err
8793
 
  rm -f conftest.er1
8794
 
  cat conftest.err >&5
8795
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8796
 
  (exit $ac_status); } && {
8797
 
         test -z "$ac_c_werror_flag" ||
8798
 
         test ! -s conftest.err
8799
 
       } && test -s conftest$ac_exeext &&
8800
 
       $as_test_x conftest$ac_exeext; then
8801
 
 
8802
 
lt_aix_libpath_sed='
8803
 
    /Import File Strings/,/^$/ {
8804
 
        /^0/ {
8805
 
            s/^0  *\(.*\)$/\1/
8806
 
            p
8807
 
        }
8808
 
    }'
8809
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8810
 
# Check for a 64-bit object if we didn't find anything.
8811
 
if test -z "$aix_libpath"; then
8812
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8813
 
fi
8814
 
else
8815
 
  echo "$as_me: failed program was:" >&5
8816
 
sed 's/^/| /' conftest.$ac_ext >&5
8817
 
 
8818
 
 
8819
 
fi
8820
 
 
8821
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8822
 
      conftest$ac_exeext conftest.$ac_ext
8823
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8824
 
 
8825
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8826
 
        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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8827
 
       else
8828
 
        if test "$host_cpu" = ia64; then
8829
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8830
 
          allow_undefined_flag="-z nodefs"
8831
 
          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"
8832
 
        else
8833
 
         # Determine the default libpath from the value encoded in an empty executable.
8834
 
         cat >conftest.$ac_ext <<_ACEOF
8835
 
/* confdefs.h.  */
8836
 
_ACEOF
8837
 
cat confdefs.h >>conftest.$ac_ext
8838
 
cat >>conftest.$ac_ext <<_ACEOF
8839
 
/* end confdefs.h.  */
8840
 
 
8841
 
int
8842
 
main ()
8843
 
{
8844
 
 
8845
 
  ;
8846
 
  return 0;
8847
 
}
8848
 
_ACEOF
8849
 
rm -f conftest.$ac_objext conftest$ac_exeext
8850
 
if { (ac_try="$ac_link"
8851
 
case "(($ac_try" in
8852
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8853
 
  *) ac_try_echo=$ac_try;;
8854
 
esac
8855
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8856
 
  (eval "$ac_link") 2>conftest.er1
8857
 
  ac_status=$?
8858
 
  grep -v '^ *+' conftest.er1 >conftest.err
8859
 
  rm -f conftest.er1
8860
 
  cat conftest.err >&5
8861
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8862
 
  (exit $ac_status); } && {
8863
 
         test -z "$ac_c_werror_flag" ||
8864
 
         test ! -s conftest.err
8865
 
       } && test -s conftest$ac_exeext &&
8866
 
       $as_test_x conftest$ac_exeext; then
8867
 
 
8868
 
lt_aix_libpath_sed='
8869
 
    /Import File Strings/,/^$/ {
8870
 
        /^0/ {
8871
 
            s/^0  *\(.*\)$/\1/
8872
 
            p
8873
 
        }
8874
 
    }'
8875
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8876
 
# Check for a 64-bit object if we didn't find anything.
8877
 
if test -z "$aix_libpath"; then
8878
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8879
 
fi
8880
 
else
8881
 
  echo "$as_me: failed program was:" >&5
8882
 
sed 's/^/| /' conftest.$ac_ext >&5
8883
 
 
8884
 
 
8885
 
fi
8886
 
 
8887
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8888
 
      conftest$ac_exeext conftest.$ac_ext
8889
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8890
 
 
8891
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8892
 
          # Warning - without using the other run time loading flags,
8893
 
          # -berok will link without error, but may produce a broken library.
8894
 
          no_undefined_flag=' ${wl}-bernotok'
8895
 
          allow_undefined_flag=' ${wl}-berok'
8896
 
          # Exported symbols can be pulled into shared objects from archives
8897
 
          whole_archive_flag_spec='$convenience'
8898
 
          archive_cmds_need_lc=yes
8899
 
          # This is similar to how AIX traditionally builds its shared libraries.
8900
 
          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'
8901
 
        fi
8902
 
      fi
8903
 
      ;;
8904
 
 
8905
 
    amigaos*)
8906
 
      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)'
8907
 
      hardcode_libdir_flag_spec='-L$libdir'
8908
 
      hardcode_minus_L=yes
8909
 
      # see comment about different semantics on the GNU ld section
8910
 
      ld_shlibs=no
8911
 
      ;;
8912
 
 
8913
 
    bsdi[45]*)
8914
 
      export_dynamic_flag_spec=-rdynamic
8915
 
      ;;
8916
 
 
8917
 
    cygwin* | mingw* | pw32*)
8918
 
      # When not using gcc, we currently assume that we are using
8919
 
      # Microsoft Visual C++.
8920
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8921
 
      # no search path for DLLs.
8922
 
      hardcode_libdir_flag_spec=' '
8923
 
      allow_undefined_flag=unsupported
8924
 
      # Tell ltmain to make .lib files, not .a files.
8925
 
      libext=lib
8926
 
      # Tell ltmain to make .dll files, not .so files.
8927
 
      shrext_cmds=".dll"
8928
 
      # FIXME: Setting linknames here is a bad hack.
8929
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8930
 
      # The linker will automatically build a .lib file if we build a DLL.
8931
 
      old_archive_From_new_cmds='true'
8932
 
      # FIXME: Should let the user specify the lib program.
8933
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8934
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8935
 
      enable_shared_with_static_runtimes=yes
8936
 
      ;;
8937
 
 
8938
 
    darwin* | rhapsody*)
8939
 
      case $host_os in
8940
 
        rhapsody* | darwin1.[012])
8941
 
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
8942
 
         ;;
8943
 
       *) # Darwin 1.3 on
8944
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8945
 
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8946
 
         else
8947
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
8948
 
             10.[012])
8949
 
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8950
 
               ;;
8951
 
             10.*)
8952
 
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8953
 
               ;;
8954
 
           esac
8955
 
         fi
8956
 
         ;;
8957
 
      esac
8958
 
      archive_cmds_need_lc=no
8959
 
      hardcode_direct=no
8960
 
      hardcode_automatic=yes
8961
 
      hardcode_shlibpath_var=unsupported
8962
 
      whole_archive_flag_spec=''
8963
 
      link_all_deplibs=yes
8964
 
    if test "$GCC" = yes ; then
8965
 
        output_verbose_link_cmd='echo'
8966
 
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8967
 
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8968
 
        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}"
8969
 
        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}"
8970
 
    else
8971
 
      case $cc_basename in
8972
 
        xlc*)
8973
 
         output_verbose_link_cmd='echo'
8974
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8975
 
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8976
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8977
 
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8978
 
          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8979
 
          ;;
8980
 
       *)
8981
 
         ld_shlibs=no
8982
 
          ;;
8983
 
      esac
8984
 
    fi
8985
 
      ;;
8986
 
 
8987
 
    dgux*)
8988
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8989
 
      hardcode_libdir_flag_spec='-L$libdir'
8990
 
      hardcode_shlibpath_var=no
8991
 
      ;;
8992
 
 
8993
 
    freebsd1*)
8994
 
      ld_shlibs=no
8995
 
      ;;
8996
 
 
8997
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8998
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
8999
 
    # does not break anything, and helps significantly (at the cost of a little
9000
 
    # extra space).
9001
 
    freebsd2.2*)
9002
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9003
 
      hardcode_libdir_flag_spec='-R$libdir'
9004
 
      hardcode_direct=yes
9005
 
      hardcode_shlibpath_var=no
9006
 
      ;;
9007
 
 
9008
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9009
 
    freebsd2*)
9010
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9011
 
      hardcode_direct=yes
9012
 
      hardcode_minus_L=yes
9013
 
      hardcode_shlibpath_var=no
9014
 
      ;;
9015
 
 
9016
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9017
 
    freebsd* | dragonfly*)
9018
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9019
 
      hardcode_libdir_flag_spec='-R$libdir'
9020
 
      hardcode_direct=yes
9021
 
      hardcode_shlibpath_var=no
9022
 
      ;;
9023
 
 
9024
 
    hpux9*)
9025
 
      if test "$GCC" = yes; then
9026
 
        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'
9027
 
      else
9028
 
        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'
9029
 
      fi
9030
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9031
 
      hardcode_libdir_separator=:
9032
 
      hardcode_direct=yes
9033
 
 
9034
 
      # hardcode_minus_L: Not really in the search PATH,
9035
 
      # but as the default location of the library.
9036
 
      hardcode_minus_L=yes
9037
 
      export_dynamic_flag_spec='${wl}-E'
9038
 
      ;;
9039
 
 
9040
 
    hpux10*)
9041
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9042
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9043
 
      else
9044
 
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9045
 
      fi
9046
 
      if test "$with_gnu_ld" = no; then
9047
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9048
 
        hardcode_libdir_separator=:
9049
 
 
9050
 
        hardcode_direct=yes
9051
 
        export_dynamic_flag_spec='${wl}-E'
9052
 
 
9053
 
        # hardcode_minus_L: Not really in the search PATH,
9054
 
        # but as the default location of the library.
9055
 
        hardcode_minus_L=yes
9056
 
      fi
9057
 
      ;;
9058
 
 
9059
 
    hpux11*)
9060
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9061
 
        case $host_cpu in
9062
 
        hppa*64*)
9063
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9064
 
          ;;
9065
 
        ia64*)
9066
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9067
 
          ;;
9068
 
        *)
9069
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9070
 
          ;;
9071
 
        esac
9072
 
      else
9073
 
        case $host_cpu in
9074
 
        hppa*64*)
9075
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9076
 
          ;;
9077
 
        ia64*)
9078
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9079
 
          ;;
9080
 
        *)
9081
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9082
 
          ;;
9083
 
        esac
9084
 
      fi
9085
 
      if test "$with_gnu_ld" = no; then
9086
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9087
 
        hardcode_libdir_separator=:
9088
 
 
9089
 
        case $host_cpu in
9090
 
        hppa*64*|ia64*)
9091
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
9092
 
          hardcode_direct=no
9093
 
          hardcode_shlibpath_var=no
9094
 
          ;;
9095
 
        *)
9096
 
          hardcode_direct=yes
9097
 
          export_dynamic_flag_spec='${wl}-E'
9098
 
 
9099
 
          # hardcode_minus_L: Not really in the search PATH,
9100
 
          # but as the default location of the library.
9101
 
          hardcode_minus_L=yes
9102
 
          ;;
9103
 
        esac
9104
 
      fi
9105
 
      ;;
9106
 
 
9107
 
    irix5* | irix6* | nonstopux*)
9108
 
      if test "$GCC" = yes; then
9109
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9110
 
      else
9111
 
        archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
9112
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
9113
 
      fi
9114
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9115
 
      hardcode_libdir_separator=:
9116
 
      link_all_deplibs=yes
9117
 
      ;;
9118
 
 
9119
 
    netbsd* | netbsdelf*-gnu)
9120
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9121
 
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9122
 
      else
9123
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9124
 
      fi
9125
 
      hardcode_libdir_flag_spec='-R$libdir'
9126
 
      hardcode_direct=yes
9127
 
      hardcode_shlibpath_var=no
9128
 
      ;;
9129
 
 
9130
 
    newsos6)
9131
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9132
 
      hardcode_direct=yes
9133
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9134
 
      hardcode_libdir_separator=:
9135
 
      hardcode_shlibpath_var=no
9136
 
      ;;
9137
 
 
9138
 
    openbsd*)
9139
 
      if test -f /usr/libexec/ld.so; then
9140
 
        hardcode_direct=yes
9141
 
        hardcode_shlibpath_var=no
9142
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9143
 
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9144
 
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9145
 
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9146
 
          export_dynamic_flag_spec='${wl}-E'
9147
 
        else
9148
 
          case $host_os in
9149
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9150
 
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9151
 
             hardcode_libdir_flag_spec='-R$libdir'
9152
 
             ;;
9153
 
           *)
9154
 
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9155
 
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9156
 
             ;;
9157
 
          esac
9158
 
        fi
9159
 
      else
9160
 
        ld_shlibs=no
9161
 
      fi
9162
 
      ;;
9163
 
 
9164
 
    os2*)
9165
 
      hardcode_libdir_flag_spec='-L$libdir'
9166
 
      hardcode_minus_L=yes
9167
 
      allow_undefined_flag=unsupported
9168
 
      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'
9169
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9170
 
      ;;
9171
 
 
9172
 
    osf3*)
9173
 
      if test "$GCC" = yes; then
9174
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9175
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9176
 
      else
9177
 
        allow_undefined_flag=' -expect_unresolved \*'
9178
 
        archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
9179
 
      fi
9180
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9181
 
      hardcode_libdir_separator=:
9182
 
      ;;
9183
 
 
9184
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9185
 
      if test "$GCC" = yes; then
9186
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9187
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9188
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9189
 
      else
9190
 
        allow_undefined_flag=' -expect_unresolved \*'
9191
 
        archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
9192
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
9193
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
9194
 
 
9195
 
        # Both c and cxx compiler support -rpath directly
9196
 
        hardcode_libdir_flag_spec='-rpath $libdir'
9197
 
      fi
9198
 
      hardcode_libdir_separator=:
9199
 
      ;;
9200
 
 
9201
 
    solaris*)
9202
 
      no_undefined_flag=' -z text'
9203
 
      if test "$GCC" = yes; then
9204
 
        wlarc='${wl}'
9205
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9206
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9207
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
9208
 
      else
9209
 
        wlarc=''
9210
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9211
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9212
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
9213
 
      fi
9214
 
      hardcode_libdir_flag_spec='-R$libdir'
9215
 
      hardcode_shlibpath_var=no
9216
 
      case $host_os in
9217
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
9218
 
      *)
9219
 
        # The compiler driver will combine and reorder linker options,
9220
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
9221
 
        # but is careful enough not to reorder.
9222
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
9223
 
        if test "$GCC" = yes; then
9224
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9225
 
        else
9226
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9227
 
        fi
9228
 
        ;;
9229
 
      esac
9230
 
      link_all_deplibs=yes
9231
 
      ;;
9232
 
 
9233
 
    sunos4*)
9234
 
      if test "x$host_vendor" = xsequent; then
9235
 
        # Use $CC to link under sequent, because it throws in some extra .o
9236
 
        # files that make .init and .fini sections work.
9237
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9238
 
      else
9239
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9240
 
      fi
9241
 
      hardcode_libdir_flag_spec='-L$libdir'
9242
 
      hardcode_direct=yes
9243
 
      hardcode_minus_L=yes
9244
 
      hardcode_shlibpath_var=no
9245
 
      ;;
9246
 
 
9247
 
    sysv4)
9248
 
      case $host_vendor in
9249
 
        sni)
9250
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9251
 
          hardcode_direct=yes # is this really true???
9252
 
        ;;
9253
 
        siemens)
9254
 
          ## LD is ld it makes a PLAMLIB
9255
 
          ## CC just makes a GrossModule.
9256
 
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9257
 
          reload_cmds='$CC -r -o $output$reload_objs'
9258
 
          hardcode_direct=no
9259
 
        ;;
9260
 
        motorola)
9261
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9262
 
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9263
 
        ;;
9264
 
      esac
9265
 
      runpath_var='LD_RUN_PATH'
9266
 
      hardcode_shlibpath_var=no
9267
 
      ;;
9268
 
 
9269
 
    sysv4.3*)
9270
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9271
 
      hardcode_shlibpath_var=no
9272
 
      export_dynamic_flag_spec='-Bexport'
9273
 
      ;;
9274
 
 
9275
 
    sysv4*MP*)
9276
 
      if test -d /usr/nec; then
9277
 
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9278
 
        hardcode_shlibpath_var=no
9279
 
        runpath_var=LD_RUN_PATH
9280
 
        hardcode_runpath_var=yes
9281
 
        ld_shlibs=yes
9282
 
      fi
9283
 
      ;;
9284
 
 
9285
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9286
 
      no_undefined_flag='${wl}-z,text'
9287
 
      archive_cmds_need_lc=no
9288
 
      hardcode_shlibpath_var=no
9289
 
      runpath_var='LD_RUN_PATH'
9290
 
 
9291
 
      if test "$GCC" = yes; then
9292
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9293
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9294
 
      else
9295
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9296
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9297
 
      fi
9298
 
      ;;
9299
 
 
9300
 
    sysv5* | sco3.2v5* | sco5v6*)
9301
 
      # Note: We can NOT use -z defs as we might desire, because we do not
9302
 
      # link with -lc, and that would cause any symbols used from libc to
9303
 
      # always be unresolved, which means just about no library would
9304
 
      # ever link correctly.  If we're not using GNU ld we use -z text
9305
 
      # though, which does catch some bad symbols but isn't as heavy-handed
9306
 
      # as -z defs.
9307
 
      no_undefined_flag='${wl}-z,text'
9308
 
      allow_undefined_flag='${wl}-z,nodefs'
9309
 
      archive_cmds_need_lc=no
9310
 
      hardcode_shlibpath_var=no
9311
 
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
9312
 
      hardcode_libdir_separator=':'
9313
 
      link_all_deplibs=yes
9314
 
      export_dynamic_flag_spec='${wl}-Bexport'
9315
 
      runpath_var='LD_RUN_PATH'
9316
 
 
9317
 
      if test "$GCC" = yes; then
9318
 
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9319
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9320
 
      else
9321
 
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9322
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9323
 
      fi
9324
 
      ;;
9325
 
 
9326
 
    uts4*)
9327
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9328
 
      hardcode_libdir_flag_spec='-L$libdir'
9329
 
      hardcode_shlibpath_var=no
9330
 
      ;;
9331
 
 
9332
 
    *)
9333
 
      ld_shlibs=no
9334
 
      ;;
9335
 
    esac
9336
 
  fi
9337
 
 
9338
 
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9339
 
echo "${ECHO_T}$ld_shlibs" >&6; }
9340
 
test "$ld_shlibs" = no && can_build_shared=no
9341
 
 
9342
 
#
9343
 
# Do we need to explicitly link libc?
9344
 
#
9345
 
case "x$archive_cmds_need_lc" in
9346
 
x|xyes)
9347
 
  # Assume -lc should be added
9348
 
  archive_cmds_need_lc=yes
9349
 
 
9350
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
9351
 
    case $archive_cmds in
9352
 
    *'~'*)
9353
 
      # FIXME: we may have to deal with multi-command sequences.
9354
 
      ;;
9355
 
    '$CC '*)
9356
 
      # Test whether the compiler implicitly links with -lc since on some
9357
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9358
 
      # to ld, don't add -lc before -lgcc.
9359
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9360
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9361
 
      $rm conftest*
9362
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9363
 
 
9364
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9365
 
  (eval $ac_compile) 2>&5
9366
 
  ac_status=$?
9367
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9368
 
  (exit $ac_status); } 2>conftest.err; then
9369
 
        soname=conftest
9370
 
        lib=conftest
9371
 
        libobjs=conftest.$ac_objext
9372
 
        deplibs=
9373
 
        wl=$lt_prog_compiler_wl
9374
 
        pic_flag=$lt_prog_compiler_pic
9375
 
        compiler_flags=-v
9376
 
        linker_flags=-v
9377
 
        verstring=
9378
 
        output_objdir=.
9379
 
        libname=conftest
9380
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
9381
 
        allow_undefined_flag=
9382
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9383
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
9384
 
  ac_status=$?
9385
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9386
 
  (exit $ac_status); }
9387
 
        then
9388
 
          archive_cmds_need_lc=no
9389
 
        else
9390
 
          archive_cmds_need_lc=yes
9391
 
        fi
9392
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
9393
 
      else
9394
 
        cat conftest.err 1>&5
9395
 
      fi
9396
 
      $rm conftest*
9397
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9398
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9399
 
      ;;
9400
 
    esac
9401
 
  fi
9402
 
  ;;
9403
 
esac
9404
 
 
9405
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9406
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9407
 
library_names_spec=
9408
 
libname_spec='lib$name'
9409
 
soname_spec=
9410
 
shrext_cmds=".so"
9411
 
postinstall_cmds=
9412
 
postuninstall_cmds=
9413
 
finish_cmds=
9414
 
finish_eval=
9415
 
shlibpath_var=
9416
 
shlibpath_overrides_runpath=unknown
9417
 
version_type=none
9418
 
dynamic_linker="$host_os ld.so"
9419
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9420
 
 
9421
 
if test "$GCC" = yes; then
9422
 
  case $host_os in
9423
 
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9424
 
    *) lt_awk_arg="/^libraries:/" ;;
9425
 
  esac
9426
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9427
 
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
9428
 
    # if the path contains ";" then we assume it to be the separator
9429
 
    # otherwise default to the standard path separator (i.e. ":") - it is
9430
 
    # assumed that no part of a normal pathname contains ";" but that should
9431
 
    # okay in the real world where ";" in dirpaths is itself problematic.
9432
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9433
 
  else
9434
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9435
 
  fi
9436
 
  # Ok, now we have the path, separated by spaces, we can step through it
9437
 
  # and add multilib dir if necessary.
9438
 
  lt_tmp_lt_search_path_spec=
9439
 
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9440
 
  for lt_sys_path in $lt_search_path_spec; do
9441
 
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9442
 
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9443
 
    else
9444
 
      test -d "$lt_sys_path" && \
9445
 
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9446
 
    fi
9447
 
  done
9448
 
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
9449
 
BEGIN {RS=" "; FS="/|\n";} {
9450
 
  lt_foo="";
9451
 
  lt_count=0;
9452
 
  for (lt_i = NF; lt_i > 0; lt_i--) {
9453
 
    if ($lt_i != "" && $lt_i != ".") {
9454
 
      if ($lt_i == "..") {
9455
 
        lt_count++;
9456
 
      } else {
9457
 
        if (lt_count == 0) {
9458
 
          lt_foo="/" $lt_i lt_foo;
9459
 
        } else {
9460
 
          lt_count--;
9461
 
        }
9462
 
      }
9463
 
    }
9464
 
  }
9465
 
  if (lt_foo != "") { lt_freq[lt_foo]++; }
9466
 
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9467
 
}'`
9468
 
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
9469
 
else
9470
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9471
 
fi
9472
 
need_lib_prefix=unknown
9473
 
hardcode_into_libs=no
9474
 
 
9475
 
# when you set need_version to no, make sure it does not cause -set_version
9476
 
# flags to be left without arguments
9477
 
need_version=unknown
9478
 
 
9479
 
case $host_os in
9480
 
aix3*)
9481
 
  version_type=linux
9482
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9483
 
  shlibpath_var=LIBPATH
9484
 
 
9485
 
  # AIX 3 has no versioning support, so we append a major version to the name.
9486
 
  soname_spec='${libname}${release}${shared_ext}$major'
9487
 
  ;;
9488
 
 
9489
 
aix[4-9]*)
9490
 
  version_type=linux
9491
 
  need_lib_prefix=no
9492
 
  need_version=no
9493
 
  hardcode_into_libs=yes
9494
 
  if test "$host_cpu" = ia64; then
9495
 
    # AIX 5 supports IA64
9496
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9497
 
    shlibpath_var=LD_LIBRARY_PATH
9498
 
  else
9499
 
    # With GCC up to 2.95.x, collect2 would create an import file
9500
 
    # for dependence libraries.  The import file would start with
9501
 
    # the line `#! .'.  This would cause the generated library to
9502
 
    # depend on `.', always an invalid library.  This was fixed in
9503
 
    # development snapshots of GCC prior to 3.0.
9504
 
    case $host_os in
9505
 
      aix4 | aix4.[01] | aix4.[01].*)
9506
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9507
 
           echo ' yes '
9508
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
9509
 
        :
9510
 
      else
9511
 
        can_build_shared=no
9512
 
      fi
9513
 
      ;;
9514
 
    esac
9515
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9516
 
    # soname into executable. Probably we can add versioning support to
9517
 
    # collect2, so additional links can be useful in future.
9518
 
    if test "$aix_use_runtimelinking" = yes; then
9519
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9520
 
      # instead of lib<name>.a to let people know that these are not
9521
 
      # typical AIX shared libraries.
9522
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9523
 
    else
9524
 
      # We preserve .a as extension for shared libraries through AIX4.2
9525
 
      # and later when we are not doing run time linking.
9526
 
      library_names_spec='${libname}${release}.a $libname.a'
9527
 
      soname_spec='${libname}${release}${shared_ext}$major'
9528
 
    fi
9529
 
    shlibpath_var=LIBPATH
9530
 
  fi
9531
 
  ;;
9532
 
 
9533
 
amigaos*)
9534
 
  library_names_spec='$libname.ixlibrary $libname.a'
9535
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
9536
 
  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'
9537
 
  ;;
9538
 
 
9539
 
beos*)
9540
 
  library_names_spec='${libname}${shared_ext}'
9541
 
  dynamic_linker="$host_os ld.so"
9542
 
  shlibpath_var=LIBRARY_PATH
9543
 
  ;;
9544
 
 
9545
 
bsdi[45]*)
9546
 
  version_type=linux
9547
 
  need_version=no
9548
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9549
 
  soname_spec='${libname}${release}${shared_ext}$major'
9550
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9551
 
  shlibpath_var=LD_LIBRARY_PATH
9552
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9553
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9554
 
  # the default ld.so.conf also contains /usr/contrib/lib and
9555
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9556
 
  # libtool to hard-code these into programs
9557
 
  ;;
9558
 
 
9559
 
cygwin* | mingw* | pw32*)
9560
 
  version_type=windows
9561
 
  shrext_cmds=".dll"
9562
 
  need_version=no
9563
 
  need_lib_prefix=no
9564
 
 
9565
 
  case $GCC,$host_os in
9566
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
9567
 
    library_names_spec='$libname.dll.a'
9568
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9569
 
    postinstall_cmds='base_file=`basename \${file}`~
9570
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9571
 
      dldir=$destdir/`dirname \$dlpath`~
9572
 
      test -d \$dldir || mkdir -p \$dldir~
9573
 
      $install_prog $dir/$dlname \$dldir/$dlname~
9574
 
      chmod a+x \$dldir/$dlname'
9575
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9576
 
      dlpath=$dir/\$dldll~
9577
 
       $rm \$dlpath'
9578
 
    shlibpath_overrides_runpath=yes
9579
 
 
9580
 
    case $host_os in
9581
 
    cygwin*)
9582
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9583
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9584
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9585
 
      ;;
9586
 
    mingw*)
9587
 
      # MinGW DLLs use traditional 'lib' prefix
9588
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9589
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9590
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
9591
 
        # It is most probably a Windows format PATH printed by
9592
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9593
 
        # path with ; separators, and with drive letters. We can handle the
9594
 
        # drive letters (cygwin fileutils understands them), so leave them,
9595
 
        # especially as we might pass files found there to a mingw objdump,
9596
 
        # which wouldn't understand a cygwinified path. Ahh.
9597
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9598
 
      else
9599
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9600
 
      fi
9601
 
      ;;
9602
 
    pw32*)
9603
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
9604
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9605
 
      ;;
9606
 
    esac
9607
 
    ;;
9608
 
 
9609
 
  *)
9610
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9611
 
    ;;
9612
 
  esac
9613
 
  dynamic_linker='Win32 ld.exe'
9614
 
  # FIXME: first we should search . and the directory the executable is in
9615
 
  shlibpath_var=PATH
9616
 
  ;;
9617
 
 
9618
 
darwin* | rhapsody*)
9619
 
  dynamic_linker="$host_os dyld"
9620
 
  version_type=darwin
9621
 
  need_lib_prefix=no
9622
 
  need_version=no
9623
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9624
 
  soname_spec='${libname}${release}${major}$shared_ext'
9625
 
  shlibpath_overrides_runpath=yes
9626
 
  shlibpath_var=DYLD_LIBRARY_PATH
9627
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9628
 
 
9629
 
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9630
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9631
 
  ;;
9632
 
 
9633
 
dgux*)
9634
 
  version_type=linux
9635
 
  need_lib_prefix=no
9636
 
  need_version=no
9637
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9638
 
  soname_spec='${libname}${release}${shared_ext}$major'
9639
 
  shlibpath_var=LD_LIBRARY_PATH
9640
 
  ;;
9641
 
 
9642
 
freebsd1*)
9643
 
  dynamic_linker=no
9644
 
  ;;
9645
 
 
9646
 
freebsd* | dragonfly*)
9647
 
  # DragonFly does not have aout.  When/if they implement a new
9648
 
  # versioning mechanism, adjust this.
9649
 
  if test -x /usr/bin/objformat; then
9650
 
    objformat=`/usr/bin/objformat`
9651
 
  else
9652
 
    case $host_os in
9653
 
    freebsd[123]*) objformat=aout ;;
9654
 
    *) objformat=elf ;;
9655
 
    esac
9656
 
  fi
9657
 
  version_type=freebsd-$objformat
9658
 
  case $version_type in
9659
 
    freebsd-elf*)
9660
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9661
 
      need_version=no
9662
 
      need_lib_prefix=no
9663
 
      ;;
9664
 
    freebsd-*)
9665
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9666
 
      need_version=yes
9667
 
      ;;
9668
 
  esac
9669
 
  shlibpath_var=LD_LIBRARY_PATH
9670
 
  case $host_os in
9671
 
  freebsd2*)
9672
 
    shlibpath_overrides_runpath=yes
9673
 
    ;;
9674
 
  freebsd3.[01]* | freebsdelf3.[01]*)
9675
 
    shlibpath_overrides_runpath=yes
9676
 
    hardcode_into_libs=yes
9677
 
    ;;
9678
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9679
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9680
 
    shlibpath_overrides_runpath=no
9681
 
    hardcode_into_libs=yes
9682
 
    ;;
9683
 
  *) # from 4.6 on, and DragonFly
9684
 
    shlibpath_overrides_runpath=yes
9685
 
    hardcode_into_libs=yes
9686
 
    ;;
9687
 
  esac
9688
 
  ;;
9689
 
 
9690
 
gnu*)
9691
 
  version_type=linux
9692
 
  need_lib_prefix=no
9693
 
  need_version=no
9694
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9695
 
  soname_spec='${libname}${release}${shared_ext}$major'
9696
 
  shlibpath_var=LD_LIBRARY_PATH
9697
 
  hardcode_into_libs=yes
9698
 
  ;;
9699
 
 
9700
 
hpux9* | hpux10* | hpux11*)
9701
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
9702
 
  # link against other versions.
9703
 
  version_type=sunos
9704
 
  need_lib_prefix=no
9705
 
  need_version=no
9706
 
  case $host_cpu in
9707
 
  ia64*)
9708
 
    shrext_cmds='.so'
9709
 
    hardcode_into_libs=yes
9710
 
    dynamic_linker="$host_os dld.so"
9711
 
    shlibpath_var=LD_LIBRARY_PATH
9712
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9713
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9714
 
    soname_spec='${libname}${release}${shared_ext}$major'
9715
 
    if test "X$HPUX_IA64_MODE" = X32; then
9716
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9717
 
    else
9718
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9719
 
    fi
9720
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9721
 
    ;;
9722
 
   hppa*64*)
9723
 
     shrext_cmds='.sl'
9724
 
     hardcode_into_libs=yes
9725
 
     dynamic_linker="$host_os dld.sl"
9726
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9727
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9728
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9729
 
     soname_spec='${libname}${release}${shared_ext}$major'
9730
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9731
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9732
 
     ;;
9733
 
   *)
9734
 
    shrext_cmds='.sl'
9735
 
    dynamic_linker="$host_os dld.sl"
9736
 
    shlibpath_var=SHLIB_PATH
9737
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9738
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9739
 
    soname_spec='${libname}${release}${shared_ext}$major'
9740
 
    ;;
9741
 
  esac
9742
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
9743
 
  postinstall_cmds='chmod 555 $lib'
9744
 
  ;;
9745
 
 
9746
 
interix[3-9]*)
9747
 
  version_type=linux
9748
 
  need_lib_prefix=no
9749
 
  need_version=no
9750
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9751
 
  soname_spec='${libname}${release}${shared_ext}$major'
9752
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9753
 
  shlibpath_var=LD_LIBRARY_PATH
9754
 
  shlibpath_overrides_runpath=no
9755
 
  hardcode_into_libs=yes
9756
 
  ;;
9757
 
 
9758
 
irix5* | irix6* | nonstopux*)
9759
 
  case $host_os in
9760
 
    nonstopux*) version_type=nonstopux ;;
9761
 
    *)
9762
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
9763
 
                version_type=linux
9764
 
        else
9765
 
                version_type=irix
9766
 
        fi ;;
9767
 
  esac
9768
 
  need_lib_prefix=no
9769
 
  need_version=no
9770
 
  soname_spec='${libname}${release}${shared_ext}$major'
9771
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9772
 
  case $host_os in
9773
 
  irix5* | nonstopux*)
9774
 
    libsuff= shlibsuff=
9775
 
    ;;
9776
 
  *)
9777
 
    case $LD in # libtool.m4 will add one of these switches to LD
9778
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9779
 
      libsuff= shlibsuff= libmagic=32-bit;;
9780
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9781
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
9782
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9783
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
9784
 
    *) libsuff= shlibsuff= libmagic=never-match;;
9785
 
    esac
9786
 
    ;;
9787
 
  esac
9788
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9789
 
  shlibpath_overrides_runpath=no
9790
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9791
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9792
 
  hardcode_into_libs=yes
9793
 
  ;;
9794
 
 
9795
 
# No shared lib support for Linux oldld, aout, or coff.
9796
 
linux*oldld* | linux*aout* | linux*coff*)
9797
 
  dynamic_linker=no
9798
 
  ;;
9799
 
 
9800
 
# This must be Linux ELF.
9801
 
linux* | k*bsd*-gnu)
9802
 
  version_type=linux
9803
 
  need_lib_prefix=no
9804
 
  need_version=no
9805
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9806
 
  soname_spec='${libname}${release}${shared_ext}$major'
9807
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9808
 
  shlibpath_var=LD_LIBRARY_PATH
9809
 
  shlibpath_overrides_runpath=no
9810
 
  # This implies no fast_install, which is unacceptable.
9811
 
  # Some rework will be needed to allow for fast_install
9812
 
  # before this can be enabled.
9813
 
  hardcode_into_libs=yes
9814
 
 
9815
 
  # Append ld.so.conf contents to the search path
9816
 
  if test -f /etc/ld.so.conf; then
9817
 
    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' ' '`
9818
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9819
 
  fi
9820
 
 
9821
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
9822
 
  # powerpc, because MkLinux only supported shared libraries with the
9823
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
9824
 
  # most powerpc-linux boxes support dynamic linking these days and
9825
 
  # people can always --disable-shared, the test was removed, and we
9826
 
  # assume the GNU/Linux dynamic linker is in use.
9827
 
  dynamic_linker='GNU/Linux ld.so'
9828
 
  ;;
9829
 
 
9830
 
netbsdelf*-gnu)
9831
 
  version_type=linux
9832
 
  need_lib_prefix=no
9833
 
  need_version=no
9834
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9835
 
  soname_spec='${libname}${release}${shared_ext}$major'
9836
 
  shlibpath_var=LD_LIBRARY_PATH
9837
 
  shlibpath_overrides_runpath=no
9838
 
  hardcode_into_libs=yes
9839
 
  dynamic_linker='NetBSD ld.elf_so'
9840
 
  ;;
9841
 
 
9842
 
netbsd*)
9843
 
  version_type=sunos
9844
 
  need_lib_prefix=no
9845
 
  need_version=no
9846
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9847
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9848
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9849
 
    dynamic_linker='NetBSD (a.out) ld.so'
9850
 
  else
9851
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9852
 
    soname_spec='${libname}${release}${shared_ext}$major'
9853
 
    dynamic_linker='NetBSD ld.elf_so'
9854
 
  fi
9855
 
  shlibpath_var=LD_LIBRARY_PATH
9856
 
  shlibpath_overrides_runpath=yes
9857
 
  hardcode_into_libs=yes
9858
 
  ;;
9859
 
 
9860
 
newsos6)
9861
 
  version_type=linux
9862
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9863
 
  shlibpath_var=LD_LIBRARY_PATH
9864
 
  shlibpath_overrides_runpath=yes
9865
 
  ;;
9866
 
 
9867
 
nto-qnx*)
9868
 
  version_type=linux
9869
 
  need_lib_prefix=no
9870
 
  need_version=no
9871
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9872
 
  soname_spec='${libname}${release}${shared_ext}$major'
9873
 
  shlibpath_var=LD_LIBRARY_PATH
9874
 
  shlibpath_overrides_runpath=yes
9875
 
  ;;
9876
 
 
9877
 
openbsd*)
9878
 
  version_type=sunos
9879
 
  sys_lib_dlsearch_path_spec="/usr/lib"
9880
 
  need_lib_prefix=no
9881
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9882
 
  case $host_os in
9883
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9884
 
    *)                         need_version=no  ;;
9885
 
  esac
9886
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9887
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9888
 
  shlibpath_var=LD_LIBRARY_PATH
9889
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9890
 
    case $host_os in
9891
 
      openbsd2.[89] | openbsd2.[89].*)
9892
 
        shlibpath_overrides_runpath=no
9893
 
        ;;
9894
 
      *)
9895
 
        shlibpath_overrides_runpath=yes
9896
 
        ;;
9897
 
      esac
9898
 
  else
9899
 
    shlibpath_overrides_runpath=yes
9900
 
  fi
9901
 
  ;;
9902
 
 
9903
 
os2*)
9904
 
  libname_spec='$name'
9905
 
  shrext_cmds=".dll"
9906
 
  need_lib_prefix=no
9907
 
  library_names_spec='$libname${shared_ext} $libname.a'
9908
 
  dynamic_linker='OS/2 ld.exe'
9909
 
  shlibpath_var=LIBPATH
9910
 
  ;;
9911
 
 
9912
 
osf3* | osf4* | osf5*)
9913
 
  version_type=osf
9914
 
  need_lib_prefix=no
9915
 
  need_version=no
9916
 
  soname_spec='${libname}${release}${shared_ext}$major'
9917
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9918
 
  shlibpath_var=LD_LIBRARY_PATH
9919
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9920
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9921
 
  ;;
9922
 
 
9923
 
rdos*)
9924
 
  dynamic_linker=no
9925
 
  ;;
9926
 
 
9927
 
solaris*)
9928
 
  version_type=linux
9929
 
  need_lib_prefix=no
9930
 
  need_version=no
9931
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9932
 
  soname_spec='${libname}${release}${shared_ext}$major'
9933
 
  shlibpath_var=LD_LIBRARY_PATH
9934
 
  shlibpath_overrides_runpath=yes
9935
 
  hardcode_into_libs=yes
9936
 
  # ldd complains unless libraries are executable
9937
 
  postinstall_cmds='chmod +x $lib'
9938
 
  ;;
9939
 
 
9940
 
sunos4*)
9941
 
  version_type=sunos
9942
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9943
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9944
 
  shlibpath_var=LD_LIBRARY_PATH
9945
 
  shlibpath_overrides_runpath=yes
9946
 
  if test "$with_gnu_ld" = yes; then
9947
 
    need_lib_prefix=no
9948
 
  fi
9949
 
  need_version=yes
9950
 
  ;;
9951
 
 
9952
 
sysv4 | sysv4.3*)
9953
 
  version_type=linux
9954
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9955
 
  soname_spec='${libname}${release}${shared_ext}$major'
9956
 
  shlibpath_var=LD_LIBRARY_PATH
9957
 
  case $host_vendor in
9958
 
    sni)
9959
 
      shlibpath_overrides_runpath=no
9960
 
      need_lib_prefix=no
9961
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
9962
 
      runpath_var=LD_RUN_PATH
9963
 
      ;;
9964
 
    siemens)
9965
 
      need_lib_prefix=no
9966
 
      ;;
9967
 
    motorola)
9968
 
      need_lib_prefix=no
9969
 
      need_version=no
9970
 
      shlibpath_overrides_runpath=no
9971
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9972
 
      ;;
9973
 
  esac
9974
 
  ;;
9975
 
 
9976
 
sysv4*MP*)
9977
 
  if test -d /usr/nec ;then
9978
 
    version_type=linux
9979
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9980
 
    soname_spec='$libname${shared_ext}.$major'
9981
 
    shlibpath_var=LD_LIBRARY_PATH
9982
 
  fi
9983
 
  ;;
9984
 
 
9985
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9986
 
  version_type=freebsd-elf
9987
 
  need_lib_prefix=no
9988
 
  need_version=no
9989
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9990
 
  soname_spec='${libname}${release}${shared_ext}$major'
9991
 
  shlibpath_var=LD_LIBRARY_PATH
9992
 
  hardcode_into_libs=yes
9993
 
  if test "$with_gnu_ld" = yes; then
9994
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9995
 
    shlibpath_overrides_runpath=no
9996
 
  else
9997
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9998
 
    shlibpath_overrides_runpath=yes
9999
 
    case $host_os in
10000
 
      sco3.2v5*)
10001
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10002
 
        ;;
10003
 
    esac
10004
 
  fi
10005
 
  sys_lib_dlsearch_path_spec='/usr/lib'
10006
 
  ;;
10007
 
 
10008
 
uts4*)
10009
 
  version_type=linux
10010
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10011
 
  soname_spec='${libname}${release}${shared_ext}$major'
10012
 
  shlibpath_var=LD_LIBRARY_PATH
10013
 
  ;;
10014
 
 
10015
 
*)
10016
 
  dynamic_linker=no
10017
 
  ;;
10018
 
esac
10019
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10020
 
echo "${ECHO_T}$dynamic_linker" >&6; }
10021
 
test "$dynamic_linker" = no && can_build_shared=no
10022
 
 
10023
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10024
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10025
 
else
10026
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
10027
 
fi
10028
 
 
10029
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10030
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10031
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10032
 
else
10033
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
10034
 
fi
10035
 
 
10036
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10037
 
 
10038
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10039
 
if test "$GCC" = yes; then
10040
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10041
 
fi
10042
 
 
10043
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10044
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10045
 
hardcode_action=
10046
 
if test -n "$hardcode_libdir_flag_spec" || \
10047
 
   test -n "$runpath_var" || \
10048
 
   test "X$hardcode_automatic" = "Xyes" ; then
10049
 
 
10050
 
  # We can hardcode non-existant directories.
10051
 
  if test "$hardcode_direct" != no &&
10052
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10053
 
     # have to relink, otherwise we might link with an installed library
10054
 
     # when we should be linking with a yet-to-be-installed one
10055
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
10056
 
     test "$hardcode_minus_L" != no; then
10057
 
    # Linking always hardcodes the temporary library directory.
10058
 
    hardcode_action=relink
10059
 
  else
10060
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10061
 
    hardcode_action=immediate
10062
 
  fi
10063
 
else
10064
 
  # We cannot hardcode anything, or else we can only hardcode existing
10065
 
  # directories.
10066
 
  hardcode_action=unsupported
10067
 
fi
10068
 
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
10069
 
echo "${ECHO_T}$hardcode_action" >&6; }
10070
 
 
10071
 
if test "$hardcode_action" = relink; then
10072
 
  # Fast installation is not supported
10073
 
  enable_fast_install=no
10074
 
elif test "$shlibpath_overrides_runpath" = yes ||
10075
 
     test "$enable_shared" = no; then
10076
 
  # Fast installation is not necessary
10077
 
  enable_fast_install=needless
10078
 
fi
10079
 
 
10080
 
striplib=
10081
 
old_striplib=
10082
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10083
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10084
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10085
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10086
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10087
 
  { echo "$as_me:$LINENO: result: yes" >&5
10088
 
echo "${ECHO_T}yes" >&6; }
10089
 
else
10090
 
# FIXME - insert some real tests, host_os isn't really good enough
10091
 
  case $host_os in
10092
 
   darwin*)
10093
 
       if test -n "$STRIP" ; then
10094
 
         striplib="$STRIP -x"
10095
 
         old_striplib="$STRIP -S"
10096
 
         { echo "$as_me:$LINENO: result: yes" >&5
10097
 
echo "${ECHO_T}yes" >&6; }
10098
 
       else
10099
 
  { echo "$as_me:$LINENO: result: no" >&5
10100
 
echo "${ECHO_T}no" >&6; }
10101
 
fi
10102
 
       ;;
10103
 
   *)
10104
 
  { echo "$as_me:$LINENO: result: no" >&5
10105
 
echo "${ECHO_T}no" >&6; }
10106
 
    ;;
10107
 
  esac
10108
 
fi
10109
 
 
10110
 
if test "x$enable_dlopen" != xyes; then
10111
 
  enable_dlopen=unknown
10112
 
  enable_dlopen_self=unknown
10113
 
  enable_dlopen_self_static=unknown
10114
 
else
10115
 
  lt_cv_dlopen=no
10116
 
  lt_cv_dlopen_libs=
10117
 
 
10118
 
  case $host_os in
10119
 
  beos*)
10120
 
    lt_cv_dlopen="load_add_on"
10121
 
    lt_cv_dlopen_libs=
10122
 
    lt_cv_dlopen_self=yes
10123
 
    ;;
10124
 
 
10125
 
  mingw* | pw32*)
10126
 
    lt_cv_dlopen="LoadLibrary"
10127
 
    lt_cv_dlopen_libs=
10128
 
   ;;
10129
 
 
10130
 
  cygwin*)
10131
 
    lt_cv_dlopen="dlopen"
10132
 
    lt_cv_dlopen_libs=
10133
 
   ;;
10134
 
 
10135
 
  darwin*)
10136
 
  # if libdl is installed we need to link against it
10137
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10138
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10139
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10140
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10141
 
else
10142
 
  ac_check_lib_save_LIBS=$LIBS
10143
 
LIBS="-ldl  $LIBS"
10144
 
cat >conftest.$ac_ext <<_ACEOF
10145
 
/* confdefs.h.  */
10146
 
_ACEOF
10147
 
cat confdefs.h >>conftest.$ac_ext
10148
 
cat >>conftest.$ac_ext <<_ACEOF
10149
 
/* end confdefs.h.  */
10150
 
 
10151
 
/* Override any GCC internal prototype to avoid an error.
10152
 
   Use char because int might match the return type of a GCC
10153
 
   builtin and then its argument prototype would still apply.  */
10154
 
#ifdef __cplusplus
10155
 
extern "C"
10156
 
#endif
10157
 
char dlopen ();
10158
 
int
10159
 
main ()
10160
 
{
10161
 
return dlopen ();
10162
 
  ;
10163
 
  return 0;
10164
 
}
10165
 
_ACEOF
10166
 
rm -f conftest.$ac_objext conftest$ac_exeext
10167
 
if { (ac_try="$ac_link"
10168
 
case "(($ac_try" in
10169
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10170
 
  *) ac_try_echo=$ac_try;;
10171
 
esac
10172
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10173
 
  (eval "$ac_link") 2>conftest.er1
10174
 
  ac_status=$?
10175
 
  grep -v '^ *+' conftest.er1 >conftest.err
10176
 
  rm -f conftest.er1
10177
 
  cat conftest.err >&5
10178
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10179
 
  (exit $ac_status); } && {
10180
 
         test -z "$ac_c_werror_flag" ||
10181
 
         test ! -s conftest.err
10182
 
       } && test -s conftest$ac_exeext &&
10183
 
       $as_test_x conftest$ac_exeext; then
10184
 
  ac_cv_lib_dl_dlopen=yes
10185
 
else
10186
 
  echo "$as_me: failed program was:" >&5
10187
 
sed 's/^/| /' conftest.$ac_ext >&5
10188
 
 
10189
 
        ac_cv_lib_dl_dlopen=no
10190
 
fi
10191
 
 
10192
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10193
 
      conftest$ac_exeext conftest.$ac_ext
10194
 
LIBS=$ac_check_lib_save_LIBS
10195
 
fi
10196
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10197
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10198
 
if test $ac_cv_lib_dl_dlopen = yes; then
10199
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10200
 
else
10201
 
 
10202
 
    lt_cv_dlopen="dyld"
10203
 
    lt_cv_dlopen_libs=
10204
 
    lt_cv_dlopen_self=yes
10205
 
 
10206
 
fi
10207
 
 
10208
 
   ;;
10209
 
 
10210
 
  *)
10211
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
10212
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10213
 
if test "${ac_cv_func_shl_load+set}" = set; then
10214
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10215
 
else
10216
 
  cat >conftest.$ac_ext <<_ACEOF
10217
 
/* confdefs.h.  */
10218
 
_ACEOF
10219
 
cat confdefs.h >>conftest.$ac_ext
10220
 
cat >>conftest.$ac_ext <<_ACEOF
10221
 
/* end confdefs.h.  */
10222
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10223
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10224
 
#define shl_load innocuous_shl_load
10225
 
 
10226
 
/* System header to define __stub macros and hopefully few prototypes,
10227
 
    which can conflict with char shl_load (); below.
10228
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10229
 
    <limits.h> exists even on freestanding compilers.  */
10230
 
 
10231
 
#ifdef __STDC__
10232
 
# include <limits.h>
10233
 
#else
10234
 
# include <assert.h>
10235
 
#endif
10236
 
 
10237
 
#undef shl_load
10238
 
 
10239
 
/* Override any GCC internal prototype to avoid an error.
10240
 
   Use char because int might match the return type of a GCC
10241
 
   builtin and then its argument prototype would still apply.  */
10242
 
#ifdef __cplusplus
10243
 
extern "C"
10244
 
#endif
10245
 
char shl_load ();
10246
 
/* The GNU C library defines this for functions which it implements
10247
 
    to always fail with ENOSYS.  Some functions are actually named
10248
 
    something starting with __ and the normal name is an alias.  */
10249
 
#if defined __stub_shl_load || defined __stub___shl_load
10250
 
choke me
10251
 
#endif
10252
 
 
10253
 
int
10254
 
main ()
10255
 
{
10256
 
return shl_load ();
10257
 
  ;
10258
 
  return 0;
10259
 
}
10260
 
_ACEOF
10261
 
rm -f conftest.$ac_objext conftest$ac_exeext
10262
 
if { (ac_try="$ac_link"
10263
 
case "(($ac_try" in
10264
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10265
 
  *) ac_try_echo=$ac_try;;
10266
 
esac
10267
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10268
 
  (eval "$ac_link") 2>conftest.er1
10269
 
  ac_status=$?
10270
 
  grep -v '^ *+' conftest.er1 >conftest.err
10271
 
  rm -f conftest.er1
10272
 
  cat conftest.err >&5
10273
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10274
 
  (exit $ac_status); } && {
10275
 
         test -z "$ac_c_werror_flag" ||
10276
 
         test ! -s conftest.err
10277
 
       } && test -s conftest$ac_exeext &&
10278
 
       $as_test_x conftest$ac_exeext; then
10279
 
  ac_cv_func_shl_load=yes
10280
 
else
10281
 
  echo "$as_me: failed program was:" >&5
10282
 
sed 's/^/| /' conftest.$ac_ext >&5
10283
 
 
10284
 
        ac_cv_func_shl_load=no
10285
 
fi
10286
 
 
10287
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10288
 
      conftest$ac_exeext conftest.$ac_ext
10289
 
fi
10290
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10291
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10292
 
if test $ac_cv_func_shl_load = yes; then
10293
 
  lt_cv_dlopen="shl_load"
10294
 
else
10295
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10296
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10297
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10298
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10299
 
else
10300
 
  ac_check_lib_save_LIBS=$LIBS
10301
 
LIBS="-ldld  $LIBS"
10302
 
cat >conftest.$ac_ext <<_ACEOF
10303
 
/* confdefs.h.  */
10304
 
_ACEOF
10305
 
cat confdefs.h >>conftest.$ac_ext
10306
 
cat >>conftest.$ac_ext <<_ACEOF
10307
 
/* end confdefs.h.  */
10308
 
 
10309
 
/* Override any GCC internal prototype to avoid an error.
10310
 
   Use char because int might match the return type of a GCC
10311
 
   builtin and then its argument prototype would still apply.  */
10312
 
#ifdef __cplusplus
10313
 
extern "C"
10314
 
#endif
10315
 
char shl_load ();
10316
 
int
10317
 
main ()
10318
 
{
10319
 
return shl_load ();
10320
 
  ;
10321
 
  return 0;
10322
 
}
10323
 
_ACEOF
10324
 
rm -f conftest.$ac_objext conftest$ac_exeext
10325
 
if { (ac_try="$ac_link"
10326
 
case "(($ac_try" in
10327
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10328
 
  *) ac_try_echo=$ac_try;;
10329
 
esac
10330
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10331
 
  (eval "$ac_link") 2>conftest.er1
10332
 
  ac_status=$?
10333
 
  grep -v '^ *+' conftest.er1 >conftest.err
10334
 
  rm -f conftest.er1
10335
 
  cat conftest.err >&5
10336
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10337
 
  (exit $ac_status); } && {
10338
 
         test -z "$ac_c_werror_flag" ||
10339
 
         test ! -s conftest.err
10340
 
       } && test -s conftest$ac_exeext &&
10341
 
       $as_test_x conftest$ac_exeext; then
10342
 
  ac_cv_lib_dld_shl_load=yes
10343
 
else
10344
 
  echo "$as_me: failed program was:" >&5
10345
 
sed 's/^/| /' conftest.$ac_ext >&5
10346
 
 
10347
 
        ac_cv_lib_dld_shl_load=no
10348
 
fi
10349
 
 
10350
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10351
 
      conftest$ac_exeext conftest.$ac_ext
10352
 
LIBS=$ac_check_lib_save_LIBS
10353
 
fi
10354
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10355
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10356
 
if test $ac_cv_lib_dld_shl_load = yes; then
10357
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10358
 
else
10359
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
10360
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10361
 
if test "${ac_cv_func_dlopen+set}" = set; then
10362
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10363
 
else
10364
 
  cat >conftest.$ac_ext <<_ACEOF
10365
 
/* confdefs.h.  */
10366
 
_ACEOF
10367
 
cat confdefs.h >>conftest.$ac_ext
10368
 
cat >>conftest.$ac_ext <<_ACEOF
10369
 
/* end confdefs.h.  */
10370
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10371
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10372
 
#define dlopen innocuous_dlopen
10373
 
 
10374
 
/* System header to define __stub macros and hopefully few prototypes,
10375
 
    which can conflict with char dlopen (); below.
10376
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10377
 
    <limits.h> exists even on freestanding compilers.  */
10378
 
 
10379
 
#ifdef __STDC__
10380
 
# include <limits.h>
10381
 
#else
10382
 
# include <assert.h>
10383
 
#endif
10384
 
 
10385
 
#undef dlopen
10386
 
 
10387
 
/* Override any GCC internal prototype to avoid an error.
10388
 
   Use char because int might match the return type of a GCC
10389
 
   builtin and then its argument prototype would still apply.  */
10390
 
#ifdef __cplusplus
10391
 
extern "C"
10392
 
#endif
10393
 
char dlopen ();
10394
 
/* The GNU C library defines this for functions which it implements
10395
 
    to always fail with ENOSYS.  Some functions are actually named
10396
 
    something starting with __ and the normal name is an alias.  */
10397
 
#if defined __stub_dlopen || defined __stub___dlopen
10398
 
choke me
10399
 
#endif
10400
 
 
10401
 
int
10402
 
main ()
10403
 
{
10404
 
return dlopen ();
10405
 
  ;
10406
 
  return 0;
10407
 
}
10408
 
_ACEOF
10409
 
rm -f conftest.$ac_objext conftest$ac_exeext
10410
 
if { (ac_try="$ac_link"
10411
 
case "(($ac_try" in
10412
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10413
 
  *) ac_try_echo=$ac_try;;
10414
 
esac
10415
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10416
 
  (eval "$ac_link") 2>conftest.er1
10417
 
  ac_status=$?
10418
 
  grep -v '^ *+' conftest.er1 >conftest.err
10419
 
  rm -f conftest.er1
10420
 
  cat conftest.err >&5
10421
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10422
 
  (exit $ac_status); } && {
10423
 
         test -z "$ac_c_werror_flag" ||
10424
 
         test ! -s conftest.err
10425
 
       } && test -s conftest$ac_exeext &&
10426
 
       $as_test_x conftest$ac_exeext; then
10427
 
  ac_cv_func_dlopen=yes
10428
 
else
10429
 
  echo "$as_me: failed program was:" >&5
10430
 
sed 's/^/| /' conftest.$ac_ext >&5
10431
 
 
10432
 
        ac_cv_func_dlopen=no
10433
 
fi
10434
 
 
10435
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10436
 
      conftest$ac_exeext conftest.$ac_ext
10437
 
fi
10438
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10439
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10440
 
if test $ac_cv_func_dlopen = yes; then
10441
 
  lt_cv_dlopen="dlopen"
10442
 
else
10443
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10444
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10445
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10446
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10447
 
else
10448
 
  ac_check_lib_save_LIBS=$LIBS
10449
 
LIBS="-ldl  $LIBS"
10450
 
cat >conftest.$ac_ext <<_ACEOF
10451
 
/* confdefs.h.  */
10452
 
_ACEOF
10453
 
cat confdefs.h >>conftest.$ac_ext
10454
 
cat >>conftest.$ac_ext <<_ACEOF
10455
 
/* end confdefs.h.  */
10456
 
 
10457
 
/* Override any GCC internal prototype to avoid an error.
10458
 
   Use char because int might match the return type of a GCC
10459
 
   builtin and then its argument prototype would still apply.  */
10460
 
#ifdef __cplusplus
10461
 
extern "C"
10462
 
#endif
10463
 
char dlopen ();
10464
 
int
10465
 
main ()
10466
 
{
10467
 
return dlopen ();
10468
 
  ;
10469
 
  return 0;
10470
 
}
10471
 
_ACEOF
10472
 
rm -f conftest.$ac_objext conftest$ac_exeext
10473
 
if { (ac_try="$ac_link"
10474
 
case "(($ac_try" in
10475
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10476
 
  *) ac_try_echo=$ac_try;;
10477
 
esac
10478
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10479
 
  (eval "$ac_link") 2>conftest.er1
10480
 
  ac_status=$?
10481
 
  grep -v '^ *+' conftest.er1 >conftest.err
10482
 
  rm -f conftest.er1
10483
 
  cat conftest.err >&5
10484
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10485
 
  (exit $ac_status); } && {
10486
 
         test -z "$ac_c_werror_flag" ||
10487
 
         test ! -s conftest.err
10488
 
       } && test -s conftest$ac_exeext &&
10489
 
       $as_test_x conftest$ac_exeext; then
10490
 
  ac_cv_lib_dl_dlopen=yes
10491
 
else
10492
 
  echo "$as_me: failed program was:" >&5
10493
 
sed 's/^/| /' conftest.$ac_ext >&5
10494
 
 
10495
 
        ac_cv_lib_dl_dlopen=no
10496
 
fi
10497
 
 
10498
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10499
 
      conftest$ac_exeext conftest.$ac_ext
10500
 
LIBS=$ac_check_lib_save_LIBS
10501
 
fi
10502
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10503
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10504
 
if test $ac_cv_lib_dl_dlopen = yes; then
10505
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10506
 
else
10507
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10508
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10509
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10510
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10511
 
else
10512
 
  ac_check_lib_save_LIBS=$LIBS
10513
 
LIBS="-lsvld  $LIBS"
10514
 
cat >conftest.$ac_ext <<_ACEOF
10515
 
/* confdefs.h.  */
10516
 
_ACEOF
10517
 
cat confdefs.h >>conftest.$ac_ext
10518
 
cat >>conftest.$ac_ext <<_ACEOF
10519
 
/* end confdefs.h.  */
10520
 
 
10521
 
/* Override any GCC internal prototype to avoid an error.
10522
 
   Use char because int might match the return type of a GCC
10523
 
   builtin and then its argument prototype would still apply.  */
10524
 
#ifdef __cplusplus
10525
 
extern "C"
10526
 
#endif
10527
 
char dlopen ();
10528
 
int
10529
 
main ()
10530
 
{
10531
 
return dlopen ();
10532
 
  ;
10533
 
  return 0;
10534
 
}
10535
 
_ACEOF
10536
 
rm -f conftest.$ac_objext conftest$ac_exeext
10537
 
if { (ac_try="$ac_link"
10538
 
case "(($ac_try" in
10539
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10540
 
  *) ac_try_echo=$ac_try;;
10541
 
esac
10542
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10543
 
  (eval "$ac_link") 2>conftest.er1
10544
 
  ac_status=$?
10545
 
  grep -v '^ *+' conftest.er1 >conftest.err
10546
 
  rm -f conftest.er1
10547
 
  cat conftest.err >&5
10548
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10549
 
  (exit $ac_status); } && {
10550
 
         test -z "$ac_c_werror_flag" ||
10551
 
         test ! -s conftest.err
10552
 
       } && test -s conftest$ac_exeext &&
10553
 
       $as_test_x conftest$ac_exeext; then
10554
 
  ac_cv_lib_svld_dlopen=yes
10555
 
else
10556
 
  echo "$as_me: failed program was:" >&5
10557
 
sed 's/^/| /' conftest.$ac_ext >&5
10558
 
 
10559
 
        ac_cv_lib_svld_dlopen=no
10560
 
fi
10561
 
 
10562
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10563
 
      conftest$ac_exeext conftest.$ac_ext
10564
 
LIBS=$ac_check_lib_save_LIBS
10565
 
fi
10566
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10567
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10568
 
if test $ac_cv_lib_svld_dlopen = yes; then
10569
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10570
 
else
10571
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10572
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10573
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10574
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10575
 
else
10576
 
  ac_check_lib_save_LIBS=$LIBS
10577
 
LIBS="-ldld  $LIBS"
10578
 
cat >conftest.$ac_ext <<_ACEOF
10579
 
/* confdefs.h.  */
10580
 
_ACEOF
10581
 
cat confdefs.h >>conftest.$ac_ext
10582
 
cat >>conftest.$ac_ext <<_ACEOF
10583
 
/* end confdefs.h.  */
10584
 
 
10585
 
/* Override any GCC internal prototype to avoid an error.
10586
 
   Use char because int might match the return type of a GCC
10587
 
   builtin and then its argument prototype would still apply.  */
10588
 
#ifdef __cplusplus
10589
 
extern "C"
10590
 
#endif
10591
 
char dld_link ();
10592
 
int
10593
 
main ()
10594
 
{
10595
 
return dld_link ();
10596
 
  ;
10597
 
  return 0;
10598
 
}
10599
 
_ACEOF
10600
 
rm -f conftest.$ac_objext conftest$ac_exeext
10601
 
if { (ac_try="$ac_link"
10602
 
case "(($ac_try" in
10603
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10604
 
  *) ac_try_echo=$ac_try;;
10605
 
esac
10606
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10607
 
  (eval "$ac_link") 2>conftest.er1
10608
 
  ac_status=$?
10609
 
  grep -v '^ *+' conftest.er1 >conftest.err
10610
 
  rm -f conftest.er1
10611
 
  cat conftest.err >&5
10612
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10613
 
  (exit $ac_status); } && {
10614
 
         test -z "$ac_c_werror_flag" ||
10615
 
         test ! -s conftest.err
10616
 
       } && test -s conftest$ac_exeext &&
10617
 
       $as_test_x conftest$ac_exeext; then
10618
 
  ac_cv_lib_dld_dld_link=yes
10619
 
else
10620
 
  echo "$as_me: failed program was:" >&5
10621
 
sed 's/^/| /' conftest.$ac_ext >&5
10622
 
 
10623
 
        ac_cv_lib_dld_dld_link=no
10624
 
fi
10625
 
 
10626
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10627
 
      conftest$ac_exeext conftest.$ac_ext
10628
 
LIBS=$ac_check_lib_save_LIBS
10629
 
fi
10630
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10631
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10632
 
if test $ac_cv_lib_dld_dld_link = yes; then
10633
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10634
 
fi
10635
 
 
10636
 
 
10637
 
fi
10638
 
 
10639
 
 
10640
 
fi
10641
 
 
10642
 
 
10643
 
fi
10644
 
 
10645
 
 
10646
 
fi
10647
 
 
10648
 
 
10649
 
fi
10650
 
 
10651
 
    ;;
10652
 
  esac
10653
 
 
10654
 
  if test "x$lt_cv_dlopen" != xno; then
10655
 
    enable_dlopen=yes
10656
 
  else
10657
 
    enable_dlopen=no
10658
 
  fi
10659
 
 
10660
 
  case $lt_cv_dlopen in
10661
 
  dlopen)
10662
 
    save_CPPFLAGS="$CPPFLAGS"
10663
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10664
 
 
10665
 
    save_LDFLAGS="$LDFLAGS"
10666
 
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10667
 
 
10668
 
    save_LIBS="$LIBS"
10669
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
10670
 
 
10671
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10672
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10673
 
if test "${lt_cv_dlopen_self+set}" = set; then
10674
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10675
 
else
10676
 
          if test "$cross_compiling" = yes; then :
10677
 
  lt_cv_dlopen_self=cross
10678
 
else
10679
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10680
 
  lt_status=$lt_dlunknown
10681
 
  cat > conftest.$ac_ext <<EOF
10682
 
#line 10682 "configure"
10683
 
#include "confdefs.h"
10684
 
 
10685
 
#if HAVE_DLFCN_H
10686
 
#include <dlfcn.h>
10687
 
#endif
10688
 
 
10689
 
#include <stdio.h>
10690
 
 
10691
 
#ifdef RTLD_GLOBAL
10692
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
10693
 
#else
10694
 
#  ifdef DL_GLOBAL
10695
 
#    define LT_DLGLOBAL         DL_GLOBAL
10696
 
#  else
10697
 
#    define LT_DLGLOBAL         0
10698
 
#  endif
10699
 
#endif
10700
 
 
10701
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10702
 
   find out it does not work in some platform. */
10703
 
#ifndef LT_DLLAZY_OR_NOW
10704
 
#  ifdef RTLD_LAZY
10705
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10706
 
#  else
10707
 
#    ifdef DL_LAZY
10708
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
10709
 
#    else
10710
 
#      ifdef RTLD_NOW
10711
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
10712
 
#      else
10713
 
#        ifdef DL_NOW
10714
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
10715
 
#        else
10716
 
#          define LT_DLLAZY_OR_NOW      0
10717
 
#        endif
10718
 
#      endif
10719
 
#    endif
10720
 
#  endif
10721
 
#endif
10722
 
 
10723
 
#ifdef __cplusplus
10724
 
extern "C" void exit (int);
10725
 
#endif
10726
 
 
10727
 
void fnord() { int i=42;}
10728
 
int main ()
10729
 
{
10730
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10731
 
  int status = $lt_dlunknown;
10732
 
 
10733
 
  if (self)
10734
 
    {
10735
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10736
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10737
 
      /* dlclose (self); */
10738
 
    }
10739
 
  else
10740
 
    puts (dlerror ());
10741
 
 
10742
 
    exit (status);
10743
 
}
10744
 
EOF
10745
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10746
 
  (eval $ac_link) 2>&5
10747
 
  ac_status=$?
10748
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10749
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10750
 
    (./conftest; exit; ) >&5 2>/dev/null
10751
 
    lt_status=$?
10752
 
    case x$lt_status in
10753
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10754
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10755
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10756
 
    esac
10757
 
  else :
10758
 
    # compilation failed
10759
 
    lt_cv_dlopen_self=no
10760
 
  fi
10761
 
fi
10762
 
rm -fr conftest*
10763
 
 
10764
 
 
10765
 
fi
10766
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10767
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10768
 
 
10769
 
    if test "x$lt_cv_dlopen_self" = xyes; then
10770
 
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10771
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10772
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10773
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
10774
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10775
 
else
10776
 
          if test "$cross_compiling" = yes; then :
10777
 
  lt_cv_dlopen_self_static=cross
10778
 
else
10779
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10780
 
  lt_status=$lt_dlunknown
10781
 
  cat > conftest.$ac_ext <<EOF
10782
 
#line 10782 "configure"
10783
 
#include "confdefs.h"
10784
 
 
10785
 
#if HAVE_DLFCN_H
10786
 
#include <dlfcn.h>
10787
 
#endif
10788
 
 
10789
 
#include <stdio.h>
10790
 
 
10791
 
#ifdef RTLD_GLOBAL
10792
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
10793
 
#else
10794
 
#  ifdef DL_GLOBAL
10795
 
#    define LT_DLGLOBAL         DL_GLOBAL
10796
 
#  else
10797
 
#    define LT_DLGLOBAL         0
10798
 
#  endif
10799
 
#endif
10800
 
 
10801
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10802
 
   find out it does not work in some platform. */
10803
 
#ifndef LT_DLLAZY_OR_NOW
10804
 
#  ifdef RTLD_LAZY
10805
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10806
 
#  else
10807
 
#    ifdef DL_LAZY
10808
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
10809
 
#    else
10810
 
#      ifdef RTLD_NOW
10811
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
10812
 
#      else
10813
 
#        ifdef DL_NOW
10814
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
10815
 
#        else
10816
 
#          define LT_DLLAZY_OR_NOW      0
10817
 
#        endif
10818
 
#      endif
10819
 
#    endif
10820
 
#  endif
10821
 
#endif
10822
 
 
10823
 
#ifdef __cplusplus
10824
 
extern "C" void exit (int);
10825
 
#endif
10826
 
 
10827
 
void fnord() { int i=42;}
10828
 
int main ()
10829
 
{
10830
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10831
 
  int status = $lt_dlunknown;
10832
 
 
10833
 
  if (self)
10834
 
    {
10835
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10836
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10837
 
      /* dlclose (self); */
10838
 
    }
10839
 
  else
10840
 
    puts (dlerror ());
10841
 
 
10842
 
    exit (status);
10843
 
}
10844
 
EOF
10845
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10846
 
  (eval $ac_link) 2>&5
10847
 
  ac_status=$?
10848
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10849
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10850
 
    (./conftest; exit; ) >&5 2>/dev/null
10851
 
    lt_status=$?
10852
 
    case x$lt_status in
10853
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10854
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10855
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10856
 
    esac
10857
 
  else :
10858
 
    # compilation failed
10859
 
    lt_cv_dlopen_self_static=no
10860
 
  fi
10861
 
fi
10862
 
rm -fr conftest*
10863
 
 
10864
 
 
10865
 
fi
10866
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10867
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10868
 
    fi
10869
 
 
10870
 
    CPPFLAGS="$save_CPPFLAGS"
10871
 
    LDFLAGS="$save_LDFLAGS"
10872
 
    LIBS="$save_LIBS"
10873
 
    ;;
10874
 
  esac
10875
 
 
10876
 
  case $lt_cv_dlopen_self in
10877
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10878
 
  *) enable_dlopen_self=unknown ;;
10879
 
  esac
10880
 
 
10881
 
  case $lt_cv_dlopen_self_static in
10882
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10883
 
  *) enable_dlopen_self_static=unknown ;;
10884
 
  esac
10885
 
fi
10886
 
 
10887
 
 
10888
 
# Report which library types will actually be built
10889
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10890
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10891
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
10892
 
echo "${ECHO_T}$can_build_shared" >&6; }
10893
 
 
10894
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10895
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10896
 
test "$can_build_shared" = "no" && enable_shared=no
10897
 
 
10898
 
# On AIX, shared libraries and static libraries use the same namespace, and
10899
 
# are all built from PIC.
10900
 
case $host_os in
10901
 
aix3*)
10902
 
  test "$enable_shared" = yes && enable_static=no
10903
 
  if test -n "$RANLIB"; then
10904
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
10905
 
    postinstall_cmds='$RANLIB $lib'
10906
 
  fi
10907
 
  ;;
10908
 
 
10909
 
aix[4-9]*)
10910
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10911
 
    test "$enable_shared" = yes && enable_static=no
10912
 
  fi
10913
 
    ;;
10914
 
esac
10915
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
10916
 
echo "${ECHO_T}$enable_shared" >&6; }
10917
 
 
10918
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10919
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10920
 
# Make sure either enable_shared or enable_static is yes.
10921
 
test "$enable_shared" = yes || enable_static=yes
10922
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
10923
 
echo "${ECHO_T}$enable_static" >&6; }
10924
 
 
10925
 
# The else clause should only fire when bootstrapping the
10926
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
10927
 
# with your package, and you will get complaints that there are
10928
 
# no rules to generate ltmain.sh.
10929
 
if test -f "$ltmain"; then
10930
 
  # See if we are running on zsh, and set the options which allow our commands through
10931
 
  # without removal of \ escapes.
10932
 
  if test -n "${ZSH_VERSION+set}" ; then
10933
 
    setopt NO_GLOB_SUBST
10934
 
  fi
10935
 
  # Now quote all the things that may contain metacharacters while being
10936
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
10937
 
  # variables and quote the copies for generation of the libtool script.
10938
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10939
 
    SED SHELL STRIP \
10940
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10941
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10942
 
    deplibs_check_method reload_flag reload_cmds need_locks \
10943
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10944
 
    lt_cv_sys_global_symbol_to_c_name_address \
10945
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10946
 
    old_postinstall_cmds old_postuninstall_cmds \
10947
 
    compiler \
10948
 
    CC \
10949
 
    LD \
10950
 
    lt_prog_compiler_wl \
10951
 
    lt_prog_compiler_pic \
10952
 
    lt_prog_compiler_static \
10953
 
    lt_prog_compiler_no_builtin_flag \
10954
 
    export_dynamic_flag_spec \
10955
 
    thread_safe_flag_spec \
10956
 
    whole_archive_flag_spec \
10957
 
    enable_shared_with_static_runtimes \
10958
 
    old_archive_cmds \
10959
 
    old_archive_from_new_cmds \
10960
 
    predep_objects \
10961
 
    postdep_objects \
10962
 
    predeps \
10963
 
    postdeps \
10964
 
    compiler_lib_search_path \
10965
 
    compiler_lib_search_dirs \
10966
 
    archive_cmds \
10967
 
    archive_expsym_cmds \
10968
 
    postinstall_cmds \
10969
 
    postuninstall_cmds \
10970
 
    old_archive_from_expsyms_cmds \
10971
 
    allow_undefined_flag \
10972
 
    no_undefined_flag \
10973
 
    export_symbols_cmds \
10974
 
    hardcode_libdir_flag_spec \
10975
 
    hardcode_libdir_flag_spec_ld \
10976
 
    hardcode_libdir_separator \
10977
 
    hardcode_automatic \
10978
 
    module_cmds \
10979
 
    module_expsym_cmds \
10980
 
    lt_cv_prog_compiler_c_o \
10981
 
    fix_srcfile_path \
10982
 
    exclude_expsyms \
10983
 
    include_expsyms; do
10984
 
 
10985
 
    case $var in
10986
 
    old_archive_cmds | \
10987
 
    old_archive_from_new_cmds | \
10988
 
    archive_cmds | \
10989
 
    archive_expsym_cmds | \
10990
 
    module_cmds | \
10991
 
    module_expsym_cmds | \
10992
 
    old_archive_from_expsyms_cmds | \
10993
 
    export_symbols_cmds | \
10994
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
10995
 
    postinstall_cmds | postuninstall_cmds | \
10996
 
    old_postinstall_cmds | old_postuninstall_cmds | \
10997
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10998
 
      # Double-quote double-evaled strings.
10999
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
11000
 
      ;;
11001
 
    *)
11002
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
11003
 
      ;;
11004
 
    esac
11005
 
  done
11006
 
 
11007
 
  case $lt_echo in
11008
 
  *'\$0 --fallback-echo"')
11009
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11010
 
    ;;
11011
 
  esac
11012
 
 
11013
 
cfgfile="${ofile}T"
11014
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
11015
 
  $rm -f "$cfgfile"
11016
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
11017
 
echo "$as_me: creating $ofile" >&6;}
11018
 
 
11019
 
  cat <<__EOF__ >> "$cfgfile"
11020
 
#! $SHELL
11021
 
 
11022
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
11023
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11024
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
11025
 
#
11026
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
11027
 
# Free Software Foundation, Inc.
11028
 
#
11029
 
# This file is part of GNU Libtool:
11030
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
11031
 
#
11032
 
# This program is free software; you can redistribute it and/or modify
11033
 
# it under the terms of the GNU General Public License as published by
11034
 
# the Free Software Foundation; either version 2 of the License, or
11035
 
# (at your option) any later version.
11036
 
#
11037
 
# This program is distributed in the hope that it will be useful, but
11038
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
11039
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11040
 
# General Public License for more details.
11041
 
#
11042
 
# You should have received a copy of the GNU General Public License
11043
 
# along with this program; if not, write to the Free Software
11044
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
11045
 
#
11046
 
# As a special exception to the GNU General Public License, if you
11047
 
# distribute this file as part of a program that contains a
11048
 
# configuration script generated by Autoconf, you may include it under
11049
 
# the same distribution terms that you use for the rest of that program.
11050
 
 
11051
 
# A sed program that does not truncate output.
11052
 
SED=$lt_SED
11053
 
 
11054
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
11055
 
Xsed="$SED -e 1s/^X//"
11056
 
 
11057
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
11058
 
# if CDPATH is set.
11059
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11060
 
 
11061
 
# The names of the tagged configurations supported by this script.
11062
 
available_tags=
11063
 
 
11064
 
# ### BEGIN LIBTOOL CONFIG
11065
 
 
11066
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11067
 
 
11068
 
# Shell to use when invoking shell scripts.
11069
 
SHELL=$lt_SHELL
11070
 
 
11071
 
# Whether or not to build shared libraries.
11072
 
build_libtool_libs=$enable_shared
11073
 
 
11074
 
# Whether or not to build static libraries.
11075
 
build_old_libs=$enable_static
11076
 
 
11077
 
# Whether or not to add -lc for building shared libraries.
11078
 
build_libtool_need_lc=$archive_cmds_need_lc
11079
 
 
11080
 
# Whether or not to disallow shared libs when runtime libs are static
11081
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
11082
 
 
11083
 
# Whether or not to optimize for fast installation.
11084
 
fast_install=$enable_fast_install
11085
 
 
11086
 
# The host system.
11087
 
host_alias=$host_alias
11088
 
host=$host
11089
 
host_os=$host_os
11090
 
 
11091
 
# The build system.
11092
 
build_alias=$build_alias
11093
 
build=$build
11094
 
build_os=$build_os
11095
 
 
11096
 
# An echo program that does not interpret backslashes.
11097
 
echo=$lt_echo
11098
 
 
11099
 
# The archiver.
11100
 
AR=$lt_AR
11101
 
AR_FLAGS=$lt_AR_FLAGS
11102
 
 
11103
 
# A C compiler.
11104
 
LTCC=$lt_LTCC
11105
 
 
11106
 
# LTCC compiler flags.
11107
 
LTCFLAGS=$lt_LTCFLAGS
11108
 
 
11109
 
# A language-specific compiler.
11110
 
CC=$lt_compiler
11111
 
 
11112
 
# Is the compiler the GNU C compiler?
11113
 
with_gcc=$GCC
11114
 
 
11115
 
# An ERE matcher.
11116
 
EGREP=$lt_EGREP
11117
 
 
11118
 
# The linker used to build libraries.
11119
 
LD=$lt_LD
11120
 
 
11121
 
# Whether we need hard or soft links.
11122
 
LN_S=$lt_LN_S
11123
 
 
11124
 
# A BSD-compatible nm program.
11125
 
NM=$lt_NM
11126
 
 
11127
 
# A symbol stripping program
11128
 
STRIP=$lt_STRIP
11129
 
 
11130
 
# Used to examine libraries when file_magic_cmd begins "file"
11131
 
MAGIC_CMD=$MAGIC_CMD
11132
 
 
11133
 
# Used on cygwin: DLL creation program.
11134
 
DLLTOOL="$DLLTOOL"
11135
 
 
11136
 
# Used on cygwin: object dumper.
11137
 
OBJDUMP="$OBJDUMP"
11138
 
 
11139
 
# Used on cygwin: assembler.
11140
 
AS="$AS"
11141
 
 
11142
 
# The name of the directory that contains temporary libtool files.
11143
 
objdir=$objdir
11144
 
 
11145
 
# How to create reloadable object files.
11146
 
reload_flag=$lt_reload_flag
11147
 
reload_cmds=$lt_reload_cmds
11148
 
 
11149
 
# How to pass a linker flag through the compiler.
11150
 
wl=$lt_lt_prog_compiler_wl
11151
 
 
11152
 
# Object file suffix (normally "o").
11153
 
objext="$ac_objext"
11154
 
 
11155
 
# Old archive suffix (normally "a").
11156
 
libext="$libext"
11157
 
 
11158
 
# Shared library suffix (normally ".so").
11159
 
shrext_cmds='$shrext_cmds'
11160
 
 
11161
 
# Executable file suffix (normally "").
11162
 
exeext="$exeext"
11163
 
 
11164
 
# Additional compiler flags for building library objects.
11165
 
pic_flag=$lt_lt_prog_compiler_pic
11166
 
pic_mode=$pic_mode
11167
 
 
11168
 
# What is the maximum length of a command?
11169
 
max_cmd_len=$lt_cv_sys_max_cmd_len
11170
 
 
11171
 
# Does compiler simultaneously support -c and -o options?
11172
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
11173
 
 
11174
 
# Must we lock files when doing compilation?
11175
 
need_locks=$lt_need_locks
11176
 
 
11177
 
# Do we need the lib prefix for modules?
11178
 
need_lib_prefix=$need_lib_prefix
11179
 
 
11180
 
# Do we need a version for libraries?
11181
 
need_version=$need_version
11182
 
 
11183
 
# Whether dlopen is supported.
11184
 
dlopen_support=$enable_dlopen
11185
 
 
11186
 
# Whether dlopen of programs is supported.
11187
 
dlopen_self=$enable_dlopen_self
11188
 
 
11189
 
# Whether dlopen of statically linked programs is supported.
11190
 
dlopen_self_static=$enable_dlopen_self_static
11191
 
 
11192
 
# Compiler flag to prevent dynamic linking.
11193
 
link_static_flag=$lt_lt_prog_compiler_static
11194
 
 
11195
 
# Compiler flag to turn off builtin functions.
11196
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
11197
 
 
11198
 
# Compiler flag to allow reflexive dlopens.
11199
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
11200
 
 
11201
 
# Compiler flag to generate shared objects directly from archives.
11202
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
11203
 
 
11204
 
# Compiler flag to generate thread-safe objects.
11205
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
11206
 
 
11207
 
# Library versioning type.
11208
 
version_type=$version_type
11209
 
 
11210
 
# Format of library name prefix.
11211
 
libname_spec=$lt_libname_spec
11212
 
 
11213
 
# List of archive names.  First name is the real one, the rest are links.
11214
 
# The last name is the one that the linker finds with -lNAME.
11215
 
library_names_spec=$lt_library_names_spec
11216
 
 
11217
 
# The coded name of the library, if different from the real name.
11218
 
soname_spec=$lt_soname_spec
11219
 
 
11220
 
# Commands used to build and install an old-style archive.
11221
 
RANLIB=$lt_RANLIB
11222
 
old_archive_cmds=$lt_old_archive_cmds
11223
 
old_postinstall_cmds=$lt_old_postinstall_cmds
11224
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
11225
 
 
11226
 
# Create an old-style archive from a shared archive.
11227
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
11228
 
 
11229
 
# Create a temporary old-style archive to link instead of a shared archive.
11230
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
11231
 
 
11232
 
# Commands used to build and install a shared archive.
11233
 
archive_cmds=$lt_archive_cmds
11234
 
archive_expsym_cmds=$lt_archive_expsym_cmds
11235
 
postinstall_cmds=$lt_postinstall_cmds
11236
 
postuninstall_cmds=$lt_postuninstall_cmds
11237
 
 
11238
 
# Commands used to build a loadable module (assumed same as above if empty)
11239
 
module_cmds=$lt_module_cmds
11240
 
module_expsym_cmds=$lt_module_expsym_cmds
11241
 
 
11242
 
# Commands to strip libraries.
11243
 
old_striplib=$lt_old_striplib
11244
 
striplib=$lt_striplib
11245
 
 
11246
 
# Dependencies to place before the objects being linked to create a
11247
 
# shared library.
11248
 
predep_objects=$lt_predep_objects
11249
 
 
11250
 
# Dependencies to place after the objects being linked to create a
11251
 
# shared library.
11252
 
postdep_objects=$lt_postdep_objects
11253
 
 
11254
 
# Dependencies to place before the objects being linked to create a
11255
 
# shared library.
11256
 
predeps=$lt_predeps
11257
 
 
11258
 
# Dependencies to place after the objects being linked to create a
11259
 
# shared library.
11260
 
postdeps=$lt_postdeps
11261
 
 
11262
 
# The directories searched by this compiler when creating a shared
11263
 
# library
11264
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
11265
 
 
11266
 
# The library search path used internally by the compiler when linking
11267
 
# a shared library.
11268
 
compiler_lib_search_path=$lt_compiler_lib_search_path
11269
 
 
11270
 
# Method to check whether dependent libraries are shared objects.
11271
 
deplibs_check_method=$lt_deplibs_check_method
11272
 
 
11273
 
# Command to use when deplibs_check_method == file_magic.
11274
 
file_magic_cmd=$lt_file_magic_cmd
11275
 
 
11276
 
# Flag that allows shared libraries with undefined symbols to be built.
11277
 
allow_undefined_flag=$lt_allow_undefined_flag
11278
 
 
11279
 
# Flag that forces no undefined symbols.
11280
 
no_undefined_flag=$lt_no_undefined_flag
11281
 
 
11282
 
# Commands used to finish a libtool library installation in a directory.
11283
 
finish_cmds=$lt_finish_cmds
11284
 
 
11285
 
# Same as above, but a single script fragment to be evaled but not shown.
11286
 
finish_eval=$lt_finish_eval
11287
 
 
11288
 
# Take the output of nm and produce a listing of raw symbols and C names.
11289
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11290
 
 
11291
 
# Transform the output of nm in a proper C declaration
11292
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11293
 
 
11294
 
# Transform the output of nm in a C name address pair
11295
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11296
 
 
11297
 
# This is the shared library runtime path variable.
11298
 
runpath_var=$runpath_var
11299
 
 
11300
 
# This is the shared library path variable.
11301
 
shlibpath_var=$shlibpath_var
11302
 
 
11303
 
# Is shlibpath searched before the hard-coded library search path?
11304
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11305
 
 
11306
 
# How to hardcode a shared library path into an executable.
11307
 
hardcode_action=$hardcode_action
11308
 
 
11309
 
# Whether we should hardcode library paths into libraries.
11310
 
hardcode_into_libs=$hardcode_into_libs
11311
 
 
11312
 
# Flag to hardcode \$libdir into a binary during linking.
11313
 
# This must work even if \$libdir does not exist.
11314
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11315
 
 
11316
 
# If ld is used when linking, flag to hardcode \$libdir into
11317
 
# a binary during linking. This must work even if \$libdir does
11318
 
# not exist.
11319
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11320
 
 
11321
 
# Whether we need a single -rpath flag with a separated argument.
11322
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
11323
 
 
11324
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11325
 
# resulting binary.
11326
 
hardcode_direct=$hardcode_direct
11327
 
 
11328
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11329
 
# resulting binary.
11330
 
hardcode_minus_L=$hardcode_minus_L
11331
 
 
11332
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11333
 
# the resulting binary.
11334
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
11335
 
 
11336
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
11337
 
# and all subsequent libraries and executables linked against it.
11338
 
hardcode_automatic=$hardcode_automatic
11339
 
 
11340
 
# Variables whose values should be saved in libtool wrapper scripts and
11341
 
# restored at relink time.
11342
 
variables_saved_for_relink="$variables_saved_for_relink"
11343
 
 
11344
 
# Whether libtool must link a program against all its dependency libraries.
11345
 
link_all_deplibs=$link_all_deplibs
11346
 
 
11347
 
# Compile-time system search path for libraries
11348
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11349
 
 
11350
 
# Run-time system search path for libraries
11351
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11352
 
 
11353
 
# Fix the shell variable \$srcfile for the compiler.
11354
 
fix_srcfile_path=$lt_fix_srcfile_path
11355
 
 
11356
 
# Set to yes if exported symbols are required.
11357
 
always_export_symbols=$always_export_symbols
11358
 
 
11359
 
# The commands to list exported symbols.
11360
 
export_symbols_cmds=$lt_export_symbols_cmds
11361
 
 
11362
 
# The commands to extract the exported symbol list from a shared archive.
11363
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
11364
 
 
11365
 
# Symbols that should not be listed in the preloaded symbols.
11366
 
exclude_expsyms=$lt_exclude_expsyms
11367
 
 
11368
 
# Symbols that must always be exported.
11369
 
include_expsyms=$lt_include_expsyms
11370
 
 
11371
 
# ### END LIBTOOL CONFIG
11372
 
 
11373
 
__EOF__
11374
 
 
11375
 
 
11376
 
  case $host_os in
11377
 
  aix3*)
11378
 
    cat <<\EOF >> "$cfgfile"
11379
 
 
11380
 
# AIX sometimes has problems with the GCC collect2 program.  For some
11381
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
11382
 
# vanish in a puff of smoke.
11383
 
if test "X${COLLECT_NAMES+set}" != Xset; then
11384
 
  COLLECT_NAMES=
11385
 
  export COLLECT_NAMES
11386
 
fi
11387
 
EOF
11388
 
    ;;
11389
 
  esac
11390
 
 
11391
 
  # We use sed instead of cat because bash on DJGPP gets confused if
11392
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
11393
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
11394
 
  # is reportedly fixed, but why not run on old versions too?
11395
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11396
 
 
11397
 
  mv -f "$cfgfile" "$ofile" || \
11398
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11399
 
  chmod +x "$ofile"
11400
 
 
11401
 
else
11402
 
  # If there is no Makefile yet, we rely on a make rule to execute
11403
 
  # `config.status --recheck' to rerun these tests and create the
11404
 
  # libtool script then.
11405
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
11406
 
  if test -f "$ltmain_in"; then
11407
 
    test -f Makefile && make "$ltmain"
11408
 
  fi
11409
 
fi
11410
 
 
11411
 
 
11412
 
ac_ext=c
11413
 
ac_cpp='$CPP $CPPFLAGS'
11414
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11415
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11416
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11417
 
 
11418
 
CC="$lt_save_CC"
11419
 
 
11420
 
 
11421
 
# Check whether --with-tags was given.
11422
 
if test "${with_tags+set}" = set; then
11423
 
  withval=$with_tags; tagnames="$withval"
11424
 
fi
11425
 
 
11426
 
 
11427
 
if test -f "$ltmain" && test -n "$tagnames"; then
11428
 
  if test ! -f "${ofile}"; then
11429
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
11430
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
11431
 
  fi
11432
 
 
11433
 
  if test -z "$LTCC"; then
11434
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
11435
 
    if test -z "$LTCC"; then
11436
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11437
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
11438
 
    else
11439
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
11440
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
11441
 
    fi
11442
 
  fi
11443
 
  if test -z "$LTCFLAGS"; then
11444
 
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
11445
 
  fi
11446
 
 
11447
 
  # Extract list of available tagged configurations in $ofile.
11448
 
  # Note that this assumes the entire list is on one line.
11449
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11450
 
 
11451
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11452
 
  for tagname in $tagnames; do
11453
 
    IFS="$lt_save_ifs"
11454
 
    # Check whether tagname contains only valid characters
11455
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11456
 
    "") ;;
11457
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11458
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
11459
 
   { (exit 1); exit 1; }; }
11460
 
        ;;
11461
 
    esac
11462
 
 
11463
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11464
 
    then
11465
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11466
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11467
 
   { (exit 1); exit 1; }; }
11468
 
    fi
11469
 
 
11470
 
    # Update the list of available tags.
11471
 
    if test -n "$tagname"; then
11472
 
      echo appending configuration tag \"$tagname\" to $ofile
11473
 
 
11474
 
      case $tagname in
11475
 
      CXX)
11476
 
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11477
 
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11478
 
            (test "X$CXX" != "Xg++"))) ; then
11479
 
          ac_ext=cpp
11480
 
ac_cpp='$CXXCPP $CPPFLAGS'
11481
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11482
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11483
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11484
 
 
11485
 
 
11486
 
 
11487
 
 
11488
 
archive_cmds_need_lc_CXX=no
11489
 
allow_undefined_flag_CXX=
11490
 
always_export_symbols_CXX=no
11491
 
archive_expsym_cmds_CXX=
11492
 
export_dynamic_flag_spec_CXX=
11493
 
hardcode_direct_CXX=no
11494
 
hardcode_libdir_flag_spec_CXX=
11495
 
hardcode_libdir_flag_spec_ld_CXX=
11496
 
hardcode_libdir_separator_CXX=
11497
 
hardcode_minus_L_CXX=no
11498
 
hardcode_shlibpath_var_CXX=unsupported
11499
 
hardcode_automatic_CXX=no
11500
 
module_cmds_CXX=
11501
 
module_expsym_cmds_CXX=
11502
 
link_all_deplibs_CXX=unknown
11503
 
old_archive_cmds_CXX=$old_archive_cmds
11504
 
no_undefined_flag_CXX=
11505
 
whole_archive_flag_spec_CXX=
11506
 
enable_shared_with_static_runtimes_CXX=no
11507
 
 
11508
 
# Dependencies to place before and after the object being linked:
11509
 
predep_objects_CXX=
11510
 
postdep_objects_CXX=
11511
 
predeps_CXX=
11512
 
postdeps_CXX=
11513
 
compiler_lib_search_path_CXX=
11514
 
compiler_lib_search_dirs_CXX=
11515
 
 
11516
 
# Source file extension for C++ test sources.
11517
 
ac_ext=cpp
11518
 
 
11519
 
# Object file extension for compiled C++ test sources.
11520
 
objext=o
11521
 
objext_CXX=$objext
11522
 
 
11523
 
# Code to be used in simple compile tests
11524
 
lt_simple_compile_test_code="int some_variable = 0;"
11525
 
 
11526
 
# Code to be used in simple link tests
11527
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11528
 
 
11529
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
11530
 
 
11531
 
# If no C compiler was specified, use CC.
11532
 
LTCC=${LTCC-"$CC"}
11533
 
 
11534
 
# If no C compiler flags were specified, use CFLAGS.
11535
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11536
 
 
11537
 
# Allow CC to be a program name with arguments.
11538
 
compiler=$CC
11539
 
 
11540
 
 
11541
 
# save warnings/boilerplate of simple test code
11542
 
ac_outfile=conftest.$ac_objext
11543
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11544
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11545
 
_lt_compiler_boilerplate=`cat conftest.err`
11546
 
$rm conftest*
11547
 
 
11548
 
ac_outfile=conftest.$ac_objext
11549
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
11550
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11551
 
_lt_linker_boilerplate=`cat conftest.err`
11552
 
$rm -r conftest*
11553
 
 
11554
 
 
11555
 
# Allow CC to be a program name with arguments.
11556
 
lt_save_CC=$CC
11557
 
lt_save_LD=$LD
11558
 
lt_save_GCC=$GCC
11559
 
GCC=$GXX
11560
 
lt_save_with_gnu_ld=$with_gnu_ld
11561
 
lt_save_path_LD=$lt_cv_path_LD
11562
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11563
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11564
 
else
11565
 
  $as_unset lt_cv_prog_gnu_ld
11566
 
fi
11567
 
if test -n "${lt_cv_path_LDCXX+set}"; then
11568
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
11569
 
else
11570
 
  $as_unset lt_cv_path_LD
11571
 
fi
11572
 
test -z "${LDCXX+set}" || LD=$LDCXX
11573
 
CC=${CXX-"c++"}
11574
 
compiler=$CC
11575
 
compiler_CXX=$CC
11576
 
for cc_temp in $compiler""; do
11577
 
  case $cc_temp in
11578
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11579
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11580
 
    \-*) ;;
11581
 
    *) break;;
11582
 
  esac
11583
 
done
11584
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11585
 
 
11586
 
 
11587
 
# We don't want -fno-exception wen compiling C++ code, so set the
11588
 
# no_builtin_flag separately
11589
 
if test "$GXX" = yes; then
11590
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11591
 
else
11592
 
  lt_prog_compiler_no_builtin_flag_CXX=
11593
 
fi
11594
 
 
11595
 
if test "$GXX" = yes; then
11596
 
  # Set up default GNU C++ configuration
11597
 
 
11598
 
 
11599
 
# Check whether --with-gnu-ld was given.
11600
 
if test "${with_gnu_ld+set}" = set; then
11601
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11602
 
else
11603
 
  with_gnu_ld=no
11604
 
fi
11605
 
 
11606
 
ac_prog=ld
11607
 
if test "$GCC" = yes; then
11608
 
  # Check if gcc -print-prog-name=ld gives a path.
11609
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11610
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11611
 
  case $host in
11612
 
  *-*-mingw*)
11613
 
    # gcc leaves a trailing carriage return which upsets mingw
11614
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11615
 
  *)
11616
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11617
 
  esac
11618
 
  case $ac_prog in
11619
 
    # Accept absolute paths.
11620
 
    [\\/]* | ?:[\\/]*)
11621
 
      re_direlt='/[^/][^/]*/\.\./'
11622
 
      # Canonicalize the pathname of ld
11623
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
11624
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11625
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
11626
 
      done
11627
 
      test -z "$LD" && LD="$ac_prog"
11628
 
      ;;
11629
 
  "")
11630
 
    # If it fails, then pretend we aren't using GCC.
11631
 
    ac_prog=ld
11632
 
    ;;
11633
 
  *)
11634
 
    # If it is relative, then search for the first ld in PATH.
11635
 
    with_gnu_ld=unknown
11636
 
    ;;
11637
 
  esac
11638
 
elif test "$with_gnu_ld" = yes; then
11639
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
11640
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11641
 
else
11642
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11643
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11644
 
fi
11645
 
if test "${lt_cv_path_LD+set}" = set; then
11646
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11647
 
else
11648
 
  if test -z "$LD"; then
11649
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11650
 
  for ac_dir in $PATH; do
11651
 
    IFS="$lt_save_ifs"
11652
 
    test -z "$ac_dir" && ac_dir=.
11653
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11654
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
11655
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
11656
 
      # but apparently some variants of GNU ld only accept -v.
11657
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
11658
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11659
 
      *GNU* | *'with BFD'*)
11660
 
        test "$with_gnu_ld" != no && break
11661
 
        ;;
11662
 
      *)
11663
 
        test "$with_gnu_ld" != yes && break
11664
 
        ;;
11665
 
      esac
11666
 
    fi
11667
 
  done
11668
 
  IFS="$lt_save_ifs"
11669
 
else
11670
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
11671
 
fi
11672
 
fi
11673
 
 
11674
 
LD="$lt_cv_path_LD"
11675
 
if test -n "$LD"; then
11676
 
  { echo "$as_me:$LINENO: result: $LD" >&5
11677
 
echo "${ECHO_T}$LD" >&6; }
11678
 
else
11679
 
  { echo "$as_me:$LINENO: result: no" >&5
11680
 
echo "${ECHO_T}no" >&6; }
11681
 
fi
11682
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11683
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11684
 
   { (exit 1); exit 1; }; }
11685
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11686
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11687
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
11688
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11689
 
else
11690
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
11691
 
case `$LD -v 2>&1 </dev/null` in
11692
 
*GNU* | *'with BFD'*)
11693
 
  lt_cv_prog_gnu_ld=yes
11694
 
  ;;
11695
 
*)
11696
 
  lt_cv_prog_gnu_ld=no
11697
 
  ;;
11698
 
esac
11699
 
fi
11700
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11701
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11702
 
with_gnu_ld=$lt_cv_prog_gnu_ld
11703
 
 
11704
 
 
11705
 
 
11706
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
11707
 
  # archiving commands below assume that GNU ld is being used.
11708
 
  if test "$with_gnu_ld" = yes; then
11709
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11710
 
    archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11711
 
 
11712
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11713
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11714
 
 
11715
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
11716
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11717
 
    #     investigate it a little bit more. (MM)
11718
 
    wlarc='${wl}'
11719
 
 
11720
 
    # ancient GNU ld didn't support --whole-archive et. al.
11721
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
11722
 
        grep 'no-whole-archive' > /dev/null; then
11723
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11724
 
    else
11725
 
      whole_archive_flag_spec_CXX=
11726
 
    fi
11727
 
  else
11728
 
    with_gnu_ld=no
11729
 
    wlarc=
11730
 
 
11731
 
    # A generic and very simple default shared library creation
11732
 
    # command for GNU C++ for the case where it uses the native
11733
 
    # linker, instead of GNU ld.  If possible, this setting should
11734
 
    # overridden to take advantage of the native linker features on
11735
 
    # the platform it is being used on.
11736
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11737
 
  fi
11738
 
 
11739
 
  # Commands to make compiler produce verbose output that lists
11740
 
  # what "hidden" libraries, object files and flags are used when
11741
 
  # linking a shared library.
11742
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11743
 
 
11744
 
else
11745
 
  GXX=no
11746
 
  with_gnu_ld=no
11747
 
  wlarc=
11748
 
fi
11749
 
 
11750
 
# PORTME: fill in a description of your system's C++ link characteristics
11751
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11752
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11753
 
ld_shlibs_CXX=yes
11754
 
case $host_os in
11755
 
  aix3*)
11756
 
    # FIXME: insert proper C++ library support
11757
 
    ld_shlibs_CXX=no
11758
 
    ;;
11759
 
  aix[4-9]*)
11760
 
    if test "$host_cpu" = ia64; then
11761
 
      # On IA64, the linker does run time linking by default, so we don't
11762
 
      # have to do anything special.
11763
 
      aix_use_runtimelinking=no
11764
 
      exp_sym_flag='-Bexport'
11765
 
      no_entry_flag=""
11766
 
    else
11767
 
      aix_use_runtimelinking=no
11768
 
 
11769
 
      # Test if we are trying to use run time linking or normal
11770
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11771
 
      # need to do runtime linking.
11772
 
      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11773
 
        for ld_flag in $LDFLAGS; do
11774
 
          case $ld_flag in
11775
 
          *-brtl*)
11776
 
            aix_use_runtimelinking=yes
11777
 
            break
11778
 
            ;;
11779
 
          esac
11780
 
        done
11781
 
        ;;
11782
 
      esac
11783
 
 
11784
 
      exp_sym_flag='-bexport'
11785
 
      no_entry_flag='-bnoentry'
11786
 
    fi
11787
 
 
11788
 
    # When large executables or shared objects are built, AIX ld can
11789
 
    # have problems creating the table of contents.  If linking a library
11790
 
    # or program results in "error TOC overflow" add -mminimal-toc to
11791
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11792
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11793
 
 
11794
 
    archive_cmds_CXX=''
11795
 
    hardcode_direct_CXX=yes
11796
 
    hardcode_libdir_separator_CXX=':'
11797
 
    link_all_deplibs_CXX=yes
11798
 
 
11799
 
    if test "$GXX" = yes; then
11800
 
      case $host_os in aix4.[012]|aix4.[012].*)
11801
 
      # We only want to do this on AIX 4.2 and lower, the check
11802
 
      # below for broken collect2 doesn't work under 4.3+
11803
 
        collect2name=`${CC} -print-prog-name=collect2`
11804
 
        if test -f "$collect2name" && \
11805
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
11806
 
        then
11807
 
          # We have reworked collect2
11808
 
          :
11809
 
        else
11810
 
          # We have old collect2
11811
 
          hardcode_direct_CXX=unsupported
11812
 
          # It fails to find uninstalled libraries when the uninstalled
11813
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
11814
 
          # to unsupported forces relinking
11815
 
          hardcode_minus_L_CXX=yes
11816
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
11817
 
          hardcode_libdir_separator_CXX=
11818
 
        fi
11819
 
        ;;
11820
 
      esac
11821
 
      shared_flag='-shared'
11822
 
      if test "$aix_use_runtimelinking" = yes; then
11823
 
        shared_flag="$shared_flag "'${wl}-G'
11824
 
      fi
11825
 
    else
11826
 
      # not using gcc
11827
 
      if test "$host_cpu" = ia64; then
11828
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11829
 
        # chokes on -Wl,-G. The following line is correct:
11830
 
        shared_flag='-G'
11831
 
      else
11832
 
        if test "$aix_use_runtimelinking" = yes; then
11833
 
          shared_flag='${wl}-G'
11834
 
        else
11835
 
          shared_flag='${wl}-bM:SRE'
11836
 
        fi
11837
 
      fi
11838
 
    fi
11839
 
 
11840
 
    # It seems that -bexpall does not export symbols beginning with
11841
 
    # underscore (_), so it is better to generate a list of symbols to export.
11842
 
    always_export_symbols_CXX=yes
11843
 
    if test "$aix_use_runtimelinking" = yes; then
11844
 
      # Warning - without using the other runtime loading flags (-brtl),
11845
 
      # -berok will link without error, but may produce a broken library.
11846
 
      allow_undefined_flag_CXX='-berok'
11847
 
      # Determine the default libpath from the value encoded in an empty executable.
11848
 
      cat >conftest.$ac_ext <<_ACEOF
11849
 
/* confdefs.h.  */
11850
 
_ACEOF
11851
 
cat confdefs.h >>conftest.$ac_ext
11852
 
cat >>conftest.$ac_ext <<_ACEOF
11853
 
/* end confdefs.h.  */
11854
 
 
11855
 
int
11856
 
main ()
11857
 
{
11858
 
 
11859
 
  ;
11860
 
  return 0;
11861
 
}
11862
 
_ACEOF
11863
 
rm -f conftest.$ac_objext conftest$ac_exeext
11864
 
if { (ac_try="$ac_link"
11865
 
case "(($ac_try" in
11866
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11867
 
  *) ac_try_echo=$ac_try;;
11868
 
esac
11869
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11870
 
  (eval "$ac_link") 2>conftest.er1
11871
 
  ac_status=$?
11872
 
  grep -v '^ *+' conftest.er1 >conftest.err
11873
 
  rm -f conftest.er1
11874
 
  cat conftest.err >&5
11875
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11876
 
  (exit $ac_status); } && {
11877
 
         test -z "$ac_cxx_werror_flag" ||
11878
 
         test ! -s conftest.err
11879
 
       } && test -s conftest$ac_exeext &&
11880
 
       $as_test_x conftest$ac_exeext; then
11881
 
 
11882
 
lt_aix_libpath_sed='
11883
 
    /Import File Strings/,/^$/ {
11884
 
        /^0/ {
11885
 
            s/^0  *\(.*\)$/\1/
11886
 
            p
11887
 
        }
11888
 
    }'
11889
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11890
 
# Check for a 64-bit object if we didn't find anything.
11891
 
if test -z "$aix_libpath"; then
11892
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11893
 
fi
11894
 
else
11895
 
  echo "$as_me: failed program was:" >&5
11896
 
sed 's/^/| /' conftest.$ac_ext >&5
11897
 
 
11898
 
 
11899
 
fi
11900
 
 
11901
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11902
 
      conftest$ac_exeext conftest.$ac_ext
11903
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11904
 
 
11905
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11906
 
 
11907
 
      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11908
 
     else
11909
 
      if test "$host_cpu" = ia64; then
11910
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11911
 
        allow_undefined_flag_CXX="-z nodefs"
11912
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
11913
 
      else
11914
 
        # Determine the default libpath from the value encoded in an empty executable.
11915
 
        cat >conftest.$ac_ext <<_ACEOF
11916
 
/* confdefs.h.  */
11917
 
_ACEOF
11918
 
cat confdefs.h >>conftest.$ac_ext
11919
 
cat >>conftest.$ac_ext <<_ACEOF
11920
 
/* end confdefs.h.  */
11921
 
 
11922
 
int
11923
 
main ()
11924
 
{
11925
 
 
11926
 
  ;
11927
 
  return 0;
11928
 
}
11929
 
_ACEOF
11930
 
rm -f conftest.$ac_objext conftest$ac_exeext
11931
 
if { (ac_try="$ac_link"
11932
 
case "(($ac_try" in
11933
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11934
 
  *) ac_try_echo=$ac_try;;
11935
 
esac
11936
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11937
 
  (eval "$ac_link") 2>conftest.er1
11938
 
  ac_status=$?
11939
 
  grep -v '^ *+' conftest.er1 >conftest.err
11940
 
  rm -f conftest.er1
11941
 
  cat conftest.err >&5
11942
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11943
 
  (exit $ac_status); } && {
11944
 
         test -z "$ac_cxx_werror_flag" ||
11945
 
         test ! -s conftest.err
11946
 
       } && test -s conftest$ac_exeext &&
11947
 
       $as_test_x conftest$ac_exeext; then
11948
 
 
11949
 
lt_aix_libpath_sed='
11950
 
    /Import File Strings/,/^$/ {
11951
 
        /^0/ {
11952
 
            s/^0  *\(.*\)$/\1/
11953
 
            p
11954
 
        }
11955
 
    }'
11956
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11957
 
# Check for a 64-bit object if we didn't find anything.
11958
 
if test -z "$aix_libpath"; then
11959
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11960
 
fi
11961
 
else
11962
 
  echo "$as_me: failed program was:" >&5
11963
 
sed 's/^/| /' conftest.$ac_ext >&5
11964
 
 
11965
 
 
11966
 
fi
11967
 
 
11968
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11969
 
      conftest$ac_exeext conftest.$ac_ext
11970
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11971
 
 
11972
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11973
 
        # Warning - without using the other run time loading flags,
11974
 
        # -berok will link without error, but may produce a broken library.
11975
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
11976
 
        allow_undefined_flag_CXX=' ${wl}-berok'
11977
 
        # Exported symbols can be pulled into shared objects from archives
11978
 
        whole_archive_flag_spec_CXX='$convenience'
11979
 
        archive_cmds_need_lc_CXX=yes
11980
 
        # This is similar to how AIX traditionally builds its shared libraries.
11981
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
11982
 
      fi
11983
 
    fi
11984
 
    ;;
11985
 
 
11986
 
  beos*)
11987
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11988
 
      allow_undefined_flag_CXX=unsupported
11989
 
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11990
 
      # support --undefined.  This deserves some investigation.  FIXME
11991
 
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11992
 
    else
11993
 
      ld_shlibs_CXX=no
11994
 
    fi
11995
 
    ;;
11996
 
 
11997
 
  chorus*)
11998
 
    case $cc_basename in
11999
 
      *)
12000
 
        # FIXME: insert proper C++ library support
12001
 
        ld_shlibs_CXX=no
12002
 
        ;;
12003
 
    esac
12004
 
    ;;
12005
 
 
12006
 
  cygwin* | mingw* | pw32*)
12007
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12008
 
    # as there is no search path for DLLs.
12009
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
12010
 
    allow_undefined_flag_CXX=unsupported
12011
 
    always_export_symbols_CXX=no
12012
 
    enable_shared_with_static_runtimes_CXX=yes
12013
 
 
12014
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12015
 
      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12016
 
      # If the export-symbols file already is a .def file (1st line
12017
 
      # is EXPORTS), use it as is; otherwise, prepend...
12018
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12019
 
        cp $export_symbols $output_objdir/$soname.def;
12020
 
      else
12021
 
        echo EXPORTS > $output_objdir/$soname.def;
12022
 
        cat $export_symbols >> $output_objdir/$soname.def;
12023
 
      fi~
12024
 
      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12025
 
    else
12026
 
      ld_shlibs_CXX=no
12027
 
    fi
12028
 
  ;;
12029
 
      darwin* | rhapsody*)
12030
 
      archive_cmds_need_lc_CXX=no
12031
 
      hardcode_direct_CXX=no
12032
 
      hardcode_automatic_CXX=yes
12033
 
      hardcode_shlibpath_var_CXX=unsupported
12034
 
      whole_archive_flag_spec_CXX=''
12035
 
      link_all_deplibs_CXX=yes
12036
 
      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12037
 
      if test "$GXX" = yes ; then
12038
 
      output_verbose_link_cmd='echo'
12039
 
      archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12040
 
      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12041
 
      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12042
 
      module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12043
 
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12044
 
        archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12045
 
        archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12046
 
      fi
12047
 
      else
12048
 
      case $cc_basename in
12049
 
        xlc*)
12050
 
         output_verbose_link_cmd='echo'
12051
 
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
12052
 
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12053
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12054
 
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12055
 
          module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12056
 
          ;;
12057
 
       *)
12058
 
         ld_shlibs_CXX=no
12059
 
          ;;
12060
 
      esac
12061
 
      fi
12062
 
        ;;
12063
 
 
12064
 
  dgux*)
12065
 
    case $cc_basename in
12066
 
      ec++*)
12067
 
        # FIXME: insert proper C++ library support
12068
 
        ld_shlibs_CXX=no
12069
 
        ;;
12070
 
      ghcx*)
12071
 
        # Green Hills C++ Compiler
12072
 
        # FIXME: insert proper C++ library support
12073
 
        ld_shlibs_CXX=no
12074
 
        ;;
12075
 
      *)
12076
 
        # FIXME: insert proper C++ library support
12077
 
        ld_shlibs_CXX=no
12078
 
        ;;
12079
 
    esac
12080
 
    ;;
12081
 
  freebsd[12]*)
12082
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
12083
 
    ld_shlibs_CXX=no
12084
 
    ;;
12085
 
  freebsd-elf*)
12086
 
    archive_cmds_need_lc_CXX=no
12087
 
    ;;
12088
 
  freebsd* | dragonfly*)
12089
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12090
 
    # conventions
12091
 
    ld_shlibs_CXX=yes
12092
 
    ;;
12093
 
  gnu*)
12094
 
    ;;
12095
 
  hpux9*)
12096
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12097
 
    hardcode_libdir_separator_CXX=:
12098
 
    export_dynamic_flag_spec_CXX='${wl}-E'
12099
 
    hardcode_direct_CXX=yes
12100
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
12101
 
                                # but as the default
12102
 
                                # location of the library.
12103
 
 
12104
 
    case $cc_basename in
12105
 
    CC*)
12106
 
      # FIXME: insert proper C++ library support
12107
 
      ld_shlibs_CXX=no
12108
 
      ;;
12109
 
    aCC*)
12110
 
      archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12111
 
      # Commands to make compiler produce verbose output that lists
12112
 
      # what "hidden" libraries, object files and flags are used when
12113
 
      # linking a shared library.
12114
 
      #
12115
 
      # There doesn't appear to be a way to prevent this compiler from
12116
 
      # explicitly linking system object files so we need to strip them
12117
 
      # from the output so that they don't get included in the library
12118
 
      # dependencies.
12119
 
      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12120
 
      ;;
12121
 
    *)
12122
 
      if test "$GXX" = yes; then
12123
 
        archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12124
 
      else
12125
 
        # FIXME: insert proper C++ library support
12126
 
        ld_shlibs_CXX=no
12127
 
      fi
12128
 
      ;;
12129
 
    esac
12130
 
    ;;
12131
 
  hpux10*|hpux11*)
12132
 
    if test $with_gnu_ld = no; then
12133
 
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12134
 
      hardcode_libdir_separator_CXX=:
12135
 
 
12136
 
      case $host_cpu in
12137
 
      hppa*64*|ia64*) ;;
12138
 
      *)
12139
 
        export_dynamic_flag_spec_CXX='${wl}-E'
12140
 
        ;;
12141
 
      esac
12142
 
    fi
12143
 
    case $host_cpu in
12144
 
    hppa*64*|ia64*)
12145
 
      hardcode_direct_CXX=no
12146
 
      hardcode_shlibpath_var_CXX=no
12147
 
      ;;
12148
 
    *)
12149
 
      hardcode_direct_CXX=yes
12150
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
12151
 
                                              # but as the default
12152
 
                                              # location of the library.
12153
 
      ;;
12154
 
    esac
12155
 
 
12156
 
    case $cc_basename in
12157
 
      CC*)
12158
 
        # FIXME: insert proper C++ library support
12159
 
        ld_shlibs_CXX=no
12160
 
        ;;
12161
 
      aCC*)
12162
 
        case $host_cpu in
12163
 
        hppa*64*)
12164
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12165
 
          ;;
12166
 
        ia64*)
12167
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12168
 
          ;;
12169
 
        *)
12170
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12171
 
          ;;
12172
 
        esac
12173
 
        # Commands to make compiler produce verbose output that lists
12174
 
        # what "hidden" libraries, object files and flags are used when
12175
 
        # linking a shared library.
12176
 
        #
12177
 
        # There doesn't appear to be a way to prevent this compiler from
12178
 
        # explicitly linking system object files so we need to strip them
12179
 
        # from the output so that they don't get included in the library
12180
 
        # dependencies.
12181
 
        output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12182
 
        ;;
12183
 
      *)
12184
 
        if test "$GXX" = yes; then
12185
 
          if test $with_gnu_ld = no; then
12186
 
            case $host_cpu in
12187
 
            hppa*64*)
12188
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12189
 
              ;;
12190
 
            ia64*)
12191
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12192
 
              ;;
12193
 
            *)
12194
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12195
 
              ;;
12196
 
            esac
12197
 
          fi
12198
 
        else
12199
 
          # FIXME: insert proper C++ library support
12200
 
          ld_shlibs_CXX=no
12201
 
        fi
12202
 
        ;;
12203
 
    esac
12204
 
    ;;
12205
 
  interix[3-9]*)
12206
 
    hardcode_direct_CXX=no
12207
 
    hardcode_shlibpath_var_CXX=no
12208
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12209
 
    export_dynamic_flag_spec_CXX='${wl}-E'
12210
 
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12211
 
    # Instead, shared libraries are loaded at an image base (0x10000000 by
12212
 
    # default) and relocated if they conflict, which is a slow very memory
12213
 
    # consuming and fragmenting process.  To avoid this, we pick a random,
12214
 
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12215
 
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12216
 
    archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12217
 
    archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12218
 
    ;;
12219
 
  irix5* | irix6*)
12220
 
    case $cc_basename in
12221
 
      CC*)
12222
 
        # SGI C++
12223
 
        archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12224
 
 
12225
 
        # Archives containing C++ object files must be created using
12226
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12227
 
        # necessary to make sure instantiated templates are included
12228
 
        # in the archive.
12229
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12230
 
        ;;
12231
 
      *)
12232
 
        if test "$GXX" = yes; then
12233
 
          if test "$with_gnu_ld" = no; then
12234
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12235
 
          else
12236
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
12237
 
          fi
12238
 
        fi
12239
 
        link_all_deplibs_CXX=yes
12240
 
        ;;
12241
 
    esac
12242
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12243
 
    hardcode_libdir_separator_CXX=:
12244
 
    ;;
12245
 
  linux* | k*bsd*-gnu)
12246
 
    case $cc_basename in
12247
 
      KCC*)
12248
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
12249
 
 
12250
 
        # KCC will only create a shared library if the output file
12251
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
12252
 
        # to its proper name (with version) after linking.
12253
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12254
 
        archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12255
 
        # Commands to make compiler produce verbose output that lists
12256
 
        # what "hidden" libraries, object files and flags are used when
12257
 
        # linking a shared library.
12258
 
        #
12259
 
        # There doesn't appear to be a way to prevent this compiler from
12260
 
        # explicitly linking system object files so we need to strip them
12261
 
        # from the output so that they don't get included in the library
12262
 
        # dependencies.
12263
 
        output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12264
 
 
12265
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
12266
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12267
 
 
12268
 
        # Archives containing C++ object files must be created using
12269
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12270
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12271
 
        ;;
12272
 
      icpc*)
12273
 
        # Intel C++
12274
 
        with_gnu_ld=yes
12275
 
        # version 8.0 and above of icpc choke on multiply defined symbols
12276
 
        # if we add $predep_objects and $postdep_objects, however 7.1 and
12277
 
        # earlier do not add the objects themselves.
12278
 
        case `$CC -V 2>&1` in
12279
 
        *"Version 7."*)
12280
 
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12281
 
          archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12282
 
          ;;
12283
 
        *)  # Version 8.0 or newer
12284
 
          tmp_idyn=
12285
 
          case $host_cpu in
12286
 
            ia64*) tmp_idyn=' -i_dynamic';;
12287
 
          esac
12288
 
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12289
 
          archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12290
 
          ;;
12291
 
        esac
12292
 
        archive_cmds_need_lc_CXX=no
12293
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12294
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12295
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12296
 
        ;;
12297
 
      pgCC* | pgcpp*)
12298
 
        # Portland Group C++ compiler
12299
 
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12300
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12301
 
 
12302
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12303
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12304
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
12305
 
        ;;
12306
 
      cxx*)
12307
 
        # Compaq C++
12308
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12309
 
        archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12310
 
 
12311
 
        runpath_var=LD_RUN_PATH
12312
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12313
 
        hardcode_libdir_separator_CXX=:
12314
 
 
12315
 
        # Commands to make compiler produce verbose output that lists
12316
 
        # what "hidden" libraries, object files and flags are used when
12317
 
        # linking a shared library.
12318
 
        #
12319
 
        # There doesn't appear to be a way to prevent this compiler from
12320
 
        # explicitly linking system object files so we need to strip them
12321
 
        # from the output so that they don't get included in the library
12322
 
        # dependencies.
12323
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12324
 
        ;;
12325
 
      *)
12326
 
        case `$CC -V 2>&1 | sed 5q` in
12327
 
        *Sun\ C*)
12328
 
          # Sun C++ 5.9
12329
 
          no_undefined_flag_CXX=' -zdefs'
12330
 
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12331
 
          archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12332
 
          hardcode_libdir_flag_spec_CXX='-R$libdir'
12333
 
          whole_archive_flag_spec_CXX='${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'
12334
 
 
12335
 
          # Not sure whether something based on
12336
 
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12337
 
          # would be better.
12338
 
          output_verbose_link_cmd='echo'
12339
 
 
12340
 
          # Archives containing C++ object files must be created using
12341
 
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12342
 
          # necessary to make sure instantiated templates are included
12343
 
          # in the archive.
12344
 
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12345
 
          ;;
12346
 
        esac
12347
 
        ;;
12348
 
    esac
12349
 
    ;;
12350
 
  lynxos*)
12351
 
    # FIXME: insert proper C++ library support
12352
 
    ld_shlibs_CXX=no
12353
 
    ;;
12354
 
  m88k*)
12355
 
    # FIXME: insert proper C++ library support
12356
 
    ld_shlibs_CXX=no
12357
 
    ;;
12358
 
  mvs*)
12359
 
    case $cc_basename in
12360
 
      cxx*)
12361
 
        # FIXME: insert proper C++ library support
12362
 
        ld_shlibs_CXX=no
12363
 
        ;;
12364
 
      *)
12365
 
        # FIXME: insert proper C++ library support
12366
 
        ld_shlibs_CXX=no
12367
 
        ;;
12368
 
    esac
12369
 
    ;;
12370
 
  netbsd* | netbsdelf*-gnu)
12371
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12372
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12373
 
      wlarc=
12374
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
12375
 
      hardcode_direct_CXX=yes
12376
 
      hardcode_shlibpath_var_CXX=no
12377
 
    fi
12378
 
    # Workaround some broken pre-1.5 toolchains
12379
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12380
 
    ;;
12381
 
  openbsd2*)
12382
 
    # C++ shared libraries are fairly broken
12383
 
    ld_shlibs_CXX=no
12384
 
    ;;
12385
 
  openbsd*)
12386
 
    if test -f /usr/libexec/ld.so; then
12387
 
      hardcode_direct_CXX=yes
12388
 
      hardcode_shlibpath_var_CXX=no
12389
 
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12390
 
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12391
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12392
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12393
 
        export_dynamic_flag_spec_CXX='${wl}-E'
12394
 
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12395
 
      fi
12396
 
      output_verbose_link_cmd='echo'
12397
 
    else
12398
 
      ld_shlibs_CXX=no
12399
 
    fi
12400
 
    ;;
12401
 
  osf3*)
12402
 
    case $cc_basename in
12403
 
      KCC*)
12404
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
12405
 
 
12406
 
        # KCC will only create a shared library if the output file
12407
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
12408
 
        # to its proper name (with version) after linking.
12409
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12410
 
 
12411
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12412
 
        hardcode_libdir_separator_CXX=:
12413
 
 
12414
 
        # Archives containing C++ object files must be created using
12415
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12416
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12417
 
 
12418
 
        ;;
12419
 
      RCC*)
12420
 
        # Rational C++ 2.4.1
12421
 
        # FIXME: insert proper C++ library support
12422
 
        ld_shlibs_CXX=no
12423
 
        ;;
12424
 
      cxx*)
12425
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12426
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12427
 
 
12428
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12429
 
        hardcode_libdir_separator_CXX=:
12430
 
 
12431
 
        # Commands to make compiler produce verbose output that lists
12432
 
        # what "hidden" libraries, object files and flags are used when
12433
 
        # linking a shared library.
12434
 
        #
12435
 
        # There doesn't appear to be a way to prevent this compiler from
12436
 
        # explicitly linking system object files so we need to strip them
12437
 
        # from the output so that they don't get included in the library
12438
 
        # dependencies.
12439
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12440
 
        ;;
12441
 
      *)
12442
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12443
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12444
 
          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12445
 
 
12446
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12447
 
          hardcode_libdir_separator_CXX=:
12448
 
 
12449
 
          # Commands to make compiler produce verbose output that lists
12450
 
          # what "hidden" libraries, object files and flags are used when
12451
 
          # linking a shared library.
12452
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12453
 
 
12454
 
        else
12455
 
          # FIXME: insert proper C++ library support
12456
 
          ld_shlibs_CXX=no
12457
 
        fi
12458
 
        ;;
12459
 
    esac
12460
 
    ;;
12461
 
  osf4* | osf5*)
12462
 
    case $cc_basename in
12463
 
      KCC*)
12464
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
12465
 
 
12466
 
        # KCC will only create a shared library if the output file
12467
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
12468
 
        # to its proper name (with version) after linking.
12469
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12470
 
 
12471
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12472
 
        hardcode_libdir_separator_CXX=:
12473
 
 
12474
 
        # Archives containing C++ object files must be created using
12475
 
        # the KAI C++ compiler.
12476
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
12477
 
        ;;
12478
 
      RCC*)
12479
 
        # Rational C++ 2.4.1
12480
 
        # FIXME: insert proper C++ library support
12481
 
        ld_shlibs_CXX=no
12482
 
        ;;
12483
 
      cxx*)
12484
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
12485
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12486
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12487
 
          echo "-hidden">> $lib.exp~
12488
 
          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
12489
 
          $rm $lib.exp'
12490
 
 
12491
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12492
 
        hardcode_libdir_separator_CXX=:
12493
 
 
12494
 
        # Commands to make compiler produce verbose output that lists
12495
 
        # what "hidden" libraries, object files and flags are used when
12496
 
        # linking a shared library.
12497
 
        #
12498
 
        # There doesn't appear to be a way to prevent this compiler from
12499
 
        # explicitly linking system object files so we need to strip them
12500
 
        # from the output so that they don't get included in the library
12501
 
        # dependencies.
12502
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12503
 
        ;;
12504
 
      *)
12505
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12506
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12507
 
         archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12508
 
 
12509
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12510
 
          hardcode_libdir_separator_CXX=:
12511
 
 
12512
 
          # Commands to make compiler produce verbose output that lists
12513
 
          # what "hidden" libraries, object files and flags are used when
12514
 
          # linking a shared library.
12515
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12516
 
 
12517
 
        else
12518
 
          # FIXME: insert proper C++ library support
12519
 
          ld_shlibs_CXX=no
12520
 
        fi
12521
 
        ;;
12522
 
    esac
12523
 
    ;;
12524
 
  psos*)
12525
 
    # FIXME: insert proper C++ library support
12526
 
    ld_shlibs_CXX=no
12527
 
    ;;
12528
 
  sunos4*)
12529
 
    case $cc_basename in
12530
 
      CC*)
12531
 
        # Sun C++ 4.x
12532
 
        # FIXME: insert proper C++ library support
12533
 
        ld_shlibs_CXX=no
12534
 
        ;;
12535
 
      lcc*)
12536
 
        # Lucid
12537
 
        # FIXME: insert proper C++ library support
12538
 
        ld_shlibs_CXX=no
12539
 
        ;;
12540
 
      *)
12541
 
        # FIXME: insert proper C++ library support
12542
 
        ld_shlibs_CXX=no
12543
 
        ;;
12544
 
    esac
12545
 
    ;;
12546
 
  solaris*)
12547
 
    case $cc_basename in
12548
 
      CC*)
12549
 
        # Sun C++ 4.2, 5.x and Centerline C++
12550
 
        archive_cmds_need_lc_CXX=yes
12551
 
        no_undefined_flag_CXX=' -zdefs'
12552
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12553
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12554
 
        $CC -G${allow_undefined_flag}  ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12555
 
 
12556
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
12557
 
        hardcode_shlibpath_var_CXX=no
12558
 
        case $host_os in
12559
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
12560
 
          *)
12561
 
            # The compiler driver will combine and reorder linker options,
12562
 
            # but understands `-z linker_flag'.
12563
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
12564
 
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12565
 
            ;;
12566
 
        esac
12567
 
        link_all_deplibs_CXX=yes
12568
 
 
12569
 
        output_verbose_link_cmd='echo'
12570
 
 
12571
 
        # Archives containing C++ object files must be created using
12572
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12573
 
        # necessary to make sure instantiated templates are included
12574
 
        # in the archive.
12575
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12576
 
        ;;
12577
 
      gcx*)
12578
 
        # Green Hills C++ Compiler
12579
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12580
 
 
12581
 
        # The C++ compiler must be used to create the archive.
12582
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12583
 
        ;;
12584
 
      *)
12585
 
        # GNU C++ compiler with Solaris linker
12586
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12587
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12588
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
12589
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12590
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12591
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12592
 
 
12593
 
            # Commands to make compiler produce verbose output that lists
12594
 
            # what "hidden" libraries, object files and flags are used when
12595
 
            # linking a shared library.
12596
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12597
 
          else
12598
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
12599
 
            # platform.
12600
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12601
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12602
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12603
 
 
12604
 
            # Commands to make compiler produce verbose output that lists
12605
 
            # what "hidden" libraries, object files and flags are used when
12606
 
            # linking a shared library.
12607
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12608
 
          fi
12609
 
 
12610
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12611
 
          case $host_os in
12612
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
12613
 
          *)
12614
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12615
 
            ;;
12616
 
          esac
12617
 
        fi
12618
 
        ;;
12619
 
    esac
12620
 
    ;;
12621
 
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12622
 
    no_undefined_flag_CXX='${wl}-z,text'
12623
 
    archive_cmds_need_lc_CXX=no
12624
 
    hardcode_shlibpath_var_CXX=no
12625
 
    runpath_var='LD_RUN_PATH'
12626
 
 
12627
 
    case $cc_basename in
12628
 
      CC*)
12629
 
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12630
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12631
 
        ;;
12632
 
      *)
12633
 
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12634
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12635
 
        ;;
12636
 
    esac
12637
 
    ;;
12638
 
  sysv5* | sco3.2v5* | sco5v6*)
12639
 
    # Note: We can NOT use -z defs as we might desire, because we do not
12640
 
    # link with -lc, and that would cause any symbols used from libc to
12641
 
    # always be unresolved, which means just about no library would
12642
 
    # ever link correctly.  If we're not using GNU ld we use -z text
12643
 
    # though, which does catch some bad symbols but isn't as heavy-handed
12644
 
    # as -z defs.
12645
 
    # For security reasons, it is highly recommended that you always
12646
 
    # use absolute paths for naming shared libraries, and exclude the
12647
 
    # DT_RUNPATH tag from executables and libraries.  But doing so
12648
 
    # requires that you compile everything twice, which is a pain.
12649
 
    # So that behaviour is only enabled if SCOABSPATH is set to a
12650
 
    # non-empty value in the environment.  Most likely only useful for
12651
 
    # creating official distributions of packages.
12652
 
    # This is a hack until libtool officially supports absolute path
12653
 
    # names for shared libraries.
12654
 
    no_undefined_flag_CXX='${wl}-z,text'
12655
 
    allow_undefined_flag_CXX='${wl}-z,nodefs'
12656
 
    archive_cmds_need_lc_CXX=no
12657
 
    hardcode_shlibpath_var_CXX=no
12658
 
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12659
 
    hardcode_libdir_separator_CXX=':'
12660
 
    link_all_deplibs_CXX=yes
12661
 
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
12662
 
    runpath_var='LD_RUN_PATH'
12663
 
 
12664
 
    case $cc_basename in
12665
 
      CC*)
12666
 
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12667
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12668
 
        ;;
12669
 
      *)
12670
 
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12671
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12672
 
        ;;
12673
 
    esac
12674
 
    ;;
12675
 
  tandem*)
12676
 
    case $cc_basename in
12677
 
      NCC*)
12678
 
        # NonStop-UX NCC 3.20
12679
 
        # FIXME: insert proper C++ library support
12680
 
        ld_shlibs_CXX=no
12681
 
        ;;
12682
 
      *)
12683
 
        # FIXME: insert proper C++ library support
12684
 
        ld_shlibs_CXX=no
12685
 
        ;;
12686
 
    esac
12687
 
    ;;
12688
 
  vxworks*)
12689
 
    # FIXME: insert proper C++ library support
12690
 
    ld_shlibs_CXX=no
12691
 
    ;;
12692
 
  *)
12693
 
    # FIXME: insert proper C++ library support
12694
 
    ld_shlibs_CXX=no
12695
 
    ;;
12696
 
esac
12697
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12698
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12699
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
12700
 
 
12701
 
GCC_CXX="$GXX"
12702
 
LD_CXX="$LD"
12703
 
 
12704
 
cat > conftest.$ac_ext <<EOF
12705
 
class Foo
12706
 
{
12707
 
public:
12708
 
  Foo (void) { a = 0; }
12709
 
private:
12710
 
  int a;
12711
 
};
12712
 
EOF
12713
 
 
12714
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12715
 
  (eval $ac_compile) 2>&5
12716
 
  ac_status=$?
12717
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12718
 
  (exit $ac_status); }; then
12719
 
  # Parse the compiler output and extract the necessary
12720
 
  # objects, libraries and library flags.
12721
 
 
12722
 
  # Sentinel used to keep track of whether or not we are before
12723
 
  # the conftest object file.
12724
 
  pre_test_object_deps_done=no
12725
 
 
12726
 
  # The `*' in the case matches for architectures that use `case' in
12727
 
  # $output_verbose_cmd can trigger glob expansion during the loop
12728
 
  # eval without this substitution.
12729
 
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12730
 
 
12731
 
  for p in `eval $output_verbose_link_cmd`; do
12732
 
    case $p in
12733
 
 
12734
 
    -L* | -R* | -l*)
12735
 
       # Some compilers place space between "-{L,R}" and the path.
12736
 
       # Remove the space.
12737
 
       if test $p = "-L" \
12738
 
          || test $p = "-R"; then
12739
 
         prev=$p
12740
 
         continue
12741
 
       else
12742
 
         prev=
12743
 
       fi
12744
 
 
12745
 
       if test "$pre_test_object_deps_done" = no; then
12746
 
         case $p in
12747
 
         -L* | -R*)
12748
 
           # Internal compiler library paths should come after those
12749
 
           # provided the user.  The postdeps already come after the
12750
 
           # user supplied libs so there is no need to process them.
12751
 
           if test -z "$compiler_lib_search_path_CXX"; then
12752
 
             compiler_lib_search_path_CXX="${prev}${p}"
12753
 
           else
12754
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12755
 
           fi
12756
 
           ;;
12757
 
         # The "-l" case would never come before the object being
12758
 
         # linked, so don't bother handling this case.
12759
 
         esac
12760
 
       else
12761
 
         if test -z "$postdeps_CXX"; then
12762
 
           postdeps_CXX="${prev}${p}"
12763
 
         else
12764
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12765
 
         fi
12766
 
       fi
12767
 
       ;;
12768
 
 
12769
 
    *.$objext)
12770
 
       # This assumes that the test object file only shows up
12771
 
       # once in the compiler output.
12772
 
       if test "$p" = "conftest.$objext"; then
12773
 
         pre_test_object_deps_done=yes
12774
 
         continue
12775
 
       fi
12776
 
 
12777
 
       if test "$pre_test_object_deps_done" = no; then
12778
 
         if test -z "$predep_objects_CXX"; then
12779
 
           predep_objects_CXX="$p"
12780
 
         else
12781
 
           predep_objects_CXX="$predep_objects_CXX $p"
12782
 
         fi
12783
 
       else
12784
 
         if test -z "$postdep_objects_CXX"; then
12785
 
           postdep_objects_CXX="$p"
12786
 
         else
12787
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
12788
 
         fi
12789
 
       fi
12790
 
       ;;
12791
 
 
12792
 
    *) ;; # Ignore the rest.
12793
 
 
12794
 
    esac
12795
 
  done
12796
 
 
12797
 
  # Clean up.
12798
 
  rm -f a.out a.exe
12799
 
else
12800
 
  echo "libtool.m4: error: problem compiling CXX test program"
12801
 
fi
12802
 
 
12803
 
$rm -f confest.$objext
12804
 
 
12805
 
compiler_lib_search_dirs_CXX=
12806
 
if test -n "$compiler_lib_search_path_CXX"; then
12807
 
  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12808
 
fi
12809
 
 
12810
 
# PORTME: override above test on systems where it is broken
12811
 
case $host_os in
12812
 
interix[3-9]*)
12813
 
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
12814
 
  # hack all around it, let's just trust "g++" to DTRT.
12815
 
  predep_objects_CXX=
12816
 
  postdep_objects_CXX=
12817
 
  postdeps_CXX=
12818
 
  ;;
12819
 
 
12820
 
linux*)
12821
 
  case `$CC -V 2>&1 | sed 5q` in
12822
 
  *Sun\ C*)
12823
 
    # Sun C++ 5.9
12824
 
    #
12825
 
    # The more standards-conforming stlport4 library is
12826
 
    # incompatible with the Cstd library. Avoid specifying
12827
 
    # it if it's in CXXFLAGS. Ignore libCrun as
12828
 
    # -library=stlport4 depends on it.
12829
 
    case " $CXX $CXXFLAGS " in
12830
 
    *" -library=stlport4 "*)
12831
 
      solaris_use_stlport4=yes
12832
 
      ;;
12833
 
    esac
12834
 
    if test "$solaris_use_stlport4" != yes; then
12835
 
      postdeps_CXX='-library=Cstd -library=Crun'
12836
 
    fi
12837
 
    ;;
12838
 
  esac
12839
 
  ;;
12840
 
 
12841
 
solaris*)
12842
 
  case $cc_basename in
12843
 
  CC*)
12844
 
    # The more standards-conforming stlport4 library is
12845
 
    # incompatible with the Cstd library. Avoid specifying
12846
 
    # it if it's in CXXFLAGS. Ignore libCrun as
12847
 
    # -library=stlport4 depends on it.
12848
 
    case " $CXX $CXXFLAGS " in
12849
 
    *" -library=stlport4 "*)
12850
 
      solaris_use_stlport4=yes
12851
 
      ;;
12852
 
    esac
12853
 
 
12854
 
    # Adding this requires a known-good setup of shared libraries for
12855
 
    # Sun compiler versions before 5.6, else PIC objects from an old
12856
 
    # archive will be linked into the output, leading to subtle bugs.
12857
 
    if test "$solaris_use_stlport4" != yes; then
12858
 
      postdeps_CXX='-library=Cstd -library=Crun'
12859
 
    fi
12860
 
    ;;
12861
 
  esac
12862
 
  ;;
12863
 
esac
12864
 
 
12865
 
case " $postdeps_CXX " in
12866
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
12867
 
esac
12868
 
 
12869
 
lt_prog_compiler_wl_CXX=
12870
 
lt_prog_compiler_pic_CXX=
12871
 
lt_prog_compiler_static_CXX=
12872
 
 
12873
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12874
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12875
 
 
12876
 
  # C++ specific cases for pic, static, wl, etc.
12877
 
  if test "$GXX" = yes; then
12878
 
    lt_prog_compiler_wl_CXX='-Wl,'
12879
 
    lt_prog_compiler_static_CXX='-static'
12880
 
 
12881
 
    case $host_os in
12882
 
    aix*)
12883
 
      # All AIX code is PIC.
12884
 
      if test "$host_cpu" = ia64; then
12885
 
        # AIX 5 now supports IA64 processor
12886
 
        lt_prog_compiler_static_CXX='-Bstatic'
12887
 
      fi
12888
 
      ;;
12889
 
    amigaos*)
12890
 
      # FIXME: we need at least 68020 code to build shared libraries, but
12891
 
      # adding the `-m68020' flag to GCC prevents building anything better,
12892
 
      # like `-m68040'.
12893
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12894
 
      ;;
12895
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12896
 
      # PIC is the default for these OSes.
12897
 
      ;;
12898
 
    mingw* | cygwin* | os2* | pw32*)
12899
 
      # This hack is so that the source file can tell whether it is being
12900
 
      # built for inclusion in a dll (and should export symbols for example).
12901
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
12902
 
      # (--disable-auto-import) libraries
12903
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12904
 
      ;;
12905
 
    darwin* | rhapsody*)
12906
 
      # PIC is the default on this platform
12907
 
      # Common symbols not allowed in MH_DYLIB files
12908
 
      lt_prog_compiler_pic_CXX='-fno-common'
12909
 
      ;;
12910
 
    *djgpp*)
12911
 
      # DJGPP does not support shared libraries at all
12912
 
      lt_prog_compiler_pic_CXX=
12913
 
      ;;
12914
 
    interix[3-9]*)
12915
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12916
 
      # Instead, we relocate shared libraries at runtime.
12917
 
      ;;
12918
 
    sysv4*MP*)
12919
 
      if test -d /usr/nec; then
12920
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
12921
 
      fi
12922
 
      ;;
12923
 
    hpux*)
12924
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12925
 
      # not for PA HP-UX.
12926
 
      case $host_cpu in
12927
 
      hppa*64*|ia64*)
12928
 
        ;;
12929
 
      *)
12930
 
        lt_prog_compiler_pic_CXX='-fPIC'
12931
 
        ;;
12932
 
      esac
12933
 
      ;;
12934
 
    *)
12935
 
      lt_prog_compiler_pic_CXX='-fPIC'
12936
 
      ;;
12937
 
    esac
12938
 
  else
12939
 
    case $host_os in
12940
 
      aix[4-9]*)
12941
 
        # All AIX code is PIC.
12942
 
        if test "$host_cpu" = ia64; then
12943
 
          # AIX 5 now supports IA64 processor
12944
 
          lt_prog_compiler_static_CXX='-Bstatic'
12945
 
        else
12946
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12947
 
        fi
12948
 
        ;;
12949
 
      chorus*)
12950
 
        case $cc_basename in
12951
 
        cxch68*)
12952
 
          # Green Hills C++ Compiler
12953
 
          # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
12954
 
          ;;
12955
 
        esac
12956
 
        ;;
12957
 
       darwin*)
12958
 
         # PIC is the default on this platform
12959
 
         # Common symbols not allowed in MH_DYLIB files
12960
 
         case $cc_basename in
12961
 
           xlc*)
12962
 
           lt_prog_compiler_pic_CXX='-qnocommon'
12963
 
           lt_prog_compiler_wl_CXX='-Wl,'
12964
 
           ;;
12965
 
         esac
12966
 
       ;;
12967
 
      dgux*)
12968
 
        case $cc_basename in
12969
 
          ec++*)
12970
 
            lt_prog_compiler_pic_CXX='-KPIC'
12971
 
            ;;
12972
 
          ghcx*)
12973
 
            # Green Hills C++ Compiler
12974
 
            lt_prog_compiler_pic_CXX='-pic'
12975
 
            ;;
12976
 
          *)
12977
 
            ;;
12978
 
        esac
12979
 
        ;;
12980
 
      freebsd* | dragonfly*)
12981
 
        # FreeBSD uses GNU C++
12982
 
        ;;
12983
 
      hpux9* | hpux10* | hpux11*)
12984
 
        case $cc_basename in
12985
 
          CC*)
12986
 
            lt_prog_compiler_wl_CXX='-Wl,'
12987
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12988
 
            if test "$host_cpu" != ia64; then
12989
 
              lt_prog_compiler_pic_CXX='+Z'
12990
 
            fi
12991
 
            ;;
12992
 
          aCC*)
12993
 
            lt_prog_compiler_wl_CXX='-Wl,'
12994
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12995
 
            case $host_cpu in
12996
 
            hppa*64*|ia64*)
12997
 
              # +Z the default
12998
 
              ;;
12999
 
            *)
13000
 
              lt_prog_compiler_pic_CXX='+Z'
13001
 
              ;;
13002
 
            esac
13003
 
            ;;
13004
 
          *)
13005
 
            ;;
13006
 
        esac
13007
 
        ;;
13008
 
      interix*)
13009
 
        # This is c89, which is MS Visual C++ (no shared libs)
13010
 
        # Anyone wants to do a port?
13011
 
        ;;
13012
 
      irix5* | irix6* | nonstopux*)
13013
 
        case $cc_basename in
13014
 
          CC*)
13015
 
            lt_prog_compiler_wl_CXX='-Wl,'
13016
 
            lt_prog_compiler_static_CXX='-non_shared'
13017
 
            # CC pic flag -KPIC is the default.
13018
 
            ;;
13019
 
          *)
13020
 
            ;;
13021
 
        esac
13022
 
        ;;
13023
 
      linux* | k*bsd*-gnu)
13024
 
        case $cc_basename in
13025
 
          KCC*)
13026
 
            # KAI C++ Compiler
13027
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
13028
 
            lt_prog_compiler_pic_CXX='-fPIC'
13029
 
            ;;
13030
 
          icpc* | ecpc*)
13031
 
            # Intel C++
13032
 
            lt_prog_compiler_wl_CXX='-Wl,'
13033
 
            lt_prog_compiler_pic_CXX='-KPIC'
13034
 
            lt_prog_compiler_static_CXX='-static'
13035
 
            ;;
13036
 
          pgCC* | pgcpp*)
13037
 
            # Portland Group C++ compiler.
13038
 
            lt_prog_compiler_wl_CXX='-Wl,'
13039
 
            lt_prog_compiler_pic_CXX='-fpic'
13040
 
            lt_prog_compiler_static_CXX='-Bstatic'
13041
 
            ;;
13042
 
          cxx*)
13043
 
            # Compaq C++
13044
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
13045
 
            # Linux and Compaq Tru64 Unix objects are PIC.
13046
 
            lt_prog_compiler_pic_CXX=
13047
 
            lt_prog_compiler_static_CXX='-non_shared'
13048
 
            ;;
13049
 
          *)
13050
 
            case `$CC -V 2>&1 | sed 5q` in
13051
 
            *Sun\ C*)
13052
 
              # Sun C++ 5.9
13053
 
              lt_prog_compiler_pic_CXX='-KPIC'
13054
 
              lt_prog_compiler_static_CXX='-Bstatic'
13055
 
              lt_prog_compiler_wl_CXX='-Qoption ld '
13056
 
              ;;
13057
 
            esac
13058
 
            ;;
13059
 
        esac
13060
 
        ;;
13061
 
      lynxos*)
13062
 
        ;;
13063
 
      m88k*)
13064
 
        ;;
13065
 
      mvs*)
13066
 
        case $cc_basename in
13067
 
          cxx*)
13068
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
13069
 
            ;;
13070
 
          *)
13071
 
            ;;
13072
 
        esac
13073
 
        ;;
13074
 
      netbsd* | netbsdelf*-gnu)
13075
 
        ;;
13076
 
      osf3* | osf4* | osf5*)
13077
 
        case $cc_basename in
13078
 
          KCC*)
13079
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
13080
 
            ;;
13081
 
          RCC*)
13082
 
            # Rational C++ 2.4.1
13083
 
            lt_prog_compiler_pic_CXX='-pic'
13084
 
            ;;
13085
 
          cxx*)
13086
 
            # Digital/Compaq C++
13087
 
            lt_prog_compiler_wl_CXX='-Wl,'
13088
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
13089
 
            # Linux and Compaq Tru64 Unix objects are PIC.
13090
 
            lt_prog_compiler_pic_CXX=
13091
 
            lt_prog_compiler_static_CXX='-non_shared'
13092
 
            ;;
13093
 
          *)
13094
 
            ;;
13095
 
        esac
13096
 
        ;;
13097
 
      psos*)
13098
 
        ;;
13099
 
      solaris*)
13100
 
        case $cc_basename in
13101
 
          CC*)
13102
 
            # Sun C++ 4.2, 5.x and Centerline C++
13103
 
            lt_prog_compiler_pic_CXX='-KPIC'
13104
 
            lt_prog_compiler_static_CXX='-Bstatic'
13105
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
13106
 
            ;;
13107
 
          gcx*)
13108
 
            # Green Hills C++ Compiler
13109
 
            lt_prog_compiler_pic_CXX='-PIC'
13110
 
            ;;
13111
 
          *)
13112
 
            ;;
13113
 
        esac
13114
 
        ;;
13115
 
      sunos4*)
13116
 
        case $cc_basename in
13117
 
          CC*)
13118
 
            # Sun C++ 4.x
13119
 
            lt_prog_compiler_pic_CXX='-pic'
13120
 
            lt_prog_compiler_static_CXX='-Bstatic'
13121
 
            ;;
13122
 
          lcc*)
13123
 
            # Lucid
13124
 
            lt_prog_compiler_pic_CXX='-pic'
13125
 
            ;;
13126
 
          *)
13127
 
            ;;
13128
 
        esac
13129
 
        ;;
13130
 
      tandem*)
13131
 
        case $cc_basename in
13132
 
          NCC*)
13133
 
            # NonStop-UX NCC 3.20
13134
 
            lt_prog_compiler_pic_CXX='-KPIC'
13135
 
            ;;
13136
 
          *)
13137
 
            ;;
13138
 
        esac
13139
 
        ;;
13140
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13141
 
        case $cc_basename in
13142
 
          CC*)
13143
 
            lt_prog_compiler_wl_CXX='-Wl,'
13144
 
            lt_prog_compiler_pic_CXX='-KPIC'
13145
 
            lt_prog_compiler_static_CXX='-Bstatic'
13146
 
            ;;
13147
 
        esac
13148
 
        ;;
13149
 
      vxworks*)
13150
 
        ;;
13151
 
      *)
13152
 
        lt_prog_compiler_can_build_shared_CXX=no
13153
 
        ;;
13154
 
    esac
13155
 
  fi
13156
 
 
13157
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13158
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
13159
 
 
13160
 
#
13161
 
# Check to make sure the PIC flag actually works.
13162
 
#
13163
 
if test -n "$lt_prog_compiler_pic_CXX"; then
13164
 
 
13165
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13166
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
13167
 
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
13168
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13169
 
else
13170
 
  lt_cv_prog_compiler_pic_works_CXX=no
13171
 
  ac_outfile=conftest.$ac_objext
13172
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13173
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13174
 
   # Insert the option either (1) after the last *FLAGS variable, or
13175
 
   # (2) before a word containing "conftest.", or (3) at the end.
13176
 
   # Note that $ac_compile itself does not contain backslashes and begins
13177
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13178
 
   # The option is referenced via a variable to avoid confusing sed.
13179
 
   lt_compile=`echo "$ac_compile" | $SED \
13180
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13181
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13182
 
   -e 's:$: $lt_compiler_flag:'`
13183
 
   (eval echo "\"\$as_me:13183: $lt_compile\"" >&5)
13184
 
   (eval "$lt_compile" 2>conftest.err)
13185
 
   ac_status=$?
13186
 
   cat conftest.err >&5
13187
 
   echo "$as_me:13187: \$? = $ac_status" >&5
13188
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
13189
 
     # The compiler can only warn and ignore the option if not recognized
13190
 
     # So say no if there are warnings other than the usual output.
13191
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13192
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13193
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13194
 
       lt_cv_prog_compiler_pic_works_CXX=yes
13195
 
     fi
13196
 
   fi
13197
 
   $rm conftest*
13198
 
 
13199
 
fi
13200
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13201
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13202
 
 
13203
 
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13204
 
    case $lt_prog_compiler_pic_CXX in
13205
 
     "" | " "*) ;;
13206
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13207
 
     esac
13208
 
else
13209
 
    lt_prog_compiler_pic_CXX=
13210
 
     lt_prog_compiler_can_build_shared_CXX=no
13211
 
fi
13212
 
 
13213
 
fi
13214
 
case $host_os in
13215
 
  # For platforms which do not support PIC, -DPIC is meaningless:
13216
 
  *djgpp*)
13217
 
    lt_prog_compiler_pic_CXX=
13218
 
    ;;
13219
 
  *)
13220
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13221
 
    ;;
13222
 
esac
13223
 
 
13224
 
#
13225
 
# Check to make sure the static flag actually works.
13226
 
#
13227
 
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13228
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13229
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13230
 
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
13231
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13232
 
else
13233
 
  lt_cv_prog_compiler_static_works_CXX=no
13234
 
   save_LDFLAGS="$LDFLAGS"
13235
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13236
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
13237
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13238
 
     # The linker can only warn and ignore the option if not recognized
13239
 
     # So say no if there are warnings
13240
 
     if test -s conftest.err; then
13241
 
       # Append any errors to the config.log.
13242
 
       cat conftest.err 1>&5
13243
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13244
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13245
 
       if diff conftest.exp conftest.er2 >/dev/null; then
13246
 
         lt_cv_prog_compiler_static_works_CXX=yes
13247
 
       fi
13248
 
     else
13249
 
       lt_cv_prog_compiler_static_works_CXX=yes
13250
 
     fi
13251
 
   fi
13252
 
   $rm -r conftest*
13253
 
   LDFLAGS="$save_LDFLAGS"
13254
 
 
13255
 
fi
13256
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13257
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
13258
 
 
13259
 
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13260
 
    :
13261
 
else
13262
 
    lt_prog_compiler_static_CXX=
13263
 
fi
13264
 
 
13265
 
 
13266
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13267
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13268
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13269
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13270
 
else
13271
 
  lt_cv_prog_compiler_c_o_CXX=no
13272
 
   $rm -r conftest 2>/dev/null
13273
 
   mkdir conftest
13274
 
   cd conftest
13275
 
   mkdir out
13276
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13277
 
 
13278
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
13279
 
   # Insert the option either (1) after the last *FLAGS variable, or
13280
 
   # (2) before a word containing "conftest.", or (3) at the end.
13281
 
   # Note that $ac_compile itself does not contain backslashes and begins
13282
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13283
 
   lt_compile=`echo "$ac_compile" | $SED \
13284
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13285
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13286
 
   -e 's:$: $lt_compiler_flag:'`
13287
 
   (eval echo "\"\$as_me:13287: $lt_compile\"" >&5)
13288
 
   (eval "$lt_compile" 2>out/conftest.err)
13289
 
   ac_status=$?
13290
 
   cat out/conftest.err >&5
13291
 
   echo "$as_me:13291: \$? = $ac_status" >&5
13292
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13293
 
   then
13294
 
     # The compiler can only warn and ignore the option if not recognized
13295
 
     # So say no if there are warnings
13296
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13297
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13298
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13299
 
       lt_cv_prog_compiler_c_o_CXX=yes
13300
 
     fi
13301
 
   fi
13302
 
   chmod u+w . 2>&5
13303
 
   $rm conftest*
13304
 
   # SGI C++ compiler will create directory out/ii_files/ for
13305
 
   # template instantiation
13306
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
13307
 
   $rm out/* && rmdir out
13308
 
   cd ..
13309
 
   rmdir conftest
13310
 
   $rm conftest*
13311
 
 
13312
 
fi
13313
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13314
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
13315
 
 
13316
 
 
13317
 
hard_links="nottested"
13318
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13319
 
  # do not overwrite the value of need_locks provided by the user
13320
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13321
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13322
 
  hard_links=yes
13323
 
  $rm conftest*
13324
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13325
 
  touch conftest.a
13326
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
13327
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13328
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
13329
 
echo "${ECHO_T}$hard_links" >&6; }
13330
 
  if test "$hard_links" = no; then
13331
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13332
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13333
 
    need_locks=warn
13334
 
  fi
13335
 
else
13336
 
  need_locks=no
13337
 
fi
13338
 
 
13339
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13340
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13341
 
 
13342
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13343
 
  case $host_os in
13344
 
  aix[4-9]*)
13345
 
    # If we're using GNU nm, then we don't want the "-C" option.
13346
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
13347
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13348
 
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13349
 
    else
13350
 
      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13351
 
    fi
13352
 
    ;;
13353
 
  pw32*)
13354
 
    export_symbols_cmds_CXX="$ltdll_cmds"
13355
 
  ;;
13356
 
  cygwin* | mingw*)
13357
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13358
 
  ;;
13359
 
  linux* | k*bsd*-gnu)
13360
 
    link_all_deplibs_CXX=no
13361
 
  ;;
13362
 
  *)
13363
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13364
 
  ;;
13365
 
  esac
13366
 
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13367
 
 
13368
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13369
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13370
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
13371
 
 
13372
 
#
13373
 
# Do we need to explicitly link libc?
13374
 
#
13375
 
case "x$archive_cmds_need_lc_CXX" in
13376
 
x|xyes)
13377
 
  # Assume -lc should be added
13378
 
  archive_cmds_need_lc_CXX=yes
13379
 
 
13380
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
13381
 
    case $archive_cmds_CXX in
13382
 
    *'~'*)
13383
 
      # FIXME: we may have to deal with multi-command sequences.
13384
 
      ;;
13385
 
    '$CC '*)
13386
 
      # Test whether the compiler implicitly links with -lc since on some
13387
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
13388
 
      # to ld, don't add -lc before -lgcc.
13389
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13390
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
13391
 
      $rm conftest*
13392
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13393
 
 
13394
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13395
 
  (eval $ac_compile) 2>&5
13396
 
  ac_status=$?
13397
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13398
 
  (exit $ac_status); } 2>conftest.err; then
13399
 
        soname=conftest
13400
 
        lib=conftest
13401
 
        libobjs=conftest.$ac_objext
13402
 
        deplibs=
13403
 
        wl=$lt_prog_compiler_wl_CXX
13404
 
        pic_flag=$lt_prog_compiler_pic_CXX
13405
 
        compiler_flags=-v
13406
 
        linker_flags=-v
13407
 
        verstring=
13408
 
        output_objdir=.
13409
 
        libname=conftest
13410
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13411
 
        allow_undefined_flag_CXX=
13412
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13413
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13414
 
  ac_status=$?
13415
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13416
 
  (exit $ac_status); }
13417
 
        then
13418
 
          archive_cmds_need_lc_CXX=no
13419
 
        else
13420
 
          archive_cmds_need_lc_CXX=yes
13421
 
        fi
13422
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13423
 
      else
13424
 
        cat conftest.err 1>&5
13425
 
      fi
13426
 
      $rm conftest*
13427
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13428
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
13429
 
      ;;
13430
 
    esac
13431
 
  fi
13432
 
  ;;
13433
 
esac
13434
 
 
13435
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13436
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
13437
 
library_names_spec=
13438
 
libname_spec='lib$name'
13439
 
soname_spec=
13440
 
shrext_cmds=".so"
13441
 
postinstall_cmds=
13442
 
postuninstall_cmds=
13443
 
finish_cmds=
13444
 
finish_eval=
13445
 
shlibpath_var=
13446
 
shlibpath_overrides_runpath=unknown
13447
 
version_type=none
13448
 
dynamic_linker="$host_os ld.so"
13449
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
13450
 
 
13451
 
need_lib_prefix=unknown
13452
 
hardcode_into_libs=no
13453
 
 
13454
 
# when you set need_version to no, make sure it does not cause -set_version
13455
 
# flags to be left without arguments
13456
 
need_version=unknown
13457
 
 
13458
 
case $host_os in
13459
 
aix3*)
13460
 
  version_type=linux
13461
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13462
 
  shlibpath_var=LIBPATH
13463
 
 
13464
 
  # AIX 3 has no versioning support, so we append a major version to the name.
13465
 
  soname_spec='${libname}${release}${shared_ext}$major'
13466
 
  ;;
13467
 
 
13468
 
aix[4-9]*)
13469
 
  version_type=linux
13470
 
  need_lib_prefix=no
13471
 
  need_version=no
13472
 
  hardcode_into_libs=yes
13473
 
  if test "$host_cpu" = ia64; then
13474
 
    # AIX 5 supports IA64
13475
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13476
 
    shlibpath_var=LD_LIBRARY_PATH
13477
 
  else
13478
 
    # With GCC up to 2.95.x, collect2 would create an import file
13479
 
    # for dependence libraries.  The import file would start with
13480
 
    # the line `#! .'.  This would cause the generated library to
13481
 
    # depend on `.', always an invalid library.  This was fixed in
13482
 
    # development snapshots of GCC prior to 3.0.
13483
 
    case $host_os in
13484
 
      aix4 | aix4.[01] | aix4.[01].*)
13485
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13486
 
           echo ' yes '
13487
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
13488
 
        :
13489
 
      else
13490
 
        can_build_shared=no
13491
 
      fi
13492
 
      ;;
13493
 
    esac
13494
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13495
 
    # soname into executable. Probably we can add versioning support to
13496
 
    # collect2, so additional links can be useful in future.
13497
 
    if test "$aix_use_runtimelinking" = yes; then
13498
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13499
 
      # instead of lib<name>.a to let people know that these are not
13500
 
      # typical AIX shared libraries.
13501
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13502
 
    else
13503
 
      # We preserve .a as extension for shared libraries through AIX4.2
13504
 
      # and later when we are not doing run time linking.
13505
 
      library_names_spec='${libname}${release}.a $libname.a'
13506
 
      soname_spec='${libname}${release}${shared_ext}$major'
13507
 
    fi
13508
 
    shlibpath_var=LIBPATH
13509
 
  fi
13510
 
  ;;
13511
 
 
13512
 
amigaos*)
13513
 
  library_names_spec='$libname.ixlibrary $libname.a'
13514
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
13515
 
  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'
13516
 
  ;;
13517
 
 
13518
 
beos*)
13519
 
  library_names_spec='${libname}${shared_ext}'
13520
 
  dynamic_linker="$host_os ld.so"
13521
 
  shlibpath_var=LIBRARY_PATH
13522
 
  ;;
13523
 
 
13524
 
bsdi[45]*)
13525
 
  version_type=linux
13526
 
  need_version=no
13527
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13528
 
  soname_spec='${libname}${release}${shared_ext}$major'
13529
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13530
 
  shlibpath_var=LD_LIBRARY_PATH
13531
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13532
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13533
 
  # the default ld.so.conf also contains /usr/contrib/lib and
13534
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13535
 
  # libtool to hard-code these into programs
13536
 
  ;;
13537
 
 
13538
 
cygwin* | mingw* | pw32*)
13539
 
  version_type=windows
13540
 
  shrext_cmds=".dll"
13541
 
  need_version=no
13542
 
  need_lib_prefix=no
13543
 
 
13544
 
  case $GCC,$host_os in
13545
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
13546
 
    library_names_spec='$libname.dll.a'
13547
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
13548
 
    postinstall_cmds='base_file=`basename \${file}`~
13549
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13550
 
      dldir=$destdir/`dirname \$dlpath`~
13551
 
      test -d \$dldir || mkdir -p \$dldir~
13552
 
      $install_prog $dir/$dlname \$dldir/$dlname~
13553
 
      chmod a+x \$dldir/$dlname'
13554
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13555
 
      dlpath=$dir/\$dldll~
13556
 
       $rm \$dlpath'
13557
 
    shlibpath_overrides_runpath=yes
13558
 
 
13559
 
    case $host_os in
13560
 
    cygwin*)
13561
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13562
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13563
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13564
 
      ;;
13565
 
    mingw*)
13566
 
      # MinGW DLLs use traditional 'lib' prefix
13567
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13568
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13569
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
13570
 
        # It is most probably a Windows format PATH printed by
13571
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
13572
 
        # path with ; separators, and with drive letters. We can handle the
13573
 
        # drive letters (cygwin fileutils understands them), so leave them,
13574
 
        # especially as we might pass files found there to a mingw objdump,
13575
 
        # which wouldn't understand a cygwinified path. Ahh.
13576
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13577
 
      else
13578
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13579
 
      fi
13580
 
      ;;
13581
 
    pw32*)
13582
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
13583
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13584
 
      ;;
13585
 
    esac
13586
 
    ;;
13587
 
 
13588
 
  *)
13589
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13590
 
    ;;
13591
 
  esac
13592
 
  dynamic_linker='Win32 ld.exe'
13593
 
  # FIXME: first we should search . and the directory the executable is in
13594
 
  shlibpath_var=PATH
13595
 
  ;;
13596
 
 
13597
 
darwin* | rhapsody*)
13598
 
  dynamic_linker="$host_os dyld"
13599
 
  version_type=darwin
13600
 
  need_lib_prefix=no
13601
 
  need_version=no
13602
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13603
 
  soname_spec='${libname}${release}${major}$shared_ext'
13604
 
  shlibpath_overrides_runpath=yes
13605
 
  shlibpath_var=DYLD_LIBRARY_PATH
13606
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13607
 
 
13608
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13609
 
  ;;
13610
 
 
13611
 
dgux*)
13612
 
  version_type=linux
13613
 
  need_lib_prefix=no
13614
 
  need_version=no
13615
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13616
 
  soname_spec='${libname}${release}${shared_ext}$major'
13617
 
  shlibpath_var=LD_LIBRARY_PATH
13618
 
  ;;
13619
 
 
13620
 
freebsd1*)
13621
 
  dynamic_linker=no
13622
 
  ;;
13623
 
 
13624
 
freebsd* | dragonfly*)
13625
 
  # DragonFly does not have aout.  When/if they implement a new
13626
 
  # versioning mechanism, adjust this.
13627
 
  if test -x /usr/bin/objformat; then
13628
 
    objformat=`/usr/bin/objformat`
13629
 
  else
13630
 
    case $host_os in
13631
 
    freebsd[123]*) objformat=aout ;;
13632
 
    *) objformat=elf ;;
13633
 
    esac
13634
 
  fi
13635
 
  version_type=freebsd-$objformat
13636
 
  case $version_type in
13637
 
    freebsd-elf*)
13638
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13639
 
      need_version=no
13640
 
      need_lib_prefix=no
13641
 
      ;;
13642
 
    freebsd-*)
13643
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13644
 
      need_version=yes
13645
 
      ;;
13646
 
  esac
13647
 
  shlibpath_var=LD_LIBRARY_PATH
13648
 
  case $host_os in
13649
 
  freebsd2*)
13650
 
    shlibpath_overrides_runpath=yes
13651
 
    ;;
13652
 
  freebsd3.[01]* | freebsdelf3.[01]*)
13653
 
    shlibpath_overrides_runpath=yes
13654
 
    hardcode_into_libs=yes
13655
 
    ;;
13656
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13657
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13658
 
    shlibpath_overrides_runpath=no
13659
 
    hardcode_into_libs=yes
13660
 
    ;;
13661
 
  *) # from 4.6 on, and DragonFly
13662
 
    shlibpath_overrides_runpath=yes
13663
 
    hardcode_into_libs=yes
13664
 
    ;;
13665
 
  esac
13666
 
  ;;
13667
 
 
13668
 
gnu*)
13669
 
  version_type=linux
13670
 
  need_lib_prefix=no
13671
 
  need_version=no
13672
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13673
 
  soname_spec='${libname}${release}${shared_ext}$major'
13674
 
  shlibpath_var=LD_LIBRARY_PATH
13675
 
  hardcode_into_libs=yes
13676
 
  ;;
13677
 
 
13678
 
hpux9* | hpux10* | hpux11*)
13679
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
13680
 
  # link against other versions.
13681
 
  version_type=sunos
13682
 
  need_lib_prefix=no
13683
 
  need_version=no
13684
 
  case $host_cpu in
13685
 
  ia64*)
13686
 
    shrext_cmds='.so'
13687
 
    hardcode_into_libs=yes
13688
 
    dynamic_linker="$host_os dld.so"
13689
 
    shlibpath_var=LD_LIBRARY_PATH
13690
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13691
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13692
 
    soname_spec='${libname}${release}${shared_ext}$major'
13693
 
    if test "X$HPUX_IA64_MODE" = X32; then
13694
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13695
 
    else
13696
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13697
 
    fi
13698
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13699
 
    ;;
13700
 
   hppa*64*)
13701
 
     shrext_cmds='.sl'
13702
 
     hardcode_into_libs=yes
13703
 
     dynamic_linker="$host_os dld.sl"
13704
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13705
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13706
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13707
 
     soname_spec='${libname}${release}${shared_ext}$major'
13708
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13709
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13710
 
     ;;
13711
 
   *)
13712
 
    shrext_cmds='.sl'
13713
 
    dynamic_linker="$host_os dld.sl"
13714
 
    shlibpath_var=SHLIB_PATH
13715
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13716
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13717
 
    soname_spec='${libname}${release}${shared_ext}$major'
13718
 
    ;;
13719
 
  esac
13720
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
13721
 
  postinstall_cmds='chmod 555 $lib'
13722
 
  ;;
13723
 
 
13724
 
interix[3-9]*)
13725
 
  version_type=linux
13726
 
  need_lib_prefix=no
13727
 
  need_version=no
13728
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13729
 
  soname_spec='${libname}${release}${shared_ext}$major'
13730
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13731
 
  shlibpath_var=LD_LIBRARY_PATH
13732
 
  shlibpath_overrides_runpath=no
13733
 
  hardcode_into_libs=yes
13734
 
  ;;
13735
 
 
13736
 
irix5* | irix6* | nonstopux*)
13737
 
  case $host_os in
13738
 
    nonstopux*) version_type=nonstopux ;;
13739
 
    *)
13740
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
13741
 
                version_type=linux
13742
 
        else
13743
 
                version_type=irix
13744
 
        fi ;;
13745
 
  esac
13746
 
  need_lib_prefix=no
13747
 
  need_version=no
13748
 
  soname_spec='${libname}${release}${shared_ext}$major'
13749
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13750
 
  case $host_os in
13751
 
  irix5* | nonstopux*)
13752
 
    libsuff= shlibsuff=
13753
 
    ;;
13754
 
  *)
13755
 
    case $LD in # libtool.m4 will add one of these switches to LD
13756
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13757
 
      libsuff= shlibsuff= libmagic=32-bit;;
13758
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13759
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
13760
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13761
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
13762
 
    *) libsuff= shlibsuff= libmagic=never-match;;
13763
 
    esac
13764
 
    ;;
13765
 
  esac
13766
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13767
 
  shlibpath_overrides_runpath=no
13768
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13769
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13770
 
  hardcode_into_libs=yes
13771
 
  ;;
13772
 
 
13773
 
# No shared lib support for Linux oldld, aout, or coff.
13774
 
linux*oldld* | linux*aout* | linux*coff*)
13775
 
  dynamic_linker=no
13776
 
  ;;
13777
 
 
13778
 
# This must be Linux ELF.
13779
 
linux* | k*bsd*-gnu)
13780
 
  version_type=linux
13781
 
  need_lib_prefix=no
13782
 
  need_version=no
13783
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13784
 
  soname_spec='${libname}${release}${shared_ext}$major'
13785
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13786
 
  shlibpath_var=LD_LIBRARY_PATH
13787
 
  shlibpath_overrides_runpath=no
13788
 
  # This implies no fast_install, which is unacceptable.
13789
 
  # Some rework will be needed to allow for fast_install
13790
 
  # before this can be enabled.
13791
 
  hardcode_into_libs=yes
13792
 
 
13793
 
  # Append ld.so.conf contents to the search path
13794
 
  if test -f /etc/ld.so.conf; then
13795
 
    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' ' '`
13796
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13797
 
  fi
13798
 
 
13799
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
13800
 
  # powerpc, because MkLinux only supported shared libraries with the
13801
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
13802
 
  # most powerpc-linux boxes support dynamic linking these days and
13803
 
  # people can always --disable-shared, the test was removed, and we
13804
 
  # assume the GNU/Linux dynamic linker is in use.
13805
 
  dynamic_linker='GNU/Linux ld.so'
13806
 
  ;;
13807
 
 
13808
 
netbsdelf*-gnu)
13809
 
  version_type=linux
13810
 
  need_lib_prefix=no
13811
 
  need_version=no
13812
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13813
 
  soname_spec='${libname}${release}${shared_ext}$major'
13814
 
  shlibpath_var=LD_LIBRARY_PATH
13815
 
  shlibpath_overrides_runpath=no
13816
 
  hardcode_into_libs=yes
13817
 
  dynamic_linker='NetBSD ld.elf_so'
13818
 
  ;;
13819
 
 
13820
 
netbsd*)
13821
 
  version_type=sunos
13822
 
  need_lib_prefix=no
13823
 
  need_version=no
13824
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13825
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13826
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13827
 
    dynamic_linker='NetBSD (a.out) ld.so'
13828
 
  else
13829
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13830
 
    soname_spec='${libname}${release}${shared_ext}$major'
13831
 
    dynamic_linker='NetBSD ld.elf_so'
13832
 
  fi
13833
 
  shlibpath_var=LD_LIBRARY_PATH
13834
 
  shlibpath_overrides_runpath=yes
13835
 
  hardcode_into_libs=yes
13836
 
  ;;
13837
 
 
13838
 
newsos6)
13839
 
  version_type=linux
13840
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13841
 
  shlibpath_var=LD_LIBRARY_PATH
13842
 
  shlibpath_overrides_runpath=yes
13843
 
  ;;
13844
 
 
13845
 
nto-qnx*)
13846
 
  version_type=linux
13847
 
  need_lib_prefix=no
13848
 
  need_version=no
13849
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13850
 
  soname_spec='${libname}${release}${shared_ext}$major'
13851
 
  shlibpath_var=LD_LIBRARY_PATH
13852
 
  shlibpath_overrides_runpath=yes
13853
 
  ;;
13854
 
 
13855
 
openbsd*)
13856
 
  version_type=sunos
13857
 
  sys_lib_dlsearch_path_spec="/usr/lib"
13858
 
  need_lib_prefix=no
13859
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13860
 
  case $host_os in
13861
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13862
 
    *)                         need_version=no  ;;
13863
 
  esac
13864
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13865
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13866
 
  shlibpath_var=LD_LIBRARY_PATH
13867
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13868
 
    case $host_os in
13869
 
      openbsd2.[89] | openbsd2.[89].*)
13870
 
        shlibpath_overrides_runpath=no
13871
 
        ;;
13872
 
      *)
13873
 
        shlibpath_overrides_runpath=yes
13874
 
        ;;
13875
 
      esac
13876
 
  else
13877
 
    shlibpath_overrides_runpath=yes
13878
 
  fi
13879
 
  ;;
13880
 
 
13881
 
os2*)
13882
 
  libname_spec='$name'
13883
 
  shrext_cmds=".dll"
13884
 
  need_lib_prefix=no
13885
 
  library_names_spec='$libname${shared_ext} $libname.a'
13886
 
  dynamic_linker='OS/2 ld.exe'
13887
 
  shlibpath_var=LIBPATH
13888
 
  ;;
13889
 
 
13890
 
osf3* | osf4* | osf5*)
13891
 
  version_type=osf
13892
 
  need_lib_prefix=no
13893
 
  need_version=no
13894
 
  soname_spec='${libname}${release}${shared_ext}$major'
13895
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13896
 
  shlibpath_var=LD_LIBRARY_PATH
13897
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13898
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13899
 
  ;;
13900
 
 
13901
 
rdos*)
13902
 
  dynamic_linker=no
13903
 
  ;;
13904
 
 
13905
 
solaris*)
13906
 
  version_type=linux
13907
 
  need_lib_prefix=no
13908
 
  need_version=no
13909
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13910
 
  soname_spec='${libname}${release}${shared_ext}$major'
13911
 
  shlibpath_var=LD_LIBRARY_PATH
13912
 
  shlibpath_overrides_runpath=yes
13913
 
  hardcode_into_libs=yes
13914
 
  # ldd complains unless libraries are executable
13915
 
  postinstall_cmds='chmod +x $lib'
13916
 
  ;;
13917
 
 
13918
 
sunos4*)
13919
 
  version_type=sunos
13920
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13921
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13922
 
  shlibpath_var=LD_LIBRARY_PATH
13923
 
  shlibpath_overrides_runpath=yes
13924
 
  if test "$with_gnu_ld" = yes; then
13925
 
    need_lib_prefix=no
13926
 
  fi
13927
 
  need_version=yes
13928
 
  ;;
13929
 
 
13930
 
sysv4 | sysv4.3*)
13931
 
  version_type=linux
13932
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13933
 
  soname_spec='${libname}${release}${shared_ext}$major'
13934
 
  shlibpath_var=LD_LIBRARY_PATH
13935
 
  case $host_vendor in
13936
 
    sni)
13937
 
      shlibpath_overrides_runpath=no
13938
 
      need_lib_prefix=no
13939
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
13940
 
      runpath_var=LD_RUN_PATH
13941
 
      ;;
13942
 
    siemens)
13943
 
      need_lib_prefix=no
13944
 
      ;;
13945
 
    motorola)
13946
 
      need_lib_prefix=no
13947
 
      need_version=no
13948
 
      shlibpath_overrides_runpath=no
13949
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13950
 
      ;;
13951
 
  esac
13952
 
  ;;
13953
 
 
13954
 
sysv4*MP*)
13955
 
  if test -d /usr/nec ;then
13956
 
    version_type=linux
13957
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13958
 
    soname_spec='$libname${shared_ext}.$major'
13959
 
    shlibpath_var=LD_LIBRARY_PATH
13960
 
  fi
13961
 
  ;;
13962
 
 
13963
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13964
 
  version_type=freebsd-elf
13965
 
  need_lib_prefix=no
13966
 
  need_version=no
13967
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13968
 
  soname_spec='${libname}${release}${shared_ext}$major'
13969
 
  shlibpath_var=LD_LIBRARY_PATH
13970
 
  hardcode_into_libs=yes
13971
 
  if test "$with_gnu_ld" = yes; then
13972
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13973
 
    shlibpath_overrides_runpath=no
13974
 
  else
13975
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13976
 
    shlibpath_overrides_runpath=yes
13977
 
    case $host_os in
13978
 
      sco3.2v5*)
13979
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13980
 
        ;;
13981
 
    esac
13982
 
  fi
13983
 
  sys_lib_dlsearch_path_spec='/usr/lib'
13984
 
  ;;
13985
 
 
13986
 
uts4*)
13987
 
  version_type=linux
13988
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13989
 
  soname_spec='${libname}${release}${shared_ext}$major'
13990
 
  shlibpath_var=LD_LIBRARY_PATH
13991
 
  ;;
13992
 
 
13993
 
*)
13994
 
  dynamic_linker=no
13995
 
  ;;
13996
 
esac
13997
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13998
 
echo "${ECHO_T}$dynamic_linker" >&6; }
13999
 
test "$dynamic_linker" = no && can_build_shared=no
14000
 
 
14001
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14002
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14003
 
else
14004
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
14005
 
fi
14006
 
 
14007
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14008
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14009
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14010
 
else
14011
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
14012
 
fi
14013
 
 
14014
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14015
 
 
14016
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14017
 
if test "$GCC" = yes; then
14018
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14019
 
fi
14020
 
 
14021
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14022
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
14023
 
hardcode_action_CXX=
14024
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
14025
 
   test -n "$runpath_var_CXX" || \
14026
 
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
14027
 
 
14028
 
  # We can hardcode non-existant directories.
14029
 
  if test "$hardcode_direct_CXX" != no &&
14030
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
14031
 
     # have to relink, otherwise we might link with an installed library
14032
 
     # when we should be linking with a yet-to-be-installed one
14033
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14034
 
     test "$hardcode_minus_L_CXX" != no; then
14035
 
    # Linking always hardcodes the temporary library directory.
14036
 
    hardcode_action_CXX=relink
14037
 
  else
14038
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
14039
 
    hardcode_action_CXX=immediate
14040
 
  fi
14041
 
else
14042
 
  # We cannot hardcode anything, or else we can only hardcode existing
14043
 
  # directories.
14044
 
  hardcode_action_CXX=unsupported
14045
 
fi
14046
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14047
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
14048
 
 
14049
 
if test "$hardcode_action_CXX" = relink; then
14050
 
  # Fast installation is not supported
14051
 
  enable_fast_install=no
14052
 
elif test "$shlibpath_overrides_runpath" = yes ||
14053
 
     test "$enable_shared" = no; then
14054
 
  # Fast installation is not necessary
14055
 
  enable_fast_install=needless
14056
 
fi
14057
 
 
14058
 
 
14059
 
# The else clause should only fire when bootstrapping the
14060
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
14061
 
# with your package, and you will get complaints that there are
14062
 
# no rules to generate ltmain.sh.
14063
 
if test -f "$ltmain"; then
14064
 
  # See if we are running on zsh, and set the options which allow our commands through
14065
 
  # without removal of \ escapes.
14066
 
  if test -n "${ZSH_VERSION+set}" ; then
14067
 
    setopt NO_GLOB_SUBST
14068
 
  fi
14069
 
  # Now quote all the things that may contain metacharacters while being
14070
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
14071
 
  # variables and quote the copies for generation of the libtool script.
14072
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
14073
 
    SED SHELL STRIP \
14074
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14075
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14076
 
    deplibs_check_method reload_flag reload_cmds need_locks \
14077
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14078
 
    lt_cv_sys_global_symbol_to_c_name_address \
14079
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14080
 
    old_postinstall_cmds old_postuninstall_cmds \
14081
 
    compiler_CXX \
14082
 
    CC_CXX \
14083
 
    LD_CXX \
14084
 
    lt_prog_compiler_wl_CXX \
14085
 
    lt_prog_compiler_pic_CXX \
14086
 
    lt_prog_compiler_static_CXX \
14087
 
    lt_prog_compiler_no_builtin_flag_CXX \
14088
 
    export_dynamic_flag_spec_CXX \
14089
 
    thread_safe_flag_spec_CXX \
14090
 
    whole_archive_flag_spec_CXX \
14091
 
    enable_shared_with_static_runtimes_CXX \
14092
 
    old_archive_cmds_CXX \
14093
 
    old_archive_from_new_cmds_CXX \
14094
 
    predep_objects_CXX \
14095
 
    postdep_objects_CXX \
14096
 
    predeps_CXX \
14097
 
    postdeps_CXX \
14098
 
    compiler_lib_search_path_CXX \
14099
 
    compiler_lib_search_dirs_CXX \
14100
 
    archive_cmds_CXX \
14101
 
    archive_expsym_cmds_CXX \
14102
 
    postinstall_cmds_CXX \
14103
 
    postuninstall_cmds_CXX \
14104
 
    old_archive_from_expsyms_cmds_CXX \
14105
 
    allow_undefined_flag_CXX \
14106
 
    no_undefined_flag_CXX \
14107
 
    export_symbols_cmds_CXX \
14108
 
    hardcode_libdir_flag_spec_CXX \
14109
 
    hardcode_libdir_flag_spec_ld_CXX \
14110
 
    hardcode_libdir_separator_CXX \
14111
 
    hardcode_automatic_CXX \
14112
 
    module_cmds_CXX \
14113
 
    module_expsym_cmds_CXX \
14114
 
    lt_cv_prog_compiler_c_o_CXX \
14115
 
    fix_srcfile_path_CXX \
14116
 
    exclude_expsyms_CXX \
14117
 
    include_expsyms_CXX; do
14118
 
 
14119
 
    case $var in
14120
 
    old_archive_cmds_CXX | \
14121
 
    old_archive_from_new_cmds_CXX | \
14122
 
    archive_cmds_CXX | \
14123
 
    archive_expsym_cmds_CXX | \
14124
 
    module_cmds_CXX | \
14125
 
    module_expsym_cmds_CXX | \
14126
 
    old_archive_from_expsyms_cmds_CXX | \
14127
 
    export_symbols_cmds_CXX | \
14128
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
14129
 
    postinstall_cmds | postuninstall_cmds | \
14130
 
    old_postinstall_cmds | old_postuninstall_cmds | \
14131
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14132
 
      # Double-quote double-evaled strings.
14133
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14134
 
      ;;
14135
 
    *)
14136
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14137
 
      ;;
14138
 
    esac
14139
 
  done
14140
 
 
14141
 
  case $lt_echo in
14142
 
  *'\$0 --fallback-echo"')
14143
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14144
 
    ;;
14145
 
  esac
14146
 
 
14147
 
cfgfile="$ofile"
14148
 
 
14149
 
  cat <<__EOF__ >> "$cfgfile"
14150
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
14151
 
 
14152
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14153
 
 
14154
 
# Shell to use when invoking shell scripts.
14155
 
SHELL=$lt_SHELL
14156
 
 
14157
 
# Whether or not to build shared libraries.
14158
 
build_libtool_libs=$enable_shared
14159
 
 
14160
 
# Whether or not to build static libraries.
14161
 
build_old_libs=$enable_static
14162
 
 
14163
 
# Whether or not to add -lc for building shared libraries.
14164
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
14165
 
 
14166
 
# Whether or not to disallow shared libs when runtime libs are static
14167
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
14168
 
 
14169
 
# Whether or not to optimize for fast installation.
14170
 
fast_install=$enable_fast_install
14171
 
 
14172
 
# The host system.
14173
 
host_alias=$host_alias
14174
 
host=$host
14175
 
host_os=$host_os
14176
 
 
14177
 
# The build system.
14178
 
build_alias=$build_alias
14179
 
build=$build
14180
 
build_os=$build_os
14181
 
 
14182
 
# An echo program that does not interpret backslashes.
14183
 
echo=$lt_echo
14184
 
 
14185
 
# The archiver.
14186
 
AR=$lt_AR
14187
 
AR_FLAGS=$lt_AR_FLAGS
14188
 
 
14189
 
# A C compiler.
14190
 
LTCC=$lt_LTCC
14191
 
 
14192
 
# LTCC compiler flags.
14193
 
LTCFLAGS=$lt_LTCFLAGS
14194
 
 
14195
 
# A language-specific compiler.
14196
 
CC=$lt_compiler_CXX
14197
 
 
14198
 
# Is the compiler the GNU C compiler?
14199
 
with_gcc=$GCC_CXX
14200
 
 
14201
 
# An ERE matcher.
14202
 
EGREP=$lt_EGREP
14203
 
 
14204
 
# The linker used to build libraries.
14205
 
LD=$lt_LD_CXX
14206
 
 
14207
 
# Whether we need hard or soft links.
14208
 
LN_S=$lt_LN_S
14209
 
 
14210
 
# A BSD-compatible nm program.
14211
 
NM=$lt_NM
14212
 
 
14213
 
# A symbol stripping program
14214
 
STRIP=$lt_STRIP
14215
 
 
14216
 
# Used to examine libraries when file_magic_cmd begins "file"
14217
 
MAGIC_CMD=$MAGIC_CMD
14218
 
 
14219
 
# Used on cygwin: DLL creation program.
14220
 
DLLTOOL="$DLLTOOL"
14221
 
 
14222
 
# Used on cygwin: object dumper.
14223
 
OBJDUMP="$OBJDUMP"
14224
 
 
14225
 
# Used on cygwin: assembler.
14226
 
AS="$AS"
14227
 
 
14228
 
# The name of the directory that contains temporary libtool files.
14229
 
objdir=$objdir
14230
 
 
14231
 
# How to create reloadable object files.
14232
 
reload_flag=$lt_reload_flag
14233
 
reload_cmds=$lt_reload_cmds
14234
 
 
14235
 
# How to pass a linker flag through the compiler.
14236
 
wl=$lt_lt_prog_compiler_wl_CXX
14237
 
 
14238
 
# Object file suffix (normally "o").
14239
 
objext="$ac_objext"
14240
 
 
14241
 
# Old archive suffix (normally "a").
14242
 
libext="$libext"
14243
 
 
14244
 
# Shared library suffix (normally ".so").
14245
 
shrext_cmds='$shrext_cmds'
14246
 
 
14247
 
# Executable file suffix (normally "").
14248
 
exeext="$exeext"
14249
 
 
14250
 
# Additional compiler flags for building library objects.
14251
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
14252
 
pic_mode=$pic_mode
14253
 
 
14254
 
# What is the maximum length of a command?
14255
 
max_cmd_len=$lt_cv_sys_max_cmd_len
14256
 
 
14257
 
# Does compiler simultaneously support -c and -o options?
14258
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
14259
 
 
14260
 
# Must we lock files when doing compilation?
14261
 
need_locks=$lt_need_locks
14262
 
 
14263
 
# Do we need the lib prefix for modules?
14264
 
need_lib_prefix=$need_lib_prefix
14265
 
 
14266
 
# Do we need a version for libraries?
14267
 
need_version=$need_version
14268
 
 
14269
 
# Whether dlopen is supported.
14270
 
dlopen_support=$enable_dlopen
14271
 
 
14272
 
# Whether dlopen of programs is supported.
14273
 
dlopen_self=$enable_dlopen_self
14274
 
 
14275
 
# Whether dlopen of statically linked programs is supported.
14276
 
dlopen_self_static=$enable_dlopen_self_static
14277
 
 
14278
 
# Compiler flag to prevent dynamic linking.
14279
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
14280
 
 
14281
 
# Compiler flag to turn off builtin functions.
14282
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
14283
 
 
14284
 
# Compiler flag to allow reflexive dlopens.
14285
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
14286
 
 
14287
 
# Compiler flag to generate shared objects directly from archives.
14288
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
14289
 
 
14290
 
# Compiler flag to generate thread-safe objects.
14291
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
14292
 
 
14293
 
# Library versioning type.
14294
 
version_type=$version_type
14295
 
 
14296
 
# Format of library name prefix.
14297
 
libname_spec=$lt_libname_spec
14298
 
 
14299
 
# List of archive names.  First name is the real one, the rest are links.
14300
 
# The last name is the one that the linker finds with -lNAME.
14301
 
library_names_spec=$lt_library_names_spec
14302
 
 
14303
 
# The coded name of the library, if different from the real name.
14304
 
soname_spec=$lt_soname_spec
14305
 
 
14306
 
# Commands used to build and install an old-style archive.
14307
 
RANLIB=$lt_RANLIB
14308
 
old_archive_cmds=$lt_old_archive_cmds_CXX
14309
 
old_postinstall_cmds=$lt_old_postinstall_cmds
14310
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14311
 
 
14312
 
# Create an old-style archive from a shared archive.
14313
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
14314
 
 
14315
 
# Create a temporary old-style archive to link instead of a shared archive.
14316
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
14317
 
 
14318
 
# Commands used to build and install a shared archive.
14319
 
archive_cmds=$lt_archive_cmds_CXX
14320
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
14321
 
postinstall_cmds=$lt_postinstall_cmds
14322
 
postuninstall_cmds=$lt_postuninstall_cmds
14323
 
 
14324
 
# Commands used to build a loadable module (assumed same as above if empty)
14325
 
module_cmds=$lt_module_cmds_CXX
14326
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
14327
 
 
14328
 
# Commands to strip libraries.
14329
 
old_striplib=$lt_old_striplib
14330
 
striplib=$lt_striplib
14331
 
 
14332
 
# Dependencies to place before the objects being linked to create a
14333
 
# shared library.
14334
 
predep_objects=$lt_predep_objects_CXX
14335
 
 
14336
 
# Dependencies to place after the objects being linked to create a
14337
 
# shared library.
14338
 
postdep_objects=$lt_postdep_objects_CXX
14339
 
 
14340
 
# Dependencies to place before the objects being linked to create a
14341
 
# shared library.
14342
 
predeps=$lt_predeps_CXX
14343
 
 
14344
 
# Dependencies to place after the objects being linked to create a
14345
 
# shared library.
14346
 
postdeps=$lt_postdeps_CXX
14347
 
 
14348
 
# The directories searched by this compiler when creating a shared
14349
 
# library
14350
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
14351
 
 
14352
 
# The library search path used internally by the compiler when linking
14353
 
# a shared library.
14354
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14355
 
 
14356
 
# Method to check whether dependent libraries are shared objects.
14357
 
deplibs_check_method=$lt_deplibs_check_method
14358
 
 
14359
 
# Command to use when deplibs_check_method == file_magic.
14360
 
file_magic_cmd=$lt_file_magic_cmd
14361
 
 
14362
 
# Flag that allows shared libraries with undefined symbols to be built.
14363
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
14364
 
 
14365
 
# Flag that forces no undefined symbols.
14366
 
no_undefined_flag=$lt_no_undefined_flag_CXX
14367
 
 
14368
 
# Commands used to finish a libtool library installation in a directory.
14369
 
finish_cmds=$lt_finish_cmds
14370
 
 
14371
 
# Same as above, but a single script fragment to be evaled but not shown.
14372
 
finish_eval=$lt_finish_eval
14373
 
 
14374
 
# Take the output of nm and produce a listing of raw symbols and C names.
14375
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14376
 
 
14377
 
# Transform the output of nm in a proper C declaration
14378
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14379
 
 
14380
 
# Transform the output of nm in a C name address pair
14381
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14382
 
 
14383
 
# This is the shared library runtime path variable.
14384
 
runpath_var=$runpath_var
14385
 
 
14386
 
# This is the shared library path variable.
14387
 
shlibpath_var=$shlibpath_var
14388
 
 
14389
 
# Is shlibpath searched before the hard-coded library search path?
14390
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14391
 
 
14392
 
# How to hardcode a shared library path into an executable.
14393
 
hardcode_action=$hardcode_action_CXX
14394
 
 
14395
 
# Whether we should hardcode library paths into libraries.
14396
 
hardcode_into_libs=$hardcode_into_libs
14397
 
 
14398
 
# Flag to hardcode \$libdir into a binary during linking.
14399
 
# This must work even if \$libdir does not exist.
14400
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14401
 
 
14402
 
# If ld is used when linking, flag to hardcode \$libdir into
14403
 
# a binary during linking. This must work even if \$libdir does
14404
 
# not exist.
14405
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14406
 
 
14407
 
# Whether we need a single -rpath flag with a separated argument.
14408
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14409
 
 
14410
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14411
 
# resulting binary.
14412
 
hardcode_direct=$hardcode_direct_CXX
14413
 
 
14414
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14415
 
# resulting binary.
14416
 
hardcode_minus_L=$hardcode_minus_L_CXX
14417
 
 
14418
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14419
 
# the resulting binary.
14420
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14421
 
 
14422
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
14423
 
# and all subsequent libraries and executables linked against it.
14424
 
hardcode_automatic=$hardcode_automatic_CXX
14425
 
 
14426
 
# Variables whose values should be saved in libtool wrapper scripts and
14427
 
# restored at relink time.
14428
 
variables_saved_for_relink="$variables_saved_for_relink"
14429
 
 
14430
 
# Whether libtool must link a program against all its dependency libraries.
14431
 
link_all_deplibs=$link_all_deplibs_CXX
14432
 
 
14433
 
# Compile-time system search path for libraries
14434
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14435
 
 
14436
 
# Run-time system search path for libraries
14437
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14438
 
 
14439
 
# Fix the shell variable \$srcfile for the compiler.
14440
 
fix_srcfile_path=$lt_fix_srcfile_path
14441
 
 
14442
 
# Set to yes if exported symbols are required.
14443
 
always_export_symbols=$always_export_symbols_CXX
14444
 
 
14445
 
# The commands to list exported symbols.
14446
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
14447
 
 
14448
 
# The commands to extract the exported symbol list from a shared archive.
14449
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
14450
 
 
14451
 
# Symbols that should not be listed in the preloaded symbols.
14452
 
exclude_expsyms=$lt_exclude_expsyms_CXX
14453
 
 
14454
 
# Symbols that must always be exported.
14455
 
include_expsyms=$lt_include_expsyms_CXX
14456
 
 
14457
 
# ### END LIBTOOL TAG CONFIG: $tagname
14458
 
 
14459
 
__EOF__
14460
 
 
14461
 
 
14462
 
else
14463
 
  # If there is no Makefile yet, we rely on a make rule to execute
14464
 
  # `config.status --recheck' to rerun these tests and create the
14465
 
  # libtool script then.
14466
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14467
 
  if test -f "$ltmain_in"; then
14468
 
    test -f Makefile && make "$ltmain"
14469
 
  fi
14470
 
fi
14471
 
 
14472
 
 
14473
 
ac_ext=c
14474
 
ac_cpp='$CPP $CPPFLAGS'
14475
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14476
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14477
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14478
 
 
14479
 
CC=$lt_save_CC
14480
 
LDCXX=$LD
14481
 
LD=$lt_save_LD
14482
 
GCC=$lt_save_GCC
14483
 
with_gnu_ldcxx=$with_gnu_ld
14484
 
with_gnu_ld=$lt_save_with_gnu_ld
14485
 
lt_cv_path_LDCXX=$lt_cv_path_LD
14486
 
lt_cv_path_LD=$lt_save_path_LD
14487
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14488
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14489
 
 
14490
 
        else
14491
 
          tagname=""
14492
 
        fi
14493
 
        ;;
14494
 
 
14495
 
      F77)
14496
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
14497
 
 
14498
 
ac_ext=f
14499
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14500
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14501
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
14502
 
 
14503
 
 
14504
 
archive_cmds_need_lc_F77=no
14505
 
allow_undefined_flag_F77=
14506
 
always_export_symbols_F77=no
14507
 
archive_expsym_cmds_F77=
14508
 
export_dynamic_flag_spec_F77=
14509
 
hardcode_direct_F77=no
14510
 
hardcode_libdir_flag_spec_F77=
14511
 
hardcode_libdir_flag_spec_ld_F77=
14512
 
hardcode_libdir_separator_F77=
14513
 
hardcode_minus_L_F77=no
14514
 
hardcode_automatic_F77=no
14515
 
module_cmds_F77=
14516
 
module_expsym_cmds_F77=
14517
 
link_all_deplibs_F77=unknown
14518
 
old_archive_cmds_F77=$old_archive_cmds
14519
 
no_undefined_flag_F77=
14520
 
whole_archive_flag_spec_F77=
14521
 
enable_shared_with_static_runtimes_F77=no
14522
 
 
14523
 
# Source file extension for f77 test sources.
14524
 
ac_ext=f
14525
 
 
14526
 
# Object file extension for compiled f77 test sources.
14527
 
objext=o
14528
 
objext_F77=$objext
14529
 
 
14530
 
# Code to be used in simple compile tests
14531
 
lt_simple_compile_test_code="\
14532
 
      subroutine t
14533
 
      return
14534
 
      end
14535
 
"
14536
 
 
14537
 
# Code to be used in simple link tests
14538
 
lt_simple_link_test_code="\
14539
 
      program t
14540
 
      end
14541
 
"
14542
 
 
14543
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
14544
 
 
14545
 
# If no C compiler was specified, use CC.
14546
 
LTCC=${LTCC-"$CC"}
14547
 
 
14548
 
# If no C compiler flags were specified, use CFLAGS.
14549
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14550
 
 
14551
 
# Allow CC to be a program name with arguments.
14552
 
compiler=$CC
14553
 
 
14554
 
 
14555
 
# save warnings/boilerplate of simple test code
14556
 
ac_outfile=conftest.$ac_objext
14557
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14558
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14559
 
_lt_compiler_boilerplate=`cat conftest.err`
14560
 
$rm conftest*
14561
 
 
14562
 
ac_outfile=conftest.$ac_objext
14563
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
14564
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14565
 
_lt_linker_boilerplate=`cat conftest.err`
14566
 
$rm -r conftest*
14567
 
 
14568
 
 
14569
 
# Allow CC to be a program name with arguments.
14570
 
lt_save_CC="$CC"
14571
 
CC=${F77-"f77"}
14572
 
compiler=$CC
14573
 
compiler_F77=$CC
14574
 
for cc_temp in $compiler""; do
14575
 
  case $cc_temp in
14576
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14577
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14578
 
    \-*) ;;
14579
 
    *) break;;
14580
 
  esac
14581
 
done
14582
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14583
 
 
14584
 
 
14585
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14586
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14587
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
14588
 
echo "${ECHO_T}$can_build_shared" >&6; }
14589
 
 
14590
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14591
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14592
 
test "$can_build_shared" = "no" && enable_shared=no
14593
 
 
14594
 
# On AIX, shared libraries and static libraries use the same namespace, and
14595
 
# are all built from PIC.
14596
 
case $host_os in
14597
 
aix3*)
14598
 
  test "$enable_shared" = yes && enable_static=no
14599
 
  if test -n "$RANLIB"; then
14600
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
14601
 
    postinstall_cmds='$RANLIB $lib'
14602
 
  fi
14603
 
  ;;
14604
 
aix[4-9]*)
14605
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14606
 
    test "$enable_shared" = yes && enable_static=no
14607
 
  fi
14608
 
  ;;
14609
 
esac
14610
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
14611
 
echo "${ECHO_T}$enable_shared" >&6; }
14612
 
 
14613
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14614
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14615
 
# Make sure either enable_shared or enable_static is yes.
14616
 
test "$enable_shared" = yes || enable_static=yes
14617
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
14618
 
echo "${ECHO_T}$enable_static" >&6; }
14619
 
 
14620
 
GCC_F77="$G77"
14621
 
LD_F77="$LD"
14622
 
 
14623
 
lt_prog_compiler_wl_F77=
14624
 
lt_prog_compiler_pic_F77=
14625
 
lt_prog_compiler_static_F77=
14626
 
 
14627
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14628
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14629
 
 
14630
 
  if test "$GCC" = yes; then
14631
 
    lt_prog_compiler_wl_F77='-Wl,'
14632
 
    lt_prog_compiler_static_F77='-static'
14633
 
 
14634
 
    case $host_os in
14635
 
      aix*)
14636
 
      # All AIX code is PIC.
14637
 
      if test "$host_cpu" = ia64; then
14638
 
        # AIX 5 now supports IA64 processor
14639
 
        lt_prog_compiler_static_F77='-Bstatic'
14640
 
      fi
14641
 
      ;;
14642
 
 
14643
 
    amigaos*)
14644
 
      # FIXME: we need at least 68020 code to build shared libraries, but
14645
 
      # adding the `-m68020' flag to GCC prevents building anything better,
14646
 
      # like `-m68040'.
14647
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
14648
 
      ;;
14649
 
 
14650
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14651
 
      # PIC is the default for these OSes.
14652
 
      ;;
14653
 
 
14654
 
    mingw* | cygwin* | pw32* | os2*)
14655
 
      # This hack is so that the source file can tell whether it is being
14656
 
      # built for inclusion in a dll (and should export symbols for example).
14657
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
14658
 
      # (--disable-auto-import) libraries
14659
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14660
 
      ;;
14661
 
 
14662
 
    darwin* | rhapsody*)
14663
 
      # PIC is the default on this platform
14664
 
      # Common symbols not allowed in MH_DYLIB files
14665
 
      lt_prog_compiler_pic_F77='-fno-common'
14666
 
      ;;
14667
 
 
14668
 
    interix[3-9]*)
14669
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14670
 
      # Instead, we relocate shared libraries at runtime.
14671
 
      ;;
14672
 
 
14673
 
    msdosdjgpp*)
14674
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
14675
 
      # on systems that don't support them.
14676
 
      lt_prog_compiler_can_build_shared_F77=no
14677
 
      enable_shared=no
14678
 
      ;;
14679
 
 
14680
 
    sysv4*MP*)
14681
 
      if test -d /usr/nec; then
14682
 
        lt_prog_compiler_pic_F77=-Kconform_pic
14683
 
      fi
14684
 
      ;;
14685
 
 
14686
 
    hpux*)
14687
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14688
 
      # not for PA HP-UX.
14689
 
      case $host_cpu in
14690
 
      hppa*64*|ia64*)
14691
 
        # +Z the default
14692
 
        ;;
14693
 
      *)
14694
 
        lt_prog_compiler_pic_F77='-fPIC'
14695
 
        ;;
14696
 
      esac
14697
 
      ;;
14698
 
 
14699
 
    *)
14700
 
      lt_prog_compiler_pic_F77='-fPIC'
14701
 
      ;;
14702
 
    esac
14703
 
  else
14704
 
    # PORTME Check for flag to pass linker flags through the system compiler.
14705
 
    case $host_os in
14706
 
    aix*)
14707
 
      lt_prog_compiler_wl_F77='-Wl,'
14708
 
      if test "$host_cpu" = ia64; then
14709
 
        # AIX 5 now supports IA64 processor
14710
 
        lt_prog_compiler_static_F77='-Bstatic'
14711
 
      else
14712
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
14713
 
      fi
14714
 
      ;;
14715
 
      darwin*)
14716
 
        # PIC is the default on this platform
14717
 
        # Common symbols not allowed in MH_DYLIB files
14718
 
       case $cc_basename in
14719
 
         xlc*)
14720
 
         lt_prog_compiler_pic_F77='-qnocommon'
14721
 
         lt_prog_compiler_wl_F77='-Wl,'
14722
 
         ;;
14723
 
       esac
14724
 
       ;;
14725
 
 
14726
 
    mingw* | cygwin* | pw32* | os2*)
14727
 
      # This hack is so that the source file can tell whether it is being
14728
 
      # built for inclusion in a dll (and should export symbols for example).
14729
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14730
 
      ;;
14731
 
 
14732
 
    hpux9* | hpux10* | hpux11*)
14733
 
      lt_prog_compiler_wl_F77='-Wl,'
14734
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14735
 
      # not for PA HP-UX.
14736
 
      case $host_cpu in
14737
 
      hppa*64*|ia64*)
14738
 
        # +Z the default
14739
 
        ;;
14740
 
      *)
14741
 
        lt_prog_compiler_pic_F77='+Z'
14742
 
        ;;
14743
 
      esac
14744
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
14745
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
14746
 
      ;;
14747
 
 
14748
 
    irix5* | irix6* | nonstopux*)
14749
 
      lt_prog_compiler_wl_F77='-Wl,'
14750
 
      # PIC (with -KPIC) is the default.
14751
 
      lt_prog_compiler_static_F77='-non_shared'
14752
 
      ;;
14753
 
 
14754
 
    newsos6)
14755
 
      lt_prog_compiler_pic_F77='-KPIC'
14756
 
      lt_prog_compiler_static_F77='-Bstatic'
14757
 
      ;;
14758
 
 
14759
 
    linux* | k*bsd*-gnu)
14760
 
      case $cc_basename in
14761
 
      icc* | ecc*)
14762
 
        lt_prog_compiler_wl_F77='-Wl,'
14763
 
        lt_prog_compiler_pic_F77='-KPIC'
14764
 
        lt_prog_compiler_static_F77='-static'
14765
 
        ;;
14766
 
      pgcc* | pgf77* | pgf90* | pgf95*)
14767
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
14768
 
        # which looks to be a dead project)
14769
 
        lt_prog_compiler_wl_F77='-Wl,'
14770
 
        lt_prog_compiler_pic_F77='-fpic'
14771
 
        lt_prog_compiler_static_F77='-Bstatic'
14772
 
        ;;
14773
 
      ccc*)
14774
 
        lt_prog_compiler_wl_F77='-Wl,'
14775
 
        # All Alpha code is PIC.
14776
 
        lt_prog_compiler_static_F77='-non_shared'
14777
 
        ;;
14778
 
      *)
14779
 
        case `$CC -V 2>&1 | sed 5q` in
14780
 
        *Sun\ C*)
14781
 
          # Sun C 5.9
14782
 
          lt_prog_compiler_pic_F77='-KPIC'
14783
 
          lt_prog_compiler_static_F77='-Bstatic'
14784
 
          lt_prog_compiler_wl_F77='-Wl,'
14785
 
          ;;
14786
 
        *Sun\ F*)
14787
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
14788
 
          lt_prog_compiler_pic_F77='-KPIC'
14789
 
          lt_prog_compiler_static_F77='-Bstatic'
14790
 
          lt_prog_compiler_wl_F77=''
14791
 
          ;;
14792
 
        esac
14793
 
        ;;
14794
 
      esac
14795
 
      ;;
14796
 
 
14797
 
    osf3* | osf4* | osf5*)
14798
 
      lt_prog_compiler_wl_F77='-Wl,'
14799
 
      # All OSF/1 code is PIC.
14800
 
      lt_prog_compiler_static_F77='-non_shared'
14801
 
      ;;
14802
 
 
14803
 
    rdos*)
14804
 
      lt_prog_compiler_static_F77='-non_shared'
14805
 
      ;;
14806
 
 
14807
 
    solaris*)
14808
 
      lt_prog_compiler_pic_F77='-KPIC'
14809
 
      lt_prog_compiler_static_F77='-Bstatic'
14810
 
      case $cc_basename in
14811
 
      f77* | f90* | f95*)
14812
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
14813
 
      *)
14814
 
        lt_prog_compiler_wl_F77='-Wl,';;
14815
 
      esac
14816
 
      ;;
14817
 
 
14818
 
    sunos4*)
14819
 
      lt_prog_compiler_wl_F77='-Qoption ld '
14820
 
      lt_prog_compiler_pic_F77='-PIC'
14821
 
      lt_prog_compiler_static_F77='-Bstatic'
14822
 
      ;;
14823
 
 
14824
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
14825
 
      lt_prog_compiler_wl_F77='-Wl,'
14826
 
      lt_prog_compiler_pic_F77='-KPIC'
14827
 
      lt_prog_compiler_static_F77='-Bstatic'
14828
 
      ;;
14829
 
 
14830
 
    sysv4*MP*)
14831
 
      if test -d /usr/nec ;then
14832
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
14833
 
        lt_prog_compiler_static_F77='-Bstatic'
14834
 
      fi
14835
 
      ;;
14836
 
 
14837
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14838
 
      lt_prog_compiler_wl_F77='-Wl,'
14839
 
      lt_prog_compiler_pic_F77='-KPIC'
14840
 
      lt_prog_compiler_static_F77='-Bstatic'
14841
 
      ;;
14842
 
 
14843
 
    unicos*)
14844
 
      lt_prog_compiler_wl_F77='-Wl,'
14845
 
      lt_prog_compiler_can_build_shared_F77=no
14846
 
      ;;
14847
 
 
14848
 
    uts4*)
14849
 
      lt_prog_compiler_pic_F77='-pic'
14850
 
      lt_prog_compiler_static_F77='-Bstatic'
14851
 
      ;;
14852
 
 
14853
 
    *)
14854
 
      lt_prog_compiler_can_build_shared_F77=no
14855
 
      ;;
14856
 
    esac
14857
 
  fi
14858
 
 
14859
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14860
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14861
 
 
14862
 
#
14863
 
# Check to make sure the PIC flag actually works.
14864
 
#
14865
 
if test -n "$lt_prog_compiler_pic_F77"; then
14866
 
 
14867
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14868
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14869
 
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
14870
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14871
 
else
14872
 
  lt_cv_prog_compiler_pic_works_F77=no
14873
 
  ac_outfile=conftest.$ac_objext
14874
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14875
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
14876
 
   # Insert the option either (1) after the last *FLAGS variable, or
14877
 
   # (2) before a word containing "conftest.", or (3) at the end.
14878
 
   # Note that $ac_compile itself does not contain backslashes and begins
14879
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14880
 
   # The option is referenced via a variable to avoid confusing sed.
14881
 
   lt_compile=`echo "$ac_compile" | $SED \
14882
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14883
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14884
 
   -e 's:$: $lt_compiler_flag:'`
14885
 
   (eval echo "\"\$as_me:14885: $lt_compile\"" >&5)
14886
 
   (eval "$lt_compile" 2>conftest.err)
14887
 
   ac_status=$?
14888
 
   cat conftest.err >&5
14889
 
   echo "$as_me:14889: \$? = $ac_status" >&5
14890
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
14891
 
     # The compiler can only warn and ignore the option if not recognized
14892
 
     # So say no if there are warnings other than the usual output.
14893
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14894
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14895
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14896
 
       lt_cv_prog_compiler_pic_works_F77=yes
14897
 
     fi
14898
 
   fi
14899
 
   $rm conftest*
14900
 
 
14901
 
fi
14902
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
14903
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
14904
 
 
14905
 
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
14906
 
    case $lt_prog_compiler_pic_F77 in
14907
 
     "" | " "*) ;;
14908
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
14909
 
     esac
14910
 
else
14911
 
    lt_prog_compiler_pic_F77=
14912
 
     lt_prog_compiler_can_build_shared_F77=no
14913
 
fi
14914
 
 
14915
 
fi
14916
 
case $host_os in
14917
 
  # For platforms which do not support PIC, -DPIC is meaningless:
14918
 
  *djgpp*)
14919
 
    lt_prog_compiler_pic_F77=
14920
 
    ;;
14921
 
  *)
14922
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
14923
 
    ;;
14924
 
esac
14925
 
 
14926
 
#
14927
 
# Check to make sure the static flag actually works.
14928
 
#
14929
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
14930
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14931
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14932
 
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
14933
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14934
 
else
14935
 
  lt_cv_prog_compiler_static_works_F77=no
14936
 
   save_LDFLAGS="$LDFLAGS"
14937
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14938
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14939
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14940
 
     # The linker can only warn and ignore the option if not recognized
14941
 
     # So say no if there are warnings
14942
 
     if test -s conftest.err; then
14943
 
       # Append any errors to the config.log.
14944
 
       cat conftest.err 1>&5
14945
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14946
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14947
 
       if diff conftest.exp conftest.er2 >/dev/null; then
14948
 
         lt_cv_prog_compiler_static_works_F77=yes
14949
 
       fi
14950
 
     else
14951
 
       lt_cv_prog_compiler_static_works_F77=yes
14952
 
     fi
14953
 
   fi
14954
 
   $rm -r conftest*
14955
 
   LDFLAGS="$save_LDFLAGS"
14956
 
 
14957
 
fi
14958
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
14959
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
14960
 
 
14961
 
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
14962
 
    :
14963
 
else
14964
 
    lt_prog_compiler_static_F77=
14965
 
fi
14966
 
 
14967
 
 
14968
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14969
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14970
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14971
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14972
 
else
14973
 
  lt_cv_prog_compiler_c_o_F77=no
14974
 
   $rm -r conftest 2>/dev/null
14975
 
   mkdir conftest
14976
 
   cd conftest
14977
 
   mkdir out
14978
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14979
 
 
14980
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14981
 
   # Insert the option either (1) after the last *FLAGS variable, or
14982
 
   # (2) before a word containing "conftest.", or (3) at the end.
14983
 
   # Note that $ac_compile itself does not contain backslashes and begins
14984
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14985
 
   lt_compile=`echo "$ac_compile" | $SED \
14986
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14987
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14988
 
   -e 's:$: $lt_compiler_flag:'`
14989
 
   (eval echo "\"\$as_me:14989: $lt_compile\"" >&5)
14990
 
   (eval "$lt_compile" 2>out/conftest.err)
14991
 
   ac_status=$?
14992
 
   cat out/conftest.err >&5
14993
 
   echo "$as_me:14993: \$? = $ac_status" >&5
14994
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14995
 
   then
14996
 
     # The compiler can only warn and ignore the option if not recognized
14997
 
     # So say no if there are warnings
14998
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14999
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15000
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15001
 
       lt_cv_prog_compiler_c_o_F77=yes
15002
 
     fi
15003
 
   fi
15004
 
   chmod u+w . 2>&5
15005
 
   $rm conftest*
15006
 
   # SGI C++ compiler will create directory out/ii_files/ for
15007
 
   # template instantiation
15008
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15009
 
   $rm out/* && rmdir out
15010
 
   cd ..
15011
 
   rmdir conftest
15012
 
   $rm conftest*
15013
 
 
15014
 
fi
15015
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15016
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
15017
 
 
15018
 
 
15019
 
hard_links="nottested"
15020
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
15021
 
  # do not overwrite the value of need_locks provided by the user
15022
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15023
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15024
 
  hard_links=yes
15025
 
  $rm conftest*
15026
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15027
 
  touch conftest.a
15028
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
15029
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15030
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
15031
 
echo "${ECHO_T}$hard_links" >&6; }
15032
 
  if test "$hard_links" = no; then
15033
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15034
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15035
 
    need_locks=warn
15036
 
  fi
15037
 
else
15038
 
  need_locks=no
15039
 
fi
15040
 
 
15041
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15042
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15043
 
 
15044
 
  runpath_var=
15045
 
  allow_undefined_flag_F77=
15046
 
  enable_shared_with_static_runtimes_F77=no
15047
 
  archive_cmds_F77=
15048
 
  archive_expsym_cmds_F77=
15049
 
  old_archive_From_new_cmds_F77=
15050
 
  old_archive_from_expsyms_cmds_F77=
15051
 
  export_dynamic_flag_spec_F77=
15052
 
  whole_archive_flag_spec_F77=
15053
 
  thread_safe_flag_spec_F77=
15054
 
  hardcode_libdir_flag_spec_F77=
15055
 
  hardcode_libdir_flag_spec_ld_F77=
15056
 
  hardcode_libdir_separator_F77=
15057
 
  hardcode_direct_F77=no
15058
 
  hardcode_minus_L_F77=no
15059
 
  hardcode_shlibpath_var_F77=unsupported
15060
 
  link_all_deplibs_F77=unknown
15061
 
  hardcode_automatic_F77=no
15062
 
  module_cmds_F77=
15063
 
  module_expsym_cmds_F77=
15064
 
  always_export_symbols_F77=no
15065
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15066
 
  # include_expsyms should be a list of space-separated symbols to be *always*
15067
 
  # included in the symbol list
15068
 
  include_expsyms_F77=
15069
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
15070
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
15071
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15072
 
  # as well as any symbol that contains `d'.
15073
 
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15074
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15075
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
15076
 
  # the symbol is explicitly referenced.  Since portable code cannot
15077
 
  # rely on this symbol name, it's probably fine to never include it in
15078
 
  # preloaded symbol tables.
15079
 
  # Exclude shared library initialization/finalization symbols.
15080
 
  extract_expsyms_cmds=
15081
 
  # Just being paranoid about ensuring that cc_basename is set.
15082
 
  for cc_temp in $compiler""; do
15083
 
  case $cc_temp in
15084
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15085
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15086
 
    \-*) ;;
15087
 
    *) break;;
15088
 
  esac
15089
 
done
15090
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15091
 
 
15092
 
  case $host_os in
15093
 
  cygwin* | mingw* | pw32*)
15094
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
15095
 
    # When not using gcc, we currently assume that we are using
15096
 
    # Microsoft Visual C++.
15097
 
    if test "$GCC" != yes; then
15098
 
      with_gnu_ld=no
15099
 
    fi
15100
 
    ;;
15101
 
  interix*)
15102
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
15103
 
    with_gnu_ld=yes
15104
 
    ;;
15105
 
  openbsd*)
15106
 
    with_gnu_ld=no
15107
 
    ;;
15108
 
  esac
15109
 
 
15110
 
  ld_shlibs_F77=yes
15111
 
  if test "$with_gnu_ld" = yes; then
15112
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
15113
 
    wlarc='${wl}'
15114
 
 
15115
 
    # Set some defaults for GNU ld with shared library support. These
15116
 
    # are reset later if shared libraries are not supported. Putting them
15117
 
    # here allows them to be overridden if necessary.
15118
 
    runpath_var=LD_RUN_PATH
15119
 
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
15120
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
15121
 
    # ancient GNU ld didn't support --whole-archive et. al.
15122
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15123
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15124
 
      else
15125
 
        whole_archive_flag_spec_F77=
15126
 
    fi
15127
 
    supports_anon_versioning=no
15128
 
    case `$LD -v 2>/dev/null` in
15129
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15130
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15131
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15132
 
      *\ 2.11.*) ;; # other 2.11 versions
15133
 
      *) supports_anon_versioning=yes ;;
15134
 
    esac
15135
 
 
15136
 
    # See if GNU ld supports shared libraries.
15137
 
    case $host_os in
15138
 
    aix[3-9]*)
15139
 
      # On AIX/PPC, the GNU linker is very broken
15140
 
      if test "$host_cpu" != ia64; then
15141
 
        ld_shlibs_F77=no
15142
 
        cat <<EOF 1>&2
15143
 
 
15144
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
15145
 
*** to be unable to reliably create shared libraries on AIX.
15146
 
*** Therefore, libtool is disabling shared libraries support.  If you
15147
 
*** really care for shared libraries, you may want to modify your PATH
15148
 
*** so that a non-GNU linker is found, and then restart.
15149
 
 
15150
 
EOF
15151
 
      fi
15152
 
      ;;
15153
 
 
15154
 
    amigaos*)
15155
 
      archive_cmds_F77='$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)'
15156
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15157
 
      hardcode_minus_L_F77=yes
15158
 
 
15159
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15160
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
15161
 
      # to version 4, is to share data among multiple programs linked
15162
 
      # with the same dynamic library.  Since this doesn't match the
15163
 
      # behavior of shared libraries on other platforms, we can't use
15164
 
      # them.
15165
 
      ld_shlibs_F77=no
15166
 
      ;;
15167
 
 
15168
 
    beos*)
15169
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15170
 
        allow_undefined_flag_F77=unsupported
15171
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15172
 
        # support --undefined.  This deserves some investigation.  FIXME
15173
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15174
 
      else
15175
 
        ld_shlibs_F77=no
15176
 
      fi
15177
 
      ;;
15178
 
 
15179
 
    cygwin* | mingw* | pw32*)
15180
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
15181
 
      # as there is no search path for DLLs.
15182
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15183
 
      allow_undefined_flag_F77=unsupported
15184
 
      always_export_symbols_F77=no
15185
 
      enable_shared_with_static_runtimes_F77=yes
15186
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15187
 
 
15188
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15189
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15190
 
        # If the export-symbols file already is a .def file (1st line
15191
 
        # is EXPORTS), use it as is; otherwise, prepend...
15192
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15193
 
          cp $export_symbols $output_objdir/$soname.def;
15194
 
        else
15195
 
          echo EXPORTS > $output_objdir/$soname.def;
15196
 
          cat $export_symbols >> $output_objdir/$soname.def;
15197
 
        fi~
15198
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15199
 
      else
15200
 
        ld_shlibs_F77=no
15201
 
      fi
15202
 
      ;;
15203
 
 
15204
 
    interix[3-9]*)
15205
 
      hardcode_direct_F77=no
15206
 
      hardcode_shlibpath_var_F77=no
15207
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15208
 
      export_dynamic_flag_spec_F77='${wl}-E'
15209
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15210
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
15211
 
      # default) and relocated if they conflict, which is a slow very memory
15212
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
15213
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15214
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
15215
 
      archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15216
 
      archive_expsym_cmds_F77='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'
15217
 
      ;;
15218
 
 
15219
 
    gnu* | linux* | k*bsd*-gnu)
15220
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15221
 
        tmp_addflag=
15222
 
        case $cc_basename,$host_cpu in
15223
 
        pgcc*)                          # Portland Group C compiler
15224
 
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15225
 
          tmp_addflag=' $pic_flag'
15226
 
          ;;
15227
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
15228
 
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15229
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
15230
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
15231
 
          tmp_addflag=' -i_dynamic' ;;
15232
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
15233
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
15234
 
        ifc* | ifort*)                  # Intel Fortran compiler
15235
 
          tmp_addflag=' -nofor_main' ;;
15236
 
        esac
15237
 
        case `$CC -V 2>&1 | sed 5q` in
15238
 
        *Sun\ C*)                       # Sun C 5.9
15239
 
          whole_archive_flag_spec_F77='${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'
15240
 
          tmp_sharedflag='-G' ;;
15241
 
        *Sun\ F*)                       # Sun Fortran 8.3
15242
 
          tmp_sharedflag='-G' ;;
15243
 
        *)
15244
 
          tmp_sharedflag='-shared' ;;
15245
 
        esac
15246
 
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15247
 
 
15248
 
        if test $supports_anon_versioning = yes; then
15249
 
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
15250
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15251
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
15252
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15253
 
        fi
15254
 
        link_all_deplibs_F77=no
15255
 
      else
15256
 
        ld_shlibs_F77=no
15257
 
      fi
15258
 
      ;;
15259
 
 
15260
 
    netbsd* | netbsdelf*-gnu)
15261
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15262
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15263
 
        wlarc=
15264
 
      else
15265
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15266
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15267
 
      fi
15268
 
      ;;
15269
 
 
15270
 
    solaris*)
15271
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15272
 
        ld_shlibs_F77=no
15273
 
        cat <<EOF 1>&2
15274
 
 
15275
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
15276
 
*** create shared libraries on Solaris systems.  Therefore, libtool
15277
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
15278
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
15279
 
*** your PATH or compiler configuration so that the native linker is
15280
 
*** used, and then restart.
15281
 
 
15282
 
EOF
15283
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15284
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15285
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15286
 
      else
15287
 
        ld_shlibs_F77=no
15288
 
      fi
15289
 
      ;;
15290
 
 
15291
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
15292
 
      case `$LD -v 2>&1` in
15293
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
15294
 
        ld_shlibs_F77=no
15295
 
        cat <<_LT_EOF 1>&2
15296
 
 
15297
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15298
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
15299
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
15300
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
15301
 
*** your PATH or compiler configuration so that the native linker is
15302
 
*** used, and then restart.
15303
 
 
15304
 
_LT_EOF
15305
 
        ;;
15306
 
        *)
15307
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15308
 
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15309
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15310
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15311
 
          else
15312
 
            ld_shlibs_F77=no
15313
 
          fi
15314
 
        ;;
15315
 
      esac
15316
 
      ;;
15317
 
 
15318
 
    sunos4*)
15319
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15320
 
      wlarc=
15321
 
      hardcode_direct_F77=yes
15322
 
      hardcode_shlibpath_var_F77=no
15323
 
      ;;
15324
 
 
15325
 
    *)
15326
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15327
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15328
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15329
 
      else
15330
 
        ld_shlibs_F77=no
15331
 
      fi
15332
 
      ;;
15333
 
    esac
15334
 
 
15335
 
    if test "$ld_shlibs_F77" = no; then
15336
 
      runpath_var=
15337
 
      hardcode_libdir_flag_spec_F77=
15338
 
      export_dynamic_flag_spec_F77=
15339
 
      whole_archive_flag_spec_F77=
15340
 
    fi
15341
 
  else
15342
 
    # PORTME fill in a description of your system's linker (not GNU ld)
15343
 
    case $host_os in
15344
 
    aix3*)
15345
 
      allow_undefined_flag_F77=unsupported
15346
 
      always_export_symbols_F77=yes
15347
 
      archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
15348
 
      # Note: this linker hardcodes the directories in LIBPATH if there
15349
 
      # are no directories specified by -L.
15350
 
      hardcode_minus_L_F77=yes
15351
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15352
 
        # Neither direct hardcoding nor static linking is supported with a
15353
 
        # broken collect2.
15354
 
        hardcode_direct_F77=unsupported
15355
 
      fi
15356
 
      ;;
15357
 
 
15358
 
    aix[4-9]*)
15359
 
      if test "$host_cpu" = ia64; then
15360
 
        # On IA64, the linker does run time linking by default, so we don't
15361
 
        # have to do anything special.
15362
 
        aix_use_runtimelinking=no
15363
 
        exp_sym_flag='-Bexport'
15364
 
        no_entry_flag=""
15365
 
      else
15366
 
        # If we're using GNU nm, then we don't want the "-C" option.
15367
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
15368
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15369
 
          export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
15370
 
        else
15371
 
          export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
15372
 
        fi
15373
 
        aix_use_runtimelinking=no
15374
 
 
15375
 
        # Test if we are trying to use run time linking or normal
15376
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15377
 
        # need to do runtime linking.
15378
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15379
 
          for ld_flag in $LDFLAGS; do
15380
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15381
 
            aix_use_runtimelinking=yes
15382
 
            break
15383
 
          fi
15384
 
          done
15385
 
          ;;
15386
 
        esac
15387
 
 
15388
 
        exp_sym_flag='-bexport'
15389
 
        no_entry_flag='-bnoentry'
15390
 
      fi
15391
 
 
15392
 
      # When large executables or shared objects are built, AIX ld can
15393
 
      # have problems creating the table of contents.  If linking a library
15394
 
      # or program results in "error TOC overflow" add -mminimal-toc to
15395
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
15396
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15397
 
 
15398
 
      archive_cmds_F77=''
15399
 
      hardcode_direct_F77=yes
15400
 
      hardcode_libdir_separator_F77=':'
15401
 
      link_all_deplibs_F77=yes
15402
 
 
15403
 
      if test "$GCC" = yes; then
15404
 
        case $host_os in aix4.[012]|aix4.[012].*)
15405
 
        # We only want to do this on AIX 4.2 and lower, the check
15406
 
        # below for broken collect2 doesn't work under 4.3+
15407
 
          collect2name=`${CC} -print-prog-name=collect2`
15408
 
          if test -f "$collect2name" && \
15409
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
15410
 
          then
15411
 
          # We have reworked collect2
15412
 
          :
15413
 
          else
15414
 
          # We have old collect2
15415
 
          hardcode_direct_F77=unsupported
15416
 
          # It fails to find uninstalled libraries when the uninstalled
15417
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
15418
 
          # to unsupported forces relinking
15419
 
          hardcode_minus_L_F77=yes
15420
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
15421
 
          hardcode_libdir_separator_F77=
15422
 
          fi
15423
 
          ;;
15424
 
        esac
15425
 
        shared_flag='-shared'
15426
 
        if test "$aix_use_runtimelinking" = yes; then
15427
 
          shared_flag="$shared_flag "'${wl}-G'
15428
 
        fi
15429
 
      else
15430
 
        # not using gcc
15431
 
        if test "$host_cpu" = ia64; then
15432
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15433
 
        # chokes on -Wl,-G. The following line is correct:
15434
 
          shared_flag='-G'
15435
 
        else
15436
 
          if test "$aix_use_runtimelinking" = yes; then
15437
 
            shared_flag='${wl}-G'
15438
 
          else
15439
 
            shared_flag='${wl}-bM:SRE'
15440
 
          fi
15441
 
        fi
15442
 
      fi
15443
 
 
15444
 
      # It seems that -bexpall does not export symbols beginning with
15445
 
      # underscore (_), so it is better to generate a list of symbols to export.
15446
 
      always_export_symbols_F77=yes
15447
 
      if test "$aix_use_runtimelinking" = yes; then
15448
 
        # Warning - without using the other runtime loading flags (-brtl),
15449
 
        # -berok will link without error, but may produce a broken library.
15450
 
        allow_undefined_flag_F77='-berok'
15451
 
       # Determine the default libpath from the value encoded in an empty executable.
15452
 
       cat >conftest.$ac_ext <<_ACEOF
15453
 
      program main
15454
 
 
15455
 
      end
15456
 
_ACEOF
15457
 
rm -f conftest.$ac_objext conftest$ac_exeext
15458
 
if { (ac_try="$ac_link"
15459
 
case "(($ac_try" in
15460
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15461
 
  *) ac_try_echo=$ac_try;;
15462
 
esac
15463
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15464
 
  (eval "$ac_link") 2>conftest.er1
15465
 
  ac_status=$?
15466
 
  grep -v '^ *+' conftest.er1 >conftest.err
15467
 
  rm -f conftest.er1
15468
 
  cat conftest.err >&5
15469
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15470
 
  (exit $ac_status); } && {
15471
 
         test -z "$ac_f77_werror_flag" ||
15472
 
         test ! -s conftest.err
15473
 
       } && test -s conftest$ac_exeext &&
15474
 
       $as_test_x conftest$ac_exeext; then
15475
 
 
15476
 
lt_aix_libpath_sed='
15477
 
    /Import File Strings/,/^$/ {
15478
 
        /^0/ {
15479
 
            s/^0  *\(.*\)$/\1/
15480
 
            p
15481
 
        }
15482
 
    }'
15483
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15484
 
# Check for a 64-bit object if we didn't find anything.
15485
 
if test -z "$aix_libpath"; then
15486
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15487
 
fi
15488
 
else
15489
 
  echo "$as_me: failed program was:" >&5
15490
 
sed 's/^/| /' conftest.$ac_ext >&5
15491
 
 
15492
 
 
15493
 
fi
15494
 
 
15495
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15496
 
      conftest$ac_exeext conftest.$ac_ext
15497
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15498
 
 
15499
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15500
 
        archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
15501
 
       else
15502
 
        if test "$host_cpu" = ia64; then
15503
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15504
 
          allow_undefined_flag_F77="-z nodefs"
15505
 
          archive_expsym_cmds_F77="\$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"
15506
 
        else
15507
 
         # Determine the default libpath from the value encoded in an empty executable.
15508
 
         cat >conftest.$ac_ext <<_ACEOF
15509
 
      program main
15510
 
 
15511
 
      end
15512
 
_ACEOF
15513
 
rm -f conftest.$ac_objext conftest$ac_exeext
15514
 
if { (ac_try="$ac_link"
15515
 
case "(($ac_try" in
15516
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15517
 
  *) ac_try_echo=$ac_try;;
15518
 
esac
15519
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15520
 
  (eval "$ac_link") 2>conftest.er1
15521
 
  ac_status=$?
15522
 
  grep -v '^ *+' conftest.er1 >conftest.err
15523
 
  rm -f conftest.er1
15524
 
  cat conftest.err >&5
15525
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15526
 
  (exit $ac_status); } && {
15527
 
         test -z "$ac_f77_werror_flag" ||
15528
 
         test ! -s conftest.err
15529
 
       } && test -s conftest$ac_exeext &&
15530
 
       $as_test_x conftest$ac_exeext; then
15531
 
 
15532
 
lt_aix_libpath_sed='
15533
 
    /Import File Strings/,/^$/ {
15534
 
        /^0/ {
15535
 
            s/^0  *\(.*\)$/\1/
15536
 
            p
15537
 
        }
15538
 
    }'
15539
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15540
 
# Check for a 64-bit object if we didn't find anything.
15541
 
if test -z "$aix_libpath"; then
15542
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15543
 
fi
15544
 
else
15545
 
  echo "$as_me: failed program was:" >&5
15546
 
sed 's/^/| /' conftest.$ac_ext >&5
15547
 
 
15548
 
 
15549
 
fi
15550
 
 
15551
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15552
 
      conftest$ac_exeext conftest.$ac_ext
15553
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15554
 
 
15555
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15556
 
          # Warning - without using the other run time loading flags,
15557
 
          # -berok will link without error, but may produce a broken library.
15558
 
          no_undefined_flag_F77=' ${wl}-bernotok'
15559
 
          allow_undefined_flag_F77=' ${wl}-berok'
15560
 
          # Exported symbols can be pulled into shared objects from archives
15561
 
          whole_archive_flag_spec_F77='$convenience'
15562
 
          archive_cmds_need_lc_F77=yes
15563
 
          # This is similar to how AIX traditionally builds its shared libraries.
15564
 
          archive_expsym_cmds_F77="\$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'
15565
 
        fi
15566
 
      fi
15567
 
      ;;
15568
 
 
15569
 
    amigaos*)
15570
 
      archive_cmds_F77='$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)'
15571
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15572
 
      hardcode_minus_L_F77=yes
15573
 
      # see comment about different semantics on the GNU ld section
15574
 
      ld_shlibs_F77=no
15575
 
      ;;
15576
 
 
15577
 
    bsdi[45]*)
15578
 
      export_dynamic_flag_spec_F77=-rdynamic
15579
 
      ;;
15580
 
 
15581
 
    cygwin* | mingw* | pw32*)
15582
 
      # When not using gcc, we currently assume that we are using
15583
 
      # Microsoft Visual C++.
15584
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
15585
 
      # no search path for DLLs.
15586
 
      hardcode_libdir_flag_spec_F77=' '
15587
 
      allow_undefined_flag_F77=unsupported
15588
 
      # Tell ltmain to make .lib files, not .a files.
15589
 
      libext=lib
15590
 
      # Tell ltmain to make .dll files, not .so files.
15591
 
      shrext_cmds=".dll"
15592
 
      # FIXME: Setting linknames here is a bad hack.
15593
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15594
 
      # The linker will automatically build a .lib file if we build a DLL.
15595
 
      old_archive_From_new_cmds_F77='true'
15596
 
      # FIXME: Should let the user specify the lib program.
15597
 
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
15598
 
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
15599
 
      enable_shared_with_static_runtimes_F77=yes
15600
 
      ;;
15601
 
 
15602
 
    darwin* | rhapsody*)
15603
 
      case $host_os in
15604
 
        rhapsody* | darwin1.[012])
15605
 
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
15606
 
         ;;
15607
 
       *) # Darwin 1.3 on
15608
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15609
 
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15610
 
         else
15611
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
15612
 
             10.[012])
15613
 
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15614
 
               ;;
15615
 
             10.*)
15616
 
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
15617
 
               ;;
15618
 
           esac
15619
 
         fi
15620
 
         ;;
15621
 
      esac
15622
 
      archive_cmds_need_lc_F77=no
15623
 
      hardcode_direct_F77=no
15624
 
      hardcode_automatic_F77=yes
15625
 
      hardcode_shlibpath_var_F77=unsupported
15626
 
      whole_archive_flag_spec_F77=''
15627
 
      link_all_deplibs_F77=yes
15628
 
    if test "$GCC" = yes ; then
15629
 
        output_verbose_link_cmd='echo'
15630
 
        archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
15631
 
        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15632
 
        archive_expsym_cmds_F77="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}"
15633
 
        module_expsym_cmds_F77="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}"
15634
 
    else
15635
 
      case $cc_basename in
15636
 
        xlc*)
15637
 
         output_verbose_link_cmd='echo'
15638
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15639
 
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15640
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15641
 
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15642
 
          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15643
 
          ;;
15644
 
       *)
15645
 
         ld_shlibs_F77=no
15646
 
          ;;
15647
 
      esac
15648
 
    fi
15649
 
      ;;
15650
 
 
15651
 
    dgux*)
15652
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15653
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15654
 
      hardcode_shlibpath_var_F77=no
15655
 
      ;;
15656
 
 
15657
 
    freebsd1*)
15658
 
      ld_shlibs_F77=no
15659
 
      ;;
15660
 
 
15661
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15662
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
15663
 
    # does not break anything, and helps significantly (at the cost of a little
15664
 
    # extra space).
15665
 
    freebsd2.2*)
15666
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15667
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15668
 
      hardcode_direct_F77=yes
15669
 
      hardcode_shlibpath_var_F77=no
15670
 
      ;;
15671
 
 
15672
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15673
 
    freebsd2*)
15674
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15675
 
      hardcode_direct_F77=yes
15676
 
      hardcode_minus_L_F77=yes
15677
 
      hardcode_shlibpath_var_F77=no
15678
 
      ;;
15679
 
 
15680
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15681
 
    freebsd* | dragonfly*)
15682
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15683
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15684
 
      hardcode_direct_F77=yes
15685
 
      hardcode_shlibpath_var_F77=no
15686
 
      ;;
15687
 
 
15688
 
    hpux9*)
15689
 
      if test "$GCC" = yes; then
15690
 
        archive_cmds_F77='$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'
15691
 
      else
15692
 
        archive_cmds_F77='$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'
15693
 
      fi
15694
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15695
 
      hardcode_libdir_separator_F77=:
15696
 
      hardcode_direct_F77=yes
15697
 
 
15698
 
      # hardcode_minus_L: Not really in the search PATH,
15699
 
      # but as the default location of the library.
15700
 
      hardcode_minus_L_F77=yes
15701
 
      export_dynamic_flag_spec_F77='${wl}-E'
15702
 
      ;;
15703
 
 
15704
 
    hpux10*)
15705
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15706
 
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15707
 
      else
15708
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15709
 
      fi
15710
 
      if test "$with_gnu_ld" = no; then
15711
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15712
 
        hardcode_libdir_separator_F77=:
15713
 
 
15714
 
        hardcode_direct_F77=yes
15715
 
        export_dynamic_flag_spec_F77='${wl}-E'
15716
 
 
15717
 
        # hardcode_minus_L: Not really in the search PATH,
15718
 
        # but as the default location of the library.
15719
 
        hardcode_minus_L_F77=yes
15720
 
      fi
15721
 
      ;;
15722
 
 
15723
 
    hpux11*)
15724
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15725
 
        case $host_cpu in
15726
 
        hppa*64*)
15727
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15728
 
          ;;
15729
 
        ia64*)
15730
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15731
 
          ;;
15732
 
        *)
15733
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15734
 
          ;;
15735
 
        esac
15736
 
      else
15737
 
        case $host_cpu in
15738
 
        hppa*64*)
15739
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15740
 
          ;;
15741
 
        ia64*)
15742
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15743
 
          ;;
15744
 
        *)
15745
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15746
 
          ;;
15747
 
        esac
15748
 
      fi
15749
 
      if test "$with_gnu_ld" = no; then
15750
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15751
 
        hardcode_libdir_separator_F77=:
15752
 
 
15753
 
        case $host_cpu in
15754
 
        hppa*64*|ia64*)
15755
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
15756
 
          hardcode_direct_F77=no
15757
 
          hardcode_shlibpath_var_F77=no
15758
 
          ;;
15759
 
        *)
15760
 
          hardcode_direct_F77=yes
15761
 
          export_dynamic_flag_spec_F77='${wl}-E'
15762
 
 
15763
 
          # hardcode_minus_L: Not really in the search PATH,
15764
 
          # but as the default location of the library.
15765
 
          hardcode_minus_L_F77=yes
15766
 
          ;;
15767
 
        esac
15768
 
      fi
15769
 
      ;;
15770
 
 
15771
 
    irix5* | irix6* | nonstopux*)
15772
 
      if test "$GCC" = yes; then
15773
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15774
 
      else
15775
 
        archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15776
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
15777
 
      fi
15778
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15779
 
      hardcode_libdir_separator_F77=:
15780
 
      link_all_deplibs_F77=yes
15781
 
      ;;
15782
 
 
15783
 
    netbsd* | netbsdelf*-gnu)
15784
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15785
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
15786
 
      else
15787
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
15788
 
      fi
15789
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15790
 
      hardcode_direct_F77=yes
15791
 
      hardcode_shlibpath_var_F77=no
15792
 
      ;;
15793
 
 
15794
 
    newsos6)
15795
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15796
 
      hardcode_direct_F77=yes
15797
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15798
 
      hardcode_libdir_separator_F77=:
15799
 
      hardcode_shlibpath_var_F77=no
15800
 
      ;;
15801
 
 
15802
 
    openbsd*)
15803
 
      if test -f /usr/libexec/ld.so; then
15804
 
        hardcode_direct_F77=yes
15805
 
        hardcode_shlibpath_var_F77=no
15806
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15807
 
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15808
 
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15809
 
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15810
 
          export_dynamic_flag_spec_F77='${wl}-E'
15811
 
        else
15812
 
          case $host_os in
15813
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15814
 
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15815
 
             hardcode_libdir_flag_spec_F77='-R$libdir'
15816
 
             ;;
15817
 
           *)
15818
 
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15819
 
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15820
 
             ;;
15821
 
          esac
15822
 
        fi
15823
 
      else
15824
 
        ld_shlibs_F77=no
15825
 
      fi
15826
 
      ;;
15827
 
 
15828
 
    os2*)
15829
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15830
 
      hardcode_minus_L_F77=yes
15831
 
      allow_undefined_flag_F77=unsupported
15832
 
      archive_cmds_F77='$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'
15833
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15834
 
      ;;
15835
 
 
15836
 
    osf3*)
15837
 
      if test "$GCC" = yes; then
15838
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15839
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15840
 
      else
15841
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
15842
 
        archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15843
 
      fi
15844
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15845
 
      hardcode_libdir_separator_F77=:
15846
 
      ;;
15847
 
 
15848
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
15849
 
      if test "$GCC" = yes; then
15850
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15851
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15852
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15853
 
      else
15854
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
15855
 
        archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15856
 
        archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15857
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
15858
 
 
15859
 
        # Both c and cxx compiler support -rpath directly
15860
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
15861
 
      fi
15862
 
      hardcode_libdir_separator_F77=:
15863
 
      ;;
15864
 
 
15865
 
    solaris*)
15866
 
      no_undefined_flag_F77=' -z text'
15867
 
      if test "$GCC" = yes; then
15868
 
        wlarc='${wl}'
15869
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15870
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15871
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15872
 
      else
15873
 
        wlarc=''
15874
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15875
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15876
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15877
 
      fi
15878
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15879
 
      hardcode_shlibpath_var_F77=no
15880
 
      case $host_os in
15881
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
15882
 
      *)
15883
 
        # The compiler driver will combine and reorder linker options,
15884
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
15885
 
        # but is careful enough not to reorder.
15886
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
15887
 
        if test "$GCC" = yes; then
15888
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15889
 
        else
15890
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
15891
 
        fi
15892
 
        ;;
15893
 
      esac
15894
 
      link_all_deplibs_F77=yes
15895
 
      ;;
15896
 
 
15897
 
    sunos4*)
15898
 
      if test "x$host_vendor" = xsequent; then
15899
 
        # Use $CC to link under sequent, because it throws in some extra .o
15900
 
        # files that make .init and .fini sections work.
15901
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15902
 
      else
15903
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15904
 
      fi
15905
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15906
 
      hardcode_direct_F77=yes
15907
 
      hardcode_minus_L_F77=yes
15908
 
      hardcode_shlibpath_var_F77=no
15909
 
      ;;
15910
 
 
15911
 
    sysv4)
15912
 
      case $host_vendor in
15913
 
        sni)
15914
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15915
 
          hardcode_direct_F77=yes # is this really true???
15916
 
        ;;
15917
 
        siemens)
15918
 
          ## LD is ld it makes a PLAMLIB
15919
 
          ## CC just makes a GrossModule.
15920
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15921
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
15922
 
          hardcode_direct_F77=no
15923
 
        ;;
15924
 
        motorola)
15925
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15926
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
15927
 
        ;;
15928
 
      esac
15929
 
      runpath_var='LD_RUN_PATH'
15930
 
      hardcode_shlibpath_var_F77=no
15931
 
      ;;
15932
 
 
15933
 
    sysv4.3*)
15934
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15935
 
      hardcode_shlibpath_var_F77=no
15936
 
      export_dynamic_flag_spec_F77='-Bexport'
15937
 
      ;;
15938
 
 
15939
 
    sysv4*MP*)
15940
 
      if test -d /usr/nec; then
15941
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15942
 
        hardcode_shlibpath_var_F77=no
15943
 
        runpath_var=LD_RUN_PATH
15944
 
        hardcode_runpath_var=yes
15945
 
        ld_shlibs_F77=yes
15946
 
      fi
15947
 
      ;;
15948
 
 
15949
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15950
 
      no_undefined_flag_F77='${wl}-z,text'
15951
 
      archive_cmds_need_lc_F77=no
15952
 
      hardcode_shlibpath_var_F77=no
15953
 
      runpath_var='LD_RUN_PATH'
15954
 
 
15955
 
      if test "$GCC" = yes; then
15956
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15957
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15958
 
      else
15959
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15960
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15961
 
      fi
15962
 
      ;;
15963
 
 
15964
 
    sysv5* | sco3.2v5* | sco5v6*)
15965
 
      # Note: We can NOT use -z defs as we might desire, because we do not
15966
 
      # link with -lc, and that would cause any symbols used from libc to
15967
 
      # always be unresolved, which means just about no library would
15968
 
      # ever link correctly.  If we're not using GNU ld we use -z text
15969
 
      # though, which does catch some bad symbols but isn't as heavy-handed
15970
 
      # as -z defs.
15971
 
      no_undefined_flag_F77='${wl}-z,text'
15972
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
15973
 
      archive_cmds_need_lc_F77=no
15974
 
      hardcode_shlibpath_var_F77=no
15975
 
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15976
 
      hardcode_libdir_separator_F77=':'
15977
 
      link_all_deplibs_F77=yes
15978
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
15979
 
      runpath_var='LD_RUN_PATH'
15980
 
 
15981
 
      if test "$GCC" = yes; then
15982
 
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15983
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15984
 
      else
15985
 
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15986
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15987
 
      fi
15988
 
      ;;
15989
 
 
15990
 
    uts4*)
15991
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15992
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15993
 
      hardcode_shlibpath_var_F77=no
15994
 
      ;;
15995
 
 
15996
 
    *)
15997
 
      ld_shlibs_F77=no
15998
 
      ;;
15999
 
    esac
16000
 
  fi
16001
 
 
16002
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16003
 
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
16004
 
test "$ld_shlibs_F77" = no && can_build_shared=no
16005
 
 
16006
 
#
16007
 
# Do we need to explicitly link libc?
16008
 
#
16009
 
case "x$archive_cmds_need_lc_F77" in
16010
 
x|xyes)
16011
 
  # Assume -lc should be added
16012
 
  archive_cmds_need_lc_F77=yes
16013
 
 
16014
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
16015
 
    case $archive_cmds_F77 in
16016
 
    *'~'*)
16017
 
      # FIXME: we may have to deal with multi-command sequences.
16018
 
      ;;
16019
 
    '$CC '*)
16020
 
      # Test whether the compiler implicitly links with -lc since on some
16021
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16022
 
      # to ld, don't add -lc before -lgcc.
16023
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16024
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16025
 
      $rm conftest*
16026
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16027
 
 
16028
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16029
 
  (eval $ac_compile) 2>&5
16030
 
  ac_status=$?
16031
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16032
 
  (exit $ac_status); } 2>conftest.err; then
16033
 
        soname=conftest
16034
 
        lib=conftest
16035
 
        libobjs=conftest.$ac_objext
16036
 
        deplibs=
16037
 
        wl=$lt_prog_compiler_wl_F77
16038
 
        pic_flag=$lt_prog_compiler_pic_F77
16039
 
        compiler_flags=-v
16040
 
        linker_flags=-v
16041
 
        verstring=
16042
 
        output_objdir=.
16043
 
        libname=conftest
16044
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
16045
 
        allow_undefined_flag_F77=
16046
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16047
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16048
 
  ac_status=$?
16049
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16050
 
  (exit $ac_status); }
16051
 
        then
16052
 
          archive_cmds_need_lc_F77=no
16053
 
        else
16054
 
          archive_cmds_need_lc_F77=yes
16055
 
        fi
16056
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
16057
 
      else
16058
 
        cat conftest.err 1>&5
16059
 
      fi
16060
 
      $rm conftest*
16061
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16062
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
16063
 
      ;;
16064
 
    esac
16065
 
  fi
16066
 
  ;;
16067
 
esac
16068
 
 
16069
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16070
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16071
 
library_names_spec=
16072
 
libname_spec='lib$name'
16073
 
soname_spec=
16074
 
shrext_cmds=".so"
16075
 
postinstall_cmds=
16076
 
postuninstall_cmds=
16077
 
finish_cmds=
16078
 
finish_eval=
16079
 
shlibpath_var=
16080
 
shlibpath_overrides_runpath=unknown
16081
 
version_type=none
16082
 
dynamic_linker="$host_os ld.so"
16083
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
16084
 
 
16085
 
need_lib_prefix=unknown
16086
 
hardcode_into_libs=no
16087
 
 
16088
 
# when you set need_version to no, make sure it does not cause -set_version
16089
 
# flags to be left without arguments
16090
 
need_version=unknown
16091
 
 
16092
 
case $host_os in
16093
 
aix3*)
16094
 
  version_type=linux
16095
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16096
 
  shlibpath_var=LIBPATH
16097
 
 
16098
 
  # AIX 3 has no versioning support, so we append a major version to the name.
16099
 
  soname_spec='${libname}${release}${shared_ext}$major'
16100
 
  ;;
16101
 
 
16102
 
aix[4-9]*)
16103
 
  version_type=linux
16104
 
  need_lib_prefix=no
16105
 
  need_version=no
16106
 
  hardcode_into_libs=yes
16107
 
  if test "$host_cpu" = ia64; then
16108
 
    # AIX 5 supports IA64
16109
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16110
 
    shlibpath_var=LD_LIBRARY_PATH
16111
 
  else
16112
 
    # With GCC up to 2.95.x, collect2 would create an import file
16113
 
    # for dependence libraries.  The import file would start with
16114
 
    # the line `#! .'.  This would cause the generated library to
16115
 
    # depend on `.', always an invalid library.  This was fixed in
16116
 
    # development snapshots of GCC prior to 3.0.
16117
 
    case $host_os in
16118
 
      aix4 | aix4.[01] | aix4.[01].*)
16119
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16120
 
           echo ' yes '
16121
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16122
 
        :
16123
 
      else
16124
 
        can_build_shared=no
16125
 
      fi
16126
 
      ;;
16127
 
    esac
16128
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16129
 
    # soname into executable. Probably we can add versioning support to
16130
 
    # collect2, so additional links can be useful in future.
16131
 
    if test "$aix_use_runtimelinking" = yes; then
16132
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16133
 
      # instead of lib<name>.a to let people know that these are not
16134
 
      # typical AIX shared libraries.
16135
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16136
 
    else
16137
 
      # We preserve .a as extension for shared libraries through AIX4.2
16138
 
      # and later when we are not doing run time linking.
16139
 
      library_names_spec='${libname}${release}.a $libname.a'
16140
 
      soname_spec='${libname}${release}${shared_ext}$major'
16141
 
    fi
16142
 
    shlibpath_var=LIBPATH
16143
 
  fi
16144
 
  ;;
16145
 
 
16146
 
amigaos*)
16147
 
  library_names_spec='$libname.ixlibrary $libname.a'
16148
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
16149
 
  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'
16150
 
  ;;
16151
 
 
16152
 
beos*)
16153
 
  library_names_spec='${libname}${shared_ext}'
16154
 
  dynamic_linker="$host_os ld.so"
16155
 
  shlibpath_var=LIBRARY_PATH
16156
 
  ;;
16157
 
 
16158
 
bsdi[45]*)
16159
 
  version_type=linux
16160
 
  need_version=no
16161
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16162
 
  soname_spec='${libname}${release}${shared_ext}$major'
16163
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16164
 
  shlibpath_var=LD_LIBRARY_PATH
16165
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16166
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16167
 
  # the default ld.so.conf also contains /usr/contrib/lib and
16168
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16169
 
  # libtool to hard-code these into programs
16170
 
  ;;
16171
 
 
16172
 
cygwin* | mingw* | pw32*)
16173
 
  version_type=windows
16174
 
  shrext_cmds=".dll"
16175
 
  need_version=no
16176
 
  need_lib_prefix=no
16177
 
 
16178
 
  case $GCC,$host_os in
16179
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
16180
 
    library_names_spec='$libname.dll.a'
16181
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16182
 
    postinstall_cmds='base_file=`basename \${file}`~
16183
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16184
 
      dldir=$destdir/`dirname \$dlpath`~
16185
 
      test -d \$dldir || mkdir -p \$dldir~
16186
 
      $install_prog $dir/$dlname \$dldir/$dlname~
16187
 
      chmod a+x \$dldir/$dlname'
16188
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16189
 
      dlpath=$dir/\$dldll~
16190
 
       $rm \$dlpath'
16191
 
    shlibpath_overrides_runpath=yes
16192
 
 
16193
 
    case $host_os in
16194
 
    cygwin*)
16195
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16196
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16197
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16198
 
      ;;
16199
 
    mingw*)
16200
 
      # MinGW DLLs use traditional 'lib' prefix
16201
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16202
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16203
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16204
 
        # It is most probably a Windows format PATH printed by
16205
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
16206
 
        # path with ; separators, and with drive letters. We can handle the
16207
 
        # drive letters (cygwin fileutils understands them), so leave them,
16208
 
        # especially as we might pass files found there to a mingw objdump,
16209
 
        # which wouldn't understand a cygwinified path. Ahh.
16210
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16211
 
      else
16212
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
16213
 
      fi
16214
 
      ;;
16215
 
    pw32*)
16216
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
16217
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16218
 
      ;;
16219
 
    esac
16220
 
    ;;
16221
 
 
16222
 
  *)
16223
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16224
 
    ;;
16225
 
  esac
16226
 
  dynamic_linker='Win32 ld.exe'
16227
 
  # FIXME: first we should search . and the directory the executable is in
16228
 
  shlibpath_var=PATH
16229
 
  ;;
16230
 
 
16231
 
darwin* | rhapsody*)
16232
 
  dynamic_linker="$host_os dyld"
16233
 
  version_type=darwin
16234
 
  need_lib_prefix=no
16235
 
  need_version=no
16236
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16237
 
  soname_spec='${libname}${release}${major}$shared_ext'
16238
 
  shlibpath_overrides_runpath=yes
16239
 
  shlibpath_var=DYLD_LIBRARY_PATH
16240
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16241
 
 
16242
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16243
 
  ;;
16244
 
 
16245
 
dgux*)
16246
 
  version_type=linux
16247
 
  need_lib_prefix=no
16248
 
  need_version=no
16249
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16250
 
  soname_spec='${libname}${release}${shared_ext}$major'
16251
 
  shlibpath_var=LD_LIBRARY_PATH
16252
 
  ;;
16253
 
 
16254
 
freebsd1*)
16255
 
  dynamic_linker=no
16256
 
  ;;
16257
 
 
16258
 
freebsd* | dragonfly*)
16259
 
  # DragonFly does not have aout.  When/if they implement a new
16260
 
  # versioning mechanism, adjust this.
16261
 
  if test -x /usr/bin/objformat; then
16262
 
    objformat=`/usr/bin/objformat`
16263
 
  else
16264
 
    case $host_os in
16265
 
    freebsd[123]*) objformat=aout ;;
16266
 
    *) objformat=elf ;;
16267
 
    esac
16268
 
  fi
16269
 
  version_type=freebsd-$objformat
16270
 
  case $version_type in
16271
 
    freebsd-elf*)
16272
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16273
 
      need_version=no
16274
 
      need_lib_prefix=no
16275
 
      ;;
16276
 
    freebsd-*)
16277
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16278
 
      need_version=yes
16279
 
      ;;
16280
 
  esac
16281
 
  shlibpath_var=LD_LIBRARY_PATH
16282
 
  case $host_os in
16283
 
  freebsd2*)
16284
 
    shlibpath_overrides_runpath=yes
16285
 
    ;;
16286
 
  freebsd3.[01]* | freebsdelf3.[01]*)
16287
 
    shlibpath_overrides_runpath=yes
16288
 
    hardcode_into_libs=yes
16289
 
    ;;
16290
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16291
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16292
 
    shlibpath_overrides_runpath=no
16293
 
    hardcode_into_libs=yes
16294
 
    ;;
16295
 
  *) # from 4.6 on, and DragonFly
16296
 
    shlibpath_overrides_runpath=yes
16297
 
    hardcode_into_libs=yes
16298
 
    ;;
16299
 
  esac
16300
 
  ;;
16301
 
 
16302
 
gnu*)
16303
 
  version_type=linux
16304
 
  need_lib_prefix=no
16305
 
  need_version=no
16306
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16307
 
  soname_spec='${libname}${release}${shared_ext}$major'
16308
 
  shlibpath_var=LD_LIBRARY_PATH
16309
 
  hardcode_into_libs=yes
16310
 
  ;;
16311
 
 
16312
 
hpux9* | hpux10* | hpux11*)
16313
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
16314
 
  # link against other versions.
16315
 
  version_type=sunos
16316
 
  need_lib_prefix=no
16317
 
  need_version=no
16318
 
  case $host_cpu in
16319
 
  ia64*)
16320
 
    shrext_cmds='.so'
16321
 
    hardcode_into_libs=yes
16322
 
    dynamic_linker="$host_os dld.so"
16323
 
    shlibpath_var=LD_LIBRARY_PATH
16324
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16325
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16326
 
    soname_spec='${libname}${release}${shared_ext}$major'
16327
 
    if test "X$HPUX_IA64_MODE" = X32; then
16328
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16329
 
    else
16330
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16331
 
    fi
16332
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16333
 
    ;;
16334
 
   hppa*64*)
16335
 
     shrext_cmds='.sl'
16336
 
     hardcode_into_libs=yes
16337
 
     dynamic_linker="$host_os dld.sl"
16338
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16339
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16340
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16341
 
     soname_spec='${libname}${release}${shared_ext}$major'
16342
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16343
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16344
 
     ;;
16345
 
   *)
16346
 
    shrext_cmds='.sl'
16347
 
    dynamic_linker="$host_os dld.sl"
16348
 
    shlibpath_var=SHLIB_PATH
16349
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16350
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16351
 
    soname_spec='${libname}${release}${shared_ext}$major'
16352
 
    ;;
16353
 
  esac
16354
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
16355
 
  postinstall_cmds='chmod 555 $lib'
16356
 
  ;;
16357
 
 
16358
 
interix[3-9]*)
16359
 
  version_type=linux
16360
 
  need_lib_prefix=no
16361
 
  need_version=no
16362
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16363
 
  soname_spec='${libname}${release}${shared_ext}$major'
16364
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16365
 
  shlibpath_var=LD_LIBRARY_PATH
16366
 
  shlibpath_overrides_runpath=no
16367
 
  hardcode_into_libs=yes
16368
 
  ;;
16369
 
 
16370
 
irix5* | irix6* | nonstopux*)
16371
 
  case $host_os in
16372
 
    nonstopux*) version_type=nonstopux ;;
16373
 
    *)
16374
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
16375
 
                version_type=linux
16376
 
        else
16377
 
                version_type=irix
16378
 
        fi ;;
16379
 
  esac
16380
 
  need_lib_prefix=no
16381
 
  need_version=no
16382
 
  soname_spec='${libname}${release}${shared_ext}$major'
16383
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16384
 
  case $host_os in
16385
 
  irix5* | nonstopux*)
16386
 
    libsuff= shlibsuff=
16387
 
    ;;
16388
 
  *)
16389
 
    case $LD in # libtool.m4 will add one of these switches to LD
16390
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16391
 
      libsuff= shlibsuff= libmagic=32-bit;;
16392
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16393
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
16394
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16395
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
16396
 
    *) libsuff= shlibsuff= libmagic=never-match;;
16397
 
    esac
16398
 
    ;;
16399
 
  esac
16400
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16401
 
  shlibpath_overrides_runpath=no
16402
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16403
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16404
 
  hardcode_into_libs=yes
16405
 
  ;;
16406
 
 
16407
 
# No shared lib support for Linux oldld, aout, or coff.
16408
 
linux*oldld* | linux*aout* | linux*coff*)
16409
 
  dynamic_linker=no
16410
 
  ;;
16411
 
 
16412
 
# This must be Linux ELF.
16413
 
linux* | k*bsd*-gnu)
16414
 
  version_type=linux
16415
 
  need_lib_prefix=no
16416
 
  need_version=no
16417
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16418
 
  soname_spec='${libname}${release}${shared_ext}$major'
16419
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16420
 
  shlibpath_var=LD_LIBRARY_PATH
16421
 
  shlibpath_overrides_runpath=no
16422
 
  # This implies no fast_install, which is unacceptable.
16423
 
  # Some rework will be needed to allow for fast_install
16424
 
  # before this can be enabled.
16425
 
  hardcode_into_libs=yes
16426
 
 
16427
 
  # Append ld.so.conf contents to the search path
16428
 
  if test -f /etc/ld.so.conf; then
16429
 
    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' ' '`
16430
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16431
 
  fi
16432
 
 
16433
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
16434
 
  # powerpc, because MkLinux only supported shared libraries with the
16435
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
16436
 
  # most powerpc-linux boxes support dynamic linking these days and
16437
 
  # people can always --disable-shared, the test was removed, and we
16438
 
  # assume the GNU/Linux dynamic linker is in use.
16439
 
  dynamic_linker='GNU/Linux ld.so'
16440
 
  ;;
16441
 
 
16442
 
netbsdelf*-gnu)
16443
 
  version_type=linux
16444
 
  need_lib_prefix=no
16445
 
  need_version=no
16446
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16447
 
  soname_spec='${libname}${release}${shared_ext}$major'
16448
 
  shlibpath_var=LD_LIBRARY_PATH
16449
 
  shlibpath_overrides_runpath=no
16450
 
  hardcode_into_libs=yes
16451
 
  dynamic_linker='NetBSD ld.elf_so'
16452
 
  ;;
16453
 
 
16454
 
netbsd*)
16455
 
  version_type=sunos
16456
 
  need_lib_prefix=no
16457
 
  need_version=no
16458
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16459
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16460
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16461
 
    dynamic_linker='NetBSD (a.out) ld.so'
16462
 
  else
16463
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16464
 
    soname_spec='${libname}${release}${shared_ext}$major'
16465
 
    dynamic_linker='NetBSD ld.elf_so'
16466
 
  fi
16467
 
  shlibpath_var=LD_LIBRARY_PATH
16468
 
  shlibpath_overrides_runpath=yes
16469
 
  hardcode_into_libs=yes
16470
 
  ;;
16471
 
 
16472
 
newsos6)
16473
 
  version_type=linux
16474
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16475
 
  shlibpath_var=LD_LIBRARY_PATH
16476
 
  shlibpath_overrides_runpath=yes
16477
 
  ;;
16478
 
 
16479
 
nto-qnx*)
16480
 
  version_type=linux
16481
 
  need_lib_prefix=no
16482
 
  need_version=no
16483
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16484
 
  soname_spec='${libname}${release}${shared_ext}$major'
16485
 
  shlibpath_var=LD_LIBRARY_PATH
16486
 
  shlibpath_overrides_runpath=yes
16487
 
  ;;
16488
 
 
16489
 
openbsd*)
16490
 
  version_type=sunos
16491
 
  sys_lib_dlsearch_path_spec="/usr/lib"
16492
 
  need_lib_prefix=no
16493
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16494
 
  case $host_os in
16495
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16496
 
    *)                         need_version=no  ;;
16497
 
  esac
16498
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16499
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16500
 
  shlibpath_var=LD_LIBRARY_PATH
16501
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16502
 
    case $host_os in
16503
 
      openbsd2.[89] | openbsd2.[89].*)
16504
 
        shlibpath_overrides_runpath=no
16505
 
        ;;
16506
 
      *)
16507
 
        shlibpath_overrides_runpath=yes
16508
 
        ;;
16509
 
      esac
16510
 
  else
16511
 
    shlibpath_overrides_runpath=yes
16512
 
  fi
16513
 
  ;;
16514
 
 
16515
 
os2*)
16516
 
  libname_spec='$name'
16517
 
  shrext_cmds=".dll"
16518
 
  need_lib_prefix=no
16519
 
  library_names_spec='$libname${shared_ext} $libname.a'
16520
 
  dynamic_linker='OS/2 ld.exe'
16521
 
  shlibpath_var=LIBPATH
16522
 
  ;;
16523
 
 
16524
 
osf3* | osf4* | osf5*)
16525
 
  version_type=osf
16526
 
  need_lib_prefix=no
16527
 
  need_version=no
16528
 
  soname_spec='${libname}${release}${shared_ext}$major'
16529
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16530
 
  shlibpath_var=LD_LIBRARY_PATH
16531
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16532
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16533
 
  ;;
16534
 
 
16535
 
rdos*)
16536
 
  dynamic_linker=no
16537
 
  ;;
16538
 
 
16539
 
solaris*)
16540
 
  version_type=linux
16541
 
  need_lib_prefix=no
16542
 
  need_version=no
16543
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16544
 
  soname_spec='${libname}${release}${shared_ext}$major'
16545
 
  shlibpath_var=LD_LIBRARY_PATH
16546
 
  shlibpath_overrides_runpath=yes
16547
 
  hardcode_into_libs=yes
16548
 
  # ldd complains unless libraries are executable
16549
 
  postinstall_cmds='chmod +x $lib'
16550
 
  ;;
16551
 
 
16552
 
sunos4*)
16553
 
  version_type=sunos
16554
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16555
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16556
 
  shlibpath_var=LD_LIBRARY_PATH
16557
 
  shlibpath_overrides_runpath=yes
16558
 
  if test "$with_gnu_ld" = yes; then
16559
 
    need_lib_prefix=no
16560
 
  fi
16561
 
  need_version=yes
16562
 
  ;;
16563
 
 
16564
 
sysv4 | sysv4.3*)
16565
 
  version_type=linux
16566
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16567
 
  soname_spec='${libname}${release}${shared_ext}$major'
16568
 
  shlibpath_var=LD_LIBRARY_PATH
16569
 
  case $host_vendor in
16570
 
    sni)
16571
 
      shlibpath_overrides_runpath=no
16572
 
      need_lib_prefix=no
16573
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
16574
 
      runpath_var=LD_RUN_PATH
16575
 
      ;;
16576
 
    siemens)
16577
 
      need_lib_prefix=no
16578
 
      ;;
16579
 
    motorola)
16580
 
      need_lib_prefix=no
16581
 
      need_version=no
16582
 
      shlibpath_overrides_runpath=no
16583
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16584
 
      ;;
16585
 
  esac
16586
 
  ;;
16587
 
 
16588
 
sysv4*MP*)
16589
 
  if test -d /usr/nec ;then
16590
 
    version_type=linux
16591
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16592
 
    soname_spec='$libname${shared_ext}.$major'
16593
 
    shlibpath_var=LD_LIBRARY_PATH
16594
 
  fi
16595
 
  ;;
16596
 
 
16597
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16598
 
  version_type=freebsd-elf
16599
 
  need_lib_prefix=no
16600
 
  need_version=no
16601
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16602
 
  soname_spec='${libname}${release}${shared_ext}$major'
16603
 
  shlibpath_var=LD_LIBRARY_PATH
16604
 
  hardcode_into_libs=yes
16605
 
  if test "$with_gnu_ld" = yes; then
16606
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16607
 
    shlibpath_overrides_runpath=no
16608
 
  else
16609
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16610
 
    shlibpath_overrides_runpath=yes
16611
 
    case $host_os in
16612
 
      sco3.2v5*)
16613
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16614
 
        ;;
16615
 
    esac
16616
 
  fi
16617
 
  sys_lib_dlsearch_path_spec='/usr/lib'
16618
 
  ;;
16619
 
 
16620
 
uts4*)
16621
 
  version_type=linux
16622
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16623
 
  soname_spec='${libname}${release}${shared_ext}$major'
16624
 
  shlibpath_var=LD_LIBRARY_PATH
16625
 
  ;;
16626
 
 
16627
 
*)
16628
 
  dynamic_linker=no
16629
 
  ;;
16630
 
esac
16631
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16632
 
echo "${ECHO_T}$dynamic_linker" >&6; }
16633
 
test "$dynamic_linker" = no && can_build_shared=no
16634
 
 
16635
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16636
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16637
 
else
16638
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
16639
 
fi
16640
 
 
16641
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16642
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16643
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16644
 
else
16645
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
16646
 
fi
16647
 
 
16648
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16649
 
 
16650
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16651
 
if test "$GCC" = yes; then
16652
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16653
 
fi
16654
 
 
16655
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16656
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16657
 
hardcode_action_F77=
16658
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
16659
 
   test -n "$runpath_var_F77" || \
16660
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
16661
 
 
16662
 
  # We can hardcode non-existant directories.
16663
 
  if test "$hardcode_direct_F77" != no &&
16664
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
16665
 
     # have to relink, otherwise we might link with an installed library
16666
 
     # when we should be linking with a yet-to-be-installed one
16667
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16668
 
     test "$hardcode_minus_L_F77" != no; then
16669
 
    # Linking always hardcodes the temporary library directory.
16670
 
    hardcode_action_F77=relink
16671
 
  else
16672
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
16673
 
    hardcode_action_F77=immediate
16674
 
  fi
16675
 
else
16676
 
  # We cannot hardcode anything, or else we can only hardcode existing
16677
 
  # directories.
16678
 
  hardcode_action_F77=unsupported
16679
 
fi
16680
 
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16681
 
echo "${ECHO_T}$hardcode_action_F77" >&6; }
16682
 
 
16683
 
if test "$hardcode_action_F77" = relink; then
16684
 
  # Fast installation is not supported
16685
 
  enable_fast_install=no
16686
 
elif test "$shlibpath_overrides_runpath" = yes ||
16687
 
     test "$enable_shared" = no; then
16688
 
  # Fast installation is not necessary
16689
 
  enable_fast_install=needless
16690
 
fi
16691
 
 
16692
 
 
16693
 
# The else clause should only fire when bootstrapping the
16694
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
16695
 
# with your package, and you will get complaints that there are
16696
 
# no rules to generate ltmain.sh.
16697
 
if test -f "$ltmain"; then
16698
 
  # See if we are running on zsh, and set the options which allow our commands through
16699
 
  # without removal of \ escapes.
16700
 
  if test -n "${ZSH_VERSION+set}" ; then
16701
 
    setopt NO_GLOB_SUBST
16702
 
  fi
16703
 
  # Now quote all the things that may contain metacharacters while being
16704
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
16705
 
  # variables and quote the copies for generation of the libtool script.
16706
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16707
 
    SED SHELL STRIP \
16708
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16709
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16710
 
    deplibs_check_method reload_flag reload_cmds need_locks \
16711
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16712
 
    lt_cv_sys_global_symbol_to_c_name_address \
16713
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16714
 
    old_postinstall_cmds old_postuninstall_cmds \
16715
 
    compiler_F77 \
16716
 
    CC_F77 \
16717
 
    LD_F77 \
16718
 
    lt_prog_compiler_wl_F77 \
16719
 
    lt_prog_compiler_pic_F77 \
16720
 
    lt_prog_compiler_static_F77 \
16721
 
    lt_prog_compiler_no_builtin_flag_F77 \
16722
 
    export_dynamic_flag_spec_F77 \
16723
 
    thread_safe_flag_spec_F77 \
16724
 
    whole_archive_flag_spec_F77 \
16725
 
    enable_shared_with_static_runtimes_F77 \
16726
 
    old_archive_cmds_F77 \
16727
 
    old_archive_from_new_cmds_F77 \
16728
 
    predep_objects_F77 \
16729
 
    postdep_objects_F77 \
16730
 
    predeps_F77 \
16731
 
    postdeps_F77 \
16732
 
    compiler_lib_search_path_F77 \
16733
 
    compiler_lib_search_dirs_F77 \
16734
 
    archive_cmds_F77 \
16735
 
    archive_expsym_cmds_F77 \
16736
 
    postinstall_cmds_F77 \
16737
 
    postuninstall_cmds_F77 \
16738
 
    old_archive_from_expsyms_cmds_F77 \
16739
 
    allow_undefined_flag_F77 \
16740
 
    no_undefined_flag_F77 \
16741
 
    export_symbols_cmds_F77 \
16742
 
    hardcode_libdir_flag_spec_F77 \
16743
 
    hardcode_libdir_flag_spec_ld_F77 \
16744
 
    hardcode_libdir_separator_F77 \
16745
 
    hardcode_automatic_F77 \
16746
 
    module_cmds_F77 \
16747
 
    module_expsym_cmds_F77 \
16748
 
    lt_cv_prog_compiler_c_o_F77 \
16749
 
    fix_srcfile_path_F77 \
16750
 
    exclude_expsyms_F77 \
16751
 
    include_expsyms_F77; do
16752
 
 
16753
 
    case $var in
16754
 
    old_archive_cmds_F77 | \
16755
 
    old_archive_from_new_cmds_F77 | \
16756
 
    archive_cmds_F77 | \
16757
 
    archive_expsym_cmds_F77 | \
16758
 
    module_cmds_F77 | \
16759
 
    module_expsym_cmds_F77 | \
16760
 
    old_archive_from_expsyms_cmds_F77 | \
16761
 
    export_symbols_cmds_F77 | \
16762
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
16763
 
    postinstall_cmds | postuninstall_cmds | \
16764
 
    old_postinstall_cmds | old_postuninstall_cmds | \
16765
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16766
 
      # Double-quote double-evaled strings.
16767
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16768
 
      ;;
16769
 
    *)
16770
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16771
 
      ;;
16772
 
    esac
16773
 
  done
16774
 
 
16775
 
  case $lt_echo in
16776
 
  *'\$0 --fallback-echo"')
16777
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16778
 
    ;;
16779
 
  esac
16780
 
 
16781
 
cfgfile="$ofile"
16782
 
 
16783
 
  cat <<__EOF__ >> "$cfgfile"
16784
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
16785
 
 
16786
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16787
 
 
16788
 
# Shell to use when invoking shell scripts.
16789
 
SHELL=$lt_SHELL
16790
 
 
16791
 
# Whether or not to build shared libraries.
16792
 
build_libtool_libs=$enable_shared
16793
 
 
16794
 
# Whether or not to build static libraries.
16795
 
build_old_libs=$enable_static
16796
 
 
16797
 
# Whether or not to add -lc for building shared libraries.
16798
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
16799
 
 
16800
 
# Whether or not to disallow shared libs when runtime libs are static
16801
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16802
 
 
16803
 
# Whether or not to optimize for fast installation.
16804
 
fast_install=$enable_fast_install
16805
 
 
16806
 
# The host system.
16807
 
host_alias=$host_alias
16808
 
host=$host
16809
 
host_os=$host_os
16810
 
 
16811
 
# The build system.
16812
 
build_alias=$build_alias
16813
 
build=$build
16814
 
build_os=$build_os
16815
 
 
16816
 
# An echo program that does not interpret backslashes.
16817
 
echo=$lt_echo
16818
 
 
16819
 
# The archiver.
16820
 
AR=$lt_AR
16821
 
AR_FLAGS=$lt_AR_FLAGS
16822
 
 
16823
 
# A C compiler.
16824
 
LTCC=$lt_LTCC
16825
 
 
16826
 
# LTCC compiler flags.
16827
 
LTCFLAGS=$lt_LTCFLAGS
16828
 
 
16829
 
# A language-specific compiler.
16830
 
CC=$lt_compiler_F77
16831
 
 
16832
 
# Is the compiler the GNU C compiler?
16833
 
with_gcc=$GCC_F77
16834
 
 
16835
 
# An ERE matcher.
16836
 
EGREP=$lt_EGREP
16837
 
 
16838
 
# The linker used to build libraries.
16839
 
LD=$lt_LD_F77
16840
 
 
16841
 
# Whether we need hard or soft links.
16842
 
LN_S=$lt_LN_S
16843
 
 
16844
 
# A BSD-compatible nm program.
16845
 
NM=$lt_NM
16846
 
 
16847
 
# A symbol stripping program
16848
 
STRIP=$lt_STRIP
16849
 
 
16850
 
# Used to examine libraries when file_magic_cmd begins "file"
16851
 
MAGIC_CMD=$MAGIC_CMD
16852
 
 
16853
 
# Used on cygwin: DLL creation program.
16854
 
DLLTOOL="$DLLTOOL"
16855
 
 
16856
 
# Used on cygwin: object dumper.
16857
 
OBJDUMP="$OBJDUMP"
16858
 
 
16859
 
# Used on cygwin: assembler.
16860
 
AS="$AS"
16861
 
 
16862
 
# The name of the directory that contains temporary libtool files.
16863
 
objdir=$objdir
16864
 
 
16865
 
# How to create reloadable object files.
16866
 
reload_flag=$lt_reload_flag
16867
 
reload_cmds=$lt_reload_cmds
16868
 
 
16869
 
# How to pass a linker flag through the compiler.
16870
 
wl=$lt_lt_prog_compiler_wl_F77
16871
 
 
16872
 
# Object file suffix (normally "o").
16873
 
objext="$ac_objext"
16874
 
 
16875
 
# Old archive suffix (normally "a").
16876
 
libext="$libext"
16877
 
 
16878
 
# Shared library suffix (normally ".so").
16879
 
shrext_cmds='$shrext_cmds'
16880
 
 
16881
 
# Executable file suffix (normally "").
16882
 
exeext="$exeext"
16883
 
 
16884
 
# Additional compiler flags for building library objects.
16885
 
pic_flag=$lt_lt_prog_compiler_pic_F77
16886
 
pic_mode=$pic_mode
16887
 
 
16888
 
# What is the maximum length of a command?
16889
 
max_cmd_len=$lt_cv_sys_max_cmd_len
16890
 
 
16891
 
# Does compiler simultaneously support -c and -o options?
16892
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16893
 
 
16894
 
# Must we lock files when doing compilation?
16895
 
need_locks=$lt_need_locks
16896
 
 
16897
 
# Do we need the lib prefix for modules?
16898
 
need_lib_prefix=$need_lib_prefix
16899
 
 
16900
 
# Do we need a version for libraries?
16901
 
need_version=$need_version
16902
 
 
16903
 
# Whether dlopen is supported.
16904
 
dlopen_support=$enable_dlopen
16905
 
 
16906
 
# Whether dlopen of programs is supported.
16907
 
dlopen_self=$enable_dlopen_self
16908
 
 
16909
 
# Whether dlopen of statically linked programs is supported.
16910
 
dlopen_self_static=$enable_dlopen_self_static
16911
 
 
16912
 
# Compiler flag to prevent dynamic linking.
16913
 
link_static_flag=$lt_lt_prog_compiler_static_F77
16914
 
 
16915
 
# Compiler flag to turn off builtin functions.
16916
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16917
 
 
16918
 
# Compiler flag to allow reflexive dlopens.
16919
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16920
 
 
16921
 
# Compiler flag to generate shared objects directly from archives.
16922
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16923
 
 
16924
 
# Compiler flag to generate thread-safe objects.
16925
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16926
 
 
16927
 
# Library versioning type.
16928
 
version_type=$version_type
16929
 
 
16930
 
# Format of library name prefix.
16931
 
libname_spec=$lt_libname_spec
16932
 
 
16933
 
# List of archive names.  First name is the real one, the rest are links.
16934
 
# The last name is the one that the linker finds with -lNAME.
16935
 
library_names_spec=$lt_library_names_spec
16936
 
 
16937
 
# The coded name of the library, if different from the real name.
16938
 
soname_spec=$lt_soname_spec
16939
 
 
16940
 
# Commands used to build and install an old-style archive.
16941
 
RANLIB=$lt_RANLIB
16942
 
old_archive_cmds=$lt_old_archive_cmds_F77
16943
 
old_postinstall_cmds=$lt_old_postinstall_cmds
16944
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16945
 
 
16946
 
# Create an old-style archive from a shared archive.
16947
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16948
 
 
16949
 
# Create a temporary old-style archive to link instead of a shared archive.
16950
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16951
 
 
16952
 
# Commands used to build and install a shared archive.
16953
 
archive_cmds=$lt_archive_cmds_F77
16954
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16955
 
postinstall_cmds=$lt_postinstall_cmds
16956
 
postuninstall_cmds=$lt_postuninstall_cmds
16957
 
 
16958
 
# Commands used to build a loadable module (assumed same as above if empty)
16959
 
module_cmds=$lt_module_cmds_F77
16960
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
16961
 
 
16962
 
# Commands to strip libraries.
16963
 
old_striplib=$lt_old_striplib
16964
 
striplib=$lt_striplib
16965
 
 
16966
 
# Dependencies to place before the objects being linked to create a
16967
 
# shared library.
16968
 
predep_objects=$lt_predep_objects_F77
16969
 
 
16970
 
# Dependencies to place after the objects being linked to create a
16971
 
# shared library.
16972
 
postdep_objects=$lt_postdep_objects_F77
16973
 
 
16974
 
# Dependencies to place before the objects being linked to create a
16975
 
# shared library.
16976
 
predeps=$lt_predeps_F77
16977
 
 
16978
 
# Dependencies to place after the objects being linked to create a
16979
 
# shared library.
16980
 
postdeps=$lt_postdeps_F77
16981
 
 
16982
 
# The directories searched by this compiler when creating a shared
16983
 
# library
16984
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
16985
 
 
16986
 
# The library search path used internally by the compiler when linking
16987
 
# a shared library.
16988
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16989
 
 
16990
 
# Method to check whether dependent libraries are shared objects.
16991
 
deplibs_check_method=$lt_deplibs_check_method
16992
 
 
16993
 
# Command to use when deplibs_check_method == file_magic.
16994
 
file_magic_cmd=$lt_file_magic_cmd
16995
 
 
16996
 
# Flag that allows shared libraries with undefined symbols to be built.
16997
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
16998
 
 
16999
 
# Flag that forces no undefined symbols.
17000
 
no_undefined_flag=$lt_no_undefined_flag_F77
17001
 
 
17002
 
# Commands used to finish a libtool library installation in a directory.
17003
 
finish_cmds=$lt_finish_cmds
17004
 
 
17005
 
# Same as above, but a single script fragment to be evaled but not shown.
17006
 
finish_eval=$lt_finish_eval
17007
 
 
17008
 
# Take the output of nm and produce a listing of raw symbols and C names.
17009
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17010
 
 
17011
 
# Transform the output of nm in a proper C declaration
17012
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17013
 
 
17014
 
# Transform the output of nm in a C name address pair
17015
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17016
 
 
17017
 
# This is the shared library runtime path variable.
17018
 
runpath_var=$runpath_var
17019
 
 
17020
 
# This is the shared library path variable.
17021
 
shlibpath_var=$shlibpath_var
17022
 
 
17023
 
# Is shlibpath searched before the hard-coded library search path?
17024
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17025
 
 
17026
 
# How to hardcode a shared library path into an executable.
17027
 
hardcode_action=$hardcode_action_F77
17028
 
 
17029
 
# Whether we should hardcode library paths into libraries.
17030
 
hardcode_into_libs=$hardcode_into_libs
17031
 
 
17032
 
# Flag to hardcode \$libdir into a binary during linking.
17033
 
# This must work even if \$libdir does not exist.
17034
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
17035
 
 
17036
 
# If ld is used when linking, flag to hardcode \$libdir into
17037
 
# a binary during linking. This must work even if \$libdir does
17038
 
# not exist.
17039
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
17040
 
 
17041
 
# Whether we need a single -rpath flag with a separated argument.
17042
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
17043
 
 
17044
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17045
 
# resulting binary.
17046
 
hardcode_direct=$hardcode_direct_F77
17047
 
 
17048
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17049
 
# resulting binary.
17050
 
hardcode_minus_L=$hardcode_minus_L_F77
17051
 
 
17052
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17053
 
# the resulting binary.
17054
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
17055
 
 
17056
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
17057
 
# and all subsequent libraries and executables linked against it.
17058
 
hardcode_automatic=$hardcode_automatic_F77
17059
 
 
17060
 
# Variables whose values should be saved in libtool wrapper scripts and
17061
 
# restored at relink time.
17062
 
variables_saved_for_relink="$variables_saved_for_relink"
17063
 
 
17064
 
# Whether libtool must link a program against all its dependency libraries.
17065
 
link_all_deplibs=$link_all_deplibs_F77
17066
 
 
17067
 
# Compile-time system search path for libraries
17068
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17069
 
 
17070
 
# Run-time system search path for libraries
17071
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17072
 
 
17073
 
# Fix the shell variable \$srcfile for the compiler.
17074
 
fix_srcfile_path=$lt_fix_srcfile_path
17075
 
 
17076
 
# Set to yes if exported symbols are required.
17077
 
always_export_symbols=$always_export_symbols_F77
17078
 
 
17079
 
# The commands to list exported symbols.
17080
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
17081
 
 
17082
 
# The commands to extract the exported symbol list from a shared archive.
17083
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17084
 
 
17085
 
# Symbols that should not be listed in the preloaded symbols.
17086
 
exclude_expsyms=$lt_exclude_expsyms_F77
17087
 
 
17088
 
# Symbols that must always be exported.
17089
 
include_expsyms=$lt_include_expsyms_F77
17090
 
 
17091
 
# ### END LIBTOOL TAG CONFIG: $tagname
17092
 
 
17093
 
__EOF__
17094
 
 
17095
 
 
17096
 
else
17097
 
  # If there is no Makefile yet, we rely on a make rule to execute
17098
 
  # `config.status --recheck' to rerun these tests and create the
17099
 
  # libtool script then.
17100
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17101
 
  if test -f "$ltmain_in"; then
17102
 
    test -f Makefile && make "$ltmain"
17103
 
  fi
17104
 
fi
17105
 
 
17106
 
 
17107
 
ac_ext=c
17108
 
ac_cpp='$CPP $CPPFLAGS'
17109
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17110
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17111
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
17112
 
 
17113
 
CC="$lt_save_CC"
17114
 
 
17115
 
        else
17116
 
          tagname=""
17117
 
        fi
17118
 
        ;;
17119
 
 
17120
 
      GCJ)
17121
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17122
 
 
17123
 
 
17124
 
# Source file extension for Java test sources.
17125
 
ac_ext=java
17126
 
 
17127
 
# Object file extension for compiled Java test sources.
17128
 
objext=o
17129
 
objext_GCJ=$objext
17130
 
 
17131
 
# Code to be used in simple compile tests
17132
 
lt_simple_compile_test_code="class foo {}"
17133
 
 
17134
 
# Code to be used in simple link tests
17135
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
17136
 
 
17137
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
17138
 
 
17139
 
# If no C compiler was specified, use CC.
17140
 
LTCC=${LTCC-"$CC"}
17141
 
 
17142
 
# If no C compiler flags were specified, use CFLAGS.
17143
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17144
 
 
17145
 
# Allow CC to be a program name with arguments.
17146
 
compiler=$CC
17147
 
 
17148
 
 
17149
 
# save warnings/boilerplate of simple test code
17150
 
ac_outfile=conftest.$ac_objext
17151
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17152
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17153
 
_lt_compiler_boilerplate=`cat conftest.err`
17154
 
$rm conftest*
17155
 
 
17156
 
ac_outfile=conftest.$ac_objext
17157
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
17158
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17159
 
_lt_linker_boilerplate=`cat conftest.err`
17160
 
$rm -r conftest*
17161
 
 
17162
 
 
17163
 
# Allow CC to be a program name with arguments.
17164
 
lt_save_CC="$CC"
17165
 
CC=${GCJ-"gcj"}
17166
 
compiler=$CC
17167
 
compiler_GCJ=$CC
17168
 
for cc_temp in $compiler""; do
17169
 
  case $cc_temp in
17170
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17171
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17172
 
    \-*) ;;
17173
 
    *) break;;
17174
 
  esac
17175
 
done
17176
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17177
 
 
17178
 
 
17179
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
17180
 
archive_cmds_need_lc_GCJ=no
17181
 
 
17182
 
old_archive_cmds_GCJ=$old_archive_cmds
17183
 
 
17184
 
 
17185
 
lt_prog_compiler_no_builtin_flag_GCJ=
17186
 
 
17187
 
if test "$GCC" = yes; then
17188
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
17189
 
 
17190
 
 
17191
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17192
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
17193
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17194
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17195
 
else
17196
 
  lt_cv_prog_compiler_rtti_exceptions=no
17197
 
  ac_outfile=conftest.$ac_objext
17198
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17199
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
17200
 
   # Insert the option either (1) after the last *FLAGS variable, or
17201
 
   # (2) before a word containing "conftest.", or (3) at the end.
17202
 
   # Note that $ac_compile itself does not contain backslashes and begins
17203
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17204
 
   # The option is referenced via a variable to avoid confusing sed.
17205
 
   lt_compile=`echo "$ac_compile" | $SED \
17206
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17207
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17208
 
   -e 's:$: $lt_compiler_flag:'`
17209
 
   (eval echo "\"\$as_me:17209: $lt_compile\"" >&5)
17210
 
   (eval "$lt_compile" 2>conftest.err)
17211
 
   ac_status=$?
17212
 
   cat conftest.err >&5
17213
 
   echo "$as_me:17213: \$? = $ac_status" >&5
17214
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
17215
 
     # The compiler can only warn and ignore the option if not recognized
17216
 
     # So say no if there are warnings other than the usual output.
17217
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17218
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17219
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17220
 
       lt_cv_prog_compiler_rtti_exceptions=yes
17221
 
     fi
17222
 
   fi
17223
 
   $rm conftest*
17224
 
 
17225
 
fi
17226
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17227
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17228
 
 
17229
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
17230
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17231
 
else
17232
 
    :
17233
 
fi
17234
 
 
17235
 
fi
17236
 
 
17237
 
lt_prog_compiler_wl_GCJ=
17238
 
lt_prog_compiler_pic_GCJ=
17239
 
lt_prog_compiler_static_GCJ=
17240
 
 
17241
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17242
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
17243
 
 
17244
 
  if test "$GCC" = yes; then
17245
 
    lt_prog_compiler_wl_GCJ='-Wl,'
17246
 
    lt_prog_compiler_static_GCJ='-static'
17247
 
 
17248
 
    case $host_os in
17249
 
      aix*)
17250
 
      # All AIX code is PIC.
17251
 
      if test "$host_cpu" = ia64; then
17252
 
        # AIX 5 now supports IA64 processor
17253
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17254
 
      fi
17255
 
      ;;
17256
 
 
17257
 
    amigaos*)
17258
 
      # FIXME: we need at least 68020 code to build shared libraries, but
17259
 
      # adding the `-m68020' flag to GCC prevents building anything better,
17260
 
      # like `-m68040'.
17261
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
17262
 
      ;;
17263
 
 
17264
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17265
 
      # PIC is the default for these OSes.
17266
 
      ;;
17267
 
 
17268
 
    mingw* | cygwin* | pw32* | os2*)
17269
 
      # This hack is so that the source file can tell whether it is being
17270
 
      # built for inclusion in a dll (and should export symbols for example).
17271
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
17272
 
      # (--disable-auto-import) libraries
17273
 
 
17274
 
      ;;
17275
 
 
17276
 
    darwin* | rhapsody*)
17277
 
      # PIC is the default on this platform
17278
 
      # Common symbols not allowed in MH_DYLIB files
17279
 
      lt_prog_compiler_pic_GCJ='-fno-common'
17280
 
      ;;
17281
 
 
17282
 
    interix[3-9]*)
17283
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17284
 
      # Instead, we relocate shared libraries at runtime.
17285
 
      ;;
17286
 
 
17287
 
    msdosdjgpp*)
17288
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
17289
 
      # on systems that don't support them.
17290
 
      lt_prog_compiler_can_build_shared_GCJ=no
17291
 
      enable_shared=no
17292
 
      ;;
17293
 
 
17294
 
    sysv4*MP*)
17295
 
      if test -d /usr/nec; then
17296
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
17297
 
      fi
17298
 
      ;;
17299
 
 
17300
 
    hpux*)
17301
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17302
 
      # not for PA HP-UX.
17303
 
      case $host_cpu in
17304
 
      hppa*64*|ia64*)
17305
 
        # +Z the default
17306
 
        ;;
17307
 
      *)
17308
 
        lt_prog_compiler_pic_GCJ='-fPIC'
17309
 
        ;;
17310
 
      esac
17311
 
      ;;
17312
 
 
17313
 
    *)
17314
 
      lt_prog_compiler_pic_GCJ='-fPIC'
17315
 
      ;;
17316
 
    esac
17317
 
  else
17318
 
    # PORTME Check for flag to pass linker flags through the system compiler.
17319
 
    case $host_os in
17320
 
    aix*)
17321
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17322
 
      if test "$host_cpu" = ia64; then
17323
 
        # AIX 5 now supports IA64 processor
17324
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17325
 
      else
17326
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
17327
 
      fi
17328
 
      ;;
17329
 
      darwin*)
17330
 
        # PIC is the default on this platform
17331
 
        # Common symbols not allowed in MH_DYLIB files
17332
 
       case $cc_basename in
17333
 
         xlc*)
17334
 
         lt_prog_compiler_pic_GCJ='-qnocommon'
17335
 
         lt_prog_compiler_wl_GCJ='-Wl,'
17336
 
         ;;
17337
 
       esac
17338
 
       ;;
17339
 
 
17340
 
    mingw* | cygwin* | pw32* | os2*)
17341
 
      # This hack is so that the source file can tell whether it is being
17342
 
      # built for inclusion in a dll (and should export symbols for example).
17343
 
 
17344
 
      ;;
17345
 
 
17346
 
    hpux9* | hpux10* | hpux11*)
17347
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17348
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17349
 
      # not for PA HP-UX.
17350
 
      case $host_cpu in
17351
 
      hppa*64*|ia64*)
17352
 
        # +Z the default
17353
 
        ;;
17354
 
      *)
17355
 
        lt_prog_compiler_pic_GCJ='+Z'
17356
 
        ;;
17357
 
      esac
17358
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
17359
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
17360
 
      ;;
17361
 
 
17362
 
    irix5* | irix6* | nonstopux*)
17363
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17364
 
      # PIC (with -KPIC) is the default.
17365
 
      lt_prog_compiler_static_GCJ='-non_shared'
17366
 
      ;;
17367
 
 
17368
 
    newsos6)
17369
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17370
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17371
 
      ;;
17372
 
 
17373
 
    linux* | k*bsd*-gnu)
17374
 
      case $cc_basename in
17375
 
      icc* | ecc*)
17376
 
        lt_prog_compiler_wl_GCJ='-Wl,'
17377
 
        lt_prog_compiler_pic_GCJ='-KPIC'
17378
 
        lt_prog_compiler_static_GCJ='-static'
17379
 
        ;;
17380
 
      pgcc* | pgf77* | pgf90* | pgf95*)
17381
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
17382
 
        # which looks to be a dead project)
17383
 
        lt_prog_compiler_wl_GCJ='-Wl,'
17384
 
        lt_prog_compiler_pic_GCJ='-fpic'
17385
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17386
 
        ;;
17387
 
      ccc*)
17388
 
        lt_prog_compiler_wl_GCJ='-Wl,'
17389
 
        # All Alpha code is PIC.
17390
 
        lt_prog_compiler_static_GCJ='-non_shared'
17391
 
        ;;
17392
 
      *)
17393
 
        case `$CC -V 2>&1 | sed 5q` in
17394
 
        *Sun\ C*)
17395
 
          # Sun C 5.9
17396
 
          lt_prog_compiler_pic_GCJ='-KPIC'
17397
 
          lt_prog_compiler_static_GCJ='-Bstatic'
17398
 
          lt_prog_compiler_wl_GCJ='-Wl,'
17399
 
          ;;
17400
 
        *Sun\ F*)
17401
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
17402
 
          lt_prog_compiler_pic_GCJ='-KPIC'
17403
 
          lt_prog_compiler_static_GCJ='-Bstatic'
17404
 
          lt_prog_compiler_wl_GCJ=''
17405
 
          ;;
17406
 
        esac
17407
 
        ;;
17408
 
      esac
17409
 
      ;;
17410
 
 
17411
 
    osf3* | osf4* | osf5*)
17412
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17413
 
      # All OSF/1 code is PIC.
17414
 
      lt_prog_compiler_static_GCJ='-non_shared'
17415
 
      ;;
17416
 
 
17417
 
    rdos*)
17418
 
      lt_prog_compiler_static_GCJ='-non_shared'
17419
 
      ;;
17420
 
 
17421
 
    solaris*)
17422
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17423
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17424
 
      case $cc_basename in
17425
 
      f77* | f90* | f95*)
17426
 
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
17427
 
      *)
17428
 
        lt_prog_compiler_wl_GCJ='-Wl,';;
17429
 
      esac
17430
 
      ;;
17431
 
 
17432
 
    sunos4*)
17433
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
17434
 
      lt_prog_compiler_pic_GCJ='-PIC'
17435
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17436
 
      ;;
17437
 
 
17438
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
17439
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17440
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17441
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17442
 
      ;;
17443
 
 
17444
 
    sysv4*MP*)
17445
 
      if test -d /usr/nec ;then
17446
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
17447
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17448
 
      fi
17449
 
      ;;
17450
 
 
17451
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17452
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17453
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17454
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17455
 
      ;;
17456
 
 
17457
 
    unicos*)
17458
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17459
 
      lt_prog_compiler_can_build_shared_GCJ=no
17460
 
      ;;
17461
 
 
17462
 
    uts4*)
17463
 
      lt_prog_compiler_pic_GCJ='-pic'
17464
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17465
 
      ;;
17466
 
 
17467
 
    *)
17468
 
      lt_prog_compiler_can_build_shared_GCJ=no
17469
 
      ;;
17470
 
    esac
17471
 
  fi
17472
 
 
17473
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17474
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
17475
 
 
17476
 
#
17477
 
# Check to make sure the PIC flag actually works.
17478
 
#
17479
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
17480
 
 
17481
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17482
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
17483
 
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
17484
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17485
 
else
17486
 
  lt_cv_prog_compiler_pic_works_GCJ=no
17487
 
  ac_outfile=conftest.$ac_objext
17488
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17489
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
17490
 
   # Insert the option either (1) after the last *FLAGS variable, or
17491
 
   # (2) before a word containing "conftest.", or (3) at the end.
17492
 
   # Note that $ac_compile itself does not contain backslashes and begins
17493
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17494
 
   # The option is referenced via a variable to avoid confusing sed.
17495
 
   lt_compile=`echo "$ac_compile" | $SED \
17496
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17497
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17498
 
   -e 's:$: $lt_compiler_flag:'`
17499
 
   (eval echo "\"\$as_me:17499: $lt_compile\"" >&5)
17500
 
   (eval "$lt_compile" 2>conftest.err)
17501
 
   ac_status=$?
17502
 
   cat conftest.err >&5
17503
 
   echo "$as_me:17503: \$? = $ac_status" >&5
17504
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
17505
 
     # The compiler can only warn and ignore the option if not recognized
17506
 
     # So say no if there are warnings other than the usual output.
17507
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17508
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17509
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17510
 
       lt_cv_prog_compiler_pic_works_GCJ=yes
17511
 
     fi
17512
 
   fi
17513
 
   $rm conftest*
17514
 
 
17515
 
fi
17516
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
17517
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
17518
 
 
17519
 
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
17520
 
    case $lt_prog_compiler_pic_GCJ in
17521
 
     "" | " "*) ;;
17522
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
17523
 
     esac
17524
 
else
17525
 
    lt_prog_compiler_pic_GCJ=
17526
 
     lt_prog_compiler_can_build_shared_GCJ=no
17527
 
fi
17528
 
 
17529
 
fi
17530
 
case $host_os in
17531
 
  # For platforms which do not support PIC, -DPIC is meaningless:
17532
 
  *djgpp*)
17533
 
    lt_prog_compiler_pic_GCJ=
17534
 
    ;;
17535
 
  *)
17536
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
17537
 
    ;;
17538
 
esac
17539
 
 
17540
 
#
17541
 
# Check to make sure the static flag actually works.
17542
 
#
17543
 
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
17544
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17545
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17546
 
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
17547
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17548
 
else
17549
 
  lt_cv_prog_compiler_static_works_GCJ=no
17550
 
   save_LDFLAGS="$LDFLAGS"
17551
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17552
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
17553
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17554
 
     # The linker can only warn and ignore the option if not recognized
17555
 
     # So say no if there are warnings
17556
 
     if test -s conftest.err; then
17557
 
       # Append any errors to the config.log.
17558
 
       cat conftest.err 1>&5
17559
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17560
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17561
 
       if diff conftest.exp conftest.er2 >/dev/null; then
17562
 
         lt_cv_prog_compiler_static_works_GCJ=yes
17563
 
       fi
17564
 
     else
17565
 
       lt_cv_prog_compiler_static_works_GCJ=yes
17566
 
     fi
17567
 
   fi
17568
 
   $rm -r conftest*
17569
 
   LDFLAGS="$save_LDFLAGS"
17570
 
 
17571
 
fi
17572
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
17573
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
17574
 
 
17575
 
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
17576
 
    :
17577
 
else
17578
 
    lt_prog_compiler_static_GCJ=
17579
 
fi
17580
 
 
17581
 
 
17582
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17583
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17584
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17585
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17586
 
else
17587
 
  lt_cv_prog_compiler_c_o_GCJ=no
17588
 
   $rm -r conftest 2>/dev/null
17589
 
   mkdir conftest
17590
 
   cd conftest
17591
 
   mkdir out
17592
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17593
 
 
17594
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
17595
 
   # Insert the option either (1) after the last *FLAGS variable, or
17596
 
   # (2) before a word containing "conftest.", or (3) at the end.
17597
 
   # Note that $ac_compile itself does not contain backslashes and begins
17598
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17599
 
   lt_compile=`echo "$ac_compile" | $SED \
17600
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17601
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17602
 
   -e 's:$: $lt_compiler_flag:'`
17603
 
   (eval echo "\"\$as_me:17603: $lt_compile\"" >&5)
17604
 
   (eval "$lt_compile" 2>out/conftest.err)
17605
 
   ac_status=$?
17606
 
   cat out/conftest.err >&5
17607
 
   echo "$as_me:17607: \$? = $ac_status" >&5
17608
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17609
 
   then
17610
 
     # The compiler can only warn and ignore the option if not recognized
17611
 
     # So say no if there are warnings
17612
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17613
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17614
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17615
 
       lt_cv_prog_compiler_c_o_GCJ=yes
17616
 
     fi
17617
 
   fi
17618
 
   chmod u+w . 2>&5
17619
 
   $rm conftest*
17620
 
   # SGI C++ compiler will create directory out/ii_files/ for
17621
 
   # template instantiation
17622
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
17623
 
   $rm out/* && rmdir out
17624
 
   cd ..
17625
 
   rmdir conftest
17626
 
   $rm conftest*
17627
 
 
17628
 
fi
17629
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17630
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17631
 
 
17632
 
 
17633
 
hard_links="nottested"
17634
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
17635
 
  # do not overwrite the value of need_locks provided by the user
17636
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17637
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17638
 
  hard_links=yes
17639
 
  $rm conftest*
17640
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17641
 
  touch conftest.a
17642
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
17643
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17644
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
17645
 
echo "${ECHO_T}$hard_links" >&6; }
17646
 
  if test "$hard_links" = no; then
17647
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17648
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17649
 
    need_locks=warn
17650
 
  fi
17651
 
else
17652
 
  need_locks=no
17653
 
fi
17654
 
 
17655
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17656
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17657
 
 
17658
 
  runpath_var=
17659
 
  allow_undefined_flag_GCJ=
17660
 
  enable_shared_with_static_runtimes_GCJ=no
17661
 
  archive_cmds_GCJ=
17662
 
  archive_expsym_cmds_GCJ=
17663
 
  old_archive_From_new_cmds_GCJ=
17664
 
  old_archive_from_expsyms_cmds_GCJ=
17665
 
  export_dynamic_flag_spec_GCJ=
17666
 
  whole_archive_flag_spec_GCJ=
17667
 
  thread_safe_flag_spec_GCJ=
17668
 
  hardcode_libdir_flag_spec_GCJ=
17669
 
  hardcode_libdir_flag_spec_ld_GCJ=
17670
 
  hardcode_libdir_separator_GCJ=
17671
 
  hardcode_direct_GCJ=no
17672
 
  hardcode_minus_L_GCJ=no
17673
 
  hardcode_shlibpath_var_GCJ=unsupported
17674
 
  link_all_deplibs_GCJ=unknown
17675
 
  hardcode_automatic_GCJ=no
17676
 
  module_cmds_GCJ=
17677
 
  module_expsym_cmds_GCJ=
17678
 
  always_export_symbols_GCJ=no
17679
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17680
 
  # include_expsyms should be a list of space-separated symbols to be *always*
17681
 
  # included in the symbol list
17682
 
  include_expsyms_GCJ=
17683
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
17684
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
17685
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17686
 
  # as well as any symbol that contains `d'.
17687
 
  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17688
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17689
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
17690
 
  # the symbol is explicitly referenced.  Since portable code cannot
17691
 
  # rely on this symbol name, it's probably fine to never include it in
17692
 
  # preloaded symbol tables.
17693
 
  # Exclude shared library initialization/finalization symbols.
17694
 
  extract_expsyms_cmds=
17695
 
  # Just being paranoid about ensuring that cc_basename is set.
17696
 
  for cc_temp in $compiler""; do
17697
 
  case $cc_temp in
17698
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17699
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17700
 
    \-*) ;;
17701
 
    *) break;;
17702
 
  esac
17703
 
done
17704
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17705
 
 
17706
 
  case $host_os in
17707
 
  cygwin* | mingw* | pw32*)
17708
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
17709
 
    # When not using gcc, we currently assume that we are using
17710
 
    # Microsoft Visual C++.
17711
 
    if test "$GCC" != yes; then
17712
 
      with_gnu_ld=no
17713
 
    fi
17714
 
    ;;
17715
 
  interix*)
17716
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
17717
 
    with_gnu_ld=yes
17718
 
    ;;
17719
 
  openbsd*)
17720
 
    with_gnu_ld=no
17721
 
    ;;
17722
 
  esac
17723
 
 
17724
 
  ld_shlibs_GCJ=yes
17725
 
  if test "$with_gnu_ld" = yes; then
17726
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
17727
 
    wlarc='${wl}'
17728
 
 
17729
 
    # Set some defaults for GNU ld with shared library support. These
17730
 
    # are reset later if shared libraries are not supported. Putting them
17731
 
    # here allows them to be overridden if necessary.
17732
 
    runpath_var=LD_RUN_PATH
17733
 
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
17734
 
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
17735
 
    # ancient GNU ld didn't support --whole-archive et. al.
17736
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17737
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17738
 
      else
17739
 
        whole_archive_flag_spec_GCJ=
17740
 
    fi
17741
 
    supports_anon_versioning=no
17742
 
    case `$LD -v 2>/dev/null` in
17743
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17744
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17745
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17746
 
      *\ 2.11.*) ;; # other 2.11 versions
17747
 
      *) supports_anon_versioning=yes ;;
17748
 
    esac
17749
 
 
17750
 
    # See if GNU ld supports shared libraries.
17751
 
    case $host_os in
17752
 
    aix[3-9]*)
17753
 
      # On AIX/PPC, the GNU linker is very broken
17754
 
      if test "$host_cpu" != ia64; then
17755
 
        ld_shlibs_GCJ=no
17756
 
        cat <<EOF 1>&2
17757
 
 
17758
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
17759
 
*** to be unable to reliably create shared libraries on AIX.
17760
 
*** Therefore, libtool is disabling shared libraries support.  If you
17761
 
*** really care for shared libraries, you may want to modify your PATH
17762
 
*** so that a non-GNU linker is found, and then restart.
17763
 
 
17764
 
EOF
17765
 
      fi
17766
 
      ;;
17767
 
 
17768
 
    amigaos*)
17769
 
      archive_cmds_GCJ='$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)'
17770
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17771
 
      hardcode_minus_L_GCJ=yes
17772
 
 
17773
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17774
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
17775
 
      # to version 4, is to share data among multiple programs linked
17776
 
      # with the same dynamic library.  Since this doesn't match the
17777
 
      # behavior of shared libraries on other platforms, we can't use
17778
 
      # them.
17779
 
      ld_shlibs_GCJ=no
17780
 
      ;;
17781
 
 
17782
 
    beos*)
17783
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17784
 
        allow_undefined_flag_GCJ=unsupported
17785
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17786
 
        # support --undefined.  This deserves some investigation.  FIXME
17787
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17788
 
      else
17789
 
        ld_shlibs_GCJ=no
17790
 
      fi
17791
 
      ;;
17792
 
 
17793
 
    cygwin* | mingw* | pw32*)
17794
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17795
 
      # as there is no search path for DLLs.
17796
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17797
 
      allow_undefined_flag_GCJ=unsupported
17798
 
      always_export_symbols_GCJ=no
17799
 
      enable_shared_with_static_runtimes_GCJ=yes
17800
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17801
 
 
17802
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17803
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17804
 
        # If the export-symbols file already is a .def file (1st line
17805
 
        # is EXPORTS), use it as is; otherwise, prepend...
17806
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17807
 
          cp $export_symbols $output_objdir/$soname.def;
17808
 
        else
17809
 
          echo EXPORTS > $output_objdir/$soname.def;
17810
 
          cat $export_symbols >> $output_objdir/$soname.def;
17811
 
        fi~
17812
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17813
 
      else
17814
 
        ld_shlibs_GCJ=no
17815
 
      fi
17816
 
      ;;
17817
 
 
17818
 
    interix[3-9]*)
17819
 
      hardcode_direct_GCJ=no
17820
 
      hardcode_shlibpath_var_GCJ=no
17821
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17822
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
17823
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17824
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
17825
 
      # default) and relocated if they conflict, which is a slow very memory
17826
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
17827
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17828
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
17829
 
      archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17830
 
      archive_expsym_cmds_GCJ='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'
17831
 
      ;;
17832
 
 
17833
 
    gnu* | linux* | k*bsd*-gnu)
17834
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17835
 
        tmp_addflag=
17836
 
        case $cc_basename,$host_cpu in
17837
 
        pgcc*)                          # Portland Group C compiler
17838
 
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17839
 
          tmp_addflag=' $pic_flag'
17840
 
          ;;
17841
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
17842
 
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17843
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
17844
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
17845
 
          tmp_addflag=' -i_dynamic' ;;
17846
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
17847
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
17848
 
        ifc* | ifort*)                  # Intel Fortran compiler
17849
 
          tmp_addflag=' -nofor_main' ;;
17850
 
        esac
17851
 
        case `$CC -V 2>&1 | sed 5q` in
17852
 
        *Sun\ C*)                       # Sun C 5.9
17853
 
          whole_archive_flag_spec_GCJ='${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'
17854
 
          tmp_sharedflag='-G' ;;
17855
 
        *Sun\ F*)                       # Sun Fortran 8.3
17856
 
          tmp_sharedflag='-G' ;;
17857
 
        *)
17858
 
          tmp_sharedflag='-shared' ;;
17859
 
        esac
17860
 
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17861
 
 
17862
 
        if test $supports_anon_versioning = yes; then
17863
 
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
17864
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17865
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
17866
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17867
 
        fi
17868
 
        link_all_deplibs_GCJ=no
17869
 
      else
17870
 
        ld_shlibs_GCJ=no
17871
 
      fi
17872
 
      ;;
17873
 
 
17874
 
    netbsd* | netbsdelf*-gnu)
17875
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17876
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17877
 
        wlarc=
17878
 
      else
17879
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17880
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17881
 
      fi
17882
 
      ;;
17883
 
 
17884
 
    solaris*)
17885
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17886
 
        ld_shlibs_GCJ=no
17887
 
        cat <<EOF 1>&2
17888
 
 
17889
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
17890
 
*** create shared libraries on Solaris systems.  Therefore, libtool
17891
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17892
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
17893
 
*** your PATH or compiler configuration so that the native linker is
17894
 
*** used, and then restart.
17895
 
 
17896
 
EOF
17897
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17898
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17899
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17900
 
      else
17901
 
        ld_shlibs_GCJ=no
17902
 
      fi
17903
 
      ;;
17904
 
 
17905
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17906
 
      case `$LD -v 2>&1` in
17907
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17908
 
        ld_shlibs_GCJ=no
17909
 
        cat <<_LT_EOF 1>&2
17910
 
 
17911
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17912
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
17913
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17914
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
17915
 
*** your PATH or compiler configuration so that the native linker is
17916
 
*** used, and then restart.
17917
 
 
17918
 
_LT_EOF
17919
 
        ;;
17920
 
        *)
17921
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17922
 
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17923
 
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17924
 
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17925
 
          else
17926
 
            ld_shlibs_GCJ=no
17927
 
          fi
17928
 
        ;;
17929
 
      esac
17930
 
      ;;
17931
 
 
17932
 
    sunos4*)
17933
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17934
 
      wlarc=
17935
 
      hardcode_direct_GCJ=yes
17936
 
      hardcode_shlibpath_var_GCJ=no
17937
 
      ;;
17938
 
 
17939
 
    *)
17940
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17941
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17942
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17943
 
      else
17944
 
        ld_shlibs_GCJ=no
17945
 
      fi
17946
 
      ;;
17947
 
    esac
17948
 
 
17949
 
    if test "$ld_shlibs_GCJ" = no; then
17950
 
      runpath_var=
17951
 
      hardcode_libdir_flag_spec_GCJ=
17952
 
      export_dynamic_flag_spec_GCJ=
17953
 
      whole_archive_flag_spec_GCJ=
17954
 
    fi
17955
 
  else
17956
 
    # PORTME fill in a description of your system's linker (not GNU ld)
17957
 
    case $host_os in
17958
 
    aix3*)
17959
 
      allow_undefined_flag_GCJ=unsupported
17960
 
      always_export_symbols_GCJ=yes
17961
 
      archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
17962
 
      # Note: this linker hardcodes the directories in LIBPATH if there
17963
 
      # are no directories specified by -L.
17964
 
      hardcode_minus_L_GCJ=yes
17965
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17966
 
        # Neither direct hardcoding nor static linking is supported with a
17967
 
        # broken collect2.
17968
 
        hardcode_direct_GCJ=unsupported
17969
 
      fi
17970
 
      ;;
17971
 
 
17972
 
    aix[4-9]*)
17973
 
      if test "$host_cpu" = ia64; then
17974
 
        # On IA64, the linker does run time linking by default, so we don't
17975
 
        # have to do anything special.
17976
 
        aix_use_runtimelinking=no
17977
 
        exp_sym_flag='-Bexport'
17978
 
        no_entry_flag=""
17979
 
      else
17980
 
        # If we're using GNU nm, then we don't want the "-C" option.
17981
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
17982
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17983
 
          export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17984
 
        else
17985
 
          export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17986
 
        fi
17987
 
        aix_use_runtimelinking=no
17988
 
 
17989
 
        # Test if we are trying to use run time linking or normal
17990
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17991
 
        # need to do runtime linking.
17992
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
17993
 
          for ld_flag in $LDFLAGS; do
17994
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17995
 
            aix_use_runtimelinking=yes
17996
 
            break
17997
 
          fi
17998
 
          done
17999
 
          ;;
18000
 
        esac
18001
 
 
18002
 
        exp_sym_flag='-bexport'
18003
 
        no_entry_flag='-bnoentry'
18004
 
      fi
18005
 
 
18006
 
      # When large executables or shared objects are built, AIX ld can
18007
 
      # have problems creating the table of contents.  If linking a library
18008
 
      # or program results in "error TOC overflow" add -mminimal-toc to
18009
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
18010
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18011
 
 
18012
 
      archive_cmds_GCJ=''
18013
 
      hardcode_direct_GCJ=yes
18014
 
      hardcode_libdir_separator_GCJ=':'
18015
 
      link_all_deplibs_GCJ=yes
18016
 
 
18017
 
      if test "$GCC" = yes; then
18018
 
        case $host_os in aix4.[012]|aix4.[012].*)
18019
 
        # We only want to do this on AIX 4.2 and lower, the check
18020
 
        # below for broken collect2 doesn't work under 4.3+
18021
 
          collect2name=`${CC} -print-prog-name=collect2`
18022
 
          if test -f "$collect2name" && \
18023
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
18024
 
          then
18025
 
          # We have reworked collect2
18026
 
          :
18027
 
          else
18028
 
          # We have old collect2
18029
 
          hardcode_direct_GCJ=unsupported
18030
 
          # It fails to find uninstalled libraries when the uninstalled
18031
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
18032
 
          # to unsupported forces relinking
18033
 
          hardcode_minus_L_GCJ=yes
18034
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
18035
 
          hardcode_libdir_separator_GCJ=
18036
 
          fi
18037
 
          ;;
18038
 
        esac
18039
 
        shared_flag='-shared'
18040
 
        if test "$aix_use_runtimelinking" = yes; then
18041
 
          shared_flag="$shared_flag "'${wl}-G'
18042
 
        fi
18043
 
      else
18044
 
        # not using gcc
18045
 
        if test "$host_cpu" = ia64; then
18046
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18047
 
        # chokes on -Wl,-G. The following line is correct:
18048
 
          shared_flag='-G'
18049
 
        else
18050
 
          if test "$aix_use_runtimelinking" = yes; then
18051
 
            shared_flag='${wl}-G'
18052
 
          else
18053
 
            shared_flag='${wl}-bM:SRE'
18054
 
          fi
18055
 
        fi
18056
 
      fi
18057
 
 
18058
 
      # It seems that -bexpall does not export symbols beginning with
18059
 
      # underscore (_), so it is better to generate a list of symbols to export.
18060
 
      always_export_symbols_GCJ=yes
18061
 
      if test "$aix_use_runtimelinking" = yes; then
18062
 
        # Warning - without using the other runtime loading flags (-brtl),
18063
 
        # -berok will link without error, but may produce a broken library.
18064
 
        allow_undefined_flag_GCJ='-berok'
18065
 
       # Determine the default libpath from the value encoded in an empty executable.
18066
 
       cat >conftest.$ac_ext <<_ACEOF
18067
 
/* confdefs.h.  */
18068
 
_ACEOF
18069
 
cat confdefs.h >>conftest.$ac_ext
18070
 
cat >>conftest.$ac_ext <<_ACEOF
18071
 
/* end confdefs.h.  */
18072
 
 
18073
 
int
18074
 
main ()
18075
 
{
18076
 
 
18077
 
  ;
18078
 
  return 0;
18079
 
}
18080
 
_ACEOF
18081
 
rm -f conftest.$ac_objext conftest$ac_exeext
18082
 
if { (ac_try="$ac_link"
18083
 
case "(($ac_try" in
18084
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18085
 
  *) ac_try_echo=$ac_try;;
18086
 
esac
18087
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18088
 
  (eval "$ac_link") 2>conftest.er1
18089
 
  ac_status=$?
18090
 
  grep -v '^ *+' conftest.er1 >conftest.err
18091
 
  rm -f conftest.er1
18092
 
  cat conftest.err >&5
18093
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18094
 
  (exit $ac_status); } && {
18095
 
         test -z "$ac_c_werror_flag" ||
18096
 
         test ! -s conftest.err
18097
 
       } && test -s conftest$ac_exeext &&
18098
 
       $as_test_x conftest$ac_exeext; then
18099
 
 
18100
 
lt_aix_libpath_sed='
18101
 
    /Import File Strings/,/^$/ {
18102
 
        /^0/ {
18103
 
            s/^0  *\(.*\)$/\1/
18104
 
            p
18105
 
        }
18106
 
    }'
18107
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18108
 
# Check for a 64-bit object if we didn't find anything.
18109
 
if test -z "$aix_libpath"; then
18110
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18111
 
fi
18112
 
else
18113
 
  echo "$as_me: failed program was:" >&5
18114
 
sed 's/^/| /' conftest.$ac_ext >&5
18115
 
 
18116
 
 
18117
 
fi
18118
 
 
18119
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18120
 
      conftest$ac_exeext conftest.$ac_ext
18121
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18122
 
 
18123
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18124
 
        archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
18125
 
       else
18126
 
        if test "$host_cpu" = ia64; then
18127
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
18128
 
          allow_undefined_flag_GCJ="-z nodefs"
18129
 
          archive_expsym_cmds_GCJ="\$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"
18130
 
        else
18131
 
         # Determine the default libpath from the value encoded in an empty executable.
18132
 
         cat >conftest.$ac_ext <<_ACEOF
18133
 
/* confdefs.h.  */
18134
 
_ACEOF
18135
 
cat confdefs.h >>conftest.$ac_ext
18136
 
cat >>conftest.$ac_ext <<_ACEOF
18137
 
/* end confdefs.h.  */
18138
 
 
18139
 
int
18140
 
main ()
18141
 
{
18142
 
 
18143
 
  ;
18144
 
  return 0;
18145
 
}
18146
 
_ACEOF
18147
 
rm -f conftest.$ac_objext conftest$ac_exeext
18148
 
if { (ac_try="$ac_link"
18149
 
case "(($ac_try" in
18150
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18151
 
  *) ac_try_echo=$ac_try;;
18152
 
esac
18153
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18154
 
  (eval "$ac_link") 2>conftest.er1
18155
 
  ac_status=$?
18156
 
  grep -v '^ *+' conftest.er1 >conftest.err
18157
 
  rm -f conftest.er1
18158
 
  cat conftest.err >&5
18159
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18160
 
  (exit $ac_status); } && {
18161
 
         test -z "$ac_c_werror_flag" ||
18162
 
         test ! -s conftest.err
18163
 
       } && test -s conftest$ac_exeext &&
18164
 
       $as_test_x conftest$ac_exeext; then
18165
 
 
18166
 
lt_aix_libpath_sed='
18167
 
    /Import File Strings/,/^$/ {
18168
 
        /^0/ {
18169
 
            s/^0  *\(.*\)$/\1/
18170
 
            p
18171
 
        }
18172
 
    }'
18173
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18174
 
# Check for a 64-bit object if we didn't find anything.
18175
 
if test -z "$aix_libpath"; then
18176
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18177
 
fi
18178
 
else
18179
 
  echo "$as_me: failed program was:" >&5
18180
 
sed 's/^/| /' conftest.$ac_ext >&5
18181
 
 
18182
 
 
18183
 
fi
18184
 
 
18185
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18186
 
      conftest$ac_exeext conftest.$ac_ext
18187
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18188
 
 
18189
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18190
 
          # Warning - without using the other run time loading flags,
18191
 
          # -berok will link without error, but may produce a broken library.
18192
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
18193
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
18194
 
          # Exported symbols can be pulled into shared objects from archives
18195
 
          whole_archive_flag_spec_GCJ='$convenience'
18196
 
          archive_cmds_need_lc_GCJ=yes
18197
 
          # This is similar to how AIX traditionally builds its shared libraries.
18198
 
          archive_expsym_cmds_GCJ="\$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'
18199
 
        fi
18200
 
      fi
18201
 
      ;;
18202
 
 
18203
 
    amigaos*)
18204
 
      archive_cmds_GCJ='$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)'
18205
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18206
 
      hardcode_minus_L_GCJ=yes
18207
 
      # see comment about different semantics on the GNU ld section
18208
 
      ld_shlibs_GCJ=no
18209
 
      ;;
18210
 
 
18211
 
    bsdi[45]*)
18212
 
      export_dynamic_flag_spec_GCJ=-rdynamic
18213
 
      ;;
18214
 
 
18215
 
    cygwin* | mingw* | pw32*)
18216
 
      # When not using gcc, we currently assume that we are using
18217
 
      # Microsoft Visual C++.
18218
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
18219
 
      # no search path for DLLs.
18220
 
      hardcode_libdir_flag_spec_GCJ=' '
18221
 
      allow_undefined_flag_GCJ=unsupported
18222
 
      # Tell ltmain to make .lib files, not .a files.
18223
 
      libext=lib
18224
 
      # Tell ltmain to make .dll files, not .so files.
18225
 
      shrext_cmds=".dll"
18226
 
      # FIXME: Setting linknames here is a bad hack.
18227
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18228
 
      # The linker will automatically build a .lib file if we build a DLL.
18229
 
      old_archive_From_new_cmds_GCJ='true'
18230
 
      # FIXME: Should let the user specify the lib program.
18231
 
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
18232
 
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
18233
 
      enable_shared_with_static_runtimes_GCJ=yes
18234
 
      ;;
18235
 
 
18236
 
    darwin* | rhapsody*)
18237
 
      case $host_os in
18238
 
        rhapsody* | darwin1.[012])
18239
 
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
18240
 
         ;;
18241
 
       *) # Darwin 1.3 on
18242
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18243
 
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18244
 
         else
18245
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
18246
 
             10.[012])
18247
 
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18248
 
               ;;
18249
 
             10.*)
18250
 
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
18251
 
               ;;
18252
 
           esac
18253
 
         fi
18254
 
         ;;
18255
 
      esac
18256
 
      archive_cmds_need_lc_GCJ=no
18257
 
      hardcode_direct_GCJ=no
18258
 
      hardcode_automatic_GCJ=yes
18259
 
      hardcode_shlibpath_var_GCJ=unsupported
18260
 
      whole_archive_flag_spec_GCJ=''
18261
 
      link_all_deplibs_GCJ=yes
18262
 
    if test "$GCC" = yes ; then
18263
 
        output_verbose_link_cmd='echo'
18264
 
        archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
18265
 
        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18266
 
        archive_expsym_cmds_GCJ="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}"
18267
 
        module_expsym_cmds_GCJ="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}"
18268
 
    else
18269
 
      case $cc_basename in
18270
 
        xlc*)
18271
 
         output_verbose_link_cmd='echo'
18272
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18273
 
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18274
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18275
 
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18276
 
          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18277
 
          ;;
18278
 
       *)
18279
 
         ld_shlibs_GCJ=no
18280
 
          ;;
18281
 
      esac
18282
 
    fi
18283
 
      ;;
18284
 
 
18285
 
    dgux*)
18286
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18287
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18288
 
      hardcode_shlibpath_var_GCJ=no
18289
 
      ;;
18290
 
 
18291
 
    freebsd1*)
18292
 
      ld_shlibs_GCJ=no
18293
 
      ;;
18294
 
 
18295
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18296
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
18297
 
    # does not break anything, and helps significantly (at the cost of a little
18298
 
    # extra space).
18299
 
    freebsd2.2*)
18300
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18301
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18302
 
      hardcode_direct_GCJ=yes
18303
 
      hardcode_shlibpath_var_GCJ=no
18304
 
      ;;
18305
 
 
18306
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18307
 
    freebsd2*)
18308
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18309
 
      hardcode_direct_GCJ=yes
18310
 
      hardcode_minus_L_GCJ=yes
18311
 
      hardcode_shlibpath_var_GCJ=no
18312
 
      ;;
18313
 
 
18314
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18315
 
    freebsd* | dragonfly*)
18316
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18317
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18318
 
      hardcode_direct_GCJ=yes
18319
 
      hardcode_shlibpath_var_GCJ=no
18320
 
      ;;
18321
 
 
18322
 
    hpux9*)
18323
 
      if test "$GCC" = yes; then
18324
 
        archive_cmds_GCJ='$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'
18325
 
      else
18326
 
        archive_cmds_GCJ='$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'
18327
 
      fi
18328
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18329
 
      hardcode_libdir_separator_GCJ=:
18330
 
      hardcode_direct_GCJ=yes
18331
 
 
18332
 
      # hardcode_minus_L: Not really in the search PATH,
18333
 
      # but as the default location of the library.
18334
 
      hardcode_minus_L_GCJ=yes
18335
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
18336
 
      ;;
18337
 
 
18338
 
    hpux10*)
18339
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18340
 
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18341
 
      else
18342
 
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18343
 
      fi
18344
 
      if test "$with_gnu_ld" = no; then
18345
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18346
 
        hardcode_libdir_separator_GCJ=:
18347
 
 
18348
 
        hardcode_direct_GCJ=yes
18349
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
18350
 
 
18351
 
        # hardcode_minus_L: Not really in the search PATH,
18352
 
        # but as the default location of the library.
18353
 
        hardcode_minus_L_GCJ=yes
18354
 
      fi
18355
 
      ;;
18356
 
 
18357
 
    hpux11*)
18358
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18359
 
        case $host_cpu in
18360
 
        hppa*64*)
18361
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18362
 
          ;;
18363
 
        ia64*)
18364
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18365
 
          ;;
18366
 
        *)
18367
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18368
 
          ;;
18369
 
        esac
18370
 
      else
18371
 
        case $host_cpu in
18372
 
        hppa*64*)
18373
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18374
 
          ;;
18375
 
        ia64*)
18376
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18377
 
          ;;
18378
 
        *)
18379
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18380
 
          ;;
18381
 
        esac
18382
 
      fi
18383
 
      if test "$with_gnu_ld" = no; then
18384
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18385
 
        hardcode_libdir_separator_GCJ=:
18386
 
 
18387
 
        case $host_cpu in
18388
 
        hppa*64*|ia64*)
18389
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
18390
 
          hardcode_direct_GCJ=no
18391
 
          hardcode_shlibpath_var_GCJ=no
18392
 
          ;;
18393
 
        *)
18394
 
          hardcode_direct_GCJ=yes
18395
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
18396
 
 
18397
 
          # hardcode_minus_L: Not really in the search PATH,
18398
 
          # but as the default location of the library.
18399
 
          hardcode_minus_L_GCJ=yes
18400
 
          ;;
18401
 
        esac
18402
 
      fi
18403
 
      ;;
18404
 
 
18405
 
    irix5* | irix6* | nonstopux*)
18406
 
      if test "$GCC" = yes; then
18407
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18408
 
      else
18409
 
        archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18410
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
18411
 
      fi
18412
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18413
 
      hardcode_libdir_separator_GCJ=:
18414
 
      link_all_deplibs_GCJ=yes
18415
 
      ;;
18416
 
 
18417
 
    netbsd* | netbsdelf*-gnu)
18418
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18419
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
18420
 
      else
18421
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
18422
 
      fi
18423
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18424
 
      hardcode_direct_GCJ=yes
18425
 
      hardcode_shlibpath_var_GCJ=no
18426
 
      ;;
18427
 
 
18428
 
    newsos6)
18429
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18430
 
      hardcode_direct_GCJ=yes
18431
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18432
 
      hardcode_libdir_separator_GCJ=:
18433
 
      hardcode_shlibpath_var_GCJ=no
18434
 
      ;;
18435
 
 
18436
 
    openbsd*)
18437
 
      if test -f /usr/libexec/ld.so; then
18438
 
        hardcode_direct_GCJ=yes
18439
 
        hardcode_shlibpath_var_GCJ=no
18440
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18441
 
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18442
 
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18443
 
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18444
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
18445
 
        else
18446
 
          case $host_os in
18447
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18448
 
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18449
 
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
18450
 
             ;;
18451
 
           *)
18452
 
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18453
 
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18454
 
             ;;
18455
 
          esac
18456
 
        fi
18457
 
      else
18458
 
        ld_shlibs_GCJ=no
18459
 
      fi
18460
 
      ;;
18461
 
 
18462
 
    os2*)
18463
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18464
 
      hardcode_minus_L_GCJ=yes
18465
 
      allow_undefined_flag_GCJ=unsupported
18466
 
      archive_cmds_GCJ='$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'
18467
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18468
 
      ;;
18469
 
 
18470
 
    osf3*)
18471
 
      if test "$GCC" = yes; then
18472
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18473
 
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18474
 
      else
18475
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
18476
 
        archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18477
 
      fi
18478
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18479
 
      hardcode_libdir_separator_GCJ=:
18480
 
      ;;
18481
 
 
18482
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
18483
 
      if test "$GCC" = yes; then
18484
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18485
 
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18486
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18487
 
      else
18488
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
18489
 
        archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18490
 
        archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
18491
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
18492
 
 
18493
 
        # Both c and cxx compiler support -rpath directly
18494
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
18495
 
      fi
18496
 
      hardcode_libdir_separator_GCJ=:
18497
 
      ;;
18498
 
 
18499
 
    solaris*)
18500
 
      no_undefined_flag_GCJ=' -z text'
18501
 
      if test "$GCC" = yes; then
18502
 
        wlarc='${wl}'
18503
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18504
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18505
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18506
 
      else
18507
 
        wlarc=''
18508
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18509
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18510
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18511
 
      fi
18512
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18513
 
      hardcode_shlibpath_var_GCJ=no
18514
 
      case $host_os in
18515
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
18516
 
      *)
18517
 
        # The compiler driver will combine and reorder linker options,
18518
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
18519
 
        # but is careful enough not to reorder.
18520
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
18521
 
        if test "$GCC" = yes; then
18522
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18523
 
        else
18524
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
18525
 
        fi
18526
 
        ;;
18527
 
      esac
18528
 
      link_all_deplibs_GCJ=yes
18529
 
      ;;
18530
 
 
18531
 
    sunos4*)
18532
 
      if test "x$host_vendor" = xsequent; then
18533
 
        # Use $CC to link under sequent, because it throws in some extra .o
18534
 
        # files that make .init and .fini sections work.
18535
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18536
 
      else
18537
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18538
 
      fi
18539
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18540
 
      hardcode_direct_GCJ=yes
18541
 
      hardcode_minus_L_GCJ=yes
18542
 
      hardcode_shlibpath_var_GCJ=no
18543
 
      ;;
18544
 
 
18545
 
    sysv4)
18546
 
      case $host_vendor in
18547
 
        sni)
18548
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18549
 
          hardcode_direct_GCJ=yes # is this really true???
18550
 
        ;;
18551
 
        siemens)
18552
 
          ## LD is ld it makes a PLAMLIB
18553
 
          ## CC just makes a GrossModule.
18554
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18555
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
18556
 
          hardcode_direct_GCJ=no
18557
 
        ;;
18558
 
        motorola)
18559
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18560
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
18561
 
        ;;
18562
 
      esac
18563
 
      runpath_var='LD_RUN_PATH'
18564
 
      hardcode_shlibpath_var_GCJ=no
18565
 
      ;;
18566
 
 
18567
 
    sysv4.3*)
18568
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18569
 
      hardcode_shlibpath_var_GCJ=no
18570
 
      export_dynamic_flag_spec_GCJ='-Bexport'
18571
 
      ;;
18572
 
 
18573
 
    sysv4*MP*)
18574
 
      if test -d /usr/nec; then
18575
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18576
 
        hardcode_shlibpath_var_GCJ=no
18577
 
        runpath_var=LD_RUN_PATH
18578
 
        hardcode_runpath_var=yes
18579
 
        ld_shlibs_GCJ=yes
18580
 
      fi
18581
 
      ;;
18582
 
 
18583
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18584
 
      no_undefined_flag_GCJ='${wl}-z,text'
18585
 
      archive_cmds_need_lc_GCJ=no
18586
 
      hardcode_shlibpath_var_GCJ=no
18587
 
      runpath_var='LD_RUN_PATH'
18588
 
 
18589
 
      if test "$GCC" = yes; then
18590
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18591
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18592
 
      else
18593
 
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18594
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18595
 
      fi
18596
 
      ;;
18597
 
 
18598
 
    sysv5* | sco3.2v5* | sco5v6*)
18599
 
      # Note: We can NOT use -z defs as we might desire, because we do not
18600
 
      # link with -lc, and that would cause any symbols used from libc to
18601
 
      # always be unresolved, which means just about no library would
18602
 
      # ever link correctly.  If we're not using GNU ld we use -z text
18603
 
      # though, which does catch some bad symbols but isn't as heavy-handed
18604
 
      # as -z defs.
18605
 
      no_undefined_flag_GCJ='${wl}-z,text'
18606
 
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
18607
 
      archive_cmds_need_lc_GCJ=no
18608
 
      hardcode_shlibpath_var_GCJ=no
18609
 
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18610
 
      hardcode_libdir_separator_GCJ=':'
18611
 
      link_all_deplibs_GCJ=yes
18612
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
18613
 
      runpath_var='LD_RUN_PATH'
18614
 
 
18615
 
      if test "$GCC" = yes; then
18616
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18617
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18618
 
      else
18619
 
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18620
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18621
 
      fi
18622
 
      ;;
18623
 
 
18624
 
    uts4*)
18625
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18626
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18627
 
      hardcode_shlibpath_var_GCJ=no
18628
 
      ;;
18629
 
 
18630
 
    *)
18631
 
      ld_shlibs_GCJ=no
18632
 
      ;;
18633
 
    esac
18634
 
  fi
18635
 
 
18636
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18637
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18638
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
18639
 
 
18640
 
#
18641
 
# Do we need to explicitly link libc?
18642
 
#
18643
 
case "x$archive_cmds_need_lc_GCJ" in
18644
 
x|xyes)
18645
 
  # Assume -lc should be added
18646
 
  archive_cmds_need_lc_GCJ=yes
18647
 
 
18648
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
18649
 
    case $archive_cmds_GCJ in
18650
 
    *'~'*)
18651
 
      # FIXME: we may have to deal with multi-command sequences.
18652
 
      ;;
18653
 
    '$CC '*)
18654
 
      # Test whether the compiler implicitly links with -lc since on some
18655
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
18656
 
      # to ld, don't add -lc before -lgcc.
18657
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18658
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18659
 
      $rm conftest*
18660
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18661
 
 
18662
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18663
 
  (eval $ac_compile) 2>&5
18664
 
  ac_status=$?
18665
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18666
 
  (exit $ac_status); } 2>conftest.err; then
18667
 
        soname=conftest
18668
 
        lib=conftest
18669
 
        libobjs=conftest.$ac_objext
18670
 
        deplibs=
18671
 
        wl=$lt_prog_compiler_wl_GCJ
18672
 
        pic_flag=$lt_prog_compiler_pic_GCJ
18673
 
        compiler_flags=-v
18674
 
        linker_flags=-v
18675
 
        verstring=
18676
 
        output_objdir=.
18677
 
        libname=conftest
18678
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
18679
 
        allow_undefined_flag_GCJ=
18680
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18681
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18682
 
  ac_status=$?
18683
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18684
 
  (exit $ac_status); }
18685
 
        then
18686
 
          archive_cmds_need_lc_GCJ=no
18687
 
        else
18688
 
          archive_cmds_need_lc_GCJ=yes
18689
 
        fi
18690
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
18691
 
      else
18692
 
        cat conftest.err 1>&5
18693
 
      fi
18694
 
      $rm conftest*
18695
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18696
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18697
 
      ;;
18698
 
    esac
18699
 
  fi
18700
 
  ;;
18701
 
esac
18702
 
 
18703
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18704
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18705
 
library_names_spec=
18706
 
libname_spec='lib$name'
18707
 
soname_spec=
18708
 
shrext_cmds=".so"
18709
 
postinstall_cmds=
18710
 
postuninstall_cmds=
18711
 
finish_cmds=
18712
 
finish_eval=
18713
 
shlibpath_var=
18714
 
shlibpath_overrides_runpath=unknown
18715
 
version_type=none
18716
 
dynamic_linker="$host_os ld.so"
18717
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
18718
 
 
18719
 
need_lib_prefix=unknown
18720
 
hardcode_into_libs=no
18721
 
 
18722
 
# when you set need_version to no, make sure it does not cause -set_version
18723
 
# flags to be left without arguments
18724
 
need_version=unknown
18725
 
 
18726
 
case $host_os in
18727
 
aix3*)
18728
 
  version_type=linux
18729
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18730
 
  shlibpath_var=LIBPATH
18731
 
 
18732
 
  # AIX 3 has no versioning support, so we append a major version to the name.
18733
 
  soname_spec='${libname}${release}${shared_ext}$major'
18734
 
  ;;
18735
 
 
18736
 
aix[4-9]*)
18737
 
  version_type=linux
18738
 
  need_lib_prefix=no
18739
 
  need_version=no
18740
 
  hardcode_into_libs=yes
18741
 
  if test "$host_cpu" = ia64; then
18742
 
    # AIX 5 supports IA64
18743
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18744
 
    shlibpath_var=LD_LIBRARY_PATH
18745
 
  else
18746
 
    # With GCC up to 2.95.x, collect2 would create an import file
18747
 
    # for dependence libraries.  The import file would start with
18748
 
    # the line `#! .'.  This would cause the generated library to
18749
 
    # depend on `.', always an invalid library.  This was fixed in
18750
 
    # development snapshots of GCC prior to 3.0.
18751
 
    case $host_os in
18752
 
      aix4 | aix4.[01] | aix4.[01].*)
18753
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18754
 
           echo ' yes '
18755
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18756
 
        :
18757
 
      else
18758
 
        can_build_shared=no
18759
 
      fi
18760
 
      ;;
18761
 
    esac
18762
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18763
 
    # soname into executable. Probably we can add versioning support to
18764
 
    # collect2, so additional links can be useful in future.
18765
 
    if test "$aix_use_runtimelinking" = yes; then
18766
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18767
 
      # instead of lib<name>.a to let people know that these are not
18768
 
      # typical AIX shared libraries.
18769
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18770
 
    else
18771
 
      # We preserve .a as extension for shared libraries through AIX4.2
18772
 
      # and later when we are not doing run time linking.
18773
 
      library_names_spec='${libname}${release}.a $libname.a'
18774
 
      soname_spec='${libname}${release}${shared_ext}$major'
18775
 
    fi
18776
 
    shlibpath_var=LIBPATH
18777
 
  fi
18778
 
  ;;
18779
 
 
18780
 
amigaos*)
18781
 
  library_names_spec='$libname.ixlibrary $libname.a'
18782
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
18783
 
  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'
18784
 
  ;;
18785
 
 
18786
 
beos*)
18787
 
  library_names_spec='${libname}${shared_ext}'
18788
 
  dynamic_linker="$host_os ld.so"
18789
 
  shlibpath_var=LIBRARY_PATH
18790
 
  ;;
18791
 
 
18792
 
bsdi[45]*)
18793
 
  version_type=linux
18794
 
  need_version=no
18795
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18796
 
  soname_spec='${libname}${release}${shared_ext}$major'
18797
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18798
 
  shlibpath_var=LD_LIBRARY_PATH
18799
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18800
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18801
 
  # the default ld.so.conf also contains /usr/contrib/lib and
18802
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18803
 
  # libtool to hard-code these into programs
18804
 
  ;;
18805
 
 
18806
 
cygwin* | mingw* | pw32*)
18807
 
  version_type=windows
18808
 
  shrext_cmds=".dll"
18809
 
  need_version=no
18810
 
  need_lib_prefix=no
18811
 
 
18812
 
  case $GCC,$host_os in
18813
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
18814
 
    library_names_spec='$libname.dll.a'
18815
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
18816
 
    postinstall_cmds='base_file=`basename \${file}`~
18817
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18818
 
      dldir=$destdir/`dirname \$dlpath`~
18819
 
      test -d \$dldir || mkdir -p \$dldir~
18820
 
      $install_prog $dir/$dlname \$dldir/$dlname~
18821
 
      chmod a+x \$dldir/$dlname'
18822
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18823
 
      dlpath=$dir/\$dldll~
18824
 
       $rm \$dlpath'
18825
 
    shlibpath_overrides_runpath=yes
18826
 
 
18827
 
    case $host_os in
18828
 
    cygwin*)
18829
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18830
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18831
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18832
 
      ;;
18833
 
    mingw*)
18834
 
      # MinGW DLLs use traditional 'lib' prefix
18835
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18836
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18837
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18838
 
        # It is most probably a Windows format PATH printed by
18839
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
18840
 
        # path with ; separators, and with drive letters. We can handle the
18841
 
        # drive letters (cygwin fileutils understands them), so leave them,
18842
 
        # especially as we might pass files found there to a mingw objdump,
18843
 
        # which wouldn't understand a cygwinified path. Ahh.
18844
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18845
 
      else
18846
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
18847
 
      fi
18848
 
      ;;
18849
 
    pw32*)
18850
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
18851
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18852
 
      ;;
18853
 
    esac
18854
 
    ;;
18855
 
 
18856
 
  *)
18857
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18858
 
    ;;
18859
 
  esac
18860
 
  dynamic_linker='Win32 ld.exe'
18861
 
  # FIXME: first we should search . and the directory the executable is in
18862
 
  shlibpath_var=PATH
18863
 
  ;;
18864
 
 
18865
 
darwin* | rhapsody*)
18866
 
  dynamic_linker="$host_os dyld"
18867
 
  version_type=darwin
18868
 
  need_lib_prefix=no
18869
 
  need_version=no
18870
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18871
 
  soname_spec='${libname}${release}${major}$shared_ext'
18872
 
  shlibpath_overrides_runpath=yes
18873
 
  shlibpath_var=DYLD_LIBRARY_PATH
18874
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18875
 
 
18876
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18877
 
  ;;
18878
 
 
18879
 
dgux*)
18880
 
  version_type=linux
18881
 
  need_lib_prefix=no
18882
 
  need_version=no
18883
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18884
 
  soname_spec='${libname}${release}${shared_ext}$major'
18885
 
  shlibpath_var=LD_LIBRARY_PATH
18886
 
  ;;
18887
 
 
18888
 
freebsd1*)
18889
 
  dynamic_linker=no
18890
 
  ;;
18891
 
 
18892
 
freebsd* | dragonfly*)
18893
 
  # DragonFly does not have aout.  When/if they implement a new
18894
 
  # versioning mechanism, adjust this.
18895
 
  if test -x /usr/bin/objformat; then
18896
 
    objformat=`/usr/bin/objformat`
18897
 
  else
18898
 
    case $host_os in
18899
 
    freebsd[123]*) objformat=aout ;;
18900
 
    *) objformat=elf ;;
18901
 
    esac
18902
 
  fi
18903
 
  version_type=freebsd-$objformat
18904
 
  case $version_type in
18905
 
    freebsd-elf*)
18906
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18907
 
      need_version=no
18908
 
      need_lib_prefix=no
18909
 
      ;;
18910
 
    freebsd-*)
18911
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18912
 
      need_version=yes
18913
 
      ;;
18914
 
  esac
18915
 
  shlibpath_var=LD_LIBRARY_PATH
18916
 
  case $host_os in
18917
 
  freebsd2*)
18918
 
    shlibpath_overrides_runpath=yes
18919
 
    ;;
18920
 
  freebsd3.[01]* | freebsdelf3.[01]*)
18921
 
    shlibpath_overrides_runpath=yes
18922
 
    hardcode_into_libs=yes
18923
 
    ;;
18924
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18925
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18926
 
    shlibpath_overrides_runpath=no
18927
 
    hardcode_into_libs=yes
18928
 
    ;;
18929
 
  *) # from 4.6 on, and DragonFly
18930
 
    shlibpath_overrides_runpath=yes
18931
 
    hardcode_into_libs=yes
18932
 
    ;;
18933
 
  esac
18934
 
  ;;
18935
 
 
18936
 
gnu*)
18937
 
  version_type=linux
18938
 
  need_lib_prefix=no
18939
 
  need_version=no
18940
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18941
 
  soname_spec='${libname}${release}${shared_ext}$major'
18942
 
  shlibpath_var=LD_LIBRARY_PATH
18943
 
  hardcode_into_libs=yes
18944
 
  ;;
18945
 
 
18946
 
hpux9* | hpux10* | hpux11*)
18947
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
18948
 
  # link against other versions.
18949
 
  version_type=sunos
18950
 
  need_lib_prefix=no
18951
 
  need_version=no
18952
 
  case $host_cpu in
18953
 
  ia64*)
18954
 
    shrext_cmds='.so'
18955
 
    hardcode_into_libs=yes
18956
 
    dynamic_linker="$host_os dld.so"
18957
 
    shlibpath_var=LD_LIBRARY_PATH
18958
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18959
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18960
 
    soname_spec='${libname}${release}${shared_ext}$major'
18961
 
    if test "X$HPUX_IA64_MODE" = X32; then
18962
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18963
 
    else
18964
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18965
 
    fi
18966
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18967
 
    ;;
18968
 
   hppa*64*)
18969
 
     shrext_cmds='.sl'
18970
 
     hardcode_into_libs=yes
18971
 
     dynamic_linker="$host_os dld.sl"
18972
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18973
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18974
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18975
 
     soname_spec='${libname}${release}${shared_ext}$major'
18976
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18977
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18978
 
     ;;
18979
 
   *)
18980
 
    shrext_cmds='.sl'
18981
 
    dynamic_linker="$host_os dld.sl"
18982
 
    shlibpath_var=SHLIB_PATH
18983
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18984
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18985
 
    soname_spec='${libname}${release}${shared_ext}$major'
18986
 
    ;;
18987
 
  esac
18988
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
18989
 
  postinstall_cmds='chmod 555 $lib'
18990
 
  ;;
18991
 
 
18992
 
interix[3-9]*)
18993
 
  version_type=linux
18994
 
  need_lib_prefix=no
18995
 
  need_version=no
18996
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18997
 
  soname_spec='${libname}${release}${shared_ext}$major'
18998
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18999
 
  shlibpath_var=LD_LIBRARY_PATH
19000
 
  shlibpath_overrides_runpath=no
19001
 
  hardcode_into_libs=yes
19002
 
  ;;
19003
 
 
19004
 
irix5* | irix6* | nonstopux*)
19005
 
  case $host_os in
19006
 
    nonstopux*) version_type=nonstopux ;;
19007
 
    *)
19008
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
19009
 
                version_type=linux
19010
 
        else
19011
 
                version_type=irix
19012
 
        fi ;;
19013
 
  esac
19014
 
  need_lib_prefix=no
19015
 
  need_version=no
19016
 
  soname_spec='${libname}${release}${shared_ext}$major'
19017
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19018
 
  case $host_os in
19019
 
  irix5* | nonstopux*)
19020
 
    libsuff= shlibsuff=
19021
 
    ;;
19022
 
  *)
19023
 
    case $LD in # libtool.m4 will add one of these switches to LD
19024
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19025
 
      libsuff= shlibsuff= libmagic=32-bit;;
19026
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19027
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
19028
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19029
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
19030
 
    *) libsuff= shlibsuff= libmagic=never-match;;
19031
 
    esac
19032
 
    ;;
19033
 
  esac
19034
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
19035
 
  shlibpath_overrides_runpath=no
19036
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19037
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19038
 
  hardcode_into_libs=yes
19039
 
  ;;
19040
 
 
19041
 
# No shared lib support for Linux oldld, aout, or coff.
19042
 
linux*oldld* | linux*aout* | linux*coff*)
19043
 
  dynamic_linker=no
19044
 
  ;;
19045
 
 
19046
 
# This must be Linux ELF.
19047
 
linux* | k*bsd*-gnu)
19048
 
  version_type=linux
19049
 
  need_lib_prefix=no
19050
 
  need_version=no
19051
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19052
 
  soname_spec='${libname}${release}${shared_ext}$major'
19053
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19054
 
  shlibpath_var=LD_LIBRARY_PATH
19055
 
  shlibpath_overrides_runpath=no
19056
 
  # This implies no fast_install, which is unacceptable.
19057
 
  # Some rework will be needed to allow for fast_install
19058
 
  # before this can be enabled.
19059
 
  hardcode_into_libs=yes
19060
 
 
19061
 
  # Append ld.so.conf contents to the search path
19062
 
  if test -f /etc/ld.so.conf; then
19063
 
    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' ' '`
19064
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
19065
 
  fi
19066
 
 
19067
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
19068
 
  # powerpc, because MkLinux only supported shared libraries with the
19069
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
19070
 
  # most powerpc-linux boxes support dynamic linking these days and
19071
 
  # people can always --disable-shared, the test was removed, and we
19072
 
  # assume the GNU/Linux dynamic linker is in use.
19073
 
  dynamic_linker='GNU/Linux ld.so'
19074
 
  ;;
19075
 
 
19076
 
netbsdelf*-gnu)
19077
 
  version_type=linux
19078
 
  need_lib_prefix=no
19079
 
  need_version=no
19080
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19081
 
  soname_spec='${libname}${release}${shared_ext}$major'
19082
 
  shlibpath_var=LD_LIBRARY_PATH
19083
 
  shlibpath_overrides_runpath=no
19084
 
  hardcode_into_libs=yes
19085
 
  dynamic_linker='NetBSD ld.elf_so'
19086
 
  ;;
19087
 
 
19088
 
netbsd*)
19089
 
  version_type=sunos
19090
 
  need_lib_prefix=no
19091
 
  need_version=no
19092
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19093
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19094
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19095
 
    dynamic_linker='NetBSD (a.out) ld.so'
19096
 
  else
19097
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19098
 
    soname_spec='${libname}${release}${shared_ext}$major'
19099
 
    dynamic_linker='NetBSD ld.elf_so'
19100
 
  fi
19101
 
  shlibpath_var=LD_LIBRARY_PATH
19102
 
  shlibpath_overrides_runpath=yes
19103
 
  hardcode_into_libs=yes
19104
 
  ;;
19105
 
 
19106
 
newsos6)
19107
 
  version_type=linux
19108
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19109
 
  shlibpath_var=LD_LIBRARY_PATH
19110
 
  shlibpath_overrides_runpath=yes
19111
 
  ;;
19112
 
 
19113
 
nto-qnx*)
19114
 
  version_type=linux
19115
 
  need_lib_prefix=no
19116
 
  need_version=no
19117
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19118
 
  soname_spec='${libname}${release}${shared_ext}$major'
19119
 
  shlibpath_var=LD_LIBRARY_PATH
19120
 
  shlibpath_overrides_runpath=yes
19121
 
  ;;
19122
 
 
19123
 
openbsd*)
19124
 
  version_type=sunos
19125
 
  sys_lib_dlsearch_path_spec="/usr/lib"
19126
 
  need_lib_prefix=no
19127
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19128
 
  case $host_os in
19129
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
19130
 
    *)                         need_version=no  ;;
19131
 
  esac
19132
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19133
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19134
 
  shlibpath_var=LD_LIBRARY_PATH
19135
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19136
 
    case $host_os in
19137
 
      openbsd2.[89] | openbsd2.[89].*)
19138
 
        shlibpath_overrides_runpath=no
19139
 
        ;;
19140
 
      *)
19141
 
        shlibpath_overrides_runpath=yes
19142
 
        ;;
19143
 
      esac
19144
 
  else
19145
 
    shlibpath_overrides_runpath=yes
19146
 
  fi
19147
 
  ;;
19148
 
 
19149
 
os2*)
19150
 
  libname_spec='$name'
19151
 
  shrext_cmds=".dll"
19152
 
  need_lib_prefix=no
19153
 
  library_names_spec='$libname${shared_ext} $libname.a'
19154
 
  dynamic_linker='OS/2 ld.exe'
19155
 
  shlibpath_var=LIBPATH
19156
 
  ;;
19157
 
 
19158
 
osf3* | osf4* | osf5*)
19159
 
  version_type=osf
19160
 
  need_lib_prefix=no
19161
 
  need_version=no
19162
 
  soname_spec='${libname}${release}${shared_ext}$major'
19163
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19164
 
  shlibpath_var=LD_LIBRARY_PATH
19165
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19166
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19167
 
  ;;
19168
 
 
19169
 
rdos*)
19170
 
  dynamic_linker=no
19171
 
  ;;
19172
 
 
19173
 
solaris*)
19174
 
  version_type=linux
19175
 
  need_lib_prefix=no
19176
 
  need_version=no
19177
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19178
 
  soname_spec='${libname}${release}${shared_ext}$major'
19179
 
  shlibpath_var=LD_LIBRARY_PATH
19180
 
  shlibpath_overrides_runpath=yes
19181
 
  hardcode_into_libs=yes
19182
 
  # ldd complains unless libraries are executable
19183
 
  postinstall_cmds='chmod +x $lib'
19184
 
  ;;
19185
 
 
19186
 
sunos4*)
19187
 
  version_type=sunos
19188
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19189
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19190
 
  shlibpath_var=LD_LIBRARY_PATH
19191
 
  shlibpath_overrides_runpath=yes
19192
 
  if test "$with_gnu_ld" = yes; then
19193
 
    need_lib_prefix=no
19194
 
  fi
19195
 
  need_version=yes
19196
 
  ;;
19197
 
 
19198
 
sysv4 | sysv4.3*)
19199
 
  version_type=linux
19200
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19201
 
  soname_spec='${libname}${release}${shared_ext}$major'
19202
 
  shlibpath_var=LD_LIBRARY_PATH
19203
 
  case $host_vendor in
19204
 
    sni)
19205
 
      shlibpath_overrides_runpath=no
19206
 
      need_lib_prefix=no
19207
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
19208
 
      runpath_var=LD_RUN_PATH
19209
 
      ;;
19210
 
    siemens)
19211
 
      need_lib_prefix=no
19212
 
      ;;
19213
 
    motorola)
19214
 
      need_lib_prefix=no
19215
 
      need_version=no
19216
 
      shlibpath_overrides_runpath=no
19217
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
19218
 
      ;;
19219
 
  esac
19220
 
  ;;
19221
 
 
19222
 
sysv4*MP*)
19223
 
  if test -d /usr/nec ;then
19224
 
    version_type=linux
19225
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19226
 
    soname_spec='$libname${shared_ext}.$major'
19227
 
    shlibpath_var=LD_LIBRARY_PATH
19228
 
  fi
19229
 
  ;;
19230
 
 
19231
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
19232
 
  version_type=freebsd-elf
19233
 
  need_lib_prefix=no
19234
 
  need_version=no
19235
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19236
 
  soname_spec='${libname}${release}${shared_ext}$major'
19237
 
  shlibpath_var=LD_LIBRARY_PATH
19238
 
  hardcode_into_libs=yes
19239
 
  if test "$with_gnu_ld" = yes; then
19240
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19241
 
    shlibpath_overrides_runpath=no
19242
 
  else
19243
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
19244
 
    shlibpath_overrides_runpath=yes
19245
 
    case $host_os in
19246
 
      sco3.2v5*)
19247
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
19248
 
        ;;
19249
 
    esac
19250
 
  fi
19251
 
  sys_lib_dlsearch_path_spec='/usr/lib'
19252
 
  ;;
19253
 
 
19254
 
uts4*)
19255
 
  version_type=linux
19256
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19257
 
  soname_spec='${libname}${release}${shared_ext}$major'
19258
 
  shlibpath_var=LD_LIBRARY_PATH
19259
 
  ;;
19260
 
 
19261
 
*)
19262
 
  dynamic_linker=no
19263
 
  ;;
19264
 
esac
19265
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19266
 
echo "${ECHO_T}$dynamic_linker" >&6; }
19267
 
test "$dynamic_linker" = no && can_build_shared=no
19268
 
 
19269
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
19270
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19271
 
else
19272
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
19273
 
fi
19274
 
 
19275
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
19276
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
19277
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19278
 
else
19279
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
19280
 
fi
19281
 
 
19282
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
19283
 
 
19284
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19285
 
if test "$GCC" = yes; then
19286
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19287
 
fi
19288
 
 
19289
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19290
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
19291
 
hardcode_action_GCJ=
19292
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19293
 
   test -n "$runpath_var_GCJ" || \
19294
 
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
19295
 
 
19296
 
  # We can hardcode non-existant directories.
19297
 
  if test "$hardcode_direct_GCJ" != no &&
19298
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
19299
 
     # have to relink, otherwise we might link with an installed library
19300
 
     # when we should be linking with a yet-to-be-installed one
19301
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19302
 
     test "$hardcode_minus_L_GCJ" != no; then
19303
 
    # Linking always hardcodes the temporary library directory.
19304
 
    hardcode_action_GCJ=relink
19305
 
  else
19306
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
19307
 
    hardcode_action_GCJ=immediate
19308
 
  fi
19309
 
else
19310
 
  # We cannot hardcode anything, or else we can only hardcode existing
19311
 
  # directories.
19312
 
  hardcode_action_GCJ=unsupported
19313
 
fi
19314
 
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19315
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
19316
 
 
19317
 
if test "$hardcode_action_GCJ" = relink; then
19318
 
  # Fast installation is not supported
19319
 
  enable_fast_install=no
19320
 
elif test "$shlibpath_overrides_runpath" = yes ||
19321
 
     test "$enable_shared" = no; then
19322
 
  # Fast installation is not necessary
19323
 
  enable_fast_install=needless
19324
 
fi
19325
 
 
19326
 
 
19327
 
# The else clause should only fire when bootstrapping the
19328
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
19329
 
# with your package, and you will get complaints that there are
19330
 
# no rules to generate ltmain.sh.
19331
 
if test -f "$ltmain"; then
19332
 
  # See if we are running on zsh, and set the options which allow our commands through
19333
 
  # without removal of \ escapes.
19334
 
  if test -n "${ZSH_VERSION+set}" ; then
19335
 
    setopt NO_GLOB_SUBST
19336
 
  fi
19337
 
  # Now quote all the things that may contain metacharacters while being
19338
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19339
 
  # variables and quote the copies for generation of the libtool script.
19340
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19341
 
    SED SHELL STRIP \
19342
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19343
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19344
 
    deplibs_check_method reload_flag reload_cmds need_locks \
19345
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19346
 
    lt_cv_sys_global_symbol_to_c_name_address \
19347
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19348
 
    old_postinstall_cmds old_postuninstall_cmds \
19349
 
    compiler_GCJ \
19350
 
    CC_GCJ \
19351
 
    LD_GCJ \
19352
 
    lt_prog_compiler_wl_GCJ \
19353
 
    lt_prog_compiler_pic_GCJ \
19354
 
    lt_prog_compiler_static_GCJ \
19355
 
    lt_prog_compiler_no_builtin_flag_GCJ \
19356
 
    export_dynamic_flag_spec_GCJ \
19357
 
    thread_safe_flag_spec_GCJ \
19358
 
    whole_archive_flag_spec_GCJ \
19359
 
    enable_shared_with_static_runtimes_GCJ \
19360
 
    old_archive_cmds_GCJ \
19361
 
    old_archive_from_new_cmds_GCJ \
19362
 
    predep_objects_GCJ \
19363
 
    postdep_objects_GCJ \
19364
 
    predeps_GCJ \
19365
 
    postdeps_GCJ \
19366
 
    compiler_lib_search_path_GCJ \
19367
 
    compiler_lib_search_dirs_GCJ \
19368
 
    archive_cmds_GCJ \
19369
 
    archive_expsym_cmds_GCJ \
19370
 
    postinstall_cmds_GCJ \
19371
 
    postuninstall_cmds_GCJ \
19372
 
    old_archive_from_expsyms_cmds_GCJ \
19373
 
    allow_undefined_flag_GCJ \
19374
 
    no_undefined_flag_GCJ \
19375
 
    export_symbols_cmds_GCJ \
19376
 
    hardcode_libdir_flag_spec_GCJ \
19377
 
    hardcode_libdir_flag_spec_ld_GCJ \
19378
 
    hardcode_libdir_separator_GCJ \
19379
 
    hardcode_automatic_GCJ \
19380
 
    module_cmds_GCJ \
19381
 
    module_expsym_cmds_GCJ \
19382
 
    lt_cv_prog_compiler_c_o_GCJ \
19383
 
    fix_srcfile_path_GCJ \
19384
 
    exclude_expsyms_GCJ \
19385
 
    include_expsyms_GCJ; do
19386
 
 
19387
 
    case $var in
19388
 
    old_archive_cmds_GCJ | \
19389
 
    old_archive_from_new_cmds_GCJ | \
19390
 
    archive_cmds_GCJ | \
19391
 
    archive_expsym_cmds_GCJ | \
19392
 
    module_cmds_GCJ | \
19393
 
    module_expsym_cmds_GCJ | \
19394
 
    old_archive_from_expsyms_cmds_GCJ | \
19395
 
    export_symbols_cmds_GCJ | \
19396
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
19397
 
    postinstall_cmds | postuninstall_cmds | \
19398
 
    old_postinstall_cmds | old_postuninstall_cmds | \
19399
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19400
 
      # Double-quote double-evaled strings.
19401
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19402
 
      ;;
19403
 
    *)
19404
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19405
 
      ;;
19406
 
    esac
19407
 
  done
19408
 
 
19409
 
  case $lt_echo in
19410
 
  *'\$0 --fallback-echo"')
19411
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19412
 
    ;;
19413
 
  esac
19414
 
 
19415
 
cfgfile="$ofile"
19416
 
 
19417
 
  cat <<__EOF__ >> "$cfgfile"
19418
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19419
 
 
19420
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19421
 
 
19422
 
# Shell to use when invoking shell scripts.
19423
 
SHELL=$lt_SHELL
19424
 
 
19425
 
# Whether or not to build shared libraries.
19426
 
build_libtool_libs=$enable_shared
19427
 
 
19428
 
# Whether or not to build static libraries.
19429
 
build_old_libs=$enable_static
19430
 
 
19431
 
# Whether or not to add -lc for building shared libraries.
19432
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19433
 
 
19434
 
# Whether or not to disallow shared libs when runtime libs are static
19435
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19436
 
 
19437
 
# Whether or not to optimize for fast installation.
19438
 
fast_install=$enable_fast_install
19439
 
 
19440
 
# The host system.
19441
 
host_alias=$host_alias
19442
 
host=$host
19443
 
host_os=$host_os
19444
 
 
19445
 
# The build system.
19446
 
build_alias=$build_alias
19447
 
build=$build
19448
 
build_os=$build_os
19449
 
 
19450
 
# An echo program that does not interpret backslashes.
19451
 
echo=$lt_echo
19452
 
 
19453
 
# The archiver.
19454
 
AR=$lt_AR
19455
 
AR_FLAGS=$lt_AR_FLAGS
19456
 
 
19457
 
# A C compiler.
19458
 
LTCC=$lt_LTCC
19459
 
 
19460
 
# LTCC compiler flags.
19461
 
LTCFLAGS=$lt_LTCFLAGS
19462
 
 
19463
 
# A language-specific compiler.
19464
 
CC=$lt_compiler_GCJ
19465
 
 
19466
 
# Is the compiler the GNU C compiler?
19467
 
with_gcc=$GCC_GCJ
19468
 
 
19469
 
# An ERE matcher.
19470
 
EGREP=$lt_EGREP
19471
 
 
19472
 
# The linker used to build libraries.
19473
 
LD=$lt_LD_GCJ
19474
 
 
19475
 
# Whether we need hard or soft links.
19476
 
LN_S=$lt_LN_S
19477
 
 
19478
 
# A BSD-compatible nm program.
19479
 
NM=$lt_NM
19480
 
 
19481
 
# A symbol stripping program
19482
 
STRIP=$lt_STRIP
19483
 
 
19484
 
# Used to examine libraries when file_magic_cmd begins "file"
19485
 
MAGIC_CMD=$MAGIC_CMD
19486
 
 
19487
 
# Used on cygwin: DLL creation program.
19488
 
DLLTOOL="$DLLTOOL"
19489
 
 
19490
 
# Used on cygwin: object dumper.
19491
 
OBJDUMP="$OBJDUMP"
19492
 
 
19493
 
# Used on cygwin: assembler.
19494
 
AS="$AS"
19495
 
 
19496
 
# The name of the directory that contains temporary libtool files.
19497
 
objdir=$objdir
19498
 
 
19499
 
# How to create reloadable object files.
19500
 
reload_flag=$lt_reload_flag
19501
 
reload_cmds=$lt_reload_cmds
19502
 
 
19503
 
# How to pass a linker flag through the compiler.
19504
 
wl=$lt_lt_prog_compiler_wl_GCJ
19505
 
 
19506
 
# Object file suffix (normally "o").
19507
 
objext="$ac_objext"
19508
 
 
19509
 
# Old archive suffix (normally "a").
19510
 
libext="$libext"
19511
 
 
19512
 
# Shared library suffix (normally ".so").
19513
 
shrext_cmds='$shrext_cmds'
19514
 
 
19515
 
# Executable file suffix (normally "").
19516
 
exeext="$exeext"
19517
 
 
19518
 
# Additional compiler flags for building library objects.
19519
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
19520
 
pic_mode=$pic_mode
19521
 
 
19522
 
# What is the maximum length of a command?
19523
 
max_cmd_len=$lt_cv_sys_max_cmd_len
19524
 
 
19525
 
# Does compiler simultaneously support -c and -o options?
19526
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19527
 
 
19528
 
# Must we lock files when doing compilation?
19529
 
need_locks=$lt_need_locks
19530
 
 
19531
 
# Do we need the lib prefix for modules?
19532
 
need_lib_prefix=$need_lib_prefix
19533
 
 
19534
 
# Do we need a version for libraries?
19535
 
need_version=$need_version
19536
 
 
19537
 
# Whether dlopen is supported.
19538
 
dlopen_support=$enable_dlopen
19539
 
 
19540
 
# Whether dlopen of programs is supported.
19541
 
dlopen_self=$enable_dlopen_self
19542
 
 
19543
 
# Whether dlopen of statically linked programs is supported.
19544
 
dlopen_self_static=$enable_dlopen_self_static
19545
 
 
19546
 
# Compiler flag to prevent dynamic linking.
19547
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
19548
 
 
19549
 
# Compiler flag to turn off builtin functions.
19550
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19551
 
 
19552
 
# Compiler flag to allow reflexive dlopens.
19553
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19554
 
 
19555
 
# Compiler flag to generate shared objects directly from archives.
19556
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19557
 
 
19558
 
# Compiler flag to generate thread-safe objects.
19559
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19560
 
 
19561
 
# Library versioning type.
19562
 
version_type=$version_type
19563
 
 
19564
 
# Format of library name prefix.
19565
 
libname_spec=$lt_libname_spec
19566
 
 
19567
 
# List of archive names.  First name is the real one, the rest are links.
19568
 
# The last name is the one that the linker finds with -lNAME.
19569
 
library_names_spec=$lt_library_names_spec
19570
 
 
19571
 
# The coded name of the library, if different from the real name.
19572
 
soname_spec=$lt_soname_spec
19573
 
 
19574
 
# Commands used to build and install an old-style archive.
19575
 
RANLIB=$lt_RANLIB
19576
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
19577
 
old_postinstall_cmds=$lt_old_postinstall_cmds
19578
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19579
 
 
19580
 
# Create an old-style archive from a shared archive.
19581
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19582
 
 
19583
 
# Create a temporary old-style archive to link instead of a shared archive.
19584
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19585
 
 
19586
 
# Commands used to build and install a shared archive.
19587
 
archive_cmds=$lt_archive_cmds_GCJ
19588
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19589
 
postinstall_cmds=$lt_postinstall_cmds
19590
 
postuninstall_cmds=$lt_postuninstall_cmds
19591
 
 
19592
 
# Commands used to build a loadable module (assumed same as above if empty)
19593
 
module_cmds=$lt_module_cmds_GCJ
19594
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19595
 
 
19596
 
# Commands to strip libraries.
19597
 
old_striplib=$lt_old_striplib
19598
 
striplib=$lt_striplib
19599
 
 
19600
 
# Dependencies to place before the objects being linked to create a
19601
 
# shared library.
19602
 
predep_objects=$lt_predep_objects_GCJ
19603
 
 
19604
 
# Dependencies to place after the objects being linked to create a
19605
 
# shared library.
19606
 
postdep_objects=$lt_postdep_objects_GCJ
19607
 
 
19608
 
# Dependencies to place before the objects being linked to create a
19609
 
# shared library.
19610
 
predeps=$lt_predeps_GCJ
19611
 
 
19612
 
# Dependencies to place after the objects being linked to create a
19613
 
# shared library.
19614
 
postdeps=$lt_postdeps_GCJ
19615
 
 
19616
 
# The directories searched by this compiler when creating a shared
19617
 
# library
19618
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
19619
 
 
19620
 
# The library search path used internally by the compiler when linking
19621
 
# a shared library.
19622
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19623
 
 
19624
 
# Method to check whether dependent libraries are shared objects.
19625
 
deplibs_check_method=$lt_deplibs_check_method
19626
 
 
19627
 
# Command to use when deplibs_check_method == file_magic.
19628
 
file_magic_cmd=$lt_file_magic_cmd
19629
 
 
19630
 
# Flag that allows shared libraries with undefined symbols to be built.
19631
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19632
 
 
19633
 
# Flag that forces no undefined symbols.
19634
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
19635
 
 
19636
 
# Commands used to finish a libtool library installation in a directory.
19637
 
finish_cmds=$lt_finish_cmds
19638
 
 
19639
 
# Same as above, but a single script fragment to be evaled but not shown.
19640
 
finish_eval=$lt_finish_eval
19641
 
 
19642
 
# Take the output of nm and produce a listing of raw symbols and C names.
19643
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19644
 
 
19645
 
# Transform the output of nm in a proper C declaration
19646
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19647
 
 
19648
 
# Transform the output of nm in a C name address pair
19649
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19650
 
 
19651
 
# This is the shared library runtime path variable.
19652
 
runpath_var=$runpath_var
19653
 
 
19654
 
# This is the shared library path variable.
19655
 
shlibpath_var=$shlibpath_var
19656
 
 
19657
 
# Is shlibpath searched before the hard-coded library search path?
19658
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19659
 
 
19660
 
# How to hardcode a shared library path into an executable.
19661
 
hardcode_action=$hardcode_action_GCJ
19662
 
 
19663
 
# Whether we should hardcode library paths into libraries.
19664
 
hardcode_into_libs=$hardcode_into_libs
19665
 
 
19666
 
# Flag to hardcode \$libdir into a binary during linking.
19667
 
# This must work even if \$libdir does not exist.
19668
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19669
 
 
19670
 
# If ld is used when linking, flag to hardcode \$libdir into
19671
 
# a binary during linking. This must work even if \$libdir does
19672
 
# not exist.
19673
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19674
 
 
19675
 
# Whether we need a single -rpath flag with a separated argument.
19676
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19677
 
 
19678
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19679
 
# resulting binary.
19680
 
hardcode_direct=$hardcode_direct_GCJ
19681
 
 
19682
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19683
 
# resulting binary.
19684
 
hardcode_minus_L=$hardcode_minus_L_GCJ
19685
 
 
19686
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19687
 
# the resulting binary.
19688
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19689
 
 
19690
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
19691
 
# and all subsequent libraries and executables linked against it.
19692
 
hardcode_automatic=$hardcode_automatic_GCJ
19693
 
 
19694
 
# Variables whose values should be saved in libtool wrapper scripts and
19695
 
# restored at relink time.
19696
 
variables_saved_for_relink="$variables_saved_for_relink"
19697
 
 
19698
 
# Whether libtool must link a program against all its dependency libraries.
19699
 
link_all_deplibs=$link_all_deplibs_GCJ
19700
 
 
19701
 
# Compile-time system search path for libraries
19702
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19703
 
 
19704
 
# Run-time system search path for libraries
19705
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19706
 
 
19707
 
# Fix the shell variable \$srcfile for the compiler.
19708
 
fix_srcfile_path=$lt_fix_srcfile_path
19709
 
 
19710
 
# Set to yes if exported symbols are required.
19711
 
always_export_symbols=$always_export_symbols_GCJ
19712
 
 
19713
 
# The commands to list exported symbols.
19714
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19715
 
 
19716
 
# The commands to extract the exported symbol list from a shared archive.
19717
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19718
 
 
19719
 
# Symbols that should not be listed in the preloaded symbols.
19720
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
19721
 
 
19722
 
# Symbols that must always be exported.
19723
 
include_expsyms=$lt_include_expsyms_GCJ
19724
 
 
19725
 
# ### END LIBTOOL TAG CONFIG: $tagname
19726
 
 
19727
 
__EOF__
19728
 
 
19729
 
 
19730
 
else
19731
 
  # If there is no Makefile yet, we rely on a make rule to execute
19732
 
  # `config.status --recheck' to rerun these tests and create the
19733
 
  # libtool script then.
19734
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19735
 
  if test -f "$ltmain_in"; then
19736
 
    test -f Makefile && make "$ltmain"
19737
 
  fi
19738
 
fi
19739
 
 
19740
 
 
19741
 
ac_ext=c
19742
 
ac_cpp='$CPP $CPPFLAGS'
19743
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19744
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19745
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19746
 
 
19747
 
CC="$lt_save_CC"
19748
 
 
19749
 
        else
19750
 
          tagname=""
19751
 
        fi
19752
 
        ;;
19753
 
 
19754
 
      RC)
19755
 
 
19756
 
 
19757
 
# Source file extension for RC test sources.
19758
 
ac_ext=rc
19759
 
 
19760
 
# Object file extension for compiled RC test sources.
19761
 
objext=o
19762
 
objext_RC=$objext
19763
 
 
19764
 
# Code to be used in simple compile tests
19765
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19766
 
 
19767
 
# Code to be used in simple link tests
19768
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
19769
 
 
19770
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19771
 
 
19772
 
# If no C compiler was specified, use CC.
19773
 
LTCC=${LTCC-"$CC"}
19774
 
 
19775
 
# If no C compiler flags were specified, use CFLAGS.
19776
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
19777
 
 
19778
 
# Allow CC to be a program name with arguments.
19779
 
compiler=$CC
19780
 
 
19781
 
 
19782
 
# save warnings/boilerplate of simple test code
19783
 
ac_outfile=conftest.$ac_objext
19784
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
19785
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19786
 
_lt_compiler_boilerplate=`cat conftest.err`
19787
 
$rm conftest*
19788
 
 
19789
 
ac_outfile=conftest.$ac_objext
19790
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
19791
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19792
 
_lt_linker_boilerplate=`cat conftest.err`
19793
 
$rm -r conftest*
19794
 
 
19795
 
 
19796
 
# Allow CC to be a program name with arguments.
19797
 
lt_save_CC="$CC"
19798
 
CC=${RC-"windres"}
19799
 
compiler=$CC
19800
 
compiler_RC=$CC
19801
 
for cc_temp in $compiler""; do
19802
 
  case $cc_temp in
19803
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19804
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19805
 
    \-*) ;;
19806
 
    *) break;;
19807
 
  esac
19808
 
done
19809
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19810
 
 
19811
 
lt_cv_prog_compiler_c_o_RC=yes
19812
 
 
19813
 
# The else clause should only fire when bootstrapping the
19814
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
19815
 
# with your package, and you will get complaints that there are
19816
 
# no rules to generate ltmain.sh.
19817
 
if test -f "$ltmain"; then
19818
 
  # See if we are running on zsh, and set the options which allow our commands through
19819
 
  # without removal of \ escapes.
19820
 
  if test -n "${ZSH_VERSION+set}" ; then
19821
 
    setopt NO_GLOB_SUBST
19822
 
  fi
19823
 
  # Now quote all the things that may contain metacharacters while being
19824
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19825
 
  # variables and quote the copies for generation of the libtool script.
19826
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19827
 
    SED SHELL STRIP \
19828
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19829
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19830
 
    deplibs_check_method reload_flag reload_cmds need_locks \
19831
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19832
 
    lt_cv_sys_global_symbol_to_c_name_address \
19833
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19834
 
    old_postinstall_cmds old_postuninstall_cmds \
19835
 
    compiler_RC \
19836
 
    CC_RC \
19837
 
    LD_RC \
19838
 
    lt_prog_compiler_wl_RC \
19839
 
    lt_prog_compiler_pic_RC \
19840
 
    lt_prog_compiler_static_RC \
19841
 
    lt_prog_compiler_no_builtin_flag_RC \
19842
 
    export_dynamic_flag_spec_RC \
19843
 
    thread_safe_flag_spec_RC \
19844
 
    whole_archive_flag_spec_RC \
19845
 
    enable_shared_with_static_runtimes_RC \
19846
 
    old_archive_cmds_RC \
19847
 
    old_archive_from_new_cmds_RC \
19848
 
    predep_objects_RC \
19849
 
    postdep_objects_RC \
19850
 
    predeps_RC \
19851
 
    postdeps_RC \
19852
 
    compiler_lib_search_path_RC \
19853
 
    compiler_lib_search_dirs_RC \
19854
 
    archive_cmds_RC \
19855
 
    archive_expsym_cmds_RC \
19856
 
    postinstall_cmds_RC \
19857
 
    postuninstall_cmds_RC \
19858
 
    old_archive_from_expsyms_cmds_RC \
19859
 
    allow_undefined_flag_RC \
19860
 
    no_undefined_flag_RC \
19861
 
    export_symbols_cmds_RC \
19862
 
    hardcode_libdir_flag_spec_RC \
19863
 
    hardcode_libdir_flag_spec_ld_RC \
19864
 
    hardcode_libdir_separator_RC \
19865
 
    hardcode_automatic_RC \
19866
 
    module_cmds_RC \
19867
 
    module_expsym_cmds_RC \
19868
 
    lt_cv_prog_compiler_c_o_RC \
19869
 
    fix_srcfile_path_RC \
19870
 
    exclude_expsyms_RC \
19871
 
    include_expsyms_RC; do
19872
 
 
19873
 
    case $var in
19874
 
    old_archive_cmds_RC | \
19875
 
    old_archive_from_new_cmds_RC | \
19876
 
    archive_cmds_RC | \
19877
 
    archive_expsym_cmds_RC | \
19878
 
    module_cmds_RC | \
19879
 
    module_expsym_cmds_RC | \
19880
 
    old_archive_from_expsyms_cmds_RC | \
19881
 
    export_symbols_cmds_RC | \
19882
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
19883
 
    postinstall_cmds | postuninstall_cmds | \
19884
 
    old_postinstall_cmds | old_postuninstall_cmds | \
19885
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19886
 
      # Double-quote double-evaled strings.
19887
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19888
 
      ;;
19889
 
    *)
19890
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19891
 
      ;;
19892
 
    esac
19893
 
  done
19894
 
 
19895
 
  case $lt_echo in
19896
 
  *'\$0 --fallback-echo"')
19897
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19898
 
    ;;
19899
 
  esac
19900
 
 
19901
 
cfgfile="$ofile"
19902
 
 
19903
 
  cat <<__EOF__ >> "$cfgfile"
19904
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19905
 
 
19906
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19907
 
 
19908
 
# Shell to use when invoking shell scripts.
19909
 
SHELL=$lt_SHELL
19910
 
 
19911
 
# Whether or not to build shared libraries.
19912
 
build_libtool_libs=$enable_shared
19913
 
 
19914
 
# Whether or not to build static libraries.
19915
 
build_old_libs=$enable_static
19916
 
 
19917
 
# Whether or not to add -lc for building shared libraries.
19918
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
19919
 
 
19920
 
# Whether or not to disallow shared libs when runtime libs are static
19921
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19922
 
 
19923
 
# Whether or not to optimize for fast installation.
19924
 
fast_install=$enable_fast_install
19925
 
 
19926
 
# The host system.
19927
 
host_alias=$host_alias
19928
 
host=$host
19929
 
host_os=$host_os
19930
 
 
19931
 
# The build system.
19932
 
build_alias=$build_alias
19933
 
build=$build
19934
 
build_os=$build_os
19935
 
 
19936
 
# An echo program that does not interpret backslashes.
19937
 
echo=$lt_echo
19938
 
 
19939
 
# The archiver.
19940
 
AR=$lt_AR
19941
 
AR_FLAGS=$lt_AR_FLAGS
19942
 
 
19943
 
# A C compiler.
19944
 
LTCC=$lt_LTCC
19945
 
 
19946
 
# LTCC compiler flags.
19947
 
LTCFLAGS=$lt_LTCFLAGS
19948
 
 
19949
 
# A language-specific compiler.
19950
 
CC=$lt_compiler_RC
19951
 
 
19952
 
# Is the compiler the GNU C compiler?
19953
 
with_gcc=$GCC_RC
19954
 
 
19955
 
# An ERE matcher.
19956
 
EGREP=$lt_EGREP
19957
 
 
19958
 
# The linker used to build libraries.
19959
 
LD=$lt_LD_RC
19960
 
 
19961
 
# Whether we need hard or soft links.
19962
 
LN_S=$lt_LN_S
19963
 
 
19964
 
# A BSD-compatible nm program.
19965
 
NM=$lt_NM
19966
 
 
19967
 
# A symbol stripping program
19968
 
STRIP=$lt_STRIP
19969
 
 
19970
 
# Used to examine libraries when file_magic_cmd begins "file"
19971
 
MAGIC_CMD=$MAGIC_CMD
19972
 
 
19973
 
# Used on cygwin: DLL creation program.
19974
 
DLLTOOL="$DLLTOOL"
19975
 
 
19976
 
# Used on cygwin: object dumper.
19977
 
OBJDUMP="$OBJDUMP"
19978
 
 
19979
 
# Used on cygwin: assembler.
19980
 
AS="$AS"
19981
 
 
19982
 
# The name of the directory that contains temporary libtool files.
19983
 
objdir=$objdir
19984
 
 
19985
 
# How to create reloadable object files.
19986
 
reload_flag=$lt_reload_flag
19987
 
reload_cmds=$lt_reload_cmds
19988
 
 
19989
 
# How to pass a linker flag through the compiler.
19990
 
wl=$lt_lt_prog_compiler_wl_RC
19991
 
 
19992
 
# Object file suffix (normally "o").
19993
 
objext="$ac_objext"
19994
 
 
19995
 
# Old archive suffix (normally "a").
19996
 
libext="$libext"
19997
 
 
19998
 
# Shared library suffix (normally ".so").
19999
 
shrext_cmds='$shrext_cmds'
20000
 
 
20001
 
# Executable file suffix (normally "").
20002
 
exeext="$exeext"
20003
 
 
20004
 
# Additional compiler flags for building library objects.
20005
 
pic_flag=$lt_lt_prog_compiler_pic_RC
20006
 
pic_mode=$pic_mode
20007
 
 
20008
 
# What is the maximum length of a command?
20009
 
max_cmd_len=$lt_cv_sys_max_cmd_len
20010
 
 
20011
 
# Does compiler simultaneously support -c and -o options?
20012
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
20013
 
 
20014
 
# Must we lock files when doing compilation?
20015
 
need_locks=$lt_need_locks
20016
 
 
20017
 
# Do we need the lib prefix for modules?
20018
 
need_lib_prefix=$need_lib_prefix
20019
 
 
20020
 
# Do we need a version for libraries?
20021
 
need_version=$need_version
20022
 
 
20023
 
# Whether dlopen is supported.
20024
 
dlopen_support=$enable_dlopen
20025
 
 
20026
 
# Whether dlopen of programs is supported.
20027
 
dlopen_self=$enable_dlopen_self
20028
 
 
20029
 
# Whether dlopen of statically linked programs is supported.
20030
 
dlopen_self_static=$enable_dlopen_self_static
20031
 
 
20032
 
# Compiler flag to prevent dynamic linking.
20033
 
link_static_flag=$lt_lt_prog_compiler_static_RC
20034
 
 
20035
 
# Compiler flag to turn off builtin functions.
20036
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
20037
 
 
20038
 
# Compiler flag to allow reflexive dlopens.
20039
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
20040
 
 
20041
 
# Compiler flag to generate shared objects directly from archives.
20042
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
20043
 
 
20044
 
# Compiler flag to generate thread-safe objects.
20045
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
20046
 
 
20047
 
# Library versioning type.
20048
 
version_type=$version_type
20049
 
 
20050
 
# Format of library name prefix.
20051
 
libname_spec=$lt_libname_spec
20052
 
 
20053
 
# List of archive names.  First name is the real one, the rest are links.
20054
 
# The last name is the one that the linker finds with -lNAME.
20055
 
library_names_spec=$lt_library_names_spec
20056
 
 
20057
 
# The coded name of the library, if different from the real name.
20058
 
soname_spec=$lt_soname_spec
20059
 
 
20060
 
# Commands used to build and install an old-style archive.
20061
 
RANLIB=$lt_RANLIB
20062
 
old_archive_cmds=$lt_old_archive_cmds_RC
20063
 
old_postinstall_cmds=$lt_old_postinstall_cmds
20064
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
20065
 
 
20066
 
# Create an old-style archive from a shared archive.
20067
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
20068
 
 
20069
 
# Create a temporary old-style archive to link instead of a shared archive.
20070
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
20071
 
 
20072
 
# Commands used to build and install a shared archive.
20073
 
archive_cmds=$lt_archive_cmds_RC
20074
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
20075
 
postinstall_cmds=$lt_postinstall_cmds
20076
 
postuninstall_cmds=$lt_postuninstall_cmds
20077
 
 
20078
 
# Commands used to build a loadable module (assumed same as above if empty)
20079
 
module_cmds=$lt_module_cmds_RC
20080
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
20081
 
 
20082
 
# Commands to strip libraries.
20083
 
old_striplib=$lt_old_striplib
20084
 
striplib=$lt_striplib
20085
 
 
20086
 
# Dependencies to place before the objects being linked to create a
20087
 
# shared library.
20088
 
predep_objects=$lt_predep_objects_RC
20089
 
 
20090
 
# Dependencies to place after the objects being linked to create a
20091
 
# shared library.
20092
 
postdep_objects=$lt_postdep_objects_RC
20093
 
 
20094
 
# Dependencies to place before the objects being linked to create a
20095
 
# shared library.
20096
 
predeps=$lt_predeps_RC
20097
 
 
20098
 
# Dependencies to place after the objects being linked to create a
20099
 
# shared library.
20100
 
postdeps=$lt_postdeps_RC
20101
 
 
20102
 
# The directories searched by this compiler when creating a shared
20103
 
# library
20104
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
20105
 
 
20106
 
# The library search path used internally by the compiler when linking
20107
 
# a shared library.
20108
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20109
 
 
20110
 
# Method to check whether dependent libraries are shared objects.
20111
 
deplibs_check_method=$lt_deplibs_check_method
20112
 
 
20113
 
# Command to use when deplibs_check_method == file_magic.
20114
 
file_magic_cmd=$lt_file_magic_cmd
20115
 
 
20116
 
# Flag that allows shared libraries with undefined symbols to be built.
20117
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
20118
 
 
20119
 
# Flag that forces no undefined symbols.
20120
 
no_undefined_flag=$lt_no_undefined_flag_RC
20121
 
 
20122
 
# Commands used to finish a libtool library installation in a directory.
20123
 
finish_cmds=$lt_finish_cmds
20124
 
 
20125
 
# Same as above, but a single script fragment to be evaled but not shown.
20126
 
finish_eval=$lt_finish_eval
20127
 
 
20128
 
# Take the output of nm and produce a listing of raw symbols and C names.
20129
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20130
 
 
20131
 
# Transform the output of nm in a proper C declaration
20132
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20133
 
 
20134
 
# Transform the output of nm in a C name address pair
20135
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20136
 
 
20137
 
# This is the shared library runtime path variable.
20138
 
runpath_var=$runpath_var
20139
 
 
20140
 
# This is the shared library path variable.
20141
 
shlibpath_var=$shlibpath_var
20142
 
 
20143
 
# Is shlibpath searched before the hard-coded library search path?
20144
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20145
 
 
20146
 
# How to hardcode a shared library path into an executable.
20147
 
hardcode_action=$hardcode_action_RC
20148
 
 
20149
 
# Whether we should hardcode library paths into libraries.
20150
 
hardcode_into_libs=$hardcode_into_libs
20151
 
 
20152
 
# Flag to hardcode \$libdir into a binary during linking.
20153
 
# This must work even if \$libdir does not exist.
20154
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
20155
 
 
20156
 
# If ld is used when linking, flag to hardcode \$libdir into
20157
 
# a binary during linking. This must work even if \$libdir does
20158
 
# not exist.
20159
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
20160
 
 
20161
 
# Whether we need a single -rpath flag with a separated argument.
20162
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
20163
 
 
20164
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20165
 
# resulting binary.
20166
 
hardcode_direct=$hardcode_direct_RC
20167
 
 
20168
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20169
 
# resulting binary.
20170
 
hardcode_minus_L=$hardcode_minus_L_RC
20171
 
 
20172
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20173
 
# the resulting binary.
20174
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
20175
 
 
20176
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
20177
 
# and all subsequent libraries and executables linked against it.
20178
 
hardcode_automatic=$hardcode_automatic_RC
20179
 
 
20180
 
# Variables whose values should be saved in libtool wrapper scripts and
20181
 
# restored at relink time.
20182
 
variables_saved_for_relink="$variables_saved_for_relink"
20183
 
 
20184
 
# Whether libtool must link a program against all its dependency libraries.
20185
 
link_all_deplibs=$link_all_deplibs_RC
20186
 
 
20187
 
# Compile-time system search path for libraries
20188
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20189
 
 
20190
 
# Run-time system search path for libraries
20191
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20192
 
 
20193
 
# Fix the shell variable \$srcfile for the compiler.
20194
 
fix_srcfile_path=$lt_fix_srcfile_path
20195
 
 
20196
 
# Set to yes if exported symbols are required.
20197
 
always_export_symbols=$always_export_symbols_RC
20198
 
 
20199
 
# The commands to list exported symbols.
20200
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
20201
 
 
20202
 
# The commands to extract the exported symbol list from a shared archive.
20203
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
20204
 
 
20205
 
# Symbols that should not be listed in the preloaded symbols.
20206
 
exclude_expsyms=$lt_exclude_expsyms_RC
20207
 
 
20208
 
# Symbols that must always be exported.
20209
 
include_expsyms=$lt_include_expsyms_RC
20210
 
 
20211
 
# ### END LIBTOOL TAG CONFIG: $tagname
20212
 
 
20213
 
__EOF__
20214
 
 
20215
 
 
20216
 
else
20217
 
  # If there is no Makefile yet, we rely on a make rule to execute
20218
 
  # `config.status --recheck' to rerun these tests and create the
20219
 
  # libtool script then.
20220
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20221
 
  if test -f "$ltmain_in"; then
20222
 
    test -f Makefile && make "$ltmain"
20223
 
  fi
20224
 
fi
20225
 
 
20226
 
 
20227
 
ac_ext=c
20228
 
ac_cpp='$CPP $CPPFLAGS'
20229
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20230
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20231
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
20232
 
 
20233
 
CC="$lt_save_CC"
20234
 
 
20235
 
        ;;
20236
 
 
20237
 
      *)
20238
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
20239
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
20240
 
   { (exit 1); exit 1; }; }
20241
 
        ;;
20242
 
      esac
20243
 
 
20244
 
      # Append the new tag name to the list of available tags.
20245
 
      if test -n "$tagname" ; then
20246
 
      available_tags="$available_tags $tagname"
20247
 
    fi
20248
 
    fi
20249
 
  done
20250
 
  IFS="$lt_save_ifs"
20251
 
 
20252
 
  # Now substitute the updated list of available tags.
20253
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
20254
 
    mv "${ofile}T" "$ofile"
20255
 
    chmod +x "$ofile"
20256
 
  else
20257
 
    rm -f "${ofile}T"
20258
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
20259
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
20260
 
   { (exit 1); exit 1; }; }
20261
 
  fi
20262
 
fi
20263
 
 
20264
 
 
20265
 
 
20266
 
# This can be used to rebuild libtool when needed
20267
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
20268
 
 
20269
 
# Always use our own libtool.
20270
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
20271
 
 
20272
 
# Prevent multiple expansion
20273
 
 
20274
 
 
20275
 
 
20276
 
 
20277
 
 
20278
 
 
20279
 
 
20280
 
 
20281
 
 
20282
 
 
20283
 
 
20284
 
 
20285
 
 
20286
 
 
20287
 
 
20288
 
 
20289
 
 
20290
 
 
20291
 
 
20292
 
 
20293
 
{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
20294
 
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
20295
 
if test "${ac_cv_search_strerror+set}" = set; then
20296
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20297
 
else
20298
 
  ac_func_search_save_LIBS=$LIBS
20299
 
cat >conftest.$ac_ext <<_ACEOF
20300
 
/* confdefs.h.  */
20301
 
_ACEOF
20302
 
cat confdefs.h >>conftest.$ac_ext
20303
 
cat >>conftest.$ac_ext <<_ACEOF
20304
 
/* end confdefs.h.  */
20305
 
 
20306
 
/* Override any GCC internal prototype to avoid an error.
20307
 
   Use char because int might match the return type of a GCC
20308
 
   builtin and then its argument prototype would still apply.  */
20309
 
#ifdef __cplusplus
20310
 
extern "C"
20311
 
#endif
20312
 
char strerror ();
20313
 
int
20314
 
main ()
20315
 
{
20316
 
return strerror ();
20317
 
  ;
20318
 
  return 0;
20319
 
}
20320
 
_ACEOF
20321
 
for ac_lib in '' cposix; do
20322
 
  if test -z "$ac_lib"; then
20323
 
    ac_res="none required"
20324
 
  else
20325
 
    ac_res=-l$ac_lib
20326
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20327
 
  fi
20328
 
  rm -f conftest.$ac_objext conftest$ac_exeext
20329
 
if { (ac_try="$ac_link"
20330
 
case "(($ac_try" in
20331
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20332
 
  *) ac_try_echo=$ac_try;;
20333
 
esac
20334
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20335
 
  (eval "$ac_link") 2>conftest.er1
20336
 
  ac_status=$?
20337
 
  grep -v '^ *+' conftest.er1 >conftest.err
20338
 
  rm -f conftest.er1
20339
 
  cat conftest.err >&5
20340
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20341
 
  (exit $ac_status); } && {
20342
 
         test -z "$ac_c_werror_flag" ||
20343
 
         test ! -s conftest.err
20344
 
       } && test -s conftest$ac_exeext &&
20345
 
       $as_test_x conftest$ac_exeext; then
20346
 
  ac_cv_search_strerror=$ac_res
20347
 
else
20348
 
  echo "$as_me: failed program was:" >&5
20349
 
sed 's/^/| /' conftest.$ac_ext >&5
20350
 
 
20351
 
 
20352
 
fi
20353
 
 
20354
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20355
 
      conftest$ac_exeext
20356
 
  if test "${ac_cv_search_strerror+set}" = set; then
20357
 
  break
20358
 
fi
20359
 
done
20360
 
if test "${ac_cv_search_strerror+set}" = set; then
20361
 
  :
20362
 
else
20363
 
  ac_cv_search_strerror=no
20364
 
fi
20365
 
rm conftest.$ac_ext
20366
 
LIBS=$ac_func_search_save_LIBS
20367
 
fi
20368
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
20369
 
echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
20370
 
ac_res=$ac_cv_search_strerror
20371
 
if test "$ac_res" != no; then
20372
 
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20373
 
 
20374
 
fi
20375
 
 
20376
 
ac_ext=c
20377
 
ac_cpp='$CPP $CPPFLAGS'
20378
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20379
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20380
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
20381
 
if test -n "$ac_tool_prefix"; then
20382
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
20383
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
20384
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20385
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20386
 
if test "${ac_cv_prog_CC+set}" = set; then
20387
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20388
 
else
20389
 
  if test -n "$CC"; then
20390
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
20391
 
else
20392
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20393
 
for as_dir in $PATH
20394
 
do
20395
 
  IFS=$as_save_IFS
20396
 
  test -z "$as_dir" && as_dir=.
20397
 
  for ac_exec_ext in '' $ac_executable_extensions; do
20398
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20399
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
20400
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20401
 
    break 2
20402
 
  fi
20403
 
done
20404
 
done
20405
 
IFS=$as_save_IFS
20406
 
 
20407
 
fi
20408
 
fi
20409
 
CC=$ac_cv_prog_CC
20410
 
if test -n "$CC"; then
20411
 
  { echo "$as_me:$LINENO: result: $CC" >&5
20412
 
echo "${ECHO_T}$CC" >&6; }
20413
 
else
20414
 
  { echo "$as_me:$LINENO: result: no" >&5
20415
 
echo "${ECHO_T}no" >&6; }
20416
 
fi
20417
 
 
20418
 
 
20419
 
fi
20420
 
if test -z "$ac_cv_prog_CC"; then
20421
 
  ac_ct_CC=$CC
20422
 
  # Extract the first word of "gcc", so it can be a program name with args.
20423
 
set dummy gcc; ac_word=$2
20424
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20425
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20426
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
20427
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20428
 
else
20429
 
  if test -n "$ac_ct_CC"; then
20430
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
20431
 
else
20432
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20433
 
for as_dir in $PATH
20434
 
do
20435
 
  IFS=$as_save_IFS
20436
 
  test -z "$as_dir" && as_dir=.
20437
 
  for ac_exec_ext in '' $ac_executable_extensions; do
20438
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20439
 
    ac_cv_prog_ac_ct_CC="gcc"
20440
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20441
 
    break 2
20442
 
  fi
20443
 
done
20444
 
done
20445
 
IFS=$as_save_IFS
20446
 
 
20447
 
fi
20448
 
fi
20449
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
20450
 
if test -n "$ac_ct_CC"; then
20451
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
20452
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
20453
 
else
20454
 
  { echo "$as_me:$LINENO: result: no" >&5
20455
 
echo "${ECHO_T}no" >&6; }
20456
 
fi
20457
 
 
20458
 
  if test "x$ac_ct_CC" = x; then
20459
 
    CC=""
20460
 
  else
20461
 
    case $cross_compiling:$ac_tool_warned in
20462
 
yes:)
20463
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20464
 
whose name does not start with the host triplet.  If you think this
20465
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
20466
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20467
 
whose name does not start with the host triplet.  If you think this
20468
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20469
 
ac_tool_warned=yes ;;
20470
 
esac
20471
 
    CC=$ac_ct_CC
20472
 
  fi
20473
 
else
20474
 
  CC="$ac_cv_prog_CC"
20475
 
fi
20476
 
 
20477
 
if test -z "$CC"; then
20478
 
          if test -n "$ac_tool_prefix"; then
20479
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
20480
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
20481
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20482
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20483
 
if test "${ac_cv_prog_CC+set}" = set; then
20484
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20485
 
else
20486
 
  if test -n "$CC"; then
20487
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
20488
 
else
20489
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20490
 
for as_dir in $PATH
20491
 
do
20492
 
  IFS=$as_save_IFS
20493
 
  test -z "$as_dir" && as_dir=.
20494
 
  for ac_exec_ext in '' $ac_executable_extensions; do
20495
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20496
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
20497
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20498
 
    break 2
20499
 
  fi
20500
 
done
20501
 
done
20502
 
IFS=$as_save_IFS
20503
 
 
20504
 
fi
20505
 
fi
20506
 
CC=$ac_cv_prog_CC
20507
 
if test -n "$CC"; then
20508
 
  { echo "$as_me:$LINENO: result: $CC" >&5
20509
 
echo "${ECHO_T}$CC" >&6; }
20510
 
else
20511
 
  { echo "$as_me:$LINENO: result: no" >&5
20512
 
echo "${ECHO_T}no" >&6; }
20513
 
fi
20514
 
 
20515
 
 
20516
 
  fi
20517
 
fi
20518
 
if test -z "$CC"; then
20519
 
  # Extract the first word of "cc", so it can be a program name with args.
20520
 
set dummy cc; ac_word=$2
20521
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20522
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20523
 
if test "${ac_cv_prog_CC+set}" = set; then
20524
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20525
 
else
20526
 
  if test -n "$CC"; then
20527
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
20528
 
else
20529
 
  ac_prog_rejected=no
20530
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20531
 
for as_dir in $PATH
20532
 
do
20533
 
  IFS=$as_save_IFS
20534
 
  test -z "$as_dir" && as_dir=.
20535
 
  for ac_exec_ext in '' $ac_executable_extensions; do
20536
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20537
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
20538
 
       ac_prog_rejected=yes
20539
 
       continue
20540
 
     fi
20541
 
    ac_cv_prog_CC="cc"
20542
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20543
 
    break 2
20544
 
  fi
20545
 
done
20546
 
done
20547
 
IFS=$as_save_IFS
20548
 
 
20549
 
if test $ac_prog_rejected = yes; then
20550
 
  # We found a bogon in the path, so make sure we never use it.
20551
 
  set dummy $ac_cv_prog_CC
20552
 
  shift
20553
 
  if test $# != 0; then
20554
 
    # We chose a different compiler from the bogus one.
20555
 
    # However, it has the same basename, so the bogon will be chosen
20556
 
    # first if we set CC to just the basename; use the full file name.
20557
 
    shift
20558
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
20559
 
  fi
20560
 
fi
20561
 
fi
20562
 
fi
20563
 
CC=$ac_cv_prog_CC
20564
 
if test -n "$CC"; then
20565
 
  { echo "$as_me:$LINENO: result: $CC" >&5
20566
 
echo "${ECHO_T}$CC" >&6; }
20567
 
else
20568
 
  { echo "$as_me:$LINENO: result: no" >&5
20569
 
echo "${ECHO_T}no" >&6; }
20570
 
fi
20571
 
 
20572
 
 
20573
 
fi
20574
 
if test -z "$CC"; then
20575
 
  if test -n "$ac_tool_prefix"; then
20576
 
  for ac_prog in cl.exe
20577
 
  do
20578
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20579
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
20580
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20581
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20582
 
if test "${ac_cv_prog_CC+set}" = set; then
20583
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20584
 
else
20585
 
  if test -n "$CC"; then
20586
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
20587
 
else
20588
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20589
 
for as_dir in $PATH
20590
 
do
20591
 
  IFS=$as_save_IFS
20592
 
  test -z "$as_dir" && as_dir=.
20593
 
  for ac_exec_ext in '' $ac_executable_extensions; do
20594
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20595
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
20596
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20597
 
    break 2
20598
 
  fi
20599
 
done
20600
 
done
20601
 
IFS=$as_save_IFS
20602
 
 
20603
 
fi
20604
 
fi
20605
 
CC=$ac_cv_prog_CC
20606
 
if test -n "$CC"; then
20607
 
  { echo "$as_me:$LINENO: result: $CC" >&5
20608
 
echo "${ECHO_T}$CC" >&6; }
20609
 
else
20610
 
  { echo "$as_me:$LINENO: result: no" >&5
20611
 
echo "${ECHO_T}no" >&6; }
20612
 
fi
20613
 
 
20614
 
 
20615
 
    test -n "$CC" && break
20616
 
  done
20617
 
fi
20618
 
if test -z "$CC"; then
20619
 
  ac_ct_CC=$CC
20620
 
  for ac_prog in cl.exe
20621
 
do
20622
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
20623
 
set dummy $ac_prog; ac_word=$2
20624
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20625
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20626
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
20627
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20628
 
else
20629
 
  if test -n "$ac_ct_CC"; then
20630
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
20631
 
else
20632
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20633
 
for as_dir in $PATH
20634
 
do
20635
 
  IFS=$as_save_IFS
20636
 
  test -z "$as_dir" && as_dir=.
20637
 
  for ac_exec_ext in '' $ac_executable_extensions; do
20638
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20639
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
20640
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20641
 
    break 2
20642
 
  fi
20643
 
done
20644
 
done
20645
 
IFS=$as_save_IFS
20646
 
 
20647
 
fi
20648
 
fi
20649
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
20650
 
if test -n "$ac_ct_CC"; then
20651
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
20652
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
20653
 
else
20654
 
  { echo "$as_me:$LINENO: result: no" >&5
20655
 
echo "${ECHO_T}no" >&6; }
20656
 
fi
20657
 
 
20658
 
 
20659
 
  test -n "$ac_ct_CC" && break
20660
 
done
20661
 
 
20662
 
  if test "x$ac_ct_CC" = x; then
20663
 
    CC=""
20664
 
  else
20665
 
    case $cross_compiling:$ac_tool_warned in
20666
 
yes:)
20667
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20668
 
whose name does not start with the host triplet.  If you think this
20669
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
20670
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20671
 
whose name does not start with the host triplet.  If you think this
20672
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20673
 
ac_tool_warned=yes ;;
20674
 
esac
20675
 
    CC=$ac_ct_CC
20676
 
  fi
20677
 
fi
20678
 
 
20679
 
fi
20680
 
 
20681
 
 
20682
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
20683
 
See \`config.log' for more details." >&5
20684
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
20685
 
See \`config.log' for more details." >&2;}
20686
 
   { (exit 1); exit 1; }; }
20687
 
 
20688
 
# Provide some information about the compiler.
20689
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
20690
 
ac_compiler=`set X $ac_compile; echo $2`
20691
 
{ (ac_try="$ac_compiler --version >&5"
20692
 
case "(($ac_try" in
20693
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20694
 
  *) ac_try_echo=$ac_try;;
20695
 
esac
20696
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20697
 
  (eval "$ac_compiler --version >&5") 2>&5
20698
 
  ac_status=$?
20699
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20700
 
  (exit $ac_status); }
20701
 
{ (ac_try="$ac_compiler -v >&5"
20702
 
case "(($ac_try" in
20703
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20704
 
  *) ac_try_echo=$ac_try;;
20705
 
esac
20706
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20707
 
  (eval "$ac_compiler -v >&5") 2>&5
20708
 
  ac_status=$?
20709
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20710
 
  (exit $ac_status); }
20711
 
{ (ac_try="$ac_compiler -V >&5"
20712
 
case "(($ac_try" in
20713
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20714
 
  *) ac_try_echo=$ac_try;;
20715
 
esac
20716
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20717
 
  (eval "$ac_compiler -V >&5") 2>&5
20718
 
  ac_status=$?
20719
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20720
 
  (exit $ac_status); }
20721
 
 
20722
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
20723
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
20724
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
20725
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20726
 
else
20727
 
  cat >conftest.$ac_ext <<_ACEOF
20728
 
/* confdefs.h.  */
20729
 
_ACEOF
20730
 
cat confdefs.h >>conftest.$ac_ext
20731
 
cat >>conftest.$ac_ext <<_ACEOF
20732
 
/* end confdefs.h.  */
20733
 
 
20734
 
int
20735
 
main ()
20736
 
{
20737
 
#ifndef __GNUC__
20738
 
       choke me
20739
 
#endif
20740
 
 
20741
 
  ;
20742
 
  return 0;
20743
 
}
20744
 
_ACEOF
20745
 
rm -f conftest.$ac_objext
20746
 
if { (ac_try="$ac_compile"
20747
 
case "(($ac_try" in
20748
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20749
 
  *) ac_try_echo=$ac_try;;
20750
 
esac
20751
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20752
 
  (eval "$ac_compile") 2>conftest.er1
20753
 
  ac_status=$?
20754
 
  grep -v '^ *+' conftest.er1 >conftest.err
20755
 
  rm -f conftest.er1
20756
 
  cat conftest.err >&5
20757
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20758
 
  (exit $ac_status); } && {
20759
 
         test -z "$ac_c_werror_flag" ||
20760
 
         test ! -s conftest.err
20761
 
       } && test -s conftest.$ac_objext; then
20762
 
  ac_compiler_gnu=yes
20763
 
else
20764
 
  echo "$as_me: failed program was:" >&5
20765
 
sed 's/^/| /' conftest.$ac_ext >&5
20766
 
 
20767
 
        ac_compiler_gnu=no
20768
 
fi
20769
 
 
20770
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20771
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
20772
 
 
20773
 
fi
20774
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
20775
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
20776
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
20777
 
ac_test_CFLAGS=${CFLAGS+set}
20778
 
ac_save_CFLAGS=$CFLAGS
20779
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
20780
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
20781
 
if test "${ac_cv_prog_cc_g+set}" = set; then
20782
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20783
 
else
20784
 
  ac_save_c_werror_flag=$ac_c_werror_flag
20785
 
   ac_c_werror_flag=yes
20786
 
   ac_cv_prog_cc_g=no
20787
 
   CFLAGS="-g"
20788
 
   cat >conftest.$ac_ext <<_ACEOF
20789
 
/* confdefs.h.  */
20790
 
_ACEOF
20791
 
cat confdefs.h >>conftest.$ac_ext
20792
 
cat >>conftest.$ac_ext <<_ACEOF
20793
 
/* end confdefs.h.  */
20794
 
 
20795
 
int
20796
 
main ()
20797
 
{
20798
 
 
20799
 
  ;
20800
 
  return 0;
20801
 
}
20802
 
_ACEOF
20803
 
rm -f conftest.$ac_objext
20804
 
if { (ac_try="$ac_compile"
20805
 
case "(($ac_try" in
20806
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20807
 
  *) ac_try_echo=$ac_try;;
20808
 
esac
20809
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20810
 
  (eval "$ac_compile") 2>conftest.er1
20811
 
  ac_status=$?
20812
 
  grep -v '^ *+' conftest.er1 >conftest.err
20813
 
  rm -f conftest.er1
20814
 
  cat conftest.err >&5
20815
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20816
 
  (exit $ac_status); } && {
20817
 
         test -z "$ac_c_werror_flag" ||
20818
 
         test ! -s conftest.err
20819
 
       } && test -s conftest.$ac_objext; then
20820
 
  ac_cv_prog_cc_g=yes
20821
 
else
20822
 
  echo "$as_me: failed program was:" >&5
20823
 
sed 's/^/| /' conftest.$ac_ext >&5
20824
 
 
20825
 
        CFLAGS=""
20826
 
      cat >conftest.$ac_ext <<_ACEOF
20827
 
/* confdefs.h.  */
20828
 
_ACEOF
20829
 
cat confdefs.h >>conftest.$ac_ext
20830
 
cat >>conftest.$ac_ext <<_ACEOF
20831
 
/* end confdefs.h.  */
20832
 
 
20833
 
int
20834
 
main ()
20835
 
{
20836
 
 
20837
 
  ;
20838
 
  return 0;
20839
 
}
20840
 
_ACEOF
20841
 
rm -f conftest.$ac_objext
20842
 
if { (ac_try="$ac_compile"
20843
 
case "(($ac_try" in
20844
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20845
 
  *) ac_try_echo=$ac_try;;
20846
 
esac
20847
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20848
 
  (eval "$ac_compile") 2>conftest.er1
20849
 
  ac_status=$?
20850
 
  grep -v '^ *+' conftest.er1 >conftest.err
20851
 
  rm -f conftest.er1
20852
 
  cat conftest.err >&5
20853
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20854
 
  (exit $ac_status); } && {
20855
 
         test -z "$ac_c_werror_flag" ||
20856
 
         test ! -s conftest.err
20857
 
       } && test -s conftest.$ac_objext; then
20858
 
  :
20859
 
else
20860
 
  echo "$as_me: failed program was:" >&5
20861
 
sed 's/^/| /' conftest.$ac_ext >&5
20862
 
 
20863
 
        ac_c_werror_flag=$ac_save_c_werror_flag
20864
 
         CFLAGS="-g"
20865
 
         cat >conftest.$ac_ext <<_ACEOF
20866
 
/* confdefs.h.  */
20867
 
_ACEOF
20868
 
cat confdefs.h >>conftest.$ac_ext
20869
 
cat >>conftest.$ac_ext <<_ACEOF
20870
 
/* end confdefs.h.  */
20871
 
 
20872
 
int
20873
 
main ()
20874
 
{
20875
 
 
20876
 
  ;
20877
 
  return 0;
20878
 
}
20879
 
_ACEOF
20880
 
rm -f conftest.$ac_objext
20881
 
if { (ac_try="$ac_compile"
20882
 
case "(($ac_try" in
20883
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20884
 
  *) ac_try_echo=$ac_try;;
20885
 
esac
20886
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20887
 
  (eval "$ac_compile") 2>conftest.er1
20888
 
  ac_status=$?
20889
 
  grep -v '^ *+' conftest.er1 >conftest.err
20890
 
  rm -f conftest.er1
20891
 
  cat conftest.err >&5
20892
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20893
 
  (exit $ac_status); } && {
20894
 
         test -z "$ac_c_werror_flag" ||
20895
 
         test ! -s conftest.err
20896
 
       } && test -s conftest.$ac_objext; then
20897
 
  ac_cv_prog_cc_g=yes
20898
 
else
20899
 
  echo "$as_me: failed program was:" >&5
20900
 
sed 's/^/| /' conftest.$ac_ext >&5
20901
 
 
20902
 
 
20903
 
fi
20904
 
 
20905
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20906
 
fi
20907
 
 
20908
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20909
 
fi
20910
 
 
20911
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20912
 
   ac_c_werror_flag=$ac_save_c_werror_flag
20913
 
fi
20914
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
20915
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
20916
 
if test "$ac_test_CFLAGS" = set; then
20917
 
  CFLAGS=$ac_save_CFLAGS
20918
 
elif test $ac_cv_prog_cc_g = yes; then
20919
 
  if test "$GCC" = yes; then
20920
 
    CFLAGS="-g -O2"
20921
 
  else
20922
 
    CFLAGS="-g"
20923
 
  fi
20924
 
else
20925
 
  if test "$GCC" = yes; then
20926
 
    CFLAGS="-O2"
20927
 
  else
20928
 
    CFLAGS=
20929
 
  fi
20930
 
fi
20931
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
20932
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
20933
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
20934
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20935
 
else
20936
 
  ac_cv_prog_cc_c89=no
20937
 
ac_save_CC=$CC
20938
 
cat >conftest.$ac_ext <<_ACEOF
20939
 
/* confdefs.h.  */
20940
 
_ACEOF
20941
 
cat confdefs.h >>conftest.$ac_ext
20942
 
cat >>conftest.$ac_ext <<_ACEOF
20943
 
/* end confdefs.h.  */
20944
 
#include <stdarg.h>
20945
 
#include <stdio.h>
20946
 
#include <sys/types.h>
20947
 
#include <sys/stat.h>
20948
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
20949
 
struct buf { int x; };
20950
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
20951
 
static char *e (p, i)
20952
 
     char **p;
20953
 
     int i;
20954
 
{
20955
 
  return p[i];
20956
 
}
20957
 
static char *f (char * (*g) (char **, int), char **p, ...)
20958
 
{
20959
 
  char *s;
20960
 
  va_list v;
20961
 
  va_start (v,p);
20962
 
  s = g (p, va_arg (v,int));
20963
 
  va_end (v);
20964
 
  return s;
20965
 
}
20966
 
 
20967
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
20968
 
   function prototypes and stuff, but not '\xHH' hex character constants.
20969
 
   These don't provoke an error unfortunately, instead are silently treated
20970
 
   as 'x'.  The following induces an error, until -std is added to get
20971
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
20972
 
   array size at least.  It's necessary to write '\x00'==0 to get something
20973
 
   that's true only with -std.  */
20974
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
20975
 
 
20976
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
20977
 
   inside strings and character constants.  */
20978
 
#define FOO(x) 'x'
20979
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
20980
 
 
20981
 
int test (int i, double x);
20982
 
struct s1 {int (*f) (int a);};
20983
 
struct s2 {int (*f) (double a);};
20984
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
20985
 
int argc;
20986
 
char **argv;
20987
 
int
20988
 
main ()
20989
 
{
20990
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
20991
 
  ;
20992
 
  return 0;
20993
 
}
20994
 
_ACEOF
20995
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
20996
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
20997
 
do
20998
 
  CC="$ac_save_CC $ac_arg"
20999
 
  rm -f conftest.$ac_objext
21000
 
if { (ac_try="$ac_compile"
21001
 
case "(($ac_try" in
21002
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21003
 
  *) ac_try_echo=$ac_try;;
21004
 
esac
21005
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21006
 
  (eval "$ac_compile") 2>conftest.er1
21007
 
  ac_status=$?
21008
 
  grep -v '^ *+' conftest.er1 >conftest.err
21009
 
  rm -f conftest.er1
21010
 
  cat conftest.err >&5
21011
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21012
 
  (exit $ac_status); } && {
21013
 
         test -z "$ac_c_werror_flag" ||
21014
 
         test ! -s conftest.err
21015
 
       } && test -s conftest.$ac_objext; then
21016
 
  ac_cv_prog_cc_c89=$ac_arg
21017
 
else
21018
 
  echo "$as_me: failed program was:" >&5
21019
 
sed 's/^/| /' conftest.$ac_ext >&5
21020
 
 
21021
 
 
21022
 
fi
21023
 
 
21024
 
rm -f core conftest.err conftest.$ac_objext
21025
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
21026
 
done
21027
 
rm -f conftest.$ac_ext
21028
 
CC=$ac_save_CC
21029
 
 
21030
 
fi
21031
 
# AC_CACHE_VAL
21032
 
case "x$ac_cv_prog_cc_c89" in
21033
 
  x)
21034
 
    { echo "$as_me:$LINENO: result: none needed" >&5
21035
 
echo "${ECHO_T}none needed" >&6; } ;;
21036
 
  xno)
21037
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
21038
 
echo "${ECHO_T}unsupported" >&6; } ;;
21039
 
  *)
21040
 
    CC="$CC $ac_cv_prog_cc_c89"
21041
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
21042
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
21043
 
esac
21044
 
 
21045
 
 
21046
 
ac_ext=c
21047
 
ac_cpp='$CPP $CPPFLAGS'
21048
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21049
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21050
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
21051
 
 
21052
 
depcc="$CC"   am_compiler_list=
21053
 
 
21054
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
21055
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
21056
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
21057
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21058
 
else
21059
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
21060
 
  # We make a subdir and do the tests there.  Otherwise we can end up
21061
 
  # making bogus files that we don't know about and never remove.  For
21062
 
  # instance it was reported that on HP-UX the gcc test will end up
21063
 
  # making a dummy file named `D' -- because `-MD' means `put the output
21064
 
  # in D'.
21065
 
  mkdir conftest.dir
21066
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
21067
 
  # using a relative directory.
21068
 
  cp "$am_depcomp" conftest.dir
21069
 
  cd conftest.dir
21070
 
  # We will build objects and dependencies in a subdirectory because
21071
 
  # it helps to detect inapplicable dependency modes.  For instance
21072
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
21073
 
  # side effect of compilation, but ICC will put the dependencies in
21074
 
  # the current directory while Tru64 will put them in the object
21075
 
  # directory.
21076
 
  mkdir sub
21077
 
 
21078
 
  am_cv_CC_dependencies_compiler_type=none
21079
 
  if test "$am_compiler_list" = ""; then
21080
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
21081
 
  fi
21082
 
  for depmode in $am_compiler_list; do
21083
 
    # Setup a source with many dependencies, because some compilers
21084
 
    # like to wrap large dependency lists on column 80 (with \), and
21085
 
    # we should not choose a depcomp mode which is confused by this.
21086
 
    #
21087
 
    # We need to recreate these files for each test, as the compiler may
21088
 
    # overwrite some of them when testing with obscure command lines.
21089
 
    # This happens at least with the AIX C compiler.
21090
 
    : > sub/conftest.c
21091
 
    for i in 1 2 3 4 5 6; do
21092
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
21093
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
21094
 
      # Solaris 8's {/usr,}/bin/sh.
21095
 
      touch sub/conftst$i.h
21096
 
    done
21097
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
21098
 
 
21099
 
    case $depmode in
21100
 
    nosideeffect)
21101
 
      # after this tag, mechanisms are not by side-effect, so they'll
21102
 
      # only be used when explicitly requested
21103
 
      if test "x$enable_dependency_tracking" = xyes; then
21104
 
        continue
21105
 
      else
21106
 
        break
21107
 
      fi
21108
 
      ;;
21109
 
    none) break ;;
21110
 
    esac
21111
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
21112
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
21113
 
    # handle `-M -o', and we need to detect this.
21114
 
    if depmode=$depmode \
21115
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
21116
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
21117
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
21118
 
         >/dev/null 2>conftest.err &&
21119
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
21120
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
21121
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
21122
 
      # icc doesn't choke on unknown options, it will just issue warnings
21123
 
      # or remarks (even with -Werror).  So we grep stderr for any message
21124
 
      # that says an option was ignored or not supported.
21125
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
21126
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
21127
 
      # The diagnosis changed in icc 8.0:
21128
 
      #   icc: Command line remark: option '-MP' not supported
21129
 
      if (grep 'ignoring option' conftest.err ||
21130
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
21131
 
        am_cv_CC_dependencies_compiler_type=$depmode
21132
 
        break
21133
 
      fi
21134
 
    fi
21135
 
  done
21136
 
 
21137
 
  cd ..
21138
 
  rm -rf conftest.dir
21139
 
else
21140
 
  am_cv_CC_dependencies_compiler_type=none
21141
 
fi
21142
 
 
21143
 
fi
21144
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
21145
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
21146
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
21147
 
 
21148
 
 
21149
 
 
21150
 
if
21151
 
  test "x$enable_dependency_tracking" != xno \
21152
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
21153
 
  am__fastdepCC_TRUE=
21154
 
  am__fastdepCC_FALSE='#'
21155
 
else
21156
 
  am__fastdepCC_TRUE='#'
21157
 
  am__fastdepCC_FALSE=
21158
 
fi
21159
 
 
21160
 
 
21161
 
# Find a good install program.  We prefer a C program (faster),
21162
 
# so one script is as good as another.  But avoid the broken or
21163
 
# incompatible versions:
21164
 
# SysV /etc/install, /usr/sbin/install
21165
 
# SunOS /usr/etc/install
21166
 
# IRIX /sbin/install
21167
 
# AIX /bin/install
21168
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
21169
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
21170
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
21171
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
21172
 
# OS/2's system install, which has a completely different semantic
21173
 
# ./install, which can be erroneously created by make from ./install.sh.
21174
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
21175
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
21176
 
if test -z "$INSTALL"; then
21177
 
if test "${ac_cv_path_install+set}" = set; then
21178
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21179
 
else
21180
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21181
 
for as_dir in $PATH
21182
 
do
21183
 
  IFS=$as_save_IFS
21184
 
  test -z "$as_dir" && as_dir=.
21185
 
  # Account for people who put trailing slashes in PATH elements.
21186
 
case $as_dir/ in
21187
 
  ./ | .// | /cC/* | \
21188
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
21189
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
21190
 
  /usr/ucb/* ) ;;
21191
 
  *)
21192
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
21193
 
    # Don't use installbsd from OSF since it installs stuff as root
21194
 
    # by default.
21195
 
    for ac_prog in ginstall scoinst install; do
21196
 
      for ac_exec_ext in '' $ac_executable_extensions; do
21197
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
21198
 
          if test $ac_prog = install &&
21199
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
21200
 
            # AIX install.  It has an incompatible calling convention.
21201
 
            :
21202
 
          elif test $ac_prog = install &&
21203
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
21204
 
            # program-specific install script used by HP pwplus--don't use.
21205
 
            :
21206
 
          else
21207
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
21208
 
            break 3
21209
 
          fi
21210
 
        fi
21211
 
      done
21212
 
    done
21213
 
    ;;
21214
 
esac
21215
 
done
21216
 
IFS=$as_save_IFS
21217
 
 
21218
 
 
21219
 
fi
21220
 
  if test "${ac_cv_path_install+set}" = set; then
21221
 
    INSTALL=$ac_cv_path_install
21222
 
  else
21223
 
    # As a last resort, use the slow shell script.  Don't cache a
21224
 
    # value for INSTALL within a source directory, because that will
21225
 
    # break other packages using the cache if that directory is
21226
 
    # removed, or if the value is a relative name.
21227
 
    INSTALL=$ac_install_sh
21228
 
  fi
21229
 
fi
21230
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
21231
 
echo "${ECHO_T}$INSTALL" >&6; }
21232
 
 
21233
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
21234
 
# It thinks the first close brace ends the variable substitution.
21235
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
21236
 
 
21237
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
21238
 
 
21239
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
21240
 
 
21241
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
21242
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
21243
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
21244
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
21245
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21246
 
else
21247
 
  cat >conftest.make <<\_ACEOF
21248
 
SHELL = /bin/sh
21249
 
all:
21250
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
21251
 
_ACEOF
21252
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21253
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
21254
 
  *@@@%%%=?*=@@@%%%*)
21255
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
21256
 
  *)
21257
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
21258
 
esac
21259
 
rm -f conftest.make
21260
 
fi
21261
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
21262
 
  { echo "$as_me:$LINENO: result: yes" >&5
21263
 
echo "${ECHO_T}yes" >&6; }
21264
 
  SET_MAKE=
21265
 
else
21266
 
  { echo "$as_me:$LINENO: result: no" >&5
21267
 
echo "${ECHO_T}no" >&6; }
21268
 
  SET_MAKE="MAKE=${MAKE-make}"
21269
 
fi
21270
 
 
21271
 
 
21272
 
 
21273
 
ALL_LINGUAS="ar am az be bg ca cs da de dz en_CA en_GB es eu fi fr he hr hu it ja lv mk ml mn ms nb nl oc pa pl pt pt_BR ru rw sk sr sr@Latn sv tr uk vi zh_CN zh_TW"
21274
 
 
21275
 
 
21276
 
for ac_header in locale.h
21277
 
do
21278
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21279
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21280
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
21281
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21282
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21283
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21284
 
fi
21285
 
ac_res=`eval echo '${'$as_ac_Header'}'`
21286
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21287
 
echo "${ECHO_T}$ac_res" >&6; }
21288
 
else
21289
 
  # Is the header compilable?
21290
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
21291
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21292
 
cat >conftest.$ac_ext <<_ACEOF
21293
 
/* confdefs.h.  */
21294
 
_ACEOF
21295
 
cat confdefs.h >>conftest.$ac_ext
21296
 
cat >>conftest.$ac_ext <<_ACEOF
21297
 
/* end confdefs.h.  */
21298
 
$ac_includes_default
21299
 
#include <$ac_header>
21300
 
_ACEOF
21301
 
rm -f conftest.$ac_objext
21302
 
if { (ac_try="$ac_compile"
21303
 
case "(($ac_try" in
21304
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21305
 
  *) ac_try_echo=$ac_try;;
21306
 
esac
21307
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21308
 
  (eval "$ac_compile") 2>conftest.er1
21309
 
  ac_status=$?
21310
 
  grep -v '^ *+' conftest.er1 >conftest.err
21311
 
  rm -f conftest.er1
21312
 
  cat conftest.err >&5
21313
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21314
 
  (exit $ac_status); } && {
21315
 
         test -z "$ac_c_werror_flag" ||
21316
 
         test ! -s conftest.err
21317
 
       } && test -s conftest.$ac_objext; then
21318
 
  ac_header_compiler=yes
21319
 
else
21320
 
  echo "$as_me: failed program was:" >&5
21321
 
sed 's/^/| /' conftest.$ac_ext >&5
21322
 
 
21323
 
        ac_header_compiler=no
21324
 
fi
21325
 
 
21326
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21327
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21328
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
21329
 
 
21330
 
# Is the header present?
21331
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
21332
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21333
 
cat >conftest.$ac_ext <<_ACEOF
21334
 
/* confdefs.h.  */
21335
 
_ACEOF
21336
 
cat confdefs.h >>conftest.$ac_ext
21337
 
cat >>conftest.$ac_ext <<_ACEOF
21338
 
/* end confdefs.h.  */
21339
 
#include <$ac_header>
21340
 
_ACEOF
21341
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
21342
 
case "(($ac_try" in
21343
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21344
 
  *) ac_try_echo=$ac_try;;
21345
 
esac
21346
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21347
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21348
 
  ac_status=$?
21349
 
  grep -v '^ *+' conftest.er1 >conftest.err
21350
 
  rm -f conftest.er1
21351
 
  cat conftest.err >&5
21352
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21353
 
  (exit $ac_status); } >/dev/null && {
21354
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21355
 
         test ! -s conftest.err
21356
 
       }; then
21357
 
  ac_header_preproc=yes
21358
 
else
21359
 
  echo "$as_me: failed program was:" >&5
21360
 
sed 's/^/| /' conftest.$ac_ext >&5
21361
 
 
21362
 
  ac_header_preproc=no
21363
 
fi
21364
 
 
21365
 
rm -f conftest.err conftest.$ac_ext
21366
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21367
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
21368
 
 
21369
 
# So?  What about this header?
21370
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21371
 
  yes:no: )
21372
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21373
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21374
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21375
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21376
 
    ac_header_preproc=yes
21377
 
    ;;
21378
 
  no:yes:* )
21379
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21380
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21381
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
21382
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
21383
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21384
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21385
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
21386
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
21387
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21388
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21389
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21390
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21391
 
    ( cat <<\_ASBOX
21392
 
## -------------------------------------------- ##
21393
 
## Report this to http://mfcn.ilo.de/gnomeradio ##
21394
 
## -------------------------------------------- ##
21395
 
_ASBOX
21396
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
21397
 
    ;;
21398
 
esac
21399
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
21400
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21401
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21402
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21403
 
else
21404
 
  eval "$as_ac_Header=\$ac_header_preproc"
21405
 
fi
21406
 
ac_res=`eval echo '${'$as_ac_Header'}'`
21407
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21408
 
echo "${ECHO_T}$ac_res" >&6; }
21409
 
 
21410
 
fi
21411
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
21412
 
  cat >>confdefs.h <<_ACEOF
21413
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21414
 
_ACEOF
21415
 
 
21416
 
fi
21417
 
 
21418
 
done
21419
 
 
21420
 
    if test $ac_cv_header_locale_h = yes; then
21421
 
    { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
21422
 
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
21423
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
21424
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21425
 
else
21426
 
  cat >conftest.$ac_ext <<_ACEOF
21427
 
/* confdefs.h.  */
21428
 
_ACEOF
21429
 
cat confdefs.h >>conftest.$ac_ext
21430
 
cat >>conftest.$ac_ext <<_ACEOF
21431
 
/* end confdefs.h.  */
21432
 
#include <locale.h>
21433
 
int
21434
 
main ()
21435
 
{
21436
 
return LC_MESSAGES
21437
 
  ;
21438
 
  return 0;
21439
 
}
21440
 
_ACEOF
21441
 
rm -f conftest.$ac_objext conftest$ac_exeext
21442
 
if { (ac_try="$ac_link"
21443
 
case "(($ac_try" in
21444
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21445
 
  *) ac_try_echo=$ac_try;;
21446
 
esac
21447
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21448
 
  (eval "$ac_link") 2>conftest.er1
21449
 
  ac_status=$?
21450
 
  grep -v '^ *+' conftest.er1 >conftest.err
21451
 
  rm -f conftest.er1
21452
 
  cat conftest.err >&5
21453
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21454
 
  (exit $ac_status); } && {
21455
 
         test -z "$ac_c_werror_flag" ||
21456
 
         test ! -s conftest.err
21457
 
       } && test -s conftest$ac_exeext &&
21458
 
       $as_test_x conftest$ac_exeext; then
21459
 
  am_cv_val_LC_MESSAGES=yes
21460
 
else
21461
 
  echo "$as_me: failed program was:" >&5
21462
 
sed 's/^/| /' conftest.$ac_ext >&5
21463
 
 
21464
 
        am_cv_val_LC_MESSAGES=no
21465
 
fi
21466
 
 
21467
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21468
 
      conftest$ac_exeext conftest.$ac_ext
21469
 
fi
21470
 
{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
21471
 
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
21472
 
    if test $am_cv_val_LC_MESSAGES = yes; then
21473
 
 
21474
 
cat >>confdefs.h <<\_ACEOF
21475
 
#define HAVE_LC_MESSAGES 1
21476
 
_ACEOF
21477
 
 
21478
 
    fi
21479
 
  fi
21480
 
     USE_NLS=yes
21481
 
 
21482
 
 
21483
 
    gt_cv_have_gettext=no
21484
 
 
21485
 
    CATOBJEXT=NONE
21486
 
    XGETTEXT=:
21487
 
    INTLLIBS=
21488
 
 
21489
 
    if test "${ac_cv_header_libintl_h+set}" = set; then
21490
 
  { echo "$as_me:$LINENO: checking for libintl.h" >&5
21491
 
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
21492
 
if test "${ac_cv_header_libintl_h+set}" = set; then
21493
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21494
 
fi
21495
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
21496
 
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
21497
 
else
21498
 
  # Is the header compilable?
21499
 
{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
21500
 
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
21501
 
cat >conftest.$ac_ext <<_ACEOF
21502
 
/* confdefs.h.  */
21503
 
_ACEOF
21504
 
cat confdefs.h >>conftest.$ac_ext
21505
 
cat >>conftest.$ac_ext <<_ACEOF
21506
 
/* end confdefs.h.  */
21507
 
$ac_includes_default
21508
 
#include <libintl.h>
21509
 
_ACEOF
21510
 
rm -f conftest.$ac_objext
21511
 
if { (ac_try="$ac_compile"
21512
 
case "(($ac_try" in
21513
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21514
 
  *) ac_try_echo=$ac_try;;
21515
 
esac
21516
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21517
 
  (eval "$ac_compile") 2>conftest.er1
21518
 
  ac_status=$?
21519
 
  grep -v '^ *+' conftest.er1 >conftest.err
21520
 
  rm -f conftest.er1
21521
 
  cat conftest.err >&5
21522
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21523
 
  (exit $ac_status); } && {
21524
 
         test -z "$ac_c_werror_flag" ||
21525
 
         test ! -s conftest.err
21526
 
       } && test -s conftest.$ac_objext; then
21527
 
  ac_header_compiler=yes
21528
 
else
21529
 
  echo "$as_me: failed program was:" >&5
21530
 
sed 's/^/| /' conftest.$ac_ext >&5
21531
 
 
21532
 
        ac_header_compiler=no
21533
 
fi
21534
 
 
21535
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21536
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21537
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
21538
 
 
21539
 
# Is the header present?
21540
 
{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
21541
 
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
21542
 
cat >conftest.$ac_ext <<_ACEOF
21543
 
/* confdefs.h.  */
21544
 
_ACEOF
21545
 
cat confdefs.h >>conftest.$ac_ext
21546
 
cat >>conftest.$ac_ext <<_ACEOF
21547
 
/* end confdefs.h.  */
21548
 
#include <libintl.h>
21549
 
_ACEOF
21550
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
21551
 
case "(($ac_try" in
21552
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21553
 
  *) ac_try_echo=$ac_try;;
21554
 
esac
21555
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21556
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21557
 
  ac_status=$?
21558
 
  grep -v '^ *+' conftest.er1 >conftest.err
21559
 
  rm -f conftest.er1
21560
 
  cat conftest.err >&5
21561
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21562
 
  (exit $ac_status); } >/dev/null && {
21563
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21564
 
         test ! -s conftest.err
21565
 
       }; then
21566
 
  ac_header_preproc=yes
21567
 
else
21568
 
  echo "$as_me: failed program was:" >&5
21569
 
sed 's/^/| /' conftest.$ac_ext >&5
21570
 
 
21571
 
  ac_header_preproc=no
21572
 
fi
21573
 
 
21574
 
rm -f conftest.err conftest.$ac_ext
21575
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21576
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
21577
 
 
21578
 
# So?  What about this header?
21579
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21580
 
  yes:no: )
21581
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
21582
 
echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21583
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
21584
 
echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
21585
 
    ac_header_preproc=yes
21586
 
    ;;
21587
 
  no:yes:* )
21588
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
21589
 
echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
21590
 
    { echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
21591
 
echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
21592
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
21593
 
echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
21594
 
    { echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
21595
 
echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
21596
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
21597
 
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
21598
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
21599
 
echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
21600
 
    ( cat <<\_ASBOX
21601
 
## -------------------------------------------- ##
21602
 
## Report this to http://mfcn.ilo.de/gnomeradio ##
21603
 
## -------------------------------------------- ##
21604
 
_ASBOX
21605
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
21606
 
    ;;
21607
 
esac
21608
 
{ echo "$as_me:$LINENO: checking for libintl.h" >&5
21609
 
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
21610
 
if test "${ac_cv_header_libintl_h+set}" = set; then
21611
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21612
 
else
21613
 
  ac_cv_header_libintl_h=$ac_header_preproc
21614
 
fi
21615
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
21616
 
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
21617
 
 
21618
 
fi
21619
 
if test $ac_cv_header_libintl_h = yes; then
21620
 
  gt_cv_func_dgettext_libintl="no"
21621
 
      libintl_extra_libs=""
21622
 
 
21623
 
      #
21624
 
      # First check in libc
21625
 
      #
21626
 
      { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
21627
 
echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
21628
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then
21629
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21630
 
else
21631
 
  cat >conftest.$ac_ext <<_ACEOF
21632
 
/* confdefs.h.  */
21633
 
_ACEOF
21634
 
cat confdefs.h >>conftest.$ac_ext
21635
 
cat >>conftest.$ac_ext <<_ACEOF
21636
 
/* end confdefs.h.  */
21637
 
 
21638
 
#include <libintl.h>
21639
 
 
21640
 
int
21641
 
main ()
21642
 
{
21643
 
return !ngettext ("","", 1)
21644
 
  ;
21645
 
  return 0;
21646
 
}
21647
 
_ACEOF
21648
 
rm -f conftest.$ac_objext conftest$ac_exeext
21649
 
if { (ac_try="$ac_link"
21650
 
case "(($ac_try" in
21651
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21652
 
  *) ac_try_echo=$ac_try;;
21653
 
esac
21654
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21655
 
  (eval "$ac_link") 2>conftest.er1
21656
 
  ac_status=$?
21657
 
  grep -v '^ *+' conftest.er1 >conftest.err
21658
 
  rm -f conftest.er1
21659
 
  cat conftest.err >&5
21660
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21661
 
  (exit $ac_status); } && {
21662
 
         test -z "$ac_c_werror_flag" ||
21663
 
         test ! -s conftest.err
21664
 
       } && test -s conftest$ac_exeext &&
21665
 
       $as_test_x conftest$ac_exeext; then
21666
 
  gt_cv_func_ngettext_libc=yes
21667
 
else
21668
 
  echo "$as_me: failed program was:" >&5
21669
 
sed 's/^/| /' conftest.$ac_ext >&5
21670
 
 
21671
 
        gt_cv_func_ngettext_libc=no
21672
 
fi
21673
 
 
21674
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21675
 
      conftest$ac_exeext conftest.$ac_ext
21676
 
 
21677
 
fi
21678
 
{ echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
21679
 
echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
21680
 
 
21681
 
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
21682
 
              { echo "$as_me:$LINENO: checking for dgettext in libc" >&5
21683
 
echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
21684
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then
21685
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21686
 
else
21687
 
  cat >conftest.$ac_ext <<_ACEOF
21688
 
/* confdefs.h.  */
21689
 
_ACEOF
21690
 
cat confdefs.h >>conftest.$ac_ext
21691
 
cat >>conftest.$ac_ext <<_ACEOF
21692
 
/* end confdefs.h.  */
21693
 
 
21694
 
#include <libintl.h>
21695
 
 
21696
 
int
21697
 
main ()
21698
 
{
21699
 
return !dgettext ("","")
21700
 
  ;
21701
 
  return 0;
21702
 
}
21703
 
_ACEOF
21704
 
rm -f conftest.$ac_objext conftest$ac_exeext
21705
 
if { (ac_try="$ac_link"
21706
 
case "(($ac_try" in
21707
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21708
 
  *) ac_try_echo=$ac_try;;
21709
 
esac
21710
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21711
 
  (eval "$ac_link") 2>conftest.er1
21712
 
  ac_status=$?
21713
 
  grep -v '^ *+' conftest.er1 >conftest.err
21714
 
  rm -f conftest.er1
21715
 
  cat conftest.err >&5
21716
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21717
 
  (exit $ac_status); } && {
21718
 
         test -z "$ac_c_werror_flag" ||
21719
 
         test ! -s conftest.err
21720
 
       } && test -s conftest$ac_exeext &&
21721
 
       $as_test_x conftest$ac_exeext; then
21722
 
  gt_cv_func_dgettext_libc=yes
21723
 
else
21724
 
  echo "$as_me: failed program was:" >&5
21725
 
sed 's/^/| /' conftest.$ac_ext >&5
21726
 
 
21727
 
        gt_cv_func_dgettext_libc=no
21728
 
fi
21729
 
 
21730
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21731
 
      conftest$ac_exeext conftest.$ac_ext
21732
 
 
21733
 
fi
21734
 
{ echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
21735
 
echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
21736
 
      fi
21737
 
 
21738
 
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
21739
 
 
21740
 
for ac_func in bind_textdomain_codeset
21741
 
do
21742
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21743
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
21744
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21745
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21746
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21747
 
else
21748
 
  cat >conftest.$ac_ext <<_ACEOF
21749
 
/* confdefs.h.  */
21750
 
_ACEOF
21751
 
cat confdefs.h >>conftest.$ac_ext
21752
 
cat >>conftest.$ac_ext <<_ACEOF
21753
 
/* end confdefs.h.  */
21754
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21755
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21756
 
#define $ac_func innocuous_$ac_func
21757
 
 
21758
 
/* System header to define __stub macros and hopefully few prototypes,
21759
 
    which can conflict with char $ac_func (); below.
21760
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21761
 
    <limits.h> exists even on freestanding compilers.  */
21762
 
 
21763
 
#ifdef __STDC__
21764
 
# include <limits.h>
21765
 
#else
21766
 
# include <assert.h>
21767
 
#endif
21768
 
 
21769
 
#undef $ac_func
21770
 
 
21771
 
/* Override any GCC internal prototype to avoid an error.
21772
 
   Use char because int might match the return type of a GCC
21773
 
   builtin and then its argument prototype would still apply.  */
21774
 
#ifdef __cplusplus
21775
 
extern "C"
21776
 
#endif
21777
 
char $ac_func ();
21778
 
/* The GNU C library defines this for functions which it implements
21779
 
    to always fail with ENOSYS.  Some functions are actually named
21780
 
    something starting with __ and the normal name is an alias.  */
21781
 
#if defined __stub_$ac_func || defined __stub___$ac_func
21782
 
choke me
21783
 
#endif
21784
 
 
21785
 
int
21786
 
main ()
21787
 
{
21788
 
return $ac_func ();
21789
 
  ;
21790
 
  return 0;
21791
 
}
21792
 
_ACEOF
21793
 
rm -f conftest.$ac_objext conftest$ac_exeext
21794
 
if { (ac_try="$ac_link"
21795
 
case "(($ac_try" in
21796
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21797
 
  *) ac_try_echo=$ac_try;;
21798
 
esac
21799
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21800
 
  (eval "$ac_link") 2>conftest.er1
21801
 
  ac_status=$?
21802
 
  grep -v '^ *+' conftest.er1 >conftest.err
21803
 
  rm -f conftest.er1
21804
 
  cat conftest.err >&5
21805
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21806
 
  (exit $ac_status); } && {
21807
 
         test -z "$ac_c_werror_flag" ||
21808
 
         test ! -s conftest.err
21809
 
       } && test -s conftest$ac_exeext &&
21810
 
       $as_test_x conftest$ac_exeext; then
21811
 
  eval "$as_ac_var=yes"
21812
 
else
21813
 
  echo "$as_me: failed program was:" >&5
21814
 
sed 's/^/| /' conftest.$ac_ext >&5
21815
 
 
21816
 
        eval "$as_ac_var=no"
21817
 
fi
21818
 
 
21819
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21820
 
      conftest$ac_exeext conftest.$ac_ext
21821
 
fi
21822
 
ac_res=`eval echo '${'$as_ac_var'}'`
21823
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21824
 
echo "${ECHO_T}$ac_res" >&6; }
21825
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
21826
 
  cat >>confdefs.h <<_ACEOF
21827
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21828
 
_ACEOF
21829
 
 
21830
 
fi
21831
 
done
21832
 
 
21833
 
      fi
21834
 
 
21835
 
      #
21836
 
      # If we don't have everything we want, check in libintl
21837
 
      #
21838
 
      if test "$gt_cv_func_dgettext_libc" != "yes" \
21839
 
         || test "$gt_cv_func_ngettext_libc" != "yes" \
21840
 
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
21841
 
 
21842
 
        { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
21843
 
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
21844
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
21845
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21846
 
else
21847
 
  ac_check_lib_save_LIBS=$LIBS
21848
 
LIBS="-lintl  $LIBS"
21849
 
cat >conftest.$ac_ext <<_ACEOF
21850
 
/* confdefs.h.  */
21851
 
_ACEOF
21852
 
cat confdefs.h >>conftest.$ac_ext
21853
 
cat >>conftest.$ac_ext <<_ACEOF
21854
 
/* end confdefs.h.  */
21855
 
 
21856
 
/* Override any GCC internal prototype to avoid an error.
21857
 
   Use char because int might match the return type of a GCC
21858
 
   builtin and then its argument prototype would still apply.  */
21859
 
#ifdef __cplusplus
21860
 
extern "C"
21861
 
#endif
21862
 
char bindtextdomain ();
21863
 
int
21864
 
main ()
21865
 
{
21866
 
return bindtextdomain ();
21867
 
  ;
21868
 
  return 0;
21869
 
}
21870
 
_ACEOF
21871
 
rm -f conftest.$ac_objext conftest$ac_exeext
21872
 
if { (ac_try="$ac_link"
21873
 
case "(($ac_try" in
21874
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21875
 
  *) ac_try_echo=$ac_try;;
21876
 
esac
21877
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21878
 
  (eval "$ac_link") 2>conftest.er1
21879
 
  ac_status=$?
21880
 
  grep -v '^ *+' conftest.er1 >conftest.err
21881
 
  rm -f conftest.er1
21882
 
  cat conftest.err >&5
21883
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21884
 
  (exit $ac_status); } && {
21885
 
         test -z "$ac_c_werror_flag" ||
21886
 
         test ! -s conftest.err
21887
 
       } && test -s conftest$ac_exeext &&
21888
 
       $as_test_x conftest$ac_exeext; then
21889
 
  ac_cv_lib_intl_bindtextdomain=yes
21890
 
else
21891
 
  echo "$as_me: failed program was:" >&5
21892
 
sed 's/^/| /' conftest.$ac_ext >&5
21893
 
 
21894
 
        ac_cv_lib_intl_bindtextdomain=no
21895
 
fi
21896
 
 
21897
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21898
 
      conftest$ac_exeext conftest.$ac_ext
21899
 
LIBS=$ac_check_lib_save_LIBS
21900
 
fi
21901
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
21902
 
echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
21903
 
if test $ac_cv_lib_intl_bindtextdomain = yes; then
21904
 
  { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
21905
 
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
21906
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
21907
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21908
 
else
21909
 
  ac_check_lib_save_LIBS=$LIBS
21910
 
LIBS="-lintl  $LIBS"
21911
 
cat >conftest.$ac_ext <<_ACEOF
21912
 
/* confdefs.h.  */
21913
 
_ACEOF
21914
 
cat confdefs.h >>conftest.$ac_ext
21915
 
cat >>conftest.$ac_ext <<_ACEOF
21916
 
/* end confdefs.h.  */
21917
 
 
21918
 
/* Override any GCC internal prototype to avoid an error.
21919
 
   Use char because int might match the return type of a GCC
21920
 
   builtin and then its argument prototype would still apply.  */
21921
 
#ifdef __cplusplus
21922
 
extern "C"
21923
 
#endif
21924
 
char ngettext ();
21925
 
int
21926
 
main ()
21927
 
{
21928
 
return ngettext ();
21929
 
  ;
21930
 
  return 0;
21931
 
}
21932
 
_ACEOF
21933
 
rm -f conftest.$ac_objext conftest$ac_exeext
21934
 
if { (ac_try="$ac_link"
21935
 
case "(($ac_try" in
21936
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21937
 
  *) ac_try_echo=$ac_try;;
21938
 
esac
21939
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21940
 
  (eval "$ac_link") 2>conftest.er1
21941
 
  ac_status=$?
21942
 
  grep -v '^ *+' conftest.er1 >conftest.err
21943
 
  rm -f conftest.er1
21944
 
  cat conftest.err >&5
21945
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21946
 
  (exit $ac_status); } && {
21947
 
         test -z "$ac_c_werror_flag" ||
21948
 
         test ! -s conftest.err
21949
 
       } && test -s conftest$ac_exeext &&
21950
 
       $as_test_x conftest$ac_exeext; then
21951
 
  ac_cv_lib_intl_ngettext=yes
21952
 
else
21953
 
  echo "$as_me: failed program was:" >&5
21954
 
sed 's/^/| /' conftest.$ac_ext >&5
21955
 
 
21956
 
        ac_cv_lib_intl_ngettext=no
21957
 
fi
21958
 
 
21959
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21960
 
      conftest$ac_exeext conftest.$ac_ext
21961
 
LIBS=$ac_check_lib_save_LIBS
21962
 
fi
21963
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
21964
 
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
21965
 
if test $ac_cv_lib_intl_ngettext = yes; then
21966
 
  { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
21967
 
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
21968
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
21969
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21970
 
else
21971
 
  ac_check_lib_save_LIBS=$LIBS
21972
 
LIBS="-lintl  $LIBS"
21973
 
cat >conftest.$ac_ext <<_ACEOF
21974
 
/* confdefs.h.  */
21975
 
_ACEOF
21976
 
cat confdefs.h >>conftest.$ac_ext
21977
 
cat >>conftest.$ac_ext <<_ACEOF
21978
 
/* end confdefs.h.  */
21979
 
 
21980
 
/* Override any GCC internal prototype to avoid an error.
21981
 
   Use char because int might match the return type of a GCC
21982
 
   builtin and then its argument prototype would still apply.  */
21983
 
#ifdef __cplusplus
21984
 
extern "C"
21985
 
#endif
21986
 
char dgettext ();
21987
 
int
21988
 
main ()
21989
 
{
21990
 
return dgettext ();
21991
 
  ;
21992
 
  return 0;
21993
 
}
21994
 
_ACEOF
21995
 
rm -f conftest.$ac_objext conftest$ac_exeext
21996
 
if { (ac_try="$ac_link"
21997
 
case "(($ac_try" in
21998
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21999
 
  *) ac_try_echo=$ac_try;;
22000
 
esac
22001
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22002
 
  (eval "$ac_link") 2>conftest.er1
22003
 
  ac_status=$?
22004
 
  grep -v '^ *+' conftest.er1 >conftest.err
22005
 
  rm -f conftest.er1
22006
 
  cat conftest.err >&5
22007
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22008
 
  (exit $ac_status); } && {
22009
 
         test -z "$ac_c_werror_flag" ||
22010
 
         test ! -s conftest.err
22011
 
       } && test -s conftest$ac_exeext &&
22012
 
       $as_test_x conftest$ac_exeext; then
22013
 
  ac_cv_lib_intl_dgettext=yes
22014
 
else
22015
 
  echo "$as_me: failed program was:" >&5
22016
 
sed 's/^/| /' conftest.$ac_ext >&5
22017
 
 
22018
 
        ac_cv_lib_intl_dgettext=no
22019
 
fi
22020
 
 
22021
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22022
 
      conftest$ac_exeext conftest.$ac_ext
22023
 
LIBS=$ac_check_lib_save_LIBS
22024
 
fi
22025
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
22026
 
echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
22027
 
if test $ac_cv_lib_intl_dgettext = yes; then
22028
 
  gt_cv_func_dgettext_libintl=yes
22029
 
fi
22030
 
 
22031
 
fi
22032
 
 
22033
 
fi
22034
 
 
22035
 
 
22036
 
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
22037
 
          { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
22038
 
echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
22039
 
          { echo "$as_me:$LINENO: result: " >&5
22040
 
echo "${ECHO_T}" >&6; }
22041
 
          { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
22042
 
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
22043
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
22044
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22045
 
else
22046
 
  ac_check_lib_save_LIBS=$LIBS
22047
 
LIBS="-lintl -liconv $LIBS"
22048
 
cat >conftest.$ac_ext <<_ACEOF
22049
 
/* confdefs.h.  */
22050
 
_ACEOF
22051
 
cat confdefs.h >>conftest.$ac_ext
22052
 
cat >>conftest.$ac_ext <<_ACEOF
22053
 
/* end confdefs.h.  */
22054
 
 
22055
 
/* Override any GCC internal prototype to avoid an error.
22056
 
   Use char because int might match the return type of a GCC
22057
 
   builtin and then its argument prototype would still apply.  */
22058
 
#ifdef __cplusplus
22059
 
extern "C"
22060
 
#endif
22061
 
char ngettext ();
22062
 
int
22063
 
main ()
22064
 
{
22065
 
return ngettext ();
22066
 
  ;
22067
 
  return 0;
22068
 
}
22069
 
_ACEOF
22070
 
rm -f conftest.$ac_objext conftest$ac_exeext
22071
 
if { (ac_try="$ac_link"
22072
 
case "(($ac_try" in
22073
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22074
 
  *) ac_try_echo=$ac_try;;
22075
 
esac
22076
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22077
 
  (eval "$ac_link") 2>conftest.er1
22078
 
  ac_status=$?
22079
 
  grep -v '^ *+' conftest.er1 >conftest.err
22080
 
  rm -f conftest.er1
22081
 
  cat conftest.err >&5
22082
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22083
 
  (exit $ac_status); } && {
22084
 
         test -z "$ac_c_werror_flag" ||
22085
 
         test ! -s conftest.err
22086
 
       } && test -s conftest$ac_exeext &&
22087
 
       $as_test_x conftest$ac_exeext; then
22088
 
  ac_cv_lib_intl_ngettext=yes
22089
 
else
22090
 
  echo "$as_me: failed program was:" >&5
22091
 
sed 's/^/| /' conftest.$ac_ext >&5
22092
 
 
22093
 
        ac_cv_lib_intl_ngettext=no
22094
 
fi
22095
 
 
22096
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22097
 
      conftest$ac_exeext conftest.$ac_ext
22098
 
LIBS=$ac_check_lib_save_LIBS
22099
 
fi
22100
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
22101
 
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
22102
 
if test $ac_cv_lib_intl_ngettext = yes; then
22103
 
  { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
22104
 
echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
22105
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
22106
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22107
 
else
22108
 
  ac_check_lib_save_LIBS=$LIBS
22109
 
LIBS="-lintl -liconv $LIBS"
22110
 
cat >conftest.$ac_ext <<_ACEOF
22111
 
/* confdefs.h.  */
22112
 
_ACEOF
22113
 
cat confdefs.h >>conftest.$ac_ext
22114
 
cat >>conftest.$ac_ext <<_ACEOF
22115
 
/* end confdefs.h.  */
22116
 
 
22117
 
/* Override any GCC internal prototype to avoid an error.
22118
 
   Use char because int might match the return type of a GCC
22119
 
   builtin and then its argument prototype would still apply.  */
22120
 
#ifdef __cplusplus
22121
 
extern "C"
22122
 
#endif
22123
 
char dcgettext ();
22124
 
int
22125
 
main ()
22126
 
{
22127
 
return dcgettext ();
22128
 
  ;
22129
 
  return 0;
22130
 
}
22131
 
_ACEOF
22132
 
rm -f conftest.$ac_objext conftest$ac_exeext
22133
 
if { (ac_try="$ac_link"
22134
 
case "(($ac_try" in
22135
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22136
 
  *) ac_try_echo=$ac_try;;
22137
 
esac
22138
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22139
 
  (eval "$ac_link") 2>conftest.er1
22140
 
  ac_status=$?
22141
 
  grep -v '^ *+' conftest.er1 >conftest.err
22142
 
  rm -f conftest.er1
22143
 
  cat conftest.err >&5
22144
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22145
 
  (exit $ac_status); } && {
22146
 
         test -z "$ac_c_werror_flag" ||
22147
 
         test ! -s conftest.err
22148
 
       } && test -s conftest$ac_exeext &&
22149
 
       $as_test_x conftest$ac_exeext; then
22150
 
  ac_cv_lib_intl_dcgettext=yes
22151
 
else
22152
 
  echo "$as_me: failed program was:" >&5
22153
 
sed 's/^/| /' conftest.$ac_ext >&5
22154
 
 
22155
 
        ac_cv_lib_intl_dcgettext=no
22156
 
fi
22157
 
 
22158
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22159
 
      conftest$ac_exeext conftest.$ac_ext
22160
 
LIBS=$ac_check_lib_save_LIBS
22161
 
fi
22162
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
22163
 
echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
22164
 
if test $ac_cv_lib_intl_dcgettext = yes; then
22165
 
  gt_cv_func_dgettext_libintl=yes
22166
 
                        libintl_extra_libs=-liconv
22167
 
else
22168
 
  :
22169
 
fi
22170
 
 
22171
 
else
22172
 
  :
22173
 
fi
22174
 
 
22175
 
        fi
22176
 
 
22177
 
        #
22178
 
        # If we found libintl, then check in it for bind_textdomain_codeset();
22179
 
        # we'll prefer libc if neither have bind_textdomain_codeset(),
22180
 
        # and both have dgettext and ngettext
22181
 
        #
22182
 
        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
22183
 
          glib_save_LIBS="$LIBS"
22184
 
          LIBS="$LIBS -lintl $libintl_extra_libs"
22185
 
          unset ac_cv_func_bind_textdomain_codeset
22186
 
 
22187
 
for ac_func in bind_textdomain_codeset
22188
 
do
22189
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22190
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
22191
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22192
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22193
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22194
 
else
22195
 
  cat >conftest.$ac_ext <<_ACEOF
22196
 
/* confdefs.h.  */
22197
 
_ACEOF
22198
 
cat confdefs.h >>conftest.$ac_ext
22199
 
cat >>conftest.$ac_ext <<_ACEOF
22200
 
/* end confdefs.h.  */
22201
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22202
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22203
 
#define $ac_func innocuous_$ac_func
22204
 
 
22205
 
/* System header to define __stub macros and hopefully few prototypes,
22206
 
    which can conflict with char $ac_func (); below.
22207
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22208
 
    <limits.h> exists even on freestanding compilers.  */
22209
 
 
22210
 
#ifdef __STDC__
22211
 
# include <limits.h>
22212
 
#else
22213
 
# include <assert.h>
22214
 
#endif
22215
 
 
22216
 
#undef $ac_func
22217
 
 
22218
 
/* Override any GCC internal prototype to avoid an error.
22219
 
   Use char because int might match the return type of a GCC
22220
 
   builtin and then its argument prototype would still apply.  */
22221
 
#ifdef __cplusplus
22222
 
extern "C"
22223
 
#endif
22224
 
char $ac_func ();
22225
 
/* The GNU C library defines this for functions which it implements
22226
 
    to always fail with ENOSYS.  Some functions are actually named
22227
 
    something starting with __ and the normal name is an alias.  */
22228
 
#if defined __stub_$ac_func || defined __stub___$ac_func
22229
 
choke me
22230
 
#endif
22231
 
 
22232
 
int
22233
 
main ()
22234
 
{
22235
 
return $ac_func ();
22236
 
  ;
22237
 
  return 0;
22238
 
}
22239
 
_ACEOF
22240
 
rm -f conftest.$ac_objext conftest$ac_exeext
22241
 
if { (ac_try="$ac_link"
22242
 
case "(($ac_try" in
22243
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22244
 
  *) ac_try_echo=$ac_try;;
22245
 
esac
22246
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22247
 
  (eval "$ac_link") 2>conftest.er1
22248
 
  ac_status=$?
22249
 
  grep -v '^ *+' conftest.er1 >conftest.err
22250
 
  rm -f conftest.er1
22251
 
  cat conftest.err >&5
22252
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22253
 
  (exit $ac_status); } && {
22254
 
         test -z "$ac_c_werror_flag" ||
22255
 
         test ! -s conftest.err
22256
 
       } && test -s conftest$ac_exeext &&
22257
 
       $as_test_x conftest$ac_exeext; then
22258
 
  eval "$as_ac_var=yes"
22259
 
else
22260
 
  echo "$as_me: failed program was:" >&5
22261
 
sed 's/^/| /' conftest.$ac_ext >&5
22262
 
 
22263
 
        eval "$as_ac_var=no"
22264
 
fi
22265
 
 
22266
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22267
 
      conftest$ac_exeext conftest.$ac_ext
22268
 
fi
22269
 
ac_res=`eval echo '${'$as_ac_var'}'`
22270
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
22271
 
echo "${ECHO_T}$ac_res" >&6; }
22272
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
22273
 
  cat >>confdefs.h <<_ACEOF
22274
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22275
 
_ACEOF
22276
 
 
22277
 
fi
22278
 
done
22279
 
 
22280
 
          LIBS="$glib_save_LIBS"
22281
 
 
22282
 
          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
22283
 
            gt_cv_func_dgettext_libc=no
22284
 
          else
22285
 
            if test "$gt_cv_func_dgettext_libc" = "yes" \
22286
 
                && test "$gt_cv_func_ngettext_libc" = "yes"; then
22287
 
              gt_cv_func_dgettext_libintl=no
22288
 
            fi
22289
 
          fi
22290
 
        fi
22291
 
      fi
22292
 
 
22293
 
      if test "$gt_cv_func_dgettext_libc" = "yes" \
22294
 
        || test "$gt_cv_func_dgettext_libintl" = "yes"; then
22295
 
        gt_cv_have_gettext=yes
22296
 
      fi
22297
 
 
22298
 
      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
22299
 
        INTLLIBS="-lintl $libintl_extra_libs"
22300
 
      fi
22301
 
 
22302
 
      if test "$gt_cv_have_gettext" = "yes"; then
22303
 
 
22304
 
cat >>confdefs.h <<\_ACEOF
22305
 
#define HAVE_GETTEXT 1
22306
 
_ACEOF
22307
 
 
22308
 
        # Extract the first word of "msgfmt", so it can be a program name with args.
22309
 
set dummy msgfmt; ac_word=$2
22310
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22311
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22312
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
22313
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22314
 
else
22315
 
  case "$MSGFMT" in
22316
 
  /*)
22317
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
22318
 
  ;;
22319
 
  *)
22320
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
22321
 
  for ac_dir in $PATH; do
22322
 
    test -z "$ac_dir" && ac_dir=.
22323
 
    if test -f $ac_dir/$ac_word; then
22324
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
22325
 
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
22326
 
        break
22327
 
      fi
22328
 
    fi
22329
 
  done
22330
 
  IFS="$ac_save_ifs"
22331
 
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
22332
 
  ;;
22333
 
esac
22334
 
fi
22335
 
MSGFMT="$ac_cv_path_MSGFMT"
22336
 
if test "$MSGFMT" != "no"; then
22337
 
  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
22338
 
echo "${ECHO_T}$MSGFMT" >&6; }
22339
 
else
22340
 
  { echo "$as_me:$LINENO: result: no" >&5
22341
 
echo "${ECHO_T}no" >&6; }
22342
 
fi
22343
 
        if test "$MSGFMT" != "no"; then
22344
 
          glib_save_LIBS="$LIBS"
22345
 
          LIBS="$LIBS $INTLLIBS"
22346
 
 
22347
 
for ac_func in dcgettext
22348
 
do
22349
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22350
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
22351
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22352
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22353
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22354
 
else
22355
 
  cat >conftest.$ac_ext <<_ACEOF
22356
 
/* confdefs.h.  */
22357
 
_ACEOF
22358
 
cat confdefs.h >>conftest.$ac_ext
22359
 
cat >>conftest.$ac_ext <<_ACEOF
22360
 
/* end confdefs.h.  */
22361
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22362
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22363
 
#define $ac_func innocuous_$ac_func
22364
 
 
22365
 
/* System header to define __stub macros and hopefully few prototypes,
22366
 
    which can conflict with char $ac_func (); below.
22367
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22368
 
    <limits.h> exists even on freestanding compilers.  */
22369
 
 
22370
 
#ifdef __STDC__
22371
 
# include <limits.h>
22372
 
#else
22373
 
# include <assert.h>
22374
 
#endif
22375
 
 
22376
 
#undef $ac_func
22377
 
 
22378
 
/* Override any GCC internal prototype to avoid an error.
22379
 
   Use char because int might match the return type of a GCC
22380
 
   builtin and then its argument prototype would still apply.  */
22381
 
#ifdef __cplusplus
22382
 
extern "C"
22383
 
#endif
22384
 
char $ac_func ();
22385
 
/* The GNU C library defines this for functions which it implements
22386
 
    to always fail with ENOSYS.  Some functions are actually named
22387
 
    something starting with __ and the normal name is an alias.  */
22388
 
#if defined __stub_$ac_func || defined __stub___$ac_func
22389
 
choke me
22390
 
#endif
22391
 
 
22392
 
int
22393
 
main ()
22394
 
{
22395
 
return $ac_func ();
22396
 
  ;
22397
 
  return 0;
22398
 
}
22399
 
_ACEOF
22400
 
rm -f conftest.$ac_objext conftest$ac_exeext
22401
 
if { (ac_try="$ac_link"
22402
 
case "(($ac_try" in
22403
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22404
 
  *) ac_try_echo=$ac_try;;
22405
 
esac
22406
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22407
 
  (eval "$ac_link") 2>conftest.er1
22408
 
  ac_status=$?
22409
 
  grep -v '^ *+' conftest.er1 >conftest.err
22410
 
  rm -f conftest.er1
22411
 
  cat conftest.err >&5
22412
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22413
 
  (exit $ac_status); } && {
22414
 
         test -z "$ac_c_werror_flag" ||
22415
 
         test ! -s conftest.err
22416
 
       } && test -s conftest$ac_exeext &&
22417
 
       $as_test_x conftest$ac_exeext; then
22418
 
  eval "$as_ac_var=yes"
22419
 
else
22420
 
  echo "$as_me: failed program was:" >&5
22421
 
sed 's/^/| /' conftest.$ac_ext >&5
22422
 
 
22423
 
        eval "$as_ac_var=no"
22424
 
fi
22425
 
 
22426
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22427
 
      conftest$ac_exeext conftest.$ac_ext
22428
 
fi
22429
 
ac_res=`eval echo '${'$as_ac_var'}'`
22430
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
22431
 
echo "${ECHO_T}$ac_res" >&6; }
22432
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
22433
 
  cat >>confdefs.h <<_ACEOF
22434
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22435
 
_ACEOF
22436
 
 
22437
 
fi
22438
 
done
22439
 
 
22440
 
          MSGFMT_OPTS=
22441
 
          { echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
22442
 
echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
22443
 
          cat >conftest.foo <<_ACEOF
22444
 
 
22445
 
msgid ""
22446
 
msgstr ""
22447
 
"Content-Type: text/plain; charset=UTF-8\n"
22448
 
"Project-Id-Version: test 1.0\n"
22449
 
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
22450
 
"Last-Translator: test <foo@bar.xx>\n"
22451
 
"Language-Team: C <LL@li.org>\n"
22452
 
"MIME-Version: 1.0\n"
22453
 
"Content-Transfer-Encoding: 8bit\n"
22454
 
 
22455
 
_ACEOF
22456
 
if { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
22457
 
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
22458
 
  ac_status=$?
22459
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22460
 
  (exit $ac_status); }; then
22461
 
  MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
22462
 
echo "${ECHO_T}yes" >&6; }
22463
 
else { echo "$as_me:$LINENO: result: no" >&5
22464
 
echo "${ECHO_T}no" >&6; }
22465
 
echo "$as_me: failed input was:" >&5
22466
 
sed 's/^/| /' conftest.foo >&5
22467
 
fi
22468
 
 
22469
 
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
22470
 
set dummy gmsgfmt; ac_word=$2
22471
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22472
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22473
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
22474
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22475
 
else
22476
 
  case $GMSGFMT in
22477
 
  [\\/]* | ?:[\\/]*)
22478
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
22479
 
  ;;
22480
 
  *)
22481
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22482
 
for as_dir in $PATH
22483
 
do
22484
 
  IFS=$as_save_IFS
22485
 
  test -z "$as_dir" && as_dir=.
22486
 
  for ac_exec_ext in '' $ac_executable_extensions; do
22487
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22488
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
22489
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22490
 
    break 2
22491
 
  fi
22492
 
done
22493
 
done
22494
 
IFS=$as_save_IFS
22495
 
 
22496
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
22497
 
  ;;
22498
 
esac
22499
 
fi
22500
 
GMSGFMT=$ac_cv_path_GMSGFMT
22501
 
if test -n "$GMSGFMT"; then
22502
 
  { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
22503
 
echo "${ECHO_T}$GMSGFMT" >&6; }
22504
 
else
22505
 
  { echo "$as_me:$LINENO: result: no" >&5
22506
 
echo "${ECHO_T}no" >&6; }
22507
 
fi
22508
 
 
22509
 
 
22510
 
          # Extract the first word of "xgettext", so it can be a program name with args.
22511
 
set dummy xgettext; ac_word=$2
22512
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22513
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22514
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
22515
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22516
 
else
22517
 
  case "$XGETTEXT" in
22518
 
  /*)
22519
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
22520
 
  ;;
22521
 
  *)
22522
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
22523
 
  for ac_dir in $PATH; do
22524
 
    test -z "$ac_dir" && ac_dir=.
22525
 
    if test -f $ac_dir/$ac_word; then
22526
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
22527
 
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
22528
 
        break
22529
 
      fi
22530
 
    fi
22531
 
  done
22532
 
  IFS="$ac_save_ifs"
22533
 
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
22534
 
  ;;
22535
 
esac
22536
 
fi
22537
 
XGETTEXT="$ac_cv_path_XGETTEXT"
22538
 
if test "$XGETTEXT" != ":"; then
22539
 
  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
22540
 
echo "${ECHO_T}$XGETTEXT" >&6; }
22541
 
else
22542
 
  { echo "$as_me:$LINENO: result: no" >&5
22543
 
echo "${ECHO_T}no" >&6; }
22544
 
fi
22545
 
 
22546
 
          cat >conftest.$ac_ext <<_ACEOF
22547
 
/* confdefs.h.  */
22548
 
_ACEOF
22549
 
cat confdefs.h >>conftest.$ac_ext
22550
 
cat >>conftest.$ac_ext <<_ACEOF
22551
 
/* end confdefs.h.  */
22552
 
 
22553
 
int
22554
 
main ()
22555
 
{
22556
 
extern int _nl_msg_cat_cntr;
22557
 
                         return _nl_msg_cat_cntr
22558
 
  ;
22559
 
  return 0;
22560
 
}
22561
 
_ACEOF
22562
 
rm -f conftest.$ac_objext conftest$ac_exeext
22563
 
if { (ac_try="$ac_link"
22564
 
case "(($ac_try" in
22565
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22566
 
  *) ac_try_echo=$ac_try;;
22567
 
esac
22568
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22569
 
  (eval "$ac_link") 2>conftest.er1
22570
 
  ac_status=$?
22571
 
  grep -v '^ *+' conftest.er1 >conftest.err
22572
 
  rm -f conftest.er1
22573
 
  cat conftest.err >&5
22574
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575
 
  (exit $ac_status); } && {
22576
 
         test -z "$ac_c_werror_flag" ||
22577
 
         test ! -s conftest.err
22578
 
       } && test -s conftest$ac_exeext &&
22579
 
       $as_test_x conftest$ac_exeext; then
22580
 
  CATOBJEXT=.gmo
22581
 
             DATADIRNAME=share
22582
 
else
22583
 
  echo "$as_me: failed program was:" >&5
22584
 
sed 's/^/| /' conftest.$ac_ext >&5
22585
 
 
22586
 
        case $host in
22587
 
            *-*-solaris*)
22588
 
                                                                { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
22589
 
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
22590
 
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
22591
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22592
 
else
22593
 
  cat >conftest.$ac_ext <<_ACEOF
22594
 
/* confdefs.h.  */
22595
 
_ACEOF
22596
 
cat confdefs.h >>conftest.$ac_ext
22597
 
cat >>conftest.$ac_ext <<_ACEOF
22598
 
/* end confdefs.h.  */
22599
 
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
22600
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22601
 
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
22602
 
 
22603
 
/* System header to define __stub macros and hopefully few prototypes,
22604
 
    which can conflict with char bind_textdomain_codeset (); below.
22605
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22606
 
    <limits.h> exists even on freestanding compilers.  */
22607
 
 
22608
 
#ifdef __STDC__
22609
 
# include <limits.h>
22610
 
#else
22611
 
# include <assert.h>
22612
 
#endif
22613
 
 
22614
 
#undef bind_textdomain_codeset
22615
 
 
22616
 
/* Override any GCC internal prototype to avoid an error.
22617
 
   Use char because int might match the return type of a GCC
22618
 
   builtin and then its argument prototype would still apply.  */
22619
 
#ifdef __cplusplus
22620
 
extern "C"
22621
 
#endif
22622
 
char bind_textdomain_codeset ();
22623
 
/* The GNU C library defines this for functions which it implements
22624
 
    to always fail with ENOSYS.  Some functions are actually named
22625
 
    something starting with __ and the normal name is an alias.  */
22626
 
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
22627
 
choke me
22628
 
#endif
22629
 
 
22630
 
int
22631
 
main ()
22632
 
{
22633
 
return bind_textdomain_codeset ();
22634
 
  ;
22635
 
  return 0;
22636
 
}
22637
 
_ACEOF
22638
 
rm -f conftest.$ac_objext conftest$ac_exeext
22639
 
if { (ac_try="$ac_link"
22640
 
case "(($ac_try" in
22641
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22642
 
  *) ac_try_echo=$ac_try;;
22643
 
esac
22644
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22645
 
  (eval "$ac_link") 2>conftest.er1
22646
 
  ac_status=$?
22647
 
  grep -v '^ *+' conftest.er1 >conftest.err
22648
 
  rm -f conftest.er1
22649
 
  cat conftest.err >&5
22650
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22651
 
  (exit $ac_status); } && {
22652
 
         test -z "$ac_c_werror_flag" ||
22653
 
         test ! -s conftest.err
22654
 
       } && test -s conftest$ac_exeext &&
22655
 
       $as_test_x conftest$ac_exeext; then
22656
 
  ac_cv_func_bind_textdomain_codeset=yes
22657
 
else
22658
 
  echo "$as_me: failed program was:" >&5
22659
 
sed 's/^/| /' conftest.$ac_ext >&5
22660
 
 
22661
 
        ac_cv_func_bind_textdomain_codeset=no
22662
 
fi
22663
 
 
22664
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22665
 
      conftest$ac_exeext conftest.$ac_ext
22666
 
fi
22667
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
22668
 
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
22669
 
if test $ac_cv_func_bind_textdomain_codeset = yes; then
22670
 
  CATOBJEXT=.gmo
22671
 
               DATADIRNAME=share
22672
 
else
22673
 
  CATOBJEXT=.mo
22674
 
               DATADIRNAME=lib
22675
 
fi
22676
 
 
22677
 
            ;;
22678
 
            *)
22679
 
            CATOBJEXT=.mo
22680
 
            DATADIRNAME=lib
22681
 
            ;;
22682
 
            esac
22683
 
fi
22684
 
 
22685
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22686
 
      conftest$ac_exeext conftest.$ac_ext
22687
 
          LIBS="$glib_save_LIBS"
22688
 
          INSTOBJEXT=.mo
22689
 
        else
22690
 
          gt_cv_have_gettext=no
22691
 
        fi
22692
 
      fi
22693
 
 
22694
 
fi
22695
 
 
22696
 
 
22697
 
 
22698
 
    if test "$gt_cv_have_gettext" = "yes" ; then
22699
 
 
22700
 
cat >>confdefs.h <<\_ACEOF
22701
 
#define ENABLE_NLS 1
22702
 
_ACEOF
22703
 
 
22704
 
    fi
22705
 
 
22706
 
        if test "$XGETTEXT" != ":"; then
22707
 
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
22708
 
        : ;
22709
 
      else
22710
 
        { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
22711
 
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
22712
 
        XGETTEXT=":"
22713
 
      fi
22714
 
    fi
22715
 
 
22716
 
    # We need to process the po/ directory.
22717
 
    POSUB=po
22718
 
 
22719
 
    ac_config_commands="$ac_config_commands default-1"
22720
 
 
22721
 
 
22722
 
                for lang in $ALL_LINGUAS; do
22723
 
      GMOFILES="$GMOFILES $lang.gmo"
22724
 
      POFILES="$POFILES $lang.po"
22725
 
    done
22726
 
 
22727
 
 
22728
 
 
22729
 
 
22730
 
 
22731
 
 
22732
 
 
22733
 
 
22734
 
 
22735
 
 
22736
 
 
22737
 
 
22738
 
 
22739
 
   if test "$gt_cv_have_gettext" = "yes"; then
22740
 
     if test "x$ALL_LINGUAS" = "x"; then
22741
 
       LINGUAS=
22742
 
     else
22743
 
       { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
22744
 
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
22745
 
       NEW_LINGUAS=
22746
 
       for presentlang in $ALL_LINGUAS; do
22747
 
         useit=no
22748
 
         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
22749
 
           desiredlanguages="$LINGUAS"
22750
 
         else
22751
 
           desiredlanguages="$ALL_LINGUAS"
22752
 
         fi
22753
 
         for desiredlang in $desiredlanguages; do
22754
 
           # Use the presentlang catalog if desiredlang is
22755
 
           #   a. equal to presentlang, or
22756
 
           #   b. a variant of presentlang (because in this case,
22757
 
           #      presentlang can be used as a fallback for messages
22758
 
           #      which are not translated in the desiredlang catalog).
22759
 
           case "$desiredlang" in
22760
 
             "$presentlang"*) useit=yes;;
22761
 
           esac
22762
 
         done
22763
 
         if test $useit = yes; then
22764
 
           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
22765
 
         fi
22766
 
       done
22767
 
       LINGUAS=$NEW_LINGUAS
22768
 
       { echo "$as_me:$LINENO: result: $LINGUAS" >&5
22769
 
echo "${ECHO_T}$LINGUAS" >&6; }
22770
 
     fi
22771
 
 
22772
 
          if test -n "$LINGUAS"; then
22773
 
       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
22774
 
     fi
22775
 
   fi
22776
 
 
22777
 
            MKINSTALLDIRS=
22778
 
   if test -n "$ac_aux_dir"; then
22779
 
     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
22780
 
   fi
22781
 
   if test -z "$MKINSTALLDIRS"; then
22782
 
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
22783
 
   fi
22784
 
 
22785
 
 
22786
 
         test -d po || mkdir po
22787
 
   if test "x$srcdir" != "x."; then
22788
 
     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
22789
 
       posrcprefix="$srcdir/"
22790
 
     else
22791
 
       posrcprefix="../$srcdir/"
22792
 
     fi
22793
 
   else
22794
 
     posrcprefix="../"
22795
 
   fi
22796
 
   rm -f po/POTFILES
22797
 
   sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
22798
 
        < $srcdir/po/POTFILES.in > po/POTFILES
22799
 
 
22800
 
GETTEXT_PACKAGE=gnomeradio
22801
 
 
22802
 
 
22803
 
cat >>confdefs.h <<_ACEOF
22804
 
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
22805
 
_ACEOF
22806
 
 
22807
 
 
22808
 
 
22809
 
 
22810
 
 
22811
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
22812
 
        if test -n "$ac_tool_prefix"; then
22813
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22814
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
22815
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22816
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22817
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22818
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22819
 
else
22820
 
  case $PKG_CONFIG in
22821
 
  [\\/]* | ?:[\\/]*)
22822
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22823
 
  ;;
22824
 
  *)
22825
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22826
 
for as_dir in $PATH
22827
 
do
22828
 
  IFS=$as_save_IFS
22829
 
  test -z "$as_dir" && as_dir=.
22830
 
  for ac_exec_ext in '' $ac_executable_extensions; do
22831
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22832
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22833
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22834
 
    break 2
22835
 
  fi
22836
 
done
22837
 
done
22838
 
IFS=$as_save_IFS
22839
 
 
22840
 
  ;;
22841
 
esac
22842
 
fi
22843
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22844
 
if test -n "$PKG_CONFIG"; then
22845
 
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22846
 
echo "${ECHO_T}$PKG_CONFIG" >&6; }
22847
 
else
22848
 
  { echo "$as_me:$LINENO: result: no" >&5
22849
 
echo "${ECHO_T}no" >&6; }
22850
 
fi
22851
 
 
22852
 
 
22853
 
fi
22854
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
22855
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
22856
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
22857
 
set dummy pkg-config; ac_word=$2
22858
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22859
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22860
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
22861
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22862
 
else
22863
 
  case $ac_pt_PKG_CONFIG in
22864
 
  [\\/]* | ?:[\\/]*)
22865
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22866
 
  ;;
22867
 
  *)
22868
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22869
 
for as_dir in $PATH
22870
 
do
22871
 
  IFS=$as_save_IFS
22872
 
  test -z "$as_dir" && as_dir=.
22873
 
  for ac_exec_ext in '' $ac_executable_extensions; do
22874
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22875
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22876
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22877
 
    break 2
22878
 
  fi
22879
 
done
22880
 
done
22881
 
IFS=$as_save_IFS
22882
 
 
22883
 
  ;;
22884
 
esac
22885
 
fi
22886
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
22887
 
if test -n "$ac_pt_PKG_CONFIG"; then
22888
 
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
22889
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
22890
 
else
22891
 
  { echo "$as_me:$LINENO: result: no" >&5
22892
 
echo "${ECHO_T}no" >&6; }
22893
 
fi
22894
 
 
22895
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
22896
 
    PKG_CONFIG=""
22897
 
  else
22898
 
    case $cross_compiling:$ac_tool_warned in
22899
 
yes:)
22900
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
22901
 
whose name does not start with the host triplet.  If you think this
22902
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
22903
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
22904
 
whose name does not start with the host triplet.  If you think this
22905
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
22906
 
ac_tool_warned=yes ;;
22907
 
esac
22908
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
22909
 
  fi
22910
 
else
22911
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
22912
 
fi
22913
 
 
22914
 
fi
22915
 
if test -n "$PKG_CONFIG"; then
22916
 
        _pkg_min_version=0.9.0
22917
 
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
22918
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
22919
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
22920
 
                { echo "$as_me:$LINENO: result: yes" >&5
22921
 
echo "${ECHO_T}yes" >&6; }
22922
 
        else
22923
 
                { echo "$as_me:$LINENO: result: no" >&5
22924
 
echo "${ECHO_T}no" >&6; }
22925
 
                PKG_CONFIG=""
22926
 
        fi
22927
 
 
22928
 
fi
22929
 
 
22930
 
pkg_failed=no
22931
 
{ echo "$as_me:$LINENO: checking for GNOME" >&5
22932
 
echo $ECHO_N "checking for GNOME... $ECHO_C" >&6; }
22933
 
 
22934
 
if test -n "$PKG_CONFIG"; then
22935
 
    if test -n "$GNOME_CFLAGS"; then
22936
 
        pkg_cv_GNOME_CFLAGS="$GNOME_CFLAGS"
22937
 
    else
22938
 
        if test -n "$PKG_CONFIG" && \
22939
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0 >= 2.12 gconf-2.0 >= 2.12 gnome-vfs-2.0 >= 2.12 gnome-media-profiles >= 2.12\"") >&5
22940
 
  ($PKG_CONFIG --exists --print-errors "libgnomeui-2.0 >= 2.12 gconf-2.0 >= 2.12 gnome-vfs-2.0 >= 2.12 gnome-media-profiles >= 2.12") 2>&5
22941
 
  ac_status=$?
22942
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943
 
  (exit $ac_status); }; then
22944
 
  pkg_cv_GNOME_CFLAGS=`$PKG_CONFIG --cflags "libgnomeui-2.0 >= 2.12 gconf-2.0 >= 2.12 gnome-vfs-2.0 >= 2.12 gnome-media-profiles >= 2.12" 2>/dev/null`
22945
 
else
22946
 
  pkg_failed=yes
22947
 
fi
22948
 
    fi
22949
 
else
22950
 
        pkg_failed=untried
22951
 
fi
22952
 
if test -n "$PKG_CONFIG"; then
22953
 
    if test -n "$GNOME_LIBS"; then
22954
 
        pkg_cv_GNOME_LIBS="$GNOME_LIBS"
22955
 
    else
22956
 
        if test -n "$PKG_CONFIG" && \
22957
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0 >= 2.12 gconf-2.0 >= 2.12 gnome-vfs-2.0 >= 2.12 gnome-media-profiles >= 2.12\"") >&5
22958
 
  ($PKG_CONFIG --exists --print-errors "libgnomeui-2.0 >= 2.12 gconf-2.0 >= 2.12 gnome-vfs-2.0 >= 2.12 gnome-media-profiles >= 2.12") 2>&5
22959
 
  ac_status=$?
22960
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22961
 
  (exit $ac_status); }; then
22962
 
  pkg_cv_GNOME_LIBS=`$PKG_CONFIG --libs "libgnomeui-2.0 >= 2.12 gconf-2.0 >= 2.12 gnome-vfs-2.0 >= 2.12 gnome-media-profiles >= 2.12" 2>/dev/null`
22963
 
else
22964
 
  pkg_failed=yes
22965
 
fi
22966
 
    fi
22967
 
else
22968
 
        pkg_failed=untried
22969
 
fi
22970
 
 
22971
 
 
22972
 
 
22973
 
if test $pkg_failed = yes; then
22974
 
 
22975
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22976
 
        _pkg_short_errors_supported=yes
22977
 
else
22978
 
        _pkg_short_errors_supported=no
22979
 
fi
22980
 
        if test $_pkg_short_errors_supported = yes; then
22981
 
                GNOME_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeui-2.0 >= 2.12 gconf-2.0 >= 2.12 gnome-vfs-2.0 >= 2.12 gnome-media-profiles >= 2.12"`
22982
 
        else
22983
 
                GNOME_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeui-2.0 >= 2.12 gconf-2.0 >= 2.12 gnome-vfs-2.0 >= 2.12 gnome-media-profiles >= 2.12"`
22984
 
        fi
22985
 
        # Put the nasty error message in config.log where it belongs
22986
 
        echo "$GNOME_PKG_ERRORS" >&5
22987
 
 
22988
 
        { { echo "$as_me:$LINENO: error: Package requirements (libgnomeui-2.0 >= 2.12 gconf-2.0 >= 2.12 gnome-vfs-2.0 >= 2.12 gnome-media-profiles >= 2.12) were not met:
22989
 
 
22990
 
$GNOME_PKG_ERRORS
22991
 
 
22992
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
22993
 
installed software in a non-standard prefix.
22994
 
 
22995
 
Alternatively, you may set the environment variables GNOME_CFLAGS
22996
 
and GNOME_LIBS to avoid the need to call pkg-config.
22997
 
See the pkg-config man page for more details.
22998
 
" >&5
22999
 
echo "$as_me: error: Package requirements (libgnomeui-2.0 >= 2.12 gconf-2.0 >= 2.12 gnome-vfs-2.0 >= 2.12 gnome-media-profiles >= 2.12) were not met:
23000
 
 
23001
 
$GNOME_PKG_ERRORS
23002
 
 
23003
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23004
 
installed software in a non-standard prefix.
23005
 
 
23006
 
Alternatively, you may set the environment variables GNOME_CFLAGS
23007
 
and GNOME_LIBS to avoid the need to call pkg-config.
23008
 
See the pkg-config man page for more details.
23009
 
" >&2;}
23010
 
   { (exit 1); exit 1; }; }
23011
 
elif test $pkg_failed = untried; then
23012
 
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
23013
 
is in your PATH or set the PKG_CONFIG environment variable to the full
23014
 
path to pkg-config.
23015
 
 
23016
 
Alternatively, you may set the environment variables GNOME_CFLAGS
23017
 
and GNOME_LIBS to avoid the need to call pkg-config.
23018
 
See the pkg-config man page for more details.
23019
 
 
23020
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23021
 
See \`config.log' for more details." >&5
23022
 
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
23023
 
is in your PATH or set the PKG_CONFIG environment variable to the full
23024
 
path to pkg-config.
23025
 
 
23026
 
Alternatively, you may set the environment variables GNOME_CFLAGS
23027
 
and GNOME_LIBS to avoid the need to call pkg-config.
23028
 
See the pkg-config man page for more details.
23029
 
 
23030
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23031
 
See \`config.log' for more details." >&2;}
23032
 
   { (exit 1); exit 1; }; }
23033
 
else
23034
 
        GNOME_CFLAGS=$pkg_cv_GNOME_CFLAGS
23035
 
        GNOME_LIBS=$pkg_cv_GNOME_LIBS
23036
 
        { echo "$as_me:$LINENO: result: yes" >&5
23037
 
echo "${ECHO_T}yes" >&6; }
23038
 
        :
23039
 
fi
23040
 
 
23041
 
pkg_failed=no
23042
 
{ echo "$as_me:$LINENO: checking for GNOME14" >&5
23043
 
echo $ECHO_N "checking for GNOME14... $ECHO_C" >&6; }
23044
 
 
23045
 
if test -n "$PKG_CONFIG"; then
23046
 
    if test -n "$GNOME14_CFLAGS"; then
23047
 
        pkg_cv_GNOME14_CFLAGS="$GNOME14_CFLAGS"
23048
 
    else
23049
 
        if test -n "$PKG_CONFIG" && \
23050
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0 >= 2.14\"") >&5
23051
 
  ($PKG_CONFIG --exists --print-errors "libgnomeui-2.0 >= 2.14") 2>&5
23052
 
  ac_status=$?
23053
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23054
 
  (exit $ac_status); }; then
23055
 
  pkg_cv_GNOME14_CFLAGS=`$PKG_CONFIG --cflags "libgnomeui-2.0 >= 2.14" 2>/dev/null`
23056
 
else
23057
 
  pkg_failed=yes
23058
 
fi
23059
 
    fi
23060
 
else
23061
 
        pkg_failed=untried
23062
 
fi
23063
 
if test -n "$PKG_CONFIG"; then
23064
 
    if test -n "$GNOME14_LIBS"; then
23065
 
        pkg_cv_GNOME14_LIBS="$GNOME14_LIBS"
23066
 
    else
23067
 
        if test -n "$PKG_CONFIG" && \
23068
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0 >= 2.14\"") >&5
23069
 
  ($PKG_CONFIG --exists --print-errors "libgnomeui-2.0 >= 2.14") 2>&5
23070
 
  ac_status=$?
23071
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23072
 
  (exit $ac_status); }; then
23073
 
  pkg_cv_GNOME14_LIBS=`$PKG_CONFIG --libs "libgnomeui-2.0 >= 2.14" 2>/dev/null`
23074
 
else
23075
 
  pkg_failed=yes
23076
 
fi
23077
 
    fi
23078
 
else
23079
 
        pkg_failed=untried
23080
 
fi
23081
 
 
23082
 
 
23083
 
 
23084
 
if test $pkg_failed = yes; then
23085
 
 
23086
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23087
 
        _pkg_short_errors_supported=yes
23088
 
else
23089
 
        _pkg_short_errors_supported=no
23090
 
fi
23091
 
        if test $_pkg_short_errors_supported = yes; then
23092
 
                GNOME14_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeui-2.0 >= 2.14"`
23093
 
        else
23094
 
                GNOME14_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeui-2.0 >= 2.14"`
23095
 
        fi
23096
 
        # Put the nasty error message in config.log where it belongs
23097
 
        echo "$GNOME14_PKG_ERRORS" >&5
23098
 
 
23099
 
        { echo "$as_me:$LINENO: result: no" >&5
23100
 
echo "${ECHO_T}no" >&6; }
23101
 
                GNOME_14="0";echo "no"
23102
 
elif test $pkg_failed = untried; then
23103
 
        GNOME_14="0";echo "no"
23104
 
else
23105
 
        GNOME14_CFLAGS=$pkg_cv_GNOME14_CFLAGS
23106
 
        GNOME14_LIBS=$pkg_cv_GNOME14_LIBS
23107
 
        { echo "$as_me:$LINENO: result: yes" >&5
23108
 
echo "${ECHO_T}yes" >&6; }
23109
 
        GNOME_14="1";echo "yes"
23110
 
fi
23111
 
 
23112
 
 
23113
 
 
23114
 
 
23115
 
cat >>confdefs.h <<_ACEOF
23116
 
#define GNOME_14 ${GNOME_14}
23117
 
_ACEOF
23118
 
 
23119
 
 
23120
 
 
23121
 
 
23122
 
pkg_failed=no
23123
 
{ echo "$as_me:$LINENO: checking for GSTREAMER" >&5
23124
 
echo $ECHO_N "checking for GSTREAMER... $ECHO_C" >&6; }
23125
 
 
23126
 
if test -n "$PKG_CONFIG"; then
23127
 
    if test -n "$GSTREAMER_CFLAGS"; then
23128
 
        pkg_cv_GSTREAMER_CFLAGS="$GSTREAMER_CFLAGS"
23129
 
    else
23130
 
        if test -n "$PKG_CONFIG" && \
23131
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10 gstreamer-plugins-base-0.10\"") >&5
23132
 
  ($PKG_CONFIG --exists --print-errors "gstreamer-0.10 gstreamer-plugins-base-0.10") 2>&5
23133
 
  ac_status=$?
23134
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135
 
  (exit $ac_status); }; then
23136
 
  pkg_cv_GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.10 gstreamer-plugins-base-0.10" 2>/dev/null`
23137
 
else
23138
 
  pkg_failed=yes
23139
 
fi
23140
 
    fi
23141
 
else
23142
 
        pkg_failed=untried
23143
 
fi
23144
 
if test -n "$PKG_CONFIG"; then
23145
 
    if test -n "$GSTREAMER_LIBS"; then
23146
 
        pkg_cv_GSTREAMER_LIBS="$GSTREAMER_LIBS"
23147
 
    else
23148
 
        if test -n "$PKG_CONFIG" && \
23149
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10 gstreamer-plugins-base-0.10\"") >&5
23150
 
  ($PKG_CONFIG --exists --print-errors "gstreamer-0.10 gstreamer-plugins-base-0.10") 2>&5
23151
 
  ac_status=$?
23152
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23153
 
  (exit $ac_status); }; then
23154
 
  pkg_cv_GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.10 gstreamer-plugins-base-0.10" 2>/dev/null`
23155
 
else
23156
 
  pkg_failed=yes
23157
 
fi
23158
 
    fi
23159
 
else
23160
 
        pkg_failed=untried
23161
 
fi
23162
 
 
23163
 
 
23164
 
 
23165
 
if test $pkg_failed = yes; then
23166
 
 
23167
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23168
 
        _pkg_short_errors_supported=yes
23169
 
else
23170
 
        _pkg_short_errors_supported=no
23171
 
fi
23172
 
        if test $_pkg_short_errors_supported = yes; then
23173
 
                GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-0.10 gstreamer-plugins-base-0.10"`
23174
 
        else
23175
 
                GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.10 gstreamer-plugins-base-0.10"`
23176
 
        fi
23177
 
        # Put the nasty error message in config.log where it belongs
23178
 
        echo "$GSTREAMER_PKG_ERRORS" >&5
23179
 
 
23180
 
        { { echo "$as_me:$LINENO: error: Package requirements (gstreamer-0.10 gstreamer-plugins-base-0.10) were not met:
23181
 
 
23182
 
$GSTREAMER_PKG_ERRORS
23183
 
 
23184
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23185
 
installed software in a non-standard prefix.
23186
 
 
23187
 
Alternatively, you may set the environment variables GSTREAMER_CFLAGS
23188
 
and GSTREAMER_LIBS to avoid the need to call pkg-config.
23189
 
See the pkg-config man page for more details.
23190
 
" >&5
23191
 
echo "$as_me: error: Package requirements (gstreamer-0.10 gstreamer-plugins-base-0.10) were not met:
23192
 
 
23193
 
$GSTREAMER_PKG_ERRORS
23194
 
 
23195
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23196
 
installed software in a non-standard prefix.
23197
 
 
23198
 
Alternatively, you may set the environment variables GSTREAMER_CFLAGS
23199
 
and GSTREAMER_LIBS to avoid the need to call pkg-config.
23200
 
See the pkg-config man page for more details.
23201
 
" >&2;}
23202
 
   { (exit 1); exit 1; }; }
23203
 
elif test $pkg_failed = untried; then
23204
 
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
23205
 
is in your PATH or set the PKG_CONFIG environment variable to the full
23206
 
path to pkg-config.
23207
 
 
23208
 
Alternatively, you may set the environment variables GSTREAMER_CFLAGS
23209
 
and GSTREAMER_LIBS to avoid the need to call pkg-config.
23210
 
See the pkg-config man page for more details.
23211
 
 
23212
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23213
 
See \`config.log' for more details." >&5
23214
 
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
23215
 
is in your PATH or set the PKG_CONFIG environment variable to the full
23216
 
path to pkg-config.
23217
 
 
23218
 
Alternatively, you may set the environment variables GSTREAMER_CFLAGS
23219
 
and GSTREAMER_LIBS to avoid the need to call pkg-config.
23220
 
See the pkg-config man page for more details.
23221
 
 
23222
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23223
 
See \`config.log' for more details." >&2;}
23224
 
   { (exit 1); exit 1; }; }
23225
 
else
23226
 
        GSTREAMER_CFLAGS=$pkg_cv_GSTREAMER_CFLAGS
23227
 
        GSTREAMER_LIBS=$pkg_cv_GSTREAMER_LIBS
23228
 
        { echo "$as_me:$LINENO: result: yes" >&5
23229
 
echo "${ECHO_T}yes" >&6; }
23230
 
        :
23231
 
fi
23232
 
 
23233
 
 
23234
 
 
23235
 
 
23236
 
gdu_cv_version_required=0.3.2
23237
 
 
23238
 
if test -n "$PKG_CONFIG" && \
23239
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\"") >&5
23240
 
  ($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
23241
 
  ac_status=$?
23242
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23243
 
  (exit $ac_status); }; then
23244
 
  gdu_cv_have_gdu=yes
23245
 
else
23246
 
  gdu_cv_have_gdu=no
23247
 
fi
23248
 
 
23249
 
if test "$gdu_cv_have_gdu" = "yes"; then
23250
 
        :
23251
 
else
23252
 
        { { echo "$as_me:$LINENO: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&5
23253
 
echo "$as_me: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&2;}
23254
 
   { (exit 1); exit 1; }; }
23255
 
fi
23256
 
 
23257
 
 
23258
 
 
23259
 
# Check whether --with-help-dir was given.
23260
 
if test "${with_help_dir+set}" = set; then
23261
 
  withval=$with_help_dir;
23262
 
else
23263
 
  with_help_dir='${datadir}/gnome/help'
23264
 
fi
23265
 
 
23266
 
HELP_DIR="$with_help_dir"
23267
 
 
23268
 
 
23269
 
 
23270
 
# Check whether --with-omf-dir was given.
23271
 
if test "${with_omf_dir+set}" = set; then
23272
 
  withval=$with_omf_dir;
23273
 
else
23274
 
  with_omf_dir='${datadir}/omf'
23275
 
fi
23276
 
 
23277
 
OMF_DIR="$with_omf_dir"
23278
 
 
23279
 
 
23280
 
 
23281
 
# Check whether --with-help-formats was given.
23282
 
if test "${with_help_formats+set}" = set; then
23283
 
  withval=$with_help_formats;
23284
 
else
23285
 
  with_help_formats=''
23286
 
fi
23287
 
 
23288
 
DOC_USER_FORMATS="$with_help_formats"
23289
 
 
23290
 
 
23291
 
# Check whether --enable-scrollkeeper was given.
23292
 
if test "${enable_scrollkeeper+set}" = set; then
23293
 
  enableval=$enable_scrollkeeper;
23294
 
else
23295
 
  enable_scrollkeeper=yes
23296
 
fi
23297
 
 
23298
 
 
23299
 
 
23300
 
if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
23301
 
  ENABLE_SK_TRUE=
23302
 
  ENABLE_SK_FALSE='#'
23303
 
else
23304
 
  ENABLE_SK_TRUE='#'
23305
 
  ENABLE_SK_FALSE=
23306
 
fi
23307
 
 
23308
 
 
23309
 
DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
23310
 
 
23311
 
 
23312
 
 
23313
 
 
23314
 
if test "$gdu_cv_have_gdu" = "yes"; then
23315
 
  HAVE_GNOME_DOC_UTILS_TRUE=
23316
 
  HAVE_GNOME_DOC_UTILS_FALSE='#'
23317
 
else
23318
 
  HAVE_GNOME_DOC_UTILS_TRUE='#'
23319
 
  HAVE_GNOME_DOC_UTILS_FALSE=
23320
 
fi
23321
 
 
23322
 
 
23323
 
 
23324
 
 
23325
 
# Extract the first word of "gconftool-2", so it can be a program name with args.
23326
 
set dummy gconftool-2; ac_word=$2
23327
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23328
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23329
 
if test "${ac_cv_path_GCONFTOOL+set}" = set; then
23330
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23331
 
else
23332
 
  case $GCONFTOOL in
23333
 
  [\\/]* | ?:[\\/]*)
23334
 
  ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path.
23335
 
  ;;
23336
 
  *)
23337
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23338
 
for as_dir in $PATH
23339
 
do
23340
 
  IFS=$as_save_IFS
23341
 
  test -z "$as_dir" && as_dir=.
23342
 
  for ac_exec_ext in '' $ac_executable_extensions; do
23343
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23344
 
    ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
23345
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23346
 
    break 2
23347
 
  fi
23348
 
done
23349
 
done
23350
 
IFS=$as_save_IFS
23351
 
 
23352
 
  test -z "$ac_cv_path_GCONFTOOL" && ac_cv_path_GCONFTOOL="no"
23353
 
  ;;
23354
 
esac
23355
 
fi
23356
 
GCONFTOOL=$ac_cv_path_GCONFTOOL
23357
 
if test -n "$GCONFTOOL"; then
23358
 
  { echo "$as_me:$LINENO: result: $GCONFTOOL" >&5
23359
 
echo "${ECHO_T}$GCONFTOOL" >&6; }
23360
 
else
23361
 
  { echo "$as_me:$LINENO: result: no" >&5
23362
 
echo "${ECHO_T}no" >&6; }
23363
 
fi
23364
 
 
23365
 
 
23366
 
 
23367
 
if test x"$GCONFTOOL" = xno; then
23368
 
  { { echo "$as_me:$LINENO: error: gconftool-2 executable not found in your path - should be installed with GConf" >&5
23369
 
echo "$as_me: error: gconftool-2 executable not found in your path - should be installed with GConf" >&2;}
23370
 
   { (exit 1); exit 1; }; }
23371
 
fi
23372
 
 
23373
 
 
23374
 
  if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
23375
 
    GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
23376
 
  else
23377
 
    GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
23378
 
  fi
23379
 
 
23380
 
 
23381
 
# Check whether --with-gconf-source was given.
23382
 
if test "${with_gconf_source+set}" = set; then
23383
 
  withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
23384
 
fi
23385
 
 
23386
 
 
23387
 
 
23388
 
  { echo "$as_me:$LINENO: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
23389
 
echo "${ECHO_T}Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
23390
 
 
23391
 
  if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
23392
 
    GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
23393
 
  fi
23394
 
 
23395
 
 
23396
 
# Check whether --with-gconf-schema-file-dir was given.
23397
 
if test "${with_gconf_schema_file_dir+set}" = set; then
23398
 
  withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
23399
 
fi
23400
 
 
23401
 
 
23402
 
 
23403
 
  { echo "$as_me:$LINENO: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
23404
 
echo "${ECHO_T}Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
23405
 
 
23406
 
  # Check whether --enable-schemas-install was given.
23407
 
if test "${enable_schemas_install+set}" = set; then
23408
 
  enableval=$enable_schemas_install; case ${enableval} in
23409
 
       yes|no) ;;
23410
 
       *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-schemas-install" >&5
23411
 
echo "$as_me: error: bad value ${enableval} for --enable-schemas-install" >&2;}
23412
 
   { (exit 1); exit 1; }; } ;;
23413
 
      esac
23414
 
fi
23415
 
 
23416
 
 
23417
 
 
23418
 
if test "$enable_schemas_install" != no; then
23419
 
  GCONF_SCHEMAS_INSTALL_TRUE=
23420
 
  GCONF_SCHEMAS_INSTALL_FALSE='#'
23421
 
else
23422
 
  GCONF_SCHEMAS_INSTALL_TRUE='#'
23423
 
  GCONF_SCHEMAS_INSTALL_FALSE=
23424
 
fi
23425
 
 
23426
 
 
23427
 
 
23428
 
LIRC=""
23429
 
if test "$enable_lirc" != "no"; then
23430
 
  { echo "$as_me:$LINENO: checking for lirc_init in -llirc_client" >&5
23431
 
echo $ECHO_N "checking for lirc_init in -llirc_client... $ECHO_C" >&6; }
23432
 
if test "${ac_cv_lib_lirc_client_lirc_init+set}" = set; then
23433
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23434
 
else
23435
 
  ac_check_lib_save_LIBS=$LIBS
23436
 
LIBS="-llirc_client  $LIBS"
23437
 
cat >conftest.$ac_ext <<_ACEOF
23438
 
/* confdefs.h.  */
23439
 
_ACEOF
23440
 
cat confdefs.h >>conftest.$ac_ext
23441
 
cat >>conftest.$ac_ext <<_ACEOF
23442
 
/* end confdefs.h.  */
23443
 
 
23444
 
/* Override any GCC internal prototype to avoid an error.
23445
 
   Use char because int might match the return type of a GCC
23446
 
   builtin and then its argument prototype would still apply.  */
23447
 
#ifdef __cplusplus
23448
 
extern "C"
23449
 
#endif
23450
 
char lirc_init ();
23451
 
int
23452
 
main ()
23453
 
{
23454
 
return lirc_init ();
23455
 
  ;
23456
 
  return 0;
23457
 
}
23458
 
_ACEOF
23459
 
rm -f conftest.$ac_objext conftest$ac_exeext
23460
 
if { (ac_try="$ac_link"
23461
 
case "(($ac_try" in
23462
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23463
 
  *) ac_try_echo=$ac_try;;
23464
 
esac
23465
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23466
 
  (eval "$ac_link") 2>conftest.er1
23467
 
  ac_status=$?
23468
 
  grep -v '^ *+' conftest.er1 >conftest.err
23469
 
  rm -f conftest.er1
23470
 
  cat conftest.err >&5
23471
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23472
 
  (exit $ac_status); } && {
23473
 
         test -z "$ac_c_werror_flag" ||
23474
 
         test ! -s conftest.err
23475
 
       } && test -s conftest$ac_exeext &&
23476
 
       $as_test_x conftest$ac_exeext; then
23477
 
  ac_cv_lib_lirc_client_lirc_init=yes
23478
 
else
23479
 
  echo "$as_me: failed program was:" >&5
23480
 
sed 's/^/| /' conftest.$ac_ext >&5
23481
 
 
23482
 
        ac_cv_lib_lirc_client_lirc_init=no
23483
 
fi
23484
 
 
23485
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23486
 
      conftest$ac_exeext conftest.$ac_ext
23487
 
LIBS=$ac_check_lib_save_LIBS
23488
 
fi
23489
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_lirc_client_lirc_init" >&5
23490
 
echo "${ECHO_T}$ac_cv_lib_lirc_client_lirc_init" >&6; }
23491
 
if test $ac_cv_lib_lirc_client_lirc_init = yes; then
23492
 
 
23493
 
cat >>confdefs.h <<\_ACEOF
23494
 
#define HAVE_LIRC 1
23495
 
_ACEOF
23496
 
 LIRC="-llirc_client"
23497
 
fi
23498
 
 
23499
 
else
23500
 
  echo "*** lirc disabled"
23501
 
fi
23502
 
 
23503
 
# Check whether --enable-install_schemas was given.
23504
 
if test "${enable_install_schemas+set}" = set; then
23505
 
  enableval=$enable_install_schemas;
23506
 
fi
23507
 
 
23508
 
 
23509
 
 
23510
 
if test x$enable_install_schemas != xno; then
23511
 
  INSTALL_SCHEMAS_TRUE=
23512
 
  INSTALL_SCHEMAS_FALSE='#'
23513
 
else
23514
 
  INSTALL_SCHEMAS_TRUE='#'
23515
 
  INSTALL_SCHEMAS_FALSE=
23516
 
fi
23517
 
 
23518
 
 
23519
 
ac_config_files="$ac_config_files gnomeradio.spec Makefile src/Makefile po/Makefile.in data/Makefile data/pixmaps/Makefile data/icons/Makefile data/icons/16x16/Makefile data/icons/22x22/Makefile data/icons/24x24/Makefile data/icons/32x32/Makefile data/icons/48x48/Makefile data/icons/scalable/Makefile help/Makefile"
23520
 
 
23521
 
cat >confcache <<\_ACEOF
23522
 
# This file is a shell script that caches the results of configure
23523
 
# tests run on this system so they can be shared between configure
23524
 
# scripts and configure runs, see configure's option --config-cache.
23525
 
# It is not useful on other systems.  If it contains results you don't
23526
 
# want to keep, you may remove or edit it.
23527
 
#
23528
 
# config.status only pays attention to the cache file if you give it
23529
 
# the --recheck option to rerun configure.
23530
 
#
23531
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
23532
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
23533
 
# following values.
23534
 
 
23535
 
_ACEOF
23536
 
 
23537
 
# The following way of writing the cache mishandles newlines in values,
23538
 
# but we know of no workaround that is simple, portable, and efficient.
23539
 
# So, we kill variables containing newlines.
23540
 
# Ultrix sh set writes to stderr and can't be redirected directly,
23541
 
# and sets the high bit in the cache file unless we assign to the vars.
23542
 
(
23543
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23544
 
    eval ac_val=\$$ac_var
23545
 
    case $ac_val in #(
23546
 
    *${as_nl}*)
23547
 
      case $ac_var in #(
23548
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
23549
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
23550
 
      esac
23551
 
      case $ac_var in #(
23552
 
      _ | IFS | as_nl) ;; #(
23553
 
      *) $as_unset $ac_var ;;
23554
 
      esac ;;
23555
 
    esac
23556
 
  done
23557
 
 
23558
 
  (set) 2>&1 |
23559
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
23560
 
    *${as_nl}ac_space=\ *)
23561
 
      # `set' does not quote correctly, so add quotes (double-quote
23562
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
23563
 
      sed -n \
23564
 
        "s/'/'\\\\''/g;
23565
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23566
 
      ;; #(
23567
 
    *)
23568
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
23569
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23570
 
      ;;
23571
 
    esac |
23572
 
    sort
23573
 
) |
23574
 
  sed '
23575
 
     /^ac_cv_env_/b end
23576
 
     t clear
23577
 
     :clear
23578
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23579
 
     t end
23580
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23581
 
     :end' >>confcache
23582
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
23583
 
  if test -w "$cache_file"; then
23584
 
    test "x$cache_file" != "x/dev/null" &&
23585
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
23586
 
echo "$as_me: updating cache $cache_file" >&6;}
23587
 
    cat confcache >$cache_file
23588
 
  else
23589
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
23590
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23591
 
  fi
23592
 
fi
23593
 
rm -f confcache
23594
 
 
23595
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
23596
 
# Let make expand exec_prefix.
23597
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23598
 
 
23599
 
DEFS=-DHAVE_CONFIG_H
23600
 
 
23601
 
ac_libobjs=
23602
 
ac_ltlibobjs=
23603
 
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23604
 
  # 1. Remove the extension, and $U if already installed.
23605
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23606
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
23607
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
23608
 
  #    will be set to the directory where LIBOBJS objects are built.
23609
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23610
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
23611
 
done
23612
 
LIBOBJS=$ac_libobjs
23613
 
 
23614
 
LTLIBOBJS=$ac_ltlibobjs
23615
 
 
23616
 
 
23617
 
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
23618
 
  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
23619
 
Usually this means the macro was only invoked conditionally." >&5
23620
 
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
23621
 
Usually this means the macro was only invoked conditionally." >&2;}
23622
 
   { (exit 1); exit 1; }; }
23623
 
fi
23624
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
23625
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
23626
 
Usually this means the macro was only invoked conditionally." >&5
23627
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
23628
 
Usually this means the macro was only invoked conditionally." >&2;}
23629
 
   { (exit 1); exit 1; }; }
23630
 
fi
23631
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23632
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
23633
 
Usually this means the macro was only invoked conditionally." >&5
23634
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
23635
 
Usually this means the macro was only invoked conditionally." >&2;}
23636
 
   { (exit 1); exit 1; }; }
23637
 
fi
23638
 
 
23639
 
  ac_config_commands="$ac_config_commands po/stamp-it"
23640
 
 
23641
 
 
23642
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
23643
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
23644
 
Usually this means the macro was only invoked conditionally." >&5
23645
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
23646
 
Usually this means the macro was only invoked conditionally." >&2;}
23647
 
   { (exit 1); exit 1; }; }
23648
 
fi
23649
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23650
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
23651
 
Usually this means the macro was only invoked conditionally." >&5
23652
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
23653
 
Usually this means the macro was only invoked conditionally." >&2;}
23654
 
   { (exit 1); exit 1; }; }
23655
 
fi
23656
 
if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
23657
 
  { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SK\" was never defined.
23658
 
Usually this means the macro was only invoked conditionally." >&5
23659
 
echo "$as_me: error: conditional \"ENABLE_SK\" was never defined.
23660
 
Usually this means the macro was only invoked conditionally." >&2;}
23661
 
   { (exit 1); exit 1; }; }
23662
 
fi
23663
 
if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
23664
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
23665
 
Usually this means the macro was only invoked conditionally." >&5
23666
 
echo "$as_me: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
23667
 
Usually this means the macro was only invoked conditionally." >&2;}
23668
 
   { (exit 1); exit 1; }; }
23669
 
fi
23670
 
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
23671
 
  { { echo "$as_me:$LINENO: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
23672
 
Usually this means the macro was only invoked conditionally." >&5
23673
 
echo "$as_me: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
23674
 
Usually this means the macro was only invoked conditionally." >&2;}
23675
 
   { (exit 1); exit 1; }; }
23676
 
fi
23677
 
if test -z "${INSTALL_SCHEMAS_TRUE}" && test -z "${INSTALL_SCHEMAS_FALSE}"; then
23678
 
  { { echo "$as_me:$LINENO: error: conditional \"INSTALL_SCHEMAS\" was never defined.
23679
 
Usually this means the macro was only invoked conditionally." >&5
23680
 
echo "$as_me: error: conditional \"INSTALL_SCHEMAS\" was never defined.
23681
 
Usually this means the macro was only invoked conditionally." >&2;}
23682
 
   { (exit 1); exit 1; }; }
23683
 
fi
23684
 
 
23685
 
: ${CONFIG_STATUS=./config.status}
23686
 
ac_clean_files_save=$ac_clean_files
23687
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23688
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23689
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
23690
 
cat >$CONFIG_STATUS <<_ACEOF
23691
 
#! $SHELL
23692
 
# Generated by $as_me.
23693
 
# Run this file to recreate the current configuration.
23694
 
# Compiler output produced by configure, useful for debugging
23695
 
# configure, is in config.log if it exists.
23696
 
 
23697
 
debug=false
23698
 
ac_cs_recheck=false
23699
 
ac_cs_silent=false
23700
 
SHELL=\${CONFIG_SHELL-$SHELL}
23701
 
_ACEOF
23702
 
 
23703
 
cat >>$CONFIG_STATUS <<\_ACEOF
23704
 
## --------------------- ##
23705
 
## M4sh Initialization.  ##
23706
 
## --------------------- ##
23707
 
 
23708
 
# Be more Bourne compatible
23709
 
DUALCASE=1; export DUALCASE # for MKS sh
23710
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23711
 
  emulate sh
23712
 
  NULLCMD=:
23713
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23714
 
  # is contrary to our usage.  Disable this feature.
23715
 
  alias -g '${1+"$@"}'='"$@"'
23716
 
  setopt NO_GLOB_SUBST
23717
 
else
23718
 
  case `(set -o) 2>/dev/null` in
23719
 
  *posix*) set -o posix ;;
23720
 
esac
23721
 
 
23722
 
fi
23723
 
 
23724
 
 
23725
 
 
23726
 
 
23727
 
# PATH needs CR
23728
 
# Avoid depending upon Character Ranges.
23729
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23730
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23731
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23732
 
as_cr_digits='0123456789'
23733
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
23734
 
 
23735
 
# The user is always right.
23736
 
if test "${PATH_SEPARATOR+set}" != set; then
23737
 
  echo "#! /bin/sh" >conf$$.sh
23738
 
  echo  "exit 0"   >>conf$$.sh
23739
 
  chmod +x conf$$.sh
23740
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23741
 
    PATH_SEPARATOR=';'
23742
 
  else
23743
 
    PATH_SEPARATOR=:
23744
 
  fi
23745
 
  rm -f conf$$.sh
23746
 
fi
23747
 
 
23748
 
# Support unset when possible.
23749
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
23750
 
  as_unset=unset
23751
 
else
23752
 
  as_unset=false
23753
 
fi
23754
 
 
23755
 
 
23756
 
# IFS
23757
 
# We need space, tab and new line, in precisely that order.  Quoting is
23758
 
# there to prevent editors from complaining about space-tab.
23759
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
23760
 
# splitting by setting IFS to empty value.)
23761
 
as_nl='
23762
 
'
23763
 
IFS=" ""        $as_nl"
23764
 
 
23765
 
# Find who we are.  Look in the path if we contain no directory separator.
23766
 
case $0 in
23767
 
  *[\\/]* ) as_myself=$0 ;;
23768
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23769
 
for as_dir in $PATH
23770
 
do
23771
 
  IFS=$as_save_IFS
23772
 
  test -z "$as_dir" && as_dir=.
23773
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23774
 
done
23775
 
IFS=$as_save_IFS
23776
 
 
23777
 
     ;;
23778
 
esac
23779
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
23780
 
# in which case we are not to be found in the path.
23781
 
if test "x$as_myself" = x; then
23782
 
  as_myself=$0
23783
 
fi
23784
 
if test ! -f "$as_myself"; then
23785
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23786
 
  { (exit 1); exit 1; }
23787
 
fi
23788
 
 
23789
 
# Work around bugs in pre-3.0 UWIN ksh.
23790
 
for as_var in ENV MAIL MAILPATH
23791
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
23792
 
done
23793
 
PS1='$ '
23794
 
PS2='> '
23795
 
PS4='+ '
23796
 
 
23797
 
# NLS nuisances.
23798
 
for as_var in \
23799
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23800
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23801
 
  LC_TELEPHONE LC_TIME
23802
 
do
23803
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23804
 
    eval $as_var=C; export $as_var
23805
 
  else
23806
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
23807
 
  fi
23808
 
done
23809
 
 
23810
 
# Required to use basename.
23811
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
23812
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
23813
 
  as_expr=expr
23814
 
else
23815
 
  as_expr=false
23816
 
fi
23817
 
 
23818
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23819
 
  as_basename=basename
23820
 
else
23821
 
  as_basename=false
23822
 
fi
23823
 
 
23824
 
 
23825
 
# Name of the executable.
23826
 
as_me=`$as_basename -- "$0" ||
23827
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23828
 
         X"$0" : 'X\(//\)$' \| \
23829
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23830
 
echo X/"$0" |
23831
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
23832
 
            s//\1/
23833
 
            q
23834
 
          }
23835
 
          /^X\/\(\/\/\)$/{
23836
 
            s//\1/
23837
 
            q
23838
 
          }
23839
 
          /^X\/\(\/\).*/{
23840
 
            s//\1/
23841
 
            q
23842
 
          }
23843
 
          s/.*/./; q'`
23844
 
 
23845
 
# CDPATH.
23846
 
$as_unset CDPATH
23847
 
 
23848
 
 
23849
 
 
23850
 
  as_lineno_1=$LINENO
23851
 
  as_lineno_2=$LINENO
23852
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
23853
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
23854
 
 
23855
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23856
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
23857
 
  # line-number line after each line using $LINENO; the second 'sed'
23858
 
  # does the real work.  The second script uses 'N' to pair each
23859
 
  # line-number line with the line containing $LINENO, and appends
23860
 
  # trailing '-' during substitution so that $LINENO is not a special
23861
 
  # case at line end.
23862
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23863
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
23864
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
23865
 
  sed -n '
23866
 
    p
23867
 
    /[$]LINENO/=
23868
 
  ' <$as_myself |
23869
 
    sed '
23870
 
      s/[$]LINENO.*/&-/
23871
 
      t lineno
23872
 
      b
23873
 
      :lineno
23874
 
      N
23875
 
      :loop
23876
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
23877
 
      t loop
23878
 
      s/-\n.*//
23879
 
    ' >$as_me.lineno &&
23880
 
  chmod +x "$as_me.lineno" ||
23881
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
23882
 
   { (exit 1); exit 1; }; }
23883
 
 
23884
 
  # Don't try to exec as it changes $[0], causing all sort of problems
23885
 
  # (the dirname of $[0] is not the place where we might find the
23886
 
  # original and so on.  Autoconf is especially sensitive to this).
23887
 
  . "./$as_me.lineno"
23888
 
  # Exit status is that of the last command.
23889
 
  exit
23890
 
}
23891
 
 
23892
 
 
23893
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23894
 
  as_dirname=dirname
23895
 
else
23896
 
  as_dirname=false
23897
 
fi
23898
 
 
23899
 
ECHO_C= ECHO_N= ECHO_T=
23900
 
case `echo -n x` in
23901
 
-n*)
23902
 
  case `echo 'x\c'` in
23903
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
23904
 
  *)   ECHO_C='\c';;
23905
 
  esac;;
23906
 
*)
23907
 
  ECHO_N='-n';;
23908
 
esac
23909
 
 
23910
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
23911
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
23912
 
  as_expr=expr
23913
 
else
23914
 
  as_expr=false
23915
 
fi
23916
 
 
23917
 
rm -f conf$$ conf$$.exe conf$$.file
23918
 
if test -d conf$$.dir; then
23919
 
  rm -f conf$$.dir/conf$$.file
23920
 
else
23921
 
  rm -f conf$$.dir
23922
 
  mkdir conf$$.dir
23923
 
fi
23924
 
echo >conf$$.file
23925
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
23926
 
  as_ln_s='ln -s'
23927
 
  # ... but there are two gotchas:
23928
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23929
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23930
 
  # In both cases, we have to default to `cp -p'.
23931
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23932
 
    as_ln_s='cp -p'
23933
 
elif ln conf$$.file conf$$ 2>/dev/null; then
23934
 
  as_ln_s=ln
23935
 
else
23936
 
  as_ln_s='cp -p'
23937
 
fi
23938
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23939
 
rmdir conf$$.dir 2>/dev/null
23940
 
 
23941
 
if mkdir -p . 2>/dev/null; then
23942
 
  as_mkdir_p=:
23943
 
else
23944
 
  test -d ./-p && rmdir ./-p
23945
 
  as_mkdir_p=false
23946
 
fi
23947
 
 
23948
 
if test -x / >/dev/null 2>&1; then
23949
 
  as_test_x='test -x'
23950
 
else
23951
 
  if ls -dL / >/dev/null 2>&1; then
23952
 
    as_ls_L_option=L
23953
 
  else
23954
 
    as_ls_L_option=
23955
 
  fi
23956
 
  as_test_x='
23957
 
    eval sh -c '\''
23958
 
      if test -d "$1"; then
23959
 
        test -d "$1/.";
23960
 
      else
23961
 
        case $1 in
23962
 
        -*)set "./$1";;
23963
 
        esac;
23964
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
23965
 
        ???[sx]*):;;*)false;;esac;fi
23966
 
    '\'' sh
23967
 
  '
23968
 
fi
23969
 
as_executable_p=$as_test_x
23970
 
 
23971
 
# Sed expression to map a string onto a valid CPP name.
23972
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23973
 
 
23974
 
# Sed expression to map a string onto a valid variable name.
23975
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23976
 
 
23977
 
 
23978
 
exec 6>&1
23979
 
 
23980
 
# Save the log message, to keep $[0] and so on meaningful, and to
23981
 
# report actual input values of CONFIG_FILES etc. instead of their
23982
 
# values after options handling.
23983
 
ac_log="
23984
 
This file was extended by gnomeradio $as_me 1.8, which was
23985
 
generated by GNU Autoconf 2.61.  Invocation command line was
23986
 
 
23987
 
  CONFIG_FILES    = $CONFIG_FILES
23988
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
23989
 
  CONFIG_LINKS    = $CONFIG_LINKS
23990
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
23991
 
  $ $0 $@
23992
 
 
23993
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
23994
 
"
23995
 
 
23996
 
_ACEOF
23997
 
 
23998
 
cat >>$CONFIG_STATUS <<_ACEOF
23999
 
# Files that config.status was made for.
24000
 
config_files="$ac_config_files"
24001
 
config_headers="$ac_config_headers"
24002
 
config_commands="$ac_config_commands"
24003
 
 
24004
 
_ACEOF
24005
 
 
24006
 
cat >>$CONFIG_STATUS <<\_ACEOF
24007
 
ac_cs_usage="\
24008
 
\`$as_me' instantiates files from templates according to the
24009
 
current configuration.
24010
 
 
24011
 
Usage: $0 [OPTIONS] [FILE]...
24012
 
 
24013
 
  -h, --help       print this help, then exit
24014
 
  -V, --version    print version number and configuration settings, then exit
24015
 
  -q, --quiet      do not print progress messages
24016
 
  -d, --debug      don't remove temporary files
24017
 
      --recheck    update $as_me by reconfiguring in the same conditions
24018
 
  --file=FILE[:TEMPLATE]
24019
 
                   instantiate the configuration file FILE
24020
 
  --header=FILE[:TEMPLATE]
24021
 
                   instantiate the configuration header FILE
24022
 
 
24023
 
Configuration files:
24024
 
$config_files
24025
 
 
24026
 
Configuration headers:
24027
 
$config_headers
24028
 
 
24029
 
Configuration commands:
24030
 
$config_commands
24031
 
 
24032
 
Report bugs to <bug-autoconf@gnu.org>."
24033
 
 
24034
 
_ACEOF
24035
 
cat >>$CONFIG_STATUS <<_ACEOF
24036
 
ac_cs_version="\\
24037
 
gnomeradio config.status 1.8
24038
 
configured by $0, generated by GNU Autoconf 2.61,
24039
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24040
 
 
24041
 
Copyright (C) 2006 Free Software Foundation, Inc.
24042
 
This config.status script is free software; the Free Software Foundation
24043
 
gives unlimited permission to copy, distribute and modify it."
24044
 
 
24045
 
ac_pwd='$ac_pwd'
24046
 
srcdir='$srcdir'
24047
 
INSTALL='$INSTALL'
24048
 
_ACEOF
24049
 
 
24050
 
cat >>$CONFIG_STATUS <<\_ACEOF
24051
 
# If no file are specified by the user, then we need to provide default
24052
 
# value.  By we need to know if files were specified by the user.
24053
 
ac_need_defaults=:
24054
 
while test $# != 0
24055
 
do
24056
 
  case $1 in
24057
 
  --*=*)
24058
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
24059
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
24060
 
    ac_shift=:
24061
 
    ;;
24062
 
  *)
24063
 
    ac_option=$1
24064
 
    ac_optarg=$2
24065
 
    ac_shift=shift
24066
 
    ;;
24067
 
  esac
24068
 
 
24069
 
  case $ac_option in
24070
 
  # Handling of the options.
24071
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24072
 
    ac_cs_recheck=: ;;
24073
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
24074
 
    echo "$ac_cs_version"; exit ;;
24075
 
  --debug | --debu | --deb | --de | --d | -d )
24076
 
    debug=: ;;
24077
 
  --file | --fil | --fi | --f )
24078
 
    $ac_shift
24079
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
24080
 
    ac_need_defaults=false;;
24081
 
  --header | --heade | --head | --hea )
24082
 
    $ac_shift
24083
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24084
 
    ac_need_defaults=false;;
24085
 
  --he | --h)
24086
 
    # Conflict between --help and --header
24087
 
    { echo "$as_me: error: ambiguous option: $1
24088
 
Try \`$0 --help' for more information." >&2
24089
 
   { (exit 1); exit 1; }; };;
24090
 
  --help | --hel | -h )
24091
 
    echo "$ac_cs_usage"; exit ;;
24092
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24093
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
24094
 
    ac_cs_silent=: ;;
24095
 
 
24096
 
  # This is an error.
24097
 
  -*) { echo "$as_me: error: unrecognized option: $1
24098
 
Try \`$0 --help' for more information." >&2
24099
 
   { (exit 1); exit 1; }; } ;;
24100
 
 
24101
 
  *) ac_config_targets="$ac_config_targets $1"
24102
 
     ac_need_defaults=false ;;
24103
 
 
24104
 
  esac
24105
 
  shift
24106
 
done
24107
 
 
24108
 
ac_configure_extra_args=
24109
 
 
24110
 
if $ac_cs_silent; then
24111
 
  exec 6>/dev/null
24112
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
24113
 
fi
24114
 
 
24115
 
_ACEOF
24116
 
cat >>$CONFIG_STATUS <<_ACEOF
24117
 
if \$ac_cs_recheck; then
24118
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24119
 
  CONFIG_SHELL=$SHELL
24120
 
  export CONFIG_SHELL
24121
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24122
 
fi
24123
 
 
24124
 
_ACEOF
24125
 
cat >>$CONFIG_STATUS <<\_ACEOF
24126
 
exec 5>>config.log
24127
 
{
24128
 
  echo
24129
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24130
 
## Running $as_me. ##
24131
 
_ASBOX
24132
 
  echo "$ac_log"
24133
 
} >&5
24134
 
 
24135
 
_ACEOF
24136
 
cat >>$CONFIG_STATUS <<_ACEOF
24137
 
#
24138
 
# INIT-COMMANDS
24139
 
#
24140
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
24141
 
INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}'
24142
 
prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir"
24143
 
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}'
24144
 
 
24145
 
 
24146
 
_ACEOF
24147
 
 
24148
 
cat >>$CONFIG_STATUS <<\_ACEOF
24149
 
 
24150
 
# Handling of arguments.
24151
 
for ac_config_target in $ac_config_targets
24152
 
do
24153
 
  case $ac_config_target in
24154
 
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
24155
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
24156
 
    "intltool") CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;;
24157
 
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
24158
 
    "gnomeradio.spec") CONFIG_FILES="$CONFIG_FILES gnomeradio.spec" ;;
24159
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24160
 
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
24161
 
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
24162
 
    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
24163
 
    "data/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES data/pixmaps/Makefile" ;;
24164
 
    "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
24165
 
    "data/icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/16x16/Makefile" ;;
24166
 
    "data/icons/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/22x22/Makefile" ;;
24167
 
    "data/icons/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/24x24/Makefile" ;;
24168
 
    "data/icons/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/32x32/Makefile" ;;
24169
 
    "data/icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/48x48/Makefile" ;;
24170
 
    "data/icons/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/scalable/Makefile" ;;
24171
 
    "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
24172
 
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
24173
 
 
24174
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24175
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24176
 
   { (exit 1); exit 1; }; };;
24177
 
  esac
24178
 
done
24179
 
 
24180
 
 
24181
 
# If the user did not use the arguments to specify the items to instantiate,
24182
 
# then the envvar interface is used.  Set only those that are not.
24183
 
# We use the long form for the default assignment because of an extremely
24184
 
# bizarre bug on SunOS 4.1.3.
24185
 
if $ac_need_defaults; then
24186
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24187
 
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24188
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24189
 
fi
24190
 
 
24191
 
# Have a temporary directory for convenience.  Make it in the build tree
24192
 
# simply because there is no reason against having it here, and in addition,
24193
 
# creating and moving files from /tmp can sometimes cause problems.
24194
 
# Hook for its removal unless debugging.
24195
 
# Note that there is a small window in which the directory will not be cleaned:
24196
 
# after its creation but before its name has been assigned to `$tmp'.
24197
 
$debug ||
24198
 
{
24199
 
  tmp=
24200
 
  trap 'exit_status=$?
24201
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
24202
 
' 0
24203
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
24204
 
}
24205
 
# Create a (secure) tmp directory for tmp files.
24206
 
 
24207
 
{
24208
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24209
 
  test -n "$tmp" && test -d "$tmp"
24210
 
}  ||
24211
 
{
24212
 
  tmp=./conf$$-$RANDOM
24213
 
  (umask 077 && mkdir "$tmp")
24214
 
} ||
24215
 
{
24216
 
   echo "$me: cannot create a temporary directory in ." >&2
24217
 
   { (exit 1); exit 1; }
24218
 
}
24219
 
 
24220
 
#
24221
 
# Set up the sed scripts for CONFIG_FILES section.
24222
 
#
24223
 
 
24224
 
# No need to generate the scripts if there are no CONFIG_FILES.
24225
 
# This happens for instance when ./config.status config.h
24226
 
if test -n "$CONFIG_FILES"; then
24227
 
 
24228
 
_ACEOF
24229
 
 
24230
 
 
24231
 
 
24232
 
ac_delim='%!_!# '
24233
 
for ac_last_try in false false false false false :; do
24234
 
  cat >conf$$subs.sed <<_ACEOF
24235
 
SHELL!$SHELL$ac_delim
24236
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
24237
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
24238
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
24239
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
24240
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
24241
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
24242
 
exec_prefix!$exec_prefix$ac_delim
24243
 
prefix!$prefix$ac_delim
24244
 
program_transform_name!$program_transform_name$ac_delim
24245
 
bindir!$bindir$ac_delim
24246
 
sbindir!$sbindir$ac_delim
24247
 
libexecdir!$libexecdir$ac_delim
24248
 
datarootdir!$datarootdir$ac_delim
24249
 
datadir!$datadir$ac_delim
24250
 
sysconfdir!$sysconfdir$ac_delim
24251
 
sharedstatedir!$sharedstatedir$ac_delim
24252
 
localstatedir!$localstatedir$ac_delim
24253
 
includedir!$includedir$ac_delim
24254
 
oldincludedir!$oldincludedir$ac_delim
24255
 
docdir!$docdir$ac_delim
24256
 
infodir!$infodir$ac_delim
24257
 
htmldir!$htmldir$ac_delim
24258
 
dvidir!$dvidir$ac_delim
24259
 
pdfdir!$pdfdir$ac_delim
24260
 
psdir!$psdir$ac_delim
24261
 
libdir!$libdir$ac_delim
24262
 
localedir!$localedir$ac_delim
24263
 
mandir!$mandir$ac_delim
24264
 
DEFS!$DEFS$ac_delim
24265
 
ECHO_C!$ECHO_C$ac_delim
24266
 
ECHO_N!$ECHO_N$ac_delim
24267
 
ECHO_T!$ECHO_T$ac_delim
24268
 
LIBS!$LIBS$ac_delim
24269
 
build_alias!$build_alias$ac_delim
24270
 
host_alias!$host_alias$ac_delim
24271
 
target_alias!$target_alias$ac_delim
24272
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
24273
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
24274
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
24275
 
CYGPATH_W!$CYGPATH_W$ac_delim
24276
 
PACKAGE!$PACKAGE$ac_delim
24277
 
VERSION!$VERSION$ac_delim
24278
 
ACLOCAL!$ACLOCAL$ac_delim
24279
 
AUTOCONF!$AUTOCONF$ac_delim
24280
 
AUTOMAKE!$AUTOMAKE$ac_delim
24281
 
AUTOHEADER!$AUTOHEADER$ac_delim
24282
 
MAKEINFO!$MAKEINFO$ac_delim
24283
 
install_sh!$install_sh$ac_delim
24284
 
STRIP!$STRIP$ac_delim
24285
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
24286
 
mkdir_p!$mkdir_p$ac_delim
24287
 
AWK!$AWK$ac_delim
24288
 
SET_MAKE!$SET_MAKE$ac_delim
24289
 
am__leading_dot!$am__leading_dot$ac_delim
24290
 
AMTAR!$AMTAR$ac_delim
24291
 
am__tar!$am__tar$ac_delim
24292
 
am__untar!$am__untar$ac_delim
24293
 
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
24294
 
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
24295
 
MAINT!$MAINT$ac_delim
24296
 
INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
24297
 
INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
24298
 
INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
24299
 
INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim
24300
 
INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim
24301
 
INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim
24302
 
INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim
24303
 
INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim
24304
 
INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim
24305
 
INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim
24306
 
INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim
24307
 
INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim
24308
 
INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim
24309
 
INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim
24310
 
INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim
24311
 
INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
24312
 
INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
24313
 
INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
24314
 
INTLTOOL_POLICY_RULE!$INTLTOOL_POLICY_RULE$ac_delim
24315
 
XGETTEXT!$XGETTEXT$ac_delim
24316
 
MSGMERGE!$MSGMERGE$ac_delim
24317
 
MSGFMT!$MSGFMT$ac_delim
24318
 
INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
24319
 
INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
24320
 
INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
24321
 
INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
24322
 
ALL_LINGUAS!$ALL_LINGUAS$ac_delim
24323
 
CC!$CC$ac_delim
24324
 
CFLAGS!$CFLAGS$ac_delim
24325
 
LDFLAGS!$LDFLAGS$ac_delim
24326
 
CPPFLAGS!$CPPFLAGS$ac_delim
24327
 
ac_ct_CC!$ac_ct_CC$ac_delim
24328
 
EXEEXT!$EXEEXT$ac_delim
24329
 
OBJEXT!$OBJEXT$ac_delim
24330
 
DEPDIR!$DEPDIR$ac_delim
24331
 
am__include!$am__include$ac_delim
24332
 
_ACEOF
24333
 
 
24334
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
24335
 
    break
24336
 
  elif $ac_last_try; then
24337
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24338
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24339
 
   { (exit 1); exit 1; }; }
24340
 
  else
24341
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24342
 
  fi
24343
 
done
24344
 
 
24345
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24346
 
if test -n "$ac_eof"; then
24347
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24348
 
  ac_eof=`expr $ac_eof + 1`
24349
 
fi
24350
 
 
24351
 
cat >>$CONFIG_STATUS <<_ACEOF
24352
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
24353
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24354
 
_ACEOF
24355
 
sed '
24356
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24357
 
s/^/s,@/; s/!/@,|#_!!_#|/
24358
 
:n
24359
 
t n
24360
 
s/'"$ac_delim"'$/,g/; t
24361
 
s/$/\\/; p
24362
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24363
 
' >>$CONFIG_STATUS <conf$$subs.sed
24364
 
rm -f conf$$subs.sed
24365
 
cat >>$CONFIG_STATUS <<_ACEOF
24366
 
CEOF$ac_eof
24367
 
_ACEOF
24368
 
 
24369
 
 
24370
 
ac_delim='%!_!# '
24371
 
for ac_last_try in false false false false false :; do
24372
 
  cat >conf$$subs.sed <<_ACEOF
24373
 
am__quote!$am__quote$ac_delim
24374
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
24375
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
24376
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
24377
 
CCDEPMODE!$CCDEPMODE$ac_delim
24378
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
24379
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
24380
 
DATADIRNAME!$DATADIRNAME$ac_delim
24381
 
build!$build$ac_delim
24382
 
build_cpu!$build_cpu$ac_delim
24383
 
build_vendor!$build_vendor$ac_delim
24384
 
build_os!$build_os$ac_delim
24385
 
host!$host$ac_delim
24386
 
host_cpu!$host_cpu$ac_delim
24387
 
host_vendor!$host_vendor$ac_delim
24388
 
host_os!$host_os$ac_delim
24389
 
SED!$SED$ac_delim
24390
 
GREP!$GREP$ac_delim
24391
 
EGREP!$EGREP$ac_delim
24392
 
LN_S!$LN_S$ac_delim
24393
 
ECHO!$ECHO$ac_delim
24394
 
AR!$AR$ac_delim
24395
 
RANLIB!$RANLIB$ac_delim
24396
 
DSYMUTIL!$DSYMUTIL$ac_delim
24397
 
NMEDIT!$NMEDIT$ac_delim
24398
 
CPP!$CPP$ac_delim
24399
 
CXX!$CXX$ac_delim
24400
 
CXXFLAGS!$CXXFLAGS$ac_delim
24401
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
24402
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
24403
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
24404
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
24405
 
CXXCPP!$CXXCPP$ac_delim
24406
 
F77!$F77$ac_delim
24407
 
FFLAGS!$FFLAGS$ac_delim
24408
 
ac_ct_F77!$ac_ct_F77$ac_delim
24409
 
LIBTOOL!$LIBTOOL$ac_delim
24410
 
USE_NLS!$USE_NLS$ac_delim
24411
 
MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
24412
 
GMSGFMT!$GMSGFMT$ac_delim
24413
 
CATALOGS!$CATALOGS$ac_delim
24414
 
CATOBJEXT!$CATOBJEXT$ac_delim
24415
 
GMOFILES!$GMOFILES$ac_delim
24416
 
INSTOBJEXT!$INSTOBJEXT$ac_delim
24417
 
INTLLIBS!$INTLLIBS$ac_delim
24418
 
PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
24419
 
PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
24420
 
POFILES!$POFILES$ac_delim
24421
 
POSUB!$POSUB$ac_delim
24422
 
MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
24423
 
GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
24424
 
PKG_CONFIG!$PKG_CONFIG$ac_delim
24425
 
GNOME_CFLAGS!$GNOME_CFLAGS$ac_delim
24426
 
GNOME_LIBS!$GNOME_LIBS$ac_delim
24427
 
GNOME14_CFLAGS!$GNOME14_CFLAGS$ac_delim
24428
 
GNOME14_LIBS!$GNOME14_LIBS$ac_delim
24429
 
GNOME_14!$GNOME_14$ac_delim
24430
 
LIRC!$LIRC$ac_delim
24431
 
GSTREAMER_CFLAGS!$GSTREAMER_CFLAGS$ac_delim
24432
 
GSTREAMER_LIBS!$GSTREAMER_LIBS$ac_delim
24433
 
HELP_DIR!$HELP_DIR$ac_delim
24434
 
OMF_DIR!$OMF_DIR$ac_delim
24435
 
DOC_USER_FORMATS!$DOC_USER_FORMATS$ac_delim
24436
 
ENABLE_SK_TRUE!$ENABLE_SK_TRUE$ac_delim
24437
 
ENABLE_SK_FALSE!$ENABLE_SK_FALSE$ac_delim
24438
 
DISTCHECK_CONFIGURE_FLAGS!$DISTCHECK_CONFIGURE_FLAGS$ac_delim
24439
 
HAVE_GNOME_DOC_UTILS_TRUE!$HAVE_GNOME_DOC_UTILS_TRUE$ac_delim
24440
 
HAVE_GNOME_DOC_UTILS_FALSE!$HAVE_GNOME_DOC_UTILS_FALSE$ac_delim
24441
 
GCONFTOOL!$GCONFTOOL$ac_delim
24442
 
GCONF_SCHEMA_CONFIG_SOURCE!$GCONF_SCHEMA_CONFIG_SOURCE$ac_delim
24443
 
GCONF_SCHEMA_FILE_DIR!$GCONF_SCHEMA_FILE_DIR$ac_delim
24444
 
GCONF_SCHEMAS_INSTALL_TRUE!$GCONF_SCHEMAS_INSTALL_TRUE$ac_delim
24445
 
GCONF_SCHEMAS_INSTALL_FALSE!$GCONF_SCHEMAS_INSTALL_FALSE$ac_delim
24446
 
INSTALL_SCHEMAS_TRUE!$INSTALL_SCHEMAS_TRUE$ac_delim
24447
 
INSTALL_SCHEMAS_FALSE!$INSTALL_SCHEMAS_FALSE$ac_delim
24448
 
LIBOBJS!$LIBOBJS$ac_delim
24449
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
24450
 
_ACEOF
24451
 
 
24452
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 77; then
24453
 
    break
24454
 
  elif $ac_last_try; then
24455
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24456
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24457
 
   { (exit 1); exit 1; }; }
24458
 
  else
24459
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24460
 
  fi
24461
 
done
24462
 
 
24463
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24464
 
if test -n "$ac_eof"; then
24465
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24466
 
  ac_eof=`expr $ac_eof + 1`
24467
 
fi
24468
 
 
24469
 
cat >>$CONFIG_STATUS <<_ACEOF
24470
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
24471
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
24472
 
_ACEOF
24473
 
sed '
24474
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24475
 
s/^/s,@/; s/!/@,|#_!!_#|/
24476
 
:n
24477
 
t n
24478
 
s/'"$ac_delim"'$/,g/; t
24479
 
s/$/\\/; p
24480
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24481
 
' >>$CONFIG_STATUS <conf$$subs.sed
24482
 
rm -f conf$$subs.sed
24483
 
cat >>$CONFIG_STATUS <<_ACEOF
24484
 
:end
24485
 
s/|#_!!_#|//g
24486
 
CEOF$ac_eof
24487
 
_ACEOF
24488
 
 
24489
 
 
24490
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
24491
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24492
 
# trailing colons and then remove the whole line if VPATH becomes empty
24493
 
# (actually we leave an empty line to preserve line numbers).
24494
 
if test "x$srcdir" = x.; then
24495
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
24496
 
s/:*\$(srcdir):*/:/
24497
 
s/:*\${srcdir}:*/:/
24498
 
s/:*@srcdir@:*/:/
24499
 
s/^\([^=]*=[     ]*\):*/\1/
24500
 
s/:*$//
24501
 
s/^[^=]*=[       ]*$//
24502
 
}'
24503
 
fi
24504
 
 
24505
 
cat >>$CONFIG_STATUS <<\_ACEOF
24506
 
fi # test -n "$CONFIG_FILES"
24507
 
 
24508
 
 
24509
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
24510
 
do
24511
 
  case $ac_tag in
24512
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
24513
 
  esac
24514
 
  case $ac_mode$ac_tag in
24515
 
  :[FHL]*:*);;
24516
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
24517
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
24518
 
   { (exit 1); exit 1; }; };;
24519
 
  :[FH]-) ac_tag=-:-;;
24520
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24521
 
  esac
24522
 
  ac_save_IFS=$IFS
24523
 
  IFS=:
24524
 
  set x $ac_tag
24525
 
  IFS=$ac_save_IFS
24526
 
  shift
24527
 
  ac_file=$1
24528
 
  shift
24529
 
 
24530
 
  case $ac_mode in
24531
 
  :L) ac_source=$1;;
24532
 
  :[FH])
24533
 
    ac_file_inputs=
24534
 
    for ac_f
24535
 
    do
24536
 
      case $ac_f in
24537
 
      -) ac_f="$tmp/stdin";;
24538
 
      *) # Look for the file first in the build tree, then in the source tree
24539
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
24540
 
         # because $ac_f cannot contain `:'.
24541
 
         test -f "$ac_f" ||
24542
 
           case $ac_f in
24543
 
           [\\/$]*) false;;
24544
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24545
 
           esac ||
24546
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
24547
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
24548
 
   { (exit 1); exit 1; }; };;
24549
 
      esac
24550
 
      ac_file_inputs="$ac_file_inputs $ac_f"
24551
 
    done
24552
 
 
24553
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
24554
 
    # use $as_me), people would be surprised to read:
24555
 
    #    /* config.h.  Generated by config.status.  */
24556
 
    configure_input="Generated from "`IFS=:
24557
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
24558
 
    if test x"$ac_file" != x-; then
24559
 
      configure_input="$ac_file.  $configure_input"
24560
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
24561
 
echo "$as_me: creating $ac_file" >&6;}
24562
 
    fi
24563
 
 
24564
 
    case $ac_tag in
24565
 
    *:-:* | *:-) cat >"$tmp/stdin";;
24566
 
    esac
24567
 
    ;;
24568
 
  esac
24569
 
 
24570
 
  ac_dir=`$as_dirname -- "$ac_file" ||
24571
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24572
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
24573
 
         X"$ac_file" : 'X\(//\)$' \| \
24574
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24575
 
echo X"$ac_file" |
24576
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24577
 
            s//\1/
24578
 
            q
24579
 
          }
24580
 
          /^X\(\/\/\)[^/].*/{
24581
 
            s//\1/
24582
 
            q
24583
 
          }
24584
 
          /^X\(\/\/\)$/{
24585
 
            s//\1/
24586
 
            q
24587
 
          }
24588
 
          /^X\(\/\).*/{
24589
 
            s//\1/
24590
 
            q
24591
 
          }
24592
 
          s/.*/./; q'`
24593
 
  { as_dir="$ac_dir"
24594
 
  case $as_dir in #(
24595
 
  -*) as_dir=./$as_dir;;
24596
 
  esac
24597
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
24598
 
    as_dirs=
24599
 
    while :; do
24600
 
      case $as_dir in #(
24601
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
24602
 
      *) as_qdir=$as_dir;;
24603
 
      esac
24604
 
      as_dirs="'$as_qdir' $as_dirs"
24605
 
      as_dir=`$as_dirname -- "$as_dir" ||
24606
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24607
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
24608
 
         X"$as_dir" : 'X\(//\)$' \| \
24609
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24610
 
echo X"$as_dir" |
24611
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24612
 
            s//\1/
24613
 
            q
24614
 
          }
24615
 
          /^X\(\/\/\)[^/].*/{
24616
 
            s//\1/
24617
 
            q
24618
 
          }
24619
 
          /^X\(\/\/\)$/{
24620
 
            s//\1/
24621
 
            q
24622
 
          }
24623
 
          /^X\(\/\).*/{
24624
 
            s//\1/
24625
 
            q
24626
 
          }
24627
 
          s/.*/./; q'`
24628
 
      test -d "$as_dir" && break
24629
 
    done
24630
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
24631
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24632
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
24633
 
   { (exit 1); exit 1; }; }; }
24634
 
  ac_builddir=.
24635
 
 
24636
 
case "$ac_dir" in
24637
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24638
 
*)
24639
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24640
 
  # A ".." for each directory in $ac_dir_suffix.
24641
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
24642
 
  case $ac_top_builddir_sub in
24643
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24644
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24645
 
  esac ;;
24646
 
esac
24647
 
ac_abs_top_builddir=$ac_pwd
24648
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
24649
 
# for backward compatibility:
24650
 
ac_top_builddir=$ac_top_build_prefix
24651
 
 
24652
 
case $srcdir in
24653
 
  .)  # We are building in place.
24654
 
    ac_srcdir=.
24655
 
    ac_top_srcdir=$ac_top_builddir_sub
24656
 
    ac_abs_top_srcdir=$ac_pwd ;;
24657
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
24658
 
    ac_srcdir=$srcdir$ac_dir_suffix;
24659
 
    ac_top_srcdir=$srcdir
24660
 
    ac_abs_top_srcdir=$srcdir ;;
24661
 
  *) # Relative name.
24662
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24663
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
24664
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24665
 
esac
24666
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24667
 
 
24668
 
 
24669
 
  case $ac_mode in
24670
 
  :F)
24671
 
  #
24672
 
  # CONFIG_FILE
24673
 
  #
24674
 
 
24675
 
  case $INSTALL in
24676
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24677
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
24678
 
  esac
24679
 
_ACEOF
24680
 
 
24681
 
cat >>$CONFIG_STATUS <<\_ACEOF
24682
 
# If the template does not know about datarootdir, expand it.
24683
 
# FIXME: This hack should be removed a few years after 2.60.
24684
 
ac_datarootdir_hack=; ac_datarootdir_seen=
24685
 
 
24686
 
case `sed -n '/datarootdir/ {
24687
 
  p
24688
 
  q
24689
 
}
24690
 
/@datadir@/p
24691
 
/@docdir@/p
24692
 
/@infodir@/p
24693
 
/@localedir@/p
24694
 
/@mandir@/p
24695
 
' $ac_file_inputs` in
24696
 
*datarootdir*) ac_datarootdir_seen=yes;;
24697
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
24698
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24699
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24700
 
_ACEOF
24701
 
cat >>$CONFIG_STATUS <<_ACEOF
24702
 
  ac_datarootdir_hack='
24703
 
  s&@datadir@&$datadir&g
24704
 
  s&@docdir@&$docdir&g
24705
 
  s&@infodir@&$infodir&g
24706
 
  s&@localedir@&$localedir&g
24707
 
  s&@mandir@&$mandir&g
24708
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
24709
 
esac
24710
 
_ACEOF
24711
 
 
24712
 
# Neutralize VPATH when `$srcdir' = `.'.
24713
 
# Shell code in configure.ac might set extrasub.
24714
 
# FIXME: do we really want to maintain this feature?
24715
 
cat >>$CONFIG_STATUS <<_ACEOF
24716
 
  sed "$ac_vpsub
24717
 
$extrasub
24718
 
_ACEOF
24719
 
cat >>$CONFIG_STATUS <<\_ACEOF
24720
 
:t
24721
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24722
 
s&@configure_input@&$configure_input&;t t
24723
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
24724
 
s&@srcdir@&$ac_srcdir&;t t
24725
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
24726
 
s&@top_srcdir@&$ac_top_srcdir&;t t
24727
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
24728
 
s&@builddir@&$ac_builddir&;t t
24729
 
s&@abs_builddir@&$ac_abs_builddir&;t t
24730
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
24731
 
s&@INSTALL@&$ac_INSTALL&;t t
24732
 
$ac_datarootdir_hack
24733
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
24734
 
 
24735
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24736
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
24737
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
24738
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24739
 
which seems to be undefined.  Please make sure it is defined." >&5
24740
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24741
 
which seems to be undefined.  Please make sure it is defined." >&2;}
24742
 
 
24743
 
  rm -f "$tmp/stdin"
24744
 
  case $ac_file in
24745
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
24746
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
24747
 
  esac
24748
 
 ;;
24749
 
  :H)
24750
 
  #
24751
 
  # CONFIG_HEADER
24752
 
  #
24753
 
_ACEOF
24754
 
 
24755
 
# Transform confdefs.h into a sed script `conftest.defines', that
24756
 
# substitutes the proper values into config.h.in to produce config.h.
24757
 
rm -f conftest.defines conftest.tail
24758
 
# First, append a space to every undef/define line, to ease matching.
24759
 
echo 's/$/ /' >conftest.defines
24760
 
# Then, protect against being on the right side of a sed subst, or in
24761
 
# an unquoted here document, in config.status.  If some macros were
24762
 
# called several times there might be several #defines for the same
24763
 
# symbol, which is useless.  But do not sort them, since the last
24764
 
# AC_DEFINE must be honored.
24765
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24766
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
24767
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
24768
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
24769
 
# just an empty string.
24770
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
24771
 
ac_dB='\\)[      (].*,\\1define\\2'
24772
 
ac_dC=' '
24773
 
ac_dD=' ,'
24774
 
 
24775
 
uniq confdefs.h |
24776
 
  sed -n '
24777
 
        t rset
24778
 
        :rset
24779
 
        s/^[     ]*#[    ]*define[       ][      ]*//
24780
 
        t ok
24781
 
        d
24782
 
        :ok
24783
 
        s/[\\&,]/\\&/g
24784
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
24785
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
24786
 
  ' >>conftest.defines
24787
 
 
24788
 
# Remove the space that was appended to ease matching.
24789
 
# Then replace #undef with comments.  This is necessary, for
24790
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
24791
 
# on some systems where configure will not decide to define it.
24792
 
# (The regexp can be short, since the line contains either #define or #undef.)
24793
 
echo 's/ $//
24794
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
24795
 
 
24796
 
# Break up conftest.defines:
24797
 
ac_max_sed_lines=50
24798
 
 
24799
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
24800
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
24801
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
24802
 
# et cetera.
24803
 
ac_in='$ac_file_inputs'
24804
 
ac_out='"$tmp/out1"'
24805
 
ac_nxt='"$tmp/out2"'
24806
 
 
24807
 
while :
24808
 
do
24809
 
  # Write a here document:
24810
 
    cat >>$CONFIG_STATUS <<_ACEOF
24811
 
    # First, check the format of the line:
24812
 
    cat >"\$tmp/defines.sed" <<\\CEOF
24813
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
24814
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
24815
 
b
24816
 
:def
24817
 
_ACEOF
24818
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
24819
 
  echo 'CEOF
24820
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24821
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
24822
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
24823
 
  grep . conftest.tail >/dev/null || break
24824
 
  rm -f conftest.defines
24825
 
  mv conftest.tail conftest.defines
24826
 
done
24827
 
rm -f conftest.defines conftest.tail
24828
 
 
24829
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
24830
 
cat >>$CONFIG_STATUS <<\_ACEOF
24831
 
  if test x"$ac_file" != x-; then
24832
 
    echo "/* $configure_input  */" >"$tmp/config.h"
24833
 
    cat "$ac_result" >>"$tmp/config.h"
24834
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
24835
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24836
 
echo "$as_me: $ac_file is unchanged" >&6;}
24837
 
    else
24838
 
      rm -f $ac_file
24839
 
      mv "$tmp/config.h" $ac_file
24840
 
    fi
24841
 
  else
24842
 
    echo "/* $configure_input  */"
24843
 
    cat "$ac_result"
24844
 
  fi
24845
 
  rm -f "$tmp/out12"
24846
 
# Compute $ac_file's index in $config_headers.
24847
 
_am_stamp_count=1
24848
 
for _am_header in $config_headers :; do
24849
 
  case $_am_header in
24850
 
    $ac_file | $ac_file:* )
24851
 
      break ;;
24852
 
    * )
24853
 
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
24854
 
  esac
24855
 
done
24856
 
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
24857
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24858
 
         X$ac_file : 'X\(//\)[^/]' \| \
24859
 
         X$ac_file : 'X\(//\)$' \| \
24860
 
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
24861
 
echo X$ac_file |
24862
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24863
 
            s//\1/
24864
 
            q
24865
 
          }
24866
 
          /^X\(\/\/\)[^/].*/{
24867
 
            s//\1/
24868
 
            q
24869
 
          }
24870
 
          /^X\(\/\/\)$/{
24871
 
            s//\1/
24872
 
            q
24873
 
          }
24874
 
          /^X\(\/\).*/{
24875
 
            s//\1/
24876
 
            q
24877
 
          }
24878
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
24879
 
 ;;
24880
 
 
24881
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24882
 
echo "$as_me: executing $ac_file commands" >&6;}
24883
 
 ;;
24884
 
  esac
24885
 
 
24886
 
 
24887
 
  case $ac_file$ac_mode in
24888
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
24889
 
  # Strip MF so we end up with the name of the file.
24890
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
24891
 
  # Check whether this is an Automake generated Makefile or not.
24892
 
  # We used to match only the files named `Makefile.in', but
24893
 
  # some people rename them; so instead we look at the file content.
24894
 
  # Grep'ing the first line is not enough: some people post-process
24895
 
  # each Makefile.in and add a new line on top of each file to say so.
24896
 
  # So let's grep whole file.
24897
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
24898
 
    dirpart=`$as_dirname -- "$mf" ||
24899
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24900
 
         X"$mf" : 'X\(//\)[^/]' \| \
24901
 
         X"$mf" : 'X\(//\)$' \| \
24902
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
24903
 
echo X"$mf" |
24904
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24905
 
            s//\1/
24906
 
            q
24907
 
          }
24908
 
          /^X\(\/\/\)[^/].*/{
24909
 
            s//\1/
24910
 
            q
24911
 
          }
24912
 
          /^X\(\/\/\)$/{
24913
 
            s//\1/
24914
 
            q
24915
 
          }
24916
 
          /^X\(\/\).*/{
24917
 
            s//\1/
24918
 
            q
24919
 
          }
24920
 
          s/.*/./; q'`
24921
 
  else
24922
 
    continue
24923
 
  fi
24924
 
  # Extract the definition of DEPDIR, am__include, and am__quote
24925
 
  # from the Makefile without running `make'.
24926
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
24927
 
  test -z "$DEPDIR" && continue
24928
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
24929
 
  test -z "am__include" && continue
24930
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
24931
 
  # When using ansi2knr, U may be empty or an underscore; expand it
24932
 
  U=`sed -n 's/^U = //p' < "$mf"`
24933
 
  # Find all dependency output files, they are included files with
24934
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
24935
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
24936
 
  # expansion.
24937
 
  for file in `sed -n "
24938
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
24939
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
24940
 
    # Make sure the directory exists.
24941
 
    test -f "$dirpart/$file" && continue
24942
 
    fdir=`$as_dirname -- "$file" ||
24943
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24944
 
         X"$file" : 'X\(//\)[^/]' \| \
24945
 
         X"$file" : 'X\(//\)$' \| \
24946
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
24947
 
echo X"$file" |
24948
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24949
 
            s//\1/
24950
 
            q
24951
 
          }
24952
 
          /^X\(\/\/\)[^/].*/{
24953
 
            s//\1/
24954
 
            q
24955
 
          }
24956
 
          /^X\(\/\/\)$/{
24957
 
            s//\1/
24958
 
            q
24959
 
          }
24960
 
          /^X\(\/\).*/{
24961
 
            s//\1/
24962
 
            q
24963
 
          }
24964
 
          s/.*/./; q'`
24965
 
    { as_dir=$dirpart/$fdir
24966
 
  case $as_dir in #(
24967
 
  -*) as_dir=./$as_dir;;
24968
 
  esac
24969
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
24970
 
    as_dirs=
24971
 
    while :; do
24972
 
      case $as_dir in #(
24973
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
24974
 
      *) as_qdir=$as_dir;;
24975
 
      esac
24976
 
      as_dirs="'$as_qdir' $as_dirs"
24977
 
      as_dir=`$as_dirname -- "$as_dir" ||
24978
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24979
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
24980
 
         X"$as_dir" : 'X\(//\)$' \| \
24981
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24982
 
echo X"$as_dir" |
24983
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24984
 
            s//\1/
24985
 
            q
24986
 
          }
24987
 
          /^X\(\/\/\)[^/].*/{
24988
 
            s//\1/
24989
 
            q
24990
 
          }
24991
 
          /^X\(\/\/\)$/{
24992
 
            s//\1/
24993
 
            q
24994
 
          }
24995
 
          /^X\(\/\).*/{
24996
 
            s//\1/
24997
 
            q
24998
 
          }
24999
 
          s/.*/./; q'`
25000
 
      test -d "$as_dir" && break
25001
 
    done
25002
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
25003
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25004
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
25005
 
   { (exit 1); exit 1; }; }; }
25006
 
    # echo "creating $dirpart/$file"
25007
 
    echo '# dummy' > "$dirpart/$file"
25008
 
  done
25009
 
done
25010
 
 ;;
25011
 
    "intltool":C)
25012
 
 
25013
 
for file in intltool-extract intltool-merge intltool-update; do
25014
 
  sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \
25015
 
      -e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \
25016
 
      -e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \
25017
 
        < ${ac_aux_dir}/${file}.in > ${file}.out
25018
 
  if cmp -s ${file} ${file}.out 2>/dev/null; then
25019
 
    rm -f ${file}.out
25020
 
  else
25021
 
    mv -f ${file}.out ${file}
25022
 
  fi
25023
 
  chmod ugo+x ${file}
25024
 
  chmod u+w ${file}
25025
 
done
25026
 
 
25027
 
 ;;
25028
 
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
25029
 
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
25030
 
      esac ;;
25031
 
    "po/stamp-it":C)
25032
 
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
25033
 
    >"po/stamp-it.tmp"
25034
 
    sed '/^#/d
25035
 
         s/^[[].*] *//
25036
 
         /^[    ]*$/d
25037
 
        '"s|^|  $ac_top_srcdir/|" \
25038
 
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
25039
 
 
25040
 
    if test ! -f "po/Makefile"; then
25041
 
      { { echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5
25042
 
echo "$as_me: error: po/Makefile is not ready." >&2;}
25043
 
   { (exit 1); exit 1; }; }
25044
 
    fi
25045
 
    mv "po/Makefile" "po/Makefile.tmp"
25046
 
    sed '/^POTFILES =/,/[^\\]$/ {
25047
 
                /^POTFILES =/!d
25048
 
                r po/POTFILES
25049
 
          }
25050
 
         ' "po/Makefile.tmp" >"po/Makefile"
25051
 
    rm -f "po/Makefile.tmp"
25052
 
    mv "po/stamp-it.tmp" "po/stamp-it"
25053
 
   ;;
25054
 
 
25055
 
  esac
25056
 
done # for ac_tag
25057
 
 
25058
 
 
25059
 
{ (exit 0); exit 0; }
25060
 
_ACEOF
25061
 
chmod +x $CONFIG_STATUS
25062
 
ac_clean_files=$ac_clean_files_save
25063
 
 
25064
 
 
25065
 
# configure is writing to config.log, and then calls config.status.
25066
 
# config.status does its own redirection, appending to config.log.
25067
 
# Unfortunately, on DOS this fails, as config.log is still kept open
25068
 
# by configure, so config.status won't be able to write to it; its
25069
 
# output is simply discarded.  So we exec the FD to /dev/null,
25070
 
# effectively closing config.log, so it can be properly (re)opened and
25071
 
# appended to by config.status.  When coming back to configure, we
25072
 
# need to make the FD available again.
25073
 
if test "$no_create" != yes; then
25074
 
  ac_cs_success=:
25075
 
  ac_config_status_args=
25076
 
  test "$silent" = yes &&
25077
 
    ac_config_status_args="$ac_config_status_args --quiet"
25078
 
  exec 5>/dev/null
25079
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25080
 
  exec 5>>config.log
25081
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25082
 
  # would make configure fail if this is the last instruction.
25083
 
  $ac_cs_success || { (exit 1); exit 1; }
25084
 
fi
25085