~gpredict-team/gpredict/gpredict-packaging

« back to all changes in this revision

Viewing changes to configure

  • Committer: Jan Simon
  • Date: 2011-12-04 19:31:47 UTC
  • Revision ID: jan.simon@gmx.de-20111204193147-qhwjxglv1f4i4442
rules: added autogen. Updated translation files

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.67.
4
 
#
5
 
#
6
 
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8
 
# Foundation, Inc.
9
 
#
10
 
#
11
 
# This configure script is free software; the Free Software Foundation
12
 
# gives unlimited permission to copy, distribute and modify it.
13
 
## -------------------- ##
14
 
## M4sh Initialization. ##
15
 
## -------------------- ##
16
 
 
17
 
# Be more Bourne compatible
18
 
DUALCASE=1; export DUALCASE # for MKS sh
19
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20
 
  emulate sh
21
 
  NULLCMD=:
22
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
 
  # is contrary to our usage.  Disable this feature.
24
 
  alias -g '${1+"$@"}'='"$@"'
25
 
  setopt NO_GLOB_SUBST
26
 
else
27
 
  case `(set -o) 2>/dev/null` in #(
28
 
  *posix*) :
29
 
    set -o posix ;; #(
30
 
  *) :
31
 
     ;;
32
 
esac
33
 
fi
34
 
 
35
 
 
36
 
as_nl='
37
 
'
38
 
export as_nl
39
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
 
# but without wasting forks for bash or zsh.
45
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47
 
  as_echo='print -r --'
48
 
  as_echo_n='print -rn --'
49
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
 
  as_echo='printf %s\n'
51
 
  as_echo_n='printf %s'
52
 
else
53
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
 
    as_echo_n='/usr/ucb/echo -n'
56
 
  else
57
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
 
    as_echo_n_body='eval
59
 
      arg=$1;
60
 
      case $arg in #(
61
 
      *"$as_nl"*)
62
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
63
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64
 
      esac;
65
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66
 
    '
67
 
    export as_echo_n_body
68
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
69
 
  fi
70
 
  export as_echo_body
71
 
  as_echo='sh -c $as_echo_body as_echo'
72
 
fi
73
 
 
74
 
# The user is always right.
75
 
if test "${PATH_SEPARATOR+set}" != set; then
76
 
  PATH_SEPARATOR=:
77
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79
 
      PATH_SEPARATOR=';'
80
 
  }
81
 
fi
82
 
 
83
 
 
84
 
# IFS
85
 
# We need space, tab and new line, in precisely that order.  Quoting is
86
 
# there to prevent editors from complaining about space-tab.
87
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
 
# splitting by setting IFS to empty value.)
89
 
IFS=" ""        $as_nl"
90
 
 
91
 
# Find who we are.  Look in the path if we contain no directory separator.
92
 
case $0 in #((
93
 
  *[\\/]* ) as_myself=$0 ;;
94
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95
 
for as_dir in $PATH
96
 
do
97
 
  IFS=$as_save_IFS
98
 
  test -z "$as_dir" && as_dir=.
99
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100
 
  done
101
 
IFS=$as_save_IFS
102
 
 
103
 
     ;;
104
 
esac
105
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
106
 
# in which case we are not to be found in the path.
107
 
if test "x$as_myself" = x; then
108
 
  as_myself=$0
109
 
fi
110
 
if test ! -f "$as_myself"; then
111
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112
 
  exit 1
113
 
fi
114
 
 
115
 
# Unset variables that we do not need and which cause bugs (e.g. in
116
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
117
 
# suppresses any "Segmentation fault" message there.  '((' could
118
 
# trigger a bug in pdksh 5.2.14.
119
 
for as_var in BASH_ENV ENV MAIL MAILPATH
120
 
do eval test x\${$as_var+set} = xset \
121
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122
 
done
123
 
PS1='$ '
124
 
PS2='> '
125
 
PS4='+ '
126
 
 
127
 
# NLS nuisances.
128
 
LC_ALL=C
129
 
export LC_ALL
130
 
LANGUAGE=C
131
 
export LANGUAGE
132
 
 
133
 
# CDPATH.
134
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
 
 
136
 
if test "x$CONFIG_SHELL" = x; then
137
 
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138
 
  emulate sh
139
 
  NULLCMD=:
140
 
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141
 
  # is contrary to our usage.  Disable this feature.
142
 
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
143
 
  setopt NO_GLOB_SUBST
144
 
else
145
 
  case \`(set -o) 2>/dev/null\` in #(
146
 
  *posix*) :
147
 
    set -o posix ;; #(
148
 
  *) :
149
 
     ;;
150
 
esac
151
 
fi
152
 
"
153
 
  as_required="as_fn_return () { (exit \$1); }
154
 
as_fn_success () { as_fn_return 0; }
155
 
as_fn_failure () { as_fn_return 1; }
156
 
as_fn_ret_success () { return 0; }
157
 
as_fn_ret_failure () { return 1; }
158
 
 
159
 
exitcode=0
160
 
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161
 
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162
 
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163
 
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164
 
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165
 
 
166
 
else
167
 
  exitcode=1; echo positional parameters were not saved.
168
 
fi
169
 
test x\$exitcode = x0 || exit 1"
170
 
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171
 
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
 
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
 
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174
 
test \$(( 1 + 1 )) = 2 || exit 1"
175
 
  if (eval "$as_required") 2>/dev/null; then :
176
 
  as_have_required=yes
177
 
else
178
 
  as_have_required=no
179
 
fi
180
 
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181
 
 
182
 
else
183
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184
 
as_found=false
185
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186
 
do
187
 
  IFS=$as_save_IFS
188
 
  test -z "$as_dir" && as_dir=.
189
 
  as_found=:
190
 
  case $as_dir in #(
191
 
         /*)
192
 
           for as_base in sh bash ksh sh5; do
193
 
             # Try only shells that exist, to save several forks.
194
 
             as_shell=$as_dir/$as_base
195
 
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196
 
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197
 
  CONFIG_SHELL=$as_shell as_have_required=yes
198
 
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199
 
  break 2
200
 
fi
201
 
fi
202
 
           done;;
203
 
       esac
204
 
  as_found=false
205
 
done
206
 
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207
 
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208
 
  CONFIG_SHELL=$SHELL as_have_required=yes
209
 
fi; }
210
 
IFS=$as_save_IFS
211
 
 
212
 
 
213
 
      if test "x$CONFIG_SHELL" != x; then :
214
 
  # We cannot yet assume a decent shell, so we have to provide a
215
 
        # neutralization value for shells without unset; and this also
216
 
        # works around shells that cannot unset nonexistent variables.
217
 
        BASH_ENV=/dev/null
218
 
        ENV=/dev/null
219
 
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220
 
        export CONFIG_SHELL
221
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222
 
fi
223
 
 
224
 
    if test x$as_have_required = xno; then :
225
 
  $as_echo "$0: This script requires a shell more modern than all"
226
 
  $as_echo "$0: the shells that I found on your system."
227
 
  if test x${ZSH_VERSION+set} = xset ; then
228
 
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229
 
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230
 
  else
231
 
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232
 
$0: including any error possibly output before this
233
 
$0: message. Then install a modern shell, or manually run
234
 
$0: the script under such a shell if you do have one."
235
 
  fi
236
 
  exit 1
237
 
fi
238
 
fi
239
 
fi
240
 
SHELL=${CONFIG_SHELL-/bin/sh}
241
 
export SHELL
242
 
# Unset more variables known to interfere with behavior of common tools.
243
 
CLICOLOR_FORCE= GREP_OPTIONS=
244
 
unset CLICOLOR_FORCE GREP_OPTIONS
245
 
 
246
 
## --------------------- ##
247
 
## M4sh Shell Functions. ##
248
 
## --------------------- ##
249
 
# as_fn_unset VAR
250
 
# ---------------
251
 
# Portably unset VAR.
252
 
as_fn_unset ()
253
 
{
254
 
  { eval $1=; unset $1;}
255
 
}
256
 
as_unset=as_fn_unset
257
 
 
258
 
# as_fn_set_status STATUS
259
 
# -----------------------
260
 
# Set $? to STATUS, without forking.
261
 
as_fn_set_status ()
262
 
{
263
 
  return $1
264
 
} # as_fn_set_status
265
 
 
266
 
# as_fn_exit STATUS
267
 
# -----------------
268
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
269
 
as_fn_exit ()
270
 
{
271
 
  set +e
272
 
  as_fn_set_status $1
273
 
  exit $1
274
 
} # as_fn_exit
275
 
 
276
 
# as_fn_mkdir_p
277
 
# -------------
278
 
# Create "$as_dir" as a directory, including parents if necessary.
279
 
as_fn_mkdir_p ()
280
 
{
281
 
 
282
 
  case $as_dir in #(
283
 
  -*) as_dir=./$as_dir;;
284
 
  esac
285
 
  test -d "$as_dir" || eval $as_mkdir_p || {
286
 
    as_dirs=
287
 
    while :; do
288
 
      case $as_dir in #(
289
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290
 
      *) as_qdir=$as_dir;;
291
 
      esac
292
 
      as_dirs="'$as_qdir' $as_dirs"
293
 
      as_dir=`$as_dirname -- "$as_dir" ||
294
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
296
 
         X"$as_dir" : 'X\(//\)$' \| \
297
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298
 
$as_echo X"$as_dir" |
299
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
300
 
            s//\1/
301
 
            q
302
 
          }
303
 
          /^X\(\/\/\)[^/].*/{
304
 
            s//\1/
305
 
            q
306
 
          }
307
 
          /^X\(\/\/\)$/{
308
 
            s//\1/
309
 
            q
310
 
          }
311
 
          /^X\(\/\).*/{
312
 
            s//\1/
313
 
            q
314
 
          }
315
 
          s/.*/./; q'`
316
 
      test -d "$as_dir" && break
317
 
    done
318
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
319
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
320
 
 
321
 
 
322
 
} # as_fn_mkdir_p
323
 
# as_fn_append VAR VALUE
324
 
# ----------------------
325
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
326
 
# advantage of any shell optimizations that allow amortized linear growth over
327
 
# repeated appends, instead of the typical quadratic growth present in naive
328
 
# implementations.
329
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330
 
  eval 'as_fn_append ()
331
 
  {
332
 
    eval $1+=\$2
333
 
  }'
334
 
else
335
 
  as_fn_append ()
336
 
  {
337
 
    eval $1=\$$1\$2
338
 
  }
339
 
fi # as_fn_append
340
 
 
341
 
# as_fn_arith ARG...
342
 
# ------------------
343
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
344
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
345
 
# must be portable across $(()) and expr.
346
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
347
 
  eval 'as_fn_arith ()
348
 
  {
349
 
    as_val=$(( $* ))
350
 
  }'
351
 
else
352
 
  as_fn_arith ()
353
 
  {
354
 
    as_val=`expr "$@" || test $? -eq 1`
355
 
  }
356
 
fi # as_fn_arith
357
 
 
358
 
 
359
 
# as_fn_error STATUS ERROR [LINENO LOG_FD]
360
 
# ----------------------------------------
361
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363
 
# script with STATUS, using 1 if that was 0.
364
 
as_fn_error ()
365
 
{
366
 
  as_status=$1; test $as_status -eq 0 && as_status=1
367
 
  if test "$4"; then
368
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
370
 
  fi
371
 
  $as_echo "$as_me: error: $2" >&2
372
 
  as_fn_exit $as_status
373
 
} # as_fn_error
374
 
 
375
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
376
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
377
 
  as_expr=expr
378
 
else
379
 
  as_expr=false
380
 
fi
381
 
 
382
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
383
 
  as_basename=basename
384
 
else
385
 
  as_basename=false
386
 
fi
387
 
 
388
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
389
 
  as_dirname=dirname
390
 
else
391
 
  as_dirname=false
392
 
fi
393
 
 
394
 
as_me=`$as_basename -- "$0" ||
395
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396
 
         X"$0" : 'X\(//\)$' \| \
397
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398
 
$as_echo X/"$0" |
399
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
400
 
            s//\1/
401
 
            q
402
 
          }
403
 
          /^X\/\(\/\/\)$/{
404
 
            s//\1/
405
 
            q
406
 
          }
407
 
          /^X\/\(\/\).*/{
408
 
            s//\1/
409
 
            q
410
 
          }
411
 
          s/.*/./; q'`
412
 
 
413
 
# Avoid depending upon Character Ranges.
414
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417
 
as_cr_digits='0123456789'
418
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
419
 
 
420
 
 
421
 
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
422
 
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
423
 
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424
 
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425
 
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
426
 
  sed -n '
427
 
    p
428
 
    /[$]LINENO/=
429
 
  ' <$as_myself |
430
 
    sed '
431
 
      s/[$]LINENO.*/&-/
432
 
      t lineno
433
 
      b
434
 
      :lineno
435
 
      N
436
 
      :loop
437
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438
 
      t loop
439
 
      s/-\n.*//
440
 
    ' >$as_me.lineno &&
441
 
  chmod +x "$as_me.lineno" ||
442
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443
 
 
444
 
  # Don't try to exec as it changes $[0], causing all sort of problems
445
 
  # (the dirname of $[0] is not the place where we might find the
446
 
  # original and so on.  Autoconf is especially sensitive to this).
447
 
  . "./$as_me.lineno"
448
 
  # Exit status is that of the last command.
449
 
  exit
450
 
}
451
 
 
452
 
ECHO_C= ECHO_N= ECHO_T=
453
 
case `echo -n x` in #(((((
454
 
-n*)
455
 
  case `echo 'xy\c'` in
456
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
457
 
  xy)  ECHO_C='\c';;
458
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
459
 
       ECHO_T=' ';;
460
 
  esac;;
461
 
*)
462
 
  ECHO_N='-n';;
463
 
esac
464
 
 
465
 
rm -f conf$$ conf$$.exe conf$$.file
466
 
if test -d conf$$.dir; then
467
 
  rm -f conf$$.dir/conf$$.file
468
 
else
469
 
  rm -f conf$$.dir
470
 
  mkdir conf$$.dir 2>/dev/null
471
 
fi
472
 
if (echo >conf$$.file) 2>/dev/null; then
473
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
474
 
    as_ln_s='ln -s'
475
 
    # ... but there are two gotchas:
476
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478
 
    # In both cases, we have to default to `cp -p'.
479
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480
 
      as_ln_s='cp -p'
481
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
482
 
    as_ln_s=ln
483
 
  else
484
 
    as_ln_s='cp -p'
485
 
  fi
486
 
else
487
 
  as_ln_s='cp -p'
488
 
fi
489
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490
 
rmdir conf$$.dir 2>/dev/null
491
 
 
492
 
if mkdir -p . 2>/dev/null; then
493
 
  as_mkdir_p='mkdir -p "$as_dir"'
494
 
else
495
 
  test -d ./-p && rmdir ./-p
496
 
  as_mkdir_p=false
497
 
fi
498
 
 
499
 
if test -x / >/dev/null 2>&1; then
500
 
  as_test_x='test -x'
501
 
else
502
 
  if ls -dL / >/dev/null 2>&1; then
503
 
    as_ls_L_option=L
504
 
  else
505
 
    as_ls_L_option=
506
 
  fi
507
 
  as_test_x='
508
 
    eval sh -c '\''
509
 
      if test -d "$1"; then
510
 
        test -d "$1/.";
511
 
      else
512
 
        case $1 in #(
513
 
        -*)set "./$1";;
514
 
        esac;
515
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516
 
        ???[sx]*):;;*)false;;esac;fi
517
 
    '\'' sh
518
 
  '
519
 
fi
520
 
as_executable_p=$as_test_x
521
 
 
522
 
# Sed expression to map a string onto a valid CPP name.
523
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524
 
 
525
 
# Sed expression to map a string onto a valid variable name.
526
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
 
 
528
 
 
529
 
 
530
 
# Check that we are running under the correct shell.
531
 
SHELL=${CONFIG_SHELL-/bin/sh}
532
 
 
533
 
case X$lt_ECHO in
534
 
X*--fallback-echo)
535
 
  # Remove one level of quotation (which was required for Make).
536
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
537
 
  ;;
538
 
esac
539
 
 
540
 
ECHO=${lt_ECHO-echo}
541
 
if test "X$1" = X--no-reexec; then
542
 
  # Discard the --no-reexec flag, and continue.
543
 
  shift
544
 
elif test "X$1" = X--fallback-echo; then
545
 
  # Avoid inline document here, it may be left over
546
 
  :
547
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548
 
  # Yippee, $ECHO works!
549
 
  :
550
 
else
551
 
  # Restart under the correct shell.
552
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
553
 
fi
554
 
 
555
 
if test "X$1" = X--fallback-echo; then
556
 
  # used as fallback echo
557
 
  shift
558
 
  cat <<_LT_EOF
559
 
$*
560
 
_LT_EOF
561
 
  exit 0
562
 
fi
563
 
 
564
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
565
 
# if CDPATH is set.
566
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
567
 
 
568
 
if test -z "$lt_ECHO"; then
569
 
  if test "X${echo_test_string+set}" != Xset; then
570
 
    # find a string as large as possible, as long as the shell can cope with it
571
 
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
574
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
575
 
      then
576
 
        break
577
 
      fi
578
 
    done
579
 
  fi
580
 
 
581
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
584
 
    :
585
 
  else
586
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
587
 
    # backslashes.  This makes it impossible to quote backslashes using
588
 
    #   echo "$something" | sed 's/\\/\\\\/g'
589
 
    #
590
 
    # So, first we look for a working echo in the user's PATH.
591
 
 
592
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
593
 
    for dir in $PATH /usr/ucb; do
594
 
      IFS="$lt_save_ifs"
595
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
596
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
599
 
        ECHO="$dir/echo"
600
 
        break
601
 
      fi
602
 
    done
603
 
    IFS="$lt_save_ifs"
604
 
 
605
 
    if test "X$ECHO" = Xecho; then
606
 
      # We didn't find a better echo, so look for alternatives.
607
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
610
 
        # This shell has a builtin print -r that does the trick.
611
 
        ECHO='print -r'
612
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
613
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
614
 
        # If we have ksh, try running configure again with it.
615
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
616
 
        export ORIGINAL_CONFIG_SHELL
617
 
        CONFIG_SHELL=/bin/ksh
618
 
        export CONFIG_SHELL
619
 
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
620
 
      else
621
 
        # Try using printf.
622
 
        ECHO='printf %s\n'
623
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
626
 
          # Cool, printf works
627
 
          :
628
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629
 
             test "X$echo_testing_string" = 'X\t' &&
630
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
632
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
633
 
          export CONFIG_SHELL
634
 
          SHELL="$CONFIG_SHELL"
635
 
          export SHELL
636
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
637
 
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638
 
             test "X$echo_testing_string" = 'X\t' &&
639
 
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
641
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
642
 
        else
643
 
          # maybe with a smaller string...
644
 
          prev=:
645
 
 
646
 
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
648
 
            then
649
 
              break
650
 
            fi
651
 
            prev="$cmd"
652
 
          done
653
 
 
654
 
          if test "$prev" != 'sed 50q "$0"'; then
655
 
            echo_test_string=`eval $prev`
656
 
            export echo_test_string
657
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
658
 
          else
659
 
            # Oops.  We lost completely, so just stick with echo.
660
 
            ECHO=echo
661
 
          fi
662
 
        fi
663
 
      fi
664
 
    fi
665
 
  fi
666
 
fi
667
 
 
668
 
# Copy echo and quote the copy suitably for passing to libtool from
669
 
# the Makefile, instead of quoting the original, which is used later.
670
 
lt_ECHO=$ECHO
671
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672
 
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
673
 
fi
674
 
 
675
 
 
676
 
 
677
 
 
678
 
test -n "$DJDIR" || exec 7<&0 </dev/null
679
 
exec 6>&1
680
 
 
681
 
# Name of the host.
682
 
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
683
 
# so uname gets run too.
684
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
685
 
 
686
 
#
687
 
# Initializations.
688
 
#
689
 
ac_default_prefix=/usr/local
690
 
ac_clean_files=
691
 
ac_config_libobj_dir=.
692
 
LIBOBJS=
693
 
cross_compiling=no
694
 
subdirs=
695
 
MFLAGS=
696
 
MAKEFLAGS=
697
 
 
698
 
# Identity of this package.
699
 
PACKAGE_NAME=
700
 
PACKAGE_TARNAME=
701
 
PACKAGE_VERSION=
702
 
PACKAGE_STRING=
703
 
PACKAGE_BUGREPORT=
704
 
PACKAGE_URL=
705
 
 
706
 
ac_unique_file="src/main.c"
707
 
# Factoring default headers for most tests.
708
 
ac_includes_default="\
709
 
#include <stdio.h>
710
 
#ifdef HAVE_SYS_TYPES_H
711
 
# include <sys/types.h>
712
 
#endif
713
 
#ifdef HAVE_SYS_STAT_H
714
 
# include <sys/stat.h>
715
 
#endif
716
 
#ifdef STDC_HEADERS
717
 
# include <stdlib.h>
718
 
# include <stddef.h>
719
 
#else
720
 
# ifdef HAVE_STDLIB_H
721
 
#  include <stdlib.h>
722
 
# endif
723
 
#endif
724
 
#ifdef HAVE_STRING_H
725
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
726
 
#  include <memory.h>
727
 
# endif
728
 
# include <string.h>
729
 
#endif
730
 
#ifdef HAVE_STRINGS_H
731
 
# include <strings.h>
732
 
#endif
733
 
#ifdef HAVE_INTTYPES_H
734
 
# include <inttypes.h>
735
 
#endif
736
 
#ifdef HAVE_STDINT_H
737
 
# include <stdint.h>
738
 
#endif
739
 
#ifdef HAVE_UNISTD_H
740
 
# include <unistd.h>
741
 
#endif"
742
 
 
743
 
ac_subst_vars='am__EXEEXT_FALSE
744
 
am__EXEEXT_TRUE
745
 
LTLIBOBJS
746
 
LIBOBJS
747
 
UPDATE_CACHES_FALSE
748
 
UPDATE_CACHES_TRUE
749
 
MKINSTALLDIRS
750
 
POSUB
751
 
POFILES
752
 
PO_IN_DATADIR_FALSE
753
 
PO_IN_DATADIR_TRUE
754
 
INTLLIBS
755
 
INSTOBJEXT
756
 
GMOFILES
757
 
CATOBJEXT
758
 
CATALOGS
759
 
MSGFMT_OPTS
760
 
GETTEXT_PACKAGE
761
 
PACKAGE_LIBS
762
 
PACKAGE_CFLAGS
763
 
PKG_CONFIG_LIBDIR
764
 
PKG_CONFIG_PATH
765
 
PKG_CONFIG
766
 
OTOOL64
767
 
OTOOL
768
 
LIPO
769
 
NMEDIT
770
 
DSYMUTIL
771
 
lt_ECHO
772
 
RANLIB
773
 
AR
774
 
OBJDUMP
775
 
LN_S
776
 
NM
777
 
ac_ct_DUMPBIN
778
 
DUMPBIN
779
 
LD
780
 
FGREP
781
 
SED
782
 
host_os
783
 
host_vendor
784
 
host_cpu
785
 
host
786
 
build_os
787
 
build_vendor
788
 
build_cpu
789
 
build
790
 
LIBTOOL
791
 
EGREP
792
 
GREP
793
 
CPP
794
 
DATADIRNAME
795
 
am__fastdepCC_FALSE
796
 
am__fastdepCC_TRUE
797
 
CCDEPMODE
798
 
AMDEPBACKSLASH
799
 
AMDEP_FALSE
800
 
AMDEP_TRUE
801
 
am__quote
802
 
am__include
803
 
DEPDIR
804
 
OBJEXT
805
 
EXEEXT
806
 
ac_ct_CC
807
 
CPPFLAGS
808
 
LDFLAGS
809
 
CFLAGS
810
 
CC
811
 
ALL_LINGUAS
812
 
INTLTOOL_PERL
813
 
GMSGFMT
814
 
MSGFMT
815
 
MSGMERGE
816
 
XGETTEXT
817
 
INTLTOOL_POLICY_RULE
818
 
INTLTOOL_SERVICE_RULE
819
 
INTLTOOL_THEME_RULE
820
 
INTLTOOL_SCHEMAS_RULE
821
 
INTLTOOL_CAVES_RULE
822
 
INTLTOOL_XML_NOMERGE_RULE
823
 
INTLTOOL_XML_RULE
824
 
INTLTOOL_KBD_RULE
825
 
INTLTOOL_XAM_RULE
826
 
INTLTOOL_UI_RULE
827
 
INTLTOOL_SOUNDLIST_RULE
828
 
INTLTOOL_SHEET_RULE
829
 
INTLTOOL_SERVER_RULE
830
 
INTLTOOL_PONG_RULE
831
 
INTLTOOL_OAF_RULE
832
 
INTLTOOL_PROP_RULE
833
 
INTLTOOL_KEYS_RULE
834
 
INTLTOOL_DIRECTORY_RULE
835
 
INTLTOOL_DESKTOP_RULE
836
 
INTLTOOL_EXTRACT
837
 
INTLTOOL_MERGE
838
 
INTLTOOL_UPDATE
839
 
USE_NLS
840
 
MAINT
841
 
MAINTAINER_MODE_FALSE
842
 
MAINTAINER_MODE_TRUE
843
 
am__untar
844
 
am__tar
845
 
AMTAR
846
 
am__leading_dot
847
 
SET_MAKE
848
 
AWK
849
 
mkdir_p
850
 
MKDIR_P
851
 
INSTALL_STRIP_PROGRAM
852
 
STRIP
853
 
install_sh
854
 
MAKEINFO
855
 
AUTOHEADER
856
 
AUTOMAKE
857
 
AUTOCONF
858
 
ACLOCAL
859
 
VERSION
860
 
PACKAGE
861
 
CYGPATH_W
862
 
am__isrc
863
 
INSTALL_DATA
864
 
INSTALL_SCRIPT
865
 
INSTALL_PROGRAM
866
 
target_alias
867
 
host_alias
868
 
build_alias
869
 
LIBS
870
 
ECHO_T
871
 
ECHO_N
872
 
ECHO_C
873
 
DEFS
874
 
mandir
875
 
localedir
876
 
libdir
877
 
psdir
878
 
pdfdir
879
 
dvidir
880
 
htmldir
881
 
infodir
882
 
docdir
883
 
oldincludedir
884
 
includedir
885
 
localstatedir
886
 
sharedstatedir
887
 
sysconfdir
888
 
datadir
889
 
datarootdir
890
 
libexecdir
891
 
sbindir
892
 
bindir
893
 
program_transform_name
894
 
prefix
895
 
exec_prefix
896
 
PACKAGE_URL
897
 
PACKAGE_BUGREPORT
898
 
PACKAGE_STRING
899
 
PACKAGE_VERSION
900
 
PACKAGE_TARNAME
901
 
PACKAGE_NAME
902
 
PATH_SEPARATOR
903
 
SHELL'
904
 
ac_subst_files=''
905
 
ac_user_opts='
906
 
enable_option_checking
907
 
enable_maintainer_mode
908
 
enable_nls
909
 
enable_dependency_tracking
910
 
enable_shared
911
 
enable_static
912
 
with_pic
913
 
enable_fast_install
914
 
with_gnu_ld
915
 
enable_libtool_lock
916
 
enable_coverage
917
 
enable_caches
918
 
'
919
 
      ac_precious_vars='build_alias
920
 
host_alias
921
 
target_alias
922
 
CC
923
 
CFLAGS
924
 
LDFLAGS
925
 
LIBS
926
 
CPPFLAGS
927
 
CPP
928
 
PKG_CONFIG
929
 
PKG_CONFIG_PATH
930
 
PKG_CONFIG_LIBDIR
931
 
PACKAGE_CFLAGS
932
 
PACKAGE_LIBS'
933
 
 
934
 
 
935
 
# Initialize some variables set by options.
936
 
ac_init_help=
937
 
ac_init_version=false
938
 
ac_unrecognized_opts=
939
 
ac_unrecognized_sep=
940
 
# The variables have the same names as the options, with
941
 
# dashes changed to underlines.
942
 
cache_file=/dev/null
943
 
exec_prefix=NONE
944
 
no_create=
945
 
no_recursion=
946
 
prefix=NONE
947
 
program_prefix=NONE
948
 
program_suffix=NONE
949
 
program_transform_name=s,x,x,
950
 
silent=
951
 
site=
952
 
srcdir=
953
 
verbose=
954
 
x_includes=NONE
955
 
x_libraries=NONE
956
 
 
957
 
# Installation directory options.
958
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
959
 
# and all the variables that are supposed to be based on exec_prefix
960
 
# by default will actually change.
961
 
# Use braces instead of parens because sh, perl, etc. also accept them.
962
 
# (The list follows the same order as the GNU Coding Standards.)
963
 
bindir='${exec_prefix}/bin'
964
 
sbindir='${exec_prefix}/sbin'
965
 
libexecdir='${exec_prefix}/libexec'
966
 
datarootdir='${prefix}/share'
967
 
datadir='${datarootdir}'
968
 
sysconfdir='${prefix}/etc'
969
 
sharedstatedir='${prefix}/com'
970
 
localstatedir='${prefix}/var'
971
 
includedir='${prefix}/include'
972
 
oldincludedir='/usr/include'
973
 
docdir='${datarootdir}/doc/${PACKAGE}'
974
 
infodir='${datarootdir}/info'
975
 
htmldir='${docdir}'
976
 
dvidir='${docdir}'
977
 
pdfdir='${docdir}'
978
 
psdir='${docdir}'
979
 
libdir='${exec_prefix}/lib'
980
 
localedir='${datarootdir}/locale'
981
 
mandir='${datarootdir}/man'
982
 
 
983
 
ac_prev=
984
 
ac_dashdash=
985
 
for ac_option
986
 
do
987
 
  # If the previous option needs an argument, assign it.
988
 
  if test -n "$ac_prev"; then
989
 
    eval $ac_prev=\$ac_option
990
 
    ac_prev=
991
 
    continue
992
 
  fi
993
 
 
994
 
  case $ac_option in
995
 
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
996
 
  *=)   ac_optarg= ;;
997
 
  *)    ac_optarg=yes ;;
998
 
  esac
999
 
 
1000
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
1001
 
 
1002
 
  case $ac_dashdash$ac_option in
1003
 
  --)
1004
 
    ac_dashdash=yes ;;
1005
 
 
1006
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1007
 
    ac_prev=bindir ;;
1008
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1009
 
    bindir=$ac_optarg ;;
1010
 
 
1011
 
  -build | --build | --buil | --bui | --bu)
1012
 
    ac_prev=build_alias ;;
1013
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1014
 
    build_alias=$ac_optarg ;;
1015
 
 
1016
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
1017
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1018
 
    ac_prev=cache_file ;;
1019
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1020
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1021
 
    cache_file=$ac_optarg ;;
1022
 
 
1023
 
  --config-cache | -C)
1024
 
    cache_file=config.cache ;;
1025
 
 
1026
 
  -datadir | --datadir | --datadi | --datad)
1027
 
    ac_prev=datadir ;;
1028
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1029
 
    datadir=$ac_optarg ;;
1030
 
 
1031
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1032
 
  | --dataroo | --dataro | --datar)
1033
 
    ac_prev=datarootdir ;;
1034
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1035
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1036
 
    datarootdir=$ac_optarg ;;
1037
 
 
1038
 
  -disable-* | --disable-*)
1039
 
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1040
 
    # Reject names that are not valid shell variable names.
1041
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1042
 
      as_fn_error $? "invalid feature name: $ac_useropt"
1043
 
    ac_useropt_orig=$ac_useropt
1044
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1045
 
    case $ac_user_opts in
1046
 
      *"
1047
 
"enable_$ac_useropt"
1048
 
"*) ;;
1049
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1050
 
         ac_unrecognized_sep=', ';;
1051
 
    esac
1052
 
    eval enable_$ac_useropt=no ;;
1053
 
 
1054
 
  -docdir | --docdir | --docdi | --doc | --do)
1055
 
    ac_prev=docdir ;;
1056
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1057
 
    docdir=$ac_optarg ;;
1058
 
 
1059
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1060
 
    ac_prev=dvidir ;;
1061
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1062
 
    dvidir=$ac_optarg ;;
1063
 
 
1064
 
  -enable-* | --enable-*)
1065
 
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1066
 
    # Reject names that are not valid shell variable names.
1067
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1068
 
      as_fn_error $? "invalid feature name: $ac_useropt"
1069
 
    ac_useropt_orig=$ac_useropt
1070
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1071
 
    case $ac_user_opts in
1072
 
      *"
1073
 
"enable_$ac_useropt"
1074
 
"*) ;;
1075
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1076
 
         ac_unrecognized_sep=', ';;
1077
 
    esac
1078
 
    eval enable_$ac_useropt=\$ac_optarg ;;
1079
 
 
1080
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1081
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1082
 
  | --exec | --exe | --ex)
1083
 
    ac_prev=exec_prefix ;;
1084
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1085
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1086
 
  | --exec=* | --exe=* | --ex=*)
1087
 
    exec_prefix=$ac_optarg ;;
1088
 
 
1089
 
  -gas | --gas | --ga | --g)
1090
 
    # Obsolete; use --with-gas.
1091
 
    with_gas=yes ;;
1092
 
 
1093
 
  -help | --help | --hel | --he | -h)
1094
 
    ac_init_help=long ;;
1095
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1096
 
    ac_init_help=recursive ;;
1097
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1098
 
    ac_init_help=short ;;
1099
 
 
1100
 
  -host | --host | --hos | --ho)
1101
 
    ac_prev=host_alias ;;
1102
 
  -host=* | --host=* | --hos=* | --ho=*)
1103
 
    host_alias=$ac_optarg ;;
1104
 
 
1105
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1106
 
    ac_prev=htmldir ;;
1107
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1108
 
  | --ht=*)
1109
 
    htmldir=$ac_optarg ;;
1110
 
 
1111
 
  -includedir | --includedir | --includedi | --included | --include \
1112
 
  | --includ | --inclu | --incl | --inc)
1113
 
    ac_prev=includedir ;;
1114
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1115
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1116
 
    includedir=$ac_optarg ;;
1117
 
 
1118
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1119
 
    ac_prev=infodir ;;
1120
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1121
 
    infodir=$ac_optarg ;;
1122
 
 
1123
 
  -libdir | --libdir | --libdi | --libd)
1124
 
    ac_prev=libdir ;;
1125
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1126
 
    libdir=$ac_optarg ;;
1127
 
 
1128
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1129
 
  | --libexe | --libex | --libe)
1130
 
    ac_prev=libexecdir ;;
1131
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1132
 
  | --libexe=* | --libex=* | --libe=*)
1133
 
    libexecdir=$ac_optarg ;;
1134
 
 
1135
 
  -localedir | --localedir | --localedi | --localed | --locale)
1136
 
    ac_prev=localedir ;;
1137
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1138
 
    localedir=$ac_optarg ;;
1139
 
 
1140
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1141
 
  | --localstate | --localstat | --localsta | --localst | --locals)
1142
 
    ac_prev=localstatedir ;;
1143
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1144
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1145
 
    localstatedir=$ac_optarg ;;
1146
 
 
1147
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1148
 
    ac_prev=mandir ;;
1149
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1150
 
    mandir=$ac_optarg ;;
1151
 
 
1152
 
  -nfp | --nfp | --nf)
1153
 
    # Obsolete; use --without-fp.
1154
 
    with_fp=no ;;
1155
 
 
1156
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1157
 
  | --no-cr | --no-c | -n)
1158
 
    no_create=yes ;;
1159
 
 
1160
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1161
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1162
 
    no_recursion=yes ;;
1163
 
 
1164
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1165
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1166
 
  | --oldin | --oldi | --old | --ol | --o)
1167
 
    ac_prev=oldincludedir ;;
1168
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1169
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1170
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1171
 
    oldincludedir=$ac_optarg ;;
1172
 
 
1173
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1174
 
    ac_prev=prefix ;;
1175
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1176
 
    prefix=$ac_optarg ;;
1177
 
 
1178
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1179
 
  | --program-pre | --program-pr | --program-p)
1180
 
    ac_prev=program_prefix ;;
1181
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1182
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1183
 
    program_prefix=$ac_optarg ;;
1184
 
 
1185
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1186
 
  | --program-suf | --program-su | --program-s)
1187
 
    ac_prev=program_suffix ;;
1188
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1189
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1190
 
    program_suffix=$ac_optarg ;;
1191
 
 
1192
 
  -program-transform-name | --program-transform-name \
1193
 
  | --program-transform-nam | --program-transform-na \
1194
 
  | --program-transform-n | --program-transform- \
1195
 
  | --program-transform | --program-transfor \
1196
 
  | --program-transfo | --program-transf \
1197
 
  | --program-trans | --program-tran \
1198
 
  | --progr-tra | --program-tr | --program-t)
1199
 
    ac_prev=program_transform_name ;;
1200
 
  -program-transform-name=* | --program-transform-name=* \
1201
 
  | --program-transform-nam=* | --program-transform-na=* \
1202
 
  | --program-transform-n=* | --program-transform-=* \
1203
 
  | --program-transform=* | --program-transfor=* \
1204
 
  | --program-transfo=* | --program-transf=* \
1205
 
  | --program-trans=* | --program-tran=* \
1206
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
1207
 
    program_transform_name=$ac_optarg ;;
1208
 
 
1209
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1210
 
    ac_prev=pdfdir ;;
1211
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1212
 
    pdfdir=$ac_optarg ;;
1213
 
 
1214
 
  -psdir | --psdir | --psdi | --psd | --ps)
1215
 
    ac_prev=psdir ;;
1216
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1217
 
    psdir=$ac_optarg ;;
1218
 
 
1219
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1220
 
  | -silent | --silent | --silen | --sile | --sil)
1221
 
    silent=yes ;;
1222
 
 
1223
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1224
 
    ac_prev=sbindir ;;
1225
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1226
 
  | --sbi=* | --sb=*)
1227
 
    sbindir=$ac_optarg ;;
1228
 
 
1229
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1230
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1231
 
  | --sharedst | --shareds | --shared | --share | --shar \
1232
 
  | --sha | --sh)
1233
 
    ac_prev=sharedstatedir ;;
1234
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1235
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1236
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1237
 
  | --sha=* | --sh=*)
1238
 
    sharedstatedir=$ac_optarg ;;
1239
 
 
1240
 
  -site | --site | --sit)
1241
 
    ac_prev=site ;;
1242
 
  -site=* | --site=* | --sit=*)
1243
 
    site=$ac_optarg ;;
1244
 
 
1245
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1246
 
    ac_prev=srcdir ;;
1247
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1248
 
    srcdir=$ac_optarg ;;
1249
 
 
1250
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1251
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1252
 
    ac_prev=sysconfdir ;;
1253
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1254
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1255
 
    sysconfdir=$ac_optarg ;;
1256
 
 
1257
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1258
 
    ac_prev=target_alias ;;
1259
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1260
 
    target_alias=$ac_optarg ;;
1261
 
 
1262
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1263
 
    verbose=yes ;;
1264
 
 
1265
 
  -version | --version | --versio | --versi | --vers | -V)
1266
 
    ac_init_version=: ;;
1267
 
 
1268
 
  -with-* | --with-*)
1269
 
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1270
 
    # Reject names that are not valid shell variable names.
1271
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1272
 
      as_fn_error $? "invalid package name: $ac_useropt"
1273
 
    ac_useropt_orig=$ac_useropt
1274
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1275
 
    case $ac_user_opts in
1276
 
      *"
1277
 
"with_$ac_useropt"
1278
 
"*) ;;
1279
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1280
 
         ac_unrecognized_sep=', ';;
1281
 
    esac
1282
 
    eval with_$ac_useropt=\$ac_optarg ;;
1283
 
 
1284
 
  -without-* | --without-*)
1285
 
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1286
 
    # Reject names that are not valid shell variable names.
1287
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1288
 
      as_fn_error $? "invalid package name: $ac_useropt"
1289
 
    ac_useropt_orig=$ac_useropt
1290
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1291
 
    case $ac_user_opts in
1292
 
      *"
1293
 
"with_$ac_useropt"
1294
 
"*) ;;
1295
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1296
 
         ac_unrecognized_sep=', ';;
1297
 
    esac
1298
 
    eval with_$ac_useropt=no ;;
1299
 
 
1300
 
  --x)
1301
 
    # Obsolete; use --with-x.
1302
 
    with_x=yes ;;
1303
 
 
1304
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1305
 
  | --x-incl | --x-inc | --x-in | --x-i)
1306
 
    ac_prev=x_includes ;;
1307
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1308
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1309
 
    x_includes=$ac_optarg ;;
1310
 
 
1311
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1312
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1313
 
    ac_prev=x_libraries ;;
1314
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1315
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1316
 
    x_libraries=$ac_optarg ;;
1317
 
 
1318
 
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1319
 
Try \`$0 --help' for more information"
1320
 
    ;;
1321
 
 
1322
 
  *=*)
1323
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1324
 
    # Reject names that are not valid shell variable names.
1325
 
    case $ac_envvar in #(
1326
 
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1327
 
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1328
 
    esac
1329
 
    eval $ac_envvar=\$ac_optarg
1330
 
    export $ac_envvar ;;
1331
 
 
1332
 
  *)
1333
 
    # FIXME: should be removed in autoconf 3.0.
1334
 
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1335
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1336
 
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1337
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1338
 
    ;;
1339
 
 
1340
 
  esac
1341
 
done
1342
 
 
1343
 
if test -n "$ac_prev"; then
1344
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1345
 
  as_fn_error $? "missing argument to $ac_option"
1346
 
fi
1347
 
 
1348
 
if test -n "$ac_unrecognized_opts"; then
1349
 
  case $enable_option_checking in
1350
 
    no) ;;
1351
 
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1352
 
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1353
 
  esac
1354
 
fi
1355
 
 
1356
 
# Check all directory arguments for consistency.
1357
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1358
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1359
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1360
 
                libdir localedir mandir
1361
 
do
1362
 
  eval ac_val=\$$ac_var
1363
 
  # Remove trailing slashes.
1364
 
  case $ac_val in
1365
 
    */ )
1366
 
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1367
 
      eval $ac_var=\$ac_val;;
1368
 
  esac
1369
 
  # Be sure to have absolute directory names.
1370
 
  case $ac_val in
1371
 
    [\\/$]* | ?:[\\/]* )  continue;;
1372
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1373
 
  esac
1374
 
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1375
 
done
1376
 
 
1377
 
# There might be people who depend on the old broken behavior: `$host'
1378
 
# used to hold the argument of --host etc.
1379
 
# FIXME: To remove some day.
1380
 
build=$build_alias
1381
 
host=$host_alias
1382
 
target=$target_alias
1383
 
 
1384
 
# FIXME: To remove some day.
1385
 
if test "x$host_alias" != x; then
1386
 
  if test "x$build_alias" = x; then
1387
 
    cross_compiling=maybe
1388
 
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1389
 
    If a cross compiler is detected then cross compile mode will be used" >&2
1390
 
  elif test "x$build_alias" != "x$host_alias"; then
1391
 
    cross_compiling=yes
1392
 
  fi
1393
 
fi
1394
 
 
1395
 
ac_tool_prefix=
1396
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1397
 
 
1398
 
test "$silent" = yes && exec 6>/dev/null
1399
 
 
1400
 
 
1401
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1402
 
ac_ls_di=`ls -di .` &&
1403
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1404
 
  as_fn_error $? "working directory cannot be determined"
1405
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1406
 
  as_fn_error $? "pwd does not report name of working directory"
1407
 
 
1408
 
 
1409
 
# Find the source files, if location was not specified.
1410
 
if test -z "$srcdir"; then
1411
 
  ac_srcdir_defaulted=yes
1412
 
  # Try the directory containing this script, then the parent directory.
1413
 
  ac_confdir=`$as_dirname -- "$as_myself" ||
1414
 
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1415
 
         X"$as_myself" : 'X\(//\)[^/]' \| \
1416
 
         X"$as_myself" : 'X\(//\)$' \| \
1417
 
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1418
 
$as_echo X"$as_myself" |
1419
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1420
 
            s//\1/
1421
 
            q
1422
 
          }
1423
 
          /^X\(\/\/\)[^/].*/{
1424
 
            s//\1/
1425
 
            q
1426
 
          }
1427
 
          /^X\(\/\/\)$/{
1428
 
            s//\1/
1429
 
            q
1430
 
          }
1431
 
          /^X\(\/\).*/{
1432
 
            s//\1/
1433
 
            q
1434
 
          }
1435
 
          s/.*/./; q'`
1436
 
  srcdir=$ac_confdir
1437
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1438
 
    srcdir=..
1439
 
  fi
1440
 
else
1441
 
  ac_srcdir_defaulted=no
1442
 
fi
1443
 
if test ! -r "$srcdir/$ac_unique_file"; then
1444
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1445
 
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1446
 
fi
1447
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1448
 
ac_abs_confdir=`(
1449
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1450
 
        pwd)`
1451
 
# When building in place, set srcdir=.
1452
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1453
 
  srcdir=.
1454
 
fi
1455
 
# Remove unnecessary trailing slashes from srcdir.
1456
 
# Double slashes in file names in object file debugging info
1457
 
# mess up M-x gdb in Emacs.
1458
 
case $srcdir in
1459
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1460
 
esac
1461
 
for ac_var in $ac_precious_vars; do
1462
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1463
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1464
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1465
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1466
 
done
1467
 
 
1468
 
#
1469
 
# Report the --help message.
1470
 
#
1471
 
if test "$ac_init_help" = "long"; then
1472
 
  # Omit some internal or obsolete options to make the list less imposing.
1473
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1474
 
  cat <<_ACEOF
1475
 
\`configure' configures this package to adapt to many kinds of systems.
1476
 
 
1477
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1478
 
 
1479
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1480
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1481
 
 
1482
 
Defaults for the options are specified in brackets.
1483
 
 
1484
 
Configuration:
1485
 
  -h, --help              display this help and exit
1486
 
      --help=short        display options specific to this package
1487
 
      --help=recursive    display the short help of all the included packages
1488
 
  -V, --version           display version information and exit
1489
 
  -q, --quiet, --silent   do not print \`checking ...' messages
1490
 
      --cache-file=FILE   cache test results in FILE [disabled]
1491
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1492
 
  -n, --no-create         do not create output files
1493
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1494
 
 
1495
 
Installation directories:
1496
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1497
 
                          [$ac_default_prefix]
1498
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1499
 
                          [PREFIX]
1500
 
 
1501
 
By default, \`make install' will install all the files in
1502
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1503
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1504
 
for instance \`--prefix=\$HOME'.
1505
 
 
1506
 
For better control, use the options below.
1507
 
 
1508
 
Fine tuning of the installation directories:
1509
 
  --bindir=DIR            user executables [EPREFIX/bin]
1510
 
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1511
 
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1512
 
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1513
 
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1514
 
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1515
 
  --libdir=DIR            object code libraries [EPREFIX/lib]
1516
 
  --includedir=DIR        C header files [PREFIX/include]
1517
 
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1518
 
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1519
 
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1520
 
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1521
 
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1522
 
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1523
 
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1524
 
  --htmldir=DIR           html documentation [DOCDIR]
1525
 
  --dvidir=DIR            dvi documentation [DOCDIR]
1526
 
  --pdfdir=DIR            pdf documentation [DOCDIR]
1527
 
  --psdir=DIR             ps documentation [DOCDIR]
1528
 
_ACEOF
1529
 
 
1530
 
  cat <<\_ACEOF
1531
 
 
1532
 
Program names:
1533
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1534
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1535
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1536
 
 
1537
 
System types:
1538
 
  --build=BUILD     configure for building on BUILD [guessed]
1539
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1540
 
_ACEOF
1541
 
fi
1542
 
 
1543
 
if test -n "$ac_init_help"; then
1544
 
 
1545
 
  cat <<\_ACEOF
1546
 
 
1547
 
Optional Features:
1548
 
  --disable-option-checking  ignore unrecognized --enable/--with options
1549
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1550
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1551
 
  --enable-maintainer-mode  enable make rules and dependencies not useful
1552
 
                          (and sometimes confusing) to the casual installer
1553
 
  --disable-nls           do not use Native Language Support
1554
 
  --disable-dependency-tracking  speeds up one-time build
1555
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1556
 
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1557
 
  --enable-static[=PKGS]  build static libraries [default=yes]
1558
 
  --enable-fast-install[=PKGS]
1559
 
                          optimize for fast installation [default=yes]
1560
 
  --disable-libtool-lock  avoid locking (might break parallel builds)
1561
 
  --enable-coverage       enable coverge reports
1562
 
  --enable-caches         Run update-* to update desktop and icon caches when installing (disable if you install as not root)
1563
 
 
1564
 
Optional Packages:
1565
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1566
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1567
 
  --with-pic              try to use only PIC/non-PIC objects [default=use
1568
 
                          both]
1569
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1570
 
 
1571
 
Some influential environment variables:
1572
 
  CC          C compiler command
1573
 
  CFLAGS      C compiler flags
1574
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1575
 
              nonstandard directory <lib dir>
1576
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1577
 
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1578
 
              you have headers in a nonstandard directory <include dir>
1579
 
  CPP         C preprocessor
1580
 
  PKG_CONFIG  path to pkg-config utility
1581
 
  PKG_CONFIG_PATH
1582
 
              directories to add to pkg-config's search path
1583
 
  PKG_CONFIG_LIBDIR
1584
 
              path overriding pkg-config's built-in search path
1585
 
  PACKAGE_CFLAGS
1586
 
              C compiler flags for PACKAGE, overriding pkg-config
1587
 
  PACKAGE_LIBS
1588
 
              linker flags for PACKAGE, overriding pkg-config
1589
 
 
1590
 
Use these variables to override the choices made by `configure' or to help
1591
 
it to find libraries and programs with nonstandard names/locations.
1592
 
 
1593
 
Report bugs to the package provider.
1594
 
_ACEOF
1595
 
ac_status=$?
1596
 
fi
1597
 
 
1598
 
if test "$ac_init_help" = "recursive"; then
1599
 
  # If there are subdirs, report their specific --help.
1600
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1601
 
    test -d "$ac_dir" ||
1602
 
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1603
 
      continue
1604
 
    ac_builddir=.
1605
 
 
1606
 
case "$ac_dir" in
1607
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1608
 
*)
1609
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1610
 
  # A ".." for each directory in $ac_dir_suffix.
1611
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1612
 
  case $ac_top_builddir_sub in
1613
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1614
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1615
 
  esac ;;
1616
 
esac
1617
 
ac_abs_top_builddir=$ac_pwd
1618
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1619
 
# for backward compatibility:
1620
 
ac_top_builddir=$ac_top_build_prefix
1621
 
 
1622
 
case $srcdir in
1623
 
  .)  # We are building in place.
1624
 
    ac_srcdir=.
1625
 
    ac_top_srcdir=$ac_top_builddir_sub
1626
 
    ac_abs_top_srcdir=$ac_pwd ;;
1627
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1628
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1629
 
    ac_top_srcdir=$srcdir
1630
 
    ac_abs_top_srcdir=$srcdir ;;
1631
 
  *) # Relative name.
1632
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1633
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1634
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1635
 
esac
1636
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1637
 
 
1638
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1639
 
    # Check for guested configure.
1640
 
    if test -f "$ac_srcdir/configure.gnu"; then
1641
 
      echo &&
1642
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1643
 
    elif test -f "$ac_srcdir/configure"; then
1644
 
      echo &&
1645
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1646
 
    else
1647
 
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1648
 
    fi || ac_status=$?
1649
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1650
 
  done
1651
 
fi
1652
 
 
1653
 
test -n "$ac_init_help" && exit $ac_status
1654
 
if $ac_init_version; then
1655
 
  cat <<\_ACEOF
1656
 
configure
1657
 
generated by GNU Autoconf 2.67
1658
 
 
1659
 
Copyright (C) 2010 Free Software Foundation, Inc.
1660
 
This configure script is free software; the Free Software Foundation
1661
 
gives unlimited permission to copy, distribute and modify it.
1662
 
_ACEOF
1663
 
  exit
1664
 
fi
1665
 
 
1666
 
## ------------------------ ##
1667
 
## Autoconf initialization. ##
1668
 
## ------------------------ ##
1669
 
 
1670
 
# ac_fn_c_try_compile LINENO
1671
 
# --------------------------
1672
 
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1673
 
ac_fn_c_try_compile ()
1674
 
{
1675
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1676
 
  rm -f conftest.$ac_objext
1677
 
  if { { ac_try="$ac_compile"
1678
 
case "(($ac_try" in
1679
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1680
 
  *) ac_try_echo=$ac_try;;
1681
 
esac
1682
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1683
 
$as_echo "$ac_try_echo"; } >&5
1684
 
  (eval "$ac_compile") 2>conftest.err
1685
 
  ac_status=$?
1686
 
  if test -s conftest.err; then
1687
 
    grep -v '^ *+' conftest.err >conftest.er1
1688
 
    cat conftest.er1 >&5
1689
 
    mv -f conftest.er1 conftest.err
1690
 
  fi
1691
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1692
 
  test $ac_status = 0; } && {
1693
 
         test -z "$ac_c_werror_flag" ||
1694
 
         test ! -s conftest.err
1695
 
       } && test -s conftest.$ac_objext; then :
1696
 
  ac_retval=0
1697
 
else
1698
 
  $as_echo "$as_me: failed program was:" >&5
1699
 
sed 's/^/| /' conftest.$ac_ext >&5
1700
 
 
1701
 
        ac_retval=1
1702
 
fi
1703
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1704
 
  as_fn_set_status $ac_retval
1705
 
 
1706
 
} # ac_fn_c_try_compile
1707
 
 
1708
 
# ac_fn_c_try_link LINENO
1709
 
# -----------------------
1710
 
# Try to link conftest.$ac_ext, and return whether this succeeded.
1711
 
ac_fn_c_try_link ()
1712
 
{
1713
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714
 
  rm -f conftest.$ac_objext conftest$ac_exeext
1715
 
  if { { ac_try="$ac_link"
1716
 
case "(($ac_try" in
1717
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1718
 
  *) ac_try_echo=$ac_try;;
1719
 
esac
1720
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1721
 
$as_echo "$ac_try_echo"; } >&5
1722
 
  (eval "$ac_link") 2>conftest.err
1723
 
  ac_status=$?
1724
 
  if test -s conftest.err; then
1725
 
    grep -v '^ *+' conftest.err >conftest.er1
1726
 
    cat conftest.er1 >&5
1727
 
    mv -f conftest.er1 conftest.err
1728
 
  fi
1729
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1730
 
  test $ac_status = 0; } && {
1731
 
         test -z "$ac_c_werror_flag" ||
1732
 
         test ! -s conftest.err
1733
 
       } && test -s conftest$ac_exeext && {
1734
 
         test "$cross_compiling" = yes ||
1735
 
         $as_test_x conftest$ac_exeext
1736
 
       }; then :
1737
 
  ac_retval=0
1738
 
else
1739
 
  $as_echo "$as_me: failed program was:" >&5
1740
 
sed 's/^/| /' conftest.$ac_ext >&5
1741
 
 
1742
 
        ac_retval=1
1743
 
fi
1744
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1745
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1746
 
  # interfere with the next link command; also delete a directory that is
1747
 
  # left behind by Apple's compiler.  We do this before executing the actions.
1748
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1749
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1750
 
  as_fn_set_status $ac_retval
1751
 
 
1752
 
} # ac_fn_c_try_link
1753
 
 
1754
 
# ac_fn_c_check_func LINENO FUNC VAR
1755
 
# ----------------------------------
1756
 
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1757
 
ac_fn_c_check_func ()
1758
 
{
1759
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1761
 
$as_echo_n "checking for $2... " >&6; }
1762
 
if eval "test \"\${$3+set}\"" = set; then :
1763
 
  $as_echo_n "(cached) " >&6
1764
 
else
1765
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1766
 
/* end confdefs.h.  */
1767
 
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1768
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1769
 
#define $2 innocuous_$2
1770
 
 
1771
 
/* System header to define __stub macros and hopefully few prototypes,
1772
 
    which can conflict with char $2 (); below.
1773
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1774
 
    <limits.h> exists even on freestanding compilers.  */
1775
 
 
1776
 
#ifdef __STDC__
1777
 
# include <limits.h>
1778
 
#else
1779
 
# include <assert.h>
1780
 
#endif
1781
 
 
1782
 
#undef $2
1783
 
 
1784
 
/* Override any GCC internal prototype to avoid an error.
1785
 
   Use char because int might match the return type of a GCC
1786
 
   builtin and then its argument prototype would still apply.  */
1787
 
#ifdef __cplusplus
1788
 
extern "C"
1789
 
#endif
1790
 
char $2 ();
1791
 
/* The GNU C library defines this for functions which it implements
1792
 
    to always fail with ENOSYS.  Some functions are actually named
1793
 
    something starting with __ and the normal name is an alias.  */
1794
 
#if defined __stub_$2 || defined __stub___$2
1795
 
choke me
1796
 
#endif
1797
 
 
1798
 
int
1799
 
main ()
1800
 
{
1801
 
return $2 ();
1802
 
  ;
1803
 
  return 0;
1804
 
}
1805
 
_ACEOF
1806
 
if ac_fn_c_try_link "$LINENO"; then :
1807
 
  eval "$3=yes"
1808
 
else
1809
 
  eval "$3=no"
1810
 
fi
1811
 
rm -f core conftest.err conftest.$ac_objext \
1812
 
    conftest$ac_exeext conftest.$ac_ext
1813
 
fi
1814
 
eval ac_res=\$$3
1815
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1816
 
$as_echo "$ac_res" >&6; }
1817
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1818
 
 
1819
 
} # ac_fn_c_check_func
1820
 
 
1821
 
# ac_fn_c_try_cpp LINENO
1822
 
# ----------------------
1823
 
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1824
 
ac_fn_c_try_cpp ()
1825
 
{
1826
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1827
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1828
 
case "(($ac_try" in
1829
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1830
 
  *) ac_try_echo=$ac_try;;
1831
 
esac
1832
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1833
 
$as_echo "$ac_try_echo"; } >&5
1834
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1835
 
  ac_status=$?
1836
 
  if test -s conftest.err; then
1837
 
    grep -v '^ *+' conftest.err >conftest.er1
1838
 
    cat conftest.er1 >&5
1839
 
    mv -f conftest.er1 conftest.err
1840
 
  fi
1841
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1842
 
  test $ac_status = 0; } > conftest.i && {
1843
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1844
 
         test ! -s conftest.err
1845
 
       }; then :
1846
 
  ac_retval=0
1847
 
else
1848
 
  $as_echo "$as_me: failed program was:" >&5
1849
 
sed 's/^/| /' conftest.$ac_ext >&5
1850
 
 
1851
 
    ac_retval=1
1852
 
fi
1853
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1854
 
  as_fn_set_status $ac_retval
1855
 
 
1856
 
} # ac_fn_c_try_cpp
1857
 
 
1858
 
# ac_fn_c_try_run LINENO
1859
 
# ----------------------
1860
 
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1861
 
# that executables *can* be run.
1862
 
ac_fn_c_try_run ()
1863
 
{
1864
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1865
 
  if { { ac_try="$ac_link"
1866
 
case "(($ac_try" in
1867
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1868
 
  *) ac_try_echo=$ac_try;;
1869
 
esac
1870
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1871
 
$as_echo "$ac_try_echo"; } >&5
1872
 
  (eval "$ac_link") 2>&5
1873
 
  ac_status=$?
1874
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1875
 
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1876
 
  { { case "(($ac_try" in
1877
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1878
 
  *) ac_try_echo=$ac_try;;
1879
 
esac
1880
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1881
 
$as_echo "$ac_try_echo"; } >&5
1882
 
  (eval "$ac_try") 2>&5
1883
 
  ac_status=$?
1884
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1885
 
  test $ac_status = 0; }; }; then :
1886
 
  ac_retval=0
1887
 
else
1888
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
1889
 
       $as_echo "$as_me: failed program was:" >&5
1890
 
sed 's/^/| /' conftest.$ac_ext >&5
1891
 
 
1892
 
       ac_retval=$ac_status
1893
 
fi
1894
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1895
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1896
 
  as_fn_set_status $ac_retval
1897
 
 
1898
 
} # ac_fn_c_try_run
1899
 
 
1900
 
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1901
 
# -------------------------------------------------------
1902
 
# Tests whether HEADER exists and can be compiled using the include files in
1903
 
# INCLUDES, setting the cache variable VAR accordingly.
1904
 
ac_fn_c_check_header_compile ()
1905
 
{
1906
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1907
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1908
 
$as_echo_n "checking for $2... " >&6; }
1909
 
if eval "test \"\${$3+set}\"" = set; then :
1910
 
  $as_echo_n "(cached) " >&6
1911
 
else
1912
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1913
 
/* end confdefs.h.  */
1914
 
$4
1915
 
#include <$2>
1916
 
_ACEOF
1917
 
if ac_fn_c_try_compile "$LINENO"; then :
1918
 
  eval "$3=yes"
1919
 
else
1920
 
  eval "$3=no"
1921
 
fi
1922
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1923
 
fi
1924
 
eval ac_res=\$$3
1925
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1926
 
$as_echo "$ac_res" >&6; }
1927
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1928
 
 
1929
 
} # ac_fn_c_check_header_compile
1930
 
 
1931
 
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1932
 
# -------------------------------------------------------
1933
 
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1934
 
# the include files in INCLUDES and setting the cache variable VAR
1935
 
# accordingly.
1936
 
ac_fn_c_check_header_mongrel ()
1937
 
{
1938
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1939
 
  if eval "test \"\${$3+set}\"" = set; then :
1940
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1941
 
$as_echo_n "checking for $2... " >&6; }
1942
 
if eval "test \"\${$3+set}\"" = set; then :
1943
 
  $as_echo_n "(cached) " >&6
1944
 
fi
1945
 
eval ac_res=\$$3
1946
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1947
 
$as_echo "$ac_res" >&6; }
1948
 
else
1949
 
  # Is the header compilable?
1950
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1951
 
$as_echo_n "checking $2 usability... " >&6; }
1952
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1953
 
/* end confdefs.h.  */
1954
 
$4
1955
 
#include <$2>
1956
 
_ACEOF
1957
 
if ac_fn_c_try_compile "$LINENO"; then :
1958
 
  ac_header_compiler=yes
1959
 
else
1960
 
  ac_header_compiler=no
1961
 
fi
1962
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1963
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1964
 
$as_echo "$ac_header_compiler" >&6; }
1965
 
 
1966
 
# Is the header present?
1967
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1968
 
$as_echo_n "checking $2 presence... " >&6; }
1969
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1970
 
/* end confdefs.h.  */
1971
 
#include <$2>
1972
 
_ACEOF
1973
 
if ac_fn_c_try_cpp "$LINENO"; then :
1974
 
  ac_header_preproc=yes
1975
 
else
1976
 
  ac_header_preproc=no
1977
 
fi
1978
 
rm -f conftest.err conftest.i conftest.$ac_ext
1979
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1980
 
$as_echo "$ac_header_preproc" >&6; }
1981
 
 
1982
 
# So?  What about this header?
1983
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1984
 
  yes:no: )
1985
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1986
 
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1987
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1988
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1989
 
    ;;
1990
 
  no:yes:* )
1991
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1992
 
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1993
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1994
 
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1995
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1996
 
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1997
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1998
 
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1999
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2000
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2001
 
    ;;
2002
 
esac
2003
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2004
 
$as_echo_n "checking for $2... " >&6; }
2005
 
if eval "test \"\${$3+set}\"" = set; then :
2006
 
  $as_echo_n "(cached) " >&6
2007
 
else
2008
 
  eval "$3=\$ac_header_compiler"
2009
 
fi
2010
 
eval ac_res=\$$3
2011
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2012
 
$as_echo "$ac_res" >&6; }
2013
 
fi
2014
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2015
 
 
2016
 
} # ac_fn_c_check_header_mongrel
2017
 
cat >config.log <<_ACEOF
2018
 
This file contains any messages produced by compilers while
2019
 
running configure, to aid debugging if configure makes a mistake.
2020
 
 
2021
 
It was created by $as_me, which was
2022
 
generated by GNU Autoconf 2.67.  Invocation command line was
2023
 
 
2024
 
  $ $0 $@
2025
 
 
2026
 
_ACEOF
2027
 
exec 5>>config.log
2028
 
{
2029
 
cat <<_ASUNAME
2030
 
## --------- ##
2031
 
## Platform. ##
2032
 
## --------- ##
2033
 
 
2034
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2035
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2036
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2037
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2038
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2039
 
 
2040
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2041
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2042
 
 
2043
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2044
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2045
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2046
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2047
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2048
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2049
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2050
 
 
2051
 
_ASUNAME
2052
 
 
2053
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2054
 
for as_dir in $PATH
2055
 
do
2056
 
  IFS=$as_save_IFS
2057
 
  test -z "$as_dir" && as_dir=.
2058
 
    $as_echo "PATH: $as_dir"
2059
 
  done
2060
 
IFS=$as_save_IFS
2061
 
 
2062
 
} >&5
2063
 
 
2064
 
cat >&5 <<_ACEOF
2065
 
 
2066
 
 
2067
 
## ----------- ##
2068
 
## Core tests. ##
2069
 
## ----------- ##
2070
 
 
2071
 
_ACEOF
2072
 
 
2073
 
 
2074
 
# Keep a trace of the command line.
2075
 
# Strip out --no-create and --no-recursion so they do not pile up.
2076
 
# Strip out --silent because we don't want to record it for future runs.
2077
 
# Also quote any args containing shell meta-characters.
2078
 
# Make two passes to allow for proper duplicate-argument suppression.
2079
 
ac_configure_args=
2080
 
ac_configure_args0=
2081
 
ac_configure_args1=
2082
 
ac_must_keep_next=false
2083
 
for ac_pass in 1 2
2084
 
do
2085
 
  for ac_arg
2086
 
  do
2087
 
    case $ac_arg in
2088
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2089
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2090
 
    | -silent | --silent | --silen | --sile | --sil)
2091
 
      continue ;;
2092
 
    *\'*)
2093
 
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2094
 
    esac
2095
 
    case $ac_pass in
2096
 
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2097
 
    2)
2098
 
      as_fn_append ac_configure_args1 " '$ac_arg'"
2099
 
      if test $ac_must_keep_next = true; then
2100
 
        ac_must_keep_next=false # Got value, back to normal.
2101
 
      else
2102
 
        case $ac_arg in
2103
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
2104
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2105
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2106
 
          | -with-* | --with-* | -without-* | --without-* | --x)
2107
 
            case "$ac_configure_args0 " in
2108
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2109
 
            esac
2110
 
            ;;
2111
 
          -* ) ac_must_keep_next=true ;;
2112
 
        esac
2113
 
      fi
2114
 
      as_fn_append ac_configure_args " '$ac_arg'"
2115
 
      ;;
2116
 
    esac
2117
 
  done
2118
 
done
2119
 
{ ac_configure_args0=; unset ac_configure_args0;}
2120
 
{ ac_configure_args1=; unset ac_configure_args1;}
2121
 
 
2122
 
# When interrupted or exit'd, cleanup temporary files, and complete
2123
 
# config.log.  We remove comments because anyway the quotes in there
2124
 
# would cause problems or look ugly.
2125
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
2126
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2127
 
trap 'exit_status=$?
2128
 
  # Save into config.log some information that might help in debugging.
2129
 
  {
2130
 
    echo
2131
 
 
2132
 
    $as_echo "## ---------------- ##
2133
 
## Cache variables. ##
2134
 
## ---------------- ##"
2135
 
    echo
2136
 
    # The following way of writing the cache mishandles newlines in values,
2137
 
(
2138
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2139
 
    eval ac_val=\$$ac_var
2140
 
    case $ac_val in #(
2141
 
    *${as_nl}*)
2142
 
      case $ac_var in #(
2143
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2144
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2145
 
      esac
2146
 
      case $ac_var in #(
2147
 
      _ | IFS | as_nl) ;; #(
2148
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2149
 
      *) { eval $ac_var=; unset $ac_var;} ;;
2150
 
      esac ;;
2151
 
    esac
2152
 
  done
2153
 
  (set) 2>&1 |
2154
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2155
 
    *${as_nl}ac_space=\ *)
2156
 
      sed -n \
2157
 
        "s/'\''/'\''\\\\'\'''\''/g;
2158
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2159
 
      ;; #(
2160
 
    *)
2161
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2162
 
      ;;
2163
 
    esac |
2164
 
    sort
2165
 
)
2166
 
    echo
2167
 
 
2168
 
    $as_echo "## ----------------- ##
2169
 
## Output variables. ##
2170
 
## ----------------- ##"
2171
 
    echo
2172
 
    for ac_var in $ac_subst_vars
2173
 
    do
2174
 
      eval ac_val=\$$ac_var
2175
 
      case $ac_val in
2176
 
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2177
 
      esac
2178
 
      $as_echo "$ac_var='\''$ac_val'\''"
2179
 
    done | sort
2180
 
    echo
2181
 
 
2182
 
    if test -n "$ac_subst_files"; then
2183
 
      $as_echo "## ------------------- ##
2184
 
## File substitutions. ##
2185
 
## ------------------- ##"
2186
 
      echo
2187
 
      for ac_var in $ac_subst_files
2188
 
      do
2189
 
        eval ac_val=\$$ac_var
2190
 
        case $ac_val in
2191
 
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2192
 
        esac
2193
 
        $as_echo "$ac_var='\''$ac_val'\''"
2194
 
      done | sort
2195
 
      echo
2196
 
    fi
2197
 
 
2198
 
    if test -s confdefs.h; then
2199
 
      $as_echo "## ----------- ##
2200
 
## confdefs.h. ##
2201
 
## ----------- ##"
2202
 
      echo
2203
 
      cat confdefs.h
2204
 
      echo
2205
 
    fi
2206
 
    test "$ac_signal" != 0 &&
2207
 
      $as_echo "$as_me: caught signal $ac_signal"
2208
 
    $as_echo "$as_me: exit $exit_status"
2209
 
  } >&5
2210
 
  rm -f core *.core core.conftest.* &&
2211
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2212
 
    exit $exit_status
2213
 
' 0
2214
 
for ac_signal in 1 2 13 15; do
2215
 
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2216
 
done
2217
 
ac_signal=0
2218
 
 
2219
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2220
 
rm -f -r conftest* confdefs.h
2221
 
 
2222
 
$as_echo "/* confdefs.h */" > confdefs.h
2223
 
 
2224
 
# Predefined preprocessor variables.
2225
 
 
2226
 
cat >>confdefs.h <<_ACEOF
2227
 
#define PACKAGE_NAME "$PACKAGE_NAME"
2228
 
_ACEOF
2229
 
 
2230
 
cat >>confdefs.h <<_ACEOF
2231
 
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2232
 
_ACEOF
2233
 
 
2234
 
cat >>confdefs.h <<_ACEOF
2235
 
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2236
 
_ACEOF
2237
 
 
2238
 
cat >>confdefs.h <<_ACEOF
2239
 
#define PACKAGE_STRING "$PACKAGE_STRING"
2240
 
_ACEOF
2241
 
 
2242
 
cat >>confdefs.h <<_ACEOF
2243
 
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2244
 
_ACEOF
2245
 
 
2246
 
cat >>confdefs.h <<_ACEOF
2247
 
#define PACKAGE_URL "$PACKAGE_URL"
2248
 
_ACEOF
2249
 
 
2250
 
 
2251
 
# Let the site file select an alternate cache file if it wants to.
2252
 
# Prefer an explicitly selected file to automatically selected ones.
2253
 
ac_site_file1=NONE
2254
 
ac_site_file2=NONE
2255
 
if test -n "$CONFIG_SITE"; then
2256
 
  # We do not want a PATH search for config.site.
2257
 
  case $CONFIG_SITE in #((
2258
 
    -*)  ac_site_file1=./$CONFIG_SITE;;
2259
 
    */*) ac_site_file1=$CONFIG_SITE;;
2260
 
    *)   ac_site_file1=./$CONFIG_SITE;;
2261
 
  esac
2262
 
elif test "x$prefix" != xNONE; then
2263
 
  ac_site_file1=$prefix/share/config.site
2264
 
  ac_site_file2=$prefix/etc/config.site
2265
 
else
2266
 
  ac_site_file1=$ac_default_prefix/share/config.site
2267
 
  ac_site_file2=$ac_default_prefix/etc/config.site
2268
 
fi
2269
 
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2270
 
do
2271
 
  test "x$ac_site_file" = xNONE && continue
2272
 
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2273
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2274
 
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2275
 
    sed 's/^/| /' "$ac_site_file" >&5
2276
 
    . "$ac_site_file" \
2277
 
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2278
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2279
 
as_fn_error $? "failed to load site script $ac_site_file
2280
 
See \`config.log' for more details" "$LINENO" 5 ; }
2281
 
  fi
2282
 
done
2283
 
 
2284
 
if test -r "$cache_file"; then
2285
 
  # Some versions of bash will fail to source /dev/null (special files
2286
 
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2287
 
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2288
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2289
 
$as_echo "$as_me: loading cache $cache_file" >&6;}
2290
 
    case $cache_file in
2291
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2292
 
      *)                      . "./$cache_file";;
2293
 
    esac
2294
 
  fi
2295
 
else
2296
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2297
 
$as_echo "$as_me: creating cache $cache_file" >&6;}
2298
 
  >$cache_file
2299
 
fi
2300
 
 
2301
 
# Check that the precious variables saved in the cache have kept the same
2302
 
# value.
2303
 
ac_cache_corrupted=false
2304
 
for ac_var in $ac_precious_vars; do
2305
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2306
 
  eval ac_new_set=\$ac_env_${ac_var}_set
2307
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2308
 
  eval ac_new_val=\$ac_env_${ac_var}_value
2309
 
  case $ac_old_set,$ac_new_set in
2310
 
    set,)
2311
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2312
 
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2313
 
      ac_cache_corrupted=: ;;
2314
 
    ,set)
2315
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2316
 
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2317
 
      ac_cache_corrupted=: ;;
2318
 
    ,);;
2319
 
    *)
2320
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
2321
 
        # differences in whitespace do not lead to failure.
2322
 
        ac_old_val_w=`echo x $ac_old_val`
2323
 
        ac_new_val_w=`echo x $ac_new_val`
2324
 
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2325
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2326
 
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2327
 
          ac_cache_corrupted=:
2328
 
        else
2329
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2330
 
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2331
 
          eval $ac_var=\$ac_old_val
2332
 
        fi
2333
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2334
 
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2335
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2336
 
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2337
 
      fi;;
2338
 
  esac
2339
 
  # Pass precious variables to config.status.
2340
 
  if test "$ac_new_set" = set; then
2341
 
    case $ac_new_val in
2342
 
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2343
 
    *) ac_arg=$ac_var=$ac_new_val ;;
2344
 
    esac
2345
 
    case " $ac_configure_args " in
2346
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2347
 
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2348
 
    esac
2349
 
  fi
2350
 
done
2351
 
if $ac_cache_corrupted; then
2352
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2353
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2354
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2355
 
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2356
 
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2357
 
fi
2358
 
## -------------------- ##
2359
 
## Main body of script. ##
2360
 
## -------------------- ##
2361
 
 
2362
 
ac_ext=c
2363
 
ac_cpp='$CPP $CPPFLAGS'
2364
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2365
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2366
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2367
 
 
2368
 
 
2369
 
 
2370
 
ac_config_headers="$ac_config_headers build-config.h"
2371
 
 
2372
 
 
2373
 
am__api_version='1.11'
2374
 
 
2375
 
ac_aux_dir=
2376
 
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2377
 
  if test -f "$ac_dir/install-sh"; then
2378
 
    ac_aux_dir=$ac_dir
2379
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2380
 
    break
2381
 
  elif test -f "$ac_dir/install.sh"; then
2382
 
    ac_aux_dir=$ac_dir
2383
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2384
 
    break
2385
 
  elif test -f "$ac_dir/shtool"; then
2386
 
    ac_aux_dir=$ac_dir
2387
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2388
 
    break
2389
 
  fi
2390
 
done
2391
 
if test -z "$ac_aux_dir"; then
2392
 
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2393
 
fi
2394
 
 
2395
 
# These three variables are undocumented and unsupported,
2396
 
# and are intended to be withdrawn in a future Autoconf release.
2397
 
# They can cause serious problems if a builder's source tree is in a directory
2398
 
# whose full name contains unusual characters.
2399
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2400
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2401
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2402
 
 
2403
 
 
2404
 
# Find a good install program.  We prefer a C program (faster),
2405
 
# so one script is as good as another.  But avoid the broken or
2406
 
# incompatible versions:
2407
 
# SysV /etc/install, /usr/sbin/install
2408
 
# SunOS /usr/etc/install
2409
 
# IRIX /sbin/install
2410
 
# AIX /bin/install
2411
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2412
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2413
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2414
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2415
 
# OS/2's system install, which has a completely different semantic
2416
 
# ./install, which can be erroneously created by make from ./install.sh.
2417
 
# Reject install programs that cannot install multiple files.
2418
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2419
 
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2420
 
if test -z "$INSTALL"; then
2421
 
if test "${ac_cv_path_install+set}" = set; then :
2422
 
  $as_echo_n "(cached) " >&6
2423
 
else
2424
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2425
 
for as_dir in $PATH
2426
 
do
2427
 
  IFS=$as_save_IFS
2428
 
  test -z "$as_dir" && as_dir=.
2429
 
    # Account for people who put trailing slashes in PATH elements.
2430
 
case $as_dir/ in #((
2431
 
  ./ | .// | /[cC]/* | \
2432
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2433
 
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2434
 
  /usr/ucb/* ) ;;
2435
 
  *)
2436
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2437
 
    # Don't use installbsd from OSF since it installs stuff as root
2438
 
    # by default.
2439
 
    for ac_prog in ginstall scoinst install; do
2440
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2441
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2442
 
          if test $ac_prog = install &&
2443
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2444
 
            # AIX install.  It has an incompatible calling convention.
2445
 
            :
2446
 
          elif test $ac_prog = install &&
2447
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2448
 
            # program-specific install script used by HP pwplus--don't use.
2449
 
            :
2450
 
          else
2451
 
            rm -rf conftest.one conftest.two conftest.dir
2452
 
            echo one > conftest.one
2453
 
            echo two > conftest.two
2454
 
            mkdir conftest.dir
2455
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2456
 
              test -s conftest.one && test -s conftest.two &&
2457
 
              test -s conftest.dir/conftest.one &&
2458
 
              test -s conftest.dir/conftest.two
2459
 
            then
2460
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2461
 
              break 3
2462
 
            fi
2463
 
          fi
2464
 
        fi
2465
 
      done
2466
 
    done
2467
 
    ;;
2468
 
esac
2469
 
 
2470
 
  done
2471
 
IFS=$as_save_IFS
2472
 
 
2473
 
rm -rf conftest.one conftest.two conftest.dir
2474
 
 
2475
 
fi
2476
 
  if test "${ac_cv_path_install+set}" = set; then
2477
 
    INSTALL=$ac_cv_path_install
2478
 
  else
2479
 
    # As a last resort, use the slow shell script.  Don't cache a
2480
 
    # value for INSTALL within a source directory, because that will
2481
 
    # break other packages using the cache if that directory is
2482
 
    # removed, or if the value is a relative name.
2483
 
    INSTALL=$ac_install_sh
2484
 
  fi
2485
 
fi
2486
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2487
 
$as_echo "$INSTALL" >&6; }
2488
 
 
2489
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2490
 
# It thinks the first close brace ends the variable substitution.
2491
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2492
 
 
2493
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2494
 
 
2495
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2496
 
 
2497
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2498
 
$as_echo_n "checking whether build environment is sane... " >&6; }
2499
 
# Just in case
2500
 
sleep 1
2501
 
echo timestamp > conftest.file
2502
 
# Reject unsafe characters in $srcdir or the absolute working directory
2503
 
# name.  Accept space and tab only in the latter.
2504
 
am_lf='
2505
 
'
2506
 
case `pwd` in
2507
 
  *[\\\"\#\$\&\'\`$am_lf]*)
2508
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2509
 
esac
2510
 
case $srcdir in
2511
 
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2512
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2513
 
esac
2514
 
 
2515
 
# Do `set' in a subshell so we don't clobber the current shell's
2516
 
# arguments.  Must try -L first in case configure is actually a
2517
 
# symlink; some systems play weird games with the mod time of symlinks
2518
 
# (eg FreeBSD returns the mod time of the symlink's containing
2519
 
# directory).
2520
 
if (
2521
 
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2522
 
   if test "$*" = "X"; then
2523
 
      # -L didn't work.
2524
 
      set X `ls -t "$srcdir/configure" conftest.file`
2525
 
   fi
2526
 
   rm -f conftest.file
2527
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2528
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2529
 
 
2530
 
      # If neither matched, then we have a broken ls.  This can happen
2531
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2532
 
      # broken ls alias from the environment.  This has actually
2533
 
      # happened.  Such a system could not be considered "sane".
2534
 
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2535
 
alias in your environment" "$LINENO" 5
2536
 
   fi
2537
 
 
2538
 
   test "$2" = conftest.file
2539
 
   )
2540
 
then
2541
 
   # Ok.
2542
 
   :
2543
 
else
2544
 
   as_fn_error $? "newly created file is older than distributed files!
2545
 
Check your system clock" "$LINENO" 5
2546
 
fi
2547
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2548
 
$as_echo "yes" >&6; }
2549
 
test "$program_prefix" != NONE &&
2550
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2551
 
# Use a double $ so make ignores it.
2552
 
test "$program_suffix" != NONE &&
2553
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2554
 
# Double any \ or $.
2555
 
# By default was `s,x,x', remove it if useless.
2556
 
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2557
 
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2558
 
 
2559
 
# expand $ac_aux_dir to an absolute path
2560
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2561
 
 
2562
 
if test x"${MISSING+set}" != xset; then
2563
 
  case $am_aux_dir in
2564
 
  *\ * | *\     *)
2565
 
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2566
 
  *)
2567
 
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2568
 
  esac
2569
 
fi
2570
 
# Use eval to expand $SHELL
2571
 
if eval "$MISSING --run true"; then
2572
 
  am_missing_run="$MISSING --run "
2573
 
else
2574
 
  am_missing_run=
2575
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2576
 
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2577
 
fi
2578
 
 
2579
 
if test x"${install_sh}" != xset; then
2580
 
  case $am_aux_dir in
2581
 
  *\ * | *\     *)
2582
 
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2583
 
  *)
2584
 
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2585
 
  esac
2586
 
fi
2587
 
 
2588
 
# Installed binaries are usually stripped using `strip' when the user
2589
 
# run `make install-strip'.  However `strip' might not be the right
2590
 
# tool to use in cross-compilation environments, therefore Automake
2591
 
# will honor the `STRIP' environment variable to overrule this program.
2592
 
if test "$cross_compiling" != no; then
2593
 
  if test -n "$ac_tool_prefix"; then
2594
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2595
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2596
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2597
 
$as_echo_n "checking for $ac_word... " >&6; }
2598
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
2599
 
  $as_echo_n "(cached) " >&6
2600
 
else
2601
 
  if test -n "$STRIP"; then
2602
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2603
 
else
2604
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2605
 
for as_dir in $PATH
2606
 
do
2607
 
  IFS=$as_save_IFS
2608
 
  test -z "$as_dir" && as_dir=.
2609
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2610
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2611
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2612
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2613
 
    break 2
2614
 
  fi
2615
 
done
2616
 
  done
2617
 
IFS=$as_save_IFS
2618
 
 
2619
 
fi
2620
 
fi
2621
 
STRIP=$ac_cv_prog_STRIP
2622
 
if test -n "$STRIP"; then
2623
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2624
 
$as_echo "$STRIP" >&6; }
2625
 
else
2626
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2627
 
$as_echo "no" >&6; }
2628
 
fi
2629
 
 
2630
 
 
2631
 
fi
2632
 
if test -z "$ac_cv_prog_STRIP"; then
2633
 
  ac_ct_STRIP=$STRIP
2634
 
  # Extract the first word of "strip", so it can be a program name with args.
2635
 
set dummy strip; ac_word=$2
2636
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2637
 
$as_echo_n "checking for $ac_word... " >&6; }
2638
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2639
 
  $as_echo_n "(cached) " >&6
2640
 
else
2641
 
  if test -n "$ac_ct_STRIP"; then
2642
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2643
 
else
2644
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2645
 
for as_dir in $PATH
2646
 
do
2647
 
  IFS=$as_save_IFS
2648
 
  test -z "$as_dir" && as_dir=.
2649
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2650
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2651
 
    ac_cv_prog_ac_ct_STRIP="strip"
2652
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2653
 
    break 2
2654
 
  fi
2655
 
done
2656
 
  done
2657
 
IFS=$as_save_IFS
2658
 
 
2659
 
fi
2660
 
fi
2661
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2662
 
if test -n "$ac_ct_STRIP"; then
2663
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2664
 
$as_echo "$ac_ct_STRIP" >&6; }
2665
 
else
2666
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2667
 
$as_echo "no" >&6; }
2668
 
fi
2669
 
 
2670
 
  if test "x$ac_ct_STRIP" = x; then
2671
 
    STRIP=":"
2672
 
  else
2673
 
    case $cross_compiling:$ac_tool_warned in
2674
 
yes:)
2675
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2676
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2677
 
ac_tool_warned=yes ;;
2678
 
esac
2679
 
    STRIP=$ac_ct_STRIP
2680
 
  fi
2681
 
else
2682
 
  STRIP="$ac_cv_prog_STRIP"
2683
 
fi
2684
 
 
2685
 
fi
2686
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2687
 
 
2688
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2689
 
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2690
 
if test -z "$MKDIR_P"; then
2691
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
2692
 
  $as_echo_n "(cached) " >&6
2693
 
else
2694
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2695
 
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2696
 
do
2697
 
  IFS=$as_save_IFS
2698
 
  test -z "$as_dir" && as_dir=.
2699
 
    for ac_prog in mkdir gmkdir; do
2700
 
         for ac_exec_ext in '' $ac_executable_extensions; do
2701
 
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2702
 
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2703
 
             'mkdir (GNU coreutils) '* | \
2704
 
             'mkdir (coreutils) '* | \
2705
 
             'mkdir (fileutils) '4.1*)
2706
 
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2707
 
               break 3;;
2708
 
           esac
2709
 
         done
2710
 
       done
2711
 
  done
2712
 
IFS=$as_save_IFS
2713
 
 
2714
 
fi
2715
 
 
2716
 
  test -d ./--version && rmdir ./--version
2717
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2718
 
    MKDIR_P="$ac_cv_path_mkdir -p"
2719
 
  else
2720
 
    # As a last resort, use the slow shell script.  Don't cache a
2721
 
    # value for MKDIR_P within a source directory, because that will
2722
 
    # break other packages using the cache if that directory is
2723
 
    # removed, or if the value is a relative name.
2724
 
    MKDIR_P="$ac_install_sh -d"
2725
 
  fi
2726
 
fi
2727
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2728
 
$as_echo "$MKDIR_P" >&6; }
2729
 
 
2730
 
mkdir_p="$MKDIR_P"
2731
 
case $mkdir_p in
2732
 
  [\\/$]* | ?:[\\/]*) ;;
2733
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2734
 
esac
2735
 
 
2736
 
for ac_prog in gawk mawk nawk awk
2737
 
do
2738
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2739
 
set dummy $ac_prog; ac_word=$2
2740
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2741
 
$as_echo_n "checking for $ac_word... " >&6; }
2742
 
if test "${ac_cv_prog_AWK+set}" = set; then :
2743
 
  $as_echo_n "(cached) " >&6
2744
 
else
2745
 
  if test -n "$AWK"; then
2746
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2747
 
else
2748
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2749
 
for as_dir in $PATH
2750
 
do
2751
 
  IFS=$as_save_IFS
2752
 
  test -z "$as_dir" && as_dir=.
2753
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2754
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2755
 
    ac_cv_prog_AWK="$ac_prog"
2756
 
    $as_echo "$as_me:${as_lineno-$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
 
fi
2764
 
fi
2765
 
AWK=$ac_cv_prog_AWK
2766
 
if test -n "$AWK"; then
2767
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2768
 
$as_echo "$AWK" >&6; }
2769
 
else
2770
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2771
 
$as_echo "no" >&6; }
2772
 
fi
2773
 
 
2774
 
 
2775
 
  test -n "$AWK" && break
2776
 
done
2777
 
 
2778
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2779
 
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2780
 
set x ${MAKE-make}
2781
 
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2782
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2783
 
  $as_echo_n "(cached) " >&6
2784
 
else
2785
 
  cat >conftest.make <<\_ACEOF
2786
 
SHELL = /bin/sh
2787
 
all:
2788
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2789
 
_ACEOF
2790
 
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2791
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2792
 
  *@@@%%%=?*=@@@%%%*)
2793
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2794
 
  *)
2795
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2796
 
esac
2797
 
rm -f conftest.make
2798
 
fi
2799
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2800
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2801
 
$as_echo "yes" >&6; }
2802
 
  SET_MAKE=
2803
 
else
2804
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2805
 
$as_echo "no" >&6; }
2806
 
  SET_MAKE="MAKE=${MAKE-make}"
2807
 
fi
2808
 
 
2809
 
rm -rf .tst 2>/dev/null
2810
 
mkdir .tst 2>/dev/null
2811
 
if test -d .tst; then
2812
 
  am__leading_dot=.
2813
 
else
2814
 
  am__leading_dot=_
2815
 
fi
2816
 
rmdir .tst 2>/dev/null
2817
 
 
2818
 
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2819
 
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2820
 
  # is not polluted with repeated "-I."
2821
 
  am__isrc=' -I$(srcdir)'
2822
 
  # test to see if srcdir already configured
2823
 
  if test -f $srcdir/config.status; then
2824
 
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2825
 
  fi
2826
 
fi
2827
 
 
2828
 
# test whether we have cygpath
2829
 
if test -z "$CYGPATH_W"; then
2830
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
2831
 
    CYGPATH_W='cygpath -w'
2832
 
  else
2833
 
    CYGPATH_W=echo
2834
 
  fi
2835
 
fi
2836
 
 
2837
 
 
2838
 
# Define the identity of the package.
2839
 
 PACKAGE=gpredict
2840
 
 VERSION=1.3
2841
 
 
2842
 
 
2843
 
cat >>confdefs.h <<_ACEOF
2844
 
#define PACKAGE "$PACKAGE"
2845
 
_ACEOF
2846
 
 
2847
 
 
2848
 
cat >>confdefs.h <<_ACEOF
2849
 
#define VERSION "$VERSION"
2850
 
_ACEOF
2851
 
 
2852
 
# Some tools Automake needs.
2853
 
 
2854
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2855
 
 
2856
 
 
2857
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2858
 
 
2859
 
 
2860
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2861
 
 
2862
 
 
2863
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2864
 
 
2865
 
 
2866
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2867
 
 
2868
 
# We need awk for the "check" target.  The system "awk" is bad on
2869
 
# some platforms.
2870
 
# Always define AMTAR for backward compatibility.
2871
 
 
2872
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2873
 
 
2874
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2875
 
 
2876
 
 
2877
 
 
2878
 
 
2879
 
 
2880
 
 
2881
 
 
2882
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2883
 
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2884
 
    # Check whether --enable-maintainer-mode was given.
2885
 
if test "${enable_maintainer_mode+set}" = set; then :
2886
 
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2887
 
else
2888
 
  USE_MAINTAINER_MODE=no
2889
 
fi
2890
 
 
2891
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2892
 
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2893
 
   if test $USE_MAINTAINER_MODE = yes; then
2894
 
  MAINTAINER_MODE_TRUE=
2895
 
  MAINTAINER_MODE_FALSE='#'
2896
 
else
2897
 
  MAINTAINER_MODE_TRUE='#'
2898
 
  MAINTAINER_MODE_FALSE=
2899
 
fi
2900
 
 
2901
 
  MAINT=$MAINTAINER_MODE_TRUE
2902
 
 
2903
 
 
2904
 
 
2905
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
2906
 
$as_echo_n "checking whether NLS is requested... " >&6; }
2907
 
    # Check whether --enable-nls was given.
2908
 
if test "${enable_nls+set}" = set; then :
2909
 
  enableval=$enable_nls; USE_NLS=$enableval
2910
 
else
2911
 
  USE_NLS=yes
2912
 
fi
2913
 
 
2914
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
2915
 
$as_echo "$USE_NLS" >&6; }
2916
 
 
2917
 
 
2918
 
DEPDIR="${am__leading_dot}deps"
2919
 
 
2920
 
ac_config_commands="$ac_config_commands depfiles"
2921
 
 
2922
 
 
2923
 
am_make=${MAKE-make}
2924
 
cat > confinc << 'END'
2925
 
am__doit:
2926
 
        @echo this is the am__doit target
2927
 
.PHONY: am__doit
2928
 
END
2929
 
# If we don't find an include directive, just comment out the code.
2930
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2931
 
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2932
 
am__include="#"
2933
 
am__quote=
2934
 
_am_result=none
2935
 
# First try GNU make style include.
2936
 
echo "include confinc" > confmf
2937
 
# Ignore all kinds of additional output from `make'.
2938
 
case `$am_make -s -f confmf 2> /dev/null` in #(
2939
 
*the\ am__doit\ target*)
2940
 
  am__include=include
2941
 
  am__quote=
2942
 
  _am_result=GNU
2943
 
  ;;
2944
 
esac
2945
 
# Now try BSD make style include.
2946
 
if test "$am__include" = "#"; then
2947
 
   echo '.include "confinc"' > confmf
2948
 
   case `$am_make -s -f confmf 2> /dev/null` in #(
2949
 
   *the\ am__doit\ target*)
2950
 
     am__include=.include
2951
 
     am__quote="\""
2952
 
     _am_result=BSD
2953
 
     ;;
2954
 
   esac
2955
 
fi
2956
 
 
2957
 
 
2958
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2959
 
$as_echo "$_am_result" >&6; }
2960
 
rm -f confinc confmf
2961
 
 
2962
 
# Check whether --enable-dependency-tracking was given.
2963
 
if test "${enable_dependency_tracking+set}" = set; then :
2964
 
  enableval=$enable_dependency_tracking;
2965
 
fi
2966
 
 
2967
 
if test "x$enable_dependency_tracking" != xno; then
2968
 
  am_depcomp="$ac_aux_dir/depcomp"
2969
 
  AMDEPBACKSLASH='\'
2970
 
fi
2971
 
 if test "x$enable_dependency_tracking" != xno; then
2972
 
  AMDEP_TRUE=
2973
 
  AMDEP_FALSE='#'
2974
 
else
2975
 
  AMDEP_TRUE='#'
2976
 
  AMDEP_FALSE=
2977
 
fi
2978
 
 
2979
 
 
2980
 
ac_ext=c
2981
 
ac_cpp='$CPP $CPPFLAGS'
2982
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2983
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2984
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2985
 
if test -n "$ac_tool_prefix"; then
2986
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2987
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2988
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2989
 
$as_echo_n "checking for $ac_word... " >&6; }
2990
 
if test "${ac_cv_prog_CC+set}" = set; then :
2991
 
  $as_echo_n "(cached) " >&6
2992
 
else
2993
 
  if test -n "$CC"; then
2994
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2995
 
else
2996
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2997
 
for as_dir in $PATH
2998
 
do
2999
 
  IFS=$as_save_IFS
3000
 
  test -z "$as_dir" && as_dir=.
3001
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3002
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3003
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3004
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3005
 
    break 2
3006
 
  fi
3007
 
done
3008
 
  done
3009
 
IFS=$as_save_IFS
3010
 
 
3011
 
fi
3012
 
fi
3013
 
CC=$ac_cv_prog_CC
3014
 
if test -n "$CC"; then
3015
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3016
 
$as_echo "$CC" >&6; }
3017
 
else
3018
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3019
 
$as_echo "no" >&6; }
3020
 
fi
3021
 
 
3022
 
 
3023
 
fi
3024
 
if test -z "$ac_cv_prog_CC"; then
3025
 
  ac_ct_CC=$CC
3026
 
  # Extract the first word of "gcc", so it can be a program name with args.
3027
 
set dummy gcc; ac_word=$2
3028
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3029
 
$as_echo_n "checking for $ac_word... " >&6; }
3030
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3031
 
  $as_echo_n "(cached) " >&6
3032
 
else
3033
 
  if test -n "$ac_ct_CC"; then
3034
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3035
 
else
3036
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3037
 
for as_dir in $PATH
3038
 
do
3039
 
  IFS=$as_save_IFS
3040
 
  test -z "$as_dir" && as_dir=.
3041
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3042
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3043
 
    ac_cv_prog_ac_ct_CC="gcc"
3044
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3045
 
    break 2
3046
 
  fi
3047
 
done
3048
 
  done
3049
 
IFS=$as_save_IFS
3050
 
 
3051
 
fi
3052
 
fi
3053
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3054
 
if test -n "$ac_ct_CC"; then
3055
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3056
 
$as_echo "$ac_ct_CC" >&6; }
3057
 
else
3058
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3059
 
$as_echo "no" >&6; }
3060
 
fi
3061
 
 
3062
 
  if test "x$ac_ct_CC" = x; then
3063
 
    CC=""
3064
 
  else
3065
 
    case $cross_compiling:$ac_tool_warned in
3066
 
yes:)
3067
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3068
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3069
 
ac_tool_warned=yes ;;
3070
 
esac
3071
 
    CC=$ac_ct_CC
3072
 
  fi
3073
 
else
3074
 
  CC="$ac_cv_prog_CC"
3075
 
fi
3076
 
 
3077
 
if test -z "$CC"; then
3078
 
          if test -n "$ac_tool_prefix"; then
3079
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3080
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
3081
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3082
 
$as_echo_n "checking for $ac_word... " >&6; }
3083
 
if test "${ac_cv_prog_CC+set}" = set; then :
3084
 
  $as_echo_n "(cached) " >&6
3085
 
else
3086
 
  if test -n "$CC"; then
3087
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3088
 
else
3089
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3090
 
for as_dir in $PATH
3091
 
do
3092
 
  IFS=$as_save_IFS
3093
 
  test -z "$as_dir" && as_dir=.
3094
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3095
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3096
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3097
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3098
 
    break 2
3099
 
  fi
3100
 
done
3101
 
  done
3102
 
IFS=$as_save_IFS
3103
 
 
3104
 
fi
3105
 
fi
3106
 
CC=$ac_cv_prog_CC
3107
 
if test -n "$CC"; then
3108
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3109
 
$as_echo "$CC" >&6; }
3110
 
else
3111
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3112
 
$as_echo "no" >&6; }
3113
 
fi
3114
 
 
3115
 
 
3116
 
  fi
3117
 
fi
3118
 
if test -z "$CC"; then
3119
 
  # Extract the first word of "cc", so it can be a program name with args.
3120
 
set dummy cc; ac_word=$2
3121
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3122
 
$as_echo_n "checking for $ac_word... " >&6; }
3123
 
if test "${ac_cv_prog_CC+set}" = set; then :
3124
 
  $as_echo_n "(cached) " >&6
3125
 
else
3126
 
  if test -n "$CC"; then
3127
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3128
 
else
3129
 
  ac_prog_rejected=no
3130
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3131
 
for as_dir in $PATH
3132
 
do
3133
 
  IFS=$as_save_IFS
3134
 
  test -z "$as_dir" && as_dir=.
3135
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3136
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3137
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3138
 
       ac_prog_rejected=yes
3139
 
       continue
3140
 
     fi
3141
 
    ac_cv_prog_CC="cc"
3142
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3143
 
    break 2
3144
 
  fi
3145
 
done
3146
 
  done
3147
 
IFS=$as_save_IFS
3148
 
 
3149
 
if test $ac_prog_rejected = yes; then
3150
 
  # We found a bogon in the path, so make sure we never use it.
3151
 
  set dummy $ac_cv_prog_CC
3152
 
  shift
3153
 
  if test $# != 0; then
3154
 
    # We chose a different compiler from the bogus one.
3155
 
    # However, it has the same basename, so the bogon will be chosen
3156
 
    # first if we set CC to just the basename; use the full file name.
3157
 
    shift
3158
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3159
 
  fi
3160
 
fi
3161
 
fi
3162
 
fi
3163
 
CC=$ac_cv_prog_CC
3164
 
if test -n "$CC"; then
3165
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3166
 
$as_echo "$CC" >&6; }
3167
 
else
3168
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3169
 
$as_echo "no" >&6; }
3170
 
fi
3171
 
 
3172
 
 
3173
 
fi
3174
 
if test -z "$CC"; then
3175
 
  if test -n "$ac_tool_prefix"; then
3176
 
  for ac_prog in cl.exe
3177
 
  do
3178
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3179
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3180
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3181
 
$as_echo_n "checking for $ac_word... " >&6; }
3182
 
if test "${ac_cv_prog_CC+set}" = set; then :
3183
 
  $as_echo_n "(cached) " >&6
3184
 
else
3185
 
  if test -n "$CC"; then
3186
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3187
 
else
3188
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3189
 
for as_dir in $PATH
3190
 
do
3191
 
  IFS=$as_save_IFS
3192
 
  test -z "$as_dir" && as_dir=.
3193
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3194
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3195
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3196
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3197
 
    break 2
3198
 
  fi
3199
 
done
3200
 
  done
3201
 
IFS=$as_save_IFS
3202
 
 
3203
 
fi
3204
 
fi
3205
 
CC=$ac_cv_prog_CC
3206
 
if test -n "$CC"; then
3207
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3208
 
$as_echo "$CC" >&6; }
3209
 
else
3210
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3211
 
$as_echo "no" >&6; }
3212
 
fi
3213
 
 
3214
 
 
3215
 
    test -n "$CC" && break
3216
 
  done
3217
 
fi
3218
 
if test -z "$CC"; then
3219
 
  ac_ct_CC=$CC
3220
 
  for ac_prog in cl.exe
3221
 
do
3222
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3223
 
set dummy $ac_prog; ac_word=$2
3224
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3225
 
$as_echo_n "checking for $ac_word... " >&6; }
3226
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3227
 
  $as_echo_n "(cached) " >&6
3228
 
else
3229
 
  if test -n "$ac_ct_CC"; then
3230
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3231
 
else
3232
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3233
 
for as_dir in $PATH
3234
 
do
3235
 
  IFS=$as_save_IFS
3236
 
  test -z "$as_dir" && as_dir=.
3237
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3238
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3239
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
3240
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3241
 
    break 2
3242
 
  fi
3243
 
done
3244
 
  done
3245
 
IFS=$as_save_IFS
3246
 
 
3247
 
fi
3248
 
fi
3249
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3250
 
if test -n "$ac_ct_CC"; then
3251
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3252
 
$as_echo "$ac_ct_CC" >&6; }
3253
 
else
3254
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3255
 
$as_echo "no" >&6; }
3256
 
fi
3257
 
 
3258
 
 
3259
 
  test -n "$ac_ct_CC" && break
3260
 
done
3261
 
 
3262
 
  if test "x$ac_ct_CC" = x; then
3263
 
    CC=""
3264
 
  else
3265
 
    case $cross_compiling:$ac_tool_warned in
3266
 
yes:)
3267
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3268
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3269
 
ac_tool_warned=yes ;;
3270
 
esac
3271
 
    CC=$ac_ct_CC
3272
 
  fi
3273
 
fi
3274
 
 
3275
 
fi
3276
 
 
3277
 
 
3278
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3279
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3280
 
as_fn_error $? "no acceptable C compiler found in \$PATH
3281
 
See \`config.log' for more details" "$LINENO" 5 ; }
3282
 
 
3283
 
# Provide some information about the compiler.
3284
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3285
 
set X $ac_compile
3286
 
ac_compiler=$2
3287
 
for ac_option in --version -v -V -qversion; do
3288
 
  { { ac_try="$ac_compiler $ac_option >&5"
3289
 
case "(($ac_try" in
3290
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3291
 
  *) ac_try_echo=$ac_try;;
3292
 
esac
3293
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3294
 
$as_echo "$ac_try_echo"; } >&5
3295
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3296
 
  ac_status=$?
3297
 
  if test -s conftest.err; then
3298
 
    sed '10a\
3299
 
... rest of stderr output deleted ...
3300
 
         10q' conftest.err >conftest.er1
3301
 
    cat conftest.er1 >&5
3302
 
  fi
3303
 
  rm -f conftest.er1 conftest.err
3304
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3305
 
  test $ac_status = 0; }
3306
 
done
3307
 
 
3308
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3309
 
/* end confdefs.h.  */
3310
 
 
3311
 
int
3312
 
main ()
3313
 
{
3314
 
 
3315
 
  ;
3316
 
  return 0;
3317
 
}
3318
 
_ACEOF
3319
 
ac_clean_files_save=$ac_clean_files
3320
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3321
 
# Try to create an executable without -o first, disregard a.out.
3322
 
# It will help us diagnose broken compilers, and finding out an intuition
3323
 
# of exeext.
3324
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3325
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3326
 
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3327
 
 
3328
 
# The possible output files:
3329
 
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3330
 
 
3331
 
ac_rmfiles=
3332
 
for ac_file in $ac_files
3333
 
do
3334
 
  case $ac_file in
3335
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3336
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3337
 
  esac
3338
 
done
3339
 
rm -f $ac_rmfiles
3340
 
 
3341
 
if { { ac_try="$ac_link_default"
3342
 
case "(($ac_try" in
3343
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3344
 
  *) ac_try_echo=$ac_try;;
3345
 
esac
3346
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3347
 
$as_echo "$ac_try_echo"; } >&5
3348
 
  (eval "$ac_link_default") 2>&5
3349
 
  ac_status=$?
3350
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3351
 
  test $ac_status = 0; }; then :
3352
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3353
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3354
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3355
 
# so that the user can short-circuit this test for compilers unknown to
3356
 
# Autoconf.
3357
 
for ac_file in $ac_files ''
3358
 
do
3359
 
  test -f "$ac_file" || continue
3360
 
  case $ac_file in
3361
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3362
 
        ;;
3363
 
    [ab].out )
3364
 
        # We found the default executable, but exeext='' is most
3365
 
        # certainly right.
3366
 
        break;;
3367
 
    *.* )
3368
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3369
 
        then :; else
3370
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3371
 
        fi
3372
 
        # We set ac_cv_exeext here because the later test for it is not
3373
 
        # safe: cross compilers may not add the suffix if given an `-o'
3374
 
        # argument, so we may need to know it at that point already.
3375
 
        # Even if this section looks crufty: it has the advantage of
3376
 
        # actually working.
3377
 
        break;;
3378
 
    * )
3379
 
        break;;
3380
 
  esac
3381
 
done
3382
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3383
 
 
3384
 
else
3385
 
  ac_file=''
3386
 
fi
3387
 
if test -z "$ac_file"; then :
3388
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3389
 
$as_echo "no" >&6; }
3390
 
$as_echo "$as_me: failed program was:" >&5
3391
 
sed 's/^/| /' conftest.$ac_ext >&5
3392
 
 
3393
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3394
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3395
 
as_fn_error 77 "C compiler cannot create executables
3396
 
See \`config.log' for more details" "$LINENO" 5 ; }
3397
 
else
3398
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3399
 
$as_echo "yes" >&6; }
3400
 
fi
3401
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3402
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
3403
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3404
 
$as_echo "$ac_file" >&6; }
3405
 
ac_exeext=$ac_cv_exeext
3406
 
 
3407
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3408
 
ac_clean_files=$ac_clean_files_save
3409
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3410
 
$as_echo_n "checking for suffix of executables... " >&6; }
3411
 
if { { ac_try="$ac_link"
3412
 
case "(($ac_try" in
3413
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3414
 
  *) ac_try_echo=$ac_try;;
3415
 
esac
3416
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3417
 
$as_echo "$ac_try_echo"; } >&5
3418
 
  (eval "$ac_link") 2>&5
3419
 
  ac_status=$?
3420
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3421
 
  test $ac_status = 0; }; then :
3422
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3423
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3424
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3425
 
# `rm'.
3426
 
for ac_file in conftest.exe conftest conftest.*; do
3427
 
  test -f "$ac_file" || continue
3428
 
  case $ac_file in
3429
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3430
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3431
 
          break;;
3432
 
    * ) break;;
3433
 
  esac
3434
 
done
3435
 
else
3436
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3437
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3438
 
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3439
 
See \`config.log' for more details" "$LINENO" 5 ; }
3440
 
fi
3441
 
rm -f conftest conftest$ac_cv_exeext
3442
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3443
 
$as_echo "$ac_cv_exeext" >&6; }
3444
 
 
3445
 
rm -f conftest.$ac_ext
3446
 
EXEEXT=$ac_cv_exeext
3447
 
ac_exeext=$EXEEXT
3448
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3449
 
/* end confdefs.h.  */
3450
 
#include <stdio.h>
3451
 
int
3452
 
main ()
3453
 
{
3454
 
FILE *f = fopen ("conftest.out", "w");
3455
 
 return ferror (f) || fclose (f) != 0;
3456
 
 
3457
 
  ;
3458
 
  return 0;
3459
 
}
3460
 
_ACEOF
3461
 
ac_clean_files="$ac_clean_files conftest.out"
3462
 
# Check that the compiler produces executables we can run.  If not, either
3463
 
# the compiler is broken, or we cross compile.
3464
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3465
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3466
 
if test "$cross_compiling" != yes; then
3467
 
  { { ac_try="$ac_link"
3468
 
case "(($ac_try" in
3469
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3470
 
  *) ac_try_echo=$ac_try;;
3471
 
esac
3472
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3473
 
$as_echo "$ac_try_echo"; } >&5
3474
 
  (eval "$ac_link") 2>&5
3475
 
  ac_status=$?
3476
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3477
 
  test $ac_status = 0; }
3478
 
  if { ac_try='./conftest$ac_cv_exeext'
3479
 
  { { case "(($ac_try" in
3480
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3481
 
  *) ac_try_echo=$ac_try;;
3482
 
esac
3483
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3484
 
$as_echo "$ac_try_echo"; } >&5
3485
 
  (eval "$ac_try") 2>&5
3486
 
  ac_status=$?
3487
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3488
 
  test $ac_status = 0; }; }; then
3489
 
    cross_compiling=no
3490
 
  else
3491
 
    if test "$cross_compiling" = maybe; then
3492
 
        cross_compiling=yes
3493
 
    else
3494
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3495
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3496
 
as_fn_error $? "cannot run C compiled programs.
3497
 
If you meant to cross compile, use \`--host'.
3498
 
See \`config.log' for more details" "$LINENO" 5 ; }
3499
 
    fi
3500
 
  fi
3501
 
fi
3502
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3503
 
$as_echo "$cross_compiling" >&6; }
3504
 
 
3505
 
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3506
 
ac_clean_files=$ac_clean_files_save
3507
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3508
 
$as_echo_n "checking for suffix of object files... " >&6; }
3509
 
if test "${ac_cv_objext+set}" = set; then :
3510
 
  $as_echo_n "(cached) " >&6
3511
 
else
3512
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3513
 
/* end confdefs.h.  */
3514
 
 
3515
 
int
3516
 
main ()
3517
 
{
3518
 
 
3519
 
  ;
3520
 
  return 0;
3521
 
}
3522
 
_ACEOF
3523
 
rm -f conftest.o conftest.obj
3524
 
if { { ac_try="$ac_compile"
3525
 
case "(($ac_try" in
3526
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3527
 
  *) ac_try_echo=$ac_try;;
3528
 
esac
3529
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3530
 
$as_echo "$ac_try_echo"; } >&5
3531
 
  (eval "$ac_compile") 2>&5
3532
 
  ac_status=$?
3533
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3534
 
  test $ac_status = 0; }; then :
3535
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3536
 
  test -f "$ac_file" || continue;
3537
 
  case $ac_file in
3538
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3539
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3540
 
       break;;
3541
 
  esac
3542
 
done
3543
 
else
3544
 
  $as_echo "$as_me: failed program was:" >&5
3545
 
sed 's/^/| /' conftest.$ac_ext >&5
3546
 
 
3547
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3548
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3549
 
as_fn_error $? "cannot compute suffix of object files: cannot compile
3550
 
See \`config.log' for more details" "$LINENO" 5 ; }
3551
 
fi
3552
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3553
 
fi
3554
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3555
 
$as_echo "$ac_cv_objext" >&6; }
3556
 
OBJEXT=$ac_cv_objext
3557
 
ac_objext=$OBJEXT
3558
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3559
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3560
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3561
 
  $as_echo_n "(cached) " >&6
3562
 
else
3563
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3564
 
/* end confdefs.h.  */
3565
 
 
3566
 
int
3567
 
main ()
3568
 
{
3569
 
#ifndef __GNUC__
3570
 
       choke me
3571
 
#endif
3572
 
 
3573
 
  ;
3574
 
  return 0;
3575
 
}
3576
 
_ACEOF
3577
 
if ac_fn_c_try_compile "$LINENO"; then :
3578
 
  ac_compiler_gnu=yes
3579
 
else
3580
 
  ac_compiler_gnu=no
3581
 
fi
3582
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3583
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3584
 
 
3585
 
fi
3586
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3587
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3588
 
if test $ac_compiler_gnu = yes; then
3589
 
  GCC=yes
3590
 
else
3591
 
  GCC=
3592
 
fi
3593
 
ac_test_CFLAGS=${CFLAGS+set}
3594
 
ac_save_CFLAGS=$CFLAGS
3595
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3596
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3597
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
3598
 
  $as_echo_n "(cached) " >&6
3599
 
else
3600
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3601
 
   ac_c_werror_flag=yes
3602
 
   ac_cv_prog_cc_g=no
3603
 
   CFLAGS="-g"
3604
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3605
 
/* end confdefs.h.  */
3606
 
 
3607
 
int
3608
 
main ()
3609
 
{
3610
 
 
3611
 
  ;
3612
 
  return 0;
3613
 
}
3614
 
_ACEOF
3615
 
if ac_fn_c_try_compile "$LINENO"; then :
3616
 
  ac_cv_prog_cc_g=yes
3617
 
else
3618
 
  CFLAGS=""
3619
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3620
 
/* end confdefs.h.  */
3621
 
 
3622
 
int
3623
 
main ()
3624
 
{
3625
 
 
3626
 
  ;
3627
 
  return 0;
3628
 
}
3629
 
_ACEOF
3630
 
if ac_fn_c_try_compile "$LINENO"; then :
3631
 
 
3632
 
else
3633
 
  ac_c_werror_flag=$ac_save_c_werror_flag
3634
 
         CFLAGS="-g"
3635
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3636
 
/* end confdefs.h.  */
3637
 
 
3638
 
int
3639
 
main ()
3640
 
{
3641
 
 
3642
 
  ;
3643
 
  return 0;
3644
 
}
3645
 
_ACEOF
3646
 
if ac_fn_c_try_compile "$LINENO"; then :
3647
 
  ac_cv_prog_cc_g=yes
3648
 
fi
3649
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3650
 
fi
3651
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3652
 
fi
3653
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3654
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3655
 
fi
3656
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3657
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
3658
 
if test "$ac_test_CFLAGS" = set; then
3659
 
  CFLAGS=$ac_save_CFLAGS
3660
 
elif test $ac_cv_prog_cc_g = yes; then
3661
 
  if test "$GCC" = yes; then
3662
 
    CFLAGS="-g -O2"
3663
 
  else
3664
 
    CFLAGS="-g"
3665
 
  fi
3666
 
else
3667
 
  if test "$GCC" = yes; then
3668
 
    CFLAGS="-O2"
3669
 
  else
3670
 
    CFLAGS=
3671
 
  fi
3672
 
fi
3673
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3674
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3675
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3676
 
  $as_echo_n "(cached) " >&6
3677
 
else
3678
 
  ac_cv_prog_cc_c89=no
3679
 
ac_save_CC=$CC
3680
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3681
 
/* end confdefs.h.  */
3682
 
#include <stdarg.h>
3683
 
#include <stdio.h>
3684
 
#include <sys/types.h>
3685
 
#include <sys/stat.h>
3686
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3687
 
struct buf { int x; };
3688
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3689
 
static char *e (p, i)
3690
 
     char **p;
3691
 
     int i;
3692
 
{
3693
 
  return p[i];
3694
 
}
3695
 
static char *f (char * (*g) (char **, int), char **p, ...)
3696
 
{
3697
 
  char *s;
3698
 
  va_list v;
3699
 
  va_start (v,p);
3700
 
  s = g (p, va_arg (v,int));
3701
 
  va_end (v);
3702
 
  return s;
3703
 
}
3704
 
 
3705
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3706
 
   function prototypes and stuff, but not '\xHH' hex character constants.
3707
 
   These don't provoke an error unfortunately, instead are silently treated
3708
 
   as 'x'.  The following induces an error, until -std is added to get
3709
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3710
 
   array size at least.  It's necessary to write '\x00'==0 to get something
3711
 
   that's true only with -std.  */
3712
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3713
 
 
3714
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3715
 
   inside strings and character constants.  */
3716
 
#define FOO(x) 'x'
3717
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3718
 
 
3719
 
int test (int i, double x);
3720
 
struct s1 {int (*f) (int a);};
3721
 
struct s2 {int (*f) (double a);};
3722
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3723
 
int argc;
3724
 
char **argv;
3725
 
int
3726
 
main ()
3727
 
{
3728
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3729
 
  ;
3730
 
  return 0;
3731
 
}
3732
 
_ACEOF
3733
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3734
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3735
 
do
3736
 
  CC="$ac_save_CC $ac_arg"
3737
 
  if ac_fn_c_try_compile "$LINENO"; then :
3738
 
  ac_cv_prog_cc_c89=$ac_arg
3739
 
fi
3740
 
rm -f core conftest.err conftest.$ac_objext
3741
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3742
 
done
3743
 
rm -f conftest.$ac_ext
3744
 
CC=$ac_save_CC
3745
 
 
3746
 
fi
3747
 
# AC_CACHE_VAL
3748
 
case "x$ac_cv_prog_cc_c89" in
3749
 
  x)
3750
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3751
 
$as_echo "none needed" >&6; } ;;
3752
 
  xno)
3753
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3754
 
$as_echo "unsupported" >&6; } ;;
3755
 
  *)
3756
 
    CC="$CC $ac_cv_prog_cc_c89"
3757
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3758
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3759
 
esac
3760
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
3761
 
 
3762
 
fi
3763
 
 
3764
 
ac_ext=c
3765
 
ac_cpp='$CPP $CPPFLAGS'
3766
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3767
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3768
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3769
 
 
3770
 
depcc="$CC"   am_compiler_list=
3771
 
 
3772
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3773
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
3774
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3775
 
  $as_echo_n "(cached) " >&6
3776
 
else
3777
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3778
 
  # We make a subdir and do the tests there.  Otherwise we can end up
3779
 
  # making bogus files that we don't know about and never remove.  For
3780
 
  # instance it was reported that on HP-UX the gcc test will end up
3781
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3782
 
  # in D'.
3783
 
  mkdir conftest.dir
3784
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
3785
 
  # using a relative directory.
3786
 
  cp "$am_depcomp" conftest.dir
3787
 
  cd conftest.dir
3788
 
  # We will build objects and dependencies in a subdirectory because
3789
 
  # it helps to detect inapplicable dependency modes.  For instance
3790
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
3791
 
  # side effect of compilation, but ICC will put the dependencies in
3792
 
  # the current directory while Tru64 will put them in the object
3793
 
  # directory.
3794
 
  mkdir sub
3795
 
 
3796
 
  am_cv_CC_dependencies_compiler_type=none
3797
 
  if test "$am_compiler_list" = ""; then
3798
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3799
 
  fi
3800
 
  am__universal=false
3801
 
  case " $depcc " in #(
3802
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3803
 
     esac
3804
 
 
3805
 
  for depmode in $am_compiler_list; do
3806
 
    # Setup a source with many dependencies, because some compilers
3807
 
    # like to wrap large dependency lists on column 80 (with \), and
3808
 
    # we should not choose a depcomp mode which is confused by this.
3809
 
    #
3810
 
    # We need to recreate these files for each test, as the compiler may
3811
 
    # overwrite some of them when testing with obscure command lines.
3812
 
    # This happens at least with the AIX C compiler.
3813
 
    : > sub/conftest.c
3814
 
    for i in 1 2 3 4 5 6; do
3815
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3816
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3817
 
      # Solaris 8's {/usr,}/bin/sh.
3818
 
      touch sub/conftst$i.h
3819
 
    done
3820
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3821
 
 
3822
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3823
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3824
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
3825
 
    # versions had trouble with output in subdirs
3826
 
    am__obj=sub/conftest.${OBJEXT-o}
3827
 
    am__minus_obj="-o $am__obj"
3828
 
    case $depmode in
3829
 
    gcc)
3830
 
      # This depmode causes a compiler race in universal mode.
3831
 
      test "$am__universal" = false || continue
3832
 
      ;;
3833
 
    nosideeffect)
3834
 
      # after this tag, mechanisms are not by side-effect, so they'll
3835
 
      # only be used when explicitly requested
3836
 
      if test "x$enable_dependency_tracking" = xyes; then
3837
 
        continue
3838
 
      else
3839
 
        break
3840
 
      fi
3841
 
      ;;
3842
 
    msvisualcpp | msvcmsys)
3843
 
      # This compiler won't grok `-c -o', but also, the minuso test has
3844
 
      # not run yet.  These depmodes are late enough in the game, and
3845
 
      # so weak that their functioning should not be impacted.
3846
 
      am__obj=conftest.${OBJEXT-o}
3847
 
      am__minus_obj=
3848
 
      ;;
3849
 
    none) break ;;
3850
 
    esac
3851
 
    if depmode=$depmode \
3852
 
       source=sub/conftest.c object=$am__obj \
3853
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3854
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3855
 
         >/dev/null 2>conftest.err &&
3856
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3857
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3858
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3859
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3860
 
      # icc doesn't choke on unknown options, it will just issue warnings
3861
 
      # or remarks (even with -Werror).  So we grep stderr for any message
3862
 
      # that says an option was ignored or not supported.
3863
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3864
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
3865
 
      # The diagnosis changed in icc 8.0:
3866
 
      #   icc: Command line remark: option '-MP' not supported
3867
 
      if (grep 'ignoring option' conftest.err ||
3868
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3869
 
        am_cv_CC_dependencies_compiler_type=$depmode
3870
 
        break
3871
 
      fi
3872
 
    fi
3873
 
  done
3874
 
 
3875
 
  cd ..
3876
 
  rm -rf conftest.dir
3877
 
else
3878
 
  am_cv_CC_dependencies_compiler_type=none
3879
 
fi
3880
 
 
3881
 
fi
3882
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3883
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3884
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3885
 
 
3886
 
 if
3887
 
  test "x$enable_dependency_tracking" != xno \
3888
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3889
 
  am__fastdepCC_TRUE=
3890
 
  am__fastdepCC_FALSE='#'
3891
 
else
3892
 
  am__fastdepCC_TRUE='#'
3893
 
  am__fastdepCC_FALSE=
3894
 
fi
3895
 
 
3896
 
 
3897
 
 
3898
 
 
3899
 
 
3900
 
case "$am__api_version" in
3901
 
    1.01234)
3902
 
        as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
3903
 
    ;;
3904
 
    *)
3905
 
    ;;
3906
 
esac
3907
 
 
3908
 
if test -n "0.21"; then
3909
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.21" >&5
3910
 
$as_echo_n "checking for intltool >= 0.21... " >&6; }
3911
 
 
3912
 
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.21 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3913
 
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
3914
 
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3915
 
 
3916
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
3917
 
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
3918
 
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3919
 
        as_fn_error $? "Your intltool is too old.  You need intltool 0.21 or later." "$LINENO" 5
3920
 
fi
3921
 
 
3922
 
# Extract the first word of "intltool-update", so it can be a program name with args.
3923
 
set dummy intltool-update; ac_word=$2
3924
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3925
 
$as_echo_n "checking for $ac_word... " >&6; }
3926
 
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
3927
 
  $as_echo_n "(cached) " >&6
3928
 
else
3929
 
  case $INTLTOOL_UPDATE in
3930
 
  [\\/]* | ?:[\\/]*)
3931
 
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
3932
 
  ;;
3933
 
  *)
3934
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3935
 
for as_dir in $PATH
3936
 
do
3937
 
  IFS=$as_save_IFS
3938
 
  test -z "$as_dir" && as_dir=.
3939
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3940
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3941
 
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
3942
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3943
 
    break 2
3944
 
  fi
3945
 
done
3946
 
  done
3947
 
IFS=$as_save_IFS
3948
 
 
3949
 
  ;;
3950
 
esac
3951
 
fi
3952
 
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
3953
 
if test -n "$INTLTOOL_UPDATE"; then
3954
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
3955
 
$as_echo "$INTLTOOL_UPDATE" >&6; }
3956
 
else
3957
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3958
 
$as_echo "no" >&6; }
3959
 
fi
3960
 
 
3961
 
 
3962
 
# Extract the first word of "intltool-merge", so it can be a program name with args.
3963
 
set dummy intltool-merge; ac_word=$2
3964
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3965
 
$as_echo_n "checking for $ac_word... " >&6; }
3966
 
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
3967
 
  $as_echo_n "(cached) " >&6
3968
 
else
3969
 
  case $INTLTOOL_MERGE in
3970
 
  [\\/]* | ?:[\\/]*)
3971
 
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
3972
 
  ;;
3973
 
  *)
3974
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3975
 
for as_dir in $PATH
3976
 
do
3977
 
  IFS=$as_save_IFS
3978
 
  test -z "$as_dir" && as_dir=.
3979
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3980
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3981
 
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
3982
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3983
 
    break 2
3984
 
  fi
3985
 
done
3986
 
  done
3987
 
IFS=$as_save_IFS
3988
 
 
3989
 
  ;;
3990
 
esac
3991
 
fi
3992
 
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
3993
 
if test -n "$INTLTOOL_MERGE"; then
3994
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
3995
 
$as_echo "$INTLTOOL_MERGE" >&6; }
3996
 
else
3997
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3998
 
$as_echo "no" >&6; }
3999
 
fi
4000
 
 
4001
 
 
4002
 
# Extract the first word of "intltool-extract", so it can be a program name with args.
4003
 
set dummy intltool-extract; ac_word=$2
4004
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4005
 
$as_echo_n "checking for $ac_word... " >&6; }
4006
 
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
4007
 
  $as_echo_n "(cached) " >&6
4008
 
else
4009
 
  case $INTLTOOL_EXTRACT in
4010
 
  [\\/]* | ?:[\\/]*)
4011
 
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
4012
 
  ;;
4013
 
  *)
4014
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4015
 
for as_dir in $PATH
4016
 
do
4017
 
  IFS=$as_save_IFS
4018
 
  test -z "$as_dir" && as_dir=.
4019
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4020
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4021
 
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
4022
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4023
 
    break 2
4024
 
  fi
4025
 
done
4026
 
  done
4027
 
IFS=$as_save_IFS
4028
 
 
4029
 
  ;;
4030
 
esac
4031
 
fi
4032
 
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
4033
 
if test -n "$INTLTOOL_EXTRACT"; then
4034
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
4035
 
$as_echo "$INTLTOOL_EXTRACT" >&6; }
4036
 
else
4037
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4038
 
$as_echo "no" >&6; }
4039
 
fi
4040
 
 
4041
 
 
4042
 
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
4043
 
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
4044
 
fi
4045
 
 
4046
 
  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 $< $@'
4047
 
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 $< $@'
4048
 
     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 $< $@'
4049
 
     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 $< $@'
4050
 
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
4051
 
     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 $< $@'
4052
 
   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 $< $@'
4053
 
    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 $< $@'
4054
 
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 $< $@'
4055
 
       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 $< $@'
4056
 
      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 $< $@'
4057
 
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
4058
 
      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 $< $@'
4059
 
      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 $< $@'
4060
 
    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 $< $@'
4061
 
  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 $< $@'
4062
 
    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 $< $@'
4063
 
    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 $< $@'
4064
 
   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 $< $@'
4065
 
 
4066
 
 
4067
 
 
4068
 
 
4069
 
 
4070
 
 
4071
 
 
4072
 
 
4073
 
 
4074
 
 
4075
 
 
4076
 
 
4077
 
 
4078
 
 
4079
 
 
4080
 
 
4081
 
 
4082
 
 
4083
 
 
4084
 
 
4085
 
 
4086
 
 
4087
 
 
4088
 
 
4089
 
 
4090
 
 
4091
 
 
4092
 
 
4093
 
 
4094
 
 
4095
 
 
4096
 
 
4097
 
 
4098
 
 
4099
 
 
4100
 
 
4101
 
 
4102
 
 
4103
 
 
4104
 
 
4105
 
 
4106
 
 
4107
 
 
4108
 
 
4109
 
 
4110
 
 
4111
 
 
4112
 
 
4113
 
 
4114
 
 
4115
 
 
4116
 
 
4117
 
 
4118
 
 
4119
 
 
4120
 
 
4121
 
 
4122
 
 
4123
 
 
4124
 
 
4125
 
 
4126
 
 
4127
 
 
4128
 
 
4129
 
 
4130
 
 
4131
 
 
4132
 
 
4133
 
 
4134
 
 
4135
 
 
4136
 
 
4137
 
 
4138
 
 
4139
 
 
4140
 
 
4141
 
 
4142
 
 
4143
 
 
4144
 
 
4145
 
 
4146
 
 
4147
 
 
4148
 
 
4149
 
 
4150
 
 
4151
 
 
4152
 
 
4153
 
 
4154
 
 
4155
 
 
4156
 
 
4157
 
 
4158
 
 
4159
 
 
4160
 
 
4161
 
 
4162
 
# Check the gettext tools to make sure they are GNU
4163
 
# Extract the first word of "xgettext", so it can be a program name with args.
4164
 
set dummy xgettext; ac_word=$2
4165
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4166
 
$as_echo_n "checking for $ac_word... " >&6; }
4167
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
4168
 
  $as_echo_n "(cached) " >&6
4169
 
else
4170
 
  case $XGETTEXT in
4171
 
  [\\/]* | ?:[\\/]*)
4172
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4173
 
  ;;
4174
 
  *)
4175
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4176
 
for as_dir in $PATH
4177
 
do
4178
 
  IFS=$as_save_IFS
4179
 
  test -z "$as_dir" && as_dir=.
4180
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4181
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4182
 
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4183
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4184
 
    break 2
4185
 
  fi
4186
 
done
4187
 
  done
4188
 
IFS=$as_save_IFS
4189
 
 
4190
 
  ;;
4191
 
esac
4192
 
fi
4193
 
XGETTEXT=$ac_cv_path_XGETTEXT
4194
 
if test -n "$XGETTEXT"; then
4195
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4196
 
$as_echo "$XGETTEXT" >&6; }
4197
 
else
4198
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4199
 
$as_echo "no" >&6; }
4200
 
fi
4201
 
 
4202
 
 
4203
 
# Extract the first word of "msgmerge", so it can be a program name with args.
4204
 
set dummy msgmerge; ac_word=$2
4205
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4206
 
$as_echo_n "checking for $ac_word... " >&6; }
4207
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
4208
 
  $as_echo_n "(cached) " >&6
4209
 
else
4210
 
  case $MSGMERGE in
4211
 
  [\\/]* | ?:[\\/]*)
4212
 
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4213
 
  ;;
4214
 
  *)
4215
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4216
 
for as_dir in $PATH
4217
 
do
4218
 
  IFS=$as_save_IFS
4219
 
  test -z "$as_dir" && as_dir=.
4220
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4221
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4222
 
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4223
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4224
 
    break 2
4225
 
  fi
4226
 
done
4227
 
  done
4228
 
IFS=$as_save_IFS
4229
 
 
4230
 
  ;;
4231
 
esac
4232
 
fi
4233
 
MSGMERGE=$ac_cv_path_MSGMERGE
4234
 
if test -n "$MSGMERGE"; then
4235
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4236
 
$as_echo "$MSGMERGE" >&6; }
4237
 
else
4238
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4239
 
$as_echo "no" >&6; }
4240
 
fi
4241
 
 
4242
 
 
4243
 
# Extract the first word of "msgfmt", so it can be a program name with args.
4244
 
set dummy msgfmt; ac_word=$2
4245
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4246
 
$as_echo_n "checking for $ac_word... " >&6; }
4247
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
4248
 
  $as_echo_n "(cached) " >&6
4249
 
else
4250
 
  case $MSGFMT in
4251
 
  [\\/]* | ?:[\\/]*)
4252
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4253
 
  ;;
4254
 
  *)
4255
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4256
 
for as_dir in $PATH
4257
 
do
4258
 
  IFS=$as_save_IFS
4259
 
  test -z "$as_dir" && as_dir=.
4260
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4261
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4262
 
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4263
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4264
 
    break 2
4265
 
  fi
4266
 
done
4267
 
  done
4268
 
IFS=$as_save_IFS
4269
 
 
4270
 
  ;;
4271
 
esac
4272
 
fi
4273
 
MSGFMT=$ac_cv_path_MSGFMT
4274
 
if test -n "$MSGFMT"; then
4275
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4276
 
$as_echo "$MSGFMT" >&6; }
4277
 
else
4278
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4279
 
$as_echo "no" >&6; }
4280
 
fi
4281
 
 
4282
 
 
4283
 
# Extract the first word of "gmsgfmt", so it can be a program name with args.
4284
 
set dummy gmsgfmt; ac_word=$2
4285
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4286
 
$as_echo_n "checking for $ac_word... " >&6; }
4287
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
4288
 
  $as_echo_n "(cached) " >&6
4289
 
else
4290
 
  case $GMSGFMT in
4291
 
  [\\/]* | ?:[\\/]*)
4292
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4293
 
  ;;
4294
 
  *)
4295
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4296
 
for as_dir in $PATH
4297
 
do
4298
 
  IFS=$as_save_IFS
4299
 
  test -z "$as_dir" && as_dir=.
4300
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4301
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4302
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4303
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4304
 
    break 2
4305
 
  fi
4306
 
done
4307
 
  done
4308
 
IFS=$as_save_IFS
4309
 
 
4310
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4311
 
  ;;
4312
 
esac
4313
 
fi
4314
 
GMSGFMT=$ac_cv_path_GMSGFMT
4315
 
if test -n "$GMSGFMT"; then
4316
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4317
 
$as_echo "$GMSGFMT" >&6; }
4318
 
else
4319
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4320
 
$as_echo "no" >&6; }
4321
 
fi
4322
 
 
4323
 
 
4324
 
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4325
 
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4326
 
fi
4327
 
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4328
 
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4329
 
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4330
 
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4331
 
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4332
 
fi
4333
 
 
4334
 
# Extract the first word of "perl", so it can be a program name with args.
4335
 
set dummy perl; ac_word=$2
4336
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4337
 
$as_echo_n "checking for $ac_word... " >&6; }
4338
 
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
4339
 
  $as_echo_n "(cached) " >&6
4340
 
else
4341
 
  case $INTLTOOL_PERL in
4342
 
  [\\/]* | ?:[\\/]*)
4343
 
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
4344
 
  ;;
4345
 
  *)
4346
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4347
 
for as_dir in $PATH
4348
 
do
4349
 
  IFS=$as_save_IFS
4350
 
  test -z "$as_dir" && as_dir=.
4351
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4352
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4353
 
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4354
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4355
 
    break 2
4356
 
  fi
4357
 
done
4358
 
  done
4359
 
IFS=$as_save_IFS
4360
 
 
4361
 
  ;;
4362
 
esac
4363
 
fi
4364
 
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4365
 
if test -n "$INTLTOOL_PERL"; then
4366
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
4367
 
$as_echo "$INTLTOOL_PERL" >&6; }
4368
 
else
4369
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4370
 
$as_echo "no" >&6; }
4371
 
fi
4372
 
 
4373
 
 
4374
 
if test -z "$INTLTOOL_PERL"; then
4375
 
   as_fn_error $? "perl not found" "$LINENO" 5
4376
 
fi
4377
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
4378
 
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
4379
 
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4380
 
if test $? -ne 0; then
4381
 
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
4382
 
else
4383
 
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
4384
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
4385
 
$as_echo "$IT_PERL_VERSION" >&6; }
4386
 
fi
4387
 
if test "x" != "xno-xml"; then
4388
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
4389
 
$as_echo_n "checking for XML::Parser... " >&6; }
4390
 
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4391
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4392
 
$as_echo "ok" >&6; }
4393
 
   else
4394
 
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
4395
 
   fi
4396
 
fi
4397
 
 
4398
 
# Substitute ALL_LINGUAS so we can use it in po/Makefile
4399
 
 
4400
 
 
4401
 
# Set DATADIRNAME correctly if it is not set yet
4402
 
# (copied from glib-gettext.m4)
4403
 
if test -z "$DATADIRNAME"; then
4404
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4405
 
/* end confdefs.h.  */
4406
 
 
4407
 
int
4408
 
main ()
4409
 
{
4410
 
extern int _nl_msg_cat_cntr;
4411
 
                       return _nl_msg_cat_cntr
4412
 
  ;
4413
 
  return 0;
4414
 
}
4415
 
_ACEOF
4416
 
if ac_fn_c_try_link "$LINENO"; then :
4417
 
  DATADIRNAME=share
4418
 
else
4419
 
  case $host in
4420
 
    *-*-solaris*)
4421
 
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4422
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
4423
 
  DATADIRNAME=share
4424
 
else
4425
 
  DATADIRNAME=lib
4426
 
fi
4427
 
 
4428
 
    ;;
4429
 
    *)
4430
 
    DATADIRNAME=lib
4431
 
    ;;
4432
 
    esac
4433
 
fi
4434
 
rm -f core conftest.err conftest.$ac_objext \
4435
 
    conftest$ac_exeext conftest.$ac_ext
4436
 
fi
4437
 
 
4438
 
 
4439
 
 
4440
 
 
4441
 
 
4442
 
 
4443
 
 
4444
 
ac_ext=c
4445
 
ac_cpp='$CPP $CPPFLAGS'
4446
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4447
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4448
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4449
 
if test -n "$ac_tool_prefix"; then
4450
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4451
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4452
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4453
 
$as_echo_n "checking for $ac_word... " >&6; }
4454
 
if test "${ac_cv_prog_CC+set}" = set; then :
4455
 
  $as_echo_n "(cached) " >&6
4456
 
else
4457
 
  if test -n "$CC"; then
4458
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4459
 
else
4460
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4461
 
for as_dir in $PATH
4462
 
do
4463
 
  IFS=$as_save_IFS
4464
 
  test -z "$as_dir" && as_dir=.
4465
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4466
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4467
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4468
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4469
 
    break 2
4470
 
  fi
4471
 
done
4472
 
  done
4473
 
IFS=$as_save_IFS
4474
 
 
4475
 
fi
4476
 
fi
4477
 
CC=$ac_cv_prog_CC
4478
 
if test -n "$CC"; then
4479
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4480
 
$as_echo "$CC" >&6; }
4481
 
else
4482
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4483
 
$as_echo "no" >&6; }
4484
 
fi
4485
 
 
4486
 
 
4487
 
fi
4488
 
if test -z "$ac_cv_prog_CC"; then
4489
 
  ac_ct_CC=$CC
4490
 
  # Extract the first word of "gcc", so it can be a program name with args.
4491
 
set dummy gcc; ac_word=$2
4492
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4493
 
$as_echo_n "checking for $ac_word... " >&6; }
4494
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4495
 
  $as_echo_n "(cached) " >&6
4496
 
else
4497
 
  if test -n "$ac_ct_CC"; then
4498
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4499
 
else
4500
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4501
 
for as_dir in $PATH
4502
 
do
4503
 
  IFS=$as_save_IFS
4504
 
  test -z "$as_dir" && as_dir=.
4505
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4506
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4507
 
    ac_cv_prog_ac_ct_CC="gcc"
4508
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4509
 
    break 2
4510
 
  fi
4511
 
done
4512
 
  done
4513
 
IFS=$as_save_IFS
4514
 
 
4515
 
fi
4516
 
fi
4517
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4518
 
if test -n "$ac_ct_CC"; then
4519
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4520
 
$as_echo "$ac_ct_CC" >&6; }
4521
 
else
4522
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4523
 
$as_echo "no" >&6; }
4524
 
fi
4525
 
 
4526
 
  if test "x$ac_ct_CC" = x; then
4527
 
    CC=""
4528
 
  else
4529
 
    case $cross_compiling:$ac_tool_warned in
4530
 
yes:)
4531
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4532
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4533
 
ac_tool_warned=yes ;;
4534
 
esac
4535
 
    CC=$ac_ct_CC
4536
 
  fi
4537
 
else
4538
 
  CC="$ac_cv_prog_CC"
4539
 
fi
4540
 
 
4541
 
if test -z "$CC"; then
4542
 
          if test -n "$ac_tool_prefix"; then
4543
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4544
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
4545
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4546
 
$as_echo_n "checking for $ac_word... " >&6; }
4547
 
if test "${ac_cv_prog_CC+set}" = set; then :
4548
 
  $as_echo_n "(cached) " >&6
4549
 
else
4550
 
  if test -n "$CC"; then
4551
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4552
 
else
4553
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4554
 
for as_dir in $PATH
4555
 
do
4556
 
  IFS=$as_save_IFS
4557
 
  test -z "$as_dir" && as_dir=.
4558
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4559
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4560
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
4561
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4562
 
    break 2
4563
 
  fi
4564
 
done
4565
 
  done
4566
 
IFS=$as_save_IFS
4567
 
 
4568
 
fi
4569
 
fi
4570
 
CC=$ac_cv_prog_CC
4571
 
if test -n "$CC"; then
4572
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4573
 
$as_echo "$CC" >&6; }
4574
 
else
4575
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4576
 
$as_echo "no" >&6; }
4577
 
fi
4578
 
 
4579
 
 
4580
 
  fi
4581
 
fi
4582
 
if test -z "$CC"; then
4583
 
  # Extract the first word of "cc", so it can be a program name with args.
4584
 
set dummy cc; ac_word=$2
4585
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4586
 
$as_echo_n "checking for $ac_word... " >&6; }
4587
 
if test "${ac_cv_prog_CC+set}" = set; then :
4588
 
  $as_echo_n "(cached) " >&6
4589
 
else
4590
 
  if test -n "$CC"; then
4591
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4592
 
else
4593
 
  ac_prog_rejected=no
4594
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4595
 
for as_dir in $PATH
4596
 
do
4597
 
  IFS=$as_save_IFS
4598
 
  test -z "$as_dir" && as_dir=.
4599
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4600
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4601
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4602
 
       ac_prog_rejected=yes
4603
 
       continue
4604
 
     fi
4605
 
    ac_cv_prog_CC="cc"
4606
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4607
 
    break 2
4608
 
  fi
4609
 
done
4610
 
  done
4611
 
IFS=$as_save_IFS
4612
 
 
4613
 
if test $ac_prog_rejected = yes; then
4614
 
  # We found a bogon in the path, so make sure we never use it.
4615
 
  set dummy $ac_cv_prog_CC
4616
 
  shift
4617
 
  if test $# != 0; then
4618
 
    # We chose a different compiler from the bogus one.
4619
 
    # However, it has the same basename, so the bogon will be chosen
4620
 
    # first if we set CC to just the basename; use the full file name.
4621
 
    shift
4622
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4623
 
  fi
4624
 
fi
4625
 
fi
4626
 
fi
4627
 
CC=$ac_cv_prog_CC
4628
 
if test -n "$CC"; then
4629
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4630
 
$as_echo "$CC" >&6; }
4631
 
else
4632
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4633
 
$as_echo "no" >&6; }
4634
 
fi
4635
 
 
4636
 
 
4637
 
fi
4638
 
if test -z "$CC"; then
4639
 
  if test -n "$ac_tool_prefix"; then
4640
 
  for ac_prog in cl.exe
4641
 
  do
4642
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4643
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4644
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4645
 
$as_echo_n "checking for $ac_word... " >&6; }
4646
 
if test "${ac_cv_prog_CC+set}" = set; then :
4647
 
  $as_echo_n "(cached) " >&6
4648
 
else
4649
 
  if test -n "$CC"; then
4650
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4651
 
else
4652
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4653
 
for as_dir in $PATH
4654
 
do
4655
 
  IFS=$as_save_IFS
4656
 
  test -z "$as_dir" && as_dir=.
4657
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4658
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4659
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4660
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4661
 
    break 2
4662
 
  fi
4663
 
done
4664
 
  done
4665
 
IFS=$as_save_IFS
4666
 
 
4667
 
fi
4668
 
fi
4669
 
CC=$ac_cv_prog_CC
4670
 
if test -n "$CC"; then
4671
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4672
 
$as_echo "$CC" >&6; }
4673
 
else
4674
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4675
 
$as_echo "no" >&6; }
4676
 
fi
4677
 
 
4678
 
 
4679
 
    test -n "$CC" && break
4680
 
  done
4681
 
fi
4682
 
if test -z "$CC"; then
4683
 
  ac_ct_CC=$CC
4684
 
  for ac_prog in cl.exe
4685
 
do
4686
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4687
 
set dummy $ac_prog; ac_word=$2
4688
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4689
 
$as_echo_n "checking for $ac_word... " >&6; }
4690
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4691
 
  $as_echo_n "(cached) " >&6
4692
 
else
4693
 
  if test -n "$ac_ct_CC"; then
4694
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4695
 
else
4696
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4697
 
for as_dir in $PATH
4698
 
do
4699
 
  IFS=$as_save_IFS
4700
 
  test -z "$as_dir" && as_dir=.
4701
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4702
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4703
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
4704
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4705
 
    break 2
4706
 
  fi
4707
 
done
4708
 
  done
4709
 
IFS=$as_save_IFS
4710
 
 
4711
 
fi
4712
 
fi
4713
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4714
 
if test -n "$ac_ct_CC"; then
4715
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4716
 
$as_echo "$ac_ct_CC" >&6; }
4717
 
else
4718
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4719
 
$as_echo "no" >&6; }
4720
 
fi
4721
 
 
4722
 
 
4723
 
  test -n "$ac_ct_CC" && break
4724
 
done
4725
 
 
4726
 
  if test "x$ac_ct_CC" = x; then
4727
 
    CC=""
4728
 
  else
4729
 
    case $cross_compiling:$ac_tool_warned in
4730
 
yes:)
4731
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4732
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4733
 
ac_tool_warned=yes ;;
4734
 
esac
4735
 
    CC=$ac_ct_CC
4736
 
  fi
4737
 
fi
4738
 
 
4739
 
fi
4740
 
 
4741
 
 
4742
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4743
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4744
 
as_fn_error $? "no acceptable C compiler found in \$PATH
4745
 
See \`config.log' for more details" "$LINENO" 5 ; }
4746
 
 
4747
 
# Provide some information about the compiler.
4748
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4749
 
set X $ac_compile
4750
 
ac_compiler=$2
4751
 
for ac_option in --version -v -V -qversion; do
4752
 
  { { ac_try="$ac_compiler $ac_option >&5"
4753
 
case "(($ac_try" in
4754
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4755
 
  *) ac_try_echo=$ac_try;;
4756
 
esac
4757
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4758
 
$as_echo "$ac_try_echo"; } >&5
4759
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4760
 
  ac_status=$?
4761
 
  if test -s conftest.err; then
4762
 
    sed '10a\
4763
 
... rest of stderr output deleted ...
4764
 
         10q' conftest.err >conftest.er1
4765
 
    cat conftest.er1 >&5
4766
 
  fi
4767
 
  rm -f conftest.er1 conftest.err
4768
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4769
 
  test $ac_status = 0; }
4770
 
done
4771
 
 
4772
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4773
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4774
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4775
 
  $as_echo_n "(cached) " >&6
4776
 
else
4777
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4778
 
/* end confdefs.h.  */
4779
 
 
4780
 
int
4781
 
main ()
4782
 
{
4783
 
#ifndef __GNUC__
4784
 
       choke me
4785
 
#endif
4786
 
 
4787
 
  ;
4788
 
  return 0;
4789
 
}
4790
 
_ACEOF
4791
 
if ac_fn_c_try_compile "$LINENO"; then :
4792
 
  ac_compiler_gnu=yes
4793
 
else
4794
 
  ac_compiler_gnu=no
4795
 
fi
4796
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4797
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4798
 
 
4799
 
fi
4800
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4801
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4802
 
if test $ac_compiler_gnu = yes; then
4803
 
  GCC=yes
4804
 
else
4805
 
  GCC=
4806
 
fi
4807
 
ac_test_CFLAGS=${CFLAGS+set}
4808
 
ac_save_CFLAGS=$CFLAGS
4809
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4810
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4811
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
4812
 
  $as_echo_n "(cached) " >&6
4813
 
else
4814
 
  ac_save_c_werror_flag=$ac_c_werror_flag
4815
 
   ac_c_werror_flag=yes
4816
 
   ac_cv_prog_cc_g=no
4817
 
   CFLAGS="-g"
4818
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4819
 
/* end confdefs.h.  */
4820
 
 
4821
 
int
4822
 
main ()
4823
 
{
4824
 
 
4825
 
  ;
4826
 
  return 0;
4827
 
}
4828
 
_ACEOF
4829
 
if ac_fn_c_try_compile "$LINENO"; then :
4830
 
  ac_cv_prog_cc_g=yes
4831
 
else
4832
 
  CFLAGS=""
4833
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4834
 
/* end confdefs.h.  */
4835
 
 
4836
 
int
4837
 
main ()
4838
 
{
4839
 
 
4840
 
  ;
4841
 
  return 0;
4842
 
}
4843
 
_ACEOF
4844
 
if ac_fn_c_try_compile "$LINENO"; then :
4845
 
 
4846
 
else
4847
 
  ac_c_werror_flag=$ac_save_c_werror_flag
4848
 
         CFLAGS="-g"
4849
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4850
 
/* end confdefs.h.  */
4851
 
 
4852
 
int
4853
 
main ()
4854
 
{
4855
 
 
4856
 
  ;
4857
 
  return 0;
4858
 
}
4859
 
_ACEOF
4860
 
if ac_fn_c_try_compile "$LINENO"; then :
4861
 
  ac_cv_prog_cc_g=yes
4862
 
fi
4863
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4864
 
fi
4865
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4866
 
fi
4867
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4868
 
   ac_c_werror_flag=$ac_save_c_werror_flag
4869
 
fi
4870
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4871
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
4872
 
if test "$ac_test_CFLAGS" = set; then
4873
 
  CFLAGS=$ac_save_CFLAGS
4874
 
elif test $ac_cv_prog_cc_g = yes; then
4875
 
  if test "$GCC" = yes; then
4876
 
    CFLAGS="-g -O2"
4877
 
  else
4878
 
    CFLAGS="-g"
4879
 
  fi
4880
 
else
4881
 
  if test "$GCC" = yes; then
4882
 
    CFLAGS="-O2"
4883
 
  else
4884
 
    CFLAGS=
4885
 
  fi
4886
 
fi
4887
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4888
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4889
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
4890
 
  $as_echo_n "(cached) " >&6
4891
 
else
4892
 
  ac_cv_prog_cc_c89=no
4893
 
ac_save_CC=$CC
4894
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4895
 
/* end confdefs.h.  */
4896
 
#include <stdarg.h>
4897
 
#include <stdio.h>
4898
 
#include <sys/types.h>
4899
 
#include <sys/stat.h>
4900
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4901
 
struct buf { int x; };
4902
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4903
 
static char *e (p, i)
4904
 
     char **p;
4905
 
     int i;
4906
 
{
4907
 
  return p[i];
4908
 
}
4909
 
static char *f (char * (*g) (char **, int), char **p, ...)
4910
 
{
4911
 
  char *s;
4912
 
  va_list v;
4913
 
  va_start (v,p);
4914
 
  s = g (p, va_arg (v,int));
4915
 
  va_end (v);
4916
 
  return s;
4917
 
}
4918
 
 
4919
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4920
 
   function prototypes and stuff, but not '\xHH' hex character constants.
4921
 
   These don't provoke an error unfortunately, instead are silently treated
4922
 
   as 'x'.  The following induces an error, until -std is added to get
4923
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4924
 
   array size at least.  It's necessary to write '\x00'==0 to get something
4925
 
   that's true only with -std.  */
4926
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4927
 
 
4928
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4929
 
   inside strings and character constants.  */
4930
 
#define FOO(x) 'x'
4931
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4932
 
 
4933
 
int test (int i, double x);
4934
 
struct s1 {int (*f) (int a);};
4935
 
struct s2 {int (*f) (double a);};
4936
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4937
 
int argc;
4938
 
char **argv;
4939
 
int
4940
 
main ()
4941
 
{
4942
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4943
 
  ;
4944
 
  return 0;
4945
 
}
4946
 
_ACEOF
4947
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4948
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4949
 
do
4950
 
  CC="$ac_save_CC $ac_arg"
4951
 
  if ac_fn_c_try_compile "$LINENO"; then :
4952
 
  ac_cv_prog_cc_c89=$ac_arg
4953
 
fi
4954
 
rm -f core conftest.err conftest.$ac_objext
4955
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4956
 
done
4957
 
rm -f conftest.$ac_ext
4958
 
CC=$ac_save_CC
4959
 
 
4960
 
fi
4961
 
# AC_CACHE_VAL
4962
 
case "x$ac_cv_prog_cc_c89" in
4963
 
  x)
4964
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4965
 
$as_echo "none needed" >&6; } ;;
4966
 
  xno)
4967
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4968
 
$as_echo "unsupported" >&6; } ;;
4969
 
  *)
4970
 
    CC="$CC $ac_cv_prog_cc_c89"
4971
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4972
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4973
 
esac
4974
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
4975
 
 
4976
 
fi
4977
 
 
4978
 
ac_ext=c
4979
 
ac_cpp='$CPP $CPPFLAGS'
4980
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4981
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4982
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4983
 
 
4984
 
depcc="$CC"   am_compiler_list=
4985
 
 
4986
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4987
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
4988
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4989
 
  $as_echo_n "(cached) " >&6
4990
 
else
4991
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4992
 
  # We make a subdir and do the tests there.  Otherwise we can end up
4993
 
  # making bogus files that we don't know about and never remove.  For
4994
 
  # instance it was reported that on HP-UX the gcc test will end up
4995
 
  # making a dummy file named `D' -- because `-MD' means `put the output
4996
 
  # in D'.
4997
 
  mkdir conftest.dir
4998
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
4999
 
  # using a relative directory.
5000
 
  cp "$am_depcomp" conftest.dir
5001
 
  cd conftest.dir
5002
 
  # We will build objects and dependencies in a subdirectory because
5003
 
  # it helps to detect inapplicable dependency modes.  For instance
5004
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
5005
 
  # side effect of compilation, but ICC will put the dependencies in
5006
 
  # the current directory while Tru64 will put them in the object
5007
 
  # directory.
5008
 
  mkdir sub
5009
 
 
5010
 
  am_cv_CC_dependencies_compiler_type=none
5011
 
  if test "$am_compiler_list" = ""; then
5012
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5013
 
  fi
5014
 
  am__universal=false
5015
 
  case " $depcc " in #(
5016
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5017
 
     esac
5018
 
 
5019
 
  for depmode in $am_compiler_list; do
5020
 
    # Setup a source with many dependencies, because some compilers
5021
 
    # like to wrap large dependency lists on column 80 (with \), and
5022
 
    # we should not choose a depcomp mode which is confused by this.
5023
 
    #
5024
 
    # We need to recreate these files for each test, as the compiler may
5025
 
    # overwrite some of them when testing with obscure command lines.
5026
 
    # This happens at least with the AIX C compiler.
5027
 
    : > sub/conftest.c
5028
 
    for i in 1 2 3 4 5 6; do
5029
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5030
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5031
 
      # Solaris 8's {/usr,}/bin/sh.
5032
 
      touch sub/conftst$i.h
5033
 
    done
5034
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5035
 
 
5036
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5037
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
5038
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
5039
 
    # versions had trouble with output in subdirs
5040
 
    am__obj=sub/conftest.${OBJEXT-o}
5041
 
    am__minus_obj="-o $am__obj"
5042
 
    case $depmode in
5043
 
    gcc)
5044
 
      # This depmode causes a compiler race in universal mode.
5045
 
      test "$am__universal" = false || continue
5046
 
      ;;
5047
 
    nosideeffect)
5048
 
      # after this tag, mechanisms are not by side-effect, so they'll
5049
 
      # only be used when explicitly requested
5050
 
      if test "x$enable_dependency_tracking" = xyes; then
5051
 
        continue
5052
 
      else
5053
 
        break
5054
 
      fi
5055
 
      ;;
5056
 
    msvisualcpp | msvcmsys)
5057
 
      # This compiler won't grok `-c -o', but also, the minuso test has
5058
 
      # not run yet.  These depmodes are late enough in the game, and
5059
 
      # so weak that their functioning should not be impacted.
5060
 
      am__obj=conftest.${OBJEXT-o}
5061
 
      am__minus_obj=
5062
 
      ;;
5063
 
    none) break ;;
5064
 
    esac
5065
 
    if depmode=$depmode \
5066
 
       source=sub/conftest.c object=$am__obj \
5067
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5068
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5069
 
         >/dev/null 2>conftest.err &&
5070
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5071
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5072
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5073
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5074
 
      # icc doesn't choke on unknown options, it will just issue warnings
5075
 
      # or remarks (even with -Werror).  So we grep stderr for any message
5076
 
      # that says an option was ignored or not supported.
5077
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
5078
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
5079
 
      # The diagnosis changed in icc 8.0:
5080
 
      #   icc: Command line remark: option '-MP' not supported
5081
 
      if (grep 'ignoring option' conftest.err ||
5082
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5083
 
        am_cv_CC_dependencies_compiler_type=$depmode
5084
 
        break
5085
 
      fi
5086
 
    fi
5087
 
  done
5088
 
 
5089
 
  cd ..
5090
 
  rm -rf conftest.dir
5091
 
else
5092
 
  am_cv_CC_dependencies_compiler_type=none
5093
 
fi
5094
 
 
5095
 
fi
5096
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5097
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5098
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5099
 
 
5100
 
 if
5101
 
  test "x$enable_dependency_tracking" != xno \
5102
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5103
 
  am__fastdepCC_TRUE=
5104
 
  am__fastdepCC_FALSE='#'
5105
 
else
5106
 
  am__fastdepCC_TRUE='#'
5107
 
  am__fastdepCC_FALSE=
5108
 
fi
5109
 
 
5110
 
 
5111
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
5112
 
$as_echo_n "checking for library containing strerror... " >&6; }
5113
 
if test "${ac_cv_search_strerror+set}" = set; then :
5114
 
  $as_echo_n "(cached) " >&6
5115
 
else
5116
 
  ac_func_search_save_LIBS=$LIBS
5117
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5118
 
/* end confdefs.h.  */
5119
 
 
5120
 
/* Override any GCC internal prototype to avoid an error.
5121
 
   Use char because int might match the return type of a GCC
5122
 
   builtin and then its argument prototype would still apply.  */
5123
 
#ifdef __cplusplus
5124
 
extern "C"
5125
 
#endif
5126
 
char strerror ();
5127
 
int
5128
 
main ()
5129
 
{
5130
 
return strerror ();
5131
 
  ;
5132
 
  return 0;
5133
 
}
5134
 
_ACEOF
5135
 
for ac_lib in '' cposix; do
5136
 
  if test -z "$ac_lib"; then
5137
 
    ac_res="none required"
5138
 
  else
5139
 
    ac_res=-l$ac_lib
5140
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5141
 
  fi
5142
 
  if ac_fn_c_try_link "$LINENO"; then :
5143
 
  ac_cv_search_strerror=$ac_res
5144
 
fi
5145
 
rm -f core conftest.err conftest.$ac_objext \
5146
 
    conftest$ac_exeext
5147
 
  if test "${ac_cv_search_strerror+set}" = set; then :
5148
 
  break
5149
 
fi
5150
 
done
5151
 
if test "${ac_cv_search_strerror+set}" = set; then :
5152
 
 
5153
 
else
5154
 
  ac_cv_search_strerror=no
5155
 
fi
5156
 
rm conftest.$ac_ext
5157
 
LIBS=$ac_func_search_save_LIBS
5158
 
fi
5159
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
5160
 
$as_echo "$ac_cv_search_strerror" >&6; }
5161
 
ac_res=$ac_cv_search_strerror
5162
 
if test "$ac_res" != no; then :
5163
 
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5164
 
 
5165
 
fi
5166
 
 
5167
 
ac_ext=c
5168
 
ac_cpp='$CPP $CPPFLAGS'
5169
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5170
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5171
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5172
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5173
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
5174
 
# On Suns, sometimes $CPP names a directory.
5175
 
if test -n "$CPP" && test -d "$CPP"; then
5176
 
  CPP=
5177
 
fi
5178
 
if test -z "$CPP"; then
5179
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
5180
 
  $as_echo_n "(cached) " >&6
5181
 
else
5182
 
      # Double quotes because CPP needs to be expanded
5183
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5184
 
    do
5185
 
      ac_preproc_ok=false
5186
 
for ac_c_preproc_warn_flag in '' yes
5187
 
do
5188
 
  # Use a header file that comes with gcc, so configuring glibc
5189
 
  # with a fresh cross-compiler works.
5190
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5191
 
  # <limits.h> exists even on freestanding compilers.
5192
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5193
 
  # not just through cpp. "Syntax error" is here to catch this case.
5194
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5195
 
/* end confdefs.h.  */
5196
 
#ifdef __STDC__
5197
 
# include <limits.h>
5198
 
#else
5199
 
# include <assert.h>
5200
 
#endif
5201
 
                     Syntax error
5202
 
_ACEOF
5203
 
if ac_fn_c_try_cpp "$LINENO"; then :
5204
 
 
5205
 
else
5206
 
  # Broken: fails on valid input.
5207
 
continue
5208
 
fi
5209
 
rm -f conftest.err conftest.i conftest.$ac_ext
5210
 
 
5211
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5212
 
  # can be detected and how.
5213
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5214
 
/* end confdefs.h.  */
5215
 
#include <ac_nonexistent.h>
5216
 
_ACEOF
5217
 
if ac_fn_c_try_cpp "$LINENO"; then :
5218
 
  # Broken: success on invalid input.
5219
 
continue
5220
 
else
5221
 
  # Passes both tests.
5222
 
ac_preproc_ok=:
5223
 
break
5224
 
fi
5225
 
rm -f conftest.err conftest.i conftest.$ac_ext
5226
 
 
5227
 
done
5228
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5229
 
rm -f conftest.i conftest.err conftest.$ac_ext
5230
 
if $ac_preproc_ok; then :
5231
 
  break
5232
 
fi
5233
 
 
5234
 
    done
5235
 
    ac_cv_prog_CPP=$CPP
5236
 
 
5237
 
fi
5238
 
  CPP=$ac_cv_prog_CPP
5239
 
else
5240
 
  ac_cv_prog_CPP=$CPP
5241
 
fi
5242
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5243
 
$as_echo "$CPP" >&6; }
5244
 
ac_preproc_ok=false
5245
 
for ac_c_preproc_warn_flag in '' yes
5246
 
do
5247
 
  # Use a header file that comes with gcc, so configuring glibc
5248
 
  # with a fresh cross-compiler works.
5249
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5250
 
  # <limits.h> exists even on freestanding compilers.
5251
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5252
 
  # not just through cpp. "Syntax error" is here to catch this case.
5253
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5254
 
/* end confdefs.h.  */
5255
 
#ifdef __STDC__
5256
 
# include <limits.h>
5257
 
#else
5258
 
# include <assert.h>
5259
 
#endif
5260
 
                     Syntax error
5261
 
_ACEOF
5262
 
if ac_fn_c_try_cpp "$LINENO"; then :
5263
 
 
5264
 
else
5265
 
  # Broken: fails on valid input.
5266
 
continue
5267
 
fi
5268
 
rm -f conftest.err conftest.i conftest.$ac_ext
5269
 
 
5270
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5271
 
  # can be detected and how.
5272
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5273
 
/* end confdefs.h.  */
5274
 
#include <ac_nonexistent.h>
5275
 
_ACEOF
5276
 
if ac_fn_c_try_cpp "$LINENO"; then :
5277
 
  # Broken: success on invalid input.
5278
 
continue
5279
 
else
5280
 
  # Passes both tests.
5281
 
ac_preproc_ok=:
5282
 
break
5283
 
fi
5284
 
rm -f conftest.err conftest.i conftest.$ac_ext
5285
 
 
5286
 
done
5287
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5288
 
rm -f conftest.i conftest.err conftest.$ac_ext
5289
 
if $ac_preproc_ok; then :
5290
 
 
5291
 
else
5292
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5293
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5294
 
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5295
 
See \`config.log' for more details" "$LINENO" 5 ; }
5296
 
fi
5297
 
 
5298
 
ac_ext=c
5299
 
ac_cpp='$CPP $CPPFLAGS'
5300
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5301
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5302
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5303
 
 
5304
 
 
5305
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5306
 
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5307
 
if test "${ac_cv_path_GREP+set}" = set; then :
5308
 
  $as_echo_n "(cached) " >&6
5309
 
else
5310
 
  if test -z "$GREP"; then
5311
 
  ac_path_GREP_found=false
5312
 
  # Loop through the user's path and test for each of PROGNAME-LIST
5313
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5314
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5315
 
do
5316
 
  IFS=$as_save_IFS
5317
 
  test -z "$as_dir" && as_dir=.
5318
 
    for ac_prog in grep ggrep; do
5319
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5320
 
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5321
 
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5322
 
# Check for GNU ac_path_GREP and select it if it is found.
5323
 
  # Check for GNU $ac_path_GREP
5324
 
case `"$ac_path_GREP" --version 2>&1` in
5325
 
*GNU*)
5326
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5327
 
*)
5328
 
  ac_count=0
5329
 
  $as_echo_n 0123456789 >"conftest.in"
5330
 
  while :
5331
 
  do
5332
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5333
 
    mv "conftest.tmp" "conftest.in"
5334
 
    cp "conftest.in" "conftest.nl"
5335
 
    $as_echo 'GREP' >> "conftest.nl"
5336
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5337
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5338
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5339
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5340
 
      # Best one so far, save it but keep looking for a better one
5341
 
      ac_cv_path_GREP="$ac_path_GREP"
5342
 
      ac_path_GREP_max=$ac_count
5343
 
    fi
5344
 
    # 10*(2^10) chars as input seems more than enough
5345
 
    test $ac_count -gt 10 && break
5346
 
  done
5347
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5348
 
esac
5349
 
 
5350
 
      $ac_path_GREP_found && break 3
5351
 
    done
5352
 
  done
5353
 
  done
5354
 
IFS=$as_save_IFS
5355
 
  if test -z "$ac_cv_path_GREP"; then
5356
 
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5357
 
  fi
5358
 
else
5359
 
  ac_cv_path_GREP=$GREP
5360
 
fi
5361
 
 
5362
 
fi
5363
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5364
 
$as_echo "$ac_cv_path_GREP" >&6; }
5365
 
 GREP="$ac_cv_path_GREP"
5366
 
 
5367
 
 
5368
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5369
 
$as_echo_n "checking for egrep... " >&6; }
5370
 
if test "${ac_cv_path_EGREP+set}" = set; then :
5371
 
  $as_echo_n "(cached) " >&6
5372
 
else
5373
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5374
 
   then ac_cv_path_EGREP="$GREP -E"
5375
 
   else
5376
 
     if test -z "$EGREP"; then
5377
 
  ac_path_EGREP_found=false
5378
 
  # Loop through the user's path and test for each of PROGNAME-LIST
5379
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5380
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5381
 
do
5382
 
  IFS=$as_save_IFS
5383
 
  test -z "$as_dir" && as_dir=.
5384
 
    for ac_prog in egrep; do
5385
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5386
 
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5387
 
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5388
 
# Check for GNU ac_path_EGREP and select it if it is found.
5389
 
  # Check for GNU $ac_path_EGREP
5390
 
case `"$ac_path_EGREP" --version 2>&1` in
5391
 
*GNU*)
5392
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5393
 
*)
5394
 
  ac_count=0
5395
 
  $as_echo_n 0123456789 >"conftest.in"
5396
 
  while :
5397
 
  do
5398
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5399
 
    mv "conftest.tmp" "conftest.in"
5400
 
    cp "conftest.in" "conftest.nl"
5401
 
    $as_echo 'EGREP' >> "conftest.nl"
5402
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5403
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5404
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5405
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5406
 
      # Best one so far, save it but keep looking for a better one
5407
 
      ac_cv_path_EGREP="$ac_path_EGREP"
5408
 
      ac_path_EGREP_max=$ac_count
5409
 
    fi
5410
 
    # 10*(2^10) chars as input seems more than enough
5411
 
    test $ac_count -gt 10 && break
5412
 
  done
5413
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5414
 
esac
5415
 
 
5416
 
      $ac_path_EGREP_found && break 3
5417
 
    done
5418
 
  done
5419
 
  done
5420
 
IFS=$as_save_IFS
5421
 
  if test -z "$ac_cv_path_EGREP"; then
5422
 
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5423
 
  fi
5424
 
else
5425
 
  ac_cv_path_EGREP=$EGREP
5426
 
fi
5427
 
 
5428
 
   fi
5429
 
fi
5430
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5431
 
$as_echo "$ac_cv_path_EGREP" >&6; }
5432
 
 EGREP="$ac_cv_path_EGREP"
5433
 
 
5434
 
 
5435
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5436
 
$as_echo_n "checking for ANSI C header files... " >&6; }
5437
 
if test "${ac_cv_header_stdc+set}" = set; then :
5438
 
  $as_echo_n "(cached) " >&6
5439
 
else
5440
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5441
 
/* end confdefs.h.  */
5442
 
#include <stdlib.h>
5443
 
#include <stdarg.h>
5444
 
#include <string.h>
5445
 
#include <float.h>
5446
 
 
5447
 
int
5448
 
main ()
5449
 
{
5450
 
 
5451
 
  ;
5452
 
  return 0;
5453
 
}
5454
 
_ACEOF
5455
 
if ac_fn_c_try_compile "$LINENO"; then :
5456
 
  ac_cv_header_stdc=yes
5457
 
else
5458
 
  ac_cv_header_stdc=no
5459
 
fi
5460
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5461
 
 
5462
 
if test $ac_cv_header_stdc = yes; then
5463
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5464
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5465
 
/* end confdefs.h.  */
5466
 
#include <string.h>
5467
 
 
5468
 
_ACEOF
5469
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5470
 
  $EGREP "memchr" >/dev/null 2>&1; then :
5471
 
 
5472
 
else
5473
 
  ac_cv_header_stdc=no
5474
 
fi
5475
 
rm -f conftest*
5476
 
 
5477
 
fi
5478
 
 
5479
 
if test $ac_cv_header_stdc = yes; then
5480
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5481
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5482
 
/* end confdefs.h.  */
5483
 
#include <stdlib.h>
5484
 
 
5485
 
_ACEOF
5486
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5487
 
  $EGREP "free" >/dev/null 2>&1; then :
5488
 
 
5489
 
else
5490
 
  ac_cv_header_stdc=no
5491
 
fi
5492
 
rm -f conftest*
5493
 
 
5494
 
fi
5495
 
 
5496
 
if test $ac_cv_header_stdc = yes; then
5497
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5498
 
  if test "$cross_compiling" = yes; then :
5499
 
  :
5500
 
else
5501
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5502
 
/* end confdefs.h.  */
5503
 
#include <ctype.h>
5504
 
#include <stdlib.h>
5505
 
#if ((' ' & 0x0FF) == 0x020)
5506
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5507
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5508
 
#else
5509
 
# define ISLOWER(c) \
5510
 
                   (('a' <= (c) && (c) <= 'i') \
5511
 
                     || ('j' <= (c) && (c) <= 'r') \
5512
 
                     || ('s' <= (c) && (c) <= 'z'))
5513
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5514
 
#endif
5515
 
 
5516
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5517
 
int
5518
 
main ()
5519
 
{
5520
 
  int i;
5521
 
  for (i = 0; i < 256; i++)
5522
 
    if (XOR (islower (i), ISLOWER (i))
5523
 
        || toupper (i) != TOUPPER (i))
5524
 
      return 2;
5525
 
  return 0;
5526
 
}
5527
 
_ACEOF
5528
 
if ac_fn_c_try_run "$LINENO"; then :
5529
 
 
5530
 
else
5531
 
  ac_cv_header_stdc=no
5532
 
fi
5533
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5534
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
5535
 
fi
5536
 
 
5537
 
fi
5538
 
fi
5539
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5540
 
$as_echo "$ac_cv_header_stdc" >&6; }
5541
 
if test $ac_cv_header_stdc = yes; then
5542
 
 
5543
 
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5544
 
 
5545
 
fi
5546
 
 
5547
 
case `pwd` in
5548
 
  *\ * | *\     *)
5549
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5550
 
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5551
 
esac
5552
 
 
5553
 
 
5554
 
 
5555
 
macro_version='2.2.6b'
5556
 
macro_revision='1.3017'
5557
 
 
5558
 
 
5559
 
 
5560
 
 
5561
 
 
5562
 
 
5563
 
 
5564
 
 
5565
 
 
5566
 
 
5567
 
 
5568
 
 
5569
 
 
5570
 
ltmain="$ac_aux_dir/ltmain.sh"
5571
 
 
5572
 
# Make sure we can run config.sub.
5573
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5574
 
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5575
 
 
5576
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5577
 
$as_echo_n "checking build system type... " >&6; }
5578
 
if test "${ac_cv_build+set}" = set; then :
5579
 
  $as_echo_n "(cached) " >&6
5580
 
else
5581
 
  ac_build_alias=$build_alias
5582
 
test "x$ac_build_alias" = x &&
5583
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5584
 
test "x$ac_build_alias" = x &&
5585
 
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5586
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5587
 
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5588
 
 
5589
 
fi
5590
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5591
 
$as_echo "$ac_cv_build" >&6; }
5592
 
case $ac_cv_build in
5593
 
*-*-*) ;;
5594
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
5595
 
esac
5596
 
build=$ac_cv_build
5597
 
ac_save_IFS=$IFS; IFS='-'
5598
 
set x $ac_cv_build
5599
 
shift
5600
 
build_cpu=$1
5601
 
build_vendor=$2
5602
 
shift; shift
5603
 
# Remember, the first character of IFS is used to create $*,
5604
 
# except with old shells:
5605
 
build_os=$*
5606
 
IFS=$ac_save_IFS
5607
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5608
 
 
5609
 
 
5610
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5611
 
$as_echo_n "checking host system type... " >&6; }
5612
 
if test "${ac_cv_host+set}" = set; then :
5613
 
  $as_echo_n "(cached) " >&6
5614
 
else
5615
 
  if test "x$host_alias" = x; then
5616
 
  ac_cv_host=$ac_cv_build
5617
 
else
5618
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5619
 
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5620
 
fi
5621
 
 
5622
 
fi
5623
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5624
 
$as_echo "$ac_cv_host" >&6; }
5625
 
case $ac_cv_host in
5626
 
*-*-*) ;;
5627
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
5628
 
esac
5629
 
host=$ac_cv_host
5630
 
ac_save_IFS=$IFS; IFS='-'
5631
 
set x $ac_cv_host
5632
 
shift
5633
 
host_cpu=$1
5634
 
host_vendor=$2
5635
 
shift; shift
5636
 
# Remember, the first character of IFS is used to create $*,
5637
 
# except with old shells:
5638
 
host_os=$*
5639
 
IFS=$ac_save_IFS
5640
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5641
 
 
5642
 
 
5643
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5644
 
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5645
 
if test "${ac_cv_path_SED+set}" = set; then :
5646
 
  $as_echo_n "(cached) " >&6
5647
 
else
5648
 
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5649
 
     for ac_i in 1 2 3 4 5 6 7; do
5650
 
       ac_script="$ac_script$as_nl$ac_script"
5651
 
     done
5652
 
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5653
 
     { ac_script=; unset ac_script;}
5654
 
     if test -z "$SED"; then
5655
 
  ac_path_SED_found=false
5656
 
  # Loop through the user's path and test for each of PROGNAME-LIST
5657
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5658
 
for as_dir in $PATH
5659
 
do
5660
 
  IFS=$as_save_IFS
5661
 
  test -z "$as_dir" && as_dir=.
5662
 
    for ac_prog in sed gsed; do
5663
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5664
 
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5665
 
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5666
 
# Check for GNU ac_path_SED and select it if it is found.
5667
 
  # Check for GNU $ac_path_SED
5668
 
case `"$ac_path_SED" --version 2>&1` in
5669
 
*GNU*)
5670
 
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5671
 
*)
5672
 
  ac_count=0
5673
 
  $as_echo_n 0123456789 >"conftest.in"
5674
 
  while :
5675
 
  do
5676
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5677
 
    mv "conftest.tmp" "conftest.in"
5678
 
    cp "conftest.in" "conftest.nl"
5679
 
    $as_echo '' >> "conftest.nl"
5680
 
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5681
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5682
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5683
 
    if test $ac_count -gt ${ac_path_SED_max-0}; then
5684
 
      # Best one so far, save it but keep looking for a better one
5685
 
      ac_cv_path_SED="$ac_path_SED"
5686
 
      ac_path_SED_max=$ac_count
5687
 
    fi
5688
 
    # 10*(2^10) chars as input seems more than enough
5689
 
    test $ac_count -gt 10 && break
5690
 
  done
5691
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5692
 
esac
5693
 
 
5694
 
      $ac_path_SED_found && break 3
5695
 
    done
5696
 
  done
5697
 
  done
5698
 
IFS=$as_save_IFS
5699
 
  if test -z "$ac_cv_path_SED"; then
5700
 
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5701
 
  fi
5702
 
else
5703
 
  ac_cv_path_SED=$SED
5704
 
fi
5705
 
 
5706
 
fi
5707
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5708
 
$as_echo "$ac_cv_path_SED" >&6; }
5709
 
 SED="$ac_cv_path_SED"
5710
 
  rm -f conftest.sed
5711
 
 
5712
 
test -z "$SED" && SED=sed
5713
 
Xsed="$SED -e 1s/^X//"
5714
 
 
5715
 
 
5716
 
 
5717
 
 
5718
 
 
5719
 
 
5720
 
 
5721
 
 
5722
 
 
5723
 
 
5724
 
 
5725
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5726
 
$as_echo_n "checking for fgrep... " >&6; }
5727
 
if test "${ac_cv_path_FGREP+set}" = set; then :
5728
 
  $as_echo_n "(cached) " >&6
5729
 
else
5730
 
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5731
 
   then ac_cv_path_FGREP="$GREP -F"
5732
 
   else
5733
 
     if test -z "$FGREP"; then
5734
 
  ac_path_FGREP_found=false
5735
 
  # Loop through the user's path and test for each of PROGNAME-LIST
5736
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5737
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5738
 
do
5739
 
  IFS=$as_save_IFS
5740
 
  test -z "$as_dir" && as_dir=.
5741
 
    for ac_prog in fgrep; do
5742
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5743
 
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5744
 
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5745
 
# Check for GNU ac_path_FGREP and select it if it is found.
5746
 
  # Check for GNU $ac_path_FGREP
5747
 
case `"$ac_path_FGREP" --version 2>&1` in
5748
 
*GNU*)
5749
 
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5750
 
*)
5751
 
  ac_count=0
5752
 
  $as_echo_n 0123456789 >"conftest.in"
5753
 
  while :
5754
 
  do
5755
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5756
 
    mv "conftest.tmp" "conftest.in"
5757
 
    cp "conftest.in" "conftest.nl"
5758
 
    $as_echo 'FGREP' >> "conftest.nl"
5759
 
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5760
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5761
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5762
 
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5763
 
      # Best one so far, save it but keep looking for a better one
5764
 
      ac_cv_path_FGREP="$ac_path_FGREP"
5765
 
      ac_path_FGREP_max=$ac_count
5766
 
    fi
5767
 
    # 10*(2^10) chars as input seems more than enough
5768
 
    test $ac_count -gt 10 && break
5769
 
  done
5770
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5771
 
esac
5772
 
 
5773
 
      $ac_path_FGREP_found && break 3
5774
 
    done
5775
 
  done
5776
 
  done
5777
 
IFS=$as_save_IFS
5778
 
  if test -z "$ac_cv_path_FGREP"; then
5779
 
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5780
 
  fi
5781
 
else
5782
 
  ac_cv_path_FGREP=$FGREP
5783
 
fi
5784
 
 
5785
 
   fi
5786
 
fi
5787
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5788
 
$as_echo "$ac_cv_path_FGREP" >&6; }
5789
 
 FGREP="$ac_cv_path_FGREP"
5790
 
 
5791
 
 
5792
 
test -z "$GREP" && GREP=grep
5793
 
 
5794
 
 
5795
 
 
5796
 
 
5797
 
 
5798
 
 
5799
 
 
5800
 
 
5801
 
 
5802
 
 
5803
 
 
5804
 
 
5805
 
 
5806
 
 
5807
 
 
5808
 
 
5809
 
 
5810
 
 
5811
 
 
5812
 
# Check whether --with-gnu-ld was given.
5813
 
if test "${with_gnu_ld+set}" = set; then :
5814
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5815
 
else
5816
 
  with_gnu_ld=no
5817
 
fi
5818
 
 
5819
 
ac_prog=ld
5820
 
if test "$GCC" = yes; then
5821
 
  # Check if gcc -print-prog-name=ld gives a path.
5822
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5823
 
$as_echo_n "checking for ld used by $CC... " >&6; }
5824
 
  case $host in
5825
 
  *-*-mingw*)
5826
 
    # gcc leaves a trailing carriage return which upsets mingw
5827
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5828
 
  *)
5829
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5830
 
  esac
5831
 
  case $ac_prog in
5832
 
    # Accept absolute paths.
5833
 
    [\\/]* | ?:[\\/]*)
5834
 
      re_direlt='/[^/][^/]*/\.\./'
5835
 
      # Canonicalize the pathname of ld
5836
 
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5837
 
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5838
 
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5839
 
      done
5840
 
      test -z "$LD" && LD="$ac_prog"
5841
 
      ;;
5842
 
  "")
5843
 
    # If it fails, then pretend we aren't using GCC.
5844
 
    ac_prog=ld
5845
 
    ;;
5846
 
  *)
5847
 
    # If it is relative, then search for the first ld in PATH.
5848
 
    with_gnu_ld=unknown
5849
 
    ;;
5850
 
  esac
5851
 
elif test "$with_gnu_ld" = yes; then
5852
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5853
 
$as_echo_n "checking for GNU ld... " >&6; }
5854
 
else
5855
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5856
 
$as_echo_n "checking for non-GNU ld... " >&6; }
5857
 
fi
5858
 
if test "${lt_cv_path_LD+set}" = set; then :
5859
 
  $as_echo_n "(cached) " >&6
5860
 
else
5861
 
  if test -z "$LD"; then
5862
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5863
 
  for ac_dir in $PATH; do
5864
 
    IFS="$lt_save_ifs"
5865
 
    test -z "$ac_dir" && ac_dir=.
5866
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5867
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
5868
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
5869
 
      # but apparently some variants of GNU ld only accept -v.
5870
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
5871
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5872
 
      *GNU* | *'with BFD'*)
5873
 
        test "$with_gnu_ld" != no && break
5874
 
        ;;
5875
 
      *)
5876
 
        test "$with_gnu_ld" != yes && break
5877
 
        ;;
5878
 
      esac
5879
 
    fi
5880
 
  done
5881
 
  IFS="$lt_save_ifs"
5882
 
else
5883
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5884
 
fi
5885
 
fi
5886
 
 
5887
 
LD="$lt_cv_path_LD"
5888
 
if test -n "$LD"; then
5889
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5890
 
$as_echo "$LD" >&6; }
5891
 
else
5892
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5893
 
$as_echo "no" >&6; }
5894
 
fi
5895
 
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5896
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5897
 
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5898
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5899
 
  $as_echo_n "(cached) " >&6
5900
 
else
5901
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5902
 
case `$LD -v 2>&1 </dev/null` in
5903
 
*GNU* | *'with BFD'*)
5904
 
  lt_cv_prog_gnu_ld=yes
5905
 
  ;;
5906
 
*)
5907
 
  lt_cv_prog_gnu_ld=no
5908
 
  ;;
5909
 
esac
5910
 
fi
5911
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5912
 
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5913
 
with_gnu_ld=$lt_cv_prog_gnu_ld
5914
 
 
5915
 
 
5916
 
 
5917
 
 
5918
 
 
5919
 
 
5920
 
 
5921
 
 
5922
 
 
5923
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5924
 
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5925
 
if test "${lt_cv_path_NM+set}" = set; then :
5926
 
  $as_echo_n "(cached) " >&6
5927
 
else
5928
 
  if test -n "$NM"; then
5929
 
  # Let the user override the test.
5930
 
  lt_cv_path_NM="$NM"
5931
 
else
5932
 
  lt_nm_to_check="${ac_tool_prefix}nm"
5933
 
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5934
 
    lt_nm_to_check="$lt_nm_to_check nm"
5935
 
  fi
5936
 
  for lt_tmp_nm in $lt_nm_to_check; do
5937
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5938
 
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5939
 
      IFS="$lt_save_ifs"
5940
 
      test -z "$ac_dir" && ac_dir=.
5941
 
      tmp_nm="$ac_dir/$lt_tmp_nm"
5942
 
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5943
 
        # Check to see if the nm accepts a BSD-compat flag.
5944
 
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5945
 
        #   nm: unknown option "B" ignored
5946
 
        # Tru64's nm complains that /dev/null is an invalid object file
5947
 
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5948
 
        */dev/null* | *'Invalid file or object type'*)
5949
 
          lt_cv_path_NM="$tmp_nm -B"
5950
 
          break
5951
 
          ;;
5952
 
        *)
5953
 
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5954
 
          */dev/null*)
5955
 
            lt_cv_path_NM="$tmp_nm -p"
5956
 
            break
5957
 
            ;;
5958
 
          *)
5959
 
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5960
 
            continue # so that we can try to find one that supports BSD flags
5961
 
            ;;
5962
 
          esac
5963
 
          ;;
5964
 
        esac
5965
 
      fi
5966
 
    done
5967
 
    IFS="$lt_save_ifs"
5968
 
  done
5969
 
  : ${lt_cv_path_NM=no}
5970
 
fi
5971
 
fi
5972
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5973
 
$as_echo "$lt_cv_path_NM" >&6; }
5974
 
if test "$lt_cv_path_NM" != "no"; then
5975
 
  NM="$lt_cv_path_NM"
5976
 
else
5977
 
  # Didn't find any BSD compatible name lister, look for dumpbin.
5978
 
  if test -n "$ac_tool_prefix"; then
5979
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5980
 
  do
5981
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5982
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5983
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5984
 
$as_echo_n "checking for $ac_word... " >&6; }
5985
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5986
 
  $as_echo_n "(cached) " >&6
5987
 
else
5988
 
  if test -n "$DUMPBIN"; then
5989
 
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5990
 
else
5991
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5992
 
for as_dir in $PATH
5993
 
do
5994
 
  IFS=$as_save_IFS
5995
 
  test -z "$as_dir" && as_dir=.
5996
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5997
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5998
 
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5999
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6000
 
    break 2
6001
 
  fi
6002
 
done
6003
 
  done
6004
 
IFS=$as_save_IFS
6005
 
 
6006
 
fi
6007
 
fi
6008
 
DUMPBIN=$ac_cv_prog_DUMPBIN
6009
 
if test -n "$DUMPBIN"; then
6010
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6011
 
$as_echo "$DUMPBIN" >&6; }
6012
 
else
6013
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6014
 
$as_echo "no" >&6; }
6015
 
fi
6016
 
 
6017
 
 
6018
 
    test -n "$DUMPBIN" && break
6019
 
  done
6020
 
fi
6021
 
if test -z "$DUMPBIN"; then
6022
 
  ac_ct_DUMPBIN=$DUMPBIN
6023
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6024
 
do
6025
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6026
 
set dummy $ac_prog; ac_word=$2
6027
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6028
 
$as_echo_n "checking for $ac_word... " >&6; }
6029
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6030
 
  $as_echo_n "(cached) " >&6
6031
 
else
6032
 
  if test -n "$ac_ct_DUMPBIN"; then
6033
 
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6034
 
else
6035
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6036
 
for as_dir in $PATH
6037
 
do
6038
 
  IFS=$as_save_IFS
6039
 
  test -z "$as_dir" && as_dir=.
6040
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6041
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6042
 
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6043
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6044
 
    break 2
6045
 
  fi
6046
 
done
6047
 
  done
6048
 
IFS=$as_save_IFS
6049
 
 
6050
 
fi
6051
 
fi
6052
 
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6053
 
if test -n "$ac_ct_DUMPBIN"; then
6054
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6055
 
$as_echo "$ac_ct_DUMPBIN" >&6; }
6056
 
else
6057
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6058
 
$as_echo "no" >&6; }
6059
 
fi
6060
 
 
6061
 
 
6062
 
  test -n "$ac_ct_DUMPBIN" && break
6063
 
done
6064
 
 
6065
 
  if test "x$ac_ct_DUMPBIN" = x; then
6066
 
    DUMPBIN=":"
6067
 
  else
6068
 
    case $cross_compiling:$ac_tool_warned in
6069
 
yes:)
6070
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6071
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6072
 
ac_tool_warned=yes ;;
6073
 
esac
6074
 
    DUMPBIN=$ac_ct_DUMPBIN
6075
 
  fi
6076
 
fi
6077
 
 
6078
 
 
6079
 
  if test "$DUMPBIN" != ":"; then
6080
 
    NM="$DUMPBIN"
6081
 
  fi
6082
 
fi
6083
 
test -z "$NM" && NM=nm
6084
 
 
6085
 
 
6086
 
 
6087
 
 
6088
 
 
6089
 
 
6090
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6091
 
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6092
 
if test "${lt_cv_nm_interface+set}" = set; then :
6093
 
  $as_echo_n "(cached) " >&6
6094
 
else
6095
 
  lt_cv_nm_interface="BSD nm"
6096
 
  echo "int some_variable = 0;" > conftest.$ac_ext
6097
 
  (eval echo "\"\$as_me:6097: $ac_compile\"" >&5)
6098
 
  (eval "$ac_compile" 2>conftest.err)
6099
 
  cat conftest.err >&5
6100
 
  (eval echo "\"\$as_me:6100: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6101
 
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6102
 
  cat conftest.err >&5
6103
 
  (eval echo "\"\$as_me:6103: output\"" >&5)
6104
 
  cat conftest.out >&5
6105
 
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6106
 
    lt_cv_nm_interface="MS dumpbin"
6107
 
  fi
6108
 
  rm -f conftest*
6109
 
fi
6110
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6111
 
$as_echo "$lt_cv_nm_interface" >&6; }
6112
 
 
6113
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6114
 
$as_echo_n "checking whether ln -s works... " >&6; }
6115
 
LN_S=$as_ln_s
6116
 
if test "$LN_S" = "ln -s"; then
6117
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6118
 
$as_echo "yes" >&6; }
6119
 
else
6120
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6121
 
$as_echo "no, using $LN_S" >&6; }
6122
 
fi
6123
 
 
6124
 
# find the maximum length of command line arguments
6125
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6126
 
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6127
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6128
 
  $as_echo_n "(cached) " >&6
6129
 
else
6130
 
    i=0
6131
 
  teststring="ABCD"
6132
 
 
6133
 
  case $build_os in
6134
 
  msdosdjgpp*)
6135
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
6136
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
6137
 
    # during glob expansion).  Even if it were fixed, the result of this
6138
 
    # check would be larger than it should be.
6139
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6140
 
    ;;
6141
 
 
6142
 
  gnu*)
6143
 
    # Under GNU Hurd, this test is not required because there is
6144
 
    # no limit to the length of command line arguments.
6145
 
    # Libtool will interpret -1 as no limit whatsoever
6146
 
    lt_cv_sys_max_cmd_len=-1;
6147
 
    ;;
6148
 
 
6149
 
  cygwin* | mingw* | cegcc*)
6150
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
6151
 
    # about 5 minutes as the teststring grows exponentially.
6152
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
6153
 
    # you end up with a "frozen" computer, even though with patience
6154
 
    # the test eventually succeeds (with a max line length of 256k).
6155
 
    # Instead, let's just punt: use the minimum linelength reported by
6156
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
6157
 
    lt_cv_sys_max_cmd_len=8192;
6158
 
    ;;
6159
 
 
6160
 
  amigaos*)
6161
 
    # On AmigaOS with pdksh, this test takes hours, literally.
6162
 
    # So we just punt and use a minimum line length of 8192.
6163
 
    lt_cv_sys_max_cmd_len=8192;
6164
 
    ;;
6165
 
 
6166
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6167
 
    # This has been around since 386BSD, at least.  Likely further.
6168
 
    if test -x /sbin/sysctl; then
6169
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6170
 
    elif test -x /usr/sbin/sysctl; then
6171
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6172
 
    else
6173
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6174
 
    fi
6175
 
    # And add a safety zone
6176
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6177
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6178
 
    ;;
6179
 
 
6180
 
  interix*)
6181
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6182
 
    lt_cv_sys_max_cmd_len=196608
6183
 
    ;;
6184
 
 
6185
 
  osf*)
6186
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6187
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6188
 
    # nice to cause kernel panics so lets avoid the loop below.
6189
 
    # First set a reasonable default.
6190
 
    lt_cv_sys_max_cmd_len=16384
6191
 
    #
6192
 
    if test -x /sbin/sysconfig; then
6193
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6194
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6195
 
      esac
6196
 
    fi
6197
 
    ;;
6198
 
  sco3.2v5*)
6199
 
    lt_cv_sys_max_cmd_len=102400
6200
 
    ;;
6201
 
  sysv5* | sco5v6* | sysv4.2uw2*)
6202
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6203
 
    if test -n "$kargmax"; then
6204
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6205
 
    else
6206
 
      lt_cv_sys_max_cmd_len=32768
6207
 
    fi
6208
 
    ;;
6209
 
  *)
6210
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6211
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
6212
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6213
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6214
 
    else
6215
 
      # Make teststring a little bigger before we do anything with it.
6216
 
      # a 1K string should be a reasonable start.
6217
 
      for i in 1 2 3 4 5 6 7 8 ; do
6218
 
        teststring=$teststring$teststring
6219
 
      done
6220
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6221
 
      # If test is not a shell built-in, we'll probably end up computing a
6222
 
      # maximum length that is only half of the actual maximum length, but
6223
 
      # we can't tell.
6224
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6225
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
6226
 
              test $i != 17 # 1/2 MB should be enough
6227
 
      do
6228
 
        i=`expr $i + 1`
6229
 
        teststring=$teststring$teststring
6230
 
      done
6231
 
      # Only check the string length outside the loop.
6232
 
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6233
 
      teststring=
6234
 
      # Add a significant safety factor because C++ compilers can tack on
6235
 
      # massive amounts of additional arguments before passing them to the
6236
 
      # linker.  It appears as though 1/2 is a usable value.
6237
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6238
 
    fi
6239
 
    ;;
6240
 
  esac
6241
 
 
6242
 
fi
6243
 
 
6244
 
if test -n $lt_cv_sys_max_cmd_len ; then
6245
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6246
 
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6247
 
else
6248
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6249
 
$as_echo "none" >&6; }
6250
 
fi
6251
 
max_cmd_len=$lt_cv_sys_max_cmd_len
6252
 
 
6253
 
 
6254
 
 
6255
 
 
6256
 
 
6257
 
 
6258
 
: ${CP="cp -f"}
6259
 
: ${MV="mv -f"}
6260
 
: ${RM="rm -f"}
6261
 
 
6262
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6263
 
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6264
 
# Try some XSI features
6265
 
xsi_shell=no
6266
 
( _lt_dummy="a/b/c"
6267
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6268
 
      = c,a/b,, \
6269
 
    && eval 'test $(( 1 + 1 )) -eq 2 \
6270
 
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6271
 
  && xsi_shell=yes
6272
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6273
 
$as_echo "$xsi_shell" >&6; }
6274
 
 
6275
 
 
6276
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6277
 
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6278
 
lt_shell_append=no
6279
 
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6280
 
    >/dev/null 2>&1 \
6281
 
  && lt_shell_append=yes
6282
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6283
 
$as_echo "$lt_shell_append" >&6; }
6284
 
 
6285
 
 
6286
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6287
 
  lt_unset=unset
6288
 
else
6289
 
  lt_unset=false
6290
 
fi
6291
 
 
6292
 
 
6293
 
 
6294
 
 
6295
 
 
6296
 
# test EBCDIC or ASCII
6297
 
case `echo X|tr X '\101'` in
6298
 
 A) # ASCII based system
6299
 
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6300
 
  lt_SP2NL='tr \040 \012'
6301
 
  lt_NL2SP='tr \015\012 \040\040'
6302
 
  ;;
6303
 
 *) # EBCDIC based system
6304
 
  lt_SP2NL='tr \100 \n'
6305
 
  lt_NL2SP='tr \r\n \100\100'
6306
 
  ;;
6307
 
esac
6308
 
 
6309
 
 
6310
 
 
6311
 
 
6312
 
 
6313
 
 
6314
 
 
6315
 
 
6316
 
 
6317
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6318
 
$as_echo_n "checking for $LD option to reload object files... " >&6; }
6319
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
6320
 
  $as_echo_n "(cached) " >&6
6321
 
else
6322
 
  lt_cv_ld_reload_flag='-r'
6323
 
fi
6324
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6325
 
$as_echo "$lt_cv_ld_reload_flag" >&6; }
6326
 
reload_flag=$lt_cv_ld_reload_flag
6327
 
case $reload_flag in
6328
 
"" | " "*) ;;
6329
 
*) reload_flag=" $reload_flag" ;;
6330
 
esac
6331
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6332
 
case $host_os in
6333
 
  darwin*)
6334
 
    if test "$GCC" = yes; then
6335
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6336
 
    else
6337
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6338
 
    fi
6339
 
    ;;
6340
 
esac
6341
 
 
6342
 
 
6343
 
 
6344
 
 
6345
 
 
6346
 
 
6347
 
 
6348
 
 
6349
 
 
6350
 
if test -n "$ac_tool_prefix"; then
6351
 
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6352
 
set dummy ${ac_tool_prefix}objdump; ac_word=$2
6353
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6354
 
$as_echo_n "checking for $ac_word... " >&6; }
6355
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6356
 
  $as_echo_n "(cached) " >&6
6357
 
else
6358
 
  if test -n "$OBJDUMP"; then
6359
 
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6360
 
else
6361
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6362
 
for as_dir in $PATH
6363
 
do
6364
 
  IFS=$as_save_IFS
6365
 
  test -z "$as_dir" && as_dir=.
6366
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6367
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6368
 
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6369
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6370
 
    break 2
6371
 
  fi
6372
 
done
6373
 
  done
6374
 
IFS=$as_save_IFS
6375
 
 
6376
 
fi
6377
 
fi
6378
 
OBJDUMP=$ac_cv_prog_OBJDUMP
6379
 
if test -n "$OBJDUMP"; then
6380
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6381
 
$as_echo "$OBJDUMP" >&6; }
6382
 
else
6383
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6384
 
$as_echo "no" >&6; }
6385
 
fi
6386
 
 
6387
 
 
6388
 
fi
6389
 
if test -z "$ac_cv_prog_OBJDUMP"; then
6390
 
  ac_ct_OBJDUMP=$OBJDUMP
6391
 
  # Extract the first word of "objdump", so it can be a program name with args.
6392
 
set dummy objdump; ac_word=$2
6393
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6394
 
$as_echo_n "checking for $ac_word... " >&6; }
6395
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6396
 
  $as_echo_n "(cached) " >&6
6397
 
else
6398
 
  if test -n "$ac_ct_OBJDUMP"; then
6399
 
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6400
 
else
6401
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6402
 
for as_dir in $PATH
6403
 
do
6404
 
  IFS=$as_save_IFS
6405
 
  test -z "$as_dir" && as_dir=.
6406
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6407
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6408
 
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6409
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6410
 
    break 2
6411
 
  fi
6412
 
done
6413
 
  done
6414
 
IFS=$as_save_IFS
6415
 
 
6416
 
fi
6417
 
fi
6418
 
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6419
 
if test -n "$ac_ct_OBJDUMP"; then
6420
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6421
 
$as_echo "$ac_ct_OBJDUMP" >&6; }
6422
 
else
6423
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6424
 
$as_echo "no" >&6; }
6425
 
fi
6426
 
 
6427
 
  if test "x$ac_ct_OBJDUMP" = x; then
6428
 
    OBJDUMP="false"
6429
 
  else
6430
 
    case $cross_compiling:$ac_tool_warned in
6431
 
yes:)
6432
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6433
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6434
 
ac_tool_warned=yes ;;
6435
 
esac
6436
 
    OBJDUMP=$ac_ct_OBJDUMP
6437
 
  fi
6438
 
else
6439
 
  OBJDUMP="$ac_cv_prog_OBJDUMP"
6440
 
fi
6441
 
 
6442
 
test -z "$OBJDUMP" && OBJDUMP=objdump
6443
 
 
6444
 
 
6445
 
 
6446
 
 
6447
 
 
6448
 
 
6449
 
 
6450
 
 
6451
 
 
6452
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6453
 
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6454
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
6455
 
  $as_echo_n "(cached) " >&6
6456
 
else
6457
 
  lt_cv_file_magic_cmd='$MAGIC_CMD'
6458
 
lt_cv_file_magic_test_file=
6459
 
lt_cv_deplibs_check_method='unknown'
6460
 
# Need to set the preceding variable on all platforms that support
6461
 
# interlibrary dependencies.
6462
 
# 'none' -- dependencies not supported.
6463
 
# `unknown' -- same as none, but documents that we really don't know.
6464
 
# 'pass_all' -- all dependencies passed with no checks.
6465
 
# 'test_compile' -- check by making test program.
6466
 
# 'file_magic [[regex]]' -- check by looking for files in library path
6467
 
# which responds to the $file_magic_cmd with a given extended regex.
6468
 
# If you have `file' or equivalent on your system and you're not sure
6469
 
# whether `pass_all' will *always* work, you probably want this one.
6470
 
 
6471
 
case $host_os in
6472
 
aix[4-9]*)
6473
 
  lt_cv_deplibs_check_method=pass_all
6474
 
  ;;
6475
 
 
6476
 
beos*)
6477
 
  lt_cv_deplibs_check_method=pass_all
6478
 
  ;;
6479
 
 
6480
 
bsdi[45]*)
6481
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6482
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
6483
 
  lt_cv_file_magic_test_file=/shlib/libc.so
6484
 
  ;;
6485
 
 
6486
 
cygwin*)
6487
 
  # func_win32_libid is a shell function defined in ltmain.sh
6488
 
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6489
 
  lt_cv_file_magic_cmd='func_win32_libid'
6490
 
  ;;
6491
 
 
6492
 
mingw* | pw32*)
6493
 
  # Base MSYS/MinGW do not provide the 'file' command needed by
6494
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6495
 
  # unless we find 'file', for example because we are cross-compiling.
6496
 
  if ( file / ) >/dev/null 2>&1; then
6497
 
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6498
 
    lt_cv_file_magic_cmd='func_win32_libid'
6499
 
  else
6500
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6501
 
    lt_cv_file_magic_cmd='$OBJDUMP -f'
6502
 
  fi
6503
 
  ;;
6504
 
 
6505
 
cegcc)
6506
 
  # use the weaker test based on 'objdump'. See mingw*.
6507
 
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6508
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
6509
 
  ;;
6510
 
 
6511
 
darwin* | rhapsody*)
6512
 
  lt_cv_deplibs_check_method=pass_all
6513
 
  ;;
6514
 
 
6515
 
freebsd* | dragonfly*)
6516
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6517
 
    case $host_cpu in
6518
 
    i*86 )
6519
 
      # Not sure whether the presence of OpenBSD here was a mistake.
6520
 
      # Let's accept both of them until this is cleared up.
6521
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6522
 
      lt_cv_file_magic_cmd=/usr/bin/file
6523
 
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6524
 
      ;;
6525
 
    esac
6526
 
  else
6527
 
    lt_cv_deplibs_check_method=pass_all
6528
 
  fi
6529
 
  ;;
6530
 
 
6531
 
gnu*)
6532
 
  lt_cv_deplibs_check_method=pass_all
6533
 
  ;;
6534
 
 
6535
 
hpux10.20* | hpux11*)
6536
 
  lt_cv_file_magic_cmd=/usr/bin/file
6537
 
  case $host_cpu in
6538
 
  ia64*)
6539
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6540
 
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6541
 
    ;;
6542
 
  hppa*64*)
6543
 
    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]'
6544
 
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6545
 
    ;;
6546
 
  *)
6547
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6548
 
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6549
 
    ;;
6550
 
  esac
6551
 
  ;;
6552
 
 
6553
 
interix[3-9]*)
6554
 
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6555
 
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6556
 
  ;;
6557
 
 
6558
 
irix5* | irix6* | nonstopux*)
6559
 
  case $LD in
6560
 
  *-32|*"-32 ") libmagic=32-bit;;
6561
 
  *-n32|*"-n32 ") libmagic=N32;;
6562
 
  *-64|*"-64 ") libmagic=64-bit;;
6563
 
  *) libmagic=never-match;;
6564
 
  esac
6565
 
  lt_cv_deplibs_check_method=pass_all
6566
 
  ;;
6567
 
 
6568
 
# This must be Linux ELF.
6569
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
6570
 
  lt_cv_deplibs_check_method=pass_all
6571
 
  ;;
6572
 
 
6573
 
netbsd* | netbsdelf*-gnu)
6574
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6575
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6576
 
  else
6577
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6578
 
  fi
6579
 
  ;;
6580
 
 
6581
 
newos6*)
6582
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6583
 
  lt_cv_file_magic_cmd=/usr/bin/file
6584
 
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6585
 
  ;;
6586
 
 
6587
 
*nto* | *qnx*)
6588
 
  lt_cv_deplibs_check_method=pass_all
6589
 
  ;;
6590
 
 
6591
 
openbsd*)
6592
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6593
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6594
 
  else
6595
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6596
 
  fi
6597
 
  ;;
6598
 
 
6599
 
osf3* | osf4* | osf5*)
6600
 
  lt_cv_deplibs_check_method=pass_all
6601
 
  ;;
6602
 
 
6603
 
rdos*)
6604
 
  lt_cv_deplibs_check_method=pass_all
6605
 
  ;;
6606
 
 
6607
 
solaris*)
6608
 
  lt_cv_deplibs_check_method=pass_all
6609
 
  ;;
6610
 
 
6611
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6612
 
  lt_cv_deplibs_check_method=pass_all
6613
 
  ;;
6614
 
 
6615
 
sysv4 | sysv4.3*)
6616
 
  case $host_vendor in
6617
 
  motorola)
6618
 
    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]'
6619
 
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6620
 
    ;;
6621
 
  ncr)
6622
 
    lt_cv_deplibs_check_method=pass_all
6623
 
    ;;
6624
 
  sequent)
6625
 
    lt_cv_file_magic_cmd='/bin/file'
6626
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6627
 
    ;;
6628
 
  sni)
6629
 
    lt_cv_file_magic_cmd='/bin/file'
6630
 
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6631
 
    lt_cv_file_magic_test_file=/lib/libc.so
6632
 
    ;;
6633
 
  siemens)
6634
 
    lt_cv_deplibs_check_method=pass_all
6635
 
    ;;
6636
 
  pc)
6637
 
    lt_cv_deplibs_check_method=pass_all
6638
 
    ;;
6639
 
  esac
6640
 
  ;;
6641
 
 
6642
 
tpf*)
6643
 
  lt_cv_deplibs_check_method=pass_all
6644
 
  ;;
6645
 
esac
6646
 
 
6647
 
fi
6648
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6649
 
$as_echo "$lt_cv_deplibs_check_method" >&6; }
6650
 
file_magic_cmd=$lt_cv_file_magic_cmd
6651
 
deplibs_check_method=$lt_cv_deplibs_check_method
6652
 
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6653
 
 
6654
 
 
6655
 
 
6656
 
 
6657
 
 
6658
 
 
6659
 
 
6660
 
 
6661
 
 
6662
 
 
6663
 
 
6664
 
 
6665
 
if test -n "$ac_tool_prefix"; then
6666
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6667
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
6668
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6669
 
$as_echo_n "checking for $ac_word... " >&6; }
6670
 
if test "${ac_cv_prog_AR+set}" = set; then :
6671
 
  $as_echo_n "(cached) " >&6
6672
 
else
6673
 
  if test -n "$AR"; then
6674
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
6675
 
else
6676
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6677
 
for as_dir in $PATH
6678
 
do
6679
 
  IFS=$as_save_IFS
6680
 
  test -z "$as_dir" && as_dir=.
6681
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6682
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6683
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6684
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6685
 
    break 2
6686
 
  fi
6687
 
done
6688
 
  done
6689
 
IFS=$as_save_IFS
6690
 
 
6691
 
fi
6692
 
fi
6693
 
AR=$ac_cv_prog_AR
6694
 
if test -n "$AR"; then
6695
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6696
 
$as_echo "$AR" >&6; }
6697
 
else
6698
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6699
 
$as_echo "no" >&6; }
6700
 
fi
6701
 
 
6702
 
 
6703
 
fi
6704
 
if test -z "$ac_cv_prog_AR"; then
6705
 
  ac_ct_AR=$AR
6706
 
  # Extract the first word of "ar", so it can be a program name with args.
6707
 
set dummy ar; ac_word=$2
6708
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6709
 
$as_echo_n "checking for $ac_word... " >&6; }
6710
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6711
 
  $as_echo_n "(cached) " >&6
6712
 
else
6713
 
  if test -n "$ac_ct_AR"; then
6714
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6715
 
else
6716
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6717
 
for as_dir in $PATH
6718
 
do
6719
 
  IFS=$as_save_IFS
6720
 
  test -z "$as_dir" && as_dir=.
6721
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6722
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6723
 
    ac_cv_prog_ac_ct_AR="ar"
6724
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6725
 
    break 2
6726
 
  fi
6727
 
done
6728
 
  done
6729
 
IFS=$as_save_IFS
6730
 
 
6731
 
fi
6732
 
fi
6733
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6734
 
if test -n "$ac_ct_AR"; then
6735
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6736
 
$as_echo "$ac_ct_AR" >&6; }
6737
 
else
6738
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6739
 
$as_echo "no" >&6; }
6740
 
fi
6741
 
 
6742
 
  if test "x$ac_ct_AR" = x; then
6743
 
    AR="false"
6744
 
  else
6745
 
    case $cross_compiling:$ac_tool_warned in
6746
 
yes:)
6747
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6748
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6749
 
ac_tool_warned=yes ;;
6750
 
esac
6751
 
    AR=$ac_ct_AR
6752
 
  fi
6753
 
else
6754
 
  AR="$ac_cv_prog_AR"
6755
 
fi
6756
 
 
6757
 
test -z "$AR" && AR=ar
6758
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
6759
 
 
6760
 
 
6761
 
 
6762
 
 
6763
 
 
6764
 
 
6765
 
 
6766
 
 
6767
 
 
6768
 
 
6769
 
 
6770
 
if test -n "$ac_tool_prefix"; then
6771
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6772
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
6773
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6774
 
$as_echo_n "checking for $ac_word... " >&6; }
6775
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
6776
 
  $as_echo_n "(cached) " >&6
6777
 
else
6778
 
  if test -n "$STRIP"; then
6779
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6780
 
else
6781
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6782
 
for as_dir in $PATH
6783
 
do
6784
 
  IFS=$as_save_IFS
6785
 
  test -z "$as_dir" && as_dir=.
6786
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6787
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6788
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6789
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6790
 
    break 2
6791
 
  fi
6792
 
done
6793
 
  done
6794
 
IFS=$as_save_IFS
6795
 
 
6796
 
fi
6797
 
fi
6798
 
STRIP=$ac_cv_prog_STRIP
6799
 
if test -n "$STRIP"; then
6800
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6801
 
$as_echo "$STRIP" >&6; }
6802
 
else
6803
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6804
 
$as_echo "no" >&6; }
6805
 
fi
6806
 
 
6807
 
 
6808
 
fi
6809
 
if test -z "$ac_cv_prog_STRIP"; then
6810
 
  ac_ct_STRIP=$STRIP
6811
 
  # Extract the first word of "strip", so it can be a program name with args.
6812
 
set dummy strip; ac_word=$2
6813
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6814
 
$as_echo_n "checking for $ac_word... " >&6; }
6815
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6816
 
  $as_echo_n "(cached) " >&6
6817
 
else
6818
 
  if test -n "$ac_ct_STRIP"; then
6819
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6820
 
else
6821
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6822
 
for as_dir in $PATH
6823
 
do
6824
 
  IFS=$as_save_IFS
6825
 
  test -z "$as_dir" && as_dir=.
6826
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6827
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6828
 
    ac_cv_prog_ac_ct_STRIP="strip"
6829
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6830
 
    break 2
6831
 
  fi
6832
 
done
6833
 
  done
6834
 
IFS=$as_save_IFS
6835
 
 
6836
 
fi
6837
 
fi
6838
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6839
 
if test -n "$ac_ct_STRIP"; then
6840
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6841
 
$as_echo "$ac_ct_STRIP" >&6; }
6842
 
else
6843
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6844
 
$as_echo "no" >&6; }
6845
 
fi
6846
 
 
6847
 
  if test "x$ac_ct_STRIP" = x; then
6848
 
    STRIP=":"
6849
 
  else
6850
 
    case $cross_compiling:$ac_tool_warned in
6851
 
yes:)
6852
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6853
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6854
 
ac_tool_warned=yes ;;
6855
 
esac
6856
 
    STRIP=$ac_ct_STRIP
6857
 
  fi
6858
 
else
6859
 
  STRIP="$ac_cv_prog_STRIP"
6860
 
fi
6861
 
 
6862
 
test -z "$STRIP" && STRIP=:
6863
 
 
6864
 
 
6865
 
 
6866
 
 
6867
 
 
6868
 
 
6869
 
if test -n "$ac_tool_prefix"; then
6870
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6871
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6872
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6873
 
$as_echo_n "checking for $ac_word... " >&6; }
6874
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
6875
 
  $as_echo_n "(cached) " >&6
6876
 
else
6877
 
  if test -n "$RANLIB"; then
6878
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6879
 
else
6880
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6881
 
for as_dir in $PATH
6882
 
do
6883
 
  IFS=$as_save_IFS
6884
 
  test -z "$as_dir" && as_dir=.
6885
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6886
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6887
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6888
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6889
 
    break 2
6890
 
  fi
6891
 
done
6892
 
  done
6893
 
IFS=$as_save_IFS
6894
 
 
6895
 
fi
6896
 
fi
6897
 
RANLIB=$ac_cv_prog_RANLIB
6898
 
if test -n "$RANLIB"; then
6899
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6900
 
$as_echo "$RANLIB" >&6; }
6901
 
else
6902
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6903
 
$as_echo "no" >&6; }
6904
 
fi
6905
 
 
6906
 
 
6907
 
fi
6908
 
if test -z "$ac_cv_prog_RANLIB"; then
6909
 
  ac_ct_RANLIB=$RANLIB
6910
 
  # Extract the first word of "ranlib", so it can be a program name with args.
6911
 
set dummy ranlib; ac_word=$2
6912
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6913
 
$as_echo_n "checking for $ac_word... " >&6; }
6914
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6915
 
  $as_echo_n "(cached) " >&6
6916
 
else
6917
 
  if test -n "$ac_ct_RANLIB"; then
6918
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6919
 
else
6920
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6921
 
for as_dir in $PATH
6922
 
do
6923
 
  IFS=$as_save_IFS
6924
 
  test -z "$as_dir" && as_dir=.
6925
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6926
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6927
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6928
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6929
 
    break 2
6930
 
  fi
6931
 
done
6932
 
  done
6933
 
IFS=$as_save_IFS
6934
 
 
6935
 
fi
6936
 
fi
6937
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6938
 
if test -n "$ac_ct_RANLIB"; then
6939
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6940
 
$as_echo "$ac_ct_RANLIB" >&6; }
6941
 
else
6942
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6943
 
$as_echo "no" >&6; }
6944
 
fi
6945
 
 
6946
 
  if test "x$ac_ct_RANLIB" = x; then
6947
 
    RANLIB=":"
6948
 
  else
6949
 
    case $cross_compiling:$ac_tool_warned in
6950
 
yes:)
6951
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6952
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6953
 
ac_tool_warned=yes ;;
6954
 
esac
6955
 
    RANLIB=$ac_ct_RANLIB
6956
 
  fi
6957
 
else
6958
 
  RANLIB="$ac_cv_prog_RANLIB"
6959
 
fi
6960
 
 
6961
 
test -z "$RANLIB" && RANLIB=:
6962
 
 
6963
 
 
6964
 
 
6965
 
 
6966
 
 
6967
 
 
6968
 
# Determine commands to create old-style static archives.
6969
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6970
 
old_postinstall_cmds='chmod 644 $oldlib'
6971
 
old_postuninstall_cmds=
6972
 
 
6973
 
if test -n "$RANLIB"; then
6974
 
  case $host_os in
6975
 
  openbsd*)
6976
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6977
 
    ;;
6978
 
  *)
6979
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6980
 
    ;;
6981
 
  esac
6982
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6983
 
fi
6984
 
 
6985
 
 
6986
 
 
6987
 
 
6988
 
 
6989
 
 
6990
 
 
6991
 
 
6992
 
 
6993
 
 
6994
 
 
6995
 
 
6996
 
 
6997
 
 
6998
 
 
6999
 
 
7000
 
 
7001
 
 
7002
 
 
7003
 
 
7004
 
 
7005
 
 
7006
 
 
7007
 
 
7008
 
 
7009
 
 
7010
 
 
7011
 
 
7012
 
 
7013
 
 
7014
 
 
7015
 
 
7016
 
 
7017
 
 
7018
 
# If no C compiler was specified, use CC.
7019
 
LTCC=${LTCC-"$CC"}
7020
 
 
7021
 
# If no C compiler flags were specified, use CFLAGS.
7022
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7023
 
 
7024
 
# Allow CC to be a program name with arguments.
7025
 
compiler=$CC
7026
 
 
7027
 
 
7028
 
# Check for command to grab the raw symbol name followed by C symbol from nm.
7029
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7030
 
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7031
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7032
 
  $as_echo_n "(cached) " >&6
7033
 
else
7034
 
 
7035
 
# These are sane defaults that work on at least a few old systems.
7036
 
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7037
 
 
7038
 
# Character class describing NM global symbol codes.
7039
 
symcode='[BCDEGRST]'
7040
 
 
7041
 
# Regexp to match symbols that can be accessed directly from C.
7042
 
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7043
 
 
7044
 
# Define system-specific variables.
7045
 
case $host_os in
7046
 
aix*)
7047
 
  symcode='[BCDT]'
7048
 
  ;;
7049
 
cygwin* | mingw* | pw32* | cegcc*)
7050
 
  symcode='[ABCDGISTW]'
7051
 
  ;;
7052
 
hpux*)
7053
 
  if test "$host_cpu" = ia64; then
7054
 
    symcode='[ABCDEGRST]'
7055
 
  fi
7056
 
  ;;
7057
 
irix* | nonstopux*)
7058
 
  symcode='[BCDEGRST]'
7059
 
  ;;
7060
 
osf*)
7061
 
  symcode='[BCDEGQRST]'
7062
 
  ;;
7063
 
solaris*)
7064
 
  symcode='[BDRT]'
7065
 
  ;;
7066
 
sco3.2v5*)
7067
 
  symcode='[DT]'
7068
 
  ;;
7069
 
sysv4.2uw2*)
7070
 
  symcode='[DT]'
7071
 
  ;;
7072
 
sysv5* | sco5v6* | unixware* | OpenUNIX*)
7073
 
  symcode='[ABDT]'
7074
 
  ;;
7075
 
sysv4)
7076
 
  symcode='[DFNSTU]'
7077
 
  ;;
7078
 
esac
7079
 
 
7080
 
# If we're using GNU nm, then use its standard symbol codes.
7081
 
case `$NM -V 2>&1` in
7082
 
*GNU* | *'with BFD'*)
7083
 
  symcode='[ABCDGIRSTW]' ;;
7084
 
esac
7085
 
 
7086
 
# Transform an extracted symbol line into a proper C declaration.
7087
 
# Some systems (esp. on ia64) link data and code symbols differently,
7088
 
# so use this general approach.
7089
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7090
 
 
7091
 
# Transform an extracted symbol line into symbol name and symbol address
7092
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7093
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
7094
 
 
7095
 
# Handle CRLF in mingw tool chain
7096
 
opt_cr=
7097
 
case $build_os in
7098
 
mingw*)
7099
 
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7100
 
  ;;
7101
 
esac
7102
 
 
7103
 
# Try without a prefix underscore, then with it.
7104
 
for ac_symprfx in "" "_"; do
7105
 
 
7106
 
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7107
 
  symxfrm="\\1 $ac_symprfx\\2 \\2"
7108
 
 
7109
 
  # Write the raw and C identifiers.
7110
 
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7111
 
    # Fake it for dumpbin and say T for any non-static function
7112
 
    # and D for any global variable.
7113
 
    # Also find C++ and __fastcall symbols from MSVC++,
7114
 
    # which start with @ or ?.
7115
 
    lt_cv_sys_global_symbol_pipe="$AWK '"\
7116
 
"     {last_section=section; section=\$ 3};"\
7117
 
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7118
 
"     \$ 0!~/External *\|/{next};"\
7119
 
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7120
 
"     {if(hide[section]) next};"\
7121
 
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7122
 
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7123
 
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7124
 
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7125
 
"     ' prfx=^$ac_symprfx"
7126
 
  else
7127
 
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7128
 
  fi
7129
 
 
7130
 
  # Check to see that the pipe works correctly.
7131
 
  pipe_works=no
7132
 
 
7133
 
  rm -f conftest*
7134
 
  cat > conftest.$ac_ext <<_LT_EOF
7135
 
#ifdef __cplusplus
7136
 
extern "C" {
7137
 
#endif
7138
 
char nm_test_var;
7139
 
void nm_test_func(void);
7140
 
void nm_test_func(void){}
7141
 
#ifdef __cplusplus
7142
 
}
7143
 
#endif
7144
 
int main(){nm_test_var='a';nm_test_func();return(0);}
7145
 
_LT_EOF
7146
 
 
7147
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7148
 
  (eval $ac_compile) 2>&5
7149
 
  ac_status=$?
7150
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7151
 
  test $ac_status = 0; }; then
7152
 
    # Now try to grab the symbols.
7153
 
    nlist=conftest.nm
7154
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
7155
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7156
 
  ac_status=$?
7157
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7158
 
  test $ac_status = 0; } && test -s "$nlist"; then
7159
 
      # Try sorting and uniquifying the output.
7160
 
      if sort "$nlist" | uniq > "$nlist"T; then
7161
 
        mv -f "$nlist"T "$nlist"
7162
 
      else
7163
 
        rm -f "$nlist"T
7164
 
      fi
7165
 
 
7166
 
      # Make sure that we snagged all the symbols we need.
7167
 
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7168
 
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7169
 
          cat <<_LT_EOF > conftest.$ac_ext
7170
 
#ifdef __cplusplus
7171
 
extern "C" {
7172
 
#endif
7173
 
 
7174
 
_LT_EOF
7175
 
          # Now generate the symbol file.
7176
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7177
 
 
7178
 
          cat <<_LT_EOF >> conftest.$ac_ext
7179
 
 
7180
 
/* The mapping between symbol names and symbols.  */
7181
 
const struct {
7182
 
  const char *name;
7183
 
  void       *address;
7184
 
}
7185
 
lt__PROGRAM__LTX_preloaded_symbols[] =
7186
 
{
7187
 
  { "@PROGRAM@", (void *) 0 },
7188
 
_LT_EOF
7189
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7190
 
          cat <<\_LT_EOF >> conftest.$ac_ext
7191
 
  {0, (void *) 0}
7192
 
};
7193
 
 
7194
 
/* This works around a problem in FreeBSD linker */
7195
 
#ifdef FREEBSD_WORKAROUND
7196
 
static const void *lt_preloaded_setup() {
7197
 
  return lt__PROGRAM__LTX_preloaded_symbols;
7198
 
}
7199
 
#endif
7200
 
 
7201
 
#ifdef __cplusplus
7202
 
}
7203
 
#endif
7204
 
_LT_EOF
7205
 
          # Now try linking the two files.
7206
 
          mv conftest.$ac_objext conftstm.$ac_objext
7207
 
          lt_save_LIBS="$LIBS"
7208
 
          lt_save_CFLAGS="$CFLAGS"
7209
 
          LIBS="conftstm.$ac_objext"
7210
 
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7211
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7212
 
  (eval $ac_link) 2>&5
7213
 
  ac_status=$?
7214
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7215
 
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7216
 
            pipe_works=yes
7217
 
          fi
7218
 
          LIBS="$lt_save_LIBS"
7219
 
          CFLAGS="$lt_save_CFLAGS"
7220
 
        else
7221
 
          echo "cannot find nm_test_func in $nlist" >&5
7222
 
        fi
7223
 
      else
7224
 
        echo "cannot find nm_test_var in $nlist" >&5
7225
 
      fi
7226
 
    else
7227
 
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7228
 
    fi
7229
 
  else
7230
 
    echo "$progname: failed program was:" >&5
7231
 
    cat conftest.$ac_ext >&5
7232
 
  fi
7233
 
  rm -rf conftest* conftst*
7234
 
 
7235
 
  # Do not use the global_symbol_pipe unless it works.
7236
 
  if test "$pipe_works" = yes; then
7237
 
    break
7238
 
  else
7239
 
    lt_cv_sys_global_symbol_pipe=
7240
 
  fi
7241
 
done
7242
 
 
7243
 
fi
7244
 
 
7245
 
if test -z "$lt_cv_sys_global_symbol_pipe"; then
7246
 
  lt_cv_sys_global_symbol_to_cdecl=
7247
 
fi
7248
 
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7249
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7250
 
$as_echo "failed" >&6; }
7251
 
else
7252
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7253
 
$as_echo "ok" >&6; }
7254
 
fi
7255
 
 
7256
 
 
7257
 
 
7258
 
 
7259
 
 
7260
 
 
7261
 
 
7262
 
 
7263
 
 
7264
 
 
7265
 
 
7266
 
 
7267
 
 
7268
 
 
7269
 
 
7270
 
 
7271
 
 
7272
 
 
7273
 
 
7274
 
 
7275
 
 
7276
 
 
7277
 
# Check whether --enable-libtool-lock was given.
7278
 
if test "${enable_libtool_lock+set}" = set; then :
7279
 
  enableval=$enable_libtool_lock;
7280
 
fi
7281
 
 
7282
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7283
 
 
7284
 
# Some flags need to be propagated to the compiler or linker for good
7285
 
# libtool support.
7286
 
case $host in
7287
 
ia64-*-hpux*)
7288
 
  # Find out which ABI we are using.
7289
 
  echo 'int i;' > conftest.$ac_ext
7290
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7291
 
  (eval $ac_compile) 2>&5
7292
 
  ac_status=$?
7293
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7294
 
  test $ac_status = 0; }; then
7295
 
    case `/usr/bin/file conftest.$ac_objext` in
7296
 
      *ELF-32*)
7297
 
        HPUX_IA64_MODE="32"
7298
 
        ;;
7299
 
      *ELF-64*)
7300
 
        HPUX_IA64_MODE="64"
7301
 
        ;;
7302
 
    esac
7303
 
  fi
7304
 
  rm -rf conftest*
7305
 
  ;;
7306
 
*-*-irix6*)
7307
 
  # Find out which ABI we are using.
7308
 
  echo '#line 7308 "configure"' > conftest.$ac_ext
7309
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7310
 
  (eval $ac_compile) 2>&5
7311
 
  ac_status=$?
7312
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7313
 
  test $ac_status = 0; }; then
7314
 
    if test "$lt_cv_prog_gnu_ld" = yes; then
7315
 
      case `/usr/bin/file conftest.$ac_objext` in
7316
 
        *32-bit*)
7317
 
          LD="${LD-ld} -melf32bsmip"
7318
 
          ;;
7319
 
        *N32*)
7320
 
          LD="${LD-ld} -melf32bmipn32"
7321
 
          ;;
7322
 
        *64-bit*)
7323
 
          LD="${LD-ld} -melf64bmip"
7324
 
        ;;
7325
 
      esac
7326
 
    else
7327
 
      case `/usr/bin/file conftest.$ac_objext` in
7328
 
        *32-bit*)
7329
 
          LD="${LD-ld} -32"
7330
 
          ;;
7331
 
        *N32*)
7332
 
          LD="${LD-ld} -n32"
7333
 
          ;;
7334
 
        *64-bit*)
7335
 
          LD="${LD-ld} -64"
7336
 
          ;;
7337
 
      esac
7338
 
    fi
7339
 
  fi
7340
 
  rm -rf conftest*
7341
 
  ;;
7342
 
 
7343
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7344
 
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7345
 
  # Find out which ABI we are using.
7346
 
  echo 'int i;' > conftest.$ac_ext
7347
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7348
 
  (eval $ac_compile) 2>&5
7349
 
  ac_status=$?
7350
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7351
 
  test $ac_status = 0; }; then
7352
 
    case `/usr/bin/file conftest.o` in
7353
 
      *32-bit*)
7354
 
        case $host in
7355
 
          x86_64-*kfreebsd*-gnu)
7356
 
            LD="${LD-ld} -m elf_i386_fbsd"
7357
 
            ;;
7358
 
          x86_64-*linux*)
7359
 
            LD="${LD-ld} -m elf_i386"
7360
 
            ;;
7361
 
          ppc64-*linux*|powerpc64-*linux*)
7362
 
            LD="${LD-ld} -m elf32ppclinux"
7363
 
            ;;
7364
 
          s390x-*linux*)
7365
 
            LD="${LD-ld} -m elf_s390"
7366
 
            ;;
7367
 
          sparc64-*linux*)
7368
 
            LD="${LD-ld} -m elf32_sparc"
7369
 
            ;;
7370
 
        esac
7371
 
        ;;
7372
 
      *64-bit*)
7373
 
        case $host in
7374
 
          x86_64-*kfreebsd*-gnu)
7375
 
            LD="${LD-ld} -m elf_x86_64_fbsd"
7376
 
            ;;
7377
 
          x86_64-*linux*)
7378
 
            LD="${LD-ld} -m elf_x86_64"
7379
 
            ;;
7380
 
          ppc*-*linux*|powerpc*-*linux*)
7381
 
            LD="${LD-ld} -m elf64ppc"
7382
 
            ;;
7383
 
          s390*-*linux*|s390*-*tpf*)
7384
 
            LD="${LD-ld} -m elf64_s390"
7385
 
            ;;
7386
 
          sparc*-*linux*)
7387
 
            LD="${LD-ld} -m elf64_sparc"
7388
 
            ;;
7389
 
        esac
7390
 
        ;;
7391
 
    esac
7392
 
  fi
7393
 
  rm -rf conftest*
7394
 
  ;;
7395
 
 
7396
 
*-*-sco3.2v5*)
7397
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7398
 
  SAVE_CFLAGS="$CFLAGS"
7399
 
  CFLAGS="$CFLAGS -belf"
7400
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7401
 
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7402
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
7403
 
  $as_echo_n "(cached) " >&6
7404
 
else
7405
 
  ac_ext=c
7406
 
ac_cpp='$CPP $CPPFLAGS'
7407
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7408
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7409
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7410
 
 
7411
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7412
 
/* end confdefs.h.  */
7413
 
 
7414
 
int
7415
 
main ()
7416
 
{
7417
 
 
7418
 
  ;
7419
 
  return 0;
7420
 
}
7421
 
_ACEOF
7422
 
if ac_fn_c_try_link "$LINENO"; then :
7423
 
  lt_cv_cc_needs_belf=yes
7424
 
else
7425
 
  lt_cv_cc_needs_belf=no
7426
 
fi
7427
 
rm -f core conftest.err conftest.$ac_objext \
7428
 
    conftest$ac_exeext conftest.$ac_ext
7429
 
     ac_ext=c
7430
 
ac_cpp='$CPP $CPPFLAGS'
7431
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7432
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7433
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7434
 
 
7435
 
fi
7436
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7437
 
$as_echo "$lt_cv_cc_needs_belf" >&6; }
7438
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7439
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7440
 
    CFLAGS="$SAVE_CFLAGS"
7441
 
  fi
7442
 
  ;;
7443
 
sparc*-*solaris*)
7444
 
  # Find out which ABI we are using.
7445
 
  echo 'int i;' > conftest.$ac_ext
7446
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7447
 
  (eval $ac_compile) 2>&5
7448
 
  ac_status=$?
7449
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7450
 
  test $ac_status = 0; }; then
7451
 
    case `/usr/bin/file conftest.o` in
7452
 
    *64-bit*)
7453
 
      case $lt_cv_prog_gnu_ld in
7454
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7455
 
      *)
7456
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7457
 
          LD="${LD-ld} -64"
7458
 
        fi
7459
 
        ;;
7460
 
      esac
7461
 
      ;;
7462
 
    esac
7463
 
  fi
7464
 
  rm -rf conftest*
7465
 
  ;;
7466
 
esac
7467
 
 
7468
 
need_locks="$enable_libtool_lock"
7469
 
 
7470
 
 
7471
 
  case $host_os in
7472
 
    rhapsody* | darwin*)
7473
 
    if test -n "$ac_tool_prefix"; then
7474
 
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7475
 
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7476
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7477
 
$as_echo_n "checking for $ac_word... " >&6; }
7478
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7479
 
  $as_echo_n "(cached) " >&6
7480
 
else
7481
 
  if test -n "$DSYMUTIL"; then
7482
 
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7483
 
else
7484
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7485
 
for as_dir in $PATH
7486
 
do
7487
 
  IFS=$as_save_IFS
7488
 
  test -z "$as_dir" && as_dir=.
7489
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7490
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7491
 
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7492
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7493
 
    break 2
7494
 
  fi
7495
 
done
7496
 
  done
7497
 
IFS=$as_save_IFS
7498
 
 
7499
 
fi
7500
 
fi
7501
 
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7502
 
if test -n "$DSYMUTIL"; then
7503
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7504
 
$as_echo "$DSYMUTIL" >&6; }
7505
 
else
7506
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7507
 
$as_echo "no" >&6; }
7508
 
fi
7509
 
 
7510
 
 
7511
 
fi
7512
 
if test -z "$ac_cv_prog_DSYMUTIL"; then
7513
 
  ac_ct_DSYMUTIL=$DSYMUTIL
7514
 
  # Extract the first word of "dsymutil", so it can be a program name with args.
7515
 
set dummy dsymutil; ac_word=$2
7516
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7517
 
$as_echo_n "checking for $ac_word... " >&6; }
7518
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7519
 
  $as_echo_n "(cached) " >&6
7520
 
else
7521
 
  if test -n "$ac_ct_DSYMUTIL"; then
7522
 
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7523
 
else
7524
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7525
 
for as_dir in $PATH
7526
 
do
7527
 
  IFS=$as_save_IFS
7528
 
  test -z "$as_dir" && as_dir=.
7529
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7530
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7531
 
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7532
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7533
 
    break 2
7534
 
  fi
7535
 
done
7536
 
  done
7537
 
IFS=$as_save_IFS
7538
 
 
7539
 
fi
7540
 
fi
7541
 
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7542
 
if test -n "$ac_ct_DSYMUTIL"; then
7543
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7544
 
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7545
 
else
7546
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7547
 
$as_echo "no" >&6; }
7548
 
fi
7549
 
 
7550
 
  if test "x$ac_ct_DSYMUTIL" = x; then
7551
 
    DSYMUTIL=":"
7552
 
  else
7553
 
    case $cross_compiling:$ac_tool_warned in
7554
 
yes:)
7555
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7556
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7557
 
ac_tool_warned=yes ;;
7558
 
esac
7559
 
    DSYMUTIL=$ac_ct_DSYMUTIL
7560
 
  fi
7561
 
else
7562
 
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7563
 
fi
7564
 
 
7565
 
    if test -n "$ac_tool_prefix"; then
7566
 
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7567
 
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7568
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7569
 
$as_echo_n "checking for $ac_word... " >&6; }
7570
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7571
 
  $as_echo_n "(cached) " >&6
7572
 
else
7573
 
  if test -n "$NMEDIT"; then
7574
 
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7575
 
else
7576
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7577
 
for as_dir in $PATH
7578
 
do
7579
 
  IFS=$as_save_IFS
7580
 
  test -z "$as_dir" && as_dir=.
7581
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7582
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7583
 
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7584
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7585
 
    break 2
7586
 
  fi
7587
 
done
7588
 
  done
7589
 
IFS=$as_save_IFS
7590
 
 
7591
 
fi
7592
 
fi
7593
 
NMEDIT=$ac_cv_prog_NMEDIT
7594
 
if test -n "$NMEDIT"; then
7595
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7596
 
$as_echo "$NMEDIT" >&6; }
7597
 
else
7598
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7599
 
$as_echo "no" >&6; }
7600
 
fi
7601
 
 
7602
 
 
7603
 
fi
7604
 
if test -z "$ac_cv_prog_NMEDIT"; then
7605
 
  ac_ct_NMEDIT=$NMEDIT
7606
 
  # Extract the first word of "nmedit", so it can be a program name with args.
7607
 
set dummy nmedit; ac_word=$2
7608
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7609
 
$as_echo_n "checking for $ac_word... " >&6; }
7610
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7611
 
  $as_echo_n "(cached) " >&6
7612
 
else
7613
 
  if test -n "$ac_ct_NMEDIT"; then
7614
 
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_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_ac_ct_NMEDIT="nmedit"
7624
 
    $as_echo "$as_me:${as_lineno-$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
 
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7634
 
if test -n "$ac_ct_NMEDIT"; then
7635
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7636
 
$as_echo "$ac_ct_NMEDIT" >&6; }
7637
 
else
7638
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7639
 
$as_echo "no" >&6; }
7640
 
fi
7641
 
 
7642
 
  if test "x$ac_ct_NMEDIT" = x; then
7643
 
    NMEDIT=":"
7644
 
  else
7645
 
    case $cross_compiling:$ac_tool_warned in
7646
 
yes:)
7647
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7648
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7649
 
ac_tool_warned=yes ;;
7650
 
esac
7651
 
    NMEDIT=$ac_ct_NMEDIT
7652
 
  fi
7653
 
else
7654
 
  NMEDIT="$ac_cv_prog_NMEDIT"
7655
 
fi
7656
 
 
7657
 
    if test -n "$ac_tool_prefix"; then
7658
 
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7659
 
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7660
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7661
 
$as_echo_n "checking for $ac_word... " >&6; }
7662
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
7663
 
  $as_echo_n "(cached) " >&6
7664
 
else
7665
 
  if test -n "$LIPO"; then
7666
 
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7667
 
else
7668
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7669
 
for as_dir in $PATH
7670
 
do
7671
 
  IFS=$as_save_IFS
7672
 
  test -z "$as_dir" && as_dir=.
7673
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7674
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7675
 
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7676
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7677
 
    break 2
7678
 
  fi
7679
 
done
7680
 
  done
7681
 
IFS=$as_save_IFS
7682
 
 
7683
 
fi
7684
 
fi
7685
 
LIPO=$ac_cv_prog_LIPO
7686
 
if test -n "$LIPO"; then
7687
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7688
 
$as_echo "$LIPO" >&6; }
7689
 
else
7690
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7691
 
$as_echo "no" >&6; }
7692
 
fi
7693
 
 
7694
 
 
7695
 
fi
7696
 
if test -z "$ac_cv_prog_LIPO"; then
7697
 
  ac_ct_LIPO=$LIPO
7698
 
  # Extract the first word of "lipo", so it can be a program name with args.
7699
 
set dummy lipo; ac_word=$2
7700
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7701
 
$as_echo_n "checking for $ac_word... " >&6; }
7702
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7703
 
  $as_echo_n "(cached) " >&6
7704
 
else
7705
 
  if test -n "$ac_ct_LIPO"; then
7706
 
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7707
 
else
7708
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7709
 
for as_dir in $PATH
7710
 
do
7711
 
  IFS=$as_save_IFS
7712
 
  test -z "$as_dir" && as_dir=.
7713
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7714
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7715
 
    ac_cv_prog_ac_ct_LIPO="lipo"
7716
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7717
 
    break 2
7718
 
  fi
7719
 
done
7720
 
  done
7721
 
IFS=$as_save_IFS
7722
 
 
7723
 
fi
7724
 
fi
7725
 
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7726
 
if test -n "$ac_ct_LIPO"; then
7727
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7728
 
$as_echo "$ac_ct_LIPO" >&6; }
7729
 
else
7730
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7731
 
$as_echo "no" >&6; }
7732
 
fi
7733
 
 
7734
 
  if test "x$ac_ct_LIPO" = x; then
7735
 
    LIPO=":"
7736
 
  else
7737
 
    case $cross_compiling:$ac_tool_warned in
7738
 
yes:)
7739
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7740
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7741
 
ac_tool_warned=yes ;;
7742
 
esac
7743
 
    LIPO=$ac_ct_LIPO
7744
 
  fi
7745
 
else
7746
 
  LIPO="$ac_cv_prog_LIPO"
7747
 
fi
7748
 
 
7749
 
    if test -n "$ac_tool_prefix"; then
7750
 
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7751
 
set dummy ${ac_tool_prefix}otool; ac_word=$2
7752
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7753
 
$as_echo_n "checking for $ac_word... " >&6; }
7754
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
7755
 
  $as_echo_n "(cached) " >&6
7756
 
else
7757
 
  if test -n "$OTOOL"; then
7758
 
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7759
 
else
7760
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7761
 
for as_dir in $PATH
7762
 
do
7763
 
  IFS=$as_save_IFS
7764
 
  test -z "$as_dir" && as_dir=.
7765
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7766
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7767
 
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7768
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7769
 
    break 2
7770
 
  fi
7771
 
done
7772
 
  done
7773
 
IFS=$as_save_IFS
7774
 
 
7775
 
fi
7776
 
fi
7777
 
OTOOL=$ac_cv_prog_OTOOL
7778
 
if test -n "$OTOOL"; then
7779
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7780
 
$as_echo "$OTOOL" >&6; }
7781
 
else
7782
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7783
 
$as_echo "no" >&6; }
7784
 
fi
7785
 
 
7786
 
 
7787
 
fi
7788
 
if test -z "$ac_cv_prog_OTOOL"; then
7789
 
  ac_ct_OTOOL=$OTOOL
7790
 
  # Extract the first word of "otool", so it can be a program name with args.
7791
 
set dummy otool; ac_word=$2
7792
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7793
 
$as_echo_n "checking for $ac_word... " >&6; }
7794
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7795
 
  $as_echo_n "(cached) " >&6
7796
 
else
7797
 
  if test -n "$ac_ct_OTOOL"; then
7798
 
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7799
 
else
7800
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7801
 
for as_dir in $PATH
7802
 
do
7803
 
  IFS=$as_save_IFS
7804
 
  test -z "$as_dir" && as_dir=.
7805
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7806
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7807
 
    ac_cv_prog_ac_ct_OTOOL="otool"
7808
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7809
 
    break 2
7810
 
  fi
7811
 
done
7812
 
  done
7813
 
IFS=$as_save_IFS
7814
 
 
7815
 
fi
7816
 
fi
7817
 
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7818
 
if test -n "$ac_ct_OTOOL"; then
7819
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7820
 
$as_echo "$ac_ct_OTOOL" >&6; }
7821
 
else
7822
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7823
 
$as_echo "no" >&6; }
7824
 
fi
7825
 
 
7826
 
  if test "x$ac_ct_OTOOL" = x; then
7827
 
    OTOOL=":"
7828
 
  else
7829
 
    case $cross_compiling:$ac_tool_warned in
7830
 
yes:)
7831
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7832
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7833
 
ac_tool_warned=yes ;;
7834
 
esac
7835
 
    OTOOL=$ac_ct_OTOOL
7836
 
  fi
7837
 
else
7838
 
  OTOOL="$ac_cv_prog_OTOOL"
7839
 
fi
7840
 
 
7841
 
    if test -n "$ac_tool_prefix"; then
7842
 
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7843
 
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7844
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7845
 
$as_echo_n "checking for $ac_word... " >&6; }
7846
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7847
 
  $as_echo_n "(cached) " >&6
7848
 
else
7849
 
  if test -n "$OTOOL64"; then
7850
 
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7851
 
else
7852
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7853
 
for as_dir in $PATH
7854
 
do
7855
 
  IFS=$as_save_IFS
7856
 
  test -z "$as_dir" && as_dir=.
7857
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7858
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7859
 
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7860
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7861
 
    break 2
7862
 
  fi
7863
 
done
7864
 
  done
7865
 
IFS=$as_save_IFS
7866
 
 
7867
 
fi
7868
 
fi
7869
 
OTOOL64=$ac_cv_prog_OTOOL64
7870
 
if test -n "$OTOOL64"; then
7871
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7872
 
$as_echo "$OTOOL64" >&6; }
7873
 
else
7874
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7875
 
$as_echo "no" >&6; }
7876
 
fi
7877
 
 
7878
 
 
7879
 
fi
7880
 
if test -z "$ac_cv_prog_OTOOL64"; then
7881
 
  ac_ct_OTOOL64=$OTOOL64
7882
 
  # Extract the first word of "otool64", so it can be a program name with args.
7883
 
set dummy otool64; ac_word=$2
7884
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7885
 
$as_echo_n "checking for $ac_word... " >&6; }
7886
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7887
 
  $as_echo_n "(cached) " >&6
7888
 
else
7889
 
  if test -n "$ac_ct_OTOOL64"; then
7890
 
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7891
 
else
7892
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7893
 
for as_dir in $PATH
7894
 
do
7895
 
  IFS=$as_save_IFS
7896
 
  test -z "$as_dir" && as_dir=.
7897
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7898
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7899
 
    ac_cv_prog_ac_ct_OTOOL64="otool64"
7900
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7901
 
    break 2
7902
 
  fi
7903
 
done
7904
 
  done
7905
 
IFS=$as_save_IFS
7906
 
 
7907
 
fi
7908
 
fi
7909
 
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7910
 
if test -n "$ac_ct_OTOOL64"; then
7911
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7912
 
$as_echo "$ac_ct_OTOOL64" >&6; }
7913
 
else
7914
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7915
 
$as_echo "no" >&6; }
7916
 
fi
7917
 
 
7918
 
  if test "x$ac_ct_OTOOL64" = x; then
7919
 
    OTOOL64=":"
7920
 
  else
7921
 
    case $cross_compiling:$ac_tool_warned in
7922
 
yes:)
7923
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7924
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7925
 
ac_tool_warned=yes ;;
7926
 
esac
7927
 
    OTOOL64=$ac_ct_OTOOL64
7928
 
  fi
7929
 
else
7930
 
  OTOOL64="$ac_cv_prog_OTOOL64"
7931
 
fi
7932
 
 
7933
 
 
7934
 
 
7935
 
 
7936
 
 
7937
 
 
7938
 
 
7939
 
 
7940
 
 
7941
 
 
7942
 
 
7943
 
 
7944
 
 
7945
 
 
7946
 
 
7947
 
 
7948
 
 
7949
 
 
7950
 
 
7951
 
 
7952
 
 
7953
 
 
7954
 
 
7955
 
 
7956
 
 
7957
 
 
7958
 
 
7959
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7960
 
$as_echo_n "checking for -single_module linker flag... " >&6; }
7961
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7962
 
  $as_echo_n "(cached) " >&6
7963
 
else
7964
 
  lt_cv_apple_cc_single_mod=no
7965
 
      if test -z "${LT_MULTI_MODULE}"; then
7966
 
        # By default we will add the -single_module flag. You can override
7967
 
        # by either setting the environment variable LT_MULTI_MODULE
7968
 
        # non-empty at configure time, or by adding -multi_module to the
7969
 
        # link flags.
7970
 
        rm -rf libconftest.dylib*
7971
 
        echo "int foo(void){return 1;}" > conftest.c
7972
 
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7973
 
-dynamiclib -Wl,-single_module conftest.c" >&5
7974
 
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7975
 
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7976
 
        _lt_result=$?
7977
 
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7978
 
          lt_cv_apple_cc_single_mod=yes
7979
 
        else
7980
 
          cat conftest.err >&5
7981
 
        fi
7982
 
        rm -rf libconftest.dylib*
7983
 
        rm -f conftest.*
7984
 
      fi
7985
 
fi
7986
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7987
 
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7988
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7989
 
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7990
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7991
 
  $as_echo_n "(cached) " >&6
7992
 
else
7993
 
  lt_cv_ld_exported_symbols_list=no
7994
 
      save_LDFLAGS=$LDFLAGS
7995
 
      echo "_main" > conftest.sym
7996
 
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7997
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7998
 
/* end confdefs.h.  */
7999
 
 
8000
 
int
8001
 
main ()
8002
 
{
8003
 
 
8004
 
  ;
8005
 
  return 0;
8006
 
}
8007
 
_ACEOF
8008
 
if ac_fn_c_try_link "$LINENO"; then :
8009
 
  lt_cv_ld_exported_symbols_list=yes
8010
 
else
8011
 
  lt_cv_ld_exported_symbols_list=no
8012
 
fi
8013
 
rm -f core conftest.err conftest.$ac_objext \
8014
 
    conftest$ac_exeext conftest.$ac_ext
8015
 
        LDFLAGS="$save_LDFLAGS"
8016
 
 
8017
 
fi
8018
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8019
 
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8020
 
    case $host_os in
8021
 
    rhapsody* | darwin1.[012])
8022
 
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8023
 
    darwin1.*)
8024
 
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8025
 
    darwin*) # darwin 5.x on
8026
 
      # if running on 10.5 or later, the deployment target defaults
8027
 
      # to the OS version, if on x86, and 10.4, the deployment
8028
 
      # target defaults to 10.4. Don't you love it?
8029
 
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8030
 
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8031
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8032
 
        10.[012]*)
8033
 
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8034
 
        10.*)
8035
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8036
 
      esac
8037
 
    ;;
8038
 
  esac
8039
 
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8040
 
      _lt_dar_single_mod='$single_module'
8041
 
    fi
8042
 
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8043
 
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8044
 
    else
8045
 
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8046
 
    fi
8047
 
    if test "$DSYMUTIL" != ":"; then
8048
 
      _lt_dsymutil='~$DSYMUTIL $lib || :'
8049
 
    else
8050
 
      _lt_dsymutil=
8051
 
    fi
8052
 
    ;;
8053
 
  esac
8054
 
 
8055
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8056
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8057
 
                  inttypes.h stdint.h unistd.h
8058
 
do :
8059
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8060
 
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8061
 
"
8062
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8063
 
  cat >>confdefs.h <<_ACEOF
8064
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8065
 
_ACEOF
8066
 
 
8067
 
fi
8068
 
 
8069
 
done
8070
 
 
8071
 
 
8072
 
for ac_header in dlfcn.h
8073
 
do :
8074
 
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8075
 
"
8076
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8077
 
  cat >>confdefs.h <<_ACEOF
8078
 
#define HAVE_DLFCN_H 1
8079
 
_ACEOF
8080
 
 
8081
 
fi
8082
 
 
8083
 
done
8084
 
 
8085
 
 
8086
 
 
8087
 
# Set options
8088
 
 
8089
 
 
8090
 
 
8091
 
        enable_dlopen=no
8092
 
 
8093
 
 
8094
 
  enable_win32_dll=no
8095
 
 
8096
 
 
8097
 
            # Check whether --enable-shared was given.
8098
 
if test "${enable_shared+set}" = set; then :
8099
 
  enableval=$enable_shared; p=${PACKAGE-default}
8100
 
    case $enableval in
8101
 
    yes) enable_shared=yes ;;
8102
 
    no) enable_shared=no ;;
8103
 
    *)
8104
 
      enable_shared=no
8105
 
      # Look at the argument we got.  We use all the common list separators.
8106
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8107
 
      for pkg in $enableval; do
8108
 
        IFS="$lt_save_ifs"
8109
 
        if test "X$pkg" = "X$p"; then
8110
 
          enable_shared=yes
8111
 
        fi
8112
 
      done
8113
 
      IFS="$lt_save_ifs"
8114
 
      ;;
8115
 
    esac
8116
 
else
8117
 
  enable_shared=yes
8118
 
fi
8119
 
 
8120
 
 
8121
 
 
8122
 
 
8123
 
 
8124
 
 
8125
 
 
8126
 
 
8127
 
 
8128
 
  # Check whether --enable-static was given.
8129
 
if test "${enable_static+set}" = set; then :
8130
 
  enableval=$enable_static; p=${PACKAGE-default}
8131
 
    case $enableval in
8132
 
    yes) enable_static=yes ;;
8133
 
    no) enable_static=no ;;
8134
 
    *)
8135
 
     enable_static=no
8136
 
      # Look at the argument we got.  We use all the common list separators.
8137
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8138
 
      for pkg in $enableval; do
8139
 
        IFS="$lt_save_ifs"
8140
 
        if test "X$pkg" = "X$p"; then
8141
 
          enable_static=yes
8142
 
        fi
8143
 
      done
8144
 
      IFS="$lt_save_ifs"
8145
 
      ;;
8146
 
    esac
8147
 
else
8148
 
  enable_static=yes
8149
 
fi
8150
 
 
8151
 
 
8152
 
 
8153
 
 
8154
 
 
8155
 
 
8156
 
 
8157
 
 
8158
 
 
8159
 
 
8160
 
# Check whether --with-pic was given.
8161
 
if test "${with_pic+set}" = set; then :
8162
 
  withval=$with_pic; pic_mode="$withval"
8163
 
else
8164
 
  pic_mode=default
8165
 
fi
8166
 
 
8167
 
 
8168
 
test -z "$pic_mode" && pic_mode=default
8169
 
 
8170
 
 
8171
 
 
8172
 
 
8173
 
 
8174
 
 
8175
 
 
8176
 
  # Check whether --enable-fast-install was given.
8177
 
if test "${enable_fast_install+set}" = set; then :
8178
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
8179
 
    case $enableval in
8180
 
    yes) enable_fast_install=yes ;;
8181
 
    no) enable_fast_install=no ;;
8182
 
    *)
8183
 
      enable_fast_install=no
8184
 
      # Look at the argument we got.  We use all the common list separators.
8185
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8186
 
      for pkg in $enableval; do
8187
 
        IFS="$lt_save_ifs"
8188
 
        if test "X$pkg" = "X$p"; then
8189
 
          enable_fast_install=yes
8190
 
        fi
8191
 
      done
8192
 
      IFS="$lt_save_ifs"
8193
 
      ;;
8194
 
    esac
8195
 
else
8196
 
  enable_fast_install=yes
8197
 
fi
8198
 
 
8199
 
 
8200
 
 
8201
 
 
8202
 
 
8203
 
 
8204
 
 
8205
 
 
8206
 
 
8207
 
 
8208
 
 
8209
 
# This can be used to rebuild libtool when needed
8210
 
LIBTOOL_DEPS="$ltmain"
8211
 
 
8212
 
# Always use our own libtool.
8213
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8214
 
 
8215
 
 
8216
 
 
8217
 
 
8218
 
 
8219
 
 
8220
 
 
8221
 
 
8222
 
 
8223
 
 
8224
 
 
8225
 
 
8226
 
 
8227
 
 
8228
 
 
8229
 
 
8230
 
 
8231
 
 
8232
 
 
8233
 
 
8234
 
 
8235
 
 
8236
 
 
8237
 
 
8238
 
 
8239
 
test -z "$LN_S" && LN_S="ln -s"
8240
 
 
8241
 
 
8242
 
 
8243
 
 
8244
 
 
8245
 
 
8246
 
 
8247
 
 
8248
 
 
8249
 
 
8250
 
 
8251
 
 
8252
 
 
8253
 
 
8254
 
if test -n "${ZSH_VERSION+set}" ; then
8255
 
   setopt NO_GLOB_SUBST
8256
 
fi
8257
 
 
8258
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8259
 
$as_echo_n "checking for objdir... " >&6; }
8260
 
if test "${lt_cv_objdir+set}" = set; then :
8261
 
  $as_echo_n "(cached) " >&6
8262
 
else
8263
 
  rm -f .libs 2>/dev/null
8264
 
mkdir .libs 2>/dev/null
8265
 
if test -d .libs; then
8266
 
  lt_cv_objdir=.libs
8267
 
else
8268
 
  # MS-DOS does not allow filenames that begin with a dot.
8269
 
  lt_cv_objdir=_libs
8270
 
fi
8271
 
rmdir .libs 2>/dev/null
8272
 
fi
8273
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8274
 
$as_echo "$lt_cv_objdir" >&6; }
8275
 
objdir=$lt_cv_objdir
8276
 
 
8277
 
 
8278
 
 
8279
 
 
8280
 
 
8281
 
cat >>confdefs.h <<_ACEOF
8282
 
#define LT_OBJDIR "$lt_cv_objdir/"
8283
 
_ACEOF
8284
 
 
8285
 
 
8286
 
 
8287
 
 
8288
 
 
8289
 
 
8290
 
 
8291
 
 
8292
 
 
8293
 
 
8294
 
 
8295
 
 
8296
 
 
8297
 
 
8298
 
 
8299
 
 
8300
 
 
8301
 
case $host_os in
8302
 
aix3*)
8303
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
8304
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
8305
 
  # vanish in a puff of smoke.
8306
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
8307
 
    COLLECT_NAMES=
8308
 
    export COLLECT_NAMES
8309
 
  fi
8310
 
  ;;
8311
 
esac
8312
 
 
8313
 
# Sed substitution that helps us do robust quoting.  It backslashifies
8314
 
# metacharacters that are still active within double-quoted strings.
8315
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8316
 
 
8317
 
# Same as above, but do not quote variable references.
8318
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
8319
 
 
8320
 
# Sed substitution to delay expansion of an escaped shell variable in a
8321
 
# double_quote_subst'ed string.
8322
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8323
 
 
8324
 
# Sed substitution to delay expansion of an escaped single quote.
8325
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8326
 
 
8327
 
# Sed substitution to avoid accidental globbing in evaled expressions
8328
 
no_glob_subst='s/\*/\\\*/g'
8329
 
 
8330
 
# Global variables:
8331
 
ofile=libtool
8332
 
can_build_shared=yes
8333
 
 
8334
 
# All known linkers require a `.a' archive for static linking (except MSVC,
8335
 
# which needs '.lib').
8336
 
libext=a
8337
 
 
8338
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
8339
 
 
8340
 
old_CC="$CC"
8341
 
old_CFLAGS="$CFLAGS"
8342
 
 
8343
 
# Set sane defaults for various variables
8344
 
test -z "$CC" && CC=cc
8345
 
test -z "$LTCC" && LTCC=$CC
8346
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8347
 
test -z "$LD" && LD=ld
8348
 
test -z "$ac_objext" && ac_objext=o
8349
 
 
8350
 
for cc_temp in $compiler""; do
8351
 
  case $cc_temp in
8352
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8353
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8354
 
    \-*) ;;
8355
 
    *) break;;
8356
 
  esac
8357
 
done
8358
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8359
 
 
8360
 
 
8361
 
# Only perform the check for file, if the check method requires it
8362
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8363
 
case $deplibs_check_method in
8364
 
file_magic*)
8365
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8366
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8367
 
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8368
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8369
 
  $as_echo_n "(cached) " >&6
8370
 
else
8371
 
  case $MAGIC_CMD in
8372
 
[\\/*] |  ?:[\\/]*)
8373
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8374
 
  ;;
8375
 
*)
8376
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8377
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8378
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8379
 
  for ac_dir in $ac_dummy; do
8380
 
    IFS="$lt_save_ifs"
8381
 
    test -z "$ac_dir" && ac_dir=.
8382
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
8383
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8384
 
      if test -n "$file_magic_test_file"; then
8385
 
        case $deplibs_check_method in
8386
 
        "file_magic "*)
8387
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8388
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8389
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8390
 
            $EGREP "$file_magic_regex" > /dev/null; then
8391
 
            :
8392
 
          else
8393
 
            cat <<_LT_EOF 1>&2
8394
 
 
8395
 
*** Warning: the command libtool uses to detect shared libraries,
8396
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
8397
 
*** The result is that libtool may fail to recognize shared libraries
8398
 
*** as such.  This will affect the creation of libtool libraries that
8399
 
*** depend on shared libraries, but programs linked with such libtool
8400
 
*** libraries will work regardless of this problem.  Nevertheless, you
8401
 
*** may want to report the problem to your system manager and/or to
8402
 
*** bug-libtool@gnu.org
8403
 
 
8404
 
_LT_EOF
8405
 
          fi ;;
8406
 
        esac
8407
 
      fi
8408
 
      break
8409
 
    fi
8410
 
  done
8411
 
  IFS="$lt_save_ifs"
8412
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8413
 
  ;;
8414
 
esac
8415
 
fi
8416
 
 
8417
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8418
 
if test -n "$MAGIC_CMD"; then
8419
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8420
 
$as_echo "$MAGIC_CMD" >&6; }
8421
 
else
8422
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8423
 
$as_echo "no" >&6; }
8424
 
fi
8425
 
 
8426
 
 
8427
 
 
8428
 
 
8429
 
 
8430
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
8431
 
  if test -n "$ac_tool_prefix"; then
8432
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8433
 
$as_echo_n "checking for file... " >&6; }
8434
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8435
 
  $as_echo_n "(cached) " >&6
8436
 
else
8437
 
  case $MAGIC_CMD in
8438
 
[\\/*] |  ?:[\\/]*)
8439
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8440
 
  ;;
8441
 
*)
8442
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8443
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8444
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8445
 
  for ac_dir in $ac_dummy; do
8446
 
    IFS="$lt_save_ifs"
8447
 
    test -z "$ac_dir" && ac_dir=.
8448
 
    if test -f $ac_dir/file; then
8449
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8450
 
      if test -n "$file_magic_test_file"; then
8451
 
        case $deplibs_check_method in
8452
 
        "file_magic "*)
8453
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8454
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8455
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8456
 
            $EGREP "$file_magic_regex" > /dev/null; then
8457
 
            :
8458
 
          else
8459
 
            cat <<_LT_EOF 1>&2
8460
 
 
8461
 
*** Warning: the command libtool uses to detect shared libraries,
8462
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
8463
 
*** The result is that libtool may fail to recognize shared libraries
8464
 
*** as such.  This will affect the creation of libtool libraries that
8465
 
*** depend on shared libraries, but programs linked with such libtool
8466
 
*** libraries will work regardless of this problem.  Nevertheless, you
8467
 
*** may want to report the problem to your system manager and/or to
8468
 
*** bug-libtool@gnu.org
8469
 
 
8470
 
_LT_EOF
8471
 
          fi ;;
8472
 
        esac
8473
 
      fi
8474
 
      break
8475
 
    fi
8476
 
  done
8477
 
  IFS="$lt_save_ifs"
8478
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8479
 
  ;;
8480
 
esac
8481
 
fi
8482
 
 
8483
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8484
 
if test -n "$MAGIC_CMD"; then
8485
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8486
 
$as_echo "$MAGIC_CMD" >&6; }
8487
 
else
8488
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8489
 
$as_echo "no" >&6; }
8490
 
fi
8491
 
 
8492
 
 
8493
 
  else
8494
 
    MAGIC_CMD=:
8495
 
  fi
8496
 
fi
8497
 
 
8498
 
  fi
8499
 
  ;;
8500
 
esac
8501
 
 
8502
 
# Use C for the default configuration in the libtool script
8503
 
 
8504
 
lt_save_CC="$CC"
8505
 
ac_ext=c
8506
 
ac_cpp='$CPP $CPPFLAGS'
8507
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8508
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8509
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8510
 
 
8511
 
 
8512
 
# Source file extension for C test sources.
8513
 
ac_ext=c
8514
 
 
8515
 
# Object file extension for compiled C test sources.
8516
 
objext=o
8517
 
objext=$objext
8518
 
 
8519
 
# Code to be used in simple compile tests
8520
 
lt_simple_compile_test_code="int some_variable = 0;"
8521
 
 
8522
 
# Code to be used in simple link tests
8523
 
lt_simple_link_test_code='int main(){return(0);}'
8524
 
 
8525
 
 
8526
 
 
8527
 
 
8528
 
 
8529
 
 
8530
 
 
8531
 
# If no C compiler was specified, use CC.
8532
 
LTCC=${LTCC-"$CC"}
8533
 
 
8534
 
# If no C compiler flags were specified, use CFLAGS.
8535
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8536
 
 
8537
 
# Allow CC to be a program name with arguments.
8538
 
compiler=$CC
8539
 
 
8540
 
# Save the default compiler, since it gets overwritten when the other
8541
 
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8542
 
compiler_DEFAULT=$CC
8543
 
 
8544
 
# save warnings/boilerplate of simple test code
8545
 
ac_outfile=conftest.$ac_objext
8546
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8547
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8548
 
_lt_compiler_boilerplate=`cat conftest.err`
8549
 
$RM conftest*
8550
 
 
8551
 
ac_outfile=conftest.$ac_objext
8552
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8553
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8554
 
_lt_linker_boilerplate=`cat conftest.err`
8555
 
$RM -r conftest*
8556
 
 
8557
 
 
8558
 
if test -n "$compiler"; then
8559
 
 
8560
 
lt_prog_compiler_no_builtin_flag=
8561
 
 
8562
 
if test "$GCC" = yes; then
8563
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8564
 
 
8565
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8566
 
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8567
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8568
 
  $as_echo_n "(cached) " >&6
8569
 
else
8570
 
  lt_cv_prog_compiler_rtti_exceptions=no
8571
 
   ac_outfile=conftest.$ac_objext
8572
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8573
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
8574
 
   # Insert the option either (1) after the last *FLAGS variable, or
8575
 
   # (2) before a word containing "conftest.", or (3) at the end.
8576
 
   # Note that $ac_compile itself does not contain backslashes and begins
8577
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8578
 
   # The option is referenced via a variable to avoid confusing sed.
8579
 
   lt_compile=`echo "$ac_compile" | $SED \
8580
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8581
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8582
 
   -e 's:$: $lt_compiler_flag:'`
8583
 
   (eval echo "\"\$as_me:8583: $lt_compile\"" >&5)
8584
 
   (eval "$lt_compile" 2>conftest.err)
8585
 
   ac_status=$?
8586
 
   cat conftest.err >&5
8587
 
   echo "$as_me:8587: \$? = $ac_status" >&5
8588
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
8589
 
     # The compiler can only warn and ignore the option if not recognized
8590
 
     # So say no if there are warnings other than the usual output.
8591
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8592
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8593
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8594
 
       lt_cv_prog_compiler_rtti_exceptions=yes
8595
 
     fi
8596
 
   fi
8597
 
   $RM conftest*
8598
 
 
8599
 
fi
8600
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8601
 
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8602
 
 
8603
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8604
 
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8605
 
else
8606
 
    :
8607
 
fi
8608
 
 
8609
 
fi
8610
 
 
8611
 
 
8612
 
 
8613
 
 
8614
 
 
8615
 
 
8616
 
  lt_prog_compiler_wl=
8617
 
lt_prog_compiler_pic=
8618
 
lt_prog_compiler_static=
8619
 
 
8620
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8621
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8622
 
 
8623
 
  if test "$GCC" = yes; then
8624
 
    lt_prog_compiler_wl='-Wl,'
8625
 
    lt_prog_compiler_static='-static'
8626
 
 
8627
 
    case $host_os in
8628
 
      aix*)
8629
 
      # All AIX code is PIC.
8630
 
      if test "$host_cpu" = ia64; then
8631
 
        # AIX 5 now supports IA64 processor
8632
 
        lt_prog_compiler_static='-Bstatic'
8633
 
      fi
8634
 
      ;;
8635
 
 
8636
 
    amigaos*)
8637
 
      case $host_cpu in
8638
 
      powerpc)
8639
 
            # see comment about AmigaOS4 .so support
8640
 
            lt_prog_compiler_pic='-fPIC'
8641
 
        ;;
8642
 
      m68k)
8643
 
            # FIXME: we need at least 68020 code to build shared libraries, but
8644
 
            # adding the `-m68020' flag to GCC prevents building anything better,
8645
 
            # like `-m68040'.
8646
 
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8647
 
        ;;
8648
 
      esac
8649
 
      ;;
8650
 
 
8651
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8652
 
      # PIC is the default for these OSes.
8653
 
      ;;
8654
 
 
8655
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8656
 
      # This hack is so that the source file can tell whether it is being
8657
 
      # built for inclusion in a dll (and should export symbols for example).
8658
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8659
 
      # (--disable-auto-import) libraries
8660
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
8661
 
      ;;
8662
 
 
8663
 
    darwin* | rhapsody*)
8664
 
      # PIC is the default on this platform
8665
 
      # Common symbols not allowed in MH_DYLIB files
8666
 
      lt_prog_compiler_pic='-fno-common'
8667
 
      ;;
8668
 
 
8669
 
    hpux*)
8670
 
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8671
 
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8672
 
      # sets the default TLS model and affects inlining.
8673
 
      case $host_cpu in
8674
 
      hppa*64*)
8675
 
        # +Z the default
8676
 
        ;;
8677
 
      *)
8678
 
        lt_prog_compiler_pic='-fPIC'
8679
 
        ;;
8680
 
      esac
8681
 
      ;;
8682
 
 
8683
 
    interix[3-9]*)
8684
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8685
 
      # Instead, we relocate shared libraries at runtime.
8686
 
      ;;
8687
 
 
8688
 
    msdosdjgpp*)
8689
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
8690
 
      # on systems that don't support them.
8691
 
      lt_prog_compiler_can_build_shared=no
8692
 
      enable_shared=no
8693
 
      ;;
8694
 
 
8695
 
    *nto* | *qnx*)
8696
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
8697
 
      # it will coredump.
8698
 
      lt_prog_compiler_pic='-fPIC -shared'
8699
 
      ;;
8700
 
 
8701
 
    sysv4*MP*)
8702
 
      if test -d /usr/nec; then
8703
 
        lt_prog_compiler_pic=-Kconform_pic
8704
 
      fi
8705
 
      ;;
8706
 
 
8707
 
    *)
8708
 
      lt_prog_compiler_pic='-fPIC'
8709
 
      ;;
8710
 
    esac
8711
 
  else
8712
 
    # PORTME Check for flag to pass linker flags through the system compiler.
8713
 
    case $host_os in
8714
 
    aix*)
8715
 
      lt_prog_compiler_wl='-Wl,'
8716
 
      if test "$host_cpu" = ia64; then
8717
 
        # AIX 5 now supports IA64 processor
8718
 
        lt_prog_compiler_static='-Bstatic'
8719
 
      else
8720
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8721
 
      fi
8722
 
      ;;
8723
 
 
8724
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8725
 
      # This hack is so that the source file can tell whether it is being
8726
 
      # built for inclusion in a dll (and should export symbols for example).
8727
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
8728
 
      ;;
8729
 
 
8730
 
    hpux9* | hpux10* | hpux11*)
8731
 
      lt_prog_compiler_wl='-Wl,'
8732
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8733
 
      # not for PA HP-UX.
8734
 
      case $host_cpu in
8735
 
      hppa*64*|ia64*)
8736
 
        # +Z the default
8737
 
        ;;
8738
 
      *)
8739
 
        lt_prog_compiler_pic='+Z'
8740
 
        ;;
8741
 
      esac
8742
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8743
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
8744
 
      ;;
8745
 
 
8746
 
    irix5* | irix6* | nonstopux*)
8747
 
      lt_prog_compiler_wl='-Wl,'
8748
 
      # PIC (with -KPIC) is the default.
8749
 
      lt_prog_compiler_static='-non_shared'
8750
 
      ;;
8751
 
 
8752
 
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8753
 
      case $cc_basename in
8754
 
      # old Intel for x86_64 which still supported -KPIC.
8755
 
      ecc*)
8756
 
        lt_prog_compiler_wl='-Wl,'
8757
 
        lt_prog_compiler_pic='-KPIC'
8758
 
        lt_prog_compiler_static='-static'
8759
 
        ;;
8760
 
      # icc used to be incompatible with GCC.
8761
 
      # ICC 10 doesn't accept -KPIC any more.
8762
 
      icc* | ifort*)
8763
 
        lt_prog_compiler_wl='-Wl,'
8764
 
        lt_prog_compiler_pic='-fPIC'
8765
 
        lt_prog_compiler_static='-static'
8766
 
        ;;
8767
 
      # Lahey Fortran 8.1.
8768
 
      lf95*)
8769
 
        lt_prog_compiler_wl='-Wl,'
8770
 
        lt_prog_compiler_pic='--shared'
8771
 
        lt_prog_compiler_static='--static'
8772
 
        ;;
8773
 
      pgcc* | pgf77* | pgf90* | pgf95*)
8774
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
8775
 
        # which looks to be a dead project)
8776
 
        lt_prog_compiler_wl='-Wl,'
8777
 
        lt_prog_compiler_pic='-fpic'
8778
 
        lt_prog_compiler_static='-Bstatic'
8779
 
        ;;
8780
 
      ccc*)
8781
 
        lt_prog_compiler_wl='-Wl,'
8782
 
        # All Alpha code is PIC.
8783
 
        lt_prog_compiler_static='-non_shared'
8784
 
        ;;
8785
 
      xl*)
8786
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
8787
 
        lt_prog_compiler_wl='-Wl,'
8788
 
        lt_prog_compiler_pic='-qpic'
8789
 
        lt_prog_compiler_static='-qstaticlink'
8790
 
        ;;
8791
 
      *)
8792
 
        case `$CC -V 2>&1 | sed 5q` in
8793
 
        *Sun\ C*)
8794
 
          # Sun C 5.9
8795
 
          lt_prog_compiler_pic='-KPIC'
8796
 
          lt_prog_compiler_static='-Bstatic'
8797
 
          lt_prog_compiler_wl='-Wl,'
8798
 
          ;;
8799
 
        *Sun\ F*)
8800
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8801
 
          lt_prog_compiler_pic='-KPIC'
8802
 
          lt_prog_compiler_static='-Bstatic'
8803
 
          lt_prog_compiler_wl=''
8804
 
          ;;
8805
 
        esac
8806
 
        ;;
8807
 
      esac
8808
 
      ;;
8809
 
 
8810
 
    newsos6)
8811
 
      lt_prog_compiler_pic='-KPIC'
8812
 
      lt_prog_compiler_static='-Bstatic'
8813
 
      ;;
8814
 
 
8815
 
    *nto* | *qnx*)
8816
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
8817
 
      # it will coredump.
8818
 
      lt_prog_compiler_pic='-fPIC -shared'
8819
 
      ;;
8820
 
 
8821
 
    osf3* | osf4* | osf5*)
8822
 
      lt_prog_compiler_wl='-Wl,'
8823
 
      # All OSF/1 code is PIC.
8824
 
      lt_prog_compiler_static='-non_shared'
8825
 
      ;;
8826
 
 
8827
 
    rdos*)
8828
 
      lt_prog_compiler_static='-non_shared'
8829
 
      ;;
8830
 
 
8831
 
    solaris*)
8832
 
      lt_prog_compiler_pic='-KPIC'
8833
 
      lt_prog_compiler_static='-Bstatic'
8834
 
      case $cc_basename in
8835
 
      f77* | f90* | f95*)
8836
 
        lt_prog_compiler_wl='-Qoption ld ';;
8837
 
      *)
8838
 
        lt_prog_compiler_wl='-Wl,';;
8839
 
      esac
8840
 
      ;;
8841
 
 
8842
 
    sunos4*)
8843
 
      lt_prog_compiler_wl='-Qoption ld '
8844
 
      lt_prog_compiler_pic='-PIC'
8845
 
      lt_prog_compiler_static='-Bstatic'
8846
 
      ;;
8847
 
 
8848
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
8849
 
      lt_prog_compiler_wl='-Wl,'
8850
 
      lt_prog_compiler_pic='-KPIC'
8851
 
      lt_prog_compiler_static='-Bstatic'
8852
 
      ;;
8853
 
 
8854
 
    sysv4*MP*)
8855
 
      if test -d /usr/nec ;then
8856
 
        lt_prog_compiler_pic='-Kconform_pic'
8857
 
        lt_prog_compiler_static='-Bstatic'
8858
 
      fi
8859
 
      ;;
8860
 
 
8861
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8862
 
      lt_prog_compiler_wl='-Wl,'
8863
 
      lt_prog_compiler_pic='-KPIC'
8864
 
      lt_prog_compiler_static='-Bstatic'
8865
 
      ;;
8866
 
 
8867
 
    unicos*)
8868
 
      lt_prog_compiler_wl='-Wl,'
8869
 
      lt_prog_compiler_can_build_shared=no
8870
 
      ;;
8871
 
 
8872
 
    uts4*)
8873
 
      lt_prog_compiler_pic='-pic'
8874
 
      lt_prog_compiler_static='-Bstatic'
8875
 
      ;;
8876
 
 
8877
 
    *)
8878
 
      lt_prog_compiler_can_build_shared=no
8879
 
      ;;
8880
 
    esac
8881
 
  fi
8882
 
 
8883
 
case $host_os in
8884
 
  # For platforms which do not support PIC, -DPIC is meaningless:
8885
 
  *djgpp*)
8886
 
    lt_prog_compiler_pic=
8887
 
    ;;
8888
 
  *)
8889
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8890
 
    ;;
8891
 
esac
8892
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8893
 
$as_echo "$lt_prog_compiler_pic" >&6; }
8894
 
 
8895
 
 
8896
 
 
8897
 
 
8898
 
 
8899
 
 
8900
 
#
8901
 
# Check to make sure the PIC flag actually works.
8902
 
#
8903
 
if test -n "$lt_prog_compiler_pic"; then
8904
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8905
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8906
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8907
 
  $as_echo_n "(cached) " >&6
8908
 
else
8909
 
  lt_cv_prog_compiler_pic_works=no
8910
 
   ac_outfile=conftest.$ac_objext
8911
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8912
 
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8913
 
   # Insert the option either (1) after the last *FLAGS variable, or
8914
 
   # (2) before a word containing "conftest.", or (3) at the end.
8915
 
   # Note that $ac_compile itself does not contain backslashes and begins
8916
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8917
 
   # The option is referenced via a variable to avoid confusing sed.
8918
 
   lt_compile=`echo "$ac_compile" | $SED \
8919
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8920
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8921
 
   -e 's:$: $lt_compiler_flag:'`
8922
 
   (eval echo "\"\$as_me:8922: $lt_compile\"" >&5)
8923
 
   (eval "$lt_compile" 2>conftest.err)
8924
 
   ac_status=$?
8925
 
   cat conftest.err >&5
8926
 
   echo "$as_me:8926: \$? = $ac_status" >&5
8927
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
8928
 
     # The compiler can only warn and ignore the option if not recognized
8929
 
     # So say no if there are warnings other than the usual output.
8930
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8931
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8932
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8933
 
       lt_cv_prog_compiler_pic_works=yes
8934
 
     fi
8935
 
   fi
8936
 
   $RM conftest*
8937
 
 
8938
 
fi
8939
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8940
 
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8941
 
 
8942
 
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8943
 
    case $lt_prog_compiler_pic in
8944
 
     "" | " "*) ;;
8945
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8946
 
     esac
8947
 
else
8948
 
    lt_prog_compiler_pic=
8949
 
     lt_prog_compiler_can_build_shared=no
8950
 
fi
8951
 
 
8952
 
fi
8953
 
 
8954
 
 
8955
 
 
8956
 
 
8957
 
 
8958
 
 
8959
 
#
8960
 
# Check to make sure the static flag actually works.
8961
 
#
8962
 
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8963
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8964
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8965
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8966
 
  $as_echo_n "(cached) " >&6
8967
 
else
8968
 
  lt_cv_prog_compiler_static_works=no
8969
 
   save_LDFLAGS="$LDFLAGS"
8970
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8971
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8972
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8973
 
     # The linker can only warn and ignore the option if not recognized
8974
 
     # So say no if there are warnings
8975
 
     if test -s conftest.err; then
8976
 
       # Append any errors to the config.log.
8977
 
       cat conftest.err 1>&5
8978
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8979
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8980
 
       if diff conftest.exp conftest.er2 >/dev/null; then
8981
 
         lt_cv_prog_compiler_static_works=yes
8982
 
       fi
8983
 
     else
8984
 
       lt_cv_prog_compiler_static_works=yes
8985
 
     fi
8986
 
   fi
8987
 
   $RM -r conftest*
8988
 
   LDFLAGS="$save_LDFLAGS"
8989
 
 
8990
 
fi
8991
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8992
 
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8993
 
 
8994
 
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8995
 
    :
8996
 
else
8997
 
    lt_prog_compiler_static=
8998
 
fi
8999
 
 
9000
 
 
9001
 
 
9002
 
 
9003
 
 
9004
 
 
9005
 
 
9006
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9007
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9008
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9009
 
  $as_echo_n "(cached) " >&6
9010
 
else
9011
 
  lt_cv_prog_compiler_c_o=no
9012
 
   $RM -r conftest 2>/dev/null
9013
 
   mkdir conftest
9014
 
   cd conftest
9015
 
   mkdir out
9016
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9017
 
 
9018
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9019
 
   # Insert the option either (1) after the last *FLAGS variable, or
9020
 
   # (2) before a word containing "conftest.", or (3) at the end.
9021
 
   # Note that $ac_compile itself does not contain backslashes and begins
9022
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9023
 
   lt_compile=`echo "$ac_compile" | $SED \
9024
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9025
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9026
 
   -e 's:$: $lt_compiler_flag:'`
9027
 
   (eval echo "\"\$as_me:9027: $lt_compile\"" >&5)
9028
 
   (eval "$lt_compile" 2>out/conftest.err)
9029
 
   ac_status=$?
9030
 
   cat out/conftest.err >&5
9031
 
   echo "$as_me:9031: \$? = $ac_status" >&5
9032
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9033
 
   then
9034
 
     # The compiler can only warn and ignore the option if not recognized
9035
 
     # So say no if there are warnings
9036
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9037
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9038
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9039
 
       lt_cv_prog_compiler_c_o=yes
9040
 
     fi
9041
 
   fi
9042
 
   chmod u+w . 2>&5
9043
 
   $RM conftest*
9044
 
   # SGI C++ compiler will create directory out/ii_files/ for
9045
 
   # template instantiation
9046
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9047
 
   $RM out/* && rmdir out
9048
 
   cd ..
9049
 
   $RM -r conftest
9050
 
   $RM conftest*
9051
 
 
9052
 
fi
9053
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9054
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9055
 
 
9056
 
 
9057
 
 
9058
 
 
9059
 
 
9060
 
 
9061
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9062
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9063
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9064
 
  $as_echo_n "(cached) " >&6
9065
 
else
9066
 
  lt_cv_prog_compiler_c_o=no
9067
 
   $RM -r conftest 2>/dev/null
9068
 
   mkdir conftest
9069
 
   cd conftest
9070
 
   mkdir out
9071
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9072
 
 
9073
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9074
 
   # Insert the option either (1) after the last *FLAGS variable, or
9075
 
   # (2) before a word containing "conftest.", or (3) at the end.
9076
 
   # Note that $ac_compile itself does not contain backslashes and begins
9077
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9078
 
   lt_compile=`echo "$ac_compile" | $SED \
9079
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9080
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9081
 
   -e 's:$: $lt_compiler_flag:'`
9082
 
   (eval echo "\"\$as_me:9082: $lt_compile\"" >&5)
9083
 
   (eval "$lt_compile" 2>out/conftest.err)
9084
 
   ac_status=$?
9085
 
   cat out/conftest.err >&5
9086
 
   echo "$as_me:9086: \$? = $ac_status" >&5
9087
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9088
 
   then
9089
 
     # The compiler can only warn and ignore the option if not recognized
9090
 
     # So say no if there are warnings
9091
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9092
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9093
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9094
 
       lt_cv_prog_compiler_c_o=yes
9095
 
     fi
9096
 
   fi
9097
 
   chmod u+w . 2>&5
9098
 
   $RM conftest*
9099
 
   # SGI C++ compiler will create directory out/ii_files/ for
9100
 
   # template instantiation
9101
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9102
 
   $RM out/* && rmdir out
9103
 
   cd ..
9104
 
   $RM -r conftest
9105
 
   $RM conftest*
9106
 
 
9107
 
fi
9108
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9109
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9110
 
 
9111
 
 
9112
 
 
9113
 
 
9114
 
hard_links="nottested"
9115
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9116
 
  # do not overwrite the value of need_locks provided by the user
9117
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9118
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
9119
 
  hard_links=yes
9120
 
  $RM conftest*
9121
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9122
 
  touch conftest.a
9123
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
9124
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9125
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9126
 
$as_echo "$hard_links" >&6; }
9127
 
  if test "$hard_links" = no; then
9128
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9129
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9130
 
    need_locks=warn
9131
 
  fi
9132
 
else
9133
 
  need_locks=no
9134
 
fi
9135
 
 
9136
 
 
9137
 
 
9138
 
 
9139
 
 
9140
 
 
9141
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9142
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9143
 
 
9144
 
  runpath_var=
9145
 
  allow_undefined_flag=
9146
 
  always_export_symbols=no
9147
 
  archive_cmds=
9148
 
  archive_expsym_cmds=
9149
 
  compiler_needs_object=no
9150
 
  enable_shared_with_static_runtimes=no
9151
 
  export_dynamic_flag_spec=
9152
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9153
 
  hardcode_automatic=no
9154
 
  hardcode_direct=no
9155
 
  hardcode_direct_absolute=no
9156
 
  hardcode_libdir_flag_spec=
9157
 
  hardcode_libdir_flag_spec_ld=
9158
 
  hardcode_libdir_separator=
9159
 
  hardcode_minus_L=no
9160
 
  hardcode_shlibpath_var=unsupported
9161
 
  inherit_rpath=no
9162
 
  link_all_deplibs=unknown
9163
 
  module_cmds=
9164
 
  module_expsym_cmds=
9165
 
  old_archive_from_new_cmds=
9166
 
  old_archive_from_expsyms_cmds=
9167
 
  thread_safe_flag_spec=
9168
 
  whole_archive_flag_spec=
9169
 
  # include_expsyms should be a list of space-separated symbols to be *always*
9170
 
  # included in the symbol list
9171
 
  include_expsyms=
9172
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
9173
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9174
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9175
 
  # as well as any symbol that contains `d'.
9176
 
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9177
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9178
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
9179
 
  # the symbol is explicitly referenced.  Since portable code cannot
9180
 
  # rely on this symbol name, it's probably fine to never include it in
9181
 
  # preloaded symbol tables.
9182
 
  # Exclude shared library initialization/finalization symbols.
9183
 
  extract_expsyms_cmds=
9184
 
 
9185
 
  case $host_os in
9186
 
  cygwin* | mingw* | pw32* | cegcc*)
9187
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9188
 
    # When not using gcc, we currently assume that we are using
9189
 
    # Microsoft Visual C++.
9190
 
    if test "$GCC" != yes; then
9191
 
      with_gnu_ld=no
9192
 
    fi
9193
 
    ;;
9194
 
  interix*)
9195
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
9196
 
    with_gnu_ld=yes
9197
 
    ;;
9198
 
  openbsd*)
9199
 
    with_gnu_ld=no
9200
 
    ;;
9201
 
  linux* | k*bsd*-gnu)
9202
 
    link_all_deplibs=no
9203
 
    ;;
9204
 
  esac
9205
 
 
9206
 
  ld_shlibs=yes
9207
 
  if test "$with_gnu_ld" = yes; then
9208
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
9209
 
    wlarc='${wl}'
9210
 
 
9211
 
    # Set some defaults for GNU ld with shared library support. These
9212
 
    # are reset later if shared libraries are not supported. Putting them
9213
 
    # here allows them to be overridden if necessary.
9214
 
    runpath_var=LD_RUN_PATH
9215
 
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9216
 
    export_dynamic_flag_spec='${wl}--export-dynamic'
9217
 
    # ancient GNU ld didn't support --whole-archive et. al.
9218
 
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9219
 
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9220
 
    else
9221
 
      whole_archive_flag_spec=
9222
 
    fi
9223
 
    supports_anon_versioning=no
9224
 
    case `$LD -v 2>&1` in
9225
 
      *GNU\ gold*) supports_anon_versioning=yes ;;
9226
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9227
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9228
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9229
 
      *\ 2.11.*) ;; # other 2.11 versions
9230
 
      *) supports_anon_versioning=yes ;;
9231
 
    esac
9232
 
 
9233
 
    # See if GNU ld supports shared libraries.
9234
 
    case $host_os in
9235
 
    aix[3-9]*)
9236
 
      # On AIX/PPC, the GNU linker is very broken
9237
 
      if test "$host_cpu" != ia64; then
9238
 
        ld_shlibs=no
9239
 
        cat <<_LT_EOF 1>&2
9240
 
 
9241
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9242
 
*** to be unable to reliably create shared libraries on AIX.
9243
 
*** Therefore, libtool is disabling shared libraries support.  If you
9244
 
*** really care for shared libraries, you may want to modify your PATH
9245
 
*** so that a non-GNU linker is found, and then restart.
9246
 
 
9247
 
_LT_EOF
9248
 
      fi
9249
 
      ;;
9250
 
 
9251
 
    amigaos*)
9252
 
      case $host_cpu in
9253
 
      powerpc)
9254
 
            # see comment about AmigaOS4 .so support
9255
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9256
 
            archive_expsym_cmds=''
9257
 
        ;;
9258
 
      m68k)
9259
 
            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)'
9260
 
            hardcode_libdir_flag_spec='-L$libdir'
9261
 
            hardcode_minus_L=yes
9262
 
        ;;
9263
 
      esac
9264
 
      ;;
9265
 
 
9266
 
    beos*)
9267
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9268
 
        allow_undefined_flag=unsupported
9269
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9270
 
        # support --undefined.  This deserves some investigation.  FIXME
9271
 
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9272
 
      else
9273
 
        ld_shlibs=no
9274
 
      fi
9275
 
      ;;
9276
 
 
9277
 
    cygwin* | mingw* | pw32* | cegcc*)
9278
 
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9279
 
      # as there is no search path for DLLs.
9280
 
      hardcode_libdir_flag_spec='-L$libdir'
9281
 
      allow_undefined_flag=unsupported
9282
 
      always_export_symbols=no
9283
 
      enable_shared_with_static_runtimes=yes
9284
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9285
 
 
9286
 
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9287
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9288
 
        # If the export-symbols file already is a .def file (1st line
9289
 
        # is EXPORTS), use it as is; otherwise, prepend...
9290
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9291
 
          cp $export_symbols $output_objdir/$soname.def;
9292
 
        else
9293
 
          echo EXPORTS > $output_objdir/$soname.def;
9294
 
          cat $export_symbols >> $output_objdir/$soname.def;
9295
 
        fi~
9296
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9297
 
      else
9298
 
        ld_shlibs=no
9299
 
      fi
9300
 
      ;;
9301
 
 
9302
 
    interix[3-9]*)
9303
 
      hardcode_direct=no
9304
 
      hardcode_shlibpath_var=no
9305
 
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9306
 
      export_dynamic_flag_spec='${wl}-E'
9307
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9308
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
9309
 
      # default) and relocated if they conflict, which is a slow very memory
9310
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
9311
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9312
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9313
 
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9314
 
      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'
9315
 
      ;;
9316
 
 
9317
 
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9318
 
      tmp_diet=no
9319
 
      if test "$host_os" = linux-dietlibc; then
9320
 
        case $cc_basename in
9321
 
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9322
 
        esac
9323
 
      fi
9324
 
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9325
 
         && test "$tmp_diet" = no
9326
 
      then
9327
 
        tmp_addflag=
9328
 
        tmp_sharedflag='-shared'
9329
 
        case $cc_basename,$host_cpu in
9330
 
        pgcc*)                          # Portland Group C compiler
9331
 
          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'
9332
 
          tmp_addflag=' $pic_flag'
9333
 
          ;;
9334
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9335
 
          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'
9336
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
9337
 
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9338
 
          tmp_addflag=' -i_dynamic' ;;
9339
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9340
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
9341
 
        ifc* | ifort*)                  # Intel Fortran compiler
9342
 
          tmp_addflag=' -nofor_main' ;;
9343
 
        lf95*)                          # Lahey Fortran 8.1
9344
 
          whole_archive_flag_spec=
9345
 
          tmp_sharedflag='--shared' ;;
9346
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9347
 
          tmp_sharedflag='-qmkshrobj'
9348
 
          tmp_addflag= ;;
9349
 
        esac
9350
 
        case `$CC -V 2>&1 | sed 5q` in
9351
 
        *Sun\ C*)                       # Sun C 5.9
9352
 
          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'
9353
 
          compiler_needs_object=yes
9354
 
          tmp_sharedflag='-G' ;;
9355
 
        *Sun\ F*)                       # Sun Fortran 8.3
9356
 
          tmp_sharedflag='-G' ;;
9357
 
        esac
9358
 
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9359
 
 
9360
 
        if test "x$supports_anon_versioning" = xyes; then
9361
 
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9362
 
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9363
 
            echo "local: *; };" >> $output_objdir/$libname.ver~
9364
 
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9365
 
        fi
9366
 
 
9367
 
        case $cc_basename in
9368
 
        xlf*)
9369
 
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9370
 
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9371
 
          hardcode_libdir_flag_spec=
9372
 
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
9373
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9374
 
          if test "x$supports_anon_versioning" = xyes; then
9375
 
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9376
 
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9377
 
              echo "local: *; };" >> $output_objdir/$libname.ver~
9378
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9379
 
          fi
9380
 
          ;;
9381
 
        esac
9382
 
      else
9383
 
        ld_shlibs=no
9384
 
      fi
9385
 
      ;;
9386
 
 
9387
 
    netbsd* | netbsdelf*-gnu)
9388
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9389
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9390
 
        wlarc=
9391
 
      else
9392
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9393
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9394
 
      fi
9395
 
      ;;
9396
 
 
9397
 
    solaris*)
9398
 
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9399
 
        ld_shlibs=no
9400
 
        cat <<_LT_EOF 1>&2
9401
 
 
9402
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9403
 
*** create shared libraries on Solaris systems.  Therefore, libtool
9404
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
9405
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
9406
 
*** your PATH or compiler configuration so that the native linker is
9407
 
*** used, and then restart.
9408
 
 
9409
 
_LT_EOF
9410
 
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9411
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9412
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9413
 
      else
9414
 
        ld_shlibs=no
9415
 
      fi
9416
 
      ;;
9417
 
 
9418
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9419
 
      case `$LD -v 2>&1` in
9420
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9421
 
        ld_shlibs=no
9422
 
        cat <<_LT_EOF 1>&2
9423
 
 
9424
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9425
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
9426
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
9427
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9428
 
*** your PATH or compiler configuration so that the native linker is
9429
 
*** used, and then restart.
9430
 
 
9431
 
_LT_EOF
9432
 
        ;;
9433
 
        *)
9434
 
          # For security reasons, it is highly recommended that you always
9435
 
          # use absolute paths for naming shared libraries, and exclude the
9436
 
          # DT_RUNPATH tag from executables and libraries.  But doing so
9437
 
          # requires that you compile everything twice, which is a pain.
9438
 
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9439
 
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9440
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9441
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9442
 
          else
9443
 
            ld_shlibs=no
9444
 
          fi
9445
 
        ;;
9446
 
      esac
9447
 
      ;;
9448
 
 
9449
 
    sunos4*)
9450
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9451
 
      wlarc=
9452
 
      hardcode_direct=yes
9453
 
      hardcode_shlibpath_var=no
9454
 
      ;;
9455
 
 
9456
 
    *)
9457
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9458
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9459
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9460
 
      else
9461
 
        ld_shlibs=no
9462
 
      fi
9463
 
      ;;
9464
 
    esac
9465
 
 
9466
 
    if test "$ld_shlibs" = no; then
9467
 
      runpath_var=
9468
 
      hardcode_libdir_flag_spec=
9469
 
      export_dynamic_flag_spec=
9470
 
      whole_archive_flag_spec=
9471
 
    fi
9472
 
  else
9473
 
    # PORTME fill in a description of your system's linker (not GNU ld)
9474
 
    case $host_os in
9475
 
    aix3*)
9476
 
      allow_undefined_flag=unsupported
9477
 
      always_export_symbols=yes
9478
 
      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'
9479
 
      # Note: this linker hardcodes the directories in LIBPATH if there
9480
 
      # are no directories specified by -L.
9481
 
      hardcode_minus_L=yes
9482
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9483
 
        # Neither direct hardcoding nor static linking is supported with a
9484
 
        # broken collect2.
9485
 
        hardcode_direct=unsupported
9486
 
      fi
9487
 
      ;;
9488
 
 
9489
 
    aix[4-9]*)
9490
 
      if test "$host_cpu" = ia64; then
9491
 
        # On IA64, the linker does run time linking by default, so we don't
9492
 
        # have to do anything special.
9493
 
        aix_use_runtimelinking=no
9494
 
        exp_sym_flag='-Bexport'
9495
 
        no_entry_flag=""
9496
 
      else
9497
 
        # If we're using GNU nm, then we don't want the "-C" option.
9498
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
9499
 
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9500
 
          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'
9501
 
        else
9502
 
          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'
9503
 
        fi
9504
 
        aix_use_runtimelinking=no
9505
 
 
9506
 
        # Test if we are trying to use run time linking or normal
9507
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9508
 
        # need to do runtime linking.
9509
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9510
 
          for ld_flag in $LDFLAGS; do
9511
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9512
 
            aix_use_runtimelinking=yes
9513
 
            break
9514
 
          fi
9515
 
          done
9516
 
          ;;
9517
 
        esac
9518
 
 
9519
 
        exp_sym_flag='-bexport'
9520
 
        no_entry_flag='-bnoentry'
9521
 
      fi
9522
 
 
9523
 
      # When large executables or shared objects are built, AIX ld can
9524
 
      # have problems creating the table of contents.  If linking a library
9525
 
      # or program results in "error TOC overflow" add -mminimal-toc to
9526
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9527
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9528
 
 
9529
 
      archive_cmds=''
9530
 
      hardcode_direct=yes
9531
 
      hardcode_direct_absolute=yes
9532
 
      hardcode_libdir_separator=':'
9533
 
      link_all_deplibs=yes
9534
 
      file_list_spec='${wl}-f,'
9535
 
 
9536
 
      if test "$GCC" = yes; then
9537
 
        case $host_os in aix4.[012]|aix4.[012].*)
9538
 
        # We only want to do this on AIX 4.2 and lower, the check
9539
 
        # below for broken collect2 doesn't work under 4.3+
9540
 
          collect2name=`${CC} -print-prog-name=collect2`
9541
 
          if test -f "$collect2name" &&
9542
 
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9543
 
          then
9544
 
          # We have reworked collect2
9545
 
          :
9546
 
          else
9547
 
          # We have old collect2
9548
 
          hardcode_direct=unsupported
9549
 
          # It fails to find uninstalled libraries when the uninstalled
9550
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
9551
 
          # to unsupported forces relinking
9552
 
          hardcode_minus_L=yes
9553
 
          hardcode_libdir_flag_spec='-L$libdir'
9554
 
          hardcode_libdir_separator=
9555
 
          fi
9556
 
          ;;
9557
 
        esac
9558
 
        shared_flag='-shared'
9559
 
        if test "$aix_use_runtimelinking" = yes; then
9560
 
          shared_flag="$shared_flag "'${wl}-G'
9561
 
        fi
9562
 
        link_all_deplibs=no
9563
 
      else
9564
 
        # not using gcc
9565
 
        if test "$host_cpu" = ia64; then
9566
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9567
 
        # chokes on -Wl,-G. The following line is correct:
9568
 
          shared_flag='-G'
9569
 
        else
9570
 
          if test "$aix_use_runtimelinking" = yes; then
9571
 
            shared_flag='${wl}-G'
9572
 
          else
9573
 
            shared_flag='${wl}-bM:SRE'
9574
 
          fi
9575
 
        fi
9576
 
      fi
9577
 
 
9578
 
      export_dynamic_flag_spec='${wl}-bexpall'
9579
 
      # It seems that -bexpall does not export symbols beginning with
9580
 
      # underscore (_), so it is better to generate a list of symbols to export.
9581
 
      always_export_symbols=yes
9582
 
      if test "$aix_use_runtimelinking" = yes; then
9583
 
        # Warning - without using the other runtime loading flags (-brtl),
9584
 
        # -berok will link without error, but may produce a broken library.
9585
 
        allow_undefined_flag='-berok'
9586
 
        # Determine the default libpath from the value encoded in an
9587
 
        # empty executable.
9588
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9589
 
/* end confdefs.h.  */
9590
 
 
9591
 
int
9592
 
main ()
9593
 
{
9594
 
 
9595
 
  ;
9596
 
  return 0;
9597
 
}
9598
 
_ACEOF
9599
 
if ac_fn_c_try_link "$LINENO"; then :
9600
 
 
9601
 
lt_aix_libpath_sed='
9602
 
    /Import File Strings/,/^$/ {
9603
 
        /^0/ {
9604
 
            s/^0  *\(.*\)$/\1/
9605
 
            p
9606
 
        }
9607
 
    }'
9608
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9609
 
# Check for a 64-bit object if we didn't find anything.
9610
 
if test -z "$aix_libpath"; then
9611
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9612
 
fi
9613
 
fi
9614
 
rm -f core conftest.err conftest.$ac_objext \
9615
 
    conftest$ac_exeext conftest.$ac_ext
9616
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9617
 
 
9618
 
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9619
 
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9620
 
      else
9621
 
        if test "$host_cpu" = ia64; then
9622
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9623
 
          allow_undefined_flag="-z nodefs"
9624
 
          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"
9625
 
        else
9626
 
         # Determine the default libpath from the value encoded in an
9627
 
         # empty executable.
9628
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9629
 
/* end confdefs.h.  */
9630
 
 
9631
 
int
9632
 
main ()
9633
 
{
9634
 
 
9635
 
  ;
9636
 
  return 0;
9637
 
}
9638
 
_ACEOF
9639
 
if ac_fn_c_try_link "$LINENO"; then :
9640
 
 
9641
 
lt_aix_libpath_sed='
9642
 
    /Import File Strings/,/^$/ {
9643
 
        /^0/ {
9644
 
            s/^0  *\(.*\)$/\1/
9645
 
            p
9646
 
        }
9647
 
    }'
9648
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9649
 
# Check for a 64-bit object if we didn't find anything.
9650
 
if test -z "$aix_libpath"; then
9651
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9652
 
fi
9653
 
fi
9654
 
rm -f core conftest.err conftest.$ac_objext \
9655
 
    conftest$ac_exeext conftest.$ac_ext
9656
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9657
 
 
9658
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9659
 
          # Warning - without using the other run time loading flags,
9660
 
          # -berok will link without error, but may produce a broken library.
9661
 
          no_undefined_flag=' ${wl}-bernotok'
9662
 
          allow_undefined_flag=' ${wl}-berok'
9663
 
          # Exported symbols can be pulled into shared objects from archives
9664
 
          whole_archive_flag_spec='$convenience'
9665
 
          archive_cmds_need_lc=yes
9666
 
          # This is similar to how AIX traditionally builds its shared libraries.
9667
 
          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'
9668
 
        fi
9669
 
      fi
9670
 
      ;;
9671
 
 
9672
 
    amigaos*)
9673
 
      case $host_cpu in
9674
 
      powerpc)
9675
 
            # see comment about AmigaOS4 .so support
9676
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9677
 
            archive_expsym_cmds=''
9678
 
        ;;
9679
 
      m68k)
9680
 
            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)'
9681
 
            hardcode_libdir_flag_spec='-L$libdir'
9682
 
            hardcode_minus_L=yes
9683
 
        ;;
9684
 
      esac
9685
 
      ;;
9686
 
 
9687
 
    bsdi[45]*)
9688
 
      export_dynamic_flag_spec=-rdynamic
9689
 
      ;;
9690
 
 
9691
 
    cygwin* | mingw* | pw32* | cegcc*)
9692
 
      # When not using gcc, we currently assume that we are using
9693
 
      # Microsoft Visual C++.
9694
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9695
 
      # no search path for DLLs.
9696
 
      hardcode_libdir_flag_spec=' '
9697
 
      allow_undefined_flag=unsupported
9698
 
      # Tell ltmain to make .lib files, not .a files.
9699
 
      libext=lib
9700
 
      # Tell ltmain to make .dll files, not .so files.
9701
 
      shrext_cmds=".dll"
9702
 
      # FIXME: Setting linknames here is a bad hack.
9703
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9704
 
      # The linker will automatically build a .lib file if we build a DLL.
9705
 
      old_archive_from_new_cmds='true'
9706
 
      # FIXME: Should let the user specify the lib program.
9707
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9708
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
9709
 
      enable_shared_with_static_runtimes=yes
9710
 
      ;;
9711
 
 
9712
 
    darwin* | rhapsody*)
9713
 
 
9714
 
 
9715
 
  archive_cmds_need_lc=no
9716
 
  hardcode_direct=no
9717
 
  hardcode_automatic=yes
9718
 
  hardcode_shlibpath_var=unsupported
9719
 
  whole_archive_flag_spec=''
9720
 
  link_all_deplibs=yes
9721
 
  allow_undefined_flag="$_lt_dar_allow_undefined"
9722
 
  case $cc_basename in
9723
 
     ifort*) _lt_dar_can_shared=yes ;;
9724
 
     *) _lt_dar_can_shared=$GCC ;;
9725
 
  esac
9726
 
  if test "$_lt_dar_can_shared" = "yes"; then
9727
 
    output_verbose_link_cmd=echo
9728
 
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9729
 
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9730
 
    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}"
9731
 
    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}"
9732
 
 
9733
 
  else
9734
 
  ld_shlibs=no
9735
 
  fi
9736
 
 
9737
 
      ;;
9738
 
 
9739
 
    dgux*)
9740
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9741
 
      hardcode_libdir_flag_spec='-L$libdir'
9742
 
      hardcode_shlibpath_var=no
9743
 
      ;;
9744
 
 
9745
 
    freebsd1*)
9746
 
      ld_shlibs=no
9747
 
      ;;
9748
 
 
9749
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9750
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
9751
 
    # does not break anything, and helps significantly (at the cost of a little
9752
 
    # extra space).
9753
 
    freebsd2.2*)
9754
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9755
 
      hardcode_libdir_flag_spec='-R$libdir'
9756
 
      hardcode_direct=yes
9757
 
      hardcode_shlibpath_var=no
9758
 
      ;;
9759
 
 
9760
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9761
 
    freebsd2*)
9762
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9763
 
      hardcode_direct=yes
9764
 
      hardcode_minus_L=yes
9765
 
      hardcode_shlibpath_var=no
9766
 
      ;;
9767
 
 
9768
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9769
 
    freebsd* | dragonfly*)
9770
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9771
 
      hardcode_libdir_flag_spec='-R$libdir'
9772
 
      hardcode_direct=yes
9773
 
      hardcode_shlibpath_var=no
9774
 
      ;;
9775
 
 
9776
 
    hpux9*)
9777
 
      if test "$GCC" = yes; then
9778
 
        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'
9779
 
      else
9780
 
        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'
9781
 
      fi
9782
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9783
 
      hardcode_libdir_separator=:
9784
 
      hardcode_direct=yes
9785
 
 
9786
 
      # hardcode_minus_L: Not really in the search PATH,
9787
 
      # but as the default location of the library.
9788
 
      hardcode_minus_L=yes
9789
 
      export_dynamic_flag_spec='${wl}-E'
9790
 
      ;;
9791
 
 
9792
 
    hpux10*)
9793
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9794
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9795
 
      else
9796
 
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9797
 
      fi
9798
 
      if test "$with_gnu_ld" = no; then
9799
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9800
 
        hardcode_libdir_flag_spec_ld='+b $libdir'
9801
 
        hardcode_libdir_separator=:
9802
 
        hardcode_direct=yes
9803
 
        hardcode_direct_absolute=yes
9804
 
        export_dynamic_flag_spec='${wl}-E'
9805
 
        # hardcode_minus_L: Not really in the search PATH,
9806
 
        # but as the default location of the library.
9807
 
        hardcode_minus_L=yes
9808
 
      fi
9809
 
      ;;
9810
 
 
9811
 
    hpux11*)
9812
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9813
 
        case $host_cpu in
9814
 
        hppa*64*)
9815
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9816
 
          ;;
9817
 
        ia64*)
9818
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9819
 
          ;;
9820
 
        *)
9821
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9822
 
          ;;
9823
 
        esac
9824
 
      else
9825
 
        case $host_cpu in
9826
 
        hppa*64*)
9827
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9828
 
          ;;
9829
 
        ia64*)
9830
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9831
 
          ;;
9832
 
        *)
9833
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9834
 
          ;;
9835
 
        esac
9836
 
      fi
9837
 
      if test "$with_gnu_ld" = no; then
9838
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9839
 
        hardcode_libdir_separator=:
9840
 
 
9841
 
        case $host_cpu in
9842
 
        hppa*64*|ia64*)
9843
 
          hardcode_direct=no
9844
 
          hardcode_shlibpath_var=no
9845
 
          ;;
9846
 
        *)
9847
 
          hardcode_direct=yes
9848
 
          hardcode_direct_absolute=yes
9849
 
          export_dynamic_flag_spec='${wl}-E'
9850
 
 
9851
 
          # hardcode_minus_L: Not really in the search PATH,
9852
 
          # but as the default location of the library.
9853
 
          hardcode_minus_L=yes
9854
 
          ;;
9855
 
        esac
9856
 
      fi
9857
 
      ;;
9858
 
 
9859
 
    irix5* | irix6* | nonstopux*)
9860
 
      if test "$GCC" = yes; then
9861
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9862
 
        # Try to use the -exported_symbol ld option, if it does not
9863
 
        # work, assume that -exports_file does not work either and
9864
 
        # implicitly export all symbols.
9865
 
        save_LDFLAGS="$LDFLAGS"
9866
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9867
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9868
 
/* end confdefs.h.  */
9869
 
int foo(void) {}
9870
 
_ACEOF
9871
 
if ac_fn_c_try_link "$LINENO"; then :
9872
 
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9873
 
 
9874
 
fi
9875
 
rm -f core conftest.err conftest.$ac_objext \
9876
 
    conftest$ac_exeext conftest.$ac_ext
9877
 
        LDFLAGS="$save_LDFLAGS"
9878
 
      else
9879
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9880
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9881
 
      fi
9882
 
      archive_cmds_need_lc='no'
9883
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9884
 
      hardcode_libdir_separator=:
9885
 
      inherit_rpath=yes
9886
 
      link_all_deplibs=yes
9887
 
      ;;
9888
 
 
9889
 
    netbsd* | netbsdelf*-gnu)
9890
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9891
 
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9892
 
      else
9893
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9894
 
      fi
9895
 
      hardcode_libdir_flag_spec='-R$libdir'
9896
 
      hardcode_direct=yes
9897
 
      hardcode_shlibpath_var=no
9898
 
      ;;
9899
 
 
9900
 
    newsos6)
9901
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9902
 
      hardcode_direct=yes
9903
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9904
 
      hardcode_libdir_separator=:
9905
 
      hardcode_shlibpath_var=no
9906
 
      ;;
9907
 
 
9908
 
    *nto* | *qnx*)
9909
 
      ;;
9910
 
 
9911
 
    openbsd*)
9912
 
      if test -f /usr/libexec/ld.so; then
9913
 
        hardcode_direct=yes
9914
 
        hardcode_shlibpath_var=no
9915
 
        hardcode_direct_absolute=yes
9916
 
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9917
 
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9918
 
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9919
 
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9920
 
          export_dynamic_flag_spec='${wl}-E'
9921
 
        else
9922
 
          case $host_os in
9923
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9924
 
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9925
 
             hardcode_libdir_flag_spec='-R$libdir'
9926
 
             ;;
9927
 
           *)
9928
 
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9929
 
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9930
 
             ;;
9931
 
          esac
9932
 
        fi
9933
 
      else
9934
 
        ld_shlibs=no
9935
 
      fi
9936
 
      ;;
9937
 
 
9938
 
    os2*)
9939
 
      hardcode_libdir_flag_spec='-L$libdir'
9940
 
      hardcode_minus_L=yes
9941
 
      allow_undefined_flag=unsupported
9942
 
      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'
9943
 
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9944
 
      ;;
9945
 
 
9946
 
    osf3*)
9947
 
      if test "$GCC" = yes; then
9948
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9949
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9950
 
      else
9951
 
        allow_undefined_flag=' -expect_unresolved \*'
9952
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9953
 
      fi
9954
 
      archive_cmds_need_lc='no'
9955
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9956
 
      hardcode_libdir_separator=:
9957
 
      ;;
9958
 
 
9959
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9960
 
      if test "$GCC" = yes; then
9961
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9962
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9963
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9964
 
      else
9965
 
        allow_undefined_flag=' -expect_unresolved \*'
9966
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9967
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9968
 
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9969
 
 
9970
 
        # Both c and cxx compiler support -rpath directly
9971
 
        hardcode_libdir_flag_spec='-rpath $libdir'
9972
 
      fi
9973
 
      archive_cmds_need_lc='no'
9974
 
      hardcode_libdir_separator=:
9975
 
      ;;
9976
 
 
9977
 
    solaris*)
9978
 
      no_undefined_flag=' -z defs'
9979
 
      if test "$GCC" = yes; then
9980
 
        wlarc='${wl}'
9981
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9982
 
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9983
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9984
 
      else
9985
 
        case `$CC -V 2>&1` in
9986
 
        *"Compilers 5.0"*)
9987
 
          wlarc=''
9988
 
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9989
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9990
 
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9991
 
          ;;
9992
 
        *)
9993
 
          wlarc='${wl}'
9994
 
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9995
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9996
 
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9997
 
          ;;
9998
 
        esac
9999
 
      fi
10000
 
      hardcode_libdir_flag_spec='-R$libdir'
10001
 
      hardcode_shlibpath_var=no
10002
 
      case $host_os in
10003
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
10004
 
      *)
10005
 
        # The compiler driver will combine and reorder linker options,
10006
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
10007
 
        # but is careful enough not to reorder.
10008
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
10009
 
        if test "$GCC" = yes; then
10010
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10011
 
        else
10012
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10013
 
        fi
10014
 
        ;;
10015
 
      esac
10016
 
      link_all_deplibs=yes
10017
 
      ;;
10018
 
 
10019
 
    sunos4*)
10020
 
      if test "x$host_vendor" = xsequent; then
10021
 
        # Use $CC to link under sequent, because it throws in some extra .o
10022
 
        # files that make .init and .fini sections work.
10023
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10024
 
      else
10025
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10026
 
      fi
10027
 
      hardcode_libdir_flag_spec='-L$libdir'
10028
 
      hardcode_direct=yes
10029
 
      hardcode_minus_L=yes
10030
 
      hardcode_shlibpath_var=no
10031
 
      ;;
10032
 
 
10033
 
    sysv4)
10034
 
      case $host_vendor in
10035
 
        sni)
10036
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10037
 
          hardcode_direct=yes # is this really true???
10038
 
        ;;
10039
 
        siemens)
10040
 
          ## LD is ld it makes a PLAMLIB
10041
 
          ## CC just makes a GrossModule.
10042
 
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10043
 
          reload_cmds='$CC -r -o $output$reload_objs'
10044
 
          hardcode_direct=no
10045
 
        ;;
10046
 
        motorola)
10047
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10048
 
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10049
 
        ;;
10050
 
      esac
10051
 
      runpath_var='LD_RUN_PATH'
10052
 
      hardcode_shlibpath_var=no
10053
 
      ;;
10054
 
 
10055
 
    sysv4.3*)
10056
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10057
 
      hardcode_shlibpath_var=no
10058
 
      export_dynamic_flag_spec='-Bexport'
10059
 
      ;;
10060
 
 
10061
 
    sysv4*MP*)
10062
 
      if test -d /usr/nec; then
10063
 
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10064
 
        hardcode_shlibpath_var=no
10065
 
        runpath_var=LD_RUN_PATH
10066
 
        hardcode_runpath_var=yes
10067
 
        ld_shlibs=yes
10068
 
      fi
10069
 
      ;;
10070
 
 
10071
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10072
 
      no_undefined_flag='${wl}-z,text'
10073
 
      archive_cmds_need_lc=no
10074
 
      hardcode_shlibpath_var=no
10075
 
      runpath_var='LD_RUN_PATH'
10076
 
 
10077
 
      if test "$GCC" = yes; then
10078
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10079
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10080
 
      else
10081
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10082
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10083
 
      fi
10084
 
      ;;
10085
 
 
10086
 
    sysv5* | sco3.2v5* | sco5v6*)
10087
 
      # Note: We can NOT use -z defs as we might desire, because we do not
10088
 
      # link with -lc, and that would cause any symbols used from libc to
10089
 
      # always be unresolved, which means just about no library would
10090
 
      # ever link correctly.  If we're not using GNU ld we use -z text
10091
 
      # though, which does catch some bad symbols but isn't as heavy-handed
10092
 
      # as -z defs.
10093
 
      no_undefined_flag='${wl}-z,text'
10094
 
      allow_undefined_flag='${wl}-z,nodefs'
10095
 
      archive_cmds_need_lc=no
10096
 
      hardcode_shlibpath_var=no
10097
 
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10098
 
      hardcode_libdir_separator=':'
10099
 
      link_all_deplibs=yes
10100
 
      export_dynamic_flag_spec='${wl}-Bexport'
10101
 
      runpath_var='LD_RUN_PATH'
10102
 
 
10103
 
      if test "$GCC" = yes; then
10104
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10105
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10106
 
      else
10107
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10108
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10109
 
      fi
10110
 
      ;;
10111
 
 
10112
 
    uts4*)
10113
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10114
 
      hardcode_libdir_flag_spec='-L$libdir'
10115
 
      hardcode_shlibpath_var=no
10116
 
      ;;
10117
 
 
10118
 
    *)
10119
 
      ld_shlibs=no
10120
 
      ;;
10121
 
    esac
10122
 
 
10123
 
    if test x$host_vendor = xsni; then
10124
 
      case $host in
10125
 
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10126
 
        export_dynamic_flag_spec='${wl}-Blargedynsym'
10127
 
        ;;
10128
 
      esac
10129
 
    fi
10130
 
  fi
10131
 
 
10132
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10133
 
$as_echo "$ld_shlibs" >&6; }
10134
 
test "$ld_shlibs" = no && can_build_shared=no
10135
 
 
10136
 
with_gnu_ld=$with_gnu_ld
10137
 
 
10138
 
 
10139
 
 
10140
 
 
10141
 
 
10142
 
 
10143
 
 
10144
 
 
10145
 
 
10146
 
 
10147
 
 
10148
 
 
10149
 
 
10150
 
 
10151
 
 
10152
 
#
10153
 
# Do we need to explicitly link libc?
10154
 
#
10155
 
case "x$archive_cmds_need_lc" in
10156
 
x|xyes)
10157
 
  # Assume -lc should be added
10158
 
  archive_cmds_need_lc=yes
10159
 
 
10160
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
10161
 
    case $archive_cmds in
10162
 
    *'~'*)
10163
 
      # FIXME: we may have to deal with multi-command sequences.
10164
 
      ;;
10165
 
    '$CC '*)
10166
 
      # Test whether the compiler implicitly links with -lc since on some
10167
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10168
 
      # to ld, don't add -lc before -lgcc.
10169
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10170
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10171
 
      $RM conftest*
10172
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10173
 
 
10174
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10175
 
  (eval $ac_compile) 2>&5
10176
 
  ac_status=$?
10177
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10178
 
  test $ac_status = 0; } 2>conftest.err; then
10179
 
        soname=conftest
10180
 
        lib=conftest
10181
 
        libobjs=conftest.$ac_objext
10182
 
        deplibs=
10183
 
        wl=$lt_prog_compiler_wl
10184
 
        pic_flag=$lt_prog_compiler_pic
10185
 
        compiler_flags=-v
10186
 
        linker_flags=-v
10187
 
        verstring=
10188
 
        output_objdir=.
10189
 
        libname=conftest
10190
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
10191
 
        allow_undefined_flag=
10192
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10193
 
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10194
 
  ac_status=$?
10195
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10196
 
  test $ac_status = 0; }
10197
 
        then
10198
 
          archive_cmds_need_lc=no
10199
 
        else
10200
 
          archive_cmds_need_lc=yes
10201
 
        fi
10202
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
10203
 
      else
10204
 
        cat conftest.err 1>&5
10205
 
      fi
10206
 
      $RM conftest*
10207
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10208
 
$as_echo "$archive_cmds_need_lc" >&6; }
10209
 
      ;;
10210
 
    esac
10211
 
  fi
10212
 
  ;;
10213
 
esac
10214
 
 
10215
 
 
10216
 
 
10217
 
 
10218
 
 
10219
 
 
10220
 
 
10221
 
 
10222
 
 
10223
 
 
10224
 
 
10225
 
 
10226
 
 
10227
 
 
10228
 
 
10229
 
 
10230
 
 
10231
 
 
10232
 
 
10233
 
 
10234
 
 
10235
 
 
10236
 
 
10237
 
 
10238
 
 
10239
 
 
10240
 
 
10241
 
 
10242
 
 
10243
 
 
10244
 
 
10245
 
 
10246
 
 
10247
 
 
10248
 
 
10249
 
 
10250
 
 
10251
 
 
10252
 
 
10253
 
 
10254
 
 
10255
 
 
10256
 
 
10257
 
 
10258
 
 
10259
 
 
10260
 
 
10261
 
 
10262
 
 
10263
 
 
10264
 
 
10265
 
 
10266
 
 
10267
 
 
10268
 
 
10269
 
 
10270
 
 
10271
 
 
10272
 
 
10273
 
 
10274
 
 
10275
 
 
10276
 
 
10277
 
 
10278
 
 
10279
 
 
10280
 
 
10281
 
 
10282
 
 
10283
 
 
10284
 
 
10285
 
 
10286
 
 
10287
 
 
10288
 
 
10289
 
 
10290
 
 
10291
 
 
10292
 
 
10293
 
 
10294
 
 
10295
 
 
10296
 
 
10297
 
 
10298
 
 
10299
 
 
10300
 
 
10301
 
 
10302
 
 
10303
 
 
10304
 
 
10305
 
 
10306
 
 
10307
 
 
10308
 
 
10309
 
 
10310
 
 
10311
 
 
10312
 
 
10313
 
 
10314
 
 
10315
 
 
10316
 
 
10317
 
 
10318
 
 
10319
 
 
10320
 
 
10321
 
 
10322
 
 
10323
 
 
10324
 
 
10325
 
 
10326
 
 
10327
 
 
10328
 
 
10329
 
 
10330
 
 
10331
 
 
10332
 
 
10333
 
 
10334
 
 
10335
 
 
10336
 
 
10337
 
 
10338
 
 
10339
 
 
10340
 
 
10341
 
 
10342
 
 
10343
 
 
10344
 
 
10345
 
 
10346
 
 
10347
 
 
10348
 
 
10349
 
 
10350
 
 
10351
 
 
10352
 
 
10353
 
 
10354
 
 
10355
 
 
10356
 
 
10357
 
 
10358
 
 
10359
 
 
10360
 
 
10361
 
 
10362
 
 
10363
 
 
10364
 
 
10365
 
 
10366
 
 
10367
 
 
10368
 
 
10369
 
 
10370
 
 
10371
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10372
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10373
 
 
10374
 
if test "$GCC" = yes; then
10375
 
  case $host_os in
10376
 
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10377
 
    *) lt_awk_arg="/^libraries:/" ;;
10378
 
  esac
10379
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10380
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10381
 
    # if the path contains ";" then we assume it to be the separator
10382
 
    # otherwise default to the standard path separator (i.e. ":") - it is
10383
 
    # assumed that no part of a normal pathname contains ";" but that should
10384
 
    # okay in the real world where ";" in dirpaths is itself problematic.
10385
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10386
 
  else
10387
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10388
 
  fi
10389
 
  # Ok, now we have the path, separated by spaces, we can step through it
10390
 
  # and add multilib dir if necessary.
10391
 
  lt_tmp_lt_search_path_spec=
10392
 
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10393
 
  for lt_sys_path in $lt_search_path_spec; do
10394
 
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10395
 
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10396
 
    else
10397
 
      test -d "$lt_sys_path" && \
10398
 
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10399
 
    fi
10400
 
  done
10401
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10402
 
BEGIN {RS=" "; FS="/|\n";} {
10403
 
  lt_foo="";
10404
 
  lt_count=0;
10405
 
  for (lt_i = NF; lt_i > 0; lt_i--) {
10406
 
    if ($lt_i != "" && $lt_i != ".") {
10407
 
      if ($lt_i == "..") {
10408
 
        lt_count++;
10409
 
      } else {
10410
 
        if (lt_count == 0) {
10411
 
          lt_foo="/" $lt_i lt_foo;
10412
 
        } else {
10413
 
          lt_count--;
10414
 
        }
10415
 
      }
10416
 
    }
10417
 
  }
10418
 
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10419
 
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10420
 
}'`
10421
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10422
 
else
10423
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10424
 
fi
10425
 
library_names_spec=
10426
 
libname_spec='lib$name'
10427
 
soname_spec=
10428
 
shrext_cmds=".so"
10429
 
postinstall_cmds=
10430
 
postuninstall_cmds=
10431
 
finish_cmds=
10432
 
finish_eval=
10433
 
shlibpath_var=
10434
 
shlibpath_overrides_runpath=unknown
10435
 
version_type=none
10436
 
dynamic_linker="$host_os ld.so"
10437
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10438
 
need_lib_prefix=unknown
10439
 
hardcode_into_libs=no
10440
 
 
10441
 
# when you set need_version to no, make sure it does not cause -set_version
10442
 
# flags to be left without arguments
10443
 
need_version=unknown
10444
 
 
10445
 
case $host_os in
10446
 
aix3*)
10447
 
  version_type=linux
10448
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10449
 
  shlibpath_var=LIBPATH
10450
 
 
10451
 
  # AIX 3 has no versioning support, so we append a major version to the name.
10452
 
  soname_spec='${libname}${release}${shared_ext}$major'
10453
 
  ;;
10454
 
 
10455
 
aix[4-9]*)
10456
 
  version_type=linux
10457
 
  need_lib_prefix=no
10458
 
  need_version=no
10459
 
  hardcode_into_libs=yes
10460
 
  if test "$host_cpu" = ia64; then
10461
 
    # AIX 5 supports IA64
10462
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10463
 
    shlibpath_var=LD_LIBRARY_PATH
10464
 
  else
10465
 
    # With GCC up to 2.95.x, collect2 would create an import file
10466
 
    # for dependence libraries.  The import file would start with
10467
 
    # the line `#! .'.  This would cause the generated library to
10468
 
    # depend on `.', always an invalid library.  This was fixed in
10469
 
    # development snapshots of GCC prior to 3.0.
10470
 
    case $host_os in
10471
 
      aix4 | aix4.[01] | aix4.[01].*)
10472
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10473
 
           echo ' yes '
10474
 
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10475
 
        :
10476
 
      else
10477
 
        can_build_shared=no
10478
 
      fi
10479
 
      ;;
10480
 
    esac
10481
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10482
 
    # soname into executable. Probably we can add versioning support to
10483
 
    # collect2, so additional links can be useful in future.
10484
 
    if test "$aix_use_runtimelinking" = yes; then
10485
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10486
 
      # instead of lib<name>.a to let people know that these are not
10487
 
      # typical AIX shared libraries.
10488
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10489
 
    else
10490
 
      # We preserve .a as extension for shared libraries through AIX4.2
10491
 
      # and later when we are not doing run time linking.
10492
 
      library_names_spec='${libname}${release}.a $libname.a'
10493
 
      soname_spec='${libname}${release}${shared_ext}$major'
10494
 
    fi
10495
 
    shlibpath_var=LIBPATH
10496
 
  fi
10497
 
  ;;
10498
 
 
10499
 
amigaos*)
10500
 
  case $host_cpu in
10501
 
  powerpc)
10502
 
    # Since July 2007 AmigaOS4 officially supports .so libraries.
10503
 
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10504
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10505
 
    ;;
10506
 
  m68k)
10507
 
    library_names_spec='$libname.ixlibrary $libname.a'
10508
 
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10509
 
    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'
10510
 
    ;;
10511
 
  esac
10512
 
  ;;
10513
 
 
10514
 
beos*)
10515
 
  library_names_spec='${libname}${shared_ext}'
10516
 
  dynamic_linker="$host_os ld.so"
10517
 
  shlibpath_var=LIBRARY_PATH
10518
 
  ;;
10519
 
 
10520
 
bsdi[45]*)
10521
 
  version_type=linux
10522
 
  need_version=no
10523
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10524
 
  soname_spec='${libname}${release}${shared_ext}$major'
10525
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10526
 
  shlibpath_var=LD_LIBRARY_PATH
10527
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10528
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10529
 
  # the default ld.so.conf also contains /usr/contrib/lib and
10530
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10531
 
  # libtool to hard-code these into programs
10532
 
  ;;
10533
 
 
10534
 
cygwin* | mingw* | pw32* | cegcc*)
10535
 
  version_type=windows
10536
 
  shrext_cmds=".dll"
10537
 
  need_version=no
10538
 
  need_lib_prefix=no
10539
 
 
10540
 
  case $GCC,$host_os in
10541
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10542
 
    library_names_spec='$libname.dll.a'
10543
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10544
 
    postinstall_cmds='base_file=`basename \${file}`~
10545
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10546
 
      dldir=$destdir/`dirname \$dlpath`~
10547
 
      test -d \$dldir || mkdir -p \$dldir~
10548
 
      $install_prog $dir/$dlname \$dldir/$dlname~
10549
 
      chmod a+x \$dldir/$dlname~
10550
 
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10551
 
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10552
 
      fi'
10553
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10554
 
      dlpath=$dir/\$dldll~
10555
 
       $RM \$dlpath'
10556
 
    shlibpath_overrides_runpath=yes
10557
 
 
10558
 
    case $host_os in
10559
 
    cygwin*)
10560
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10561
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10562
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10563
 
      ;;
10564
 
    mingw* | cegcc*)
10565
 
      # MinGW DLLs use traditional 'lib' prefix
10566
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10567
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10568
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10569
 
        # It is most probably a Windows format PATH printed by
10570
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
10571
 
        # path with ; separators, and with drive letters. We can handle the
10572
 
        # drive letters (cygwin fileutils understands them), so leave them,
10573
 
        # especially as we might pass files found there to a mingw objdump,
10574
 
        # which wouldn't understand a cygwinified path. Ahh.
10575
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10576
 
      else
10577
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10578
 
      fi
10579
 
      ;;
10580
 
    pw32*)
10581
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
10582
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10583
 
      ;;
10584
 
    esac
10585
 
    ;;
10586
 
 
10587
 
  *)
10588
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10589
 
    ;;
10590
 
  esac
10591
 
  dynamic_linker='Win32 ld.exe'
10592
 
  # FIXME: first we should search . and the directory the executable is in
10593
 
  shlibpath_var=PATH
10594
 
  ;;
10595
 
 
10596
 
darwin* | rhapsody*)
10597
 
  dynamic_linker="$host_os dyld"
10598
 
  version_type=darwin
10599
 
  need_lib_prefix=no
10600
 
  need_version=no
10601
 
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10602
 
  soname_spec='${libname}${release}${major}$shared_ext'
10603
 
  shlibpath_overrides_runpath=yes
10604
 
  shlibpath_var=DYLD_LIBRARY_PATH
10605
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10606
 
 
10607
 
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10608
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10609
 
  ;;
10610
 
 
10611
 
dgux*)
10612
 
  version_type=linux
10613
 
  need_lib_prefix=no
10614
 
  need_version=no
10615
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10616
 
  soname_spec='${libname}${release}${shared_ext}$major'
10617
 
  shlibpath_var=LD_LIBRARY_PATH
10618
 
  ;;
10619
 
 
10620
 
freebsd1*)
10621
 
  dynamic_linker=no
10622
 
  ;;
10623
 
 
10624
 
freebsd* | dragonfly*)
10625
 
  # DragonFly does not have aout.  When/if they implement a new
10626
 
  # versioning mechanism, adjust this.
10627
 
  if test -x /usr/bin/objformat; then
10628
 
    objformat=`/usr/bin/objformat`
10629
 
  else
10630
 
    case $host_os in
10631
 
    freebsd[123]*) objformat=aout ;;
10632
 
    *) objformat=elf ;;
10633
 
    esac
10634
 
  fi
10635
 
  version_type=freebsd-$objformat
10636
 
  case $version_type in
10637
 
    freebsd-elf*)
10638
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10639
 
      need_version=no
10640
 
      need_lib_prefix=no
10641
 
      ;;
10642
 
    freebsd-*)
10643
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10644
 
      need_version=yes
10645
 
      ;;
10646
 
  esac
10647
 
  shlibpath_var=LD_LIBRARY_PATH
10648
 
  case $host_os in
10649
 
  freebsd2*)
10650
 
    shlibpath_overrides_runpath=yes
10651
 
    ;;
10652
 
  freebsd3.[01]* | freebsdelf3.[01]*)
10653
 
    shlibpath_overrides_runpath=yes
10654
 
    hardcode_into_libs=yes
10655
 
    ;;
10656
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10657
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10658
 
    shlibpath_overrides_runpath=no
10659
 
    hardcode_into_libs=yes
10660
 
    ;;
10661
 
  *) # from 4.6 on, and DragonFly
10662
 
    shlibpath_overrides_runpath=yes
10663
 
    hardcode_into_libs=yes
10664
 
    ;;
10665
 
  esac
10666
 
  ;;
10667
 
 
10668
 
gnu*)
10669
 
  version_type=linux
10670
 
  need_lib_prefix=no
10671
 
  need_version=no
10672
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10673
 
  soname_spec='${libname}${release}${shared_ext}$major'
10674
 
  shlibpath_var=LD_LIBRARY_PATH
10675
 
  hardcode_into_libs=yes
10676
 
  ;;
10677
 
 
10678
 
hpux9* | hpux10* | hpux11*)
10679
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
10680
 
  # link against other versions.
10681
 
  version_type=sunos
10682
 
  need_lib_prefix=no
10683
 
  need_version=no
10684
 
  case $host_cpu in
10685
 
  ia64*)
10686
 
    shrext_cmds='.so'
10687
 
    hardcode_into_libs=yes
10688
 
    dynamic_linker="$host_os dld.so"
10689
 
    shlibpath_var=LD_LIBRARY_PATH
10690
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10691
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10692
 
    soname_spec='${libname}${release}${shared_ext}$major'
10693
 
    if test "X$HPUX_IA64_MODE" = X32; then
10694
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10695
 
    else
10696
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10697
 
    fi
10698
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10699
 
    ;;
10700
 
  hppa*64*)
10701
 
    shrext_cmds='.sl'
10702
 
    hardcode_into_libs=yes
10703
 
    dynamic_linker="$host_os dld.sl"
10704
 
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10705
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10706
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10707
 
    soname_spec='${libname}${release}${shared_ext}$major'
10708
 
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10709
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10710
 
    ;;
10711
 
  *)
10712
 
    shrext_cmds='.sl'
10713
 
    dynamic_linker="$host_os dld.sl"
10714
 
    shlibpath_var=SHLIB_PATH
10715
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10716
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10717
 
    soname_spec='${libname}${release}${shared_ext}$major'
10718
 
    ;;
10719
 
  esac
10720
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
10721
 
  postinstall_cmds='chmod 555 $lib'
10722
 
  ;;
10723
 
 
10724
 
interix[3-9]*)
10725
 
  version_type=linux
10726
 
  need_lib_prefix=no
10727
 
  need_version=no
10728
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10729
 
  soname_spec='${libname}${release}${shared_ext}$major'
10730
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10731
 
  shlibpath_var=LD_LIBRARY_PATH
10732
 
  shlibpath_overrides_runpath=no
10733
 
  hardcode_into_libs=yes
10734
 
  ;;
10735
 
 
10736
 
irix5* | irix6* | nonstopux*)
10737
 
  case $host_os in
10738
 
    nonstopux*) version_type=nonstopux ;;
10739
 
    *)
10740
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
10741
 
                version_type=linux
10742
 
        else
10743
 
                version_type=irix
10744
 
        fi ;;
10745
 
  esac
10746
 
  need_lib_prefix=no
10747
 
  need_version=no
10748
 
  soname_spec='${libname}${release}${shared_ext}$major'
10749
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10750
 
  case $host_os in
10751
 
  irix5* | nonstopux*)
10752
 
    libsuff= shlibsuff=
10753
 
    ;;
10754
 
  *)
10755
 
    case $LD in # libtool.m4 will add one of these switches to LD
10756
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10757
 
      libsuff= shlibsuff= libmagic=32-bit;;
10758
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10759
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
10760
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10761
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10762
 
    *) libsuff= shlibsuff= libmagic=never-match;;
10763
 
    esac
10764
 
    ;;
10765
 
  esac
10766
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10767
 
  shlibpath_overrides_runpath=no
10768
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10769
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10770
 
  hardcode_into_libs=yes
10771
 
  ;;
10772
 
 
10773
 
# No shared lib support for Linux oldld, aout, or coff.
10774
 
linux*oldld* | linux*aout* | linux*coff*)
10775
 
  dynamic_linker=no
10776
 
  ;;
10777
 
 
10778
 
# This must be Linux ELF.
10779
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10780
 
  version_type=linux
10781
 
  need_lib_prefix=no
10782
 
  need_version=no
10783
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10784
 
  soname_spec='${libname}${release}${shared_ext}$major'
10785
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10786
 
  shlibpath_var=LD_LIBRARY_PATH
10787
 
  shlibpath_overrides_runpath=no
10788
 
  # Some binutils ld are patched to set DT_RUNPATH
10789
 
  save_LDFLAGS=$LDFLAGS
10790
 
  save_libdir=$libdir
10791
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10792
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10793
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10794
 
/* end confdefs.h.  */
10795
 
 
10796
 
int
10797
 
main ()
10798
 
{
10799
 
 
10800
 
  ;
10801
 
  return 0;
10802
 
}
10803
 
_ACEOF
10804
 
if ac_fn_c_try_link "$LINENO"; then :
10805
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10806
 
  shlibpath_overrides_runpath=yes
10807
 
fi
10808
 
fi
10809
 
rm -f core conftest.err conftest.$ac_objext \
10810
 
    conftest$ac_exeext conftest.$ac_ext
10811
 
  LDFLAGS=$save_LDFLAGS
10812
 
  libdir=$save_libdir
10813
 
 
10814
 
  # This implies no fast_install, which is unacceptable.
10815
 
  # Some rework will be needed to allow for fast_install
10816
 
  # before this can be enabled.
10817
 
  hardcode_into_libs=yes
10818
 
 
10819
 
  # Append ld.so.conf contents to the search path
10820
 
  if test -f /etc/ld.so.conf; then
10821
 
    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' ' '`
10822
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10823
 
  fi
10824
 
 
10825
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
10826
 
  # powerpc, because MkLinux only supported shared libraries with the
10827
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
10828
 
  # most powerpc-linux boxes support dynamic linking these days and
10829
 
  # people can always --disable-shared, the test was removed, and we
10830
 
  # assume the GNU/Linux dynamic linker is in use.
10831
 
  dynamic_linker='GNU/Linux ld.so'
10832
 
  ;;
10833
 
 
10834
 
netbsdelf*-gnu)
10835
 
  version_type=linux
10836
 
  need_lib_prefix=no
10837
 
  need_version=no
10838
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10839
 
  soname_spec='${libname}${release}${shared_ext}$major'
10840
 
  shlibpath_var=LD_LIBRARY_PATH
10841
 
  shlibpath_overrides_runpath=no
10842
 
  hardcode_into_libs=yes
10843
 
  dynamic_linker='NetBSD ld.elf_so'
10844
 
  ;;
10845
 
 
10846
 
netbsd*)
10847
 
  version_type=sunos
10848
 
  need_lib_prefix=no
10849
 
  need_version=no
10850
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10851
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10852
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10853
 
    dynamic_linker='NetBSD (a.out) ld.so'
10854
 
  else
10855
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10856
 
    soname_spec='${libname}${release}${shared_ext}$major'
10857
 
    dynamic_linker='NetBSD ld.elf_so'
10858
 
  fi
10859
 
  shlibpath_var=LD_LIBRARY_PATH
10860
 
  shlibpath_overrides_runpath=yes
10861
 
  hardcode_into_libs=yes
10862
 
  ;;
10863
 
 
10864
 
newsos6)
10865
 
  version_type=linux
10866
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10867
 
  shlibpath_var=LD_LIBRARY_PATH
10868
 
  shlibpath_overrides_runpath=yes
10869
 
  ;;
10870
 
 
10871
 
*nto* | *qnx*)
10872
 
  version_type=qnx
10873
 
  need_lib_prefix=no
10874
 
  need_version=no
10875
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10876
 
  soname_spec='${libname}${release}${shared_ext}$major'
10877
 
  shlibpath_var=LD_LIBRARY_PATH
10878
 
  shlibpath_overrides_runpath=no
10879
 
  hardcode_into_libs=yes
10880
 
  dynamic_linker='ldqnx.so'
10881
 
  ;;
10882
 
 
10883
 
openbsd*)
10884
 
  version_type=sunos
10885
 
  sys_lib_dlsearch_path_spec="/usr/lib"
10886
 
  need_lib_prefix=no
10887
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10888
 
  case $host_os in
10889
 
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10890
 
    *)                          need_version=no  ;;
10891
 
  esac
10892
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10893
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10894
 
  shlibpath_var=LD_LIBRARY_PATH
10895
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10896
 
    case $host_os in
10897
 
      openbsd2.[89] | openbsd2.[89].*)
10898
 
        shlibpath_overrides_runpath=no
10899
 
        ;;
10900
 
      *)
10901
 
        shlibpath_overrides_runpath=yes
10902
 
        ;;
10903
 
      esac
10904
 
  else
10905
 
    shlibpath_overrides_runpath=yes
10906
 
  fi
10907
 
  ;;
10908
 
 
10909
 
os2*)
10910
 
  libname_spec='$name'
10911
 
  shrext_cmds=".dll"
10912
 
  need_lib_prefix=no
10913
 
  library_names_spec='$libname${shared_ext} $libname.a'
10914
 
  dynamic_linker='OS/2 ld.exe'
10915
 
  shlibpath_var=LIBPATH
10916
 
  ;;
10917
 
 
10918
 
osf3* | osf4* | osf5*)
10919
 
  version_type=osf
10920
 
  need_lib_prefix=no
10921
 
  need_version=no
10922
 
  soname_spec='${libname}${release}${shared_ext}$major'
10923
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10924
 
  shlibpath_var=LD_LIBRARY_PATH
10925
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10926
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10927
 
  ;;
10928
 
 
10929
 
rdos*)
10930
 
  dynamic_linker=no
10931
 
  ;;
10932
 
 
10933
 
solaris*)
10934
 
  version_type=linux
10935
 
  need_lib_prefix=no
10936
 
  need_version=no
10937
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10938
 
  soname_spec='${libname}${release}${shared_ext}$major'
10939
 
  shlibpath_var=LD_LIBRARY_PATH
10940
 
  shlibpath_overrides_runpath=yes
10941
 
  hardcode_into_libs=yes
10942
 
  # ldd complains unless libraries are executable
10943
 
  postinstall_cmds='chmod +x $lib'
10944
 
  ;;
10945
 
 
10946
 
sunos4*)
10947
 
  version_type=sunos
10948
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10949
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10950
 
  shlibpath_var=LD_LIBRARY_PATH
10951
 
  shlibpath_overrides_runpath=yes
10952
 
  if test "$with_gnu_ld" = yes; then
10953
 
    need_lib_prefix=no
10954
 
  fi
10955
 
  need_version=yes
10956
 
  ;;
10957
 
 
10958
 
sysv4 | sysv4.3*)
10959
 
  version_type=linux
10960
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10961
 
  soname_spec='${libname}${release}${shared_ext}$major'
10962
 
  shlibpath_var=LD_LIBRARY_PATH
10963
 
  case $host_vendor in
10964
 
    sni)
10965
 
      shlibpath_overrides_runpath=no
10966
 
      need_lib_prefix=no
10967
 
      runpath_var=LD_RUN_PATH
10968
 
      ;;
10969
 
    siemens)
10970
 
      need_lib_prefix=no
10971
 
      ;;
10972
 
    motorola)
10973
 
      need_lib_prefix=no
10974
 
      need_version=no
10975
 
      shlibpath_overrides_runpath=no
10976
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10977
 
      ;;
10978
 
  esac
10979
 
  ;;
10980
 
 
10981
 
sysv4*MP*)
10982
 
  if test -d /usr/nec ;then
10983
 
    version_type=linux
10984
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10985
 
    soname_spec='$libname${shared_ext}.$major'
10986
 
    shlibpath_var=LD_LIBRARY_PATH
10987
 
  fi
10988
 
  ;;
10989
 
 
10990
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10991
 
  version_type=freebsd-elf
10992
 
  need_lib_prefix=no
10993
 
  need_version=no
10994
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10995
 
  soname_spec='${libname}${release}${shared_ext}$major'
10996
 
  shlibpath_var=LD_LIBRARY_PATH
10997
 
  shlibpath_overrides_runpath=yes
10998
 
  hardcode_into_libs=yes
10999
 
  if test "$with_gnu_ld" = yes; then
11000
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11001
 
  else
11002
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11003
 
    case $host_os in
11004
 
      sco3.2v5*)
11005
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11006
 
        ;;
11007
 
    esac
11008
 
  fi
11009
 
  sys_lib_dlsearch_path_spec='/usr/lib'
11010
 
  ;;
11011
 
 
11012
 
tpf*)
11013
 
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11014
 
  version_type=linux
11015
 
  need_lib_prefix=no
11016
 
  need_version=no
11017
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11018
 
  shlibpath_var=LD_LIBRARY_PATH
11019
 
  shlibpath_overrides_runpath=no
11020
 
  hardcode_into_libs=yes
11021
 
  ;;
11022
 
 
11023
 
uts4*)
11024
 
  version_type=linux
11025
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11026
 
  soname_spec='${libname}${release}${shared_ext}$major'
11027
 
  shlibpath_var=LD_LIBRARY_PATH
11028
 
  ;;
11029
 
 
11030
 
*)
11031
 
  dynamic_linker=no
11032
 
  ;;
11033
 
esac
11034
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11035
 
$as_echo "$dynamic_linker" >&6; }
11036
 
test "$dynamic_linker" = no && can_build_shared=no
11037
 
 
11038
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11039
 
if test "$GCC" = yes; then
11040
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11041
 
fi
11042
 
 
11043
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11044
 
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11045
 
fi
11046
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11047
 
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11048
 
fi
11049
 
 
11050
 
 
11051
 
 
11052
 
 
11053
 
 
11054
 
 
11055
 
 
11056
 
 
11057
 
 
11058
 
 
11059
 
 
11060
 
 
11061
 
 
11062
 
 
11063
 
 
11064
 
 
11065
 
 
11066
 
 
11067
 
 
11068
 
 
11069
 
 
11070
 
 
11071
 
 
11072
 
 
11073
 
 
11074
 
 
11075
 
 
11076
 
 
11077
 
 
11078
 
 
11079
 
 
11080
 
 
11081
 
 
11082
 
 
11083
 
 
11084
 
 
11085
 
 
11086
 
 
11087
 
 
11088
 
 
11089
 
 
11090
 
 
11091
 
 
11092
 
 
11093
 
 
11094
 
 
11095
 
 
11096
 
 
11097
 
 
11098
 
 
11099
 
 
11100
 
 
11101
 
 
11102
 
 
11103
 
 
11104
 
 
11105
 
 
11106
 
 
11107
 
 
11108
 
 
11109
 
 
11110
 
 
11111
 
 
11112
 
 
11113
 
 
11114
 
 
11115
 
 
11116
 
 
11117
 
 
11118
 
 
11119
 
 
11120
 
 
11121
 
 
11122
 
 
11123
 
 
11124
 
 
11125
 
 
11126
 
 
11127
 
 
11128
 
 
11129
 
 
11130
 
 
11131
 
 
11132
 
 
11133
 
 
11134
 
 
11135
 
 
11136
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11137
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11138
 
hardcode_action=
11139
 
if test -n "$hardcode_libdir_flag_spec" ||
11140
 
   test -n "$runpath_var" ||
11141
 
   test "X$hardcode_automatic" = "Xyes" ; then
11142
 
 
11143
 
  # We can hardcode non-existent directories.
11144
 
  if test "$hardcode_direct" != no &&
11145
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11146
 
     # have to relink, otherwise we might link with an installed library
11147
 
     # when we should be linking with a yet-to-be-installed one
11148
 
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11149
 
     test "$hardcode_minus_L" != no; then
11150
 
    # Linking always hardcodes the temporary library directory.
11151
 
    hardcode_action=relink
11152
 
  else
11153
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11154
 
    hardcode_action=immediate
11155
 
  fi
11156
 
else
11157
 
  # We cannot hardcode anything, or else we can only hardcode existing
11158
 
  # directories.
11159
 
  hardcode_action=unsupported
11160
 
fi
11161
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11162
 
$as_echo "$hardcode_action" >&6; }
11163
 
 
11164
 
if test "$hardcode_action" = relink ||
11165
 
   test "$inherit_rpath" = yes; then
11166
 
  # Fast installation is not supported
11167
 
  enable_fast_install=no
11168
 
elif test "$shlibpath_overrides_runpath" = yes ||
11169
 
     test "$enable_shared" = no; then
11170
 
  # Fast installation is not necessary
11171
 
  enable_fast_install=needless
11172
 
fi
11173
 
 
11174
 
 
11175
 
 
11176
 
 
11177
 
 
11178
 
 
11179
 
  if test "x$enable_dlopen" != xyes; then
11180
 
  enable_dlopen=unknown
11181
 
  enable_dlopen_self=unknown
11182
 
  enable_dlopen_self_static=unknown
11183
 
else
11184
 
  lt_cv_dlopen=no
11185
 
  lt_cv_dlopen_libs=
11186
 
 
11187
 
  case $host_os in
11188
 
  beos*)
11189
 
    lt_cv_dlopen="load_add_on"
11190
 
    lt_cv_dlopen_libs=
11191
 
    lt_cv_dlopen_self=yes
11192
 
    ;;
11193
 
 
11194
 
  mingw* | pw32* | cegcc*)
11195
 
    lt_cv_dlopen="LoadLibrary"
11196
 
    lt_cv_dlopen_libs=
11197
 
    ;;
11198
 
 
11199
 
  cygwin*)
11200
 
    lt_cv_dlopen="dlopen"
11201
 
    lt_cv_dlopen_libs=
11202
 
    ;;
11203
 
 
11204
 
  darwin*)
11205
 
  # if libdl is installed we need to link against it
11206
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11207
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11208
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11209
 
  $as_echo_n "(cached) " >&6
11210
 
else
11211
 
  ac_check_lib_save_LIBS=$LIBS
11212
 
LIBS="-ldl  $LIBS"
11213
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11214
 
/* end confdefs.h.  */
11215
 
 
11216
 
/* Override any GCC internal prototype to avoid an error.
11217
 
   Use char because int might match the return type of a GCC
11218
 
   builtin and then its argument prototype would still apply.  */
11219
 
#ifdef __cplusplus
11220
 
extern "C"
11221
 
#endif
11222
 
char dlopen ();
11223
 
int
11224
 
main ()
11225
 
{
11226
 
return dlopen ();
11227
 
  ;
11228
 
  return 0;
11229
 
}
11230
 
_ACEOF
11231
 
if ac_fn_c_try_link "$LINENO"; then :
11232
 
  ac_cv_lib_dl_dlopen=yes
11233
 
else
11234
 
  ac_cv_lib_dl_dlopen=no
11235
 
fi
11236
 
rm -f core conftest.err conftest.$ac_objext \
11237
 
    conftest$ac_exeext conftest.$ac_ext
11238
 
LIBS=$ac_check_lib_save_LIBS
11239
 
fi
11240
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11241
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11242
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11243
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11244
 
else
11245
 
 
11246
 
    lt_cv_dlopen="dyld"
11247
 
    lt_cv_dlopen_libs=
11248
 
    lt_cv_dlopen_self=yes
11249
 
 
11250
 
fi
11251
 
 
11252
 
    ;;
11253
 
 
11254
 
  *)
11255
 
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11256
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
11257
 
  lt_cv_dlopen="shl_load"
11258
 
else
11259
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11260
 
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11261
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11262
 
  $as_echo_n "(cached) " >&6
11263
 
else
11264
 
  ac_check_lib_save_LIBS=$LIBS
11265
 
LIBS="-ldld  $LIBS"
11266
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11267
 
/* end confdefs.h.  */
11268
 
 
11269
 
/* Override any GCC internal prototype to avoid an error.
11270
 
   Use char because int might match the return type of a GCC
11271
 
   builtin and then its argument prototype would still apply.  */
11272
 
#ifdef __cplusplus
11273
 
extern "C"
11274
 
#endif
11275
 
char shl_load ();
11276
 
int
11277
 
main ()
11278
 
{
11279
 
return shl_load ();
11280
 
  ;
11281
 
  return 0;
11282
 
}
11283
 
_ACEOF
11284
 
if ac_fn_c_try_link "$LINENO"; then :
11285
 
  ac_cv_lib_dld_shl_load=yes
11286
 
else
11287
 
  ac_cv_lib_dld_shl_load=no
11288
 
fi
11289
 
rm -f core conftest.err conftest.$ac_objext \
11290
 
    conftest$ac_exeext conftest.$ac_ext
11291
 
LIBS=$ac_check_lib_save_LIBS
11292
 
fi
11293
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11294
 
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11295
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11296
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11297
 
else
11298
 
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11299
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
11300
 
  lt_cv_dlopen="dlopen"
11301
 
else
11302
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11303
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11304
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11305
 
  $as_echo_n "(cached) " >&6
11306
 
else
11307
 
  ac_check_lib_save_LIBS=$LIBS
11308
 
LIBS="-ldl  $LIBS"
11309
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11310
 
/* end confdefs.h.  */
11311
 
 
11312
 
/* Override any GCC internal prototype to avoid an error.
11313
 
   Use char because int might match the return type of a GCC
11314
 
   builtin and then its argument prototype would still apply.  */
11315
 
#ifdef __cplusplus
11316
 
extern "C"
11317
 
#endif
11318
 
char dlopen ();
11319
 
int
11320
 
main ()
11321
 
{
11322
 
return dlopen ();
11323
 
  ;
11324
 
  return 0;
11325
 
}
11326
 
_ACEOF
11327
 
if ac_fn_c_try_link "$LINENO"; then :
11328
 
  ac_cv_lib_dl_dlopen=yes
11329
 
else
11330
 
  ac_cv_lib_dl_dlopen=no
11331
 
fi
11332
 
rm -f core conftest.err conftest.$ac_objext \
11333
 
    conftest$ac_exeext conftest.$ac_ext
11334
 
LIBS=$ac_check_lib_save_LIBS
11335
 
fi
11336
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11337
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11338
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11339
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11340
 
else
11341
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11342
 
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11343
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11344
 
  $as_echo_n "(cached) " >&6
11345
 
else
11346
 
  ac_check_lib_save_LIBS=$LIBS
11347
 
LIBS="-lsvld  $LIBS"
11348
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11349
 
/* end confdefs.h.  */
11350
 
 
11351
 
/* Override any GCC internal prototype to avoid an error.
11352
 
   Use char because int might match the return type of a GCC
11353
 
   builtin and then its argument prototype would still apply.  */
11354
 
#ifdef __cplusplus
11355
 
extern "C"
11356
 
#endif
11357
 
char dlopen ();
11358
 
int
11359
 
main ()
11360
 
{
11361
 
return dlopen ();
11362
 
  ;
11363
 
  return 0;
11364
 
}
11365
 
_ACEOF
11366
 
if ac_fn_c_try_link "$LINENO"; then :
11367
 
  ac_cv_lib_svld_dlopen=yes
11368
 
else
11369
 
  ac_cv_lib_svld_dlopen=no
11370
 
fi
11371
 
rm -f core conftest.err conftest.$ac_objext \
11372
 
    conftest$ac_exeext conftest.$ac_ext
11373
 
LIBS=$ac_check_lib_save_LIBS
11374
 
fi
11375
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11376
 
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11377
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11378
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11379
 
else
11380
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11381
 
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11382
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11383
 
  $as_echo_n "(cached) " >&6
11384
 
else
11385
 
  ac_check_lib_save_LIBS=$LIBS
11386
 
LIBS="-ldld  $LIBS"
11387
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11388
 
/* end confdefs.h.  */
11389
 
 
11390
 
/* Override any GCC internal prototype to avoid an error.
11391
 
   Use char because int might match the return type of a GCC
11392
 
   builtin and then its argument prototype would still apply.  */
11393
 
#ifdef __cplusplus
11394
 
extern "C"
11395
 
#endif
11396
 
char dld_link ();
11397
 
int
11398
 
main ()
11399
 
{
11400
 
return dld_link ();
11401
 
  ;
11402
 
  return 0;
11403
 
}
11404
 
_ACEOF
11405
 
if ac_fn_c_try_link "$LINENO"; then :
11406
 
  ac_cv_lib_dld_dld_link=yes
11407
 
else
11408
 
  ac_cv_lib_dld_dld_link=no
11409
 
fi
11410
 
rm -f core conftest.err conftest.$ac_objext \
11411
 
    conftest$ac_exeext conftest.$ac_ext
11412
 
LIBS=$ac_check_lib_save_LIBS
11413
 
fi
11414
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11415
 
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11416
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11417
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11418
 
fi
11419
 
 
11420
 
 
11421
 
fi
11422
 
 
11423
 
 
11424
 
fi
11425
 
 
11426
 
 
11427
 
fi
11428
 
 
11429
 
 
11430
 
fi
11431
 
 
11432
 
 
11433
 
fi
11434
 
 
11435
 
    ;;
11436
 
  esac
11437
 
 
11438
 
  if test "x$lt_cv_dlopen" != xno; then
11439
 
    enable_dlopen=yes
11440
 
  else
11441
 
    enable_dlopen=no
11442
 
  fi
11443
 
 
11444
 
  case $lt_cv_dlopen in
11445
 
  dlopen)
11446
 
    save_CPPFLAGS="$CPPFLAGS"
11447
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11448
 
 
11449
 
    save_LDFLAGS="$LDFLAGS"
11450
 
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11451
 
 
11452
 
    save_LIBS="$LIBS"
11453
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
11454
 
 
11455
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11456
 
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11457
 
if test "${lt_cv_dlopen_self+set}" = set; then :
11458
 
  $as_echo_n "(cached) " >&6
11459
 
else
11460
 
          if test "$cross_compiling" = yes; then :
11461
 
  lt_cv_dlopen_self=cross
11462
 
else
11463
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11464
 
  lt_status=$lt_dlunknown
11465
 
  cat > conftest.$ac_ext <<_LT_EOF
11466
 
#line 11466 "configure"
11467
 
#include "confdefs.h"
11468
 
 
11469
 
#if HAVE_DLFCN_H
11470
 
#include <dlfcn.h>
11471
 
#endif
11472
 
 
11473
 
#include <stdio.h>
11474
 
 
11475
 
#ifdef RTLD_GLOBAL
11476
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
11477
 
#else
11478
 
#  ifdef DL_GLOBAL
11479
 
#    define LT_DLGLOBAL         DL_GLOBAL
11480
 
#  else
11481
 
#    define LT_DLGLOBAL         0
11482
 
#  endif
11483
 
#endif
11484
 
 
11485
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11486
 
   find out it does not work in some platform. */
11487
 
#ifndef LT_DLLAZY_OR_NOW
11488
 
#  ifdef RTLD_LAZY
11489
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11490
 
#  else
11491
 
#    ifdef DL_LAZY
11492
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11493
 
#    else
11494
 
#      ifdef RTLD_NOW
11495
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11496
 
#      else
11497
 
#        ifdef DL_NOW
11498
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
11499
 
#        else
11500
 
#          define LT_DLLAZY_OR_NOW      0
11501
 
#        endif
11502
 
#      endif
11503
 
#    endif
11504
 
#  endif
11505
 
#endif
11506
 
 
11507
 
void fnord() { int i=42;}
11508
 
int main ()
11509
 
{
11510
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11511
 
  int status = $lt_dlunknown;
11512
 
 
11513
 
  if (self)
11514
 
    {
11515
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11516
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11517
 
      /* dlclose (self); */
11518
 
    }
11519
 
  else
11520
 
    puts (dlerror ());
11521
 
 
11522
 
  return status;
11523
 
}
11524
 
_LT_EOF
11525
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11526
 
  (eval $ac_link) 2>&5
11527
 
  ac_status=$?
11528
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11529
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11530
 
    (./conftest; exit; ) >&5 2>/dev/null
11531
 
    lt_status=$?
11532
 
    case x$lt_status in
11533
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11534
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11535
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11536
 
    esac
11537
 
  else :
11538
 
    # compilation failed
11539
 
    lt_cv_dlopen_self=no
11540
 
  fi
11541
 
fi
11542
 
rm -fr conftest*
11543
 
 
11544
 
 
11545
 
fi
11546
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11547
 
$as_echo "$lt_cv_dlopen_self" >&6; }
11548
 
 
11549
 
    if test "x$lt_cv_dlopen_self" = xyes; then
11550
 
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11551
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11552
 
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11553
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
11554
 
  $as_echo_n "(cached) " >&6
11555
 
else
11556
 
          if test "$cross_compiling" = yes; then :
11557
 
  lt_cv_dlopen_self_static=cross
11558
 
else
11559
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11560
 
  lt_status=$lt_dlunknown
11561
 
  cat > conftest.$ac_ext <<_LT_EOF
11562
 
#line 11562 "configure"
11563
 
#include "confdefs.h"
11564
 
 
11565
 
#if HAVE_DLFCN_H
11566
 
#include <dlfcn.h>
11567
 
#endif
11568
 
 
11569
 
#include <stdio.h>
11570
 
 
11571
 
#ifdef RTLD_GLOBAL
11572
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
11573
 
#else
11574
 
#  ifdef DL_GLOBAL
11575
 
#    define LT_DLGLOBAL         DL_GLOBAL
11576
 
#  else
11577
 
#    define LT_DLGLOBAL         0
11578
 
#  endif
11579
 
#endif
11580
 
 
11581
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11582
 
   find out it does not work in some platform. */
11583
 
#ifndef LT_DLLAZY_OR_NOW
11584
 
#  ifdef RTLD_LAZY
11585
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11586
 
#  else
11587
 
#    ifdef DL_LAZY
11588
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11589
 
#    else
11590
 
#      ifdef RTLD_NOW
11591
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11592
 
#      else
11593
 
#        ifdef DL_NOW
11594
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
11595
 
#        else
11596
 
#          define LT_DLLAZY_OR_NOW      0
11597
 
#        endif
11598
 
#      endif
11599
 
#    endif
11600
 
#  endif
11601
 
#endif
11602
 
 
11603
 
void fnord() { int i=42;}
11604
 
int main ()
11605
 
{
11606
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11607
 
  int status = $lt_dlunknown;
11608
 
 
11609
 
  if (self)
11610
 
    {
11611
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11612
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11613
 
      /* dlclose (self); */
11614
 
    }
11615
 
  else
11616
 
    puts (dlerror ());
11617
 
 
11618
 
  return status;
11619
 
}
11620
 
_LT_EOF
11621
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11622
 
  (eval $ac_link) 2>&5
11623
 
  ac_status=$?
11624
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11625
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11626
 
    (./conftest; exit; ) >&5 2>/dev/null
11627
 
    lt_status=$?
11628
 
    case x$lt_status in
11629
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11630
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11631
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11632
 
    esac
11633
 
  else :
11634
 
    # compilation failed
11635
 
    lt_cv_dlopen_self_static=no
11636
 
  fi
11637
 
fi
11638
 
rm -fr conftest*
11639
 
 
11640
 
 
11641
 
fi
11642
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11643
 
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11644
 
    fi
11645
 
 
11646
 
    CPPFLAGS="$save_CPPFLAGS"
11647
 
    LDFLAGS="$save_LDFLAGS"
11648
 
    LIBS="$save_LIBS"
11649
 
    ;;
11650
 
  esac
11651
 
 
11652
 
  case $lt_cv_dlopen_self in
11653
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11654
 
  *) enable_dlopen_self=unknown ;;
11655
 
  esac
11656
 
 
11657
 
  case $lt_cv_dlopen_self_static in
11658
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11659
 
  *) enable_dlopen_self_static=unknown ;;
11660
 
  esac
11661
 
fi
11662
 
 
11663
 
 
11664
 
 
11665
 
 
11666
 
 
11667
 
 
11668
 
 
11669
 
 
11670
 
 
11671
 
 
11672
 
 
11673
 
 
11674
 
 
11675
 
 
11676
 
 
11677
 
 
11678
 
 
11679
 
striplib=
11680
 
old_striplib=
11681
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11682
 
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11683
 
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11684
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11685
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11686
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11687
 
$as_echo "yes" >&6; }
11688
 
else
11689
 
# FIXME - insert some real tests, host_os isn't really good enough
11690
 
  case $host_os in
11691
 
  darwin*)
11692
 
    if test -n "$STRIP" ; then
11693
 
      striplib="$STRIP -x"
11694
 
      old_striplib="$STRIP -S"
11695
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11696
 
$as_echo "yes" >&6; }
11697
 
    else
11698
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11699
 
$as_echo "no" >&6; }
11700
 
    fi
11701
 
    ;;
11702
 
  *)
11703
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11704
 
$as_echo "no" >&6; }
11705
 
    ;;
11706
 
  esac
11707
 
fi
11708
 
 
11709
 
 
11710
 
 
11711
 
 
11712
 
 
11713
 
 
11714
 
 
11715
 
 
11716
 
 
11717
 
 
11718
 
 
11719
 
 
11720
 
  # Report which library types will actually be built
11721
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11722
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11723
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11724
 
$as_echo "$can_build_shared" >&6; }
11725
 
 
11726
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11727
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
11728
 
  test "$can_build_shared" = "no" && enable_shared=no
11729
 
 
11730
 
  # On AIX, shared libraries and static libraries use the same namespace, and
11731
 
  # are all built from PIC.
11732
 
  case $host_os in
11733
 
  aix3*)
11734
 
    test "$enable_shared" = yes && enable_static=no
11735
 
    if test -n "$RANLIB"; then
11736
 
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11737
 
      postinstall_cmds='$RANLIB $lib'
11738
 
    fi
11739
 
    ;;
11740
 
 
11741
 
  aix[4-9]*)
11742
 
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11743
 
      test "$enable_shared" = yes && enable_static=no
11744
 
    fi
11745
 
    ;;
11746
 
  esac
11747
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11748
 
$as_echo "$enable_shared" >&6; }
11749
 
 
11750
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11751
 
$as_echo_n "checking whether to build static libraries... " >&6; }
11752
 
  # Make sure either enable_shared or enable_static is yes.
11753
 
  test "$enable_shared" = yes || enable_static=yes
11754
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11755
 
$as_echo "$enable_static" >&6; }
11756
 
 
11757
 
 
11758
 
 
11759
 
 
11760
 
fi
11761
 
ac_ext=c
11762
 
ac_cpp='$CPP $CPPFLAGS'
11763
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11764
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11765
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11766
 
 
11767
 
CC="$lt_save_CC"
11768
 
 
11769
 
 
11770
 
 
11771
 
 
11772
 
 
11773
 
 
11774
 
 
11775
 
 
11776
 
 
11777
 
 
11778
 
 
11779
 
 
11780
 
 
11781
 
        ac_config_commands="$ac_config_commands libtool"
11782
 
 
11783
 
 
11784
 
 
11785
 
 
11786
 
# Only expand once:
11787
 
 
11788
 
 
11789
 
 
11790
 
for ac_header in sys/time.h unistd.h getopt.h
11791
 
do :
11792
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11793
 
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11794
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11795
 
  cat >>confdefs.h <<_ACEOF
11796
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11797
 
_ACEOF
11798
 
 
11799
 
fi
11800
 
 
11801
 
done
11802
 
 
11803
 
 
11804
 
if test "${ac_cv_c_compiler_gnu}" = "yes"; then
11805
 
  CFLAGS="${CFLAGS} -Wall"
11806
 
fi
11807
 
 
11808
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
11809
 
$as_echo_n "checking for sin in -lm... " >&6; }
11810
 
if test "${ac_cv_lib_m_sin+set}" = set; then :
11811
 
  $as_echo_n "(cached) " >&6
11812
 
else
11813
 
  ac_check_lib_save_LIBS=$LIBS
11814
 
LIBS="-lm  $LIBS"
11815
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11816
 
/* end confdefs.h.  */
11817
 
 
11818
 
/* Override any GCC internal prototype to avoid an error.
11819
 
   Use char because int might match the return type of a GCC
11820
 
   builtin and then its argument prototype would still apply.  */
11821
 
#ifdef __cplusplus
11822
 
extern "C"
11823
 
#endif
11824
 
char sin ();
11825
 
int
11826
 
main ()
11827
 
{
11828
 
return sin ();
11829
 
  ;
11830
 
  return 0;
11831
 
}
11832
 
_ACEOF
11833
 
if ac_fn_c_try_link "$LINENO"; then :
11834
 
  ac_cv_lib_m_sin=yes
11835
 
else
11836
 
  ac_cv_lib_m_sin=no
11837
 
fi
11838
 
rm -f core conftest.err conftest.$ac_objext \
11839
 
    conftest$ac_exeext conftest.$ac_ext
11840
 
LIBS=$ac_check_lib_save_LIBS
11841
 
fi
11842
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
11843
 
$as_echo "$ac_cv_lib_m_sin" >&6; }
11844
 
if test "x$ac_cv_lib_m_sin" = x""yes; then :
11845
 
  cat >>confdefs.h <<_ACEOF
11846
 
#define HAVE_LIBM 1
11847
 
_ACEOF
11848
 
 
11849
 
  LIBS="-lm $LIBS"
11850
 
 
11851
 
else
11852
 
  as_fn_error $? "Can't find libm. Check your libc installation" "$LINENO" 5
11853
 
fi
11854
 
 
11855
 
 
11856
 
pkg_modules="gtk+-2.0 >= 2.18.0 glib-2.0 >= 2.22.0 gthread-2.0 >= 2.22.0 goocanvas >= 0.15 libcurl >= 7.19.0"
11857
 
 
11858
 
 
11859
 
 
11860
 
 
11861
 
 
11862
 
 
11863
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11864
 
        if test -n "$ac_tool_prefix"; then
11865
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11866
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11867
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11868
 
$as_echo_n "checking for $ac_word... " >&6; }
11869
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
11870
 
  $as_echo_n "(cached) " >&6
11871
 
else
11872
 
  case $PKG_CONFIG in
11873
 
  [\\/]* | ?:[\\/]*)
11874
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11875
 
  ;;
11876
 
  *)
11877
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11878
 
for as_dir in $PATH
11879
 
do
11880
 
  IFS=$as_save_IFS
11881
 
  test -z "$as_dir" && as_dir=.
11882
 
    for ac_exec_ext in '' $ac_executable_extensions; do
11883
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11884
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11885
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11886
 
    break 2
11887
 
  fi
11888
 
done
11889
 
  done
11890
 
IFS=$as_save_IFS
11891
 
 
11892
 
  ;;
11893
 
esac
11894
 
fi
11895
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11896
 
if test -n "$PKG_CONFIG"; then
11897
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11898
 
$as_echo "$PKG_CONFIG" >&6; }
11899
 
else
11900
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11901
 
$as_echo "no" >&6; }
11902
 
fi
11903
 
 
11904
 
 
11905
 
fi
11906
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
11907
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
11908
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
11909
 
set dummy pkg-config; ac_word=$2
11910
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11911
 
$as_echo_n "checking for $ac_word... " >&6; }
11912
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
11913
 
  $as_echo_n "(cached) " >&6
11914
 
else
11915
 
  case $ac_pt_PKG_CONFIG in
11916
 
  [\\/]* | ?:[\\/]*)
11917
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11918
 
  ;;
11919
 
  *)
11920
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11921
 
for as_dir in $PATH
11922
 
do
11923
 
  IFS=$as_save_IFS
11924
 
  test -z "$as_dir" && as_dir=.
11925
 
    for ac_exec_ext in '' $ac_executable_extensions; do
11926
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11927
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11928
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11929
 
    break 2
11930
 
  fi
11931
 
done
11932
 
  done
11933
 
IFS=$as_save_IFS
11934
 
 
11935
 
  ;;
11936
 
esac
11937
 
fi
11938
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11939
 
if test -n "$ac_pt_PKG_CONFIG"; then
11940
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11941
 
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
11942
 
else
11943
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11944
 
$as_echo "no" >&6; }
11945
 
fi
11946
 
 
11947
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
11948
 
    PKG_CONFIG=""
11949
 
  else
11950
 
    case $cross_compiling:$ac_tool_warned in
11951
 
yes:)
11952
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11953
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11954
 
ac_tool_warned=yes ;;
11955
 
esac
11956
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
11957
 
  fi
11958
 
else
11959
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11960
 
fi
11961
 
 
11962
 
fi
11963
 
if test -n "$PKG_CONFIG"; then
11964
 
        _pkg_min_version=0.9.0
11965
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11966
 
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11967
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11968
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11969
 
$as_echo "yes" >&6; }
11970
 
        else
11971
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11972
 
$as_echo "no" >&6; }
11973
 
                PKG_CONFIG=""
11974
 
        fi
11975
 
fi
11976
 
 
11977
 
pkg_failed=no
11978
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PACKAGE" >&5
11979
 
$as_echo_n "checking for PACKAGE... " >&6; }
11980
 
 
11981
 
if test -n "$PACKAGE_CFLAGS"; then
11982
 
    pkg_cv_PACKAGE_CFLAGS="$PACKAGE_CFLAGS"
11983
 
 elif test -n "$PKG_CONFIG"; then
11984
 
    if test -n "$PKG_CONFIG" && \
11985
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\""; } >&5
11986
 
  ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
11987
 
  ac_status=$?
11988
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11989
 
  test $ac_status = 0; }; then
11990
 
  pkg_cv_PACKAGE_CFLAGS=`$PKG_CONFIG --cflags "$pkg_modules" 2>/dev/null`
11991
 
else
11992
 
  pkg_failed=yes
11993
 
fi
11994
 
 else
11995
 
    pkg_failed=untried
11996
 
fi
11997
 
if test -n "$PACKAGE_LIBS"; then
11998
 
    pkg_cv_PACKAGE_LIBS="$PACKAGE_LIBS"
11999
 
 elif test -n "$PKG_CONFIG"; then
12000
 
    if test -n "$PKG_CONFIG" && \
12001
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\""; } >&5
12002
 
  ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
12003
 
  ac_status=$?
12004
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12005
 
  test $ac_status = 0; }; then
12006
 
  pkg_cv_PACKAGE_LIBS=`$PKG_CONFIG --libs "$pkg_modules" 2>/dev/null`
12007
 
else
12008
 
  pkg_failed=yes
12009
 
fi
12010
 
 else
12011
 
    pkg_failed=untried
12012
 
fi
12013
 
 
12014
 
 
12015
 
 
12016
 
if test $pkg_failed = yes; then
12017
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12018
 
$as_echo "no" >&6; }
12019
 
 
12020
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12021
 
        _pkg_short_errors_supported=yes
12022
 
else
12023
 
        _pkg_short_errors_supported=no
12024
 
fi
12025
 
        if test $_pkg_short_errors_supported = yes; then
12026
 
                PACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$pkg_modules" 2>&1`
12027
 
        else
12028
 
                PACKAGE_PKG_ERRORS=`$PKG_CONFIG --print-errors "$pkg_modules" 2>&1`
12029
 
        fi
12030
 
        # Put the nasty error message in config.log where it belongs
12031
 
        echo "$PACKAGE_PKG_ERRORS" >&5
12032
 
 
12033
 
        as_fn_error $? "Package requirements ($pkg_modules) were not met:
12034
 
 
12035
 
$PACKAGE_PKG_ERRORS
12036
 
 
12037
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12038
 
installed software in a non-standard prefix.
12039
 
 
12040
 
Alternatively, you may set the environment variables PACKAGE_CFLAGS
12041
 
and PACKAGE_LIBS to avoid the need to call pkg-config.
12042
 
See the pkg-config man page for more details." "$LINENO" 5
12043
 
elif test $pkg_failed = untried; then
12044
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12045
 
$as_echo "no" >&6; }
12046
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12047
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12048
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12049
 
is in your PATH or set the PKG_CONFIG environment variable to the full
12050
 
path to pkg-config.
12051
 
 
12052
 
Alternatively, you may set the environment variables PACKAGE_CFLAGS
12053
 
and PACKAGE_LIBS to avoid the need to call pkg-config.
12054
 
See the pkg-config man page for more details.
12055
 
 
12056
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12057
 
See \`config.log' for more details" "$LINENO" 5 ; }
12058
 
else
12059
 
        PACKAGE_CFLAGS=$pkg_cv_PACKAGE_CFLAGS
12060
 
        PACKAGE_LIBS=$pkg_cv_PACKAGE_LIBS
12061
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12062
 
$as_echo "yes" >&6; }
12063
 
 
12064
 
fi
12065
 
 
12066
 
 
12067
 
 
12068
 
 
12069
 
 
12070
 
 
12071
 
ALL_LINGUAS="cs da de en_GB en_US es fi fr it lt ru th"
12072
 
GETTEXT_PACKAGE=gpredict
12073
 
 
12074
 
 
12075
 
   for ac_header in locale.h
12076
 
do :
12077
 
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
12078
 
if test "x$ac_cv_header_locale_h" = x""yes; then :
12079
 
  cat >>confdefs.h <<_ACEOF
12080
 
#define HAVE_LOCALE_H 1
12081
 
_ACEOF
12082
 
 
12083
 
fi
12084
 
 
12085
 
done
12086
 
 
12087
 
    if test $ac_cv_header_locale_h = yes; then
12088
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
12089
 
$as_echo_n "checking for LC_MESSAGES... " >&6; }
12090
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
12091
 
  $as_echo_n "(cached) " >&6
12092
 
else
12093
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12094
 
/* end confdefs.h.  */
12095
 
#include <locale.h>
12096
 
int
12097
 
main ()
12098
 
{
12099
 
return LC_MESSAGES
12100
 
  ;
12101
 
  return 0;
12102
 
}
12103
 
_ACEOF
12104
 
if ac_fn_c_try_link "$LINENO"; then :
12105
 
  am_cv_val_LC_MESSAGES=yes
12106
 
else
12107
 
  am_cv_val_LC_MESSAGES=no
12108
 
fi
12109
 
rm -f core conftest.err conftest.$ac_objext \
12110
 
    conftest$ac_exeext conftest.$ac_ext
12111
 
fi
12112
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
12113
 
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
12114
 
    if test $am_cv_val_LC_MESSAGES = yes; then
12115
 
 
12116
 
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
12117
 
 
12118
 
    fi
12119
 
  fi
12120
 
     USE_NLS=yes
12121
 
 
12122
 
 
12123
 
    gt_cv_have_gettext=no
12124
 
 
12125
 
    CATOBJEXT=NONE
12126
 
    XGETTEXT=:
12127
 
    INTLLIBS=
12128
 
 
12129
 
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
12130
 
if test "x$ac_cv_header_libintl_h" = x""yes; then :
12131
 
  gt_cv_func_dgettext_libintl="no"
12132
 
      libintl_extra_libs=""
12133
 
 
12134
 
      #
12135
 
      # First check in libc
12136
 
      #
12137
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
12138
 
$as_echo_n "checking for ngettext in libc... " >&6; }
12139
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
12140
 
  $as_echo_n "(cached) " >&6
12141
 
else
12142
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12143
 
/* end confdefs.h.  */
12144
 
 
12145
 
#include <libintl.h>
12146
 
 
12147
 
int
12148
 
main ()
12149
 
{
12150
 
return !ngettext ("","", 1)
12151
 
  ;
12152
 
  return 0;
12153
 
}
12154
 
_ACEOF
12155
 
if ac_fn_c_try_link "$LINENO"; then :
12156
 
  gt_cv_func_ngettext_libc=yes
12157
 
else
12158
 
  gt_cv_func_ngettext_libc=no
12159
 
fi
12160
 
rm -f core conftest.err conftest.$ac_objext \
12161
 
    conftest$ac_exeext conftest.$ac_ext
12162
 
 
12163
 
fi
12164
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
12165
 
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
12166
 
 
12167
 
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12168
 
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
12169
 
$as_echo_n "checking for dgettext in libc... " >&6; }
12170
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
12171
 
  $as_echo_n "(cached) " >&6
12172
 
else
12173
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12174
 
/* end confdefs.h.  */
12175
 
 
12176
 
#include <libintl.h>
12177
 
 
12178
 
int
12179
 
main ()
12180
 
{
12181
 
return !dgettext ("","")
12182
 
  ;
12183
 
  return 0;
12184
 
}
12185
 
_ACEOF
12186
 
if ac_fn_c_try_link "$LINENO"; then :
12187
 
  gt_cv_func_dgettext_libc=yes
12188
 
else
12189
 
  gt_cv_func_dgettext_libc=no
12190
 
fi
12191
 
rm -f core conftest.err conftest.$ac_objext \
12192
 
    conftest$ac_exeext conftest.$ac_ext
12193
 
 
12194
 
fi
12195
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
12196
 
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
12197
 
      fi
12198
 
 
12199
 
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12200
 
        for ac_func in bind_textdomain_codeset
12201
 
do :
12202
 
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12203
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
12204
 
  cat >>confdefs.h <<_ACEOF
12205
 
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
12206
 
_ACEOF
12207
 
 
12208
 
fi
12209
 
done
12210
 
 
12211
 
      fi
12212
 
 
12213
 
      #
12214
 
      # If we don't have everything we want, check in libintl
12215
 
      #
12216
 
      if test "$gt_cv_func_dgettext_libc" != "yes" \
12217
 
         || test "$gt_cv_func_ngettext_libc" != "yes" \
12218
 
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
12219
 
 
12220
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
12221
 
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
12222
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
12223
 
  $as_echo_n "(cached) " >&6
12224
 
else
12225
 
  ac_check_lib_save_LIBS=$LIBS
12226
 
LIBS="-lintl  $LIBS"
12227
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12228
 
/* end confdefs.h.  */
12229
 
 
12230
 
/* Override any GCC internal prototype to avoid an error.
12231
 
   Use char because int might match the return type of a GCC
12232
 
   builtin and then its argument prototype would still apply.  */
12233
 
#ifdef __cplusplus
12234
 
extern "C"
12235
 
#endif
12236
 
char bindtextdomain ();
12237
 
int
12238
 
main ()
12239
 
{
12240
 
return bindtextdomain ();
12241
 
  ;
12242
 
  return 0;
12243
 
}
12244
 
_ACEOF
12245
 
if ac_fn_c_try_link "$LINENO"; then :
12246
 
  ac_cv_lib_intl_bindtextdomain=yes
12247
 
else
12248
 
  ac_cv_lib_intl_bindtextdomain=no
12249
 
fi
12250
 
rm -f core conftest.err conftest.$ac_objext \
12251
 
    conftest$ac_exeext conftest.$ac_ext
12252
 
LIBS=$ac_check_lib_save_LIBS
12253
 
fi
12254
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
12255
 
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
12256
 
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
12257
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12258
 
$as_echo_n "checking for ngettext in -lintl... " >&6; }
12259
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
12260
 
  $as_echo_n "(cached) " >&6
12261
 
else
12262
 
  ac_check_lib_save_LIBS=$LIBS
12263
 
LIBS="-lintl  $LIBS"
12264
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12265
 
/* end confdefs.h.  */
12266
 
 
12267
 
/* Override any GCC internal prototype to avoid an error.
12268
 
   Use char because int might match the return type of a GCC
12269
 
   builtin and then its argument prototype would still apply.  */
12270
 
#ifdef __cplusplus
12271
 
extern "C"
12272
 
#endif
12273
 
char ngettext ();
12274
 
int
12275
 
main ()
12276
 
{
12277
 
return ngettext ();
12278
 
  ;
12279
 
  return 0;
12280
 
}
12281
 
_ACEOF
12282
 
if ac_fn_c_try_link "$LINENO"; then :
12283
 
  ac_cv_lib_intl_ngettext=yes
12284
 
else
12285
 
  ac_cv_lib_intl_ngettext=no
12286
 
fi
12287
 
rm -f core conftest.err conftest.$ac_objext \
12288
 
    conftest$ac_exeext conftest.$ac_ext
12289
 
LIBS=$ac_check_lib_save_LIBS
12290
 
fi
12291
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12292
 
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12293
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
12294
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
12295
 
$as_echo_n "checking for dgettext in -lintl... " >&6; }
12296
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
12297
 
  $as_echo_n "(cached) " >&6
12298
 
else
12299
 
  ac_check_lib_save_LIBS=$LIBS
12300
 
LIBS="-lintl  $LIBS"
12301
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12302
 
/* end confdefs.h.  */
12303
 
 
12304
 
/* Override any GCC internal prototype to avoid an error.
12305
 
   Use char because int might match the return type of a GCC
12306
 
   builtin and then its argument prototype would still apply.  */
12307
 
#ifdef __cplusplus
12308
 
extern "C"
12309
 
#endif
12310
 
char dgettext ();
12311
 
int
12312
 
main ()
12313
 
{
12314
 
return dgettext ();
12315
 
  ;
12316
 
  return 0;
12317
 
}
12318
 
_ACEOF
12319
 
if ac_fn_c_try_link "$LINENO"; then :
12320
 
  ac_cv_lib_intl_dgettext=yes
12321
 
else
12322
 
  ac_cv_lib_intl_dgettext=no
12323
 
fi
12324
 
rm -f core conftest.err conftest.$ac_objext \
12325
 
    conftest$ac_exeext conftest.$ac_ext
12326
 
LIBS=$ac_check_lib_save_LIBS
12327
 
fi
12328
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
12329
 
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
12330
 
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
12331
 
  gt_cv_func_dgettext_libintl=yes
12332
 
fi
12333
 
 
12334
 
fi
12335
 
 
12336
 
fi
12337
 
 
12338
 
 
12339
 
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
12340
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
12341
 
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
12342
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
12343
 
$as_echo "" >&6; }
12344
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12345
 
$as_echo_n "checking for ngettext in -lintl... " >&6; }
12346
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
12347
 
  $as_echo_n "(cached) " >&6
12348
 
else
12349
 
  ac_check_lib_save_LIBS=$LIBS
12350
 
LIBS="-lintl -liconv $LIBS"
12351
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12352
 
/* end confdefs.h.  */
12353
 
 
12354
 
/* Override any GCC internal prototype to avoid an error.
12355
 
   Use char because int might match the return type of a GCC
12356
 
   builtin and then its argument prototype would still apply.  */
12357
 
#ifdef __cplusplus
12358
 
extern "C"
12359
 
#endif
12360
 
char ngettext ();
12361
 
int
12362
 
main ()
12363
 
{
12364
 
return ngettext ();
12365
 
  ;
12366
 
  return 0;
12367
 
}
12368
 
_ACEOF
12369
 
if ac_fn_c_try_link "$LINENO"; then :
12370
 
  ac_cv_lib_intl_ngettext=yes
12371
 
else
12372
 
  ac_cv_lib_intl_ngettext=no
12373
 
fi
12374
 
rm -f core conftest.err conftest.$ac_objext \
12375
 
    conftest$ac_exeext conftest.$ac_ext
12376
 
LIBS=$ac_check_lib_save_LIBS
12377
 
fi
12378
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12379
 
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12380
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
12381
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
12382
 
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
12383
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
12384
 
  $as_echo_n "(cached) " >&6
12385
 
else
12386
 
  ac_check_lib_save_LIBS=$LIBS
12387
 
LIBS="-lintl -liconv $LIBS"
12388
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12389
 
/* end confdefs.h.  */
12390
 
 
12391
 
/* Override any GCC internal prototype to avoid an error.
12392
 
   Use char because int might match the return type of a GCC
12393
 
   builtin and then its argument prototype would still apply.  */
12394
 
#ifdef __cplusplus
12395
 
extern "C"
12396
 
#endif
12397
 
char dcgettext ();
12398
 
int
12399
 
main ()
12400
 
{
12401
 
return dcgettext ();
12402
 
  ;
12403
 
  return 0;
12404
 
}
12405
 
_ACEOF
12406
 
if ac_fn_c_try_link "$LINENO"; then :
12407
 
  ac_cv_lib_intl_dcgettext=yes
12408
 
else
12409
 
  ac_cv_lib_intl_dcgettext=no
12410
 
fi
12411
 
rm -f core conftest.err conftest.$ac_objext \
12412
 
    conftest$ac_exeext conftest.$ac_ext
12413
 
LIBS=$ac_check_lib_save_LIBS
12414
 
fi
12415
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
12416
 
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
12417
 
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
12418
 
  gt_cv_func_dgettext_libintl=yes
12419
 
                        libintl_extra_libs=-liconv
12420
 
else
12421
 
  :
12422
 
fi
12423
 
 
12424
 
else
12425
 
  :
12426
 
fi
12427
 
 
12428
 
        fi
12429
 
 
12430
 
        #
12431
 
        # If we found libintl, then check in it for bind_textdomain_codeset();
12432
 
        # we'll prefer libc if neither have bind_textdomain_codeset(),
12433
 
        # and both have dgettext and ngettext
12434
 
        #
12435
 
        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
12436
 
          glib_save_LIBS="$LIBS"
12437
 
          LIBS="$LIBS -lintl $libintl_extra_libs"
12438
 
          unset ac_cv_func_bind_textdomain_codeset
12439
 
          for ac_func in bind_textdomain_codeset
12440
 
do :
12441
 
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12442
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
12443
 
  cat >>confdefs.h <<_ACEOF
12444
 
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
12445
 
_ACEOF
12446
 
 
12447
 
fi
12448
 
done
12449
 
 
12450
 
          LIBS="$glib_save_LIBS"
12451
 
 
12452
 
          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
12453
 
            gt_cv_func_dgettext_libc=no
12454
 
          else
12455
 
            if test "$gt_cv_func_dgettext_libc" = "yes" \
12456
 
                && test "$gt_cv_func_ngettext_libc" = "yes"; then
12457
 
              gt_cv_func_dgettext_libintl=no
12458
 
            fi
12459
 
          fi
12460
 
        fi
12461
 
      fi
12462
 
 
12463
 
      if test "$gt_cv_func_dgettext_libc" = "yes" \
12464
 
        || test "$gt_cv_func_dgettext_libintl" = "yes"; then
12465
 
        gt_cv_have_gettext=yes
12466
 
      fi
12467
 
 
12468
 
      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
12469
 
        INTLLIBS="-lintl $libintl_extra_libs"
12470
 
      fi
12471
 
 
12472
 
      if test "$gt_cv_have_gettext" = "yes"; then
12473
 
 
12474
 
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
12475
 
 
12476
 
        # Extract the first word of "msgfmt", so it can be a program name with args.
12477
 
set dummy msgfmt; ac_word=$2
12478
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12479
 
$as_echo_n "checking for $ac_word... " >&6; }
12480
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
12481
 
  $as_echo_n "(cached) " >&6
12482
 
else
12483
 
  case "$MSGFMT" in
12484
 
  /*)
12485
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12486
 
  ;;
12487
 
  *)
12488
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
12489
 
  for ac_dir in $PATH; do
12490
 
    test -z "$ac_dir" && ac_dir=.
12491
 
    if test -f $ac_dir/$ac_word; then
12492
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
12493
 
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
12494
 
        break
12495
 
      fi
12496
 
    fi
12497
 
  done
12498
 
  IFS="$ac_save_ifs"
12499
 
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
12500
 
  ;;
12501
 
esac
12502
 
fi
12503
 
MSGFMT="$ac_cv_path_MSGFMT"
12504
 
if test "$MSGFMT" != "no"; then
12505
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12506
 
$as_echo "$MSGFMT" >&6; }
12507
 
else
12508
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12509
 
$as_echo "no" >&6; }
12510
 
fi
12511
 
        if test "$MSGFMT" != "no"; then
12512
 
          glib_save_LIBS="$LIBS"
12513
 
          LIBS="$LIBS $INTLLIBS"
12514
 
          for ac_func in dcgettext
12515
 
do :
12516
 
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
12517
 
if test "x$ac_cv_func_dcgettext" = x""yes; then :
12518
 
  cat >>confdefs.h <<_ACEOF
12519
 
#define HAVE_DCGETTEXT 1
12520
 
_ACEOF
12521
 
 
12522
 
fi
12523
 
done
12524
 
 
12525
 
          MSGFMT_OPTS=
12526
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
12527
 
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
12528
 
          cat >conftest.foo <<_ACEOF
12529
 
 
12530
 
msgid ""
12531
 
msgstr ""
12532
 
"Content-Type: text/plain; charset=UTF-8\n"
12533
 
"Project-Id-Version: test 1.0\n"
12534
 
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
12535
 
"Last-Translator: test <foo@bar.xx>\n"
12536
 
"Language-Team: C <LL@li.org>\n"
12537
 
"MIME-Version: 1.0\n"
12538
 
"Content-Transfer-Encoding: 8bit\n"
12539
 
 
12540
 
_ACEOF
12541
 
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
12542
 
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
12543
 
  ac_status=$?
12544
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12545
 
  test $ac_status = 0; }; then
12546
 
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12547
 
$as_echo "yes" >&6; }
12548
 
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12549
 
$as_echo "no" >&6; }
12550
 
echo "$as_me: failed input was:" >&5
12551
 
sed 's/^/| /' conftest.foo >&5
12552
 
fi
12553
 
 
12554
 
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
12555
 
set dummy gmsgfmt; ac_word=$2
12556
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12557
 
$as_echo_n "checking for $ac_word... " >&6; }
12558
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
12559
 
  $as_echo_n "(cached) " >&6
12560
 
else
12561
 
  case $GMSGFMT in
12562
 
  [\\/]* | ?:[\\/]*)
12563
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12564
 
  ;;
12565
 
  *)
12566
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12567
 
for as_dir in $PATH
12568
 
do
12569
 
  IFS=$as_save_IFS
12570
 
  test -z "$as_dir" && as_dir=.
12571
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12572
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12573
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12574
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12575
 
    break 2
12576
 
  fi
12577
 
done
12578
 
  done
12579
 
IFS=$as_save_IFS
12580
 
 
12581
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12582
 
  ;;
12583
 
esac
12584
 
fi
12585
 
GMSGFMT=$ac_cv_path_GMSGFMT
12586
 
if test -n "$GMSGFMT"; then
12587
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12588
 
$as_echo "$GMSGFMT" >&6; }
12589
 
else
12590
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12591
 
$as_echo "no" >&6; }
12592
 
fi
12593
 
 
12594
 
 
12595
 
          # Extract the first word of "xgettext", so it can be a program name with args.
12596
 
set dummy xgettext; ac_word=$2
12597
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12598
 
$as_echo_n "checking for $ac_word... " >&6; }
12599
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
12600
 
  $as_echo_n "(cached) " >&6
12601
 
else
12602
 
  case "$XGETTEXT" in
12603
 
  /*)
12604
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12605
 
  ;;
12606
 
  *)
12607
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
12608
 
  for ac_dir in $PATH; do
12609
 
    test -z "$ac_dir" && ac_dir=.
12610
 
    if test -f $ac_dir/$ac_word; then
12611
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
12612
 
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
12613
 
        break
12614
 
      fi
12615
 
    fi
12616
 
  done
12617
 
  IFS="$ac_save_ifs"
12618
 
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
12619
 
  ;;
12620
 
esac
12621
 
fi
12622
 
XGETTEXT="$ac_cv_path_XGETTEXT"
12623
 
if test "$XGETTEXT" != ":"; then
12624
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12625
 
$as_echo "$XGETTEXT" >&6; }
12626
 
else
12627
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12628
 
$as_echo "no" >&6; }
12629
 
fi
12630
 
 
12631
 
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12632
 
/* end confdefs.h.  */
12633
 
 
12634
 
int
12635
 
main ()
12636
 
{
12637
 
extern int _nl_msg_cat_cntr;
12638
 
                         return _nl_msg_cat_cntr
12639
 
  ;
12640
 
  return 0;
12641
 
}
12642
 
_ACEOF
12643
 
if ac_fn_c_try_link "$LINENO"; then :
12644
 
  CATOBJEXT=.gmo
12645
 
             DATADIRNAME=share
12646
 
else
12647
 
  case $host in
12648
 
            *-*-solaris*)
12649
 
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12650
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
12651
 
  CATOBJEXT=.gmo
12652
 
               DATADIRNAME=share
12653
 
else
12654
 
  CATOBJEXT=.mo
12655
 
               DATADIRNAME=lib
12656
 
fi
12657
 
 
12658
 
            ;;
12659
 
            *)
12660
 
            CATOBJEXT=.mo
12661
 
            DATADIRNAME=lib
12662
 
            ;;
12663
 
            esac
12664
 
fi
12665
 
rm -f core conftest.err conftest.$ac_objext \
12666
 
    conftest$ac_exeext conftest.$ac_ext
12667
 
          LIBS="$glib_save_LIBS"
12668
 
          INSTOBJEXT=.mo
12669
 
        else
12670
 
          gt_cv_have_gettext=no
12671
 
        fi
12672
 
      fi
12673
 
 
12674
 
fi
12675
 
 
12676
 
 
12677
 
 
12678
 
    if test "$gt_cv_have_gettext" = "yes" ; then
12679
 
 
12680
 
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
12681
 
 
12682
 
    fi
12683
 
 
12684
 
        if test "$XGETTEXT" != ":"; then
12685
 
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
12686
 
        : ;
12687
 
      else
12688
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
12689
 
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
12690
 
        XGETTEXT=":"
12691
 
      fi
12692
 
    fi
12693
 
 
12694
 
    # We need to process the po/ directory.
12695
 
    POSUB=po
12696
 
 
12697
 
    ac_config_commands="$ac_config_commands default-1"
12698
 
 
12699
 
 
12700
 
                for lang in $ALL_LINGUAS; do
12701
 
      GMOFILES="$GMOFILES $lang.gmo"
12702
 
      POFILES="$POFILES $lang.po"
12703
 
    done
12704
 
 
12705
 
 
12706
 
 
12707
 
 
12708
 
 
12709
 
 
12710
 
 
12711
 
 
12712
 
 
12713
 
 
12714
 
 
12715
 
 
12716
 
 
12717
 
   if test "$gt_cv_have_gettext" = "yes"; then
12718
 
     if test "x$ALL_LINGUAS" = "x"; then
12719
 
       LINGUAS=
12720
 
     else
12721
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
12722
 
$as_echo_n "checking for catalogs to be installed... " >&6; }
12723
 
       NEW_LINGUAS=
12724
 
       for presentlang in $ALL_LINGUAS; do
12725
 
         useit=no
12726
 
         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
12727
 
           desiredlanguages="$LINGUAS"
12728
 
         else
12729
 
           desiredlanguages="$ALL_LINGUAS"
12730
 
         fi
12731
 
         for desiredlang in $desiredlanguages; do
12732
 
           # Use the presentlang catalog if desiredlang is
12733
 
           #   a. equal to presentlang, or
12734
 
           #   b. a variant of presentlang (because in this case,
12735
 
           #      presentlang can be used as a fallback for messages
12736
 
           #      which are not translated in the desiredlang catalog).
12737
 
           case "$desiredlang" in
12738
 
             "$presentlang"*) useit=yes;;
12739
 
           esac
12740
 
         done
12741
 
         if test $useit = yes; then
12742
 
           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
12743
 
         fi
12744
 
       done
12745
 
       LINGUAS=$NEW_LINGUAS
12746
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
12747
 
$as_echo "$LINGUAS" >&6; }
12748
 
     fi
12749
 
 
12750
 
          if test -n "$LINGUAS"; then
12751
 
       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
12752
 
     fi
12753
 
   fi
12754
 
 
12755
 
            MKINSTALLDIRS=
12756
 
   if test -n "$ac_aux_dir"; then
12757
 
     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
12758
 
   fi
12759
 
   if test -z "$MKINSTALLDIRS"; then
12760
 
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
12761
 
   fi
12762
 
 
12763
 
 
12764
 
         test -d po || mkdir po
12765
 
   if test "x$srcdir" != "x."; then
12766
 
     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
12767
 
       posrcprefix="$srcdir/"
12768
 
     else
12769
 
       posrcprefix="../$srcdir/"
12770
 
     fi
12771
 
   else
12772
 
     posrcprefix="../"
12773
 
   fi
12774
 
   rm -f po/POTFILES
12775
 
   sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
12776
 
        < $srcdir/po/POTFILES.in > po/POTFILES
12777
 
 
12778
 
 
12779
 
cat >>confdefs.h <<_ACEOF
12780
 
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
12781
 
_ACEOF
12782
 
 
12783
 
 
12784
 
 
12785
 
# Check whether --enable-coverage was given.
12786
 
if test "${enable_coverage+set}" = set; then :
12787
 
  enableval=$enable_coverage; enable_coerage=yes
12788
 
else
12789
 
  enable_coverage=no
12790
 
fi
12791
 
 
12792
 
if test "$enable_coverage" = yes ; then
12793
 
        CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage";
12794
 
 
12795
 
$as_echo "#define ENABLE_COV 1" >>confdefs.h
12796
 
 
12797
 
fi
12798
 
 
12799
 
# Check whether --enable-caches was given.
12800
 
if test "${enable_caches+set}" = set; then :
12801
 
  enableval=$enable_caches;
12802
 
else
12803
 
  enable_caches="no"
12804
 
fi
12805
 
 
12806
 
 if test x"$enable_caches" = "xyes"; then
12807
 
  UPDATE_CACHES_TRUE=
12808
 
  UPDATE_CACHES_FALSE='#'
12809
 
else
12810
 
  UPDATE_CACHES_TRUE='#'
12811
 
  UPDATE_CACHES_FALSE=
12812
 
fi
12813
 
 
12814
 
 
12815
 
 
12816
 
 
12817
 
 
12818
 
GLIB_V=`pkg-config --modversion glib-2.0`
12819
 
GIO_V=`pkg-config --modversion gio-2.0`
12820
 
GTHR_V=`pkg-config --modversion gthread-2.0`
12821
 
GDK_V=`pkg-config --modversion gdk-2.0`
12822
 
GTK_V=`pkg-config --modversion gtk+-2.0`
12823
 
GOOC_V=`pkg-config --modversion goocanvas`
12824
 
CURL_V=`pkg-config --modversion libcurl`
12825
 
 
12826
 
 
12827
 
 
12828
 
 
12829
 
 
12830
 
 
12831
 
ac_config_files="$ac_config_files Makefile doc/Makefile doc/man/gpredict.1 doc/man/Makefile src/Makefile src/sgpsdp/Makefile src/sgpsdp/TR/Makefile pixmaps/Makefile pixmaps/maps/Makefile pixmaps/icons/Makefile data/Makefile data/desktop/Makefile data/satdata/Makefile data/trsp/Makefile po/Makefile.in"
12832
 
 
12833
 
cat >confcache <<\_ACEOF
12834
 
# This file is a shell script that caches the results of configure
12835
 
# tests run on this system so they can be shared between configure
12836
 
# scripts and configure runs, see configure's option --config-cache.
12837
 
# It is not useful on other systems.  If it contains results you don't
12838
 
# want to keep, you may remove or edit it.
12839
 
#
12840
 
# config.status only pays attention to the cache file if you give it
12841
 
# the --recheck option to rerun configure.
12842
 
#
12843
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
12844
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
12845
 
# following values.
12846
 
 
12847
 
_ACEOF
12848
 
 
12849
 
# The following way of writing the cache mishandles newlines in values,
12850
 
# but we know of no workaround that is simple, portable, and efficient.
12851
 
# So, we kill variables containing newlines.
12852
 
# Ultrix sh set writes to stderr and can't be redirected directly,
12853
 
# and sets the high bit in the cache file unless we assign to the vars.
12854
 
(
12855
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12856
 
    eval ac_val=\$$ac_var
12857
 
    case $ac_val in #(
12858
 
    *${as_nl}*)
12859
 
      case $ac_var in #(
12860
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12861
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12862
 
      esac
12863
 
      case $ac_var in #(
12864
 
      _ | IFS | as_nl) ;; #(
12865
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12866
 
      *) { eval $ac_var=; unset $ac_var;} ;;
12867
 
      esac ;;
12868
 
    esac
12869
 
  done
12870
 
 
12871
 
  (set) 2>&1 |
12872
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
12873
 
    *${as_nl}ac_space=\ *)
12874
 
      # `set' does not quote correctly, so add quotes: double-quote
12875
 
      # substitution turns \\\\ into \\, and sed turns \\ into \.
12876
 
      sed -n \
12877
 
        "s/'/'\\\\''/g;
12878
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12879
 
      ;; #(
12880
 
    *)
12881
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
12882
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12883
 
      ;;
12884
 
    esac |
12885
 
    sort
12886
 
) |
12887
 
  sed '
12888
 
     /^ac_cv_env_/b end
12889
 
     t clear
12890
 
     :clear
12891
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12892
 
     t end
12893
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12894
 
     :end' >>confcache
12895
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12896
 
  if test -w "$cache_file"; then
12897
 
    test "x$cache_file" != "x/dev/null" &&
12898
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12899
 
$as_echo "$as_me: updating cache $cache_file" >&6;}
12900
 
    cat confcache >$cache_file
12901
 
  else
12902
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12903
 
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12904
 
  fi
12905
 
fi
12906
 
rm -f confcache
12907
 
 
12908
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
12909
 
# Let make expand exec_prefix.
12910
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12911
 
 
12912
 
DEFS=-DHAVE_CONFIG_H
12913
 
 
12914
 
ac_libobjs=
12915
 
ac_ltlibobjs=
12916
 
U=
12917
 
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12918
 
  # 1. Remove the extension, and $U if already installed.
12919
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12920
 
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12921
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12922
 
  #    will be set to the directory where LIBOBJS objects are built.
12923
 
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12924
 
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12925
 
done
12926
 
LIBOBJS=$ac_libobjs
12927
 
 
12928
 
LTLIBOBJS=$ac_ltlibobjs
12929
 
 
12930
 
 
12931
 
 if test -n "$EXEEXT"; then
12932
 
  am__EXEEXT_TRUE=
12933
 
  am__EXEEXT_FALSE='#'
12934
 
else
12935
 
  am__EXEEXT_TRUE='#'
12936
 
  am__EXEEXT_FALSE=
12937
 
fi
12938
 
 
12939
 
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12940
 
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
12941
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12942
 
fi
12943
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12944
 
  as_fn_error $? "conditional \"AMDEP\" was never defined.
12945
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12946
 
fi
12947
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12948
 
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12949
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12950
 
fi
12951
 
 
12952
 
  ac_config_commands="$ac_config_commands po/stamp-it"
12953
 
 
12954
 
 
12955
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12956
 
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12957
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12958
 
fi
12959
 
if test -z "${UPDATE_CACHES_TRUE}" && test -z "${UPDATE_CACHES_FALSE}"; then
12960
 
  as_fn_error $? "conditional \"UPDATE_CACHES\" was never defined.
12961
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12962
 
fi
12963
 
 
12964
 
: ${CONFIG_STATUS=./config.status}
12965
 
ac_write_fail=0
12966
 
ac_clean_files_save=$ac_clean_files
12967
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12968
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12969
 
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12970
 
as_write_fail=0
12971
 
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12972
 
#! $SHELL
12973
 
# Generated by $as_me.
12974
 
# Run this file to recreate the current configuration.
12975
 
# Compiler output produced by configure, useful for debugging
12976
 
# configure, is in config.log if it exists.
12977
 
 
12978
 
debug=false
12979
 
ac_cs_recheck=false
12980
 
ac_cs_silent=false
12981
 
 
12982
 
SHELL=\${CONFIG_SHELL-$SHELL}
12983
 
export SHELL
12984
 
_ASEOF
12985
 
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12986
 
## -------------------- ##
12987
 
## M4sh Initialization. ##
12988
 
## -------------------- ##
12989
 
 
12990
 
# Be more Bourne compatible
12991
 
DUALCASE=1; export DUALCASE # for MKS sh
12992
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12993
 
  emulate sh
12994
 
  NULLCMD=:
12995
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12996
 
  # is contrary to our usage.  Disable this feature.
12997
 
  alias -g '${1+"$@"}'='"$@"'
12998
 
  setopt NO_GLOB_SUBST
12999
 
else
13000
 
  case `(set -o) 2>/dev/null` in #(
13001
 
  *posix*) :
13002
 
    set -o posix ;; #(
13003
 
  *) :
13004
 
     ;;
13005
 
esac
13006
 
fi
13007
 
 
13008
 
 
13009
 
as_nl='
13010
 
'
13011
 
export as_nl
13012
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
13013
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13014
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13015
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13016
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
13017
 
# but without wasting forks for bash or zsh.
13018
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
13019
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13020
 
  as_echo='print -r --'
13021
 
  as_echo_n='print -rn --'
13022
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13023
 
  as_echo='printf %s\n'
13024
 
  as_echo_n='printf %s'
13025
 
else
13026
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13027
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13028
 
    as_echo_n='/usr/ucb/echo -n'
13029
 
  else
13030
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13031
 
    as_echo_n_body='eval
13032
 
      arg=$1;
13033
 
      case $arg in #(
13034
 
      *"$as_nl"*)
13035
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
13036
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13037
 
      esac;
13038
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13039
 
    '
13040
 
    export as_echo_n_body
13041
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
13042
 
  fi
13043
 
  export as_echo_body
13044
 
  as_echo='sh -c $as_echo_body as_echo'
13045
 
fi
13046
 
 
13047
 
# The user is always right.
13048
 
if test "${PATH_SEPARATOR+set}" != set; then
13049
 
  PATH_SEPARATOR=:
13050
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13051
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13052
 
      PATH_SEPARATOR=';'
13053
 
  }
13054
 
fi
13055
 
 
13056
 
 
13057
 
# IFS
13058
 
# We need space, tab and new line, in precisely that order.  Quoting is
13059
 
# there to prevent editors from complaining about space-tab.
13060
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13061
 
# splitting by setting IFS to empty value.)
13062
 
IFS=" ""        $as_nl"
13063
 
 
13064
 
# Find who we are.  Look in the path if we contain no directory separator.
13065
 
case $0 in #((
13066
 
  *[\\/]* ) as_myself=$0 ;;
13067
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13068
 
for as_dir in $PATH
13069
 
do
13070
 
  IFS=$as_save_IFS
13071
 
  test -z "$as_dir" && as_dir=.
13072
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13073
 
  done
13074
 
IFS=$as_save_IFS
13075
 
 
13076
 
     ;;
13077
 
esac
13078
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
13079
 
# in which case we are not to be found in the path.
13080
 
if test "x$as_myself" = x; then
13081
 
  as_myself=$0
13082
 
fi
13083
 
if test ! -f "$as_myself"; then
13084
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13085
 
  exit 1
13086
 
fi
13087
 
 
13088
 
# Unset variables that we do not need and which cause bugs (e.g. in
13089
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13090
 
# suppresses any "Segmentation fault" message there.  '((' could
13091
 
# trigger a bug in pdksh 5.2.14.
13092
 
for as_var in BASH_ENV ENV MAIL MAILPATH
13093
 
do eval test x\${$as_var+set} = xset \
13094
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13095
 
done
13096
 
PS1='$ '
13097
 
PS2='> '
13098
 
PS4='+ '
13099
 
 
13100
 
# NLS nuisances.
13101
 
LC_ALL=C
13102
 
export LC_ALL
13103
 
LANGUAGE=C
13104
 
export LANGUAGE
13105
 
 
13106
 
# CDPATH.
13107
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13108
 
 
13109
 
 
13110
 
# as_fn_error STATUS ERROR [LINENO LOG_FD]
13111
 
# ----------------------------------------
13112
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13113
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13114
 
# script with STATUS, using 1 if that was 0.
13115
 
as_fn_error ()
13116
 
{
13117
 
  as_status=$1; test $as_status -eq 0 && as_status=1
13118
 
  if test "$4"; then
13119
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13120
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13121
 
  fi
13122
 
  $as_echo "$as_me: error: $2" >&2
13123
 
  as_fn_exit $as_status
13124
 
} # as_fn_error
13125
 
 
13126
 
 
13127
 
# as_fn_set_status STATUS
13128
 
# -----------------------
13129
 
# Set $? to STATUS, without forking.
13130
 
as_fn_set_status ()
13131
 
{
13132
 
  return $1
13133
 
} # as_fn_set_status
13134
 
 
13135
 
# as_fn_exit STATUS
13136
 
# -----------------
13137
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13138
 
as_fn_exit ()
13139
 
{
13140
 
  set +e
13141
 
  as_fn_set_status $1
13142
 
  exit $1
13143
 
} # as_fn_exit
13144
 
 
13145
 
# as_fn_unset VAR
13146
 
# ---------------
13147
 
# Portably unset VAR.
13148
 
as_fn_unset ()
13149
 
{
13150
 
  { eval $1=; unset $1;}
13151
 
}
13152
 
as_unset=as_fn_unset
13153
 
# as_fn_append VAR VALUE
13154
 
# ----------------------
13155
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
13156
 
# advantage of any shell optimizations that allow amortized linear growth over
13157
 
# repeated appends, instead of the typical quadratic growth present in naive
13158
 
# implementations.
13159
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13160
 
  eval 'as_fn_append ()
13161
 
  {
13162
 
    eval $1+=\$2
13163
 
  }'
13164
 
else
13165
 
  as_fn_append ()
13166
 
  {
13167
 
    eval $1=\$$1\$2
13168
 
  }
13169
 
fi # as_fn_append
13170
 
 
13171
 
# as_fn_arith ARG...
13172
 
# ------------------
13173
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
13174
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
13175
 
# must be portable across $(()) and expr.
13176
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13177
 
  eval 'as_fn_arith ()
13178
 
  {
13179
 
    as_val=$(( $* ))
13180
 
  }'
13181
 
else
13182
 
  as_fn_arith ()
13183
 
  {
13184
 
    as_val=`expr "$@" || test $? -eq 1`
13185
 
  }
13186
 
fi # as_fn_arith
13187
 
 
13188
 
 
13189
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
13190
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13191
 
  as_expr=expr
13192
 
else
13193
 
  as_expr=false
13194
 
fi
13195
 
 
13196
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13197
 
  as_basename=basename
13198
 
else
13199
 
  as_basename=false
13200
 
fi
13201
 
 
13202
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13203
 
  as_dirname=dirname
13204
 
else
13205
 
  as_dirname=false
13206
 
fi
13207
 
 
13208
 
as_me=`$as_basename -- "$0" ||
13209
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13210
 
         X"$0" : 'X\(//\)$' \| \
13211
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13212
 
$as_echo X/"$0" |
13213
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
13214
 
            s//\1/
13215
 
            q
13216
 
          }
13217
 
          /^X\/\(\/\/\)$/{
13218
 
            s//\1/
13219
 
            q
13220
 
          }
13221
 
          /^X\/\(\/\).*/{
13222
 
            s//\1/
13223
 
            q
13224
 
          }
13225
 
          s/.*/./; q'`
13226
 
 
13227
 
# Avoid depending upon Character Ranges.
13228
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13229
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13230
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13231
 
as_cr_digits='0123456789'
13232
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
13233
 
 
13234
 
ECHO_C= ECHO_N= ECHO_T=
13235
 
case `echo -n x` in #(((((
13236
 
-n*)
13237
 
  case `echo 'xy\c'` in
13238
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13239
 
  xy)  ECHO_C='\c';;
13240
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13241
 
       ECHO_T=' ';;
13242
 
  esac;;
13243
 
*)
13244
 
  ECHO_N='-n';;
13245
 
esac
13246
 
 
13247
 
rm -f conf$$ conf$$.exe conf$$.file
13248
 
if test -d conf$$.dir; then
13249
 
  rm -f conf$$.dir/conf$$.file
13250
 
else
13251
 
  rm -f conf$$.dir
13252
 
  mkdir conf$$.dir 2>/dev/null
13253
 
fi
13254
 
if (echo >conf$$.file) 2>/dev/null; then
13255
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
13256
 
    as_ln_s='ln -s'
13257
 
    # ... but there are two gotchas:
13258
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13259
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13260
 
    # In both cases, we have to default to `cp -p'.
13261
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13262
 
      as_ln_s='cp -p'
13263
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
13264
 
    as_ln_s=ln
13265
 
  else
13266
 
    as_ln_s='cp -p'
13267
 
  fi
13268
 
else
13269
 
  as_ln_s='cp -p'
13270
 
fi
13271
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13272
 
rmdir conf$$.dir 2>/dev/null
13273
 
 
13274
 
 
13275
 
# as_fn_mkdir_p
13276
 
# -------------
13277
 
# Create "$as_dir" as a directory, including parents if necessary.
13278
 
as_fn_mkdir_p ()
13279
 
{
13280
 
 
13281
 
  case $as_dir in #(
13282
 
  -*) as_dir=./$as_dir;;
13283
 
  esac
13284
 
  test -d "$as_dir" || eval $as_mkdir_p || {
13285
 
    as_dirs=
13286
 
    while :; do
13287
 
      case $as_dir in #(
13288
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13289
 
      *) as_qdir=$as_dir;;
13290
 
      esac
13291
 
      as_dirs="'$as_qdir' $as_dirs"
13292
 
      as_dir=`$as_dirname -- "$as_dir" ||
13293
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13294
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
13295
 
         X"$as_dir" : 'X\(//\)$' \| \
13296
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13297
 
$as_echo X"$as_dir" |
13298
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13299
 
            s//\1/
13300
 
            q
13301
 
          }
13302
 
          /^X\(\/\/\)[^/].*/{
13303
 
            s//\1/
13304
 
            q
13305
 
          }
13306
 
          /^X\(\/\/\)$/{
13307
 
            s//\1/
13308
 
            q
13309
 
          }
13310
 
          /^X\(\/\).*/{
13311
 
            s//\1/
13312
 
            q
13313
 
          }
13314
 
          s/.*/./; q'`
13315
 
      test -d "$as_dir" && break
13316
 
    done
13317
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
13318
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13319
 
 
13320
 
 
13321
 
} # as_fn_mkdir_p
13322
 
if mkdir -p . 2>/dev/null; then
13323
 
  as_mkdir_p='mkdir -p "$as_dir"'
13324
 
else
13325
 
  test -d ./-p && rmdir ./-p
13326
 
  as_mkdir_p=false
13327
 
fi
13328
 
 
13329
 
if test -x / >/dev/null 2>&1; then
13330
 
  as_test_x='test -x'
13331
 
else
13332
 
  if ls -dL / >/dev/null 2>&1; then
13333
 
    as_ls_L_option=L
13334
 
  else
13335
 
    as_ls_L_option=
13336
 
  fi
13337
 
  as_test_x='
13338
 
    eval sh -c '\''
13339
 
      if test -d "$1"; then
13340
 
        test -d "$1/.";
13341
 
      else
13342
 
        case $1 in #(
13343
 
        -*)set "./$1";;
13344
 
        esac;
13345
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13346
 
        ???[sx]*):;;*)false;;esac;fi
13347
 
    '\'' sh
13348
 
  '
13349
 
fi
13350
 
as_executable_p=$as_test_x
13351
 
 
13352
 
# Sed expression to map a string onto a valid CPP name.
13353
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13354
 
 
13355
 
# Sed expression to map a string onto a valid variable name.
13356
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13357
 
 
13358
 
 
13359
 
exec 6>&1
13360
 
## ----------------------------------- ##
13361
 
## Main body of $CONFIG_STATUS script. ##
13362
 
## ----------------------------------- ##
13363
 
_ASEOF
13364
 
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13365
 
 
13366
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13367
 
# Save the log message, to keep $0 and so on meaningful, and to
13368
 
# report actual input values of CONFIG_FILES etc. instead of their
13369
 
# values after options handling.
13370
 
ac_log="
13371
 
This file was extended by $as_me, which was
13372
 
generated by GNU Autoconf 2.67.  Invocation command line was
13373
 
 
13374
 
  CONFIG_FILES    = $CONFIG_FILES
13375
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
13376
 
  CONFIG_LINKS    = $CONFIG_LINKS
13377
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
13378
 
  $ $0 $@
13379
 
 
13380
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
13381
 
"
13382
 
 
13383
 
_ACEOF
13384
 
 
13385
 
case $ac_config_files in *"
13386
 
"*) set x $ac_config_files; shift; ac_config_files=$*;;
13387
 
esac
13388
 
 
13389
 
case $ac_config_headers in *"
13390
 
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13391
 
esac
13392
 
 
13393
 
 
13394
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13395
 
# Files that config.status was made for.
13396
 
config_files="$ac_config_files"
13397
 
config_headers="$ac_config_headers"
13398
 
config_commands="$ac_config_commands"
13399
 
 
13400
 
_ACEOF
13401
 
 
13402
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13403
 
ac_cs_usage="\
13404
 
\`$as_me' instantiates files and other configuration actions
13405
 
from templates according to the current configuration.  Unless the files
13406
 
and actions are specified as TAGs, all are instantiated by default.
13407
 
 
13408
 
Usage: $0 [OPTION]... [TAG]...
13409
 
 
13410
 
  -h, --help       print this help, then exit
13411
 
  -V, --version    print version number and configuration settings, then exit
13412
 
      --config     print configuration, then exit
13413
 
  -q, --quiet, --silent
13414
 
                   do not print progress messages
13415
 
  -d, --debug      don't remove temporary files
13416
 
      --recheck    update $as_me by reconfiguring in the same conditions
13417
 
      --file=FILE[:TEMPLATE]
13418
 
                   instantiate the configuration file FILE
13419
 
      --header=FILE[:TEMPLATE]
13420
 
                   instantiate the configuration header FILE
13421
 
 
13422
 
Configuration files:
13423
 
$config_files
13424
 
 
13425
 
Configuration headers:
13426
 
$config_headers
13427
 
 
13428
 
Configuration commands:
13429
 
$config_commands
13430
 
 
13431
 
Report bugs to the package provider."
13432
 
 
13433
 
_ACEOF
13434
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13435
 
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13436
 
ac_cs_version="\\
13437
 
config.status
13438
 
configured by $0, generated by GNU Autoconf 2.67,
13439
 
  with options \\"\$ac_cs_config\\"
13440
 
 
13441
 
Copyright (C) 2010 Free Software Foundation, Inc.
13442
 
This config.status script is free software; the Free Software Foundation
13443
 
gives unlimited permission to copy, distribute and modify it."
13444
 
 
13445
 
ac_pwd='$ac_pwd'
13446
 
srcdir='$srcdir'
13447
 
INSTALL='$INSTALL'
13448
 
MKDIR_P='$MKDIR_P'
13449
 
AWK='$AWK'
13450
 
test -n "\$AWK" || AWK=awk
13451
 
_ACEOF
13452
 
 
13453
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13454
 
# The default lists apply if the user does not specify any file.
13455
 
ac_need_defaults=:
13456
 
while test $# != 0
13457
 
do
13458
 
  case $1 in
13459
 
  --*=?*)
13460
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13461
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13462
 
    ac_shift=:
13463
 
    ;;
13464
 
  --*=)
13465
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13466
 
    ac_optarg=
13467
 
    ac_shift=:
13468
 
    ;;
13469
 
  *)
13470
 
    ac_option=$1
13471
 
    ac_optarg=$2
13472
 
    ac_shift=shift
13473
 
    ;;
13474
 
  esac
13475
 
 
13476
 
  case $ac_option in
13477
 
  # Handling of the options.
13478
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13479
 
    ac_cs_recheck=: ;;
13480
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13481
 
    $as_echo "$ac_cs_version"; exit ;;
13482
 
  --config | --confi | --conf | --con | --co | --c )
13483
 
    $as_echo "$ac_cs_config"; exit ;;
13484
 
  --debug | --debu | --deb | --de | --d | -d )
13485
 
    debug=: ;;
13486
 
  --file | --fil | --fi | --f )
13487
 
    $ac_shift
13488
 
    case $ac_optarg in
13489
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13490
 
    '') as_fn_error $? "missing file argument" ;;
13491
 
    esac
13492
 
    as_fn_append CONFIG_FILES " '$ac_optarg'"
13493
 
    ac_need_defaults=false;;
13494
 
  --header | --heade | --head | --hea )
13495
 
    $ac_shift
13496
 
    case $ac_optarg in
13497
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13498
 
    esac
13499
 
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13500
 
    ac_need_defaults=false;;
13501
 
  --he | --h)
13502
 
    # Conflict between --help and --header
13503
 
    as_fn_error $? "ambiguous option: \`$1'
13504
 
Try \`$0 --help' for more information.";;
13505
 
  --help | --hel | -h )
13506
 
    $as_echo "$ac_cs_usage"; exit ;;
13507
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13508
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
13509
 
    ac_cs_silent=: ;;
13510
 
 
13511
 
  # This is an error.
13512
 
  -*) as_fn_error $? "unrecognized option: \`$1'
13513
 
Try \`$0 --help' for more information." ;;
13514
 
 
13515
 
  *) as_fn_append ac_config_targets " $1"
13516
 
     ac_need_defaults=false ;;
13517
 
 
13518
 
  esac
13519
 
  shift
13520
 
done
13521
 
 
13522
 
ac_configure_extra_args=
13523
 
 
13524
 
if $ac_cs_silent; then
13525
 
  exec 6>/dev/null
13526
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
13527
 
fi
13528
 
 
13529
 
_ACEOF
13530
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13531
 
if \$ac_cs_recheck; then
13532
 
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13533
 
  shift
13534
 
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13535
 
  CONFIG_SHELL='$SHELL'
13536
 
  export CONFIG_SHELL
13537
 
  exec "\$@"
13538
 
fi
13539
 
 
13540
 
_ACEOF
13541
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13542
 
exec 5>>config.log
13543
 
{
13544
 
  echo
13545
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13546
 
## Running $as_me. ##
13547
 
_ASBOX
13548
 
  $as_echo "$ac_log"
13549
 
} >&5
13550
 
 
13551
 
_ACEOF
13552
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13553
 
#
13554
 
# INIT-COMMANDS
13555
 
#
13556
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13557
 
 
13558
 
 
13559
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
13560
 
# if CDPATH is set.
13561
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13562
 
 
13563
 
sed_quote_subst='$sed_quote_subst'
13564
 
double_quote_subst='$double_quote_subst'
13565
 
delay_variable_subst='$delay_variable_subst'
13566
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13567
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13568
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13569
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13570
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13571
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13572
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13573
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13574
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13575
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13576
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13577
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13578
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13579
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13580
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13581
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13582
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13583
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13584
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13585
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13586
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13587
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13588
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13589
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13590
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13591
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13592
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13593
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13594
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13595
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13596
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13597
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13598
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13599
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13600
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13601
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13602
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13603
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13604
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13605
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13606
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13607
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13608
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13609
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13610
 
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
13611
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13612
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13613
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13614
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13615
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13616
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13617
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13618
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13619
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13620
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13621
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13622
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13623
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13624
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13625
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13626
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13627
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13628
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13629
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13630
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13631
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13632
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13633
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13634
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13635
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13636
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13637
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13638
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13639
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13640
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13641
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13642
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13643
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13644
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13645
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13646
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13647
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13648
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13649
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13650
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13651
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13652
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13653
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13654
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13655
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13656
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13657
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13658
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13659
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13660
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13661
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13662
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13663
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13664
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13665
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13666
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13667
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13668
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13669
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13670
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13671
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13672
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13673
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13674
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13675
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13676
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13677
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13678
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13679
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13680
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13681
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13682
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13683
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13684
 
 
13685
 
LTCC='$LTCC'
13686
 
LTCFLAGS='$LTCFLAGS'
13687
 
compiler='$compiler_DEFAULT'
13688
 
 
13689
 
# Quote evaled strings.
13690
 
for var in SED \
13691
 
GREP \
13692
 
EGREP \
13693
 
FGREP \
13694
 
LD \
13695
 
NM \
13696
 
LN_S \
13697
 
lt_SP2NL \
13698
 
lt_NL2SP \
13699
 
reload_flag \
13700
 
OBJDUMP \
13701
 
deplibs_check_method \
13702
 
file_magic_cmd \
13703
 
AR \
13704
 
AR_FLAGS \
13705
 
STRIP \
13706
 
RANLIB \
13707
 
CC \
13708
 
CFLAGS \
13709
 
compiler \
13710
 
lt_cv_sys_global_symbol_pipe \
13711
 
lt_cv_sys_global_symbol_to_cdecl \
13712
 
lt_cv_sys_global_symbol_to_c_name_address \
13713
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13714
 
SHELL \
13715
 
ECHO \
13716
 
lt_prog_compiler_no_builtin_flag \
13717
 
lt_prog_compiler_wl \
13718
 
lt_prog_compiler_pic \
13719
 
lt_prog_compiler_static \
13720
 
lt_cv_prog_compiler_c_o \
13721
 
need_locks \
13722
 
DSYMUTIL \
13723
 
NMEDIT \
13724
 
LIPO \
13725
 
OTOOL \
13726
 
OTOOL64 \
13727
 
shrext_cmds \
13728
 
export_dynamic_flag_spec \
13729
 
whole_archive_flag_spec \
13730
 
compiler_needs_object \
13731
 
with_gnu_ld \
13732
 
allow_undefined_flag \
13733
 
no_undefined_flag \
13734
 
hardcode_libdir_flag_spec \
13735
 
hardcode_libdir_flag_spec_ld \
13736
 
hardcode_libdir_separator \
13737
 
fix_srcfile_path \
13738
 
exclude_expsyms \
13739
 
include_expsyms \
13740
 
file_list_spec \
13741
 
variables_saved_for_relink \
13742
 
libname_spec \
13743
 
library_names_spec \
13744
 
soname_spec \
13745
 
finish_eval \
13746
 
old_striplib \
13747
 
striplib; do
13748
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13749
 
    *[\\\\\\\`\\"\\\$]*)
13750
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13751
 
      ;;
13752
 
    *)
13753
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13754
 
      ;;
13755
 
    esac
13756
 
done
13757
 
 
13758
 
# Double-quote double-evaled strings.
13759
 
for var in reload_cmds \
13760
 
old_postinstall_cmds \
13761
 
old_postuninstall_cmds \
13762
 
old_archive_cmds \
13763
 
extract_expsyms_cmds \
13764
 
old_archive_from_new_cmds \
13765
 
old_archive_from_expsyms_cmds \
13766
 
archive_cmds \
13767
 
archive_expsym_cmds \
13768
 
module_cmds \
13769
 
module_expsym_cmds \
13770
 
export_symbols_cmds \
13771
 
prelink_cmds \
13772
 
postinstall_cmds \
13773
 
postuninstall_cmds \
13774
 
finish_cmds \
13775
 
sys_lib_search_path_spec \
13776
 
sys_lib_dlsearch_path_spec; do
13777
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13778
 
    *[\\\\\\\`\\"\\\$]*)
13779
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13780
 
      ;;
13781
 
    *)
13782
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13783
 
      ;;
13784
 
    esac
13785
 
done
13786
 
 
13787
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
13788
 
case \$lt_ECHO in
13789
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13790
 
  ;;
13791
 
esac
13792
 
 
13793
 
ac_aux_dir='$ac_aux_dir'
13794
 
xsi_shell='$xsi_shell'
13795
 
lt_shell_append='$lt_shell_append'
13796
 
 
13797
 
# See if we are running on zsh, and set the options which allow our
13798
 
# commands through without removal of \ escapes INIT.
13799
 
if test -n "\${ZSH_VERSION+set}" ; then
13800
 
   setopt NO_GLOB_SUBST
13801
 
fi
13802
 
 
13803
 
 
13804
 
    PACKAGE='$PACKAGE'
13805
 
    VERSION='$VERSION'
13806
 
    TIMESTAMP='$TIMESTAMP'
13807
 
    RM='$RM'
13808
 
    ofile='$ofile'
13809
 
 
13810
 
 
13811
 
 
13812
 
 
13813
 
 
13814
 
_ACEOF
13815
 
 
13816
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13817
 
 
13818
 
# Handling of arguments.
13819
 
for ac_config_target in $ac_config_targets
13820
 
do
13821
 
  case $ac_config_target in
13822
 
    "build-config.h") CONFIG_HEADERS="$CONFIG_HEADERS build-config.h" ;;
13823
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13824
 
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13825
 
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
13826
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13827
 
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13828
 
    "doc/man/gpredict.1") CONFIG_FILES="$CONFIG_FILES doc/man/gpredict.1" ;;
13829
 
    "doc/man/Makefile") CONFIG_FILES="$CONFIG_FILES doc/man/Makefile" ;;
13830
 
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13831
 
    "src/sgpsdp/Makefile") CONFIG_FILES="$CONFIG_FILES src/sgpsdp/Makefile" ;;
13832
 
    "src/sgpsdp/TR/Makefile") CONFIG_FILES="$CONFIG_FILES src/sgpsdp/TR/Makefile" ;;
13833
 
    "pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;;
13834
 
    "pixmaps/maps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/maps/Makefile" ;;
13835
 
    "pixmaps/icons/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/icons/Makefile" ;;
13836
 
    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
13837
 
    "data/desktop/Makefile") CONFIG_FILES="$CONFIG_FILES data/desktop/Makefile" ;;
13838
 
    "data/satdata/Makefile") CONFIG_FILES="$CONFIG_FILES data/satdata/Makefile" ;;
13839
 
    "data/trsp/Makefile") CONFIG_FILES="$CONFIG_FILES data/trsp/Makefile" ;;
13840
 
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
13841
 
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
13842
 
 
13843
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
13844
 
  esac
13845
 
done
13846
 
 
13847
 
 
13848
 
# If the user did not use the arguments to specify the items to instantiate,
13849
 
# then the envvar interface is used.  Set only those that are not.
13850
 
# We use the long form for the default assignment because of an extremely
13851
 
# bizarre bug on SunOS 4.1.3.
13852
 
if $ac_need_defaults; then
13853
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13854
 
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13855
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13856
 
fi
13857
 
 
13858
 
# Have a temporary directory for convenience.  Make it in the build tree
13859
 
# simply because there is no reason against having it here, and in addition,
13860
 
# creating and moving files from /tmp can sometimes cause problems.
13861
 
# Hook for its removal unless debugging.
13862
 
# Note that there is a small window in which the directory will not be cleaned:
13863
 
# after its creation but before its name has been assigned to `$tmp'.
13864
 
$debug ||
13865
 
{
13866
 
  tmp=
13867
 
  trap 'exit_status=$?
13868
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13869
 
' 0
13870
 
  trap 'as_fn_exit 1' 1 2 13 15
13871
 
}
13872
 
# Create a (secure) tmp directory for tmp files.
13873
 
 
13874
 
{
13875
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13876
 
  test -n "$tmp" && test -d "$tmp"
13877
 
}  ||
13878
 
{
13879
 
  tmp=./conf$$-$RANDOM
13880
 
  (umask 077 && mkdir "$tmp")
13881
 
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13882
 
 
13883
 
# Set up the scripts for CONFIG_FILES section.
13884
 
# No need to generate them if there are no CONFIG_FILES.
13885
 
# This happens for instance with `./config.status config.h'.
13886
 
if test -n "$CONFIG_FILES"; then
13887
 
 
13888
 
 
13889
 
ac_cr=`echo X | tr X '\015'`
13890
 
# On cygwin, bash can eat \r inside `` if the user requested igncr.
13891
 
# But we know of no other shell where ac_cr would be empty at this
13892
 
# point, so we can use a bashism as a fallback.
13893
 
if test "x$ac_cr" = x; then
13894
 
  eval ac_cr=\$\'\\r\'
13895
 
fi
13896
 
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13897
 
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13898
 
  ac_cs_awk_cr='\\r'
13899
 
else
13900
 
  ac_cs_awk_cr=$ac_cr
13901
 
fi
13902
 
 
13903
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
13904
 
_ACEOF
13905
 
 
13906
 
 
13907
 
{
13908
 
  echo "cat >conf$$subs.awk <<_ACEOF" &&
13909
 
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13910
 
  echo "_ACEOF"
13911
 
} >conf$$subs.sh ||
13912
 
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13913
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13914
 
ac_delim='%!_!# '
13915
 
for ac_last_try in false false false false false :; do
13916
 
  . ./conf$$subs.sh ||
13917
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13918
 
 
13919
 
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13920
 
  if test $ac_delim_n = $ac_delim_num; then
13921
 
    break
13922
 
  elif $ac_last_try; then
13923
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13924
 
  else
13925
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13926
 
  fi
13927
 
done
13928
 
rm -f conf$$subs.sh
13929
 
 
13930
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13931
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
13932
 
_ACEOF
13933
 
sed -n '
13934
 
h
13935
 
s/^/S["/; s/!.*/"]=/
13936
 
p
13937
 
g
13938
 
s/^[^!]*!//
13939
 
:repl
13940
 
t repl
13941
 
s/'"$ac_delim"'$//
13942
 
t delim
13943
 
:nl
13944
 
h
13945
 
s/\(.\{148\}\)..*/\1/
13946
 
t more1
13947
 
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13948
 
p
13949
 
n
13950
 
b repl
13951
 
:more1
13952
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13953
 
p
13954
 
g
13955
 
s/.\{148\}//
13956
 
t nl
13957
 
:delim
13958
 
h
13959
 
s/\(.\{148\}\)..*/\1/
13960
 
t more2
13961
 
s/["\\]/\\&/g; s/^/"/; s/$/"/
13962
 
p
13963
 
b
13964
 
:more2
13965
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13966
 
p
13967
 
g
13968
 
s/.\{148\}//
13969
 
t delim
13970
 
' <conf$$subs.awk | sed '
13971
 
/^[^""]/{
13972
 
  N
13973
 
  s/\n//
13974
 
}
13975
 
' >>$CONFIG_STATUS || ac_write_fail=1
13976
 
rm -f conf$$subs.awk
13977
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13978
 
_ACAWK
13979
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
13980
 
  for (key in S) S_is_set[key] = 1
13981
 
  FS = ""
13982
 
 
13983
 
}
13984
 
{
13985
 
  line = $ 0
13986
 
  nfields = split(line, field, "@")
13987
 
  substed = 0
13988
 
  len = length(field[1])
13989
 
  for (i = 2; i < nfields; i++) {
13990
 
    key = field[i]
13991
 
    keylen = length(key)
13992
 
    if (S_is_set[key]) {
13993
 
      value = S[key]
13994
 
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13995
 
      len += length(value) + length(field[++i])
13996
 
      substed = 1
13997
 
    } else
13998
 
      len += 1 + keylen
13999
 
  }
14000
 
 
14001
 
  print line
14002
 
}
14003
 
 
14004
 
_ACAWK
14005
 
_ACEOF
14006
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14007
 
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14008
 
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14009
 
else
14010
 
  cat
14011
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14012
 
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14013
 
_ACEOF
14014
 
 
14015
 
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14016
 
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14017
 
# trailing colons and then remove the whole line if VPATH becomes empty
14018
 
# (actually we leave an empty line to preserve line numbers).
14019
 
if test "x$srcdir" = x.; then
14020
 
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
14021
 
h
14022
 
s///
14023
 
s/^/:/
14024
 
s/[      ]*$/:/
14025
 
s/:\$(srcdir):/:/g
14026
 
s/:\${srcdir}:/:/g
14027
 
s/:@srcdir@:/:/g
14028
 
s/^:*//
14029
 
s/:*$//
14030
 
x
14031
 
s/\(=[   ]*\).*/\1/
14032
 
G
14033
 
s/\n//
14034
 
s/^[^=]*=[       ]*$//
14035
 
}'
14036
 
fi
14037
 
 
14038
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14039
 
fi # test -n "$CONFIG_FILES"
14040
 
 
14041
 
# Set up the scripts for CONFIG_HEADERS section.
14042
 
# No need to generate them if there are no CONFIG_HEADERS.
14043
 
# This happens for instance with `./config.status Makefile'.
14044
 
if test -n "$CONFIG_HEADERS"; then
14045
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
14046
 
BEGIN {
14047
 
_ACEOF
14048
 
 
14049
 
# Transform confdefs.h into an awk script `defines.awk', embedded as
14050
 
# here-document in config.status, that substitutes the proper values into
14051
 
# config.h.in to produce config.h.
14052
 
 
14053
 
# Create a delimiter string that does not exist in confdefs.h, to ease
14054
 
# handling of long lines.
14055
 
ac_delim='%!_!# '
14056
 
for ac_last_try in false false :; do
14057
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
14058
 
  if test -z "$ac_t"; then
14059
 
    break
14060
 
  elif $ac_last_try; then
14061
 
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14062
 
  else
14063
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14064
 
  fi
14065
 
done
14066
 
 
14067
 
# For the awk script, D is an array of macro values keyed by name,
14068
 
# likewise P contains macro parameters if any.  Preserve backslash
14069
 
# newline sequences.
14070
 
 
14071
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14072
 
sed -n '
14073
 
s/.\{148\}/&'"$ac_delim"'/g
14074
 
t rset
14075
 
:rset
14076
 
s/^[     ]*#[    ]*define[       ][      ]*/ /
14077
 
t def
14078
 
d
14079
 
:def
14080
 
s/\\$//
14081
 
t bsnl
14082
 
s/["\\]/\\&/g
14083
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14084
 
D["\1"]=" \3"/p
14085
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
14086
 
d
14087
 
:bsnl
14088
 
s/["\\]/\\&/g
14089
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14090
 
D["\1"]=" \3\\\\\\n"\\/p
14091
 
t cont
14092
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14093
 
t cont
14094
 
d
14095
 
:cont
14096
 
n
14097
 
s/.\{148\}/&'"$ac_delim"'/g
14098
 
t clear
14099
 
:clear
14100
 
s/\\$//
14101
 
t bsnlc
14102
 
s/["\\]/\\&/g; s/^/"/; s/$/"/p
14103
 
d
14104
 
:bsnlc
14105
 
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14106
 
b cont
14107
 
' <confdefs.h | sed '
14108
 
s/'"$ac_delim"'/"\\\
14109
 
"/g' >>$CONFIG_STATUS || ac_write_fail=1
14110
 
 
14111
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14112
 
  for (key in D) D_is_set[key] = 1
14113
 
  FS = ""
14114
 
}
14115
 
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14116
 
  line = \$ 0
14117
 
  split(line, arg, " ")
14118
 
  if (arg[1] == "#") {
14119
 
    defundef = arg[2]
14120
 
    mac1 = arg[3]
14121
 
  } else {
14122
 
    defundef = substr(arg[1], 2)
14123
 
    mac1 = arg[2]
14124
 
  }
14125
 
  split(mac1, mac2, "(") #)
14126
 
  macro = mac2[1]
14127
 
  prefix = substr(line, 1, index(line, defundef) - 1)
14128
 
  if (D_is_set[macro]) {
14129
 
    # Preserve the white space surrounding the "#".
14130
 
    print prefix "define", macro P[macro] D[macro]
14131
 
    next
14132
 
  } else {
14133
 
    # Replace #undef with comments.  This is necessary, for example,
14134
 
    # in the case of _POSIX_SOURCE, which is predefined and required
14135
 
    # on some systems where configure will not decide to define it.
14136
 
    if (defundef == "undef") {
14137
 
      print "/*", prefix defundef, macro, "*/"
14138
 
      next
14139
 
    }
14140
 
  }
14141
 
}
14142
 
{ print }
14143
 
_ACAWK
14144
 
_ACEOF
14145
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14146
 
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14147
 
fi # test -n "$CONFIG_HEADERS"
14148
 
 
14149
 
 
14150
 
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14151
 
shift
14152
 
for ac_tag
14153
 
do
14154
 
  case $ac_tag in
14155
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
14156
 
  esac
14157
 
  case $ac_mode$ac_tag in
14158
 
  :[FHL]*:*);;
14159
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
14160
 
  :[FH]-) ac_tag=-:-;;
14161
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14162
 
  esac
14163
 
  ac_save_IFS=$IFS
14164
 
  IFS=:
14165
 
  set x $ac_tag
14166
 
  IFS=$ac_save_IFS
14167
 
  shift
14168
 
  ac_file=$1
14169
 
  shift
14170
 
 
14171
 
  case $ac_mode in
14172
 
  :L) ac_source=$1;;
14173
 
  :[FH])
14174
 
    ac_file_inputs=
14175
 
    for ac_f
14176
 
    do
14177
 
      case $ac_f in
14178
 
      -) ac_f="$tmp/stdin";;
14179
 
      *) # Look for the file first in the build tree, then in the source tree
14180
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
14181
 
         # because $ac_f cannot contain `:'.
14182
 
         test -f "$ac_f" ||
14183
 
           case $ac_f in
14184
 
           [\\/$]*) false;;
14185
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14186
 
           esac ||
14187
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
14188
 
      esac
14189
 
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14190
 
      as_fn_append ac_file_inputs " '$ac_f'"
14191
 
    done
14192
 
 
14193
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
14194
 
    # use $as_me), people would be surprised to read:
14195
 
    #    /* config.h.  Generated by config.status.  */
14196
 
    configure_input='Generated from '`
14197
 
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14198
 
        `' by configure.'
14199
 
    if test x"$ac_file" != x-; then
14200
 
      configure_input="$ac_file.  $configure_input"
14201
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14202
 
$as_echo "$as_me: creating $ac_file" >&6;}
14203
 
    fi
14204
 
    # Neutralize special characters interpreted by sed in replacement strings.
14205
 
    case $configure_input in #(
14206
 
    *\&* | *\|* | *\\* )
14207
 
       ac_sed_conf_input=`$as_echo "$configure_input" |
14208
 
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
14209
 
    *) ac_sed_conf_input=$configure_input;;
14210
 
    esac
14211
 
 
14212
 
    case $ac_tag in
14213
 
    *:-:* | *:-) cat >"$tmp/stdin" \
14214
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
14215
 
    esac
14216
 
    ;;
14217
 
  esac
14218
 
 
14219
 
  ac_dir=`$as_dirname -- "$ac_file" ||
14220
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14221
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
14222
 
         X"$ac_file" : 'X\(//\)$' \| \
14223
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14224
 
$as_echo X"$ac_file" |
14225
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14226
 
            s//\1/
14227
 
            q
14228
 
          }
14229
 
          /^X\(\/\/\)[^/].*/{
14230
 
            s//\1/
14231
 
            q
14232
 
          }
14233
 
          /^X\(\/\/\)$/{
14234
 
            s//\1/
14235
 
            q
14236
 
          }
14237
 
          /^X\(\/\).*/{
14238
 
            s//\1/
14239
 
            q
14240
 
          }
14241
 
          s/.*/./; q'`
14242
 
  as_dir="$ac_dir"; as_fn_mkdir_p
14243
 
  ac_builddir=.
14244
 
 
14245
 
case "$ac_dir" in
14246
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14247
 
*)
14248
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14249
 
  # A ".." for each directory in $ac_dir_suffix.
14250
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14251
 
  case $ac_top_builddir_sub in
14252
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14253
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14254
 
  esac ;;
14255
 
esac
14256
 
ac_abs_top_builddir=$ac_pwd
14257
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
14258
 
# for backward compatibility:
14259
 
ac_top_builddir=$ac_top_build_prefix
14260
 
 
14261
 
case $srcdir in
14262
 
  .)  # We are building in place.
14263
 
    ac_srcdir=.
14264
 
    ac_top_srcdir=$ac_top_builddir_sub
14265
 
    ac_abs_top_srcdir=$ac_pwd ;;
14266
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
14267
 
    ac_srcdir=$srcdir$ac_dir_suffix;
14268
 
    ac_top_srcdir=$srcdir
14269
 
    ac_abs_top_srcdir=$srcdir ;;
14270
 
  *) # Relative name.
14271
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14272
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
14273
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14274
 
esac
14275
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14276
 
 
14277
 
 
14278
 
  case $ac_mode in
14279
 
  :F)
14280
 
  #
14281
 
  # CONFIG_FILE
14282
 
  #
14283
 
 
14284
 
  case $INSTALL in
14285
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14286
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14287
 
  esac
14288
 
  ac_MKDIR_P=$MKDIR_P
14289
 
  case $MKDIR_P in
14290
 
  [\\/$]* | ?:[\\/]* ) ;;
14291
 
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14292
 
  esac
14293
 
_ACEOF
14294
 
 
14295
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14296
 
# If the template does not know about datarootdir, expand it.
14297
 
# FIXME: This hack should be removed a few years after 2.60.
14298
 
ac_datarootdir_hack=; ac_datarootdir_seen=
14299
 
ac_sed_dataroot='
14300
 
/datarootdir/ {
14301
 
  p
14302
 
  q
14303
 
}
14304
 
/@datadir@/p
14305
 
/@docdir@/p
14306
 
/@infodir@/p
14307
 
/@localedir@/p
14308
 
/@mandir@/p'
14309
 
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14310
 
*datarootdir*) ac_datarootdir_seen=yes;;
14311
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14312
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14313
 
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14314
 
_ACEOF
14315
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14316
 
  ac_datarootdir_hack='
14317
 
  s&@datadir@&$datadir&g
14318
 
  s&@docdir@&$docdir&g
14319
 
  s&@infodir@&$infodir&g
14320
 
  s&@localedir@&$localedir&g
14321
 
  s&@mandir@&$mandir&g
14322
 
  s&\\\${datarootdir}&$datarootdir&g' ;;
14323
 
esac
14324
 
_ACEOF
14325
 
 
14326
 
# Neutralize VPATH when `$srcdir' = `.'.
14327
 
# Shell code in configure.ac might set extrasub.
14328
 
# FIXME: do we really want to maintain this feature?
14329
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14330
 
ac_sed_extra="$ac_vpsub
14331
 
$extrasub
14332
 
_ACEOF
14333
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14334
 
:t
14335
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14336
 
s|@configure_input@|$ac_sed_conf_input|;t t
14337
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
14338
 
s&@top_build_prefix@&$ac_top_build_prefix&;t t
14339
 
s&@srcdir@&$ac_srcdir&;t t
14340
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
14341
 
s&@top_srcdir@&$ac_top_srcdir&;t t
14342
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14343
 
s&@builddir@&$ac_builddir&;t t
14344
 
s&@abs_builddir@&$ac_abs_builddir&;t t
14345
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14346
 
s&@INSTALL@&$ac_INSTALL&;t t
14347
 
s&@MKDIR_P@&$ac_MKDIR_P&;t t
14348
 
$ac_datarootdir_hack
14349
 
"
14350
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14351
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14352
 
 
14353
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14354
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14355
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14356
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14357
 
which seems to be undefined.  Please make sure it is defined" >&5
14358
 
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14359
 
which seems to be undefined.  Please make sure it is defined" >&2;}
14360
 
 
14361
 
  rm -f "$tmp/stdin"
14362
 
  case $ac_file in
14363
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
14364
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14365
 
  esac \
14366
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14367
 
 ;;
14368
 
  :H)
14369
 
  #
14370
 
  # CONFIG_HEADER
14371
 
  #
14372
 
  if test x"$ac_file" != x-; then
14373
 
    {
14374
 
      $as_echo "/* $configure_input  */" \
14375
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14376
 
    } >"$tmp/config.h" \
14377
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14378
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14379
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14380
 
$as_echo "$as_me: $ac_file is unchanged" >&6;}
14381
 
    else
14382
 
      rm -f "$ac_file"
14383
 
      mv "$tmp/config.h" "$ac_file" \
14384
 
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14385
 
    fi
14386
 
  else
14387
 
    $as_echo "/* $configure_input  */" \
14388
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14389
 
      || as_fn_error $? "could not create -" "$LINENO" 5
14390
 
  fi
14391
 
# Compute "$ac_file"'s index in $config_headers.
14392
 
_am_arg="$ac_file"
14393
 
_am_stamp_count=1
14394
 
for _am_header in $config_headers :; do
14395
 
  case $_am_header in
14396
 
    $_am_arg | $_am_arg:* )
14397
 
      break ;;
14398
 
    * )
14399
 
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14400
 
  esac
14401
 
done
14402
 
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14403
 
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14404
 
         X"$_am_arg" : 'X\(//\)[^/]' \| \
14405
 
         X"$_am_arg" : 'X\(//\)$' \| \
14406
 
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14407
 
$as_echo X"$_am_arg" |
14408
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14409
 
            s//\1/
14410
 
            q
14411
 
          }
14412
 
          /^X\(\/\/\)[^/].*/{
14413
 
            s//\1/
14414
 
            q
14415
 
          }
14416
 
          /^X\(\/\/\)$/{
14417
 
            s//\1/
14418
 
            q
14419
 
          }
14420
 
          /^X\(\/\).*/{
14421
 
            s//\1/
14422
 
            q
14423
 
          }
14424
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
14425
 
 ;;
14426
 
 
14427
 
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14428
 
$as_echo "$as_me: executing $ac_file commands" >&6;}
14429
 
 ;;
14430
 
  esac
14431
 
 
14432
 
 
14433
 
  case $ac_file$ac_mode in
14434
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14435
 
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
14436
 
  # are listed without --file.  Let's play safe and only enable the eval
14437
 
  # if we detect the quoting.
14438
 
  case $CONFIG_FILES in
14439
 
  *\'*) eval set x "$CONFIG_FILES" ;;
14440
 
  *)   set x $CONFIG_FILES ;;
14441
 
  esac
14442
 
  shift
14443
 
  for mf
14444
 
  do
14445
 
    # Strip MF so we end up with the name of the file.
14446
 
    mf=`echo "$mf" | sed -e 's/:.*$//'`
14447
 
    # Check whether this is an Automake generated Makefile or not.
14448
 
    # We used to match only the files named `Makefile.in', but
14449
 
    # some people rename them; so instead we look at the file content.
14450
 
    # Grep'ing the first line is not enough: some people post-process
14451
 
    # each Makefile.in and add a new line on top of each file to say so.
14452
 
    # Grep'ing the whole file is not good either: AIX grep has a line
14453
 
    # limit of 2048, but all sed's we know have understand at least 4000.
14454
 
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14455
 
      dirpart=`$as_dirname -- "$mf" ||
14456
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14457
 
         X"$mf" : 'X\(//\)[^/]' \| \
14458
 
         X"$mf" : 'X\(//\)$' \| \
14459
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14460
 
$as_echo X"$mf" |
14461
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14462
 
            s//\1/
14463
 
            q
14464
 
          }
14465
 
          /^X\(\/\/\)[^/].*/{
14466
 
            s//\1/
14467
 
            q
14468
 
          }
14469
 
          /^X\(\/\/\)$/{
14470
 
            s//\1/
14471
 
            q
14472
 
          }
14473
 
          /^X\(\/\).*/{
14474
 
            s//\1/
14475
 
            q
14476
 
          }
14477
 
          s/.*/./; q'`
14478
 
    else
14479
 
      continue
14480
 
    fi
14481
 
    # Extract the definition of DEPDIR, am__include, and am__quote
14482
 
    # from the Makefile without running `make'.
14483
 
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14484
 
    test -z "$DEPDIR" && continue
14485
 
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
14486
 
    test -z "am__include" && continue
14487
 
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14488
 
    # When using ansi2knr, U may be empty or an underscore; expand it
14489
 
    U=`sed -n 's/^U = //p' < "$mf"`
14490
 
    # Find all dependency output files, they are included files with
14491
 
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
14492
 
    # simplest approach to changing $(DEPDIR) to its actual value in the
14493
 
    # expansion.
14494
 
    for file in `sed -n "
14495
 
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14496
 
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14497
 
      # Make sure the directory exists.
14498
 
      test -f "$dirpart/$file" && continue
14499
 
      fdir=`$as_dirname -- "$file" ||
14500
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14501
 
         X"$file" : 'X\(//\)[^/]' \| \
14502
 
         X"$file" : 'X\(//\)$' \| \
14503
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14504
 
$as_echo X"$file" |
14505
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14506
 
            s//\1/
14507
 
            q
14508
 
          }
14509
 
          /^X\(\/\/\)[^/].*/{
14510
 
            s//\1/
14511
 
            q
14512
 
          }
14513
 
          /^X\(\/\/\)$/{
14514
 
            s//\1/
14515
 
            q
14516
 
          }
14517
 
          /^X\(\/\).*/{
14518
 
            s//\1/
14519
 
            q
14520
 
          }
14521
 
          s/.*/./; q'`
14522
 
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
14523
 
      # echo "creating $dirpart/$file"
14524
 
      echo '# dummy' > "$dirpart/$file"
14525
 
    done
14526
 
  done
14527
 
}
14528
 
 ;;
14529
 
    "libtool":C)
14530
 
 
14531
 
    # See if we are running on zsh, and set the options which allow our
14532
 
    # commands through without removal of \ escapes.
14533
 
    if test -n "${ZSH_VERSION+set}" ; then
14534
 
      setopt NO_GLOB_SUBST
14535
 
    fi
14536
 
 
14537
 
    cfgfile="${ofile}T"
14538
 
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14539
 
    $RM "$cfgfile"
14540
 
 
14541
 
    cat <<_LT_EOF >> "$cfgfile"
14542
 
#! $SHELL
14543
 
 
14544
 
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14545
 
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14546
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14547
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14548
 
#
14549
 
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14550
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
14551
 
#   Written by Gordon Matzigkeit, 1996
14552
 
#
14553
 
#   This file is part of GNU Libtool.
14554
 
#
14555
 
# GNU Libtool is free software; you can redistribute it and/or
14556
 
# modify it under the terms of the GNU General Public License as
14557
 
# published by the Free Software Foundation; either version 2 of
14558
 
# the License, or (at your option) any later version.
14559
 
#
14560
 
# As a special exception to the GNU General Public License,
14561
 
# if you distribute this file as part of a program or library that
14562
 
# is built using GNU Libtool, you may include this file under the
14563
 
# same distribution terms that you use for the rest of that program.
14564
 
#
14565
 
# GNU Libtool is distributed in the hope that it will be useful,
14566
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14567
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14568
 
# GNU General Public License for more details.
14569
 
#
14570
 
# You should have received a copy of the GNU General Public License
14571
 
# along with GNU Libtool; see the file COPYING.  If not, a copy
14572
 
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14573
 
# obtained by writing to the Free Software Foundation, Inc.,
14574
 
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14575
 
 
14576
 
 
14577
 
# The names of the tagged configurations supported by this script.
14578
 
available_tags=""
14579
 
 
14580
 
# ### BEGIN LIBTOOL CONFIG
14581
 
 
14582
 
# Which release of libtool.m4 was used?
14583
 
macro_version=$macro_version
14584
 
macro_revision=$macro_revision
14585
 
 
14586
 
# Whether or not to build shared libraries.
14587
 
build_libtool_libs=$enable_shared
14588
 
 
14589
 
# Whether or not to build static libraries.
14590
 
build_old_libs=$enable_static
14591
 
 
14592
 
# What type of objects to build.
14593
 
pic_mode=$pic_mode
14594
 
 
14595
 
# Whether or not to optimize for fast installation.
14596
 
fast_install=$enable_fast_install
14597
 
 
14598
 
# The host system.
14599
 
host_alias=$host_alias
14600
 
host=$host
14601
 
host_os=$host_os
14602
 
 
14603
 
# The build system.
14604
 
build_alias=$build_alias
14605
 
build=$build
14606
 
build_os=$build_os
14607
 
 
14608
 
# A sed program that does not truncate output.
14609
 
SED=$lt_SED
14610
 
 
14611
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
14612
 
Xsed="\$SED -e 1s/^X//"
14613
 
 
14614
 
# A grep program that handles long lines.
14615
 
GREP=$lt_GREP
14616
 
 
14617
 
# An ERE matcher.
14618
 
EGREP=$lt_EGREP
14619
 
 
14620
 
# A literal string matcher.
14621
 
FGREP=$lt_FGREP
14622
 
 
14623
 
# A BSD- or MS-compatible name lister.
14624
 
NM=$lt_NM
14625
 
 
14626
 
# Whether we need soft or hard links.
14627
 
LN_S=$lt_LN_S
14628
 
 
14629
 
# What is the maximum length of a command?
14630
 
max_cmd_len=$max_cmd_len
14631
 
 
14632
 
# Object file suffix (normally "o").
14633
 
objext=$ac_objext
14634
 
 
14635
 
# Executable file suffix (normally "").
14636
 
exeext=$exeext
14637
 
 
14638
 
# whether the shell understands "unset".
14639
 
lt_unset=$lt_unset
14640
 
 
14641
 
# turn spaces into newlines.
14642
 
SP2NL=$lt_lt_SP2NL
14643
 
 
14644
 
# turn newlines into spaces.
14645
 
NL2SP=$lt_lt_NL2SP
14646
 
 
14647
 
# How to create reloadable object files.
14648
 
reload_flag=$lt_reload_flag
14649
 
reload_cmds=$lt_reload_cmds
14650
 
 
14651
 
# An object symbol dumper.
14652
 
OBJDUMP=$lt_OBJDUMP
14653
 
 
14654
 
# Method to check whether dependent libraries are shared objects.
14655
 
deplibs_check_method=$lt_deplibs_check_method
14656
 
 
14657
 
# Command to use when deplibs_check_method == "file_magic".
14658
 
file_magic_cmd=$lt_file_magic_cmd
14659
 
 
14660
 
# The archiver.
14661
 
AR=$lt_AR
14662
 
AR_FLAGS=$lt_AR_FLAGS
14663
 
 
14664
 
# A symbol stripping program.
14665
 
STRIP=$lt_STRIP
14666
 
 
14667
 
# Commands used to install an old-style archive.
14668
 
RANLIB=$lt_RANLIB
14669
 
old_postinstall_cmds=$lt_old_postinstall_cmds
14670
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14671
 
 
14672
 
# A C compiler.
14673
 
LTCC=$lt_CC
14674
 
 
14675
 
# LTCC compiler flags.
14676
 
LTCFLAGS=$lt_CFLAGS
14677
 
 
14678
 
# Take the output of nm and produce a listing of raw symbols and C names.
14679
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14680
 
 
14681
 
# Transform the output of nm in a proper C declaration.
14682
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14683
 
 
14684
 
# Transform the output of nm in a C name address pair.
14685
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14686
 
 
14687
 
# Transform the output of nm in a C name address pair when lib prefix is needed.
14688
 
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14689
 
 
14690
 
# The name of the directory that contains temporary libtool files.
14691
 
objdir=$objdir
14692
 
 
14693
 
# Shell to use when invoking shell scripts.
14694
 
SHELL=$lt_SHELL
14695
 
 
14696
 
# An echo program that does not interpret backslashes.
14697
 
ECHO=$lt_ECHO
14698
 
 
14699
 
# Used to examine libraries when file_magic_cmd begins with "file".
14700
 
MAGIC_CMD=$MAGIC_CMD
14701
 
 
14702
 
# Must we lock files when doing compilation?
14703
 
need_locks=$lt_need_locks
14704
 
 
14705
 
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14706
 
DSYMUTIL=$lt_DSYMUTIL
14707
 
 
14708
 
# Tool to change global to local symbols on Mac OS X.
14709
 
NMEDIT=$lt_NMEDIT
14710
 
 
14711
 
# Tool to manipulate fat objects and archives on Mac OS X.
14712
 
LIPO=$lt_LIPO
14713
 
 
14714
 
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
14715
 
OTOOL=$lt_OTOOL
14716
 
 
14717
 
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14718
 
OTOOL64=$lt_OTOOL64
14719
 
 
14720
 
# Old archive suffix (normally "a").
14721
 
libext=$libext
14722
 
 
14723
 
# Shared library suffix (normally ".so").
14724
 
shrext_cmds=$lt_shrext_cmds
14725
 
 
14726
 
# The commands to extract the exported symbol list from a shared archive.
14727
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
14728
 
 
14729
 
# Variables whose values should be saved in libtool wrapper scripts and
14730
 
# restored at link time.
14731
 
variables_saved_for_relink=$lt_variables_saved_for_relink
14732
 
 
14733
 
# Do we need the "lib" prefix for modules?
14734
 
need_lib_prefix=$need_lib_prefix
14735
 
 
14736
 
# Do we need a version for libraries?
14737
 
need_version=$need_version
14738
 
 
14739
 
# Library versioning type.
14740
 
version_type=$version_type
14741
 
 
14742
 
# Shared library runtime path variable.
14743
 
runpath_var=$runpath_var
14744
 
 
14745
 
# Shared library path variable.
14746
 
shlibpath_var=$shlibpath_var
14747
 
 
14748
 
# Is shlibpath searched before the hard-coded library search path?
14749
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14750
 
 
14751
 
# Format of library name prefix.
14752
 
libname_spec=$lt_libname_spec
14753
 
 
14754
 
# List of archive names.  First name is the real one, the rest are links.
14755
 
# The last name is the one that the linker finds with -lNAME
14756
 
library_names_spec=$lt_library_names_spec
14757
 
 
14758
 
# The coded name of the library, if different from the real name.
14759
 
soname_spec=$lt_soname_spec
14760
 
 
14761
 
# Command to use after installation of a shared archive.
14762
 
postinstall_cmds=$lt_postinstall_cmds
14763
 
 
14764
 
# Command to use after uninstallation of a shared archive.
14765
 
postuninstall_cmds=$lt_postuninstall_cmds
14766
 
 
14767
 
# Commands used to finish a libtool library installation in a directory.
14768
 
finish_cmds=$lt_finish_cmds
14769
 
 
14770
 
# As "finish_cmds", except a single script fragment to be evaled but
14771
 
# not shown.
14772
 
finish_eval=$lt_finish_eval
14773
 
 
14774
 
# Whether we should hardcode library paths into libraries.
14775
 
hardcode_into_libs=$hardcode_into_libs
14776
 
 
14777
 
# Compile-time system search path for libraries.
14778
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14779
 
 
14780
 
# Run-time system search path for libraries.
14781
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14782
 
 
14783
 
# Whether dlopen is supported.
14784
 
dlopen_support=$enable_dlopen
14785
 
 
14786
 
# Whether dlopen of programs is supported.
14787
 
dlopen_self=$enable_dlopen_self
14788
 
 
14789
 
# Whether dlopen of statically linked programs is supported.
14790
 
dlopen_self_static=$enable_dlopen_self_static
14791
 
 
14792
 
# Commands to strip libraries.
14793
 
old_striplib=$lt_old_striplib
14794
 
striplib=$lt_striplib
14795
 
 
14796
 
 
14797
 
# The linker used to build libraries.
14798
 
LD=$lt_LD
14799
 
 
14800
 
# Commands used to build an old-style archive.
14801
 
old_archive_cmds=$lt_old_archive_cmds
14802
 
 
14803
 
# A language specific compiler.
14804
 
CC=$lt_compiler
14805
 
 
14806
 
# Is the compiler the GNU compiler?
14807
 
with_gcc=$GCC
14808
 
 
14809
 
# Compiler flag to turn off builtin functions.
14810
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14811
 
 
14812
 
# How to pass a linker flag through the compiler.
14813
 
wl=$lt_lt_prog_compiler_wl
14814
 
 
14815
 
# Additional compiler flags for building library objects.
14816
 
pic_flag=$lt_lt_prog_compiler_pic
14817
 
 
14818
 
# Compiler flag to prevent dynamic linking.
14819
 
link_static_flag=$lt_lt_prog_compiler_static
14820
 
 
14821
 
# Does compiler simultaneously support -c and -o options?
14822
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14823
 
 
14824
 
# Whether or not to add -lc for building shared libraries.
14825
 
build_libtool_need_lc=$archive_cmds_need_lc
14826
 
 
14827
 
# Whether or not to disallow shared libs when runtime libs are static.
14828
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14829
 
 
14830
 
# Compiler flag to allow reflexive dlopens.
14831
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14832
 
 
14833
 
# Compiler flag to generate shared objects directly from archives.
14834
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
14835
 
 
14836
 
# Whether the compiler copes with passing no objects directly.
14837
 
compiler_needs_object=$lt_compiler_needs_object
14838
 
 
14839
 
# Create an old-style archive from a shared archive.
14840
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14841
 
 
14842
 
# Create a temporary old-style archive to link instead of a shared archive.
14843
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14844
 
 
14845
 
# Commands used to build a shared archive.
14846
 
archive_cmds=$lt_archive_cmds
14847
 
archive_expsym_cmds=$lt_archive_expsym_cmds
14848
 
 
14849
 
# Commands used to build a loadable module if different from building
14850
 
# a shared archive.
14851
 
module_cmds=$lt_module_cmds
14852
 
module_expsym_cmds=$lt_module_expsym_cmds
14853
 
 
14854
 
# Whether we are building with GNU ld or not.
14855
 
with_gnu_ld=$lt_with_gnu_ld
14856
 
 
14857
 
# Flag that allows shared libraries with undefined symbols to be built.
14858
 
allow_undefined_flag=$lt_allow_undefined_flag
14859
 
 
14860
 
# Flag that enforces no undefined symbols.
14861
 
no_undefined_flag=$lt_no_undefined_flag
14862
 
 
14863
 
# Flag to hardcode \$libdir into a binary during linking.
14864
 
# This must work even if \$libdir does not exist
14865
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14866
 
 
14867
 
# If ld is used when linking, flag to hardcode \$libdir into a binary
14868
 
# during linking.  This must work even if \$libdir does not exist.
14869
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14870
 
 
14871
 
# Whether we need a single "-rpath" flag with a separated argument.
14872
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
14873
 
 
14874
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14875
 
# DIR into the resulting binary.
14876
 
hardcode_direct=$hardcode_direct
14877
 
 
14878
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14879
 
# DIR into the resulting binary and the resulting library dependency is
14880
 
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14881
 
# library is relocated.
14882
 
hardcode_direct_absolute=$hardcode_direct_absolute
14883
 
 
14884
 
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14885
 
# into the resulting binary.
14886
 
hardcode_minus_L=$hardcode_minus_L
14887
 
 
14888
 
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14889
 
# into the resulting binary.
14890
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
14891
 
 
14892
 
# Set to "yes" if building a shared library automatically hardcodes DIR
14893
 
# into the library and all subsequent libraries and executables linked
14894
 
# against it.
14895
 
hardcode_automatic=$hardcode_automatic
14896
 
 
14897
 
# Set to yes if linker adds runtime paths of dependent libraries
14898
 
# to runtime path list.
14899
 
inherit_rpath=$inherit_rpath
14900
 
 
14901
 
# Whether libtool must link a program against all its dependency libraries.
14902
 
link_all_deplibs=$link_all_deplibs
14903
 
 
14904
 
# Fix the shell variable \$srcfile for the compiler.
14905
 
fix_srcfile_path=$lt_fix_srcfile_path
14906
 
 
14907
 
# Set to "yes" if exported symbols are required.
14908
 
always_export_symbols=$always_export_symbols
14909
 
 
14910
 
# The commands to list exported symbols.
14911
 
export_symbols_cmds=$lt_export_symbols_cmds
14912
 
 
14913
 
# Symbols that should not be listed in the preloaded symbols.
14914
 
exclude_expsyms=$lt_exclude_expsyms
14915
 
 
14916
 
# Symbols that must always be exported.
14917
 
include_expsyms=$lt_include_expsyms
14918
 
 
14919
 
# Commands necessary for linking programs (against libraries) with templates.
14920
 
prelink_cmds=$lt_prelink_cmds
14921
 
 
14922
 
# Specify filename containing input files.
14923
 
file_list_spec=$lt_file_list_spec
14924
 
 
14925
 
# How to hardcode a shared library path into an executable.
14926
 
hardcode_action=$hardcode_action
14927
 
 
14928
 
# ### END LIBTOOL CONFIG
14929
 
 
14930
 
_LT_EOF
14931
 
 
14932
 
  case $host_os in
14933
 
  aix3*)
14934
 
    cat <<\_LT_EOF >> "$cfgfile"
14935
 
# AIX sometimes has problems with the GCC collect2 program.  For some
14936
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
14937
 
# vanish in a puff of smoke.
14938
 
if test "X${COLLECT_NAMES+set}" != Xset; then
14939
 
  COLLECT_NAMES=
14940
 
  export COLLECT_NAMES
14941
 
fi
14942
 
_LT_EOF
14943
 
    ;;
14944
 
  esac
14945
 
 
14946
 
 
14947
 
ltmain="$ac_aux_dir/ltmain.sh"
14948
 
 
14949
 
 
14950
 
  # We use sed instead of cat because bash on DJGPP gets confused if
14951
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14952
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
14953
 
  # is reportedly fixed, but why not run on old versions too?
14954
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14955
 
    || (rm -f "$cfgfile"; exit 1)
14956
 
 
14957
 
  case $xsi_shell in
14958
 
  yes)
14959
 
    cat << \_LT_EOF >> "$cfgfile"
14960
 
 
14961
 
# func_dirname file append nondir_replacement
14962
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14963
 
# otherwise set result to NONDIR_REPLACEMENT.
14964
 
func_dirname ()
14965
 
{
14966
 
  case ${1} in
14967
 
    */*) func_dirname_result="${1%/*}${2}" ;;
14968
 
    *  ) func_dirname_result="${3}" ;;
14969
 
  esac
14970
 
}
14971
 
 
14972
 
# func_basename file
14973
 
func_basename ()
14974
 
{
14975
 
  func_basename_result="${1##*/}"
14976
 
}
14977
 
 
14978
 
# func_dirname_and_basename file append nondir_replacement
14979
 
# perform func_basename and func_dirname in a single function
14980
 
# call:
14981
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
14982
 
#             add APPEND to the result, otherwise set result
14983
 
#             to NONDIR_REPLACEMENT.
14984
 
#             value returned in "$func_dirname_result"
14985
 
#   basename: Compute filename of FILE.
14986
 
#             value retuned in "$func_basename_result"
14987
 
# Implementation must be kept synchronized with func_dirname
14988
 
# and func_basename. For efficiency, we do not delegate to
14989
 
# those functions but instead duplicate the functionality here.
14990
 
func_dirname_and_basename ()
14991
 
{
14992
 
  case ${1} in
14993
 
    */*) func_dirname_result="${1%/*}${2}" ;;
14994
 
    *  ) func_dirname_result="${3}" ;;
14995
 
  esac
14996
 
  func_basename_result="${1##*/}"
14997
 
}
14998
 
 
14999
 
# func_stripname prefix suffix name
15000
 
# strip PREFIX and SUFFIX off of NAME.
15001
 
# PREFIX and SUFFIX must not contain globbing or regex special
15002
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
15003
 
# dot (in which case that matches only a dot).
15004
 
func_stripname ()
15005
 
{
15006
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15007
 
  # positional parameters, so assign one to ordinary parameter first.
15008
 
  func_stripname_result=${3}
15009
 
  func_stripname_result=${func_stripname_result#"${1}"}
15010
 
  func_stripname_result=${func_stripname_result%"${2}"}
15011
 
}
15012
 
 
15013
 
# func_opt_split
15014
 
func_opt_split ()
15015
 
{
15016
 
  func_opt_split_opt=${1%%=*}
15017
 
  func_opt_split_arg=${1#*=}
15018
 
}
15019
 
 
15020
 
# func_lo2o object
15021
 
func_lo2o ()
15022
 
{
15023
 
  case ${1} in
15024
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15025
 
    *)    func_lo2o_result=${1} ;;
15026
 
  esac
15027
 
}
15028
 
 
15029
 
# func_xform libobj-or-source
15030
 
func_xform ()
15031
 
{
15032
 
  func_xform_result=${1%.*}.lo
15033
 
}
15034
 
 
15035
 
# func_arith arithmetic-term...
15036
 
func_arith ()
15037
 
{
15038
 
  func_arith_result=$(( $* ))
15039
 
}
15040
 
 
15041
 
# func_len string
15042
 
# STRING may not start with a hyphen.
15043
 
func_len ()
15044
 
{
15045
 
  func_len_result=${#1}
15046
 
}
15047
 
 
15048
 
_LT_EOF
15049
 
    ;;
15050
 
  *) # Bourne compatible functions.
15051
 
    cat << \_LT_EOF >> "$cfgfile"
15052
 
 
15053
 
# func_dirname file append nondir_replacement
15054
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15055
 
# otherwise set result to NONDIR_REPLACEMENT.
15056
 
func_dirname ()
15057
 
{
15058
 
  # Extract subdirectory from the argument.
15059
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15060
 
  if test "X$func_dirname_result" = "X${1}"; then
15061
 
    func_dirname_result="${3}"
15062
 
  else
15063
 
    func_dirname_result="$func_dirname_result${2}"
15064
 
  fi
15065
 
}
15066
 
 
15067
 
# func_basename file
15068
 
func_basename ()
15069
 
{
15070
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15071
 
}
15072
 
 
15073
 
 
15074
 
# func_stripname prefix suffix name
15075
 
# strip PREFIX and SUFFIX off of NAME.
15076
 
# PREFIX and SUFFIX must not contain globbing or regex special
15077
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
15078
 
# dot (in which case that matches only a dot).
15079
 
# func_strip_suffix prefix name
15080
 
func_stripname ()
15081
 
{
15082
 
  case ${2} in
15083
 
    .*) func_stripname_result=`$ECHO "X${3}" \
15084
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15085
 
    *)  func_stripname_result=`$ECHO "X${3}" \
15086
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15087
 
  esac
15088
 
}
15089
 
 
15090
 
# sed scripts:
15091
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15092
 
my_sed_long_arg='1s/^-[^=]*=//'
15093
 
 
15094
 
# func_opt_split
15095
 
func_opt_split ()
15096
 
{
15097
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15098
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15099
 
}
15100
 
 
15101
 
# func_lo2o object
15102
 
func_lo2o ()
15103
 
{
15104
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15105
 
}
15106
 
 
15107
 
# func_xform libobj-or-source
15108
 
func_xform ()
15109
 
{
15110
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15111
 
}
15112
 
 
15113
 
# func_arith arithmetic-term...
15114
 
func_arith ()
15115
 
{
15116
 
  func_arith_result=`expr "$@"`
15117
 
}
15118
 
 
15119
 
# func_len string
15120
 
# STRING may not start with a hyphen.
15121
 
func_len ()
15122
 
{
15123
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15124
 
}
15125
 
 
15126
 
_LT_EOF
15127
 
esac
15128
 
 
15129
 
case $lt_shell_append in
15130
 
  yes)
15131
 
    cat << \_LT_EOF >> "$cfgfile"
15132
 
 
15133
 
# func_append var value
15134
 
# Append VALUE to the end of shell variable VAR.
15135
 
func_append ()
15136
 
{
15137
 
  eval "$1+=\$2"
15138
 
}
15139
 
_LT_EOF
15140
 
    ;;
15141
 
  *)
15142
 
    cat << \_LT_EOF >> "$cfgfile"
15143
 
 
15144
 
# func_append var value
15145
 
# Append VALUE to the end of shell variable VAR.
15146
 
func_append ()
15147
 
{
15148
 
  eval "$1=\$$1\$2"
15149
 
}
15150
 
 
15151
 
_LT_EOF
15152
 
    ;;
15153
 
  esac
15154
 
 
15155
 
 
15156
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15157
 
    || (rm -f "$cfgfile"; exit 1)
15158
 
 
15159
 
  mv -f "$cfgfile" "$ofile" ||
15160
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15161
 
  chmod +x "$ofile"
15162
 
 
15163
 
 ;;
15164
 
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
15165
 
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
15166
 
      esac ;;
15167
 
    "po/stamp-it":C)
15168
 
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
15169
 
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
15170
 
    fi
15171
 
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
15172
 
    >"po/stamp-it.tmp"
15173
 
    sed '/^#/d
15174
 
         s/^[[].*] *//
15175
 
         /^[    ]*$/d
15176
 
        '"s|^|  $ac_top_srcdir/|" \
15177
 
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
15178
 
 
15179
 
    sed '/^POTFILES =/,/[^\\]$/ {
15180
 
                /^POTFILES =/!d
15181
 
                r po/POTFILES
15182
 
          }
15183
 
         ' "po/Makefile.in" >"po/Makefile"
15184
 
    rm -f "po/Makefile.tmp"
15185
 
    mv "po/stamp-it.tmp" "po/stamp-it"
15186
 
   ;;
15187
 
 
15188
 
  esac
15189
 
done # for ac_tag
15190
 
 
15191
 
 
15192
 
as_fn_exit 0
15193
 
_ACEOF
15194
 
ac_clean_files=$ac_clean_files_save
15195
 
 
15196
 
test $ac_write_fail = 0 ||
15197
 
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15198
 
 
15199
 
 
15200
 
# configure is writing to config.log, and then calls config.status.
15201
 
# config.status does its own redirection, appending to config.log.
15202
 
# Unfortunately, on DOS this fails, as config.log is still kept open
15203
 
# by configure, so config.status won't be able to write to it; its
15204
 
# output is simply discarded.  So we exec the FD to /dev/null,
15205
 
# effectively closing config.log, so it can be properly (re)opened and
15206
 
# appended to by config.status.  When coming back to configure, we
15207
 
# need to make the FD available again.
15208
 
if test "$no_create" != yes; then
15209
 
  ac_cs_success=:
15210
 
  ac_config_status_args=
15211
 
  test "$silent" = yes &&
15212
 
    ac_config_status_args="$ac_config_status_args --quiet"
15213
 
  exec 5>/dev/null
15214
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15215
 
  exec 5>>config.log
15216
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15217
 
  # would make configure fail if this is the last instruction.
15218
 
  $ac_cs_success || as_fn_exit 1
15219
 
fi
15220
 
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15221
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15222
 
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15223
 
fi
15224
 
 
15225
 
 
15226
 
echo
15227
 
echo SUMMARY:
15228
 
echo
15229
 
echo Gpredict version... : $VERSION
15230
 
echo Glib version....... : $GLIB_V
15231
 
echo Gio version........ : $GIO_V
15232
 
echo Gthread version.... : $GTHR_V
15233
 
echo Gdk version........ : $GDK_V
15234
 
echo Gtk+ version....... : $GTK_V
15235
 
echo GooCanvas version.. : $GOOC_V
15236
 
echo Liburl version..... : $CURL_V
15237