~ubuntu-branches/ubuntu/oneiric/libee/oneiric

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Pierre Chifflier
  • Date: 2010-12-11 12:37:09 UTC
  • Revision ID: james.westby@ubuntu.com-20101211123709-i8v7mpdtzhgjoqn5
Tags: upstream-0.1.0
ImportĀ upstreamĀ versionĀ 0.1.0

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.65 for libee 0.1.0.
 
4
#
 
5
# Report bugs to <rgerhards@adiscon.com>.
 
6
#
 
7
#
 
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
 
10
# Inc.
 
11
#
 
12
#
 
13
# This configure script is free software; the Free Software Foundation
 
14
# gives unlimited permission to copy, distribute and modify it.
 
15
## -------------------- ##
 
16
## M4sh Initialization. ##
 
17
## -------------------- ##
 
18
 
 
19
# Be more Bourne compatible
 
20
DUALCASE=1; export DUALCASE # for MKS sh
 
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
22
  emulate sh
 
23
  NULLCMD=:
 
24
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
25
  # is contrary to our usage.  Disable this feature.
 
26
  alias -g '${1+"$@"}'='"$@"'
 
27
  setopt NO_GLOB_SUBST
 
28
else
 
29
  case `(set -o) 2>/dev/null` in #(
 
30
  *posix*) :
 
31
    set -o posix ;; #(
 
32
  *) :
 
33
     ;;
 
34
esac
 
35
fi
 
36
 
 
37
 
 
38
as_nl='
 
39
'
 
40
export as_nl
 
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
46
# but without wasting forks for bash or zsh.
 
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
48
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
49
  as_echo='print -r --'
 
50
  as_echo_n='print -rn --'
 
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
52
  as_echo='printf %s\n'
 
53
  as_echo_n='printf %s'
 
54
else
 
55
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
56
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
57
    as_echo_n='/usr/ucb/echo -n'
 
58
  else
 
59
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
60
    as_echo_n_body='eval
 
61
      arg=$1;
 
62
      case $arg in #(
 
63
      *"$as_nl"*)
 
64
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
65
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
66
      esac;
 
67
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
68
    '
 
69
    export as_echo_n_body
 
70
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
71
  fi
 
72
  export as_echo_body
 
73
  as_echo='sh -c $as_echo_body as_echo'
 
74
fi
 
75
 
 
76
# The user is always right.
 
77
if test "${PATH_SEPARATOR+set}" != set; then
 
78
  PATH_SEPARATOR=:
 
79
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
80
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
81
      PATH_SEPARATOR=';'
 
82
  }
 
83
fi
 
84
 
 
85
 
 
86
# IFS
 
87
# We need space, tab and new line, in precisely that order.  Quoting is
 
88
# there to prevent editors from complaining about space-tab.
 
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
90
# splitting by setting IFS to empty value.)
 
91
IFS=" ""        $as_nl"
 
92
 
 
93
# Find who we are.  Look in the path if we contain no directory separator.
 
94
case $0 in #((
 
95
  *[\\/]* ) as_myself=$0 ;;
 
96
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
97
for as_dir in $PATH
 
98
do
 
99
  IFS=$as_save_IFS
 
100
  test -z "$as_dir" && as_dir=.
 
101
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
102
  done
 
103
IFS=$as_save_IFS
 
104
 
 
105
     ;;
 
106
esac
 
107
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
108
# in which case we are not to be found in the path.
 
109
if test "x$as_myself" = x; then
 
110
  as_myself=$0
 
111
fi
 
112
if test ! -f "$as_myself"; then
 
113
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
114
  exit 1
 
115
fi
 
116
 
 
117
# Unset variables that we do not need and which cause bugs (e.g. in
 
118
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
119
# suppresses any "Segmentation fault" message there.  '((' could
 
120
# trigger a bug in pdksh 5.2.14.
 
121
for as_var in BASH_ENV ENV MAIL MAILPATH
 
122
do eval test x\${$as_var+set} = xset \
 
123
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
124
done
 
125
PS1='$ '
 
126
PS2='> '
 
127
PS4='+ '
 
128
 
 
129
# NLS nuisances.
 
130
LC_ALL=C
 
131
export LC_ALL
 
132
LANGUAGE=C
 
133
export LANGUAGE
 
134
 
 
135
# CDPATH.
 
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
137
 
 
138
if test "x$CONFIG_SHELL" = x; then
 
139
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
140
  emulate sh
 
141
  NULLCMD=:
 
142
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
143
  # is contrary to our usage.  Disable this feature.
 
144
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
145
  setopt NO_GLOB_SUBST
 
146
else
 
147
  case \`(set -o) 2>/dev/null\` in #(
 
148
  *posix*) :
 
149
    set -o posix ;; #(
 
150
  *) :
 
151
     ;;
 
152
esac
 
153
fi
 
154
"
 
155
  as_required="as_fn_return () { (exit \$1); }
 
156
as_fn_success () { as_fn_return 0; }
 
157
as_fn_failure () { as_fn_return 1; }
 
158
as_fn_ret_success () { return 0; }
 
159
as_fn_ret_failure () { return 1; }
 
160
 
 
161
exitcode=0
 
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
167
 
 
168
else
 
169
  exitcode=1; echo positional parameters were not saved.
 
170
fi
 
171
test x\$exitcode = x0 || exit 1"
 
172
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
173
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
174
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
175
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
176
test \$(( 1 + 1 )) = 2 || exit 1"
 
177
  if (eval "$as_required") 2>/dev/null; then :
 
178
  as_have_required=yes
 
179
else
 
180
  as_have_required=no
 
181
fi
 
182
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
183
 
 
184
else
 
185
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
186
as_found=false
 
187
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
188
do
 
189
  IFS=$as_save_IFS
 
190
  test -z "$as_dir" && as_dir=.
 
191
  as_found=:
 
192
  case $as_dir in #(
 
193
         /*)
 
194
           for as_base in sh bash ksh sh5; do
 
195
             # Try only shells that exist, to save several forks.
 
196
             as_shell=$as_dir/$as_base
 
197
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
198
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
199
  CONFIG_SHELL=$as_shell as_have_required=yes
 
200
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
201
  break 2
 
202
fi
 
203
fi
 
204
           done;;
 
205
       esac
 
206
  as_found=false
 
207
done
 
208
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
209
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
210
  CONFIG_SHELL=$SHELL as_have_required=yes
 
211
fi; }
 
212
IFS=$as_save_IFS
 
213
 
 
214
 
 
215
      if test "x$CONFIG_SHELL" != x; then :
 
216
  # We cannot yet assume a decent shell, so we have to provide a
 
217
        # neutralization value for shells without unset; and this also
 
218
        # works around shells that cannot unset nonexistent variables.
 
219
        BASH_ENV=/dev/null
 
220
        ENV=/dev/null
 
221
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
222
        export CONFIG_SHELL
 
223
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
224
fi
 
225
 
 
226
    if test x$as_have_required = xno; then :
 
227
  $as_echo "$0: This script requires a shell more modern than all"
 
228
  $as_echo "$0: the shells that I found on your system."
 
229
  if test x${ZSH_VERSION+set} = xset ; then
 
230
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
231
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
232
  else
 
233
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
234
$0: rgerhards@adiscon.com about your system, including any
 
235
$0: error possibly output before this message. Then install
 
236
$0: a modern shell, or manually run the script under such a
 
237
$0: shell if you do have one."
 
238
  fi
 
239
  exit 1
 
240
fi
 
241
fi
 
242
fi
 
243
SHELL=${CONFIG_SHELL-/bin/sh}
 
244
export SHELL
 
245
# Unset more variables known to interfere with behavior of common tools.
 
246
CLICOLOR_FORCE= GREP_OPTIONS=
 
247
unset CLICOLOR_FORCE GREP_OPTIONS
 
248
 
 
249
## --------------------- ##
 
250
## M4sh Shell Functions. ##
 
251
## --------------------- ##
 
252
# as_fn_unset VAR
 
253
# ---------------
 
254
# Portably unset VAR.
 
255
as_fn_unset ()
 
256
{
 
257
  { eval $1=; unset $1;}
 
258
}
 
259
as_unset=as_fn_unset
 
260
 
 
261
# as_fn_set_status STATUS
 
262
# -----------------------
 
263
# Set $? to STATUS, without forking.
 
264
as_fn_set_status ()
 
265
{
 
266
  return $1
 
267
} # as_fn_set_status
 
268
 
 
269
# as_fn_exit STATUS
 
270
# -----------------
 
271
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
272
as_fn_exit ()
 
273
{
 
274
  set +e
 
275
  as_fn_set_status $1
 
276
  exit $1
 
277
} # as_fn_exit
 
278
 
 
279
# as_fn_mkdir_p
 
280
# -------------
 
281
# Create "$as_dir" as a directory, including parents if necessary.
 
282
as_fn_mkdir_p ()
 
283
{
 
284
 
 
285
  case $as_dir in #(
 
286
  -*) as_dir=./$as_dir;;
 
287
  esac
 
288
  test -d "$as_dir" || eval $as_mkdir_p || {
 
289
    as_dirs=
 
290
    while :; do
 
291
      case $as_dir in #(
 
292
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
293
      *) as_qdir=$as_dir;;
 
294
      esac
 
295
      as_dirs="'$as_qdir' $as_dirs"
 
296
      as_dir=`$as_dirname -- "$as_dir" ||
 
297
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
298
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
299
         X"$as_dir" : 'X\(//\)$' \| \
 
300
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
301
$as_echo X"$as_dir" |
 
302
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
303
            s//\1/
 
304
            q
 
305
          }
 
306
          /^X\(\/\/\)[^/].*/{
 
307
            s//\1/
 
308
            q
 
309
          }
 
310
          /^X\(\/\/\)$/{
 
311
            s//\1/
 
312
            q
 
313
          }
 
314
          /^X\(\/\).*/{
 
315
            s//\1/
 
316
            q
 
317
          }
 
318
          s/.*/./; q'`
 
319
      test -d "$as_dir" && break
 
320
    done
 
321
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
322
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
323
 
 
324
 
 
325
} # as_fn_mkdir_p
 
326
# as_fn_append VAR VALUE
 
327
# ----------------------
 
328
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
329
# advantage of any shell optimizations that allow amortized linear growth over
 
330
# repeated appends, instead of the typical quadratic growth present in naive
 
331
# implementations.
 
332
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
333
  eval 'as_fn_append ()
 
334
  {
 
335
    eval $1+=\$2
 
336
  }'
 
337
else
 
338
  as_fn_append ()
 
339
  {
 
340
    eval $1=\$$1\$2
 
341
  }
 
342
fi # as_fn_append
 
343
 
 
344
# as_fn_arith ARG...
 
345
# ------------------
 
346
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
347
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
348
# must be portable across $(()) and expr.
 
349
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
350
  eval 'as_fn_arith ()
 
351
  {
 
352
    as_val=$(( $* ))
 
353
  }'
 
354
else
 
355
  as_fn_arith ()
 
356
  {
 
357
    as_val=`expr "$@" || test $? -eq 1`
 
358
  }
 
359
fi # as_fn_arith
 
360
 
 
361
 
 
362
# as_fn_error ERROR [LINENO LOG_FD]
 
363
# ---------------------------------
 
364
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
365
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
366
# script with status $?, using 1 if that was 0.
 
367
as_fn_error ()
 
368
{
 
369
  as_status=$?; test $as_status -eq 0 && as_status=1
 
370
  if test "$3"; then
 
371
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
372
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
373
  fi
 
374
  $as_echo "$as_me: error: $1" >&2
 
375
  as_fn_exit $as_status
 
376
} # as_fn_error
 
377
 
 
378
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
379
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
380
  as_expr=expr
 
381
else
 
382
  as_expr=false
 
383
fi
 
384
 
 
385
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
386
  as_basename=basename
 
387
else
 
388
  as_basename=false
 
389
fi
 
390
 
 
391
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
392
  as_dirname=dirname
 
393
else
 
394
  as_dirname=false
 
395
fi
 
396
 
 
397
as_me=`$as_basename -- "$0" ||
 
398
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
399
         X"$0" : 'X\(//\)$' \| \
 
400
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
401
$as_echo X/"$0" |
 
402
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
403
            s//\1/
 
404
            q
 
405
          }
 
406
          /^X\/\(\/\/\)$/{
 
407
            s//\1/
 
408
            q
 
409
          }
 
410
          /^X\/\(\/\).*/{
 
411
            s//\1/
 
412
            q
 
413
          }
 
414
          s/.*/./; q'`
 
415
 
 
416
# Avoid depending upon Character Ranges.
 
417
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
418
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
419
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
420
as_cr_digits='0123456789'
 
421
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
422
 
 
423
 
 
424
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
425
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
426
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
427
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
428
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
 
429
  sed -n '
 
430
    p
 
431
    /[$]LINENO/=
 
432
  ' <$as_myself |
 
433
    sed '
 
434
      s/[$]LINENO.*/&-/
 
435
      t lineno
 
436
      b
 
437
      :lineno
 
438
      N
 
439
      :loop
 
440
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
441
      t loop
 
442
      s/-\n.*//
 
443
    ' >$as_me.lineno &&
 
444
  chmod +x "$as_me.lineno" ||
 
445
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
 
446
 
 
447
  # Don't try to exec as it changes $[0], causing all sort of problems
 
448
  # (the dirname of $[0] is not the place where we might find the
 
449
  # original and so on.  Autoconf is especially sensitive to this).
 
450
  . "./$as_me.lineno"
 
451
  # Exit status is that of the last command.
 
452
  exit
 
453
}
 
454
 
 
455
ECHO_C= ECHO_N= ECHO_T=
 
456
case `echo -n x` in #(((((
 
457
-n*)
 
458
  case `echo 'xy\c'` in
 
459
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
460
  xy)  ECHO_C='\c';;
 
461
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
462
       ECHO_T=' ';;
 
463
  esac;;
 
464
*)
 
465
  ECHO_N='-n';;
 
466
esac
 
467
 
 
468
rm -f conf$$ conf$$.exe conf$$.file
 
469
if test -d conf$$.dir; then
 
470
  rm -f conf$$.dir/conf$$.file
 
471
else
 
472
  rm -f conf$$.dir
 
473
  mkdir conf$$.dir 2>/dev/null
 
474
fi
 
475
if (echo >conf$$.file) 2>/dev/null; then
 
476
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
477
    as_ln_s='ln -s'
 
478
    # ... but there are two gotchas:
 
479
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
480
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
481
    # In both cases, we have to default to `cp -p'.
 
482
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
483
      as_ln_s='cp -p'
 
484
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
485
    as_ln_s=ln
 
486
  else
 
487
    as_ln_s='cp -p'
 
488
  fi
 
489
else
 
490
  as_ln_s='cp -p'
 
491
fi
 
492
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
493
rmdir conf$$.dir 2>/dev/null
 
494
 
 
495
if mkdir -p . 2>/dev/null; then
 
496
  as_mkdir_p='mkdir -p "$as_dir"'
 
497
else
 
498
  test -d ./-p && rmdir ./-p
 
499
  as_mkdir_p=false
 
500
fi
 
501
 
 
502
if test -x / >/dev/null 2>&1; then
 
503
  as_test_x='test -x'
 
504
else
 
505
  if ls -dL / >/dev/null 2>&1; then
 
506
    as_ls_L_option=L
 
507
  else
 
508
    as_ls_L_option=
 
509
  fi
 
510
  as_test_x='
 
511
    eval sh -c '\''
 
512
      if test -d "$1"; then
 
513
        test -d "$1/.";
 
514
      else
 
515
        case $1 in #(
 
516
        -*)set "./$1";;
 
517
        esac;
 
518
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
519
        ???[sx]*):;;*)false;;esac;fi
 
520
    '\'' sh
 
521
  '
 
522
fi
 
523
as_executable_p=$as_test_x
 
524
 
 
525
# Sed expression to map a string onto a valid CPP name.
 
526
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
527
 
 
528
# Sed expression to map a string onto a valid variable name.
 
529
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
530
 
 
531
 
 
532
 
 
533
# Check that we are running under the correct shell.
 
534
SHELL=${CONFIG_SHELL-/bin/sh}
 
535
 
 
536
case X$lt_ECHO in
 
537
X*--fallback-echo)
 
538
  # Remove one level of quotation (which was required for Make).
 
539
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
 
540
  ;;
 
541
esac
 
542
 
 
543
ECHO=${lt_ECHO-echo}
 
544
if test "X$1" = X--no-reexec; then
 
545
  # Discard the --no-reexec flag, and continue.
 
546
  shift
 
547
elif test "X$1" = X--fallback-echo; then
 
548
  # Avoid inline document here, it may be left over
 
549
  :
 
550
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
 
551
  # Yippee, $ECHO works!
 
552
  :
 
553
else
 
554
  # Restart under the correct shell.
 
555
  exec $SHELL "$0" --no-reexec ${1+"$@"}
 
556
fi
 
557
 
 
558
if test "X$1" = X--fallback-echo; then
 
559
  # used as fallback echo
 
560
  shift
 
561
  cat <<_LT_EOF
 
562
$*
 
563
_LT_EOF
 
564
  exit 0
 
565
fi
 
566
 
 
567
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
568
# if CDPATH is set.
 
569
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
570
 
 
571
if test -z "$lt_ECHO"; then
 
572
  if test "X${echo_test_string+set}" != Xset; then
 
573
    # find a string as large as possible, as long as the shell can cope with it
 
574
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
 
575
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
576
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
 
577
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
 
578
      then
 
579
        break
 
580
      fi
 
581
    done
 
582
  fi
 
583
 
 
584
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
585
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
586
     test "X$echo_testing_string" = "X$echo_test_string"; then
 
587
    :
 
588
  else
 
589
    # The Solaris, AIX, and Digital Unix default echo programs unquote
 
590
    # backslashes.  This makes it impossible to quote backslashes using
 
591
    #   echo "$something" | sed 's/\\/\\\\/g'
 
592
    #
 
593
    # So, first we look for a working echo in the user's PATH.
 
594
 
 
595
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
596
    for dir in $PATH /usr/ucb; do
 
597
      IFS="$lt_save_ifs"
 
598
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
599
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
600
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
601
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
602
        ECHO="$dir/echo"
 
603
        break
 
604
      fi
 
605
    done
 
606
    IFS="$lt_save_ifs"
 
607
 
 
608
    if test "X$ECHO" = Xecho; then
 
609
      # We didn't find a better echo, so look for alternatives.
 
610
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
 
611
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
 
612
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
613
        # This shell has a builtin print -r that does the trick.
 
614
        ECHO='print -r'
 
615
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
 
616
           test "X$CONFIG_SHELL" != X/bin/ksh; then
 
617
        # If we have ksh, try running configure again with it.
 
618
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
619
        export ORIGINAL_CONFIG_SHELL
 
620
        CONFIG_SHELL=/bin/ksh
 
621
        export CONFIG_SHELL
 
622
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
 
623
      else
 
624
        # Try using printf.
 
625
        ECHO='printf %s\n'
 
626
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
627
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
628
           test "X$echo_testing_string" = "X$echo_test_string"; then
 
629
          # Cool, printf works
 
630
          :
 
631
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
632
             test "X$echo_testing_string" = 'X\t' &&
 
633
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
634
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
635
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
636
          export CONFIG_SHELL
 
637
          SHELL="$CONFIG_SHELL"
 
638
          export SHELL
 
639
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
640
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
641
             test "X$echo_testing_string" = 'X\t' &&
 
642
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
643
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
644
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
645
        else
 
646
          # maybe with a smaller string...
 
647
          prev=:
 
648
 
 
649
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
 
650
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
 
651
            then
 
652
              break
 
653
            fi
 
654
            prev="$cmd"
 
655
          done
 
656
 
 
657
          if test "$prev" != 'sed 50q "$0"'; then
 
658
            echo_test_string=`eval $prev`
 
659
            export echo_test_string
 
660
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
 
661
          else
 
662
            # Oops.  We lost completely, so just stick with echo.
 
663
            ECHO=echo
 
664
          fi
 
665
        fi
 
666
      fi
 
667
    fi
 
668
  fi
 
669
fi
 
670
 
 
671
# Copy echo and quote the copy suitably for passing to libtool from
 
672
# the Makefile, instead of quoting the original, which is used later.
 
673
lt_ECHO=$ECHO
 
674
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
 
675
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
 
676
fi
 
677
 
 
678
 
 
679
 
 
680
 
 
681
test -n "$DJDIR" || exec 7<&0 </dev/null
 
682
exec 6>&1
 
683
 
 
684
# Name of the host.
 
685
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
686
# so uname gets run too.
 
687
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
688
 
 
689
#
 
690
# Initializations.
 
691
#
 
692
ac_default_prefix=/usr/local
 
693
ac_clean_files=
 
694
ac_config_libobj_dir=.
 
695
LIBOBJS=
 
696
cross_compiling=no
 
697
subdirs=
 
698
MFLAGS=
 
699
MAKEFLAGS=
 
700
 
 
701
# Identity of this package.
 
702
PACKAGE_NAME='libee'
 
703
PACKAGE_TARNAME='libee'
 
704
PACKAGE_VERSION='0.1.0'
 
705
PACKAGE_STRING='libee 0.1.0'
 
706
PACKAGE_BUGREPORT='rgerhards@adiscon.com'
 
707
PACKAGE_URL=''
 
708
 
 
709
ac_unique_file="src/ctx.c"
 
710
# Factoring default headers for most tests.
 
711
ac_includes_default="\
 
712
#include <stdio.h>
 
713
#ifdef HAVE_SYS_TYPES_H
 
714
# include <sys/types.h>
 
715
#endif
 
716
#ifdef HAVE_SYS_STAT_H
 
717
# include <sys/stat.h>
 
718
#endif
 
719
#ifdef STDC_HEADERS
 
720
# include <stdlib.h>
 
721
# include <stddef.h>
 
722
#else
 
723
# ifdef HAVE_STDLIB_H
 
724
#  include <stdlib.h>
 
725
# endif
 
726
#endif
 
727
#ifdef HAVE_STRING_H
 
728
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 
729
#  include <memory.h>
 
730
# endif
 
731
# include <string.h>
 
732
#endif
 
733
#ifdef HAVE_STRINGS_H
 
734
# include <strings.h>
 
735
#endif
 
736
#ifdef HAVE_INTTYPES_H
 
737
# include <inttypes.h>
 
738
#endif
 
739
#ifdef HAVE_STDINT_H
 
740
# include <stdint.h>
 
741
#endif
 
742
#ifdef HAVE_UNISTD_H
 
743
# include <unistd.h>
 
744
#endif"
 
745
 
 
746
ac_subst_vars='am__EXEEXT_FALSE
 
747
am__EXEEXT_TRUE
 
748
LTLIBOBJS
 
749
ENABLE_DEBUG_FALSE
 
750
ENABLE_DEBUG_TRUE
 
751
ENABLE_TESTBENCH_FALSE
 
752
ENABLE_TESTBENCH_TRUE
 
753
LIBESTR_LIBS
 
754
LIBESTR_CFLAGS
 
755
PKG_CONFIG
 
756
LIBEE_LIBS
 
757
LIBEE_CFLAGS
 
758
LIBOBJS
 
759
rt_libs
 
760
LIBXML2_LIBS
 
761
LIBXML2_CFLAGS
 
762
HAVE_LIBXML2_CONFIG
 
763
CPP
 
764
OTOOL64
 
765
OTOOL
 
766
LIPO
 
767
NMEDIT
 
768
DSYMUTIL
 
769
lt_ECHO
 
770
RANLIB
 
771
AR
 
772
OBJDUMP
 
773
LN_S
 
774
NM
 
775
ac_ct_DUMPBIN
 
776
DUMPBIN
 
777
LD
 
778
FGREP
 
779
EGREP
 
780
GREP
 
781
SED
 
782
host_os
 
783
host_vendor
 
784
host_cpu
 
785
host
 
786
build_os
 
787
build_vendor
 
788
build_cpu
 
789
build
 
790
LIBTOOL
 
791
am__fastdepCC_FALSE
 
792
am__fastdepCC_TRUE
 
793
CCDEPMODE
 
794
AMDEPBACKSLASH
 
795
AMDEP_FALSE
 
796
AMDEP_TRUE
 
797
am__quote
 
798
am__include
 
799
DEPDIR
 
800
OBJEXT
 
801
EXEEXT
 
802
ac_ct_CC
 
803
CPPFLAGS
 
804
LDFLAGS
 
805
CFLAGS
 
806
CC
 
807
AM_BACKSLASH
 
808
AM_DEFAULT_VERBOSITY
 
809
am__untar
 
810
am__tar
 
811
AMTAR
 
812
am__leading_dot
 
813
SET_MAKE
 
814
AWK
 
815
mkdir_p
 
816
MKDIR_P
 
817
INSTALL_STRIP_PROGRAM
 
818
STRIP
 
819
install_sh
 
820
MAKEINFO
 
821
AUTOHEADER
 
822
AUTOMAKE
 
823
AUTOCONF
 
824
ACLOCAL
 
825
VERSION
 
826
PACKAGE
 
827
CYGPATH_W
 
828
am__isrc
 
829
INSTALL_DATA
 
830
INSTALL_SCRIPT
 
831
INSTALL_PROGRAM
 
832
target_alias
 
833
host_alias
 
834
build_alias
 
835
LIBS
 
836
ECHO_T
 
837
ECHO_N
 
838
ECHO_C
 
839
DEFS
 
840
mandir
 
841
localedir
 
842
libdir
 
843
psdir
 
844
pdfdir
 
845
dvidir
 
846
htmldir
 
847
infodir
 
848
docdir
 
849
oldincludedir
 
850
includedir
 
851
localstatedir
 
852
sharedstatedir
 
853
sysconfdir
 
854
datadir
 
855
datarootdir
 
856
libexecdir
 
857
sbindir
 
858
bindir
 
859
program_transform_name
 
860
prefix
 
861
exec_prefix
 
862
PACKAGE_URL
 
863
PACKAGE_BUGREPORT
 
864
PACKAGE_STRING
 
865
PACKAGE_VERSION
 
866
PACKAGE_TARNAME
 
867
PACKAGE_NAME
 
868
PATH_SEPARATOR
 
869
SHELL'
 
870
ac_subst_files=''
 
871
ac_user_opts='
 
872
enable_option_checking
 
873
enable_silent_rules
 
874
enable_dependency_tracking
 
875
enable_shared
 
876
enable_static
 
877
with_pic
 
878
enable_fast_install
 
879
with_gnu_ld
 
880
enable_libtool_lock
 
881
enable_testbench
 
882
enable_debug
 
883
'
 
884
      ac_precious_vars='build_alias
 
885
host_alias
 
886
target_alias
 
887
CC
 
888
CFLAGS
 
889
LDFLAGS
 
890
LIBS
 
891
CPPFLAGS
 
892
CPP
 
893
PKG_CONFIG
 
894
LIBESTR_CFLAGS
 
895
LIBESTR_LIBS'
 
896
 
 
897
 
 
898
# Initialize some variables set by options.
 
899
ac_init_help=
 
900
ac_init_version=false
 
901
ac_unrecognized_opts=
 
902
ac_unrecognized_sep=
 
903
# The variables have the same names as the options, with
 
904
# dashes changed to underlines.
 
905
cache_file=/dev/null
 
906
exec_prefix=NONE
 
907
no_create=
 
908
no_recursion=
 
909
prefix=NONE
 
910
program_prefix=NONE
 
911
program_suffix=NONE
 
912
program_transform_name=s,x,x,
 
913
silent=
 
914
site=
 
915
srcdir=
 
916
verbose=
 
917
x_includes=NONE
 
918
x_libraries=NONE
 
919
 
 
920
# Installation directory options.
 
921
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
922
# and all the variables that are supposed to be based on exec_prefix
 
923
# by default will actually change.
 
924
# Use braces instead of parens because sh, perl, etc. also accept them.
 
925
# (The list follows the same order as the GNU Coding Standards.)
 
926
bindir='${exec_prefix}/bin'
 
927
sbindir='${exec_prefix}/sbin'
 
928
libexecdir='${exec_prefix}/libexec'
 
929
datarootdir='${prefix}/share'
 
930
datadir='${datarootdir}'
 
931
sysconfdir='${prefix}/etc'
 
932
sharedstatedir='${prefix}/com'
 
933
localstatedir='${prefix}/var'
 
934
includedir='${prefix}/include'
 
935
oldincludedir='/usr/include'
 
936
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
937
infodir='${datarootdir}/info'
 
938
htmldir='${docdir}'
 
939
dvidir='${docdir}'
 
940
pdfdir='${docdir}'
 
941
psdir='${docdir}'
 
942
libdir='${exec_prefix}/lib'
 
943
localedir='${datarootdir}/locale'
 
944
mandir='${datarootdir}/man'
 
945
 
 
946
ac_prev=
 
947
ac_dashdash=
 
948
for ac_option
 
949
do
 
950
  # If the previous option needs an argument, assign it.
 
951
  if test -n "$ac_prev"; then
 
952
    eval $ac_prev=\$ac_option
 
953
    ac_prev=
 
954
    continue
 
955
  fi
 
956
 
 
957
  case $ac_option in
 
958
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
959
  *)    ac_optarg=yes ;;
 
960
  esac
 
961
 
 
962
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
963
 
 
964
  case $ac_dashdash$ac_option in
 
965
  --)
 
966
    ac_dashdash=yes ;;
 
967
 
 
968
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
969
    ac_prev=bindir ;;
 
970
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
971
    bindir=$ac_optarg ;;
 
972
 
 
973
  -build | --build | --buil | --bui | --bu)
 
974
    ac_prev=build_alias ;;
 
975
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
976
    build_alias=$ac_optarg ;;
 
977
 
 
978
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
979
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
980
    ac_prev=cache_file ;;
 
981
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
982
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
983
    cache_file=$ac_optarg ;;
 
984
 
 
985
  --config-cache | -C)
 
986
    cache_file=config.cache ;;
 
987
 
 
988
  -datadir | --datadir | --datadi | --datad)
 
989
    ac_prev=datadir ;;
 
990
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
991
    datadir=$ac_optarg ;;
 
992
 
 
993
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
994
  | --dataroo | --dataro | --datar)
 
995
    ac_prev=datarootdir ;;
 
996
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
997
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
998
    datarootdir=$ac_optarg ;;
 
999
 
 
1000
  -disable-* | --disable-*)
 
1001
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1002
    # Reject names that are not valid shell variable names.
 
1003
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1004
      as_fn_error "invalid feature name: $ac_useropt"
 
1005
    ac_useropt_orig=$ac_useropt
 
1006
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1007
    case $ac_user_opts in
 
1008
      *"
 
1009
"enable_$ac_useropt"
 
1010
"*) ;;
 
1011
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1012
         ac_unrecognized_sep=', ';;
 
1013
    esac
 
1014
    eval enable_$ac_useropt=no ;;
 
1015
 
 
1016
  -docdir | --docdir | --docdi | --doc | --do)
 
1017
    ac_prev=docdir ;;
 
1018
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1019
    docdir=$ac_optarg ;;
 
1020
 
 
1021
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1022
    ac_prev=dvidir ;;
 
1023
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1024
    dvidir=$ac_optarg ;;
 
1025
 
 
1026
  -enable-* | --enable-*)
 
1027
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1028
    # Reject names that are not valid shell variable names.
 
1029
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1030
      as_fn_error "invalid feature name: $ac_useropt"
 
1031
    ac_useropt_orig=$ac_useropt
 
1032
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1033
    case $ac_user_opts in
 
1034
      *"
 
1035
"enable_$ac_useropt"
 
1036
"*) ;;
 
1037
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1038
         ac_unrecognized_sep=', ';;
 
1039
    esac
 
1040
    eval enable_$ac_useropt=\$ac_optarg ;;
 
1041
 
 
1042
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
1043
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
1044
  | --exec | --exe | --ex)
 
1045
    ac_prev=exec_prefix ;;
 
1046
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
1047
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
1048
  | --exec=* | --exe=* | --ex=*)
 
1049
    exec_prefix=$ac_optarg ;;
 
1050
 
 
1051
  -gas | --gas | --ga | --g)
 
1052
    # Obsolete; use --with-gas.
 
1053
    with_gas=yes ;;
 
1054
 
 
1055
  -help | --help | --hel | --he | -h)
 
1056
    ac_init_help=long ;;
 
1057
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
1058
    ac_init_help=recursive ;;
 
1059
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
1060
    ac_init_help=short ;;
 
1061
 
 
1062
  -host | --host | --hos | --ho)
 
1063
    ac_prev=host_alias ;;
 
1064
  -host=* | --host=* | --hos=* | --ho=*)
 
1065
    host_alias=$ac_optarg ;;
 
1066
 
 
1067
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1068
    ac_prev=htmldir ;;
 
1069
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1070
  | --ht=*)
 
1071
    htmldir=$ac_optarg ;;
 
1072
 
 
1073
  -includedir | --includedir | --includedi | --included | --include \
 
1074
  | --includ | --inclu | --incl | --inc)
 
1075
    ac_prev=includedir ;;
 
1076
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
1077
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
1078
    includedir=$ac_optarg ;;
 
1079
 
 
1080
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
1081
    ac_prev=infodir ;;
 
1082
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
1083
    infodir=$ac_optarg ;;
 
1084
 
 
1085
  -libdir | --libdir | --libdi | --libd)
 
1086
    ac_prev=libdir ;;
 
1087
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
1088
    libdir=$ac_optarg ;;
 
1089
 
 
1090
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
1091
  | --libexe | --libex | --libe)
 
1092
    ac_prev=libexecdir ;;
 
1093
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
1094
  | --libexe=* | --libex=* | --libe=*)
 
1095
    libexecdir=$ac_optarg ;;
 
1096
 
 
1097
  -localedir | --localedir | --localedi | --localed | --locale)
 
1098
    ac_prev=localedir ;;
 
1099
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1100
    localedir=$ac_optarg ;;
 
1101
 
 
1102
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
1103
  | --localstate | --localstat | --localsta | --localst | --locals)
 
1104
    ac_prev=localstatedir ;;
 
1105
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
1106
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
1107
    localstatedir=$ac_optarg ;;
 
1108
 
 
1109
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
1110
    ac_prev=mandir ;;
 
1111
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
1112
    mandir=$ac_optarg ;;
 
1113
 
 
1114
  -nfp | --nfp | --nf)
 
1115
    # Obsolete; use --without-fp.
 
1116
    with_fp=no ;;
 
1117
 
 
1118
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
1119
  | --no-cr | --no-c | -n)
 
1120
    no_create=yes ;;
 
1121
 
 
1122
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
1123
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
1124
    no_recursion=yes ;;
 
1125
 
 
1126
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
1127
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
1128
  | --oldin | --oldi | --old | --ol | --o)
 
1129
    ac_prev=oldincludedir ;;
 
1130
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
1131
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
1132
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
1133
    oldincludedir=$ac_optarg ;;
 
1134
 
 
1135
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
1136
    ac_prev=prefix ;;
 
1137
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
1138
    prefix=$ac_optarg ;;
 
1139
 
 
1140
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
1141
  | --program-pre | --program-pr | --program-p)
 
1142
    ac_prev=program_prefix ;;
 
1143
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
1144
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
1145
    program_prefix=$ac_optarg ;;
 
1146
 
 
1147
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
1148
  | --program-suf | --program-su | --program-s)
 
1149
    ac_prev=program_suffix ;;
 
1150
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
1151
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
1152
    program_suffix=$ac_optarg ;;
 
1153
 
 
1154
  -program-transform-name | --program-transform-name \
 
1155
  | --program-transform-nam | --program-transform-na \
 
1156
  | --program-transform-n | --program-transform- \
 
1157
  | --program-transform | --program-transfor \
 
1158
  | --program-transfo | --program-transf \
 
1159
  | --program-trans | --program-tran \
 
1160
  | --progr-tra | --program-tr | --program-t)
 
1161
    ac_prev=program_transform_name ;;
 
1162
  -program-transform-name=* | --program-transform-name=* \
 
1163
  | --program-transform-nam=* | --program-transform-na=* \
 
1164
  | --program-transform-n=* | --program-transform-=* \
 
1165
  | --program-transform=* | --program-transfor=* \
 
1166
  | --program-transfo=* | --program-transf=* \
 
1167
  | --program-trans=* | --program-tran=* \
 
1168
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
1169
    program_transform_name=$ac_optarg ;;
 
1170
 
 
1171
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1172
    ac_prev=pdfdir ;;
 
1173
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1174
    pdfdir=$ac_optarg ;;
 
1175
 
 
1176
  -psdir | --psdir | --psdi | --psd | --ps)
 
1177
    ac_prev=psdir ;;
 
1178
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1179
    psdir=$ac_optarg ;;
 
1180
 
 
1181
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1182
  | -silent | --silent | --silen | --sile | --sil)
 
1183
    silent=yes ;;
 
1184
 
 
1185
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
1186
    ac_prev=sbindir ;;
 
1187
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
1188
  | --sbi=* | --sb=*)
 
1189
    sbindir=$ac_optarg ;;
 
1190
 
 
1191
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
1192
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
1193
  | --sharedst | --shareds | --shared | --share | --shar \
 
1194
  | --sha | --sh)
 
1195
    ac_prev=sharedstatedir ;;
 
1196
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
1197
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
1198
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
1199
  | --sha=* | --sh=*)
 
1200
    sharedstatedir=$ac_optarg ;;
 
1201
 
 
1202
  -site | --site | --sit)
 
1203
    ac_prev=site ;;
 
1204
  -site=* | --site=* | --sit=*)
 
1205
    site=$ac_optarg ;;
 
1206
 
 
1207
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
1208
    ac_prev=srcdir ;;
 
1209
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
1210
    srcdir=$ac_optarg ;;
 
1211
 
 
1212
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
1213
  | --syscon | --sysco | --sysc | --sys | --sy)
 
1214
    ac_prev=sysconfdir ;;
 
1215
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
1216
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
1217
    sysconfdir=$ac_optarg ;;
 
1218
 
 
1219
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
1220
    ac_prev=target_alias ;;
 
1221
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
1222
    target_alias=$ac_optarg ;;
 
1223
 
 
1224
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
1225
    verbose=yes ;;
 
1226
 
 
1227
  -version | --version | --versio | --versi | --vers | -V)
 
1228
    ac_init_version=: ;;
 
1229
 
 
1230
  -with-* | --with-*)
 
1231
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1232
    # Reject names that are not valid shell variable names.
 
1233
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1234
      as_fn_error "invalid package name: $ac_useropt"
 
1235
    ac_useropt_orig=$ac_useropt
 
1236
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1237
    case $ac_user_opts in
 
1238
      *"
 
1239
"with_$ac_useropt"
 
1240
"*) ;;
 
1241
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1242
         ac_unrecognized_sep=', ';;
 
1243
    esac
 
1244
    eval with_$ac_useropt=\$ac_optarg ;;
 
1245
 
 
1246
  -without-* | --without-*)
 
1247
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1248
    # Reject names that are not valid shell variable names.
 
1249
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1250
      as_fn_error "invalid package name: $ac_useropt"
 
1251
    ac_useropt_orig=$ac_useropt
 
1252
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1253
    case $ac_user_opts in
 
1254
      *"
 
1255
"with_$ac_useropt"
 
1256
"*) ;;
 
1257
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1258
         ac_unrecognized_sep=', ';;
 
1259
    esac
 
1260
    eval with_$ac_useropt=no ;;
 
1261
 
 
1262
  --x)
 
1263
    # Obsolete; use --with-x.
 
1264
    with_x=yes ;;
 
1265
 
 
1266
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
1267
  | --x-incl | --x-inc | --x-in | --x-i)
 
1268
    ac_prev=x_includes ;;
 
1269
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
1270
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
1271
    x_includes=$ac_optarg ;;
 
1272
 
 
1273
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
1274
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
1275
    ac_prev=x_libraries ;;
 
1276
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
1277
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
1278
    x_libraries=$ac_optarg ;;
 
1279
 
 
1280
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1281
Try \`$0 --help' for more information."
 
1282
    ;;
 
1283
 
 
1284
  *=*)
 
1285
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
1286
    # Reject names that are not valid shell variable names.
 
1287
    case $ac_envvar in #(
 
1288
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1289
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1290
    esac
 
1291
    eval $ac_envvar=\$ac_optarg
 
1292
    export $ac_envvar ;;
 
1293
 
 
1294
  *)
 
1295
    # FIXME: should be removed in autoconf 3.0.
 
1296
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1297
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1298
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1299
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1300
    ;;
 
1301
 
 
1302
  esac
 
1303
done
 
1304
 
 
1305
if test -n "$ac_prev"; then
 
1306
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
1307
  as_fn_error "missing argument to $ac_option"
 
1308
fi
 
1309
 
 
1310
if test -n "$ac_unrecognized_opts"; then
 
1311
  case $enable_option_checking in
 
1312
    no) ;;
 
1313
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1314
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1315
  esac
 
1316
fi
 
1317
 
 
1318
# Check all directory arguments for consistency.
 
1319
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1320
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1321
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1322
                libdir localedir mandir
 
1323
do
 
1324
  eval ac_val=\$$ac_var
 
1325
  # Remove trailing slashes.
 
1326
  case $ac_val in
 
1327
    */ )
 
1328
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1329
      eval $ac_var=\$ac_val;;
 
1330
  esac
 
1331
  # Be sure to have absolute directory names.
 
1332
  case $ac_val in
 
1333
    [\\/$]* | ?:[\\/]* )  continue;;
 
1334
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1335
  esac
 
1336
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 
1337
done
 
1338
 
 
1339
# There might be people who depend on the old broken behavior: `$host'
 
1340
# used to hold the argument of --host etc.
 
1341
# FIXME: To remove some day.
 
1342
build=$build_alias
 
1343
host=$host_alias
 
1344
target=$target_alias
 
1345
 
 
1346
# FIXME: To remove some day.
 
1347
if test "x$host_alias" != x; then
 
1348
  if test "x$build_alias" = x; then
 
1349
    cross_compiling=maybe
 
1350
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1351
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1352
  elif test "x$build_alias" != "x$host_alias"; then
 
1353
    cross_compiling=yes
 
1354
  fi
 
1355
fi
 
1356
 
 
1357
ac_tool_prefix=
 
1358
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
1359
 
 
1360
test "$silent" = yes && exec 6>/dev/null
 
1361
 
 
1362
 
 
1363
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1364
ac_ls_di=`ls -di .` &&
 
1365
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1366
  as_fn_error "working directory cannot be determined"
 
1367
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1368
  as_fn_error "pwd does not report name of working directory"
 
1369
 
 
1370
 
 
1371
# Find the source files, if location was not specified.
 
1372
if test -z "$srcdir"; then
 
1373
  ac_srcdir_defaulted=yes
 
1374
  # Try the directory containing this script, then the parent directory.
 
1375
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1376
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1377
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1378
         X"$as_myself" : 'X\(//\)$' \| \
 
1379
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1380
$as_echo X"$as_myself" |
 
1381
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1382
            s//\1/
 
1383
            q
 
1384
          }
 
1385
          /^X\(\/\/\)[^/].*/{
 
1386
            s//\1/
 
1387
            q
 
1388
          }
 
1389
          /^X\(\/\/\)$/{
 
1390
            s//\1/
 
1391
            q
 
1392
          }
 
1393
          /^X\(\/\).*/{
 
1394
            s//\1/
 
1395
            q
 
1396
          }
 
1397
          s/.*/./; q'`
 
1398
  srcdir=$ac_confdir
 
1399
  if test ! -r "$srcdir/$ac_unique_file"; then
 
1400
    srcdir=..
 
1401
  fi
 
1402
else
 
1403
  ac_srcdir_defaulted=no
 
1404
fi
 
1405
if test ! -r "$srcdir/$ac_unique_file"; then
 
1406
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1407
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 
1408
fi
 
1409
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1410
ac_abs_confdir=`(
 
1411
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 
1412
        pwd)`
 
1413
# When building in place, set srcdir=.
 
1414
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1415
  srcdir=.
 
1416
fi
 
1417
# Remove unnecessary trailing slashes from srcdir.
 
1418
# Double slashes in file names in object file debugging info
 
1419
# mess up M-x gdb in Emacs.
 
1420
case $srcdir in
 
1421
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1422
esac
 
1423
for ac_var in $ac_precious_vars; do
 
1424
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1425
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1426
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1427
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1428
done
 
1429
 
 
1430
#
 
1431
# Report the --help message.
 
1432
#
 
1433
if test "$ac_init_help" = "long"; then
 
1434
  # Omit some internal or obsolete options to make the list less imposing.
 
1435
  # This message is too long to be a string in the A/UX 3.1 sh.
 
1436
  cat <<_ACEOF
 
1437
\`configure' configures libee 0.1.0 to adapt to many kinds of systems.
 
1438
 
 
1439
Usage: $0 [OPTION]... [VAR=VALUE]...
 
1440
 
 
1441
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
1442
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
1443
 
 
1444
Defaults for the options are specified in brackets.
 
1445
 
 
1446
Configuration:
 
1447
  -h, --help              display this help and exit
 
1448
      --help=short        display options specific to this package
 
1449
      --help=recursive    display the short help of all the included packages
 
1450
  -V, --version           display version information and exit
 
1451
  -q, --quiet, --silent   do not print \`checking...' messages
 
1452
      --cache-file=FILE   cache test results in FILE [disabled]
 
1453
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
1454
  -n, --no-create         do not create output files
 
1455
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
1456
 
 
1457
Installation directories:
 
1458
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
1459
                          [$ac_default_prefix]
 
1460
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
1461
                          [PREFIX]
 
1462
 
 
1463
By default, \`make install' will install all the files in
 
1464
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
1465
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
1466
for instance \`--prefix=\$HOME'.
 
1467
 
 
1468
For better control, use the options below.
 
1469
 
 
1470
Fine tuning of the installation directories:
 
1471
  --bindir=DIR            user executables [EPREFIX/bin]
 
1472
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1473
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1474
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1475
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1476
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1477
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1478
  --includedir=DIR        C header files [PREFIX/include]
 
1479
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1480
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1481
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1482
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1483
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1484
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1485
  --docdir=DIR            documentation root [DATAROOTDIR/doc/libee]
 
1486
  --htmldir=DIR           html documentation [DOCDIR]
 
1487
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1488
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1489
  --psdir=DIR             ps documentation [DOCDIR]
 
1490
_ACEOF
 
1491
 
 
1492
  cat <<\_ACEOF
 
1493
 
 
1494
Program names:
 
1495
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
1496
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
1497
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
1498
 
 
1499
System types:
 
1500
  --build=BUILD     configure for building on BUILD [guessed]
 
1501
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
1502
_ACEOF
 
1503
fi
 
1504
 
 
1505
if test -n "$ac_init_help"; then
 
1506
  case $ac_init_help in
 
1507
     short | recursive ) echo "Configuration of libee 0.1.0:";;
 
1508
   esac
 
1509
  cat <<\_ACEOF
 
1510
 
 
1511
Optional Features:
 
1512
  --disable-option-checking  ignore unrecognized --enable/--with options
 
1513
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
1514
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1515
  --enable-silent-rules          less verbose build output (undo: `make V=1')
 
1516
  --disable-silent-rules         verbose build output (undo: `make V=0')
 
1517
  --disable-dependency-tracking  speeds up one-time build
 
1518
  --enable-dependency-tracking   do not reject slow dependency extractors
 
1519
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1520
  --enable-static[=PKGS]  build static libraries [default=yes]
 
1521
  --enable-fast-install[=PKGS]
 
1522
                          optimize for fast installation [default=yes]
 
1523
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1524
  --enable-testbench      file input module enabled [default=yes]
 
1525
  --enable-debug          Enable debug mode [default=no]
 
1526
 
 
1527
Optional Packages:
 
1528
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
1529
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1530
  --with-pic              try to use only PIC/non-PIC objects [default=use
 
1531
                          both]
 
1532
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1533
 
 
1534
Some influential environment variables:
 
1535
  CC          C compiler command
 
1536
  CFLAGS      C compiler flags
 
1537
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
1538
              nonstandard directory <lib dir>
 
1539
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1540
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 
1541
              you have headers in a nonstandard directory <include dir>
 
1542
  CPP         C preprocessor
 
1543
  PKG_CONFIG  path to pkg-config utility
 
1544
  LIBESTR_CFLAGS
 
1545
              C compiler flags for LIBESTR, overriding pkg-config
 
1546
  LIBESTR_LIBS
 
1547
              linker flags for LIBESTR, overriding pkg-config
 
1548
 
 
1549
Use these variables to override the choices made by `configure' or to help
 
1550
it to find libraries and programs with nonstandard names/locations.
 
1551
 
 
1552
Report bugs to <rgerhards@adiscon.com>.
 
1553
_ACEOF
 
1554
ac_status=$?
 
1555
fi
 
1556
 
 
1557
if test "$ac_init_help" = "recursive"; then
 
1558
  # If there are subdirs, report their specific --help.
 
1559
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
1560
    test -d "$ac_dir" ||
 
1561
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1562
      continue
 
1563
    ac_builddir=.
 
1564
 
 
1565
case "$ac_dir" in
 
1566
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1567
*)
 
1568
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1569
  # A ".." for each directory in $ac_dir_suffix.
 
1570
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1571
  case $ac_top_builddir_sub in
 
1572
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1573
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1574
  esac ;;
 
1575
esac
 
1576
ac_abs_top_builddir=$ac_pwd
 
1577
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1578
# for backward compatibility:
 
1579
ac_top_builddir=$ac_top_build_prefix
 
1580
 
 
1581
case $srcdir in
 
1582
  .)  # We are building in place.
 
1583
    ac_srcdir=.
 
1584
    ac_top_srcdir=$ac_top_builddir_sub
 
1585
    ac_abs_top_srcdir=$ac_pwd ;;
 
1586
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1587
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1588
    ac_top_srcdir=$srcdir
 
1589
    ac_abs_top_srcdir=$srcdir ;;
 
1590
  *) # Relative name.
 
1591
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1592
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1593
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1594
esac
 
1595
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1596
 
 
1597
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1598
    # Check for guested configure.
 
1599
    if test -f "$ac_srcdir/configure.gnu"; then
 
1600
      echo &&
 
1601
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1602
    elif test -f "$ac_srcdir/configure"; then
 
1603
      echo &&
 
1604
      $SHELL "$ac_srcdir/configure" --help=recursive
 
1605
    else
 
1606
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1607
    fi || ac_status=$?
 
1608
    cd "$ac_pwd" || { ac_status=$?; break; }
 
1609
  done
 
1610
fi
 
1611
 
 
1612
test -n "$ac_init_help" && exit $ac_status
 
1613
if $ac_init_version; then
 
1614
  cat <<\_ACEOF
 
1615
libee configure 0.1.0
 
1616
generated by GNU Autoconf 2.65
 
1617
 
 
1618
Copyright (C) 2009 Free Software Foundation, Inc.
 
1619
This configure script is free software; the Free Software Foundation
 
1620
gives unlimited permission to copy, distribute and modify it.
 
1621
_ACEOF
 
1622
  exit
 
1623
fi
 
1624
 
 
1625
## ------------------------ ##
 
1626
## Autoconf initialization. ##
 
1627
## ------------------------ ##
 
1628
 
 
1629
# ac_fn_c_try_compile LINENO
 
1630
# --------------------------
 
1631
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1632
ac_fn_c_try_compile ()
 
1633
{
 
1634
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1635
  rm -f conftest.$ac_objext
 
1636
  if { { ac_try="$ac_compile"
 
1637
case "(($ac_try" in
 
1638
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1639
  *) ac_try_echo=$ac_try;;
 
1640
esac
 
1641
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1642
$as_echo "$ac_try_echo"; } >&5
 
1643
  (eval "$ac_compile") 2>conftest.err
 
1644
  ac_status=$?
 
1645
  if test -s conftest.err; then
 
1646
    grep -v '^ *+' conftest.err >conftest.er1
 
1647
    cat conftest.er1 >&5
 
1648
    mv -f conftest.er1 conftest.err
 
1649
  fi
 
1650
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1651
  test $ac_status = 0; } && {
 
1652
         test -z "$ac_c_werror_flag" ||
 
1653
         test ! -s conftest.err
 
1654
       } && test -s conftest.$ac_objext; then :
 
1655
  ac_retval=0
 
1656
else
 
1657
  $as_echo "$as_me: failed program was:" >&5
 
1658
sed 's/^/| /' conftest.$ac_ext >&5
 
1659
 
 
1660
        ac_retval=1
 
1661
fi
 
1662
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1663
  as_fn_set_status $ac_retval
 
1664
 
 
1665
} # ac_fn_c_try_compile
 
1666
 
 
1667
# ac_fn_c_try_link LINENO
 
1668
# -----------------------
 
1669
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1670
ac_fn_c_try_link ()
 
1671
{
 
1672
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1673
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1674
  if { { ac_try="$ac_link"
 
1675
case "(($ac_try" in
 
1676
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1677
  *) ac_try_echo=$ac_try;;
 
1678
esac
 
1679
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1680
$as_echo "$ac_try_echo"; } >&5
 
1681
  (eval "$ac_link") 2>conftest.err
 
1682
  ac_status=$?
 
1683
  if test -s conftest.err; then
 
1684
    grep -v '^ *+' conftest.err >conftest.er1
 
1685
    cat conftest.er1 >&5
 
1686
    mv -f conftest.er1 conftest.err
 
1687
  fi
 
1688
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1689
  test $ac_status = 0; } && {
 
1690
         test -z "$ac_c_werror_flag" ||
 
1691
         test ! -s conftest.err
 
1692
       } && test -s conftest$ac_exeext && {
 
1693
         test "$cross_compiling" = yes ||
 
1694
         $as_test_x conftest$ac_exeext
 
1695
       }; then :
 
1696
  ac_retval=0
 
1697
else
 
1698
  $as_echo "$as_me: failed program was:" >&5
 
1699
sed 's/^/| /' conftest.$ac_ext >&5
 
1700
 
 
1701
        ac_retval=1
 
1702
fi
 
1703
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1704
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1705
  # interfere with the next link command; also delete a directory that is
 
1706
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1707
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1708
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1709
  as_fn_set_status $ac_retval
 
1710
 
 
1711
} # ac_fn_c_try_link
 
1712
 
 
1713
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1714
# -------------------------------------------------------
 
1715
# Tests whether HEADER exists and can be compiled using the include files in
 
1716
# INCLUDES, setting the cache variable VAR accordingly.
 
1717
ac_fn_c_check_header_compile ()
 
1718
{
 
1719
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1720
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1721
$as_echo_n "checking for $2... " >&6; }
 
1722
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1723
  $as_echo_n "(cached) " >&6
 
1724
else
 
1725
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1726
/* end confdefs.h.  */
 
1727
$4
 
1728
#include <$2>
 
1729
_ACEOF
 
1730
if ac_fn_c_try_compile "$LINENO"; then :
 
1731
  eval "$3=yes"
 
1732
else
 
1733
  eval "$3=no"
 
1734
fi
 
1735
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1736
fi
 
1737
eval ac_res=\$$3
 
1738
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1739
$as_echo "$ac_res" >&6; }
 
1740
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1741
 
 
1742
} # ac_fn_c_check_header_compile
 
1743
 
 
1744
# ac_fn_c_try_cpp LINENO
 
1745
# ----------------------
 
1746
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1747
ac_fn_c_try_cpp ()
 
1748
{
 
1749
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1750
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1751
case "(($ac_try" in
 
1752
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1753
  *) ac_try_echo=$ac_try;;
 
1754
esac
 
1755
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1756
$as_echo "$ac_try_echo"; } >&5
 
1757
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1758
  ac_status=$?
 
1759
  if test -s conftest.err; then
 
1760
    grep -v '^ *+' conftest.err >conftest.er1
 
1761
    cat conftest.er1 >&5
 
1762
    mv -f conftest.er1 conftest.err
 
1763
  fi
 
1764
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1765
  test $ac_status = 0; } >/dev/null && {
 
1766
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1767
         test ! -s conftest.err
 
1768
       }; then :
 
1769
  ac_retval=0
 
1770
else
 
1771
  $as_echo "$as_me: failed program was:" >&5
 
1772
sed 's/^/| /' conftest.$ac_ext >&5
 
1773
 
 
1774
    ac_retval=1
 
1775
fi
 
1776
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1777
  as_fn_set_status $ac_retval
 
1778
 
 
1779
} # ac_fn_c_try_cpp
 
1780
 
 
1781
# ac_fn_c_try_run LINENO
 
1782
# ----------------------
 
1783
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1784
# that executables *can* be run.
 
1785
ac_fn_c_try_run ()
 
1786
{
 
1787
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1788
  if { { ac_try="$ac_link"
 
1789
case "(($ac_try" in
 
1790
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1791
  *) ac_try_echo=$ac_try;;
 
1792
esac
 
1793
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1794
$as_echo "$ac_try_echo"; } >&5
 
1795
  (eval "$ac_link") 2>&5
 
1796
  ac_status=$?
 
1797
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1798
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1799
  { { case "(($ac_try" in
 
1800
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1801
  *) ac_try_echo=$ac_try;;
 
1802
esac
 
1803
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1804
$as_echo "$ac_try_echo"; } >&5
 
1805
  (eval "$ac_try") 2>&5
 
1806
  ac_status=$?
 
1807
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1808
  test $ac_status = 0; }; }; then :
 
1809
  ac_retval=0
 
1810
else
 
1811
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1812
       $as_echo "$as_me: failed program was:" >&5
 
1813
sed 's/^/| /' conftest.$ac_ext >&5
 
1814
 
 
1815
       ac_retval=$ac_status
 
1816
fi
 
1817
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1818
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1819
  as_fn_set_status $ac_retval
 
1820
 
 
1821
} # ac_fn_c_try_run
 
1822
 
 
1823
# ac_fn_c_check_func LINENO FUNC VAR
 
1824
# ----------------------------------
 
1825
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1826
ac_fn_c_check_func ()
 
1827
{
 
1828
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1829
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1830
$as_echo_n "checking for $2... " >&6; }
 
1831
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1832
  $as_echo_n "(cached) " >&6
 
1833
else
 
1834
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1835
/* end confdefs.h.  */
 
1836
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1837
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1838
#define $2 innocuous_$2
 
1839
 
 
1840
/* System header to define __stub macros and hopefully few prototypes,
 
1841
    which can conflict with char $2 (); below.
 
1842
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1843
    <limits.h> exists even on freestanding compilers.  */
 
1844
 
 
1845
#ifdef __STDC__
 
1846
# include <limits.h>
 
1847
#else
 
1848
# include <assert.h>
 
1849
#endif
 
1850
 
 
1851
#undef $2
 
1852
 
 
1853
/* Override any GCC internal prototype to avoid an error.
 
1854
   Use char because int might match the return type of a GCC
 
1855
   builtin and then its argument prototype would still apply.  */
 
1856
#ifdef __cplusplus
 
1857
extern "C"
 
1858
#endif
 
1859
char $2 ();
 
1860
/* The GNU C library defines this for functions which it implements
 
1861
    to always fail with ENOSYS.  Some functions are actually named
 
1862
    something starting with __ and the normal name is an alias.  */
 
1863
#if defined __stub_$2 || defined __stub___$2
 
1864
choke me
 
1865
#endif
 
1866
 
 
1867
int
 
1868
main ()
 
1869
{
 
1870
return $2 ();
 
1871
  ;
 
1872
  return 0;
 
1873
}
 
1874
_ACEOF
 
1875
if ac_fn_c_try_link "$LINENO"; then :
 
1876
  eval "$3=yes"
 
1877
else
 
1878
  eval "$3=no"
 
1879
fi
 
1880
rm -f core conftest.err conftest.$ac_objext \
 
1881
    conftest$ac_exeext conftest.$ac_ext
 
1882
fi
 
1883
eval ac_res=\$$3
 
1884
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1885
$as_echo "$ac_res" >&6; }
 
1886
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1887
 
 
1888
} # ac_fn_c_check_func
 
1889
 
 
1890
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1891
# -------------------------------------------------------
 
1892
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1893
# the include files in INCLUDES and setting the cache variable VAR
 
1894
# accordingly.
 
1895
ac_fn_c_check_header_mongrel ()
 
1896
{
 
1897
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1898
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1899
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1900
$as_echo_n "checking for $2... " >&6; }
 
1901
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1902
  $as_echo_n "(cached) " >&6
 
1903
fi
 
1904
eval ac_res=\$$3
 
1905
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1906
$as_echo "$ac_res" >&6; }
 
1907
else
 
1908
  # Is the header compilable?
 
1909
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
1910
$as_echo_n "checking $2 usability... " >&6; }
 
1911
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1912
/* end confdefs.h.  */
 
1913
$4
 
1914
#include <$2>
 
1915
_ACEOF
 
1916
if ac_fn_c_try_compile "$LINENO"; then :
 
1917
  ac_header_compiler=yes
 
1918
else
 
1919
  ac_header_compiler=no
 
1920
fi
 
1921
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1922
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
1923
$as_echo "$ac_header_compiler" >&6; }
 
1924
 
 
1925
# Is the header present?
 
1926
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
1927
$as_echo_n "checking $2 presence... " >&6; }
 
1928
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1929
/* end confdefs.h.  */
 
1930
#include <$2>
 
1931
_ACEOF
 
1932
if ac_fn_c_try_cpp "$LINENO"; then :
 
1933
  ac_header_preproc=yes
 
1934
else
 
1935
  ac_header_preproc=no
 
1936
fi
 
1937
rm -f conftest.err conftest.$ac_ext
 
1938
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
1939
$as_echo "$ac_header_preproc" >&6; }
 
1940
 
 
1941
# So?  What about this header?
 
1942
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
1943
  yes:no: )
 
1944
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
1945
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
1946
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1947
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1948
    ;;
 
1949
  no:yes:* )
 
1950
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
1951
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
1952
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
1953
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
1954
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
1955
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
1956
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
1957
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
1958
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1959
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1960
( cat <<\_ASBOX
 
1961
## ------------------------------------ ##
 
1962
## Report this to rgerhards@adiscon.com ##
 
1963
## ------------------------------------ ##
 
1964
_ASBOX
 
1965
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
1966
    ;;
 
1967
esac
 
1968
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1969
$as_echo_n "checking for $2... " >&6; }
 
1970
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1971
  $as_echo_n "(cached) " >&6
 
1972
else
 
1973
  eval "$3=\$ac_header_compiler"
 
1974
fi
 
1975
eval ac_res=\$$3
 
1976
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1977
$as_echo "$ac_res" >&6; }
 
1978
fi
 
1979
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1980
 
 
1981
} # ac_fn_c_check_header_mongrel
 
1982
cat >config.log <<_ACEOF
 
1983
This file contains any messages produced by compilers while
 
1984
running configure, to aid debugging if configure makes a mistake.
 
1985
 
 
1986
It was created by libee $as_me 0.1.0, which was
 
1987
generated by GNU Autoconf 2.65.  Invocation command line was
 
1988
 
 
1989
  $ $0 $@
 
1990
 
 
1991
_ACEOF
 
1992
exec 5>>config.log
 
1993
{
 
1994
cat <<_ASUNAME
 
1995
## --------- ##
 
1996
## Platform. ##
 
1997
## --------- ##
 
1998
 
 
1999
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
2000
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
2001
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
2002
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
2003
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
2004
 
 
2005
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
2006
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
2007
 
 
2008
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
2009
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
2010
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
2011
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
2012
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
2013
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
2014
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
2015
 
 
2016
_ASUNAME
 
2017
 
 
2018
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2019
for as_dir in $PATH
 
2020
do
 
2021
  IFS=$as_save_IFS
 
2022
  test -z "$as_dir" && as_dir=.
 
2023
    $as_echo "PATH: $as_dir"
 
2024
  done
 
2025
IFS=$as_save_IFS
 
2026
 
 
2027
} >&5
 
2028
 
 
2029
cat >&5 <<_ACEOF
 
2030
 
 
2031
 
 
2032
## ----------- ##
 
2033
## Core tests. ##
 
2034
## ----------- ##
 
2035
 
 
2036
_ACEOF
 
2037
 
 
2038
 
 
2039
# Keep a trace of the command line.
 
2040
# Strip out --no-create and --no-recursion so they do not pile up.
 
2041
# Strip out --silent because we don't want to record it for future runs.
 
2042
# Also quote any args containing shell meta-characters.
 
2043
# Make two passes to allow for proper duplicate-argument suppression.
 
2044
ac_configure_args=
 
2045
ac_configure_args0=
 
2046
ac_configure_args1=
 
2047
ac_must_keep_next=false
 
2048
for ac_pass in 1 2
 
2049
do
 
2050
  for ac_arg
 
2051
  do
 
2052
    case $ac_arg in
 
2053
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
2054
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
2055
    | -silent | --silent | --silen | --sile | --sil)
 
2056
      continue ;;
 
2057
    *\'*)
 
2058
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2059
    esac
 
2060
    case $ac_pass in
 
2061
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 
2062
    2)
 
2063
      as_fn_append ac_configure_args1 " '$ac_arg'"
 
2064
      if test $ac_must_keep_next = true; then
 
2065
        ac_must_keep_next=false # Got value, back to normal.
 
2066
      else
 
2067
        case $ac_arg in
 
2068
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
2069
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
2070
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
2071
          | -with-* | --with-* | -without-* | --without-* | --x)
 
2072
            case "$ac_configure_args0 " in
 
2073
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
2074
            esac
 
2075
            ;;
 
2076
          -* ) ac_must_keep_next=true ;;
 
2077
        esac
 
2078
      fi
 
2079
      as_fn_append ac_configure_args " '$ac_arg'"
 
2080
      ;;
 
2081
    esac
 
2082
  done
 
2083
done
 
2084
{ ac_configure_args0=; unset ac_configure_args0;}
 
2085
{ ac_configure_args1=; unset ac_configure_args1;}
 
2086
 
 
2087
# When interrupted or exit'd, cleanup temporary files, and complete
 
2088
# config.log.  We remove comments because anyway the quotes in there
 
2089
# would cause problems or look ugly.
 
2090
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
2091
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
2092
trap 'exit_status=$?
 
2093
  # Save into config.log some information that might help in debugging.
 
2094
  {
 
2095
    echo
 
2096
 
 
2097
    cat <<\_ASBOX
 
2098
## ---------------- ##
 
2099
## Cache variables. ##
 
2100
## ---------------- ##
 
2101
_ASBOX
 
2102
    echo
 
2103
    # The following way of writing the cache mishandles newlines in values,
 
2104
(
 
2105
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
2106
    eval ac_val=\$$ac_var
 
2107
    case $ac_val in #(
 
2108
    *${as_nl}*)
 
2109
      case $ac_var in #(
 
2110
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
2111
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
2112
      esac
 
2113
      case $ac_var in #(
 
2114
      _ | IFS | as_nl) ;; #(
 
2115
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
2116
      *) { eval $ac_var=; unset $ac_var;} ;;
 
2117
      esac ;;
 
2118
    esac
 
2119
  done
 
2120
  (set) 2>&1 |
 
2121
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
2122
    *${as_nl}ac_space=\ *)
 
2123
      sed -n \
 
2124
        "s/'\''/'\''\\\\'\'''\''/g;
 
2125
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
2126
      ;; #(
 
2127
    *)
 
2128
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
2129
      ;;
 
2130
    esac |
 
2131
    sort
 
2132
)
 
2133
    echo
 
2134
 
 
2135
    cat <<\_ASBOX
 
2136
## ----------------- ##
 
2137
## Output variables. ##
 
2138
## ----------------- ##
 
2139
_ASBOX
 
2140
    echo
 
2141
    for ac_var in $ac_subst_vars
 
2142
    do
 
2143
      eval ac_val=\$$ac_var
 
2144
      case $ac_val in
 
2145
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2146
      esac
 
2147
      $as_echo "$ac_var='\''$ac_val'\''"
 
2148
    done | sort
 
2149
    echo
 
2150
 
 
2151
    if test -n "$ac_subst_files"; then
 
2152
      cat <<\_ASBOX
 
2153
## ------------------- ##
 
2154
## File substitutions. ##
 
2155
## ------------------- ##
 
2156
_ASBOX
 
2157
      echo
 
2158
      for ac_var in $ac_subst_files
 
2159
      do
 
2160
        eval ac_val=\$$ac_var
 
2161
        case $ac_val in
 
2162
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2163
        esac
 
2164
        $as_echo "$ac_var='\''$ac_val'\''"
 
2165
      done | sort
 
2166
      echo
 
2167
    fi
 
2168
 
 
2169
    if test -s confdefs.h; then
 
2170
      cat <<\_ASBOX
 
2171
## ----------- ##
 
2172
## confdefs.h. ##
 
2173
## ----------- ##
 
2174
_ASBOX
 
2175
      echo
 
2176
      cat confdefs.h
 
2177
      echo
 
2178
    fi
 
2179
    test "$ac_signal" != 0 &&
 
2180
      $as_echo "$as_me: caught signal $ac_signal"
 
2181
    $as_echo "$as_me: exit $exit_status"
 
2182
  } >&5
 
2183
  rm -f core *.core core.conftest.* &&
 
2184
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
2185
    exit $exit_status
 
2186
' 0
 
2187
for ac_signal in 1 2 13 15; do
 
2188
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 
2189
done
 
2190
ac_signal=0
 
2191
 
 
2192
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
2193
rm -f -r conftest* confdefs.h
 
2194
 
 
2195
$as_echo "/* confdefs.h */" > confdefs.h
 
2196
 
 
2197
# Predefined preprocessor variables.
 
2198
 
 
2199
cat >>confdefs.h <<_ACEOF
 
2200
#define PACKAGE_NAME "$PACKAGE_NAME"
 
2201
_ACEOF
 
2202
 
 
2203
cat >>confdefs.h <<_ACEOF
 
2204
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
2205
_ACEOF
 
2206
 
 
2207
cat >>confdefs.h <<_ACEOF
 
2208
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
2209
_ACEOF
 
2210
 
 
2211
cat >>confdefs.h <<_ACEOF
 
2212
#define PACKAGE_STRING "$PACKAGE_STRING"
 
2213
_ACEOF
 
2214
 
 
2215
cat >>confdefs.h <<_ACEOF
 
2216
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
2217
_ACEOF
 
2218
 
 
2219
cat >>confdefs.h <<_ACEOF
 
2220
#define PACKAGE_URL "$PACKAGE_URL"
 
2221
_ACEOF
 
2222
 
 
2223
 
 
2224
# Let the site file select an alternate cache file if it wants to.
 
2225
# Prefer an explicitly selected file to automatically selected ones.
 
2226
ac_site_file1=NONE
 
2227
ac_site_file2=NONE
 
2228
if test -n "$CONFIG_SITE"; then
 
2229
  ac_site_file1=$CONFIG_SITE
 
2230
elif test "x$prefix" != xNONE; then
 
2231
  ac_site_file1=$prefix/share/config.site
 
2232
  ac_site_file2=$prefix/etc/config.site
 
2233
else
 
2234
  ac_site_file1=$ac_default_prefix/share/config.site
 
2235
  ac_site_file2=$ac_default_prefix/etc/config.site
 
2236
fi
 
2237
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
2238
do
 
2239
  test "x$ac_site_file" = xNONE && continue
 
2240
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2241
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2242
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
 
2243
    sed 's/^/| /' "$ac_site_file" >&5
 
2244
    . "$ac_site_file"
 
2245
  fi
 
2246
done
 
2247
 
 
2248
if test -r "$cache_file"; then
 
2249
  # Some versions of bash will fail to source /dev/null (special files
 
2250
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2251
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2252
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2253
$as_echo "$as_me: loading cache $cache_file" >&6;}
 
2254
    case $cache_file in
 
2255
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
2256
      *)                      . "./$cache_file";;
 
2257
    esac
 
2258
  fi
 
2259
else
 
2260
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2261
$as_echo "$as_me: creating cache $cache_file" >&6;}
 
2262
  >$cache_file
 
2263
fi
 
2264
 
 
2265
# Check that the precious variables saved in the cache have kept the same
 
2266
# value.
 
2267
ac_cache_corrupted=false
 
2268
for ac_var in $ac_precious_vars; do
 
2269
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
2270
  eval ac_new_set=\$ac_env_${ac_var}_set
 
2271
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
2272
  eval ac_new_val=\$ac_env_${ac_var}_value
 
2273
  case $ac_old_set,$ac_new_set in
 
2274
    set,)
 
2275
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2276
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2277
      ac_cache_corrupted=: ;;
 
2278
    ,set)
 
2279
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2280
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2281
      ac_cache_corrupted=: ;;
 
2282
    ,);;
 
2283
    *)
 
2284
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
2285
        # differences in whitespace do not lead to failure.
 
2286
        ac_old_val_w=`echo x $ac_old_val`
 
2287
        ac_new_val_w=`echo x $ac_new_val`
 
2288
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2289
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2290
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2291
          ac_cache_corrupted=:
 
2292
        else
 
2293
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2294
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2295
          eval $ac_var=\$ac_old_val
 
2296
        fi
 
2297
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2298
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2299
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2300
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 
2301
      fi;;
 
2302
  esac
 
2303
  # Pass precious variables to config.status.
 
2304
  if test "$ac_new_set" = set; then
 
2305
    case $ac_new_val in
 
2306
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2307
    *) ac_arg=$ac_var=$ac_new_val ;;
 
2308
    esac
 
2309
    case " $ac_configure_args " in
 
2310
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
2311
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 
2312
    esac
 
2313
  fi
 
2314
done
 
2315
if $ac_cache_corrupted; then
 
2316
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2317
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2318
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2319
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2320
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2321
fi
 
2322
## -------------------- ##
 
2323
## Main body of script. ##
 
2324
## -------------------- ##
 
2325
 
 
2326
ac_ext=c
 
2327
ac_cpp='$CPP $CPPFLAGS'
 
2328
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2329
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2330
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2331
 
 
2332
 
 
2333
am__api_version='1.11'
 
2334
 
 
2335
ac_aux_dir=
 
2336
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2337
  for ac_t in install-sh install.sh shtool; do
 
2338
    if test -f "$ac_dir/$ac_t"; then
 
2339
      ac_aux_dir=$ac_dir
 
2340
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
2341
      break 2
 
2342
    fi
 
2343
  done
 
2344
done
 
2345
if test -z "$ac_aux_dir"; then
 
2346
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
2347
fi
 
2348
 
 
2349
# These three variables are undocumented and unsupported,
 
2350
# and are intended to be withdrawn in a future Autoconf release.
 
2351
# They can cause serious problems if a builder's source tree is in a directory
 
2352
# whose full name contains unusual characters.
 
2353
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2354
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2355
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2356
 
 
2357
 
 
2358
# Find a good install program.  We prefer a C program (faster),
 
2359
# so one script is as good as another.  But avoid the broken or
 
2360
# incompatible versions:
 
2361
# SysV /etc/install, /usr/sbin/install
 
2362
# SunOS /usr/etc/install
 
2363
# IRIX /sbin/install
 
2364
# AIX /bin/install
 
2365
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
2366
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
2367
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
2368
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
2369
# OS/2's system install, which has a completely different semantic
 
2370
# ./install, which can be erroneously created by make from ./install.sh.
 
2371
# Reject install programs that cannot install multiple files.
 
2372
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
2373
$as_echo_n "checking for a BSD-compatible install... " >&6; }
 
2374
if test -z "$INSTALL"; then
 
2375
if test "${ac_cv_path_install+set}" = set; then :
 
2376
  $as_echo_n "(cached) " >&6
 
2377
else
 
2378
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2379
for as_dir in $PATH
 
2380
do
 
2381
  IFS=$as_save_IFS
 
2382
  test -z "$as_dir" && as_dir=.
 
2383
    # Account for people who put trailing slashes in PATH elements.
 
2384
case $as_dir/ in #((
 
2385
  ./ | .// | /[cC]/* | \
 
2386
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
2387
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 
2388
  /usr/ucb/* ) ;;
 
2389
  *)
 
2390
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
2391
    # Don't use installbsd from OSF since it installs stuff as root
 
2392
    # by default.
 
2393
    for ac_prog in ginstall scoinst install; do
 
2394
      for ac_exec_ext in '' $ac_executable_extensions; do
 
2395
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
2396
          if test $ac_prog = install &&
 
2397
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2398
            # AIX install.  It has an incompatible calling convention.
 
2399
            :
 
2400
          elif test $ac_prog = install &&
 
2401
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2402
            # program-specific install script used by HP pwplus--don't use.
 
2403
            :
 
2404
          else
 
2405
            rm -rf conftest.one conftest.two conftest.dir
 
2406
            echo one > conftest.one
 
2407
            echo two > conftest.two
 
2408
            mkdir conftest.dir
 
2409
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2410
              test -s conftest.one && test -s conftest.two &&
 
2411
              test -s conftest.dir/conftest.one &&
 
2412
              test -s conftest.dir/conftest.two
 
2413
            then
 
2414
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2415
              break 3
 
2416
            fi
 
2417
          fi
 
2418
        fi
 
2419
      done
 
2420
    done
 
2421
    ;;
 
2422
esac
 
2423
 
 
2424
  done
 
2425
IFS=$as_save_IFS
 
2426
 
 
2427
rm -rf conftest.one conftest.two conftest.dir
 
2428
 
 
2429
fi
 
2430
  if test "${ac_cv_path_install+set}" = set; then
 
2431
    INSTALL=$ac_cv_path_install
 
2432
  else
 
2433
    # As a last resort, use the slow shell script.  Don't cache a
 
2434
    # value for INSTALL within a source directory, because that will
 
2435
    # break other packages using the cache if that directory is
 
2436
    # removed, or if the value is a relative name.
 
2437
    INSTALL=$ac_install_sh
 
2438
  fi
 
2439
fi
 
2440
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
2441
$as_echo "$INSTALL" >&6; }
 
2442
 
 
2443
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
2444
# It thinks the first close brace ends the variable substitution.
 
2445
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
2446
 
 
2447
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
2448
 
 
2449
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
2450
 
 
2451
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
2452
$as_echo_n "checking whether build environment is sane... " >&6; }
 
2453
# Just in case
 
2454
sleep 1
 
2455
echo timestamp > conftest.file
 
2456
# Reject unsafe characters in $srcdir or the absolute working directory
 
2457
# name.  Accept space and tab only in the latter.
 
2458
am_lf='
 
2459
'
 
2460
case `pwd` in
 
2461
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2462
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2463
esac
 
2464
case $srcdir in
 
2465
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2466
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2467
esac
 
2468
 
 
2469
# Do `set' in a subshell so we don't clobber the current shell's
 
2470
# arguments.  Must try -L first in case configure is actually a
 
2471
# symlink; some systems play weird games with the mod time of symlinks
 
2472
# (eg FreeBSD returns the mod time of the symlink's containing
 
2473
# directory).
 
2474
if (
 
2475
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 
2476
   if test "$*" = "X"; then
 
2477
      # -L didn't work.
 
2478
      set X `ls -t "$srcdir/configure" conftest.file`
 
2479
   fi
 
2480
   rm -f conftest.file
 
2481
   if test "$*" != "X $srcdir/configure conftest.file" \
 
2482
      && test "$*" != "X conftest.file $srcdir/configure"; then
 
2483
 
 
2484
      # If neither matched, then we have a broken ls.  This can happen
 
2485
      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
2486
      # broken ls alias from the environment.  This has actually
 
2487
      # happened.  Such a system could not be considered "sane".
 
2488
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2489
alias in your environment" "$LINENO" 5
 
2490
   fi
 
2491
 
 
2492
   test "$2" = conftest.file
 
2493
   )
 
2494
then
 
2495
   # Ok.
 
2496
   :
 
2497
else
 
2498
   as_fn_error "newly created file is older than distributed files!
 
2499
Check your system clock" "$LINENO" 5
 
2500
fi
 
2501
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2502
$as_echo "yes" >&6; }
 
2503
test "$program_prefix" != NONE &&
 
2504
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 
2505
# Use a double $ so make ignores it.
 
2506
test "$program_suffix" != NONE &&
 
2507
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
2508
# Double any \ or $.
 
2509
# By default was `s,x,x', remove it if useless.
 
2510
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2511
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 
2512
 
 
2513
# expand $ac_aux_dir to an absolute path
 
2514
am_aux_dir=`cd $ac_aux_dir && pwd`
 
2515
 
 
2516
if test x"${MISSING+set}" != xset; then
 
2517
  case $am_aux_dir in
 
2518
  *\ * | *\     *)
 
2519
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2520
  *)
 
2521
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2522
  esac
 
2523
fi
 
2524
# Use eval to expand $SHELL
 
2525
if eval "$MISSING --run true"; then
 
2526
  am_missing_run="$MISSING --run "
 
2527
else
 
2528
  am_missing_run=
 
2529
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 
2530
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2531
fi
 
2532
 
 
2533
if test x"${install_sh}" != xset; then
 
2534
  case $am_aux_dir in
 
2535
  *\ * | *\     *)
 
2536
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2537
  *)
 
2538
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2539
  esac
 
2540
fi
 
2541
 
 
2542
# Installed binaries are usually stripped using `strip' when the user
 
2543
# run `make install-strip'.  However `strip' might not be the right
 
2544
# tool to use in cross-compilation environments, therefore Automake
 
2545
# will honor the `STRIP' environment variable to overrule this program.
 
2546
if test "$cross_compiling" != no; then
 
2547
  if test -n "$ac_tool_prefix"; then
 
2548
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2549
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2550
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2551
$as_echo_n "checking for $ac_word... " >&6; }
 
2552
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2553
  $as_echo_n "(cached) " >&6
 
2554
else
 
2555
  if test -n "$STRIP"; then
 
2556
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2557
else
 
2558
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2559
for as_dir in $PATH
 
2560
do
 
2561
  IFS=$as_save_IFS
 
2562
  test -z "$as_dir" && as_dir=.
 
2563
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2564
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2565
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2566
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2567
    break 2
 
2568
  fi
 
2569
done
 
2570
  done
 
2571
IFS=$as_save_IFS
 
2572
 
 
2573
fi
 
2574
fi
 
2575
STRIP=$ac_cv_prog_STRIP
 
2576
if test -n "$STRIP"; then
 
2577
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2578
$as_echo "$STRIP" >&6; }
 
2579
else
 
2580
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2581
$as_echo "no" >&6; }
 
2582
fi
 
2583
 
 
2584
 
 
2585
fi
 
2586
if test -z "$ac_cv_prog_STRIP"; then
 
2587
  ac_ct_STRIP=$STRIP
 
2588
  # Extract the first word of "strip", so it can be a program name with args.
 
2589
set dummy strip; ac_word=$2
 
2590
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2591
$as_echo_n "checking for $ac_word... " >&6; }
 
2592
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2593
  $as_echo_n "(cached) " >&6
 
2594
else
 
2595
  if test -n "$ac_ct_STRIP"; then
 
2596
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2597
else
 
2598
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2599
for as_dir in $PATH
 
2600
do
 
2601
  IFS=$as_save_IFS
 
2602
  test -z "$as_dir" && as_dir=.
 
2603
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2604
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2605
    ac_cv_prog_ac_ct_STRIP="strip"
 
2606
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2607
    break 2
 
2608
  fi
 
2609
done
 
2610
  done
 
2611
IFS=$as_save_IFS
 
2612
 
 
2613
fi
 
2614
fi
 
2615
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2616
if test -n "$ac_ct_STRIP"; then
 
2617
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2618
$as_echo "$ac_ct_STRIP" >&6; }
 
2619
else
 
2620
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2621
$as_echo "no" >&6; }
 
2622
fi
 
2623
 
 
2624
  if test "x$ac_ct_STRIP" = x; then
 
2625
    STRIP=":"
 
2626
  else
 
2627
    case $cross_compiling:$ac_tool_warned in
 
2628
yes:)
 
2629
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2630
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2631
ac_tool_warned=yes ;;
 
2632
esac
 
2633
    STRIP=$ac_ct_STRIP
 
2634
  fi
 
2635
else
 
2636
  STRIP="$ac_cv_prog_STRIP"
 
2637
fi
 
2638
 
 
2639
fi
 
2640
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2641
 
 
2642
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
2643
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
2644
if test -z "$MKDIR_P"; then
 
2645
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2646
  $as_echo_n "(cached) " >&6
 
2647
else
 
2648
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2649
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2650
do
 
2651
  IFS=$as_save_IFS
 
2652
  test -z "$as_dir" && as_dir=.
 
2653
    for ac_prog in mkdir gmkdir; do
 
2654
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2655
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2656
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2657
             'mkdir (GNU coreutils) '* | \
 
2658
             'mkdir (coreutils) '* | \
 
2659
             'mkdir (fileutils) '4.1*)
 
2660
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2661
               break 3;;
 
2662
           esac
 
2663
         done
 
2664
       done
 
2665
  done
 
2666
IFS=$as_save_IFS
 
2667
 
 
2668
fi
 
2669
 
 
2670
  test -d ./--version && rmdir ./--version
 
2671
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2672
    MKDIR_P="$ac_cv_path_mkdir -p"
 
2673
  else
 
2674
    # As a last resort, use the slow shell script.  Don't cache a
 
2675
    # value for MKDIR_P within a source directory, because that will
 
2676
    # break other packages using the cache if that directory is
 
2677
    # removed, or if the value is a relative name.
 
2678
    MKDIR_P="$ac_install_sh -d"
 
2679
  fi
 
2680
fi
 
2681
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
2682
$as_echo "$MKDIR_P" >&6; }
 
2683
 
 
2684
mkdir_p="$MKDIR_P"
 
2685
case $mkdir_p in
 
2686
  [\\/$]* | ?:[\\/]*) ;;
 
2687
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2688
esac
 
2689
 
 
2690
for ac_prog in gawk mawk nawk awk
 
2691
do
 
2692
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2693
set dummy $ac_prog; ac_word=$2
 
2694
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2695
$as_echo_n "checking for $ac_word... " >&6; }
 
2696
if test "${ac_cv_prog_AWK+set}" = set; then :
 
2697
  $as_echo_n "(cached) " >&6
 
2698
else
 
2699
  if test -n "$AWK"; then
 
2700
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
2701
else
 
2702
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2703
for as_dir in $PATH
 
2704
do
 
2705
  IFS=$as_save_IFS
 
2706
  test -z "$as_dir" && as_dir=.
 
2707
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2708
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2709
    ac_cv_prog_AWK="$ac_prog"
 
2710
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2711
    break 2
 
2712
  fi
 
2713
done
 
2714
  done
 
2715
IFS=$as_save_IFS
 
2716
 
 
2717
fi
 
2718
fi
 
2719
AWK=$ac_cv_prog_AWK
 
2720
if test -n "$AWK"; then
 
2721
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
2722
$as_echo "$AWK" >&6; }
 
2723
else
 
2724
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2725
$as_echo "no" >&6; }
 
2726
fi
 
2727
 
 
2728
 
 
2729
  test -n "$AWK" && break
 
2730
done
 
2731
 
 
2732
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2733
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2734
set x ${MAKE-make}
 
2735
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2736
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2737
  $as_echo_n "(cached) " >&6
 
2738
else
 
2739
  cat >conftest.make <<\_ACEOF
 
2740
SHELL = /bin/sh
 
2741
all:
 
2742
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
2743
_ACEOF
 
2744
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2745
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2746
  *@@@%%%=?*=@@@%%%*)
 
2747
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2748
  *)
 
2749
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2750
esac
 
2751
rm -f conftest.make
 
2752
fi
 
2753
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2754
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2755
$as_echo "yes" >&6; }
 
2756
  SET_MAKE=
 
2757
else
 
2758
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2759
$as_echo "no" >&6; }
 
2760
  SET_MAKE="MAKE=${MAKE-make}"
 
2761
fi
 
2762
 
 
2763
rm -rf .tst 2>/dev/null
 
2764
mkdir .tst 2>/dev/null
 
2765
if test -d .tst; then
 
2766
  am__leading_dot=.
 
2767
else
 
2768
  am__leading_dot=_
 
2769
fi
 
2770
rmdir .tst 2>/dev/null
 
2771
 
 
2772
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2773
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2774
  # is not polluted with repeated "-I."
 
2775
  am__isrc=' -I$(srcdir)'
 
2776
  # test to see if srcdir already configured
 
2777
  if test -f $srcdir/config.status; then
 
2778
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
2779
  fi
 
2780
fi
 
2781
 
 
2782
# test whether we have cygpath
 
2783
if test -z "$CYGPATH_W"; then
 
2784
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
2785
    CYGPATH_W='cygpath -w'
 
2786
  else
 
2787
    CYGPATH_W=echo
 
2788
  fi
 
2789
fi
 
2790
 
 
2791
 
 
2792
# Define the identity of the package.
 
2793
 PACKAGE='libee'
 
2794
 VERSION='0.1.0'
 
2795
 
 
2796
 
 
2797
cat >>confdefs.h <<_ACEOF
 
2798
#define PACKAGE "$PACKAGE"
 
2799
_ACEOF
 
2800
 
 
2801
 
 
2802
cat >>confdefs.h <<_ACEOF
 
2803
#define VERSION "$VERSION"
 
2804
_ACEOF
 
2805
 
 
2806
# Some tools Automake needs.
 
2807
 
 
2808
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
2809
 
 
2810
 
 
2811
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
2812
 
 
2813
 
 
2814
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
2815
 
 
2816
 
 
2817
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
2818
 
 
2819
 
 
2820
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
2821
 
 
2822
# We need awk for the "check" target.  The system "awk" is bad on
 
2823
# some platforms.
 
2824
# Always define AMTAR for backward compatibility.
 
2825
 
 
2826
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
2827
 
 
2828
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
2829
 
 
2830
 
 
2831
 
 
2832
 
 
2833
 
 
2834
# Check whether --enable-silent-rules was given.
 
2835
if test "${enable_silent_rules+set}" = set; then :
 
2836
  enableval=$enable_silent_rules;
 
2837
fi
 
2838
 
 
2839
case $enable_silent_rules in
 
2840
yes) AM_DEFAULT_VERBOSITY=0;;
 
2841
no)  AM_DEFAULT_VERBOSITY=1;;
 
2842
*)   AM_DEFAULT_VERBOSITY=0;;
 
2843
esac
 
2844
AM_BACKSLASH='\'
 
2845
 
 
2846
 
 
2847
ac_config_headers="$ac_config_headers config.h"
 
2848
 
 
2849
 
 
2850
# Checks for programs.
 
2851
ac_ext=c
 
2852
ac_cpp='$CPP $CPPFLAGS'
 
2853
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2854
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2855
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2856
if test -n "$ac_tool_prefix"; then
 
2857
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
2858
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
2859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2860
$as_echo_n "checking for $ac_word... " >&6; }
 
2861
if test "${ac_cv_prog_CC+set}" = set; then :
 
2862
  $as_echo_n "(cached) " >&6
 
2863
else
 
2864
  if test -n "$CC"; then
 
2865
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2866
else
 
2867
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2868
for as_dir in $PATH
 
2869
do
 
2870
  IFS=$as_save_IFS
 
2871
  test -z "$as_dir" && as_dir=.
 
2872
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2873
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2874
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
2875
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2876
    break 2
 
2877
  fi
 
2878
done
 
2879
  done
 
2880
IFS=$as_save_IFS
 
2881
 
 
2882
fi
 
2883
fi
 
2884
CC=$ac_cv_prog_CC
 
2885
if test -n "$CC"; then
 
2886
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2887
$as_echo "$CC" >&6; }
 
2888
else
 
2889
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2890
$as_echo "no" >&6; }
 
2891
fi
 
2892
 
 
2893
 
 
2894
fi
 
2895
if test -z "$ac_cv_prog_CC"; then
 
2896
  ac_ct_CC=$CC
 
2897
  # Extract the first word of "gcc", so it can be a program name with args.
 
2898
set dummy gcc; ac_word=$2
 
2899
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2900
$as_echo_n "checking for $ac_word... " >&6; }
 
2901
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2902
  $as_echo_n "(cached) " >&6
 
2903
else
 
2904
  if test -n "$ac_ct_CC"; then
 
2905
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
2906
else
 
2907
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2908
for as_dir in $PATH
 
2909
do
 
2910
  IFS=$as_save_IFS
 
2911
  test -z "$as_dir" && as_dir=.
 
2912
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2913
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2914
    ac_cv_prog_ac_ct_CC="gcc"
 
2915
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2916
    break 2
 
2917
  fi
 
2918
done
 
2919
  done
 
2920
IFS=$as_save_IFS
 
2921
 
 
2922
fi
 
2923
fi
 
2924
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
2925
if test -n "$ac_ct_CC"; then
 
2926
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
2927
$as_echo "$ac_ct_CC" >&6; }
 
2928
else
 
2929
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2930
$as_echo "no" >&6; }
 
2931
fi
 
2932
 
 
2933
  if test "x$ac_ct_CC" = x; then
 
2934
    CC=""
 
2935
  else
 
2936
    case $cross_compiling:$ac_tool_warned in
 
2937
yes:)
 
2938
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2939
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2940
ac_tool_warned=yes ;;
 
2941
esac
 
2942
    CC=$ac_ct_CC
 
2943
  fi
 
2944
else
 
2945
  CC="$ac_cv_prog_CC"
 
2946
fi
 
2947
 
 
2948
if test -z "$CC"; then
 
2949
          if test -n "$ac_tool_prefix"; then
 
2950
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2951
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
2952
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2953
$as_echo_n "checking for $ac_word... " >&6; }
 
2954
if test "${ac_cv_prog_CC+set}" = set; then :
 
2955
  $as_echo_n "(cached) " >&6
 
2956
else
 
2957
  if test -n "$CC"; then
 
2958
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2959
else
 
2960
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2961
for as_dir in $PATH
 
2962
do
 
2963
  IFS=$as_save_IFS
 
2964
  test -z "$as_dir" && as_dir=.
 
2965
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2966
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2967
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
2968
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2969
    break 2
 
2970
  fi
 
2971
done
 
2972
  done
 
2973
IFS=$as_save_IFS
 
2974
 
 
2975
fi
 
2976
fi
 
2977
CC=$ac_cv_prog_CC
 
2978
if test -n "$CC"; then
 
2979
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2980
$as_echo "$CC" >&6; }
 
2981
else
 
2982
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2983
$as_echo "no" >&6; }
 
2984
fi
 
2985
 
 
2986
 
 
2987
  fi
 
2988
fi
 
2989
if test -z "$CC"; then
 
2990
  # Extract the first word of "cc", so it can be a program name with args.
 
2991
set dummy cc; ac_word=$2
 
2992
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2993
$as_echo_n "checking for $ac_word... " >&6; }
 
2994
if test "${ac_cv_prog_CC+set}" = set; then :
 
2995
  $as_echo_n "(cached) " >&6
 
2996
else
 
2997
  if test -n "$CC"; then
 
2998
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2999
else
 
3000
  ac_prog_rejected=no
 
3001
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3002
for as_dir in $PATH
 
3003
do
 
3004
  IFS=$as_save_IFS
 
3005
  test -z "$as_dir" && as_dir=.
 
3006
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3007
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3008
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
3009
       ac_prog_rejected=yes
 
3010
       continue
 
3011
     fi
 
3012
    ac_cv_prog_CC="cc"
 
3013
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3014
    break 2
 
3015
  fi
 
3016
done
 
3017
  done
 
3018
IFS=$as_save_IFS
 
3019
 
 
3020
if test $ac_prog_rejected = yes; then
 
3021
  # We found a bogon in the path, so make sure we never use it.
 
3022
  set dummy $ac_cv_prog_CC
 
3023
  shift
 
3024
  if test $# != 0; then
 
3025
    # We chose a different compiler from the bogus one.
 
3026
    # However, it has the same basename, so the bogon will be chosen
 
3027
    # first if we set CC to just the basename; use the full file name.
 
3028
    shift
 
3029
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
3030
  fi
 
3031
fi
 
3032
fi
 
3033
fi
 
3034
CC=$ac_cv_prog_CC
 
3035
if test -n "$CC"; then
 
3036
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3037
$as_echo "$CC" >&6; }
 
3038
else
 
3039
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3040
$as_echo "no" >&6; }
 
3041
fi
 
3042
 
 
3043
 
 
3044
fi
 
3045
if test -z "$CC"; then
 
3046
  if test -n "$ac_tool_prefix"; then
 
3047
  for ac_prog in cl.exe
 
3048
  do
 
3049
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
3050
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
3051
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3052
$as_echo_n "checking for $ac_word... " >&6; }
 
3053
if test "${ac_cv_prog_CC+set}" = set; then :
 
3054
  $as_echo_n "(cached) " >&6
 
3055
else
 
3056
  if test -n "$CC"; then
 
3057
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3058
else
 
3059
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3060
for as_dir in $PATH
 
3061
do
 
3062
  IFS=$as_save_IFS
 
3063
  test -z "$as_dir" && as_dir=.
 
3064
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3065
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3066
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
3067
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3068
    break 2
 
3069
  fi
 
3070
done
 
3071
  done
 
3072
IFS=$as_save_IFS
 
3073
 
 
3074
fi
 
3075
fi
 
3076
CC=$ac_cv_prog_CC
 
3077
if test -n "$CC"; then
 
3078
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3079
$as_echo "$CC" >&6; }
 
3080
else
 
3081
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3082
$as_echo "no" >&6; }
 
3083
fi
 
3084
 
 
3085
 
 
3086
    test -n "$CC" && break
 
3087
  done
 
3088
fi
 
3089
if test -z "$CC"; then
 
3090
  ac_ct_CC=$CC
 
3091
  for ac_prog in cl.exe
 
3092
do
 
3093
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
3094
set dummy $ac_prog; ac_word=$2
 
3095
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3096
$as_echo_n "checking for $ac_word... " >&6; }
 
3097
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3098
  $as_echo_n "(cached) " >&6
 
3099
else
 
3100
  if test -n "$ac_ct_CC"; then
 
3101
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3102
else
 
3103
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3104
for as_dir in $PATH
 
3105
do
 
3106
  IFS=$as_save_IFS
 
3107
  test -z "$as_dir" && as_dir=.
 
3108
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3109
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3110
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
3111
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3112
    break 2
 
3113
  fi
 
3114
done
 
3115
  done
 
3116
IFS=$as_save_IFS
 
3117
 
 
3118
fi
 
3119
fi
 
3120
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3121
if test -n "$ac_ct_CC"; then
 
3122
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3123
$as_echo "$ac_ct_CC" >&6; }
 
3124
else
 
3125
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3126
$as_echo "no" >&6; }
 
3127
fi
 
3128
 
 
3129
 
 
3130
  test -n "$ac_ct_CC" && break
 
3131
done
 
3132
 
 
3133
  if test "x$ac_ct_CC" = x; then
 
3134
    CC=""
 
3135
  else
 
3136
    case $cross_compiling:$ac_tool_warned in
 
3137
yes:)
 
3138
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3139
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3140
ac_tool_warned=yes ;;
 
3141
esac
 
3142
    CC=$ac_ct_CC
 
3143
  fi
 
3144
fi
 
3145
 
 
3146
fi
 
3147
 
 
3148
 
 
3149
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3150
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3151
as_fn_error "no acceptable C compiler found in \$PATH
 
3152
See \`config.log' for more details." "$LINENO" 5; }
 
3153
 
 
3154
# Provide some information about the compiler.
 
3155
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
3156
set X $ac_compile
 
3157
ac_compiler=$2
 
3158
for ac_option in --version -v -V -qversion; do
 
3159
  { { ac_try="$ac_compiler $ac_option >&5"
 
3160
case "(($ac_try" in
 
3161
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3162
  *) ac_try_echo=$ac_try;;
 
3163
esac
 
3164
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3165
$as_echo "$ac_try_echo"; } >&5
 
3166
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3167
  ac_status=$?
 
3168
  if test -s conftest.err; then
 
3169
    sed '10a\
 
3170
... rest of stderr output deleted ...
 
3171
         10q' conftest.err >conftest.er1
 
3172
    cat conftest.er1 >&5
 
3173
  fi
 
3174
  rm -f conftest.er1 conftest.err
 
3175
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3176
  test $ac_status = 0; }
 
3177
done
 
3178
 
 
3179
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3180
/* end confdefs.h.  */
 
3181
 
 
3182
int
 
3183
main ()
 
3184
{
 
3185
 
 
3186
  ;
 
3187
  return 0;
 
3188
}
 
3189
_ACEOF
 
3190
ac_clean_files_save=$ac_clean_files
 
3191
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
3192
# Try to create an executable without -o first, disregard a.out.
 
3193
# It will help us diagnose broken compilers, and finding out an intuition
 
3194
# of exeext.
 
3195
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3196
$as_echo_n "checking whether the C compiler works... " >&6; }
 
3197
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3198
 
 
3199
# The possible output files:
 
3200
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3201
 
 
3202
ac_rmfiles=
 
3203
for ac_file in $ac_files
 
3204
do
 
3205
  case $ac_file in
 
3206
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3207
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3208
  esac
 
3209
done
 
3210
rm -f $ac_rmfiles
 
3211
 
 
3212
if { { ac_try="$ac_link_default"
 
3213
case "(($ac_try" in
 
3214
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3215
  *) ac_try_echo=$ac_try;;
 
3216
esac
 
3217
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3218
$as_echo "$ac_try_echo"; } >&5
 
3219
  (eval "$ac_link_default") 2>&5
 
3220
  ac_status=$?
 
3221
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3222
  test $ac_status = 0; }; then :
 
3223
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3224
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3225
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3226
# so that the user can short-circuit this test for compilers unknown to
 
3227
# Autoconf.
 
3228
for ac_file in $ac_files ''
 
3229
do
 
3230
  test -f "$ac_file" || continue
 
3231
  case $ac_file in
 
3232
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 
3233
        ;;
 
3234
    [ab].out )
 
3235
        # We found the default executable, but exeext='' is most
 
3236
        # certainly right.
 
3237
        break;;
 
3238
    *.* )
 
3239
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3240
        then :; else
 
3241
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3242
        fi
 
3243
        # We set ac_cv_exeext here because the later test for it is not
 
3244
        # safe: cross compilers may not add the suffix if given an `-o'
 
3245
        # argument, so we may need to know it at that point already.
 
3246
        # Even if this section looks crufty: it has the advantage of
 
3247
        # actually working.
 
3248
        break;;
 
3249
    * )
 
3250
        break;;
 
3251
  esac
 
3252
done
 
3253
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3254
 
 
3255
else
 
3256
  ac_file=''
 
3257
fi
 
3258
if test -z "$ac_file"; then :
 
3259
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3260
$as_echo "no" >&6; }
 
3261
$as_echo "$as_me: failed program was:" >&5
 
3262
sed 's/^/| /' conftest.$ac_ext >&5
 
3263
 
 
3264
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3265
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3266
{ as_fn_set_status 77
 
3267
as_fn_error "C compiler cannot create executables
 
3268
See \`config.log' for more details." "$LINENO" 5; }; }
 
3269
else
 
3270
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3271
$as_echo "yes" >&6; }
 
3272
fi
 
3273
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3274
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3275
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3276
$as_echo "$ac_file" >&6; }
 
3277
ac_exeext=$ac_cv_exeext
 
3278
 
 
3279
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
3280
ac_clean_files=$ac_clean_files_save
 
3281
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
3282
$as_echo_n "checking for suffix of executables... " >&6; }
 
3283
if { { ac_try="$ac_link"
 
3284
case "(($ac_try" in
 
3285
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3286
  *) ac_try_echo=$ac_try;;
 
3287
esac
 
3288
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3289
$as_echo "$ac_try_echo"; } >&5
 
3290
  (eval "$ac_link") 2>&5
 
3291
  ac_status=$?
 
3292
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3293
  test $ac_status = 0; }; then :
 
3294
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
3295
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
3296
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
3297
# `rm'.
 
3298
for ac_file in conftest.exe conftest conftest.*; do
 
3299
  test -f "$ac_file" || continue
 
3300
  case $ac_file in
 
3301
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3302
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3303
          break;;
 
3304
    * ) break;;
 
3305
  esac
 
3306
done
 
3307
else
 
3308
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3309
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3310
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
3311
See \`config.log' for more details." "$LINENO" 5; }
 
3312
fi
 
3313
rm -f conftest conftest$ac_cv_exeext
 
3314
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
3315
$as_echo "$ac_cv_exeext" >&6; }
 
3316
 
 
3317
rm -f conftest.$ac_ext
 
3318
EXEEXT=$ac_cv_exeext
 
3319
ac_exeext=$EXEEXT
 
3320
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3321
/* end confdefs.h.  */
 
3322
#include <stdio.h>
 
3323
int
 
3324
main ()
 
3325
{
 
3326
FILE *f = fopen ("conftest.out", "w");
 
3327
 return ferror (f) || fclose (f) != 0;
 
3328
 
 
3329
  ;
 
3330
  return 0;
 
3331
}
 
3332
_ACEOF
 
3333
ac_clean_files="$ac_clean_files conftest.out"
 
3334
# Check that the compiler produces executables we can run.  If not, either
 
3335
# the compiler is broken, or we cross compile.
 
3336
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3337
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3338
if test "$cross_compiling" != yes; then
 
3339
  { { ac_try="$ac_link"
 
3340
case "(($ac_try" in
 
3341
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3342
  *) ac_try_echo=$ac_try;;
 
3343
esac
 
3344
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3345
$as_echo "$ac_try_echo"; } >&5
 
3346
  (eval "$ac_link") 2>&5
 
3347
  ac_status=$?
 
3348
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3349
  test $ac_status = 0; }
 
3350
  if { ac_try='./conftest$ac_cv_exeext'
 
3351
  { { case "(($ac_try" in
 
3352
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3353
  *) ac_try_echo=$ac_try;;
 
3354
esac
 
3355
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3356
$as_echo "$ac_try_echo"; } >&5
 
3357
  (eval "$ac_try") 2>&5
 
3358
  ac_status=$?
 
3359
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3360
  test $ac_status = 0; }; }; then
 
3361
    cross_compiling=no
 
3362
  else
 
3363
    if test "$cross_compiling" = maybe; then
 
3364
        cross_compiling=yes
 
3365
    else
 
3366
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3367
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3368
as_fn_error "cannot run C compiled programs.
 
3369
If you meant to cross compile, use \`--host'.
 
3370
See \`config.log' for more details." "$LINENO" 5; }
 
3371
    fi
 
3372
  fi
 
3373
fi
 
3374
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3375
$as_echo "$cross_compiling" >&6; }
 
3376
 
 
3377
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3378
ac_clean_files=$ac_clean_files_save
 
3379
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
3380
$as_echo_n "checking for suffix of object files... " >&6; }
 
3381
if test "${ac_cv_objext+set}" = set; then :
 
3382
  $as_echo_n "(cached) " >&6
 
3383
else
 
3384
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3385
/* end confdefs.h.  */
 
3386
 
 
3387
int
 
3388
main ()
 
3389
{
 
3390
 
 
3391
  ;
 
3392
  return 0;
 
3393
}
 
3394
_ACEOF
 
3395
rm -f conftest.o conftest.obj
 
3396
if { { ac_try="$ac_compile"
 
3397
case "(($ac_try" in
 
3398
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3399
  *) ac_try_echo=$ac_try;;
 
3400
esac
 
3401
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3402
$as_echo "$ac_try_echo"; } >&5
 
3403
  (eval "$ac_compile") 2>&5
 
3404
  ac_status=$?
 
3405
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3406
  test $ac_status = 0; }; then :
 
3407
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3408
  test -f "$ac_file" || continue;
 
3409
  case $ac_file in
 
3410
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 
3411
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
3412
       break;;
 
3413
  esac
 
3414
done
 
3415
else
 
3416
  $as_echo "$as_me: failed program was:" >&5
 
3417
sed 's/^/| /' conftest.$ac_ext >&5
 
3418
 
 
3419
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3420
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3421
as_fn_error "cannot compute suffix of object files: cannot compile
 
3422
See \`config.log' for more details." "$LINENO" 5; }
 
3423
fi
 
3424
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
3425
fi
 
3426
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
3427
$as_echo "$ac_cv_objext" >&6; }
 
3428
OBJEXT=$ac_cv_objext
 
3429
ac_objext=$OBJEXT
 
3430
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
3431
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
3432
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3433
  $as_echo_n "(cached) " >&6
 
3434
else
 
3435
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3436
/* end confdefs.h.  */
 
3437
 
 
3438
int
 
3439
main ()
 
3440
{
 
3441
#ifndef __GNUC__
 
3442
       choke me
 
3443
#endif
 
3444
 
 
3445
  ;
 
3446
  return 0;
 
3447
}
 
3448
_ACEOF
 
3449
if ac_fn_c_try_compile "$LINENO"; then :
 
3450
  ac_compiler_gnu=yes
 
3451
else
 
3452
  ac_compiler_gnu=no
 
3453
fi
 
3454
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3455
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
3456
 
 
3457
fi
 
3458
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
3459
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3460
if test $ac_compiler_gnu = yes; then
 
3461
  GCC=yes
 
3462
else
 
3463
  GCC=
 
3464
fi
 
3465
ac_test_CFLAGS=${CFLAGS+set}
 
3466
ac_save_CFLAGS=$CFLAGS
 
3467
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
3468
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
3469
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3470
  $as_echo_n "(cached) " >&6
 
3471
else
 
3472
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3473
   ac_c_werror_flag=yes
 
3474
   ac_cv_prog_cc_g=no
 
3475
   CFLAGS="-g"
 
3476
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3477
/* end confdefs.h.  */
 
3478
 
 
3479
int
 
3480
main ()
 
3481
{
 
3482
 
 
3483
  ;
 
3484
  return 0;
 
3485
}
 
3486
_ACEOF
 
3487
if ac_fn_c_try_compile "$LINENO"; then :
 
3488
  ac_cv_prog_cc_g=yes
 
3489
else
 
3490
  CFLAGS=""
 
3491
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3492
/* end confdefs.h.  */
 
3493
 
 
3494
int
 
3495
main ()
 
3496
{
 
3497
 
 
3498
  ;
 
3499
  return 0;
 
3500
}
 
3501
_ACEOF
 
3502
if ac_fn_c_try_compile "$LINENO"; then :
 
3503
 
 
3504
else
 
3505
  ac_c_werror_flag=$ac_save_c_werror_flag
 
3506
         CFLAGS="-g"
 
3507
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3508
/* end confdefs.h.  */
 
3509
 
 
3510
int
 
3511
main ()
 
3512
{
 
3513
 
 
3514
  ;
 
3515
  return 0;
 
3516
}
 
3517
_ACEOF
 
3518
if ac_fn_c_try_compile "$LINENO"; then :
 
3519
  ac_cv_prog_cc_g=yes
 
3520
fi
 
3521
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3522
fi
 
3523
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3524
fi
 
3525
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3526
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3527
fi
 
3528
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
3529
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
3530
if test "$ac_test_CFLAGS" = set; then
 
3531
  CFLAGS=$ac_save_CFLAGS
 
3532
elif test $ac_cv_prog_cc_g = yes; then
 
3533
  if test "$GCC" = yes; then
 
3534
    CFLAGS="-g -O2"
 
3535
  else
 
3536
    CFLAGS="-g"
 
3537
  fi
 
3538
else
 
3539
  if test "$GCC" = yes; then
 
3540
    CFLAGS="-O2"
 
3541
  else
 
3542
    CFLAGS=
 
3543
  fi
 
3544
fi
 
3545
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
3546
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
3547
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3548
  $as_echo_n "(cached) " >&6
 
3549
else
 
3550
  ac_cv_prog_cc_c89=no
 
3551
ac_save_CC=$CC
 
3552
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3553
/* end confdefs.h.  */
 
3554
#include <stdarg.h>
 
3555
#include <stdio.h>
 
3556
#include <sys/types.h>
 
3557
#include <sys/stat.h>
 
3558
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
3559
struct buf { int x; };
 
3560
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
3561
static char *e (p, i)
 
3562
     char **p;
 
3563
     int i;
 
3564
{
 
3565
  return p[i];
 
3566
}
 
3567
static char *f (char * (*g) (char **, int), char **p, ...)
 
3568
{
 
3569
  char *s;
 
3570
  va_list v;
 
3571
  va_start (v,p);
 
3572
  s = g (p, va_arg (v,int));
 
3573
  va_end (v);
 
3574
  return s;
 
3575
}
 
3576
 
 
3577
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
3578
   function prototypes and stuff, but not '\xHH' hex character constants.
 
3579
   These don't provoke an error unfortunately, instead are silently treated
 
3580
   as 'x'.  The following induces an error, until -std is added to get
 
3581
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
3582
   array size at least.  It's necessary to write '\x00'==0 to get something
 
3583
   that's true only with -std.  */
 
3584
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
3585
 
 
3586
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3587
   inside strings and character constants.  */
 
3588
#define FOO(x) 'x'
 
3589
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3590
 
 
3591
int test (int i, double x);
 
3592
struct s1 {int (*f) (int a);};
 
3593
struct s2 {int (*f) (double a);};
 
3594
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
3595
int argc;
 
3596
char **argv;
 
3597
int
 
3598
main ()
 
3599
{
 
3600
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
3601
  ;
 
3602
  return 0;
 
3603
}
 
3604
_ACEOF
 
3605
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3606
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3607
do
 
3608
  CC="$ac_save_CC $ac_arg"
 
3609
  if ac_fn_c_try_compile "$LINENO"; then :
 
3610
  ac_cv_prog_cc_c89=$ac_arg
 
3611
fi
 
3612
rm -f core conftest.err conftest.$ac_objext
 
3613
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
3614
done
 
3615
rm -f conftest.$ac_ext
 
3616
CC=$ac_save_CC
 
3617
 
 
3618
fi
 
3619
# AC_CACHE_VAL
 
3620
case "x$ac_cv_prog_cc_c89" in
 
3621
  x)
 
3622
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
3623
$as_echo "none needed" >&6; } ;;
 
3624
  xno)
 
3625
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
3626
$as_echo "unsupported" >&6; } ;;
 
3627
  *)
 
3628
    CC="$CC $ac_cv_prog_cc_c89"
 
3629
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
3630
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
3631
esac
 
3632
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
3633
 
 
3634
fi
 
3635
 
 
3636
ac_ext=c
 
3637
ac_cpp='$CPP $CPPFLAGS'
 
3638
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3639
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3640
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3641
DEPDIR="${am__leading_dot}deps"
 
3642
 
 
3643
ac_config_commands="$ac_config_commands depfiles"
 
3644
 
 
3645
 
 
3646
am_make=${MAKE-make}
 
3647
cat > confinc << 'END'
 
3648
am__doit:
 
3649
        @echo this is the am__doit target
 
3650
.PHONY: am__doit
 
3651
END
 
3652
# If we don't find an include directive, just comment out the code.
 
3653
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
3654
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
3655
am__include="#"
 
3656
am__quote=
 
3657
_am_result=none
 
3658
# First try GNU make style include.
 
3659
echo "include confinc" > confmf
 
3660
# Ignore all kinds of additional output from `make'.
 
3661
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3662
*the\ am__doit\ target*)
 
3663
  am__include=include
 
3664
  am__quote=
 
3665
  _am_result=GNU
 
3666
  ;;
 
3667
esac
 
3668
# Now try BSD make style include.
 
3669
if test "$am__include" = "#"; then
 
3670
   echo '.include "confinc"' > confmf
 
3671
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3672
   *the\ am__doit\ target*)
 
3673
     am__include=.include
 
3674
     am__quote="\""
 
3675
     _am_result=BSD
 
3676
     ;;
 
3677
   esac
 
3678
fi
 
3679
 
 
3680
 
 
3681
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
3682
$as_echo "$_am_result" >&6; }
 
3683
rm -f confinc confmf
 
3684
 
 
3685
# Check whether --enable-dependency-tracking was given.
 
3686
if test "${enable_dependency_tracking+set}" = set; then :
 
3687
  enableval=$enable_dependency_tracking;
 
3688
fi
 
3689
 
 
3690
if test "x$enable_dependency_tracking" != xno; then
 
3691
  am_depcomp="$ac_aux_dir/depcomp"
 
3692
  AMDEPBACKSLASH='\'
 
3693
fi
 
3694
 if test "x$enable_dependency_tracking" != xno; then
 
3695
  AMDEP_TRUE=
 
3696
  AMDEP_FALSE='#'
 
3697
else
 
3698
  AMDEP_TRUE='#'
 
3699
  AMDEP_FALSE=
 
3700
fi
 
3701
 
 
3702
 
 
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
if test "x$CC" != xcc; then
 
3832
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
 
3833
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
 
3834
else
 
3835
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
 
3836
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
 
3837
fi
 
3838
set dummy $CC; ac_cc=`$as_echo "$2" |
 
3839
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 
3840
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
 
3841
  $as_echo_n "(cached) " >&6
 
3842
else
 
3843
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3844
/* end confdefs.h.  */
 
3845
 
 
3846
int
 
3847
main ()
 
3848
{
 
3849
 
 
3850
  ;
 
3851
  return 0;
 
3852
}
 
3853
_ACEOF
 
3854
# Make sure it works both with $CC and with simple cc.
 
3855
# We do the test twice because some compilers refuse to overwrite an
 
3856
# existing .o file with -o, though they will create one.
 
3857
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 
3858
rm -f conftest2.*
 
3859
if { { case "(($ac_try" in
 
3860
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3861
  *) ac_try_echo=$ac_try;;
 
3862
esac
 
3863
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3864
$as_echo "$ac_try_echo"; } >&5
 
3865
  (eval "$ac_try") 2>&5
 
3866
  ac_status=$?
 
3867
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3868
  test $ac_status = 0; } &&
 
3869
   test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
3870
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3871
  *) ac_try_echo=$ac_try;;
 
3872
esac
 
3873
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3874
$as_echo "$ac_try_echo"; } >&5
 
3875
  (eval "$ac_try") 2>&5
 
3876
  ac_status=$?
 
3877
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3878
  test $ac_status = 0; };
 
3879
then
 
3880
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
 
3881
  if test "x$CC" != xcc; then
 
3882
    # Test first that cc exists at all.
 
3883
    if { ac_try='cc -c conftest.$ac_ext >&5'
 
3884
  { { case "(($ac_try" in
 
3885
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3886
  *) ac_try_echo=$ac_try;;
 
3887
esac
 
3888
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3889
$as_echo "$ac_try_echo"; } >&5
 
3890
  (eval "$ac_try") 2>&5
 
3891
  ac_status=$?
 
3892
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3893
  test $ac_status = 0; }; }; then
 
3894
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 
3895
      rm -f conftest2.*
 
3896
      if { { 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 "$ac_try") 2>&5
 
3903
  ac_status=$?
 
3904
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3905
  test $ac_status = 0; } &&
 
3906
         test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
3907
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3908
  *) ac_try_echo=$ac_try;;
 
3909
esac
 
3910
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3911
$as_echo "$ac_try_echo"; } >&5
 
3912
  (eval "$ac_try") 2>&5
 
3913
  ac_status=$?
 
3914
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3915
  test $ac_status = 0; };
 
3916
      then
 
3917
        # cc works too.
 
3918
        :
 
3919
      else
 
3920
        # cc exists but doesn't like -o.
 
3921
        eval ac_cv_prog_cc_${ac_cc}_c_o=no
 
3922
      fi
 
3923
    fi
 
3924
  fi
 
3925
else
 
3926
  eval ac_cv_prog_cc_${ac_cc}_c_o=no
 
3927
fi
 
3928
rm -f core conftest*
 
3929
 
 
3930
fi
 
3931
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
 
3932
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3933
$as_echo "yes" >&6; }
 
3934
else
 
3935
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3936
$as_echo "no" >&6; }
 
3937
 
 
3938
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
 
3939
 
 
3940
fi
 
3941
 
 
3942
# FIXME: we rely on the cache variable name because
 
3943
# there is no other way.
 
3944
set dummy $CC
 
3945
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 
3946
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
 
3947
if test "$am_t" != yes; then
 
3948
   # Losing compiler, so override with the script.
 
3949
   # FIXME: It is wrong to rewrite CC.
 
3950
   # But if we don't then we get into trouble of one sort or another.
 
3951
   # A longer-term fix would be to have automake use am__CC in this case,
 
3952
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 
3953
   CC="$am_aux_dir/compile $CC"
 
3954
fi
 
3955
 
 
3956
 
 
3957
if test "$GCC" = "yes"
 
3958
then CFLAGS="$CFLAGS -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g"
 
3959
fi
 
3960
 
 
3961
case `pwd` in
 
3962
  *\ * | *\     *)
 
3963
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
3964
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
3965
esac
 
3966
 
 
3967
 
 
3968
 
 
3969
macro_version='2.2.6b'
 
3970
macro_revision='1.3017'
 
3971
 
 
3972
 
 
3973
 
 
3974
 
 
3975
 
 
3976
 
 
3977
 
 
3978
 
 
3979
 
 
3980
 
 
3981
 
 
3982
 
 
3983
 
 
3984
ltmain="$ac_aux_dir/ltmain.sh"
 
3985
 
 
3986
# Make sure we can run config.sub.
 
3987
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
3988
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
3989
 
 
3990
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
3991
$as_echo_n "checking build system type... " >&6; }
 
3992
if test "${ac_cv_build+set}" = set; then :
 
3993
  $as_echo_n "(cached) " >&6
 
3994
else
 
3995
  ac_build_alias=$build_alias
 
3996
test "x$ac_build_alias" = x &&
 
3997
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
3998
test "x$ac_build_alias" = x &&
 
3999
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 
4000
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
4001
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
4002
 
 
4003
fi
 
4004
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
4005
$as_echo "$ac_cv_build" >&6; }
 
4006
case $ac_cv_build in
 
4007
*-*-*) ;;
 
4008
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 
4009
esac
 
4010
build=$ac_cv_build
 
4011
ac_save_IFS=$IFS; IFS='-'
 
4012
set x $ac_cv_build
 
4013
shift
 
4014
build_cpu=$1
 
4015
build_vendor=$2
 
4016
shift; shift
 
4017
# Remember, the first character of IFS is used to create $*,
 
4018
# except with old shells:
 
4019
build_os=$*
 
4020
IFS=$ac_save_IFS
 
4021
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
4022
 
 
4023
 
 
4024
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
4025
$as_echo_n "checking host system type... " >&6; }
 
4026
if test "${ac_cv_host+set}" = set; then :
 
4027
  $as_echo_n "(cached) " >&6
 
4028
else
 
4029
  if test "x$host_alias" = x; then
 
4030
  ac_cv_host=$ac_cv_build
 
4031
else
 
4032
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
4033
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
4034
fi
 
4035
 
 
4036
fi
 
4037
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
4038
$as_echo "$ac_cv_host" >&6; }
 
4039
case $ac_cv_host in
 
4040
*-*-*) ;;
 
4041
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 
4042
esac
 
4043
host=$ac_cv_host
 
4044
ac_save_IFS=$IFS; IFS='-'
 
4045
set x $ac_cv_host
 
4046
shift
 
4047
host_cpu=$1
 
4048
host_vendor=$2
 
4049
shift; shift
 
4050
# Remember, the first character of IFS is used to create $*,
 
4051
# except with old shells:
 
4052
host_os=$*
 
4053
IFS=$ac_save_IFS
 
4054
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
4055
 
 
4056
 
 
4057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
4058
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
4059
if test "${ac_cv_path_SED+set}" = set; then :
 
4060
  $as_echo_n "(cached) " >&6
 
4061
else
 
4062
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
4063
     for ac_i in 1 2 3 4 5 6 7; do
 
4064
       ac_script="$ac_script$as_nl$ac_script"
 
4065
     done
 
4066
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
4067
     { ac_script=; unset ac_script;}
 
4068
     if test -z "$SED"; then
 
4069
  ac_path_SED_found=false
 
4070
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4071
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4072
for as_dir in $PATH
 
4073
do
 
4074
  IFS=$as_save_IFS
 
4075
  test -z "$as_dir" && as_dir=.
 
4076
    for ac_prog in sed gsed; do
 
4077
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4078
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
4079
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
4080
# Check for GNU ac_path_SED and select it if it is found.
 
4081
  # Check for GNU $ac_path_SED
 
4082
case `"$ac_path_SED" --version 2>&1` in
 
4083
*GNU*)
 
4084
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
4085
*)
 
4086
  ac_count=0
 
4087
  $as_echo_n 0123456789 >"conftest.in"
 
4088
  while :
 
4089
  do
 
4090
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4091
    mv "conftest.tmp" "conftest.in"
 
4092
    cp "conftest.in" "conftest.nl"
 
4093
    $as_echo '' >> "conftest.nl"
 
4094
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4095
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4096
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4097
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
4098
      # Best one so far, save it but keep looking for a better one
 
4099
      ac_cv_path_SED="$ac_path_SED"
 
4100
      ac_path_SED_max=$ac_count
 
4101
    fi
 
4102
    # 10*(2^10) chars as input seems more than enough
 
4103
    test $ac_count -gt 10 && break
 
4104
  done
 
4105
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4106
esac
 
4107
 
 
4108
      $ac_path_SED_found && break 3
 
4109
    done
 
4110
  done
 
4111
  done
 
4112
IFS=$as_save_IFS
 
4113
  if test -z "$ac_cv_path_SED"; then
 
4114
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
4115
  fi
 
4116
else
 
4117
  ac_cv_path_SED=$SED
 
4118
fi
 
4119
 
 
4120
fi
 
4121
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
4122
$as_echo "$ac_cv_path_SED" >&6; }
 
4123
 SED="$ac_cv_path_SED"
 
4124
  rm -f conftest.sed
 
4125
 
 
4126
test -z "$SED" && SED=sed
 
4127
Xsed="$SED -e 1s/^X//"
 
4128
 
 
4129
 
 
4130
 
 
4131
 
 
4132
 
 
4133
 
 
4134
 
 
4135
 
 
4136
 
 
4137
 
 
4138
 
 
4139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
4140
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
4141
if test "${ac_cv_path_GREP+set}" = set; then :
 
4142
  $as_echo_n "(cached) " >&6
 
4143
else
 
4144
  if test -z "$GREP"; then
 
4145
  ac_path_GREP_found=false
 
4146
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4147
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4148
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4149
do
 
4150
  IFS=$as_save_IFS
 
4151
  test -z "$as_dir" && as_dir=.
 
4152
    for ac_prog in grep ggrep; do
 
4153
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4154
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4155
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4156
# Check for GNU ac_path_GREP and select it if it is found.
 
4157
  # Check for GNU $ac_path_GREP
 
4158
case `"$ac_path_GREP" --version 2>&1` in
 
4159
*GNU*)
 
4160
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4161
*)
 
4162
  ac_count=0
 
4163
  $as_echo_n 0123456789 >"conftest.in"
 
4164
  while :
 
4165
  do
 
4166
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4167
    mv "conftest.tmp" "conftest.in"
 
4168
    cp "conftest.in" "conftest.nl"
 
4169
    $as_echo 'GREP' >> "conftest.nl"
 
4170
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4171
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4172
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4173
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4174
      # Best one so far, save it but keep looking for a better one
 
4175
      ac_cv_path_GREP="$ac_path_GREP"
 
4176
      ac_path_GREP_max=$ac_count
 
4177
    fi
 
4178
    # 10*(2^10) chars as input seems more than enough
 
4179
    test $ac_count -gt 10 && break
 
4180
  done
 
4181
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4182
esac
 
4183
 
 
4184
      $ac_path_GREP_found && break 3
 
4185
    done
 
4186
  done
 
4187
  done
 
4188
IFS=$as_save_IFS
 
4189
  if test -z "$ac_cv_path_GREP"; then
 
4190
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4191
  fi
 
4192
else
 
4193
  ac_cv_path_GREP=$GREP
 
4194
fi
 
4195
 
 
4196
fi
 
4197
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
4198
$as_echo "$ac_cv_path_GREP" >&6; }
 
4199
 GREP="$ac_cv_path_GREP"
 
4200
 
 
4201
 
 
4202
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
4203
$as_echo_n "checking for egrep... " >&6; }
 
4204
if test "${ac_cv_path_EGREP+set}" = set; then :
 
4205
  $as_echo_n "(cached) " >&6
 
4206
else
 
4207
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4208
   then ac_cv_path_EGREP="$GREP -E"
 
4209
   else
 
4210
     if test -z "$EGREP"; then
 
4211
  ac_path_EGREP_found=false
 
4212
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4213
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4214
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4215
do
 
4216
  IFS=$as_save_IFS
 
4217
  test -z "$as_dir" && as_dir=.
 
4218
    for ac_prog in egrep; do
 
4219
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4220
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4221
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4222
# Check for GNU ac_path_EGREP and select it if it is found.
 
4223
  # Check for GNU $ac_path_EGREP
 
4224
case `"$ac_path_EGREP" --version 2>&1` in
 
4225
*GNU*)
 
4226
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4227
*)
 
4228
  ac_count=0
 
4229
  $as_echo_n 0123456789 >"conftest.in"
 
4230
  while :
 
4231
  do
 
4232
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4233
    mv "conftest.tmp" "conftest.in"
 
4234
    cp "conftest.in" "conftest.nl"
 
4235
    $as_echo 'EGREP' >> "conftest.nl"
 
4236
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4237
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4238
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4239
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4240
      # Best one so far, save it but keep looking for a better one
 
4241
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4242
      ac_path_EGREP_max=$ac_count
 
4243
    fi
 
4244
    # 10*(2^10) chars as input seems more than enough
 
4245
    test $ac_count -gt 10 && break
 
4246
  done
 
4247
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4248
esac
 
4249
 
 
4250
      $ac_path_EGREP_found && break 3
 
4251
    done
 
4252
  done
 
4253
  done
 
4254
IFS=$as_save_IFS
 
4255
  if test -z "$ac_cv_path_EGREP"; then
 
4256
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4257
  fi
 
4258
else
 
4259
  ac_cv_path_EGREP=$EGREP
 
4260
fi
 
4261
 
 
4262
   fi
 
4263
fi
 
4264
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
4265
$as_echo "$ac_cv_path_EGREP" >&6; }
 
4266
 EGREP="$ac_cv_path_EGREP"
 
4267
 
 
4268
 
 
4269
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 
4270
$as_echo_n "checking for fgrep... " >&6; }
 
4271
if test "${ac_cv_path_FGREP+set}" = set; then :
 
4272
  $as_echo_n "(cached) " >&6
 
4273
else
 
4274
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
4275
   then ac_cv_path_FGREP="$GREP -F"
 
4276
   else
 
4277
     if test -z "$FGREP"; then
 
4278
  ac_path_FGREP_found=false
 
4279
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4280
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4281
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4282
do
 
4283
  IFS=$as_save_IFS
 
4284
  test -z "$as_dir" && as_dir=.
 
4285
    for ac_prog in fgrep; do
 
4286
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4287
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4288
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
4289
# Check for GNU ac_path_FGREP and select it if it is found.
 
4290
  # Check for GNU $ac_path_FGREP
 
4291
case `"$ac_path_FGREP" --version 2>&1` in
 
4292
*GNU*)
 
4293
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
4294
*)
 
4295
  ac_count=0
 
4296
  $as_echo_n 0123456789 >"conftest.in"
 
4297
  while :
 
4298
  do
 
4299
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4300
    mv "conftest.tmp" "conftest.in"
 
4301
    cp "conftest.in" "conftest.nl"
 
4302
    $as_echo 'FGREP' >> "conftest.nl"
 
4303
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4304
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4305
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4306
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
4307
      # Best one so far, save it but keep looking for a better one
 
4308
      ac_cv_path_FGREP="$ac_path_FGREP"
 
4309
      ac_path_FGREP_max=$ac_count
 
4310
    fi
 
4311
    # 10*(2^10) chars as input seems more than enough
 
4312
    test $ac_count -gt 10 && break
 
4313
  done
 
4314
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4315
esac
 
4316
 
 
4317
      $ac_path_FGREP_found && break 3
 
4318
    done
 
4319
  done
 
4320
  done
 
4321
IFS=$as_save_IFS
 
4322
  if test -z "$ac_cv_path_FGREP"; then
 
4323
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4324
  fi
 
4325
else
 
4326
  ac_cv_path_FGREP=$FGREP
 
4327
fi
 
4328
 
 
4329
   fi
 
4330
fi
 
4331
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 
4332
$as_echo "$ac_cv_path_FGREP" >&6; }
 
4333
 FGREP="$ac_cv_path_FGREP"
 
4334
 
 
4335
 
 
4336
test -z "$GREP" && GREP=grep
 
4337
 
 
4338
 
 
4339
 
 
4340
 
 
4341
 
 
4342
 
 
4343
 
 
4344
 
 
4345
 
 
4346
 
 
4347
 
 
4348
 
 
4349
 
 
4350
 
 
4351
 
 
4352
 
 
4353
 
 
4354
 
 
4355
 
 
4356
# Check whether --with-gnu-ld was given.
 
4357
if test "${with_gnu_ld+set}" = set; then :
 
4358
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
4359
else
 
4360
  with_gnu_ld=no
 
4361
fi
 
4362
 
 
4363
ac_prog=ld
 
4364
if test "$GCC" = yes; then
 
4365
  # Check if gcc -print-prog-name=ld gives a path.
 
4366
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
4367
$as_echo_n "checking for ld used by $CC... " >&6; }
 
4368
  case $host in
 
4369
  *-*-mingw*)
 
4370
    # gcc leaves a trailing carriage return which upsets mingw
 
4371
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
4372
  *)
 
4373
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
4374
  esac
 
4375
  case $ac_prog in
 
4376
    # Accept absolute paths.
 
4377
    [\\/]* | ?:[\\/]*)
 
4378
      re_direlt='/[^/][^/]*/\.\./'
 
4379
      # Canonicalize the pathname of ld
 
4380
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
4381
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
4382
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
4383
      done
 
4384
      test -z "$LD" && LD="$ac_prog"
 
4385
      ;;
 
4386
  "")
 
4387
    # If it fails, then pretend we aren't using GCC.
 
4388
    ac_prog=ld
 
4389
    ;;
 
4390
  *)
 
4391
    # If it is relative, then search for the first ld in PATH.
 
4392
    with_gnu_ld=unknown
 
4393
    ;;
 
4394
  esac
 
4395
elif test "$with_gnu_ld" = yes; then
 
4396
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
4397
$as_echo_n "checking for GNU ld... " >&6; }
 
4398
else
 
4399
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
4400
$as_echo_n "checking for non-GNU ld... " >&6; }
 
4401
fi
 
4402
if test "${lt_cv_path_LD+set}" = set; then :
 
4403
  $as_echo_n "(cached) " >&6
 
4404
else
 
4405
  if test -z "$LD"; then
 
4406
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
4407
  for ac_dir in $PATH; do
 
4408
    IFS="$lt_save_ifs"
 
4409
    test -z "$ac_dir" && ac_dir=.
 
4410
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
4411
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
4412
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
4413
      # but apparently some variants of GNU ld only accept -v.
 
4414
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
4415
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
4416
      *GNU* | *'with BFD'*)
 
4417
        test "$with_gnu_ld" != no && break
 
4418
        ;;
 
4419
      *)
 
4420
        test "$with_gnu_ld" != yes && break
 
4421
        ;;
 
4422
      esac
 
4423
    fi
 
4424
  done
 
4425
  IFS="$lt_save_ifs"
 
4426
else
 
4427
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
4428
fi
 
4429
fi
 
4430
 
 
4431
LD="$lt_cv_path_LD"
 
4432
if test -n "$LD"; then
 
4433
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
4434
$as_echo "$LD" >&6; }
 
4435
else
 
4436
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4437
$as_echo "no" >&6; }
 
4438
fi
 
4439
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
4440
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
4441
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
4442
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
4443
  $as_echo_n "(cached) " >&6
 
4444
else
 
4445
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
4446
case `$LD -v 2>&1 </dev/null` in
 
4447
*GNU* | *'with BFD'*)
 
4448
  lt_cv_prog_gnu_ld=yes
 
4449
  ;;
 
4450
*)
 
4451
  lt_cv_prog_gnu_ld=no
 
4452
  ;;
 
4453
esac
 
4454
fi
 
4455
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
4456
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
4457
with_gnu_ld=$lt_cv_prog_gnu_ld
 
4458
 
 
4459
 
 
4460
 
 
4461
 
 
4462
 
 
4463
 
 
4464
 
 
4465
 
 
4466
 
 
4467
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 
4468
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
4469
if test "${lt_cv_path_NM+set}" = set; then :
 
4470
  $as_echo_n "(cached) " >&6
 
4471
else
 
4472
  if test -n "$NM"; then
 
4473
  # Let the user override the test.
 
4474
  lt_cv_path_NM="$NM"
 
4475
else
 
4476
  lt_nm_to_check="${ac_tool_prefix}nm"
 
4477
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
4478
    lt_nm_to_check="$lt_nm_to_check nm"
 
4479
  fi
 
4480
  for lt_tmp_nm in $lt_nm_to_check; do
 
4481
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
4482
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
4483
      IFS="$lt_save_ifs"
 
4484
      test -z "$ac_dir" && ac_dir=.
 
4485
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
4486
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
4487
        # Check to see if the nm accepts a BSD-compat flag.
 
4488
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
4489
        #   nm: unknown option "B" ignored
 
4490
        # Tru64's nm complains that /dev/null is an invalid object file
 
4491
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
4492
        */dev/null* | *'Invalid file or object type'*)
 
4493
          lt_cv_path_NM="$tmp_nm -B"
 
4494
          break
 
4495
          ;;
 
4496
        *)
 
4497
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
4498
          */dev/null*)
 
4499
            lt_cv_path_NM="$tmp_nm -p"
 
4500
            break
 
4501
            ;;
 
4502
          *)
 
4503
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
4504
            continue # so that we can try to find one that supports BSD flags
 
4505
            ;;
 
4506
          esac
 
4507
          ;;
 
4508
        esac
 
4509
      fi
 
4510
    done
 
4511
    IFS="$lt_save_ifs"
 
4512
  done
 
4513
  : ${lt_cv_path_NM=no}
 
4514
fi
 
4515
fi
 
4516
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 
4517
$as_echo "$lt_cv_path_NM" >&6; }
 
4518
if test "$lt_cv_path_NM" != "no"; then
 
4519
  NM="$lt_cv_path_NM"
 
4520
else
 
4521
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
4522
  if test -n "$ac_tool_prefix"; then
 
4523
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4524
  do
 
4525
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
4526
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
4527
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4528
$as_echo_n "checking for $ac_word... " >&6; }
 
4529
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
4530
  $as_echo_n "(cached) " >&6
 
4531
else
 
4532
  if test -n "$DUMPBIN"; then
 
4533
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
4534
else
 
4535
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4536
for as_dir in $PATH
 
4537
do
 
4538
  IFS=$as_save_IFS
 
4539
  test -z "$as_dir" && as_dir=.
 
4540
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4541
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4542
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
4543
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4544
    break 2
 
4545
  fi
 
4546
done
 
4547
  done
 
4548
IFS=$as_save_IFS
 
4549
 
 
4550
fi
 
4551
fi
 
4552
DUMPBIN=$ac_cv_prog_DUMPBIN
 
4553
if test -n "$DUMPBIN"; then
 
4554
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 
4555
$as_echo "$DUMPBIN" >&6; }
 
4556
else
 
4557
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4558
$as_echo "no" >&6; }
 
4559
fi
 
4560
 
 
4561
 
 
4562
    test -n "$DUMPBIN" && break
 
4563
  done
 
4564
fi
 
4565
if test -z "$DUMPBIN"; then
 
4566
  ac_ct_DUMPBIN=$DUMPBIN
 
4567
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4568
do
 
4569
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4570
set dummy $ac_prog; ac_word=$2
 
4571
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4572
$as_echo_n "checking for $ac_word... " >&6; }
 
4573
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
4574
  $as_echo_n "(cached) " >&6
 
4575
else
 
4576
  if test -n "$ac_ct_DUMPBIN"; then
 
4577
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
4578
else
 
4579
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4580
for as_dir in $PATH
 
4581
do
 
4582
  IFS=$as_save_IFS
 
4583
  test -z "$as_dir" && as_dir=.
 
4584
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4585
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4586
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
4587
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4588
    break 2
 
4589
  fi
 
4590
done
 
4591
  done
 
4592
IFS=$as_save_IFS
 
4593
 
 
4594
fi
 
4595
fi
 
4596
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
4597
if test -n "$ac_ct_DUMPBIN"; then
 
4598
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 
4599
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
4600
else
 
4601
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4602
$as_echo "no" >&6; }
 
4603
fi
 
4604
 
 
4605
 
 
4606
  test -n "$ac_ct_DUMPBIN" && break
 
4607
done
 
4608
 
 
4609
  if test "x$ac_ct_DUMPBIN" = x; then
 
4610
    DUMPBIN=":"
 
4611
  else
 
4612
    case $cross_compiling:$ac_tool_warned in
 
4613
yes:)
 
4614
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4615
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4616
ac_tool_warned=yes ;;
 
4617
esac
 
4618
    DUMPBIN=$ac_ct_DUMPBIN
 
4619
  fi
 
4620
fi
 
4621
 
 
4622
 
 
4623
  if test "$DUMPBIN" != ":"; then
 
4624
    NM="$DUMPBIN"
 
4625
  fi
 
4626
fi
 
4627
test -z "$NM" && NM=nm
 
4628
 
 
4629
 
 
4630
 
 
4631
 
 
4632
 
 
4633
 
 
4634
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 
4635
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
4636
if test "${lt_cv_nm_interface+set}" = set; then :
 
4637
  $as_echo_n "(cached) " >&6
 
4638
else
 
4639
  lt_cv_nm_interface="BSD nm"
 
4640
  echo "int some_variable = 0;" > conftest.$ac_ext
 
4641
  (eval echo "\"\$as_me:4641: $ac_compile\"" >&5)
 
4642
  (eval "$ac_compile" 2>conftest.err)
 
4643
  cat conftest.err >&5
 
4644
  (eval echo "\"\$as_me:4644: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4645
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
4646
  cat conftest.err >&5
 
4647
  (eval echo "\"\$as_me:4647: output\"" >&5)
 
4648
  cat conftest.out >&5
 
4649
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
4650
    lt_cv_nm_interface="MS dumpbin"
 
4651
  fi
 
4652
  rm -f conftest*
 
4653
fi
 
4654
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 
4655
$as_echo "$lt_cv_nm_interface" >&6; }
 
4656
 
 
4657
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
4658
$as_echo_n "checking whether ln -s works... " >&6; }
 
4659
LN_S=$as_ln_s
 
4660
if test "$LN_S" = "ln -s"; then
 
4661
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
4662
$as_echo "yes" >&6; }
 
4663
else
 
4664
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
4665
$as_echo "no, using $LN_S" >&6; }
 
4666
fi
 
4667
 
 
4668
# find the maximum length of command line arguments
 
4669
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 
4670
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
4671
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
4672
  $as_echo_n "(cached) " >&6
 
4673
else
 
4674
    i=0
 
4675
  teststring="ABCD"
 
4676
 
 
4677
  case $build_os in
 
4678
  msdosdjgpp*)
 
4679
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
4680
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
4681
    # during glob expansion).  Even if it were fixed, the result of this
 
4682
    # check would be larger than it should be.
 
4683
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
4684
    ;;
 
4685
 
 
4686
  gnu*)
 
4687
    # Under GNU Hurd, this test is not required because there is
 
4688
    # no limit to the length of command line arguments.
 
4689
    # Libtool will interpret -1 as no limit whatsoever
 
4690
    lt_cv_sys_max_cmd_len=-1;
 
4691
    ;;
 
4692
 
 
4693
  cygwin* | mingw* | cegcc*)
 
4694
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
4695
    # about 5 minutes as the teststring grows exponentially.
 
4696
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
4697
    # you end up with a "frozen" computer, even though with patience
 
4698
    # the test eventually succeeds (with a max line length of 256k).
 
4699
    # Instead, let's just punt: use the minimum linelength reported by
 
4700
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
4701
    lt_cv_sys_max_cmd_len=8192;
 
4702
    ;;
 
4703
 
 
4704
  amigaos*)
 
4705
    # On AmigaOS with pdksh, this test takes hours, literally.
 
4706
    # So we just punt and use a minimum line length of 8192.
 
4707
    lt_cv_sys_max_cmd_len=8192;
 
4708
    ;;
 
4709
 
 
4710
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
4711
    # This has been around since 386BSD, at least.  Likely further.
 
4712
    if test -x /sbin/sysctl; then
 
4713
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
4714
    elif test -x /usr/sbin/sysctl; then
 
4715
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
4716
    else
 
4717
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
4718
    fi
 
4719
    # And add a safety zone
 
4720
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
4721
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
4722
    ;;
 
4723
 
 
4724
  interix*)
 
4725
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
4726
    lt_cv_sys_max_cmd_len=196608
 
4727
    ;;
 
4728
 
 
4729
  osf*)
 
4730
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
4731
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
4732
    # nice to cause kernel panics so lets avoid the loop below.
 
4733
    # First set a reasonable default.
 
4734
    lt_cv_sys_max_cmd_len=16384
 
4735
    #
 
4736
    if test -x /sbin/sysconfig; then
 
4737
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
4738
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
4739
      esac
 
4740
    fi
 
4741
    ;;
 
4742
  sco3.2v5*)
 
4743
    lt_cv_sys_max_cmd_len=102400
 
4744
    ;;
 
4745
  sysv5* | sco5v6* | sysv4.2uw2*)
 
4746
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
4747
    if test -n "$kargmax"; then
 
4748
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
4749
    else
 
4750
      lt_cv_sys_max_cmd_len=32768
 
4751
    fi
 
4752
    ;;
 
4753
  *)
 
4754
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
4755
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
4756
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
4757
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
4758
    else
 
4759
      # Make teststring a little bigger before we do anything with it.
 
4760
      # a 1K string should be a reasonable start.
 
4761
      for i in 1 2 3 4 5 6 7 8 ; do
 
4762
        teststring=$teststring$teststring
 
4763
      done
 
4764
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
4765
      # If test is not a shell built-in, we'll probably end up computing a
 
4766
      # maximum length that is only half of the actual maximum length, but
 
4767
      # we can't tell.
 
4768
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
4769
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
4770
              test $i != 17 # 1/2 MB should be enough
 
4771
      do
 
4772
        i=`expr $i + 1`
 
4773
        teststring=$teststring$teststring
 
4774
      done
 
4775
      # Only check the string length outside the loop.
 
4776
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
4777
      teststring=
 
4778
      # Add a significant safety factor because C++ compilers can tack on
 
4779
      # massive amounts of additional arguments before passing them to the
 
4780
      # linker.  It appears as though 1/2 is a usable value.
 
4781
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
4782
    fi
 
4783
    ;;
 
4784
  esac
 
4785
 
 
4786
fi
 
4787
 
 
4788
if test -n $lt_cv_sys_max_cmd_len ; then
 
4789
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 
4790
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
4791
else
 
4792
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 
4793
$as_echo "none" >&6; }
 
4794
fi
 
4795
max_cmd_len=$lt_cv_sys_max_cmd_len
 
4796
 
 
4797
 
 
4798
 
 
4799
 
 
4800
 
 
4801
 
 
4802
: ${CP="cp -f"}
 
4803
: ${MV="mv -f"}
 
4804
: ${RM="rm -f"}
 
4805
 
 
4806
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 
4807
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
4808
# Try some XSI features
 
4809
xsi_shell=no
 
4810
( _lt_dummy="a/b/c"
 
4811
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
4812
      = c,a/b,, \
 
4813
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
4814
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
4815
  && xsi_shell=yes
 
4816
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 
4817
$as_echo "$xsi_shell" >&6; }
 
4818
 
 
4819
 
 
4820
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 
4821
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
4822
lt_shell_append=no
 
4823
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
4824
    >/dev/null 2>&1 \
 
4825
  && lt_shell_append=yes
 
4826
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 
4827
$as_echo "$lt_shell_append" >&6; }
 
4828
 
 
4829
 
 
4830
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
4831
  lt_unset=unset
 
4832
else
 
4833
  lt_unset=false
 
4834
fi
 
4835
 
 
4836
 
 
4837
 
 
4838
 
 
4839
 
 
4840
# test EBCDIC or ASCII
 
4841
case `echo X|tr X '\101'` in
 
4842
 A) # ASCII based system
 
4843
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
4844
  lt_SP2NL='tr \040 \012'
 
4845
  lt_NL2SP='tr \015\012 \040\040'
 
4846
  ;;
 
4847
 *) # EBCDIC based system
 
4848
  lt_SP2NL='tr \100 \n'
 
4849
  lt_NL2SP='tr \r\n \100\100'
 
4850
  ;;
 
4851
esac
 
4852
 
 
4853
 
 
4854
 
 
4855
 
 
4856
 
 
4857
 
 
4858
 
 
4859
 
 
4860
 
 
4861
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 
4862
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
4863
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
4864
  $as_echo_n "(cached) " >&6
 
4865
else
 
4866
  lt_cv_ld_reload_flag='-r'
 
4867
fi
 
4868
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 
4869
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
4870
reload_flag=$lt_cv_ld_reload_flag
 
4871
case $reload_flag in
 
4872
"" | " "*) ;;
 
4873
*) reload_flag=" $reload_flag" ;;
 
4874
esac
 
4875
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
4876
case $host_os in
 
4877
  darwin*)
 
4878
    if test "$GCC" = yes; then
 
4879
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
4880
    else
 
4881
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
4882
    fi
 
4883
    ;;
 
4884
esac
 
4885
 
 
4886
 
 
4887
 
 
4888
 
 
4889
 
 
4890
 
 
4891
 
 
4892
 
 
4893
 
 
4894
if test -n "$ac_tool_prefix"; then
 
4895
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
4896
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
4897
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4898
$as_echo_n "checking for $ac_word... " >&6; }
 
4899
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
4900
  $as_echo_n "(cached) " >&6
 
4901
else
 
4902
  if test -n "$OBJDUMP"; then
 
4903
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
4904
else
 
4905
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4906
for as_dir in $PATH
 
4907
do
 
4908
  IFS=$as_save_IFS
 
4909
  test -z "$as_dir" && as_dir=.
 
4910
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4911
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4912
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
4913
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4914
    break 2
 
4915
  fi
 
4916
done
 
4917
  done
 
4918
IFS=$as_save_IFS
 
4919
 
 
4920
fi
 
4921
fi
 
4922
OBJDUMP=$ac_cv_prog_OBJDUMP
 
4923
if test -n "$OBJDUMP"; then
 
4924
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
4925
$as_echo "$OBJDUMP" >&6; }
 
4926
else
 
4927
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4928
$as_echo "no" >&6; }
 
4929
fi
 
4930
 
 
4931
 
 
4932
fi
 
4933
if test -z "$ac_cv_prog_OBJDUMP"; then
 
4934
  ac_ct_OBJDUMP=$OBJDUMP
 
4935
  # Extract the first word of "objdump", so it can be a program name with args.
 
4936
set dummy objdump; ac_word=$2
 
4937
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4938
$as_echo_n "checking for $ac_word... " >&6; }
 
4939
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
4940
  $as_echo_n "(cached) " >&6
 
4941
else
 
4942
  if test -n "$ac_ct_OBJDUMP"; then
 
4943
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
4944
else
 
4945
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4946
for as_dir in $PATH
 
4947
do
 
4948
  IFS=$as_save_IFS
 
4949
  test -z "$as_dir" && as_dir=.
 
4950
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4951
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4952
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
4953
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4954
    break 2
 
4955
  fi
 
4956
done
 
4957
  done
 
4958
IFS=$as_save_IFS
 
4959
 
 
4960
fi
 
4961
fi
 
4962
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
4963
if test -n "$ac_ct_OBJDUMP"; then
 
4964
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
4965
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
4966
else
 
4967
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4968
$as_echo "no" >&6; }
 
4969
fi
 
4970
 
 
4971
  if test "x$ac_ct_OBJDUMP" = x; then
 
4972
    OBJDUMP="false"
 
4973
  else
 
4974
    case $cross_compiling:$ac_tool_warned in
 
4975
yes:)
 
4976
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4977
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4978
ac_tool_warned=yes ;;
 
4979
esac
 
4980
    OBJDUMP=$ac_ct_OBJDUMP
 
4981
  fi
 
4982
else
 
4983
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
4984
fi
 
4985
 
 
4986
test -z "$OBJDUMP" && OBJDUMP=objdump
 
4987
 
 
4988
 
 
4989
 
 
4990
 
 
4991
 
 
4992
 
 
4993
 
 
4994
 
 
4995
 
 
4996
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 
4997
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 
4998
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
4999
  $as_echo_n "(cached) " >&6
 
5000
else
 
5001
  lt_cv_file_magic_cmd='$MAGIC_CMD'
 
5002
lt_cv_file_magic_test_file=
 
5003
lt_cv_deplibs_check_method='unknown'
 
5004
# Need to set the preceding variable on all platforms that support
 
5005
# interlibrary dependencies.
 
5006
# 'none' -- dependencies not supported.
 
5007
# `unknown' -- same as none, but documents that we really don't know.
 
5008
# 'pass_all' -- all dependencies passed with no checks.
 
5009
# 'test_compile' -- check by making test program.
 
5010
# 'file_magic [[regex]]' -- check by looking for files in library path
 
5011
# which responds to the $file_magic_cmd with a given extended regex.
 
5012
# If you have `file' or equivalent on your system and you're not sure
 
5013
# whether `pass_all' will *always* work, you probably want this one.
 
5014
 
 
5015
case $host_os in
 
5016
aix[4-9]*)
 
5017
  lt_cv_deplibs_check_method=pass_all
 
5018
  ;;
 
5019
 
 
5020
beos*)
 
5021
  lt_cv_deplibs_check_method=pass_all
 
5022
  ;;
 
5023
 
 
5024
bsdi[45]*)
 
5025
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 
5026
  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
5027
  lt_cv_file_magic_test_file=/shlib/libc.so
 
5028
  ;;
 
5029
 
 
5030
cygwin*)
 
5031
  # func_win32_libid is a shell function defined in ltmain.sh
 
5032
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
5033
  lt_cv_file_magic_cmd='func_win32_libid'
 
5034
  ;;
 
5035
 
 
5036
mingw* | pw32*)
 
5037
  # Base MSYS/MinGW do not provide the 'file' command needed by
 
5038
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
5039
  # unless we find 'file', for example because we are cross-compiling.
 
5040
  if ( file / ) >/dev/null 2>&1; then
 
5041
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
5042
    lt_cv_file_magic_cmd='func_win32_libid'
 
5043
  else
 
5044
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
5045
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5046
  fi
 
5047
  ;;
 
5048
 
 
5049
cegcc)
 
5050
  # use the weaker test based on 'objdump'. See mingw*.
 
5051
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
5052
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5053
  ;;
 
5054
 
 
5055
darwin* | rhapsody*)
 
5056
  lt_cv_deplibs_check_method=pass_all
 
5057
  ;;
 
5058
 
 
5059
freebsd* | dragonfly*)
 
5060
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
5061
    case $host_cpu in
 
5062
    i*86 )
 
5063
      # Not sure whether the presence of OpenBSD here was a mistake.
 
5064
      # Let's accept both of them until this is cleared up.
 
5065
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 
5066
      lt_cv_file_magic_cmd=/usr/bin/file
 
5067
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
5068
      ;;
 
5069
    esac
 
5070
  else
 
5071
    lt_cv_deplibs_check_method=pass_all
 
5072
  fi
 
5073
  ;;
 
5074
 
 
5075
gnu*)
 
5076
  lt_cv_deplibs_check_method=pass_all
 
5077
  ;;
 
5078
 
 
5079
hpux10.20* | hpux11*)
 
5080
  lt_cv_file_magic_cmd=/usr/bin/file
 
5081
  case $host_cpu in
 
5082
  ia64*)
 
5083
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 
5084
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 
5085
    ;;
 
5086
  hppa*64*)
 
5087
    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]'
 
5088
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 
5089
    ;;
 
5090
  *)
 
5091
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
5092
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
5093
    ;;
 
5094
  esac
 
5095
  ;;
 
5096
 
 
5097
interix[3-9]*)
 
5098
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
5099
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
5100
  ;;
 
5101
 
 
5102
irix5* | irix6* | nonstopux*)
 
5103
  case $LD in
 
5104
  *-32|*"-32 ") libmagic=32-bit;;
 
5105
  *-n32|*"-n32 ") libmagic=N32;;
 
5106
  *-64|*"-64 ") libmagic=64-bit;;
 
5107
  *) libmagic=never-match;;
 
5108
  esac
 
5109
  lt_cv_deplibs_check_method=pass_all
 
5110
  ;;
 
5111
 
 
5112
# This must be Linux ELF.
 
5113
linux* | k*bsd*-gnu)
 
5114
  lt_cv_deplibs_check_method=pass_all
 
5115
  ;;
 
5116
 
 
5117
netbsd*)
 
5118
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
5119
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
5120
  else
 
5121
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 
5122
  fi
 
5123
  ;;
 
5124
 
 
5125
newos6*)
 
5126
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 
5127
  lt_cv_file_magic_cmd=/usr/bin/file
 
5128
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
5129
  ;;
 
5130
 
 
5131
*nto* | *qnx*)
 
5132
  lt_cv_deplibs_check_method=pass_all
 
5133
  ;;
 
5134
 
 
5135
openbsd*)
 
5136
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
5137
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 
5138
  else
 
5139
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
5140
  fi
 
5141
  ;;
 
5142
 
 
5143
osf3* | osf4* | osf5*)
 
5144
  lt_cv_deplibs_check_method=pass_all
 
5145
  ;;
 
5146
 
 
5147
rdos*)
 
5148
  lt_cv_deplibs_check_method=pass_all
 
5149
  ;;
 
5150
 
 
5151
solaris*)
 
5152
  lt_cv_deplibs_check_method=pass_all
 
5153
  ;;
 
5154
 
 
5155
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
5156
  lt_cv_deplibs_check_method=pass_all
 
5157
  ;;
 
5158
 
 
5159
sysv4 | sysv4.3*)
 
5160
  case $host_vendor in
 
5161
  motorola)
 
5162
    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]'
 
5163
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 
5164
    ;;
 
5165
  ncr)
 
5166
    lt_cv_deplibs_check_method=pass_all
 
5167
    ;;
 
5168
  sequent)
 
5169
    lt_cv_file_magic_cmd='/bin/file'
 
5170
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 
5171
    ;;
 
5172
  sni)
 
5173
    lt_cv_file_magic_cmd='/bin/file'
 
5174
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 
5175
    lt_cv_file_magic_test_file=/lib/libc.so
 
5176
    ;;
 
5177
  siemens)
 
5178
    lt_cv_deplibs_check_method=pass_all
 
5179
    ;;
 
5180
  pc)
 
5181
    lt_cv_deplibs_check_method=pass_all
 
5182
    ;;
 
5183
  esac
 
5184
  ;;
 
5185
 
 
5186
tpf*)
 
5187
  lt_cv_deplibs_check_method=pass_all
 
5188
  ;;
 
5189
esac
 
5190
 
 
5191
fi
 
5192
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 
5193
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
5194
file_magic_cmd=$lt_cv_file_magic_cmd
 
5195
deplibs_check_method=$lt_cv_deplibs_check_method
 
5196
test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
5197
 
 
5198
 
 
5199
 
 
5200
 
 
5201
 
 
5202
 
 
5203
 
 
5204
 
 
5205
 
 
5206
 
 
5207
 
 
5208
 
 
5209
if test -n "$ac_tool_prefix"; then
 
5210
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
5211
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
5212
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5213
$as_echo_n "checking for $ac_word... " >&6; }
 
5214
if test "${ac_cv_prog_AR+set}" = set; then :
 
5215
  $as_echo_n "(cached) " >&6
 
5216
else
 
5217
  if test -n "$AR"; then
 
5218
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
5219
else
 
5220
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5221
for as_dir in $PATH
 
5222
do
 
5223
  IFS=$as_save_IFS
 
5224
  test -z "$as_dir" && as_dir=.
 
5225
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5226
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5227
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
5228
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5229
    break 2
 
5230
  fi
 
5231
done
 
5232
  done
 
5233
IFS=$as_save_IFS
 
5234
 
 
5235
fi
 
5236
fi
 
5237
AR=$ac_cv_prog_AR
 
5238
if test -n "$AR"; then
 
5239
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
5240
$as_echo "$AR" >&6; }
 
5241
else
 
5242
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5243
$as_echo "no" >&6; }
 
5244
fi
 
5245
 
 
5246
 
 
5247
fi
 
5248
if test -z "$ac_cv_prog_AR"; then
 
5249
  ac_ct_AR=$AR
 
5250
  # Extract the first word of "ar", so it can be a program name with args.
 
5251
set dummy ar; ac_word=$2
 
5252
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5253
$as_echo_n "checking for $ac_word... " >&6; }
 
5254
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
5255
  $as_echo_n "(cached) " >&6
 
5256
else
 
5257
  if test -n "$ac_ct_AR"; then
 
5258
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
5259
else
 
5260
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5261
for as_dir in $PATH
 
5262
do
 
5263
  IFS=$as_save_IFS
 
5264
  test -z "$as_dir" && as_dir=.
 
5265
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5266
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5267
    ac_cv_prog_ac_ct_AR="ar"
 
5268
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5269
    break 2
 
5270
  fi
 
5271
done
 
5272
  done
 
5273
IFS=$as_save_IFS
 
5274
 
 
5275
fi
 
5276
fi
 
5277
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
5278
if test -n "$ac_ct_AR"; then
 
5279
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
5280
$as_echo "$ac_ct_AR" >&6; }
 
5281
else
 
5282
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5283
$as_echo "no" >&6; }
 
5284
fi
 
5285
 
 
5286
  if test "x$ac_ct_AR" = x; then
 
5287
    AR="false"
 
5288
  else
 
5289
    case $cross_compiling:$ac_tool_warned in
 
5290
yes:)
 
5291
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5292
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5293
ac_tool_warned=yes ;;
 
5294
esac
 
5295
    AR=$ac_ct_AR
 
5296
  fi
 
5297
else
 
5298
  AR="$ac_cv_prog_AR"
 
5299
fi
 
5300
 
 
5301
test -z "$AR" && AR=ar
 
5302
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
5303
 
 
5304
 
 
5305
 
 
5306
 
 
5307
 
 
5308
 
 
5309
 
 
5310
 
 
5311
 
 
5312
 
 
5313
 
 
5314
if test -n "$ac_tool_prefix"; then
 
5315
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
5316
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
5317
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5318
$as_echo_n "checking for $ac_word... " >&6; }
 
5319
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
5320
  $as_echo_n "(cached) " >&6
 
5321
else
 
5322
  if test -n "$STRIP"; then
 
5323
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
5324
else
 
5325
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5326
for as_dir in $PATH
 
5327
do
 
5328
  IFS=$as_save_IFS
 
5329
  test -z "$as_dir" && as_dir=.
 
5330
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5331
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5332
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
5333
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5334
    break 2
 
5335
  fi
 
5336
done
 
5337
  done
 
5338
IFS=$as_save_IFS
 
5339
 
 
5340
fi
 
5341
fi
 
5342
STRIP=$ac_cv_prog_STRIP
 
5343
if test -n "$STRIP"; then
 
5344
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
5345
$as_echo "$STRIP" >&6; }
 
5346
else
 
5347
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5348
$as_echo "no" >&6; }
 
5349
fi
 
5350
 
 
5351
 
 
5352
fi
 
5353
if test -z "$ac_cv_prog_STRIP"; then
 
5354
  ac_ct_STRIP=$STRIP
 
5355
  # Extract the first word of "strip", so it can be a program name with args.
 
5356
set dummy strip; ac_word=$2
 
5357
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5358
$as_echo_n "checking for $ac_word... " >&6; }
 
5359
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
5360
  $as_echo_n "(cached) " >&6
 
5361
else
 
5362
  if test -n "$ac_ct_STRIP"; then
 
5363
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
5364
else
 
5365
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5366
for as_dir in $PATH
 
5367
do
 
5368
  IFS=$as_save_IFS
 
5369
  test -z "$as_dir" && as_dir=.
 
5370
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5371
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5372
    ac_cv_prog_ac_ct_STRIP="strip"
 
5373
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5374
    break 2
 
5375
  fi
 
5376
done
 
5377
  done
 
5378
IFS=$as_save_IFS
 
5379
 
 
5380
fi
 
5381
fi
 
5382
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
5383
if test -n "$ac_ct_STRIP"; then
 
5384
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
5385
$as_echo "$ac_ct_STRIP" >&6; }
 
5386
else
 
5387
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5388
$as_echo "no" >&6; }
 
5389
fi
 
5390
 
 
5391
  if test "x$ac_ct_STRIP" = x; then
 
5392
    STRIP=":"
 
5393
  else
 
5394
    case $cross_compiling:$ac_tool_warned in
 
5395
yes:)
 
5396
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5397
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5398
ac_tool_warned=yes ;;
 
5399
esac
 
5400
    STRIP=$ac_ct_STRIP
 
5401
  fi
 
5402
else
 
5403
  STRIP="$ac_cv_prog_STRIP"
 
5404
fi
 
5405
 
 
5406
test -z "$STRIP" && STRIP=:
 
5407
 
 
5408
 
 
5409
 
 
5410
 
 
5411
 
 
5412
 
 
5413
if test -n "$ac_tool_prefix"; then
 
5414
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
5415
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
5416
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5417
$as_echo_n "checking for $ac_word... " >&6; }
 
5418
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
5419
  $as_echo_n "(cached) " >&6
 
5420
else
 
5421
  if test -n "$RANLIB"; then
 
5422
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
5423
else
 
5424
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5425
for as_dir in $PATH
 
5426
do
 
5427
  IFS=$as_save_IFS
 
5428
  test -z "$as_dir" && as_dir=.
 
5429
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5430
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5431
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
5432
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5433
    break 2
 
5434
  fi
 
5435
done
 
5436
  done
 
5437
IFS=$as_save_IFS
 
5438
 
 
5439
fi
 
5440
fi
 
5441
RANLIB=$ac_cv_prog_RANLIB
 
5442
if test -n "$RANLIB"; then
 
5443
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
5444
$as_echo "$RANLIB" >&6; }
 
5445
else
 
5446
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5447
$as_echo "no" >&6; }
 
5448
fi
 
5449
 
 
5450
 
 
5451
fi
 
5452
if test -z "$ac_cv_prog_RANLIB"; then
 
5453
  ac_ct_RANLIB=$RANLIB
 
5454
  # Extract the first word of "ranlib", so it can be a program name with args.
 
5455
set dummy ranlib; ac_word=$2
 
5456
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5457
$as_echo_n "checking for $ac_word... " >&6; }
 
5458
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
5459
  $as_echo_n "(cached) " >&6
 
5460
else
 
5461
  if test -n "$ac_ct_RANLIB"; then
 
5462
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
5463
else
 
5464
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5465
for as_dir in $PATH
 
5466
do
 
5467
  IFS=$as_save_IFS
 
5468
  test -z "$as_dir" && as_dir=.
 
5469
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5470
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5471
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
5472
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5473
    break 2
 
5474
  fi
 
5475
done
 
5476
  done
 
5477
IFS=$as_save_IFS
 
5478
 
 
5479
fi
 
5480
fi
 
5481
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
5482
if test -n "$ac_ct_RANLIB"; then
 
5483
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
5484
$as_echo "$ac_ct_RANLIB" >&6; }
 
5485
else
 
5486
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5487
$as_echo "no" >&6; }
 
5488
fi
 
5489
 
 
5490
  if test "x$ac_ct_RANLIB" = x; then
 
5491
    RANLIB=":"
 
5492
  else
 
5493
    case $cross_compiling:$ac_tool_warned in
 
5494
yes:)
 
5495
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5496
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5497
ac_tool_warned=yes ;;
 
5498
esac
 
5499
    RANLIB=$ac_ct_RANLIB
 
5500
  fi
 
5501
else
 
5502
  RANLIB="$ac_cv_prog_RANLIB"
 
5503
fi
 
5504
 
 
5505
test -z "$RANLIB" && RANLIB=:
 
5506
 
 
5507
 
 
5508
 
 
5509
 
 
5510
 
 
5511
 
 
5512
# Determine commands to create old-style static archives.
 
5513
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
5514
old_postinstall_cmds='chmod 644 $oldlib'
 
5515
old_postuninstall_cmds=
 
5516
 
 
5517
if test -n "$RANLIB"; then
 
5518
  case $host_os in
 
5519
  openbsd*)
 
5520
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
5521
    ;;
 
5522
  *)
 
5523
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
5524
    ;;
 
5525
  esac
 
5526
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
5527
fi
 
5528
 
 
5529
 
 
5530
 
 
5531
 
 
5532
 
 
5533
 
 
5534
 
 
5535
 
 
5536
 
 
5537
 
 
5538
 
 
5539
 
 
5540
 
 
5541
 
 
5542
 
 
5543
 
 
5544
 
 
5545
 
 
5546
 
 
5547
 
 
5548
 
 
5549
 
 
5550
 
 
5551
 
 
5552
 
 
5553
 
 
5554
 
 
5555
 
 
5556
 
 
5557
 
 
5558
 
 
5559
 
 
5560
 
 
5561
 
 
5562
# If no C compiler was specified, use CC.
 
5563
LTCC=${LTCC-"$CC"}
 
5564
 
 
5565
# If no C compiler flags were specified, use CFLAGS.
 
5566
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
5567
 
 
5568
# Allow CC to be a program name with arguments.
 
5569
compiler=$CC
 
5570
 
 
5571
 
 
5572
# Check for command to grab the raw symbol name followed by C symbol from nm.
 
5573
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 
5574
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 
5575
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
5576
  $as_echo_n "(cached) " >&6
 
5577
else
 
5578
 
 
5579
# These are sane defaults that work on at least a few old systems.
 
5580
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
5581
 
 
5582
# Character class describing NM global symbol codes.
 
5583
symcode='[BCDEGRST]'
 
5584
 
 
5585
# Regexp to match symbols that can be accessed directly from C.
 
5586
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 
5587
 
 
5588
# Define system-specific variables.
 
5589
case $host_os in
 
5590
aix*)
 
5591
  symcode='[BCDT]'
 
5592
  ;;
 
5593
cygwin* | mingw* | pw32* | cegcc*)
 
5594
  symcode='[ABCDGISTW]'
 
5595
  ;;
 
5596
hpux*)
 
5597
  if test "$host_cpu" = ia64; then
 
5598
    symcode='[ABCDEGRST]'
 
5599
  fi
 
5600
  ;;
 
5601
irix* | nonstopux*)
 
5602
  symcode='[BCDEGRST]'
 
5603
  ;;
 
5604
osf*)
 
5605
  symcode='[BCDEGQRST]'
 
5606
  ;;
 
5607
solaris*)
 
5608
  symcode='[BDRT]'
 
5609
  ;;
 
5610
sco3.2v5*)
 
5611
  symcode='[DT]'
 
5612
  ;;
 
5613
sysv4.2uw2*)
 
5614
  symcode='[DT]'
 
5615
  ;;
 
5616
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
5617
  symcode='[ABDT]'
 
5618
  ;;
 
5619
sysv4)
 
5620
  symcode='[DFNSTU]'
 
5621
  ;;
 
5622
esac
 
5623
 
 
5624
# If we're using GNU nm, then use its standard symbol codes.
 
5625
case `$NM -V 2>&1` in
 
5626
*GNU* | *'with BFD'*)
 
5627
  symcode='[ABCDGIRSTW]' ;;
 
5628
esac
 
5629
 
 
5630
# Transform an extracted symbol line into a proper C declaration.
 
5631
# Some systems (esp. on ia64) link data and code symbols differently,
 
5632
# so use this general approach.
 
5633
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
5634
 
 
5635
# Transform an extracted symbol line into symbol name and symbol address
 
5636
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
5637
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'"
 
5638
 
 
5639
# Handle CRLF in mingw tool chain
 
5640
opt_cr=
 
5641
case $build_os in
 
5642
mingw*)
 
5643
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
5644
  ;;
 
5645
esac
 
5646
 
 
5647
# Try without a prefix underscore, then with it.
 
5648
for ac_symprfx in "" "_"; do
 
5649
 
 
5650
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
5651
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
5652
 
 
5653
  # Write the raw and C identifiers.
 
5654
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
5655
    # Fake it for dumpbin and say T for any non-static function
 
5656
    # and D for any global variable.
 
5657
    # Also find C++ and __fastcall symbols from MSVC++,
 
5658
    # which start with @ or ?.
 
5659
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
5660
"     {last_section=section; section=\$ 3};"\
 
5661
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
5662
"     \$ 0!~/External *\|/{next};"\
 
5663
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
5664
"     {if(hide[section]) next};"\
 
5665
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
5666
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
5667
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
5668
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
5669
"     ' prfx=^$ac_symprfx"
 
5670
  else
 
5671
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
5672
  fi
 
5673
 
 
5674
  # Check to see that the pipe works correctly.
 
5675
  pipe_works=no
 
5676
 
 
5677
  rm -f conftest*
 
5678
  cat > conftest.$ac_ext <<_LT_EOF
 
5679
#ifdef __cplusplus
 
5680
extern "C" {
 
5681
#endif
 
5682
char nm_test_var;
 
5683
void nm_test_func(void);
 
5684
void nm_test_func(void){}
 
5685
#ifdef __cplusplus
 
5686
}
 
5687
#endif
 
5688
int main(){nm_test_var='a';nm_test_func();return(0);}
 
5689
_LT_EOF
 
5690
 
 
5691
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
5692
  (eval $ac_compile) 2>&5
 
5693
  ac_status=$?
 
5694
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5695
  test $ac_status = 0; }; then
 
5696
    # Now try to grab the symbols.
 
5697
    nlist=conftest.nm
 
5698
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
 
5699
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
5700
  ac_status=$?
 
5701
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5702
  test $ac_status = 0; } && test -s "$nlist"; then
 
5703
      # Try sorting and uniquifying the output.
 
5704
      if sort "$nlist" | uniq > "$nlist"T; then
 
5705
        mv -f "$nlist"T "$nlist"
 
5706
      else
 
5707
        rm -f "$nlist"T
 
5708
      fi
 
5709
 
 
5710
      # Make sure that we snagged all the symbols we need.
 
5711
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
5712
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
5713
          cat <<_LT_EOF > conftest.$ac_ext
 
5714
#ifdef __cplusplus
 
5715
extern "C" {
 
5716
#endif
 
5717
 
 
5718
_LT_EOF
 
5719
          # Now generate the symbol file.
 
5720
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
5721
 
 
5722
          cat <<_LT_EOF >> conftest.$ac_ext
 
5723
 
 
5724
/* The mapping between symbol names and symbols.  */
 
5725
const struct {
 
5726
  const char *name;
 
5727
  void       *address;
 
5728
}
 
5729
lt__PROGRAM__LTX_preloaded_symbols[] =
 
5730
{
 
5731
  { "@PROGRAM@", (void *) 0 },
 
5732
_LT_EOF
 
5733
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
5734
          cat <<\_LT_EOF >> conftest.$ac_ext
 
5735
  {0, (void *) 0}
 
5736
};
 
5737
 
 
5738
/* This works around a problem in FreeBSD linker */
 
5739
#ifdef FREEBSD_WORKAROUND
 
5740
static const void *lt_preloaded_setup() {
 
5741
  return lt__PROGRAM__LTX_preloaded_symbols;
 
5742
}
 
5743
#endif
 
5744
 
 
5745
#ifdef __cplusplus
 
5746
}
 
5747
#endif
 
5748
_LT_EOF
 
5749
          # Now try linking the two files.
 
5750
          mv conftest.$ac_objext conftstm.$ac_objext
 
5751
          lt_save_LIBS="$LIBS"
 
5752
          lt_save_CFLAGS="$CFLAGS"
 
5753
          LIBS="conftstm.$ac_objext"
 
5754
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 
5755
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
5756
  (eval $ac_link) 2>&5
 
5757
  ac_status=$?
 
5758
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5759
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
 
5760
            pipe_works=yes
 
5761
          fi
 
5762
          LIBS="$lt_save_LIBS"
 
5763
          CFLAGS="$lt_save_CFLAGS"
 
5764
        else
 
5765
          echo "cannot find nm_test_func in $nlist" >&5
 
5766
        fi
 
5767
      else
 
5768
        echo "cannot find nm_test_var in $nlist" >&5
 
5769
      fi
 
5770
    else
 
5771
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 
5772
    fi
 
5773
  else
 
5774
    echo "$progname: failed program was:" >&5
 
5775
    cat conftest.$ac_ext >&5
 
5776
  fi
 
5777
  rm -rf conftest* conftst*
 
5778
 
 
5779
  # Do not use the global_symbol_pipe unless it works.
 
5780
  if test "$pipe_works" = yes; then
 
5781
    break
 
5782
  else
 
5783
    lt_cv_sys_global_symbol_pipe=
 
5784
  fi
 
5785
done
 
5786
 
 
5787
fi
 
5788
 
 
5789
if test -z "$lt_cv_sys_global_symbol_pipe"; then
 
5790
  lt_cv_sys_global_symbol_to_cdecl=
 
5791
fi
 
5792
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 
5793
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 
5794
$as_echo "failed" >&6; }
 
5795
else
 
5796
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
5797
$as_echo "ok" >&6; }
 
5798
fi
 
5799
 
 
5800
 
 
5801
 
 
5802
 
 
5803
 
 
5804
 
 
5805
 
 
5806
 
 
5807
 
 
5808
 
 
5809
 
 
5810
 
 
5811
 
 
5812
 
 
5813
 
 
5814
 
 
5815
 
 
5816
 
 
5817
 
 
5818
 
 
5819
 
 
5820
 
 
5821
 
 
5822
# Check whether --enable-libtool-lock was given.
 
5823
if test "${enable_libtool_lock+set}" = set; then :
 
5824
  enableval=$enable_libtool_lock;
 
5825
fi
 
5826
 
 
5827
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
5828
 
 
5829
# Some flags need to be propagated to the compiler or linker for good
 
5830
# libtool support.
 
5831
case $host in
 
5832
ia64-*-hpux*)
 
5833
  # Find out which ABI we are using.
 
5834
  echo 'int i;' > conftest.$ac_ext
 
5835
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
5836
  (eval $ac_compile) 2>&5
 
5837
  ac_status=$?
 
5838
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5839
  test $ac_status = 0; }; then
 
5840
    case `/usr/bin/file conftest.$ac_objext` in
 
5841
      *ELF-32*)
 
5842
        HPUX_IA64_MODE="32"
 
5843
        ;;
 
5844
      *ELF-64*)
 
5845
        HPUX_IA64_MODE="64"
 
5846
        ;;
 
5847
    esac
 
5848
  fi
 
5849
  rm -rf conftest*
 
5850
  ;;
 
5851
*-*-irix6*)
 
5852
  # Find out which ABI we are using.
 
5853
  echo '#line 5853 "configure"' > conftest.$ac_ext
 
5854
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
5855
  (eval $ac_compile) 2>&5
 
5856
  ac_status=$?
 
5857
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5858
  test $ac_status = 0; }; then
 
5859
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
5860
      case `/usr/bin/file conftest.$ac_objext` in
 
5861
        *32-bit*)
 
5862
          LD="${LD-ld} -melf32bsmip"
 
5863
          ;;
 
5864
        *N32*)
 
5865
          LD="${LD-ld} -melf32bmipn32"
 
5866
          ;;
 
5867
        *64-bit*)
 
5868
          LD="${LD-ld} -melf64bmip"
 
5869
        ;;
 
5870
      esac
 
5871
    else
 
5872
      case `/usr/bin/file conftest.$ac_objext` in
 
5873
        *32-bit*)
 
5874
          LD="${LD-ld} -32"
 
5875
          ;;
 
5876
        *N32*)
 
5877
          LD="${LD-ld} -n32"
 
5878
          ;;
 
5879
        *64-bit*)
 
5880
          LD="${LD-ld} -64"
 
5881
          ;;
 
5882
      esac
 
5883
    fi
 
5884
  fi
 
5885
  rm -rf conftest*
 
5886
  ;;
 
5887
 
 
5888
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
5889
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
5890
  # Find out which ABI we are using.
 
5891
  echo 'int i;' > conftest.$ac_ext
 
5892
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
5893
  (eval $ac_compile) 2>&5
 
5894
  ac_status=$?
 
5895
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5896
  test $ac_status = 0; }; then
 
5897
    case `/usr/bin/file conftest.o` in
 
5898
      *32-bit*)
 
5899
        case $host in
 
5900
          x86_64-*kfreebsd*-gnu)
 
5901
            LD="${LD-ld} -m elf_i386_fbsd"
 
5902
            ;;
 
5903
          x86_64-*linux*)
 
5904
            LD="${LD-ld} -m elf_i386"
 
5905
            ;;
 
5906
          ppc64-*linux*|powerpc64-*linux*)
 
5907
            LD="${LD-ld} -m elf32ppclinux"
 
5908
            ;;
 
5909
          s390x-*linux*)
 
5910
            LD="${LD-ld} -m elf_s390"
 
5911
            ;;
 
5912
          sparc64-*linux*)
 
5913
            LD="${LD-ld} -m elf32_sparc"
 
5914
            ;;
 
5915
        esac
 
5916
        ;;
 
5917
      *64-bit*)
 
5918
        case $host in
 
5919
          x86_64-*kfreebsd*-gnu)
 
5920
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
5921
            ;;
 
5922
          x86_64-*linux*)
 
5923
            LD="${LD-ld} -m elf_x86_64"
 
5924
            ;;
 
5925
          ppc*-*linux*|powerpc*-*linux*)
 
5926
            LD="${LD-ld} -m elf64ppc"
 
5927
            ;;
 
5928
          s390*-*linux*|s390*-*tpf*)
 
5929
            LD="${LD-ld} -m elf64_s390"
 
5930
            ;;
 
5931
          sparc*-*linux*)
 
5932
            LD="${LD-ld} -m elf64_sparc"
 
5933
            ;;
 
5934
        esac
 
5935
        ;;
 
5936
    esac
 
5937
  fi
 
5938
  rm -rf conftest*
 
5939
  ;;
 
5940
 
 
5941
*-*-sco3.2v5*)
 
5942
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
5943
  SAVE_CFLAGS="$CFLAGS"
 
5944
  CFLAGS="$CFLAGS -belf"
 
5945
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 
5946
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
5947
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
5948
  $as_echo_n "(cached) " >&6
 
5949
else
 
5950
  ac_ext=c
 
5951
ac_cpp='$CPP $CPPFLAGS'
 
5952
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5953
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5954
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5955
 
 
5956
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5957
/* end confdefs.h.  */
 
5958
 
 
5959
int
 
5960
main ()
 
5961
{
 
5962
 
 
5963
  ;
 
5964
  return 0;
 
5965
}
 
5966
_ACEOF
 
5967
if ac_fn_c_try_link "$LINENO"; then :
 
5968
  lt_cv_cc_needs_belf=yes
 
5969
else
 
5970
  lt_cv_cc_needs_belf=no
 
5971
fi
 
5972
rm -f core conftest.err conftest.$ac_objext \
 
5973
    conftest$ac_exeext conftest.$ac_ext
 
5974
     ac_ext=c
 
5975
ac_cpp='$CPP $CPPFLAGS'
 
5976
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5977
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5978
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5979
 
 
5980
fi
 
5981
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 
5982
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
5983
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
5984
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
5985
    CFLAGS="$SAVE_CFLAGS"
 
5986
  fi
 
5987
  ;;
 
5988
sparc*-*solaris*)
 
5989
  # Find out which ABI we are using.
 
5990
  echo 'int i;' > conftest.$ac_ext
 
5991
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
5992
  (eval $ac_compile) 2>&5
 
5993
  ac_status=$?
 
5994
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5995
  test $ac_status = 0; }; then
 
5996
    case `/usr/bin/file conftest.o` in
 
5997
    *64-bit*)
 
5998
      case $lt_cv_prog_gnu_ld in
 
5999
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
6000
      *)
 
6001
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
6002
          LD="${LD-ld} -64"
 
6003
        fi
 
6004
        ;;
 
6005
      esac
 
6006
      ;;
 
6007
    esac
 
6008
  fi
 
6009
  rm -rf conftest*
 
6010
  ;;
 
6011
esac
 
6012
 
 
6013
need_locks="$enable_libtool_lock"
 
6014
 
 
6015
 
 
6016
  case $host_os in
 
6017
    rhapsody* | darwin*)
 
6018
    if test -n "$ac_tool_prefix"; then
 
6019
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
6020
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
6021
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6022
$as_echo_n "checking for $ac_word... " >&6; }
 
6023
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
6024
  $as_echo_n "(cached) " >&6
 
6025
else
 
6026
  if test -n "$DSYMUTIL"; then
 
6027
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
6028
else
 
6029
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6030
for as_dir in $PATH
 
6031
do
 
6032
  IFS=$as_save_IFS
 
6033
  test -z "$as_dir" && as_dir=.
 
6034
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6035
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6036
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
6037
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6038
    break 2
 
6039
  fi
 
6040
done
 
6041
  done
 
6042
IFS=$as_save_IFS
 
6043
 
 
6044
fi
 
6045
fi
 
6046
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
6047
if test -n "$DSYMUTIL"; then
 
6048
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 
6049
$as_echo "$DSYMUTIL" >&6; }
 
6050
else
 
6051
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6052
$as_echo "no" >&6; }
 
6053
fi
 
6054
 
 
6055
 
 
6056
fi
 
6057
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
6058
  ac_ct_DSYMUTIL=$DSYMUTIL
 
6059
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
6060
set dummy dsymutil; ac_word=$2
 
6061
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6062
$as_echo_n "checking for $ac_word... " >&6; }
 
6063
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
6064
  $as_echo_n "(cached) " >&6
 
6065
else
 
6066
  if test -n "$ac_ct_DSYMUTIL"; then
 
6067
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
6068
else
 
6069
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6070
for as_dir in $PATH
 
6071
do
 
6072
  IFS=$as_save_IFS
 
6073
  test -z "$as_dir" && as_dir=.
 
6074
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6075
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6076
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
6077
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6078
    break 2
 
6079
  fi
 
6080
done
 
6081
  done
 
6082
IFS=$as_save_IFS
 
6083
 
 
6084
fi
 
6085
fi
 
6086
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
6087
if test -n "$ac_ct_DSYMUTIL"; then
 
6088
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 
6089
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
6090
else
 
6091
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6092
$as_echo "no" >&6; }
 
6093
fi
 
6094
 
 
6095
  if test "x$ac_ct_DSYMUTIL" = x; then
 
6096
    DSYMUTIL=":"
 
6097
  else
 
6098
    case $cross_compiling:$ac_tool_warned in
 
6099
yes:)
 
6100
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6101
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6102
ac_tool_warned=yes ;;
 
6103
esac
 
6104
    DSYMUTIL=$ac_ct_DSYMUTIL
 
6105
  fi
 
6106
else
 
6107
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
6108
fi
 
6109
 
 
6110
    if test -n "$ac_tool_prefix"; then
 
6111
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
6112
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
6113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6114
$as_echo_n "checking for $ac_word... " >&6; }
 
6115
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
6116
  $as_echo_n "(cached) " >&6
 
6117
else
 
6118
  if test -n "$NMEDIT"; then
 
6119
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
6120
else
 
6121
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6122
for as_dir in $PATH
 
6123
do
 
6124
  IFS=$as_save_IFS
 
6125
  test -z "$as_dir" && as_dir=.
 
6126
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6127
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6128
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
6129
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6130
    break 2
 
6131
  fi
 
6132
done
 
6133
  done
 
6134
IFS=$as_save_IFS
 
6135
 
 
6136
fi
 
6137
fi
 
6138
NMEDIT=$ac_cv_prog_NMEDIT
 
6139
if test -n "$NMEDIT"; then
 
6140
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 
6141
$as_echo "$NMEDIT" >&6; }
 
6142
else
 
6143
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6144
$as_echo "no" >&6; }
 
6145
fi
 
6146
 
 
6147
 
 
6148
fi
 
6149
if test -z "$ac_cv_prog_NMEDIT"; then
 
6150
  ac_ct_NMEDIT=$NMEDIT
 
6151
  # Extract the first word of "nmedit", so it can be a program name with args.
 
6152
set dummy nmedit; ac_word=$2
 
6153
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6154
$as_echo_n "checking for $ac_word... " >&6; }
 
6155
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
6156
  $as_echo_n "(cached) " >&6
 
6157
else
 
6158
  if test -n "$ac_ct_NMEDIT"; then
 
6159
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
6160
else
 
6161
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6162
for as_dir in $PATH
 
6163
do
 
6164
  IFS=$as_save_IFS
 
6165
  test -z "$as_dir" && as_dir=.
 
6166
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6167
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6168
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
6169
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6170
    break 2
 
6171
  fi
 
6172
done
 
6173
  done
 
6174
IFS=$as_save_IFS
 
6175
 
 
6176
fi
 
6177
fi
 
6178
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
6179
if test -n "$ac_ct_NMEDIT"; then
 
6180
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 
6181
$as_echo "$ac_ct_NMEDIT" >&6; }
 
6182
else
 
6183
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6184
$as_echo "no" >&6; }
 
6185
fi
 
6186
 
 
6187
  if test "x$ac_ct_NMEDIT" = x; then
 
6188
    NMEDIT=":"
 
6189
  else
 
6190
    case $cross_compiling:$ac_tool_warned in
 
6191
yes:)
 
6192
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6193
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6194
ac_tool_warned=yes ;;
 
6195
esac
 
6196
    NMEDIT=$ac_ct_NMEDIT
 
6197
  fi
 
6198
else
 
6199
  NMEDIT="$ac_cv_prog_NMEDIT"
 
6200
fi
 
6201
 
 
6202
    if test -n "$ac_tool_prefix"; then
 
6203
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
6204
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
6205
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6206
$as_echo_n "checking for $ac_word... " >&6; }
 
6207
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
6208
  $as_echo_n "(cached) " >&6
 
6209
else
 
6210
  if test -n "$LIPO"; then
 
6211
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
6212
else
 
6213
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6214
for as_dir in $PATH
 
6215
do
 
6216
  IFS=$as_save_IFS
 
6217
  test -z "$as_dir" && as_dir=.
 
6218
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6219
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6220
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
6221
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6222
    break 2
 
6223
  fi
 
6224
done
 
6225
  done
 
6226
IFS=$as_save_IFS
 
6227
 
 
6228
fi
 
6229
fi
 
6230
LIPO=$ac_cv_prog_LIPO
 
6231
if test -n "$LIPO"; then
 
6232
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
6233
$as_echo "$LIPO" >&6; }
 
6234
else
 
6235
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6236
$as_echo "no" >&6; }
 
6237
fi
 
6238
 
 
6239
 
 
6240
fi
 
6241
if test -z "$ac_cv_prog_LIPO"; then
 
6242
  ac_ct_LIPO=$LIPO
 
6243
  # Extract the first word of "lipo", so it can be a program name with args.
 
6244
set dummy lipo; ac_word=$2
 
6245
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6246
$as_echo_n "checking for $ac_word... " >&6; }
 
6247
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
6248
  $as_echo_n "(cached) " >&6
 
6249
else
 
6250
  if test -n "$ac_ct_LIPO"; then
 
6251
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
6252
else
 
6253
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6254
for as_dir in $PATH
 
6255
do
 
6256
  IFS=$as_save_IFS
 
6257
  test -z "$as_dir" && as_dir=.
 
6258
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6259
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6260
    ac_cv_prog_ac_ct_LIPO="lipo"
 
6261
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6262
    break 2
 
6263
  fi
 
6264
done
 
6265
  done
 
6266
IFS=$as_save_IFS
 
6267
 
 
6268
fi
 
6269
fi
 
6270
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
6271
if test -n "$ac_ct_LIPO"; then
 
6272
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 
6273
$as_echo "$ac_ct_LIPO" >&6; }
 
6274
else
 
6275
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6276
$as_echo "no" >&6; }
 
6277
fi
 
6278
 
 
6279
  if test "x$ac_ct_LIPO" = x; then
 
6280
    LIPO=":"
 
6281
  else
 
6282
    case $cross_compiling:$ac_tool_warned in
 
6283
yes:)
 
6284
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6285
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6286
ac_tool_warned=yes ;;
 
6287
esac
 
6288
    LIPO=$ac_ct_LIPO
 
6289
  fi
 
6290
else
 
6291
  LIPO="$ac_cv_prog_LIPO"
 
6292
fi
 
6293
 
 
6294
    if test -n "$ac_tool_prefix"; then
 
6295
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
6296
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
6297
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6298
$as_echo_n "checking for $ac_word... " >&6; }
 
6299
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
6300
  $as_echo_n "(cached) " >&6
 
6301
else
 
6302
  if test -n "$OTOOL"; then
 
6303
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
6304
else
 
6305
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6306
for as_dir in $PATH
 
6307
do
 
6308
  IFS=$as_save_IFS
 
6309
  test -z "$as_dir" && as_dir=.
 
6310
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6311
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6312
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
6313
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6314
    break 2
 
6315
  fi
 
6316
done
 
6317
  done
 
6318
IFS=$as_save_IFS
 
6319
 
 
6320
fi
 
6321
fi
 
6322
OTOOL=$ac_cv_prog_OTOOL
 
6323
if test -n "$OTOOL"; then
 
6324
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 
6325
$as_echo "$OTOOL" >&6; }
 
6326
else
 
6327
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6328
$as_echo "no" >&6; }
 
6329
fi
 
6330
 
 
6331
 
 
6332
fi
 
6333
if test -z "$ac_cv_prog_OTOOL"; then
 
6334
  ac_ct_OTOOL=$OTOOL
 
6335
  # Extract the first word of "otool", so it can be a program name with args.
 
6336
set dummy otool; ac_word=$2
 
6337
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6338
$as_echo_n "checking for $ac_word... " >&6; }
 
6339
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
6340
  $as_echo_n "(cached) " >&6
 
6341
else
 
6342
  if test -n "$ac_ct_OTOOL"; then
 
6343
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
6344
else
 
6345
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6346
for as_dir in $PATH
 
6347
do
 
6348
  IFS=$as_save_IFS
 
6349
  test -z "$as_dir" && as_dir=.
 
6350
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6351
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6352
    ac_cv_prog_ac_ct_OTOOL="otool"
 
6353
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6354
    break 2
 
6355
  fi
 
6356
done
 
6357
  done
 
6358
IFS=$as_save_IFS
 
6359
 
 
6360
fi
 
6361
fi
 
6362
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
6363
if test -n "$ac_ct_OTOOL"; then
 
6364
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 
6365
$as_echo "$ac_ct_OTOOL" >&6; }
 
6366
else
 
6367
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6368
$as_echo "no" >&6; }
 
6369
fi
 
6370
 
 
6371
  if test "x$ac_ct_OTOOL" = x; then
 
6372
    OTOOL=":"
 
6373
  else
 
6374
    case $cross_compiling:$ac_tool_warned in
 
6375
yes:)
 
6376
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6377
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6378
ac_tool_warned=yes ;;
 
6379
esac
 
6380
    OTOOL=$ac_ct_OTOOL
 
6381
  fi
 
6382
else
 
6383
  OTOOL="$ac_cv_prog_OTOOL"
 
6384
fi
 
6385
 
 
6386
    if test -n "$ac_tool_prefix"; then
 
6387
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
6388
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
6389
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6390
$as_echo_n "checking for $ac_word... " >&6; }
 
6391
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
6392
  $as_echo_n "(cached) " >&6
 
6393
else
 
6394
  if test -n "$OTOOL64"; then
 
6395
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
6396
else
 
6397
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6398
for as_dir in $PATH
 
6399
do
 
6400
  IFS=$as_save_IFS
 
6401
  test -z "$as_dir" && as_dir=.
 
6402
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6403
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6404
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
6405
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6406
    break 2
 
6407
  fi
 
6408
done
 
6409
  done
 
6410
IFS=$as_save_IFS
 
6411
 
 
6412
fi
 
6413
fi
 
6414
OTOOL64=$ac_cv_prog_OTOOL64
 
6415
if test -n "$OTOOL64"; then
 
6416
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 
6417
$as_echo "$OTOOL64" >&6; }
 
6418
else
 
6419
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6420
$as_echo "no" >&6; }
 
6421
fi
 
6422
 
 
6423
 
 
6424
fi
 
6425
if test -z "$ac_cv_prog_OTOOL64"; then
 
6426
  ac_ct_OTOOL64=$OTOOL64
 
6427
  # Extract the first word of "otool64", so it can be a program name with args.
 
6428
set dummy otool64; ac_word=$2
 
6429
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6430
$as_echo_n "checking for $ac_word... " >&6; }
 
6431
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
6432
  $as_echo_n "(cached) " >&6
 
6433
else
 
6434
  if test -n "$ac_ct_OTOOL64"; then
 
6435
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
6436
else
 
6437
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6438
for as_dir in $PATH
 
6439
do
 
6440
  IFS=$as_save_IFS
 
6441
  test -z "$as_dir" && as_dir=.
 
6442
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6443
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6444
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
6445
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6446
    break 2
 
6447
  fi
 
6448
done
 
6449
  done
 
6450
IFS=$as_save_IFS
 
6451
 
 
6452
fi
 
6453
fi
 
6454
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
6455
if test -n "$ac_ct_OTOOL64"; then
 
6456
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 
6457
$as_echo "$ac_ct_OTOOL64" >&6; }
 
6458
else
 
6459
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6460
$as_echo "no" >&6; }
 
6461
fi
 
6462
 
 
6463
  if test "x$ac_ct_OTOOL64" = x; then
 
6464
    OTOOL64=":"
 
6465
  else
 
6466
    case $cross_compiling:$ac_tool_warned in
 
6467
yes:)
 
6468
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6469
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6470
ac_tool_warned=yes ;;
 
6471
esac
 
6472
    OTOOL64=$ac_ct_OTOOL64
 
6473
  fi
 
6474
else
 
6475
  OTOOL64="$ac_cv_prog_OTOOL64"
 
6476
fi
 
6477
 
 
6478
 
 
6479
 
 
6480
 
 
6481
 
 
6482
 
 
6483
 
 
6484
 
 
6485
 
 
6486
 
 
6487
 
 
6488
 
 
6489
 
 
6490
 
 
6491
 
 
6492
 
 
6493
 
 
6494
 
 
6495
 
 
6496
 
 
6497
 
 
6498
 
 
6499
 
 
6500
 
 
6501
 
 
6502
 
 
6503
 
 
6504
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 
6505
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
6506
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
6507
  $as_echo_n "(cached) " >&6
 
6508
else
 
6509
  lt_cv_apple_cc_single_mod=no
 
6510
      if test -z "${LT_MULTI_MODULE}"; then
 
6511
        # By default we will add the -single_module flag. You can override
 
6512
        # by either setting the environment variable LT_MULTI_MODULE
 
6513
        # non-empty at configure time, or by adding -multi_module to the
 
6514
        # link flags.
 
6515
        rm -rf libconftest.dylib*
 
6516
        echo "int foo(void){return 1;}" > conftest.c
 
6517
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
6518
-dynamiclib -Wl,-single_module conftest.c" >&5
 
6519
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
6520
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
6521
        _lt_result=$?
 
6522
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
6523
          lt_cv_apple_cc_single_mod=yes
 
6524
        else
 
6525
          cat conftest.err >&5
 
6526
        fi
 
6527
        rm -rf libconftest.dylib*
 
6528
        rm -f conftest.*
 
6529
      fi
 
6530
fi
 
6531
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 
6532
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
6533
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 
6534
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
6535
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
6536
  $as_echo_n "(cached) " >&6
 
6537
else
 
6538
  lt_cv_ld_exported_symbols_list=no
 
6539
      save_LDFLAGS=$LDFLAGS
 
6540
      echo "_main" > conftest.sym
 
6541
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
6542
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6543
/* end confdefs.h.  */
 
6544
 
 
6545
int
 
6546
main ()
 
6547
{
 
6548
 
 
6549
  ;
 
6550
  return 0;
 
6551
}
 
6552
_ACEOF
 
6553
if ac_fn_c_try_link "$LINENO"; then :
 
6554
  lt_cv_ld_exported_symbols_list=yes
 
6555
else
 
6556
  lt_cv_ld_exported_symbols_list=no
 
6557
fi
 
6558
rm -f core conftest.err conftest.$ac_objext \
 
6559
    conftest$ac_exeext conftest.$ac_ext
 
6560
        LDFLAGS="$save_LDFLAGS"
 
6561
 
 
6562
fi
 
6563
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 
6564
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
6565
    case $host_os in
 
6566
    rhapsody* | darwin1.[012])
 
6567
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
6568
    darwin1.*)
 
6569
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
6570
    darwin*) # darwin 5.x on
 
6571
      # if running on 10.5 or later, the deployment target defaults
 
6572
      # to the OS version, if on x86, and 10.4, the deployment
 
6573
      # target defaults to 10.4. Don't you love it?
 
6574
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
6575
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
6576
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
6577
        10.[012]*)
 
6578
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
6579
        10.*)
 
6580
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
6581
      esac
 
6582
    ;;
 
6583
  esac
 
6584
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
6585
      _lt_dar_single_mod='$single_module'
 
6586
    fi
 
6587
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
6588
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
6589
    else
 
6590
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
6591
    fi
 
6592
    if test "$DSYMUTIL" != ":"; then
 
6593
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
6594
    else
 
6595
      _lt_dsymutil=
 
6596
    fi
 
6597
    ;;
 
6598
  esac
 
6599
 
 
6600
ac_ext=c
 
6601
ac_cpp='$CPP $CPPFLAGS'
 
6602
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6603
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6604
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6605
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
6606
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
6607
# On Suns, sometimes $CPP names a directory.
 
6608
if test -n "$CPP" && test -d "$CPP"; then
 
6609
  CPP=
 
6610
fi
 
6611
if test -z "$CPP"; then
 
6612
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
6613
  $as_echo_n "(cached) " >&6
 
6614
else
 
6615
      # Double quotes because CPP needs to be expanded
 
6616
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
6617
    do
 
6618
      ac_preproc_ok=false
 
6619
for ac_c_preproc_warn_flag in '' yes
 
6620
do
 
6621
  # Use a header file that comes with gcc, so configuring glibc
 
6622
  # with a fresh cross-compiler works.
 
6623
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6624
  # <limits.h> exists even on freestanding compilers.
 
6625
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
6626
  # not just through cpp. "Syntax error" is here to catch this case.
 
6627
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6628
/* end confdefs.h.  */
 
6629
#ifdef __STDC__
 
6630
# include <limits.h>
 
6631
#else
 
6632
# include <assert.h>
 
6633
#endif
 
6634
                     Syntax error
 
6635
_ACEOF
 
6636
if ac_fn_c_try_cpp "$LINENO"; then :
 
6637
 
 
6638
else
 
6639
  # Broken: fails on valid input.
 
6640
continue
 
6641
fi
 
6642
rm -f conftest.err conftest.$ac_ext
 
6643
 
 
6644
  # OK, works on sane cases.  Now check whether nonexistent headers
 
6645
  # can be detected and how.
 
6646
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6647
/* end confdefs.h.  */
 
6648
#include <ac_nonexistent.h>
 
6649
_ACEOF
 
6650
if ac_fn_c_try_cpp "$LINENO"; then :
 
6651
  # Broken: success on invalid input.
 
6652
continue
 
6653
else
 
6654
  # Passes both tests.
 
6655
ac_preproc_ok=:
 
6656
break
 
6657
fi
 
6658
rm -f conftest.err conftest.$ac_ext
 
6659
 
 
6660
done
 
6661
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
6662
rm -f conftest.err conftest.$ac_ext
 
6663
if $ac_preproc_ok; then :
 
6664
  break
 
6665
fi
 
6666
 
 
6667
    done
 
6668
    ac_cv_prog_CPP=$CPP
 
6669
 
 
6670
fi
 
6671
  CPP=$ac_cv_prog_CPP
 
6672
else
 
6673
  ac_cv_prog_CPP=$CPP
 
6674
fi
 
6675
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
6676
$as_echo "$CPP" >&6; }
 
6677
ac_preproc_ok=false
 
6678
for ac_c_preproc_warn_flag in '' yes
 
6679
do
 
6680
  # Use a header file that comes with gcc, so configuring glibc
 
6681
  # with a fresh cross-compiler works.
 
6682
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6683
  # <limits.h> exists even on freestanding compilers.
 
6684
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
6685
  # not just through cpp. "Syntax error" is here to catch this case.
 
6686
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6687
/* end confdefs.h.  */
 
6688
#ifdef __STDC__
 
6689
# include <limits.h>
 
6690
#else
 
6691
# include <assert.h>
 
6692
#endif
 
6693
                     Syntax error
 
6694
_ACEOF
 
6695
if ac_fn_c_try_cpp "$LINENO"; then :
 
6696
 
 
6697
else
 
6698
  # Broken: fails on valid input.
 
6699
continue
 
6700
fi
 
6701
rm -f conftest.err conftest.$ac_ext
 
6702
 
 
6703
  # OK, works on sane cases.  Now check whether nonexistent headers
 
6704
  # can be detected and how.
 
6705
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6706
/* end confdefs.h.  */
 
6707
#include <ac_nonexistent.h>
 
6708
_ACEOF
 
6709
if ac_fn_c_try_cpp "$LINENO"; then :
 
6710
  # Broken: success on invalid input.
 
6711
continue
 
6712
else
 
6713
  # Passes both tests.
 
6714
ac_preproc_ok=:
 
6715
break
 
6716
fi
 
6717
rm -f conftest.err conftest.$ac_ext
 
6718
 
 
6719
done
 
6720
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
6721
rm -f conftest.err conftest.$ac_ext
 
6722
if $ac_preproc_ok; then :
 
6723
 
 
6724
else
 
6725
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
6726
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
6727
as_fn_error "C preprocessor \"$CPP\" fails sanity check
 
6728
See \`config.log' for more details." "$LINENO" 5; }
 
6729
fi
 
6730
 
 
6731
ac_ext=c
 
6732
ac_cpp='$CPP $CPPFLAGS'
 
6733
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6734
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6735
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6736
 
 
6737
 
 
6738
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
6739
$as_echo_n "checking for ANSI C header files... " >&6; }
 
6740
if test "${ac_cv_header_stdc+set}" = set; then :
 
6741
  $as_echo_n "(cached) " >&6
 
6742
else
 
6743
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6744
/* end confdefs.h.  */
 
6745
#include <stdlib.h>
 
6746
#include <stdarg.h>
 
6747
#include <string.h>
 
6748
#include <float.h>
 
6749
 
 
6750
int
 
6751
main ()
 
6752
{
 
6753
 
 
6754
  ;
 
6755
  return 0;
 
6756
}
 
6757
_ACEOF
 
6758
if ac_fn_c_try_compile "$LINENO"; then :
 
6759
  ac_cv_header_stdc=yes
 
6760
else
 
6761
  ac_cv_header_stdc=no
 
6762
fi
 
6763
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6764
 
 
6765
if test $ac_cv_header_stdc = yes; then
 
6766
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
6767
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6768
/* end confdefs.h.  */
 
6769
#include <string.h>
 
6770
 
 
6771
_ACEOF
 
6772
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
6773
  $EGREP "memchr" >/dev/null 2>&1; then :
 
6774
 
 
6775
else
 
6776
  ac_cv_header_stdc=no
 
6777
fi
 
6778
rm -f conftest*
 
6779
 
 
6780
fi
 
6781
 
 
6782
if test $ac_cv_header_stdc = yes; then
 
6783
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
6784
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6785
/* end confdefs.h.  */
 
6786
#include <stdlib.h>
 
6787
 
 
6788
_ACEOF
 
6789
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
6790
  $EGREP "free" >/dev/null 2>&1; then :
 
6791
 
 
6792
else
 
6793
  ac_cv_header_stdc=no
 
6794
fi
 
6795
rm -f conftest*
 
6796
 
 
6797
fi
 
6798
 
 
6799
if test $ac_cv_header_stdc = yes; then
 
6800
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
6801
  if test "$cross_compiling" = yes; then :
 
6802
  :
 
6803
else
 
6804
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6805
/* end confdefs.h.  */
 
6806
#include <ctype.h>
 
6807
#include <stdlib.h>
 
6808
#if ((' ' & 0x0FF) == 0x020)
 
6809
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
6810
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
6811
#else
 
6812
# define ISLOWER(c) \
 
6813
                   (('a' <= (c) && (c) <= 'i') \
 
6814
                     || ('j' <= (c) && (c) <= 'r') \
 
6815
                     || ('s' <= (c) && (c) <= 'z'))
 
6816
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
6817
#endif
 
6818
 
 
6819
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
6820
int
 
6821
main ()
 
6822
{
 
6823
  int i;
 
6824
  for (i = 0; i < 256; i++)
 
6825
    if (XOR (islower (i), ISLOWER (i))
 
6826
        || toupper (i) != TOUPPER (i))
 
6827
      return 2;
 
6828
  return 0;
 
6829
}
 
6830
_ACEOF
 
6831
if ac_fn_c_try_run "$LINENO"; then :
 
6832
 
 
6833
else
 
6834
  ac_cv_header_stdc=no
 
6835
fi
 
6836
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
6837
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
6838
fi
 
6839
 
 
6840
fi
 
6841
fi
 
6842
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
6843
$as_echo "$ac_cv_header_stdc" >&6; }
 
6844
if test $ac_cv_header_stdc = yes; then
 
6845
 
 
6846
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
6847
 
 
6848
fi
 
6849
 
 
6850
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
6851
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
6852
                  inttypes.h stdint.h unistd.h
 
6853
do :
 
6854
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
6855
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
6856
"
 
6857
eval as_val=\$$as_ac_Header
 
6858
   if test "x$as_val" = x""yes; then :
 
6859
  cat >>confdefs.h <<_ACEOF
 
6860
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
6861
_ACEOF
 
6862
 
 
6863
fi
 
6864
 
 
6865
done
 
6866
 
 
6867
 
 
6868
for ac_header in dlfcn.h
 
6869
do :
 
6870
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
6871
"
 
6872
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
6873
  cat >>confdefs.h <<_ACEOF
 
6874
#define HAVE_DLFCN_H 1
 
6875
_ACEOF
 
6876
 
 
6877
fi
 
6878
 
 
6879
done
 
6880
 
 
6881
 
 
6882
 
 
6883
# Set options
 
6884
 
 
6885
 
 
6886
 
 
6887
        enable_dlopen=no
 
6888
 
 
6889
 
 
6890
  enable_win32_dll=no
 
6891
 
 
6892
 
 
6893
            # Check whether --enable-shared was given.
 
6894
if test "${enable_shared+set}" = set; then :
 
6895
  enableval=$enable_shared; p=${PACKAGE-default}
 
6896
    case $enableval in
 
6897
    yes) enable_shared=yes ;;
 
6898
    no) enable_shared=no ;;
 
6899
    *)
 
6900
      enable_shared=no
 
6901
      # Look at the argument we got.  We use all the common list separators.
 
6902
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
6903
      for pkg in $enableval; do
 
6904
        IFS="$lt_save_ifs"
 
6905
        if test "X$pkg" = "X$p"; then
 
6906
          enable_shared=yes
 
6907
        fi
 
6908
      done
 
6909
      IFS="$lt_save_ifs"
 
6910
      ;;
 
6911
    esac
 
6912
else
 
6913
  enable_shared=yes
 
6914
fi
 
6915
 
 
6916
 
 
6917
 
 
6918
 
 
6919
 
 
6920
 
 
6921
 
 
6922
 
 
6923
 
 
6924
  # Check whether --enable-static was given.
 
6925
if test "${enable_static+set}" = set; then :
 
6926
  enableval=$enable_static; p=${PACKAGE-default}
 
6927
    case $enableval in
 
6928
    yes) enable_static=yes ;;
 
6929
    no) enable_static=no ;;
 
6930
    *)
 
6931
     enable_static=no
 
6932
      # Look at the argument we got.  We use all the common list separators.
 
6933
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
6934
      for pkg in $enableval; do
 
6935
        IFS="$lt_save_ifs"
 
6936
        if test "X$pkg" = "X$p"; then
 
6937
          enable_static=yes
 
6938
        fi
 
6939
      done
 
6940
      IFS="$lt_save_ifs"
 
6941
      ;;
 
6942
    esac
 
6943
else
 
6944
  enable_static=yes
 
6945
fi
 
6946
 
 
6947
 
 
6948
 
 
6949
 
 
6950
 
 
6951
 
 
6952
 
 
6953
 
 
6954
 
 
6955
 
 
6956
# Check whether --with-pic was given.
 
6957
if test "${with_pic+set}" = set; then :
 
6958
  withval=$with_pic; pic_mode="$withval"
 
6959
else
 
6960
  pic_mode=default
 
6961
fi
 
6962
 
 
6963
 
 
6964
test -z "$pic_mode" && pic_mode=default
 
6965
 
 
6966
 
 
6967
 
 
6968
 
 
6969
 
 
6970
 
 
6971
 
 
6972
  # Check whether --enable-fast-install was given.
 
6973
if test "${enable_fast_install+set}" = set; then :
 
6974
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
6975
    case $enableval in
 
6976
    yes) enable_fast_install=yes ;;
 
6977
    no) enable_fast_install=no ;;
 
6978
    *)
 
6979
      enable_fast_install=no
 
6980
      # Look at the argument we got.  We use all the common list separators.
 
6981
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
6982
      for pkg in $enableval; do
 
6983
        IFS="$lt_save_ifs"
 
6984
        if test "X$pkg" = "X$p"; then
 
6985
          enable_fast_install=yes
 
6986
        fi
 
6987
      done
 
6988
      IFS="$lt_save_ifs"
 
6989
      ;;
 
6990
    esac
 
6991
else
 
6992
  enable_fast_install=yes
 
6993
fi
 
6994
 
 
6995
 
 
6996
 
 
6997
 
 
6998
 
 
6999
 
 
7000
 
 
7001
 
 
7002
 
 
7003
 
 
7004
 
 
7005
# This can be used to rebuild libtool when needed
 
7006
LIBTOOL_DEPS="$ltmain"
 
7007
 
 
7008
# Always use our own libtool.
 
7009
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
7010
 
 
7011
 
 
7012
 
 
7013
 
 
7014
 
 
7015
 
 
7016
 
 
7017
 
 
7018
 
 
7019
 
 
7020
 
 
7021
 
 
7022
 
 
7023
 
 
7024
 
 
7025
 
 
7026
 
 
7027
 
 
7028
 
 
7029
 
 
7030
 
 
7031
 
 
7032
 
 
7033
 
 
7034
 
 
7035
test -z "$LN_S" && LN_S="ln -s"
 
7036
 
 
7037
 
 
7038
 
 
7039
 
 
7040
 
 
7041
 
 
7042
 
 
7043
 
 
7044
 
 
7045
 
 
7046
 
 
7047
 
 
7048
 
 
7049
 
 
7050
if test -n "${ZSH_VERSION+set}" ; then
 
7051
   setopt NO_GLOB_SUBST
 
7052
fi
 
7053
 
 
7054
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 
7055
$as_echo_n "checking for objdir... " >&6; }
 
7056
if test "${lt_cv_objdir+set}" = set; then :
 
7057
  $as_echo_n "(cached) " >&6
 
7058
else
 
7059
  rm -f .libs 2>/dev/null
 
7060
mkdir .libs 2>/dev/null
 
7061
if test -d .libs; then
 
7062
  lt_cv_objdir=.libs
 
7063
else
 
7064
  # MS-DOS does not allow filenames that begin with a dot.
 
7065
  lt_cv_objdir=_libs
 
7066
fi
 
7067
rmdir .libs 2>/dev/null
 
7068
fi
 
7069
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 
7070
$as_echo "$lt_cv_objdir" >&6; }
 
7071
objdir=$lt_cv_objdir
 
7072
 
 
7073
 
 
7074
 
 
7075
 
 
7076
 
 
7077
cat >>confdefs.h <<_ACEOF
 
7078
#define LT_OBJDIR "$lt_cv_objdir/"
 
7079
_ACEOF
 
7080
 
 
7081
 
 
7082
 
 
7083
 
 
7084
 
 
7085
 
 
7086
 
 
7087
 
 
7088
 
 
7089
 
 
7090
 
 
7091
 
 
7092
 
 
7093
 
 
7094
 
 
7095
 
 
7096
 
 
7097
case $host_os in
 
7098
aix3*)
 
7099
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
7100
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
7101
  # vanish in a puff of smoke.
 
7102
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
7103
    COLLECT_NAMES=
 
7104
    export COLLECT_NAMES
 
7105
  fi
 
7106
  ;;
 
7107
esac
 
7108
 
 
7109
# Sed substitution that helps us do robust quoting.  It backslashifies
 
7110
# metacharacters that are still active within double-quoted strings.
 
7111
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
7112
 
 
7113
# Same as above, but do not quote variable references.
 
7114
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
7115
 
 
7116
# Sed substitution to delay expansion of an escaped shell variable in a
 
7117
# double_quote_subst'ed string.
 
7118
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
7119
 
 
7120
# Sed substitution to delay expansion of an escaped single quote.
 
7121
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
7122
 
 
7123
# Sed substitution to avoid accidental globbing in evaled expressions
 
7124
no_glob_subst='s/\*/\\\*/g'
 
7125
 
 
7126
# Global variables:
 
7127
ofile=libtool
 
7128
can_build_shared=yes
 
7129
 
 
7130
# All known linkers require a `.a' archive for static linking (except MSVC,
 
7131
# which needs '.lib').
 
7132
libext=a
 
7133
 
 
7134
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
7135
 
 
7136
old_CC="$CC"
 
7137
old_CFLAGS="$CFLAGS"
 
7138
 
 
7139
# Set sane defaults for various variables
 
7140
test -z "$CC" && CC=cc
 
7141
test -z "$LTCC" && LTCC=$CC
 
7142
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
7143
test -z "$LD" && LD=ld
 
7144
test -z "$ac_objext" && ac_objext=o
 
7145
 
 
7146
for cc_temp in $compiler""; do
 
7147
  case $cc_temp in
 
7148
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
7149
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
7150
    \-*) ;;
 
7151
    *) break;;
 
7152
  esac
 
7153
done
 
7154
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
7155
 
 
7156
 
 
7157
# Only perform the check for file, if the check method requires it
 
7158
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
7159
case $deplibs_check_method in
 
7160
file_magic*)
 
7161
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
7162
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 
7163
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
7164
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
7165
  $as_echo_n "(cached) " >&6
 
7166
else
 
7167
  case $MAGIC_CMD in
 
7168
[\\/*] |  ?:[\\/]*)
 
7169
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
7170
  ;;
 
7171
*)
 
7172
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
7173
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7174
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
7175
  for ac_dir in $ac_dummy; do
 
7176
    IFS="$lt_save_ifs"
 
7177
    test -z "$ac_dir" && ac_dir=.
 
7178
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
7179
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
7180
      if test -n "$file_magic_test_file"; then
 
7181
        case $deplibs_check_method in
 
7182
        "file_magic "*)
 
7183
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
7184
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7185
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
7186
            $EGREP "$file_magic_regex" > /dev/null; then
 
7187
            :
 
7188
          else
 
7189
            cat <<_LT_EOF 1>&2
 
7190
 
 
7191
*** Warning: the command libtool uses to detect shared libraries,
 
7192
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
7193
*** The result is that libtool may fail to recognize shared libraries
 
7194
*** as such.  This will affect the creation of libtool libraries that
 
7195
*** depend on shared libraries, but programs linked with such libtool
 
7196
*** libraries will work regardless of this problem.  Nevertheless, you
 
7197
*** may want to report the problem to your system manager and/or to
 
7198
*** bug-libtool@gnu.org
 
7199
 
 
7200
_LT_EOF
 
7201
          fi ;;
 
7202
        esac
 
7203
      fi
 
7204
      break
 
7205
    fi
 
7206
  done
 
7207
  IFS="$lt_save_ifs"
 
7208
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
7209
  ;;
 
7210
esac
 
7211
fi
 
7212
 
 
7213
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7214
if test -n "$MAGIC_CMD"; then
 
7215
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
7216
$as_echo "$MAGIC_CMD" >&6; }
 
7217
else
 
7218
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7219
$as_echo "no" >&6; }
 
7220
fi
 
7221
 
 
7222
 
 
7223
 
 
7224
 
 
7225
 
 
7226
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
7227
  if test -n "$ac_tool_prefix"; then
 
7228
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 
7229
$as_echo_n "checking for file... " >&6; }
 
7230
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
7231
  $as_echo_n "(cached) " >&6
 
7232
else
 
7233
  case $MAGIC_CMD in
 
7234
[\\/*] |  ?:[\\/]*)
 
7235
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
7236
  ;;
 
7237
*)
 
7238
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
7239
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7240
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
7241
  for ac_dir in $ac_dummy; do
 
7242
    IFS="$lt_save_ifs"
 
7243
    test -z "$ac_dir" && ac_dir=.
 
7244
    if test -f $ac_dir/file; then
 
7245
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
7246
      if test -n "$file_magic_test_file"; then
 
7247
        case $deplibs_check_method in
 
7248
        "file_magic "*)
 
7249
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
7250
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7251
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
7252
            $EGREP "$file_magic_regex" > /dev/null; then
 
7253
            :
 
7254
          else
 
7255
            cat <<_LT_EOF 1>&2
 
7256
 
 
7257
*** Warning: the command libtool uses to detect shared libraries,
 
7258
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
7259
*** The result is that libtool may fail to recognize shared libraries
 
7260
*** as such.  This will affect the creation of libtool libraries that
 
7261
*** depend on shared libraries, but programs linked with such libtool
 
7262
*** libraries will work regardless of this problem.  Nevertheless, you
 
7263
*** may want to report the problem to your system manager and/or to
 
7264
*** bug-libtool@gnu.org
 
7265
 
 
7266
_LT_EOF
 
7267
          fi ;;
 
7268
        esac
 
7269
      fi
 
7270
      break
 
7271
    fi
 
7272
  done
 
7273
  IFS="$lt_save_ifs"
 
7274
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
7275
  ;;
 
7276
esac
 
7277
fi
 
7278
 
 
7279
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7280
if test -n "$MAGIC_CMD"; then
 
7281
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
7282
$as_echo "$MAGIC_CMD" >&6; }
 
7283
else
 
7284
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7285
$as_echo "no" >&6; }
 
7286
fi
 
7287
 
 
7288
 
 
7289
  else
 
7290
    MAGIC_CMD=:
 
7291
  fi
 
7292
fi
 
7293
 
 
7294
  fi
 
7295
  ;;
 
7296
esac
 
7297
 
 
7298
# Use C for the default configuration in the libtool script
 
7299
 
 
7300
lt_save_CC="$CC"
 
7301
ac_ext=c
 
7302
ac_cpp='$CPP $CPPFLAGS'
 
7303
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7304
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7305
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7306
 
 
7307
 
 
7308
# Source file extension for C test sources.
 
7309
ac_ext=c
 
7310
 
 
7311
# Object file extension for compiled C test sources.
 
7312
objext=o
 
7313
objext=$objext
 
7314
 
 
7315
# Code to be used in simple compile tests
 
7316
lt_simple_compile_test_code="int some_variable = 0;"
 
7317
 
 
7318
# Code to be used in simple link tests
 
7319
lt_simple_link_test_code='int main(){return(0);}'
 
7320
 
 
7321
 
 
7322
 
 
7323
 
 
7324
 
 
7325
 
 
7326
 
 
7327
# If no C compiler was specified, use CC.
 
7328
LTCC=${LTCC-"$CC"}
 
7329
 
 
7330
# If no C compiler flags were specified, use CFLAGS.
 
7331
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
7332
 
 
7333
# Allow CC to be a program name with arguments.
 
7334
compiler=$CC
 
7335
 
 
7336
# Save the default compiler, since it gets overwritten when the other
 
7337
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
7338
compiler_DEFAULT=$CC
 
7339
 
 
7340
# save warnings/boilerplate of simple test code
 
7341
ac_outfile=conftest.$ac_objext
 
7342
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
7343
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
7344
_lt_compiler_boilerplate=`cat conftest.err`
 
7345
$RM conftest*
 
7346
 
 
7347
ac_outfile=conftest.$ac_objext
 
7348
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
7349
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
7350
_lt_linker_boilerplate=`cat conftest.err`
 
7351
$RM -r conftest*
 
7352
 
 
7353
 
 
7354
## CAVEAT EMPTOR:
 
7355
## There is no encapsulation within the following macros, do not change
 
7356
## the running order or otherwise move them around unless you know exactly
 
7357
## what you are doing...
 
7358
if test -n "$compiler"; then
 
7359
 
 
7360
lt_prog_compiler_no_builtin_flag=
 
7361
 
 
7362
if test "$GCC" = yes; then
 
7363
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
7364
 
 
7365
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7366
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
7367
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
7368
  $as_echo_n "(cached) " >&6
 
7369
else
 
7370
  lt_cv_prog_compiler_rtti_exceptions=no
 
7371
   ac_outfile=conftest.$ac_objext
 
7372
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7373
   lt_compiler_flag="-fno-rtti -fno-exceptions"
 
7374
   # Insert the option either (1) after the last *FLAGS variable, or
 
7375
   # (2) before a word containing "conftest.", or (3) at the end.
 
7376
   # Note that $ac_compile itself does not contain backslashes and begins
 
7377
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
7378
   # The option is referenced via a variable to avoid confusing sed.
 
7379
   lt_compile=`echo "$ac_compile" | $SED \
 
7380
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
7381
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
7382
   -e 's:$: $lt_compiler_flag:'`
 
7383
   (eval echo "\"\$as_me:7383: $lt_compile\"" >&5)
 
7384
   (eval "$lt_compile" 2>conftest.err)
 
7385
   ac_status=$?
 
7386
   cat conftest.err >&5
 
7387
   echo "$as_me:7387: \$? = $ac_status" >&5
 
7388
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
7389
     # The compiler can only warn and ignore the option if not recognized
 
7390
     # So say no if there are warnings other than the usual output.
 
7391
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7392
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
7393
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
7394
       lt_cv_prog_compiler_rtti_exceptions=yes
 
7395
     fi
 
7396
   fi
 
7397
   $RM conftest*
 
7398
 
 
7399
fi
 
7400
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7401
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
7402
 
 
7403
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 
7404
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 
7405
else
 
7406
    :
 
7407
fi
 
7408
 
 
7409
fi
 
7410
 
 
7411
 
 
7412
 
 
7413
 
 
7414
 
 
7415
 
 
7416
  lt_prog_compiler_wl=
 
7417
lt_prog_compiler_pic=
 
7418
lt_prog_compiler_static=
 
7419
 
 
7420
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
7421
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
7422
 
 
7423
  if test "$GCC" = yes; then
 
7424
    lt_prog_compiler_wl='-Wl,'
 
7425
    lt_prog_compiler_static='-static'
 
7426
 
 
7427
    case $host_os in
 
7428
      aix*)
 
7429
      # All AIX code is PIC.
 
7430
      if test "$host_cpu" = ia64; then
 
7431
        # AIX 5 now supports IA64 processor
 
7432
        lt_prog_compiler_static='-Bstatic'
 
7433
      fi
 
7434
      ;;
 
7435
 
 
7436
    amigaos*)
 
7437
      case $host_cpu in
 
7438
      powerpc)
 
7439
            # see comment about AmigaOS4 .so support
 
7440
            lt_prog_compiler_pic='-fPIC'
 
7441
        ;;
 
7442
      m68k)
 
7443
            # FIXME: we need at least 68020 code to build shared libraries, but
 
7444
            # adding the `-m68020' flag to GCC prevents building anything better,
 
7445
            # like `-m68040'.
 
7446
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
7447
        ;;
 
7448
      esac
 
7449
      ;;
 
7450
 
 
7451
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
7452
      # PIC is the default for these OSes.
 
7453
      ;;
 
7454
 
 
7455
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
7456
      # This hack is so that the source file can tell whether it is being
 
7457
      # built for inclusion in a dll (and should export symbols for example).
 
7458
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
7459
      # (--disable-auto-import) libraries
 
7460
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
7461
      ;;
 
7462
 
 
7463
    darwin* | rhapsody*)
 
7464
      # PIC is the default on this platform
 
7465
      # Common symbols not allowed in MH_DYLIB files
 
7466
      lt_prog_compiler_pic='-fno-common'
 
7467
      ;;
 
7468
 
 
7469
    hpux*)
 
7470
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
7471
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
7472
      # sets the default TLS model and affects inlining.
 
7473
      case $host_cpu in
 
7474
      hppa*64*)
 
7475
        # +Z the default
 
7476
        ;;
 
7477
      *)
 
7478
        lt_prog_compiler_pic='-fPIC'
 
7479
        ;;
 
7480
      esac
 
7481
      ;;
 
7482
 
 
7483
    interix[3-9]*)
 
7484
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
7485
      # Instead, we relocate shared libraries at runtime.
 
7486
      ;;
 
7487
 
 
7488
    msdosdjgpp*)
 
7489
      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
7490
      # on systems that don't support them.
 
7491
      lt_prog_compiler_can_build_shared=no
 
7492
      enable_shared=no
 
7493
      ;;
 
7494
 
 
7495
    *nto* | *qnx*)
 
7496
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
7497
      # it will coredump.
 
7498
      lt_prog_compiler_pic='-fPIC -shared'
 
7499
      ;;
 
7500
 
 
7501
    sysv4*MP*)
 
7502
      if test -d /usr/nec; then
 
7503
        lt_prog_compiler_pic=-Kconform_pic
 
7504
      fi
 
7505
      ;;
 
7506
 
 
7507
    *)
 
7508
      lt_prog_compiler_pic='-fPIC'
 
7509
      ;;
 
7510
    esac
 
7511
  else
 
7512
    # PORTME Check for flag to pass linker flags through the system compiler.
 
7513
    case $host_os in
 
7514
    aix*)
 
7515
      lt_prog_compiler_wl='-Wl,'
 
7516
      if test "$host_cpu" = ia64; then
 
7517
        # AIX 5 now supports IA64 processor
 
7518
        lt_prog_compiler_static='-Bstatic'
 
7519
      else
 
7520
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 
7521
      fi
 
7522
      ;;
 
7523
 
 
7524
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
7525
      # This hack is so that the source file can tell whether it is being
 
7526
      # built for inclusion in a dll (and should export symbols for example).
 
7527
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
7528
      ;;
 
7529
 
 
7530
    hpux9* | hpux10* | hpux11*)
 
7531
      lt_prog_compiler_wl='-Wl,'
 
7532
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
7533
      # not for PA HP-UX.
 
7534
      case $host_cpu in
 
7535
      hppa*64*|ia64*)
 
7536
        # +Z the default
 
7537
        ;;
 
7538
      *)
 
7539
        lt_prog_compiler_pic='+Z'
 
7540
        ;;
 
7541
      esac
 
7542
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
7543
      lt_prog_compiler_static='${wl}-a ${wl}archive'
 
7544
      ;;
 
7545
 
 
7546
    irix5* | irix6* | nonstopux*)
 
7547
      lt_prog_compiler_wl='-Wl,'
 
7548
      # PIC (with -KPIC) is the default.
 
7549
      lt_prog_compiler_static='-non_shared'
 
7550
      ;;
 
7551
 
 
7552
    linux* | k*bsd*-gnu)
 
7553
      case $cc_basename in
 
7554
      # old Intel for x86_64 which still supported -KPIC.
 
7555
      ecc*)
 
7556
        lt_prog_compiler_wl='-Wl,'
 
7557
        lt_prog_compiler_pic='-KPIC'
 
7558
        lt_prog_compiler_static='-static'
 
7559
        ;;
 
7560
      # icc used to be incompatible with GCC.
 
7561
      # ICC 10 doesn't accept -KPIC any more.
 
7562
      icc* | ifort*)
 
7563
        lt_prog_compiler_wl='-Wl,'
 
7564
        lt_prog_compiler_pic='-fPIC'
 
7565
        lt_prog_compiler_static='-static'
 
7566
        ;;
 
7567
      # Lahey Fortran 8.1.
 
7568
      lf95*)
 
7569
        lt_prog_compiler_wl='-Wl,'
 
7570
        lt_prog_compiler_pic='--shared'
 
7571
        lt_prog_compiler_static='--static'
 
7572
        ;;
 
7573
      pgcc* | pgf77* | pgf90* | pgf95*)
 
7574
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
7575
        # which looks to be a dead project)
 
7576
        lt_prog_compiler_wl='-Wl,'
 
7577
        lt_prog_compiler_pic='-fpic'
 
7578
        lt_prog_compiler_static='-Bstatic'
 
7579
        ;;
 
7580
      ccc*)
 
7581
        lt_prog_compiler_wl='-Wl,'
 
7582
        # All Alpha code is PIC.
 
7583
        lt_prog_compiler_static='-non_shared'
 
7584
        ;;
 
7585
      xl*)
 
7586
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
7587
        lt_prog_compiler_wl='-Wl,'
 
7588
        lt_prog_compiler_pic='-qpic'
 
7589
        lt_prog_compiler_static='-qstaticlink'
 
7590
        ;;
 
7591
      *)
 
7592
        case `$CC -V 2>&1 | sed 5q` in
 
7593
        *Sun\ C*)
 
7594
          # Sun C 5.9
 
7595
          lt_prog_compiler_pic='-KPIC'
 
7596
          lt_prog_compiler_static='-Bstatic'
 
7597
          lt_prog_compiler_wl='-Wl,'
 
7598
          ;;
 
7599
        *Sun\ F*)
 
7600
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
7601
          lt_prog_compiler_pic='-KPIC'
 
7602
          lt_prog_compiler_static='-Bstatic'
 
7603
          lt_prog_compiler_wl=''
 
7604
          ;;
 
7605
        esac
 
7606
        ;;
 
7607
      esac
 
7608
      ;;
 
7609
 
 
7610
    newsos6)
 
7611
      lt_prog_compiler_pic='-KPIC'
 
7612
      lt_prog_compiler_static='-Bstatic'
 
7613
      ;;
 
7614
 
 
7615
    *nto* | *qnx*)
 
7616
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
7617
      # it will coredump.
 
7618
      lt_prog_compiler_pic='-fPIC -shared'
 
7619
      ;;
 
7620
 
 
7621
    osf3* | osf4* | osf5*)
 
7622
      lt_prog_compiler_wl='-Wl,'
 
7623
      # All OSF/1 code is PIC.
 
7624
      lt_prog_compiler_static='-non_shared'
 
7625
      ;;
 
7626
 
 
7627
    rdos*)
 
7628
      lt_prog_compiler_static='-non_shared'
 
7629
      ;;
 
7630
 
 
7631
    solaris*)
 
7632
      lt_prog_compiler_pic='-KPIC'
 
7633
      lt_prog_compiler_static='-Bstatic'
 
7634
      case $cc_basename in
 
7635
      f77* | f90* | f95*)
 
7636
        lt_prog_compiler_wl='-Qoption ld ';;
 
7637
      *)
 
7638
        lt_prog_compiler_wl='-Wl,';;
 
7639
      esac
 
7640
      ;;
 
7641
 
 
7642
    sunos4*)
 
7643
      lt_prog_compiler_wl='-Qoption ld '
 
7644
      lt_prog_compiler_pic='-PIC'
 
7645
      lt_prog_compiler_static='-Bstatic'
 
7646
      ;;
 
7647
 
 
7648
    sysv4 | sysv4.2uw2* | sysv4.3*)
 
7649
      lt_prog_compiler_wl='-Wl,'
 
7650
      lt_prog_compiler_pic='-KPIC'
 
7651
      lt_prog_compiler_static='-Bstatic'
 
7652
      ;;
 
7653
 
 
7654
    sysv4*MP*)
 
7655
      if test -d /usr/nec ;then
 
7656
        lt_prog_compiler_pic='-Kconform_pic'
 
7657
        lt_prog_compiler_static='-Bstatic'
 
7658
      fi
 
7659
      ;;
 
7660
 
 
7661
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
7662
      lt_prog_compiler_wl='-Wl,'
 
7663
      lt_prog_compiler_pic='-KPIC'
 
7664
      lt_prog_compiler_static='-Bstatic'
 
7665
      ;;
 
7666
 
 
7667
    unicos*)
 
7668
      lt_prog_compiler_wl='-Wl,'
 
7669
      lt_prog_compiler_can_build_shared=no
 
7670
      ;;
 
7671
 
 
7672
    uts4*)
 
7673
      lt_prog_compiler_pic='-pic'
 
7674
      lt_prog_compiler_static='-Bstatic'
 
7675
      ;;
 
7676
 
 
7677
    *)
 
7678
      lt_prog_compiler_can_build_shared=no
 
7679
      ;;
 
7680
    esac
 
7681
  fi
 
7682
 
 
7683
case $host_os in
 
7684
  # For platforms which do not support PIC, -DPIC is meaningless:
 
7685
  *djgpp*)
 
7686
    lt_prog_compiler_pic=
 
7687
    ;;
 
7688
  *)
 
7689
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
7690
    ;;
 
7691
esac
 
7692
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
 
7693
$as_echo "$lt_prog_compiler_pic" >&6; }
 
7694
 
 
7695
 
 
7696
 
 
7697
 
 
7698
 
 
7699
 
 
7700
#
 
7701
# Check to make sure the PIC flag actually works.
 
7702
#
 
7703
if test -n "$lt_prog_compiler_pic"; then
 
7704
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
7705
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
7706
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
7707
  $as_echo_n "(cached) " >&6
 
7708
else
 
7709
  lt_cv_prog_compiler_pic_works=no
 
7710
   ac_outfile=conftest.$ac_objext
 
7711
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7712
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
 
7713
   # Insert the option either (1) after the last *FLAGS variable, or
 
7714
   # (2) before a word containing "conftest.", or (3) at the end.
 
7715
   # Note that $ac_compile itself does not contain backslashes and begins
 
7716
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
7717
   # The option is referenced via a variable to avoid confusing sed.
 
7718
   lt_compile=`echo "$ac_compile" | $SED \
 
7719
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
7720
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
7721
   -e 's:$: $lt_compiler_flag:'`
 
7722
   (eval echo "\"\$as_me:7722: $lt_compile\"" >&5)
 
7723
   (eval "$lt_compile" 2>conftest.err)
 
7724
   ac_status=$?
 
7725
   cat conftest.err >&5
 
7726
   echo "$as_me:7726: \$? = $ac_status" >&5
 
7727
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
7728
     # The compiler can only warn and ignore the option if not recognized
 
7729
     # So say no if there are warnings other than the usual output.
 
7730
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7731
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
7732
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
7733
       lt_cv_prog_compiler_pic_works=yes
 
7734
     fi
 
7735
   fi
 
7736
   $RM conftest*
 
7737
 
 
7738
fi
 
7739
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 
7740
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 
7741
 
 
7742
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
 
7743
    case $lt_prog_compiler_pic in
 
7744
     "" | " "*) ;;
 
7745
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 
7746
     esac
 
7747
else
 
7748
    lt_prog_compiler_pic=
 
7749
     lt_prog_compiler_can_build_shared=no
 
7750
fi
 
7751
 
 
7752
fi
 
7753
 
 
7754
 
 
7755
 
 
7756
 
 
7757
 
 
7758
 
 
7759
#
 
7760
# Check to make sure the static flag actually works.
 
7761
#
 
7762
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
7763
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
7764
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
7765
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
7766
  $as_echo_n "(cached) " >&6
 
7767
else
 
7768
  lt_cv_prog_compiler_static_works=no
 
7769
   save_LDFLAGS="$LDFLAGS"
 
7770
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
7771
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
7772
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
7773
     # The linker can only warn and ignore the option if not recognized
 
7774
     # So say no if there are warnings
 
7775
     if test -s conftest.err; then
 
7776
       # Append any errors to the config.log.
 
7777
       cat conftest.err 1>&5
 
7778
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
7779
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
7780
       if diff conftest.exp conftest.er2 >/dev/null; then
 
7781
         lt_cv_prog_compiler_static_works=yes
 
7782
       fi
 
7783
     else
 
7784
       lt_cv_prog_compiler_static_works=yes
 
7785
     fi
 
7786
   fi
 
7787
   $RM -r conftest*
 
7788
   LDFLAGS="$save_LDFLAGS"
 
7789
 
 
7790
fi
 
7791
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 
7792
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 
7793
 
 
7794
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
 
7795
    :
 
7796
else
 
7797
    lt_prog_compiler_static=
 
7798
fi
 
7799
 
 
7800
 
 
7801
 
 
7802
 
 
7803
 
 
7804
 
 
7805
 
 
7806
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
7807
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
7808
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
7809
  $as_echo_n "(cached) " >&6
 
7810
else
 
7811
  lt_cv_prog_compiler_c_o=no
 
7812
   $RM -r conftest 2>/dev/null
 
7813
   mkdir conftest
 
7814
   cd conftest
 
7815
   mkdir out
 
7816
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7817
 
 
7818
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
7819
   # Insert the option either (1) after the last *FLAGS variable, or
 
7820
   # (2) before a word containing "conftest.", or (3) at the end.
 
7821
   # Note that $ac_compile itself does not contain backslashes and begins
 
7822
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
7823
   lt_compile=`echo "$ac_compile" | $SED \
 
7824
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
7825
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
7826
   -e 's:$: $lt_compiler_flag:'`
 
7827
   (eval echo "\"\$as_me:7827: $lt_compile\"" >&5)
 
7828
   (eval "$lt_compile" 2>out/conftest.err)
 
7829
   ac_status=$?
 
7830
   cat out/conftest.err >&5
 
7831
   echo "$as_me:7831: \$? = $ac_status" >&5
 
7832
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
7833
   then
 
7834
     # The compiler can only warn and ignore the option if not recognized
 
7835
     # So say no if there are warnings
 
7836
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
7837
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
7838
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
7839
       lt_cv_prog_compiler_c_o=yes
 
7840
     fi
 
7841
   fi
 
7842
   chmod u+w . 2>&5
 
7843
   $RM conftest*
 
7844
   # SGI C++ compiler will create directory out/ii_files/ for
 
7845
   # template instantiation
 
7846
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
7847
   $RM out/* && rmdir out
 
7848
   cd ..
 
7849
   $RM -r conftest
 
7850
   $RM conftest*
 
7851
 
 
7852
fi
 
7853
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
7854
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
7855
 
 
7856
 
 
7857
 
 
7858
 
 
7859
 
 
7860
 
 
7861
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
7862
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
7863
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
7864
  $as_echo_n "(cached) " >&6
 
7865
else
 
7866
  lt_cv_prog_compiler_c_o=no
 
7867
   $RM -r conftest 2>/dev/null
 
7868
   mkdir conftest
 
7869
   cd conftest
 
7870
   mkdir out
 
7871
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7872
 
 
7873
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
7874
   # Insert the option either (1) after the last *FLAGS variable, or
 
7875
   # (2) before a word containing "conftest.", or (3) at the end.
 
7876
   # Note that $ac_compile itself does not contain backslashes and begins
 
7877
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
7878
   lt_compile=`echo "$ac_compile" | $SED \
 
7879
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
7880
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
7881
   -e 's:$: $lt_compiler_flag:'`
 
7882
   (eval echo "\"\$as_me:7882: $lt_compile\"" >&5)
 
7883
   (eval "$lt_compile" 2>out/conftest.err)
 
7884
   ac_status=$?
 
7885
   cat out/conftest.err >&5
 
7886
   echo "$as_me:7886: \$? = $ac_status" >&5
 
7887
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
7888
   then
 
7889
     # The compiler can only warn and ignore the option if not recognized
 
7890
     # So say no if there are warnings
 
7891
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
7892
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
7893
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
7894
       lt_cv_prog_compiler_c_o=yes
 
7895
     fi
 
7896
   fi
 
7897
   chmod u+w . 2>&5
 
7898
   $RM conftest*
 
7899
   # SGI C++ compiler will create directory out/ii_files/ for
 
7900
   # template instantiation
 
7901
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
7902
   $RM out/* && rmdir out
 
7903
   cd ..
 
7904
   $RM -r conftest
 
7905
   $RM conftest*
 
7906
 
 
7907
fi
 
7908
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
7909
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
7910
 
 
7911
 
 
7912
 
 
7913
 
 
7914
hard_links="nottested"
 
7915
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 
7916
  # do not overwrite the value of need_locks provided by the user
 
7917
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
7918
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
7919
  hard_links=yes
 
7920
  $RM conftest*
 
7921
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
7922
  touch conftest.a
 
7923
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
7924
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
7925
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
7926
$as_echo "$hard_links" >&6; }
 
7927
  if test "$hard_links" = no; then
 
7928
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
7929
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
7930
    need_locks=warn
 
7931
  fi
 
7932
else
 
7933
  need_locks=no
 
7934
fi
 
7935
 
 
7936
 
 
7937
 
 
7938
 
 
7939
 
 
7940
 
 
7941
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
7942
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
7943
 
 
7944
  runpath_var=
 
7945
  allow_undefined_flag=
 
7946
  always_export_symbols=no
 
7947
  archive_cmds=
 
7948
  archive_expsym_cmds=
 
7949
  compiler_needs_object=no
 
7950
  enable_shared_with_static_runtimes=no
 
7951
  export_dynamic_flag_spec=
 
7952
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
7953
  hardcode_automatic=no
 
7954
  hardcode_direct=no
 
7955
  hardcode_direct_absolute=no
 
7956
  hardcode_libdir_flag_spec=
 
7957
  hardcode_libdir_flag_spec_ld=
 
7958
  hardcode_libdir_separator=
 
7959
  hardcode_minus_L=no
 
7960
  hardcode_shlibpath_var=unsupported
 
7961
  inherit_rpath=no
 
7962
  link_all_deplibs=unknown
 
7963
  module_cmds=
 
7964
  module_expsym_cmds=
 
7965
  old_archive_from_new_cmds=
 
7966
  old_archive_from_expsyms_cmds=
 
7967
  thread_safe_flag_spec=
 
7968
  whole_archive_flag_spec=
 
7969
  # include_expsyms should be a list of space-separated symbols to be *always*
 
7970
  # included in the symbol list
 
7971
  include_expsyms=
 
7972
  # exclude_expsyms can be an extended regexp of symbols to exclude
 
7973
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
7974
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
7975
  # as well as any symbol that contains `d'.
 
7976
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
7977
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
7978
  # platforms (ab)use it in PIC code, but their linkers get confused if
 
7979
  # the symbol is explicitly referenced.  Since portable code cannot
 
7980
  # rely on this symbol name, it's probably fine to never include it in
 
7981
  # preloaded symbol tables.
 
7982
  # Exclude shared library initialization/finalization symbols.
 
7983
  extract_expsyms_cmds=
 
7984
 
 
7985
  case $host_os in
 
7986
  cygwin* | mingw* | pw32* | cegcc*)
 
7987
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
7988
    # When not using gcc, we currently assume that we are using
 
7989
    # Microsoft Visual C++.
 
7990
    if test "$GCC" != yes; then
 
7991
      with_gnu_ld=no
 
7992
    fi
 
7993
    ;;
 
7994
  interix*)
 
7995
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
7996
    with_gnu_ld=yes
 
7997
    ;;
 
7998
  openbsd*)
 
7999
    with_gnu_ld=no
 
8000
    ;;
 
8001
  esac
 
8002
 
 
8003
  ld_shlibs=yes
 
8004
  if test "$with_gnu_ld" = yes; then
 
8005
    # If archive_cmds runs LD, not CC, wlarc should be empty
 
8006
    wlarc='${wl}'
 
8007
 
 
8008
    # Set some defaults for GNU ld with shared library support. These
 
8009
    # are reset later if shared libraries are not supported. Putting them
 
8010
    # here allows them to be overridden if necessary.
 
8011
    runpath_var=LD_RUN_PATH
 
8012
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8013
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
8014
    # ancient GNU ld didn't support --whole-archive et. al.
 
8015
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
8016
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
8017
    else
 
8018
      whole_archive_flag_spec=
 
8019
    fi
 
8020
    supports_anon_versioning=no
 
8021
    case `$LD -v 2>&1` in
 
8022
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
8023
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
8024
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
8025
      *\ 2.11.*) ;; # other 2.11 versions
 
8026
      *) supports_anon_versioning=yes ;;
 
8027
    esac
 
8028
 
 
8029
    # See if GNU ld supports shared libraries.
 
8030
    case $host_os in
 
8031
    aix[3-9]*)
 
8032
      # On AIX/PPC, the GNU linker is very broken
 
8033
      if test "$host_cpu" != ia64; then
 
8034
        ld_shlibs=no
 
8035
        cat <<_LT_EOF 1>&2
 
8036
 
 
8037
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
8038
*** to be unable to reliably create shared libraries on AIX.
 
8039
*** Therefore, libtool is disabling shared libraries support.  If you
 
8040
*** really care for shared libraries, you may want to modify your PATH
 
8041
*** so that a non-GNU linker is found, and then restart.
 
8042
 
 
8043
_LT_EOF
 
8044
      fi
 
8045
      ;;
 
8046
 
 
8047
    amigaos*)
 
8048
      case $host_cpu in
 
8049
      powerpc)
 
8050
            # see comment about AmigaOS4 .so support
 
8051
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8052
            archive_expsym_cmds=''
 
8053
        ;;
 
8054
      m68k)
 
8055
            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)'
 
8056
            hardcode_libdir_flag_spec='-L$libdir'
 
8057
            hardcode_minus_L=yes
 
8058
        ;;
 
8059
      esac
 
8060
      ;;
 
8061
 
 
8062
    beos*)
 
8063
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8064
        allow_undefined_flag=unsupported
 
8065
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
8066
        # support --undefined.  This deserves some investigation.  FIXME
 
8067
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8068
      else
 
8069
        ld_shlibs=no
 
8070
      fi
 
8071
      ;;
 
8072
 
 
8073
    cygwin* | mingw* | pw32* | cegcc*)
 
8074
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
8075
      # as there is no search path for DLLs.
 
8076
      hardcode_libdir_flag_spec='-L$libdir'
 
8077
      allow_undefined_flag=unsupported
 
8078
      always_export_symbols=no
 
8079
      enable_shared_with_static_runtimes=yes
 
8080
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
8081
 
 
8082
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
8083
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
8084
        # If the export-symbols file already is a .def file (1st line
 
8085
        # is EXPORTS), use it as is; otherwise, prepend...
 
8086
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
8087
          cp $export_symbols $output_objdir/$soname.def;
 
8088
        else
 
8089
          echo EXPORTS > $output_objdir/$soname.def;
 
8090
          cat $export_symbols >> $output_objdir/$soname.def;
 
8091
        fi~
 
8092
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
8093
      else
 
8094
        ld_shlibs=no
 
8095
      fi
 
8096
      ;;
 
8097
 
 
8098
    interix[3-9]*)
 
8099
      hardcode_direct=no
 
8100
      hardcode_shlibpath_var=no
 
8101
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8102
      export_dynamic_flag_spec='${wl}-E'
 
8103
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
8104
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
8105
      # default) and relocated if they conflict, which is a slow very memory
 
8106
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
8107
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
8108
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
8109
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
8110
      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'
 
8111
      ;;
 
8112
 
 
8113
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
8114
      tmp_diet=no
 
8115
      if test "$host_os" = linux-dietlibc; then
 
8116
        case $cc_basename in
 
8117
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
8118
        esac
 
8119
      fi
 
8120
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
8121
         && test "$tmp_diet" = no
 
8122
      then
 
8123
        tmp_addflag=
 
8124
        tmp_sharedflag='-shared'
 
8125
        case $cc_basename,$host_cpu in
 
8126
        pgcc*)                          # Portland Group C compiler
 
8127
          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'
 
8128
          tmp_addflag=' $pic_flag'
 
8129
          ;;
 
8130
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
8131
          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'
 
8132
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
8133
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
 
8134
          tmp_addflag=' -i_dynamic' ;;
 
8135
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
8136
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
8137
        ifc* | ifort*)                  # Intel Fortran compiler
 
8138
          tmp_addflag=' -nofor_main' ;;
 
8139
        lf95*)                          # Lahey Fortran 8.1
 
8140
          whole_archive_flag_spec=
 
8141
          tmp_sharedflag='--shared' ;;
 
8142
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
8143
          tmp_sharedflag='-qmkshrobj'
 
8144
          tmp_addflag= ;;
 
8145
        esac
 
8146
        case `$CC -V 2>&1 | sed 5q` in
 
8147
        *Sun\ C*)                       # Sun C 5.9
 
8148
          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'
 
8149
          compiler_needs_object=yes
 
8150
          tmp_sharedflag='-G' ;;
 
8151
        *Sun\ F*)                       # Sun Fortran 8.3
 
8152
          tmp_sharedflag='-G' ;;
 
8153
        esac
 
8154
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8155
 
 
8156
        if test "x$supports_anon_versioning" = xyes; then
 
8157
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
8158
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8159
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
8160
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
8161
        fi
 
8162
 
 
8163
        case $cc_basename in
 
8164
        xlf*)
 
8165
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
8166
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
8167
          hardcode_libdir_flag_spec=
 
8168
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
8169
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
8170
          if test "x$supports_anon_versioning" = xyes; then
 
8171
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
8172
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8173
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
8174
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
8175
          fi
 
8176
          ;;
 
8177
        esac
 
8178
      else
 
8179
        ld_shlibs=no
 
8180
      fi
 
8181
      ;;
 
8182
 
 
8183
    netbsd*)
 
8184
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
8185
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
8186
        wlarc=
 
8187
      else
 
8188
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8189
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8190
      fi
 
8191
      ;;
 
8192
 
 
8193
    solaris*)
 
8194
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 
8195
        ld_shlibs=no
 
8196
        cat <<_LT_EOF 1>&2
 
8197
 
 
8198
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
8199
*** create shared libraries on Solaris systems.  Therefore, libtool
 
8200
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
8201
*** binutils to release 2.9.1 or newer.  Another option is to modify
 
8202
*** your PATH or compiler configuration so that the native linker is
 
8203
*** used, and then restart.
 
8204
 
 
8205
_LT_EOF
 
8206
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8207
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8208
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8209
      else
 
8210
        ld_shlibs=no
 
8211
      fi
 
8212
      ;;
 
8213
 
 
8214
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
8215
      case `$LD -v 2>&1` in
 
8216
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
8217
        ld_shlibs=no
 
8218
        cat <<_LT_EOF 1>&2
 
8219
 
 
8220
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
8221
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
8222
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
8223
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
8224
*** your PATH or compiler configuration so that the native linker is
 
8225
*** used, and then restart.
 
8226
 
 
8227
_LT_EOF
 
8228
        ;;
 
8229
        *)
 
8230
          # For security reasons, it is highly recommended that you always
 
8231
          # use absolute paths for naming shared libraries, and exclude the
 
8232
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
8233
          # requires that you compile everything twice, which is a pain.
 
8234
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8235
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8236
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8237
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8238
          else
 
8239
            ld_shlibs=no
 
8240
          fi
 
8241
        ;;
 
8242
      esac
 
8243
      ;;
 
8244
 
 
8245
    sunos4*)
 
8246
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
8247
      wlarc=
 
8248
      hardcode_direct=yes
 
8249
      hardcode_shlibpath_var=no
 
8250
      ;;
 
8251
 
 
8252
    *)
 
8253
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8254
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8255
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8256
      else
 
8257
        ld_shlibs=no
 
8258
      fi
 
8259
      ;;
 
8260
    esac
 
8261
 
 
8262
    if test "$ld_shlibs" = no; then
 
8263
      runpath_var=
 
8264
      hardcode_libdir_flag_spec=
 
8265
      export_dynamic_flag_spec=
 
8266
      whole_archive_flag_spec=
 
8267
    fi
 
8268
  else
 
8269
    # PORTME fill in a description of your system's linker (not GNU ld)
 
8270
    case $host_os in
 
8271
    aix3*)
 
8272
      allow_undefined_flag=unsupported
 
8273
      always_export_symbols=yes
 
8274
      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'
 
8275
      # Note: this linker hardcodes the directories in LIBPATH if there
 
8276
      # are no directories specified by -L.
 
8277
      hardcode_minus_L=yes
 
8278
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
8279
        # Neither direct hardcoding nor static linking is supported with a
 
8280
        # broken collect2.
 
8281
        hardcode_direct=unsupported
 
8282
      fi
 
8283
      ;;
 
8284
 
 
8285
    aix[4-9]*)
 
8286
      if test "$host_cpu" = ia64; then
 
8287
        # On IA64, the linker does run time linking by default, so we don't
 
8288
        # have to do anything special.
 
8289
        aix_use_runtimelinking=no
 
8290
        exp_sym_flag='-Bexport'
 
8291
        no_entry_flag=""
 
8292
      else
 
8293
        # If we're using GNU nm, then we don't want the "-C" option.
 
8294
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
8295
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
8296
          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'
 
8297
        else
 
8298
          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'
 
8299
        fi
 
8300
        aix_use_runtimelinking=no
 
8301
 
 
8302
        # Test if we are trying to use run time linking or normal
 
8303
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
8304
        # need to do runtime linking.
 
8305
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
8306
          for ld_flag in $LDFLAGS; do
 
8307
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
8308
            aix_use_runtimelinking=yes
 
8309
            break
 
8310
          fi
 
8311
          done
 
8312
          ;;
 
8313
        esac
 
8314
 
 
8315
        exp_sym_flag='-bexport'
 
8316
        no_entry_flag='-bnoentry'
 
8317
      fi
 
8318
 
 
8319
      # When large executables or shared objects are built, AIX ld can
 
8320
      # have problems creating the table of contents.  If linking a library
 
8321
      # or program results in "error TOC overflow" add -mminimal-toc to
 
8322
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
8323
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
8324
 
 
8325
      archive_cmds=''
 
8326
      hardcode_direct=yes
 
8327
      hardcode_direct_absolute=yes
 
8328
      hardcode_libdir_separator=':'
 
8329
      link_all_deplibs=yes
 
8330
      file_list_spec='${wl}-f,'
 
8331
 
 
8332
      if test "$GCC" = yes; then
 
8333
        case $host_os in aix4.[012]|aix4.[012].*)
 
8334
        # We only want to do this on AIX 4.2 and lower, the check
 
8335
        # below for broken collect2 doesn't work under 4.3+
 
8336
          collect2name=`${CC} -print-prog-name=collect2`
 
8337
          if test -f "$collect2name" &&
 
8338
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
8339
          then
 
8340
          # We have reworked collect2
 
8341
          :
 
8342
          else
 
8343
          # We have old collect2
 
8344
          hardcode_direct=unsupported
 
8345
          # It fails to find uninstalled libraries when the uninstalled
 
8346
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
8347
          # to unsupported forces relinking
 
8348
          hardcode_minus_L=yes
 
8349
          hardcode_libdir_flag_spec='-L$libdir'
 
8350
          hardcode_libdir_separator=
 
8351
          fi
 
8352
          ;;
 
8353
        esac
 
8354
        shared_flag='-shared'
 
8355
        if test "$aix_use_runtimelinking" = yes; then
 
8356
          shared_flag="$shared_flag "'${wl}-G'
 
8357
        fi
 
8358
      else
 
8359
        # not using gcc
 
8360
        if test "$host_cpu" = ia64; then
 
8361
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
8362
        # chokes on -Wl,-G. The following line is correct:
 
8363
          shared_flag='-G'
 
8364
        else
 
8365
          if test "$aix_use_runtimelinking" = yes; then
 
8366
            shared_flag='${wl}-G'
 
8367
          else
 
8368
            shared_flag='${wl}-bM:SRE'
 
8369
          fi
 
8370
        fi
 
8371
      fi
 
8372
 
 
8373
      export_dynamic_flag_spec='${wl}-bexpall'
 
8374
      # It seems that -bexpall does not export symbols beginning with
 
8375
      # underscore (_), so it is better to generate a list of symbols to export.
 
8376
      always_export_symbols=yes
 
8377
      if test "$aix_use_runtimelinking" = yes; then
 
8378
        # Warning - without using the other runtime loading flags (-brtl),
 
8379
        # -berok will link without error, but may produce a broken library.
 
8380
        allow_undefined_flag='-berok'
 
8381
        # Determine the default libpath from the value encoded in an
 
8382
        # empty executable.
 
8383
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8384
/* end confdefs.h.  */
 
8385
 
 
8386
int
 
8387
main ()
 
8388
{
 
8389
 
 
8390
  ;
 
8391
  return 0;
 
8392
}
 
8393
_ACEOF
 
8394
if ac_fn_c_try_link "$LINENO"; then :
 
8395
 
 
8396
lt_aix_libpath_sed='
 
8397
    /Import File Strings/,/^$/ {
 
8398
        /^0/ {
 
8399
            s/^0  *\(.*\)$/\1/
 
8400
            p
 
8401
        }
 
8402
    }'
 
8403
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8404
# Check for a 64-bit object if we didn't find anything.
 
8405
if test -z "$aix_libpath"; then
 
8406
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8407
fi
 
8408
fi
 
8409
rm -f core conftest.err conftest.$ac_objext \
 
8410
    conftest$ac_exeext conftest.$ac_ext
 
8411
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
8412
 
 
8413
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
8414
        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"
 
8415
      else
 
8416
        if test "$host_cpu" = ia64; then
 
8417
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 
8418
          allow_undefined_flag="-z nodefs"
 
8419
          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"
 
8420
        else
 
8421
         # Determine the default libpath from the value encoded in an
 
8422
         # empty executable.
 
8423
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8424
/* end confdefs.h.  */
 
8425
 
 
8426
int
 
8427
main ()
 
8428
{
 
8429
 
 
8430
  ;
 
8431
  return 0;
 
8432
}
 
8433
_ACEOF
 
8434
if ac_fn_c_try_link "$LINENO"; then :
 
8435
 
 
8436
lt_aix_libpath_sed='
 
8437
    /Import File Strings/,/^$/ {
 
8438
        /^0/ {
 
8439
            s/^0  *\(.*\)$/\1/
 
8440
            p
 
8441
        }
 
8442
    }'
 
8443
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8444
# Check for a 64-bit object if we didn't find anything.
 
8445
if test -z "$aix_libpath"; then
 
8446
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8447
fi
 
8448
fi
 
8449
rm -f core conftest.err conftest.$ac_objext \
 
8450
    conftest$ac_exeext conftest.$ac_ext
 
8451
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
8452
 
 
8453
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
8454
          # Warning - without using the other run time loading flags,
 
8455
          # -berok will link without error, but may produce a broken library.
 
8456
          no_undefined_flag=' ${wl}-bernotok'
 
8457
          allow_undefined_flag=' ${wl}-berok'
 
8458
          # Exported symbols can be pulled into shared objects from archives
 
8459
          whole_archive_flag_spec='$convenience'
 
8460
          archive_cmds_need_lc=yes
 
8461
          # This is similar to how AIX traditionally builds its shared libraries.
 
8462
          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'
 
8463
        fi
 
8464
      fi
 
8465
      ;;
 
8466
 
 
8467
    amigaos*)
 
8468
      case $host_cpu in
 
8469
      powerpc)
 
8470
            # see comment about AmigaOS4 .so support
 
8471
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8472
            archive_expsym_cmds=''
 
8473
        ;;
 
8474
      m68k)
 
8475
            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)'
 
8476
            hardcode_libdir_flag_spec='-L$libdir'
 
8477
            hardcode_minus_L=yes
 
8478
        ;;
 
8479
      esac
 
8480
      ;;
 
8481
 
 
8482
    bsdi[45]*)
 
8483
      export_dynamic_flag_spec=-rdynamic
 
8484
      ;;
 
8485
 
 
8486
    cygwin* | mingw* | pw32* | cegcc*)
 
8487
      # When not using gcc, we currently assume that we are using
 
8488
      # Microsoft Visual C++.
 
8489
      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
8490
      # no search path for DLLs.
 
8491
      hardcode_libdir_flag_spec=' '
 
8492
      allow_undefined_flag=unsupported
 
8493
      # Tell ltmain to make .lib files, not .a files.
 
8494
      libext=lib
 
8495
      # Tell ltmain to make .dll files, not .so files.
 
8496
      shrext_cmds=".dll"
 
8497
      # FIXME: Setting linknames here is a bad hack.
 
8498
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
8499
      # The linker will automatically build a .lib file if we build a DLL.
 
8500
      old_archive_from_new_cmds='true'
 
8501
      # FIXME: Should let the user specify the lib program.
 
8502
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
8503
      fix_srcfile_path='`cygpath -w "$srcfile"`'
 
8504
      enable_shared_with_static_runtimes=yes
 
8505
      ;;
 
8506
 
 
8507
    darwin* | rhapsody*)
 
8508
 
 
8509
 
 
8510
  archive_cmds_need_lc=no
 
8511
  hardcode_direct=no
 
8512
  hardcode_automatic=yes
 
8513
  hardcode_shlibpath_var=unsupported
 
8514
  whole_archive_flag_spec=''
 
8515
  link_all_deplibs=yes
 
8516
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
8517
  case $cc_basename in
 
8518
     ifort*) _lt_dar_can_shared=yes ;;
 
8519
     *) _lt_dar_can_shared=$GCC ;;
 
8520
  esac
 
8521
  if test "$_lt_dar_can_shared" = "yes"; then
 
8522
    output_verbose_link_cmd=echo
 
8523
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
8524
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
8525
    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}"
 
8526
    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}"
 
8527
 
 
8528
  else
 
8529
  ld_shlibs=no
 
8530
  fi
 
8531
 
 
8532
      ;;
 
8533
 
 
8534
    dgux*)
 
8535
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
8536
      hardcode_libdir_flag_spec='-L$libdir'
 
8537
      hardcode_shlibpath_var=no
 
8538
      ;;
 
8539
 
 
8540
    freebsd1*)
 
8541
      ld_shlibs=no
 
8542
      ;;
 
8543
 
 
8544
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
8545
    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
8546
    # does not break anything, and helps significantly (at the cost of a little
 
8547
    # extra space).
 
8548
    freebsd2.2*)
 
8549
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
8550
      hardcode_libdir_flag_spec='-R$libdir'
 
8551
      hardcode_direct=yes
 
8552
      hardcode_shlibpath_var=no
 
8553
      ;;
 
8554
 
 
8555
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
8556
    freebsd2*)
 
8557
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
8558
      hardcode_direct=yes
 
8559
      hardcode_minus_L=yes
 
8560
      hardcode_shlibpath_var=no
 
8561
      ;;
 
8562
 
 
8563
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
8564
    freebsd* | dragonfly*)
 
8565
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
8566
      hardcode_libdir_flag_spec='-R$libdir'
 
8567
      hardcode_direct=yes
 
8568
      hardcode_shlibpath_var=no
 
8569
      ;;
 
8570
 
 
8571
    hpux9*)
 
8572
      if test "$GCC" = yes; then
 
8573
        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'
 
8574
      else
 
8575
        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'
 
8576
      fi
 
8577
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8578
      hardcode_libdir_separator=:
 
8579
      hardcode_direct=yes
 
8580
 
 
8581
      # hardcode_minus_L: Not really in the search PATH,
 
8582
      # but as the default location of the library.
 
8583
      hardcode_minus_L=yes
 
8584
      export_dynamic_flag_spec='${wl}-E'
 
8585
      ;;
 
8586
 
 
8587
    hpux10*)
 
8588
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
8589
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
8590
      else
 
8591
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
8592
      fi
 
8593
      if test "$with_gnu_ld" = no; then
 
8594
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8595
        hardcode_libdir_flag_spec_ld='+b $libdir'
 
8596
        hardcode_libdir_separator=:
 
8597
        hardcode_direct=yes
 
8598
        hardcode_direct_absolute=yes
 
8599
        export_dynamic_flag_spec='${wl}-E'
 
8600
        # hardcode_minus_L: Not really in the search PATH,
 
8601
        # but as the default location of the library.
 
8602
        hardcode_minus_L=yes
 
8603
      fi
 
8604
      ;;
 
8605
 
 
8606
    hpux11*)
 
8607
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
8608
        case $host_cpu in
 
8609
        hppa*64*)
 
8610
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8611
          ;;
 
8612
        ia64*)
 
8613
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
8614
          ;;
 
8615
        *)
 
8616
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
8617
          ;;
 
8618
        esac
 
8619
      else
 
8620
        case $host_cpu in
 
8621
        hppa*64*)
 
8622
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8623
          ;;
 
8624
        ia64*)
 
8625
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
8626
          ;;
 
8627
        *)
 
8628
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
8629
          ;;
 
8630
        esac
 
8631
      fi
 
8632
      if test "$with_gnu_ld" = no; then
 
8633
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8634
        hardcode_libdir_separator=:
 
8635
 
 
8636
        case $host_cpu in
 
8637
        hppa*64*|ia64*)
 
8638
          hardcode_direct=no
 
8639
          hardcode_shlibpath_var=no
 
8640
          ;;
 
8641
        *)
 
8642
          hardcode_direct=yes
 
8643
          hardcode_direct_absolute=yes
 
8644
          export_dynamic_flag_spec='${wl}-E'
 
8645
 
 
8646
          # hardcode_minus_L: Not really in the search PATH,
 
8647
          # but as the default location of the library.
 
8648
          hardcode_minus_L=yes
 
8649
          ;;
 
8650
        esac
 
8651
      fi
 
8652
      ;;
 
8653
 
 
8654
    irix5* | irix6* | nonstopux*)
 
8655
      if test "$GCC" = yes; then
 
8656
        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'
 
8657
        # Try to use the -exported_symbol ld option, if it does not
 
8658
        # work, assume that -exports_file does not work either and
 
8659
        # implicitly export all symbols.
 
8660
        save_LDFLAGS="$LDFLAGS"
 
8661
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
8662
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8663
/* end confdefs.h.  */
 
8664
int foo(void) {}
 
8665
_ACEOF
 
8666
if ac_fn_c_try_link "$LINENO"; then :
 
8667
  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'
 
8668
 
 
8669
fi
 
8670
rm -f core conftest.err conftest.$ac_objext \
 
8671
    conftest$ac_exeext conftest.$ac_ext
 
8672
        LDFLAGS="$save_LDFLAGS"
 
8673
      else
 
8674
        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'
 
8675
        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'
 
8676
      fi
 
8677
      archive_cmds_need_lc='no'
 
8678
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8679
      hardcode_libdir_separator=:
 
8680
      inherit_rpath=yes
 
8681
      link_all_deplibs=yes
 
8682
      ;;
 
8683
 
 
8684
    netbsd*)
 
8685
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
8686
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
8687
      else
 
8688
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
8689
      fi
 
8690
      hardcode_libdir_flag_spec='-R$libdir'
 
8691
      hardcode_direct=yes
 
8692
      hardcode_shlibpath_var=no
 
8693
      ;;
 
8694
 
 
8695
    newsos6)
 
8696
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
8697
      hardcode_direct=yes
 
8698
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8699
      hardcode_libdir_separator=:
 
8700
      hardcode_shlibpath_var=no
 
8701
      ;;
 
8702
 
 
8703
    *nto* | *qnx*)
 
8704
      ;;
 
8705
 
 
8706
    openbsd*)
 
8707
      if test -f /usr/libexec/ld.so; then
 
8708
        hardcode_direct=yes
 
8709
        hardcode_shlibpath_var=no
 
8710
        hardcode_direct_absolute=yes
 
8711
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
8712
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8713
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
8714
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8715
          export_dynamic_flag_spec='${wl}-E'
 
8716
        else
 
8717
          case $host_os in
 
8718
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
8719
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
8720
             hardcode_libdir_flag_spec='-R$libdir'
 
8721
             ;;
 
8722
           *)
 
8723
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8724
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8725
             ;;
 
8726
          esac
 
8727
        fi
 
8728
      else
 
8729
        ld_shlibs=no
 
8730
      fi
 
8731
      ;;
 
8732
 
 
8733
    os2*)
 
8734
      hardcode_libdir_flag_spec='-L$libdir'
 
8735
      hardcode_minus_L=yes
 
8736
      allow_undefined_flag=unsupported
 
8737
      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'
 
8738
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
8739
      ;;
 
8740
 
 
8741
    osf3*)
 
8742
      if test "$GCC" = yes; then
 
8743
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
8744
        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'
 
8745
      else
 
8746
        allow_undefined_flag=' -expect_unresolved \*'
 
8747
        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'
 
8748
      fi
 
8749
      archive_cmds_need_lc='no'
 
8750
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8751
      hardcode_libdir_separator=:
 
8752
      ;;
 
8753
 
 
8754
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
 
8755
      if test "$GCC" = yes; then
 
8756
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
8757
        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'
 
8758
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8759
      else
 
8760
        allow_undefined_flag=' -expect_unresolved \*'
 
8761
        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'
 
8762
        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~
 
8763
        $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'
 
8764
 
 
8765
        # Both c and cxx compiler support -rpath directly
 
8766
        hardcode_libdir_flag_spec='-rpath $libdir'
 
8767
      fi
 
8768
      archive_cmds_need_lc='no'
 
8769
      hardcode_libdir_separator=:
 
8770
      ;;
 
8771
 
 
8772
    solaris*)
 
8773
      no_undefined_flag=' -z defs'
 
8774
      if test "$GCC" = yes; then
 
8775
        wlarc='${wl}'
 
8776
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8777
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
8778
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
8779
      else
 
8780
        case `$CC -V 2>&1` in
 
8781
        *"Compilers 5.0"*)
 
8782
          wlarc=''
 
8783
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
8784
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
8785
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
8786
          ;;
 
8787
        *)
 
8788
          wlarc='${wl}'
 
8789
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
8790
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
8791
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
8792
          ;;
 
8793
        esac
 
8794
      fi
 
8795
      hardcode_libdir_flag_spec='-R$libdir'
 
8796
      hardcode_shlibpath_var=no
 
8797
      case $host_os in
 
8798
      solaris2.[0-5] | solaris2.[0-5].*) ;;
 
8799
      *)
 
8800
        # The compiler driver will combine and reorder linker options,
 
8801
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
8802
        # but is careful enough not to reorder.
 
8803
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
8804
        if test "$GCC" = yes; then
 
8805
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
8806
        else
 
8807
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
8808
        fi
 
8809
        ;;
 
8810
      esac
 
8811
      link_all_deplibs=yes
 
8812
      ;;
 
8813
 
 
8814
    sunos4*)
 
8815
      if test "x$host_vendor" = xsequent; then
 
8816
        # Use $CC to link under sequent, because it throws in some extra .o
 
8817
        # files that make .init and .fini sections work.
 
8818
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
8819
      else
 
8820
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
8821
      fi
 
8822
      hardcode_libdir_flag_spec='-L$libdir'
 
8823
      hardcode_direct=yes
 
8824
      hardcode_minus_L=yes
 
8825
      hardcode_shlibpath_var=no
 
8826
      ;;
 
8827
 
 
8828
    sysv4)
 
8829
      case $host_vendor in
 
8830
        sni)
 
8831
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
8832
          hardcode_direct=yes # is this really true???
 
8833
        ;;
 
8834
        siemens)
 
8835
          ## LD is ld it makes a PLAMLIB
 
8836
          ## CC just makes a GrossModule.
 
8837
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
8838
          reload_cmds='$CC -r -o $output$reload_objs'
 
8839
          hardcode_direct=no
 
8840
        ;;
 
8841
        motorola)
 
8842
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
8843
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 
8844
        ;;
 
8845
      esac
 
8846
      runpath_var='LD_RUN_PATH'
 
8847
      hardcode_shlibpath_var=no
 
8848
      ;;
 
8849
 
 
8850
    sysv4.3*)
 
8851
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
8852
      hardcode_shlibpath_var=no
 
8853
      export_dynamic_flag_spec='-Bexport'
 
8854
      ;;
 
8855
 
 
8856
    sysv4*MP*)
 
8857
      if test -d /usr/nec; then
 
8858
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
8859
        hardcode_shlibpath_var=no
 
8860
        runpath_var=LD_RUN_PATH
 
8861
        hardcode_runpath_var=yes
 
8862
        ld_shlibs=yes
 
8863
      fi
 
8864
      ;;
 
8865
 
 
8866
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
8867
      no_undefined_flag='${wl}-z,text'
 
8868
      archive_cmds_need_lc=no
 
8869
      hardcode_shlibpath_var=no
 
8870
      runpath_var='LD_RUN_PATH'
 
8871
 
 
8872
      if test "$GCC" = yes; then
 
8873
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8874
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8875
      else
 
8876
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8877
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8878
      fi
 
8879
      ;;
 
8880
 
 
8881
    sysv5* | sco3.2v5* | sco5v6*)
 
8882
      # Note: We can NOT use -z defs as we might desire, because we do not
 
8883
      # link with -lc, and that would cause any symbols used from libc to
 
8884
      # always be unresolved, which means just about no library would
 
8885
      # ever link correctly.  If we're not using GNU ld we use -z text
 
8886
      # though, which does catch some bad symbols but isn't as heavy-handed
 
8887
      # as -z defs.
 
8888
      no_undefined_flag='${wl}-z,text'
 
8889
      allow_undefined_flag='${wl}-z,nodefs'
 
8890
      archive_cmds_need_lc=no
 
8891
      hardcode_shlibpath_var=no
 
8892
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
 
8893
      hardcode_libdir_separator=':'
 
8894
      link_all_deplibs=yes
 
8895
      export_dynamic_flag_spec='${wl}-Bexport'
 
8896
      runpath_var='LD_RUN_PATH'
 
8897
 
 
8898
      if test "$GCC" = yes; then
 
8899
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8900
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8901
      else
 
8902
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8903
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8904
      fi
 
8905
      ;;
 
8906
 
 
8907
    uts4*)
 
8908
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
8909
      hardcode_libdir_flag_spec='-L$libdir'
 
8910
      hardcode_shlibpath_var=no
 
8911
      ;;
 
8912
 
 
8913
    *)
 
8914
      ld_shlibs=no
 
8915
      ;;
 
8916
    esac
 
8917
 
 
8918
    if test x$host_vendor = xsni; then
 
8919
      case $host in
 
8920
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
8921
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
8922
        ;;
 
8923
      esac
 
8924
    fi
 
8925
  fi
 
8926
 
 
8927
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 
8928
$as_echo "$ld_shlibs" >&6; }
 
8929
test "$ld_shlibs" = no && can_build_shared=no
 
8930
 
 
8931
with_gnu_ld=$with_gnu_ld
 
8932
 
 
8933
 
 
8934
 
 
8935
 
 
8936
 
 
8937
 
 
8938
 
 
8939
 
 
8940
 
 
8941
 
 
8942
 
 
8943
 
 
8944
 
 
8945
 
 
8946
 
 
8947
#
 
8948
# Do we need to explicitly link libc?
 
8949
#
 
8950
case "x$archive_cmds_need_lc" in
 
8951
x|xyes)
 
8952
  # Assume -lc should be added
 
8953
  archive_cmds_need_lc=yes
 
8954
 
 
8955
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
8956
    case $archive_cmds in
 
8957
    *'~'*)
 
8958
      # FIXME: we may have to deal with multi-command sequences.
 
8959
      ;;
 
8960
    '$CC '*)
 
8961
      # Test whether the compiler implicitly links with -lc since on some
 
8962
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
8963
      # to ld, don't add -lc before -lgcc.
 
8964
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
8965
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
8966
      $RM conftest*
 
8967
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8968
 
 
8969
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8970
  (eval $ac_compile) 2>&5
 
8971
  ac_status=$?
 
8972
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8973
  test $ac_status = 0; } 2>conftest.err; then
 
8974
        soname=conftest
 
8975
        lib=conftest
 
8976
        libobjs=conftest.$ac_objext
 
8977
        deplibs=
 
8978
        wl=$lt_prog_compiler_wl
 
8979
        pic_flag=$lt_prog_compiler_pic
 
8980
        compiler_flags=-v
 
8981
        linker_flags=-v
 
8982
        verstring=
 
8983
        output_objdir=.
 
8984
        libname=conftest
 
8985
        lt_save_allow_undefined_flag=$allow_undefined_flag
 
8986
        allow_undefined_flag=
 
8987
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
8988
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
8989
  ac_status=$?
 
8990
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8991
  test $ac_status = 0; }
 
8992
        then
 
8993
          archive_cmds_need_lc=no
 
8994
        else
 
8995
          archive_cmds_need_lc=yes
 
8996
        fi
 
8997
        allow_undefined_flag=$lt_save_allow_undefined_flag
 
8998
      else
 
8999
        cat conftest.err 1>&5
 
9000
      fi
 
9001
      $RM conftest*
 
9002
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
 
9003
$as_echo "$archive_cmds_need_lc" >&6; }
 
9004
      ;;
 
9005
    esac
 
9006
  fi
 
9007
  ;;
 
9008
esac
 
9009
 
 
9010
 
 
9011
 
 
9012
 
 
9013
 
 
9014
 
 
9015
 
 
9016
 
 
9017
 
 
9018
 
 
9019
 
 
9020
 
 
9021
 
 
9022
 
 
9023
 
 
9024
 
 
9025
 
 
9026
 
 
9027
 
 
9028
 
 
9029
 
 
9030
 
 
9031
 
 
9032
 
 
9033
 
 
9034
 
 
9035
 
 
9036
 
 
9037
 
 
9038
 
 
9039
 
 
9040
 
 
9041
 
 
9042
 
 
9043
 
 
9044
 
 
9045
 
 
9046
 
 
9047
 
 
9048
 
 
9049
 
 
9050
 
 
9051
 
 
9052
 
 
9053
 
 
9054
 
 
9055
 
 
9056
 
 
9057
 
 
9058
 
 
9059
 
 
9060
 
 
9061
 
 
9062
 
 
9063
 
 
9064
 
 
9065
 
 
9066
 
 
9067
 
 
9068
 
 
9069
 
 
9070
 
 
9071
 
 
9072
 
 
9073
 
 
9074
 
 
9075
 
 
9076
 
 
9077
 
 
9078
 
 
9079
 
 
9080
 
 
9081
 
 
9082
 
 
9083
 
 
9084
 
 
9085
 
 
9086
 
 
9087
 
 
9088
 
 
9089
 
 
9090
 
 
9091
 
 
9092
 
 
9093
 
 
9094
 
 
9095
 
 
9096
 
 
9097
 
 
9098
 
 
9099
 
 
9100
 
 
9101
 
 
9102
 
 
9103
 
 
9104
 
 
9105
 
 
9106
 
 
9107
 
 
9108
 
 
9109
 
 
9110
 
 
9111
 
 
9112
 
 
9113
 
 
9114
 
 
9115
 
 
9116
 
 
9117
 
 
9118
 
 
9119
 
 
9120
 
 
9121
 
 
9122
 
 
9123
 
 
9124
 
 
9125
 
 
9126
 
 
9127
 
 
9128
 
 
9129
 
 
9130
 
 
9131
 
 
9132
 
 
9133
 
 
9134
 
 
9135
 
 
9136
 
 
9137
 
 
9138
 
 
9139
 
 
9140
 
 
9141
 
 
9142
 
 
9143
 
 
9144
 
 
9145
 
 
9146
 
 
9147
 
 
9148
 
 
9149
 
 
9150
 
 
9151
 
 
9152
 
 
9153
 
 
9154
 
 
9155
 
 
9156
 
 
9157
 
 
9158
 
 
9159
 
 
9160
 
 
9161
 
 
9162
 
 
9163
 
 
9164
 
 
9165
 
 
9166
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
9167
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
9168
 
 
9169
if test "$GCC" = yes; then
 
9170
  case $host_os in
 
9171
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
9172
    *) lt_awk_arg="/^libraries:/" ;;
 
9173
  esac
 
9174
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
9175
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
9176
    # if the path contains ";" then we assume it to be the separator
 
9177
    # otherwise default to the standard path separator (i.e. ":") - it is
 
9178
    # assumed that no part of a normal pathname contains ";" but that should
 
9179
    # okay in the real world where ";" in dirpaths is itself problematic.
 
9180
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
9181
  else
 
9182
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
9183
  fi
 
9184
  # Ok, now we have the path, separated by spaces, we can step through it
 
9185
  # and add multilib dir if necessary.
 
9186
  lt_tmp_lt_search_path_spec=
 
9187
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
9188
  for lt_sys_path in $lt_search_path_spec; do
 
9189
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
9190
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
9191
    else
 
9192
      test -d "$lt_sys_path" && \
 
9193
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
9194
    fi
 
9195
  done
 
9196
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
9197
BEGIN {RS=" "; FS="/|\n";} {
 
9198
  lt_foo="";
 
9199
  lt_count=0;
 
9200
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
9201
    if ($lt_i != "" && $lt_i != ".") {
 
9202
      if ($lt_i == "..") {
 
9203
        lt_count++;
 
9204
      } else {
 
9205
        if (lt_count == 0) {
 
9206
          lt_foo="/" $lt_i lt_foo;
 
9207
        } else {
 
9208
          lt_count--;
 
9209
        }
 
9210
      }
 
9211
    }
 
9212
  }
 
9213
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
9214
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
9215
}'`
 
9216
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
9217
else
 
9218
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
9219
fi
 
9220
library_names_spec=
 
9221
libname_spec='lib$name'
 
9222
soname_spec=
 
9223
shrext_cmds=".so"
 
9224
postinstall_cmds=
 
9225
postuninstall_cmds=
 
9226
finish_cmds=
 
9227
finish_eval=
 
9228
shlibpath_var=
 
9229
shlibpath_overrides_runpath=unknown
 
9230
version_type=none
 
9231
dynamic_linker="$host_os ld.so"
 
9232
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
9233
need_lib_prefix=unknown
 
9234
hardcode_into_libs=no
 
9235
 
 
9236
# when you set need_version to no, make sure it does not cause -set_version
 
9237
# flags to be left without arguments
 
9238
need_version=unknown
 
9239
 
 
9240
case $host_os in
 
9241
aix3*)
 
9242
  version_type=linux
 
9243
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
9244
  shlibpath_var=LIBPATH
 
9245
 
 
9246
  # AIX 3 has no versioning support, so we append a major version to the name.
 
9247
  soname_spec='${libname}${release}${shared_ext}$major'
 
9248
  ;;
 
9249
 
 
9250
aix[4-9]*)
 
9251
  version_type=linux
 
9252
  need_lib_prefix=no
 
9253
  need_version=no
 
9254
  hardcode_into_libs=yes
 
9255
  if test "$host_cpu" = ia64; then
 
9256
    # AIX 5 supports IA64
 
9257
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
9258
    shlibpath_var=LD_LIBRARY_PATH
 
9259
  else
 
9260
    # With GCC up to 2.95.x, collect2 would create an import file
 
9261
    # for dependence libraries.  The import file would start with
 
9262
    # the line `#! .'.  This would cause the generated library to
 
9263
    # depend on `.', always an invalid library.  This was fixed in
 
9264
    # development snapshots of GCC prior to 3.0.
 
9265
    case $host_os in
 
9266
      aix4 | aix4.[01] | aix4.[01].*)
 
9267
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
9268
           echo ' yes '
 
9269
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
9270
        :
 
9271
      else
 
9272
        can_build_shared=no
 
9273
      fi
 
9274
      ;;
 
9275
    esac
 
9276
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
9277
    # soname into executable. Probably we can add versioning support to
 
9278
    # collect2, so additional links can be useful in future.
 
9279
    if test "$aix_use_runtimelinking" = yes; then
 
9280
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
9281
      # instead of lib<name>.a to let people know that these are not
 
9282
      # typical AIX shared libraries.
 
9283
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9284
    else
 
9285
      # We preserve .a as extension for shared libraries through AIX4.2
 
9286
      # and later when we are not doing run time linking.
 
9287
      library_names_spec='${libname}${release}.a $libname.a'
 
9288
      soname_spec='${libname}${release}${shared_ext}$major'
 
9289
    fi
 
9290
    shlibpath_var=LIBPATH
 
9291
  fi
 
9292
  ;;
 
9293
 
 
9294
amigaos*)
 
9295
  case $host_cpu in
 
9296
  powerpc)
 
9297
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
9298
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
9299
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9300
    ;;
 
9301
  m68k)
 
9302
    library_names_spec='$libname.ixlibrary $libname.a'
 
9303
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
9304
    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'
 
9305
    ;;
 
9306
  esac
 
9307
  ;;
 
9308
 
 
9309
beos*)
 
9310
  library_names_spec='${libname}${shared_ext}'
 
9311
  dynamic_linker="$host_os ld.so"
 
9312
  shlibpath_var=LIBRARY_PATH
 
9313
  ;;
 
9314
 
 
9315
bsdi[45]*)
 
9316
  version_type=linux
 
9317
  need_version=no
 
9318
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9319
  soname_spec='${libname}${release}${shared_ext}$major'
 
9320
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
9321
  shlibpath_var=LD_LIBRARY_PATH
 
9322
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
9323
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
9324
  # the default ld.so.conf also contains /usr/contrib/lib and
 
9325
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
9326
  # libtool to hard-code these into programs
 
9327
  ;;
 
9328
 
 
9329
cygwin* | mingw* | pw32* | cegcc*)
 
9330
  version_type=windows
 
9331
  shrext_cmds=".dll"
 
9332
  need_version=no
 
9333
  need_lib_prefix=no
 
9334
 
 
9335
  case $GCC,$host_os in
 
9336
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
9337
    library_names_spec='$libname.dll.a'
 
9338
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
9339
    postinstall_cmds='base_file=`basename \${file}`~
 
9340
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
9341
      dldir=$destdir/`dirname \$dlpath`~
 
9342
      test -d \$dldir || mkdir -p \$dldir~
 
9343
      $install_prog $dir/$dlname \$dldir/$dlname~
 
9344
      chmod a+x \$dldir/$dlname~
 
9345
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
9346
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
9347
      fi'
 
9348
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
9349
      dlpath=$dir/\$dldll~
 
9350
       $RM \$dlpath'
 
9351
    shlibpath_overrides_runpath=yes
 
9352
 
 
9353
    case $host_os in
 
9354
    cygwin*)
 
9355
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
9356
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
9357
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
9358
      ;;
 
9359
    mingw* | cegcc*)
 
9360
      # MinGW DLLs use traditional 'lib' prefix
 
9361
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
9362
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
9363
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
9364
        # It is most probably a Windows format PATH printed by
 
9365
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 
9366
        # path with ; separators, and with drive letters. We can handle the
 
9367
        # drive letters (cygwin fileutils understands them), so leave them,
 
9368
        # especially as we might pass files found there to a mingw objdump,
 
9369
        # which wouldn't understand a cygwinified path. Ahh.
 
9370
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
9371
      else
 
9372
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
9373
      fi
 
9374
      ;;
 
9375
    pw32*)
 
9376
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
9377
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
9378
      ;;
 
9379
    esac
 
9380
    ;;
 
9381
 
 
9382
  *)
 
9383
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
9384
    ;;
 
9385
  esac
 
9386
  dynamic_linker='Win32 ld.exe'
 
9387
  # FIXME: first we should search . and the directory the executable is in
 
9388
  shlibpath_var=PATH
 
9389
  ;;
 
9390
 
 
9391
darwin* | rhapsody*)
 
9392
  dynamic_linker="$host_os dyld"
 
9393
  version_type=darwin
 
9394
  need_lib_prefix=no
 
9395
  need_version=no
 
9396
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
9397
  soname_spec='${libname}${release}${major}$shared_ext'
 
9398
  shlibpath_overrides_runpath=yes
 
9399
  shlibpath_var=DYLD_LIBRARY_PATH
 
9400
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
9401
 
 
9402
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 
9403
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
9404
  ;;
 
9405
 
 
9406
dgux*)
 
9407
  version_type=linux
 
9408
  need_lib_prefix=no
 
9409
  need_version=no
 
9410
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
9411
  soname_spec='${libname}${release}${shared_ext}$major'
 
9412
  shlibpath_var=LD_LIBRARY_PATH
 
9413
  ;;
 
9414
 
 
9415
freebsd1*)
 
9416
  dynamic_linker=no
 
9417
  ;;
 
9418
 
 
9419
freebsd* | dragonfly*)
 
9420
  # DragonFly does not have aout.  When/if they implement a new
 
9421
  # versioning mechanism, adjust this.
 
9422
  if test -x /usr/bin/objformat; then
 
9423
    objformat=`/usr/bin/objformat`
 
9424
  else
 
9425
    case $host_os in
 
9426
    freebsd[123]*) objformat=aout ;;
 
9427
    *) objformat=elf ;;
 
9428
    esac
 
9429
  fi
 
9430
  version_type=freebsd-$objformat
 
9431
  case $version_type in
 
9432
    freebsd-elf*)
 
9433
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
9434
      need_version=no
 
9435
      need_lib_prefix=no
 
9436
      ;;
 
9437
    freebsd-*)
 
9438
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
9439
      need_version=yes
 
9440
      ;;
 
9441
  esac
 
9442
  shlibpath_var=LD_LIBRARY_PATH
 
9443
  case $host_os in
 
9444
  freebsd2*)
 
9445
    shlibpath_overrides_runpath=yes
 
9446
    ;;
 
9447
  freebsd3.[01]* | freebsdelf3.[01]*)
 
9448
    shlibpath_overrides_runpath=yes
 
9449
    hardcode_into_libs=yes
 
9450
    ;;
 
9451
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
9452
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
9453
    shlibpath_overrides_runpath=no
 
9454
    hardcode_into_libs=yes
 
9455
    ;;
 
9456
  *) # from 4.6 on, and DragonFly
 
9457
    shlibpath_overrides_runpath=yes
 
9458
    hardcode_into_libs=yes
 
9459
    ;;
 
9460
  esac
 
9461
  ;;
 
9462
 
 
9463
gnu*)
 
9464
  version_type=linux
 
9465
  need_lib_prefix=no
 
9466
  need_version=no
 
9467
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
9468
  soname_spec='${libname}${release}${shared_ext}$major'
 
9469
  shlibpath_var=LD_LIBRARY_PATH
 
9470
  hardcode_into_libs=yes
 
9471
  ;;
 
9472
 
 
9473
hpux9* | hpux10* | hpux11*)
 
9474
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
9475
  # link against other versions.
 
9476
  version_type=sunos
 
9477
  need_lib_prefix=no
 
9478
  need_version=no
 
9479
  case $host_cpu in
 
9480
  ia64*)
 
9481
    shrext_cmds='.so'
 
9482
    hardcode_into_libs=yes
 
9483
    dynamic_linker="$host_os dld.so"
 
9484
    shlibpath_var=LD_LIBRARY_PATH
 
9485
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
9486
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9487
    soname_spec='${libname}${release}${shared_ext}$major'
 
9488
    if test "X$HPUX_IA64_MODE" = X32; then
 
9489
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
9490
    else
 
9491
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
9492
    fi
 
9493
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
9494
    ;;
 
9495
  hppa*64*)
 
9496
    shrext_cmds='.sl'
 
9497
    hardcode_into_libs=yes
 
9498
    dynamic_linker="$host_os dld.sl"
 
9499
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
9500
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
9501
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9502
    soname_spec='${libname}${release}${shared_ext}$major'
 
9503
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
9504
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
9505
    ;;
 
9506
  *)
 
9507
    shrext_cmds='.sl'
 
9508
    dynamic_linker="$host_os dld.sl"
 
9509
    shlibpath_var=SHLIB_PATH
 
9510
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
9511
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9512
    soname_spec='${libname}${release}${shared_ext}$major'
 
9513
    ;;
 
9514
  esac
 
9515
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
9516
  postinstall_cmds='chmod 555 $lib'
 
9517
  ;;
 
9518
 
 
9519
interix[3-9]*)
 
9520
  version_type=linux
 
9521
  need_lib_prefix=no
 
9522
  need_version=no
 
9523
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
9524
  soname_spec='${libname}${release}${shared_ext}$major'
 
9525
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
9526
  shlibpath_var=LD_LIBRARY_PATH
 
9527
  shlibpath_overrides_runpath=no
 
9528
  hardcode_into_libs=yes
 
9529
  ;;
 
9530
 
 
9531
irix5* | irix6* | nonstopux*)
 
9532
  case $host_os in
 
9533
    nonstopux*) version_type=nonstopux ;;
 
9534
    *)
 
9535
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
9536
                version_type=linux
 
9537
        else
 
9538
                version_type=irix
 
9539
        fi ;;
 
9540
  esac
 
9541
  need_lib_prefix=no
 
9542
  need_version=no
 
9543
  soname_spec='${libname}${release}${shared_ext}$major'
 
9544
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
9545
  case $host_os in
 
9546
  irix5* | nonstopux*)
 
9547
    libsuff= shlibsuff=
 
9548
    ;;
 
9549
  *)
 
9550
    case $LD in # libtool.m4 will add one of these switches to LD
 
9551
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
9552
      libsuff= shlibsuff= libmagic=32-bit;;
 
9553
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
9554
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
9555
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
9556
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
9557
    *) libsuff= shlibsuff= libmagic=never-match;;
 
9558
    esac
 
9559
    ;;
 
9560
  esac
 
9561
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
9562
  shlibpath_overrides_runpath=no
 
9563
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
9564
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
9565
  hardcode_into_libs=yes
 
9566
  ;;
 
9567
 
 
9568
# No shared lib support for Linux oldld, aout, or coff.
 
9569
linux*oldld* | linux*aout* | linux*coff*)
 
9570
  dynamic_linker=no
 
9571
  ;;
 
9572
 
 
9573
# This must be Linux ELF.
 
9574
linux* | k*bsd*-gnu)
 
9575
  version_type=linux
 
9576
  need_lib_prefix=no
 
9577
  need_version=no
 
9578
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9579
  soname_spec='${libname}${release}${shared_ext}$major'
 
9580
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
9581
  shlibpath_var=LD_LIBRARY_PATH
 
9582
  shlibpath_overrides_runpath=no
 
9583
  # Some binutils ld are patched to set DT_RUNPATH
 
9584
  save_LDFLAGS=$LDFLAGS
 
9585
  save_libdir=$libdir
 
9586
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
9587
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
9588
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9589
/* end confdefs.h.  */
 
9590
 
 
9591
int
 
9592
main ()
 
9593
{
 
9594
 
 
9595
  ;
 
9596
  return 0;
 
9597
}
 
9598
_ACEOF
 
9599
if ac_fn_c_try_link "$LINENO"; then :
 
9600
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
9601
  shlibpath_overrides_runpath=yes
 
9602
fi
 
9603
fi
 
9604
rm -f core conftest.err conftest.$ac_objext \
 
9605
    conftest$ac_exeext conftest.$ac_ext
 
9606
  LDFLAGS=$save_LDFLAGS
 
9607
  libdir=$save_libdir
 
9608
 
 
9609
  # This implies no fast_install, which is unacceptable.
 
9610
  # Some rework will be needed to allow for fast_install
 
9611
  # before this can be enabled.
 
9612
  hardcode_into_libs=yes
 
9613
 
 
9614
  # Add ABI-specific directories to the system library path.
 
9615
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
 
9616
 
 
9617
  # Append ld.so.conf contents to the search path
 
9618
  if test -f /etc/ld.so.conf; then
 
9619
    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' ' '`
 
9620
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
9621
  fi
 
9622
 
 
9623
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
9624
  # powerpc, because MkLinux only supported shared libraries with the
 
9625
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
9626
  # most powerpc-linux boxes support dynamic linking these days and
 
9627
  # people can always --disable-shared, the test was removed, and we
 
9628
  # assume the GNU/Linux dynamic linker is in use.
 
9629
  dynamic_linker='GNU/Linux ld.so'
 
9630
  ;;
 
9631
 
 
9632
netbsd*)
 
9633
  version_type=sunos
 
9634
  need_lib_prefix=no
 
9635
  need_version=no
 
9636
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
9637
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
9638
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
9639
    dynamic_linker='NetBSD (a.out) ld.so'
 
9640
  else
 
9641
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
9642
    soname_spec='${libname}${release}${shared_ext}$major'
 
9643
    dynamic_linker='NetBSD ld.elf_so'
 
9644
  fi
 
9645
  shlibpath_var=LD_LIBRARY_PATH
 
9646
  shlibpath_overrides_runpath=yes
 
9647
  hardcode_into_libs=yes
 
9648
  ;;
 
9649
 
 
9650
newsos6)
 
9651
  version_type=linux
 
9652
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9653
  shlibpath_var=LD_LIBRARY_PATH
 
9654
  shlibpath_overrides_runpath=yes
 
9655
  ;;
 
9656
 
 
9657
*nto* | *qnx*)
 
9658
  version_type=qnx
 
9659
  need_lib_prefix=no
 
9660
  need_version=no
 
9661
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9662
  soname_spec='${libname}${release}${shared_ext}$major'
 
9663
  shlibpath_var=LD_LIBRARY_PATH
 
9664
  shlibpath_overrides_runpath=no
 
9665
  hardcode_into_libs=yes
 
9666
  dynamic_linker='ldqnx.so'
 
9667
  ;;
 
9668
 
 
9669
openbsd*)
 
9670
  version_type=sunos
 
9671
  sys_lib_dlsearch_path_spec="/usr/lib"
 
9672
  need_lib_prefix=no
 
9673
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
9674
  case $host_os in
 
9675
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
9676
    *)                          need_version=no  ;;
 
9677
  esac
 
9678
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
9679
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
9680
  shlibpath_var=LD_LIBRARY_PATH
 
9681
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
9682
    case $host_os in
 
9683
      openbsd2.[89] | openbsd2.[89].*)
 
9684
        shlibpath_overrides_runpath=no
 
9685
        ;;
 
9686
      *)
 
9687
        shlibpath_overrides_runpath=yes
 
9688
        ;;
 
9689
      esac
 
9690
  else
 
9691
    shlibpath_overrides_runpath=yes
 
9692
  fi
 
9693
  ;;
 
9694
 
 
9695
os2*)
 
9696
  libname_spec='$name'
 
9697
  shrext_cmds=".dll"
 
9698
  need_lib_prefix=no
 
9699
  library_names_spec='$libname${shared_ext} $libname.a'
 
9700
  dynamic_linker='OS/2 ld.exe'
 
9701
  shlibpath_var=LIBPATH
 
9702
  ;;
 
9703
 
 
9704
osf3* | osf4* | osf5*)
 
9705
  version_type=osf
 
9706
  need_lib_prefix=no
 
9707
  need_version=no
 
9708
  soname_spec='${libname}${release}${shared_ext}$major'
 
9709
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9710
  shlibpath_var=LD_LIBRARY_PATH
 
9711
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
9712
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
9713
  ;;
 
9714
 
 
9715
rdos*)
 
9716
  dynamic_linker=no
 
9717
  ;;
 
9718
 
 
9719
solaris*)
 
9720
  version_type=linux
 
9721
  need_lib_prefix=no
 
9722
  need_version=no
 
9723
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9724
  soname_spec='${libname}${release}${shared_ext}$major'
 
9725
  shlibpath_var=LD_LIBRARY_PATH
 
9726
  shlibpath_overrides_runpath=yes
 
9727
  hardcode_into_libs=yes
 
9728
  # ldd complains unless libraries are executable
 
9729
  postinstall_cmds='chmod +x $lib'
 
9730
  ;;
 
9731
 
 
9732
sunos4*)
 
9733
  version_type=sunos
 
9734
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
9735
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
9736
  shlibpath_var=LD_LIBRARY_PATH
 
9737
  shlibpath_overrides_runpath=yes
 
9738
  if test "$with_gnu_ld" = yes; then
 
9739
    need_lib_prefix=no
 
9740
  fi
 
9741
  need_version=yes
 
9742
  ;;
 
9743
 
 
9744
sysv4 | sysv4.3*)
 
9745
  version_type=linux
 
9746
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9747
  soname_spec='${libname}${release}${shared_ext}$major'
 
9748
  shlibpath_var=LD_LIBRARY_PATH
 
9749
  case $host_vendor in
 
9750
    sni)
 
9751
      shlibpath_overrides_runpath=no
 
9752
      need_lib_prefix=no
 
9753
      runpath_var=LD_RUN_PATH
 
9754
      ;;
 
9755
    siemens)
 
9756
      need_lib_prefix=no
 
9757
      ;;
 
9758
    motorola)
 
9759
      need_lib_prefix=no
 
9760
      need_version=no
 
9761
      shlibpath_overrides_runpath=no
 
9762
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
9763
      ;;
 
9764
  esac
 
9765
  ;;
 
9766
 
 
9767
sysv4*MP*)
 
9768
  if test -d /usr/nec ;then
 
9769
    version_type=linux
 
9770
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
9771
    soname_spec='$libname${shared_ext}.$major'
 
9772
    shlibpath_var=LD_LIBRARY_PATH
 
9773
  fi
 
9774
  ;;
 
9775
 
 
9776
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
9777
  version_type=freebsd-elf
 
9778
  need_lib_prefix=no
 
9779
  need_version=no
 
9780
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
9781
  soname_spec='${libname}${release}${shared_ext}$major'
 
9782
  shlibpath_var=LD_LIBRARY_PATH
 
9783
  shlibpath_overrides_runpath=yes
 
9784
  hardcode_into_libs=yes
 
9785
  if test "$with_gnu_ld" = yes; then
 
9786
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
9787
  else
 
9788
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
9789
    case $host_os in
 
9790
      sco3.2v5*)
 
9791
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
9792
        ;;
 
9793
    esac
 
9794
  fi
 
9795
  sys_lib_dlsearch_path_spec='/usr/lib'
 
9796
  ;;
 
9797
 
 
9798
tpf*)
 
9799
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
9800
  version_type=linux
 
9801
  need_lib_prefix=no
 
9802
  need_version=no
 
9803
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9804
  shlibpath_var=LD_LIBRARY_PATH
 
9805
  shlibpath_overrides_runpath=no
 
9806
  hardcode_into_libs=yes
 
9807
  ;;
 
9808
 
 
9809
uts4*)
 
9810
  version_type=linux
 
9811
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9812
  soname_spec='${libname}${release}${shared_ext}$major'
 
9813
  shlibpath_var=LD_LIBRARY_PATH
 
9814
  ;;
 
9815
 
 
9816
*)
 
9817
  dynamic_linker=no
 
9818
  ;;
 
9819
esac
 
9820
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
9821
$as_echo "$dynamic_linker" >&6; }
 
9822
test "$dynamic_linker" = no && can_build_shared=no
 
9823
 
 
9824
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
9825
if test "$GCC" = yes; then
 
9826
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
9827
fi
 
9828
 
 
9829
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
9830
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
9831
fi
 
9832
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
9833
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
9834
fi
 
9835
 
 
9836
 
 
9837
 
 
9838
 
 
9839
 
 
9840
 
 
9841
 
 
9842
 
 
9843
 
 
9844
 
 
9845
 
 
9846
 
 
9847
 
 
9848
 
 
9849
 
 
9850
 
 
9851
 
 
9852
 
 
9853
 
 
9854
 
 
9855
 
 
9856
 
 
9857
 
 
9858
 
 
9859
 
 
9860
 
 
9861
 
 
9862
 
 
9863
 
 
9864
 
 
9865
 
 
9866
 
 
9867
 
 
9868
 
 
9869
 
 
9870
 
 
9871
 
 
9872
 
 
9873
 
 
9874
 
 
9875
 
 
9876
 
 
9877
 
 
9878
 
 
9879
 
 
9880
 
 
9881
 
 
9882
 
 
9883
 
 
9884
 
 
9885
 
 
9886
 
 
9887
 
 
9888
 
 
9889
 
 
9890
 
 
9891
 
 
9892
 
 
9893
 
 
9894
 
 
9895
 
 
9896
 
 
9897
 
 
9898
 
 
9899
 
 
9900
 
 
9901
 
 
9902
 
 
9903
 
 
9904
 
 
9905
 
 
9906
 
 
9907
 
 
9908
 
 
9909
 
 
9910
 
 
9911
 
 
9912
 
 
9913
 
 
9914
 
 
9915
 
 
9916
 
 
9917
 
 
9918
 
 
9919
 
 
9920
 
 
9921
 
 
9922
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
9923
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
9924
hardcode_action=
 
9925
if test -n "$hardcode_libdir_flag_spec" ||
 
9926
   test -n "$runpath_var" ||
 
9927
   test "X$hardcode_automatic" = "Xyes" ; then
 
9928
 
 
9929
  # We can hardcode non-existent directories.
 
9930
  if test "$hardcode_direct" != no &&
 
9931
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
9932
     # have to relink, otherwise we might link with an installed library
 
9933
     # when we should be linking with a yet-to-be-installed one
 
9934
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
9935
     test "$hardcode_minus_L" != no; then
 
9936
    # Linking always hardcodes the temporary library directory.
 
9937
    hardcode_action=relink
 
9938
  else
 
9939
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
9940
    hardcode_action=immediate
 
9941
  fi
 
9942
else
 
9943
  # We cannot hardcode anything, or else we can only hardcode existing
 
9944
  # directories.
 
9945
  hardcode_action=unsupported
 
9946
fi
 
9947
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 
9948
$as_echo "$hardcode_action" >&6; }
 
9949
 
 
9950
if test "$hardcode_action" = relink ||
 
9951
   test "$inherit_rpath" = yes; then
 
9952
  # Fast installation is not supported
 
9953
  enable_fast_install=no
 
9954
elif test "$shlibpath_overrides_runpath" = yes ||
 
9955
     test "$enable_shared" = no; then
 
9956
  # Fast installation is not necessary
 
9957
  enable_fast_install=needless
 
9958
fi
 
9959
 
 
9960
 
 
9961
 
 
9962
 
 
9963
 
 
9964
 
 
9965
  if test "x$enable_dlopen" != xyes; then
 
9966
  enable_dlopen=unknown
 
9967
  enable_dlopen_self=unknown
 
9968
  enable_dlopen_self_static=unknown
 
9969
else
 
9970
  lt_cv_dlopen=no
 
9971
  lt_cv_dlopen_libs=
 
9972
 
 
9973
  case $host_os in
 
9974
  beos*)
 
9975
    lt_cv_dlopen="load_add_on"
 
9976
    lt_cv_dlopen_libs=
 
9977
    lt_cv_dlopen_self=yes
 
9978
    ;;
 
9979
 
 
9980
  mingw* | pw32* | cegcc*)
 
9981
    lt_cv_dlopen="LoadLibrary"
 
9982
    lt_cv_dlopen_libs=
 
9983
    ;;
 
9984
 
 
9985
  cygwin*)
 
9986
    lt_cv_dlopen="dlopen"
 
9987
    lt_cv_dlopen_libs=
 
9988
    ;;
 
9989
 
 
9990
  darwin*)
 
9991
  # if libdl is installed we need to link against it
 
9992
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
9993
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
9994
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
9995
  $as_echo_n "(cached) " >&6
 
9996
else
 
9997
  ac_check_lib_save_LIBS=$LIBS
 
9998
LIBS="-ldl  $LIBS"
 
9999
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10000
/* end confdefs.h.  */
 
10001
 
 
10002
/* Override any GCC internal prototype to avoid an error.
 
10003
   Use char because int might match the return type of a GCC
 
10004
   builtin and then its argument prototype would still apply.  */
 
10005
#ifdef __cplusplus
 
10006
extern "C"
 
10007
#endif
 
10008
char dlopen ();
 
10009
int
 
10010
main ()
 
10011
{
 
10012
return dlopen ();
 
10013
  ;
 
10014
  return 0;
 
10015
}
 
10016
_ACEOF
 
10017
if ac_fn_c_try_link "$LINENO"; then :
 
10018
  ac_cv_lib_dl_dlopen=yes
 
10019
else
 
10020
  ac_cv_lib_dl_dlopen=no
 
10021
fi
 
10022
rm -f core conftest.err conftest.$ac_objext \
 
10023
    conftest$ac_exeext conftest.$ac_ext
 
10024
LIBS=$ac_check_lib_save_LIBS
 
10025
fi
 
10026
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
10027
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
10028
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
10029
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
10030
else
 
10031
 
 
10032
    lt_cv_dlopen="dyld"
 
10033
    lt_cv_dlopen_libs=
 
10034
    lt_cv_dlopen_self=yes
 
10035
 
 
10036
fi
 
10037
 
 
10038
    ;;
 
10039
 
 
10040
  *)
 
10041
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
10042
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
10043
  lt_cv_dlopen="shl_load"
 
10044
else
 
10045
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 
10046
$as_echo_n "checking for shl_load in -ldld... " >&6; }
 
10047
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
10048
  $as_echo_n "(cached) " >&6
 
10049
else
 
10050
  ac_check_lib_save_LIBS=$LIBS
 
10051
LIBS="-ldld  $LIBS"
 
10052
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10053
/* end confdefs.h.  */
 
10054
 
 
10055
/* Override any GCC internal prototype to avoid an error.
 
10056
   Use char because int might match the return type of a GCC
 
10057
   builtin and then its argument prototype would still apply.  */
 
10058
#ifdef __cplusplus
 
10059
extern "C"
 
10060
#endif
 
10061
char shl_load ();
 
10062
int
 
10063
main ()
 
10064
{
 
10065
return shl_load ();
 
10066
  ;
 
10067
  return 0;
 
10068
}
 
10069
_ACEOF
 
10070
if ac_fn_c_try_link "$LINENO"; then :
 
10071
  ac_cv_lib_dld_shl_load=yes
 
10072
else
 
10073
  ac_cv_lib_dld_shl_load=no
 
10074
fi
 
10075
rm -f core conftest.err conftest.$ac_objext \
 
10076
    conftest$ac_exeext conftest.$ac_ext
 
10077
LIBS=$ac_check_lib_save_LIBS
 
10078
fi
 
10079
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 
10080
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
10081
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
10082
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 
10083
else
 
10084
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
10085
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
10086
  lt_cv_dlopen="dlopen"
 
10087
else
 
10088
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
10089
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
10090
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
10091
  $as_echo_n "(cached) " >&6
 
10092
else
 
10093
  ac_check_lib_save_LIBS=$LIBS
 
10094
LIBS="-ldl  $LIBS"
 
10095
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10096
/* end confdefs.h.  */
 
10097
 
 
10098
/* Override any GCC internal prototype to avoid an error.
 
10099
   Use char because int might match the return type of a GCC
 
10100
   builtin and then its argument prototype would still apply.  */
 
10101
#ifdef __cplusplus
 
10102
extern "C"
 
10103
#endif
 
10104
char dlopen ();
 
10105
int
 
10106
main ()
 
10107
{
 
10108
return dlopen ();
 
10109
  ;
 
10110
  return 0;
 
10111
}
 
10112
_ACEOF
 
10113
if ac_fn_c_try_link "$LINENO"; then :
 
10114
  ac_cv_lib_dl_dlopen=yes
 
10115
else
 
10116
  ac_cv_lib_dl_dlopen=no
 
10117
fi
 
10118
rm -f core conftest.err conftest.$ac_objext \
 
10119
    conftest$ac_exeext conftest.$ac_ext
 
10120
LIBS=$ac_check_lib_save_LIBS
 
10121
fi
 
10122
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
10123
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
10124
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
10125
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
10126
else
 
10127
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 
10128
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 
10129
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
10130
  $as_echo_n "(cached) " >&6
 
10131
else
 
10132
  ac_check_lib_save_LIBS=$LIBS
 
10133
LIBS="-lsvld  $LIBS"
 
10134
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10135
/* end confdefs.h.  */
 
10136
 
 
10137
/* Override any GCC internal prototype to avoid an error.
 
10138
   Use char because int might match the return type of a GCC
 
10139
   builtin and then its argument prototype would still apply.  */
 
10140
#ifdef __cplusplus
 
10141
extern "C"
 
10142
#endif
 
10143
char dlopen ();
 
10144
int
 
10145
main ()
 
10146
{
 
10147
return dlopen ();
 
10148
  ;
 
10149
  return 0;
 
10150
}
 
10151
_ACEOF
 
10152
if ac_fn_c_try_link "$LINENO"; then :
 
10153
  ac_cv_lib_svld_dlopen=yes
 
10154
else
 
10155
  ac_cv_lib_svld_dlopen=no
 
10156
fi
 
10157
rm -f core conftest.err conftest.$ac_objext \
 
10158
    conftest$ac_exeext conftest.$ac_ext
 
10159
LIBS=$ac_check_lib_save_LIBS
 
10160
fi
 
10161
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 
10162
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
10163
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
10164
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 
10165
else
 
10166
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 
10167
$as_echo_n "checking for dld_link in -ldld... " >&6; }
 
10168
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
10169
  $as_echo_n "(cached) " >&6
 
10170
else
 
10171
  ac_check_lib_save_LIBS=$LIBS
 
10172
LIBS="-ldld  $LIBS"
 
10173
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10174
/* end confdefs.h.  */
 
10175
 
 
10176
/* Override any GCC internal prototype to avoid an error.
 
10177
   Use char because int might match the return type of a GCC
 
10178
   builtin and then its argument prototype would still apply.  */
 
10179
#ifdef __cplusplus
 
10180
extern "C"
 
10181
#endif
 
10182
char dld_link ();
 
10183
int
 
10184
main ()
 
10185
{
 
10186
return dld_link ();
 
10187
  ;
 
10188
  return 0;
 
10189
}
 
10190
_ACEOF
 
10191
if ac_fn_c_try_link "$LINENO"; then :
 
10192
  ac_cv_lib_dld_dld_link=yes
 
10193
else
 
10194
  ac_cv_lib_dld_dld_link=no
 
10195
fi
 
10196
rm -f core conftest.err conftest.$ac_objext \
 
10197
    conftest$ac_exeext conftest.$ac_ext
 
10198
LIBS=$ac_check_lib_save_LIBS
 
10199
fi
 
10200
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 
10201
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
10202
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
10203
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 
10204
fi
 
10205
 
 
10206
 
 
10207
fi
 
10208
 
 
10209
 
 
10210
fi
 
10211
 
 
10212
 
 
10213
fi
 
10214
 
 
10215
 
 
10216
fi
 
10217
 
 
10218
 
 
10219
fi
 
10220
 
 
10221
    ;;
 
10222
  esac
 
10223
 
 
10224
  if test "x$lt_cv_dlopen" != xno; then
 
10225
    enable_dlopen=yes
 
10226
  else
 
10227
    enable_dlopen=no
 
10228
  fi
 
10229
 
 
10230
  case $lt_cv_dlopen in
 
10231
  dlopen)
 
10232
    save_CPPFLAGS="$CPPFLAGS"
 
10233
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
10234
 
 
10235
    save_LDFLAGS="$LDFLAGS"
 
10236
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
10237
 
 
10238
    save_LIBS="$LIBS"
 
10239
    LIBS="$lt_cv_dlopen_libs $LIBS"
 
10240
 
 
10241
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 
10242
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 
10243
if test "${lt_cv_dlopen_self+set}" = set; then :
 
10244
  $as_echo_n "(cached) " >&6
 
10245
else
 
10246
          if test "$cross_compiling" = yes; then :
 
10247
  lt_cv_dlopen_self=cross
 
10248
else
 
10249
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
10250
  lt_status=$lt_dlunknown
 
10251
  cat > conftest.$ac_ext <<_LT_EOF
 
10252
#line 10252 "configure"
 
10253
#include "confdefs.h"
 
10254
 
 
10255
#if HAVE_DLFCN_H
 
10256
#include <dlfcn.h>
 
10257
#endif
 
10258
 
 
10259
#include <stdio.h>
 
10260
 
 
10261
#ifdef RTLD_GLOBAL
 
10262
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
10263
#else
 
10264
#  ifdef DL_GLOBAL
 
10265
#    define LT_DLGLOBAL         DL_GLOBAL
 
10266
#  else
 
10267
#    define LT_DLGLOBAL         0
 
10268
#  endif
 
10269
#endif
 
10270
 
 
10271
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
10272
   find out it does not work in some platform. */
 
10273
#ifndef LT_DLLAZY_OR_NOW
 
10274
#  ifdef RTLD_LAZY
 
10275
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
10276
#  else
 
10277
#    ifdef DL_LAZY
 
10278
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
10279
#    else
 
10280
#      ifdef RTLD_NOW
 
10281
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
10282
#      else
 
10283
#        ifdef DL_NOW
 
10284
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
10285
#        else
 
10286
#          define LT_DLLAZY_OR_NOW      0
 
10287
#        endif
 
10288
#      endif
 
10289
#    endif
 
10290
#  endif
 
10291
#endif
 
10292
 
 
10293
void fnord() { int i=42;}
 
10294
int main ()
 
10295
{
 
10296
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
10297
  int status = $lt_dlunknown;
 
10298
 
 
10299
  if (self)
 
10300
    {
 
10301
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
10302
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
10303
      /* dlclose (self); */
 
10304
    }
 
10305
  else
 
10306
    puts (dlerror ());
 
10307
 
 
10308
  return status;
 
10309
}
 
10310
_LT_EOF
 
10311
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
10312
  (eval $ac_link) 2>&5
 
10313
  ac_status=$?
 
10314
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10315
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
10316
    (./conftest; exit; ) >&5 2>/dev/null
 
10317
    lt_status=$?
 
10318
    case x$lt_status in
 
10319
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 
10320
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 
10321
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 
10322
    esac
 
10323
  else :
 
10324
    # compilation failed
 
10325
    lt_cv_dlopen_self=no
 
10326
  fi
 
10327
fi
 
10328
rm -fr conftest*
 
10329
 
 
10330
 
 
10331
fi
 
10332
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 
10333
$as_echo "$lt_cv_dlopen_self" >&6; }
 
10334
 
 
10335
    if test "x$lt_cv_dlopen_self" = xyes; then
 
10336
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
10337
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 
10338
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 
10339
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
10340
  $as_echo_n "(cached) " >&6
 
10341
else
 
10342
          if test "$cross_compiling" = yes; then :
 
10343
  lt_cv_dlopen_self_static=cross
 
10344
else
 
10345
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
10346
  lt_status=$lt_dlunknown
 
10347
  cat > conftest.$ac_ext <<_LT_EOF
 
10348
#line 10348 "configure"
 
10349
#include "confdefs.h"
 
10350
 
 
10351
#if HAVE_DLFCN_H
 
10352
#include <dlfcn.h>
 
10353
#endif
 
10354
 
 
10355
#include <stdio.h>
 
10356
 
 
10357
#ifdef RTLD_GLOBAL
 
10358
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
10359
#else
 
10360
#  ifdef DL_GLOBAL
 
10361
#    define LT_DLGLOBAL         DL_GLOBAL
 
10362
#  else
 
10363
#    define LT_DLGLOBAL         0
 
10364
#  endif
 
10365
#endif
 
10366
 
 
10367
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
10368
   find out it does not work in some platform. */
 
10369
#ifndef LT_DLLAZY_OR_NOW
 
10370
#  ifdef RTLD_LAZY
 
10371
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
10372
#  else
 
10373
#    ifdef DL_LAZY
 
10374
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
10375
#    else
 
10376
#      ifdef RTLD_NOW
 
10377
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
10378
#      else
 
10379
#        ifdef DL_NOW
 
10380
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
10381
#        else
 
10382
#          define LT_DLLAZY_OR_NOW      0
 
10383
#        endif
 
10384
#      endif
 
10385
#    endif
 
10386
#  endif
 
10387
#endif
 
10388
 
 
10389
void fnord() { int i=42;}
 
10390
int main ()
 
10391
{
 
10392
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
10393
  int status = $lt_dlunknown;
 
10394
 
 
10395
  if (self)
 
10396
    {
 
10397
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
10398
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
10399
      /* dlclose (self); */
 
10400
    }
 
10401
  else
 
10402
    puts (dlerror ());
 
10403
 
 
10404
  return status;
 
10405
}
 
10406
_LT_EOF
 
10407
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
10408
  (eval $ac_link) 2>&5
 
10409
  ac_status=$?
 
10410
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10411
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
10412
    (./conftest; exit; ) >&5 2>/dev/null
 
10413
    lt_status=$?
 
10414
    case x$lt_status in
 
10415
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 
10416
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 
10417
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 
10418
    esac
 
10419
  else :
 
10420
    # compilation failed
 
10421
    lt_cv_dlopen_self_static=no
 
10422
  fi
 
10423
fi
 
10424
rm -fr conftest*
 
10425
 
 
10426
 
 
10427
fi
 
10428
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 
10429
$as_echo "$lt_cv_dlopen_self_static" >&6; }
 
10430
    fi
 
10431
 
 
10432
    CPPFLAGS="$save_CPPFLAGS"
 
10433
    LDFLAGS="$save_LDFLAGS"
 
10434
    LIBS="$save_LIBS"
 
10435
    ;;
 
10436
  esac
 
10437
 
 
10438
  case $lt_cv_dlopen_self in
 
10439
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
10440
  *) enable_dlopen_self=unknown ;;
 
10441
  esac
 
10442
 
 
10443
  case $lt_cv_dlopen_self_static in
 
10444
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
10445
  *) enable_dlopen_self_static=unknown ;;
 
10446
  esac
 
10447
fi
 
10448
 
 
10449
 
 
10450
 
 
10451
 
 
10452
 
 
10453
 
 
10454
 
 
10455
 
 
10456
 
 
10457
 
 
10458
 
 
10459
 
 
10460
 
 
10461
 
 
10462
 
 
10463
 
 
10464
 
 
10465
striplib=
 
10466
old_striplib=
 
10467
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 
10468
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
10469
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
10470
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
10471
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
10472
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
10473
$as_echo "yes" >&6; }
 
10474
else
 
10475
# FIXME - insert some real tests, host_os isn't really good enough
 
10476
  case $host_os in
 
10477
  darwin*)
 
10478
    if test -n "$STRIP" ; then
 
10479
      striplib="$STRIP -x"
 
10480
      old_striplib="$STRIP -S"
 
10481
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
10482
$as_echo "yes" >&6; }
 
10483
    else
 
10484
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10485
$as_echo "no" >&6; }
 
10486
    fi
 
10487
    ;;
 
10488
  *)
 
10489
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10490
$as_echo "no" >&6; }
 
10491
    ;;
 
10492
  esac
 
10493
fi
 
10494
 
 
10495
 
 
10496
 
 
10497
 
 
10498
 
 
10499
 
 
10500
 
 
10501
 
 
10502
 
 
10503
 
 
10504
 
 
10505
 
 
10506
  # Report which library types will actually be built
 
10507
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 
10508
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
10509
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 
10510
$as_echo "$can_build_shared" >&6; }
 
10511
 
 
10512
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 
10513
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
10514
  test "$can_build_shared" = "no" && enable_shared=no
 
10515
 
 
10516
  # On AIX, shared libraries and static libraries use the same namespace, and
 
10517
  # are all built from PIC.
 
10518
  case $host_os in
 
10519
  aix3*)
 
10520
    test "$enable_shared" = yes && enable_static=no
 
10521
    if test -n "$RANLIB"; then
 
10522
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
10523
      postinstall_cmds='$RANLIB $lib'
 
10524
    fi
 
10525
    ;;
 
10526
 
 
10527
  aix[4-9]*)
 
10528
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
10529
      test "$enable_shared" = yes && enable_static=no
 
10530
    fi
 
10531
    ;;
 
10532
  esac
 
10533
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 
10534
$as_echo "$enable_shared" >&6; }
 
10535
 
 
10536
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 
10537
$as_echo_n "checking whether to build static libraries... " >&6; }
 
10538
  # Make sure either enable_shared or enable_static is yes.
 
10539
  test "$enable_shared" = yes || enable_static=yes
 
10540
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 
10541
$as_echo "$enable_static" >&6; }
 
10542
 
 
10543
 
 
10544
 
 
10545
 
 
10546
fi
 
10547
ac_ext=c
 
10548
ac_cpp='$CPP $CPPFLAGS'
 
10549
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
10550
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
10551
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
10552
 
 
10553
CC="$lt_save_CC"
 
10554
 
 
10555
 
 
10556
 
 
10557
 
 
10558
 
 
10559
 
 
10560
 
 
10561
 
 
10562
 
 
10563
 
 
10564
 
 
10565
 
 
10566
 
 
10567
        ac_config_commands="$ac_config_commands libtool"
 
10568
 
 
10569
 
 
10570
 
 
10571
 
 
10572
# Only expand once:
 
10573
 
 
10574
 
 
10575
 
 
10576
# Checks for libraries.
 
10577
save_LIBS=$LIBS
 
10578
LIBS=
 
10579
#AC_SEARCH_LIBS(clock_gettime, rt)
 
10580
#rt_libs=$LIBS
 
10581
LIBS=$save_LIBS
 
10582
 
 
10583
# Extract the first word of "xml2-config", so it can be a program name with args.
 
10584
set dummy xml2-config; ac_word=$2
 
10585
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10586
$as_echo_n "checking for $ac_word... " >&6; }
 
10587
if test "${ac_cv_prog_HAVE_LIBXML2_CONFIG+set}" = set; then :
 
10588
  $as_echo_n "(cached) " >&6
 
10589
else
 
10590
  if test -n "$HAVE_LIBXML2_CONFIG"; then
 
10591
  ac_cv_prog_HAVE_LIBXML2_CONFIG="$HAVE_LIBXML2_CONFIG" # Let the user override the test.
 
10592
else
 
10593
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10594
for as_dir in $PATH
 
10595
do
 
10596
  IFS=$as_save_IFS
 
10597
  test -z "$as_dir" && as_dir=.
 
10598
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10599
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10600
    ac_cv_prog_HAVE_LIBXML2_CONFIG="yes"
 
10601
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10602
    break 2
 
10603
  fi
 
10604
done
 
10605
  done
 
10606
IFS=$as_save_IFS
 
10607
 
 
10608
fi
 
10609
fi
 
10610
HAVE_LIBXML2_CONFIG=$ac_cv_prog_HAVE_LIBXML2_CONFIG
 
10611
if test -n "$HAVE_LIBXML2_CONFIG"; then
 
10612
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_LIBXML2_CONFIG" >&5
 
10613
$as_echo "$HAVE_LIBXML2_CONFIG" >&6; }
 
10614
else
 
10615
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10616
$as_echo "no" >&6; }
 
10617
fi
 
10618
 
 
10619
 
 
10620
if test "x${HAVE_LIBXML2_CONFIG}" != "xyes"; then
 
10621
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
10622
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
10623
as_fn_error "xml2-config not found in PATH - this means libxml2 development package is missing
 
10624
See \`config.log' for more details." "$LINENO" 5; }
 
10625
fi
 
10626
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadFile in -lxml2" >&5
 
10627
$as_echo_n "checking for xmlReadFile in -lxml2... " >&6; }
 
10628
if test "${ac_cv_lib_xml2_xmlReadFile+set}" = set; then :
 
10629
  $as_echo_n "(cached) " >&6
 
10630
else
 
10631
  ac_check_lib_save_LIBS=$LIBS
 
10632
LIBS="-lxml2 `xml2-config --libs`
 
10633
 $LIBS"
 
10634
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10635
/* end confdefs.h.  */
 
10636
 
 
10637
/* Override any GCC internal prototype to avoid an error.
 
10638
   Use char because int might match the return type of a GCC
 
10639
   builtin and then its argument prototype would still apply.  */
 
10640
#ifdef __cplusplus
 
10641
extern "C"
 
10642
#endif
 
10643
char xmlReadFile ();
 
10644
int
 
10645
main ()
 
10646
{
 
10647
return xmlReadFile ();
 
10648
  ;
 
10649
  return 0;
 
10650
}
 
10651
_ACEOF
 
10652
if ac_fn_c_try_link "$LINENO"; then :
 
10653
  ac_cv_lib_xml2_xmlReadFile=yes
 
10654
else
 
10655
  ac_cv_lib_xml2_xmlReadFile=no
 
10656
fi
 
10657
rm -f core conftest.err conftest.$ac_objext \
 
10658
    conftest$ac_exeext conftest.$ac_ext
 
10659
LIBS=$ac_check_lib_save_LIBS
 
10660
fi
 
10661
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadFile" >&5
 
10662
$as_echo "$ac_cv_lib_xml2_xmlReadFile" >&6; }
 
10663
if test "x$ac_cv_lib_xml2_xmlReadFile" = x""yes; then :
 
10664
  LIBXML2_CFLAGS=`xml2-config --cflags`
 
10665
   LIBXML2_LIBS=`xml2-config --libs`
 
10666
 
 
10667
else
 
10668
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
10669
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
10670
as_fn_error "libxml2 is missing
 
10671
See \`config.log' for more details." "$LINENO" 5; }
 
10672
fi
 
10673
 
 
10674
 
 
10675
 
 
10676
 
 
10677
 
 
10678
 
 
10679
# Checks for header files.
 
10680
#AC_HEADER_STDC
 
10681
#AC_CHECK_HEADERS([])
 
10682
 
 
10683
# Checks for typedefs, structures, and compiler characteristics.
 
10684
#AC_C_CONST
 
10685
#AC_TYPE_SIZE_T
 
10686
#AC_HEADER_TIME
 
10687
#AC_STRUCT_TM
 
10688
 
 
10689
# Checks for library functions.
 
10690
for ac_header in stdlib.h
 
10691
do :
 
10692
  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
 
10693
if test "x$ac_cv_header_stdlib_h" = x""yes; then :
 
10694
  cat >>confdefs.h <<_ACEOF
 
10695
#define HAVE_STDLIB_H 1
 
10696
_ACEOF
 
10697
 
 
10698
fi
 
10699
 
 
10700
done
 
10701
 
 
10702
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
 
10703
$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
 
10704
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
 
10705
  $as_echo_n "(cached) " >&6
 
10706
else
 
10707
  if test "$cross_compiling" = yes; then :
 
10708
  ac_cv_func_malloc_0_nonnull=no
 
10709
else
 
10710
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10711
/* end confdefs.h.  */
 
10712
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
 
10713
# include <stdlib.h>
 
10714
#else
 
10715
char *malloc ();
 
10716
#endif
 
10717
 
 
10718
int
 
10719
main ()
 
10720
{
 
10721
return ! malloc (0);
 
10722
  ;
 
10723
  return 0;
 
10724
}
 
10725
_ACEOF
 
10726
if ac_fn_c_try_run "$LINENO"; then :
 
10727
  ac_cv_func_malloc_0_nonnull=yes
 
10728
else
 
10729
  ac_cv_func_malloc_0_nonnull=no
 
10730
fi
 
10731
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
10732
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
10733
fi
 
10734
 
 
10735
fi
 
10736
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
 
10737
$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
 
10738
if test $ac_cv_func_malloc_0_nonnull = yes; then :
 
10739
 
 
10740
$as_echo "#define HAVE_MALLOC 1" >>confdefs.h
 
10741
 
 
10742
else
 
10743
  $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
 
10744
 
 
10745
   case " $LIBOBJS " in
 
10746
  *" malloc.$ac_objext "* ) ;;
 
10747
  *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
 
10748
 ;;
 
10749
esac
 
10750
 
 
10751
 
 
10752
$as_echo "#define malloc rpl_malloc" >>confdefs.h
 
10753
 
 
10754
fi
 
10755
 
 
10756
 
 
10757
#AC_FUNC_SELECT_ARGTYPES
 
10758
#AC_TYPE_SIGNAL
 
10759
#AC_CHECK_FUNCS([])
 
10760
 
 
10761
LIBEE_CFLAGS="-I\$(top_srcdir)/include"
 
10762
LIBEE_LIBS="\$(top_builddir)/src/libee.la"
 
10763
 
 
10764
 
 
10765
 
 
10766
# modules we require
 
10767
 
 
10768
 
 
10769
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
10770
        if test -n "$ac_tool_prefix"; then
 
10771
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
10772
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
10773
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10774
$as_echo_n "checking for $ac_word... " >&6; }
 
10775
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
10776
  $as_echo_n "(cached) " >&6
 
10777
else
 
10778
  case $PKG_CONFIG in
 
10779
  [\\/]* | ?:[\\/]*)
 
10780
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
10781
  ;;
 
10782
  *)
 
10783
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10784
for as_dir in $PATH
 
10785
do
 
10786
  IFS=$as_save_IFS
 
10787
  test -z "$as_dir" && as_dir=.
 
10788
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10789
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10790
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
10791
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10792
    break 2
 
10793
  fi
 
10794
done
 
10795
  done
 
10796
IFS=$as_save_IFS
 
10797
 
 
10798
  ;;
 
10799
esac
 
10800
fi
 
10801
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
10802
if test -n "$PKG_CONFIG"; then
 
10803
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
10804
$as_echo "$PKG_CONFIG" >&6; }
 
10805
else
 
10806
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10807
$as_echo "no" >&6; }
 
10808
fi
 
10809
 
 
10810
 
 
10811
fi
 
10812
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
10813
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
10814
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
10815
set dummy pkg-config; ac_word=$2
 
10816
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10817
$as_echo_n "checking for $ac_word... " >&6; }
 
10818
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
10819
  $as_echo_n "(cached) " >&6
 
10820
else
 
10821
  case $ac_pt_PKG_CONFIG in
 
10822
  [\\/]* | ?:[\\/]*)
 
10823
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
10824
  ;;
 
10825
  *)
 
10826
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10827
for as_dir in $PATH
 
10828
do
 
10829
  IFS=$as_save_IFS
 
10830
  test -z "$as_dir" && as_dir=.
 
10831
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10832
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10833
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
10834
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10835
    break 2
 
10836
  fi
 
10837
done
 
10838
  done
 
10839
IFS=$as_save_IFS
 
10840
 
 
10841
  ;;
 
10842
esac
 
10843
fi
 
10844
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
10845
if test -n "$ac_pt_PKG_CONFIG"; then
 
10846
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
10847
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
10848
else
 
10849
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10850
$as_echo "no" >&6; }
 
10851
fi
 
10852
 
 
10853
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
10854
    PKG_CONFIG=""
 
10855
  else
 
10856
    case $cross_compiling:$ac_tool_warned in
 
10857
yes:)
 
10858
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
10859
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
10860
ac_tool_warned=yes ;;
 
10861
esac
 
10862
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
10863
  fi
 
10864
else
 
10865
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
10866
fi
 
10867
 
 
10868
fi
 
10869
if test -n "$PKG_CONFIG"; then
 
10870
        _pkg_min_version=0.9.0
 
10871
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
10872
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
10873
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
10874
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
10875
$as_echo "yes" >&6; }
 
10876
        else
 
10877
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10878
$as_echo "no" >&6; }
 
10879
                PKG_CONFIG=""
 
10880
        fi
 
10881
 
 
10882
fi
 
10883
 
 
10884
pkg_failed=no
 
10885
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBESTR" >&5
 
10886
$as_echo_n "checking for LIBESTR... " >&6; }
 
10887
 
 
10888
if test -n "$LIBESTR_CFLAGS"; then
 
10889
    pkg_cv_LIBESTR_CFLAGS="$LIBESTR_CFLAGS"
 
10890
 elif test -n "$PKG_CONFIG"; then
 
10891
    if test -n "$PKG_CONFIG" && \
 
10892
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libestr >= 0.0.0\""; } >&5
 
10893
  ($PKG_CONFIG --exists --print-errors "libestr >= 0.0.0") 2>&5
 
10894
  ac_status=$?
 
10895
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10896
  test $ac_status = 0; }; then
 
10897
  pkg_cv_LIBESTR_CFLAGS=`$PKG_CONFIG --cflags "libestr >= 0.0.0" 2>/dev/null`
 
10898
else
 
10899
  pkg_failed=yes
 
10900
fi
 
10901
 else
 
10902
    pkg_failed=untried
 
10903
fi
 
10904
if test -n "$LIBESTR_LIBS"; then
 
10905
    pkg_cv_LIBESTR_LIBS="$LIBESTR_LIBS"
 
10906
 elif test -n "$PKG_CONFIG"; then
 
10907
    if test -n "$PKG_CONFIG" && \
 
10908
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libestr >= 0.0.0\""; } >&5
 
10909
  ($PKG_CONFIG --exists --print-errors "libestr >= 0.0.0") 2>&5
 
10910
  ac_status=$?
 
10911
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10912
  test $ac_status = 0; }; then
 
10913
  pkg_cv_LIBESTR_LIBS=`$PKG_CONFIG --libs "libestr >= 0.0.0" 2>/dev/null`
 
10914
else
 
10915
  pkg_failed=yes
 
10916
fi
 
10917
 else
 
10918
    pkg_failed=untried
 
10919
fi
 
10920
 
 
10921
 
 
10922
 
 
10923
if test $pkg_failed = yes; then
 
10924
 
 
10925
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
10926
        _pkg_short_errors_supported=yes
 
10927
else
 
10928
        _pkg_short_errors_supported=no
 
10929
fi
 
10930
        if test $_pkg_short_errors_supported = yes; then
 
10931
                LIBESTR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libestr >= 0.0.0" 2>&1`
 
10932
        else
 
10933
                LIBESTR_PKG_ERRORS=`$PKG_CONFIG --print-errors "libestr >= 0.0.0" 2>&1`
 
10934
        fi
 
10935
        # Put the nasty error message in config.log where it belongs
 
10936
        echo "$LIBESTR_PKG_ERRORS" >&5
 
10937
 
 
10938
        as_fn_error "Package requirements (libestr >= 0.0.0) were not met:
 
10939
 
 
10940
$LIBESTR_PKG_ERRORS
 
10941
 
 
10942
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
10943
installed software in a non-standard prefix.
 
10944
 
 
10945
Alternatively, you may set the environment variables LIBESTR_CFLAGS
 
10946
and LIBESTR_LIBS to avoid the need to call pkg-config.
 
10947
See the pkg-config man page for more details.
 
10948
" "$LINENO" 5
 
10949
elif test $pkg_failed = untried; then
 
10950
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
10951
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
10952
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
10953
is in your PATH or set the PKG_CONFIG environment variable to the full
 
10954
path to pkg-config.
 
10955
 
 
10956
Alternatively, you may set the environment variables LIBESTR_CFLAGS
 
10957
and LIBESTR_LIBS to avoid the need to call pkg-config.
 
10958
See the pkg-config man page for more details.
 
10959
 
 
10960
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
10961
See \`config.log' for more details." "$LINENO" 5; }
 
10962
else
 
10963
        LIBESTR_CFLAGS=$pkg_cv_LIBESTR_CFLAGS
 
10964
        LIBESTR_LIBS=$pkg_cv_LIBESTR_LIBS
 
10965
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
10966
$as_echo "yes" >&6; }
 
10967
        :
 
10968
fi
 
10969
 
 
10970
# enable/disable the testbench (e.g. because some important parts
 
10971
# are missing)
 
10972
# Check whether --enable-testbench was given.
 
10973
if test "${enable_testbench+set}" = set; then :
 
10974
  enableval=$enable_testbench; case "${enableval}" in
 
10975
         yes) enable_testbench="yes" ;;
 
10976
          no) enable_testbench="no" ;;
 
10977
           *) as_fn_error "bad value ${enableval} for --enable-testbench" "$LINENO" 5 ;;
 
10978
         esac
 
10979
else
 
10980
  enable_testbench=yes
 
10981
 
 
10982
fi
 
10983
 
 
10984
 if test x$enable_testbench = xyes; then
 
10985
  ENABLE_TESTBENCH_TRUE=
 
10986
  ENABLE_TESTBENCH_FALSE='#'
 
10987
else
 
10988
  ENABLE_TESTBENCH_TRUE='#'
 
10989
  ENABLE_TESTBENCH_FALSE=
 
10990
fi
 
10991
 
 
10992
 
 
10993
 
 
10994
# debug mode settings
 
10995
# Check whether --enable-debug was given.
 
10996
if test "${enable_debug+set}" = set; then :
 
10997
  enableval=$enable_debug; case "${enableval}" in
 
10998
         yes) enable_debug="yes" ;;
 
10999
          no) enable_debug="no" ;;
 
11000
           *) as_fn_error "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
 
11001
         esac
 
11002
else
 
11003
  enable_debug="no"
 
11004
 
 
11005
fi
 
11006
 
 
11007
 if test x$enable_debug = xyes; then
 
11008
  ENABLE_DEBUG_TRUE=
 
11009
  ENABLE_DEBUG_FALSE='#'
 
11010
else
 
11011
  ENABLE_DEBUG_TRUE='#'
 
11012
  ENABLE_DEBUG_FALSE=
 
11013
fi
 
11014
 
 
11015
if test "$enable_debug" = "yes"; then
 
11016
 
 
11017
$as_echo "#define DEBUG 1" >>confdefs.h
 
11018
 
 
11019
fi
 
11020
if test "$enable_debug" = "no"; then
 
11021
 
 
11022
$as_echo "#define NDEBUG 1" >>confdefs.h
 
11023
 
 
11024
fi
 
11025
 
 
11026
 
 
11027
 
 
11028
ac_config_files="$ac_config_files Makefile libee.pc src/Makefile include/Makefile include/libee/Makefile tests/Makefile"
 
11029
 
 
11030
cat >confcache <<\_ACEOF
 
11031
# This file is a shell script that caches the results of configure
 
11032
# tests run on this system so they can be shared between configure
 
11033
# scripts and configure runs, see configure's option --config-cache.
 
11034
# It is not useful on other systems.  If it contains results you don't
 
11035
# want to keep, you may remove or edit it.
 
11036
#
 
11037
# config.status only pays attention to the cache file if you give it
 
11038
# the --recheck option to rerun configure.
 
11039
#
 
11040
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
11041
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
11042
# following values.
 
11043
 
 
11044
_ACEOF
 
11045
 
 
11046
# The following way of writing the cache mishandles newlines in values,
 
11047
# but we know of no workaround that is simple, portable, and efficient.
 
11048
# So, we kill variables containing newlines.
 
11049
# Ultrix sh set writes to stderr and can't be redirected directly,
 
11050
# and sets the high bit in the cache file unless we assign to the vars.
 
11051
(
 
11052
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
11053
    eval ac_val=\$$ac_var
 
11054
    case $ac_val in #(
 
11055
    *${as_nl}*)
 
11056
      case $ac_var in #(
 
11057
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
11058
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
11059
      esac
 
11060
      case $ac_var in #(
 
11061
      _ | IFS | as_nl) ;; #(
 
11062
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
11063
      *) { eval $ac_var=; unset $ac_var;} ;;
 
11064
      esac ;;
 
11065
    esac
 
11066
  done
 
11067
 
 
11068
  (set) 2>&1 |
 
11069
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
11070
    *${as_nl}ac_space=\ *)
 
11071
      # `set' does not quote correctly, so add quotes: double-quote
 
11072
      # substitution turns \\\\ into \\, and sed turns \\ into \.
 
11073
      sed -n \
 
11074
        "s/'/'\\\\''/g;
 
11075
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
11076
      ;; #(
 
11077
    *)
 
11078
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
11079
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
11080
      ;;
 
11081
    esac |
 
11082
    sort
 
11083
) |
 
11084
  sed '
 
11085
     /^ac_cv_env_/b end
 
11086
     t clear
 
11087
     :clear
 
11088
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
11089
     t end
 
11090
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
11091
     :end' >>confcache
 
11092
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
11093
  if test -w "$cache_file"; then
 
11094
    test "x$cache_file" != "x/dev/null" &&
 
11095
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
11096
$as_echo "$as_me: updating cache $cache_file" >&6;}
 
11097
    cat confcache >$cache_file
 
11098
  else
 
11099
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
11100
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
11101
  fi
 
11102
fi
 
11103
rm -f confcache
 
11104
 
 
11105
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
11106
# Let make expand exec_prefix.
 
11107
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
11108
 
 
11109
DEFS=-DHAVE_CONFIG_H
 
11110
 
 
11111
ac_libobjs=
 
11112
ac_ltlibobjs=
 
11113
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
11114
  # 1. Remove the extension, and $U if already installed.
 
11115
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
11116
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
11117
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
11118
  #    will be set to the directory where LIBOBJS objects are built.
 
11119
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
11120
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 
11121
done
 
11122
LIBOBJS=$ac_libobjs
 
11123
 
 
11124
LTLIBOBJS=$ac_ltlibobjs
 
11125
 
 
11126
 
 
11127
 if test -n "$EXEEXT"; then
 
11128
  am__EXEEXT_TRUE=
 
11129
  am__EXEEXT_FALSE='#'
 
11130
else
 
11131
  am__EXEEXT_TRUE='#'
 
11132
  am__EXEEXT_FALSE=
 
11133
fi
 
11134
 
 
11135
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
11136
  as_fn_error "conditional \"AMDEP\" was never defined.
 
11137
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
11138
fi
 
11139
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
11140
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
11141
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
11142
fi
 
11143
if test -z "${ENABLE_TESTBENCH_TRUE}" && test -z "${ENABLE_TESTBENCH_FALSE}"; then
 
11144
  as_fn_error "conditional \"ENABLE_TESTBENCH\" was never defined.
 
11145
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
11146
fi
 
11147
if test -z "${ENABLE_DEBUG_TRUE}" && test -z "${ENABLE_DEBUG_FALSE}"; then
 
11148
  as_fn_error "conditional \"ENABLE_DEBUG\" was never defined.
 
11149
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
11150
fi
 
11151
 
 
11152
: ${CONFIG_STATUS=./config.status}
 
11153
ac_write_fail=0
 
11154
ac_clean_files_save=$ac_clean_files
 
11155
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
11156
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
11157
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
11158
as_write_fail=0
 
11159
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 
11160
#! $SHELL
 
11161
# Generated by $as_me.
 
11162
# Run this file to recreate the current configuration.
 
11163
# Compiler output produced by configure, useful for debugging
 
11164
# configure, is in config.log if it exists.
 
11165
 
 
11166
debug=false
 
11167
ac_cs_recheck=false
 
11168
ac_cs_silent=false
 
11169
 
 
11170
SHELL=\${CONFIG_SHELL-$SHELL}
 
11171
export SHELL
 
11172
_ASEOF
 
11173
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
11174
## -------------------- ##
 
11175
## M4sh Initialization. ##
 
11176
## -------------------- ##
 
11177
 
 
11178
# Be more Bourne compatible
 
11179
DUALCASE=1; export DUALCASE # for MKS sh
 
11180
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
11181
  emulate sh
 
11182
  NULLCMD=:
 
11183
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
11184
  # is contrary to our usage.  Disable this feature.
 
11185
  alias -g '${1+"$@"}'='"$@"'
 
11186
  setopt NO_GLOB_SUBST
 
11187
else
 
11188
  case `(set -o) 2>/dev/null` in #(
 
11189
  *posix*) :
 
11190
    set -o posix ;; #(
 
11191
  *) :
 
11192
     ;;
 
11193
esac
 
11194
fi
 
11195
 
 
11196
 
 
11197
as_nl='
 
11198
'
 
11199
export as_nl
 
11200
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
11201
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
11202
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
11203
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
11204
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
11205
# but without wasting forks for bash or zsh.
 
11206
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
11207
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
11208
  as_echo='print -r --'
 
11209
  as_echo_n='print -rn --'
 
11210
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
11211
  as_echo='printf %s\n'
 
11212
  as_echo_n='printf %s'
 
11213
else
 
11214
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
11215
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
11216
    as_echo_n='/usr/ucb/echo -n'
 
11217
  else
 
11218
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
11219
    as_echo_n_body='eval
 
11220
      arg=$1;
 
11221
      case $arg in #(
 
11222
      *"$as_nl"*)
 
11223
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
11224
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
11225
      esac;
 
11226
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
11227
    '
 
11228
    export as_echo_n_body
 
11229
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
11230
  fi
 
11231
  export as_echo_body
 
11232
  as_echo='sh -c $as_echo_body as_echo'
 
11233
fi
 
11234
 
 
11235
# The user is always right.
 
11236
if test "${PATH_SEPARATOR+set}" != set; then
 
11237
  PATH_SEPARATOR=:
 
11238
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
11239
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
11240
      PATH_SEPARATOR=';'
 
11241
  }
 
11242
fi
 
11243
 
 
11244
 
 
11245
# IFS
 
11246
# We need space, tab and new line, in precisely that order.  Quoting is
 
11247
# there to prevent editors from complaining about space-tab.
 
11248
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
11249
# splitting by setting IFS to empty value.)
 
11250
IFS=" ""        $as_nl"
 
11251
 
 
11252
# Find who we are.  Look in the path if we contain no directory separator.
 
11253
case $0 in #((
 
11254
  *[\\/]* ) as_myself=$0 ;;
 
11255
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11256
for as_dir in $PATH
 
11257
do
 
11258
  IFS=$as_save_IFS
 
11259
  test -z "$as_dir" && as_dir=.
 
11260
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
11261
  done
 
11262
IFS=$as_save_IFS
 
11263
 
 
11264
     ;;
 
11265
esac
 
11266
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
11267
# in which case we are not to be found in the path.
 
11268
if test "x$as_myself" = x; then
 
11269
  as_myself=$0
 
11270
fi
 
11271
if test ! -f "$as_myself"; then
 
11272
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
11273
  exit 1
 
11274
fi
 
11275
 
 
11276
# Unset variables that we do not need and which cause bugs (e.g. in
 
11277
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
11278
# suppresses any "Segmentation fault" message there.  '((' could
 
11279
# trigger a bug in pdksh 5.2.14.
 
11280
for as_var in BASH_ENV ENV MAIL MAILPATH
 
11281
do eval test x\${$as_var+set} = xset \
 
11282
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
11283
done
 
11284
PS1='$ '
 
11285
PS2='> '
 
11286
PS4='+ '
 
11287
 
 
11288
# NLS nuisances.
 
11289
LC_ALL=C
 
11290
export LC_ALL
 
11291
LANGUAGE=C
 
11292
export LANGUAGE
 
11293
 
 
11294
# CDPATH.
 
11295
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
11296
 
 
11297
 
 
11298
# as_fn_error ERROR [LINENO LOG_FD]
 
11299
# ---------------------------------
 
11300
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
11301
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
11302
# script with status $?, using 1 if that was 0.
 
11303
as_fn_error ()
 
11304
{
 
11305
  as_status=$?; test $as_status -eq 0 && as_status=1
 
11306
  if test "$3"; then
 
11307
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
11308
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
11309
  fi
 
11310
  $as_echo "$as_me: error: $1" >&2
 
11311
  as_fn_exit $as_status
 
11312
} # as_fn_error
 
11313
 
 
11314
 
 
11315
# as_fn_set_status STATUS
 
11316
# -----------------------
 
11317
# Set $? to STATUS, without forking.
 
11318
as_fn_set_status ()
 
11319
{
 
11320
  return $1
 
11321
} # as_fn_set_status
 
11322
 
 
11323
# as_fn_exit STATUS
 
11324
# -----------------
 
11325
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
11326
as_fn_exit ()
 
11327
{
 
11328
  set +e
 
11329
  as_fn_set_status $1
 
11330
  exit $1
 
11331
} # as_fn_exit
 
11332
 
 
11333
# as_fn_unset VAR
 
11334
# ---------------
 
11335
# Portably unset VAR.
 
11336
as_fn_unset ()
 
11337
{
 
11338
  { eval $1=; unset $1;}
 
11339
}
 
11340
as_unset=as_fn_unset
 
11341
# as_fn_append VAR VALUE
 
11342
# ----------------------
 
11343
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
11344
# advantage of any shell optimizations that allow amortized linear growth over
 
11345
# repeated appends, instead of the typical quadratic growth present in naive
 
11346
# implementations.
 
11347
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
11348
  eval 'as_fn_append ()
 
11349
  {
 
11350
    eval $1+=\$2
 
11351
  }'
 
11352
else
 
11353
  as_fn_append ()
 
11354
  {
 
11355
    eval $1=\$$1\$2
 
11356
  }
 
11357
fi # as_fn_append
 
11358
 
 
11359
# as_fn_arith ARG...
 
11360
# ------------------
 
11361
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
11362
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
11363
# must be portable across $(()) and expr.
 
11364
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
11365
  eval 'as_fn_arith ()
 
11366
  {
 
11367
    as_val=$(( $* ))
 
11368
  }'
 
11369
else
 
11370
  as_fn_arith ()
 
11371
  {
 
11372
    as_val=`expr "$@" || test $? -eq 1`
 
11373
  }
 
11374
fi # as_fn_arith
 
11375
 
 
11376
 
 
11377
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
11378
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
11379
  as_expr=expr
 
11380
else
 
11381
  as_expr=false
 
11382
fi
 
11383
 
 
11384
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
11385
  as_basename=basename
 
11386
else
 
11387
  as_basename=false
 
11388
fi
 
11389
 
 
11390
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
11391
  as_dirname=dirname
 
11392
else
 
11393
  as_dirname=false
 
11394
fi
 
11395
 
 
11396
as_me=`$as_basename -- "$0" ||
 
11397
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
11398
         X"$0" : 'X\(//\)$' \| \
 
11399
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
11400
$as_echo X/"$0" |
 
11401
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
11402
            s//\1/
 
11403
            q
 
11404
          }
 
11405
          /^X\/\(\/\/\)$/{
 
11406
            s//\1/
 
11407
            q
 
11408
          }
 
11409
          /^X\/\(\/\).*/{
 
11410
            s//\1/
 
11411
            q
 
11412
          }
 
11413
          s/.*/./; q'`
 
11414
 
 
11415
# Avoid depending upon Character Ranges.
 
11416
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
11417
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
11418
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
11419
as_cr_digits='0123456789'
 
11420
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
11421
 
 
11422
ECHO_C= ECHO_N= ECHO_T=
 
11423
case `echo -n x` in #(((((
 
11424
-n*)
 
11425
  case `echo 'xy\c'` in
 
11426
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
11427
  xy)  ECHO_C='\c';;
 
11428
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
11429
       ECHO_T=' ';;
 
11430
  esac;;
 
11431
*)
 
11432
  ECHO_N='-n';;
 
11433
esac
 
11434
 
 
11435
rm -f conf$$ conf$$.exe conf$$.file
 
11436
if test -d conf$$.dir; then
 
11437
  rm -f conf$$.dir/conf$$.file
 
11438
else
 
11439
  rm -f conf$$.dir
 
11440
  mkdir conf$$.dir 2>/dev/null
 
11441
fi
 
11442
if (echo >conf$$.file) 2>/dev/null; then
 
11443
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
11444
    as_ln_s='ln -s'
 
11445
    # ... but there are two gotchas:
 
11446
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
11447
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
11448
    # In both cases, we have to default to `cp -p'.
 
11449
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
11450
      as_ln_s='cp -p'
 
11451
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
11452
    as_ln_s=ln
 
11453
  else
 
11454
    as_ln_s='cp -p'
 
11455
  fi
 
11456
else
 
11457
  as_ln_s='cp -p'
 
11458
fi
 
11459
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
11460
rmdir conf$$.dir 2>/dev/null
 
11461
 
 
11462
 
 
11463
# as_fn_mkdir_p
 
11464
# -------------
 
11465
# Create "$as_dir" as a directory, including parents if necessary.
 
11466
as_fn_mkdir_p ()
 
11467
{
 
11468
 
 
11469
  case $as_dir in #(
 
11470
  -*) as_dir=./$as_dir;;
 
11471
  esac
 
11472
  test -d "$as_dir" || eval $as_mkdir_p || {
 
11473
    as_dirs=
 
11474
    while :; do
 
11475
      case $as_dir in #(
 
11476
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
11477
      *) as_qdir=$as_dir;;
 
11478
      esac
 
11479
      as_dirs="'$as_qdir' $as_dirs"
 
11480
      as_dir=`$as_dirname -- "$as_dir" ||
 
11481
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
11482
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
11483
         X"$as_dir" : 'X\(//\)$' \| \
 
11484
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
11485
$as_echo X"$as_dir" |
 
11486
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
11487
            s//\1/
 
11488
            q
 
11489
          }
 
11490
          /^X\(\/\/\)[^/].*/{
 
11491
            s//\1/
 
11492
            q
 
11493
          }
 
11494
          /^X\(\/\/\)$/{
 
11495
            s//\1/
 
11496
            q
 
11497
          }
 
11498
          /^X\(\/\).*/{
 
11499
            s//\1/
 
11500
            q
 
11501
          }
 
11502
          s/.*/./; q'`
 
11503
      test -d "$as_dir" && break
 
11504
    done
 
11505
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
11506
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
11507
 
 
11508
 
 
11509
} # as_fn_mkdir_p
 
11510
if mkdir -p . 2>/dev/null; then
 
11511
  as_mkdir_p='mkdir -p "$as_dir"'
 
11512
else
 
11513
  test -d ./-p && rmdir ./-p
 
11514
  as_mkdir_p=false
 
11515
fi
 
11516
 
 
11517
if test -x / >/dev/null 2>&1; then
 
11518
  as_test_x='test -x'
 
11519
else
 
11520
  if ls -dL / >/dev/null 2>&1; then
 
11521
    as_ls_L_option=L
 
11522
  else
 
11523
    as_ls_L_option=
 
11524
  fi
 
11525
  as_test_x='
 
11526
    eval sh -c '\''
 
11527
      if test -d "$1"; then
 
11528
        test -d "$1/.";
 
11529
      else
 
11530
        case $1 in #(
 
11531
        -*)set "./$1";;
 
11532
        esac;
 
11533
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
11534
        ???[sx]*):;;*)false;;esac;fi
 
11535
    '\'' sh
 
11536
  '
 
11537
fi
 
11538
as_executable_p=$as_test_x
 
11539
 
 
11540
# Sed expression to map a string onto a valid CPP name.
 
11541
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
11542
 
 
11543
# Sed expression to map a string onto a valid variable name.
 
11544
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
11545
 
 
11546
 
 
11547
exec 6>&1
 
11548
## ----------------------------------- ##
 
11549
## Main body of $CONFIG_STATUS script. ##
 
11550
## ----------------------------------- ##
 
11551
_ASEOF
 
11552
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 
11553
 
 
11554
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
11555
# Save the log message, to keep $0 and so on meaningful, and to
 
11556
# report actual input values of CONFIG_FILES etc. instead of their
 
11557
# values after options handling.
 
11558
ac_log="
 
11559
This file was extended by libee $as_me 0.1.0, which was
 
11560
generated by GNU Autoconf 2.65.  Invocation command line was
 
11561
 
 
11562
  CONFIG_FILES    = $CONFIG_FILES
 
11563
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
11564
  CONFIG_LINKS    = $CONFIG_LINKS
 
11565
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
11566
  $ $0 $@
 
11567
 
 
11568
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
11569
"
 
11570
 
 
11571
_ACEOF
 
11572
 
 
11573
case $ac_config_files in *"
 
11574
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
11575
esac
 
11576
 
 
11577
case $ac_config_headers in *"
 
11578
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
11579
esac
 
11580
 
 
11581
 
 
11582
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
11583
# Files that config.status was made for.
 
11584
config_files="$ac_config_files"
 
11585
config_headers="$ac_config_headers"
 
11586
config_commands="$ac_config_commands"
 
11587
 
 
11588
_ACEOF
 
11589
 
 
11590
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
11591
ac_cs_usage="\
 
11592
\`$as_me' instantiates files and other configuration actions
 
11593
from templates according to the current configuration.  Unless the files
 
11594
and actions are specified as TAGs, all are instantiated by default.
 
11595
 
 
11596
Usage: $0 [OPTION]... [TAG]...
 
11597
 
 
11598
  -h, --help       print this help, then exit
 
11599
  -V, --version    print version number and configuration settings, then exit
 
11600
      --config     print configuration, then exit
 
11601
  -q, --quiet, --silent
 
11602
                   do not print progress messages
 
11603
  -d, --debug      don't remove temporary files
 
11604
      --recheck    update $as_me by reconfiguring in the same conditions
 
11605
      --file=FILE[:TEMPLATE]
 
11606
                   instantiate the configuration file FILE
 
11607
      --header=FILE[:TEMPLATE]
 
11608
                   instantiate the configuration header FILE
 
11609
 
 
11610
Configuration files:
 
11611
$config_files
 
11612
 
 
11613
Configuration headers:
 
11614
$config_headers
 
11615
 
 
11616
Configuration commands:
 
11617
$config_commands
 
11618
 
 
11619
Report bugs to <rgerhards@adiscon.com>."
 
11620
 
 
11621
_ACEOF
 
11622
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
11623
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 
11624
ac_cs_version="\\
 
11625
libee config.status 0.1.0
 
11626
configured by $0, generated by GNU Autoconf 2.65,
 
11627
  with options \\"\$ac_cs_config\\"
 
11628
 
 
11629
Copyright (C) 2009 Free Software Foundation, Inc.
 
11630
This config.status script is free software; the Free Software Foundation
 
11631
gives unlimited permission to copy, distribute and modify it."
 
11632
 
 
11633
ac_pwd='$ac_pwd'
 
11634
srcdir='$srcdir'
 
11635
INSTALL='$INSTALL'
 
11636
MKDIR_P='$MKDIR_P'
 
11637
AWK='$AWK'
 
11638
test -n "\$AWK" || AWK=awk
 
11639
_ACEOF
 
11640
 
 
11641
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
11642
# The default lists apply if the user does not specify any file.
 
11643
ac_need_defaults=:
 
11644
while test $# != 0
 
11645
do
 
11646
  case $1 in
 
11647
  --*=*)
 
11648
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
11649
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
11650
    ac_shift=:
 
11651
    ;;
 
11652
  *)
 
11653
    ac_option=$1
 
11654
    ac_optarg=$2
 
11655
    ac_shift=shift
 
11656
    ;;
 
11657
  esac
 
11658
 
 
11659
  case $ac_option in
 
11660
  # Handling of the options.
 
11661
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
11662
    ac_cs_recheck=: ;;
 
11663
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
11664
    $as_echo "$ac_cs_version"; exit ;;
 
11665
  --config | --confi | --conf | --con | --co | --c )
 
11666
    $as_echo "$ac_cs_config"; exit ;;
 
11667
  --debug | --debu | --deb | --de | --d | -d )
 
11668
    debug=: ;;
 
11669
  --file | --fil | --fi | --f )
 
11670
    $ac_shift
 
11671
    case $ac_optarg in
 
11672
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
11673
    esac
 
11674
    as_fn_append CONFIG_FILES " '$ac_optarg'"
 
11675
    ac_need_defaults=false;;
 
11676
  --header | --heade | --head | --hea )
 
11677
    $ac_shift
 
11678
    case $ac_optarg in
 
11679
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
11680
    esac
 
11681
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 
11682
    ac_need_defaults=false;;
 
11683
  --he | --h)
 
11684
    # Conflict between --help and --header
 
11685
    as_fn_error "ambiguous option: \`$1'
 
11686
Try \`$0 --help' for more information.";;
 
11687
  --help | --hel | -h )
 
11688
    $as_echo "$ac_cs_usage"; exit ;;
 
11689
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
11690
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
11691
    ac_cs_silent=: ;;
 
11692
 
 
11693
  # This is an error.
 
11694
  -*) as_fn_error "unrecognized option: \`$1'
 
11695
Try \`$0 --help' for more information." ;;
 
11696
 
 
11697
  *) as_fn_append ac_config_targets " $1"
 
11698
     ac_need_defaults=false ;;
 
11699
 
 
11700
  esac
 
11701
  shift
 
11702
done
 
11703
 
 
11704
ac_configure_extra_args=
 
11705
 
 
11706
if $ac_cs_silent; then
 
11707
  exec 6>/dev/null
 
11708
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
11709
fi
 
11710
 
 
11711
_ACEOF
 
11712
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
11713
if \$ac_cs_recheck; then
 
11714
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
11715
  shift
 
11716
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
11717
  CONFIG_SHELL='$SHELL'
 
11718
  export CONFIG_SHELL
 
11719
  exec "\$@"
 
11720
fi
 
11721
 
 
11722
_ACEOF
 
11723
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
11724
exec 5>>config.log
 
11725
{
 
11726
  echo
 
11727
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
11728
## Running $as_me. ##
 
11729
_ASBOX
 
11730
  $as_echo "$ac_log"
 
11731
} >&5
 
11732
 
 
11733
_ACEOF
 
11734
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
11735
#
 
11736
# INIT-COMMANDS
 
11737
#
 
11738
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
11739
 
 
11740
 
 
11741
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
11742
# if CDPATH is set.
 
11743
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
11744
 
 
11745
sed_quote_subst='$sed_quote_subst'
 
11746
double_quote_subst='$double_quote_subst'
 
11747
delay_variable_subst='$delay_variable_subst'
 
11748
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
11749
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
11750
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
11751
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
11752
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
11753
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
11754
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
11755
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
11756
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
11757
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
11758
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
11759
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
11760
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
11761
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
11762
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
11763
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
11764
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
11765
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
11766
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
11767
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
11768
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
11769
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
11770
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
11771
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
11772
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
11773
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
11774
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
11775
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11776
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
11777
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
11778
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
11779
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
11780
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
11781
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
11782
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
11783
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11784
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11785
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11786
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
11787
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
11788
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
11789
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
11790
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
11791
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
11792
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"`'
 
11793
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"`'
 
11794
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
11795
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
11796
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
11797
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
11798
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
11799
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
11800
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
11801
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
11802
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
11803
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
11804
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
11805
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
11806
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
11807
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
11808
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
11809
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
11810
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11811
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11812
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
11813
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
11814
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
11815
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
11816
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
11817
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11818
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11819
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11820
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11821
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11822
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11823
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
11824
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
11825
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
11826
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
11827
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
11828
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
11829
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
11830
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
11831
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
11832
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
11833
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
11834
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
11835
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
11836
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
11837
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
11838
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11839
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
11840
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
11841
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11842
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
11843
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
11844
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
11845
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
11846
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
11847
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
11848
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
11849
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
11850
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
11851
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
11852
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
11853
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11854
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11855
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11856
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
11857
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
11858
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
11859
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
11860
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
11861
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
11862
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
11863
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
11864
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
11865
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
11866
 
 
11867
LTCC='$LTCC'
 
11868
LTCFLAGS='$LTCFLAGS'
 
11869
compiler='$compiler_DEFAULT'
 
11870
 
 
11871
# Quote evaled strings.
 
11872
for var in SED \
 
11873
GREP \
 
11874
EGREP \
 
11875
FGREP \
 
11876
LD \
 
11877
NM \
 
11878
LN_S \
 
11879
lt_SP2NL \
 
11880
lt_NL2SP \
 
11881
reload_flag \
 
11882
OBJDUMP \
 
11883
deplibs_check_method \
 
11884
file_magic_cmd \
 
11885
AR \
 
11886
AR_FLAGS \
 
11887
STRIP \
 
11888
RANLIB \
 
11889
CC \
 
11890
CFLAGS \
 
11891
compiler \
 
11892
lt_cv_sys_global_symbol_pipe \
 
11893
lt_cv_sys_global_symbol_to_cdecl \
 
11894
lt_cv_sys_global_symbol_to_c_name_address \
 
11895
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
11896
SHELL \
 
11897
ECHO \
 
11898
lt_prog_compiler_no_builtin_flag \
 
11899
lt_prog_compiler_wl \
 
11900
lt_prog_compiler_pic \
 
11901
lt_prog_compiler_static \
 
11902
lt_cv_prog_compiler_c_o \
 
11903
need_locks \
 
11904
DSYMUTIL \
 
11905
NMEDIT \
 
11906
LIPO \
 
11907
OTOOL \
 
11908
OTOOL64 \
 
11909
shrext_cmds \
 
11910
export_dynamic_flag_spec \
 
11911
whole_archive_flag_spec \
 
11912
compiler_needs_object \
 
11913
with_gnu_ld \
 
11914
allow_undefined_flag \
 
11915
no_undefined_flag \
 
11916
hardcode_libdir_flag_spec \
 
11917
hardcode_libdir_flag_spec_ld \
 
11918
hardcode_libdir_separator \
 
11919
fix_srcfile_path \
 
11920
exclude_expsyms \
 
11921
include_expsyms \
 
11922
file_list_spec \
 
11923
variables_saved_for_relink \
 
11924
libname_spec \
 
11925
library_names_spec \
 
11926
soname_spec \
 
11927
finish_eval \
 
11928
old_striplib \
 
11929
striplib; do
 
11930
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
11931
    *[\\\\\\\`\\"\\\$]*)
 
11932
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
11933
      ;;
 
11934
    *)
 
11935
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
11936
      ;;
 
11937
    esac
 
11938
done
 
11939
 
 
11940
# Double-quote double-evaled strings.
 
11941
for var in reload_cmds \
 
11942
old_postinstall_cmds \
 
11943
old_postuninstall_cmds \
 
11944
old_archive_cmds \
 
11945
extract_expsyms_cmds \
 
11946
old_archive_from_new_cmds \
 
11947
old_archive_from_expsyms_cmds \
 
11948
archive_cmds \
 
11949
archive_expsym_cmds \
 
11950
module_cmds \
 
11951
module_expsym_cmds \
 
11952
export_symbols_cmds \
 
11953
prelink_cmds \
 
11954
postinstall_cmds \
 
11955
postuninstall_cmds \
 
11956
finish_cmds \
 
11957
sys_lib_search_path_spec \
 
11958
sys_lib_dlsearch_path_spec; do
 
11959
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
11960
    *[\\\\\\\`\\"\\\$]*)
 
11961
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
11962
      ;;
 
11963
    *)
 
11964
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
11965
      ;;
 
11966
    esac
 
11967
done
 
11968
 
 
11969
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
11970
case \$lt_ECHO in
 
11971
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
11972
  ;;
 
11973
esac
 
11974
 
 
11975
ac_aux_dir='$ac_aux_dir'
 
11976
xsi_shell='$xsi_shell'
 
11977
lt_shell_append='$lt_shell_append'
 
11978
 
 
11979
# See if we are running on zsh, and set the options which allow our
 
11980
# commands through without removal of \ escapes INIT.
 
11981
if test -n "\${ZSH_VERSION+set}" ; then
 
11982
   setopt NO_GLOB_SUBST
 
11983
fi
 
11984
 
 
11985
 
 
11986
    PACKAGE='$PACKAGE'
 
11987
    VERSION='$VERSION'
 
11988
    TIMESTAMP='$TIMESTAMP'
 
11989
    RM='$RM'
 
11990
    ofile='$ofile'
 
11991
 
 
11992
 
 
11993
 
 
11994
 
 
11995
_ACEOF
 
11996
 
 
11997
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
11998
 
 
11999
# Handling of arguments.
 
12000
for ac_config_target in $ac_config_targets
 
12001
do
 
12002
  case $ac_config_target in
 
12003
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
12004
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
12005
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
 
12006
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
12007
    "libee.pc") CONFIG_FILES="$CONFIG_FILES libee.pc" ;;
 
12008
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
12009
    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
 
12010
    "include/libee/Makefile") CONFIG_FILES="$CONFIG_FILES include/libee/Makefile" ;;
 
12011
    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
 
12012
 
 
12013
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
12014
  esac
 
12015
done
 
12016
 
 
12017
 
 
12018
# If the user did not use the arguments to specify the items to instantiate,
 
12019
# then the envvar interface is used.  Set only those that are not.
 
12020
# We use the long form for the default assignment because of an extremely
 
12021
# bizarre bug on SunOS 4.1.3.
 
12022
if $ac_need_defaults; then
 
12023
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
12024
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 
12025
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 
12026
fi
 
12027
 
 
12028
# Have a temporary directory for convenience.  Make it in the build tree
 
12029
# simply because there is no reason against having it here, and in addition,
 
12030
# creating and moving files from /tmp can sometimes cause problems.
 
12031
# Hook for its removal unless debugging.
 
12032
# Note that there is a small window in which the directory will not be cleaned:
 
12033
# after its creation but before its name has been assigned to `$tmp'.
 
12034
$debug ||
 
12035
{
 
12036
  tmp=
 
12037
  trap 'exit_status=$?
 
12038
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
12039
' 0
 
12040
  trap 'as_fn_exit 1' 1 2 13 15
 
12041
}
 
12042
# Create a (secure) tmp directory for tmp files.
 
12043
 
 
12044
{
 
12045
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
12046
  test -n "$tmp" && test -d "$tmp"
 
12047
}  ||
 
12048
{
 
12049
  tmp=./conf$$-$RANDOM
 
12050
  (umask 077 && mkdir "$tmp")
 
12051
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
12052
 
 
12053
# Set up the scripts for CONFIG_FILES section.
 
12054
# No need to generate them if there are no CONFIG_FILES.
 
12055
# This happens for instance with `./config.status config.h'.
 
12056
if test -n "$CONFIG_FILES"; then
 
12057
 
 
12058
 
 
12059
ac_cr=`echo X | tr X '\015'`
 
12060
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
12061
# But we know of no other shell where ac_cr would be empty at this
 
12062
# point, so we can use a bashism as a fallback.
 
12063
if test "x$ac_cr" = x; then
 
12064
  eval ac_cr=\$\'\\r\'
 
12065
fi
 
12066
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
12067
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
12068
  ac_cs_awk_cr='\r'
 
12069
else
 
12070
  ac_cs_awk_cr=$ac_cr
 
12071
fi
 
12072
 
 
12073
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
12074
_ACEOF
 
12075
 
 
12076
 
 
12077
{
 
12078
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
12079
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
12080
  echo "_ACEOF"
 
12081
} >conf$$subs.sh ||
 
12082
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
12083
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
12084
ac_delim='%!_!# '
 
12085
for ac_last_try in false false false false false :; do
 
12086
  . ./conf$$subs.sh ||
 
12087
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
12088
 
 
12089
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
12090
  if test $ac_delim_n = $ac_delim_num; then
 
12091
    break
 
12092
  elif $ac_last_try; then
 
12093
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
12094
  else
 
12095
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
12096
  fi
 
12097
done
 
12098
rm -f conf$$subs.sh
 
12099
 
 
12100
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
12101
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
12102
_ACEOF
 
12103
sed -n '
 
12104
h
 
12105
s/^/S["/; s/!.*/"]=/
 
12106
p
 
12107
g
 
12108
s/^[^!]*!//
 
12109
:repl
 
12110
t repl
 
12111
s/'"$ac_delim"'$//
 
12112
t delim
 
12113
:nl
 
12114
h
 
12115
s/\(.\{148\}\)..*/\1/
 
12116
t more1
 
12117
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
12118
p
 
12119
n
 
12120
b repl
 
12121
:more1
 
12122
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
12123
p
 
12124
g
 
12125
s/.\{148\}//
 
12126
t nl
 
12127
:delim
 
12128
h
 
12129
s/\(.\{148\}\)..*/\1/
 
12130
t more2
 
12131
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
12132
p
 
12133
b
 
12134
:more2
 
12135
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
12136
p
 
12137
g
 
12138
s/.\{148\}//
 
12139
t delim
 
12140
' <conf$$subs.awk | sed '
 
12141
/^[^""]/{
 
12142
  N
 
12143
  s/\n//
 
12144
}
 
12145
' >>$CONFIG_STATUS || ac_write_fail=1
 
12146
rm -f conf$$subs.awk
 
12147
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
12148
_ACAWK
 
12149
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
12150
  for (key in S) S_is_set[key] = 1
 
12151
  FS = ""
 
12152
 
 
12153
}
 
12154
{
 
12155
  line = $ 0
 
12156
  nfields = split(line, field, "@")
 
12157
  substed = 0
 
12158
  len = length(field[1])
 
12159
  for (i = 2; i < nfields; i++) {
 
12160
    key = field[i]
 
12161
    keylen = length(key)
 
12162
    if (S_is_set[key]) {
 
12163
      value = S[key]
 
12164
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
12165
      len += length(value) + length(field[++i])
 
12166
      substed = 1
 
12167
    } else
 
12168
      len += 1 + keylen
 
12169
  }
 
12170
 
 
12171
  print line
 
12172
}
 
12173
 
 
12174
_ACAWK
 
12175
_ACEOF
 
12176
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
12177
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
12178
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
12179
else
 
12180
  cat
 
12181
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
12182
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
12183
_ACEOF
 
12184
 
 
12185
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
12186
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
12187
# trailing colons and then remove the whole line if VPATH becomes empty
 
12188
# (actually we leave an empty line to preserve line numbers).
 
12189
if test "x$srcdir" = x.; then
 
12190
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
12191
s/:*\$(srcdir):*/:/
 
12192
s/:*\${srcdir}:*/:/
 
12193
s/:*@srcdir@:*/:/
 
12194
s/^\([^=]*=[     ]*\):*/\1/
 
12195
s/:*$//
 
12196
s/^[^=]*=[       ]*$//
 
12197
}'
 
12198
fi
 
12199
 
 
12200
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
12201
fi # test -n "$CONFIG_FILES"
 
12202
 
 
12203
# Set up the scripts for CONFIG_HEADERS section.
 
12204
# No need to generate them if there are no CONFIG_HEADERS.
 
12205
# This happens for instance with `./config.status Makefile'.
 
12206
if test -n "$CONFIG_HEADERS"; then
 
12207
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
12208
BEGIN {
 
12209
_ACEOF
 
12210
 
 
12211
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
12212
# here-document in config.status, that substitutes the proper values into
 
12213
# config.h.in to produce config.h.
 
12214
 
 
12215
# Create a delimiter string that does not exist in confdefs.h, to ease
 
12216
# handling of long lines.
 
12217
ac_delim='%!_!# '
 
12218
for ac_last_try in false false :; do
 
12219
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
12220
  if test -z "$ac_t"; then
 
12221
    break
 
12222
  elif $ac_last_try; then
 
12223
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
12224
  else
 
12225
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
12226
  fi
 
12227
done
 
12228
 
 
12229
# For the awk script, D is an array of macro values keyed by name,
 
12230
# likewise P contains macro parameters if any.  Preserve backslash
 
12231
# newline sequences.
 
12232
 
 
12233
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
12234
sed -n '
 
12235
s/.\{148\}/&'"$ac_delim"'/g
 
12236
t rset
 
12237
:rset
 
12238
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
12239
t def
 
12240
d
 
12241
:def
 
12242
s/\\$//
 
12243
t bsnl
 
12244
s/["\\]/\\&/g
 
12245
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
12246
D["\1"]=" \3"/p
 
12247
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
12248
d
 
12249
:bsnl
 
12250
s/["\\]/\\&/g
 
12251
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
12252
D["\1"]=" \3\\\\\\n"\\/p
 
12253
t cont
 
12254
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
12255
t cont
 
12256
d
 
12257
:cont
 
12258
n
 
12259
s/.\{148\}/&'"$ac_delim"'/g
 
12260
t clear
 
12261
:clear
 
12262
s/\\$//
 
12263
t bsnlc
 
12264
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
12265
d
 
12266
:bsnlc
 
12267
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
12268
b cont
 
12269
' <confdefs.h | sed '
 
12270
s/'"$ac_delim"'/"\\\
 
12271
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
12272
 
 
12273
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
12274
  for (key in D) D_is_set[key] = 1
 
12275
  FS = ""
 
12276
}
 
12277
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
12278
  line = \$ 0
 
12279
  split(line, arg, " ")
 
12280
  if (arg[1] == "#") {
 
12281
    defundef = arg[2]
 
12282
    mac1 = arg[3]
 
12283
  } else {
 
12284
    defundef = substr(arg[1], 2)
 
12285
    mac1 = arg[2]
 
12286
  }
 
12287
  split(mac1, mac2, "(") #)
 
12288
  macro = mac2[1]
 
12289
  prefix = substr(line, 1, index(line, defundef) - 1)
 
12290
  if (D_is_set[macro]) {
 
12291
    # Preserve the white space surrounding the "#".
 
12292
    print prefix "define", macro P[macro] D[macro]
 
12293
    next
 
12294
  } else {
 
12295
    # Replace #undef with comments.  This is necessary, for example,
 
12296
    # in the case of _POSIX_SOURCE, which is predefined and required
 
12297
    # on some systems where configure will not decide to define it.
 
12298
    if (defundef == "undef") {
 
12299
      print "/*", prefix defundef, macro, "*/"
 
12300
      next
 
12301
    }
 
12302
  }
 
12303
}
 
12304
{ print }
 
12305
_ACAWK
 
12306
_ACEOF
 
12307
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
12308
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
12309
fi # test -n "$CONFIG_HEADERS"
 
12310
 
 
12311
 
 
12312
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
12313
shift
 
12314
for ac_tag
 
12315
do
 
12316
  case $ac_tag in
 
12317
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
12318
  esac
 
12319
  case $ac_mode$ac_tag in
 
12320
  :[FHL]*:*);;
 
12321
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
12322
  :[FH]-) ac_tag=-:-;;
 
12323
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
12324
  esac
 
12325
  ac_save_IFS=$IFS
 
12326
  IFS=:
 
12327
  set x $ac_tag
 
12328
  IFS=$ac_save_IFS
 
12329
  shift
 
12330
  ac_file=$1
 
12331
  shift
 
12332
 
 
12333
  case $ac_mode in
 
12334
  :L) ac_source=$1;;
 
12335
  :[FH])
 
12336
    ac_file_inputs=
 
12337
    for ac_f
 
12338
    do
 
12339
      case $ac_f in
 
12340
      -) ac_f="$tmp/stdin";;
 
12341
      *) # Look for the file first in the build tree, then in the source tree
 
12342
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
12343
         # because $ac_f cannot contain `:'.
 
12344
         test -f "$ac_f" ||
 
12345
           case $ac_f in
 
12346
           [\\/$]*) false;;
 
12347
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
12348
           esac ||
 
12349
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
12350
      esac
 
12351
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
12352
      as_fn_append ac_file_inputs " '$ac_f'"
 
12353
    done
 
12354
 
 
12355
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
12356
    # use $as_me), people would be surprised to read:
 
12357
    #    /* config.h.  Generated by config.status.  */
 
12358
    configure_input='Generated from '`
 
12359
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
12360
        `' by configure.'
 
12361
    if test x"$ac_file" != x-; then
 
12362
      configure_input="$ac_file.  $configure_input"
 
12363
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
12364
$as_echo "$as_me: creating $ac_file" >&6;}
 
12365
    fi
 
12366
    # Neutralize special characters interpreted by sed in replacement strings.
 
12367
    case $configure_input in #(
 
12368
    *\&* | *\|* | *\\* )
 
12369
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
12370
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
12371
    *) ac_sed_conf_input=$configure_input;;
 
12372
    esac
 
12373
 
 
12374
    case $ac_tag in
 
12375
    *:-:* | *:-) cat >"$tmp/stdin" \
 
12376
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 
12377
    esac
 
12378
    ;;
 
12379
  esac
 
12380
 
 
12381
  ac_dir=`$as_dirname -- "$ac_file" ||
 
12382
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
12383
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
12384
         X"$ac_file" : 'X\(//\)$' \| \
 
12385
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
12386
$as_echo X"$ac_file" |
 
12387
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
12388
            s//\1/
 
12389
            q
 
12390
          }
 
12391
          /^X\(\/\/\)[^/].*/{
 
12392
            s//\1/
 
12393
            q
 
12394
          }
 
12395
          /^X\(\/\/\)$/{
 
12396
            s//\1/
 
12397
            q
 
12398
          }
 
12399
          /^X\(\/\).*/{
 
12400
            s//\1/
 
12401
            q
 
12402
          }
 
12403
          s/.*/./; q'`
 
12404
  as_dir="$ac_dir"; as_fn_mkdir_p
 
12405
  ac_builddir=.
 
12406
 
 
12407
case "$ac_dir" in
 
12408
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
12409
*)
 
12410
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
12411
  # A ".." for each directory in $ac_dir_suffix.
 
12412
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
12413
  case $ac_top_builddir_sub in
 
12414
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
12415
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
12416
  esac ;;
 
12417
esac
 
12418
ac_abs_top_builddir=$ac_pwd
 
12419
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
12420
# for backward compatibility:
 
12421
ac_top_builddir=$ac_top_build_prefix
 
12422
 
 
12423
case $srcdir in
 
12424
  .)  # We are building in place.
 
12425
    ac_srcdir=.
 
12426
    ac_top_srcdir=$ac_top_builddir_sub
 
12427
    ac_abs_top_srcdir=$ac_pwd ;;
 
12428
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
12429
    ac_srcdir=$srcdir$ac_dir_suffix;
 
12430
    ac_top_srcdir=$srcdir
 
12431
    ac_abs_top_srcdir=$srcdir ;;
 
12432
  *) # Relative name.
 
12433
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
12434
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
12435
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
12436
esac
 
12437
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
12438
 
 
12439
 
 
12440
  case $ac_mode in
 
12441
  :F)
 
12442
  #
 
12443
  # CONFIG_FILE
 
12444
  #
 
12445
 
 
12446
  case $INSTALL in
 
12447
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
12448
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
12449
  esac
 
12450
  ac_MKDIR_P=$MKDIR_P
 
12451
  case $MKDIR_P in
 
12452
  [\\/$]* | ?:[\\/]* ) ;;
 
12453
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
12454
  esac
 
12455
_ACEOF
 
12456
 
 
12457
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
12458
# If the template does not know about datarootdir, expand it.
 
12459
# FIXME: This hack should be removed a few years after 2.60.
 
12460
ac_datarootdir_hack=; ac_datarootdir_seen=
 
12461
ac_sed_dataroot='
 
12462
/datarootdir/ {
 
12463
  p
 
12464
  q
 
12465
}
 
12466
/@datadir@/p
 
12467
/@docdir@/p
 
12468
/@infodir@/p
 
12469
/@localedir@/p
 
12470
/@mandir@/p'
 
12471
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
12472
*datarootdir*) ac_datarootdir_seen=yes;;
 
12473
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
12474
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
12475
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
12476
_ACEOF
 
12477
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
12478
  ac_datarootdir_hack='
 
12479
  s&@datadir@&$datadir&g
 
12480
  s&@docdir@&$docdir&g
 
12481
  s&@infodir@&$infodir&g
 
12482
  s&@localedir@&$localedir&g
 
12483
  s&@mandir@&$mandir&g
 
12484
  s&\\\${datarootdir}&$datarootdir&g' ;;
 
12485
esac
 
12486
_ACEOF
 
12487
 
 
12488
# Neutralize VPATH when `$srcdir' = `.'.
 
12489
# Shell code in configure.ac might set extrasub.
 
12490
# FIXME: do we really want to maintain this feature?
 
12491
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
12492
ac_sed_extra="$ac_vpsub
 
12493
$extrasub
 
12494
_ACEOF
 
12495
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
12496
:t
 
12497
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
12498
s|@configure_input@|$ac_sed_conf_input|;t t
 
12499
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
12500
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
12501
s&@srcdir@&$ac_srcdir&;t t
 
12502
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
12503
s&@top_srcdir@&$ac_top_srcdir&;t t
 
12504
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
12505
s&@builddir@&$ac_builddir&;t t
 
12506
s&@abs_builddir@&$ac_abs_builddir&;t t
 
12507
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
12508
s&@INSTALL@&$ac_INSTALL&;t t
 
12509
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
12510
$ac_datarootdir_hack
 
12511
"
 
12512
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
12513
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
12514
 
 
12515
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
12516
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
12517
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
12518
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
12519
which seems to be undefined.  Please make sure it is defined." >&5
 
12520
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
12521
which seems to be undefined.  Please make sure it is defined." >&2;}
 
12522
 
 
12523
  rm -f "$tmp/stdin"
 
12524
  case $ac_file in
 
12525
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
12526
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
12527
  esac \
 
12528
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
12529
 ;;
 
12530
  :H)
 
12531
  #
 
12532
  # CONFIG_HEADER
 
12533
  #
 
12534
  if test x"$ac_file" != x-; then
 
12535
    {
 
12536
      $as_echo "/* $configure_input  */" \
 
12537
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
12538
    } >"$tmp/config.h" \
 
12539
      || as_fn_error "could not create $ac_file" "$LINENO" 5
 
12540
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
12541
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
12542
$as_echo "$as_me: $ac_file is unchanged" >&6;}
 
12543
    else
 
12544
      rm -f "$ac_file"
 
12545
      mv "$tmp/config.h" "$ac_file" \
 
12546
        || as_fn_error "could not create $ac_file" "$LINENO" 5
 
12547
    fi
 
12548
  else
 
12549
    $as_echo "/* $configure_input  */" \
 
12550
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
12551
      || as_fn_error "could not create -" "$LINENO" 5
 
12552
  fi
 
12553
# Compute "$ac_file"'s index in $config_headers.
 
12554
_am_arg="$ac_file"
 
12555
_am_stamp_count=1
 
12556
for _am_header in $config_headers :; do
 
12557
  case $_am_header in
 
12558
    $_am_arg | $_am_arg:* )
 
12559
      break ;;
 
12560
    * )
 
12561
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
12562
  esac
 
12563
done
 
12564
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
12565
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
12566
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
12567
         X"$_am_arg" : 'X\(//\)$' \| \
 
12568
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
12569
$as_echo X"$_am_arg" |
 
12570
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
12571
            s//\1/
 
12572
            q
 
12573
          }
 
12574
          /^X\(\/\/\)[^/].*/{
 
12575
            s//\1/
 
12576
            q
 
12577
          }
 
12578
          /^X\(\/\/\)$/{
 
12579
            s//\1/
 
12580
            q
 
12581
          }
 
12582
          /^X\(\/\).*/{
 
12583
            s//\1/
 
12584
            q
 
12585
          }
 
12586
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
12587
 ;;
 
12588
 
 
12589
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
12590
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
12591
 ;;
 
12592
  esac
 
12593
 
 
12594
 
 
12595
  case $ac_file$ac_mode in
 
12596
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
12597
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
12598
  # are listed without --file.  Let's play safe and only enable the eval
 
12599
  # if we detect the quoting.
 
12600
  case $CONFIG_FILES in
 
12601
  *\'*) eval set x "$CONFIG_FILES" ;;
 
12602
  *)   set x $CONFIG_FILES ;;
 
12603
  esac
 
12604
  shift
 
12605
  for mf
 
12606
  do
 
12607
    # Strip MF so we end up with the name of the file.
 
12608
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
12609
    # Check whether this is an Automake generated Makefile or not.
 
12610
    # We used to match only the files named `Makefile.in', but
 
12611
    # some people rename them; so instead we look at the file content.
 
12612
    # Grep'ing the first line is not enough: some people post-process
 
12613
    # each Makefile.in and add a new line on top of each file to say so.
 
12614
    # Grep'ing the whole file is not good either: AIX grep has a line
 
12615
    # limit of 2048, but all sed's we know have understand at least 4000.
 
12616
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
12617
      dirpart=`$as_dirname -- "$mf" ||
 
12618
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
12619
         X"$mf" : 'X\(//\)[^/]' \| \
 
12620
         X"$mf" : 'X\(//\)$' \| \
 
12621
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
12622
$as_echo X"$mf" |
 
12623
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
12624
            s//\1/
 
12625
            q
 
12626
          }
 
12627
          /^X\(\/\/\)[^/].*/{
 
12628
            s//\1/
 
12629
            q
 
12630
          }
 
12631
          /^X\(\/\/\)$/{
 
12632
            s//\1/
 
12633
            q
 
12634
          }
 
12635
          /^X\(\/\).*/{
 
12636
            s//\1/
 
12637
            q
 
12638
          }
 
12639
          s/.*/./; q'`
 
12640
    else
 
12641
      continue
 
12642
    fi
 
12643
    # Extract the definition of DEPDIR, am__include, and am__quote
 
12644
    # from the Makefile without running `make'.
 
12645
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
12646
    test -z "$DEPDIR" && continue
 
12647
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
12648
    test -z "am__include" && continue
 
12649
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
12650
    # When using ansi2knr, U may be empty or an underscore; expand it
 
12651
    U=`sed -n 's/^U = //p' < "$mf"`
 
12652
    # Find all dependency output files, they are included files with
 
12653
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
12654
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
12655
    # expansion.
 
12656
    for file in `sed -n "
 
12657
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
12658
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
12659
      # Make sure the directory exists.
 
12660
      test -f "$dirpart/$file" && continue
 
12661
      fdir=`$as_dirname -- "$file" ||
 
12662
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
12663
         X"$file" : 'X\(//\)[^/]' \| \
 
12664
         X"$file" : 'X\(//\)$' \| \
 
12665
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
12666
$as_echo X"$file" |
 
12667
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
12668
            s//\1/
 
12669
            q
 
12670
          }
 
12671
          /^X\(\/\/\)[^/].*/{
 
12672
            s//\1/
 
12673
            q
 
12674
          }
 
12675
          /^X\(\/\/\)$/{
 
12676
            s//\1/
 
12677
            q
 
12678
          }
 
12679
          /^X\(\/\).*/{
 
12680
            s//\1/
 
12681
            q
 
12682
          }
 
12683
          s/.*/./; q'`
 
12684
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
12685
      # echo "creating $dirpart/$file"
 
12686
      echo '# dummy' > "$dirpart/$file"
 
12687
    done
 
12688
  done
 
12689
}
 
12690
 ;;
 
12691
    "libtool":C)
 
12692
 
 
12693
    # See if we are running on zsh, and set the options which allow our
 
12694
    # commands through without removal of \ escapes.
 
12695
    if test -n "${ZSH_VERSION+set}" ; then
 
12696
      setopt NO_GLOB_SUBST
 
12697
    fi
 
12698
 
 
12699
    cfgfile="${ofile}T"
 
12700
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
12701
    $RM "$cfgfile"
 
12702
 
 
12703
    cat <<_LT_EOF >> "$cfgfile"
 
12704
#! $SHELL
 
12705
 
 
12706
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
12707
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
12708
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
12709
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
12710
#
 
12711
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
12712
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
12713
#   Written by Gordon Matzigkeit, 1996
 
12714
#
 
12715
#   This file is part of GNU Libtool.
 
12716
#
 
12717
# GNU Libtool is free software; you can redistribute it and/or
 
12718
# modify it under the terms of the GNU General Public License as
 
12719
# published by the Free Software Foundation; either version 2 of
 
12720
# the License, or (at your option) any later version.
 
12721
#
 
12722
# As a special exception to the GNU General Public License,
 
12723
# if you distribute this file as part of a program or library that
 
12724
# is built using GNU Libtool, you may include this file under the
 
12725
# same distribution terms that you use for the rest of that program.
 
12726
#
 
12727
# GNU Libtool is distributed in the hope that it will be useful,
 
12728
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12729
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12730
# GNU General Public License for more details.
 
12731
#
 
12732
# You should have received a copy of the GNU General Public License
 
12733
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
12734
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
12735
# obtained by writing to the Free Software Foundation, Inc.,
 
12736
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
12737
 
 
12738
 
 
12739
# The names of the tagged configurations supported by this script.
 
12740
available_tags=""
 
12741
 
 
12742
# ### BEGIN LIBTOOL CONFIG
 
12743
 
 
12744
# Which release of libtool.m4 was used?
 
12745
macro_version=$macro_version
 
12746
macro_revision=$macro_revision
 
12747
 
 
12748
# Whether or not to build shared libraries.
 
12749
build_libtool_libs=$enable_shared
 
12750
 
 
12751
# Whether or not to build static libraries.
 
12752
build_old_libs=$enable_static
 
12753
 
 
12754
# What type of objects to build.
 
12755
pic_mode=$pic_mode
 
12756
 
 
12757
# Whether or not to optimize for fast installation.
 
12758
fast_install=$enable_fast_install
 
12759
 
 
12760
# The host system.
 
12761
host_alias=$host_alias
 
12762
host=$host
 
12763
host_os=$host_os
 
12764
 
 
12765
# The build system.
 
12766
build_alias=$build_alias
 
12767
build=$build
 
12768
build_os=$build_os
 
12769
 
 
12770
# A sed program that does not truncate output.
 
12771
SED=$lt_SED
 
12772
 
 
12773
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
12774
Xsed="\$SED -e 1s/^X//"
 
12775
 
 
12776
# A grep program that handles long lines.
 
12777
GREP=$lt_GREP
 
12778
 
 
12779
# An ERE matcher.
 
12780
EGREP=$lt_EGREP
 
12781
 
 
12782
# A literal string matcher.
 
12783
FGREP=$lt_FGREP
 
12784
 
 
12785
# A BSD- or MS-compatible name lister.
 
12786
NM=$lt_NM
 
12787
 
 
12788
# Whether we need soft or hard links.
 
12789
LN_S=$lt_LN_S
 
12790
 
 
12791
# What is the maximum length of a command?
 
12792
max_cmd_len=$max_cmd_len
 
12793
 
 
12794
# Object file suffix (normally "o").
 
12795
objext=$ac_objext
 
12796
 
 
12797
# Executable file suffix (normally "").
 
12798
exeext=$exeext
 
12799
 
 
12800
# whether the shell understands "unset".
 
12801
lt_unset=$lt_unset
 
12802
 
 
12803
# turn spaces into newlines.
 
12804
SP2NL=$lt_lt_SP2NL
 
12805
 
 
12806
# turn newlines into spaces.
 
12807
NL2SP=$lt_lt_NL2SP
 
12808
 
 
12809
# How to create reloadable object files.
 
12810
reload_flag=$lt_reload_flag
 
12811
reload_cmds=$lt_reload_cmds
 
12812
 
 
12813
# An object symbol dumper.
 
12814
OBJDUMP=$lt_OBJDUMP
 
12815
 
 
12816
# Method to check whether dependent libraries are shared objects.
 
12817
deplibs_check_method=$lt_deplibs_check_method
 
12818
 
 
12819
# Command to use when deplibs_check_method == "file_magic".
 
12820
file_magic_cmd=$lt_file_magic_cmd
 
12821
 
 
12822
# The archiver.
 
12823
AR=$lt_AR
 
12824
AR_FLAGS=$lt_AR_FLAGS
 
12825
 
 
12826
# A symbol stripping program.
 
12827
STRIP=$lt_STRIP
 
12828
 
 
12829
# Commands used to install an old-style archive.
 
12830
RANLIB=$lt_RANLIB
 
12831
old_postinstall_cmds=$lt_old_postinstall_cmds
 
12832
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
12833
 
 
12834
# A C compiler.
 
12835
LTCC=$lt_CC
 
12836
 
 
12837
# LTCC compiler flags.
 
12838
LTCFLAGS=$lt_CFLAGS
 
12839
 
 
12840
# Take the output of nm and produce a listing of raw symbols and C names.
 
12841
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
12842
 
 
12843
# Transform the output of nm in a proper C declaration.
 
12844
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
12845
 
 
12846
# Transform the output of nm in a C name address pair.
 
12847
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
12848
 
 
12849
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
12850
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
12851
 
 
12852
# The name of the directory that contains temporary libtool files.
 
12853
objdir=$objdir
 
12854
 
 
12855
# Shell to use when invoking shell scripts.
 
12856
SHELL=$lt_SHELL
 
12857
 
 
12858
# An echo program that does not interpret backslashes.
 
12859
ECHO=$lt_ECHO
 
12860
 
 
12861
# Used to examine libraries when file_magic_cmd begins with "file".
 
12862
MAGIC_CMD=$MAGIC_CMD
 
12863
 
 
12864
# Must we lock files when doing compilation?
 
12865
need_locks=$lt_need_locks
 
12866
 
 
12867
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
12868
DSYMUTIL=$lt_DSYMUTIL
 
12869
 
 
12870
# Tool to change global to local symbols on Mac OS X.
 
12871
NMEDIT=$lt_NMEDIT
 
12872
 
 
12873
# Tool to manipulate fat objects and archives on Mac OS X.
 
12874
LIPO=$lt_LIPO
 
12875
 
 
12876
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
12877
OTOOL=$lt_OTOOL
 
12878
 
 
12879
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
12880
OTOOL64=$lt_OTOOL64
 
12881
 
 
12882
# Old archive suffix (normally "a").
 
12883
libext=$libext
 
12884
 
 
12885
# Shared library suffix (normally ".so").
 
12886
shrext_cmds=$lt_shrext_cmds
 
12887
 
 
12888
# The commands to extract the exported symbol list from a shared archive.
 
12889
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
12890
 
 
12891
# Variables whose values should be saved in libtool wrapper scripts and
 
12892
# restored at link time.
 
12893
variables_saved_for_relink=$lt_variables_saved_for_relink
 
12894
 
 
12895
# Do we need the "lib" prefix for modules?
 
12896
need_lib_prefix=$need_lib_prefix
 
12897
 
 
12898
# Do we need a version for libraries?
 
12899
need_version=$need_version
 
12900
 
 
12901
# Library versioning type.
 
12902
version_type=$version_type
 
12903
 
 
12904
# Shared library runtime path variable.
 
12905
runpath_var=$runpath_var
 
12906
 
 
12907
# Shared library path variable.
 
12908
shlibpath_var=$shlibpath_var
 
12909
 
 
12910
# Is shlibpath searched before the hard-coded library search path?
 
12911
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
12912
 
 
12913
# Format of library name prefix.
 
12914
libname_spec=$lt_libname_spec
 
12915
 
 
12916
# List of archive names.  First name is the real one, the rest are links.
 
12917
# The last name is the one that the linker finds with -lNAME
 
12918
library_names_spec=$lt_library_names_spec
 
12919
 
 
12920
# The coded name of the library, if different from the real name.
 
12921
soname_spec=$lt_soname_spec
 
12922
 
 
12923
# Command to use after installation of a shared archive.
 
12924
postinstall_cmds=$lt_postinstall_cmds
 
12925
 
 
12926
# Command to use after uninstallation of a shared archive.
 
12927
postuninstall_cmds=$lt_postuninstall_cmds
 
12928
 
 
12929
# Commands used to finish a libtool library installation in a directory.
 
12930
finish_cmds=$lt_finish_cmds
 
12931
 
 
12932
# As "finish_cmds", except a single script fragment to be evaled but
 
12933
# not shown.
 
12934
finish_eval=$lt_finish_eval
 
12935
 
 
12936
# Whether we should hardcode library paths into libraries.
 
12937
hardcode_into_libs=$hardcode_into_libs
 
12938
 
 
12939
# Compile-time system search path for libraries.
 
12940
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
12941
 
 
12942
# Run-time system search path for libraries.
 
12943
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
12944
 
 
12945
# Whether dlopen is supported.
 
12946
dlopen_support=$enable_dlopen
 
12947
 
 
12948
# Whether dlopen of programs is supported.
 
12949
dlopen_self=$enable_dlopen_self
 
12950
 
 
12951
# Whether dlopen of statically linked programs is supported.
 
12952
dlopen_self_static=$enable_dlopen_self_static
 
12953
 
 
12954
# Commands to strip libraries.
 
12955
old_striplib=$lt_old_striplib
 
12956
striplib=$lt_striplib
 
12957
 
 
12958
 
 
12959
# The linker used to build libraries.
 
12960
LD=$lt_LD
 
12961
 
 
12962
# Commands used to build an old-style archive.
 
12963
old_archive_cmds=$lt_old_archive_cmds
 
12964
 
 
12965
# A language specific compiler.
 
12966
CC=$lt_compiler
 
12967
 
 
12968
# Is the compiler the GNU compiler?
 
12969
with_gcc=$GCC
 
12970
 
 
12971
# Compiler flag to turn off builtin functions.
 
12972
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
12973
 
 
12974
# How to pass a linker flag through the compiler.
 
12975
wl=$lt_lt_prog_compiler_wl
 
12976
 
 
12977
# Additional compiler flags for building library objects.
 
12978
pic_flag=$lt_lt_prog_compiler_pic
 
12979
 
 
12980
# Compiler flag to prevent dynamic linking.
 
12981
link_static_flag=$lt_lt_prog_compiler_static
 
12982
 
 
12983
# Does compiler simultaneously support -c and -o options?
 
12984
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
12985
 
 
12986
# Whether or not to add -lc for building shared libraries.
 
12987
build_libtool_need_lc=$archive_cmds_need_lc
 
12988
 
 
12989
# Whether or not to disallow shared libs when runtime libs are static.
 
12990
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
12991
 
 
12992
# Compiler flag to allow reflexive dlopens.
 
12993
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
12994
 
 
12995
# Compiler flag to generate shared objects directly from archives.
 
12996
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
12997
 
 
12998
# Whether the compiler copes with passing no objects directly.
 
12999
compiler_needs_object=$lt_compiler_needs_object
 
13000
 
 
13001
# Create an old-style archive from a shared archive.
 
13002
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
13003
 
 
13004
# Create a temporary old-style archive to link instead of a shared archive.
 
13005
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
13006
 
 
13007
# Commands used to build a shared archive.
 
13008
archive_cmds=$lt_archive_cmds
 
13009
archive_expsym_cmds=$lt_archive_expsym_cmds
 
13010
 
 
13011
# Commands used to build a loadable module if different from building
 
13012
# a shared archive.
 
13013
module_cmds=$lt_module_cmds
 
13014
module_expsym_cmds=$lt_module_expsym_cmds
 
13015
 
 
13016
# Whether we are building with GNU ld or not.
 
13017
with_gnu_ld=$lt_with_gnu_ld
 
13018
 
 
13019
# Flag that allows shared libraries with undefined symbols to be built.
 
13020
allow_undefined_flag=$lt_allow_undefined_flag
 
13021
 
 
13022
# Flag that enforces no undefined symbols.
 
13023
no_undefined_flag=$lt_no_undefined_flag
 
13024
 
 
13025
# Flag to hardcode \$libdir into a binary during linking.
 
13026
# This must work even if \$libdir does not exist
 
13027
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
13028
 
 
13029
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
13030
# during linking.  This must work even if \$libdir does not exist.
 
13031
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
13032
 
 
13033
# Whether we need a single "-rpath" flag with a separated argument.
 
13034
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
13035
 
 
13036
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
13037
# DIR into the resulting binary.
 
13038
hardcode_direct=$hardcode_direct
 
13039
 
 
13040
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
13041
# DIR into the resulting binary and the resulting library dependency is
 
13042
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
13043
# library is relocated.
 
13044
hardcode_direct_absolute=$hardcode_direct_absolute
 
13045
 
 
13046
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
13047
# into the resulting binary.
 
13048
hardcode_minus_L=$hardcode_minus_L
 
13049
 
 
13050
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
13051
# into the resulting binary.
 
13052
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
13053
 
 
13054
# Set to "yes" if building a shared library automatically hardcodes DIR
 
13055
# into the library and all subsequent libraries and executables linked
 
13056
# against it.
 
13057
hardcode_automatic=$hardcode_automatic
 
13058
 
 
13059
# Set to yes if linker adds runtime paths of dependent libraries
 
13060
# to runtime path list.
 
13061
inherit_rpath=$inherit_rpath
 
13062
 
 
13063
# Whether libtool must link a program against all its dependency libraries.
 
13064
link_all_deplibs=$link_all_deplibs
 
13065
 
 
13066
# Fix the shell variable \$srcfile for the compiler.
 
13067
fix_srcfile_path=$lt_fix_srcfile_path
 
13068
 
 
13069
# Set to "yes" if exported symbols are required.
 
13070
always_export_symbols=$always_export_symbols
 
13071
 
 
13072
# The commands to list exported symbols.
 
13073
export_symbols_cmds=$lt_export_symbols_cmds
 
13074
 
 
13075
# Symbols that should not be listed in the preloaded symbols.
 
13076
exclude_expsyms=$lt_exclude_expsyms
 
13077
 
 
13078
# Symbols that must always be exported.
 
13079
include_expsyms=$lt_include_expsyms
 
13080
 
 
13081
# Commands necessary for linking programs (against libraries) with templates.
 
13082
prelink_cmds=$lt_prelink_cmds
 
13083
 
 
13084
# Specify filename containing input files.
 
13085
file_list_spec=$lt_file_list_spec
 
13086
 
 
13087
# How to hardcode a shared library path into an executable.
 
13088
hardcode_action=$hardcode_action
 
13089
 
 
13090
# ### END LIBTOOL CONFIG
 
13091
 
 
13092
_LT_EOF
 
13093
 
 
13094
  case $host_os in
 
13095
  aix3*)
 
13096
    cat <<\_LT_EOF >> "$cfgfile"
 
13097
# AIX sometimes has problems with the GCC collect2 program.  For some
 
13098
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
13099
# vanish in a puff of smoke.
 
13100
if test "X${COLLECT_NAMES+set}" != Xset; then
 
13101
  COLLECT_NAMES=
 
13102
  export COLLECT_NAMES
 
13103
fi
 
13104
_LT_EOF
 
13105
    ;;
 
13106
  esac
 
13107
 
 
13108
 
 
13109
ltmain="$ac_aux_dir/ltmain.sh"
 
13110
 
 
13111
 
 
13112
  # We use sed instead of cat because bash on DJGPP gets confused if
 
13113
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
13114
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
13115
  # is reportedly fixed, but why not run on old versions too?
 
13116
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
13117
    || (rm -f "$cfgfile"; exit 1)
 
13118
 
 
13119
  case $xsi_shell in
 
13120
  yes)
 
13121
    cat << \_LT_EOF >> "$cfgfile"
 
13122
 
 
13123
# func_dirname file append nondir_replacement
 
13124
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
13125
# otherwise set result to NONDIR_REPLACEMENT.
 
13126
func_dirname ()
 
13127
{
 
13128
  case ${1} in
 
13129
    */*) func_dirname_result="${1%/*}${2}" ;;
 
13130
    *  ) func_dirname_result="${3}" ;;
 
13131
  esac
 
13132
}
 
13133
 
 
13134
# func_basename file
 
13135
func_basename ()
 
13136
{
 
13137
  func_basename_result="${1##*/}"
 
13138
}
 
13139
 
 
13140
# func_dirname_and_basename file append nondir_replacement
 
13141
# perform func_basename and func_dirname in a single function
 
13142
# call:
 
13143
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
13144
#             add APPEND to the result, otherwise set result
 
13145
#             to NONDIR_REPLACEMENT.
 
13146
#             value returned in "$func_dirname_result"
 
13147
#   basename: Compute filename of FILE.
 
13148
#             value retuned in "$func_basename_result"
 
13149
# Implementation must be kept synchronized with func_dirname
 
13150
# and func_basename. For efficiency, we do not delegate to
 
13151
# those functions but instead duplicate the functionality here.
 
13152
func_dirname_and_basename ()
 
13153
{
 
13154
  case ${1} in
 
13155
    */*) func_dirname_result="${1%/*}${2}" ;;
 
13156
    *  ) func_dirname_result="${3}" ;;
 
13157
  esac
 
13158
  func_basename_result="${1##*/}"
 
13159
}
 
13160
 
 
13161
# func_stripname prefix suffix name
 
13162
# strip PREFIX and SUFFIX off of NAME.
 
13163
# PREFIX and SUFFIX must not contain globbing or regex special
 
13164
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
13165
# dot (in which case that matches only a dot).
 
13166
func_stripname ()
 
13167
{
 
13168
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
13169
  # positional parameters, so assign one to ordinary parameter first.
 
13170
  func_stripname_result=${3}
 
13171
  func_stripname_result=${func_stripname_result#"${1}"}
 
13172
  func_stripname_result=${func_stripname_result%"${2}"}
 
13173
}
 
13174
 
 
13175
# func_opt_split
 
13176
func_opt_split ()
 
13177
{
 
13178
  func_opt_split_opt=${1%%=*}
 
13179
  func_opt_split_arg=${1#*=}
 
13180
}
 
13181
 
 
13182
# func_lo2o object
 
13183
func_lo2o ()
 
13184
{
 
13185
  case ${1} in
 
13186
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
13187
    *)    func_lo2o_result=${1} ;;
 
13188
  esac
 
13189
}
 
13190
 
 
13191
# func_xform libobj-or-source
 
13192
func_xform ()
 
13193
{
 
13194
  func_xform_result=${1%.*}.lo
 
13195
}
 
13196
 
 
13197
# func_arith arithmetic-term...
 
13198
func_arith ()
 
13199
{
 
13200
  func_arith_result=$(( $* ))
 
13201
}
 
13202
 
 
13203
# func_len string
 
13204
# STRING may not start with a hyphen.
 
13205
func_len ()
 
13206
{
 
13207
  func_len_result=${#1}
 
13208
}
 
13209
 
 
13210
_LT_EOF
 
13211
    ;;
 
13212
  *) # Bourne compatible functions.
 
13213
    cat << \_LT_EOF >> "$cfgfile"
 
13214
 
 
13215
# func_dirname file append nondir_replacement
 
13216
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
13217
# otherwise set result to NONDIR_REPLACEMENT.
 
13218
func_dirname ()
 
13219
{
 
13220
  # Extract subdirectory from the argument.
 
13221
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
13222
  if test "X$func_dirname_result" = "X${1}"; then
 
13223
    func_dirname_result="${3}"
 
13224
  else
 
13225
    func_dirname_result="$func_dirname_result${2}"
 
13226
  fi
 
13227
}
 
13228
 
 
13229
# func_basename file
 
13230
func_basename ()
 
13231
{
 
13232
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
13233
}
 
13234
 
 
13235
 
 
13236
# func_stripname prefix suffix name
 
13237
# strip PREFIX and SUFFIX off of NAME.
 
13238
# PREFIX and SUFFIX must not contain globbing or regex special
 
13239
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
13240
# dot (in which case that matches only a dot).
 
13241
# func_strip_suffix prefix name
 
13242
func_stripname ()
 
13243
{
 
13244
  case ${2} in
 
13245
    .*) func_stripname_result=`$ECHO "X${3}" \
 
13246
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
13247
    *)  func_stripname_result=`$ECHO "X${3}" \
 
13248
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
13249
  esac
 
13250
}
 
13251
 
 
13252
# sed scripts:
 
13253
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
13254
my_sed_long_arg='1s/^-[^=]*=//'
 
13255
 
 
13256
# func_opt_split
 
13257
func_opt_split ()
 
13258
{
 
13259
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
13260
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
13261
}
 
13262
 
 
13263
# func_lo2o object
 
13264
func_lo2o ()
 
13265
{
 
13266
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
13267
}
 
13268
 
 
13269
# func_xform libobj-or-source
 
13270
func_xform ()
 
13271
{
 
13272
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
13273
}
 
13274
 
 
13275
# func_arith arithmetic-term...
 
13276
func_arith ()
 
13277
{
 
13278
  func_arith_result=`expr "$@"`
 
13279
}
 
13280
 
 
13281
# func_len string
 
13282
# STRING may not start with a hyphen.
 
13283
func_len ()
 
13284
{
 
13285
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
13286
}
 
13287
 
 
13288
_LT_EOF
 
13289
esac
 
13290
 
 
13291
case $lt_shell_append in
 
13292
  yes)
 
13293
    cat << \_LT_EOF >> "$cfgfile"
 
13294
 
 
13295
# func_append var value
 
13296
# Append VALUE to the end of shell variable VAR.
 
13297
func_append ()
 
13298
{
 
13299
  eval "$1+=\$2"
 
13300
}
 
13301
_LT_EOF
 
13302
    ;;
 
13303
  *)
 
13304
    cat << \_LT_EOF >> "$cfgfile"
 
13305
 
 
13306
# func_append var value
 
13307
# Append VALUE to the end of shell variable VAR.
 
13308
func_append ()
 
13309
{
 
13310
  eval "$1=\$$1\$2"
 
13311
}
 
13312
 
 
13313
_LT_EOF
 
13314
    ;;
 
13315
  esac
 
13316
 
 
13317
 
 
13318
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
13319
    || (rm -f "$cfgfile"; exit 1)
 
13320
 
 
13321
  mv -f "$cfgfile" "$ofile" ||
 
13322
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
13323
  chmod +x "$ofile"
 
13324
 
 
13325
 ;;
 
13326
 
 
13327
  esac
 
13328
done # for ac_tag
 
13329
 
 
13330
 
 
13331
as_fn_exit 0
 
13332
_ACEOF
 
13333
ac_clean_files=$ac_clean_files_save
 
13334
 
 
13335
test $ac_write_fail = 0 ||
 
13336
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
13337
 
 
13338
 
 
13339
# configure is writing to config.log, and then calls config.status.
 
13340
# config.status does its own redirection, appending to config.log.
 
13341
# Unfortunately, on DOS this fails, as config.log is still kept open
 
13342
# by configure, so config.status won't be able to write to it; its
 
13343
# output is simply discarded.  So we exec the FD to /dev/null,
 
13344
# effectively closing config.log, so it can be properly (re)opened and
 
13345
# appended to by config.status.  When coming back to configure, we
 
13346
# need to make the FD available again.
 
13347
if test "$no_create" != yes; then
 
13348
  ac_cs_success=:
 
13349
  ac_config_status_args=
 
13350
  test "$silent" = yes &&
 
13351
    ac_config_status_args="$ac_config_status_args --quiet"
 
13352
  exec 5>/dev/null
 
13353
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
13354
  exec 5>>config.log
 
13355
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
13356
  # would make configure fail if this is the last instruction.
 
13357
  $ac_cs_success || as_fn_exit $?
 
13358
fi
 
13359
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
13360
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
13361
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
13362
fi
 
13363
 
 
13364
 
 
13365
 
 
13366
 
 
13367
echo "*****************************************************"
 
13368
echo "libee will be compiled with the following settings:"
 
13369
echo
 
13370
echo "Debug mode enabled:          $enable_debug"
 
13371
echo "Testbench enabled:           $enable_testbench"