~sbeattie/apparmor/apparmor-ubuntu-2.6.0-merge

« back to all changes in this revision

Viewing changes to libraries/libapparmor/autom4te.cache/output.0

  • Committer: Steve Beattie
  • Date: 2011-02-24 09:40:38 UTC
  • mfrom: (1306.1.312 upstream)
  • Revision ID: sbeattie@ubuntu.com-20110224094038-hhe6xhjsnqink6ob
New upstream 2.6.0 release (LP: #724193)

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 @S|@? 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 "@S|@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 @S|@as_val. Take advantage of shells that can avoid forks. The arguments
 
345
@%:@ must be portable across @S|@(()) 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 @S|@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
LIB@&t@OBJS=
 
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="configure.in"
 
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
LIB@&t@OBJS
 
747
OTOOL64
 
748
OTOOL
 
749
LIPO
 
750
NMEDIT
 
751
DSYMUTIL
 
752
lt_ECHO
 
753
RANLIB
 
754
AR
 
755
OBJDUMP
 
756
LN_S
 
757
NM
 
758
ac_ct_DUMPBIN
 
759
DUMPBIN
 
760
LD
 
761
FGREP
 
762
host_os
 
763
host_vendor
 
764
host_cpu
 
765
host
 
766
build_os
 
767
build_vendor
 
768
build_cpu
 
769
build
 
770
LIBTOOL
 
771
EGREP
 
772
GREP
 
773
CPP
 
774
BUILD_ROOTLIB_FALSE
 
775
BUILD_ROOTLIB_TRUE
 
776
HAVE_RUBY_FALSE
 
777
HAVE_RUBY_TRUE
 
778
HAVE_PERL_FALSE
 
779
HAVE_PERL_TRUE
 
780
HAVE_PYTHON_FALSE
 
781
HAVE_PYTHON_TRUE
 
782
RUBY
 
783
PERL
 
784
pkgpyexecdir
 
785
pyexecdir
 
786
pkgpythondir
 
787
pythondir
 
788
PYTHON_PLATFORM
 
789
PYTHON_EXEC_PREFIX
 
790
PYTHON_PREFIX
 
791
PYTHON_EXTRA_LDFLAGS
 
792
PYTHON_EXTRA_LIBS
 
793
PYTHON_SITE_PKG
 
794
PYTHON_LDFLAGS
 
795
PYTHON_CPPFLAGS
 
796
PYTHON_VERSION
 
797
PYTHON
 
798
POD2MAN
 
799
SWIG
 
800
SED
 
801
YFLAGS
 
802
YACC
 
803
LEXLIB
 
804
am__fastdepCC_FALSE
 
805
am__fastdepCC_TRUE
 
806
CCDEPMODE
 
807
AMDEPBACKSLASH
 
808
AMDEP_FALSE
 
809
AMDEP_TRUE
 
810
am__quote
 
811
am__include
 
812
DEPDIR
 
813
OBJEXT
 
814
EXEEXT
 
815
ac_ct_CC
 
816
CPPFLAGS
 
817
LDFLAGS
 
818
CFLAGS
 
819
CC
 
820
LEX_OUTPUT_ROOT
 
821
LEX
 
822
am__untar
 
823
am__tar
 
824
AMTAR
 
825
am__leading_dot
 
826
SET_MAKE
 
827
AWK
 
828
mkdir_p
 
829
MKDIR_P
 
830
INSTALL_STRIP_PROGRAM
 
831
STRIP
 
832
install_sh
 
833
MAKEINFO
 
834
AUTOHEADER
 
835
AUTOMAKE
 
836
AUTOCONF
 
837
ACLOCAL
 
838
VERSION
 
839
PACKAGE
 
840
CYGPATH_W
 
841
am__isrc
 
842
INSTALL_DATA
 
843
INSTALL_SCRIPT
 
844
INSTALL_PROGRAM
 
845
target_alias
 
846
host_alias
 
847
build_alias
 
848
LIBS
 
849
ECHO_T
 
850
ECHO_N
 
851
ECHO_C
 
852
DEFS
 
853
mandir
 
854
localedir
 
855
libdir
 
856
psdir
 
857
pdfdir
 
858
dvidir
 
859
htmldir
 
860
infodir
 
861
docdir
 
862
oldincludedir
 
863
includedir
 
864
localstatedir
 
865
sharedstatedir
 
866
sysconfdir
 
867
datadir
 
868
datarootdir
 
869
libexecdir
 
870
sbindir
 
871
bindir
 
872
program_transform_name
 
873
prefix
 
874
exec_prefix
 
875
PACKAGE_URL
 
876
PACKAGE_BUGREPORT
 
877
PACKAGE_STRING
 
878
PACKAGE_VERSION
 
879
PACKAGE_TARNAME
 
880
PACKAGE_NAME
 
881
PATH_SEPARATOR
 
882
SHELL'
 
883
ac_subst_files=''
 
884
ac_user_opts='
 
885
enable_option_checking
 
886
enable_dependency_tracking
 
887
with_python
 
888
with_perl
 
889
with_ruby
 
890
enable_shared
 
891
enable_static
 
892
with_pic
 
893
enable_fast_install
 
894
with_gnu_ld
 
895
enable_libtool_lock
 
896
'
 
897
      ac_precious_vars='build_alias
 
898
host_alias
 
899
target_alias
 
900
CC
 
901
CFLAGS
 
902
LDFLAGS
 
903
LIBS
 
904
CPPFLAGS
 
905
YACC
 
906
YFLAGS
 
907
PYTHON_VERSION
 
908
CPP'
 
909
 
 
910
 
 
911
# Initialize some variables set by options.
 
912
ac_init_help=
 
913
ac_init_version=false
 
914
ac_unrecognized_opts=
 
915
ac_unrecognized_sep=
 
916
# The variables have the same names as the options, with
 
917
# dashes changed to underlines.
 
918
cache_file=/dev/null
 
919
exec_prefix=NONE
 
920
no_create=
 
921
no_recursion=
 
922
prefix=NONE
 
923
program_prefix=NONE
 
924
program_suffix=NONE
 
925
program_transform_name=s,x,x,
 
926
silent=
 
927
site=
 
928
srcdir=
 
929
verbose=
 
930
x_includes=NONE
 
931
x_libraries=NONE
 
932
 
 
933
# Installation directory options.
 
934
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
935
# and all the variables that are supposed to be based on exec_prefix
 
936
# by default will actually change.
 
937
# Use braces instead of parens because sh, perl, etc. also accept them.
 
938
# (The list follows the same order as the GNU Coding Standards.)
 
939
bindir='${exec_prefix}/bin'
 
940
sbindir='${exec_prefix}/sbin'
 
941
libexecdir='${exec_prefix}/libexec'
 
942
datarootdir='${prefix}/share'
 
943
datadir='${datarootdir}'
 
944
sysconfdir='${prefix}/etc'
 
945
sharedstatedir='${prefix}/com'
 
946
localstatedir='${prefix}/var'
 
947
includedir='${prefix}/include'
 
948
oldincludedir='/usr/include'
 
949
docdir='${datarootdir}/doc/${PACKAGE}'
 
950
infodir='${datarootdir}/info'
 
951
htmldir='${docdir}'
 
952
dvidir='${docdir}'
 
953
pdfdir='${docdir}'
 
954
psdir='${docdir}'
 
955
libdir='${exec_prefix}/lib'
 
956
localedir='${datarootdir}/locale'
 
957
mandir='${datarootdir}/man'
 
958
 
 
959
ac_prev=
 
960
ac_dashdash=
 
961
for ac_option
 
962
do
 
963
  # If the previous option needs an argument, assign it.
 
964
  if test -n "$ac_prev"; then
 
965
    eval $ac_prev=\$ac_option
 
966
    ac_prev=
 
967
    continue
 
968
  fi
 
969
 
 
970
  case $ac_option in
 
971
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
972
  *=)   ac_optarg= ;;
 
973
  *)    ac_optarg=yes ;;
 
974
  esac
 
975
 
 
976
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
977
 
 
978
  case $ac_dashdash$ac_option in
 
979
  --)
 
980
    ac_dashdash=yes ;;
 
981
 
 
982
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
983
    ac_prev=bindir ;;
 
984
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
985
    bindir=$ac_optarg ;;
 
986
 
 
987
  -build | --build | --buil | --bui | --bu)
 
988
    ac_prev=build_alias ;;
 
989
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
990
    build_alias=$ac_optarg ;;
 
991
 
 
992
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
993
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
994
    ac_prev=cache_file ;;
 
995
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
996
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
997
    cache_file=$ac_optarg ;;
 
998
 
 
999
  --config-cache | -C)
 
1000
    cache_file=config.cache ;;
 
1001
 
 
1002
  -datadir | --datadir | --datadi | --datad)
 
1003
    ac_prev=datadir ;;
 
1004
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
1005
    datadir=$ac_optarg ;;
 
1006
 
 
1007
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1008
  | --dataroo | --dataro | --datar)
 
1009
    ac_prev=datarootdir ;;
 
1010
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1011
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1012
    datarootdir=$ac_optarg ;;
 
1013
 
 
1014
  -disable-* | --disable-*)
 
1015
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1016
    # Reject names that are not valid shell variable names.
 
1017
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1018
      as_fn_error $? "invalid feature name: $ac_useropt"
 
1019
    ac_useropt_orig=$ac_useropt
 
1020
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1021
    case $ac_user_opts in
 
1022
      *"
 
1023
"enable_$ac_useropt"
 
1024
"*) ;;
 
1025
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1026
         ac_unrecognized_sep=', ';;
 
1027
    esac
 
1028
    eval enable_$ac_useropt=no ;;
 
1029
 
 
1030
  -docdir | --docdir | --docdi | --doc | --do)
 
1031
    ac_prev=docdir ;;
 
1032
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1033
    docdir=$ac_optarg ;;
 
1034
 
 
1035
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1036
    ac_prev=dvidir ;;
 
1037
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1038
    dvidir=$ac_optarg ;;
 
1039
 
 
1040
  -enable-* | --enable-*)
 
1041
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1042
    # Reject names that are not valid shell variable names.
 
1043
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1044
      as_fn_error $? "invalid feature name: $ac_useropt"
 
1045
    ac_useropt_orig=$ac_useropt
 
1046
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1047
    case $ac_user_opts in
 
1048
      *"
 
1049
"enable_$ac_useropt"
 
1050
"*) ;;
 
1051
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1052
         ac_unrecognized_sep=', ';;
 
1053
    esac
 
1054
    eval enable_$ac_useropt=\$ac_optarg ;;
 
1055
 
 
1056
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
1057
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
1058
  | --exec | --exe | --ex)
 
1059
    ac_prev=exec_prefix ;;
 
1060
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
1061
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
1062
  | --exec=* | --exe=* | --ex=*)
 
1063
    exec_prefix=$ac_optarg ;;
 
1064
 
 
1065
  -gas | --gas | --ga | --g)
 
1066
    # Obsolete; use --with-gas.
 
1067
    with_gas=yes ;;
 
1068
 
 
1069
  -help | --help | --hel | --he | -h)
 
1070
    ac_init_help=long ;;
 
1071
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
1072
    ac_init_help=recursive ;;
 
1073
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
1074
    ac_init_help=short ;;
 
1075
 
 
1076
  -host | --host | --hos | --ho)
 
1077
    ac_prev=host_alias ;;
 
1078
  -host=* | --host=* | --hos=* | --ho=*)
 
1079
    host_alias=$ac_optarg ;;
 
1080
 
 
1081
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1082
    ac_prev=htmldir ;;
 
1083
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1084
  | --ht=*)
 
1085
    htmldir=$ac_optarg ;;
 
1086
 
 
1087
  -includedir | --includedir | --includedi | --included | --include \
 
1088
  | --includ | --inclu | --incl | --inc)
 
1089
    ac_prev=includedir ;;
 
1090
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
1091
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
1092
    includedir=$ac_optarg ;;
 
1093
 
 
1094
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
1095
    ac_prev=infodir ;;
 
1096
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
1097
    infodir=$ac_optarg ;;
 
1098
 
 
1099
  -libdir | --libdir | --libdi | --libd)
 
1100
    ac_prev=libdir ;;
 
1101
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
1102
    libdir=$ac_optarg ;;
 
1103
 
 
1104
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
1105
  | --libexe | --libex | --libe)
 
1106
    ac_prev=libexecdir ;;
 
1107
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
1108
  | --libexe=* | --libex=* | --libe=*)
 
1109
    libexecdir=$ac_optarg ;;
 
1110
 
 
1111
  -localedir | --localedir | --localedi | --localed | --locale)
 
1112
    ac_prev=localedir ;;
 
1113
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1114
    localedir=$ac_optarg ;;
 
1115
 
 
1116
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
1117
  | --localstate | --localstat | --localsta | --localst | --locals)
 
1118
    ac_prev=localstatedir ;;
 
1119
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
1120
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
1121
    localstatedir=$ac_optarg ;;
 
1122
 
 
1123
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
1124
    ac_prev=mandir ;;
 
1125
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
1126
    mandir=$ac_optarg ;;
 
1127
 
 
1128
  -nfp | --nfp | --nf)
 
1129
    # Obsolete; use --without-fp.
 
1130
    with_fp=no ;;
 
1131
 
 
1132
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
1133
  | --no-cr | --no-c | -n)
 
1134
    no_create=yes ;;
 
1135
 
 
1136
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
1137
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
1138
    no_recursion=yes ;;
 
1139
 
 
1140
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
1141
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
1142
  | --oldin | --oldi | --old | --ol | --o)
 
1143
    ac_prev=oldincludedir ;;
 
1144
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
1145
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
1146
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
1147
    oldincludedir=$ac_optarg ;;
 
1148
 
 
1149
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
1150
    ac_prev=prefix ;;
 
1151
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
1152
    prefix=$ac_optarg ;;
 
1153
 
 
1154
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
1155
  | --program-pre | --program-pr | --program-p)
 
1156
    ac_prev=program_prefix ;;
 
1157
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
1158
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
1159
    program_prefix=$ac_optarg ;;
 
1160
 
 
1161
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
1162
  | --program-suf | --program-su | --program-s)
 
1163
    ac_prev=program_suffix ;;
 
1164
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
1165
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
1166
    program_suffix=$ac_optarg ;;
 
1167
 
 
1168
  -program-transform-name | --program-transform-name \
 
1169
  | --program-transform-nam | --program-transform-na \
 
1170
  | --program-transform-n | --program-transform- \
 
1171
  | --program-transform | --program-transfor \
 
1172
  | --program-transfo | --program-transf \
 
1173
  | --program-trans | --program-tran \
 
1174
  | --progr-tra | --program-tr | --program-t)
 
1175
    ac_prev=program_transform_name ;;
 
1176
  -program-transform-name=* | --program-transform-name=* \
 
1177
  | --program-transform-nam=* | --program-transform-na=* \
 
1178
  | --program-transform-n=* | --program-transform-=* \
 
1179
  | --program-transform=* | --program-transfor=* \
 
1180
  | --program-transfo=* | --program-transf=* \
 
1181
  | --program-trans=* | --program-tran=* \
 
1182
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
1183
    program_transform_name=$ac_optarg ;;
 
1184
 
 
1185
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1186
    ac_prev=pdfdir ;;
 
1187
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1188
    pdfdir=$ac_optarg ;;
 
1189
 
 
1190
  -psdir | --psdir | --psdi | --psd | --ps)
 
1191
    ac_prev=psdir ;;
 
1192
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1193
    psdir=$ac_optarg ;;
 
1194
 
 
1195
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1196
  | -silent | --silent | --silen | --sile | --sil)
 
1197
    silent=yes ;;
 
1198
 
 
1199
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
1200
    ac_prev=sbindir ;;
 
1201
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
1202
  | --sbi=* | --sb=*)
 
1203
    sbindir=$ac_optarg ;;
 
1204
 
 
1205
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
1206
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
1207
  | --sharedst | --shareds | --shared | --share | --shar \
 
1208
  | --sha | --sh)
 
1209
    ac_prev=sharedstatedir ;;
 
1210
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
1211
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
1212
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
1213
  | --sha=* | --sh=*)
 
1214
    sharedstatedir=$ac_optarg ;;
 
1215
 
 
1216
  -site | --site | --sit)
 
1217
    ac_prev=site ;;
 
1218
  -site=* | --site=* | --sit=*)
 
1219
    site=$ac_optarg ;;
 
1220
 
 
1221
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
1222
    ac_prev=srcdir ;;
 
1223
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
1224
    srcdir=$ac_optarg ;;
 
1225
 
 
1226
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
1227
  | --syscon | --sysco | --sysc | --sys | --sy)
 
1228
    ac_prev=sysconfdir ;;
 
1229
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
1230
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
1231
    sysconfdir=$ac_optarg ;;
 
1232
 
 
1233
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
1234
    ac_prev=target_alias ;;
 
1235
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
1236
    target_alias=$ac_optarg ;;
 
1237
 
 
1238
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
1239
    verbose=yes ;;
 
1240
 
 
1241
  -version | --version | --versio | --versi | --vers | -V)
 
1242
    ac_init_version=: ;;
 
1243
 
 
1244
  -with-* | --with-*)
 
1245
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1246
    # Reject names that are not valid shell variable names.
 
1247
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1248
      as_fn_error $? "invalid package name: $ac_useropt"
 
1249
    ac_useropt_orig=$ac_useropt
 
1250
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1251
    case $ac_user_opts in
 
1252
      *"
 
1253
"with_$ac_useropt"
 
1254
"*) ;;
 
1255
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1256
         ac_unrecognized_sep=', ';;
 
1257
    esac
 
1258
    eval with_$ac_useropt=\$ac_optarg ;;
 
1259
 
 
1260
  -without-* | --without-*)
 
1261
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1262
    # Reject names that are not valid shell variable names.
 
1263
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1264
      as_fn_error $? "invalid package name: $ac_useropt"
 
1265
    ac_useropt_orig=$ac_useropt
 
1266
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1267
    case $ac_user_opts in
 
1268
      *"
 
1269
"with_$ac_useropt"
 
1270
"*) ;;
 
1271
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1272
         ac_unrecognized_sep=', ';;
 
1273
    esac
 
1274
    eval with_$ac_useropt=no ;;
 
1275
 
 
1276
  --x)
 
1277
    # Obsolete; use --with-x.
 
1278
    with_x=yes ;;
 
1279
 
 
1280
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
1281
  | --x-incl | --x-inc | --x-in | --x-i)
 
1282
    ac_prev=x_includes ;;
 
1283
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
1284
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
1285
    x_includes=$ac_optarg ;;
 
1286
 
 
1287
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
1288
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
1289
    ac_prev=x_libraries ;;
 
1290
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
1291
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
1292
    x_libraries=$ac_optarg ;;
 
1293
 
 
1294
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1295
Try \`$0 --help' for more information"
 
1296
    ;;
 
1297
 
 
1298
  *=*)
 
1299
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
1300
    # Reject names that are not valid shell variable names.
 
1301
    case $ac_envvar in #(
 
1302
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1303
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1304
    esac
 
1305
    eval $ac_envvar=\$ac_optarg
 
1306
    export $ac_envvar ;;
 
1307
 
 
1308
  *)
 
1309
    # FIXME: should be removed in autoconf 3.0.
 
1310
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1311
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1312
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1313
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1314
    ;;
 
1315
 
 
1316
  esac
 
1317
done
 
1318
 
 
1319
if test -n "$ac_prev"; then
 
1320
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
1321
  as_fn_error $? "missing argument to $ac_option"
 
1322
fi
 
1323
 
 
1324
if test -n "$ac_unrecognized_opts"; then
 
1325
  case $enable_option_checking in
 
1326
    no) ;;
 
1327
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 
1328
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1329
  esac
 
1330
fi
 
1331
 
 
1332
# Check all directory arguments for consistency.
 
1333
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1334
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1335
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1336
                libdir localedir mandir
 
1337
do
 
1338
  eval ac_val=\$$ac_var
 
1339
  # Remove trailing slashes.
 
1340
  case $ac_val in
 
1341
    */ )
 
1342
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1343
      eval $ac_var=\$ac_val;;
 
1344
  esac
 
1345
  # Be sure to have absolute directory names.
 
1346
  case $ac_val in
 
1347
    [\\/$]* | ?:[\\/]* )  continue;;
 
1348
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1349
  esac
 
1350
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 
1351
done
 
1352
 
 
1353
# There might be people who depend on the old broken behavior: `$host'
 
1354
# used to hold the argument of --host etc.
 
1355
# FIXME: To remove some day.
 
1356
build=$build_alias
 
1357
host=$host_alias
 
1358
target=$target_alias
 
1359
 
 
1360
# FIXME: To remove some day.
 
1361
if test "x$host_alias" != x; then
 
1362
  if test "x$build_alias" = x; then
 
1363
    cross_compiling=maybe
 
1364
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1365
    If a cross compiler is detected then cross compile mode will be used" >&2
 
1366
  elif test "x$build_alias" != "x$host_alias"; then
 
1367
    cross_compiling=yes
 
1368
  fi
 
1369
fi
 
1370
 
 
1371
ac_tool_prefix=
 
1372
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
1373
 
 
1374
test "$silent" = yes && exec 6>/dev/null
 
1375
 
 
1376
 
 
1377
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1378
ac_ls_di=`ls -di .` &&
 
1379
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1380
  as_fn_error $? "working directory cannot be determined"
 
1381
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1382
  as_fn_error $? "pwd does not report name of working directory"
 
1383
 
 
1384
 
 
1385
# Find the source files, if location was not specified.
 
1386
if test -z "$srcdir"; then
 
1387
  ac_srcdir_defaulted=yes
 
1388
  # Try the directory containing this script, then the parent directory.
 
1389
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1390
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1391
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1392
         X"$as_myself" : 'X\(//\)$' \| \
 
1393
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1394
$as_echo X"$as_myself" |
 
1395
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1396
            s//\1/
 
1397
            q
 
1398
          }
 
1399
          /^X\(\/\/\)[^/].*/{
 
1400
            s//\1/
 
1401
            q
 
1402
          }
 
1403
          /^X\(\/\/\)$/{
 
1404
            s//\1/
 
1405
            q
 
1406
          }
 
1407
          /^X\(\/\).*/{
 
1408
            s//\1/
 
1409
            q
 
1410
          }
 
1411
          s/.*/./; q'`
 
1412
  srcdir=$ac_confdir
 
1413
  if test ! -r "$srcdir/$ac_unique_file"; then
 
1414
    srcdir=..
 
1415
  fi
 
1416
else
 
1417
  ac_srcdir_defaulted=no
 
1418
fi
 
1419
if test ! -r "$srcdir/$ac_unique_file"; then
 
1420
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1421
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 
1422
fi
 
1423
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1424
ac_abs_confdir=`(
 
1425
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 
1426
        pwd)`
 
1427
# When building in place, set srcdir=.
 
1428
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1429
  srcdir=.
 
1430
fi
 
1431
# Remove unnecessary trailing slashes from srcdir.
 
1432
# Double slashes in file names in object file debugging info
 
1433
# mess up M-x gdb in Emacs.
 
1434
case $srcdir in
 
1435
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1436
esac
 
1437
for ac_var in $ac_precious_vars; do
 
1438
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1439
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1440
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1441
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1442
done
 
1443
 
 
1444
#
 
1445
# Report the --help message.
 
1446
#
 
1447
if test "$ac_init_help" = "long"; then
 
1448
  # Omit some internal or obsolete options to make the list less imposing.
 
1449
  # This message is too long to be a string in the A/UX 3.1 sh.
 
1450
  cat <<_ACEOF
 
1451
\`configure' configures this package to adapt to many kinds of systems.
 
1452
 
 
1453
Usage: $0 [OPTION]... [VAR=VALUE]...
 
1454
 
 
1455
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
1456
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
1457
 
 
1458
Defaults for the options are specified in brackets.
 
1459
 
 
1460
Configuration:
 
1461
  -h, --help              display this help and exit
 
1462
      --help=short        display options specific to this package
 
1463
      --help=recursive    display the short help of all the included packages
 
1464
  -V, --version           display version information and exit
 
1465
  -q, --quiet, --silent   do not print \`checking ...' messages
 
1466
      --cache-file=FILE   cache test results in FILE [disabled]
 
1467
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
1468
  -n, --no-create         do not create output files
 
1469
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
1470
 
 
1471
Installation directories:
 
1472
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
1473
                          @<:@@S|@ac_default_prefix@:>@
 
1474
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
1475
                          @<:@PREFIX@:>@
 
1476
 
 
1477
By default, \`make install' will install all the files in
 
1478
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
1479
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
1480
for instance \`--prefix=\$HOME'.
 
1481
 
 
1482
For better control, use the options below.
 
1483
 
 
1484
Fine tuning of the installation directories:
 
1485
  --bindir=DIR            user executables [EPREFIX/bin]
 
1486
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1487
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1488
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1489
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1490
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1491
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1492
  --includedir=DIR        C header files [PREFIX/include]
 
1493
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1494
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1495
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1496
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1497
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1498
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1499
  --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@
 
1500
  --htmldir=DIR           html documentation [DOCDIR]
 
1501
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1502
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1503
  --psdir=DIR             ps documentation [DOCDIR]
 
1504
_ACEOF
 
1505
 
 
1506
  cat <<\_ACEOF
 
1507
 
 
1508
Program names:
 
1509
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
1510
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
1511
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
1512
 
 
1513
System types:
 
1514
  --build=BUILD     configure for building on BUILD [guessed]
 
1515
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
1516
_ACEOF
 
1517
fi
 
1518
 
 
1519
if test -n "$ac_init_help"; then
 
1520
 
 
1521
  cat <<\_ACEOF
 
1522
 
 
1523
Optional Features:
 
1524
  --disable-option-checking  ignore unrecognized --enable/--with options
 
1525
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
1526
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1527
  --disable-dependency-tracking  speeds up one-time build
 
1528
  --enable-dependency-tracking   do not reject slow dependency extractors
 
1529
  --enable-shared@<:@=PKGS@:>@  build shared libraries @<:@default=yes@:>@
 
1530
  --enable-static@<:@=PKGS@:>@  build static libraries @<:@default=yes@:>@
 
1531
  --enable-fast-install@<:@=PKGS@:>@ 
 
1532
                          optimize for fast installation @<:@default=yes@:>@
 
1533
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1534
 
 
1535
Optional Packages:
 
1536
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
1537
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1538
  --with-python           enable the python wrapper  [default=no]
 
1539
 --with-perl           enable the perl wrapper [default=no]
 
1540
 --with-ruby           enable the ruby wrapper [default=no]
 
1541
  --with-pic              try to use only PIC/non-PIC objects @<:@default=use
 
1542
                          both@:>@
 
1543
  --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
 
1544
 
 
1545
Some influential environment variables:
 
1546
  CC          C compiler command
 
1547
  CFLAGS      C compiler flags
 
1548
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
1549
              nonstandard directory <lib dir>
 
1550
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1551
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 
1552
              you have headers in a nonstandard directory <include dir>
 
1553
  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
 
1554
              the first program found out of: `bison -y', `byacc', `yacc'.
 
1555
  YFLAGS      The list of arguments that will be passed by default to @S|@YACC.
 
1556
              This script will default YFLAGS to the empty string to avoid a
 
1557
              default value of `-d' given by some make applications.
 
1558
  PYTHON_VERSION 
 
1559
              The installed Python version to use, for example '2.3'. This
 
1560
              string will be appended to the Python interpreter canonical
 
1561
              name.
 
1562
  CPP         C preprocessor
 
1563
 
 
1564
Use these variables to override the choices made by `configure' or to help
 
1565
it to find libraries and programs with nonstandard names/locations.
 
1566
 
 
1567
Report bugs to the package provider.
 
1568
_ACEOF
 
1569
ac_status=$?
 
1570
fi
 
1571
 
 
1572
if test "$ac_init_help" = "recursive"; then
 
1573
  # If there are subdirs, report their specific --help.
 
1574
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
1575
    test -d "$ac_dir" ||
 
1576
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1577
      continue
 
1578
    ac_builddir=.
 
1579
 
 
1580
case "$ac_dir" in
 
1581
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1582
*)
 
1583
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1584
  # A ".." for each directory in $ac_dir_suffix.
 
1585
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1586
  case $ac_top_builddir_sub in
 
1587
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1588
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1589
  esac ;;
 
1590
esac
 
1591
ac_abs_top_builddir=$ac_pwd
 
1592
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1593
# for backward compatibility:
 
1594
ac_top_builddir=$ac_top_build_prefix
 
1595
 
 
1596
case $srcdir in
 
1597
  .)  # We are building in place.
 
1598
    ac_srcdir=.
 
1599
    ac_top_srcdir=$ac_top_builddir_sub
 
1600
    ac_abs_top_srcdir=$ac_pwd ;;
 
1601
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1602
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1603
    ac_top_srcdir=$srcdir
 
1604
    ac_abs_top_srcdir=$srcdir ;;
 
1605
  *) # Relative name.
 
1606
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1607
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1608
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1609
esac
 
1610
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1611
 
 
1612
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1613
    # Check for guested configure.
 
1614
    if test -f "$ac_srcdir/configure.gnu"; then
 
1615
      echo &&
 
1616
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1617
    elif test -f "$ac_srcdir/configure"; then
 
1618
      echo &&
 
1619
      $SHELL "$ac_srcdir/configure" --help=recursive
 
1620
    else
 
1621
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1622
    fi || ac_status=$?
 
1623
    cd "$ac_pwd" || { ac_status=$?; break; }
 
1624
  done
 
1625
fi
 
1626
 
 
1627
test -n "$ac_init_help" && exit $ac_status
 
1628
if $ac_init_version; then
 
1629
  cat <<\_ACEOF
 
1630
configure
 
1631
generated by GNU Autoconf 2.67
 
1632
 
 
1633
Copyright (C) 2010 Free Software Foundation, Inc.
 
1634
This configure script is free software; the Free Software Foundation
 
1635
gives unlimited permission to copy, distribute and modify it.
 
1636
_ACEOF
 
1637
  exit
 
1638
fi
 
1639
 
 
1640
## ------------------------ ##
 
1641
## Autoconf initialization. ##
 
1642
## ------------------------ ##
 
1643
 
 
1644
@%:@ ac_fn_c_try_compile LINENO
 
1645
@%:@ --------------------------
 
1646
@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
 
1647
ac_fn_c_try_compile ()
 
1648
{
 
1649
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1650
  rm -f conftest.$ac_objext
 
1651
  if { { ac_try="$ac_compile"
 
1652
case "(($ac_try" in
 
1653
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1654
  *) ac_try_echo=$ac_try;;
 
1655
esac
 
1656
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1657
$as_echo "$ac_try_echo"; } >&5
 
1658
  (eval "$ac_compile") 2>conftest.err
 
1659
  ac_status=$?
 
1660
  if test -s conftest.err; then
 
1661
    grep -v '^ *+' conftest.err >conftest.er1
 
1662
    cat conftest.er1 >&5
 
1663
    mv -f conftest.er1 conftest.err
 
1664
  fi
 
1665
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1666
  test $ac_status = 0; } && {
 
1667
         test -z "$ac_c_werror_flag" ||
 
1668
         test ! -s conftest.err
 
1669
       } && test -s conftest.$ac_objext; then :
 
1670
  ac_retval=0
 
1671
else
 
1672
  $as_echo "$as_me: failed program was:" >&5
 
1673
sed 's/^/| /' conftest.$ac_ext >&5
 
1674
 
 
1675
        ac_retval=1
 
1676
fi
 
1677
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1678
  as_fn_set_status $ac_retval
 
1679
 
 
1680
} @%:@ ac_fn_c_try_compile
 
1681
 
 
1682
@%:@ ac_fn_c_try_link LINENO
 
1683
@%:@ -----------------------
 
1684
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
 
1685
ac_fn_c_try_link ()
 
1686
{
 
1687
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1688
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1689
  if { { ac_try="$ac_link"
 
1690
case "(($ac_try" in
 
1691
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1692
  *) ac_try_echo=$ac_try;;
 
1693
esac
 
1694
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1695
$as_echo "$ac_try_echo"; } >&5
 
1696
  (eval "$ac_link") 2>conftest.err
 
1697
  ac_status=$?
 
1698
  if test -s conftest.err; then
 
1699
    grep -v '^ *+' conftest.err >conftest.er1
 
1700
    cat conftest.er1 >&5
 
1701
    mv -f conftest.er1 conftest.err
 
1702
  fi
 
1703
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1704
  test $ac_status = 0; } && {
 
1705
         test -z "$ac_c_werror_flag" ||
 
1706
         test ! -s conftest.err
 
1707
       } && test -s conftest$ac_exeext && {
 
1708
         test "$cross_compiling" = yes ||
 
1709
         $as_test_x conftest$ac_exeext
 
1710
       }; then :
 
1711
  ac_retval=0
 
1712
else
 
1713
  $as_echo "$as_me: failed program was:" >&5
 
1714
sed 's/^/| /' conftest.$ac_ext >&5
 
1715
 
 
1716
        ac_retval=1
 
1717
fi
 
1718
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1719
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1720
  # interfere with the next link command; also delete a directory that is
 
1721
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1722
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1723
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1724
  as_fn_set_status $ac_retval
 
1725
 
 
1726
} @%:@ ac_fn_c_try_link
 
1727
 
 
1728
@%:@ ac_fn_c_try_cpp LINENO
 
1729
@%:@ ----------------------
 
1730
@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
 
1731
ac_fn_c_try_cpp ()
 
1732
{
 
1733
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1734
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1735
case "(($ac_try" in
 
1736
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1737
  *) ac_try_echo=$ac_try;;
 
1738
esac
 
1739
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1740
$as_echo "$ac_try_echo"; } >&5
 
1741
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1742
  ac_status=$?
 
1743
  if test -s conftest.err; then
 
1744
    grep -v '^ *+' conftest.err >conftest.er1
 
1745
    cat conftest.er1 >&5
 
1746
    mv -f conftest.er1 conftest.err
 
1747
  fi
 
1748
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1749
  test $ac_status = 0; } > conftest.i && {
 
1750
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1751
         test ! -s conftest.err
 
1752
       }; then :
 
1753
  ac_retval=0
 
1754
else
 
1755
  $as_echo "$as_me: failed program was:" >&5
 
1756
sed 's/^/| /' conftest.$ac_ext >&5
 
1757
 
 
1758
    ac_retval=1
 
1759
fi
 
1760
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1761
  as_fn_set_status $ac_retval
 
1762
 
 
1763
} @%:@ ac_fn_c_try_cpp
 
1764
 
 
1765
@%:@ ac_fn_c_try_run LINENO
 
1766
@%:@ ----------------------
 
1767
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
 
1768
@%:@ that executables *can* be run.
 
1769
ac_fn_c_try_run ()
 
1770
{
 
1771
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1772
  if { { ac_try="$ac_link"
 
1773
case "(($ac_try" in
 
1774
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1775
  *) ac_try_echo=$ac_try;;
 
1776
esac
 
1777
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1778
$as_echo "$ac_try_echo"; } >&5
 
1779
  (eval "$ac_link") 2>&5
 
1780
  ac_status=$?
 
1781
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1782
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1783
  { { case "(($ac_try" in
 
1784
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1785
  *) ac_try_echo=$ac_try;;
 
1786
esac
 
1787
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1788
$as_echo "$ac_try_echo"; } >&5
 
1789
  (eval "$ac_try") 2>&5
 
1790
  ac_status=$?
 
1791
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1792
  test $ac_status = 0; }; }; then :
 
1793
  ac_retval=0
 
1794
else
 
1795
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1796
       $as_echo "$as_me: failed program was:" >&5
 
1797
sed 's/^/| /' conftest.$ac_ext >&5
 
1798
 
 
1799
       ac_retval=$ac_status
 
1800
fi
 
1801
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1802
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1803
  as_fn_set_status $ac_retval
 
1804
 
 
1805
} @%:@ ac_fn_c_try_run
 
1806
 
 
1807
@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1808
@%:@ -------------------------------------------------------
 
1809
@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1810
@%:@ the include files in INCLUDES and setting the cache variable VAR
 
1811
@%:@ accordingly.
 
1812
ac_fn_c_check_header_mongrel ()
 
1813
{
 
1814
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1815
  if eval "test \"\${$3+set}\"" = set; then :
 
1816
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1817
$as_echo_n "checking for $2... " >&6; }
 
1818
if eval "test \"\${$3+set}\"" = set; then :
 
1819
  $as_echo_n "(cached) " >&6
 
1820
fi
 
1821
eval ac_res=\$$3
 
1822
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1823
$as_echo "$ac_res" >&6; }
 
1824
else
 
1825
  # Is the header compilable?
 
1826
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
1827
$as_echo_n "checking $2 usability... " >&6; }
 
1828
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1829
/* end confdefs.h.  */
 
1830
$4
 
1831
@%:@include <$2>
 
1832
_ACEOF
 
1833
if ac_fn_c_try_compile "$LINENO"; then :
 
1834
  ac_header_compiler=yes
 
1835
else
 
1836
  ac_header_compiler=no
 
1837
fi
 
1838
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1839
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
1840
$as_echo "$ac_header_compiler" >&6; }
 
1841
 
 
1842
# Is the header present?
 
1843
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
1844
$as_echo_n "checking $2 presence... " >&6; }
 
1845
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1846
/* end confdefs.h.  */
 
1847
@%:@include <$2>
 
1848
_ACEOF
 
1849
if ac_fn_c_try_cpp "$LINENO"; then :
 
1850
  ac_header_preproc=yes
 
1851
else
 
1852
  ac_header_preproc=no
 
1853
fi
 
1854
rm -f conftest.err conftest.i conftest.$ac_ext
 
1855
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
1856
$as_echo "$ac_header_preproc" >&6; }
 
1857
 
 
1858
# So?  What about this header?
 
1859
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
1860
  yes:no: )
 
1861
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
1862
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
1863
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1864
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1865
    ;;
 
1866
  no:yes:* )
 
1867
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
1868
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
1869
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
1870
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
1871
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
1872
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
1873
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
1874
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
1875
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1876
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1877
    ;;
 
1878
esac
 
1879
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1880
$as_echo_n "checking for $2... " >&6; }
 
1881
if eval "test \"\${$3+set}\"" = set; then :
 
1882
  $as_echo_n "(cached) " >&6
 
1883
else
 
1884
  eval "$3=\$ac_header_compiler"
 
1885
fi
 
1886
eval ac_res=\$$3
 
1887
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1888
$as_echo "$ac_res" >&6; }
 
1889
fi
 
1890
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1891
 
 
1892
} @%:@ ac_fn_c_check_header_mongrel
 
1893
 
 
1894
@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1895
@%:@ -------------------------------------------------------
 
1896
@%:@ Tests whether HEADER exists and can be compiled using the include files in
 
1897
@%:@ INCLUDES, setting the cache variable VAR accordingly.
 
1898
ac_fn_c_check_header_compile ()
 
1899
{
 
1900
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1901
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1902
$as_echo_n "checking for $2... " >&6; }
 
1903
if eval "test \"\${$3+set}\"" = set; then :
 
1904
  $as_echo_n "(cached) " >&6
 
1905
else
 
1906
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1907
/* end confdefs.h.  */
 
1908
$4
 
1909
@%:@include <$2>
 
1910
_ACEOF
 
1911
if ac_fn_c_try_compile "$LINENO"; then :
 
1912
  eval "$3=yes"
 
1913
else
 
1914
  eval "$3=no"
 
1915
fi
 
1916
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1917
fi
 
1918
eval ac_res=\$$3
 
1919
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1920
$as_echo "$ac_res" >&6; }
 
1921
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1922
 
 
1923
} @%:@ ac_fn_c_check_header_compile
 
1924
 
 
1925
@%:@ ac_fn_c_check_func LINENO FUNC VAR
 
1926
@%:@ ----------------------------------
 
1927
@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1928
ac_fn_c_check_func ()
 
1929
{
 
1930
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1931
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1932
$as_echo_n "checking for $2... " >&6; }
 
1933
if eval "test \"\${$3+set}\"" = set; then :
 
1934
  $as_echo_n "(cached) " >&6
 
1935
else
 
1936
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1937
/* end confdefs.h.  */
 
1938
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1939
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1940
#define $2 innocuous_$2
 
1941
 
 
1942
/* System header to define __stub macros and hopefully few prototypes,
 
1943
    which can conflict with char $2 (); below.
 
1944
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1945
    <limits.h> exists even on freestanding compilers.  */
 
1946
 
 
1947
#ifdef __STDC__
 
1948
# include <limits.h>
 
1949
#else
 
1950
# include <assert.h>
 
1951
#endif
 
1952
 
 
1953
#undef $2
 
1954
 
 
1955
/* Override any GCC internal prototype to avoid an error.
 
1956
   Use char because int might match the return type of a GCC
 
1957
   builtin and then its argument prototype would still apply.  */
 
1958
#ifdef __cplusplus
 
1959
extern "C"
 
1960
#endif
 
1961
char $2 ();
 
1962
/* The GNU C library defines this for functions which it implements
 
1963
    to always fail with ENOSYS.  Some functions are actually named
 
1964
    something starting with __ and the normal name is an alias.  */
 
1965
#if defined __stub_$2 || defined __stub___$2
 
1966
choke me
 
1967
#endif
 
1968
 
 
1969
int
 
1970
main ()
 
1971
{
 
1972
return $2 ();
 
1973
  ;
 
1974
  return 0;
 
1975
}
 
1976
_ACEOF
 
1977
if ac_fn_c_try_link "$LINENO"; then :
 
1978
  eval "$3=yes"
 
1979
else
 
1980
  eval "$3=no"
 
1981
fi
 
1982
rm -f core conftest.err conftest.$ac_objext \
 
1983
    conftest$ac_exeext conftest.$ac_ext
 
1984
fi
 
1985
eval ac_res=\$$3
 
1986
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1987
$as_echo "$ac_res" >&6; }
 
1988
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1989
 
 
1990
} @%:@ ac_fn_c_check_func
 
1991
cat >config.log <<_ACEOF
 
1992
This file contains any messages produced by compilers while
 
1993
running configure, to aid debugging if configure makes a mistake.
 
1994
 
 
1995
It was created by $as_me, which was
 
1996
generated by GNU Autoconf 2.67.  Invocation command line was
 
1997
 
 
1998
  $ $0 $@
 
1999
 
 
2000
_ACEOF
 
2001
exec 5>>config.log
 
2002
{
 
2003
cat <<_ASUNAME
 
2004
## --------- ##
 
2005
## Platform. ##
 
2006
## --------- ##
 
2007
 
 
2008
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
2009
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
2010
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
2011
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
2012
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
2013
 
 
2014
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
2015
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
2016
 
 
2017
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
2018
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
2019
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
2020
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
2021
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
2022
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
2023
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
2024
 
 
2025
_ASUNAME
 
2026
 
 
2027
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2028
for as_dir in $PATH
 
2029
do
 
2030
  IFS=$as_save_IFS
 
2031
  test -z "$as_dir" && as_dir=.
 
2032
    $as_echo "PATH: $as_dir"
 
2033
  done
 
2034
IFS=$as_save_IFS
 
2035
 
 
2036
} >&5
 
2037
 
 
2038
cat >&5 <<_ACEOF
 
2039
 
 
2040
 
 
2041
## ----------- ##
 
2042
## Core tests. ##
 
2043
## ----------- ##
 
2044
 
 
2045
_ACEOF
 
2046
 
 
2047
 
 
2048
# Keep a trace of the command line.
 
2049
# Strip out --no-create and --no-recursion so they do not pile up.
 
2050
# Strip out --silent because we don't want to record it for future runs.
 
2051
# Also quote any args containing shell meta-characters.
 
2052
# Make two passes to allow for proper duplicate-argument suppression.
 
2053
ac_configure_args=
 
2054
ac_configure_args0=
 
2055
ac_configure_args1=
 
2056
ac_must_keep_next=false
 
2057
for ac_pass in 1 2
 
2058
do
 
2059
  for ac_arg
 
2060
  do
 
2061
    case $ac_arg in
 
2062
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
2063
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
2064
    | -silent | --silent | --silen | --sile | --sil)
 
2065
      continue ;;
 
2066
    *\'*)
 
2067
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2068
    esac
 
2069
    case $ac_pass in
 
2070
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 
2071
    2)
 
2072
      as_fn_append ac_configure_args1 " '$ac_arg'"
 
2073
      if test $ac_must_keep_next = true; then
 
2074
        ac_must_keep_next=false # Got value, back to normal.
 
2075
      else
 
2076
        case $ac_arg in
 
2077
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
2078
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
2079
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
2080
          | -with-* | --with-* | -without-* | --without-* | --x)
 
2081
            case "$ac_configure_args0 " in
 
2082
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
2083
            esac
 
2084
            ;;
 
2085
          -* ) ac_must_keep_next=true ;;
 
2086
        esac
 
2087
      fi
 
2088
      as_fn_append ac_configure_args " '$ac_arg'"
 
2089
      ;;
 
2090
    esac
 
2091
  done
 
2092
done
 
2093
{ ac_configure_args0=; unset ac_configure_args0;}
 
2094
{ ac_configure_args1=; unset ac_configure_args1;}
 
2095
 
 
2096
# When interrupted or exit'd, cleanup temporary files, and complete
 
2097
# config.log.  We remove comments because anyway the quotes in there
 
2098
# would cause problems or look ugly.
 
2099
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
2100
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
2101
trap 'exit_status=$?
 
2102
  # Save into config.log some information that might help in debugging.
 
2103
  {
 
2104
    echo
 
2105
 
 
2106
    $as_echo "## ---------------- ##
 
2107
## Cache variables. ##
 
2108
## ---------------- ##"
 
2109
    echo
 
2110
    # The following way of writing the cache mishandles newlines in values,
 
2111
(
 
2112
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
2113
    eval ac_val=\$$ac_var
 
2114
    case $ac_val in #(
 
2115
    *${as_nl}*)
 
2116
      case $ac_var in #(
 
2117
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
2118
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
2119
      esac
 
2120
      case $ac_var in #(
 
2121
      _ | IFS | as_nl) ;; #(
 
2122
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
2123
      *) { eval $ac_var=; unset $ac_var;} ;;
 
2124
      esac ;;
 
2125
    esac
 
2126
  done
 
2127
  (set) 2>&1 |
 
2128
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
2129
    *${as_nl}ac_space=\ *)
 
2130
      sed -n \
 
2131
        "s/'\''/'\''\\\\'\'''\''/g;
 
2132
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
2133
      ;; #(
 
2134
    *)
 
2135
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
2136
      ;;
 
2137
    esac |
 
2138
    sort
 
2139
)
 
2140
    echo
 
2141
 
 
2142
    $as_echo "## ----------------- ##
 
2143
## Output variables. ##
 
2144
## ----------------- ##"
 
2145
    echo
 
2146
    for ac_var in $ac_subst_vars
 
2147
    do
 
2148
      eval ac_val=\$$ac_var
 
2149
      case $ac_val in
 
2150
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2151
      esac
 
2152
      $as_echo "$ac_var='\''$ac_val'\''"
 
2153
    done | sort
 
2154
    echo
 
2155
 
 
2156
    if test -n "$ac_subst_files"; then
 
2157
      $as_echo "## ------------------- ##
 
2158
## File substitutions. ##
 
2159
## ------------------- ##"
 
2160
      echo
 
2161
      for ac_var in $ac_subst_files
 
2162
      do
 
2163
        eval ac_val=\$$ac_var
 
2164
        case $ac_val in
 
2165
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2166
        esac
 
2167
        $as_echo "$ac_var='\''$ac_val'\''"
 
2168
      done | sort
 
2169
      echo
 
2170
    fi
 
2171
 
 
2172
    if test -s confdefs.h; then
 
2173
      $as_echo "## ----------- ##
 
2174
## confdefs.h. ##
 
2175
## ----------- ##"
 
2176
      echo
 
2177
      cat confdefs.h
 
2178
      echo
 
2179
    fi
 
2180
    test "$ac_signal" != 0 &&
 
2181
      $as_echo "$as_me: caught signal $ac_signal"
 
2182
    $as_echo "$as_me: exit $exit_status"
 
2183
  } >&5
 
2184
  rm -f core *.core core.conftest.* &&
 
2185
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
2186
    exit $exit_status
 
2187
' 0
 
2188
for ac_signal in 1 2 13 15; do
 
2189
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 
2190
done
 
2191
ac_signal=0
 
2192
 
 
2193
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
2194
rm -f -r conftest* confdefs.h
 
2195
 
 
2196
$as_echo "/* confdefs.h */" > confdefs.h
 
2197
 
 
2198
# Predefined preprocessor variables.
 
2199
 
 
2200
cat >>confdefs.h <<_ACEOF
 
2201
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
 
2202
_ACEOF
 
2203
 
 
2204
cat >>confdefs.h <<_ACEOF
 
2205
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
2206
_ACEOF
 
2207
 
 
2208
cat >>confdefs.h <<_ACEOF
 
2209
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
 
2210
_ACEOF
 
2211
 
 
2212
cat >>confdefs.h <<_ACEOF
 
2213
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
 
2214
_ACEOF
 
2215
 
 
2216
cat >>confdefs.h <<_ACEOF
 
2217
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
2218
_ACEOF
 
2219
 
 
2220
cat >>confdefs.h <<_ACEOF
 
2221
@%:@define PACKAGE_URL "$PACKAGE_URL"
 
2222
_ACEOF
 
2223
 
 
2224
 
 
2225
# Let the site file select an alternate cache file if it wants to.
 
2226
# Prefer an explicitly selected file to automatically selected ones.
 
2227
ac_site_file1=NONE
 
2228
ac_site_file2=NONE
 
2229
if test -n "$CONFIG_SITE"; then
 
2230
  # We do not want a PATH search for config.site.
 
2231
  case $CONFIG_SITE in @%:@((
 
2232
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2233
    */*) ac_site_file1=$CONFIG_SITE;;
 
2234
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2235
  esac
 
2236
elif test "x$prefix" != xNONE; then
 
2237
  ac_site_file1=$prefix/share/config.site
 
2238
  ac_site_file2=$prefix/etc/config.site
 
2239
else
 
2240
  ac_site_file1=$ac_default_prefix/share/config.site
 
2241
  ac_site_file2=$ac_default_prefix/etc/config.site
 
2242
fi
 
2243
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
2244
do
 
2245
  test "x$ac_site_file" = xNONE && continue
 
2246
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2247
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2248
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
 
2249
    sed 's/^/| /' "$ac_site_file" >&5
 
2250
    . "$ac_site_file" \
 
2251
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2252
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2253
as_fn_error $? "failed to load site script $ac_site_file
 
2254
See \`config.log' for more details" "$LINENO" 5 ; }
 
2255
  fi
 
2256
done
 
2257
 
 
2258
if test -r "$cache_file"; then
 
2259
  # Some versions of bash will fail to source /dev/null (special files
 
2260
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2261
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2262
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2263
$as_echo "$as_me: loading cache $cache_file" >&6;}
 
2264
    case $cache_file in
 
2265
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
2266
      *)                      . "./$cache_file";;
 
2267
    esac
 
2268
  fi
 
2269
else
 
2270
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2271
$as_echo "$as_me: creating cache $cache_file" >&6;}
 
2272
  >$cache_file
 
2273
fi
 
2274
 
 
2275
# Check that the precious variables saved in the cache have kept the same
 
2276
# value.
 
2277
ac_cache_corrupted=false
 
2278
for ac_var in $ac_precious_vars; do
 
2279
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
2280
  eval ac_new_set=\$ac_env_${ac_var}_set
 
2281
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
2282
  eval ac_new_val=\$ac_env_${ac_var}_value
 
2283
  case $ac_old_set,$ac_new_set in
 
2284
    set,)
 
2285
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2286
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2287
      ac_cache_corrupted=: ;;
 
2288
    ,set)
 
2289
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2290
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2291
      ac_cache_corrupted=: ;;
 
2292
    ,);;
 
2293
    *)
 
2294
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
2295
        # differences in whitespace do not lead to failure.
 
2296
        ac_old_val_w=`echo x $ac_old_val`
 
2297
        ac_new_val_w=`echo x $ac_new_val`
 
2298
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2299
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2300
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2301
          ac_cache_corrupted=:
 
2302
        else
 
2303
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2304
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2305
          eval $ac_var=\$ac_old_val
 
2306
        fi
 
2307
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2308
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2309
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2310
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 
2311
      fi;;
 
2312
  esac
 
2313
  # Pass precious variables to config.status.
 
2314
  if test "$ac_new_set" = set; then
 
2315
    case $ac_new_val in
 
2316
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2317
    *) ac_arg=$ac_var=$ac_new_val ;;
 
2318
    esac
 
2319
    case " $ac_configure_args " in
 
2320
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
2321
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 
2322
    esac
 
2323
  fi
 
2324
done
 
2325
if $ac_cache_corrupted; then
 
2326
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2327
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2328
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2329
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2330
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 
 
2331
fi
 
2332
## -------------------- ##
 
2333
## Main body of script. ##
 
2334
## -------------------- ##
 
2335
 
 
2336
ac_ext=c
 
2337
ac_cpp='$CPP $CPPFLAGS'
 
2338
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2339
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2340
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2341
 
 
2342
 
 
2343
 
 
2344
am__api_version='1.11'
 
2345
 
 
2346
ac_aux_dir=
 
2347
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2348
  if test -f "$ac_dir/install-sh"; then
 
2349
    ac_aux_dir=$ac_dir
 
2350
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2351
    break
 
2352
  elif test -f "$ac_dir/install.sh"; then
 
2353
    ac_aux_dir=$ac_dir
 
2354
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2355
    break
 
2356
  elif test -f "$ac_dir/shtool"; then
 
2357
    ac_aux_dir=$ac_dir
 
2358
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2359
    break
 
2360
  fi
 
2361
done
 
2362
if test -z "$ac_aux_dir"; then
 
2363
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 
 
2364
fi
 
2365
 
 
2366
# These three variables are undocumented and unsupported,
 
2367
# and are intended to be withdrawn in a future Autoconf release.
 
2368
# They can cause serious problems if a builder's source tree is in a directory
 
2369
# whose full name contains unusual characters.
 
2370
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2371
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2372
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2373
 
 
2374
 
 
2375
# Find a good install program.  We prefer a C program (faster),
 
2376
# so one script is as good as another.  But avoid the broken or
 
2377
# incompatible versions:
 
2378
# SysV /etc/install, /usr/sbin/install
 
2379
# SunOS /usr/etc/install
 
2380
# IRIX /sbin/install
 
2381
# AIX /bin/install
 
2382
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
2383
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
2384
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
2385
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
2386
# OS/2's system install, which has a completely different semantic
 
2387
# ./install, which can be erroneously created by make from ./install.sh.
 
2388
# Reject install programs that cannot install multiple files.
 
2389
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
2390
$as_echo_n "checking for a BSD-compatible install... " >&6; }
 
2391
if test -z "$INSTALL"; then
 
2392
if test "${ac_cv_path_install+set}" = set; then :
 
2393
  $as_echo_n "(cached) " >&6
 
2394
else
 
2395
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2396
for as_dir in $PATH
 
2397
do
 
2398
  IFS=$as_save_IFS
 
2399
  test -z "$as_dir" && as_dir=.
 
2400
    # Account for people who put trailing slashes in PATH elements.
 
2401
case $as_dir/ in @%:@((
 
2402
  ./ | .// | /[cC]/* | \
 
2403
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
2404
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 
2405
  /usr/ucb/* ) ;;
 
2406
  *)
 
2407
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
2408
    # Don't use installbsd from OSF since it installs stuff as root
 
2409
    # by default.
 
2410
    for ac_prog in ginstall scoinst install; do
 
2411
      for ac_exec_ext in '' $ac_executable_extensions; do
 
2412
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
2413
          if test $ac_prog = install &&
 
2414
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2415
            # AIX install.  It has an incompatible calling convention.
 
2416
            :
 
2417
          elif test $ac_prog = install &&
 
2418
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2419
            # program-specific install script used by HP pwplus--don't use.
 
2420
            :
 
2421
          else
 
2422
            rm -rf conftest.one conftest.two conftest.dir
 
2423
            echo one > conftest.one
 
2424
            echo two > conftest.two
 
2425
            mkdir conftest.dir
 
2426
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2427
              test -s conftest.one && test -s conftest.two &&
 
2428
              test -s conftest.dir/conftest.one &&
 
2429
              test -s conftest.dir/conftest.two
 
2430
            then
 
2431
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2432
              break 3
 
2433
            fi
 
2434
          fi
 
2435
        fi
 
2436
      done
 
2437
    done
 
2438
    ;;
 
2439
esac
 
2440
 
 
2441
  done
 
2442
IFS=$as_save_IFS
 
2443
 
 
2444
rm -rf conftest.one conftest.two conftest.dir
 
2445
 
 
2446
fi
 
2447
  if test "${ac_cv_path_install+set}" = set; then
 
2448
    INSTALL=$ac_cv_path_install
 
2449
  else
 
2450
    # As a last resort, use the slow shell script.  Don't cache a
 
2451
    # value for INSTALL within a source directory, because that will
 
2452
    # break other packages using the cache if that directory is
 
2453
    # removed, or if the value is a relative name.
 
2454
    INSTALL=$ac_install_sh
 
2455
  fi
 
2456
fi
 
2457
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
2458
$as_echo "$INSTALL" >&6; }
 
2459
 
 
2460
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
2461
# It thinks the first close brace ends the variable substitution.
 
2462
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
2463
 
 
2464
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
2465
 
 
2466
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
2467
 
 
2468
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
2469
$as_echo_n "checking whether build environment is sane... " >&6; }
 
2470
# Just in case
 
2471
sleep 1
 
2472
echo timestamp > conftest.file
 
2473
# Reject unsafe characters in $srcdir or the absolute working directory
 
2474
# name.  Accept space and tab only in the latter.
 
2475
am_lf='
 
2476
'
 
2477
case `pwd` in
 
2478
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2479
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
 
2480
esac
 
2481
case $srcdir in
 
2482
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2483
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
 
2484
esac
 
2485
 
 
2486
# Do `set' in a subshell so we don't clobber the current shell's
 
2487
# arguments.  Must try -L first in case configure is actually a
 
2488
# symlink; some systems play weird games with the mod time of symlinks
 
2489
# (eg FreeBSD returns the mod time of the symlink's containing
 
2490
# directory).
 
2491
if (
 
2492
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 
2493
   if test "$*" = "X"; then
 
2494
      # -L didn't work.
 
2495
      set X `ls -t "$srcdir/configure" conftest.file`
 
2496
   fi
 
2497
   rm -f conftest.file
 
2498
   if test "$*" != "X $srcdir/configure conftest.file" \
 
2499
      && test "$*" != "X conftest.file $srcdir/configure"; then
 
2500
 
 
2501
      # If neither matched, then we have a broken ls.  This can happen
 
2502
      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
2503
      # broken ls alias from the environment.  This has actually
 
2504
      # happened.  Such a system could not be considered "sane".
 
2505
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
2506
alias in your environment" "$LINENO" 5 
 
2507
   fi
 
2508
 
 
2509
   test "$2" = conftest.file
 
2510
   )
 
2511
then
 
2512
   # Ok.
 
2513
   :
 
2514
else
 
2515
   as_fn_error $? "newly created file is older than distributed files!
 
2516
Check your system clock" "$LINENO" 5 
 
2517
fi
 
2518
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2519
$as_echo "yes" >&6; }
 
2520
test "$program_prefix" != NONE &&
 
2521
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 
2522
# Use a double $ so make ignores it.
 
2523
test "$program_suffix" != NONE &&
 
2524
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
2525
# Double any \ or $.
 
2526
# By default was `s,x,x', remove it if useless.
 
2527
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2528
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 
2529
 
 
2530
# expand $ac_aux_dir to an absolute path
 
2531
am_aux_dir=`cd $ac_aux_dir && pwd`
 
2532
 
 
2533
if test x"${MISSING+set}" != xset; then
 
2534
  case $am_aux_dir in
 
2535
  *\ * | *\     *)
 
2536
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2537
  *)
 
2538
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2539
  esac
 
2540
fi
 
2541
# Use eval to expand $SHELL
 
2542
if eval "$MISSING --run true"; then
 
2543
  am_missing_run="$MISSING --run "
 
2544
else
 
2545
  am_missing_run=
 
2546
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 
2547
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2548
fi
 
2549
 
 
2550
if test x"${install_sh}" != xset; then
 
2551
  case $am_aux_dir in
 
2552
  *\ * | *\     *)
 
2553
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2554
  *)
 
2555
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2556
  esac
 
2557
fi
 
2558
 
 
2559
# Installed binaries are usually stripped using `strip' when the user
 
2560
# run `make install-strip'.  However `strip' might not be the right
 
2561
# tool to use in cross-compilation environments, therefore Automake
 
2562
# will honor the `STRIP' environment variable to overrule this program.
 
2563
if test "$cross_compiling" != no; then
 
2564
  if test -n "$ac_tool_prefix"; then
 
2565
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2566
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2567
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2568
$as_echo_n "checking for $ac_word... " >&6; }
 
2569
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2570
  $as_echo_n "(cached) " >&6
 
2571
else
 
2572
  if test -n "$STRIP"; then
 
2573
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2574
else
 
2575
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2576
for as_dir in $PATH
 
2577
do
 
2578
  IFS=$as_save_IFS
 
2579
  test -z "$as_dir" && as_dir=.
 
2580
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2581
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2582
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2583
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2584
    break 2
 
2585
  fi
 
2586
done
 
2587
  done
 
2588
IFS=$as_save_IFS
 
2589
 
 
2590
fi
 
2591
fi
 
2592
STRIP=$ac_cv_prog_STRIP
 
2593
if test -n "$STRIP"; then
 
2594
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2595
$as_echo "$STRIP" >&6; }
 
2596
else
 
2597
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2598
$as_echo "no" >&6; }
 
2599
fi
 
2600
 
 
2601
 
 
2602
fi
 
2603
if test -z "$ac_cv_prog_STRIP"; then
 
2604
  ac_ct_STRIP=$STRIP
 
2605
  # Extract the first word of "strip", so it can be a program name with args.
 
2606
set dummy strip; ac_word=$2
 
2607
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2608
$as_echo_n "checking for $ac_word... " >&6; }
 
2609
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2610
  $as_echo_n "(cached) " >&6
 
2611
else
 
2612
  if test -n "$ac_ct_STRIP"; then
 
2613
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2614
else
 
2615
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2616
for as_dir in $PATH
 
2617
do
 
2618
  IFS=$as_save_IFS
 
2619
  test -z "$as_dir" && as_dir=.
 
2620
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2621
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2622
    ac_cv_prog_ac_ct_STRIP="strip"
 
2623
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2624
    break 2
 
2625
  fi
 
2626
done
 
2627
  done
 
2628
IFS=$as_save_IFS
 
2629
 
 
2630
fi
 
2631
fi
 
2632
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2633
if test -n "$ac_ct_STRIP"; then
 
2634
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2635
$as_echo "$ac_ct_STRIP" >&6; }
 
2636
else
 
2637
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2638
$as_echo "no" >&6; }
 
2639
fi
 
2640
 
 
2641
  if test "x$ac_ct_STRIP" = x; then
 
2642
    STRIP=":"
 
2643
  else
 
2644
    case $cross_compiling:$ac_tool_warned in
 
2645
yes:)
 
2646
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2647
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2648
ac_tool_warned=yes ;;
 
2649
esac
 
2650
    STRIP=$ac_ct_STRIP
 
2651
  fi
 
2652
else
 
2653
  STRIP="$ac_cv_prog_STRIP"
 
2654
fi
 
2655
 
 
2656
fi
 
2657
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2658
 
 
2659
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
2660
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
2661
if test -z "$MKDIR_P"; then
 
2662
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2663
  $as_echo_n "(cached) " >&6
 
2664
else
 
2665
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2666
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2667
do
 
2668
  IFS=$as_save_IFS
 
2669
  test -z "$as_dir" && as_dir=.
 
2670
    for ac_prog in mkdir gmkdir; do
 
2671
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2672
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2673
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2674
             'mkdir (GNU coreutils) '* | \
 
2675
             'mkdir (coreutils) '* | \
 
2676
             'mkdir (fileutils) '4.1*)
 
2677
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2678
               break 3;;
 
2679
           esac
 
2680
         done
 
2681
       done
 
2682
  done
 
2683
IFS=$as_save_IFS
 
2684
 
 
2685
fi
 
2686
 
 
2687
  test -d ./--version && rmdir ./--version
 
2688
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2689
    MKDIR_P="$ac_cv_path_mkdir -p"
 
2690
  else
 
2691
    # As a last resort, use the slow shell script.  Don't cache a
 
2692
    # value for MKDIR_P within a source directory, because that will
 
2693
    # break other packages using the cache if that directory is
 
2694
    # removed, or if the value is a relative name.
 
2695
    MKDIR_P="$ac_install_sh -d"
 
2696
  fi
 
2697
fi
 
2698
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
2699
$as_echo "$MKDIR_P" >&6; }
 
2700
 
 
2701
mkdir_p="$MKDIR_P"
 
2702
case $mkdir_p in
 
2703
  [\\/$]* | ?:[\\/]*) ;;
 
2704
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2705
esac
 
2706
 
 
2707
for ac_prog in gawk mawk nawk awk
 
2708
do
 
2709
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2710
set dummy $ac_prog; ac_word=$2
 
2711
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2712
$as_echo_n "checking for $ac_word... " >&6; }
 
2713
if test "${ac_cv_prog_AWK+set}" = set; then :
 
2714
  $as_echo_n "(cached) " >&6
 
2715
else
 
2716
  if test -n "$AWK"; then
 
2717
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
2718
else
 
2719
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2720
for as_dir in $PATH
 
2721
do
 
2722
  IFS=$as_save_IFS
 
2723
  test -z "$as_dir" && as_dir=.
 
2724
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2725
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2726
    ac_cv_prog_AWK="$ac_prog"
 
2727
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2728
    break 2
 
2729
  fi
 
2730
done
 
2731
  done
 
2732
IFS=$as_save_IFS
 
2733
 
 
2734
fi
 
2735
fi
 
2736
AWK=$ac_cv_prog_AWK
 
2737
if test -n "$AWK"; then
 
2738
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
2739
$as_echo "$AWK" >&6; }
 
2740
else
 
2741
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2742
$as_echo "no" >&6; }
 
2743
fi
 
2744
 
 
2745
 
 
2746
  test -n "$AWK" && break
 
2747
done
 
2748
 
 
2749
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2750
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2751
set x ${MAKE-make}
 
2752
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2753
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 
2754
  $as_echo_n "(cached) " >&6
 
2755
else
 
2756
  cat >conftest.make <<\_ACEOF
 
2757
SHELL = /bin/sh
 
2758
all:
 
2759
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
2760
_ACEOF
 
2761
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 
2762
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2763
  *@@@%%%=?*=@@@%%%*)
 
2764
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2765
  *)
 
2766
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2767
esac
 
2768
rm -f conftest.make
 
2769
fi
 
2770
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2771
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2772
$as_echo "yes" >&6; }
 
2773
  SET_MAKE=
 
2774
else
 
2775
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2776
$as_echo "no" >&6; }
 
2777
  SET_MAKE="MAKE=${MAKE-make}"
 
2778
fi
 
2779
 
 
2780
rm -rf .tst 2>/dev/null
 
2781
mkdir .tst 2>/dev/null
 
2782
if test -d .tst; then
 
2783
  am__leading_dot=.
 
2784
else
 
2785
  am__leading_dot=_
 
2786
fi
 
2787
rmdir .tst 2>/dev/null
 
2788
 
 
2789
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2790
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2791
  # is not polluted with repeated "-I."
 
2792
  am__isrc=' -I$(srcdir)'
 
2793
  # test to see if srcdir already configured
 
2794
  if test -f $srcdir/config.status; then
 
2795
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 
 
2796
  fi
 
2797
fi
 
2798
 
 
2799
# test whether we have cygpath
 
2800
if test -z "$CYGPATH_W"; then
 
2801
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
2802
    CYGPATH_W='cygpath -w'
 
2803
  else
 
2804
    CYGPATH_W=echo
 
2805
  fi
 
2806
fi
 
2807
 
 
2808
 
 
2809
# Define the identity of the package.
 
2810
 PACKAGE=libapparmor1
 
2811
 VERSION=2.6.0
 
2812
 
 
2813
 
 
2814
cat >>confdefs.h <<_ACEOF
 
2815
@%:@define PACKAGE "$PACKAGE"
 
2816
_ACEOF
 
2817
 
 
2818
 
 
2819
cat >>confdefs.h <<_ACEOF
 
2820
@%:@define VERSION "$VERSION"
 
2821
_ACEOF
 
2822
 
 
2823
# Some tools Automake needs.
 
2824
 
 
2825
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
2826
 
 
2827
 
 
2828
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
2829
 
 
2830
 
 
2831
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
2832
 
 
2833
 
 
2834
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
2835
 
 
2836
 
 
2837
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
2838
 
 
2839
# We need awk for the "check" target.  The system "awk" is bad on
 
2840
# some platforms.
 
2841
# Always define AMTAR for backward compatibility.
 
2842
 
 
2843
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
2844
 
 
2845
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
2846
 
 
2847
 
 
2848
 
 
2849
 
 
2850
 
 
2851
 
 
2852
DEPDIR="${am__leading_dot}deps"
 
2853
 
 
2854
ac_config_commands="$ac_config_commands depfiles"
 
2855
 
 
2856
 
 
2857
am_make=${MAKE-make}
 
2858
cat > confinc << 'END'
 
2859
am__doit:
 
2860
        @echo this is the am__doit target
 
2861
.PHONY: am__doit
 
2862
END
 
2863
# If we don't find an include directive, just comment out the code.
 
2864
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
2865
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
2866
am__include="#"
 
2867
am__quote=
 
2868
_am_result=none
 
2869
# First try GNU make style include.
 
2870
echo "include confinc" > confmf
 
2871
# Ignore all kinds of additional output from `make'.
 
2872
case `$am_make -s -f confmf 2> /dev/null` in #(
 
2873
*the\ am__doit\ target*)
 
2874
  am__include=include
 
2875
  am__quote=
 
2876
  _am_result=GNU
 
2877
  ;;
 
2878
esac
 
2879
# Now try BSD make style include.
 
2880
if test "$am__include" = "#"; then
 
2881
   echo '.include "confinc"' > confmf
 
2882
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
2883
   *the\ am__doit\ target*)
 
2884
     am__include=.include
 
2885
     am__quote="\""
 
2886
     _am_result=BSD
 
2887
     ;;
 
2888
   esac
 
2889
fi
 
2890
 
 
2891
 
 
2892
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
2893
$as_echo "$_am_result" >&6; }
 
2894
rm -f confinc confmf
 
2895
 
 
2896
@%:@ Check whether --enable-dependency-tracking was given.
 
2897
if test "${enable_dependency_tracking+set}" = set; then :
 
2898
  enableval=$enable_dependency_tracking; 
 
2899
fi
 
2900
 
 
2901
if test "x$enable_dependency_tracking" != xno; then
 
2902
  am_depcomp="$ac_aux_dir/depcomp"
 
2903
  AMDEPBACKSLASH='\'
 
2904
fi
 
2905
 if test "x$enable_dependency_tracking" != xno; then
 
2906
  AMDEP_TRUE=
 
2907
  AMDEP_FALSE='#'
 
2908
else
 
2909
  AMDEP_TRUE='#'
 
2910
  AMDEP_FALSE=
 
2911
fi
 
2912
 
 
2913
 
 
2914
ac_ext=c
 
2915
ac_cpp='$CPP $CPPFLAGS'
 
2916
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2917
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2918
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2919
if test -n "$ac_tool_prefix"; then
 
2920
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
2921
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
2922
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2923
$as_echo_n "checking for $ac_word... " >&6; }
 
2924
if test "${ac_cv_prog_CC+set}" = set; then :
 
2925
  $as_echo_n "(cached) " >&6
 
2926
else
 
2927
  if test -n "$CC"; then
 
2928
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2929
else
 
2930
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2931
for as_dir in $PATH
 
2932
do
 
2933
  IFS=$as_save_IFS
 
2934
  test -z "$as_dir" && as_dir=.
 
2935
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2936
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2937
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
2938
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2939
    break 2
 
2940
  fi
 
2941
done
 
2942
  done
 
2943
IFS=$as_save_IFS
 
2944
 
 
2945
fi
 
2946
fi
 
2947
CC=$ac_cv_prog_CC
 
2948
if test -n "$CC"; then
 
2949
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2950
$as_echo "$CC" >&6; }
 
2951
else
 
2952
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2953
$as_echo "no" >&6; }
 
2954
fi
 
2955
 
 
2956
 
 
2957
fi
 
2958
if test -z "$ac_cv_prog_CC"; then
 
2959
  ac_ct_CC=$CC
 
2960
  # Extract the first word of "gcc", so it can be a program name with args.
 
2961
set dummy gcc; ac_word=$2
 
2962
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2963
$as_echo_n "checking for $ac_word... " >&6; }
 
2964
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2965
  $as_echo_n "(cached) " >&6
 
2966
else
 
2967
  if test -n "$ac_ct_CC"; then
 
2968
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
2969
else
 
2970
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2971
for as_dir in $PATH
 
2972
do
 
2973
  IFS=$as_save_IFS
 
2974
  test -z "$as_dir" && as_dir=.
 
2975
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2976
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2977
    ac_cv_prog_ac_ct_CC="gcc"
 
2978
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2979
    break 2
 
2980
  fi
 
2981
done
 
2982
  done
 
2983
IFS=$as_save_IFS
 
2984
 
 
2985
fi
 
2986
fi
 
2987
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
2988
if test -n "$ac_ct_CC"; then
 
2989
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
2990
$as_echo "$ac_ct_CC" >&6; }
 
2991
else
 
2992
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2993
$as_echo "no" >&6; }
 
2994
fi
 
2995
 
 
2996
  if test "x$ac_ct_CC" = x; then
 
2997
    CC=""
 
2998
  else
 
2999
    case $cross_compiling:$ac_tool_warned in
 
3000
yes:)
 
3001
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3002
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3003
ac_tool_warned=yes ;;
 
3004
esac
 
3005
    CC=$ac_ct_CC
 
3006
  fi
 
3007
else
 
3008
  CC="$ac_cv_prog_CC"
 
3009
fi
 
3010
 
 
3011
if test -z "$CC"; then
 
3012
          if test -n "$ac_tool_prefix"; then
 
3013
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
3014
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
3015
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3016
$as_echo_n "checking for $ac_word... " >&6; }
 
3017
if test "${ac_cv_prog_CC+set}" = set; then :
 
3018
  $as_echo_n "(cached) " >&6
 
3019
else
 
3020
  if test -n "$CC"; then
 
3021
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3022
else
 
3023
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3024
for as_dir in $PATH
 
3025
do
 
3026
  IFS=$as_save_IFS
 
3027
  test -z "$as_dir" && as_dir=.
 
3028
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3029
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3030
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
3031
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3032
    break 2
 
3033
  fi
 
3034
done
 
3035
  done
 
3036
IFS=$as_save_IFS
 
3037
 
 
3038
fi
 
3039
fi
 
3040
CC=$ac_cv_prog_CC
 
3041
if test -n "$CC"; then
 
3042
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3043
$as_echo "$CC" >&6; }
 
3044
else
 
3045
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3046
$as_echo "no" >&6; }
 
3047
fi
 
3048
 
 
3049
 
 
3050
  fi
 
3051
fi
 
3052
if test -z "$CC"; then
 
3053
  # Extract the first word of "cc", so it can be a program name with args.
 
3054
set dummy cc; ac_word=$2
 
3055
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3056
$as_echo_n "checking for $ac_word... " >&6; }
 
3057
if test "${ac_cv_prog_CC+set}" = set; then :
 
3058
  $as_echo_n "(cached) " >&6
 
3059
else
 
3060
  if test -n "$CC"; then
 
3061
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3062
else
 
3063
  ac_prog_rejected=no
 
3064
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3065
for as_dir in $PATH
 
3066
do
 
3067
  IFS=$as_save_IFS
 
3068
  test -z "$as_dir" && as_dir=.
 
3069
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3070
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3071
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
3072
       ac_prog_rejected=yes
 
3073
       continue
 
3074
     fi
 
3075
    ac_cv_prog_CC="cc"
 
3076
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3077
    break 2
 
3078
  fi
 
3079
done
 
3080
  done
 
3081
IFS=$as_save_IFS
 
3082
 
 
3083
if test $ac_prog_rejected = yes; then
 
3084
  # We found a bogon in the path, so make sure we never use it.
 
3085
  set dummy $ac_cv_prog_CC
 
3086
  shift
 
3087
  if test $@%:@ != 0; then
 
3088
    # We chose a different compiler from the bogus one.
 
3089
    # However, it has the same basename, so the bogon will be chosen
 
3090
    # first if we set CC to just the basename; use the full file name.
 
3091
    shift
 
3092
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
3093
  fi
 
3094
fi
 
3095
fi
 
3096
fi
 
3097
CC=$ac_cv_prog_CC
 
3098
if test -n "$CC"; then
 
3099
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3100
$as_echo "$CC" >&6; }
 
3101
else
 
3102
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3103
$as_echo "no" >&6; }
 
3104
fi
 
3105
 
 
3106
 
 
3107
fi
 
3108
if test -z "$CC"; then
 
3109
  if test -n "$ac_tool_prefix"; then
 
3110
  for ac_prog in cl.exe
 
3111
  do
 
3112
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
3113
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
3114
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3115
$as_echo_n "checking for $ac_word... " >&6; }
 
3116
if test "${ac_cv_prog_CC+set}" = set; then :
 
3117
  $as_echo_n "(cached) " >&6
 
3118
else
 
3119
  if test -n "$CC"; then
 
3120
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3121
else
 
3122
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3123
for as_dir in $PATH
 
3124
do
 
3125
  IFS=$as_save_IFS
 
3126
  test -z "$as_dir" && as_dir=.
 
3127
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3128
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3129
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
3130
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3131
    break 2
 
3132
  fi
 
3133
done
 
3134
  done
 
3135
IFS=$as_save_IFS
 
3136
 
 
3137
fi
 
3138
fi
 
3139
CC=$ac_cv_prog_CC
 
3140
if test -n "$CC"; then
 
3141
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3142
$as_echo "$CC" >&6; }
 
3143
else
 
3144
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3145
$as_echo "no" >&6; }
 
3146
fi
 
3147
 
 
3148
 
 
3149
    test -n "$CC" && break
 
3150
  done
 
3151
fi
 
3152
if test -z "$CC"; then
 
3153
  ac_ct_CC=$CC
 
3154
  for ac_prog in cl.exe
 
3155
do
 
3156
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
3157
set dummy $ac_prog; ac_word=$2
 
3158
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3159
$as_echo_n "checking for $ac_word... " >&6; }
 
3160
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3161
  $as_echo_n "(cached) " >&6
 
3162
else
 
3163
  if test -n "$ac_ct_CC"; then
 
3164
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3165
else
 
3166
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3167
for as_dir in $PATH
 
3168
do
 
3169
  IFS=$as_save_IFS
 
3170
  test -z "$as_dir" && as_dir=.
 
3171
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3172
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3173
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
3174
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3175
    break 2
 
3176
  fi
 
3177
done
 
3178
  done
 
3179
IFS=$as_save_IFS
 
3180
 
 
3181
fi
 
3182
fi
 
3183
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3184
if test -n "$ac_ct_CC"; then
 
3185
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3186
$as_echo "$ac_ct_CC" >&6; }
 
3187
else
 
3188
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3189
$as_echo "no" >&6; }
 
3190
fi
 
3191
 
 
3192
 
 
3193
  test -n "$ac_ct_CC" && break
 
3194
done
 
3195
 
 
3196
  if test "x$ac_ct_CC" = x; then
 
3197
    CC=""
 
3198
  else
 
3199
    case $cross_compiling:$ac_tool_warned in
 
3200
yes:)
 
3201
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3202
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3203
ac_tool_warned=yes ;;
 
3204
esac
 
3205
    CC=$ac_ct_CC
 
3206
  fi
 
3207
fi
 
3208
 
 
3209
fi
 
3210
 
 
3211
 
 
3212
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3213
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3214
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3215
See \`config.log' for more details" "$LINENO" 5 ; }
 
3216
 
 
3217
# Provide some information about the compiler.
 
3218
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
3219
set X $ac_compile
 
3220
ac_compiler=$2
 
3221
for ac_option in --version -v -V -qversion; do
 
3222
  { { ac_try="$ac_compiler $ac_option >&5"
 
3223
case "(($ac_try" in
 
3224
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3225
  *) ac_try_echo=$ac_try;;
 
3226
esac
 
3227
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3228
$as_echo "$ac_try_echo"; } >&5
 
3229
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3230
  ac_status=$?
 
3231
  if test -s conftest.err; then
 
3232
    sed '10a\
 
3233
... rest of stderr output deleted ...
 
3234
         10q' conftest.err >conftest.er1
 
3235
    cat conftest.er1 >&5
 
3236
  fi
 
3237
  rm -f conftest.er1 conftest.err
 
3238
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3239
  test $ac_status = 0; }
 
3240
done
 
3241
 
 
3242
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3243
/* end confdefs.h.  */
 
3244
 
 
3245
int
 
3246
main ()
 
3247
{
 
3248
 
 
3249
  ;
 
3250
  return 0;
 
3251
}
 
3252
_ACEOF
 
3253
ac_clean_files_save=$ac_clean_files
 
3254
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
3255
# Try to create an executable without -o first, disregard a.out.
 
3256
# It will help us diagnose broken compilers, and finding out an intuition
 
3257
# of exeext.
 
3258
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3259
$as_echo_n "checking whether the C compiler works... " >&6; }
 
3260
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3261
 
 
3262
# The possible output files:
 
3263
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3264
 
 
3265
ac_rmfiles=
 
3266
for ac_file in $ac_files
 
3267
do
 
3268
  case $ac_file in
 
3269
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3270
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3271
  esac
 
3272
done
 
3273
rm -f $ac_rmfiles
 
3274
 
 
3275
if { { ac_try="$ac_link_default"
 
3276
case "(($ac_try" in
 
3277
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3278
  *) ac_try_echo=$ac_try;;
 
3279
esac
 
3280
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3281
$as_echo "$ac_try_echo"; } >&5
 
3282
  (eval "$ac_link_default") 2>&5
 
3283
  ac_status=$?
 
3284
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3285
  test $ac_status = 0; }; then :
 
3286
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3287
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3288
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3289
# so that the user can short-circuit this test for compilers unknown to
 
3290
# Autoconf.
 
3291
for ac_file in $ac_files ''
 
3292
do
 
3293
  test -f "$ac_file" || continue
 
3294
  case $ac_file in
 
3295
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 
3296
        ;;
 
3297
    [ab].out )
 
3298
        # We found the default executable, but exeext='' is most
 
3299
        # certainly right.
 
3300
        break;;
 
3301
    *.* )
 
3302
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3303
        then :; else
 
3304
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3305
        fi
 
3306
        # We set ac_cv_exeext here because the later test for it is not
 
3307
        # safe: cross compilers may not add the suffix if given an `-o'
 
3308
        # argument, so we may need to know it at that point already.
 
3309
        # Even if this section looks crufty: it has the advantage of
 
3310
        # actually working.
 
3311
        break;;
 
3312
    * )
 
3313
        break;;
 
3314
  esac
 
3315
done
 
3316
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3317
 
 
3318
else
 
3319
  ac_file=''
 
3320
fi
 
3321
if test -z "$ac_file"; then :
 
3322
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3323
$as_echo "no" >&6; }
 
3324
$as_echo "$as_me: failed program was:" >&5
 
3325
sed 's/^/| /' conftest.$ac_ext >&5
 
3326
 
 
3327
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3328
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3329
as_fn_error 77 "C compiler cannot create executables
 
3330
See \`config.log' for more details" "$LINENO" 5 ; }
 
3331
else
 
3332
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3333
$as_echo "yes" >&6; }
 
3334
fi
 
3335
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3336
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3337
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3338
$as_echo "$ac_file" >&6; }
 
3339
ac_exeext=$ac_cv_exeext
 
3340
 
 
3341
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
3342
ac_clean_files=$ac_clean_files_save
 
3343
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
3344
$as_echo_n "checking for suffix of executables... " >&6; }
 
3345
if { { ac_try="$ac_link"
 
3346
case "(($ac_try" in
 
3347
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3348
  *) ac_try_echo=$ac_try;;
 
3349
esac
 
3350
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3351
$as_echo "$ac_try_echo"; } >&5
 
3352
  (eval "$ac_link") 2>&5
 
3353
  ac_status=$?
 
3354
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3355
  test $ac_status = 0; }; then :
 
3356
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
3357
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
3358
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
3359
# `rm'.
 
3360
for ac_file in conftest.exe conftest conftest.*; do
 
3361
  test -f "$ac_file" || continue
 
3362
  case $ac_file in
 
3363
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3364
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3365
          break;;
 
3366
    * ) break;;
 
3367
  esac
 
3368
done
 
3369
else
 
3370
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3371
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3372
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3373
See \`config.log' for more details" "$LINENO" 5 ; }
 
3374
fi
 
3375
rm -f conftest conftest$ac_cv_exeext
 
3376
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
3377
$as_echo "$ac_cv_exeext" >&6; }
 
3378
 
 
3379
rm -f conftest.$ac_ext
 
3380
EXEEXT=$ac_cv_exeext
 
3381
ac_exeext=$EXEEXT
 
3382
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3383
/* end confdefs.h.  */
 
3384
@%:@include <stdio.h>
 
3385
int
 
3386
main ()
 
3387
{
 
3388
FILE *f = fopen ("conftest.out", "w");
 
3389
 return ferror (f) || fclose (f) != 0;
 
3390
 
 
3391
  ;
 
3392
  return 0;
 
3393
}
 
3394
_ACEOF
 
3395
ac_clean_files="$ac_clean_files conftest.out"
 
3396
# Check that the compiler produces executables we can run.  If not, either
 
3397
# the compiler is broken, or we cross compile.
 
3398
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3399
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3400
if test "$cross_compiling" != yes; then
 
3401
  { { ac_try="$ac_link"
 
3402
case "(($ac_try" in
 
3403
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3404
  *) ac_try_echo=$ac_try;;
 
3405
esac
 
3406
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3407
$as_echo "$ac_try_echo"; } >&5
 
3408
  (eval "$ac_link") 2>&5
 
3409
  ac_status=$?
 
3410
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3411
  test $ac_status = 0; }
 
3412
  if { ac_try='./conftest$ac_cv_exeext'
 
3413
  { { case "(($ac_try" in
 
3414
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3415
  *) ac_try_echo=$ac_try;;
 
3416
esac
 
3417
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3418
$as_echo "$ac_try_echo"; } >&5
 
3419
  (eval "$ac_try") 2>&5
 
3420
  ac_status=$?
 
3421
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3422
  test $ac_status = 0; }; }; then
 
3423
    cross_compiling=no
 
3424
  else
 
3425
    if test "$cross_compiling" = maybe; then
 
3426
        cross_compiling=yes
 
3427
    else
 
3428
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3429
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3430
as_fn_error $? "cannot run C compiled programs.
 
3431
If you meant to cross compile, use \`--host'.
 
3432
See \`config.log' for more details" "$LINENO" 5 ; }
 
3433
    fi
 
3434
  fi
 
3435
fi
 
3436
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3437
$as_echo "$cross_compiling" >&6; }
 
3438
 
 
3439
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3440
ac_clean_files=$ac_clean_files_save
 
3441
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
3442
$as_echo_n "checking for suffix of object files... " >&6; }
 
3443
if test "${ac_cv_objext+set}" = set; then :
 
3444
  $as_echo_n "(cached) " >&6
 
3445
else
 
3446
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3447
/* end confdefs.h.  */
 
3448
 
 
3449
int
 
3450
main ()
 
3451
{
 
3452
 
 
3453
  ;
 
3454
  return 0;
 
3455
}
 
3456
_ACEOF
 
3457
rm -f conftest.o conftest.obj
 
3458
if { { ac_try="$ac_compile"
 
3459
case "(($ac_try" in
 
3460
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3461
  *) ac_try_echo=$ac_try;;
 
3462
esac
 
3463
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3464
$as_echo "$ac_try_echo"; } >&5
 
3465
  (eval "$ac_compile") 2>&5
 
3466
  ac_status=$?
 
3467
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3468
  test $ac_status = 0; }; then :
 
3469
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3470
  test -f "$ac_file" || continue;
 
3471
  case $ac_file in
 
3472
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 
3473
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
3474
       break;;
 
3475
  esac
 
3476
done
 
3477
else
 
3478
  $as_echo "$as_me: failed program was:" >&5
 
3479
sed 's/^/| /' conftest.$ac_ext >&5
 
3480
 
 
3481
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3482
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3483
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3484
See \`config.log' for more details" "$LINENO" 5 ; }
 
3485
fi
 
3486
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
3487
fi
 
3488
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
3489
$as_echo "$ac_cv_objext" >&6; }
 
3490
OBJEXT=$ac_cv_objext
 
3491
ac_objext=$OBJEXT
 
3492
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
3493
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
3494
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3495
  $as_echo_n "(cached) " >&6
 
3496
else
 
3497
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3498
/* end confdefs.h.  */
 
3499
 
 
3500
int
 
3501
main ()
 
3502
{
 
3503
#ifndef __GNUC__
 
3504
       choke me
 
3505
#endif
 
3506
 
 
3507
  ;
 
3508
  return 0;
 
3509
}
 
3510
_ACEOF
 
3511
if ac_fn_c_try_compile "$LINENO"; then :
 
3512
  ac_compiler_gnu=yes
 
3513
else
 
3514
  ac_compiler_gnu=no
 
3515
fi
 
3516
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3517
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
3518
 
 
3519
fi
 
3520
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
3521
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3522
if test $ac_compiler_gnu = yes; then
 
3523
  GCC=yes
 
3524
else
 
3525
  GCC=
 
3526
fi
 
3527
ac_test_CFLAGS=${CFLAGS+set}
 
3528
ac_save_CFLAGS=$CFLAGS
 
3529
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
3530
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
3531
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3532
  $as_echo_n "(cached) " >&6
 
3533
else
 
3534
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3535
   ac_c_werror_flag=yes
 
3536
   ac_cv_prog_cc_g=no
 
3537
   CFLAGS="-g"
 
3538
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3539
/* end confdefs.h.  */
 
3540
 
 
3541
int
 
3542
main ()
 
3543
{
 
3544
 
 
3545
  ;
 
3546
  return 0;
 
3547
}
 
3548
_ACEOF
 
3549
if ac_fn_c_try_compile "$LINENO"; then :
 
3550
  ac_cv_prog_cc_g=yes
 
3551
else
 
3552
  CFLAGS=""
 
3553
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3554
/* end confdefs.h.  */
 
3555
 
 
3556
int
 
3557
main ()
 
3558
{
 
3559
 
 
3560
  ;
 
3561
  return 0;
 
3562
}
 
3563
_ACEOF
 
3564
if ac_fn_c_try_compile "$LINENO"; then :
 
3565
  
 
3566
else
 
3567
  ac_c_werror_flag=$ac_save_c_werror_flag
 
3568
         CFLAGS="-g"
 
3569
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3570
/* end confdefs.h.  */
 
3571
 
 
3572
int
 
3573
main ()
 
3574
{
 
3575
 
 
3576
  ;
 
3577
  return 0;
 
3578
}
 
3579
_ACEOF
 
3580
if ac_fn_c_try_compile "$LINENO"; then :
 
3581
  ac_cv_prog_cc_g=yes
 
3582
fi
 
3583
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3584
fi
 
3585
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3586
fi
 
3587
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3588
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3589
fi
 
3590
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
3591
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
3592
if test "$ac_test_CFLAGS" = set; then
 
3593
  CFLAGS=$ac_save_CFLAGS
 
3594
elif test $ac_cv_prog_cc_g = yes; then
 
3595
  if test "$GCC" = yes; then
 
3596
    CFLAGS="-g -O2"
 
3597
  else
 
3598
    CFLAGS="-g"
 
3599
  fi
 
3600
else
 
3601
  if test "$GCC" = yes; then
 
3602
    CFLAGS="-O2"
 
3603
  else
 
3604
    CFLAGS=
 
3605
  fi
 
3606
fi
 
3607
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
3608
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
3609
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3610
  $as_echo_n "(cached) " >&6
 
3611
else
 
3612
  ac_cv_prog_cc_c89=no
 
3613
ac_save_CC=$CC
 
3614
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3615
/* end confdefs.h.  */
 
3616
#include <stdarg.h>
 
3617
#include <stdio.h>
 
3618
#include <sys/types.h>
 
3619
#include <sys/stat.h>
 
3620
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
3621
struct buf { int x; };
 
3622
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
3623
static char *e (p, i)
 
3624
     char **p;
 
3625
     int i;
 
3626
{
 
3627
  return p[i];
 
3628
}
 
3629
static char *f (char * (*g) (char **, int), char **p, ...)
 
3630
{
 
3631
  char *s;
 
3632
  va_list v;
 
3633
  va_start (v,p);
 
3634
  s = g (p, va_arg (v,int));
 
3635
  va_end (v);
 
3636
  return s;
 
3637
}
 
3638
 
 
3639
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
3640
   function prototypes and stuff, but not '\xHH' hex character constants.
 
3641
   These don't provoke an error unfortunately, instead are silently treated
 
3642
   as 'x'.  The following induces an error, until -std is added to get
 
3643
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
3644
   array size at least.  It's necessary to write '\x00'==0 to get something
 
3645
   that's true only with -std.  */
 
3646
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
3647
 
 
3648
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3649
   inside strings and character constants.  */
 
3650
#define FOO(x) 'x'
 
3651
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3652
 
 
3653
int test (int i, double x);
 
3654
struct s1 {int (*f) (int a);};
 
3655
struct s2 {int (*f) (double a);};
 
3656
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
3657
int argc;
 
3658
char **argv;
 
3659
int
 
3660
main ()
 
3661
{
 
3662
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
3663
  ;
 
3664
  return 0;
 
3665
}
 
3666
_ACEOF
 
3667
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3668
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3669
do
 
3670
  CC="$ac_save_CC $ac_arg"
 
3671
  if ac_fn_c_try_compile "$LINENO"; then :
 
3672
  ac_cv_prog_cc_c89=$ac_arg
 
3673
fi
 
3674
rm -f core conftest.err conftest.$ac_objext
 
3675
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
3676
done
 
3677
rm -f conftest.$ac_ext
 
3678
CC=$ac_save_CC
 
3679
 
 
3680
fi
 
3681
# AC_CACHE_VAL
 
3682
case "x$ac_cv_prog_cc_c89" in
 
3683
  x)
 
3684
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
3685
$as_echo "none needed" >&6; } ;;
 
3686
  xno)
 
3687
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
3688
$as_echo "unsupported" >&6; } ;;
 
3689
  *)
 
3690
    CC="$CC $ac_cv_prog_cc_c89"
 
3691
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
3692
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
3693
esac
 
3694
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
3695
  
 
3696
fi
 
3697
 
 
3698
ac_ext=c
 
3699
ac_cpp='$CPP $CPPFLAGS'
 
3700
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3701
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3702
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3703
 
 
3704
depcc="$CC"   am_compiler_list=
 
3705
 
 
3706
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
3707
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
3708
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
3709
  $as_echo_n "(cached) " >&6
 
3710
else
 
3711
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
3712
  # We make a subdir and do the tests there.  Otherwise we can end up
 
3713
  # making bogus files that we don't know about and never remove.  For
 
3714
  # instance it was reported that on HP-UX the gcc test will end up
 
3715
  # making a dummy file named `D' -- because `-MD' means `put the output
 
3716
  # in D'.
 
3717
  mkdir conftest.dir
 
3718
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
3719
  # using a relative directory.
 
3720
  cp "$am_depcomp" conftest.dir
 
3721
  cd conftest.dir
 
3722
  # We will build objects and dependencies in a subdirectory because
 
3723
  # it helps to detect inapplicable dependency modes.  For instance
 
3724
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
3725
  # side effect of compilation, but ICC will put the dependencies in
 
3726
  # the current directory while Tru64 will put them in the object
 
3727
  # directory.
 
3728
  mkdir sub
 
3729
 
 
3730
  am_cv_CC_dependencies_compiler_type=none
 
3731
  if test "$am_compiler_list" = ""; then
 
3732
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
3733
  fi
 
3734
  am__universal=false
 
3735
  case " $depcc " in #(
 
3736
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3737
     esac
 
3738
 
 
3739
  for depmode in $am_compiler_list; do
 
3740
    # Setup a source with many dependencies, because some compilers
 
3741
    # like to wrap large dependency lists on column 80 (with \), and
 
3742
    # we should not choose a depcomp mode which is confused by this.
 
3743
    #
 
3744
    # We need to recreate these files for each test, as the compiler may
 
3745
    # overwrite some of them when testing with obscure command lines.
 
3746
    # This happens at least with the AIX C compiler.
 
3747
    : > sub/conftest.c
 
3748
    for i in 1 2 3 4 5 6; do
 
3749
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
3750
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
3751
      # Solaris 8's {/usr,}/bin/sh.
 
3752
      touch sub/conftst$i.h
 
3753
    done
 
3754
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
3755
 
 
3756
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3757
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3758
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3759
    # versions had trouble with output in subdirs
 
3760
    am__obj=sub/conftest.${OBJEXT-o}
 
3761
    am__minus_obj="-o $am__obj"
 
3762
    case $depmode in
 
3763
    gcc)
 
3764
      # This depmode causes a compiler race in universal mode.
 
3765
      test "$am__universal" = false || continue
 
3766
      ;;
 
3767
    nosideeffect)
 
3768
      # after this tag, mechanisms are not by side-effect, so they'll
 
3769
      # only be used when explicitly requested
 
3770
      if test "x$enable_dependency_tracking" = xyes; then
 
3771
        continue
 
3772
      else
 
3773
        break
 
3774
      fi
 
3775
      ;;
 
3776
    msvisualcpp | msvcmsys)
 
3777
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3778
      # not run yet.  These depmodes are late enough in the game, and
 
3779
      # so weak that their functioning should not be impacted.
 
3780
      am__obj=conftest.${OBJEXT-o}
 
3781
      am__minus_obj=
 
3782
      ;;
 
3783
    none) break ;;
 
3784
    esac
 
3785
    if depmode=$depmode \
 
3786
       source=sub/conftest.c object=$am__obj \
 
3787
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
3788
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
3789
         >/dev/null 2>conftest.err &&
 
3790
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
3791
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
3792
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
3793
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
3794
      # icc doesn't choke on unknown options, it will just issue warnings
 
3795
      # or remarks (even with -Werror).  So we grep stderr for any message
 
3796
      # that says an option was ignored or not supported.
 
3797
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
3798
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
3799
      # The diagnosis changed in icc 8.0:
 
3800
      #   icc: Command line remark: option '-MP' not supported
 
3801
      if (grep 'ignoring option' conftest.err ||
 
3802
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
3803
        am_cv_CC_dependencies_compiler_type=$depmode
 
3804
        break
 
3805
      fi
 
3806
    fi
 
3807
  done
 
3808
 
 
3809
  cd ..
 
3810
  rm -rf conftest.dir
 
3811
else
 
3812
  am_cv_CC_dependencies_compiler_type=none
 
3813
fi
 
3814
 
 
3815
fi
 
3816
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3817
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
3818
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
3819
 
 
3820
 if 
 
3821
  test "x$enable_dependency_tracking" != xno \
 
3822
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
3823
  am__fastdepCC_TRUE=
 
3824
  am__fastdepCC_FALSE='#'
 
3825
else
 
3826
  am__fastdepCC_TRUE='#'
 
3827
  am__fastdepCC_FALSE=
 
3828
fi
 
3829
 
 
3830
 
 
3831
 
 
3832
for ac_prog in flex lex
 
3833
do
 
3834
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
3835
set dummy $ac_prog; ac_word=$2
 
3836
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3837
$as_echo_n "checking for $ac_word... " >&6; }
 
3838
if test "${ac_cv_prog_LEX+set}" = set; then :
 
3839
  $as_echo_n "(cached) " >&6
 
3840
else
 
3841
  if test -n "$LEX"; then
 
3842
  ac_cv_prog_LEX="$LEX" # Let the user override the test.
 
3843
else
 
3844
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3845
for as_dir in $PATH
 
3846
do
 
3847
  IFS=$as_save_IFS
 
3848
  test -z "$as_dir" && as_dir=.
 
3849
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3850
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3851
    ac_cv_prog_LEX="$ac_prog"
 
3852
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3853
    break 2
 
3854
  fi
 
3855
done
 
3856
  done
 
3857
IFS=$as_save_IFS
 
3858
 
 
3859
fi
 
3860
fi
 
3861
LEX=$ac_cv_prog_LEX
 
3862
if test -n "$LEX"; then
 
3863
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
 
3864
$as_echo "$LEX" >&6; }
 
3865
else
 
3866
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3867
$as_echo "no" >&6; }
 
3868
fi
 
3869
 
 
3870
 
 
3871
  test -n "$LEX" && break
 
3872
done
 
3873
test -n "$LEX" || LEX=":"
 
3874
 
 
3875
if test "x$LEX" != "x:"; then
 
3876
  cat >conftest.l <<_ACEOF
 
3877
%%
 
3878
a { ECHO; }
 
3879
b { REJECT; }
 
3880
c { yymore (); }
 
3881
d { yyless (1); }
 
3882
e { yyless (input () != 0); }
 
3883
f { unput (yytext[0]); }
 
3884
. { BEGIN INITIAL; }
 
3885
%%
 
3886
#ifdef YYTEXT_POINTER
 
3887
extern char *yytext;
 
3888
#endif
 
3889
int
 
3890
main (void)
 
3891
{
 
3892
  return ! yylex () + ! yywrap ();
 
3893
}
 
3894
_ACEOF
 
3895
{ { ac_try="$LEX conftest.l"
 
3896
case "(($ac_try" in
 
3897
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3898
  *) ac_try_echo=$ac_try;;
 
3899
esac
 
3900
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3901
$as_echo "$ac_try_echo"; } >&5
 
3902
  (eval "$LEX conftest.l") 2>&5
 
3903
  ac_status=$?
 
3904
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3905
  test $ac_status = 0; }
 
3906
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
 
3907
$as_echo_n "checking lex output file root... " >&6; }
 
3908
if test "${ac_cv_prog_lex_root+set}" = set; then :
 
3909
  $as_echo_n "(cached) " >&6
 
3910
else
 
3911
  
 
3912
if test -f lex.yy.c; then
 
3913
  ac_cv_prog_lex_root=lex.yy
 
3914
elif test -f lexyy.c; then
 
3915
  ac_cv_prog_lex_root=lexyy
 
3916
else
 
3917
  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 
 
3918
fi
 
3919
fi
 
3920
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
 
3921
$as_echo "$ac_cv_prog_lex_root" >&6; }
 
3922
LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
 
3923
 
 
3924
if test -z "${LEXLIB+set}"; then
 
3925
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
 
3926
$as_echo_n "checking lex library... " >&6; }
 
3927
if test "${ac_cv_lib_lex+set}" = set; then :
 
3928
  $as_echo_n "(cached) " >&6
 
3929
else
 
3930
  
 
3931
    ac_save_LIBS=$LIBS
 
3932
    ac_cv_lib_lex='none needed'
 
3933
    for ac_lib in '' -lfl -ll; do
 
3934
      LIBS="$ac_lib $ac_save_LIBS"
 
3935
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3936
/* end confdefs.h.  */
 
3937
`cat $LEX_OUTPUT_ROOT.c`
 
3938
_ACEOF
 
3939
if ac_fn_c_try_link "$LINENO"; then :
 
3940
  ac_cv_lib_lex=$ac_lib
 
3941
fi
 
3942
rm -f core conftest.err conftest.$ac_objext \
 
3943
    conftest$ac_exeext conftest.$ac_ext
 
3944
      test "$ac_cv_lib_lex" != 'none needed' && break
 
3945
    done
 
3946
    LIBS=$ac_save_LIBS
 
3947
  
 
3948
fi
 
3949
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
 
3950
$as_echo "$ac_cv_lib_lex" >&6; }
 
3951
  test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
 
3952
fi
 
3953
 
 
3954
 
 
3955
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
 
3956
$as_echo_n "checking whether yytext is a pointer... " >&6; }
 
3957
if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
 
3958
  $as_echo_n "(cached) " >&6
 
3959
else
 
3960
  # POSIX says lex can declare yytext either as a pointer or an array; the
 
3961
# default is implementation-dependent.  Figure out which it is, since
 
3962
# not all implementations provide the %pointer and %array declarations.
 
3963
ac_cv_prog_lex_yytext_pointer=no
 
3964
ac_save_LIBS=$LIBS
 
3965
LIBS="$LEXLIB $ac_save_LIBS"
 
3966
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3967
/* end confdefs.h.  */
 
3968
#define YYTEXT_POINTER 1
 
3969
`cat $LEX_OUTPUT_ROOT.c`
 
3970
_ACEOF
 
3971
if ac_fn_c_try_link "$LINENO"; then :
 
3972
  ac_cv_prog_lex_yytext_pointer=yes
 
3973
fi
 
3974
rm -f core conftest.err conftest.$ac_objext \
 
3975
    conftest$ac_exeext conftest.$ac_ext
 
3976
LIBS=$ac_save_LIBS
 
3977
 
 
3978
fi
 
3979
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
 
3980
$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
 
3981
if test $ac_cv_prog_lex_yytext_pointer = yes; then
 
3982
  
 
3983
$as_echo "@%:@define YYTEXT_POINTER 1" >>confdefs.h
 
3984
 
 
3985
fi
 
3986
rm -f conftest.l $LEX_OUTPUT_ROOT.c
 
3987
 
 
3988
fi
 
3989
if test "$LEX" = :; then
 
3990
  LEX=${am_missing_run}flex
 
3991
fi
 
3992
for ac_prog in 'bison -y' byacc
 
3993
do
 
3994
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
3995
set dummy $ac_prog; ac_word=$2
 
3996
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3997
$as_echo_n "checking for $ac_word... " >&6; }
 
3998
if test "${ac_cv_prog_YACC+set}" = set; then :
 
3999
  $as_echo_n "(cached) " >&6
 
4000
else
 
4001
  if test -n "$YACC"; then
 
4002
  ac_cv_prog_YACC="$YACC" # Let the user override the test.
 
4003
else
 
4004
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4005
for as_dir in $PATH
 
4006
do
 
4007
  IFS=$as_save_IFS
 
4008
  test -z "$as_dir" && as_dir=.
 
4009
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4010
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4011
    ac_cv_prog_YACC="$ac_prog"
 
4012
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4013
    break 2
 
4014
  fi
 
4015
done
 
4016
  done
 
4017
IFS=$as_save_IFS
 
4018
 
 
4019
fi
 
4020
fi
 
4021
YACC=$ac_cv_prog_YACC
 
4022
if test -n "$YACC"; then
 
4023
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
 
4024
$as_echo "$YACC" >&6; }
 
4025
else
 
4026
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4027
$as_echo "no" >&6; }
 
4028
fi
 
4029
 
 
4030
 
 
4031
  test -n "$YACC" && break
 
4032
done
 
4033
test -n "$YACC" || YACC="yacc"
 
4034
 
 
4035
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
4036
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
4037
if test "${ac_cv_path_SED+set}" = set; then :
 
4038
  $as_echo_n "(cached) " >&6
 
4039
else
 
4040
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
4041
     for ac_i in 1 2 3 4 5 6 7; do
 
4042
       ac_script="$ac_script$as_nl$ac_script"
 
4043
     done
 
4044
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
4045
     { ac_script=; unset ac_script;}
 
4046
     if test -z "$SED"; then
 
4047
  ac_path_SED_found=false
 
4048
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4049
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4050
for as_dir in $PATH
 
4051
do
 
4052
  IFS=$as_save_IFS
 
4053
  test -z "$as_dir" && as_dir=.
 
4054
    for ac_prog in sed gsed; do
 
4055
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4056
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
4057
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
4058
# Check for GNU ac_path_SED and select it if it is found.
 
4059
  # Check for GNU $ac_path_SED
 
4060
case `"$ac_path_SED" --version 2>&1` in
 
4061
*GNU*)
 
4062
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
4063
*)
 
4064
  ac_count=0
 
4065
  $as_echo_n 0123456789 >"conftest.in"
 
4066
  while :
 
4067
  do
 
4068
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4069
    mv "conftest.tmp" "conftest.in"
 
4070
    cp "conftest.in" "conftest.nl"
 
4071
    $as_echo '' >> "conftest.nl"
 
4072
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4073
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4074
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4075
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
4076
      # Best one so far, save it but keep looking for a better one
 
4077
      ac_cv_path_SED="$ac_path_SED"
 
4078
      ac_path_SED_max=$ac_count
 
4079
    fi
 
4080
    # 10*(2^10) chars as input seems more than enough
 
4081
    test $ac_count -gt 10 && break
 
4082
  done
 
4083
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4084
esac
 
4085
 
 
4086
      $ac_path_SED_found && break 3
 
4087
    done
 
4088
  done
 
4089
  done
 
4090
IFS=$as_save_IFS
 
4091
  if test -z "$ac_cv_path_SED"; then
 
4092
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 
 
4093
  fi
 
4094
else
 
4095
  ac_cv_path_SED=$SED
 
4096
fi
 
4097
 
 
4098
fi
 
4099
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
4100
$as_echo "$ac_cv_path_SED" >&6; }
 
4101
 SED="$ac_cv_path_SED"
 
4102
  rm -f conftest.sed
 
4103
 
 
4104
 
 
4105
# Extract the first word of "swig", so it can be a program name with args.
 
4106
set dummy swig; ac_word=$2
 
4107
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4108
$as_echo_n "checking for $ac_word... " >&6; }
 
4109
if test "${ac_cv_path_SWIG+set}" = set; then :
 
4110
  $as_echo_n "(cached) " >&6
 
4111
else
 
4112
  case $SWIG in
 
4113
  [\\/]* | ?:[\\/]*)
 
4114
  ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
 
4115
  ;;
 
4116
  *)
 
4117
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4118
for as_dir in $PATH
 
4119
do
 
4120
  IFS=$as_save_IFS
 
4121
  test -z "$as_dir" && as_dir=.
 
4122
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4123
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4124
    ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
 
4125
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4126
    break 2
 
4127
  fi
 
4128
done
 
4129
  done
 
4130
IFS=$as_save_IFS
 
4131
 
 
4132
  ;;
 
4133
esac
 
4134
fi
 
4135
SWIG=$ac_cv_path_SWIG
 
4136
if test -n "$SWIG"; then
 
4137
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
 
4138
$as_echo "$SWIG" >&6; }
 
4139
else
 
4140
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4141
$as_echo "no" >&6; }
 
4142
fi
 
4143
 
 
4144
 
 
4145
 
 
4146
 
 
4147
 
 
4148
 
 
4149
   # Extract the first word of "pod2man", so it can be a program name with args.
 
4150
set dummy pod2man; ac_word=$2
 
4151
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4152
$as_echo_n "checking for $ac_word... " >&6; }
 
4153
if test "${ac_cv_prog_POD2MAN+set}" = set; then :
 
4154
  $as_echo_n "(cached) " >&6
 
4155
else
 
4156
  if test -n "$POD2MAN"; then
 
4157
  ac_cv_prog_POD2MAN="$POD2MAN" # Let the user override the test.
 
4158
else
 
4159
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4160
for as_dir in $PATH
 
4161
do
 
4162
  IFS=$as_save_IFS
 
4163
  test -z "$as_dir" && as_dir=.
 
4164
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4165
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4166
    ac_cv_prog_POD2MAN="pod2man"
 
4167
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4168
    break 2
 
4169
  fi
 
4170
done
 
4171
  done
 
4172
IFS=$as_save_IFS
 
4173
 
 
4174
  test -z "$ac_cv_prog_POD2MAN" && ac_cv_prog_POD2MAN="no"
 
4175
fi
 
4176
fi
 
4177
POD2MAN=$ac_cv_prog_POD2MAN
 
4178
if test -n "$POD2MAN"; then
 
4179
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POD2MAN" >&5
 
4180
$as_echo "$POD2MAN" >&6; }
 
4181
else
 
4182
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4183
$as_echo "no" >&6; }
 
4184
fi
 
4185
 
 
4186
 
 
4187
   if test "$POD2MAN" = "no"; then
 
4188
      as_fn_error $? "
 
4189
The pod2man program was not found in the default path.  pod2man is part of
 
4190
Perl, which can be retrieved from:
 
4191
 
 
4192
    http://www.perl.com/
 
4193
 
 
4194
The latest version at this time is 5.6.1; it is available packaged as the
 
4195
following archive:
 
4196
 
 
4197
    http://www.perl.com/CPAN/src/stable.tar.gz
 
4198
" "$LINENO" 5 
 
4199
   fi
 
4200
 
 
4201
 
 
4202
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking for Python" >&5
 
4203
$as_echo_n "checking Checking for Python... " >&6; }
 
4204
 
 
4205
@%:@ Check whether --with-python was given.
 
4206
if test "${with_python+set}" = set; then :
 
4207
  withval=$with_python; { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
 
4208
$as_echo "$withval" >&6; }
 
4209
else
 
4210
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4211
$as_echo "no" >&6; }
 
4212
fi
 
4213
 
 
4214
if test "$with_python" = "yes"; then
 
4215
   # Extract the first word of "python", so it can be a program name with args.
 
4216
set dummy python; ac_word=$2
 
4217
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4218
$as_echo_n "checking for $ac_word... " >&6; }
 
4219
if test "${ac_cv_path_PYTHON+set}" = set; then :
 
4220
  $as_echo_n "(cached) " >&6
 
4221
else
 
4222
  case $PYTHON in
 
4223
  [\\/]* | ?:[\\/]*)
 
4224
  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
 
4225
  ;;
 
4226
  *)
 
4227
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4228
for as_dir in $PATH
 
4229
do
 
4230
  IFS=$as_save_IFS
 
4231
  test -z "$as_dir" && as_dir=.
 
4232
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4233
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4234
    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
 
4235
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4236
    break 2
 
4237
  fi
 
4238
done
 
4239
  done
 
4240
IFS=$as_save_IFS
 
4241
 
 
4242
  test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="no"
 
4243
  ;;
 
4244
esac
 
4245
fi
 
4246
PYTHON=$ac_cv_path_PYTHON
 
4247
if test -n "$PYTHON"; then
 
4248
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
 
4249
$as_echo "$PYTHON" >&6; }
 
4250
else
 
4251
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4252
$as_echo "no" >&6; }
 
4253
fi
 
4254
 
 
4255
 
 
4256
   if test x$PYTHON = xno; then
 
4257
      enable_python = no
 
4258
   else 
 
4259
     
 
4260
 
 
4261
     
 
4262
        #
 
4263
        # Allow the use of a (user set) custom python version
 
4264
        #
 
4265
        
 
4266
 
 
4267
        # Extract the first word of "python[$PYTHON_VERSION]", so it can be a program name with args.
 
4268
set dummy python$PYTHON_VERSION; ac_word=$2
 
4269
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4270
$as_echo_n "checking for $ac_word... " >&6; }
 
4271
if test "${ac_cv_path_PYTHON+set}" = set; then :
 
4272
  $as_echo_n "(cached) " >&6
 
4273
else
 
4274
  case $PYTHON in
 
4275
  [\\/]* | ?:[\\/]*)
 
4276
  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
 
4277
  ;;
 
4278
  *)
 
4279
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4280
for as_dir in $PATH
 
4281
do
 
4282
  IFS=$as_save_IFS
 
4283
  test -z "$as_dir" && as_dir=.
 
4284
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4285
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4286
    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
 
4287
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4288
    break 2
 
4289
  fi
 
4290
done
 
4291
  done
 
4292
IFS=$as_save_IFS
 
4293
 
 
4294
  ;;
 
4295
esac
 
4296
fi
 
4297
PYTHON=$ac_cv_path_PYTHON
 
4298
if test -n "$PYTHON"; then
 
4299
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
 
4300
$as_echo "$PYTHON" >&6; }
 
4301
else
 
4302
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4303
$as_echo "no" >&6; }
 
4304
fi
 
4305
 
 
4306
 
 
4307
        if test -z "$PYTHON"; then
 
4308
           as_fn_error $? "Cannot find python$PYTHON_VERSION in your system path" "$LINENO" 5 
 
4309
           PYTHON_VERSION=""
 
4310
        fi
 
4311
 
 
4312
        #
 
4313
        # Check for a version of Python >= 2.1.0
 
4314
        #
 
4315
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a version of Python >= '2.1.0'" >&5
 
4316
$as_echo_n "checking for a version of Python >= '2.1.0'... " >&6; }
 
4317
        ac_supports_python_ver=`$PYTHON -c "import sys, string; \
 
4318
                ver = string.split(sys.version)[0]; \
 
4319
                print ver >= '2.1.0'"`
 
4320
        if test "$ac_supports_python_ver" != "True"; then
 
4321
                if test -z "$PYTHON_NOVERSIONCHECK"; then
 
4322
                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4323
$as_echo "no" >&6; }
 
4324
                        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4325
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4326
as_fn_error $? "
 
4327
This version of the AC@&t@_PYTHON_DEVEL macro
 
4328
doesn't work properly with versions of Python before
 
4329
2.1.0. You may need to re-run configure, setting the
 
4330
variables PYTHON_CPPFLAGS, PYTHON_LDFLAGS, PYTHON_SITE_PKG,
 
4331
PYTHON_EXTRA_LIBS and PYTHON_EXTRA_LDFLAGS by hand.
 
4332
Moreover, to disable this check, set PYTHON_NOVERSIONCHECK
 
4333
to something else than an empty string.
 
4334
 
 
4335
See \`config.log' for more details" "$LINENO" 5 ; }
 
4336
                else
 
4337
                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: skip at user request" >&5
 
4338
$as_echo "skip at user request" >&6; }
 
4339
                fi
 
4340
        else
 
4341
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
4342
$as_echo "yes" >&6; }
 
4343
        fi
 
4344
 
 
4345
        #
 
4346
        # if the macro parameter ``version'' is set, honour it
 
4347
        #
 
4348
        if test -n ""; then
 
4349
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a version of Python " >&5
 
4350
$as_echo_n "checking for a version of Python ... " >&6; }
 
4351
                ac_supports_python_ver=`$PYTHON -c "import sys, string; \
 
4352
                        ver = string.split(sys.version)[0]; \
 
4353
                        print ver "`
 
4354
                if test "$ac_supports_python_ver" = "True"; then
 
4355
                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
4356
$as_echo "yes" >&6; }
 
4357
                else
 
4358
                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4359
$as_echo "no" >&6; }
 
4360
                        as_fn_error $? "this package requires Python .
 
4361
If you have it installed, but it isn't the default Python
 
4362
interpreter in your system path, please pass the PYTHON_VERSION
 
4363
variable to configure. See \`\`configure --help'' for reference.
 
4364
" "$LINENO" 5 
 
4365
                        PYTHON_VERSION=""
 
4366
                fi
 
4367
        fi
 
4368
 
 
4369
        #
 
4370
        # Check if you have distutils, else fail
 
4371
        #
 
4372
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5
 
4373
$as_echo_n "checking for the distutils Python package... " >&6; }
 
4374
        ac_distutils_result=`$PYTHON -c "import distutils" 2>&1`
 
4375
        if test -z "$ac_distutils_result"; then
 
4376
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
4377
$as_echo "yes" >&6; }
 
4378
        else
 
4379
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4380
$as_echo "no" >&6; }
 
4381
                as_fn_error $? "cannot import Python module \"distutils\".
 
4382
Please check your Python installation. The error was:
 
4383
$ac_distutils_result" "$LINENO" 5 
 
4384
                PYTHON_VERSION=""
 
4385
        fi
 
4386
 
 
4387
        #
 
4388
        # Check for Python include path
 
4389
        #
 
4390
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python include path" >&5
 
4391
$as_echo_n "checking for Python include path... " >&6; }
 
4392
        if test -z "$PYTHON_CPPFLAGS"; then
 
4393
                python_path=`$PYTHON -c "import distutils.sysconfig; \
 
4394
                        print distutils.sysconfig.get_python_inc();"`
 
4395
                if test -n "${python_path}"; then
 
4396
                        python_path="-I$python_path"
 
4397
                fi
 
4398
                PYTHON_CPPFLAGS=$python_path
 
4399
        fi
 
4400
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CPPFLAGS" >&5
 
4401
$as_echo "$PYTHON_CPPFLAGS" >&6; }
 
4402
        
 
4403
 
 
4404
        #
 
4405
        # Check for Python library path
 
4406
        #
 
4407
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python library path" >&5
 
4408
$as_echo_n "checking for Python library path... " >&6; }
 
4409
        if test -z "$PYTHON_LDFLAGS"; then
 
4410
                # (makes two attempts to ensure we've got a version number
 
4411
                # from the interpreter)
 
4412
                py_version=`$PYTHON -c "from distutils.sysconfig import *; \
 
4413
                        from string import join; \
 
4414
                        print join(get_config_vars('VERSION'))"`
 
4415
                if test "$py_version" == "None"; then
 
4416
                        if test -n "$PYTHON_VERSION"; then
 
4417
                                py_version=$PYTHON_VERSION
 
4418
                        else
 
4419
                                py_version=`$PYTHON -c "import sys; \
 
4420
                                        print sys.version[:3]"`
 
4421
                        fi
 
4422
                fi
 
4423
 
 
4424
                PYTHON_LDFLAGS=`$PYTHON -c "from distutils.sysconfig import *; \
 
4425
                        from string import join; \
 
4426
                        print '-L' + get_python_lib(0,1), \
 
4427
                        '-lpython';"`$py_version
 
4428
        fi
 
4429
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LDFLAGS" >&5
 
4430
$as_echo "$PYTHON_LDFLAGS" >&6; }
 
4431
        
 
4432
 
 
4433
        #
 
4434
        # Check for site packages
 
4435
        #
 
4436
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python site-packages path" >&5
 
4437
$as_echo_n "checking for Python site-packages path... " >&6; }
 
4438
        if test -z "$PYTHON_SITE_PKG"; then
 
4439
                PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
 
4440
                        print distutils.sysconfig.get_python_lib(0,0);"`
 
4441
        fi
 
4442
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_SITE_PKG" >&5
 
4443
$as_echo "$PYTHON_SITE_PKG" >&6; }
 
4444
        
 
4445
 
 
4446
        #
 
4447
        # libraries which must be linked in when embedding
 
4448
        #
 
4449
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking python extra libraries" >&5
 
4450
$as_echo_n "checking python extra libraries... " >&6; }
 
4451
        if test -z "$PYTHON_EXTRA_LIBS"; then
 
4452
           PYTHON_EXTRA_LIBS=`$PYTHON -c "import distutils.sysconfig; \
 
4453
                conf = distutils.sysconfig.get_config_var; \
 
4454
                print conf('LOCALMODLIBS'), conf('LIBS')"`
 
4455
        fi
 
4456
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_EXTRA_LIBS" >&5
 
4457
$as_echo "$PYTHON_EXTRA_LIBS" >&6; }
 
4458
        
 
4459
 
 
4460
        #
 
4461
        # linking flags needed when embedding
 
4462
        #
 
4463
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking python extra linking flags" >&5
 
4464
$as_echo_n "checking python extra linking flags... " >&6; }
 
4465
        if test -z "$PYTHON_EXTRA_LDFLAGS"; then
 
4466
                PYTHON_EXTRA_LDFLAGS=`$PYTHON -c "import distutils.sysconfig; \
 
4467
                        conf = distutils.sysconfig.get_config_var; \
 
4468
                        print conf('LINKFORSHARED')"`
 
4469
        fi
 
4470
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_EXTRA_LDFLAGS" >&5
 
4471
$as_echo "$PYTHON_EXTRA_LDFLAGS" >&6; }
 
4472
        
 
4473
 
 
4474
        #
 
4475
        # final check to see if everything compiles alright
 
4476
        #
 
4477
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking consistency of all components of python development environment" >&5
 
4478
$as_echo_n "checking consistency of all components of python development environment... " >&6; }
 
4479
        ac_ext=c
 
4480
ac_cpp='$CPP $CPPFLAGS'
 
4481
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4482
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4483
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4484
 
 
4485
        # save current global flags
 
4486
        LIBS="$ac_save_LIBS $PYTHON_LDFLAGS"
 
4487
        CPPFLAGS="$ac_save_CPPFLAGS $PYTHON_CPPFLAGS"
 
4488
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4489
/* end confdefs.h.  */
 
4490
 
 
4491
                #include <Python.h>
 
4492
        
 
4493
int
 
4494
main ()
 
4495
{
 
4496
 
 
4497
                Py_Initialize();
 
4498
        
 
4499
  ;
 
4500
  return 0;
 
4501
}
 
4502
_ACEOF
 
4503
if ac_fn_c_try_link "$LINENO"; then :
 
4504
  pythonexists=yes
 
4505
else
 
4506
  pythonexists=no
 
4507
fi
 
4508
rm -f core conftest.err conftest.$ac_objext \
 
4509
    conftest$ac_exeext conftest.$ac_ext
 
4510
 
 
4511
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pythonexists" >&5
 
4512
$as_echo "$pythonexists" >&6; }
 
4513
 
 
4514
        if test ! "$pythonexists" = "yes"; then
 
4515
           as_fn_error $? "
 
4516
  Could not link test program to Python. Maybe the main Python library has been
 
4517
  installed in some non-standard library path. If so, pass it to configure,
 
4518
  via the LDFLAGS environment variable.
 
4519
  Example: ./configure LDFLAGS=\"-L/usr/non-standard-path/python/lib\"
 
4520
  ============================================================================
 
4521
   ERROR!
 
4522
   You probably have to install the development version of the Python package
 
4523
   for your distribution.  The exact name of this package varies among them.
 
4524
  ============================================================================
 
4525
           " "$LINENO" 5 
 
4526
          PYTHON_VERSION=""
 
4527
        fi
 
4528
        ac_ext=c
 
4529
ac_cpp='$CPP $CPPFLAGS'
 
4530
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4531
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4532
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4533
 
 
4534
        # turn back to default flags
 
4535
        CPPFLAGS="$ac_save_CPPFLAGS"
 
4536
        LIBS="$ac_save_LIBS"
 
4537
 
 
4538
        #
 
4539
        # all done!
 
4540
        #
 
4541
 
 
4542
     
 
4543
      
 
4544
 
 
4545
  
 
4546
        # Find any Python interpreter.
 
4547
    if test -z "$PYTHON"; then
 
4548
      for ac_prog in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
 
4549
do
 
4550
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4551
set dummy $ac_prog; ac_word=$2
 
4552
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4553
$as_echo_n "checking for $ac_word... " >&6; }
 
4554
if test "${ac_cv_path_PYTHON+set}" = set; then :
 
4555
  $as_echo_n "(cached) " >&6
 
4556
else
 
4557
  case $PYTHON in
 
4558
  [\\/]* | ?:[\\/]*)
 
4559
  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
 
4560
  ;;
 
4561
  *)
 
4562
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4563
for as_dir in $PATH
 
4564
do
 
4565
  IFS=$as_save_IFS
 
4566
  test -z "$as_dir" && as_dir=.
 
4567
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4568
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4569
    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
 
4570
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4571
    break 2
 
4572
  fi
 
4573
done
 
4574
  done
 
4575
IFS=$as_save_IFS
 
4576
 
 
4577
  ;;
 
4578
esac
 
4579
fi
 
4580
PYTHON=$ac_cv_path_PYTHON
 
4581
if test -n "$PYTHON"; then
 
4582
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
 
4583
$as_echo "$PYTHON" >&6; }
 
4584
else
 
4585
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4586
$as_echo "no" >&6; }
 
4587
fi
 
4588
 
 
4589
 
 
4590
  test -n "$PYTHON" && break
 
4591
done
 
4592
test -n "$PYTHON" || PYTHON=":"
 
4593
 
 
4594
    fi
 
4595
    am_display_PYTHON=python
 
4596
  
 
4597
 
 
4598
  if test "$PYTHON" = :; then
 
4599
      as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5 
 
4600
  else
 
4601
 
 
4602
      
 
4603
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
 
4604
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
 
4605
if test "${am_cv_python_version+set}" = set; then :
 
4606
  $as_echo_n "(cached) " >&6
 
4607
else
 
4608
  am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
 
4609
fi
 
4610
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
 
4611
$as_echo "$am_cv_python_version" >&6; }
 
4612
  PYTHON_VERSION=$am_cv_python_version
 
4613
 
 
4614
 
 
4615
        
 
4616
  PYTHON_PREFIX='${prefix}'
 
4617
 
 
4618
  PYTHON_EXEC_PREFIX='${exec_prefix}'
 
4619
 
 
4620
 
 
4621
    
 
4622
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
 
4623
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
 
4624
if test "${am_cv_python_platform+set}" = set; then :
 
4625
  $as_echo_n "(cached) " >&6
 
4626
else
 
4627
  am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
 
4628
fi
 
4629
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
 
4630
$as_echo "$am_cv_python_platform" >&6; }
 
4631
  PYTHON_PLATFORM=$am_cv_python_platform
 
4632
 
 
4633
 
 
4634
 
 
4635
  
 
4636
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
 
4637
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
 
4638
if test "${am_cv_python_pythondir+set}" = set; then :
 
4639
  $as_echo_n "(cached) " >&6
 
4640
else
 
4641
  if test "x$prefix" = xNONE
 
4642
     then
 
4643
       am_py_prefix=$ac_default_prefix
 
4644
     else
 
4645
       am_py_prefix=$prefix
 
4646
     fi
 
4647
     am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
 
4648
     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
 
4649
     case $am_cv_python_pythondir in
 
4650
     $am_py_prefix*)
 
4651
       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
 
4652
       am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
 
4653
       ;;
 
4654
     *)
 
4655
       case $am_py_prefix in
 
4656
         /usr|/System*) ;;
 
4657
         *)
 
4658
          am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
 
4659
          ;;
 
4660
       esac
 
4661
       ;;
 
4662
     esac
 
4663
    
 
4664
fi
 
4665
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
 
4666
$as_echo "$am_cv_python_pythondir" >&6; }
 
4667
  pythondir=$am_cv_python_pythondir
 
4668
 
 
4669
 
 
4670
      
 
4671
  pkgpythondir=\${pythondir}/$PACKAGE
 
4672
 
 
4673
 
 
4674
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
 
4675
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
 
4676
if test "${am_cv_python_pyexecdir+set}" = set; then :
 
4677
  $as_echo_n "(cached) " >&6
 
4678
else
 
4679
  if test "x$exec_prefix" = xNONE
 
4680
     then
 
4681
       am_py_exec_prefix=$am_py_prefix
 
4682
     else
 
4683
       am_py_exec_prefix=$exec_prefix
 
4684
     fi
 
4685
     am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
 
4686
     echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
 
4687
     case $am_cv_python_pyexecdir in
 
4688
     $am_py_exec_prefix*)
 
4689
       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
 
4690
       am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
 
4691
       ;;
 
4692
     *)
 
4693
       case $am_py_exec_prefix in
 
4694
         /usr|/System*) ;;
 
4695
         *)
 
4696
           am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
 
4697
           ;;
 
4698
       esac
 
4699
       ;;
 
4700
     esac
 
4701
    
 
4702
fi
 
4703
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
 
4704
$as_echo "$am_cv_python_pyexecdir" >&6; }
 
4705
  pyexecdir=$am_cv_python_pyexecdir
 
4706
 
 
4707
 
 
4708
  
 
4709
  pkgpyexecdir=\${pyexecdir}/$PACKAGE
 
4710
 
 
4711
 
 
4712
    
 
4713
  fi
 
4714
 
 
4715
 
 
4716
   fi
 
4717
fi
 
4718
 
 
4719
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking for perl" >&5
 
4720
$as_echo_n "checking Checking for perl... " >&6; }
 
4721
 
 
4722
@%:@ Check whether --with-perl was given.
 
4723
if test "${with_perl+set}" = set; then :
 
4724
  withval=$with_perl; { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
 
4725
$as_echo "$withval" >&6; }
 
4726
else
 
4727
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4728
$as_echo "no" >&6; }
 
4729
fi
 
4730
 
 
4731
if test "$with_perl" = "yes"; then
 
4732
   # Extract the first word of "perl", so it can be a program name with args.
 
4733
set dummy perl; ac_word=$2
 
4734
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4735
$as_echo_n "checking for $ac_word... " >&6; }
 
4736
if test "${ac_cv_path_PERL+set}" = set; then :
 
4737
  $as_echo_n "(cached) " >&6
 
4738
else
 
4739
  case $PERL in
 
4740
  [\\/]* | ?:[\\/]*)
 
4741
  ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
 
4742
  ;;
 
4743
  *)
 
4744
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4745
for as_dir in $PATH
 
4746
do
 
4747
  IFS=$as_save_IFS
 
4748
  test -z "$as_dir" && as_dir=.
 
4749
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4750
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4751
    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
 
4752
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4753
    break 2
 
4754
  fi
 
4755
done
 
4756
  done
 
4757
IFS=$as_save_IFS
 
4758
 
 
4759
  test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
 
4760
  ;;
 
4761
esac
 
4762
fi
 
4763
PERL=$ac_cv_path_PERL
 
4764
if test -n "$PERL"; then
 
4765
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
 
4766
$as_echo "$PERL" >&6; }
 
4767
else
 
4768
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4769
$as_echo "no" >&6; }
 
4770
fi
 
4771
 
 
4772
    
 
4773
   if test x$PERL = xno; then
 
4774
      enable_perl=no
 
4775
   else
 
4776
      perl_includedir="`$PERL -e 'use Config; print $Config{archlib}'`/CORE"
 
4777
      as_ac_File=`$as_echo "ac_cv_file_$perl_includedir/perl.h" | $as_tr_sh`
 
4778
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $perl_includedir/perl.h" >&5
 
4779
$as_echo_n "checking for $perl_includedir/perl.h... " >&6; }
 
4780
if eval "test \"\${$as_ac_File+set}\"" = set; then :
 
4781
  $as_echo_n "(cached) " >&6
 
4782
else
 
4783
  test "$cross_compiling" = yes &&
 
4784
  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 
 
4785
if test -r "$perl_includedir/perl.h"; then
 
4786
  eval "$as_ac_File=yes"
 
4787
else
 
4788
  eval "$as_ac_File=no"
 
4789
fi
 
4790
fi
 
4791
eval ac_res=\$$as_ac_File
 
4792
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
4793
$as_echo "$ac_res" >&6; }
 
4794
if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
 
4795
  enable_perl=yes
 
4796
else
 
4797
  enable_perl=no
 
4798
fi
 
4799
 
 
4800
   fi
 
4801
fi
 
4802
 
 
4803
 
 
4804
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking for ruby" >&5
 
4805
$as_echo_n "checking Checking for ruby... " >&6; }
 
4806
 
 
4807
@%:@ Check whether --with-ruby was given.
 
4808
if test "${with_ruby+set}" = set; then :
 
4809
  withval=$with_ruby; { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
 
4810
$as_echo "$withval" >&6; }
 
4811
else
 
4812
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4813
$as_echo "no" >&6; }
 
4814
fi
 
4815
 
 
4816
if test "$with_ruby" = "yes"; then
 
4817
   # Extract the first word of "ruby", so it can be a program name with args.
 
4818
set dummy ruby; ac_word=$2
 
4819
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4820
$as_echo_n "checking for $ac_word... " >&6; }
 
4821
if test "${ac_cv_path_RUBY+set}" = set; then :
 
4822
  $as_echo_n "(cached) " >&6
 
4823
else
 
4824
  case $RUBY in
 
4825
  [\\/]* | ?:[\\/]*)
 
4826
  ac_cv_path_RUBY="$RUBY" # Let the user override the test with a path.
 
4827
  ;;
 
4828
  *)
 
4829
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4830
for as_dir in $PATH
 
4831
do
 
4832
  IFS=$as_save_IFS
 
4833
  test -z "$as_dir" && as_dir=.
 
4834
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4835
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4836
    ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext"
 
4837
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4838
    break 2
 
4839
  fi
 
4840
done
 
4841
  done
 
4842
IFS=$as_save_IFS
 
4843
 
 
4844
  ;;
 
4845
esac
 
4846
fi
 
4847
RUBY=$ac_cv_path_RUBY
 
4848
if test -n "$RUBY"; then
 
4849
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5
 
4850
$as_echo "$RUBY" >&6; }
 
4851
else
 
4852
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4853
$as_echo "no" >&6; }
 
4854
fi
 
4855
 
 
4856
 
 
4857
fi
 
4858
 
 
4859
 
 
4860
 if test x$with_python = xyes; then
 
4861
  HAVE_PYTHON_TRUE=
 
4862
  HAVE_PYTHON_FALSE='#'
 
4863
else
 
4864
  HAVE_PYTHON_TRUE='#'
 
4865
  HAVE_PYTHON_FALSE=
 
4866
fi
 
4867
 
 
4868
 if test x$with_perl = xyes; then
 
4869
  HAVE_PERL_TRUE=
 
4870
  HAVE_PERL_FALSE='#'
 
4871
else
 
4872
  HAVE_PERL_TRUE='#'
 
4873
  HAVE_PERL_FALSE=
 
4874
fi
 
4875
 
 
4876
 if test x$with_ruby = xyes; then
 
4877
  HAVE_RUBY_TRUE=
 
4878
  HAVE_RUBY_FALSE='#'
 
4879
else
 
4880
  HAVE_RUBY_TRUE='#'
 
4881
  HAVE_RUBY_FALSE=
 
4882
fi
 
4883
 
 
4884
 if test x$enable_rootlib = xyes; then
 
4885
  BUILD_ROOTLIB_TRUE=
 
4886
  BUILD_ROOTLIB_FALSE='#'
 
4887
else
 
4888
  BUILD_ROOTLIB_TRUE='#'
 
4889
  BUILD_ROOTLIB_FALSE=
 
4890
fi
 
4891
 
 
4892
 
 
4893
ac_ext=c
 
4894
ac_cpp='$CPP $CPPFLAGS'
 
4895
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4896
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4897
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4898
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
4899
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
4900
# On Suns, sometimes $CPP names a directory.
 
4901
if test -n "$CPP" && test -d "$CPP"; then
 
4902
  CPP=
 
4903
fi
 
4904
if test -z "$CPP"; then
 
4905
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
4906
  $as_echo_n "(cached) " >&6
 
4907
else
 
4908
      # Double quotes because CPP needs to be expanded
 
4909
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
4910
    do
 
4911
      ac_preproc_ok=false
 
4912
for ac_c_preproc_warn_flag in '' yes
 
4913
do
 
4914
  # Use a header file that comes with gcc, so configuring glibc
 
4915
  # with a fresh cross-compiler works.
 
4916
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
4917
  # <limits.h> exists even on freestanding compilers.
 
4918
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
4919
  # not just through cpp. "Syntax error" is here to catch this case.
 
4920
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4921
/* end confdefs.h.  */
 
4922
@%:@ifdef __STDC__
 
4923
@%:@ include <limits.h>
 
4924
@%:@else
 
4925
@%:@ include <assert.h>
 
4926
@%:@endif
 
4927
                     Syntax error
 
4928
_ACEOF
 
4929
if ac_fn_c_try_cpp "$LINENO"; then :
 
4930
  
 
4931
else
 
4932
  # Broken: fails on valid input.
 
4933
continue
 
4934
fi
 
4935
rm -f conftest.err conftest.i conftest.$ac_ext
 
4936
 
 
4937
  # OK, works on sane cases.  Now check whether nonexistent headers
 
4938
  # can be detected and how.
 
4939
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4940
/* end confdefs.h.  */
 
4941
@%:@include <ac_nonexistent.h>
 
4942
_ACEOF
 
4943
if ac_fn_c_try_cpp "$LINENO"; then :
 
4944
  # Broken: success on invalid input.
 
4945
continue
 
4946
else
 
4947
  # Passes both tests.
 
4948
ac_preproc_ok=:
 
4949
break
 
4950
fi
 
4951
rm -f conftest.err conftest.i conftest.$ac_ext
 
4952
 
 
4953
done
 
4954
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
4955
rm -f conftest.i conftest.err conftest.$ac_ext
 
4956
if $ac_preproc_ok; then :
 
4957
  break
 
4958
fi
 
4959
 
 
4960
    done
 
4961
    ac_cv_prog_CPP=$CPP
 
4962
  
 
4963
fi
 
4964
  CPP=$ac_cv_prog_CPP
 
4965
else
 
4966
  ac_cv_prog_CPP=$CPP
 
4967
fi
 
4968
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
4969
$as_echo "$CPP" >&6; }
 
4970
ac_preproc_ok=false
 
4971
for ac_c_preproc_warn_flag in '' yes
 
4972
do
 
4973
  # Use a header file that comes with gcc, so configuring glibc
 
4974
  # with a fresh cross-compiler works.
 
4975
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
4976
  # <limits.h> exists even on freestanding compilers.
 
4977
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
4978
  # not just through cpp. "Syntax error" is here to catch this case.
 
4979
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4980
/* end confdefs.h.  */
 
4981
@%:@ifdef __STDC__
 
4982
@%:@ include <limits.h>
 
4983
@%:@else
 
4984
@%:@ include <assert.h>
 
4985
@%:@endif
 
4986
                     Syntax error
 
4987
_ACEOF
 
4988
if ac_fn_c_try_cpp "$LINENO"; then :
 
4989
  
 
4990
else
 
4991
  # Broken: fails on valid input.
 
4992
continue
 
4993
fi
 
4994
rm -f conftest.err conftest.i conftest.$ac_ext
 
4995
 
 
4996
  # OK, works on sane cases.  Now check whether nonexistent headers
 
4997
  # can be detected and how.
 
4998
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4999
/* end confdefs.h.  */
 
5000
@%:@include <ac_nonexistent.h>
 
5001
_ACEOF
 
5002
if ac_fn_c_try_cpp "$LINENO"; then :
 
5003
  # Broken: success on invalid input.
 
5004
continue
 
5005
else
 
5006
  # Passes both tests.
 
5007
ac_preproc_ok=:
 
5008
break
 
5009
fi
 
5010
rm -f conftest.err conftest.i conftest.$ac_ext
 
5011
 
 
5012
done
 
5013
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
5014
rm -f conftest.i conftest.err conftest.$ac_ext
 
5015
if $ac_preproc_ok; then :
 
5016
  
 
5017
else
 
5018
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
5019
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
5020
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
5021
See \`config.log' for more details" "$LINENO" 5 ; }
 
5022
fi
 
5023
 
 
5024
ac_ext=c
 
5025
ac_cpp='$CPP $CPPFLAGS'
 
5026
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5027
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5028
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5029
 
 
5030
 
 
5031
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
5032
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
5033
if test "${ac_cv_path_GREP+set}" = set; then :
 
5034
  $as_echo_n "(cached) " >&6
 
5035
else
 
5036
  if test -z "$GREP"; then
 
5037
  ac_path_GREP_found=false
 
5038
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5039
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5040
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
5041
do
 
5042
  IFS=$as_save_IFS
 
5043
  test -z "$as_dir" && as_dir=.
 
5044
    for ac_prog in grep ggrep; do
 
5045
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5046
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
5047
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
5048
# Check for GNU ac_path_GREP and select it if it is found.
 
5049
  # Check for GNU $ac_path_GREP
 
5050
case `"$ac_path_GREP" --version 2>&1` in
 
5051
*GNU*)
 
5052
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
5053
*)
 
5054
  ac_count=0
 
5055
  $as_echo_n 0123456789 >"conftest.in"
 
5056
  while :
 
5057
  do
 
5058
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5059
    mv "conftest.tmp" "conftest.in"
 
5060
    cp "conftest.in" "conftest.nl"
 
5061
    $as_echo 'GREP' >> "conftest.nl"
 
5062
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5063
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5064
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
5065
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
5066
      # Best one so far, save it but keep looking for a better one
 
5067
      ac_cv_path_GREP="$ac_path_GREP"
 
5068
      ac_path_GREP_max=$ac_count
 
5069
    fi
 
5070
    # 10*(2^10) chars as input seems more than enough
 
5071
    test $ac_count -gt 10 && break
 
5072
  done
 
5073
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5074
esac
 
5075
 
 
5076
      $ac_path_GREP_found && break 3
 
5077
    done
 
5078
  done
 
5079
  done
 
5080
IFS=$as_save_IFS
 
5081
  if test -z "$ac_cv_path_GREP"; then
 
5082
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
 
5083
  fi
 
5084
else
 
5085
  ac_cv_path_GREP=$GREP
 
5086
fi
 
5087
 
 
5088
fi
 
5089
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
5090
$as_echo "$ac_cv_path_GREP" >&6; }
 
5091
 GREP="$ac_cv_path_GREP"
 
5092
 
 
5093
 
 
5094
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
5095
$as_echo_n "checking for egrep... " >&6; }
 
5096
if test "${ac_cv_path_EGREP+set}" = set; then :
 
5097
  $as_echo_n "(cached) " >&6
 
5098
else
 
5099
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
5100
   then ac_cv_path_EGREP="$GREP -E"
 
5101
   else
 
5102
     if test -z "$EGREP"; then
 
5103
  ac_path_EGREP_found=false
 
5104
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5105
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5106
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
5107
do
 
5108
  IFS=$as_save_IFS
 
5109
  test -z "$as_dir" && as_dir=.
 
5110
    for ac_prog in egrep; do
 
5111
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5112
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
5113
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
5114
# Check for GNU ac_path_EGREP and select it if it is found.
 
5115
  # Check for GNU $ac_path_EGREP
 
5116
case `"$ac_path_EGREP" --version 2>&1` in
 
5117
*GNU*)
 
5118
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
5119
*)
 
5120
  ac_count=0
 
5121
  $as_echo_n 0123456789 >"conftest.in"
 
5122
  while :
 
5123
  do
 
5124
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5125
    mv "conftest.tmp" "conftest.in"
 
5126
    cp "conftest.in" "conftest.nl"
 
5127
    $as_echo 'EGREP' >> "conftest.nl"
 
5128
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5129
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5130
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
5131
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
5132
      # Best one so far, save it but keep looking for a better one
 
5133
      ac_cv_path_EGREP="$ac_path_EGREP"
 
5134
      ac_path_EGREP_max=$ac_count
 
5135
    fi
 
5136
    # 10*(2^10) chars as input seems more than enough
 
5137
    test $ac_count -gt 10 && break
 
5138
  done
 
5139
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5140
esac
 
5141
 
 
5142
      $ac_path_EGREP_found && break 3
 
5143
    done
 
5144
  done
 
5145
  done
 
5146
IFS=$as_save_IFS
 
5147
  if test -z "$ac_cv_path_EGREP"; then
 
5148
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
 
5149
  fi
 
5150
else
 
5151
  ac_cv_path_EGREP=$EGREP
 
5152
fi
 
5153
 
 
5154
   fi
 
5155
fi
 
5156
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
5157
$as_echo "$ac_cv_path_EGREP" >&6; }
 
5158
 EGREP="$ac_cv_path_EGREP"
 
5159
 
 
5160
 
 
5161
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
5162
$as_echo_n "checking for ANSI C header files... " >&6; }
 
5163
if test "${ac_cv_header_stdc+set}" = set; then :
 
5164
  $as_echo_n "(cached) " >&6
 
5165
else
 
5166
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5167
/* end confdefs.h.  */
 
5168
#include <stdlib.h>
 
5169
#include <stdarg.h>
 
5170
#include <string.h>
 
5171
#include <float.h>
 
5172
 
 
5173
int
 
5174
main ()
 
5175
{
 
5176
 
 
5177
  ;
 
5178
  return 0;
 
5179
}
 
5180
_ACEOF
 
5181
if ac_fn_c_try_compile "$LINENO"; then :
 
5182
  ac_cv_header_stdc=yes
 
5183
else
 
5184
  ac_cv_header_stdc=no
 
5185
fi
 
5186
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5187
 
 
5188
if test $ac_cv_header_stdc = yes; then
 
5189
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
5190
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5191
/* end confdefs.h.  */
 
5192
#include <string.h>
 
5193
 
 
5194
_ACEOF
 
5195
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
5196
  $EGREP "memchr" >/dev/null 2>&1; then :
 
5197
  
 
5198
else
 
5199
  ac_cv_header_stdc=no
 
5200
fi
 
5201
rm -f conftest*
 
5202
 
 
5203
fi
 
5204
 
 
5205
if test $ac_cv_header_stdc = yes; then
 
5206
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
5207
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5208
/* end confdefs.h.  */
 
5209
#include <stdlib.h>
 
5210
 
 
5211
_ACEOF
 
5212
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
5213
  $EGREP "free" >/dev/null 2>&1; then :
 
5214
  
 
5215
else
 
5216
  ac_cv_header_stdc=no
 
5217
fi
 
5218
rm -f conftest*
 
5219
 
 
5220
fi
 
5221
 
 
5222
if test $ac_cv_header_stdc = yes; then
 
5223
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
5224
  if test "$cross_compiling" = yes; then :
 
5225
  :
 
5226
else
 
5227
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5228
/* end confdefs.h.  */
 
5229
#include <ctype.h>
 
5230
#include <stdlib.h>
 
5231
#if ((' ' & 0x0FF) == 0x020)
 
5232
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
5233
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
5234
#else
 
5235
# define ISLOWER(c) \
 
5236
                   (('a' <= (c) && (c) <= 'i') \
 
5237
                     || ('j' <= (c) && (c) <= 'r') \
 
5238
                     || ('s' <= (c) && (c) <= 'z'))
 
5239
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
5240
#endif
 
5241
 
 
5242
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
5243
int
 
5244
main ()
 
5245
{
 
5246
  int i;
 
5247
  for (i = 0; i < 256; i++)
 
5248
    if (XOR (islower (i), ISLOWER (i))
 
5249
        || toupper (i) != TOUPPER (i))
 
5250
      return 2;
 
5251
  return 0;
 
5252
}
 
5253
_ACEOF
 
5254
if ac_fn_c_try_run "$LINENO"; then :
 
5255
  
 
5256
else
 
5257
  ac_cv_header_stdc=no
 
5258
fi
 
5259
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
5260
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
5261
fi
 
5262
 
 
5263
fi
 
5264
fi
 
5265
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
5266
$as_echo "$ac_cv_header_stdc" >&6; }
 
5267
if test $ac_cv_header_stdc = yes; then
 
5268
  
 
5269
$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
 
5270
 
 
5271
fi
 
5272
 
 
5273
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
5274
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
5275
                  inttypes.h stdint.h unistd.h
 
5276
do :
 
5277
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
5278
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
5279
"
 
5280
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
5281
  cat >>confdefs.h <<_ACEOF
 
5282
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
5283
_ACEOF
 
5284
 
 
5285
fi
 
5286
 
 
5287
done
 
5288
 
 
5289
 
 
5290
for ac_header in unistd.h stdint.h
 
5291
do :
 
5292
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
5293
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
5294
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
5295
  cat >>confdefs.h <<_ACEOF
 
5296
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
5297
_ACEOF
 
5298
 
 
5299
fi
 
5300
 
 
5301
done
 
5302
 
 
5303
 
 
5304
for ac_func in asprintf
 
5305
do :
 
5306
  ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
 
5307
if test "x$ac_cv_func_asprintf" = x""yes; then :
 
5308
  cat >>confdefs.h <<_ACEOF
 
5309
@%:@define HAVE_ASPRINTF 1
 
5310
_ACEOF
 
5311
 
 
5312
fi
 
5313
done
 
5314
 
 
5315
 
 
5316
if test "x$CC" != xcc; then
 
5317
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
 
5318
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
 
5319
else
 
5320
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
 
5321
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
 
5322
fi
 
5323
set dummy $CC; ac_cc=`$as_echo "$2" |
 
5324
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 
5325
if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
 
5326
  $as_echo_n "(cached) " >&6
 
5327
else
 
5328
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5329
/* end confdefs.h.  */
 
5330
 
 
5331
int
 
5332
main ()
 
5333
{
 
5334
 
 
5335
  ;
 
5336
  return 0;
 
5337
}
 
5338
_ACEOF
 
5339
# Make sure it works both with $CC and with simple cc.
 
5340
# We do the test twice because some compilers refuse to overwrite an
 
5341
# existing .o file with -o, though they will create one.
 
5342
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 
5343
rm -f conftest2.*
 
5344
if { { case "(($ac_try" in
 
5345
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5346
  *) ac_try_echo=$ac_try;;
 
5347
esac
 
5348
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5349
$as_echo "$ac_try_echo"; } >&5
 
5350
  (eval "$ac_try") 2>&5
 
5351
  ac_status=$?
 
5352
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5353
  test $ac_status = 0; } &&
 
5354
   test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
5355
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5356
  *) ac_try_echo=$ac_try;;
 
5357
esac
 
5358
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5359
$as_echo "$ac_try_echo"; } >&5
 
5360
  (eval "$ac_try") 2>&5
 
5361
  ac_status=$?
 
5362
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5363
  test $ac_status = 0; };
 
5364
then
 
5365
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
 
5366
  if test "x$CC" != xcc; then
 
5367
    # Test first that cc exists at all.
 
5368
    if { ac_try='cc -c conftest.$ac_ext >&5'
 
5369
  { { case "(($ac_try" in
 
5370
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5371
  *) ac_try_echo=$ac_try;;
 
5372
esac
 
5373
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5374
$as_echo "$ac_try_echo"; } >&5
 
5375
  (eval "$ac_try") 2>&5
 
5376
  ac_status=$?
 
5377
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5378
  test $ac_status = 0; }; }; then
 
5379
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 
5380
      rm -f conftest2.*
 
5381
      if { { case "(($ac_try" in
 
5382
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5383
  *) ac_try_echo=$ac_try;;
 
5384
esac
 
5385
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5386
$as_echo "$ac_try_echo"; } >&5
 
5387
  (eval "$ac_try") 2>&5
 
5388
  ac_status=$?
 
5389
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5390
  test $ac_status = 0; } &&
 
5391
         test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
5392
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5393
  *) ac_try_echo=$ac_try;;
 
5394
esac
 
5395
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5396
$as_echo "$ac_try_echo"; } >&5
 
5397
  (eval "$ac_try") 2>&5
 
5398
  ac_status=$?
 
5399
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5400
  test $ac_status = 0; };
 
5401
      then
 
5402
        # cc works too.
 
5403
        :
 
5404
      else
 
5405
        # cc exists but doesn't like -o.
 
5406
        eval ac_cv_prog_cc_${ac_cc}_c_o=no
 
5407
      fi
 
5408
    fi
 
5409
  fi
 
5410
else
 
5411
  eval ac_cv_prog_cc_${ac_cc}_c_o=no
 
5412
fi
 
5413
rm -f core conftest*
 
5414
 
 
5415
fi
 
5416
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
 
5417
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5418
$as_echo "yes" >&6; }
 
5419
else
 
5420
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5421
$as_echo "no" >&6; }
 
5422
  
 
5423
$as_echo "@%:@define NO_MINUS_C_MINUS_O 1" >>confdefs.h
 
5424
 
 
5425
fi
 
5426
 
 
5427
# FIXME: we rely on the cache variable name because
 
5428
# there is no other way.
 
5429
set dummy $CC
 
5430
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 
5431
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
 
5432
if test "$am_t" != yes; then
 
5433
   # Losing compiler, so override with the script.
 
5434
   # FIXME: It is wrong to rewrite CC.
 
5435
   # But if we don't then we get into trouble of one sort or another.
 
5436
   # A longer-term fix would be to have automake use am__CC in this case,
 
5437
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 
5438
   CC="$am_aux_dir/compile $CC"
 
5439
fi
 
5440
 
 
5441
 
 
5442
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
 
5443
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
 
5444
if test "${ac_cv_c_const+set}" = set; then :
 
5445
  $as_echo_n "(cached) " >&6
 
5446
else
 
5447
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5448
/* end confdefs.h.  */
 
5449
 
 
5450
int
 
5451
main ()
 
5452
{
 
5453
/* FIXME: Include the comments suggested by Paul. */
 
5454
#ifndef __cplusplus
 
5455
  /* Ultrix mips cc rejects this.  */
 
5456
  typedef int charset[2];
 
5457
  const charset cs;
 
5458
  /* SunOS 4.1.1 cc rejects this.  */
 
5459
  char const *const *pcpcc;
 
5460
  char **ppc;
 
5461
  /* NEC SVR4.0.2 mips cc rejects this.  */
 
5462
  struct point {int x, y;};
 
5463
  static struct point const zero = {0,0};
 
5464
  /* AIX XL C 1.02.0.0 rejects this.
 
5465
     It does not let you subtract one const X* pointer from another in
 
5466
     an arm of an if-expression whose if-part is not a constant
 
5467
     expression */
 
5468
  const char *g = "string";
 
5469
  pcpcc = &g + (g ? g-g : 0);
 
5470
  /* HPUX 7.0 cc rejects these. */
 
5471
  ++pcpcc;
 
5472
  ppc = (char**) pcpcc;
 
5473
  pcpcc = (char const *const *) ppc;
 
5474
  { /* SCO 3.2v4 cc rejects this.  */
 
5475
    char *t;
 
5476
    char const *s = 0 ? (char *) 0 : (char const *) 0;
 
5477
 
 
5478
    *t++ = 0;
 
5479
    if (s) return 0;
 
5480
  }
 
5481
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
 
5482
    int x[] = {25, 17};
 
5483
    const int *foo = &x[0];
 
5484
    ++foo;
 
5485
  }
 
5486
  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
 
5487
    typedef const int *iptr;
 
5488
    iptr p = 0;
 
5489
    ++p;
 
5490
  }
 
5491
  { /* AIX XL C 1.02.0.0 rejects this saying
 
5492
       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
 
5493
    struct s { int j; const int *ap[3]; };
 
5494
    struct s *b; b->j = 5;
 
5495
  }
 
5496
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
 
5497
    const int foo = 10;
 
5498
    if (!foo) return 0;
 
5499
  }
 
5500
  return !cs[0] && !zero.x;
 
5501
#endif
 
5502
 
 
5503
  ;
 
5504
  return 0;
 
5505
}
 
5506
_ACEOF
 
5507
if ac_fn_c_try_compile "$LINENO"; then :
 
5508
  ac_cv_c_const=yes
 
5509
else
 
5510
  ac_cv_c_const=no
 
5511
fi
 
5512
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5513
fi
 
5514
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
 
5515
$as_echo "$ac_cv_c_const" >&6; }
 
5516
if test $ac_cv_c_const = no; then
 
5517
  
 
5518
$as_echo "@%:@define const /**/" >>confdefs.h
 
5519
 
 
5520
fi
 
5521
 
 
5522
case `pwd` in
 
5523
  *\ * | *\     *)
 
5524
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
5525
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
5526
esac
 
5527
 
 
5528
 
 
5529
 
 
5530
macro_version='2.2.6b'
 
5531
macro_revision='1.3017'
 
5532
 
 
5533
    
 
5534
    
 
5535
    
 
5536
 
 
5537
 
 
5538
    
 
5539
    
 
5540
    
 
5541
 
 
5542
 
 
5543
 
 
5544
 
 
5545
ltmain="$ac_aux_dir/ltmain.sh"
 
5546
 
 
5547
# Make sure we can run config.sub.
 
5548
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
5549
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 
 
5550
 
 
5551
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
5552
$as_echo_n "checking build system type... " >&6; }
 
5553
if test "${ac_cv_build+set}" = set; then :
 
5554
  $as_echo_n "(cached) " >&6
 
5555
else
 
5556
  ac_build_alias=$build_alias
 
5557
test "x$ac_build_alias" = x &&
 
5558
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
5559
test "x$ac_build_alias" = x &&
 
5560
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 
 
5561
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
5562
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 
 
5563
 
 
5564
fi
 
5565
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
5566
$as_echo "$ac_cv_build" >&6; }
 
5567
case $ac_cv_build in
 
5568
*-*-*) ;;
 
5569
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
 
5570
esac
 
5571
build=$ac_cv_build
 
5572
ac_save_IFS=$IFS; IFS='-'
 
5573
set x $ac_cv_build
 
5574
shift
 
5575
build_cpu=$1
 
5576
build_vendor=$2
 
5577
shift; shift
 
5578
# Remember, the first character of IFS is used to create $*,
 
5579
# except with old shells:
 
5580
build_os=$*
 
5581
IFS=$ac_save_IFS
 
5582
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
5583
 
 
5584
 
 
5585
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
5586
$as_echo_n "checking host system type... " >&6; }
 
5587
if test "${ac_cv_host+set}" = set; then :
 
5588
  $as_echo_n "(cached) " >&6
 
5589
else
 
5590
  if test "x$host_alias" = x; then
 
5591
  ac_cv_host=$ac_cv_build
 
5592
else
 
5593
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
5594
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 
 
5595
fi
 
5596
 
 
5597
fi
 
5598
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
5599
$as_echo "$ac_cv_host" >&6; }
 
5600
case $ac_cv_host in
 
5601
*-*-*) ;;
 
5602
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
 
5603
esac
 
5604
host=$ac_cv_host
 
5605
ac_save_IFS=$IFS; IFS='-'
 
5606
set x $ac_cv_host
 
5607
shift
 
5608
host_cpu=$1
 
5609
host_vendor=$2
 
5610
shift; shift
 
5611
# Remember, the first character of IFS is used to create $*,
 
5612
# except with old shells:
 
5613
host_os=$*
 
5614
IFS=$ac_save_IFS
 
5615
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
5616
 
 
5617
 
 
5618
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
5619
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
5620
if test "${ac_cv_path_SED+set}" = set; then :
 
5621
  $as_echo_n "(cached) " >&6
 
5622
else
 
5623
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
5624
     for ac_i in 1 2 3 4 5 6 7; do
 
5625
       ac_script="$ac_script$as_nl$ac_script"
 
5626
     done
 
5627
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
5628
     { ac_script=; unset ac_script;}
 
5629
     if test -z "$SED"; then
 
5630
  ac_path_SED_found=false
 
5631
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5632
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5633
for as_dir in $PATH
 
5634
do
 
5635
  IFS=$as_save_IFS
 
5636
  test -z "$as_dir" && as_dir=.
 
5637
    for ac_prog in sed gsed; do
 
5638
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5639
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
5640
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
5641
# Check for GNU ac_path_SED and select it if it is found.
 
5642
  # Check for GNU $ac_path_SED
 
5643
case `"$ac_path_SED" --version 2>&1` in
 
5644
*GNU*)
 
5645
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
5646
*)
 
5647
  ac_count=0
 
5648
  $as_echo_n 0123456789 >"conftest.in"
 
5649
  while :
 
5650
  do
 
5651
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5652
    mv "conftest.tmp" "conftest.in"
 
5653
    cp "conftest.in" "conftest.nl"
 
5654
    $as_echo '' >> "conftest.nl"
 
5655
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5656
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5657
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
5658
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
5659
      # Best one so far, save it but keep looking for a better one
 
5660
      ac_cv_path_SED="$ac_path_SED"
 
5661
      ac_path_SED_max=$ac_count
 
5662
    fi
 
5663
    # 10*(2^10) chars as input seems more than enough
 
5664
    test $ac_count -gt 10 && break
 
5665
  done
 
5666
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5667
esac
 
5668
 
 
5669
      $ac_path_SED_found && break 3
 
5670
    done
 
5671
  done
 
5672
  done
 
5673
IFS=$as_save_IFS
 
5674
  if test -z "$ac_cv_path_SED"; then
 
5675
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 
 
5676
  fi
 
5677
else
 
5678
  ac_cv_path_SED=$SED
 
5679
fi
 
5680
 
 
5681
fi
 
5682
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
5683
$as_echo "$ac_cv_path_SED" >&6; }
 
5684
 SED="$ac_cv_path_SED"
 
5685
  rm -f conftest.sed
 
5686
 
 
5687
test -z "$SED" && SED=sed
 
5688
Xsed="$SED -e 1s/^X//"
 
5689
 
 
5690
    
 
5691
    
 
5692
    
 
5693
 
 
5694
 
 
5695
    
 
5696
    
 
5697
    
 
5698
 
 
5699
 
 
5700
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 
5701
$as_echo_n "checking for fgrep... " >&6; }
 
5702
if test "${ac_cv_path_FGREP+set}" = set; then :
 
5703
  $as_echo_n "(cached) " >&6
 
5704
else
 
5705
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
5706
   then ac_cv_path_FGREP="$GREP -F"
 
5707
   else
 
5708
     if test -z "$FGREP"; then
 
5709
  ac_path_FGREP_found=false
 
5710
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5711
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5712
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
5713
do
 
5714
  IFS=$as_save_IFS
 
5715
  test -z "$as_dir" && as_dir=.
 
5716
    for ac_prog in fgrep; do
 
5717
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5718
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
5719
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
5720
# Check for GNU ac_path_FGREP and select it if it is found.
 
5721
  # Check for GNU $ac_path_FGREP
 
5722
case `"$ac_path_FGREP" --version 2>&1` in
 
5723
*GNU*)
 
5724
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
5725
*)
 
5726
  ac_count=0
 
5727
  $as_echo_n 0123456789 >"conftest.in"
 
5728
  while :
 
5729
  do
 
5730
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5731
    mv "conftest.tmp" "conftest.in"
 
5732
    cp "conftest.in" "conftest.nl"
 
5733
    $as_echo 'FGREP' >> "conftest.nl"
 
5734
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5735
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5736
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
5737
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
5738
      # Best one so far, save it but keep looking for a better one
 
5739
      ac_cv_path_FGREP="$ac_path_FGREP"
 
5740
      ac_path_FGREP_max=$ac_count
 
5741
    fi
 
5742
    # 10*(2^10) chars as input seems more than enough
 
5743
    test $ac_count -gt 10 && break
 
5744
  done
 
5745
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5746
esac
 
5747
 
 
5748
      $ac_path_FGREP_found && break 3
 
5749
    done
 
5750
  done
 
5751
  done
 
5752
IFS=$as_save_IFS
 
5753
  if test -z "$ac_cv_path_FGREP"; then
 
5754
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
 
5755
  fi
 
5756
else
 
5757
  ac_cv_path_FGREP=$FGREP
 
5758
fi
 
5759
 
 
5760
   fi
 
5761
fi
 
5762
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 
5763
$as_echo "$ac_cv_path_FGREP" >&6; }
 
5764
 FGREP="$ac_cv_path_FGREP"
 
5765
 
 
5766
 
 
5767
test -z "$GREP" && GREP=grep
 
5768
 
 
5769
    
 
5770
    
 
5771
    
 
5772
 
 
5773
 
 
5774
    
 
5775
    
 
5776
    
 
5777
 
 
5778
 
 
5779
    
 
5780
    
 
5781
    
 
5782
 
 
5783
 
 
5784
 
 
5785
 
 
5786
 
 
5787
@%:@ Check whether --with-gnu-ld was given.
 
5788
if test "${with_gnu_ld+set}" = set; then :
 
5789
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
5790
else
 
5791
  with_gnu_ld=no
 
5792
fi
 
5793
 
 
5794
ac_prog=ld
 
5795
if test "$GCC" = yes; then
 
5796
  # Check if gcc -print-prog-name=ld gives a path.
 
5797
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
5798
$as_echo_n "checking for ld used by $CC... " >&6; }
 
5799
  case $host in
 
5800
  *-*-mingw*)
 
5801
    # gcc leaves a trailing carriage return which upsets mingw
 
5802
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
5803
  *)
 
5804
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
5805
  esac
 
5806
  case $ac_prog in
 
5807
    # Accept absolute paths.
 
5808
    [\\/]* | ?:[\\/]*)
 
5809
      re_direlt='/[^/][^/]*/\.\./'
 
5810
      # Canonicalize the pathname of ld
 
5811
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
5812
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
5813
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
5814
      done
 
5815
      test -z "$LD" && LD="$ac_prog"
 
5816
      ;;
 
5817
  "")
 
5818
    # If it fails, then pretend we aren't using GCC.
 
5819
    ac_prog=ld
 
5820
    ;;
 
5821
  *)
 
5822
    # If it is relative, then search for the first ld in PATH.
 
5823
    with_gnu_ld=unknown
 
5824
    ;;
 
5825
  esac
 
5826
elif test "$with_gnu_ld" = yes; then
 
5827
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
5828
$as_echo_n "checking for GNU ld... " >&6; }
 
5829
else
 
5830
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
5831
$as_echo_n "checking for non-GNU ld... " >&6; }
 
5832
fi
 
5833
if test "${lt_cv_path_LD+set}" = set; then :
 
5834
  $as_echo_n "(cached) " >&6
 
5835
else
 
5836
  if test -z "$LD"; then
 
5837
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
5838
  for ac_dir in $PATH; do
 
5839
    IFS="$lt_save_ifs"
 
5840
    test -z "$ac_dir" && ac_dir=.
 
5841
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
5842
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
5843
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
5844
      # but apparently some variants of GNU ld only accept -v.
 
5845
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
5846
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
5847
      *GNU* | *'with BFD'*)
 
5848
        test "$with_gnu_ld" != no && break
 
5849
        ;;
 
5850
      *)
 
5851
        test "$with_gnu_ld" != yes && break
 
5852
        ;;
 
5853
      esac
 
5854
    fi
 
5855
  done
 
5856
  IFS="$lt_save_ifs"
 
5857
else
 
5858
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
5859
fi
 
5860
fi
 
5861
 
 
5862
LD="$lt_cv_path_LD"
 
5863
if test -n "$LD"; then
 
5864
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
5865
$as_echo "$LD" >&6; }
 
5866
else
 
5867
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5868
$as_echo "no" >&6; }
 
5869
fi
 
5870
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 
 
5871
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
5872
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
5873
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
5874
  $as_echo_n "(cached) " >&6
 
5875
else
 
5876
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
5877
case `$LD -v 2>&1 </dev/null` in
 
5878
*GNU* | *'with BFD'*)
 
5879
  lt_cv_prog_gnu_ld=yes
 
5880
  ;;
 
5881
*)
 
5882
  lt_cv_prog_gnu_ld=no
 
5883
  ;;
 
5884
esac
 
5885
fi
 
5886
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
5887
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
5888
with_gnu_ld=$lt_cv_prog_gnu_ld
 
5889
 
 
5890
 
 
5891
 
 
5892
 
 
5893
    
 
5894
    
 
5895
    
 
5896
 
 
5897
 
 
5898
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 
5899
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
5900
if test "${lt_cv_path_NM+set}" = set; then :
 
5901
  $as_echo_n "(cached) " >&6
 
5902
else
 
5903
  if test -n "$NM"; then
 
5904
  # Let the user override the test.
 
5905
  lt_cv_path_NM="$NM"
 
5906
else
 
5907
  lt_nm_to_check="${ac_tool_prefix}nm"
 
5908
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
5909
    lt_nm_to_check="$lt_nm_to_check nm"
 
5910
  fi
 
5911
  for lt_tmp_nm in $lt_nm_to_check; do
 
5912
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
5913
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
5914
      IFS="$lt_save_ifs"
 
5915
      test -z "$ac_dir" && ac_dir=.
 
5916
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
5917
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
5918
        # Check to see if the nm accepts a BSD-compat flag.
 
5919
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
5920
        #   nm: unknown option "B" ignored
 
5921
        # Tru64's nm complains that /dev/null is an invalid object file
 
5922
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
5923
        */dev/null* | *'Invalid file or object type'*)
 
5924
          lt_cv_path_NM="$tmp_nm -B"
 
5925
          break
 
5926
          ;;
 
5927
        *)
 
5928
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
5929
          */dev/null*)
 
5930
            lt_cv_path_NM="$tmp_nm -p"
 
5931
            break
 
5932
            ;;
 
5933
          *)
 
5934
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
5935
            continue # so that we can try to find one that supports BSD flags
 
5936
            ;;
 
5937
          esac
 
5938
          ;;
 
5939
        esac
 
5940
      fi
 
5941
    done
 
5942
    IFS="$lt_save_ifs"
 
5943
  done
 
5944
  : ${lt_cv_path_NM=no}
 
5945
fi
 
5946
fi
 
5947
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 
5948
$as_echo "$lt_cv_path_NM" >&6; }
 
5949
if test "$lt_cv_path_NM" != "no"; then
 
5950
  NM="$lt_cv_path_NM"
 
5951
else
 
5952
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
5953
  if test -n "$ac_tool_prefix"; then
 
5954
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5955
  do
 
5956
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5957
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5958
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5959
$as_echo_n "checking for $ac_word... " >&6; }
 
5960
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
5961
  $as_echo_n "(cached) " >&6
 
5962
else
 
5963
  if test -n "$DUMPBIN"; then
 
5964
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
5965
else
 
5966
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5967
for as_dir in $PATH
 
5968
do
 
5969
  IFS=$as_save_IFS
 
5970
  test -z "$as_dir" && as_dir=.
 
5971
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5972
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5973
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
5974
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5975
    break 2
 
5976
  fi
 
5977
done
 
5978
  done
 
5979
IFS=$as_save_IFS
 
5980
 
 
5981
fi
 
5982
fi
 
5983
DUMPBIN=$ac_cv_prog_DUMPBIN
 
5984
if test -n "$DUMPBIN"; then
 
5985
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 
5986
$as_echo "$DUMPBIN" >&6; }
 
5987
else
 
5988
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5989
$as_echo "no" >&6; }
 
5990
fi
 
5991
 
 
5992
 
 
5993
    test -n "$DUMPBIN" && break
 
5994
  done
 
5995
fi
 
5996
if test -z "$DUMPBIN"; then
 
5997
  ac_ct_DUMPBIN=$DUMPBIN
 
5998
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5999
do
 
6000
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
6001
set dummy $ac_prog; ac_word=$2
 
6002
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6003
$as_echo_n "checking for $ac_word... " >&6; }
 
6004
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
6005
  $as_echo_n "(cached) " >&6
 
6006
else
 
6007
  if test -n "$ac_ct_DUMPBIN"; then
 
6008
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
6009
else
 
6010
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6011
for as_dir in $PATH
 
6012
do
 
6013
  IFS=$as_save_IFS
 
6014
  test -z "$as_dir" && as_dir=.
 
6015
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6016
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6017
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
6018
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6019
    break 2
 
6020
  fi
 
6021
done
 
6022
  done
 
6023
IFS=$as_save_IFS
 
6024
 
 
6025
fi
 
6026
fi
 
6027
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
6028
if test -n "$ac_ct_DUMPBIN"; then
 
6029
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 
6030
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
6031
else
 
6032
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6033
$as_echo "no" >&6; }
 
6034
fi
 
6035
 
 
6036
 
 
6037
  test -n "$ac_ct_DUMPBIN" && break
 
6038
done
 
6039
 
 
6040
  if test "x$ac_ct_DUMPBIN" = x; then
 
6041
    DUMPBIN=":"
 
6042
  else
 
6043
    case $cross_compiling:$ac_tool_warned in
 
6044
yes:)
 
6045
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6046
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6047
ac_tool_warned=yes ;;
 
6048
esac
 
6049
    DUMPBIN=$ac_ct_DUMPBIN
 
6050
  fi
 
6051
fi
 
6052
 
 
6053
  
 
6054
  if test "$DUMPBIN" != ":"; then
 
6055
    NM="$DUMPBIN"
 
6056
  fi
 
6057
fi
 
6058
test -z "$NM" && NM=nm
 
6059
 
 
6060
 
 
6061
    
 
6062
    
 
6063
    
 
6064
 
 
6065
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 
6066
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
6067
if test "${lt_cv_nm_interface+set}" = set; then :
 
6068
  $as_echo_n "(cached) " >&6
 
6069
else
 
6070
  lt_cv_nm_interface="BSD nm"
 
6071
  echo "int some_variable = 0;" > conftest.$ac_ext
 
6072
  (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&5)
 
6073
  (eval "$ac_compile" 2>conftest.err)
 
6074
  cat conftest.err >&5
 
6075
  (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
6076
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
6077
  cat conftest.err >&5
 
6078
  (eval echo "\"\$as_me:__oline__: output\"" >&5)
 
6079
  cat conftest.out >&5
 
6080
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
6081
    lt_cv_nm_interface="MS dumpbin"
 
6082
  fi
 
6083
  rm -f conftest*
 
6084
fi
 
6085
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 
6086
$as_echo "$lt_cv_nm_interface" >&6; }
 
6087
 
 
6088
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
6089
$as_echo_n "checking whether ln -s works... " >&6; }
 
6090
LN_S=$as_ln_s
 
6091
if test "$LN_S" = "ln -s"; then
 
6092
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
6093
$as_echo "yes" >&6; }
 
6094
else
 
6095
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
6096
$as_echo "no, using $LN_S" >&6; }
 
6097
fi
 
6098
 
 
6099
# find the maximum length of command line arguments
 
6100
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 
6101
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
6102
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
6103
  $as_echo_n "(cached) " >&6
 
6104
else
 
6105
    i=0
 
6106
  teststring="ABCD"
 
6107
 
 
6108
  case $build_os in
 
6109
  msdosdjgpp*)
 
6110
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
6111
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
6112
    # during glob expansion).  Even if it were fixed, the result of this
 
6113
    # check would be larger than it should be.
 
6114
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
6115
    ;;
 
6116
 
 
6117
  gnu*)
 
6118
    # Under GNU Hurd, this test is not required because there is
 
6119
    # no limit to the length of command line arguments.
 
6120
    # Libtool will interpret -1 as no limit whatsoever
 
6121
    lt_cv_sys_max_cmd_len=-1;
 
6122
    ;;
 
6123
 
 
6124
  cygwin* | mingw* | cegcc*)
 
6125
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
6126
    # about 5 minutes as the teststring grows exponentially.
 
6127
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
6128
    # you end up with a "frozen" computer, even though with patience
 
6129
    # the test eventually succeeds (with a max line length of 256k).
 
6130
    # Instead, let's just punt: use the minimum linelength reported by
 
6131
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
6132
    lt_cv_sys_max_cmd_len=8192;
 
6133
    ;;
 
6134
 
 
6135
  amigaos*)
 
6136
    # On AmigaOS with pdksh, this test takes hours, literally.
 
6137
    # So we just punt and use a minimum line length of 8192.
 
6138
    lt_cv_sys_max_cmd_len=8192;
 
6139
    ;;
 
6140
 
 
6141
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
6142
    # This has been around since 386BSD, at least.  Likely further.
 
6143
    if test -x /sbin/sysctl; then
 
6144
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
6145
    elif test -x /usr/sbin/sysctl; then
 
6146
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
6147
    else
 
6148
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
6149
    fi
 
6150
    # And add a safety zone
 
6151
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6152
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6153
    ;;
 
6154
 
 
6155
  interix*)
 
6156
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
6157
    lt_cv_sys_max_cmd_len=196608
 
6158
    ;;
 
6159
 
 
6160
  osf*)
 
6161
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
6162
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
6163
    # nice to cause kernel panics so lets avoid the loop below.
 
6164
    # First set a reasonable default.
 
6165
    lt_cv_sys_max_cmd_len=16384
 
6166
    #
 
6167
    if test -x /sbin/sysconfig; then
 
6168
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
6169
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
6170
      esac
 
6171
    fi
 
6172
    ;;
 
6173
  sco3.2v5*)
 
6174
    lt_cv_sys_max_cmd_len=102400
 
6175
    ;;
 
6176
  sysv5* | sco5v6* | sysv4.2uw2*)
 
6177
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
6178
    if test -n "$kargmax"; then
 
6179
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
6180
    else
 
6181
      lt_cv_sys_max_cmd_len=32768
 
6182
    fi
 
6183
    ;;
 
6184
  *)
 
6185
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
6186
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
6187
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6188
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6189
    else
 
6190
      # Make teststring a little bigger before we do anything with it.
 
6191
      # a 1K string should be a reasonable start.
 
6192
      for i in 1 2 3 4 5 6 7 8 ; do
 
6193
        teststring=$teststring$teststring
 
6194
      done
 
6195
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
6196
      # If test is not a shell built-in, we'll probably end up computing a
 
6197
      # maximum length that is only half of the actual maximum length, but
 
6198
      # we can't tell.
 
6199
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
6200
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
6201
              test $i != 17 # 1/2 MB should be enough
 
6202
      do
 
6203
        i=`expr $i + 1`
 
6204
        teststring=$teststring$teststring
 
6205
      done
 
6206
      # Only check the string length outside the loop.
 
6207
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
6208
      teststring=
 
6209
      # Add a significant safety factor because C++ compilers can tack on
 
6210
      # massive amounts of additional arguments before passing them to the
 
6211
      # linker.  It appears as though 1/2 is a usable value.
 
6212
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6213
    fi
 
6214
    ;;
 
6215
  esac
 
6216
 
 
6217
fi
 
6218
 
 
6219
if test -n $lt_cv_sys_max_cmd_len ; then
 
6220
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 
6221
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
6222
else
 
6223
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 
6224
$as_echo "none" >&6; }
 
6225
fi
 
6226
max_cmd_len=$lt_cv_sys_max_cmd_len
 
6227
 
 
6228
    
 
6229
    
 
6230
    
 
6231
 
 
6232
 
 
6233
: ${CP="cp -f"}
 
6234
: ${MV="mv -f"}
 
6235
: ${RM="rm -f"}
 
6236
 
 
6237
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 
6238
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
6239
# Try some XSI features
 
6240
xsi_shell=no
 
6241
( _lt_dummy="a/b/c"
 
6242
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
6243
      = c,a/b,, \
 
6244
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
6245
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
6246
  && xsi_shell=yes
 
6247
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 
6248
$as_echo "$xsi_shell" >&6; }
 
6249
 
 
6250
 
 
6251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 
6252
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
6253
lt_shell_append=no
 
6254
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
6255
    >/dev/null 2>&1 \
 
6256
  && lt_shell_append=yes
 
6257
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 
6258
$as_echo "$lt_shell_append" >&6; }
 
6259
 
 
6260
 
 
6261
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
6262
  lt_unset=unset
 
6263
else
 
6264
  lt_unset=false
 
6265
fi
 
6266
 
 
6267
    
 
6268
    
 
6269
    
 
6270
 
 
6271
# test EBCDIC or ASCII
 
6272
case `echo X|tr X '\101'` in
 
6273
 A) # ASCII based system
 
6274
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
6275
  lt_SP2NL='tr \040 \012'
 
6276
  lt_NL2SP='tr \015\012 \040\040'
 
6277
  ;;
 
6278
 *) # EBCDIC based system
 
6279
  lt_SP2NL='tr \100 \n'
 
6280
  lt_NL2SP='tr \r\n \100\100'
 
6281
  ;;
 
6282
esac
 
6283
 
 
6284
    
 
6285
    
 
6286
    
 
6287
 
 
6288
    
 
6289
    
 
6290
    
 
6291
 
 
6292
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 
6293
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
6294
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
6295
  $as_echo_n "(cached) " >&6
 
6296
else
 
6297
  lt_cv_ld_reload_flag='-r'
 
6298
fi
 
6299
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 
6300
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
6301
reload_flag=$lt_cv_ld_reload_flag
 
6302
case $reload_flag in
 
6303
"" | " "*) ;;
 
6304
*) reload_flag=" $reload_flag" ;;
 
6305
esac
 
6306
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
6307
case $host_os in
 
6308
  darwin*)
 
6309
    if test "$GCC" = yes; then
 
6310
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
6311
    else
 
6312
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
6313
    fi
 
6314
    ;;
 
6315
esac
 
6316
 
 
6317
    
 
6318
    
 
6319
    
 
6320
 
 
6321
    
 
6322
    
 
6323
    
 
6324
 
 
6325
if test -n "$ac_tool_prefix"; then
 
6326
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
6327
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
6328
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6329
$as_echo_n "checking for $ac_word... " >&6; }
 
6330
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
6331
  $as_echo_n "(cached) " >&6
 
6332
else
 
6333
  if test -n "$OBJDUMP"; then
 
6334
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
6335
else
 
6336
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6337
for as_dir in $PATH
 
6338
do
 
6339
  IFS=$as_save_IFS
 
6340
  test -z "$as_dir" && as_dir=.
 
6341
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6342
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6343
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
6344
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6345
    break 2
 
6346
  fi
 
6347
done
 
6348
  done
 
6349
IFS=$as_save_IFS
 
6350
 
 
6351
fi
 
6352
fi
 
6353
OBJDUMP=$ac_cv_prog_OBJDUMP
 
6354
if test -n "$OBJDUMP"; then
 
6355
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
6356
$as_echo "$OBJDUMP" >&6; }
 
6357
else
 
6358
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6359
$as_echo "no" >&6; }
 
6360
fi
 
6361
 
 
6362
 
 
6363
fi
 
6364
if test -z "$ac_cv_prog_OBJDUMP"; then
 
6365
  ac_ct_OBJDUMP=$OBJDUMP
 
6366
  # Extract the first word of "objdump", so it can be a program name with args.
 
6367
set dummy objdump; ac_word=$2
 
6368
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6369
$as_echo_n "checking for $ac_word... " >&6; }
 
6370
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
6371
  $as_echo_n "(cached) " >&6
 
6372
else
 
6373
  if test -n "$ac_ct_OBJDUMP"; then
 
6374
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
6375
else
 
6376
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6377
for as_dir in $PATH
 
6378
do
 
6379
  IFS=$as_save_IFS
 
6380
  test -z "$as_dir" && as_dir=.
 
6381
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6382
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6383
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
6384
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6385
    break 2
 
6386
  fi
 
6387
done
 
6388
  done
 
6389
IFS=$as_save_IFS
 
6390
 
 
6391
fi
 
6392
fi
 
6393
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
6394
if test -n "$ac_ct_OBJDUMP"; then
 
6395
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
6396
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
6397
else
 
6398
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6399
$as_echo "no" >&6; }
 
6400
fi
 
6401
 
 
6402
  if test "x$ac_ct_OBJDUMP" = x; then
 
6403
    OBJDUMP="false"
 
6404
  else
 
6405
    case $cross_compiling:$ac_tool_warned in
 
6406
yes:)
 
6407
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6408
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6409
ac_tool_warned=yes ;;
 
6410
esac
 
6411
    OBJDUMP=$ac_ct_OBJDUMP
 
6412
  fi
 
6413
else
 
6414
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
6415
fi
 
6416
 
 
6417
test -z "$OBJDUMP" && OBJDUMP=objdump
 
6418
 
 
6419
    
 
6420
    
 
6421
    
 
6422
 
 
6423
 
 
6424
 
 
6425
 
 
6426
 
 
6427
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 
6428
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 
6429
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
6430
  $as_echo_n "(cached) " >&6
 
6431
else
 
6432
  lt_cv_file_magic_cmd='$MAGIC_CMD'
 
6433
lt_cv_file_magic_test_file=
 
6434
lt_cv_deplibs_check_method='unknown'
 
6435
# Need to set the preceding variable on all platforms that support
 
6436
# interlibrary dependencies.
 
6437
# 'none' -- dependencies not supported.
 
6438
# `unknown' -- same as none, but documents that we really don't know.
 
6439
# 'pass_all' -- all dependencies passed with no checks.
 
6440
# 'test_compile' -- check by making test program.
 
6441
# 'file_magic [[regex]]' -- check by looking for files in library path
 
6442
# which responds to the $file_magic_cmd with a given extended regex.
 
6443
# If you have `file' or equivalent on your system and you're not sure
 
6444
# whether `pass_all' will *always* work, you probably want this one.
 
6445
 
 
6446
case $host_os in
 
6447
aix[4-9]*)
 
6448
  lt_cv_deplibs_check_method=pass_all
 
6449
  ;;
 
6450
 
 
6451
beos*)
 
6452
  lt_cv_deplibs_check_method=pass_all
 
6453
  ;;
 
6454
 
 
6455
bsdi[45]*)
 
6456
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 
6457
  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
6458
  lt_cv_file_magic_test_file=/shlib/libc.so
 
6459
  ;;
 
6460
 
 
6461
cygwin*)
 
6462
  # func_win32_libid is a shell function defined in ltmain.sh
 
6463
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
6464
  lt_cv_file_magic_cmd='func_win32_libid'
 
6465
  ;;
 
6466
 
 
6467
mingw* | pw32*)
 
6468
  # Base MSYS/MinGW do not provide the 'file' command needed by
 
6469
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
6470
  # unless we find 'file', for example because we are cross-compiling.
 
6471
  if ( file / ) >/dev/null 2>&1; then
 
6472
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
6473
    lt_cv_file_magic_cmd='func_win32_libid'
 
6474
  else
 
6475
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
6476
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
6477
  fi
 
6478
  ;;
 
6479
 
 
6480
cegcc)
 
6481
  # use the weaker test based on 'objdump'. See mingw*.
 
6482
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
6483
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
6484
  ;;
 
6485
 
 
6486
darwin* | rhapsody*)
 
6487
  lt_cv_deplibs_check_method=pass_all
 
6488
  ;;
 
6489
 
 
6490
freebsd* | dragonfly*)
 
6491
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
6492
    case $host_cpu in
 
6493
    i*86 )
 
6494
      # Not sure whether the presence of OpenBSD here was a mistake.
 
6495
      # Let's accept both of them until this is cleared up.
 
6496
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 
6497
      lt_cv_file_magic_cmd=/usr/bin/file
 
6498
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
6499
      ;;
 
6500
    esac
 
6501
  else
 
6502
    lt_cv_deplibs_check_method=pass_all
 
6503
  fi
 
6504
  ;;
 
6505
 
 
6506
gnu*)
 
6507
  lt_cv_deplibs_check_method=pass_all
 
6508
  ;;
 
6509
 
 
6510
hpux10.20* | hpux11*)
 
6511
  lt_cv_file_magic_cmd=/usr/bin/file
 
6512
  case $host_cpu in
 
6513
  ia64*)
 
6514
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 
6515
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 
6516
    ;;
 
6517
  hppa*64*)
 
6518
    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]'
 
6519
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 
6520
    ;;
 
6521
  *)
 
6522
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
6523
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
6524
    ;;
 
6525
  esac
 
6526
  ;;
 
6527
 
 
6528
interix[3-9]*)
 
6529
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
6530
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
6531
  ;;
 
6532
 
 
6533
irix5* | irix6* | nonstopux*)
 
6534
  case $LD in
 
6535
  *-32|*"-32 ") libmagic=32-bit;;
 
6536
  *-n32|*"-n32 ") libmagic=N32;;
 
6537
  *-64|*"-64 ") libmagic=64-bit;;
 
6538
  *) libmagic=never-match;;
 
6539
  esac
 
6540
  lt_cv_deplibs_check_method=pass_all
 
6541
  ;;
 
6542
 
 
6543
# This must be Linux ELF.
 
6544
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
6545
  lt_cv_deplibs_check_method=pass_all
 
6546
  ;;
 
6547
 
 
6548
netbsd* | netbsdelf*-gnu)
 
6549
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
6550
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
6551
  else
 
6552
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 
6553
  fi
 
6554
  ;;
 
6555
 
 
6556
newos6*)
 
6557
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 
6558
  lt_cv_file_magic_cmd=/usr/bin/file
 
6559
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
6560
  ;;
 
6561
 
 
6562
*nto* | *qnx*)
 
6563
  lt_cv_deplibs_check_method=pass_all
 
6564
  ;;
 
6565
 
 
6566
openbsd*)
 
6567
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
6568
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 
6569
  else
 
6570
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
6571
  fi
 
6572
  ;;
 
6573
 
 
6574
osf3* | osf4* | osf5*)
 
6575
  lt_cv_deplibs_check_method=pass_all
 
6576
  ;;
 
6577
 
 
6578
rdos*)
 
6579
  lt_cv_deplibs_check_method=pass_all
 
6580
  ;;
 
6581
 
 
6582
solaris*)
 
6583
  lt_cv_deplibs_check_method=pass_all
 
6584
  ;;
 
6585
 
 
6586
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
6587
  lt_cv_deplibs_check_method=pass_all
 
6588
  ;;
 
6589
 
 
6590
sysv4 | sysv4.3*)
 
6591
  case $host_vendor in
 
6592
  motorola)
 
6593
    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]'
 
6594
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 
6595
    ;;
 
6596
  ncr)
 
6597
    lt_cv_deplibs_check_method=pass_all
 
6598
    ;;
 
6599
  sequent)
 
6600
    lt_cv_file_magic_cmd='/bin/file'
 
6601
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 
6602
    ;;
 
6603
  sni)
 
6604
    lt_cv_file_magic_cmd='/bin/file'
 
6605
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 
6606
    lt_cv_file_magic_test_file=/lib/libc.so
 
6607
    ;;
 
6608
  siemens)
 
6609
    lt_cv_deplibs_check_method=pass_all
 
6610
    ;;
 
6611
  pc)
 
6612
    lt_cv_deplibs_check_method=pass_all
 
6613
    ;;
 
6614
  esac
 
6615
  ;;
 
6616
 
 
6617
tpf*)
 
6618
  lt_cv_deplibs_check_method=pass_all
 
6619
  ;;
 
6620
esac
 
6621
 
 
6622
fi
 
6623
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 
6624
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
6625
file_magic_cmd=$lt_cv_file_magic_cmd
 
6626
deplibs_check_method=$lt_cv_deplibs_check_method
 
6627
test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
6628
 
 
6629
 
 
6630
    
 
6631
    
 
6632
    
 
6633
 
 
6634
 
 
6635
    
 
6636
    
 
6637
    
 
6638
 
 
6639
 
 
6640
if test -n "$ac_tool_prefix"; then
 
6641
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
6642
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
6643
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6644
$as_echo_n "checking for $ac_word... " >&6; }
 
6645
if test "${ac_cv_prog_AR+set}" = set; then :
 
6646
  $as_echo_n "(cached) " >&6
 
6647
else
 
6648
  if test -n "$AR"; then
 
6649
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
6650
else
 
6651
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6652
for as_dir in $PATH
 
6653
do
 
6654
  IFS=$as_save_IFS
 
6655
  test -z "$as_dir" && as_dir=.
 
6656
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6657
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6658
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
6659
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6660
    break 2
 
6661
  fi
 
6662
done
 
6663
  done
 
6664
IFS=$as_save_IFS
 
6665
 
 
6666
fi
 
6667
fi
 
6668
AR=$ac_cv_prog_AR
 
6669
if test -n "$AR"; then
 
6670
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
6671
$as_echo "$AR" >&6; }
 
6672
else
 
6673
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6674
$as_echo "no" >&6; }
 
6675
fi
 
6676
 
 
6677
 
 
6678
fi
 
6679
if test -z "$ac_cv_prog_AR"; then
 
6680
  ac_ct_AR=$AR
 
6681
  # Extract the first word of "ar", so it can be a program name with args.
 
6682
set dummy ar; ac_word=$2
 
6683
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6684
$as_echo_n "checking for $ac_word... " >&6; }
 
6685
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
6686
  $as_echo_n "(cached) " >&6
 
6687
else
 
6688
  if test -n "$ac_ct_AR"; then
 
6689
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
6690
else
 
6691
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6692
for as_dir in $PATH
 
6693
do
 
6694
  IFS=$as_save_IFS
 
6695
  test -z "$as_dir" && as_dir=.
 
6696
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6697
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6698
    ac_cv_prog_ac_ct_AR="ar"
 
6699
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6700
    break 2
 
6701
  fi
 
6702
done
 
6703
  done
 
6704
IFS=$as_save_IFS
 
6705
 
 
6706
fi
 
6707
fi
 
6708
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
6709
if test -n "$ac_ct_AR"; then
 
6710
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
6711
$as_echo "$ac_ct_AR" >&6; }
 
6712
else
 
6713
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6714
$as_echo "no" >&6; }
 
6715
fi
 
6716
 
 
6717
  if test "x$ac_ct_AR" = x; then
 
6718
    AR="false"
 
6719
  else
 
6720
    case $cross_compiling:$ac_tool_warned in
 
6721
yes:)
 
6722
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6723
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6724
ac_tool_warned=yes ;;
 
6725
esac
 
6726
    AR=$ac_ct_AR
 
6727
  fi
 
6728
else
 
6729
  AR="$ac_cv_prog_AR"
 
6730
fi
 
6731
 
 
6732
test -z "$AR" && AR=ar
 
6733
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
6734
 
 
6735
    
 
6736
    
 
6737
    
 
6738
 
 
6739
 
 
6740
    
 
6741
    
 
6742
    
 
6743
 
 
6744
 
 
6745
if test -n "$ac_tool_prefix"; then
 
6746
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
6747
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
6748
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6749
$as_echo_n "checking for $ac_word... " >&6; }
 
6750
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
6751
  $as_echo_n "(cached) " >&6
 
6752
else
 
6753
  if test -n "$STRIP"; then
 
6754
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
6755
else
 
6756
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6757
for as_dir in $PATH
 
6758
do
 
6759
  IFS=$as_save_IFS
 
6760
  test -z "$as_dir" && as_dir=.
 
6761
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6762
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6763
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
6764
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6765
    break 2
 
6766
  fi
 
6767
done
 
6768
  done
 
6769
IFS=$as_save_IFS
 
6770
 
 
6771
fi
 
6772
fi
 
6773
STRIP=$ac_cv_prog_STRIP
 
6774
if test -n "$STRIP"; then
 
6775
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
6776
$as_echo "$STRIP" >&6; }
 
6777
else
 
6778
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6779
$as_echo "no" >&6; }
 
6780
fi
 
6781
 
 
6782
 
 
6783
fi
 
6784
if test -z "$ac_cv_prog_STRIP"; then
 
6785
  ac_ct_STRIP=$STRIP
 
6786
  # Extract the first word of "strip", so it can be a program name with args.
 
6787
set dummy strip; ac_word=$2
 
6788
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6789
$as_echo_n "checking for $ac_word... " >&6; }
 
6790
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
6791
  $as_echo_n "(cached) " >&6
 
6792
else
 
6793
  if test -n "$ac_ct_STRIP"; then
 
6794
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
6795
else
 
6796
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6797
for as_dir in $PATH
 
6798
do
 
6799
  IFS=$as_save_IFS
 
6800
  test -z "$as_dir" && as_dir=.
 
6801
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6802
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6803
    ac_cv_prog_ac_ct_STRIP="strip"
 
6804
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6805
    break 2
 
6806
  fi
 
6807
done
 
6808
  done
 
6809
IFS=$as_save_IFS
 
6810
 
 
6811
fi
 
6812
fi
 
6813
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
6814
if test -n "$ac_ct_STRIP"; then
 
6815
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
6816
$as_echo "$ac_ct_STRIP" >&6; }
 
6817
else
 
6818
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6819
$as_echo "no" >&6; }
 
6820
fi
 
6821
 
 
6822
  if test "x$ac_ct_STRIP" = x; then
 
6823
    STRIP=":"
 
6824
  else
 
6825
    case $cross_compiling:$ac_tool_warned in
 
6826
yes:)
 
6827
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6828
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6829
ac_tool_warned=yes ;;
 
6830
esac
 
6831
    STRIP=$ac_ct_STRIP
 
6832
  fi
 
6833
else
 
6834
  STRIP="$ac_cv_prog_STRIP"
 
6835
fi
 
6836
 
 
6837
test -z "$STRIP" && STRIP=:
 
6838
 
 
6839
    
 
6840
    
 
6841
    
 
6842
 
 
6843
 
 
6844
if test -n "$ac_tool_prefix"; then
 
6845
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
6846
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
6847
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6848
$as_echo_n "checking for $ac_word... " >&6; }
 
6849
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
6850
  $as_echo_n "(cached) " >&6
 
6851
else
 
6852
  if test -n "$RANLIB"; then
 
6853
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
6854
else
 
6855
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6856
for as_dir in $PATH
 
6857
do
 
6858
  IFS=$as_save_IFS
 
6859
  test -z "$as_dir" && as_dir=.
 
6860
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6861
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6862
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
6863
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6864
    break 2
 
6865
  fi
 
6866
done
 
6867
  done
 
6868
IFS=$as_save_IFS
 
6869
 
 
6870
fi
 
6871
fi
 
6872
RANLIB=$ac_cv_prog_RANLIB
 
6873
if test -n "$RANLIB"; then
 
6874
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
6875
$as_echo "$RANLIB" >&6; }
 
6876
else
 
6877
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6878
$as_echo "no" >&6; }
 
6879
fi
 
6880
 
 
6881
 
 
6882
fi
 
6883
if test -z "$ac_cv_prog_RANLIB"; then
 
6884
  ac_ct_RANLIB=$RANLIB
 
6885
  # Extract the first word of "ranlib", so it can be a program name with args.
 
6886
set dummy ranlib; ac_word=$2
 
6887
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6888
$as_echo_n "checking for $ac_word... " >&6; }
 
6889
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
6890
  $as_echo_n "(cached) " >&6
 
6891
else
 
6892
  if test -n "$ac_ct_RANLIB"; then
 
6893
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
6894
else
 
6895
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6896
for as_dir in $PATH
 
6897
do
 
6898
  IFS=$as_save_IFS
 
6899
  test -z "$as_dir" && as_dir=.
 
6900
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6901
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6902
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
6903
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6904
    break 2
 
6905
  fi
 
6906
done
 
6907
  done
 
6908
IFS=$as_save_IFS
 
6909
 
 
6910
fi
 
6911
fi
 
6912
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
6913
if test -n "$ac_ct_RANLIB"; then
 
6914
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
6915
$as_echo "$ac_ct_RANLIB" >&6; }
 
6916
else
 
6917
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6918
$as_echo "no" >&6; }
 
6919
fi
 
6920
 
 
6921
  if test "x$ac_ct_RANLIB" = x; then
 
6922
    RANLIB=":"
 
6923
  else
 
6924
    case $cross_compiling:$ac_tool_warned in
 
6925
yes:)
 
6926
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6927
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6928
ac_tool_warned=yes ;;
 
6929
esac
 
6930
    RANLIB=$ac_ct_RANLIB
 
6931
  fi
 
6932
else
 
6933
  RANLIB="$ac_cv_prog_RANLIB"
 
6934
fi
 
6935
 
 
6936
test -z "$RANLIB" && RANLIB=:
 
6937
 
 
6938
    
 
6939
    
 
6940
    
 
6941
 
 
6942
 
 
6943
# Determine commands to create old-style static archives.
 
6944
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
6945
old_postinstall_cmds='chmod 644 $oldlib'
 
6946
old_postuninstall_cmds=
 
6947
 
 
6948
if test -n "$RANLIB"; then
 
6949
  case $host_os in
 
6950
  openbsd*)
 
6951
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
6952
    ;;
 
6953
  *)
 
6954
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
6955
    ;;
 
6956
  esac
 
6957
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
6958
fi
 
6959
 
 
6960
    
 
6961
    
 
6962
    
 
6963
 
 
6964
 
 
6965
    
 
6966
    
 
6967
    
 
6968
 
 
6969
 
 
6970
    
 
6971
    
 
6972
    
 
6973
 
 
6974
 
 
6975
 
 
6976
 
 
6977
    
 
6978
    
 
6979
    
 
6980
 
 
6981
    
 
6982
    
 
6983
    
 
6984
 
 
6985
    
 
6986
    
 
6987
    
 
6988
 
 
6989
    
 
6990
    
 
6991
    
 
6992
 
 
6993
# If no C compiler was specified, use CC.
 
6994
LTCC=${LTCC-"$CC"}
 
6995
 
 
6996
# If no C compiler flags were specified, use CFLAGS.
 
6997
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
6998
 
 
6999
# Allow CC to be a program name with arguments.
 
7000
compiler=$CC
 
7001
 
 
7002
 
 
7003
# Check for command to grab the raw symbol name followed by C symbol from nm.
 
7004
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 
7005
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 
7006
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
7007
  $as_echo_n "(cached) " >&6
 
7008
else
 
7009
  
 
7010
# These are sane defaults that work on at least a few old systems.
 
7011
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
7012
 
 
7013
# Character class describing NM global symbol codes.
 
7014
symcode='[BCDEGRST]'
 
7015
 
 
7016
# Regexp to match symbols that can be accessed directly from C.
 
7017
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 
7018
 
 
7019
# Define system-specific variables.
 
7020
case $host_os in
 
7021
aix*)
 
7022
  symcode='[BCDT]'
 
7023
  ;;
 
7024
cygwin* | mingw* | pw32* | cegcc*)
 
7025
  symcode='[ABCDGISTW]'
 
7026
  ;;
 
7027
hpux*)
 
7028
  if test "$host_cpu" = ia64; then
 
7029
    symcode='[ABCDEGRST]'
 
7030
  fi
 
7031
  ;;
 
7032
irix* | nonstopux*)
 
7033
  symcode='[BCDEGRST]'
 
7034
  ;;
 
7035
osf*)
 
7036
  symcode='[BCDEGQRST]'
 
7037
  ;;
 
7038
solaris*)
 
7039
  symcode='[BDRT]'
 
7040
  ;;
 
7041
sco3.2v5*)
 
7042
  symcode='[DT]'
 
7043
  ;;
 
7044
sysv4.2uw2*)
 
7045
  symcode='[DT]'
 
7046
  ;;
 
7047
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
7048
  symcode='[ABDT]'
 
7049
  ;;
 
7050
sysv4)
 
7051
  symcode='[DFNSTU]'
 
7052
  ;;
 
7053
esac
 
7054
 
 
7055
# If we're using GNU nm, then use its standard symbol codes.
 
7056
case `$NM -V 2>&1` in
 
7057
*GNU* | *'with BFD'*)
 
7058
  symcode='[ABCDGIRSTW]' ;;
 
7059
esac
 
7060
 
 
7061
# Transform an extracted symbol line into a proper C declaration.
 
7062
# Some systems (esp. on ia64) link data and code symbols differently,
 
7063
# so use this general approach.
 
7064
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
7065
 
 
7066
# Transform an extracted symbol line into symbol name and symbol address
 
7067
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
7068
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'"
 
7069
 
 
7070
# Handle CRLF in mingw tool chain
 
7071
opt_cr=
 
7072
case $build_os in
 
7073
mingw*)
 
7074
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
7075
  ;;
 
7076
esac
 
7077
 
 
7078
# Try without a prefix underscore, then with it.
 
7079
for ac_symprfx in "" "_"; do
 
7080
 
 
7081
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
7082
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
7083
 
 
7084
  # Write the raw and C identifiers.
 
7085
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
7086
    # Fake it for dumpbin and say T for any non-static function
 
7087
    # and D for any global variable.
 
7088
    # Also find C++ and __fastcall symbols from MSVC++,
 
7089
    # which start with @ or ?.
 
7090
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
7091
"     {last_section=section; section=\$ 3};"\
 
7092
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
7093
"     \$ 0!~/External *\|/{next};"\
 
7094
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
7095
"     {if(hide[section]) next};"\
 
7096
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
7097
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
7098
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
7099
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
7100
"     ' prfx=^$ac_symprfx"
 
7101
  else
 
7102
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
7103
  fi
 
7104
 
 
7105
  # Check to see that the pipe works correctly.
 
7106
  pipe_works=no
 
7107
 
 
7108
  rm -f conftest*
 
7109
  cat > conftest.$ac_ext <<_LT_EOF
 
7110
#ifdef __cplusplus
 
7111
extern "C" {
 
7112
#endif
 
7113
char nm_test_var;
 
7114
void nm_test_func(void);
 
7115
void nm_test_func(void){}
 
7116
#ifdef __cplusplus
 
7117
}
 
7118
#endif
 
7119
int main(){nm_test_var='a';nm_test_func();return(0);}
 
7120
_LT_EOF
 
7121
 
 
7122
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
7123
  (eval $ac_compile) 2>&5
 
7124
  ac_status=$?
 
7125
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7126
  test $ac_status = 0; }; then
 
7127
    # Now try to grab the symbols.
 
7128
    nlist=conftest.nm
 
7129
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
 
7130
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
7131
  ac_status=$?
 
7132
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7133
  test $ac_status = 0; } && test -s "$nlist"; then
 
7134
      # Try sorting and uniquifying the output.
 
7135
      if sort "$nlist" | uniq > "$nlist"T; then
 
7136
        mv -f "$nlist"T "$nlist"
 
7137
      else
 
7138
        rm -f "$nlist"T
 
7139
      fi
 
7140
 
 
7141
      # Make sure that we snagged all the symbols we need.
 
7142
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
7143
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
7144
          cat <<_LT_EOF > conftest.$ac_ext
 
7145
#ifdef __cplusplus
 
7146
extern "C" {
 
7147
#endif
 
7148
 
 
7149
_LT_EOF
 
7150
          # Now generate the symbol file.
 
7151
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
7152
 
 
7153
          cat <<_LT_EOF >> conftest.$ac_ext
 
7154
 
 
7155
/* The mapping between symbol names and symbols.  */
 
7156
const struct {
 
7157
  const char *name;
 
7158
  void       *address;
 
7159
}
 
7160
lt__PROGRAM__LTX_preloaded_symbols[] =
 
7161
{
 
7162
  { "@PROGRAM@", (void *) 0 },
 
7163
_LT_EOF
 
7164
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
7165
          cat <<\_LT_EOF >> conftest.$ac_ext
 
7166
  {0, (void *) 0}
 
7167
};
 
7168
 
 
7169
/* This works around a problem in FreeBSD linker */
 
7170
#ifdef FREEBSD_WORKAROUND
 
7171
static const void *lt_preloaded_setup() {
 
7172
  return lt__PROGRAM__LTX_preloaded_symbols;
 
7173
}
 
7174
#endif
 
7175
 
 
7176
#ifdef __cplusplus
 
7177
}
 
7178
#endif
 
7179
_LT_EOF
 
7180
          # Now try linking the two files.
 
7181
          mv conftest.$ac_objext conftstm.$ac_objext
 
7182
          lt_save_LIBS="$LIBS"
 
7183
          lt_save_CFLAGS="$CFLAGS"
 
7184
          LIBS="conftstm.$ac_objext"
 
7185
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 
7186
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
7187
  (eval $ac_link) 2>&5
 
7188
  ac_status=$?
 
7189
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7190
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
 
7191
            pipe_works=yes
 
7192
          fi
 
7193
          LIBS="$lt_save_LIBS"
 
7194
          CFLAGS="$lt_save_CFLAGS"
 
7195
        else
 
7196
          echo "cannot find nm_test_func in $nlist" >&5
 
7197
        fi
 
7198
      else
 
7199
        echo "cannot find nm_test_var in $nlist" >&5
 
7200
      fi
 
7201
    else
 
7202
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 
7203
    fi
 
7204
  else
 
7205
    echo "$progname: failed program was:" >&5
 
7206
    cat conftest.$ac_ext >&5
 
7207
  fi
 
7208
  rm -rf conftest* conftst*
 
7209
 
 
7210
  # Do not use the global_symbol_pipe unless it works.
 
7211
  if test "$pipe_works" = yes; then
 
7212
    break
 
7213
  else
 
7214
    lt_cv_sys_global_symbol_pipe=
 
7215
  fi
 
7216
done
 
7217
 
 
7218
fi
 
7219
 
 
7220
if test -z "$lt_cv_sys_global_symbol_pipe"; then
 
7221
  lt_cv_sys_global_symbol_to_cdecl=
 
7222
fi
 
7223
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 
7224
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 
7225
$as_echo "failed" >&6; }
 
7226
else
 
7227
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
7228
$as_echo "ok" >&6; }
 
7229
fi
 
7230
 
 
7231
 
 
7232
    
 
7233
    
 
7234
    
 
7235
 
 
7236
 
 
7237
    
 
7238
    
 
7239
    
 
7240
 
 
7241
 
 
7242
    
 
7243
    
 
7244
    
 
7245
 
 
7246
 
 
7247
    
 
7248
    
 
7249
    
 
7250
 
 
7251
 
 
7252
@%:@ Check whether --enable-libtool-lock was given.
 
7253
if test "${enable_libtool_lock+set}" = set; then :
 
7254
  enableval=$enable_libtool_lock; 
 
7255
fi
 
7256
 
 
7257
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
7258
 
 
7259
# Some flags need to be propagated to the compiler or linker for good
 
7260
# libtool support.
 
7261
case $host in
 
7262
ia64-*-hpux*)
 
7263
  # Find out which ABI we are using.
 
7264
  echo 'int i;' > conftest.$ac_ext
 
7265
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
7266
  (eval $ac_compile) 2>&5
 
7267
  ac_status=$?
 
7268
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7269
  test $ac_status = 0; }; then
 
7270
    case `/usr/bin/file conftest.$ac_objext` in
 
7271
      *ELF-32*)
 
7272
        HPUX_IA64_MODE="32"
 
7273
        ;;
 
7274
      *ELF-64*)
 
7275
        HPUX_IA64_MODE="64"
 
7276
        ;;
 
7277
    esac
 
7278
  fi
 
7279
  rm -rf conftest*
 
7280
  ;;
 
7281
*-*-irix6*)
 
7282
  # Find out which ABI we are using.
 
7283
  echo '#line __oline__ "configure"' > conftest.$ac_ext
 
7284
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
7285
  (eval $ac_compile) 2>&5
 
7286
  ac_status=$?
 
7287
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7288
  test $ac_status = 0; }; then
 
7289
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
7290
      case `/usr/bin/file conftest.$ac_objext` in
 
7291
        *32-bit*)
 
7292
          LD="${LD-ld} -melf32bsmip"
 
7293
          ;;
 
7294
        *N32*)
 
7295
          LD="${LD-ld} -melf32bmipn32"
 
7296
          ;;
 
7297
        *64-bit*)
 
7298
          LD="${LD-ld} -melf64bmip"
 
7299
        ;;
 
7300
      esac
 
7301
    else
 
7302
      case `/usr/bin/file conftest.$ac_objext` in
 
7303
        *32-bit*)
 
7304
          LD="${LD-ld} -32"
 
7305
          ;;
 
7306
        *N32*)
 
7307
          LD="${LD-ld} -n32"
 
7308
          ;;
 
7309
        *64-bit*)
 
7310
          LD="${LD-ld} -64"
 
7311
          ;;
 
7312
      esac
 
7313
    fi
 
7314
  fi
 
7315
  rm -rf conftest*
 
7316
  ;;
 
7317
 
 
7318
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
7319
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
7320
  # Find out which ABI we are using.
 
7321
  echo 'int i;' > conftest.$ac_ext
 
7322
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
7323
  (eval $ac_compile) 2>&5
 
7324
  ac_status=$?
 
7325
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7326
  test $ac_status = 0; }; then
 
7327
    case `/usr/bin/file conftest.o` in
 
7328
      *32-bit*)
 
7329
        case $host in
 
7330
          x86_64-*kfreebsd*-gnu)
 
7331
            LD="${LD-ld} -m elf_i386_fbsd"
 
7332
            ;;
 
7333
          x86_64-*linux*)
 
7334
            LD="${LD-ld} -m elf_i386"
 
7335
            ;;
 
7336
          ppc64-*linux*|powerpc64-*linux*)
 
7337
            LD="${LD-ld} -m elf32ppclinux"
 
7338
            ;;
 
7339
          s390x-*linux*)
 
7340
            LD="${LD-ld} -m elf_s390"
 
7341
            ;;
 
7342
          sparc64-*linux*)
 
7343
            LD="${LD-ld} -m elf32_sparc"
 
7344
            ;;
 
7345
        esac
 
7346
        ;;
 
7347
      *64-bit*)
 
7348
        case $host in
 
7349
          x86_64-*kfreebsd*-gnu)
 
7350
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
7351
            ;;
 
7352
          x86_64-*linux*)
 
7353
            LD="${LD-ld} -m elf_x86_64"
 
7354
            ;;
 
7355
          ppc*-*linux*|powerpc*-*linux*)
 
7356
            LD="${LD-ld} -m elf64ppc"
 
7357
            ;;
 
7358
          s390*-*linux*|s390*-*tpf*)
 
7359
            LD="${LD-ld} -m elf64_s390"
 
7360
            ;;
 
7361
          sparc*-*linux*)
 
7362
            LD="${LD-ld} -m elf64_sparc"
 
7363
            ;;
 
7364
        esac
 
7365
        ;;
 
7366
    esac
 
7367
  fi
 
7368
  rm -rf conftest*
 
7369
  ;;
 
7370
 
 
7371
*-*-sco3.2v5*)
 
7372
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
7373
  SAVE_CFLAGS="$CFLAGS"
 
7374
  CFLAGS="$CFLAGS -belf"
 
7375
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 
7376
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
7377
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
7378
  $as_echo_n "(cached) " >&6
 
7379
else
 
7380
  ac_ext=c
 
7381
ac_cpp='$CPP $CPPFLAGS'
 
7382
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7383
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7384
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7385
 
 
7386
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7387
/* end confdefs.h.  */
 
7388
 
 
7389
int
 
7390
main ()
 
7391
{
 
7392
 
 
7393
  ;
 
7394
  return 0;
 
7395
}
 
7396
_ACEOF
 
7397
if ac_fn_c_try_link "$LINENO"; then :
 
7398
  lt_cv_cc_needs_belf=yes
 
7399
else
 
7400
  lt_cv_cc_needs_belf=no
 
7401
fi
 
7402
rm -f core conftest.err conftest.$ac_objext \
 
7403
    conftest$ac_exeext conftest.$ac_ext
 
7404
     ac_ext=c
 
7405
ac_cpp='$CPP $CPPFLAGS'
 
7406
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7407
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7408
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7409
 
 
7410
fi
 
7411
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 
7412
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
7413
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
7414
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
7415
    CFLAGS="$SAVE_CFLAGS"
 
7416
  fi
 
7417
  ;;
 
7418
sparc*-*solaris*)
 
7419
  # Find out which ABI we are using.
 
7420
  echo 'int i;' > conftest.$ac_ext
 
7421
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
7422
  (eval $ac_compile) 2>&5
 
7423
  ac_status=$?
 
7424
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7425
  test $ac_status = 0; }; then
 
7426
    case `/usr/bin/file conftest.o` in
 
7427
    *64-bit*)
 
7428
      case $lt_cv_prog_gnu_ld in
 
7429
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
7430
      *)
 
7431
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
7432
          LD="${LD-ld} -64"
 
7433
        fi
 
7434
        ;;
 
7435
      esac
 
7436
      ;;
 
7437
    esac
 
7438
  fi
 
7439
  rm -rf conftest*
 
7440
  ;;
 
7441
esac
 
7442
 
 
7443
need_locks="$enable_libtool_lock"
 
7444
 
 
7445
 
 
7446
  case $host_os in
 
7447
    rhapsody* | darwin*)
 
7448
    if test -n "$ac_tool_prefix"; then
 
7449
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
7450
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
7451
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7452
$as_echo_n "checking for $ac_word... " >&6; }
 
7453
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
7454
  $as_echo_n "(cached) " >&6
 
7455
else
 
7456
  if test -n "$DSYMUTIL"; then
 
7457
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
7458
else
 
7459
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7460
for as_dir in $PATH
 
7461
do
 
7462
  IFS=$as_save_IFS
 
7463
  test -z "$as_dir" && as_dir=.
 
7464
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7465
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7466
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
7467
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7468
    break 2
 
7469
  fi
 
7470
done
 
7471
  done
 
7472
IFS=$as_save_IFS
 
7473
 
 
7474
fi
 
7475
fi
 
7476
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
7477
if test -n "$DSYMUTIL"; then
 
7478
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 
7479
$as_echo "$DSYMUTIL" >&6; }
 
7480
else
 
7481
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7482
$as_echo "no" >&6; }
 
7483
fi
 
7484
 
 
7485
 
 
7486
fi
 
7487
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
7488
  ac_ct_DSYMUTIL=$DSYMUTIL
 
7489
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
7490
set dummy dsymutil; ac_word=$2
 
7491
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7492
$as_echo_n "checking for $ac_word... " >&6; }
 
7493
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
7494
  $as_echo_n "(cached) " >&6
 
7495
else
 
7496
  if test -n "$ac_ct_DSYMUTIL"; then
 
7497
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
7498
else
 
7499
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7500
for as_dir in $PATH
 
7501
do
 
7502
  IFS=$as_save_IFS
 
7503
  test -z "$as_dir" && as_dir=.
 
7504
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7505
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7506
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
7507
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7508
    break 2
 
7509
  fi
 
7510
done
 
7511
  done
 
7512
IFS=$as_save_IFS
 
7513
 
 
7514
fi
 
7515
fi
 
7516
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
7517
if test -n "$ac_ct_DSYMUTIL"; then
 
7518
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 
7519
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
7520
else
 
7521
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7522
$as_echo "no" >&6; }
 
7523
fi
 
7524
 
 
7525
  if test "x$ac_ct_DSYMUTIL" = x; then
 
7526
    DSYMUTIL=":"
 
7527
  else
 
7528
    case $cross_compiling:$ac_tool_warned in
 
7529
yes:)
 
7530
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7531
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7532
ac_tool_warned=yes ;;
 
7533
esac
 
7534
    DSYMUTIL=$ac_ct_DSYMUTIL
 
7535
  fi
 
7536
else
 
7537
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
7538
fi
 
7539
 
 
7540
    if test -n "$ac_tool_prefix"; then
 
7541
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
7542
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
7543
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7544
$as_echo_n "checking for $ac_word... " >&6; }
 
7545
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
7546
  $as_echo_n "(cached) " >&6
 
7547
else
 
7548
  if test -n "$NMEDIT"; then
 
7549
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
7550
else
 
7551
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7552
for as_dir in $PATH
 
7553
do
 
7554
  IFS=$as_save_IFS
 
7555
  test -z "$as_dir" && as_dir=.
 
7556
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7557
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7558
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
7559
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7560
    break 2
 
7561
  fi
 
7562
done
 
7563
  done
 
7564
IFS=$as_save_IFS
 
7565
 
 
7566
fi
 
7567
fi
 
7568
NMEDIT=$ac_cv_prog_NMEDIT
 
7569
if test -n "$NMEDIT"; then
 
7570
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 
7571
$as_echo "$NMEDIT" >&6; }
 
7572
else
 
7573
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7574
$as_echo "no" >&6; }
 
7575
fi
 
7576
 
 
7577
 
 
7578
fi
 
7579
if test -z "$ac_cv_prog_NMEDIT"; then
 
7580
  ac_ct_NMEDIT=$NMEDIT
 
7581
  # Extract the first word of "nmedit", so it can be a program name with args.
 
7582
set dummy nmedit; ac_word=$2
 
7583
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7584
$as_echo_n "checking for $ac_word... " >&6; }
 
7585
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
7586
  $as_echo_n "(cached) " >&6
 
7587
else
 
7588
  if test -n "$ac_ct_NMEDIT"; then
 
7589
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
7590
else
 
7591
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7592
for as_dir in $PATH
 
7593
do
 
7594
  IFS=$as_save_IFS
 
7595
  test -z "$as_dir" && as_dir=.
 
7596
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7597
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7598
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
7599
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7600
    break 2
 
7601
  fi
 
7602
done
 
7603
  done
 
7604
IFS=$as_save_IFS
 
7605
 
 
7606
fi
 
7607
fi
 
7608
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
7609
if test -n "$ac_ct_NMEDIT"; then
 
7610
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 
7611
$as_echo "$ac_ct_NMEDIT" >&6; }
 
7612
else
 
7613
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7614
$as_echo "no" >&6; }
 
7615
fi
 
7616
 
 
7617
  if test "x$ac_ct_NMEDIT" = x; then
 
7618
    NMEDIT=":"
 
7619
  else
 
7620
    case $cross_compiling:$ac_tool_warned in
 
7621
yes:)
 
7622
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7623
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7624
ac_tool_warned=yes ;;
 
7625
esac
 
7626
    NMEDIT=$ac_ct_NMEDIT
 
7627
  fi
 
7628
else
 
7629
  NMEDIT="$ac_cv_prog_NMEDIT"
 
7630
fi
 
7631
 
 
7632
    if test -n "$ac_tool_prefix"; then
 
7633
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
7634
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
7635
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7636
$as_echo_n "checking for $ac_word... " >&6; }
 
7637
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
7638
  $as_echo_n "(cached) " >&6
 
7639
else
 
7640
  if test -n "$LIPO"; then
 
7641
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
7642
else
 
7643
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7644
for as_dir in $PATH
 
7645
do
 
7646
  IFS=$as_save_IFS
 
7647
  test -z "$as_dir" && as_dir=.
 
7648
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7649
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7650
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
7651
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7652
    break 2
 
7653
  fi
 
7654
done
 
7655
  done
 
7656
IFS=$as_save_IFS
 
7657
 
 
7658
fi
 
7659
fi
 
7660
LIPO=$ac_cv_prog_LIPO
 
7661
if test -n "$LIPO"; then
 
7662
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
7663
$as_echo "$LIPO" >&6; }
 
7664
else
 
7665
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7666
$as_echo "no" >&6; }
 
7667
fi
 
7668
 
 
7669
 
 
7670
fi
 
7671
if test -z "$ac_cv_prog_LIPO"; then
 
7672
  ac_ct_LIPO=$LIPO
 
7673
  # Extract the first word of "lipo", so it can be a program name with args.
 
7674
set dummy lipo; ac_word=$2
 
7675
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7676
$as_echo_n "checking for $ac_word... " >&6; }
 
7677
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
7678
  $as_echo_n "(cached) " >&6
 
7679
else
 
7680
  if test -n "$ac_ct_LIPO"; then
 
7681
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
7682
else
 
7683
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7684
for as_dir in $PATH
 
7685
do
 
7686
  IFS=$as_save_IFS
 
7687
  test -z "$as_dir" && as_dir=.
 
7688
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7689
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7690
    ac_cv_prog_ac_ct_LIPO="lipo"
 
7691
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7692
    break 2
 
7693
  fi
 
7694
done
 
7695
  done
 
7696
IFS=$as_save_IFS
 
7697
 
 
7698
fi
 
7699
fi
 
7700
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
7701
if test -n "$ac_ct_LIPO"; then
 
7702
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 
7703
$as_echo "$ac_ct_LIPO" >&6; }
 
7704
else
 
7705
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7706
$as_echo "no" >&6; }
 
7707
fi
 
7708
 
 
7709
  if test "x$ac_ct_LIPO" = x; then
 
7710
    LIPO=":"
 
7711
  else
 
7712
    case $cross_compiling:$ac_tool_warned in
 
7713
yes:)
 
7714
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7715
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7716
ac_tool_warned=yes ;;
 
7717
esac
 
7718
    LIPO=$ac_ct_LIPO
 
7719
  fi
 
7720
else
 
7721
  LIPO="$ac_cv_prog_LIPO"
 
7722
fi
 
7723
 
 
7724
    if test -n "$ac_tool_prefix"; then
 
7725
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
7726
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
7727
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7728
$as_echo_n "checking for $ac_word... " >&6; }
 
7729
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
7730
  $as_echo_n "(cached) " >&6
 
7731
else
 
7732
  if test -n "$OTOOL"; then
 
7733
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
7734
else
 
7735
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7736
for as_dir in $PATH
 
7737
do
 
7738
  IFS=$as_save_IFS
 
7739
  test -z "$as_dir" && as_dir=.
 
7740
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7741
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7742
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
7743
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7744
    break 2
 
7745
  fi
 
7746
done
 
7747
  done
 
7748
IFS=$as_save_IFS
 
7749
 
 
7750
fi
 
7751
fi
 
7752
OTOOL=$ac_cv_prog_OTOOL
 
7753
if test -n "$OTOOL"; then
 
7754
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 
7755
$as_echo "$OTOOL" >&6; }
 
7756
else
 
7757
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7758
$as_echo "no" >&6; }
 
7759
fi
 
7760
 
 
7761
 
 
7762
fi
 
7763
if test -z "$ac_cv_prog_OTOOL"; then
 
7764
  ac_ct_OTOOL=$OTOOL
 
7765
  # Extract the first word of "otool", so it can be a program name with args.
 
7766
set dummy otool; ac_word=$2
 
7767
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7768
$as_echo_n "checking for $ac_word... " >&6; }
 
7769
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
7770
  $as_echo_n "(cached) " >&6
 
7771
else
 
7772
  if test -n "$ac_ct_OTOOL"; then
 
7773
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
7774
else
 
7775
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7776
for as_dir in $PATH
 
7777
do
 
7778
  IFS=$as_save_IFS
 
7779
  test -z "$as_dir" && as_dir=.
 
7780
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7781
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7782
    ac_cv_prog_ac_ct_OTOOL="otool"
 
7783
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7784
    break 2
 
7785
  fi
 
7786
done
 
7787
  done
 
7788
IFS=$as_save_IFS
 
7789
 
 
7790
fi
 
7791
fi
 
7792
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
7793
if test -n "$ac_ct_OTOOL"; then
 
7794
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 
7795
$as_echo "$ac_ct_OTOOL" >&6; }
 
7796
else
 
7797
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7798
$as_echo "no" >&6; }
 
7799
fi
 
7800
 
 
7801
  if test "x$ac_ct_OTOOL" = x; then
 
7802
    OTOOL=":"
 
7803
  else
 
7804
    case $cross_compiling:$ac_tool_warned in
 
7805
yes:)
 
7806
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7807
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7808
ac_tool_warned=yes ;;
 
7809
esac
 
7810
    OTOOL=$ac_ct_OTOOL
 
7811
  fi
 
7812
else
 
7813
  OTOOL="$ac_cv_prog_OTOOL"
 
7814
fi
 
7815
 
 
7816
    if test -n "$ac_tool_prefix"; then
 
7817
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
7818
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
7819
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7820
$as_echo_n "checking for $ac_word... " >&6; }
 
7821
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
7822
  $as_echo_n "(cached) " >&6
 
7823
else
 
7824
  if test -n "$OTOOL64"; then
 
7825
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
7826
else
 
7827
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7828
for as_dir in $PATH
 
7829
do
 
7830
  IFS=$as_save_IFS
 
7831
  test -z "$as_dir" && as_dir=.
 
7832
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7833
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7834
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
7835
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7836
    break 2
 
7837
  fi
 
7838
done
 
7839
  done
 
7840
IFS=$as_save_IFS
 
7841
 
 
7842
fi
 
7843
fi
 
7844
OTOOL64=$ac_cv_prog_OTOOL64
 
7845
if test -n "$OTOOL64"; then
 
7846
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 
7847
$as_echo "$OTOOL64" >&6; }
 
7848
else
 
7849
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7850
$as_echo "no" >&6; }
 
7851
fi
 
7852
 
 
7853
 
 
7854
fi
 
7855
if test -z "$ac_cv_prog_OTOOL64"; then
 
7856
  ac_ct_OTOOL64=$OTOOL64
 
7857
  # Extract the first word of "otool64", so it can be a program name with args.
 
7858
set dummy otool64; ac_word=$2
 
7859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7860
$as_echo_n "checking for $ac_word... " >&6; }
 
7861
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
7862
  $as_echo_n "(cached) " >&6
 
7863
else
 
7864
  if test -n "$ac_ct_OTOOL64"; then
 
7865
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
7866
else
 
7867
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7868
for as_dir in $PATH
 
7869
do
 
7870
  IFS=$as_save_IFS
 
7871
  test -z "$as_dir" && as_dir=.
 
7872
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7873
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7874
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
7875
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7876
    break 2
 
7877
  fi
 
7878
done
 
7879
  done
 
7880
IFS=$as_save_IFS
 
7881
 
 
7882
fi
 
7883
fi
 
7884
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
7885
if test -n "$ac_ct_OTOOL64"; then
 
7886
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 
7887
$as_echo "$ac_ct_OTOOL64" >&6; }
 
7888
else
 
7889
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7890
$as_echo "no" >&6; }
 
7891
fi
 
7892
 
 
7893
  if test "x$ac_ct_OTOOL64" = x; then
 
7894
    OTOOL64=":"
 
7895
  else
 
7896
    case $cross_compiling:$ac_tool_warned in
 
7897
yes:)
 
7898
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7899
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7900
ac_tool_warned=yes ;;
 
7901
esac
 
7902
    OTOOL64=$ac_ct_OTOOL64
 
7903
  fi
 
7904
else
 
7905
  OTOOL64="$ac_cv_prog_OTOOL64"
 
7906
fi
 
7907
 
 
7908
    
 
7909
    
 
7910
    
 
7911
    
 
7912
 
 
7913
    
 
7914
    
 
7915
    
 
7916
    
 
7917
 
 
7918
    
 
7919
    
 
7920
    
 
7921
    
 
7922
 
 
7923
    
 
7924
    
 
7925
    
 
7926
    
 
7927
 
 
7928
    
 
7929
    
 
7930
    
 
7931
    
 
7932
 
 
7933
 
 
7934
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 
7935
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
7936
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
7937
  $as_echo_n "(cached) " >&6
 
7938
else
 
7939
  lt_cv_apple_cc_single_mod=no
 
7940
      if test -z "${LT_MULTI_MODULE}"; then
 
7941
        # By default we will add the -single_module flag. You can override
 
7942
        # by either setting the environment variable LT_MULTI_MODULE
 
7943
        # non-empty at configure time, or by adding -multi_module to the
 
7944
        # link flags.
 
7945
        rm -rf libconftest.dylib*
 
7946
        echo "int foo(void){return 1;}" > conftest.c
 
7947
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7948
-dynamiclib -Wl,-single_module conftest.c" >&5
 
7949
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7950
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
7951
        _lt_result=$?
 
7952
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
7953
          lt_cv_apple_cc_single_mod=yes
 
7954
        else
 
7955
          cat conftest.err >&5
 
7956
        fi
 
7957
        rm -rf libconftest.dylib*
 
7958
        rm -f conftest.*
 
7959
      fi
 
7960
fi
 
7961
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 
7962
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
7963
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 
7964
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
7965
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
7966
  $as_echo_n "(cached) " >&6
 
7967
else
 
7968
  lt_cv_ld_exported_symbols_list=no
 
7969
      save_LDFLAGS=$LDFLAGS
 
7970
      echo "_main" > conftest.sym
 
7971
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
7972
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7973
/* end confdefs.h.  */
 
7974
 
 
7975
int
 
7976
main ()
 
7977
{
 
7978
 
 
7979
  ;
 
7980
  return 0;
 
7981
}
 
7982
_ACEOF
 
7983
if ac_fn_c_try_link "$LINENO"; then :
 
7984
  lt_cv_ld_exported_symbols_list=yes
 
7985
else
 
7986
  lt_cv_ld_exported_symbols_list=no
 
7987
fi
 
7988
rm -f core conftest.err conftest.$ac_objext \
 
7989
    conftest$ac_exeext conftest.$ac_ext
 
7990
        LDFLAGS="$save_LDFLAGS"
 
7991
    
 
7992
fi
 
7993
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 
7994
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7995
    case $host_os in
 
7996
    rhapsody* | darwin1.[012])
 
7997
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
7998
    darwin1.*)
 
7999
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
8000
    darwin*) # darwin 5.x on
 
8001
      # if running on 10.5 or later, the deployment target defaults
 
8002
      # to the OS version, if on x86, and 10.4, the deployment
 
8003
      # target defaults to 10.4. Don't you love it?
 
8004
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
8005
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
8006
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
8007
        10.[012]*)
 
8008
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
8009
        10.*)
 
8010
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
8011
      esac
 
8012
    ;;
 
8013
  esac
 
8014
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
8015
      _lt_dar_single_mod='$single_module'
 
8016
    fi
 
8017
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
8018
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
8019
    else
 
8020
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
8021
    fi
 
8022
    if test "$DSYMUTIL" != ":"; then
 
8023
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
8024
    else
 
8025
      _lt_dsymutil=
 
8026
    fi
 
8027
    ;;
 
8028
  esac
 
8029
 
 
8030
for ac_header in dlfcn.h
 
8031
do :
 
8032
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
8033
"
 
8034
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
8035
  cat >>confdefs.h <<_ACEOF
 
8036
@%:@define HAVE_DLFCN_H 1
 
8037
_ACEOF
 
8038
 
 
8039
fi
 
8040
 
 
8041
done
 
8042
 
 
8043
 
 
8044
 
 
8045
# Set options
 
8046
 
 
8047
 
 
8048
 
 
8049
        enable_dlopen=no
 
8050
  
 
8051
 
 
8052
  enable_win32_dll=no
 
8053
  
 
8054
 
 
8055
            @%:@ Check whether --enable-shared was given.
 
8056
if test "${enable_shared+set}" = set; then :
 
8057
  enableval=$enable_shared; p=${PACKAGE-default}
 
8058
    case $enableval in
 
8059
    yes) enable_shared=yes ;;
 
8060
    no) enable_shared=no ;;
 
8061
    *)
 
8062
      enable_shared=no
 
8063
      # Look at the argument we got.  We use all the common list separators.
 
8064
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8065
      for pkg in $enableval; do
 
8066
        IFS="$lt_save_ifs"
 
8067
        if test "X$pkg" = "X$p"; then
 
8068
          enable_shared=yes
 
8069
        fi
 
8070
      done
 
8071
      IFS="$lt_save_ifs"
 
8072
      ;;
 
8073
    esac
 
8074
else
 
8075
  enable_shared=yes
 
8076
fi
 
8077
 
 
8078
 
 
8079
    
 
8080
    
 
8081
    
 
8082
    
 
8083
 
 
8084
 
 
8085
 
 
8086
  @%:@ Check whether --enable-static was given.
 
8087
if test "${enable_static+set}" = set; then :
 
8088
  enableval=$enable_static; p=${PACKAGE-default}
 
8089
    case $enableval in
 
8090
    yes) enable_static=yes ;;
 
8091
    no) enable_static=no ;;
 
8092
    *)
 
8093
     enable_static=no
 
8094
      # Look at the argument we got.  We use all the common list separators.
 
8095
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8096
      for pkg in $enableval; do
 
8097
        IFS="$lt_save_ifs"
 
8098
        if test "X$pkg" = "X$p"; then
 
8099
          enable_static=yes
 
8100
        fi
 
8101
      done
 
8102
      IFS="$lt_save_ifs"
 
8103
      ;;
 
8104
    esac
 
8105
else
 
8106
  enable_static=yes
 
8107
fi
 
8108
 
 
8109
 
 
8110
    
 
8111
    
 
8112
    
 
8113
    
 
8114
 
 
8115
 
 
8116
 
 
8117
  
 
8118
@%:@ Check whether --with-pic was given.
 
8119
if test "${with_pic+set}" = set; then :
 
8120
  withval=$with_pic; pic_mode="$withval"
 
8121
else
 
8122
  pic_mode=default
 
8123
fi
 
8124
 
 
8125
 
 
8126
test -z "$pic_mode" && pic_mode=default
 
8127
 
 
8128
 
 
8129
    
 
8130
    
 
8131
    
 
8132
 
 
8133
 
 
8134
  @%:@ Check whether --enable-fast-install was given.
 
8135
if test "${enable_fast_install+set}" = set; then :
 
8136
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
8137
    case $enableval in
 
8138
    yes) enable_fast_install=yes ;;
 
8139
    no) enable_fast_install=no ;;
 
8140
    *)
 
8141
      enable_fast_install=no
 
8142
      # Look at the argument we got.  We use all the common list separators.
 
8143
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8144
      for pkg in $enableval; do
 
8145
        IFS="$lt_save_ifs"
 
8146
        if test "X$pkg" = "X$p"; then
 
8147
          enable_fast_install=yes
 
8148
        fi
 
8149
      done
 
8150
      IFS="$lt_save_ifs"
 
8151
      ;;
 
8152
    esac
 
8153
else
 
8154
  enable_fast_install=yes
 
8155
fi
 
8156
 
 
8157
 
 
8158
 
 
8159
    
 
8160
    
 
8161
    
 
8162
 
 
8163
 
 
8164
  
 
8165
 
 
8166
 
 
8167
# This can be used to rebuild libtool when needed
 
8168
LIBTOOL_DEPS="$ltmain"
 
8169
 
 
8170
# Always use our own libtool.
 
8171
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
8172
 
 
8173
 
 
8174
    
 
8175
    
 
8176
    
 
8177
 
 
8178
    
 
8179
    
 
8180
    
 
8181
 
 
8182
    
 
8183
    
 
8184
    
 
8185
 
 
8186
    
 
8187
    
 
8188
    
 
8189
 
 
8190
    
 
8191
    
 
8192
    
 
8193
 
 
8194
    
 
8195
    
 
8196
    
 
8197
test -z "$LN_S" && LN_S="ln -s"
 
8198
 
 
8199
    
 
8200
    
 
8201
    
 
8202
 
 
8203
    
 
8204
    
 
8205
    
 
8206
 
 
8207
    
 
8208
    
 
8209
    
 
8210
 
 
8211
 
 
8212
if test -n "${ZSH_VERSION+set}" ; then
 
8213
   setopt NO_GLOB_SUBST
 
8214
fi
 
8215
 
 
8216
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 
8217
$as_echo_n "checking for objdir... " >&6; }
 
8218
if test "${lt_cv_objdir+set}" = set; then :
 
8219
  $as_echo_n "(cached) " >&6
 
8220
else
 
8221
  rm -f .libs 2>/dev/null
 
8222
mkdir .libs 2>/dev/null
 
8223
if test -d .libs; then
 
8224
  lt_cv_objdir=.libs
 
8225
else
 
8226
  # MS-DOS does not allow filenames that begin with a dot.
 
8227
  lt_cv_objdir=_libs
 
8228
fi
 
8229
rmdir .libs 2>/dev/null
 
8230
fi
 
8231
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 
8232
$as_echo "$lt_cv_objdir" >&6; }
 
8233
objdir=$lt_cv_objdir
 
8234
 
 
8235
    
 
8236
    
 
8237
    
 
8238
 
 
8239
cat >>confdefs.h <<_ACEOF
 
8240
@%:@define LT_OBJDIR "$lt_cv_objdir/"
 
8241
_ACEOF
 
8242
 
 
8243
 
 
8244
 
 
8245
 
 
8246
 
 
8247
 
 
8248
    
 
8249
    
 
8250
    
 
8251
 
 
8252
 
 
8253
    
 
8254
    
 
8255
    
 
8256
 
 
8257
 
 
8258
 
 
8259
case $host_os in
 
8260
aix3*)
 
8261
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
8262
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
8263
  # vanish in a puff of smoke.
 
8264
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
8265
    COLLECT_NAMES=
 
8266
    export COLLECT_NAMES
 
8267
  fi
 
8268
  ;;
 
8269
esac
 
8270
 
 
8271
# Sed substitution that helps us do robust quoting.  It backslashifies
 
8272
# metacharacters that are still active within double-quoted strings.
 
8273
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
8274
 
 
8275
# Same as above, but do not quote variable references.
 
8276
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
8277
 
 
8278
# Sed substitution to delay expansion of an escaped shell variable in a
 
8279
# double_quote_subst'ed string.
 
8280
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
8281
 
 
8282
# Sed substitution to delay expansion of an escaped single quote.
 
8283
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
8284
 
 
8285
# Sed substitution to avoid accidental globbing in evaled expressions
 
8286
no_glob_subst='s/\*/\\\*/g'
 
8287
 
 
8288
# Global variables:
 
8289
ofile=libtool
 
8290
can_build_shared=yes
 
8291
 
 
8292
# All known linkers require a `.a' archive for static linking (except MSVC,
 
8293
# which needs '.lib').
 
8294
libext=a
 
8295
 
 
8296
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
8297
 
 
8298
old_CC="$CC"
 
8299
old_CFLAGS="$CFLAGS"
 
8300
 
 
8301
# Set sane defaults for various variables
 
8302
test -z "$CC" && CC=cc
 
8303
test -z "$LTCC" && LTCC=$CC
 
8304
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
8305
test -z "$LD" && LD=ld
 
8306
test -z "$ac_objext" && ac_objext=o
 
8307
 
 
8308
for cc_temp in $compiler""; do
 
8309
  case $cc_temp in
 
8310
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
8311
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
8312
    \-*) ;;
 
8313
    *) break;;
 
8314
  esac
 
8315
done
 
8316
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
8317
 
 
8318
 
 
8319
# Only perform the check for file, if the check method requires it
 
8320
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
8321
case $deplibs_check_method in
 
8322
file_magic*)
 
8323
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
8324
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 
8325
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
8326
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
8327
  $as_echo_n "(cached) " >&6
 
8328
else
 
8329
  case $MAGIC_CMD in
 
8330
[\\/*] |  ?:[\\/]*)
 
8331
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
8332
  ;;
 
8333
*)
 
8334
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
8335
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
8336
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
8337
  for ac_dir in $ac_dummy; do
 
8338
    IFS="$lt_save_ifs"
 
8339
    test -z "$ac_dir" && ac_dir=.
 
8340
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
8341
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
8342
      if test -n "$file_magic_test_file"; then
 
8343
        case $deplibs_check_method in
 
8344
        "file_magic "*)
 
8345
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
8346
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8347
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
8348
            $EGREP "$file_magic_regex" > /dev/null; then
 
8349
            :
 
8350
          else
 
8351
            cat <<_LT_EOF 1>&2
 
8352
 
 
8353
*** Warning: the command libtool uses to detect shared libraries,
 
8354
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
8355
*** The result is that libtool may fail to recognize shared libraries
 
8356
*** as such.  This will affect the creation of libtool libraries that
 
8357
*** depend on shared libraries, but programs linked with such libtool
 
8358
*** libraries will work regardless of this problem.  Nevertheless, you
 
8359
*** may want to report the problem to your system manager and/or to
 
8360
*** bug-libtool@gnu.org
 
8361
 
 
8362
_LT_EOF
 
8363
          fi ;;
 
8364
        esac
 
8365
      fi
 
8366
      break
 
8367
    fi
 
8368
  done
 
8369
  IFS="$lt_save_ifs"
 
8370
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
8371
  ;;
 
8372
esac
 
8373
fi
 
8374
 
 
8375
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8376
if test -n "$MAGIC_CMD"; then
 
8377
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
8378
$as_echo "$MAGIC_CMD" >&6; }
 
8379
else
 
8380
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8381
$as_echo "no" >&6; }
 
8382
fi
 
8383
 
 
8384
    
 
8385
    
 
8386
    
 
8387
 
 
8388
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
8389
  if test -n "$ac_tool_prefix"; then
 
8390
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 
8391
$as_echo_n "checking for file... " >&6; }
 
8392
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
8393
  $as_echo_n "(cached) " >&6
 
8394
else
 
8395
  case $MAGIC_CMD in
 
8396
[\\/*] |  ?:[\\/]*)
 
8397
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
8398
  ;;
 
8399
*)
 
8400
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
8401
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
8402
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
8403
  for ac_dir in $ac_dummy; do
 
8404
    IFS="$lt_save_ifs"
 
8405
    test -z "$ac_dir" && ac_dir=.
 
8406
    if test -f $ac_dir/file; then
 
8407
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
8408
      if test -n "$file_magic_test_file"; then
 
8409
        case $deplibs_check_method in
 
8410
        "file_magic "*)
 
8411
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
8412
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8413
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
8414
            $EGREP "$file_magic_regex" > /dev/null; then
 
8415
            :
 
8416
          else
 
8417
            cat <<_LT_EOF 1>&2
 
8418
 
 
8419
*** Warning: the command libtool uses to detect shared libraries,
 
8420
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
8421
*** The result is that libtool may fail to recognize shared libraries
 
8422
*** as such.  This will affect the creation of libtool libraries that
 
8423
*** depend on shared libraries, but programs linked with such libtool
 
8424
*** libraries will work regardless of this problem.  Nevertheless, you
 
8425
*** may want to report the problem to your system manager and/or to
 
8426
*** bug-libtool@gnu.org
 
8427
 
 
8428
_LT_EOF
 
8429
          fi ;;
 
8430
        esac
 
8431
      fi
 
8432
      break
 
8433
    fi
 
8434
  done
 
8435
  IFS="$lt_save_ifs"
 
8436
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
8437
  ;;
 
8438
esac
 
8439
fi
 
8440
 
 
8441
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8442
if test -n "$MAGIC_CMD"; then
 
8443
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
8444
$as_echo "$MAGIC_CMD" >&6; }
 
8445
else
 
8446
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8447
$as_echo "no" >&6; }
 
8448
fi
 
8449
 
 
8450
 
 
8451
  else
 
8452
    MAGIC_CMD=:
 
8453
  fi
 
8454
fi
 
8455
 
 
8456
  fi
 
8457
  ;;
 
8458
esac
 
8459
 
 
8460
# Use C for the default configuration in the libtool script
 
8461
 
 
8462
lt_save_CC="$CC"
 
8463
ac_ext=c
 
8464
ac_cpp='$CPP $CPPFLAGS'
 
8465
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
8466
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
8467
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
8468
 
 
8469
 
 
8470
# Source file extension for C test sources.
 
8471
ac_ext=c
 
8472
 
 
8473
# Object file extension for compiled C test sources.
 
8474
objext=o
 
8475
objext=$objext
 
8476
 
 
8477
# Code to be used in simple compile tests
 
8478
lt_simple_compile_test_code="int some_variable = 0;"
 
8479
 
 
8480
# Code to be used in simple link tests
 
8481
lt_simple_link_test_code='int main(){return(0);}'
 
8482
 
 
8483
 
 
8484
 
 
8485
 
 
8486
 
 
8487
 
 
8488
 
 
8489
# If no C compiler was specified, use CC.
 
8490
LTCC=${LTCC-"$CC"}
 
8491
 
 
8492
# If no C compiler flags were specified, use CFLAGS.
 
8493
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
8494
 
 
8495
# Allow CC to be a program name with arguments.
 
8496
compiler=$CC
 
8497
 
 
8498
# Save the default compiler, since it gets overwritten when the other
 
8499
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
8500
compiler_DEFAULT=$CC
 
8501
 
 
8502
# save warnings/boilerplate of simple test code
 
8503
ac_outfile=conftest.$ac_objext
 
8504
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
8505
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
8506
_lt_compiler_boilerplate=`cat conftest.err`
 
8507
$RM conftest*
 
8508
 
 
8509
ac_outfile=conftest.$ac_objext
 
8510
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
8511
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
8512
_lt_linker_boilerplate=`cat conftest.err`
 
8513
$RM -r conftest*
 
8514
 
 
8515
 
 
8516
## CAVEAT EMPTOR:
 
8517
## There is no encapsulation within the following macros, do not change
 
8518
## the running order or otherwise move them around unless you know exactly
 
8519
## what you are doing...
 
8520
if test -n "$compiler"; then
 
8521
  
 
8522
lt_prog_compiler_no_builtin_flag=
 
8523
 
 
8524
if test "$GCC" = yes; then
 
8525
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
8526
 
 
8527
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
8528
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
8529
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
8530
  $as_echo_n "(cached) " >&6
 
8531
else
 
8532
  lt_cv_prog_compiler_rtti_exceptions=no
 
8533
   ac_outfile=conftest.$ac_objext
 
8534
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8535
   lt_compiler_flag="-fno-rtti -fno-exceptions"
 
8536
   # Insert the option either (1) after the last *FLAGS variable, or
 
8537
   # (2) before a word containing "conftest.", or (3) at the end.
 
8538
   # Note that $ac_compile itself does not contain backslashes and begins
 
8539
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8540
   # The option is referenced via a variable to avoid confusing sed.
 
8541
   lt_compile=`echo "$ac_compile" | $SED \
 
8542
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8543
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8544
   -e 's:$: $lt_compiler_flag:'`
 
8545
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
 
8546
   (eval "$lt_compile" 2>conftest.err)
 
8547
   ac_status=$?
 
8548
   cat conftest.err >&5
 
8549
   echo "$as_me:__oline__: \$? = $ac_status" >&5
 
8550
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
8551
     # The compiler can only warn and ignore the option if not recognized
 
8552
     # So say no if there are warnings other than the usual output.
 
8553
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8554
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8555
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
8556
       lt_cv_prog_compiler_rtti_exceptions=yes
 
8557
     fi
 
8558
   fi
 
8559
   $RM conftest*
 
8560
 
 
8561
fi
 
8562
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
8563
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
8564
 
 
8565
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 
8566
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 
8567
else
 
8568
    :
 
8569
fi
 
8570
 
 
8571
fi
 
8572
 
 
8573
    
 
8574
    
 
8575
    
 
8576
 
 
8577
 
 
8578
  lt_prog_compiler_wl=
 
8579
lt_prog_compiler_pic=
 
8580
lt_prog_compiler_static=
 
8581
 
 
8582
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
8583
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
8584
 
 
8585
  if test "$GCC" = yes; then
 
8586
    lt_prog_compiler_wl='-Wl,'
 
8587
    lt_prog_compiler_static='-static'
 
8588
 
 
8589
    case $host_os in
 
8590
      aix*)
 
8591
      # All AIX code is PIC.
 
8592
      if test "$host_cpu" = ia64; then
 
8593
        # AIX 5 now supports IA64 processor
 
8594
        lt_prog_compiler_static='-Bstatic'
 
8595
      fi
 
8596
      ;;
 
8597
 
 
8598
    amigaos*)
 
8599
      case $host_cpu in
 
8600
      powerpc)
 
8601
            # see comment about AmigaOS4 .so support
 
8602
            lt_prog_compiler_pic='-fPIC'
 
8603
        ;;
 
8604
      m68k)
 
8605
            # FIXME: we need at least 68020 code to build shared libraries, but
 
8606
            # adding the `-m68020' flag to GCC prevents building anything better,
 
8607
            # like `-m68040'.
 
8608
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
8609
        ;;
 
8610
      esac
 
8611
      ;;
 
8612
 
 
8613
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
8614
      # PIC is the default for these OSes.
 
8615
      ;;
 
8616
 
 
8617
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
8618
      # This hack is so that the source file can tell whether it is being
 
8619
      # built for inclusion in a dll (and should export symbols for example).
 
8620
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
8621
      # (--disable-auto-import) libraries
 
8622
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
8623
      ;;
 
8624
 
 
8625
    darwin* | rhapsody*)
 
8626
      # PIC is the default on this platform
 
8627
      # Common symbols not allowed in MH_DYLIB files
 
8628
      lt_prog_compiler_pic='-fno-common'
 
8629
      ;;
 
8630
 
 
8631
    hpux*)
 
8632
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
8633
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
8634
      # sets the default TLS model and affects inlining.
 
8635
      case $host_cpu in
 
8636
      hppa*64*)
 
8637
        # +Z the default
 
8638
        ;;
 
8639
      *)
 
8640
        lt_prog_compiler_pic='-fPIC'
 
8641
        ;;
 
8642
      esac
 
8643
      ;;
 
8644
 
 
8645
    interix[3-9]*)
 
8646
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
8647
      # Instead, we relocate shared libraries at runtime.
 
8648
      ;;
 
8649
 
 
8650
    msdosdjgpp*)
 
8651
      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
8652
      # on systems that don't support them.
 
8653
      lt_prog_compiler_can_build_shared=no
 
8654
      enable_shared=no
 
8655
      ;;
 
8656
 
 
8657
    *nto* | *qnx*)
 
8658
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
8659
      # it will coredump.
 
8660
      lt_prog_compiler_pic='-fPIC -shared'
 
8661
      ;;
 
8662
 
 
8663
    sysv4*MP*)
 
8664
      if test -d /usr/nec; then
 
8665
        lt_prog_compiler_pic=-Kconform_pic
 
8666
      fi
 
8667
      ;;
 
8668
 
 
8669
    *)
 
8670
      lt_prog_compiler_pic='-fPIC'
 
8671
      ;;
 
8672
    esac
 
8673
  else
 
8674
    # PORTME Check for flag to pass linker flags through the system compiler.
 
8675
    case $host_os in
 
8676
    aix*)
 
8677
      lt_prog_compiler_wl='-Wl,'
 
8678
      if test "$host_cpu" = ia64; then
 
8679
        # AIX 5 now supports IA64 processor
 
8680
        lt_prog_compiler_static='-Bstatic'
 
8681
      else
 
8682
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 
8683
      fi
 
8684
      ;;
 
8685
 
 
8686
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
8687
      # This hack is so that the source file can tell whether it is being
 
8688
      # built for inclusion in a dll (and should export symbols for example).
 
8689
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
8690
      ;;
 
8691
 
 
8692
    hpux9* | hpux10* | hpux11*)
 
8693
      lt_prog_compiler_wl='-Wl,'
 
8694
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
8695
      # not for PA HP-UX.
 
8696
      case $host_cpu in
 
8697
      hppa*64*|ia64*)
 
8698
        # +Z the default
 
8699
        ;;
 
8700
      *)
 
8701
        lt_prog_compiler_pic='+Z'
 
8702
        ;;
 
8703
      esac
 
8704
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
8705
      lt_prog_compiler_static='${wl}-a ${wl}archive'
 
8706
      ;;
 
8707
 
 
8708
    irix5* | irix6* | nonstopux*)
 
8709
      lt_prog_compiler_wl='-Wl,'
 
8710
      # PIC (with -KPIC) is the default.
 
8711
      lt_prog_compiler_static='-non_shared'
 
8712
      ;;
 
8713
 
 
8714
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
8715
      case $cc_basename in
 
8716
      # old Intel for x86_64 which still supported -KPIC.
 
8717
      ecc*)
 
8718
        lt_prog_compiler_wl='-Wl,'
 
8719
        lt_prog_compiler_pic='-KPIC'
 
8720
        lt_prog_compiler_static='-static'
 
8721
        ;;
 
8722
      # icc used to be incompatible with GCC.
 
8723
      # ICC 10 doesn't accept -KPIC any more.
 
8724
      icc* | ifort*)
 
8725
        lt_prog_compiler_wl='-Wl,'
 
8726
        lt_prog_compiler_pic='-fPIC'
 
8727
        lt_prog_compiler_static='-static'
 
8728
        ;;
 
8729
      # Lahey Fortran 8.1.
 
8730
      lf95*)
 
8731
        lt_prog_compiler_wl='-Wl,'
 
8732
        lt_prog_compiler_pic='--shared'
 
8733
        lt_prog_compiler_static='--static'
 
8734
        ;;
 
8735
      pgcc* | pgf77* | pgf90* | pgf95*)
 
8736
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
8737
        # which looks to be a dead project)
 
8738
        lt_prog_compiler_wl='-Wl,'
 
8739
        lt_prog_compiler_pic='-fpic'
 
8740
        lt_prog_compiler_static='-Bstatic'
 
8741
        ;;
 
8742
      ccc*)
 
8743
        lt_prog_compiler_wl='-Wl,'
 
8744
        # All Alpha code is PIC.
 
8745
        lt_prog_compiler_static='-non_shared'
 
8746
        ;;
 
8747
      xl*)
 
8748
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
8749
        lt_prog_compiler_wl='-Wl,'
 
8750
        lt_prog_compiler_pic='-qpic'
 
8751
        lt_prog_compiler_static='-qstaticlink'
 
8752
        ;;
 
8753
      *)
 
8754
        case `$CC -V 2>&1 | sed 5q` in
 
8755
        *Sun\ C*)
 
8756
          # Sun C 5.9
 
8757
          lt_prog_compiler_pic='-KPIC'
 
8758
          lt_prog_compiler_static='-Bstatic'
 
8759
          lt_prog_compiler_wl='-Wl,'
 
8760
          ;;
 
8761
        *Sun\ F*)
 
8762
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8763
          lt_prog_compiler_pic='-KPIC'
 
8764
          lt_prog_compiler_static='-Bstatic'
 
8765
          lt_prog_compiler_wl=''
 
8766
          ;;
 
8767
        esac
 
8768
        ;;
 
8769
      esac
 
8770
      ;;
 
8771
 
 
8772
    newsos6)
 
8773
      lt_prog_compiler_pic='-KPIC'
 
8774
      lt_prog_compiler_static='-Bstatic'
 
8775
      ;;
 
8776
 
 
8777
    *nto* | *qnx*)
 
8778
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
8779
      # it will coredump.
 
8780
      lt_prog_compiler_pic='-fPIC -shared'
 
8781
      ;;
 
8782
 
 
8783
    osf3* | osf4* | osf5*)
 
8784
      lt_prog_compiler_wl='-Wl,'
 
8785
      # All OSF/1 code is PIC.
 
8786
      lt_prog_compiler_static='-non_shared'
 
8787
      ;;
 
8788
 
 
8789
    rdos*)
 
8790
      lt_prog_compiler_static='-non_shared'
 
8791
      ;;
 
8792
 
 
8793
    solaris*)
 
8794
      lt_prog_compiler_pic='-KPIC'
 
8795
      lt_prog_compiler_static='-Bstatic'
 
8796
      case $cc_basename in
 
8797
      f77* | f90* | f95*)
 
8798
        lt_prog_compiler_wl='-Qoption ld ';;
 
8799
      *)
 
8800
        lt_prog_compiler_wl='-Wl,';;
 
8801
      esac
 
8802
      ;;
 
8803
 
 
8804
    sunos4*)
 
8805
      lt_prog_compiler_wl='-Qoption ld '
 
8806
      lt_prog_compiler_pic='-PIC'
 
8807
      lt_prog_compiler_static='-Bstatic'
 
8808
      ;;
 
8809
 
 
8810
    sysv4 | sysv4.2uw2* | sysv4.3*)
 
8811
      lt_prog_compiler_wl='-Wl,'
 
8812
      lt_prog_compiler_pic='-KPIC'
 
8813
      lt_prog_compiler_static='-Bstatic'
 
8814
      ;;
 
8815
 
 
8816
    sysv4*MP*)
 
8817
      if test -d /usr/nec ;then
 
8818
        lt_prog_compiler_pic='-Kconform_pic'
 
8819
        lt_prog_compiler_static='-Bstatic'
 
8820
      fi
 
8821
      ;;
 
8822
 
 
8823
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
8824
      lt_prog_compiler_wl='-Wl,'
 
8825
      lt_prog_compiler_pic='-KPIC'
 
8826
      lt_prog_compiler_static='-Bstatic'
 
8827
      ;;
 
8828
 
 
8829
    unicos*)
 
8830
      lt_prog_compiler_wl='-Wl,'
 
8831
      lt_prog_compiler_can_build_shared=no
 
8832
      ;;
 
8833
 
 
8834
    uts4*)
 
8835
      lt_prog_compiler_pic='-pic'
 
8836
      lt_prog_compiler_static='-Bstatic'
 
8837
      ;;
 
8838
 
 
8839
    *)
 
8840
      lt_prog_compiler_can_build_shared=no
 
8841
      ;;
 
8842
    esac
 
8843
  fi
 
8844
 
 
8845
case $host_os in
 
8846
  # For platforms which do not support PIC, -DPIC is meaningless:
 
8847
  *djgpp*)
 
8848
    lt_prog_compiler_pic=
 
8849
    ;;
 
8850
  *)
 
8851
    lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
 
8852
    ;;
 
8853
esac
 
8854
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
 
8855
$as_echo "$lt_prog_compiler_pic" >&6; }
 
8856
 
 
8857
    
 
8858
    
 
8859
    
 
8860
 
 
8861
 
 
8862
#
 
8863
# Check to make sure the PIC flag actually works.
 
8864
#
 
8865
if test -n "$lt_prog_compiler_pic"; then
 
8866
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8867
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
8868
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
8869
  $as_echo_n "(cached) " >&6
 
8870
else
 
8871
  lt_cv_prog_compiler_pic_works=no
 
8872
   ac_outfile=conftest.$ac_objext
 
8873
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8874
   lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
 
8875
   # Insert the option either (1) after the last *FLAGS variable, or
 
8876
   # (2) before a word containing "conftest.", or (3) at the end.
 
8877
   # Note that $ac_compile itself does not contain backslashes and begins
 
8878
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8879
   # The option is referenced via a variable to avoid confusing sed.
 
8880
   lt_compile=`echo "$ac_compile" | $SED \
 
8881
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8882
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8883
   -e 's:$: $lt_compiler_flag:'`
 
8884
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
 
8885
   (eval "$lt_compile" 2>conftest.err)
 
8886
   ac_status=$?
 
8887
   cat conftest.err >&5
 
8888
   echo "$as_me:__oline__: \$? = $ac_status" >&5
 
8889
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
8890
     # The compiler can only warn and ignore the option if not recognized
 
8891
     # So say no if there are warnings other than the usual output.
 
8892
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8893
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8894
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
8895
       lt_cv_prog_compiler_pic_works=yes
 
8896
     fi
 
8897
   fi
 
8898
   $RM conftest*
 
8899
 
 
8900
fi
 
8901
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 
8902
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 
8903
 
 
8904
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
 
8905
    case $lt_prog_compiler_pic in
 
8906
     "" | " "*) ;;
 
8907
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 
8908
     esac
 
8909
else
 
8910
    lt_prog_compiler_pic=
 
8911
     lt_prog_compiler_can_build_shared=no
 
8912
fi
 
8913
 
 
8914
fi
 
8915
 
 
8916
    
 
8917
    
 
8918
    
 
8919
 
 
8920
 
 
8921
#
 
8922
# Check to make sure the static flag actually works.
 
8923
#
 
8924
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
8925
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8926
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
8927
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
8928
  $as_echo_n "(cached) " >&6
 
8929
else
 
8930
  lt_cv_prog_compiler_static_works=no
 
8931
   save_LDFLAGS="$LDFLAGS"
 
8932
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
8933
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
8934
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
8935
     # The linker can only warn and ignore the option if not recognized
 
8936
     # So say no if there are warnings
 
8937
     if test -s conftest.err; then
 
8938
       # Append any errors to the config.log.
 
8939
       cat conftest.err 1>&5
 
8940
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8941
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8942
       if diff conftest.exp conftest.er2 >/dev/null; then
 
8943
         lt_cv_prog_compiler_static_works=yes
 
8944
       fi
 
8945
     else
 
8946
       lt_cv_prog_compiler_static_works=yes
 
8947
     fi
 
8948
   fi
 
8949
   $RM -r conftest*
 
8950
   LDFLAGS="$save_LDFLAGS"
 
8951
 
 
8952
fi
 
8953
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 
8954
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 
8955
 
 
8956
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
 
8957
    :
 
8958
else
 
8959
    lt_prog_compiler_static=
 
8960
fi
 
8961
 
 
8962
 
 
8963
    
 
8964
    
 
8965
    
 
8966
 
 
8967
 
 
8968
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8969
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
8970
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
8971
  $as_echo_n "(cached) " >&6
 
8972
else
 
8973
  lt_cv_prog_compiler_c_o=no
 
8974
   $RM -r conftest 2>/dev/null
 
8975
   mkdir conftest
 
8976
   cd conftest
 
8977
   mkdir out
 
8978
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8979
 
 
8980
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
8981
   # Insert the option either (1) after the last *FLAGS variable, or
 
8982
   # (2) before a word containing "conftest.", or (3) at the end.
 
8983
   # Note that $ac_compile itself does not contain backslashes and begins
 
8984
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8985
   lt_compile=`echo "$ac_compile" | $SED \
 
8986
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8987
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8988
   -e 's:$: $lt_compiler_flag:'`
 
8989
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
 
8990
   (eval "$lt_compile" 2>out/conftest.err)
 
8991
   ac_status=$?
 
8992
   cat out/conftest.err >&5
 
8993
   echo "$as_me:__oline__: \$? = $ac_status" >&5
 
8994
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
8995
   then
 
8996
     # The compiler can only warn and ignore the option if not recognized
 
8997
     # So say no if there are warnings
 
8998
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8999
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
9000
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
9001
       lt_cv_prog_compiler_c_o=yes
 
9002
     fi
 
9003
   fi
 
9004
   chmod u+w . 2>&5
 
9005
   $RM conftest*
 
9006
   # SGI C++ compiler will create directory out/ii_files/ for
 
9007
   # template instantiation
 
9008
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
9009
   $RM out/* && rmdir out
 
9010
   cd ..
 
9011
   $RM -r conftest
 
9012
   $RM conftest*
 
9013
 
 
9014
fi
 
9015
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
9016
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
9017
 
 
9018
    
 
9019
    
 
9020
    
 
9021
 
 
9022
 
 
9023
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9024
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
9025
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
9026
  $as_echo_n "(cached) " >&6
 
9027
else
 
9028
  lt_cv_prog_compiler_c_o=no
 
9029
   $RM -r conftest 2>/dev/null
 
9030
   mkdir conftest
 
9031
   cd conftest
 
9032
   mkdir out
 
9033
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9034
 
 
9035
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
9036
   # Insert the option either (1) after the last *FLAGS variable, or
 
9037
   # (2) before a word containing "conftest.", or (3) at the end.
 
9038
   # Note that $ac_compile itself does not contain backslashes and begins
 
9039
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9040
   lt_compile=`echo "$ac_compile" | $SED \
 
9041
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9042
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9043
   -e 's:$: $lt_compiler_flag:'`
 
9044
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
 
9045
   (eval "$lt_compile" 2>out/conftest.err)
 
9046
   ac_status=$?
 
9047
   cat out/conftest.err >&5
 
9048
   echo "$as_me:__oline__: \$? = $ac_status" >&5
 
9049
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
9050
   then
 
9051
     # The compiler can only warn and ignore the option if not recognized
 
9052
     # So say no if there are warnings
 
9053
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9054
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
9055
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
9056
       lt_cv_prog_compiler_c_o=yes
 
9057
     fi
 
9058
   fi
 
9059
   chmod u+w . 2>&5
 
9060
   $RM conftest*
 
9061
   # SGI C++ compiler will create directory out/ii_files/ for
 
9062
   # template instantiation
 
9063
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
9064
   $RM out/* && rmdir out
 
9065
   cd ..
 
9066
   $RM -r conftest
 
9067
   $RM conftest*
 
9068
 
 
9069
fi
 
9070
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
9071
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
9072
 
 
9073
 
 
9074
 
 
9075
 
 
9076
hard_links="nottested"
 
9077
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 
9078
  # do not overwrite the value of need_locks provided by the user
 
9079
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
9080
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
9081
  hard_links=yes
 
9082
  $RM conftest*
 
9083
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
9084
  touch conftest.a
 
9085
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
9086
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
9087
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
9088
$as_echo "$hard_links" >&6; }
 
9089
  if test "$hard_links" = no; then
 
9090
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
9091
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
9092
    need_locks=warn
 
9093
  fi
 
9094
else
 
9095
  need_locks=no
 
9096
fi
 
9097
 
 
9098
    
 
9099
    
 
9100
    
 
9101
 
 
9102
 
 
9103
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
9104
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
9105
 
 
9106
  runpath_var=
 
9107
  allow_undefined_flag=
 
9108
  always_export_symbols=no
 
9109
  archive_cmds=
 
9110
  archive_expsym_cmds=
 
9111
  compiler_needs_object=no
 
9112
  enable_shared_with_static_runtimes=no
 
9113
  export_dynamic_flag_spec=
 
9114
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
9115
  hardcode_automatic=no
 
9116
  hardcode_direct=no
 
9117
  hardcode_direct_absolute=no
 
9118
  hardcode_libdir_flag_spec=
 
9119
  hardcode_libdir_flag_spec_ld=
 
9120
  hardcode_libdir_separator=
 
9121
  hardcode_minus_L=no
 
9122
  hardcode_shlibpath_var=unsupported
 
9123
  inherit_rpath=no
 
9124
  link_all_deplibs=unknown
 
9125
  module_cmds=
 
9126
  module_expsym_cmds=
 
9127
  old_archive_from_new_cmds=
 
9128
  old_archive_from_expsyms_cmds=
 
9129
  thread_safe_flag_spec=
 
9130
  whole_archive_flag_spec=
 
9131
  # include_expsyms should be a list of space-separated symbols to be *always*
 
9132
  # included in the symbol list
 
9133
  include_expsyms=
 
9134
  # exclude_expsyms can be an extended regexp of symbols to exclude
 
9135
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
9136
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
9137
  # as well as any symbol that contains `d'.
 
9138
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
9139
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
9140
  # platforms (ab)use it in PIC code, but their linkers get confused if
 
9141
  # the symbol is explicitly referenced.  Since portable code cannot
 
9142
  # rely on this symbol name, it's probably fine to never include it in
 
9143
  # preloaded symbol tables.
 
9144
  # Exclude shared library initialization/finalization symbols.
 
9145
  extract_expsyms_cmds=
 
9146
 
 
9147
  case $host_os in
 
9148
  cygwin* | mingw* | pw32* | cegcc*)
 
9149
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
9150
    # When not using gcc, we currently assume that we are using
 
9151
    # Microsoft Visual C++.
 
9152
    if test "$GCC" != yes; then
 
9153
      with_gnu_ld=no
 
9154
    fi
 
9155
    ;;
 
9156
  interix*)
 
9157
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
9158
    with_gnu_ld=yes
 
9159
    ;;
 
9160
  openbsd*)
 
9161
    with_gnu_ld=no
 
9162
    ;;
 
9163
  linux* | k*bsd*-gnu)
 
9164
    link_all_deplibs=no
 
9165
    ;;
 
9166
  esac
 
9167
 
 
9168
  ld_shlibs=yes
 
9169
  if test "$with_gnu_ld" = yes; then
 
9170
    # If archive_cmds runs LD, not CC, wlarc should be empty
 
9171
    wlarc='${wl}'
 
9172
 
 
9173
    # Set some defaults for GNU ld with shared library support. These
 
9174
    # are reset later if shared libraries are not supported. Putting them
 
9175
    # here allows them to be overridden if necessary.
 
9176
    runpath_var=LD_RUN_PATH
 
9177
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9178
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
9179
    # ancient GNU ld didn't support --whole-archive et. al.
 
9180
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
9181
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
9182
    else
 
9183
      whole_archive_flag_spec=
 
9184
    fi
 
9185
    supports_anon_versioning=no
 
9186
    case `$LD -v 2>&1` in
 
9187
      *GNU\ gold*) supports_anon_versioning=yes ;;
 
9188
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
9189
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
9190
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
9191
      *\ 2.11.*) ;; # other 2.11 versions
 
9192
      *) supports_anon_versioning=yes ;;
 
9193
    esac
 
9194
 
 
9195
    # See if GNU ld supports shared libraries.
 
9196
    case $host_os in
 
9197
    aix[3-9]*)
 
9198
      # On AIX/PPC, the GNU linker is very broken
 
9199
      if test "$host_cpu" != ia64; then
 
9200
        ld_shlibs=no
 
9201
        cat <<_LT_EOF 1>&2
 
9202
 
 
9203
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
9204
*** to be unable to reliably create shared libraries on AIX.
 
9205
*** Therefore, libtool is disabling shared libraries support.  If you
 
9206
*** really care for shared libraries, you may want to modify your PATH
 
9207
*** so that a non-GNU linker is found, and then restart.
 
9208
 
 
9209
_LT_EOF
 
9210
      fi
 
9211
      ;;
 
9212
 
 
9213
    amigaos*)
 
9214
      case $host_cpu in
 
9215
      powerpc)
 
9216
            # see comment about AmigaOS4 .so support
 
9217
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9218
            archive_expsym_cmds=''
 
9219
        ;;
 
9220
      m68k)
 
9221
            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)'
 
9222
            hardcode_libdir_flag_spec='-L$libdir'
 
9223
            hardcode_minus_L=yes
 
9224
        ;;
 
9225
      esac
 
9226
      ;;
 
9227
 
 
9228
    beos*)
 
9229
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9230
        allow_undefined_flag=unsupported
 
9231
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
9232
        # support --undefined.  This deserves some investigation.  FIXME
 
9233
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9234
      else
 
9235
        ld_shlibs=no
 
9236
      fi
 
9237
      ;;
 
9238
 
 
9239
    cygwin* | mingw* | pw32* | cegcc*)
 
9240
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
9241
      # as there is no search path for DLLs.
 
9242
      hardcode_libdir_flag_spec='-L$libdir'
 
9243
      allow_undefined_flag=unsupported
 
9244
      always_export_symbols=no
 
9245
      enable_shared_with_static_runtimes=yes
 
9246
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9247
 
 
9248
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
9249
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
9250
        # If the export-symbols file already is a .def file (1st line
 
9251
        # is EXPORTS), use it as is; otherwise, prepend...
 
9252
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
9253
          cp $export_symbols $output_objdir/$soname.def;
 
9254
        else
 
9255
          echo EXPORTS > $output_objdir/$soname.def;
 
9256
          cat $export_symbols >> $output_objdir/$soname.def;
 
9257
        fi~
 
9258
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
9259
      else
 
9260
        ld_shlibs=no
 
9261
      fi
 
9262
      ;;
 
9263
 
 
9264
    interix[3-9]*)
 
9265
      hardcode_direct=no
 
9266
      hardcode_shlibpath_var=no
 
9267
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9268
      export_dynamic_flag_spec='${wl}-E'
 
9269
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
9270
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
9271
      # default) and relocated if they conflict, which is a slow very memory
 
9272
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
9273
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
9274
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
9275
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
9276
      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'
 
9277
      ;;
 
9278
 
 
9279
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
 
9280
      tmp_diet=no
 
9281
      if test "$host_os" = linux-dietlibc; then
 
9282
        case $cc_basename in
 
9283
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
9284
        esac
 
9285
      fi
 
9286
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
9287
         && test "$tmp_diet" = no
 
9288
      then
 
9289
        tmp_addflag=
 
9290
        tmp_sharedflag='-shared'
 
9291
        case $cc_basename,$host_cpu in
 
9292
        pgcc*)                          # Portland Group C compiler
 
9293
          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'
 
9294
          tmp_addflag=' $pic_flag'
 
9295
          ;;
 
9296
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
9297
          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'
 
9298
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
9299
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
 
9300
          tmp_addflag=' -i_dynamic' ;;
 
9301
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
9302
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
9303
        ifc* | ifort*)                  # Intel Fortran compiler
 
9304
          tmp_addflag=' -nofor_main' ;;
 
9305
        lf95*)                          # Lahey Fortran 8.1
 
9306
          whole_archive_flag_spec=
 
9307
          tmp_sharedflag='--shared' ;;
 
9308
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
9309
          tmp_sharedflag='-qmkshrobj'
 
9310
          tmp_addflag= ;;
 
9311
        esac
 
9312
        case `$CC -V 2>&1 | sed 5q` in
 
9313
        *Sun\ C*)                       # Sun C 5.9
 
9314
          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'
 
9315
          compiler_needs_object=yes
 
9316
          tmp_sharedflag='-G' ;;
 
9317
        *Sun\ F*)                       # Sun Fortran 8.3
 
9318
          tmp_sharedflag='-G' ;;
 
9319
        esac
 
9320
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9321
 
 
9322
        if test "x$supports_anon_versioning" = xyes; then
 
9323
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
9324
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9325
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
9326
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
9327
        fi
 
9328
 
 
9329
        case $cc_basename in
 
9330
        xlf*)
 
9331
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
9332
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
9333
          hardcode_libdir_flag_spec=
 
9334
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
9335
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
9336
          if test "x$supports_anon_versioning" = xyes; then
 
9337
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
9338
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9339
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
9340
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
9341
          fi
 
9342
          ;;
 
9343
        esac
 
9344
      else
 
9345
        ld_shlibs=no
 
9346
      fi
 
9347
      ;;
 
9348
 
 
9349
    netbsd* | netbsdelf*-gnu)
 
9350
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
9351
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
9352
        wlarc=
 
9353
      else
 
9354
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9355
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9356
      fi
 
9357
      ;;
 
9358
 
 
9359
    solaris*)
 
9360
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 
9361
        ld_shlibs=no
 
9362
        cat <<_LT_EOF 1>&2
 
9363
 
 
9364
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
9365
*** create shared libraries on Solaris systems.  Therefore, libtool
 
9366
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
9367
*** binutils to release 2.9.1 or newer.  Another option is to modify
 
9368
*** your PATH or compiler configuration so that the native linker is
 
9369
*** used, and then restart.
 
9370
 
 
9371
_LT_EOF
 
9372
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9373
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9374
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9375
      else
 
9376
        ld_shlibs=no
 
9377
      fi
 
9378
      ;;
 
9379
 
 
9380
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
9381
      case `$LD -v 2>&1` in
 
9382
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
9383
        ld_shlibs=no
 
9384
        cat <<_LT_EOF 1>&2
 
9385
 
 
9386
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
9387
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
9388
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
9389
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
9390
*** your PATH or compiler configuration so that the native linker is
 
9391
*** used, and then restart.
 
9392
 
 
9393
_LT_EOF
 
9394
        ;;
 
9395
        *)
 
9396
          # For security reasons, it is highly recommended that you always
 
9397
          # use absolute paths for naming shared libraries, and exclude the
 
9398
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
9399
          # requires that you compile everything twice, which is a pain.
 
9400
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9401
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9402
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9403
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9404
          else
 
9405
            ld_shlibs=no
 
9406
          fi
 
9407
        ;;
 
9408
      esac
 
9409
      ;;
 
9410
 
 
9411
    sunos4*)
 
9412
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
9413
      wlarc=
 
9414
      hardcode_direct=yes
 
9415
      hardcode_shlibpath_var=no
 
9416
      ;;
 
9417
 
 
9418
    *)
 
9419
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9420
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9421
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9422
      else
 
9423
        ld_shlibs=no
 
9424
      fi
 
9425
      ;;
 
9426
    esac
 
9427
 
 
9428
    if test "$ld_shlibs" = no; then
 
9429
      runpath_var=
 
9430
      hardcode_libdir_flag_spec=
 
9431
      export_dynamic_flag_spec=
 
9432
      whole_archive_flag_spec=
 
9433
    fi
 
9434
  else
 
9435
    # PORTME fill in a description of your system's linker (not GNU ld)
 
9436
    case $host_os in
 
9437
    aix3*)
 
9438
      allow_undefined_flag=unsupported
 
9439
      always_export_symbols=yes
 
9440
      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'
 
9441
      # Note: this linker hardcodes the directories in LIBPATH if there
 
9442
      # are no directories specified by -L.
 
9443
      hardcode_minus_L=yes
 
9444
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
9445
        # Neither direct hardcoding nor static linking is supported with a
 
9446
        # broken collect2.
 
9447
        hardcode_direct=unsupported
 
9448
      fi
 
9449
      ;;
 
9450
 
 
9451
    aix[4-9]*)
 
9452
      if test "$host_cpu" = ia64; then
 
9453
        # On IA64, the linker does run time linking by default, so we don't
 
9454
        # have to do anything special.
 
9455
        aix_use_runtimelinking=no
 
9456
        exp_sym_flag='-Bexport'
 
9457
        no_entry_flag=""
 
9458
      else
 
9459
        # If we're using GNU nm, then we don't want the "-C" option.
 
9460
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
9461
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
9462
          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'
 
9463
        else
 
9464
          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'
 
9465
        fi
 
9466
        aix_use_runtimelinking=no
 
9467
 
 
9468
        # Test if we are trying to use run time linking or normal
 
9469
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
9470
        # need to do runtime linking.
 
9471
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
9472
          for ld_flag in $LDFLAGS; do
 
9473
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
9474
            aix_use_runtimelinking=yes
 
9475
            break
 
9476
          fi
 
9477
          done
 
9478
          ;;
 
9479
        esac
 
9480
 
 
9481
        exp_sym_flag='-bexport'
 
9482
        no_entry_flag='-bnoentry'
 
9483
      fi
 
9484
 
 
9485
      # When large executables or shared objects are built, AIX ld can
 
9486
      # have problems creating the table of contents.  If linking a library
 
9487
      # or program results in "error TOC overflow" add -mminimal-toc to
 
9488
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
9489
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
9490
 
 
9491
      archive_cmds=''
 
9492
      hardcode_direct=yes
 
9493
      hardcode_direct_absolute=yes
 
9494
      hardcode_libdir_separator=':'
 
9495
      link_all_deplibs=yes
 
9496
      file_list_spec='${wl}-f,'
 
9497
 
 
9498
      if test "$GCC" = yes; then
 
9499
        case $host_os in aix4.[012]|aix4.[012].*)
 
9500
        # We only want to do this on AIX 4.2 and lower, the check
 
9501
        # below for broken collect2 doesn't work under 4.3+
 
9502
          collect2name=`${CC} -print-prog-name=collect2`
 
9503
          if test -f "$collect2name" &&
 
9504
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
9505
          then
 
9506
          # We have reworked collect2
 
9507
          :
 
9508
          else
 
9509
          # We have old collect2
 
9510
          hardcode_direct=unsupported
 
9511
          # It fails to find uninstalled libraries when the uninstalled
 
9512
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
9513
          # to unsupported forces relinking
 
9514
          hardcode_minus_L=yes
 
9515
          hardcode_libdir_flag_spec='-L$libdir'
 
9516
          hardcode_libdir_separator=
 
9517
          fi
 
9518
          ;;
 
9519
        esac
 
9520
        shared_flag='-shared'
 
9521
        if test "$aix_use_runtimelinking" = yes; then
 
9522
          shared_flag="$shared_flag "'${wl}-G'
 
9523
        fi
 
9524
        link_all_deplibs=no
 
9525
      else
 
9526
        # not using gcc
 
9527
        if test "$host_cpu" = ia64; then
 
9528
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
9529
        # chokes on -Wl,-G. The following line is correct:
 
9530
          shared_flag='-G'
 
9531
        else
 
9532
          if test "$aix_use_runtimelinking" = yes; then
 
9533
            shared_flag='${wl}-G'
 
9534
          else
 
9535
            shared_flag='${wl}-bM:SRE'
 
9536
          fi
 
9537
        fi
 
9538
      fi
 
9539
 
 
9540
      export_dynamic_flag_spec='${wl}-bexpall'
 
9541
      # It seems that -bexpall does not export symbols beginning with
 
9542
      # underscore (_), so it is better to generate a list of symbols to export.
 
9543
      always_export_symbols=yes
 
9544
      if test "$aix_use_runtimelinking" = yes; then
 
9545
        # Warning - without using the other runtime loading flags (-brtl),
 
9546
        # -berok will link without error, but may produce a broken library.
 
9547
        allow_undefined_flag='-berok'
 
9548
        # Determine the default libpath from the value encoded in an
 
9549
        # empty executable.
 
9550
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9551
/* end confdefs.h.  */
 
9552
 
 
9553
int
 
9554
main ()
 
9555
{
 
9556
 
 
9557
  ;
 
9558
  return 0;
 
9559
}
 
9560
_ACEOF
 
9561
if ac_fn_c_try_link "$LINENO"; then :
 
9562
  
 
9563
lt_aix_libpath_sed='
 
9564
    /Import File Strings/,/^$/ {
 
9565
        /^0/ {
 
9566
            s/^0  *\(.*\)$/\1/
 
9567
            p
 
9568
        }
 
9569
    }'
 
9570
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9571
# Check for a 64-bit object if we didn't find anything.
 
9572
if test -z "$aix_libpath"; then
 
9573
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9574
fi
 
9575
fi
 
9576
rm -f core conftest.err conftest.$ac_objext \
 
9577
    conftest$ac_exeext conftest.$ac_ext
 
9578
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9579
 
 
9580
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
9581
        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"
 
9582
      else
 
9583
        if test "$host_cpu" = ia64; then
 
9584
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 
9585
          allow_undefined_flag="-z nodefs"
 
9586
          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"
 
9587
        else
 
9588
         # Determine the default libpath from the value encoded in an
 
9589
         # empty executable.
 
9590
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9591
/* end confdefs.h.  */
 
9592
 
 
9593
int
 
9594
main ()
 
9595
{
 
9596
 
 
9597
  ;
 
9598
  return 0;
 
9599
}
 
9600
_ACEOF
 
9601
if ac_fn_c_try_link "$LINENO"; then :
 
9602
  
 
9603
lt_aix_libpath_sed='
 
9604
    /Import File Strings/,/^$/ {
 
9605
        /^0/ {
 
9606
            s/^0  *\(.*\)$/\1/
 
9607
            p
 
9608
        }
 
9609
    }'
 
9610
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9611
# Check for a 64-bit object if we didn't find anything.
 
9612
if test -z "$aix_libpath"; then
 
9613
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9614
fi
 
9615
fi
 
9616
rm -f core conftest.err conftest.$ac_objext \
 
9617
    conftest$ac_exeext conftest.$ac_ext
 
9618
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9619
 
 
9620
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
9621
          # Warning - without using the other run time loading flags,
 
9622
          # -berok will link without error, but may produce a broken library.
 
9623
          no_undefined_flag=' ${wl}-bernotok'
 
9624
          allow_undefined_flag=' ${wl}-berok'
 
9625
          # Exported symbols can be pulled into shared objects from archives
 
9626
          whole_archive_flag_spec='$convenience'
 
9627
          archive_cmds_need_lc=yes
 
9628
          # This is similar to how AIX traditionally builds its shared libraries.
 
9629
          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'
 
9630
        fi
 
9631
      fi
 
9632
      ;;
 
9633
 
 
9634
    amigaos*)
 
9635
      case $host_cpu in
 
9636
      powerpc)
 
9637
            # see comment about AmigaOS4 .so support
 
9638
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9639
            archive_expsym_cmds=''
 
9640
        ;;
 
9641
      m68k)
 
9642
            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)'
 
9643
            hardcode_libdir_flag_spec='-L$libdir'
 
9644
            hardcode_minus_L=yes
 
9645
        ;;
 
9646
      esac
 
9647
      ;;
 
9648
 
 
9649
    bsdi[45]*)
 
9650
      export_dynamic_flag_spec=-rdynamic
 
9651
      ;;
 
9652
 
 
9653
    cygwin* | mingw* | pw32* | cegcc*)
 
9654
      # When not using gcc, we currently assume that we are using
 
9655
      # Microsoft Visual C++.
 
9656
      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
9657
      # no search path for DLLs.
 
9658
      hardcode_libdir_flag_spec=' '
 
9659
      allow_undefined_flag=unsupported
 
9660
      # Tell ltmain to make .lib files, not .a files.
 
9661
      libext=lib
 
9662
      # Tell ltmain to make .dll files, not .so files.
 
9663
      shrext_cmds=".dll"
 
9664
      # FIXME: Setting linknames here is a bad hack.
 
9665
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
9666
      # The linker will automatically build a .lib file if we build a DLL.
 
9667
      old_archive_from_new_cmds='true'
 
9668
      # FIXME: Should let the user specify the lib program.
 
9669
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
9670
      fix_srcfile_path='`cygpath -w "$srcfile"`'
 
9671
      enable_shared_with_static_runtimes=yes
 
9672
      ;;
 
9673
 
 
9674
    darwin* | rhapsody*)
 
9675
      
 
9676
  
 
9677
  archive_cmds_need_lc=no
 
9678
  hardcode_direct=no
 
9679
  hardcode_automatic=yes
 
9680
  hardcode_shlibpath_var=unsupported
 
9681
  whole_archive_flag_spec=''
 
9682
  link_all_deplibs=yes
 
9683
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
9684
  case $cc_basename in
 
9685
     ifort*) _lt_dar_can_shared=yes ;;
 
9686
     *) _lt_dar_can_shared=$GCC ;;
 
9687
  esac
 
9688
  if test "$_lt_dar_can_shared" = "yes"; then
 
9689
    output_verbose_link_cmd=echo
 
9690
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
9691
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
9692
    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}"
 
9693
    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}"
 
9694
    
 
9695
  else
 
9696
  ld_shlibs=no
 
9697
  fi
 
9698
 
 
9699
      ;;
 
9700
 
 
9701
    dgux*)
 
9702
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9703
      hardcode_libdir_flag_spec='-L$libdir'
 
9704
      hardcode_shlibpath_var=no
 
9705
      ;;
 
9706
 
 
9707
    freebsd1*)
 
9708
      ld_shlibs=no
 
9709
      ;;
 
9710
 
 
9711
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
9712
    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
9713
    # does not break anything, and helps significantly (at the cost of a little
 
9714
    # extra space).
 
9715
    freebsd2.2*)
 
9716
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
9717
      hardcode_libdir_flag_spec='-R$libdir'
 
9718
      hardcode_direct=yes
 
9719
      hardcode_shlibpath_var=no
 
9720
      ;;
 
9721
 
 
9722
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
9723
    freebsd2*)
 
9724
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
9725
      hardcode_direct=yes
 
9726
      hardcode_minus_L=yes
 
9727
      hardcode_shlibpath_var=no
 
9728
      ;;
 
9729
 
 
9730
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
9731
    freebsd* | dragonfly*)
 
9732
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
9733
      hardcode_libdir_flag_spec='-R$libdir'
 
9734
      hardcode_direct=yes
 
9735
      hardcode_shlibpath_var=no
 
9736
      ;;
 
9737
 
 
9738
    hpux9*)
 
9739
      if test "$GCC" = yes; then
 
9740
        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'
 
9741
      else
 
9742
        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'
 
9743
      fi
 
9744
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9745
      hardcode_libdir_separator=:
 
9746
      hardcode_direct=yes
 
9747
 
 
9748
      # hardcode_minus_L: Not really in the search PATH,
 
9749
      # but as the default location of the library.
 
9750
      hardcode_minus_L=yes
 
9751
      export_dynamic_flag_spec='${wl}-E'
 
9752
      ;;
 
9753
 
 
9754
    hpux10*)
 
9755
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9756
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9757
      else
 
9758
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9759
      fi
 
9760
      if test "$with_gnu_ld" = no; then
 
9761
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9762
        hardcode_libdir_flag_spec_ld='+b $libdir'
 
9763
        hardcode_libdir_separator=:
 
9764
        hardcode_direct=yes
 
9765
        hardcode_direct_absolute=yes
 
9766
        export_dynamic_flag_spec='${wl}-E'
 
9767
        # hardcode_minus_L: Not really in the search PATH,
 
9768
        # but as the default location of the library.
 
9769
        hardcode_minus_L=yes
 
9770
      fi
 
9771
      ;;
 
9772
 
 
9773
    hpux11*)
 
9774
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9775
        case $host_cpu in
 
9776
        hppa*64*)
 
9777
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9778
          ;;
 
9779
        ia64*)
 
9780
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9781
          ;;
 
9782
        *)
 
9783
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9784
          ;;
 
9785
        esac
 
9786
      else
 
9787
        case $host_cpu in
 
9788
        hppa*64*)
 
9789
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9790
          ;;
 
9791
        ia64*)
 
9792
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9793
          ;;
 
9794
        *)
 
9795
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9796
          ;;
 
9797
        esac
 
9798
      fi
 
9799
      if test "$with_gnu_ld" = no; then
 
9800
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9801
        hardcode_libdir_separator=:
 
9802
 
 
9803
        case $host_cpu in
 
9804
        hppa*64*|ia64*)
 
9805
          hardcode_direct=no
 
9806
          hardcode_shlibpath_var=no
 
9807
          ;;
 
9808
        *)
 
9809
          hardcode_direct=yes
 
9810
          hardcode_direct_absolute=yes
 
9811
          export_dynamic_flag_spec='${wl}-E'
 
9812
 
 
9813
          # hardcode_minus_L: Not really in the search PATH,
 
9814
          # but as the default location of the library.
 
9815
          hardcode_minus_L=yes
 
9816
          ;;
 
9817
        esac
 
9818
      fi
 
9819
      ;;
 
9820
 
 
9821
    irix5* | irix6* | nonstopux*)
 
9822
      if test "$GCC" = yes; then
 
9823
        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'
 
9824
        # Try to use the -exported_symbol ld option, if it does not
 
9825
        # work, assume that -exports_file does not work either and
 
9826
        # implicitly export all symbols.
 
9827
        save_LDFLAGS="$LDFLAGS"
 
9828
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
9829
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9830
/* end confdefs.h.  */
 
9831
int foo(void) {}
 
9832
_ACEOF
 
9833
if ac_fn_c_try_link "$LINENO"; then :
 
9834
  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'
 
9835
        
 
9836
fi
 
9837
rm -f core conftest.err conftest.$ac_objext \
 
9838
    conftest$ac_exeext conftest.$ac_ext
 
9839
        LDFLAGS="$save_LDFLAGS"
 
9840
      else
 
9841
        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'
 
9842
        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'
 
9843
      fi
 
9844
      archive_cmds_need_lc='no'
 
9845
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9846
      hardcode_libdir_separator=:
 
9847
      inherit_rpath=yes
 
9848
      link_all_deplibs=yes
 
9849
      ;;
 
9850
 
 
9851
    netbsd* | netbsdelf*-gnu)
 
9852
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
9853
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
9854
      else
 
9855
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
9856
      fi
 
9857
      hardcode_libdir_flag_spec='-R$libdir'
 
9858
      hardcode_direct=yes
 
9859
      hardcode_shlibpath_var=no
 
9860
      ;;
 
9861
 
 
9862
    newsos6)
 
9863
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9864
      hardcode_direct=yes
 
9865
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9866
      hardcode_libdir_separator=:
 
9867
      hardcode_shlibpath_var=no
 
9868
      ;;
 
9869
 
 
9870
    *nto* | *qnx*)
 
9871
      ;;
 
9872
 
 
9873
    openbsd*)
 
9874
      if test -f /usr/libexec/ld.so; then
 
9875
        hardcode_direct=yes
 
9876
        hardcode_shlibpath_var=no
 
9877
        hardcode_direct_absolute=yes
 
9878
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
9879
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9880
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
9881
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9882
          export_dynamic_flag_spec='${wl}-E'
 
9883
        else
 
9884
          case $host_os in
 
9885
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
9886
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
9887
             hardcode_libdir_flag_spec='-R$libdir'
 
9888
             ;;
 
9889
           *)
 
9890
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9891
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9892
             ;;
 
9893
          esac
 
9894
        fi
 
9895
      else
 
9896
        ld_shlibs=no
 
9897
      fi
 
9898
      ;;
 
9899
 
 
9900
    os2*)
 
9901
      hardcode_libdir_flag_spec='-L$libdir'
 
9902
      hardcode_minus_L=yes
 
9903
      allow_undefined_flag=unsupported
 
9904
      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'
 
9905
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
9906
      ;;
 
9907
 
 
9908
    osf3*)
 
9909
      if test "$GCC" = yes; then
 
9910
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
9911
        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'
 
9912
      else
 
9913
        allow_undefined_flag=' -expect_unresolved \*'
 
9914
        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'
 
9915
      fi
 
9916
      archive_cmds_need_lc='no'
 
9917
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9918
      hardcode_libdir_separator=:
 
9919
      ;;
 
9920
 
 
9921
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
 
9922
      if test "$GCC" = yes; then
 
9923
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
9924
        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'
 
9925
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9926
      else
 
9927
        allow_undefined_flag=' -expect_unresolved \*'
 
9928
        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'
 
9929
        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~
 
9930
        $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'
 
9931
 
 
9932
        # Both c and cxx compiler support -rpath directly
 
9933
        hardcode_libdir_flag_spec='-rpath $libdir'
 
9934
      fi
 
9935
      archive_cmds_need_lc='no'
 
9936
      hardcode_libdir_separator=:
 
9937
      ;;
 
9938
 
 
9939
    solaris*)
 
9940
      no_undefined_flag=' -z defs'
 
9941
      if test "$GCC" = yes; then
 
9942
        wlarc='${wl}'
 
9943
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9944
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9945
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9946
      else
 
9947
        case `$CC -V 2>&1` in
 
9948
        *"Compilers 5.0"*)
 
9949
          wlarc=''
 
9950
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9951
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9952
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
9953
          ;;
 
9954
        *)
 
9955
          wlarc='${wl}'
 
9956
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
9957
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9958
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9959
          ;;
 
9960
        esac
 
9961
      fi
 
9962
      hardcode_libdir_flag_spec='-R$libdir'
 
9963
      hardcode_shlibpath_var=no
 
9964
      case $host_os in
 
9965
      solaris2.[0-5] | solaris2.[0-5].*) ;;
 
9966
      *)
 
9967
        # The compiler driver will combine and reorder linker options,
 
9968
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
9969
        # but is careful enough not to reorder.
 
9970
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
9971
        if test "$GCC" = yes; then
 
9972
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
9973
        else
 
9974
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
9975
        fi
 
9976
        ;;
 
9977
      esac
 
9978
      link_all_deplibs=yes
 
9979
      ;;
 
9980
 
 
9981
    sunos4*)
 
9982
      if test "x$host_vendor" = xsequent; then
 
9983
        # Use $CC to link under sequent, because it throws in some extra .o
 
9984
        # files that make .init and .fini sections work.
 
9985
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
9986
      else
 
9987
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
9988
      fi
 
9989
      hardcode_libdir_flag_spec='-L$libdir'
 
9990
      hardcode_direct=yes
 
9991
      hardcode_minus_L=yes
 
9992
      hardcode_shlibpath_var=no
 
9993
      ;;
 
9994
 
 
9995
    sysv4)
 
9996
      case $host_vendor in
 
9997
        sni)
 
9998
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9999
          hardcode_direct=yes # is this really true???
 
10000
        ;;
 
10001
        siemens)
 
10002
          ## LD is ld it makes a PLAMLIB
 
10003
          ## CC just makes a GrossModule.
 
10004
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
10005
          reload_cmds='$CC -r -o $output$reload_objs'
 
10006
          hardcode_direct=no
 
10007
        ;;
 
10008
        motorola)
 
10009
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10010
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 
10011
        ;;
 
10012
      esac
 
10013
      runpath_var='LD_RUN_PATH'
 
10014
      hardcode_shlibpath_var=no
 
10015
      ;;
 
10016
 
 
10017
    sysv4.3*)
 
10018
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10019
      hardcode_shlibpath_var=no
 
10020
      export_dynamic_flag_spec='-Bexport'
 
10021
      ;;
 
10022
 
 
10023
    sysv4*MP*)
 
10024
      if test -d /usr/nec; then
 
10025
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10026
        hardcode_shlibpath_var=no
 
10027
        runpath_var=LD_RUN_PATH
 
10028
        hardcode_runpath_var=yes
 
10029
        ld_shlibs=yes
 
10030
      fi
 
10031
      ;;
 
10032
 
 
10033
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
10034
      no_undefined_flag='${wl}-z,text'
 
10035
      archive_cmds_need_lc=no
 
10036
      hardcode_shlibpath_var=no
 
10037
      runpath_var='LD_RUN_PATH'
 
10038
 
 
10039
      if test "$GCC" = yes; then
 
10040
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10041
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10042
      else
 
10043
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10044
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10045
      fi
 
10046
      ;;
 
10047
 
 
10048
    sysv5* | sco3.2v5* | sco5v6*)
 
10049
      # Note: We can NOT use -z defs as we might desire, because we do not
 
10050
      # link with -lc, and that would cause any symbols used from libc to
 
10051
      # always be unresolved, which means just about no library would
 
10052
      # ever link correctly.  If we're not using GNU ld we use -z text
 
10053
      # though, which does catch some bad symbols but isn't as heavy-handed
 
10054
      # as -z defs.
 
10055
      no_undefined_flag='${wl}-z,text'
 
10056
      allow_undefined_flag='${wl}-z,nodefs'
 
10057
      archive_cmds_need_lc=no
 
10058
      hardcode_shlibpath_var=no
 
10059
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
 
10060
      hardcode_libdir_separator=':'
 
10061
      link_all_deplibs=yes
 
10062
      export_dynamic_flag_spec='${wl}-Bexport'
 
10063
      runpath_var='LD_RUN_PATH'
 
10064
 
 
10065
      if test "$GCC" = yes; then
 
10066
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10067
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10068
      else
 
10069
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10070
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10071
      fi
 
10072
      ;;
 
10073
 
 
10074
    uts4*)
 
10075
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10076
      hardcode_libdir_flag_spec='-L$libdir'
 
10077
      hardcode_shlibpath_var=no
 
10078
      ;;
 
10079
 
 
10080
    *)
 
10081
      ld_shlibs=no
 
10082
      ;;
 
10083
    esac
 
10084
 
 
10085
    if test x$host_vendor = xsni; then
 
10086
      case $host in
 
10087
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
10088
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
10089
        ;;
 
10090
      esac
 
10091
    fi
 
10092
  fi
 
10093
 
 
10094
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 
10095
$as_echo "$ld_shlibs" >&6; }
 
10096
test "$ld_shlibs" = no && can_build_shared=no
 
10097
 
 
10098
with_gnu_ld=$with_gnu_ld
 
10099
 
 
10100
 
 
10101
    
 
10102
    
 
10103
    
 
10104
 
 
10105
    
 
10106
    
 
10107
    
 
10108
 
 
10109
    
 
10110
    
 
10111
    
 
10112
 
 
10113
 
 
10114
#
 
10115
# Do we need to explicitly link libc?
 
10116
#
 
10117
case "x$archive_cmds_need_lc" in
 
10118
x|xyes)
 
10119
  # Assume -lc should be added
 
10120
  archive_cmds_need_lc=yes
 
10121
 
 
10122
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
10123
    case $archive_cmds in
 
10124
    *'~'*)
 
10125
      # FIXME: we may have to deal with multi-command sequences.
 
10126
      ;;
 
10127
    '$CC '*)
 
10128
      # Test whether the compiler implicitly links with -lc since on some
 
10129
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
10130
      # to ld, don't add -lc before -lgcc.
 
10131
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
10132
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
10133
      $RM conftest*
 
10134
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10135
 
 
10136
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
10137
  (eval $ac_compile) 2>&5
 
10138
  ac_status=$?
 
10139
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10140
  test $ac_status = 0; } 2>conftest.err; then
 
10141
        soname=conftest
 
10142
        lib=conftest
 
10143
        libobjs=conftest.$ac_objext
 
10144
        deplibs=
 
10145
        wl=$lt_prog_compiler_wl
 
10146
        pic_flag=$lt_prog_compiler_pic
 
10147
        compiler_flags=-v
 
10148
        linker_flags=-v
 
10149
        verstring=
 
10150
        output_objdir=.
 
10151
        libname=conftest
 
10152
        lt_save_allow_undefined_flag=$allow_undefined_flag
 
10153
        allow_undefined_flag=
 
10154
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
10155
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
10156
  ac_status=$?
 
10157
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10158
  test $ac_status = 0; }
 
10159
        then
 
10160
          archive_cmds_need_lc=no
 
10161
        else
 
10162
          archive_cmds_need_lc=yes
 
10163
        fi
 
10164
        allow_undefined_flag=$lt_save_allow_undefined_flag
 
10165
      else
 
10166
        cat conftest.err 1>&5
 
10167
      fi
 
10168
      $RM conftest*
 
10169
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
 
10170
$as_echo "$archive_cmds_need_lc" >&6; }
 
10171
      ;;
 
10172
    esac
 
10173
  fi
 
10174
  ;;
 
10175
esac
 
10176
 
 
10177
 
 
10178
    
 
10179
    
 
10180
    
 
10181
 
 
10182
 
 
10183
    
 
10184
    
 
10185
    
 
10186
 
 
10187
 
 
10188
    
 
10189
    
 
10190
    
 
10191
 
 
10192
 
 
10193
    
 
10194
    
 
10195
    
 
10196
 
 
10197
 
 
10198
    
 
10199
    
 
10200
    
 
10201
 
 
10202
 
 
10203
    
 
10204
    
 
10205
    
 
10206
 
 
10207
 
 
10208
    
 
10209
    
 
10210
    
 
10211
 
 
10212
 
 
10213
    
 
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
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
10334
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
10335
 
 
10336
if test "$GCC" = yes; then
 
10337
  case $host_os in
 
10338
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
10339
    *) lt_awk_arg="/^libraries:/" ;;
 
10340
  esac
 
10341
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
10342
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
10343
    # if the path contains ";" then we assume it to be the separator
 
10344
    # otherwise default to the standard path separator (i.e. ":") - it is
 
10345
    # assumed that no part of a normal pathname contains ";" but that should
 
10346
    # okay in the real world where ";" in dirpaths is itself problematic.
 
10347
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
10348
  else
 
10349
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
10350
  fi
 
10351
  # Ok, now we have the path, separated by spaces, we can step through it
 
10352
  # and add multilib dir if necessary.
 
10353
  lt_tmp_lt_search_path_spec=
 
10354
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
10355
  for lt_sys_path in $lt_search_path_spec; do
 
10356
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
10357
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
10358
    else
 
10359
      test -d "$lt_sys_path" && \
 
10360
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
10361
    fi
 
10362
  done
 
10363
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
10364
BEGIN {RS=" "; FS="/|\n";} {
 
10365
  lt_foo="";
 
10366
  lt_count=0;
 
10367
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
10368
    if ($lt_i != "" && $lt_i != ".") {
 
10369
      if ($lt_i == "..") {
 
10370
        lt_count++;
 
10371
      } else {
 
10372
        if (lt_count == 0) {
 
10373
          lt_foo="/" $lt_i lt_foo;
 
10374
        } else {
 
10375
          lt_count--;
 
10376
        }
 
10377
      }
 
10378
    }
 
10379
  }
 
10380
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
10381
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
10382
}'`
 
10383
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
10384
else
 
10385
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
10386
fi
 
10387
library_names_spec=
 
10388
libname_spec='lib$name'
 
10389
soname_spec=
 
10390
shrext_cmds=".so"
 
10391
postinstall_cmds=
 
10392
postuninstall_cmds=
 
10393
finish_cmds=
 
10394
finish_eval=
 
10395
shlibpath_var=
 
10396
shlibpath_overrides_runpath=unknown
 
10397
version_type=none
 
10398
dynamic_linker="$host_os ld.so"
 
10399
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
10400
need_lib_prefix=unknown
 
10401
hardcode_into_libs=no
 
10402
 
 
10403
# when you set need_version to no, make sure it does not cause -set_version
 
10404
# flags to be left without arguments
 
10405
need_version=unknown
 
10406
 
 
10407
case $host_os in
 
10408
aix3*)
 
10409
  version_type=linux
 
10410
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
10411
  shlibpath_var=LIBPATH
 
10412
 
 
10413
  # AIX 3 has no versioning support, so we append a major version to the name.
 
10414
  soname_spec='${libname}${release}${shared_ext}$major'
 
10415
  ;;
 
10416
 
 
10417
aix[4-9]*)
 
10418
  version_type=linux
 
10419
  need_lib_prefix=no
 
10420
  need_version=no
 
10421
  hardcode_into_libs=yes
 
10422
  if test "$host_cpu" = ia64; then
 
10423
    # AIX 5 supports IA64
 
10424
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
10425
    shlibpath_var=LD_LIBRARY_PATH
 
10426
  else
 
10427
    # With GCC up to 2.95.x, collect2 would create an import file
 
10428
    # for dependence libraries.  The import file would start with
 
10429
    # the line `#! .'.  This would cause the generated library to
 
10430
    # depend on `.', always an invalid library.  This was fixed in
 
10431
    # development snapshots of GCC prior to 3.0.
 
10432
    case $host_os in
 
10433
      aix4 | aix4.[01] | aix4.[01].*)
 
10434
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
10435
           echo ' yes '
 
10436
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
10437
        :
 
10438
      else
 
10439
        can_build_shared=no
 
10440
      fi
 
10441
      ;;
 
10442
    esac
 
10443
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
10444
    # soname into executable. Probably we can add versioning support to
 
10445
    # collect2, so additional links can be useful in future.
 
10446
    if test "$aix_use_runtimelinking" = yes; then
 
10447
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
10448
      # instead of lib<name>.a to let people know that these are not
 
10449
      # typical AIX shared libraries.
 
10450
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10451
    else
 
10452
      # We preserve .a as extension for shared libraries through AIX4.2
 
10453
      # and later when we are not doing run time linking.
 
10454
      library_names_spec='${libname}${release}.a $libname.a'
 
10455
      soname_spec='${libname}${release}${shared_ext}$major'
 
10456
    fi
 
10457
    shlibpath_var=LIBPATH
 
10458
  fi
 
10459
  ;;
 
10460
 
 
10461
amigaos*)
 
10462
  case $host_cpu in
 
10463
  powerpc)
 
10464
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
10465
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
10466
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10467
    ;;
 
10468
  m68k)
 
10469
    library_names_spec='$libname.ixlibrary $libname.a'
 
10470
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
10471
    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'
 
10472
    ;;
 
10473
  esac
 
10474
  ;;
 
10475
 
 
10476
beos*)
 
10477
  library_names_spec='${libname}${shared_ext}'
 
10478
  dynamic_linker="$host_os ld.so"
 
10479
  shlibpath_var=LIBRARY_PATH
 
10480
  ;;
 
10481
 
 
10482
bsdi[45]*)
 
10483
  version_type=linux
 
10484
  need_version=no
 
10485
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10486
  soname_spec='${libname}${release}${shared_ext}$major'
 
10487
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
10488
  shlibpath_var=LD_LIBRARY_PATH
 
10489
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
10490
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
10491
  # the default ld.so.conf also contains /usr/contrib/lib and
 
10492
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
10493
  # libtool to hard-code these into programs
 
10494
  ;;
 
10495
 
 
10496
cygwin* | mingw* | pw32* | cegcc*)
 
10497
  version_type=windows
 
10498
  shrext_cmds=".dll"
 
10499
  need_version=no
 
10500
  need_lib_prefix=no
 
10501
 
 
10502
  case $GCC,$host_os in
 
10503
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
10504
    library_names_spec='$libname.dll.a'
 
10505
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
10506
    postinstall_cmds='base_file=`basename \${file}`~
 
10507
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
10508
      dldir=$destdir/`dirname \$dlpath`~
 
10509
      test -d \$dldir || mkdir -p \$dldir~
 
10510
      $install_prog $dir/$dlname \$dldir/$dlname~
 
10511
      chmod a+x \$dldir/$dlname~
 
10512
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
10513
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
10514
      fi'
 
10515
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
10516
      dlpath=$dir/\$dldll~
 
10517
       $RM \$dlpath'
 
10518
    shlibpath_overrides_runpath=yes
 
10519
 
 
10520
    case $host_os in
 
10521
    cygwin*)
 
10522
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
10523
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10524
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
10525
      ;;
 
10526
    mingw* | cegcc*)
 
10527
      # MinGW DLLs use traditional 'lib' prefix
 
10528
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10529
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
10530
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
10531
        # It is most probably a Windows format PATH printed by
 
10532
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 
10533
        # path with ; separators, and with drive letters. We can handle the
 
10534
        # drive letters (cygwin fileutils understands them), so leave them,
 
10535
        # especially as we might pass files found there to a mingw objdump,
 
10536
        # which wouldn't understand a cygwinified path. Ahh.
 
10537
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10538
      else
 
10539
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
10540
      fi
 
10541
      ;;
 
10542
    pw32*)
 
10543
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
10544
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10545
      ;;
 
10546
    esac
 
10547
    ;;
 
10548
 
 
10549
  *)
 
10550
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
10551
    ;;
 
10552
  esac
 
10553
  dynamic_linker='Win32 ld.exe'
 
10554
  # FIXME: first we should search . and the directory the executable is in
 
10555
  shlibpath_var=PATH
 
10556
  ;;
 
10557
 
 
10558
darwin* | rhapsody*)
 
10559
  dynamic_linker="$host_os dyld"
 
10560
  version_type=darwin
 
10561
  need_lib_prefix=no
 
10562
  need_version=no
 
10563
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
10564
  soname_spec='${libname}${release}${major}$shared_ext'
 
10565
  shlibpath_overrides_runpath=yes
 
10566
  shlibpath_var=DYLD_LIBRARY_PATH
 
10567
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
10568
 
 
10569
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 
10570
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
10571
  ;;
 
10572
 
 
10573
dgux*)
 
10574
  version_type=linux
 
10575
  need_lib_prefix=no
 
10576
  need_version=no
 
10577
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
10578
  soname_spec='${libname}${release}${shared_ext}$major'
 
10579
  shlibpath_var=LD_LIBRARY_PATH
 
10580
  ;;
 
10581
 
 
10582
freebsd1*)
 
10583
  dynamic_linker=no
 
10584
  ;;
 
10585
 
 
10586
freebsd* | dragonfly*)
 
10587
  # DragonFly does not have aout.  When/if they implement a new
 
10588
  # versioning mechanism, adjust this.
 
10589
  if test -x /usr/bin/objformat; then
 
10590
    objformat=`/usr/bin/objformat`
 
10591
  else
 
10592
    case $host_os in
 
10593
    freebsd[123]*) objformat=aout ;;
 
10594
    *) objformat=elf ;;
 
10595
    esac
 
10596
  fi
 
10597
  version_type=freebsd-$objformat
 
10598
  case $version_type in
 
10599
    freebsd-elf*)
 
10600
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
10601
      need_version=no
 
10602
      need_lib_prefix=no
 
10603
      ;;
 
10604
    freebsd-*)
 
10605
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
10606
      need_version=yes
 
10607
      ;;
 
10608
  esac
 
10609
  shlibpath_var=LD_LIBRARY_PATH
 
10610
  case $host_os in
 
10611
  freebsd2*)
 
10612
    shlibpath_overrides_runpath=yes
 
10613
    ;;
 
10614
  freebsd3.[01]* | freebsdelf3.[01]*)
 
10615
    shlibpath_overrides_runpath=yes
 
10616
    hardcode_into_libs=yes
 
10617
    ;;
 
10618
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
10619
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
10620
    shlibpath_overrides_runpath=no
 
10621
    hardcode_into_libs=yes
 
10622
    ;;
 
10623
  *) # from 4.6 on, and DragonFly
 
10624
    shlibpath_overrides_runpath=yes
 
10625
    hardcode_into_libs=yes
 
10626
    ;;
 
10627
  esac
 
10628
  ;;
 
10629
 
 
10630
gnu*)
 
10631
  version_type=linux
 
10632
  need_lib_prefix=no
 
10633
  need_version=no
 
10634
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
10635
  soname_spec='${libname}${release}${shared_ext}$major'
 
10636
  shlibpath_var=LD_LIBRARY_PATH
 
10637
  hardcode_into_libs=yes
 
10638
  ;;
 
10639
 
 
10640
hpux9* | hpux10* | hpux11*)
 
10641
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
10642
  # link against other versions.
 
10643
  version_type=sunos
 
10644
  need_lib_prefix=no
 
10645
  need_version=no
 
10646
  case $host_cpu in
 
10647
  ia64*)
 
10648
    shrext_cmds='.so'
 
10649
    hardcode_into_libs=yes
 
10650
    dynamic_linker="$host_os dld.so"
 
10651
    shlibpath_var=LD_LIBRARY_PATH
 
10652
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
10653
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10654
    soname_spec='${libname}${release}${shared_ext}$major'
 
10655
    if test "X$HPUX_IA64_MODE" = X32; then
 
10656
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
10657
    else
 
10658
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
10659
    fi
 
10660
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
10661
    ;;
 
10662
  hppa*64*)
 
10663
    shrext_cmds='.sl'
 
10664
    hardcode_into_libs=yes
 
10665
    dynamic_linker="$host_os dld.sl"
 
10666
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
10667
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
10668
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10669
    soname_spec='${libname}${release}${shared_ext}$major'
 
10670
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
10671
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
10672
    ;;
 
10673
  *)
 
10674
    shrext_cmds='.sl'
 
10675
    dynamic_linker="$host_os dld.sl"
 
10676
    shlibpath_var=SHLIB_PATH
 
10677
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
10678
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10679
    soname_spec='${libname}${release}${shared_ext}$major'
 
10680
    ;;
 
10681
  esac
 
10682
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
10683
  postinstall_cmds='chmod 555 $lib'
 
10684
  ;;
 
10685
 
 
10686
interix[3-9]*)
 
10687
  version_type=linux
 
10688
  need_lib_prefix=no
 
10689
  need_version=no
 
10690
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
10691
  soname_spec='${libname}${release}${shared_ext}$major'
 
10692
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
10693
  shlibpath_var=LD_LIBRARY_PATH
 
10694
  shlibpath_overrides_runpath=no
 
10695
  hardcode_into_libs=yes
 
10696
  ;;
 
10697
 
 
10698
irix5* | irix6* | nonstopux*)
 
10699
  case $host_os in
 
10700
    nonstopux*) version_type=nonstopux ;;
 
10701
    *)
 
10702
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
10703
                version_type=linux
 
10704
        else
 
10705
                version_type=irix
 
10706
        fi ;;
 
10707
  esac
 
10708
  need_lib_prefix=no
 
10709
  need_version=no
 
10710
  soname_spec='${libname}${release}${shared_ext}$major'
 
10711
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
10712
  case $host_os in
 
10713
  irix5* | nonstopux*)
 
10714
    libsuff= shlibsuff=
 
10715
    ;;
 
10716
  *)
 
10717
    case $LD in # libtool.m4 will add one of these switches to LD
 
10718
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
10719
      libsuff= shlibsuff= libmagic=32-bit;;
 
10720
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
10721
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
10722
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
10723
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
10724
    *) libsuff= shlibsuff= libmagic=never-match;;
 
10725
    esac
 
10726
    ;;
 
10727
  esac
 
10728
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
10729
  shlibpath_overrides_runpath=no
 
10730
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
10731
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
10732
  hardcode_into_libs=yes
 
10733
  ;;
 
10734
 
 
10735
# No shared lib support for Linux oldld, aout, or coff.
 
10736
linux*oldld* | linux*aout* | linux*coff*)
 
10737
  dynamic_linker=no
 
10738
  ;;
 
10739
 
 
10740
# This must be Linux ELF.
 
10741
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
10742
  version_type=linux
 
10743
  need_lib_prefix=no
 
10744
  need_version=no
 
10745
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10746
  soname_spec='${libname}${release}${shared_ext}$major'
 
10747
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
10748
  shlibpath_var=LD_LIBRARY_PATH
 
10749
  shlibpath_overrides_runpath=no
 
10750
  # Some binutils ld are patched to set DT_RUNPATH
 
10751
  save_LDFLAGS=$LDFLAGS
 
10752
  save_libdir=$libdir
 
10753
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
10754
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
10755
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10756
/* end confdefs.h.  */
 
10757
 
 
10758
int
 
10759
main ()
 
10760
{
 
10761
 
 
10762
  ;
 
10763
  return 0;
 
10764
}
 
10765
_ACEOF
 
10766
if ac_fn_c_try_link "$LINENO"; then :
 
10767
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
10768
  shlibpath_overrides_runpath=yes
 
10769
fi
 
10770
fi
 
10771
rm -f core conftest.err conftest.$ac_objext \
 
10772
    conftest$ac_exeext conftest.$ac_ext
 
10773
  LDFLAGS=$save_LDFLAGS
 
10774
  libdir=$save_libdir
 
10775
 
 
10776
  # This implies no fast_install, which is unacceptable.
 
10777
  # Some rework will be needed to allow for fast_install
 
10778
  # before this can be enabled.
 
10779
  hardcode_into_libs=yes
 
10780
 
 
10781
  # Append ld.so.conf contents to the search path
 
10782
  if test -f /etc/ld.so.conf; then
 
10783
    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' ' '`
 
10784
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
10785
  fi
 
10786
 
 
10787
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
10788
  # powerpc, because MkLinux only supported shared libraries with the
 
10789
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
10790
  # most powerpc-linux boxes support dynamic linking these days and
 
10791
  # people can always --disable-shared, the test was removed, and we
 
10792
  # assume the GNU/Linux dynamic linker is in use.
 
10793
  dynamic_linker='GNU/Linux ld.so'
 
10794
  ;;
 
10795
 
 
10796
netbsdelf*-gnu)
 
10797
  version_type=linux
 
10798
  need_lib_prefix=no
 
10799
  need_version=no
 
10800
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
10801
  soname_spec='${libname}${release}${shared_ext}$major'
 
10802
  shlibpath_var=LD_LIBRARY_PATH
 
10803
  shlibpath_overrides_runpath=no
 
10804
  hardcode_into_libs=yes
 
10805
  dynamic_linker='NetBSD ld.elf_so'
 
10806
  ;;
 
10807
 
 
10808
netbsd*)
 
10809
  version_type=sunos
 
10810
  need_lib_prefix=no
 
10811
  need_version=no
 
10812
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
10813
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
10814
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
10815
    dynamic_linker='NetBSD (a.out) ld.so'
 
10816
  else
 
10817
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
10818
    soname_spec='${libname}${release}${shared_ext}$major'
 
10819
    dynamic_linker='NetBSD ld.elf_so'
 
10820
  fi
 
10821
  shlibpath_var=LD_LIBRARY_PATH
 
10822
  shlibpath_overrides_runpath=yes
 
10823
  hardcode_into_libs=yes
 
10824
  ;;
 
10825
 
 
10826
newsos6)
 
10827
  version_type=linux
 
10828
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10829
  shlibpath_var=LD_LIBRARY_PATH
 
10830
  shlibpath_overrides_runpath=yes
 
10831
  ;;
 
10832
 
 
10833
*nto* | *qnx*)
 
10834
  version_type=qnx
 
10835
  need_lib_prefix=no
 
10836
  need_version=no
 
10837
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10838
  soname_spec='${libname}${release}${shared_ext}$major'
 
10839
  shlibpath_var=LD_LIBRARY_PATH
 
10840
  shlibpath_overrides_runpath=no
 
10841
  hardcode_into_libs=yes
 
10842
  dynamic_linker='ldqnx.so'
 
10843
  ;;
 
10844
 
 
10845
openbsd*)
 
10846
  version_type=sunos
 
10847
  sys_lib_dlsearch_path_spec="/usr/lib"
 
10848
  need_lib_prefix=no
 
10849
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
10850
  case $host_os in
 
10851
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
10852
    *)                          need_version=no  ;;
 
10853
  esac
 
10854
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
10855
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
10856
  shlibpath_var=LD_LIBRARY_PATH
 
10857
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10858
    case $host_os in
 
10859
      openbsd2.[89] | openbsd2.[89].*)
 
10860
        shlibpath_overrides_runpath=no
 
10861
        ;;
 
10862
      *)
 
10863
        shlibpath_overrides_runpath=yes
 
10864
        ;;
 
10865
      esac
 
10866
  else
 
10867
    shlibpath_overrides_runpath=yes
 
10868
  fi
 
10869
  ;;
 
10870
 
 
10871
os2*)
 
10872
  libname_spec='$name'
 
10873
  shrext_cmds=".dll"
 
10874
  need_lib_prefix=no
 
10875
  library_names_spec='$libname${shared_ext} $libname.a'
 
10876
  dynamic_linker='OS/2 ld.exe'
 
10877
  shlibpath_var=LIBPATH
 
10878
  ;;
 
10879
 
 
10880
osf3* | osf4* | osf5*)
 
10881
  version_type=osf
 
10882
  need_lib_prefix=no
 
10883
  need_version=no
 
10884
  soname_spec='${libname}${release}${shared_ext}$major'
 
10885
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10886
  shlibpath_var=LD_LIBRARY_PATH
 
10887
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
10888
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
10889
  ;;
 
10890
 
 
10891
rdos*)
 
10892
  dynamic_linker=no
 
10893
  ;;
 
10894
 
 
10895
solaris*)
 
10896
  version_type=linux
 
10897
  need_lib_prefix=no
 
10898
  need_version=no
 
10899
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10900
  soname_spec='${libname}${release}${shared_ext}$major'
 
10901
  shlibpath_var=LD_LIBRARY_PATH
 
10902
  shlibpath_overrides_runpath=yes
 
10903
  hardcode_into_libs=yes
 
10904
  # ldd complains unless libraries are executable
 
10905
  postinstall_cmds='chmod +x $lib'
 
10906
  ;;
 
10907
 
 
10908
sunos4*)
 
10909
  version_type=sunos
 
10910
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
10911
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
10912
  shlibpath_var=LD_LIBRARY_PATH
 
10913
  shlibpath_overrides_runpath=yes
 
10914
  if test "$with_gnu_ld" = yes; then
 
10915
    need_lib_prefix=no
 
10916
  fi
 
10917
  need_version=yes
 
10918
  ;;
 
10919
 
 
10920
sysv4 | sysv4.3*)
 
10921
  version_type=linux
 
10922
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10923
  soname_spec='${libname}${release}${shared_ext}$major'
 
10924
  shlibpath_var=LD_LIBRARY_PATH
 
10925
  case $host_vendor in
 
10926
    sni)
 
10927
      shlibpath_overrides_runpath=no
 
10928
      need_lib_prefix=no
 
10929
      runpath_var=LD_RUN_PATH
 
10930
      ;;
 
10931
    siemens)
 
10932
      need_lib_prefix=no
 
10933
      ;;
 
10934
    motorola)
 
10935
      need_lib_prefix=no
 
10936
      need_version=no
 
10937
      shlibpath_overrides_runpath=no
 
10938
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
10939
      ;;
 
10940
  esac
 
10941
  ;;
 
10942
 
 
10943
sysv4*MP*)
 
10944
  if test -d /usr/nec ;then
 
10945
    version_type=linux
 
10946
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
10947
    soname_spec='$libname${shared_ext}.$major'
 
10948
    shlibpath_var=LD_LIBRARY_PATH
 
10949
  fi
 
10950
  ;;
 
10951
 
 
10952
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
10953
  version_type=freebsd-elf
 
10954
  need_lib_prefix=no
 
10955
  need_version=no
 
10956
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
10957
  soname_spec='${libname}${release}${shared_ext}$major'
 
10958
  shlibpath_var=LD_LIBRARY_PATH
 
10959
  shlibpath_overrides_runpath=yes
 
10960
  hardcode_into_libs=yes
 
10961
  if test "$with_gnu_ld" = yes; then
 
10962
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
10963
  else
 
10964
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
10965
    case $host_os in
 
10966
      sco3.2v5*)
 
10967
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
10968
        ;;
 
10969
    esac
 
10970
  fi
 
10971
  sys_lib_dlsearch_path_spec='/usr/lib'
 
10972
  ;;
 
10973
 
 
10974
tpf*)
 
10975
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
10976
  version_type=linux
 
10977
  need_lib_prefix=no
 
10978
  need_version=no
 
10979
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10980
  shlibpath_var=LD_LIBRARY_PATH
 
10981
  shlibpath_overrides_runpath=no
 
10982
  hardcode_into_libs=yes
 
10983
  ;;
 
10984
 
 
10985
uts4*)
 
10986
  version_type=linux
 
10987
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10988
  soname_spec='${libname}${release}${shared_ext}$major'
 
10989
  shlibpath_var=LD_LIBRARY_PATH
 
10990
  ;;
 
10991
 
 
10992
*)
 
10993
  dynamic_linker=no
 
10994
  ;;
 
10995
esac
 
10996
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
10997
$as_echo "$dynamic_linker" >&6; }
 
10998
test "$dynamic_linker" = no && can_build_shared=no
 
10999
 
 
11000
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
11001
if test "$GCC" = yes; then
 
11002
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
11003
fi
 
11004
 
 
11005
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
11006
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
11007
fi
 
11008
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
11009
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
11010
fi
 
11011
 
 
11012
 
 
11013
    
 
11014
    
 
11015
    
 
11016
 
 
11017
 
 
11018
    
 
11019
    
 
11020
    
 
11021
 
 
11022
 
 
11023
    
 
11024
    
 
11025
    
 
11026
 
 
11027
 
 
11028
    
 
11029
    
 
11030
    
 
11031
 
 
11032
 
 
11033
    
 
11034
    
 
11035
    
 
11036
 
 
11037
 
 
11038
    
 
11039
    
 
11040
    
 
11041
 
 
11042
 
 
11043
    
 
11044
    
 
11045
    
 
11046
 
 
11047
 
 
11048
    
 
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
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
11099
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
11100
hardcode_action=
 
11101
if test -n "$hardcode_libdir_flag_spec" ||
 
11102
   test -n "$runpath_var" ||
 
11103
   test "X$hardcode_automatic" = "Xyes" ; then
 
11104
 
 
11105
  # We can hardcode non-existent directories.
 
11106
  if test "$hardcode_direct" != no &&
 
11107
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
11108
     # have to relink, otherwise we might link with an installed library
 
11109
     # when we should be linking with a yet-to-be-installed one
 
11110
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
11111
     test "$hardcode_minus_L" != no; then
 
11112
    # Linking always hardcodes the temporary library directory.
 
11113
    hardcode_action=relink
 
11114
  else
 
11115
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
11116
    hardcode_action=immediate
 
11117
  fi
 
11118
else
 
11119
  # We cannot hardcode anything, or else we can only hardcode existing
 
11120
  # directories.
 
11121
  hardcode_action=unsupported
 
11122
fi
 
11123
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 
11124
$as_echo "$hardcode_action" >&6; }
 
11125
 
 
11126
if test "$hardcode_action" = relink ||
 
11127
   test "$inherit_rpath" = yes; then
 
11128
  # Fast installation is not supported
 
11129
  enable_fast_install=no
 
11130
elif test "$shlibpath_overrides_runpath" = yes ||
 
11131
     test "$enable_shared" = no; then
 
11132
  # Fast installation is not necessary
 
11133
  enable_fast_install=needless
 
11134
fi
 
11135
 
 
11136
    
 
11137
    
 
11138
    
 
11139
 
 
11140
 
 
11141
  if test "x$enable_dlopen" != xyes; then
 
11142
  enable_dlopen=unknown
 
11143
  enable_dlopen_self=unknown
 
11144
  enable_dlopen_self_static=unknown
 
11145
else
 
11146
  lt_cv_dlopen=no
 
11147
  lt_cv_dlopen_libs=
 
11148
 
 
11149
  case $host_os in
 
11150
  beos*)
 
11151
    lt_cv_dlopen="load_add_on"
 
11152
    lt_cv_dlopen_libs=
 
11153
    lt_cv_dlopen_self=yes
 
11154
    ;;
 
11155
 
 
11156
  mingw* | pw32* | cegcc*)
 
11157
    lt_cv_dlopen="LoadLibrary"
 
11158
    lt_cv_dlopen_libs=
 
11159
    ;;
 
11160
 
 
11161
  cygwin*)
 
11162
    lt_cv_dlopen="dlopen"
 
11163
    lt_cv_dlopen_libs=
 
11164
    ;;
 
11165
 
 
11166
  darwin*)
 
11167
  # if libdl is installed we need to link against it
 
11168
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
11169
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
11170
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11171
  $as_echo_n "(cached) " >&6
 
11172
else
 
11173
  ac_check_lib_save_LIBS=$LIBS
 
11174
LIBS="-ldl  $LIBS"
 
11175
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11176
/* end confdefs.h.  */
 
11177
 
 
11178
/* Override any GCC internal prototype to avoid an error.
 
11179
   Use char because int might match the return type of a GCC
 
11180
   builtin and then its argument prototype would still apply.  */
 
11181
#ifdef __cplusplus
 
11182
extern "C"
 
11183
#endif
 
11184
char dlopen ();
 
11185
int
 
11186
main ()
 
11187
{
 
11188
return dlopen ();
 
11189
  ;
 
11190
  return 0;
 
11191
}
 
11192
_ACEOF
 
11193
if ac_fn_c_try_link "$LINENO"; then :
 
11194
  ac_cv_lib_dl_dlopen=yes
 
11195
else
 
11196
  ac_cv_lib_dl_dlopen=no
 
11197
fi
 
11198
rm -f core conftest.err conftest.$ac_objext \
 
11199
    conftest$ac_exeext conftest.$ac_ext
 
11200
LIBS=$ac_check_lib_save_LIBS
 
11201
fi
 
11202
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
11203
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11204
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
11205
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
11206
else
 
11207
  
 
11208
    lt_cv_dlopen="dyld"
 
11209
    lt_cv_dlopen_libs=
 
11210
    lt_cv_dlopen_self=yes
 
11211
    
 
11212
fi
 
11213
 
 
11214
    ;;
 
11215
 
 
11216
  *)
 
11217
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
11218
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
11219
  lt_cv_dlopen="shl_load"
 
11220
else
 
11221
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 
11222
$as_echo_n "checking for shl_load in -ldld... " >&6; }
 
11223
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
11224
  $as_echo_n "(cached) " >&6
 
11225
else
 
11226
  ac_check_lib_save_LIBS=$LIBS
 
11227
LIBS="-ldld  $LIBS"
 
11228
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11229
/* end confdefs.h.  */
 
11230
 
 
11231
/* Override any GCC internal prototype to avoid an error.
 
11232
   Use char because int might match the return type of a GCC
 
11233
   builtin and then its argument prototype would still apply.  */
 
11234
#ifdef __cplusplus
 
11235
extern "C"
 
11236
#endif
 
11237
char shl_load ();
 
11238
int
 
11239
main ()
 
11240
{
 
11241
return shl_load ();
 
11242
  ;
 
11243
  return 0;
 
11244
}
 
11245
_ACEOF
 
11246
if ac_fn_c_try_link "$LINENO"; then :
 
11247
  ac_cv_lib_dld_shl_load=yes
 
11248
else
 
11249
  ac_cv_lib_dld_shl_load=no
 
11250
fi
 
11251
rm -f core conftest.err conftest.$ac_objext \
 
11252
    conftest$ac_exeext conftest.$ac_ext
 
11253
LIBS=$ac_check_lib_save_LIBS
 
11254
fi
 
11255
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 
11256
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
11257
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
11258
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 
11259
else
 
11260
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
11261
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
11262
  lt_cv_dlopen="dlopen"
 
11263
else
 
11264
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
11265
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
11266
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11267
  $as_echo_n "(cached) " >&6
 
11268
else
 
11269
  ac_check_lib_save_LIBS=$LIBS
 
11270
LIBS="-ldl  $LIBS"
 
11271
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11272
/* end confdefs.h.  */
 
11273
 
 
11274
/* Override any GCC internal prototype to avoid an error.
 
11275
   Use char because int might match the return type of a GCC
 
11276
   builtin and then its argument prototype would still apply.  */
 
11277
#ifdef __cplusplus
 
11278
extern "C"
 
11279
#endif
 
11280
char dlopen ();
 
11281
int
 
11282
main ()
 
11283
{
 
11284
return dlopen ();
 
11285
  ;
 
11286
  return 0;
 
11287
}
 
11288
_ACEOF
 
11289
if ac_fn_c_try_link "$LINENO"; then :
 
11290
  ac_cv_lib_dl_dlopen=yes
 
11291
else
 
11292
  ac_cv_lib_dl_dlopen=no
 
11293
fi
 
11294
rm -f core conftest.err conftest.$ac_objext \
 
11295
    conftest$ac_exeext conftest.$ac_ext
 
11296
LIBS=$ac_check_lib_save_LIBS
 
11297
fi
 
11298
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
11299
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11300
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
11301
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
11302
else
 
11303
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 
11304
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 
11305
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
11306
  $as_echo_n "(cached) " >&6
 
11307
else
 
11308
  ac_check_lib_save_LIBS=$LIBS
 
11309
LIBS="-lsvld  $LIBS"
 
11310
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11311
/* end confdefs.h.  */
 
11312
 
 
11313
/* Override any GCC internal prototype to avoid an error.
 
11314
   Use char because int might match the return type of a GCC
 
11315
   builtin and then its argument prototype would still apply.  */
 
11316
#ifdef __cplusplus
 
11317
extern "C"
 
11318
#endif
 
11319
char dlopen ();
 
11320
int
 
11321
main ()
 
11322
{
 
11323
return dlopen ();
 
11324
  ;
 
11325
  return 0;
 
11326
}
 
11327
_ACEOF
 
11328
if ac_fn_c_try_link "$LINENO"; then :
 
11329
  ac_cv_lib_svld_dlopen=yes
 
11330
else
 
11331
  ac_cv_lib_svld_dlopen=no
 
11332
fi
 
11333
rm -f core conftest.err conftest.$ac_objext \
 
11334
    conftest$ac_exeext conftest.$ac_ext
 
11335
LIBS=$ac_check_lib_save_LIBS
 
11336
fi
 
11337
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 
11338
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
11339
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
11340
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 
11341
else
 
11342
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 
11343
$as_echo_n "checking for dld_link in -ldld... " >&6; }
 
11344
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
11345
  $as_echo_n "(cached) " >&6
 
11346
else
 
11347
  ac_check_lib_save_LIBS=$LIBS
 
11348
LIBS="-ldld  $LIBS"
 
11349
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11350
/* end confdefs.h.  */
 
11351
 
 
11352
/* Override any GCC internal prototype to avoid an error.
 
11353
   Use char because int might match the return type of a GCC
 
11354
   builtin and then its argument prototype would still apply.  */
 
11355
#ifdef __cplusplus
 
11356
extern "C"
 
11357
#endif
 
11358
char dld_link ();
 
11359
int
 
11360
main ()
 
11361
{
 
11362
return dld_link ();
 
11363
  ;
 
11364
  return 0;
 
11365
}
 
11366
_ACEOF
 
11367
if ac_fn_c_try_link "$LINENO"; then :
 
11368
  ac_cv_lib_dld_dld_link=yes
 
11369
else
 
11370
  ac_cv_lib_dld_dld_link=no
 
11371
fi
 
11372
rm -f core conftest.err conftest.$ac_objext \
 
11373
    conftest$ac_exeext conftest.$ac_ext
 
11374
LIBS=$ac_check_lib_save_LIBS
 
11375
fi
 
11376
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 
11377
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
11378
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
11379
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 
11380
fi
 
11381
 
 
11382
              
 
11383
fi
 
11384
 
 
11385
            
 
11386
fi
 
11387
 
 
11388
          
 
11389
fi
 
11390
 
 
11391
        
 
11392
fi
 
11393
 
 
11394
      
 
11395
fi
 
11396
 
 
11397
    ;;
 
11398
  esac
 
11399
 
 
11400
  if test "x$lt_cv_dlopen" != xno; then
 
11401
    enable_dlopen=yes
 
11402
  else
 
11403
    enable_dlopen=no
 
11404
  fi
 
11405
 
 
11406
  case $lt_cv_dlopen in
 
11407
  dlopen)
 
11408
    save_CPPFLAGS="$CPPFLAGS"
 
11409
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
11410
 
 
11411
    save_LDFLAGS="$LDFLAGS"
 
11412
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
11413
 
 
11414
    save_LIBS="$LIBS"
 
11415
    LIBS="$lt_cv_dlopen_libs $LIBS"
 
11416
 
 
11417
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 
11418
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 
11419
if test "${lt_cv_dlopen_self+set}" = set; then :
 
11420
  $as_echo_n "(cached) " >&6
 
11421
else
 
11422
          if test "$cross_compiling" = yes; then :
 
11423
  lt_cv_dlopen_self=cross
 
11424
else
 
11425
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
11426
  lt_status=$lt_dlunknown
 
11427
  cat > conftest.$ac_ext <<_LT_EOF
 
11428
#line __oline__ "configure"
 
11429
#include "confdefs.h"
 
11430
 
 
11431
#if HAVE_DLFCN_H
 
11432
#include <dlfcn.h>
 
11433
#endif
 
11434
 
 
11435
#include <stdio.h>
 
11436
 
 
11437
#ifdef RTLD_GLOBAL
 
11438
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
11439
#else
 
11440
#  ifdef DL_GLOBAL
 
11441
#    define LT_DLGLOBAL         DL_GLOBAL
 
11442
#  else
 
11443
#    define LT_DLGLOBAL         0
 
11444
#  endif
 
11445
#endif
 
11446
 
 
11447
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
11448
   find out it does not work in some platform. */
 
11449
#ifndef LT_DLLAZY_OR_NOW
 
11450
#  ifdef RTLD_LAZY
 
11451
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
11452
#  else
 
11453
#    ifdef DL_LAZY
 
11454
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
11455
#    else
 
11456
#      ifdef RTLD_NOW
 
11457
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
11458
#      else
 
11459
#        ifdef DL_NOW
 
11460
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
11461
#        else
 
11462
#          define LT_DLLAZY_OR_NOW      0
 
11463
#        endif
 
11464
#      endif
 
11465
#    endif
 
11466
#  endif
 
11467
#endif
 
11468
 
 
11469
void fnord() { int i=42;}
 
11470
int main ()
 
11471
{
 
11472
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
11473
  int status = $lt_dlunknown;
 
11474
 
 
11475
  if (self)
 
11476
    {
 
11477
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
11478
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11479
      /* dlclose (self); */
 
11480
    }
 
11481
  else
 
11482
    puts (dlerror ());
 
11483
 
 
11484
  return status;
 
11485
}
 
11486
_LT_EOF
 
11487
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
11488
  (eval $ac_link) 2>&5
 
11489
  ac_status=$?
 
11490
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11491
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11492
    (./conftest; exit; ) >&5 2>/dev/null
 
11493
    lt_status=$?
 
11494
    case x$lt_status in
 
11495
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 
11496
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 
11497
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 
11498
    esac
 
11499
  else :
 
11500
    # compilation failed
 
11501
    lt_cv_dlopen_self=no
 
11502
  fi
 
11503
fi
 
11504
rm -fr conftest*
 
11505
 
 
11506
    
 
11507
fi
 
11508
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 
11509
$as_echo "$lt_cv_dlopen_self" >&6; }
 
11510
 
 
11511
    if test "x$lt_cv_dlopen_self" = xyes; then
 
11512
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
11513
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 
11514
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 
11515
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
11516
  $as_echo_n "(cached) " >&6
 
11517
else
 
11518
          if test "$cross_compiling" = yes; then :
 
11519
  lt_cv_dlopen_self_static=cross
 
11520
else
 
11521
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
11522
  lt_status=$lt_dlunknown
 
11523
  cat > conftest.$ac_ext <<_LT_EOF
 
11524
#line __oline__ "configure"
 
11525
#include "confdefs.h"
 
11526
 
 
11527
#if HAVE_DLFCN_H
 
11528
#include <dlfcn.h>
 
11529
#endif
 
11530
 
 
11531
#include <stdio.h>
 
11532
 
 
11533
#ifdef RTLD_GLOBAL
 
11534
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
11535
#else
 
11536
#  ifdef DL_GLOBAL
 
11537
#    define LT_DLGLOBAL         DL_GLOBAL
 
11538
#  else
 
11539
#    define LT_DLGLOBAL         0
 
11540
#  endif
 
11541
#endif
 
11542
 
 
11543
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
11544
   find out it does not work in some platform. */
 
11545
#ifndef LT_DLLAZY_OR_NOW
 
11546
#  ifdef RTLD_LAZY
 
11547
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
11548
#  else
 
11549
#    ifdef DL_LAZY
 
11550
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
11551
#    else
 
11552
#      ifdef RTLD_NOW
 
11553
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
11554
#      else
 
11555
#        ifdef DL_NOW
 
11556
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
11557
#        else
 
11558
#          define LT_DLLAZY_OR_NOW      0
 
11559
#        endif
 
11560
#      endif
 
11561
#    endif
 
11562
#  endif
 
11563
#endif
 
11564
 
 
11565
void fnord() { int i=42;}
 
11566
int main ()
 
11567
{
 
11568
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
11569
  int status = $lt_dlunknown;
 
11570
 
 
11571
  if (self)
 
11572
    {
 
11573
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
11574
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11575
      /* dlclose (self); */
 
11576
    }
 
11577
  else
 
11578
    puts (dlerror ());
 
11579
 
 
11580
  return status;
 
11581
}
 
11582
_LT_EOF
 
11583
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
11584
  (eval $ac_link) 2>&5
 
11585
  ac_status=$?
 
11586
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11587
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11588
    (./conftest; exit; ) >&5 2>/dev/null
 
11589
    lt_status=$?
 
11590
    case x$lt_status in
 
11591
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 
11592
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 
11593
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 
11594
    esac
 
11595
  else :
 
11596
    # compilation failed
 
11597
    lt_cv_dlopen_self_static=no
 
11598
  fi
 
11599
fi
 
11600
rm -fr conftest*
 
11601
 
 
11602
      
 
11603
fi
 
11604
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 
11605
$as_echo "$lt_cv_dlopen_self_static" >&6; }
 
11606
    fi
 
11607
 
 
11608
    CPPFLAGS="$save_CPPFLAGS"
 
11609
    LDFLAGS="$save_LDFLAGS"
 
11610
    LIBS="$save_LIBS"
 
11611
    ;;
 
11612
  esac
 
11613
 
 
11614
  case $lt_cv_dlopen_self in
 
11615
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
11616
  *) enable_dlopen_self=unknown ;;
 
11617
  esac
 
11618
 
 
11619
  case $lt_cv_dlopen_self_static in
 
11620
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
11621
  *) enable_dlopen_self_static=unknown ;;
 
11622
  esac
 
11623
fi
 
11624
 
 
11625
    
 
11626
    
 
11627
    
 
11628
 
 
11629
 
 
11630
    
 
11631
    
 
11632
    
 
11633
 
 
11634
 
 
11635
    
 
11636
    
 
11637
    
 
11638
 
 
11639
 
 
11640
  
 
11641
striplib=
 
11642
old_striplib=
 
11643
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 
11644
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
11645
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
11646
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
11647
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
11648
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11649
$as_echo "yes" >&6; }
 
11650
else
 
11651
# FIXME - insert some real tests, host_os isn't really good enough
 
11652
  case $host_os in
 
11653
  darwin*)
 
11654
    if test -n "$STRIP" ; then
 
11655
      striplib="$STRIP -x"
 
11656
      old_striplib="$STRIP -S"
 
11657
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11658
$as_echo "yes" >&6; }
 
11659
    else
 
11660
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11661
$as_echo "no" >&6; }
 
11662
    fi
 
11663
    ;;
 
11664
  *)
 
11665
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11666
$as_echo "no" >&6; }
 
11667
    ;;
 
11668
  esac
 
11669
fi
 
11670
 
 
11671
    
 
11672
    
 
11673
    
 
11674
 
 
11675
 
 
11676
    
 
11677
    
 
11678
    
 
11679
 
 
11680
 
 
11681
 
 
11682
  # Report which library types will actually be built
 
11683
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 
11684
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
11685
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 
11686
$as_echo "$can_build_shared" >&6; }
 
11687
 
 
11688
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 
11689
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
11690
  test "$can_build_shared" = "no" && enable_shared=no
 
11691
 
 
11692
  # On AIX, shared libraries and static libraries use the same namespace, and
 
11693
  # are all built from PIC.
 
11694
  case $host_os in
 
11695
  aix3*)
 
11696
    test "$enable_shared" = yes && enable_static=no
 
11697
    if test -n "$RANLIB"; then
 
11698
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
11699
      postinstall_cmds='$RANLIB $lib'
 
11700
    fi
 
11701
    ;;
 
11702
 
 
11703
  aix[4-9]*)
 
11704
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
11705
      test "$enable_shared" = yes && enable_static=no
 
11706
    fi
 
11707
    ;;
 
11708
  esac
 
11709
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 
11710
$as_echo "$enable_shared" >&6; }
 
11711
 
 
11712
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 
11713
$as_echo_n "checking whether to build static libraries... " >&6; }
 
11714
  # Make sure either enable_shared or enable_static is yes.
 
11715
  test "$enable_shared" = yes || enable_static=yes
 
11716
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 
11717
$as_echo "$enable_static" >&6; }
 
11718
 
 
11719
  
 
11720
 
 
11721
 
 
11722
fi
 
11723
ac_ext=c
 
11724
ac_cpp='$CPP $CPPFLAGS'
 
11725
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
11726
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
11727
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
11728
 
 
11729
CC="$lt_save_CC"
 
11730
 
 
11731
 
 
11732
 
 
11733
 
 
11734
 
 
11735
 
 
11736
 
 
11737
 
 
11738
       
 
11739
       
 
11740
 
 
11741
 
 
11742
 
 
11743
        ac_config_commands="$ac_config_commands libtool"
 
11744
 
 
11745
 
 
11746
 
 
11747
 
 
11748
# Only expand once:
 
11749
 
 
11750
 
 
11751
 
 
11752
ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile swig/Makefile swig/perl/Makefile swig/perl/Makefile.PL swig/python/Makefile swig/python/setup.py swig/ruby/Makefile testsuite/Makefile testsuite/config/Makefile testsuite/libaalogparse.test/Makefile testsuite/lib/Makefile"
 
11753
 
 
11754
cat >confcache <<\_ACEOF
 
11755
# This file is a shell script that caches the results of configure
 
11756
# tests run on this system so they can be shared between configure
 
11757
# scripts and configure runs, see configure's option --config-cache.
 
11758
# It is not useful on other systems.  If it contains results you don't
 
11759
# want to keep, you may remove or edit it.
 
11760
#
 
11761
# config.status only pays attention to the cache file if you give it
 
11762
# the --recheck option to rerun configure.
 
11763
#
 
11764
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
11765
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
11766
# following values.
 
11767
 
 
11768
_ACEOF
 
11769
 
 
11770
# The following way of writing the cache mishandles newlines in values,
 
11771
# but we know of no workaround that is simple, portable, and efficient.
 
11772
# So, we kill variables containing newlines.
 
11773
# Ultrix sh set writes to stderr and can't be redirected directly,
 
11774
# and sets the high bit in the cache file unless we assign to the vars.
 
11775
(
 
11776
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
11777
    eval ac_val=\$$ac_var
 
11778
    case $ac_val in #(
 
11779
    *${as_nl}*)
 
11780
      case $ac_var in #(
 
11781
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
11782
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
11783
      esac
 
11784
      case $ac_var in #(
 
11785
      _ | IFS | as_nl) ;; #(
 
11786
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
11787
      *) { eval $ac_var=; unset $ac_var;} ;;
 
11788
      esac ;;
 
11789
    esac
 
11790
  done
 
11791
 
 
11792
  (set) 2>&1 |
 
11793
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
11794
    *${as_nl}ac_space=\ *)
 
11795
      # `set' does not quote correctly, so add quotes: double-quote
 
11796
      # substitution turns \\\\ into \\, and sed turns \\ into \.
 
11797
      sed -n \
 
11798
        "s/'/'\\\\''/g;
 
11799
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
11800
      ;; #(
 
11801
    *)
 
11802
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
11803
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
11804
      ;;
 
11805
    esac |
 
11806
    sort
 
11807
) |
 
11808
  sed '
 
11809
     /^ac_cv_env_/b end
 
11810
     t clear
 
11811
     :clear
 
11812
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
11813
     t end
 
11814
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
11815
     :end' >>confcache
 
11816
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
11817
  if test -w "$cache_file"; then
 
11818
    test "x$cache_file" != "x/dev/null" &&
 
11819
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
11820
$as_echo "$as_me: updating cache $cache_file" >&6;}
 
11821
    cat confcache >$cache_file
 
11822
  else
 
11823
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
11824
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
11825
  fi
 
11826
fi
 
11827
rm -f confcache
 
11828
 
 
11829
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
11830
# Let make expand exec_prefix.
 
11831
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
11832
 
 
11833
# Transform confdefs.h into DEFS.
 
11834
# Protect against shell expansion while executing Makefile rules.
 
11835
# Protect against Makefile macro expansion.
 
11836
#
 
11837
# If the first sed substitution is executed (which looks for macros that
 
11838
# take arguments), then branch to the quote section.  Otherwise,
 
11839
# look for a macro that doesn't take arguments.
 
11840
ac_script='
 
11841
:mline
 
11842
/\\$/{
 
11843
 N
 
11844
 s,\\\n,,
 
11845
 b mline
 
11846
}
 
11847
t clear
 
11848
:clear
 
11849
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
 
11850
t quote
 
11851
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
 
11852
t quote
 
11853
b any
 
11854
:quote
 
11855
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
 
11856
s/\[/\\&/g
 
11857
s/\]/\\&/g
 
11858
s/\$/$$/g
 
11859
H
 
11860
:any
 
11861
${
 
11862
        g
 
11863
        s/^\n//
 
11864
        s/\n/ /g
 
11865
        p
 
11866
}
 
11867
'
 
11868
DEFS=`sed -n "$ac_script" confdefs.h`
 
11869
 
 
11870
 
 
11871
ac_libobjs=
 
11872
ac_ltlibobjs=
 
11873
U=
 
11874
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
 
11875
  # 1. Remove the extension, and $U if already installed.
 
11876
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
11877
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
11878
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
11879
  #    will be set to the directory where LIBOBJS objects are built.
 
11880
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
11881
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 
11882
done
 
11883
LIB@&t@OBJS=$ac_libobjs
 
11884
 
 
11885
LTLIBOBJS=$ac_ltlibobjs
 
11886
 
 
11887
 
 
11888
 if test -n "$EXEEXT"; then
 
11889
  am__EXEEXT_TRUE=
 
11890
  am__EXEEXT_FALSE='#'
 
11891
else
 
11892
  am__EXEEXT_TRUE='#'
 
11893
  am__EXEEXT_FALSE=
 
11894
fi
 
11895
 
 
11896
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
11897
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
11898
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
11899
fi
 
11900
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
11901
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
11902
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
11903
fi
 
11904
if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
 
11905
  as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined.
 
11906
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
11907
fi
 
11908
if test -z "${HAVE_PERL_TRUE}" && test -z "${HAVE_PERL_FALSE}"; then
 
11909
  as_fn_error $? "conditional \"HAVE_PERL\" was never defined.
 
11910
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
11911
fi
 
11912
if test -z "${HAVE_RUBY_TRUE}" && test -z "${HAVE_RUBY_FALSE}"; then
 
11913
  as_fn_error $? "conditional \"HAVE_RUBY\" was never defined.
 
11914
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
11915
fi
 
11916
if test -z "${BUILD_ROOTLIB_TRUE}" && test -z "${BUILD_ROOTLIB_FALSE}"; then
 
11917
  as_fn_error $? "conditional \"BUILD_ROOTLIB\" was never defined.
 
11918
Usually this means the macro was only invoked conditionally." "$LINENO" 5 
 
11919
fi
 
11920
 
 
11921
: ${CONFIG_STATUS=./config.status}
 
11922
ac_write_fail=0
 
11923
ac_clean_files_save=$ac_clean_files
 
11924
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
11925
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
11926
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
11927
as_write_fail=0
 
11928
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 
11929
#! $SHELL
 
11930
# Generated by $as_me.
 
11931
# Run this file to recreate the current configuration.
 
11932
# Compiler output produced by configure, useful for debugging
 
11933
# configure, is in config.log if it exists.
 
11934
 
 
11935
debug=false
 
11936
ac_cs_recheck=false
 
11937
ac_cs_silent=false
 
11938
 
 
11939
SHELL=\${CONFIG_SHELL-$SHELL}
 
11940
export SHELL
 
11941
_ASEOF
 
11942
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
11943
## -------------------- ##
 
11944
## M4sh Initialization. ##
 
11945
## -------------------- ##
 
11946
 
 
11947
# Be more Bourne compatible
 
11948
DUALCASE=1; export DUALCASE # for MKS sh
 
11949
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
11950
  emulate sh
 
11951
  NULLCMD=:
 
11952
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
11953
  # is contrary to our usage.  Disable this feature.
 
11954
  alias -g '${1+"$@"}'='"$@"'
 
11955
  setopt NO_GLOB_SUBST
 
11956
else
 
11957
  case `(set -o) 2>/dev/null` in @%:@(
 
11958
  *posix*) :
 
11959
    set -o posix ;; @%:@(
 
11960
  *) :
 
11961
     ;;
 
11962
esac
 
11963
fi
 
11964
 
 
11965
 
 
11966
as_nl='
 
11967
'
 
11968
export as_nl
 
11969
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
11970
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
11971
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
11972
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
11973
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
11974
# but without wasting forks for bash or zsh.
 
11975
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
11976
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
11977
  as_echo='print -r --'
 
11978
  as_echo_n='print -rn --'
 
11979
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
11980
  as_echo='printf %s\n'
 
11981
  as_echo_n='printf %s'
 
11982
else
 
11983
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
11984
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
11985
    as_echo_n='/usr/ucb/echo -n'
 
11986
  else
 
11987
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
11988
    as_echo_n_body='eval
 
11989
      arg=$1;
 
11990
      case $arg in @%:@(
 
11991
      *"$as_nl"*)
 
11992
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
11993
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
11994
      esac;
 
11995
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
11996
    '
 
11997
    export as_echo_n_body
 
11998
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
11999
  fi
 
12000
  export as_echo_body
 
12001
  as_echo='sh -c $as_echo_body as_echo'
 
12002
fi
 
12003
 
 
12004
# The user is always right.
 
12005
if test "${PATH_SEPARATOR+set}" != set; then
 
12006
  PATH_SEPARATOR=:
 
12007
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
12008
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
12009
      PATH_SEPARATOR=';'
 
12010
  }
 
12011
fi
 
12012
 
 
12013
 
 
12014
# IFS
 
12015
# We need space, tab and new line, in precisely that order.  Quoting is
 
12016
# there to prevent editors from complaining about space-tab.
 
12017
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
12018
# splitting by setting IFS to empty value.)
 
12019
IFS=" ""        $as_nl"
 
12020
 
 
12021
# Find who we are.  Look in the path if we contain no directory separator.
 
12022
case $0 in @%:@((
 
12023
  *[\\/]* ) as_myself=$0 ;;
 
12024
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12025
for as_dir in $PATH
 
12026
do
 
12027
  IFS=$as_save_IFS
 
12028
  test -z "$as_dir" && as_dir=.
 
12029
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
12030
  done
 
12031
IFS=$as_save_IFS
 
12032
 
 
12033
     ;;
 
12034
esac
 
12035
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
12036
# in which case we are not to be found in the path.
 
12037
if test "x$as_myself" = x; then
 
12038
  as_myself=$0
 
12039
fi
 
12040
if test ! -f "$as_myself"; then
 
12041
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
12042
  exit 1
 
12043
fi
 
12044
 
 
12045
# Unset variables that we do not need and which cause bugs (e.g. in
 
12046
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
12047
# suppresses any "Segmentation fault" message there.  '((' could
 
12048
# trigger a bug in pdksh 5.2.14.
 
12049
for as_var in BASH_ENV ENV MAIL MAILPATH
 
12050
do eval test x\${$as_var+set} = xset \
 
12051
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
12052
done
 
12053
PS1='$ '
 
12054
PS2='> '
 
12055
PS4='+ '
 
12056
 
 
12057
# NLS nuisances.
 
12058
LC_ALL=C
 
12059
export LC_ALL
 
12060
LANGUAGE=C
 
12061
export LANGUAGE
 
12062
 
 
12063
# CDPATH.
 
12064
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
12065
 
 
12066
 
 
12067
@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
 
12068
@%:@ ----------------------------------------
 
12069
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
12070
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
12071
@%:@ script with STATUS, using 1 if that was 0.
 
12072
as_fn_error ()
 
12073
{
 
12074
  as_status=$1; test $as_status -eq 0 && as_status=1
 
12075
  if test "$4"; then
 
12076
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
12077
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
12078
  fi
 
12079
  $as_echo "$as_me: error: $2" >&2
 
12080
  as_fn_exit $as_status
 
12081
} @%:@ as_fn_error
 
12082
 
 
12083
 
 
12084
@%:@ as_fn_set_status STATUS
 
12085
@%:@ -----------------------
 
12086
@%:@ Set @S|@? to STATUS, without forking.
 
12087
as_fn_set_status ()
 
12088
{
 
12089
  return $1
 
12090
} @%:@ as_fn_set_status
 
12091
 
 
12092
@%:@ as_fn_exit STATUS
 
12093
@%:@ -----------------
 
12094
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
12095
as_fn_exit ()
 
12096
{
 
12097
  set +e
 
12098
  as_fn_set_status $1
 
12099
  exit $1
 
12100
} @%:@ as_fn_exit
 
12101
 
 
12102
@%:@ as_fn_unset VAR
 
12103
@%:@ ---------------
 
12104
@%:@ Portably unset VAR.
 
12105
as_fn_unset ()
 
12106
{
 
12107
  { eval $1=; unset $1;}
 
12108
}
 
12109
as_unset=as_fn_unset
 
12110
@%:@ as_fn_append VAR VALUE
 
12111
@%:@ ----------------------
 
12112
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
 
12113
@%:@ advantage of any shell optimizations that allow amortized linear growth over
 
12114
@%:@ repeated appends, instead of the typical quadratic growth present in naive
 
12115
@%:@ implementations.
 
12116
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
12117
  eval 'as_fn_append ()
 
12118
  {
 
12119
    eval $1+=\$2
 
12120
  }'
 
12121
else
 
12122
  as_fn_append ()
 
12123
  {
 
12124
    eval $1=\$$1\$2
 
12125
  }
 
12126
fi # as_fn_append
 
12127
 
 
12128
@%:@ as_fn_arith ARG...
 
12129
@%:@ ------------------
 
12130
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
 
12131
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
 
12132
@%:@ must be portable across @S|@(()) and expr.
 
12133
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
12134
  eval 'as_fn_arith ()
 
12135
  {
 
12136
    as_val=$(( $* ))
 
12137
  }'
 
12138
else
 
12139
  as_fn_arith ()
 
12140
  {
 
12141
    as_val=`expr "$@" || test $? -eq 1`
 
12142
  }
 
12143
fi # as_fn_arith
 
12144
 
 
12145
 
 
12146
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
12147
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
12148
  as_expr=expr
 
12149
else
 
12150
  as_expr=false
 
12151
fi
 
12152
 
 
12153
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
12154
  as_basename=basename
 
12155
else
 
12156
  as_basename=false
 
12157
fi
 
12158
 
 
12159
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
12160
  as_dirname=dirname
 
12161
else
 
12162
  as_dirname=false
 
12163
fi
 
12164
 
 
12165
as_me=`$as_basename -- "$0" ||
 
12166
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
12167
         X"$0" : 'X\(//\)$' \| \
 
12168
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
12169
$as_echo X/"$0" |
 
12170
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
12171
            s//\1/
 
12172
            q
 
12173
          }
 
12174
          /^X\/\(\/\/\)$/{
 
12175
            s//\1/
 
12176
            q
 
12177
          }
 
12178
          /^X\/\(\/\).*/{
 
12179
            s//\1/
 
12180
            q
 
12181
          }
 
12182
          s/.*/./; q'`
 
12183
 
 
12184
# Avoid depending upon Character Ranges.
 
12185
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
12186
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
12187
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
12188
as_cr_digits='0123456789'
 
12189
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
12190
 
 
12191
ECHO_C= ECHO_N= ECHO_T=
 
12192
case `echo -n x` in @%:@(((((
 
12193
-n*)
 
12194
  case `echo 'xy\c'` in
 
12195
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
12196
  xy)  ECHO_C='\c';;
 
12197
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
12198
       ECHO_T=' ';;
 
12199
  esac;;
 
12200
*)
 
12201
  ECHO_N='-n';;
 
12202
esac
 
12203
 
 
12204
rm -f conf$$ conf$$.exe conf$$.file
 
12205
if test -d conf$$.dir; then
 
12206
  rm -f conf$$.dir/conf$$.file
 
12207
else
 
12208
  rm -f conf$$.dir
 
12209
  mkdir conf$$.dir 2>/dev/null
 
12210
fi
 
12211
if (echo >conf$$.file) 2>/dev/null; then
 
12212
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
12213
    as_ln_s='ln -s'
 
12214
    # ... but there are two gotchas:
 
12215
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
12216
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
12217
    # In both cases, we have to default to `cp -p'.
 
12218
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
12219
      as_ln_s='cp -p'
 
12220
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
12221
    as_ln_s=ln
 
12222
  else
 
12223
    as_ln_s='cp -p'
 
12224
  fi
 
12225
else
 
12226
  as_ln_s='cp -p'
 
12227
fi
 
12228
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
12229
rmdir conf$$.dir 2>/dev/null
 
12230
 
 
12231
 
 
12232
@%:@ as_fn_mkdir_p
 
12233
@%:@ -------------
 
12234
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
 
12235
as_fn_mkdir_p ()
 
12236
{
 
12237
 
 
12238
  case $as_dir in #(
 
12239
  -*) as_dir=./$as_dir;;
 
12240
  esac
 
12241
  test -d "$as_dir" || eval $as_mkdir_p || {
 
12242
    as_dirs=
 
12243
    while :; do
 
12244
      case $as_dir in #(
 
12245
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
12246
      *) as_qdir=$as_dir;;
 
12247
      esac
 
12248
      as_dirs="'$as_qdir' $as_dirs"
 
12249
      as_dir=`$as_dirname -- "$as_dir" ||
 
12250
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
12251
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
12252
         X"$as_dir" : 'X\(//\)$' \| \
 
12253
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
12254
$as_echo X"$as_dir" |
 
12255
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
12256
            s//\1/
 
12257
            q
 
12258
          }
 
12259
          /^X\(\/\/\)[^/].*/{
 
12260
            s//\1/
 
12261
            q
 
12262
          }
 
12263
          /^X\(\/\/\)$/{
 
12264
            s//\1/
 
12265
            q
 
12266
          }
 
12267
          /^X\(\/\).*/{
 
12268
            s//\1/
 
12269
            q
 
12270
          }
 
12271
          s/.*/./; q'`
 
12272
      test -d "$as_dir" && break
 
12273
    done
 
12274
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
12275
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
12276
 
 
12277
 
 
12278
} @%:@ as_fn_mkdir_p
 
12279
if mkdir -p . 2>/dev/null; then
 
12280
  as_mkdir_p='mkdir -p "$as_dir"'
 
12281
else
 
12282
  test -d ./-p && rmdir ./-p
 
12283
  as_mkdir_p=false
 
12284
fi
 
12285
 
 
12286
if test -x / >/dev/null 2>&1; then
 
12287
  as_test_x='test -x'
 
12288
else
 
12289
  if ls -dL / >/dev/null 2>&1; then
 
12290
    as_ls_L_option=L
 
12291
  else
 
12292
    as_ls_L_option=
 
12293
  fi
 
12294
  as_test_x='
 
12295
    eval sh -c '\''
 
12296
      if test -d "$1"; then
 
12297
        test -d "$1/.";
 
12298
      else
 
12299
        case $1 in @%:@(
 
12300
        -*)set "./$1";;
 
12301
        esac;
 
12302
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
 
12303
        ???[sx]*):;;*)false;;esac;fi
 
12304
    '\'' sh
 
12305
  '
 
12306
fi
 
12307
as_executable_p=$as_test_x
 
12308
 
 
12309
# Sed expression to map a string onto a valid CPP name.
 
12310
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
12311
 
 
12312
# Sed expression to map a string onto a valid variable name.
 
12313
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
12314
 
 
12315
 
 
12316
exec 6>&1
 
12317
## ----------------------------------- ##
 
12318
## Main body of $CONFIG_STATUS script. ##
 
12319
## ----------------------------------- ##
 
12320
_ASEOF
 
12321
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 
12322
 
 
12323
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
12324
# Save the log message, to keep $0 and so on meaningful, and to
 
12325
# report actual input values of CONFIG_FILES etc. instead of their
 
12326
# values after options handling.
 
12327
ac_log="
 
12328
This file was extended by $as_me, which was
 
12329
generated by GNU Autoconf 2.67.  Invocation command line was
 
12330
 
 
12331
  CONFIG_FILES    = $CONFIG_FILES
 
12332
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
12333
  CONFIG_LINKS    = $CONFIG_LINKS
 
12334
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
12335
  $ $0 $@
 
12336
 
 
12337
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
12338
"
 
12339
 
 
12340
_ACEOF
 
12341
 
 
12342
case $ac_config_files in *"
 
12343
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
12344
esac
 
12345
 
 
12346
 
 
12347
 
 
12348
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
12349
# Files that config.status was made for.
 
12350
config_files="$ac_config_files"
 
12351
config_commands="$ac_config_commands"
 
12352
 
 
12353
_ACEOF
 
12354
 
 
12355
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
12356
ac_cs_usage="\
 
12357
\`$as_me' instantiates files and other configuration actions
 
12358
from templates according to the current configuration.  Unless the files
 
12359
and actions are specified as TAGs, all are instantiated by default.
 
12360
 
 
12361
Usage: $0 [OPTION]... [TAG]...
 
12362
 
 
12363
  -h, --help       print this help, then exit
 
12364
  -V, --version    print version number and configuration settings, then exit
 
12365
      --config     print configuration, then exit
 
12366
  -q, --quiet, --silent
 
12367
                   do not print progress messages
 
12368
  -d, --debug      don't remove temporary files
 
12369
      --recheck    update $as_me by reconfiguring in the same conditions
 
12370
      --file=FILE[:TEMPLATE] 
 
12371
                   instantiate the configuration file FILE
 
12372
 
 
12373
Configuration files:
 
12374
$config_files
 
12375
 
 
12376
Configuration commands:
 
12377
$config_commands
 
12378
 
 
12379
Report bugs to the package provider."
 
12380
 
 
12381
_ACEOF
 
12382
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
12383
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 
12384
ac_cs_version="\\
 
12385
config.status
 
12386
configured by $0, generated by GNU Autoconf 2.67,
 
12387
  with options \\"\$ac_cs_config\\"
 
12388
 
 
12389
Copyright (C) 2010 Free Software Foundation, Inc.
 
12390
This config.status script is free software; the Free Software Foundation
 
12391
gives unlimited permission to copy, distribute and modify it."
 
12392
 
 
12393
ac_pwd='$ac_pwd'
 
12394
srcdir='$srcdir'
 
12395
INSTALL='$INSTALL'
 
12396
MKDIR_P='$MKDIR_P'
 
12397
AWK='$AWK'
 
12398
test -n "\$AWK" || AWK=awk
 
12399
_ACEOF
 
12400
 
 
12401
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
12402
# The default lists apply if the user does not specify any file.
 
12403
ac_need_defaults=:
 
12404
while test $# != 0
 
12405
do
 
12406
  case $1 in
 
12407
  --*=?*)
 
12408
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
12409
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
12410
    ac_shift=:
 
12411
    ;;
 
12412
  --*=)
 
12413
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
12414
    ac_optarg=
 
12415
    ac_shift=:
 
12416
    ;;
 
12417
  *)
 
12418
    ac_option=$1
 
12419
    ac_optarg=$2
 
12420
    ac_shift=shift
 
12421
    ;;
 
12422
  esac
 
12423
 
 
12424
  case $ac_option in
 
12425
  # Handling of the options.
 
12426
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
12427
    ac_cs_recheck=: ;;
 
12428
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
12429
    $as_echo "$ac_cs_version"; exit ;;
 
12430
  --config | --confi | --conf | --con | --co | --c )
 
12431
    $as_echo "$ac_cs_config"; exit ;;
 
12432
  --debug | --debu | --deb | --de | --d | -d )
 
12433
    debug=: ;;
 
12434
  --file | --fil | --fi | --f )
 
12435
    $ac_shift
 
12436
    case $ac_optarg in
 
12437
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
12438
    '') as_fn_error $? "missing file argument" ;;
 
12439
    esac
 
12440
    as_fn_append CONFIG_FILES " '$ac_optarg'"
 
12441
    ac_need_defaults=false;;
 
12442
  --he | --h |  --help | --hel | -h )
 
12443
    $as_echo "$ac_cs_usage"; exit ;;
 
12444
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
12445
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
12446
    ac_cs_silent=: ;;
 
12447
 
 
12448
  # This is an error.
 
12449
  -*) as_fn_error $? "unrecognized option: \`$1'
 
12450
Try \`$0 --help' for more information." ;;
 
12451
 
 
12452
  *) as_fn_append ac_config_targets " $1"
 
12453
     ac_need_defaults=false ;;
 
12454
 
 
12455
  esac
 
12456
  shift
 
12457
done
 
12458
 
 
12459
ac_configure_extra_args=
 
12460
 
 
12461
if $ac_cs_silent; then
 
12462
  exec 6>/dev/null
 
12463
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
12464
fi
 
12465
 
 
12466
_ACEOF
 
12467
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
12468
if \$ac_cs_recheck; then
 
12469
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
12470
  shift
 
12471
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
12472
  CONFIG_SHELL='$SHELL'
 
12473
  export CONFIG_SHELL
 
12474
  exec "\$@"
 
12475
fi
 
12476
 
 
12477
_ACEOF
 
12478
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
12479
exec 5>>config.log
 
12480
{
 
12481
  echo
 
12482
  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
 
12483
@%:@@%:@ Running $as_me. @%:@@%:@
 
12484
_ASBOX
 
12485
  $as_echo "$ac_log"
 
12486
} >&5
 
12487
 
 
12488
_ACEOF
 
12489
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
12490
#
 
12491
# INIT-COMMANDS
 
12492
#
 
12493
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
12494
 
 
12495
 
 
12496
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
12497
# if CDPATH is set.
 
12498
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
12499
 
 
12500
sed_quote_subst='$sed_quote_subst'
 
12501
double_quote_subst='$double_quote_subst'
 
12502
delay_variable_subst='$delay_variable_subst'
 
12503
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
12504
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
12505
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
12506
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
12507
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
12508
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
12509
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
12510
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
12511
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
12512
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
12513
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
12514
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
12515
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
12516
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
12517
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
12518
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
12519
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
12520
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
12521
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
12522
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
12523
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
12524
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
12525
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
12526
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
12527
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
12528
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
12529
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
12530
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12531
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
12532
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
12533
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
12534
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
12535
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
12536
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
12537
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
12538
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12539
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12540
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12541
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
12542
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
12543
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
12544
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
12545
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
12546
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
12547
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"`'
 
12548
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"`'
 
12549
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
12550
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
12551
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
12552
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
12553
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
12554
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
12555
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
12556
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
12557
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
12558
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
12559
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
12560
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
12561
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
12562
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
12563
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
12564
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
12565
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12566
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12567
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
12568
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
12569
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
12570
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
12571
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
12572
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12573
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12574
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12575
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12576
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12577
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12578
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
12579
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
12580
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
12581
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
12582
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
12583
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
12584
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
12585
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
12586
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
12587
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
12588
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
12589
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
12590
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
12591
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
12592
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
12593
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12594
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
12595
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
12596
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12597
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
12598
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
12599
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
12600
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
12601
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
12602
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
12603
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
12604
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
12605
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
12606
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
12607
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
12608
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12609
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12610
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12611
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
12612
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
12613
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
12614
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
12615
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
12616
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
12617
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
12618
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
12619
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
12620
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
12621
 
 
12622
LTCC='$LTCC'
 
12623
LTCFLAGS='$LTCFLAGS'
 
12624
compiler='$compiler_DEFAULT'
 
12625
 
 
12626
# Quote evaled strings.
 
12627
for var in SED \
 
12628
GREP \
 
12629
EGREP \
 
12630
FGREP \
 
12631
LD \
 
12632
NM \
 
12633
LN_S \
 
12634
lt_SP2NL \
 
12635
lt_NL2SP \
 
12636
reload_flag \
 
12637
OBJDUMP \
 
12638
deplibs_check_method \
 
12639
file_magic_cmd \
 
12640
AR \
 
12641
AR_FLAGS \
 
12642
STRIP \
 
12643
RANLIB \
 
12644
CC \
 
12645
CFLAGS \
 
12646
compiler \
 
12647
lt_cv_sys_global_symbol_pipe \
 
12648
lt_cv_sys_global_symbol_to_cdecl \
 
12649
lt_cv_sys_global_symbol_to_c_name_address \
 
12650
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
12651
SHELL \
 
12652
ECHO \
 
12653
lt_prog_compiler_no_builtin_flag \
 
12654
lt_prog_compiler_wl \
 
12655
lt_prog_compiler_pic \
 
12656
lt_prog_compiler_static \
 
12657
lt_cv_prog_compiler_c_o \
 
12658
need_locks \
 
12659
DSYMUTIL \
 
12660
NMEDIT \
 
12661
LIPO \
 
12662
OTOOL \
 
12663
OTOOL64 \
 
12664
shrext_cmds \
 
12665
export_dynamic_flag_spec \
 
12666
whole_archive_flag_spec \
 
12667
compiler_needs_object \
 
12668
with_gnu_ld \
 
12669
allow_undefined_flag \
 
12670
no_undefined_flag \
 
12671
hardcode_libdir_flag_spec \
 
12672
hardcode_libdir_flag_spec_ld \
 
12673
hardcode_libdir_separator \
 
12674
fix_srcfile_path \
 
12675
exclude_expsyms \
 
12676
include_expsyms \
 
12677
file_list_spec \
 
12678
variables_saved_for_relink \
 
12679
libname_spec \
 
12680
library_names_spec \
 
12681
soname_spec \
 
12682
finish_eval \
 
12683
old_striplib \
 
12684
striplib; do
 
12685
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
12686
    *[\\\\\\\`\\"\\\$]*)
 
12687
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
12688
      ;;
 
12689
    *)
 
12690
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
12691
      ;;
 
12692
    esac
 
12693
done
 
12694
 
 
12695
# Double-quote double-evaled strings.
 
12696
for var in reload_cmds \
 
12697
old_postinstall_cmds \
 
12698
old_postuninstall_cmds \
 
12699
old_archive_cmds \
 
12700
extract_expsyms_cmds \
 
12701
old_archive_from_new_cmds \
 
12702
old_archive_from_expsyms_cmds \
 
12703
archive_cmds \
 
12704
archive_expsym_cmds \
 
12705
module_cmds \
 
12706
module_expsym_cmds \
 
12707
export_symbols_cmds \
 
12708
prelink_cmds \
 
12709
postinstall_cmds \
 
12710
postuninstall_cmds \
 
12711
finish_cmds \
 
12712
sys_lib_search_path_spec \
 
12713
sys_lib_dlsearch_path_spec; do
 
12714
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
12715
    *[\\\\\\\`\\"\\\$]*)
 
12716
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
12717
      ;;
 
12718
    *)
 
12719
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
12720
      ;;
 
12721
    esac
 
12722
done
 
12723
 
 
12724
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
12725
case \$lt_ECHO in
 
12726
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
12727
  ;;
 
12728
esac
 
12729
 
 
12730
ac_aux_dir='$ac_aux_dir'
 
12731
xsi_shell='$xsi_shell'
 
12732
lt_shell_append='$lt_shell_append'
 
12733
 
 
12734
# See if we are running on zsh, and set the options which allow our
 
12735
# commands through without removal of \ escapes INIT.
 
12736
if test -n "\${ZSH_VERSION+set}" ; then
 
12737
   setopt NO_GLOB_SUBST
 
12738
fi
 
12739
 
 
12740
 
 
12741
    PACKAGE='$PACKAGE'
 
12742
    VERSION='$VERSION'
 
12743
    TIMESTAMP='$TIMESTAMP'
 
12744
    RM='$RM'
 
12745
    ofile='$ofile'
 
12746
 
 
12747
 
 
12748
 
 
12749
 
 
12750
_ACEOF
 
12751
 
 
12752
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
12753
 
 
12754
# Handling of arguments.
 
12755
for ac_config_target in $ac_config_targets
 
12756
do
 
12757
  case $ac_config_target in
 
12758
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
12759
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
 
12760
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
12761
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
 
12762
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
12763
    "swig/Makefile") CONFIG_FILES="$CONFIG_FILES swig/Makefile" ;;
 
12764
    "swig/perl/Makefile") CONFIG_FILES="$CONFIG_FILES swig/perl/Makefile" ;;
 
12765
    "swig/perl/Makefile.PL") CONFIG_FILES="$CONFIG_FILES swig/perl/Makefile.PL" ;;
 
12766
    "swig/python/Makefile") CONFIG_FILES="$CONFIG_FILES swig/python/Makefile" ;;
 
12767
    "swig/python/setup.py") CONFIG_FILES="$CONFIG_FILES swig/python/setup.py" ;;
 
12768
    "swig/ruby/Makefile") CONFIG_FILES="$CONFIG_FILES swig/ruby/Makefile" ;;
 
12769
    "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
 
12770
    "testsuite/config/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/config/Makefile" ;;
 
12771
    "testsuite/libaalogparse.test/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/libaalogparse.test/Makefile" ;;
 
12772
    "testsuite/lib/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/lib/Makefile" ;;
 
12773
 
 
12774
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
 
12775
  esac
 
12776
done
 
12777
 
 
12778
 
 
12779
# If the user did not use the arguments to specify the items to instantiate,
 
12780
# then the envvar interface is used.  Set only those that are not.
 
12781
# We use the long form for the default assignment because of an extremely
 
12782
# bizarre bug on SunOS 4.1.3.
 
12783
if $ac_need_defaults; then
 
12784
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
12785
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 
12786
fi
 
12787
 
 
12788
# Have a temporary directory for convenience.  Make it in the build tree
 
12789
# simply because there is no reason against having it here, and in addition,
 
12790
# creating and moving files from /tmp can sometimes cause problems.
 
12791
# Hook for its removal unless debugging.
 
12792
# Note that there is a small window in which the directory will not be cleaned:
 
12793
# after its creation but before its name has been assigned to `$tmp'.
 
12794
$debug ||
 
12795
{
 
12796
  tmp=
 
12797
  trap 'exit_status=$?
 
12798
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
12799
' 0
 
12800
  trap 'as_fn_exit 1' 1 2 13 15
 
12801
}
 
12802
# Create a (secure) tmp directory for tmp files.
 
12803
 
 
12804
{
 
12805
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
12806
  test -n "$tmp" && test -d "$tmp"
 
12807
}  ||
 
12808
{
 
12809
  tmp=./conf$$-$RANDOM
 
12810
  (umask 077 && mkdir "$tmp")
 
12811
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 
 
12812
 
 
12813
# Set up the scripts for CONFIG_FILES section.
 
12814
# No need to generate them if there are no CONFIG_FILES.
 
12815
# This happens for instance with `./config.status config.h'.
 
12816
if test -n "$CONFIG_FILES"; then
 
12817
 
 
12818
 
 
12819
ac_cr=`echo X | tr X '\015'`
 
12820
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
12821
# But we know of no other shell where ac_cr would be empty at this
 
12822
# point, so we can use a bashism as a fallback.
 
12823
if test "x$ac_cr" = x; then
 
12824
  eval ac_cr=\$\'\\r\'
 
12825
fi
 
12826
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
12827
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
12828
  ac_cs_awk_cr='\\r'
 
12829
else
 
12830
  ac_cs_awk_cr=$ac_cr
 
12831
fi
 
12832
 
 
12833
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
12834
_ACEOF
 
12835
 
 
12836
 
 
12837
{
 
12838
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
12839
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
12840
  echo "_ACEOF"
 
12841
} >conf$$subs.sh ||
 
12842
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 
 
12843
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 
12844
ac_delim='%!_!# '
 
12845
for ac_last_try in false false false false false :; do
 
12846
  . ./conf$$subs.sh ||
 
12847
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 
 
12848
 
 
12849
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
12850
  if test $ac_delim_n = $ac_delim_num; then
 
12851
    break
 
12852
  elif $ac_last_try; then
 
12853
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 
 
12854
  else
 
12855
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
12856
  fi
 
12857
done
 
12858
rm -f conf$$subs.sh
 
12859
 
 
12860
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
12861
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
12862
_ACEOF
 
12863
sed -n '
 
12864
h
 
12865
s/^/S["/; s/!.*/"]=/
 
12866
p
 
12867
g
 
12868
s/^[^!]*!//
 
12869
:repl
 
12870
t repl
 
12871
s/'"$ac_delim"'$//
 
12872
t delim
 
12873
:nl
 
12874
h
 
12875
s/\(.\{148\}\)..*/\1/
 
12876
t more1
 
12877
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
12878
p
 
12879
n
 
12880
b repl
 
12881
:more1
 
12882
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
12883
p
 
12884
g
 
12885
s/.\{148\}//
 
12886
t nl
 
12887
:delim
 
12888
h
 
12889
s/\(.\{148\}\)..*/\1/
 
12890
t more2
 
12891
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
12892
p
 
12893
b
 
12894
:more2
 
12895
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
12896
p
 
12897
g
 
12898
s/.\{148\}//
 
12899
t delim
 
12900
' <conf$$subs.awk | sed '
 
12901
/^[^""]/{
 
12902
  N
 
12903
  s/\n//
 
12904
}
 
12905
' >>$CONFIG_STATUS || ac_write_fail=1
 
12906
rm -f conf$$subs.awk
 
12907
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
12908
_ACAWK
 
12909
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
12910
  for (key in S) S_is_set[key] = 1
 
12911
  FS = ""
 
12912
 
 
12913
}
 
12914
{
 
12915
  line = $ 0
 
12916
  nfields = split(line, field, "@")
 
12917
  substed = 0
 
12918
  len = length(field[1])
 
12919
  for (i = 2; i < nfields; i++) {
 
12920
    key = field[i]
 
12921
    keylen = length(key)
 
12922
    if (S_is_set[key]) {
 
12923
      value = S[key]
 
12924
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
12925
      len += length(value) + length(field[++i])
 
12926
      substed = 1
 
12927
    } else
 
12928
      len += 1 + keylen
 
12929
  }
 
12930
 
 
12931
  print line
 
12932
}
 
12933
 
 
12934
_ACAWK
 
12935
_ACEOF
 
12936
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
12937
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
12938
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
12939
else
 
12940
  cat
 
12941
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
12942
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 
 
12943
_ACEOF
 
12944
 
 
12945
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
12946
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 
12947
# trailing colons and then remove the whole line if VPATH becomes empty
 
12948
# (actually we leave an empty line to preserve line numbers).
 
12949
if test "x$srcdir" = x.; then
 
12950
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
12951
h
 
12952
s///
 
12953
s/^/:/
 
12954
s/[      ]*$/:/
 
12955
s/:\$(srcdir):/:/g
 
12956
s/:\${srcdir}:/:/g
 
12957
s/:@srcdir@:/:/g
 
12958
s/^:*//
 
12959
s/:*$//
 
12960
x
 
12961
s/\(=[   ]*\).*/\1/
 
12962
G
 
12963
s/\n//
 
12964
s/^[^=]*=[       ]*$//
 
12965
}'
 
12966
fi
 
12967
 
 
12968
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
12969
fi # test -n "$CONFIG_FILES"
 
12970
 
 
12971
 
 
12972
eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
 
12973
shift
 
12974
for ac_tag
 
12975
do
 
12976
  case $ac_tag in
 
12977
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
12978
  esac
 
12979
  case $ac_mode$ac_tag in
 
12980
  :[FHL]*:*);;
 
12981
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
 
12982
  :[FH]-) ac_tag=-:-;;
 
12983
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
12984
  esac
 
12985
  ac_save_IFS=$IFS
 
12986
  IFS=:
 
12987
  set x $ac_tag
 
12988
  IFS=$ac_save_IFS
 
12989
  shift
 
12990
  ac_file=$1
 
12991
  shift
 
12992
 
 
12993
  case $ac_mode in
 
12994
  :L) ac_source=$1;;
 
12995
  :[FH])
 
12996
    ac_file_inputs=
 
12997
    for ac_f
 
12998
    do
 
12999
      case $ac_f in
 
13000
      -) ac_f="$tmp/stdin";;
 
13001
      *) # Look for the file first in the build tree, then in the source tree
 
13002
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
13003
         # because $ac_f cannot contain `:'.
 
13004
         test -f "$ac_f" ||
 
13005
           case $ac_f in
 
13006
           [\\/$]*) false;;
 
13007
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
13008
           esac ||
 
13009
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
 
13010
      esac
 
13011
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
13012
      as_fn_append ac_file_inputs " '$ac_f'"
 
13013
    done
 
13014
 
 
13015
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
13016
    # use $as_me), people would be surprised to read:
 
13017
    #    /* config.h.  Generated by config.status.  */
 
13018
    configure_input='Generated from '`
 
13019
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
13020
        `' by configure.'
 
13021
    if test x"$ac_file" != x-; then
 
13022
      configure_input="$ac_file.  $configure_input"
 
13023
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
13024
$as_echo "$as_me: creating $ac_file" >&6;}
 
13025
    fi
 
13026
    # Neutralize special characters interpreted by sed in replacement strings.
 
13027
    case $configure_input in #(
 
13028
    *\&* | *\|* | *\\* )
 
13029
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
13030
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
13031
    *) ac_sed_conf_input=$configure_input;;
 
13032
    esac
 
13033
 
 
13034
    case $ac_tag in
 
13035
    *:-:* | *:-) cat >"$tmp/stdin" \
 
13036
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
 
13037
    esac
 
13038
    ;;
 
13039
  esac
 
13040
 
 
13041
  ac_dir=`$as_dirname -- "$ac_file" ||
 
13042
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
13043
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
13044
         X"$ac_file" : 'X\(//\)$' \| \
 
13045
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
13046
$as_echo X"$ac_file" |
 
13047
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
13048
            s//\1/
 
13049
            q
 
13050
          }
 
13051
          /^X\(\/\/\)[^/].*/{
 
13052
            s//\1/
 
13053
            q
 
13054
          }
 
13055
          /^X\(\/\/\)$/{
 
13056
            s//\1/
 
13057
            q
 
13058
          }
 
13059
          /^X\(\/\).*/{
 
13060
            s//\1/
 
13061
            q
 
13062
          }
 
13063
          s/.*/./; q'`
 
13064
  as_dir="$ac_dir"; as_fn_mkdir_p
 
13065
  ac_builddir=.
 
13066
 
 
13067
case "$ac_dir" in
 
13068
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
13069
*)
 
13070
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
13071
  # A ".." for each directory in $ac_dir_suffix.
 
13072
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
13073
  case $ac_top_builddir_sub in
 
13074
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
13075
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
13076
  esac ;;
 
13077
esac
 
13078
ac_abs_top_builddir=$ac_pwd
 
13079
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
13080
# for backward compatibility:
 
13081
ac_top_builddir=$ac_top_build_prefix
 
13082
 
 
13083
case $srcdir in
 
13084
  .)  # We are building in place.
 
13085
    ac_srcdir=.
 
13086
    ac_top_srcdir=$ac_top_builddir_sub
 
13087
    ac_abs_top_srcdir=$ac_pwd ;;
 
13088
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
13089
    ac_srcdir=$srcdir$ac_dir_suffix;
 
13090
    ac_top_srcdir=$srcdir
 
13091
    ac_abs_top_srcdir=$srcdir ;;
 
13092
  *) # Relative name.
 
13093
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
13094
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
13095
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
13096
esac
 
13097
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
13098
 
 
13099
 
 
13100
  case $ac_mode in
 
13101
  :F)
 
13102
  #
 
13103
  # CONFIG_FILE
 
13104
  #
 
13105
 
 
13106
  case $INSTALL in
 
13107
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
13108
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
13109
  esac
 
13110
  ac_MKDIR_P=$MKDIR_P
 
13111
  case $MKDIR_P in
 
13112
  [\\/$]* | ?:[\\/]* ) ;;
 
13113
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
13114
  esac
 
13115
_ACEOF
 
13116
 
 
13117
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13118
# If the template does not know about datarootdir, expand it.
 
13119
# FIXME: This hack should be removed a few years after 2.60.
 
13120
ac_datarootdir_hack=; ac_datarootdir_seen=
 
13121
ac_sed_dataroot='
 
13122
/datarootdir/ {
 
13123
  p
 
13124
  q
 
13125
}
 
13126
/@datadir@/p
 
13127
/@docdir@/p
 
13128
/@infodir@/p
 
13129
/@localedir@/p
 
13130
/@mandir@/p'
 
13131
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
13132
*datarootdir*) ac_datarootdir_seen=yes;;
 
13133
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
13134
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
13135
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
13136
_ACEOF
 
13137
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13138
  ac_datarootdir_hack='
 
13139
  s&@datadir@&$datadir&g
 
13140
  s&@docdir@&$docdir&g
 
13141
  s&@infodir@&$infodir&g
 
13142
  s&@localedir@&$localedir&g
 
13143
  s&@mandir@&$mandir&g
 
13144
  s&\\\${datarootdir}&$datarootdir&g' ;;
 
13145
esac
 
13146
_ACEOF
 
13147
 
 
13148
# Neutralize VPATH when `$srcdir' = `.'.
 
13149
# Shell code in configure.ac might set extrasub.
 
13150
# FIXME: do we really want to maintain this feature?
 
13151
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13152
ac_sed_extra="$ac_vpsub
 
13153
$extrasub
 
13154
_ACEOF
 
13155
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13156
:t
 
13157
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
13158
s|@configure_input@|$ac_sed_conf_input|;t t
 
13159
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
13160
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
13161
s&@srcdir@&$ac_srcdir&;t t
 
13162
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
13163
s&@top_srcdir@&$ac_top_srcdir&;t t
 
13164
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
13165
s&@builddir@&$ac_builddir&;t t
 
13166
s&@abs_builddir@&$ac_abs_builddir&;t t
 
13167
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
13168
s&@INSTALL@&$ac_INSTALL&;t t
 
13169
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
13170
$ac_datarootdir_hack
 
13171
"
 
13172
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
13173
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5 
 
13174
 
 
13175
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
13176
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
13177
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
13178
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
13179
which seems to be undefined.  Please make sure it is defined" >&5
 
13180
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
13181
which seems to be undefined.  Please make sure it is defined" >&2;}
 
13182
 
 
13183
  rm -f "$tmp/stdin"
 
13184
  case $ac_file in
 
13185
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
13186
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
13187
  esac \
 
13188
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5 
 
13189
 ;;
 
13190
  
 
13191
  
 
13192
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
13193
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
13194
 ;;
 
13195
  esac
 
13196
 
 
13197
 
 
13198
  case $ac_file$ac_mode in
 
13199
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
13200
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
13201
  # are listed without --file.  Let's play safe and only enable the eval
 
13202
  # if we detect the quoting.
 
13203
  case $CONFIG_FILES in
 
13204
  *\'*) eval set x "$CONFIG_FILES" ;;
 
13205
  *)   set x $CONFIG_FILES ;;
 
13206
  esac
 
13207
  shift
 
13208
  for mf
 
13209
  do
 
13210
    # Strip MF so we end up with the name of the file.
 
13211
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
13212
    # Check whether this is an Automake generated Makefile or not.
 
13213
    # We used to match only the files named `Makefile.in', but
 
13214
    # some people rename them; so instead we look at the file content.
 
13215
    # Grep'ing the first line is not enough: some people post-process
 
13216
    # each Makefile.in and add a new line on top of each file to say so.
 
13217
    # Grep'ing the whole file is not good either: AIX grep has a line
 
13218
    # limit of 2048, but all sed's we know have understand at least 4000.
 
13219
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
13220
      dirpart=`$as_dirname -- "$mf" ||
 
13221
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
13222
         X"$mf" : 'X\(//\)[^/]' \| \
 
13223
         X"$mf" : 'X\(//\)$' \| \
 
13224
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
13225
$as_echo X"$mf" |
 
13226
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
13227
            s//\1/
 
13228
            q
 
13229
          }
 
13230
          /^X\(\/\/\)[^/].*/{
 
13231
            s//\1/
 
13232
            q
 
13233
          }
 
13234
          /^X\(\/\/\)$/{
 
13235
            s//\1/
 
13236
            q
 
13237
          }
 
13238
          /^X\(\/\).*/{
 
13239
            s//\1/
 
13240
            q
 
13241
          }
 
13242
          s/.*/./; q'`
 
13243
    else
 
13244
      continue
 
13245
    fi
 
13246
    # Extract the definition of DEPDIR, am__include, and am__quote
 
13247
    # from the Makefile without running `make'.
 
13248
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
13249
    test -z "$DEPDIR" && continue
 
13250
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
13251
    test -z "am__include" && continue
 
13252
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
13253
    # When using ansi2knr, U may be empty or an underscore; expand it
 
13254
    U=`sed -n 's/^U = //p' < "$mf"`
 
13255
    # Find all dependency output files, they are included files with
 
13256
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
13257
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
13258
    # expansion.
 
13259
    for file in `sed -n "
 
13260
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
13261
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
13262
      # Make sure the directory exists.
 
13263
      test -f "$dirpart/$file" && continue
 
13264
      fdir=`$as_dirname -- "$file" ||
 
13265
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
13266
         X"$file" : 'X\(//\)[^/]' \| \
 
13267
         X"$file" : 'X\(//\)$' \| \
 
13268
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
13269
$as_echo X"$file" |
 
13270
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
13271
            s//\1/
 
13272
            q
 
13273
          }
 
13274
          /^X\(\/\/\)[^/].*/{
 
13275
            s//\1/
 
13276
            q
 
13277
          }
 
13278
          /^X\(\/\/\)$/{
 
13279
            s//\1/
 
13280
            q
 
13281
          }
 
13282
          /^X\(\/\).*/{
 
13283
            s//\1/
 
13284
            q
 
13285
          }
 
13286
          s/.*/./; q'`
 
13287
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
13288
      # echo "creating $dirpart/$file"
 
13289
      echo '# dummy' > "$dirpart/$file"
 
13290
    done
 
13291
  done
 
13292
}
 
13293
 ;;
 
13294
    "libtool":C) 
 
13295
    
 
13296
    # See if we are running on zsh, and set the options which allow our
 
13297
    # commands through without removal of \ escapes.
 
13298
    if test -n "${ZSH_VERSION+set}" ; then
 
13299
      setopt NO_GLOB_SUBST
 
13300
    fi
 
13301
 
 
13302
    cfgfile="${ofile}T"
 
13303
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
13304
    $RM "$cfgfile"
 
13305
 
 
13306
    cat <<_LT_EOF >> "$cfgfile"
 
13307
#! $SHELL
 
13308
 
 
13309
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
13310
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
13311
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
13312
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
13313
#
 
13314
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
13315
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
13316
#   Written by Gordon Matzigkeit, 1996
 
13317
#
 
13318
#   This file is part of GNU Libtool.
 
13319
#
 
13320
# GNU Libtool is free software; you can redistribute it and/or
 
13321
# modify it under the terms of the GNU General Public License as
 
13322
# published by the Free Software Foundation; either version 2 of
 
13323
# the License, or (at your option) any later version.
 
13324
#
 
13325
# As a special exception to the GNU General Public License,
 
13326
# if you distribute this file as part of a program or library that
 
13327
# is built using GNU Libtool, you may include this file under the
 
13328
# same distribution terms that you use for the rest of that program.
 
13329
#
 
13330
# GNU Libtool is distributed in the hope that it will be useful,
 
13331
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13332
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13333
# GNU General Public License for more details.
 
13334
#
 
13335
# You should have received a copy of the GNU General Public License
 
13336
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
13337
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
13338
# obtained by writing to the Free Software Foundation, Inc.,
 
13339
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
13340
 
 
13341
 
 
13342
# The names of the tagged configurations supported by this script.
 
13343
available_tags=""
 
13344
 
 
13345
# ### BEGIN LIBTOOL CONFIG
 
13346
 
 
13347
# Which release of libtool.m4 was used?
 
13348
macro_version=$macro_version
 
13349
macro_revision=$macro_revision
 
13350
 
 
13351
# Whether or not to build shared libraries.
 
13352
build_libtool_libs=$enable_shared
 
13353
 
 
13354
# Whether or not to build static libraries.
 
13355
build_old_libs=$enable_static
 
13356
 
 
13357
# What type of objects to build.
 
13358
pic_mode=$pic_mode
 
13359
 
 
13360
# Whether or not to optimize for fast installation.
 
13361
fast_install=$enable_fast_install
 
13362
 
 
13363
# The host system.
 
13364
host_alias=$host_alias
 
13365
host=$host
 
13366
host_os=$host_os
 
13367
 
 
13368
# The build system.
 
13369
build_alias=$build_alias
 
13370
build=$build
 
13371
build_os=$build_os
 
13372
 
 
13373
# A sed program that does not truncate output.
 
13374
SED=$lt_SED
 
13375
 
 
13376
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
13377
Xsed="\$SED -e 1s/^X//"
 
13378
 
 
13379
# A grep program that handles long lines.
 
13380
GREP=$lt_GREP
 
13381
 
 
13382
# An ERE matcher.
 
13383
EGREP=$lt_EGREP
 
13384
 
 
13385
# A literal string matcher.
 
13386
FGREP=$lt_FGREP
 
13387
 
 
13388
# A BSD- or MS-compatible name lister.
 
13389
NM=$lt_NM
 
13390
 
 
13391
# Whether we need soft or hard links.
 
13392
LN_S=$lt_LN_S
 
13393
 
 
13394
# What is the maximum length of a command?
 
13395
max_cmd_len=$max_cmd_len
 
13396
 
 
13397
# Object file suffix (normally "o").
 
13398
objext=$ac_objext
 
13399
 
 
13400
# Executable file suffix (normally "").
 
13401
exeext=$exeext
 
13402
 
 
13403
# whether the shell understands "unset".
 
13404
lt_unset=$lt_unset
 
13405
 
 
13406
# turn spaces into newlines.
 
13407
SP2NL=$lt_lt_SP2NL
 
13408
 
 
13409
# turn newlines into spaces.
 
13410
NL2SP=$lt_lt_NL2SP
 
13411
 
 
13412
# How to create reloadable object files.
 
13413
reload_flag=$lt_reload_flag
 
13414
reload_cmds=$lt_reload_cmds
 
13415
 
 
13416
# An object symbol dumper.
 
13417
OBJDUMP=$lt_OBJDUMP
 
13418
 
 
13419
# Method to check whether dependent libraries are shared objects.
 
13420
deplibs_check_method=$lt_deplibs_check_method
 
13421
 
 
13422
# Command to use when deplibs_check_method == "file_magic".
 
13423
file_magic_cmd=$lt_file_magic_cmd
 
13424
 
 
13425
# The archiver.
 
13426
AR=$lt_AR
 
13427
AR_FLAGS=$lt_AR_FLAGS
 
13428
 
 
13429
# A symbol stripping program.
 
13430
STRIP=$lt_STRIP
 
13431
 
 
13432
# Commands used to install an old-style archive.
 
13433
RANLIB=$lt_RANLIB
 
13434
old_postinstall_cmds=$lt_old_postinstall_cmds
 
13435
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
13436
 
 
13437
# A C compiler.
 
13438
LTCC=$lt_CC
 
13439
 
 
13440
# LTCC compiler flags.
 
13441
LTCFLAGS=$lt_CFLAGS
 
13442
 
 
13443
# Take the output of nm and produce a listing of raw symbols and C names.
 
13444
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
13445
 
 
13446
# Transform the output of nm in a proper C declaration.
 
13447
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
13448
 
 
13449
# Transform the output of nm in a C name address pair.
 
13450
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
13451
 
 
13452
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
13453
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
13454
 
 
13455
# The name of the directory that contains temporary libtool files.
 
13456
objdir=$objdir
 
13457
 
 
13458
# Shell to use when invoking shell scripts.
 
13459
SHELL=$lt_SHELL
 
13460
 
 
13461
# An echo program that does not interpret backslashes.
 
13462
ECHO=$lt_ECHO
 
13463
 
 
13464
# Used to examine libraries when file_magic_cmd begins with "file".
 
13465
MAGIC_CMD=$MAGIC_CMD
 
13466
 
 
13467
# Must we lock files when doing compilation?
 
13468
need_locks=$lt_need_locks
 
13469
 
 
13470
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
13471
DSYMUTIL=$lt_DSYMUTIL
 
13472
 
 
13473
# Tool to change global to local symbols on Mac OS X.
 
13474
NMEDIT=$lt_NMEDIT
 
13475
 
 
13476
# Tool to manipulate fat objects and archives on Mac OS X.
 
13477
LIPO=$lt_LIPO
 
13478
 
 
13479
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
13480
OTOOL=$lt_OTOOL
 
13481
 
 
13482
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
13483
OTOOL64=$lt_OTOOL64
 
13484
 
 
13485
# Old archive suffix (normally "a").
 
13486
libext=$libext
 
13487
 
 
13488
# Shared library suffix (normally ".so").
 
13489
shrext_cmds=$lt_shrext_cmds
 
13490
 
 
13491
# The commands to extract the exported symbol list from a shared archive.
 
13492
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
13493
 
 
13494
# Variables whose values should be saved in libtool wrapper scripts and
 
13495
# restored at link time.
 
13496
variables_saved_for_relink=$lt_variables_saved_for_relink
 
13497
 
 
13498
# Do we need the "lib" prefix for modules?
 
13499
need_lib_prefix=$need_lib_prefix
 
13500
 
 
13501
# Do we need a version for libraries?
 
13502
need_version=$need_version
 
13503
 
 
13504
# Library versioning type.
 
13505
version_type=$version_type
 
13506
 
 
13507
# Shared library runtime path variable.
 
13508
runpath_var=$runpath_var
 
13509
 
 
13510
# Shared library path variable.
 
13511
shlibpath_var=$shlibpath_var
 
13512
 
 
13513
# Is shlibpath searched before the hard-coded library search path?
 
13514
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
13515
 
 
13516
# Format of library name prefix.
 
13517
libname_spec=$lt_libname_spec
 
13518
 
 
13519
# List of archive names.  First name is the real one, the rest are links.
 
13520
# The last name is the one that the linker finds with -lNAME
 
13521
library_names_spec=$lt_library_names_spec
 
13522
 
 
13523
# The coded name of the library, if different from the real name.
 
13524
soname_spec=$lt_soname_spec
 
13525
 
 
13526
# Command to use after installation of a shared archive.
 
13527
postinstall_cmds=$lt_postinstall_cmds
 
13528
 
 
13529
# Command to use after uninstallation of a shared archive.
 
13530
postuninstall_cmds=$lt_postuninstall_cmds
 
13531
 
 
13532
# Commands used to finish a libtool library installation in a directory.
 
13533
finish_cmds=$lt_finish_cmds
 
13534
 
 
13535
# As "finish_cmds", except a single script fragment to be evaled but
 
13536
# not shown.
 
13537
finish_eval=$lt_finish_eval
 
13538
 
 
13539
# Whether we should hardcode library paths into libraries.
 
13540
hardcode_into_libs=$hardcode_into_libs
 
13541
 
 
13542
# Compile-time system search path for libraries.
 
13543
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
13544
 
 
13545
# Run-time system search path for libraries.
 
13546
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
13547
 
 
13548
# Whether dlopen is supported.
 
13549
dlopen_support=$enable_dlopen
 
13550
 
 
13551
# Whether dlopen of programs is supported.
 
13552
dlopen_self=$enable_dlopen_self
 
13553
 
 
13554
# Whether dlopen of statically linked programs is supported.
 
13555
dlopen_self_static=$enable_dlopen_self_static
 
13556
 
 
13557
# Commands to strip libraries.
 
13558
old_striplib=$lt_old_striplib
 
13559
striplib=$lt_striplib
 
13560
 
 
13561
 
 
13562
# The linker used to build libraries.
 
13563
LD=$lt_LD
 
13564
 
 
13565
# Commands used to build an old-style archive.
 
13566
old_archive_cmds=$lt_old_archive_cmds
 
13567
 
 
13568
# A language specific compiler.
 
13569
CC=$lt_compiler
 
13570
 
 
13571
# Is the compiler the GNU compiler?
 
13572
with_gcc=$GCC
 
13573
 
 
13574
# Compiler flag to turn off builtin functions.
 
13575
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
13576
 
 
13577
# How to pass a linker flag through the compiler.
 
13578
wl=$lt_lt_prog_compiler_wl
 
13579
 
 
13580
# Additional compiler flags for building library objects.
 
13581
pic_flag=$lt_lt_prog_compiler_pic
 
13582
 
 
13583
# Compiler flag to prevent dynamic linking.
 
13584
link_static_flag=$lt_lt_prog_compiler_static
 
13585
 
 
13586
# Does compiler simultaneously support -c and -o options?
 
13587
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
13588
 
 
13589
# Whether or not to add -lc for building shared libraries.
 
13590
build_libtool_need_lc=$archive_cmds_need_lc
 
13591
 
 
13592
# Whether or not to disallow shared libs when runtime libs are static.
 
13593
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
13594
 
 
13595
# Compiler flag to allow reflexive dlopens.
 
13596
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
13597
 
 
13598
# Compiler flag to generate shared objects directly from archives.
 
13599
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
13600
 
 
13601
# Whether the compiler copes with passing no objects directly.
 
13602
compiler_needs_object=$lt_compiler_needs_object
 
13603
 
 
13604
# Create an old-style archive from a shared archive.
 
13605
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
13606
 
 
13607
# Create a temporary old-style archive to link instead of a shared archive.
 
13608
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
13609
 
 
13610
# Commands used to build a shared archive.
 
13611
archive_cmds=$lt_archive_cmds
 
13612
archive_expsym_cmds=$lt_archive_expsym_cmds
 
13613
 
 
13614
# Commands used to build a loadable module if different from building
 
13615
# a shared archive.
 
13616
module_cmds=$lt_module_cmds
 
13617
module_expsym_cmds=$lt_module_expsym_cmds
 
13618
 
 
13619
# Whether we are building with GNU ld or not.
 
13620
with_gnu_ld=$lt_with_gnu_ld
 
13621
 
 
13622
# Flag that allows shared libraries with undefined symbols to be built.
 
13623
allow_undefined_flag=$lt_allow_undefined_flag
 
13624
 
 
13625
# Flag that enforces no undefined symbols.
 
13626
no_undefined_flag=$lt_no_undefined_flag
 
13627
 
 
13628
# Flag to hardcode \$libdir into a binary during linking.
 
13629
# This must work even if \$libdir does not exist
 
13630
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
13631
 
 
13632
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
13633
# during linking.  This must work even if \$libdir does not exist.
 
13634
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
13635
 
 
13636
# Whether we need a single "-rpath" flag with a separated argument.
 
13637
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
13638
 
 
13639
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
13640
# DIR into the resulting binary.
 
13641
hardcode_direct=$hardcode_direct
 
13642
 
 
13643
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
13644
# DIR into the resulting binary and the resulting library dependency is
 
13645
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
13646
# library is relocated.
 
13647
hardcode_direct_absolute=$hardcode_direct_absolute
 
13648
 
 
13649
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
13650
# into the resulting binary.
 
13651
hardcode_minus_L=$hardcode_minus_L
 
13652
 
 
13653
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
13654
# into the resulting binary.
 
13655
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
13656
 
 
13657
# Set to "yes" if building a shared library automatically hardcodes DIR
 
13658
# into the library and all subsequent libraries and executables linked
 
13659
# against it.
 
13660
hardcode_automatic=$hardcode_automatic
 
13661
 
 
13662
# Set to yes if linker adds runtime paths of dependent libraries
 
13663
# to runtime path list.
 
13664
inherit_rpath=$inherit_rpath
 
13665
 
 
13666
# Whether libtool must link a program against all its dependency libraries.
 
13667
link_all_deplibs=$link_all_deplibs
 
13668
 
 
13669
# Fix the shell variable \$srcfile for the compiler.
 
13670
fix_srcfile_path=$lt_fix_srcfile_path
 
13671
 
 
13672
# Set to "yes" if exported symbols are required.
 
13673
always_export_symbols=$always_export_symbols
 
13674
 
 
13675
# The commands to list exported symbols.
 
13676
export_symbols_cmds=$lt_export_symbols_cmds
 
13677
 
 
13678
# Symbols that should not be listed in the preloaded symbols.
 
13679
exclude_expsyms=$lt_exclude_expsyms
 
13680
 
 
13681
# Symbols that must always be exported.
 
13682
include_expsyms=$lt_include_expsyms
 
13683
 
 
13684
# Commands necessary for linking programs (against libraries) with templates.
 
13685
prelink_cmds=$lt_prelink_cmds
 
13686
 
 
13687
# Specify filename containing input files.
 
13688
file_list_spec=$lt_file_list_spec
 
13689
 
 
13690
# How to hardcode a shared library path into an executable.
 
13691
hardcode_action=$hardcode_action
 
13692
 
 
13693
# ### END LIBTOOL CONFIG
 
13694
 
 
13695
_LT_EOF
 
13696
 
 
13697
  case $host_os in
 
13698
  aix3*)
 
13699
    cat <<\_LT_EOF >> "$cfgfile"
 
13700
# AIX sometimes has problems with the GCC collect2 program.  For some
 
13701
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
13702
# vanish in a puff of smoke.
 
13703
if test "X${COLLECT_NAMES+set}" != Xset; then
 
13704
  COLLECT_NAMES=
 
13705
  export COLLECT_NAMES
 
13706
fi
 
13707
_LT_EOF
 
13708
    ;;
 
13709
  esac
 
13710
 
 
13711
  
 
13712
ltmain="$ac_aux_dir/ltmain.sh"
 
13713
 
 
13714
 
 
13715
  # We use sed instead of cat because bash on DJGPP gets confused if
 
13716
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
13717
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
13718
  # is reportedly fixed, but why not run on old versions too?
 
13719
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
13720
    || (rm -f "$cfgfile"; exit 1)
 
13721
 
 
13722
  case $xsi_shell in
 
13723
  yes)
 
13724
    cat << \_LT_EOF >> "$cfgfile"
 
13725
 
 
13726
# func_dirname file append nondir_replacement
 
13727
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
13728
# otherwise set result to NONDIR_REPLACEMENT.
 
13729
func_dirname ()
 
13730
{
 
13731
  case ${1} in
 
13732
    */*) func_dirname_result="${1%/*}${2}" ;;
 
13733
    *  ) func_dirname_result="${3}" ;;
 
13734
  esac
 
13735
}
 
13736
 
 
13737
# func_basename file
 
13738
func_basename ()
 
13739
{
 
13740
  func_basename_result="${1##*/}"
 
13741
}
 
13742
 
 
13743
# func_dirname_and_basename file append nondir_replacement
 
13744
# perform func_basename and func_dirname in a single function
 
13745
# call:
 
13746
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
13747
#             add APPEND to the result, otherwise set result
 
13748
#             to NONDIR_REPLACEMENT.
 
13749
#             value returned in "$func_dirname_result"
 
13750
#   basename: Compute filename of FILE.
 
13751
#             value retuned in "$func_basename_result"
 
13752
# Implementation must be kept synchronized with func_dirname
 
13753
# and func_basename. For efficiency, we do not delegate to
 
13754
# those functions but instead duplicate the functionality here.
 
13755
func_dirname_and_basename ()
 
13756
{
 
13757
  case ${1} in
 
13758
    */*) func_dirname_result="${1%/*}${2}" ;;
 
13759
    *  ) func_dirname_result="${3}" ;;
 
13760
  esac
 
13761
  func_basename_result="${1##*/}"
 
13762
}
 
13763
 
 
13764
# func_stripname prefix suffix name
 
13765
# strip PREFIX and SUFFIX off of NAME.
 
13766
# PREFIX and SUFFIX must not contain globbing or regex special
 
13767
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
13768
# dot (in which case that matches only a dot).
 
13769
func_stripname ()
 
13770
{
 
13771
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
13772
  # positional parameters, so assign one to ordinary parameter first.
 
13773
  func_stripname_result=${3}
 
13774
  func_stripname_result=${func_stripname_result#"${1}"}
 
13775
  func_stripname_result=${func_stripname_result%"${2}"}
 
13776
}
 
13777
 
 
13778
# func_opt_split
 
13779
func_opt_split ()
 
13780
{
 
13781
  func_opt_split_opt=${1%%=*}
 
13782
  func_opt_split_arg=${1#*=}
 
13783
}
 
13784
 
 
13785
# func_lo2o object
 
13786
func_lo2o ()
 
13787
{
 
13788
  case ${1} in
 
13789
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
13790
    *)    func_lo2o_result=${1} ;;
 
13791
  esac
 
13792
}
 
13793
 
 
13794
# func_xform libobj-or-source
 
13795
func_xform ()
 
13796
{
 
13797
  func_xform_result=${1%.*}.lo
 
13798
}
 
13799
 
 
13800
# func_arith arithmetic-term...
 
13801
func_arith ()
 
13802
{
 
13803
  func_arith_result=$(( $* ))
 
13804
}
 
13805
 
 
13806
# func_len string
 
13807
# STRING may not start with a hyphen.
 
13808
func_len ()
 
13809
{
 
13810
  func_len_result=${#1}
 
13811
}
 
13812
 
 
13813
_LT_EOF
 
13814
    ;;
 
13815
  *) # Bourne compatible functions.
 
13816
    cat << \_LT_EOF >> "$cfgfile"
 
13817
 
 
13818
# func_dirname file append nondir_replacement
 
13819
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
13820
# otherwise set result to NONDIR_REPLACEMENT.
 
13821
func_dirname ()
 
13822
{
 
13823
  # Extract subdirectory from the argument.
 
13824
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
13825
  if test "X$func_dirname_result" = "X${1}"; then
 
13826
    func_dirname_result="${3}"
 
13827
  else
 
13828
    func_dirname_result="$func_dirname_result${2}"
 
13829
  fi
 
13830
}
 
13831
 
 
13832
# func_basename file
 
13833
func_basename ()
 
13834
{
 
13835
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
13836
}
 
13837
 
 
13838
 
 
13839
# func_stripname prefix suffix name
 
13840
# strip PREFIX and SUFFIX off of NAME.
 
13841
# PREFIX and SUFFIX must not contain globbing or regex special
 
13842
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
13843
# dot (in which case that matches only a dot).
 
13844
# func_strip_suffix prefix name
 
13845
func_stripname ()
 
13846
{
 
13847
  case ${2} in
 
13848
    .*) func_stripname_result=`$ECHO "X${3}" \
 
13849
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
13850
    *)  func_stripname_result=`$ECHO "X${3}" \
 
13851
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
13852
  esac
 
13853
}
 
13854
 
 
13855
# sed scripts:
 
13856
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
13857
my_sed_long_arg='1s/^-[^=]*=//'
 
13858
 
 
13859
# func_opt_split
 
13860
func_opt_split ()
 
13861
{
 
13862
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
13863
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
13864
}
 
13865
 
 
13866
# func_lo2o object
 
13867
func_lo2o ()
 
13868
{
 
13869
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
13870
}
 
13871
 
 
13872
# func_xform libobj-or-source
 
13873
func_xform ()
 
13874
{
 
13875
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
13876
}
 
13877
 
 
13878
# func_arith arithmetic-term...
 
13879
func_arith ()
 
13880
{
 
13881
  func_arith_result=`expr "$@"`
 
13882
}
 
13883
 
 
13884
# func_len string
 
13885
# STRING may not start with a hyphen.
 
13886
func_len ()
 
13887
{
 
13888
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
13889
}
 
13890
 
 
13891
_LT_EOF
 
13892
esac
 
13893
 
 
13894
case $lt_shell_append in
 
13895
  yes)
 
13896
    cat << \_LT_EOF >> "$cfgfile"
 
13897
 
 
13898
# func_append var value
 
13899
# Append VALUE to the end of shell variable VAR.
 
13900
func_append ()
 
13901
{
 
13902
  eval "$1+=\$2"
 
13903
}
 
13904
_LT_EOF
 
13905
    ;;
 
13906
  *)
 
13907
    cat << \_LT_EOF >> "$cfgfile"
 
13908
 
 
13909
# func_append var value
 
13910
# Append VALUE to the end of shell variable VAR.
 
13911
func_append ()
 
13912
{
 
13913
  eval "$1=\$$1\$2"
 
13914
}
 
13915
 
 
13916
_LT_EOF
 
13917
    ;;
 
13918
  esac
 
13919
 
 
13920
 
 
13921
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
13922
    || (rm -f "$cfgfile"; exit 1)
 
13923
 
 
13924
  mv -f "$cfgfile" "$ofile" ||
 
13925
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
13926
  chmod +x "$ofile"
 
13927
 
 
13928
 ;;
 
13929
 
 
13930
  esac
 
13931
done # for ac_tag
 
13932
 
 
13933
 
 
13934
as_fn_exit 0
 
13935
_ACEOF
 
13936
ac_clean_files=$ac_clean_files_save
 
13937
 
 
13938
test $ac_write_fail = 0 ||
 
13939
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 
 
13940
 
 
13941
 
 
13942
# configure is writing to config.log, and then calls config.status.
 
13943
# config.status does its own redirection, appending to config.log.
 
13944
# Unfortunately, on DOS this fails, as config.log is still kept open
 
13945
# by configure, so config.status won't be able to write to it; its
 
13946
# output is simply discarded.  So we exec the FD to /dev/null,
 
13947
# effectively closing config.log, so it can be properly (re)opened and
 
13948
# appended to by config.status.  When coming back to configure, we
 
13949
# need to make the FD available again.
 
13950
if test "$no_create" != yes; then
 
13951
  ac_cs_success=:
 
13952
  ac_config_status_args=
 
13953
  test "$silent" = yes &&
 
13954
    ac_config_status_args="$ac_config_status_args --quiet"
 
13955
  exec 5>/dev/null
 
13956
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
13957
  exec 5>>config.log
 
13958
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
13959
  # would make configure fail if this is the last instruction.
 
13960
  $ac_cs_success || as_fn_exit 1
 
13961
fi
 
13962
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
13963
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
13964
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
13965
fi
 
13966