~ubuntu-branches/ubuntu/jaunty/libcrypto++/jaunty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Jens Peter Secher
  • Date: 2006-03-16 23:08:48 UTC
  • mfrom: (3.1.2 dapper)
  • Revision ID: james.westby@ubuntu.com-20060316230848-wwtupzit1dy23s7s
Tags: 5.2.1c2a-3
* Patch source so that it compiles with GCC 4.1 .  More specifically,
  avoid mixing implicit calls to base classes and free-standing
  functions.
  (Closes: #356170).
* Use LDFLAGS=-pthread to fix linking errors.

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.59 for crypto++ 5.2.
4
 
#
5
 
# Copyright (C) 2003 Free Software Foundation, Inc.
6
 
# This configure script is free software; the Free Software Foundation
7
 
# gives unlimited permission to copy, distribute and modify it.
8
 
## --------------------- ##
9
 
## M4sh Initialization.  ##
10
 
## --------------------- ##
11
 
 
12
 
# Be Bourne compatible
13
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14
 
  emulate sh
15
 
  NULLCMD=:
16
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17
 
  # is contrary to our usage.  Disable this feature.
18
 
  alias -g '${1+"$@"}'='"$@"'
19
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20
 
  set -o posix
21
 
fi
22
 
DUALCASE=1; export DUALCASE # for MKS sh
23
 
 
24
 
# Support unset when possible.
25
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26
 
  as_unset=unset
27
 
else
28
 
  as_unset=false
29
 
fi
30
 
 
31
 
 
32
 
# Work around bugs in pre-3.0 UWIN ksh.
33
 
$as_unset ENV MAIL MAILPATH
34
 
PS1='$ '
35
 
PS2='> '
36
 
PS4='+ '
37
 
 
38
 
# NLS nuisances.
39
 
for as_var in \
40
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42
 
  LC_TELEPHONE LC_TIME
43
 
do
44
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
 
    eval $as_var=C; export $as_var
46
 
  else
47
 
    $as_unset $as_var
48
 
  fi
49
 
done
50
 
 
51
 
# Required to use basename.
52
 
if expr a : '\(a\)' >/dev/null 2>&1; then
53
 
  as_expr=expr
54
 
else
55
 
  as_expr=false
56
 
fi
57
 
 
58
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59
 
  as_basename=basename
60
 
else
61
 
  as_basename=false
62
 
fi
63
 
 
64
 
 
65
 
# Name of the executable.
66
 
as_me=`$as_basename "$0" ||
67
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
 
         X"$0" : 'X\(//\)$' \| \
69
 
         X"$0" : 'X\(/\)$' \| \
70
 
         .     : '\(.\)' 2>/dev/null ||
71
 
echo X/"$0" |
72
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
74
 
          /^X\/\(\/\).*/{ s//\1/; q; }
75
 
          s/.*/./; q'`
76
 
 
77
 
 
78
 
# PATH needs CR, and LINENO needs CR and PATH.
79
 
# Avoid depending upon Character Ranges.
80
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83
 
as_cr_digits='0123456789'
84
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
85
 
 
86
 
# The user is always right.
87
 
if test "${PATH_SEPARATOR+set}" != set; then
88
 
  echo "#! /bin/sh" >conf$$.sh
89
 
  echo  "exit 0"   >>conf$$.sh
90
 
  chmod +x conf$$.sh
91
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92
 
    PATH_SEPARATOR=';'
93
 
  else
94
 
    PATH_SEPARATOR=:
95
 
  fi
96
 
  rm -f conf$$.sh
97
 
fi
98
 
 
99
 
 
100
 
  as_lineno_1=$LINENO
101
 
  as_lineno_2=$LINENO
102
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
104
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105
 
  # Find who we are.  Look in the path if we contain no path at all
106
 
  # relative or not.
107
 
  case $0 in
108
 
    *[\\/]* ) as_myself=$0 ;;
109
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110
 
for as_dir in $PATH
111
 
do
112
 
  IFS=$as_save_IFS
113
 
  test -z "$as_dir" && as_dir=.
114
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115
 
done
116
 
 
117
 
       ;;
118
 
  esac
119
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
120
 
  # in which case we are not to be found in the path.
121
 
  if test "x$as_myself" = x; then
122
 
    as_myself=$0
123
 
  fi
124
 
  if test ! -f "$as_myself"; then
125
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
 
   { (exit 1); exit 1; }; }
127
 
  fi
128
 
  case $CONFIG_SHELL in
129
 
  '')
130
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132
 
do
133
 
  IFS=$as_save_IFS
134
 
  test -z "$as_dir" && as_dir=.
135
 
  for as_base in sh bash ksh sh5; do
136
 
         case $as_dir in
137
 
         /*)
138
 
           if ("$as_dir/$as_base" -c '
139
 
  as_lineno_1=$LINENO
140
 
  as_lineno_2=$LINENO
141
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
143
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146
 
             CONFIG_SHELL=$as_dir/$as_base
147
 
             export CONFIG_SHELL
148
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149
 
           fi;;
150
 
         esac
151
 
       done
152
 
done
153
 
;;
154
 
  esac
155
 
 
156
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
158
 
  # line-number line before each line; the second 'sed' does the real
159
 
  # work.  The second script uses 'N' to pair each line-number line
160
 
  # with the numbered line, and appends trailing '-' during
161
 
  # substitution so that $LINENO is not a special case at line end.
162
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164
 
  sed '=' <$as_myself |
165
 
    sed '
166
 
      N
167
 
      s,$,-,
168
 
      : loop
169
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170
 
      t loop
171
 
      s,-$,,
172
 
      s,^['$as_cr_digits']*\n,,
173
 
    ' >$as_me.lineno &&
174
 
  chmod +x $as_me.lineno ||
175
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
 
   { (exit 1); exit 1; }; }
177
 
 
178
 
  # Don't try to exec as it changes $[0], causing all sort of problems
179
 
  # (the dirname of $[0] is not the place where we might find the
180
 
  # original and so on.  Autoconf is especially sensible to this).
181
 
  . ./$as_me.lineno
182
 
  # Exit status is that of the last command.
183
 
  exit
184
 
}
185
 
 
186
 
 
187
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188
 
  *c*,-n*) ECHO_N= ECHO_C='
189
 
' ECHO_T='      ' ;;
190
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192
 
esac
193
 
 
194
 
if expr a : '\(a\)' >/dev/null 2>&1; then
195
 
  as_expr=expr
196
 
else
197
 
  as_expr=false
198
 
fi
199
 
 
200
 
rm -f conf$$ conf$$.exe conf$$.file
201
 
echo >conf$$.file
202
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
203
 
  # We could just check for DJGPP; but this test a) works b) is more generic
204
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
 
  if test -f conf$$.exe; then
206
 
    # Don't use ln at all; we don't have any links
207
 
    as_ln_s='cp -p'
208
 
  else
209
 
    as_ln_s='ln -s'
210
 
  fi
211
 
elif ln conf$$.file conf$$ 2>/dev/null; then
212
 
  as_ln_s=ln
213
 
else
214
 
  as_ln_s='cp -p'
215
 
fi
216
 
rm -f conf$$ conf$$.exe conf$$.file
217
 
 
218
 
if mkdir -p . 2>/dev/null; then
219
 
  as_mkdir_p=:
220
 
else
221
 
  test -d ./-p && rmdir ./-p
222
 
  as_mkdir_p=false
223
 
fi
224
 
 
225
 
as_executable_p="test -f"
226
 
 
227
 
# Sed expression to map a string onto a valid CPP name.
228
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
 
 
230
 
# Sed expression to map a string onto a valid variable name.
231
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
 
 
233
 
 
234
 
# IFS
235
 
# We need space, tab and new line, in precisely that order.
236
 
as_nl='
237
 
'
238
 
IFS="   $as_nl"
239
 
 
240
 
# CDPATH.
241
 
$as_unset CDPATH
242
 
 
243
 
 
244
 
 
245
 
# Check that we are running under the correct shell.
246
 
SHELL=${CONFIG_SHELL-/bin/sh}
247
 
 
248
 
case X$ECHO in
249
 
X*--fallback-echo)
250
 
  # Remove one level of quotation (which was required for Make).
251
 
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
252
 
  ;;
253
 
esac
254
 
 
255
 
echo=${ECHO-echo}
256
 
if test "X$1" = X--no-reexec; then
257
 
  # Discard the --no-reexec flag, and continue.
258
 
  shift
259
 
elif test "X$1" = X--fallback-echo; then
260
 
  # Avoid inline document here, it may be left over
261
 
  :
262
 
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
263
 
  # Yippee, $echo works!
264
 
  :
265
 
else
266
 
  # Restart under the correct shell.
267
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
268
 
fi
269
 
 
270
 
if test "X$1" = X--fallback-echo; then
271
 
  # used as fallback echo
272
 
  shift
273
 
  cat <<EOF
274
 
$*
275
 
EOF
276
 
  exit 0
277
 
fi
278
 
 
279
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
280
 
# if CDPATH is set.
281
 
if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
282
 
 
283
 
if test -z "$ECHO"; then
284
 
if test "X${echo_test_string+set}" != Xset; then
285
 
# find a string as large as possible, as long as the shell can cope with it
286
 
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287
 
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288
 
    if (echo_test_string="`eval $cmd`") 2>/dev/null &&
289
 
       echo_test_string="`eval $cmd`" &&
290
 
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
291
 
    then
292
 
      break
293
 
    fi
294
 
  done
295
 
fi
296
 
 
297
 
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
298
 
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
299
 
   test "X$echo_testing_string" = "X$echo_test_string"; then
300
 
  :
301
 
else
302
 
  # The Solaris, AIX, and Digital Unix default echo programs unquote
303
 
  # backslashes.  This makes it impossible to quote backslashes using
304
 
  #   echo "$something" | sed 's/\\/\\\\/g'
305
 
  #
306
 
  # So, first we look for a working echo in the user's PATH.
307
 
 
308
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
309
 
  for dir in $PATH /usr/ucb; do
310
 
    IFS="$lt_save_ifs"
311
 
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
312
 
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
313
 
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
314
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
315
 
      echo="$dir/echo"
316
 
      break
317
 
    fi
318
 
  done
319
 
  IFS="$lt_save_ifs"
320
 
 
321
 
  if test "X$echo" = Xecho; then
322
 
    # We didn't find a better echo, so look for alternatives.
323
 
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
324
 
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
325
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
326
 
      # This shell has a builtin print -r that does the trick.
327
 
      echo='print -r'
328
 
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
329
 
         test "X$CONFIG_SHELL" != X/bin/ksh; then
330
 
      # If we have ksh, try running configure again with it.
331
 
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
332
 
      export ORIGINAL_CONFIG_SHELL
333
 
      CONFIG_SHELL=/bin/ksh
334
 
      export CONFIG_SHELL
335
 
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
336
 
    else
337
 
      # Try using printf.
338
 
      echo='printf %s\n'
339
 
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
340
 
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
341
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
342
 
        # Cool, printf works
343
 
        :
344
 
      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
345
 
           test "X$echo_testing_string" = 'X\t' &&
346
 
           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
347
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
348
 
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
349
 
        export CONFIG_SHELL
350
 
        SHELL="$CONFIG_SHELL"
351
 
        export SHELL
352
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
353
 
      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
354
 
           test "X$echo_testing_string" = 'X\t' &&
355
 
           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
356
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
357
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
358
 
      else
359
 
        # maybe with a smaller string...
360
 
        prev=:
361
 
 
362
 
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
363
 
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
364
 
          then
365
 
            break
366
 
          fi
367
 
          prev="$cmd"
368
 
        done
369
 
 
370
 
        if test "$prev" != 'sed 50q "$0"'; then
371
 
          echo_test_string=`eval $prev`
372
 
          export echo_test_string
373
 
          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
374
 
        else
375
 
          # Oops.  We lost completely, so just stick with echo.
376
 
          echo=echo
377
 
        fi
378
 
      fi
379
 
    fi
380
 
  fi
381
 
fi
382
 
fi
383
 
 
384
 
# Copy echo and quote the copy suitably for passing to libtool from
385
 
# the Makefile, instead of quoting the original, which is used later.
386
 
ECHO=$echo
387
 
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
388
 
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
389
 
fi
390
 
 
391
 
 
392
 
 
393
 
 
394
 
tagnames=${tagnames+${tagnames},}CXX
395
 
 
396
 
tagnames=${tagnames+${tagnames},}F77
397
 
 
398
 
# Name of the host.
399
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
400
 
# so uname gets run too.
401
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
402
 
 
403
 
exec 6>&1
404
 
 
405
 
#
406
 
# Initializations.
407
 
#
408
 
ac_default_prefix=/usr/local
409
 
ac_config_libobj_dir=.
410
 
cross_compiling=no
411
 
subdirs=
412
 
MFLAGS=
413
 
MAKEFLAGS=
414
 
SHELL=${CONFIG_SHELL-/bin/sh}
415
 
 
416
 
# Maximum number of lines to put in a shell here document.
417
 
# This variable seems obsolete.  It should probably be removed, and
418
 
# only ac_max_sed_lines should be used.
419
 
: ${ac_max_here_lines=38}
420
 
 
421
 
# Identity of this package.
422
 
PACKAGE_NAME='crypto++'
423
 
PACKAGE_TARNAME='crypto--'
424
 
PACKAGE_VERSION='5.2'
425
 
PACKAGE_STRING='crypto++ 5.2'
426
 
PACKAGE_BUGREPORT=''
427
 
 
428
 
ac_unique_file="configure.in"
429
 
# Factoring default headers for most tests.
430
 
ac_includes_default="\
431
 
#include <stdio.h>
432
 
#if HAVE_SYS_TYPES_H
433
 
# include <sys/types.h>
434
 
#endif
435
 
#if HAVE_SYS_STAT_H
436
 
# include <sys/stat.h>
437
 
#endif
438
 
#if STDC_HEADERS
439
 
# include <stdlib.h>
440
 
# include <stddef.h>
441
 
#else
442
 
# if HAVE_STDLIB_H
443
 
#  include <stdlib.h>
444
 
# endif
445
 
#endif
446
 
#if HAVE_STRING_H
447
 
# if !STDC_HEADERS && HAVE_MEMORY_H
448
 
#  include <memory.h>
449
 
# endif
450
 
# include <string.h>
451
 
#endif
452
 
#if HAVE_STRINGS_H
453
 
# include <strings.h>
454
 
#endif
455
 
#if HAVE_INTTYPES_H
456
 
# include <inttypes.h>
457
 
#else
458
 
# if HAVE_STDINT_H
459
 
#  include <stdint.h>
460
 
# endif
461
 
#endif
462
 
#if HAVE_UNISTD_H
463
 
# include <unistd.h>
464
 
#endif"
465
 
 
466
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP LIBOBJS RANLIB ac_ct_RANLIB CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LTLIBOBJS'
467
 
ac_subst_files=''
468
 
 
469
 
# Initialize some variables set by options.
470
 
ac_init_help=
471
 
ac_init_version=false
472
 
# The variables have the same names as the options, with
473
 
# dashes changed to underlines.
474
 
cache_file=/dev/null
475
 
exec_prefix=NONE
476
 
no_create=
477
 
no_recursion=
478
 
prefix=NONE
479
 
program_prefix=NONE
480
 
program_suffix=NONE
481
 
program_transform_name=s,x,x,
482
 
silent=
483
 
site=
484
 
srcdir=
485
 
verbose=
486
 
x_includes=NONE
487
 
x_libraries=NONE
488
 
 
489
 
# Installation directory options.
490
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
491
 
# and all the variables that are supposed to be based on exec_prefix
492
 
# by default will actually change.
493
 
# Use braces instead of parens because sh, perl, etc. also accept them.
494
 
bindir='${exec_prefix}/bin'
495
 
sbindir='${exec_prefix}/sbin'
496
 
libexecdir='${exec_prefix}/libexec'
497
 
datadir='${prefix}/share'
498
 
sysconfdir='${prefix}/etc'
499
 
sharedstatedir='${prefix}/com'
500
 
localstatedir='${prefix}/var'
501
 
libdir='${exec_prefix}/lib'
502
 
includedir='${prefix}/include'
503
 
oldincludedir='/usr/include'
504
 
infodir='${prefix}/info'
505
 
mandir='${prefix}/man'
506
 
 
507
 
ac_prev=
508
 
for ac_option
509
 
do
510
 
  # If the previous option needs an argument, assign it.
511
 
  if test -n "$ac_prev"; then
512
 
    eval "$ac_prev=\$ac_option"
513
 
    ac_prev=
514
 
    continue
515
 
  fi
516
 
 
517
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
518
 
 
519
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
520
 
 
521
 
  case $ac_option in
522
 
 
523
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
524
 
    ac_prev=bindir ;;
525
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
526
 
    bindir=$ac_optarg ;;
527
 
 
528
 
  -build | --build | --buil | --bui | --bu)
529
 
    ac_prev=build_alias ;;
530
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
531
 
    build_alias=$ac_optarg ;;
532
 
 
533
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
534
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
535
 
    ac_prev=cache_file ;;
536
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
537
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
538
 
    cache_file=$ac_optarg ;;
539
 
 
540
 
  --config-cache | -C)
541
 
    cache_file=config.cache ;;
542
 
 
543
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
544
 
    ac_prev=datadir ;;
545
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
546
 
  | --da=*)
547
 
    datadir=$ac_optarg ;;
548
 
 
549
 
  -disable-* | --disable-*)
550
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
551
 
    # Reject names that are not valid shell variable names.
552
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
553
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
554
 
   { (exit 1); exit 1; }; }
555
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
556
 
    eval "enable_$ac_feature=no" ;;
557
 
 
558
 
  -enable-* | --enable-*)
559
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
560
 
    # Reject names that are not valid shell variable names.
561
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
562
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
563
 
   { (exit 1); exit 1; }; }
564
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
565
 
    case $ac_option in
566
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
567
 
      *) ac_optarg=yes ;;
568
 
    esac
569
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
570
 
 
571
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
572
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
573
 
  | --exec | --exe | --ex)
574
 
    ac_prev=exec_prefix ;;
575
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
576
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
577
 
  | --exec=* | --exe=* | --ex=*)
578
 
    exec_prefix=$ac_optarg ;;
579
 
 
580
 
  -gas | --gas | --ga | --g)
581
 
    # Obsolete; use --with-gas.
582
 
    with_gas=yes ;;
583
 
 
584
 
  -help | --help | --hel | --he | -h)
585
 
    ac_init_help=long ;;
586
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
587
 
    ac_init_help=recursive ;;
588
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
589
 
    ac_init_help=short ;;
590
 
 
591
 
  -host | --host | --hos | --ho)
592
 
    ac_prev=host_alias ;;
593
 
  -host=* | --host=* | --hos=* | --ho=*)
594
 
    host_alias=$ac_optarg ;;
595
 
 
596
 
  -includedir | --includedir | --includedi | --included | --include \
597
 
  | --includ | --inclu | --incl | --inc)
598
 
    ac_prev=includedir ;;
599
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
600
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
601
 
    includedir=$ac_optarg ;;
602
 
 
603
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
604
 
    ac_prev=infodir ;;
605
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
606
 
    infodir=$ac_optarg ;;
607
 
 
608
 
  -libdir | --libdir | --libdi | --libd)
609
 
    ac_prev=libdir ;;
610
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
611
 
    libdir=$ac_optarg ;;
612
 
 
613
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
614
 
  | --libexe | --libex | --libe)
615
 
    ac_prev=libexecdir ;;
616
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
617
 
  | --libexe=* | --libex=* | --libe=*)
618
 
    libexecdir=$ac_optarg ;;
619
 
 
620
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
621
 
  | --localstate | --localstat | --localsta | --localst \
622
 
  | --locals | --local | --loca | --loc | --lo)
623
 
    ac_prev=localstatedir ;;
624
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
625
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
626
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
627
 
    localstatedir=$ac_optarg ;;
628
 
 
629
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
630
 
    ac_prev=mandir ;;
631
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
632
 
    mandir=$ac_optarg ;;
633
 
 
634
 
  -nfp | --nfp | --nf)
635
 
    # Obsolete; use --without-fp.
636
 
    with_fp=no ;;
637
 
 
638
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
639
 
  | --no-cr | --no-c | -n)
640
 
    no_create=yes ;;
641
 
 
642
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
643
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
644
 
    no_recursion=yes ;;
645
 
 
646
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
647
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
648
 
  | --oldin | --oldi | --old | --ol | --o)
649
 
    ac_prev=oldincludedir ;;
650
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
651
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
652
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
653
 
    oldincludedir=$ac_optarg ;;
654
 
 
655
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
656
 
    ac_prev=prefix ;;
657
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
658
 
    prefix=$ac_optarg ;;
659
 
 
660
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
661
 
  | --program-pre | --program-pr | --program-p)
662
 
    ac_prev=program_prefix ;;
663
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
664
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
665
 
    program_prefix=$ac_optarg ;;
666
 
 
667
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
668
 
  | --program-suf | --program-su | --program-s)
669
 
    ac_prev=program_suffix ;;
670
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
671
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
672
 
    program_suffix=$ac_optarg ;;
673
 
 
674
 
  -program-transform-name | --program-transform-name \
675
 
  | --program-transform-nam | --program-transform-na \
676
 
  | --program-transform-n | --program-transform- \
677
 
  | --program-transform | --program-transfor \
678
 
  | --program-transfo | --program-transf \
679
 
  | --program-trans | --program-tran \
680
 
  | --progr-tra | --program-tr | --program-t)
681
 
    ac_prev=program_transform_name ;;
682
 
  -program-transform-name=* | --program-transform-name=* \
683
 
  | --program-transform-nam=* | --program-transform-na=* \
684
 
  | --program-transform-n=* | --program-transform-=* \
685
 
  | --program-transform=* | --program-transfor=* \
686
 
  | --program-transfo=* | --program-transf=* \
687
 
  | --program-trans=* | --program-tran=* \
688
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
689
 
    program_transform_name=$ac_optarg ;;
690
 
 
691
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
692
 
  | -silent | --silent | --silen | --sile | --sil)
693
 
    silent=yes ;;
694
 
 
695
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
696
 
    ac_prev=sbindir ;;
697
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
698
 
  | --sbi=* | --sb=*)
699
 
    sbindir=$ac_optarg ;;
700
 
 
701
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
702
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
703
 
  | --sharedst | --shareds | --shared | --share | --shar \
704
 
  | --sha | --sh)
705
 
    ac_prev=sharedstatedir ;;
706
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
707
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
708
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
709
 
  | --sha=* | --sh=*)
710
 
    sharedstatedir=$ac_optarg ;;
711
 
 
712
 
  -site | --site | --sit)
713
 
    ac_prev=site ;;
714
 
  -site=* | --site=* | --sit=*)
715
 
    site=$ac_optarg ;;
716
 
 
717
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
718
 
    ac_prev=srcdir ;;
719
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
720
 
    srcdir=$ac_optarg ;;
721
 
 
722
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
723
 
  | --syscon | --sysco | --sysc | --sys | --sy)
724
 
    ac_prev=sysconfdir ;;
725
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
726
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
727
 
    sysconfdir=$ac_optarg ;;
728
 
 
729
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
730
 
    ac_prev=target_alias ;;
731
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
732
 
    target_alias=$ac_optarg ;;
733
 
 
734
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
735
 
    verbose=yes ;;
736
 
 
737
 
  -version | --version | --versio | --versi | --vers | -V)
738
 
    ac_init_version=: ;;
739
 
 
740
 
  -with-* | --with-*)
741
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
742
 
    # Reject names that are not valid shell variable names.
743
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
744
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
745
 
   { (exit 1); exit 1; }; }
746
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
747
 
    case $ac_option in
748
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
749
 
      *) ac_optarg=yes ;;
750
 
    esac
751
 
    eval "with_$ac_package='$ac_optarg'" ;;
752
 
 
753
 
  -without-* | --without-*)
754
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
755
 
    # Reject names that are not valid shell variable names.
756
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
757
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
758
 
   { (exit 1); exit 1; }; }
759
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
760
 
    eval "with_$ac_package=no" ;;
761
 
 
762
 
  --x)
763
 
    # Obsolete; use --with-x.
764
 
    with_x=yes ;;
765
 
 
766
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
767
 
  | --x-incl | --x-inc | --x-in | --x-i)
768
 
    ac_prev=x_includes ;;
769
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
770
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
771
 
    x_includes=$ac_optarg ;;
772
 
 
773
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
774
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
775
 
    ac_prev=x_libraries ;;
776
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
777
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
778
 
    x_libraries=$ac_optarg ;;
779
 
 
780
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
781
 
Try \`$0 --help' for more information." >&2
782
 
   { (exit 1); exit 1; }; }
783
 
    ;;
784
 
 
785
 
  *=*)
786
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
787
 
    # Reject names that are not valid shell variable names.
788
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
789
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
790
 
   { (exit 1); exit 1; }; }
791
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
792
 
    eval "$ac_envvar='$ac_optarg'"
793
 
    export $ac_envvar ;;
794
 
 
795
 
  *)
796
 
    # FIXME: should be removed in autoconf 3.0.
797
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
798
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
799
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
800
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
801
 
    ;;
802
 
 
803
 
  esac
804
 
done
805
 
 
806
 
if test -n "$ac_prev"; then
807
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
808
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
809
 
   { (exit 1); exit 1; }; }
810
 
fi
811
 
 
812
 
# Be sure to have absolute paths.
813
 
for ac_var in exec_prefix prefix
814
 
do
815
 
  eval ac_val=$`echo $ac_var`
816
 
  case $ac_val in
817
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
818
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
819
 
   { (exit 1); exit 1; }; };;
820
 
  esac
821
 
done
822
 
 
823
 
# Be sure to have absolute paths.
824
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
825
 
              localstatedir libdir includedir oldincludedir infodir mandir
826
 
do
827
 
  eval ac_val=$`echo $ac_var`
828
 
  case $ac_val in
829
 
    [\\/$]* | ?:[\\/]* ) ;;
830
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
831
 
   { (exit 1); exit 1; }; };;
832
 
  esac
833
 
done
834
 
 
835
 
# There might be people who depend on the old broken behavior: `$host'
836
 
# used to hold the argument of --host etc.
837
 
# FIXME: To remove some day.
838
 
build=$build_alias
839
 
host=$host_alias
840
 
target=$target_alias
841
 
 
842
 
# FIXME: To remove some day.
843
 
if test "x$host_alias" != x; then
844
 
  if test "x$build_alias" = x; then
845
 
    cross_compiling=maybe
846
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
847
 
    If a cross compiler is detected then cross compile mode will be used." >&2
848
 
  elif test "x$build_alias" != "x$host_alias"; then
849
 
    cross_compiling=yes
850
 
  fi
851
 
fi
852
 
 
853
 
ac_tool_prefix=
854
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
855
 
 
856
 
test "$silent" = yes && exec 6>/dev/null
857
 
 
858
 
 
859
 
# Find the source files, if location was not specified.
860
 
if test -z "$srcdir"; then
861
 
  ac_srcdir_defaulted=yes
862
 
  # Try the directory containing this script, then its parent.
863
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
864
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
865
 
         X"$0" : 'X\(//\)[^/]' \| \
866
 
         X"$0" : 'X\(//\)$' \| \
867
 
         X"$0" : 'X\(/\)' \| \
868
 
         .     : '\(.\)' 2>/dev/null ||
869
 
echo X"$0" |
870
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
871
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
872
 
          /^X\(\/\/\)$/{ s//\1/; q; }
873
 
          /^X\(\/\).*/{ s//\1/; q; }
874
 
          s/.*/./; q'`
875
 
  srcdir=$ac_confdir
876
 
  if test ! -r $srcdir/$ac_unique_file; then
877
 
    srcdir=..
878
 
  fi
879
 
else
880
 
  ac_srcdir_defaulted=no
881
 
fi
882
 
if test ! -r $srcdir/$ac_unique_file; then
883
 
  if test "$ac_srcdir_defaulted" = yes; then
884
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
885
 
   { (exit 1); exit 1; }; }
886
 
  else
887
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
888
 
   { (exit 1); exit 1; }; }
889
 
  fi
890
 
fi
891
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
892
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
893
 
   { (exit 1); exit 1; }; }
894
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
895
 
ac_env_build_alias_set=${build_alias+set}
896
 
ac_env_build_alias_value=$build_alias
897
 
ac_cv_env_build_alias_set=${build_alias+set}
898
 
ac_cv_env_build_alias_value=$build_alias
899
 
ac_env_host_alias_set=${host_alias+set}
900
 
ac_env_host_alias_value=$host_alias
901
 
ac_cv_env_host_alias_set=${host_alias+set}
902
 
ac_cv_env_host_alias_value=$host_alias
903
 
ac_env_target_alias_set=${target_alias+set}
904
 
ac_env_target_alias_value=$target_alias
905
 
ac_cv_env_target_alias_set=${target_alias+set}
906
 
ac_cv_env_target_alias_value=$target_alias
907
 
ac_env_CC_set=${CC+set}
908
 
ac_env_CC_value=$CC
909
 
ac_cv_env_CC_set=${CC+set}
910
 
ac_cv_env_CC_value=$CC
911
 
ac_env_CFLAGS_set=${CFLAGS+set}
912
 
ac_env_CFLAGS_value=$CFLAGS
913
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
914
 
ac_cv_env_CFLAGS_value=$CFLAGS
915
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
916
 
ac_env_LDFLAGS_value=$LDFLAGS
917
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
918
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
919
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
920
 
ac_env_CPPFLAGS_value=$CPPFLAGS
921
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
922
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
923
 
ac_env_CPP_set=${CPP+set}
924
 
ac_env_CPP_value=$CPP
925
 
ac_cv_env_CPP_set=${CPP+set}
926
 
ac_cv_env_CPP_value=$CPP
927
 
ac_env_CXX_set=${CXX+set}
928
 
ac_env_CXX_value=$CXX
929
 
ac_cv_env_CXX_set=${CXX+set}
930
 
ac_cv_env_CXX_value=$CXX
931
 
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
932
 
ac_env_CXXFLAGS_value=$CXXFLAGS
933
 
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
934
 
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
935
 
ac_env_CXXCPP_set=${CXXCPP+set}
936
 
ac_env_CXXCPP_value=$CXXCPP
937
 
ac_cv_env_CXXCPP_set=${CXXCPP+set}
938
 
ac_cv_env_CXXCPP_value=$CXXCPP
939
 
ac_env_F77_set=${F77+set}
940
 
ac_env_F77_value=$F77
941
 
ac_cv_env_F77_set=${F77+set}
942
 
ac_cv_env_F77_value=$F77
943
 
ac_env_FFLAGS_set=${FFLAGS+set}
944
 
ac_env_FFLAGS_value=$FFLAGS
945
 
ac_cv_env_FFLAGS_set=${FFLAGS+set}
946
 
ac_cv_env_FFLAGS_value=$FFLAGS
947
 
 
948
 
#
949
 
# Report the --help message.
950
 
#
951
 
if test "$ac_init_help" = "long"; then
952
 
  # Omit some internal or obsolete options to make the list less imposing.
953
 
  # This message is too long to be a string in the A/UX 3.1 sh.
954
 
  cat <<_ACEOF
955
 
\`configure' configures crypto++ 5.2 to adapt to many kinds of systems.
956
 
 
957
 
Usage: $0 [OPTION]... [VAR=VALUE]...
958
 
 
959
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
960
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
961
 
 
962
 
Defaults for the options are specified in brackets.
963
 
 
964
 
Configuration:
965
 
  -h, --help              display this help and exit
966
 
      --help=short        display options specific to this package
967
 
      --help=recursive    display the short help of all the included packages
968
 
  -V, --version           display version information and exit
969
 
  -q, --quiet, --silent   do not print \`checking...' messages
970
 
      --cache-file=FILE   cache test results in FILE [disabled]
971
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
972
 
  -n, --no-create         do not create output files
973
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
974
 
 
975
 
_ACEOF
976
 
 
977
 
  cat <<_ACEOF
978
 
Installation directories:
979
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
980
 
                          [$ac_default_prefix]
981
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
982
 
                          [PREFIX]
983
 
 
984
 
By default, \`make install' will install all the files in
985
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
986
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
987
 
for instance \`--prefix=\$HOME'.
988
 
 
989
 
For better control, use the options below.
990
 
 
991
 
Fine tuning of the installation directories:
992
 
  --bindir=DIR           user executables [EPREFIX/bin]
993
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
994
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
995
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
996
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
997
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
998
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
999
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1000
 
  --includedir=DIR       C header files [PREFIX/include]
1001
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1002
 
  --infodir=DIR          info documentation [PREFIX/info]
1003
 
  --mandir=DIR           man documentation [PREFIX/man]
1004
 
_ACEOF
1005
 
 
1006
 
  cat <<\_ACEOF
1007
 
 
1008
 
Program names:
1009
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1010
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1011
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1012
 
 
1013
 
System types:
1014
 
  --build=BUILD     configure for building on BUILD [guessed]
1015
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1016
 
_ACEOF
1017
 
fi
1018
 
 
1019
 
if test -n "$ac_init_help"; then
1020
 
  case $ac_init_help in
1021
 
     short | recursive ) echo "Configuration of crypto++ 5.2:";;
1022
 
   esac
1023
 
  cat <<\_ACEOF
1024
 
 
1025
 
Optional Features:
1026
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1027
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1028
 
  --enable-maintainer-mode enable make rules and dependencies not useful
1029
 
                          (and sometimes confusing) to the casual installer
1030
 
  --disable-dependency-tracking Speeds up one-time builds
1031
 
  --enable-dependency-tracking  Do not reject slow dependency extractors
1032
 
  --enable-shared[=PKGS]
1033
 
                          build shared libraries [default=yes]
1034
 
  --enable-static[=PKGS]
1035
 
                          build static libraries [default=yes]
1036
 
  --enable-fast-install[=PKGS]
1037
 
                          optimize for fast installation [default=yes]
1038
 
  --disable-libtool-lock  avoid locking (might break parallel builds)
1039
 
 
1040
 
Optional Packages:
1041
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1042
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1043
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1044
 
  --with-pic              try to use only PIC/non-PIC objects [default=use
1045
 
                          both]
1046
 
  --with-tags[=TAGS]
1047
 
                          include additional configurations [automatic]
1048
 
 
1049
 
Some influential environment variables:
1050
 
  CC          C compiler command
1051
 
  CFLAGS      C compiler flags
1052
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1053
 
              nonstandard directory <lib dir>
1054
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1055
 
              headers in a nonstandard directory <include dir>
1056
 
  CPP         C preprocessor
1057
 
  CXX         C++ compiler command
1058
 
  CXXFLAGS    C++ compiler flags
1059
 
  CXXCPP      C++ preprocessor
1060
 
  F77         Fortran 77 compiler command
1061
 
  FFLAGS      Fortran 77 compiler flags
1062
 
 
1063
 
Use these variables to override the choices made by `configure' or to help
1064
 
it to find libraries and programs with nonstandard names/locations.
1065
 
 
1066
 
_ACEOF
1067
 
fi
1068
 
 
1069
 
if test "$ac_init_help" = "recursive"; then
1070
 
  # If there are subdirs, report their specific --help.
1071
 
  ac_popdir=`pwd`
1072
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1073
 
    test -d $ac_dir || continue
1074
 
    ac_builddir=.
1075
 
 
1076
 
if test "$ac_dir" != .; then
1077
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1078
 
  # A "../" for each directory in $ac_dir_suffix.
1079
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1080
 
else
1081
 
  ac_dir_suffix= ac_top_builddir=
1082
 
fi
1083
 
 
1084
 
case $srcdir in
1085
 
  .)  # No --srcdir option.  We are building in place.
1086
 
    ac_srcdir=.
1087
 
    if test -z "$ac_top_builddir"; then
1088
 
       ac_top_srcdir=.
1089
 
    else
1090
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1091
 
    fi ;;
1092
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
1093
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1094
 
    ac_top_srcdir=$srcdir ;;
1095
 
  *) # Relative path.
1096
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1097
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1098
 
esac
1099
 
 
1100
 
# Do not use `cd foo && pwd` to compute absolute paths, because
1101
 
# the directories may not exist.
1102
 
case `pwd` in
1103
 
.) ac_abs_builddir="$ac_dir";;
1104
 
*)
1105
 
  case "$ac_dir" in
1106
 
  .) ac_abs_builddir=`pwd`;;
1107
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1108
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1109
 
  esac;;
1110
 
esac
1111
 
case $ac_abs_builddir in
1112
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1113
 
*)
1114
 
  case ${ac_top_builddir}. in
1115
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
1116
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1117
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1118
 
  esac;;
1119
 
esac
1120
 
case $ac_abs_builddir in
1121
 
.) ac_abs_srcdir=$ac_srcdir;;
1122
 
*)
1123
 
  case $ac_srcdir in
1124
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
1125
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1126
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1127
 
  esac;;
1128
 
esac
1129
 
case $ac_abs_builddir in
1130
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1131
 
*)
1132
 
  case $ac_top_srcdir in
1133
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1134
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1135
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1136
 
  esac;;
1137
 
esac
1138
 
 
1139
 
    cd $ac_dir
1140
 
    # Check for guested configure; otherwise get Cygnus style configure.
1141
 
    if test -f $ac_srcdir/configure.gnu; then
1142
 
      echo
1143
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1144
 
    elif test -f $ac_srcdir/configure; then
1145
 
      echo
1146
 
      $SHELL $ac_srcdir/configure  --help=recursive
1147
 
    elif test -f $ac_srcdir/configure.ac ||
1148
 
           test -f $ac_srcdir/configure.in; then
1149
 
      echo
1150
 
      $ac_configure --help
1151
 
    else
1152
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1153
 
    fi
1154
 
    cd "$ac_popdir"
1155
 
  done
1156
 
fi
1157
 
 
1158
 
test -n "$ac_init_help" && exit 0
1159
 
if $ac_init_version; then
1160
 
  cat <<\_ACEOF
1161
 
crypto++ configure 5.2
1162
 
generated by GNU Autoconf 2.59
1163
 
 
1164
 
Copyright (C) 2003 Free Software Foundation, Inc.
1165
 
This configure script is free software; the Free Software Foundation
1166
 
gives unlimited permission to copy, distribute and modify it.
1167
 
_ACEOF
1168
 
  exit 0
1169
 
fi
1170
 
exec 5>config.log
1171
 
cat >&5 <<_ACEOF
1172
 
This file contains any messages produced by compilers while
1173
 
running configure, to aid debugging if configure makes a mistake.
1174
 
 
1175
 
It was created by crypto++ $as_me 5.2, which was
1176
 
generated by GNU Autoconf 2.59.  Invocation command line was
1177
 
 
1178
 
  $ $0 $@
1179
 
 
1180
 
_ACEOF
1181
 
{
1182
 
cat <<_ASUNAME
1183
 
## --------- ##
1184
 
## Platform. ##
1185
 
## --------- ##
1186
 
 
1187
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1188
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1189
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1190
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1191
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1192
 
 
1193
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1194
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1195
 
 
1196
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1197
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1198
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1199
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1200
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1201
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1202
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1203
 
 
1204
 
_ASUNAME
1205
 
 
1206
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1207
 
for as_dir in $PATH
1208
 
do
1209
 
  IFS=$as_save_IFS
1210
 
  test -z "$as_dir" && as_dir=.
1211
 
  echo "PATH: $as_dir"
1212
 
done
1213
 
 
1214
 
} >&5
1215
 
 
1216
 
cat >&5 <<_ACEOF
1217
 
 
1218
 
 
1219
 
## ----------- ##
1220
 
## Core tests. ##
1221
 
## ----------- ##
1222
 
 
1223
 
_ACEOF
1224
 
 
1225
 
 
1226
 
# Keep a trace of the command line.
1227
 
# Strip out --no-create and --no-recursion so they do not pile up.
1228
 
# Strip out --silent because we don't want to record it for future runs.
1229
 
# Also quote any args containing shell meta-characters.
1230
 
# Make two passes to allow for proper duplicate-argument suppression.
1231
 
ac_configure_args=
1232
 
ac_configure_args0=
1233
 
ac_configure_args1=
1234
 
ac_sep=
1235
 
ac_must_keep_next=false
1236
 
for ac_pass in 1 2
1237
 
do
1238
 
  for ac_arg
1239
 
  do
1240
 
    case $ac_arg in
1241
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1242
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1243
 
    | -silent | --silent | --silen | --sile | --sil)
1244
 
      continue ;;
1245
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1246
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1247
 
    esac
1248
 
    case $ac_pass in
1249
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1250
 
    2)
1251
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1252
 
      if test $ac_must_keep_next = true; then
1253
 
        ac_must_keep_next=false # Got value, back to normal.
1254
 
      else
1255
 
        case $ac_arg in
1256
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1257
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1258
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1259
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1260
 
            case "$ac_configure_args0 " in
1261
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1262
 
            esac
1263
 
            ;;
1264
 
          -* ) ac_must_keep_next=true ;;
1265
 
        esac
1266
 
      fi
1267
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1268
 
      # Get rid of the leading space.
1269
 
      ac_sep=" "
1270
 
      ;;
1271
 
    esac
1272
 
  done
1273
 
done
1274
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1275
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1276
 
 
1277
 
# When interrupted or exit'd, cleanup temporary files, and complete
1278
 
# config.log.  We remove comments because anyway the quotes in there
1279
 
# would cause problems or look ugly.
1280
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1281
 
# such as our DU 5.0 friend, will then `close' the trap.
1282
 
trap 'exit_status=$?
1283
 
  # Save into config.log some information that might help in debugging.
1284
 
  {
1285
 
    echo
1286
 
 
1287
 
    cat <<\_ASBOX
1288
 
## ---------------- ##
1289
 
## Cache variables. ##
1290
 
## ---------------- ##
1291
 
_ASBOX
1292
 
    echo
1293
 
    # The following way of writing the cache mishandles newlines in values,
1294
 
{
1295
 
  (set) 2>&1 |
1296
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1297
 
    *ac_space=\ *)
1298
 
      sed -n \
1299
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1300
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1301
 
      ;;
1302
 
    *)
1303
 
      sed -n \
1304
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1305
 
      ;;
1306
 
    esac;
1307
 
}
1308
 
    echo
1309
 
 
1310
 
    cat <<\_ASBOX
1311
 
## ----------------- ##
1312
 
## Output variables. ##
1313
 
## ----------------- ##
1314
 
_ASBOX
1315
 
    echo
1316
 
    for ac_var in $ac_subst_vars
1317
 
    do
1318
 
      eval ac_val=$`echo $ac_var`
1319
 
      echo "$ac_var='"'"'$ac_val'"'"'"
1320
 
    done | sort
1321
 
    echo
1322
 
 
1323
 
    if test -n "$ac_subst_files"; then
1324
 
      cat <<\_ASBOX
1325
 
## ------------- ##
1326
 
## Output files. ##
1327
 
## ------------- ##
1328
 
_ASBOX
1329
 
      echo
1330
 
      for ac_var in $ac_subst_files
1331
 
      do
1332
 
        eval ac_val=$`echo $ac_var`
1333
 
        echo "$ac_var='"'"'$ac_val'"'"'"
1334
 
      done | sort
1335
 
      echo
1336
 
    fi
1337
 
 
1338
 
    if test -s confdefs.h; then
1339
 
      cat <<\_ASBOX
1340
 
## ----------- ##
1341
 
## confdefs.h. ##
1342
 
## ----------- ##
1343
 
_ASBOX
1344
 
      echo
1345
 
      sed "/^$/d" confdefs.h | sort
1346
 
      echo
1347
 
    fi
1348
 
    test "$ac_signal" != 0 &&
1349
 
      echo "$as_me: caught signal $ac_signal"
1350
 
    echo "$as_me: exit $exit_status"
1351
 
  } >&5
1352
 
  rm -f core *.core &&
1353
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1354
 
    exit $exit_status
1355
 
     ' 0
1356
 
for ac_signal in 1 2 13 15; do
1357
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1358
 
done
1359
 
ac_signal=0
1360
 
 
1361
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1362
 
rm -rf conftest* confdefs.h
1363
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1364
 
echo >confdefs.h
1365
 
 
1366
 
# Predefined preprocessor variables.
1367
 
 
1368
 
cat >>confdefs.h <<_ACEOF
1369
 
#define PACKAGE_NAME "$PACKAGE_NAME"
1370
 
_ACEOF
1371
 
 
1372
 
 
1373
 
cat >>confdefs.h <<_ACEOF
1374
 
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1375
 
_ACEOF
1376
 
 
1377
 
 
1378
 
cat >>confdefs.h <<_ACEOF
1379
 
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1380
 
_ACEOF
1381
 
 
1382
 
 
1383
 
cat >>confdefs.h <<_ACEOF
1384
 
#define PACKAGE_STRING "$PACKAGE_STRING"
1385
 
_ACEOF
1386
 
 
1387
 
 
1388
 
cat >>confdefs.h <<_ACEOF
1389
 
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1390
 
_ACEOF
1391
 
 
1392
 
 
1393
 
# Let the site file select an alternate cache file if it wants to.
1394
 
# Prefer explicitly selected file to automatically selected ones.
1395
 
if test -z "$CONFIG_SITE"; then
1396
 
  if test "x$prefix" != xNONE; then
1397
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1398
 
  else
1399
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1400
 
  fi
1401
 
fi
1402
 
for ac_site_file in $CONFIG_SITE; do
1403
 
  if test -r "$ac_site_file"; then
1404
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1405
 
echo "$as_me: loading site script $ac_site_file" >&6;}
1406
 
    sed 's/^/| /' "$ac_site_file" >&5
1407
 
    . "$ac_site_file"
1408
 
  fi
1409
 
done
1410
 
 
1411
 
if test -r "$cache_file"; then
1412
 
  # Some versions of bash will fail to source /dev/null (special
1413
 
  # files actually), so we avoid doing that.
1414
 
  if test -f "$cache_file"; then
1415
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1416
 
echo "$as_me: loading cache $cache_file" >&6;}
1417
 
    case $cache_file in
1418
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1419
 
      *)                      . ./$cache_file;;
1420
 
    esac
1421
 
  fi
1422
 
else
1423
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1424
 
echo "$as_me: creating cache $cache_file" >&6;}
1425
 
  >$cache_file
1426
 
fi
1427
 
 
1428
 
# Check that the precious variables saved in the cache have kept the same
1429
 
# value.
1430
 
ac_cache_corrupted=false
1431
 
for ac_var in `(set) 2>&1 |
1432
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1433
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1434
 
  eval ac_new_set=\$ac_env_${ac_var}_set
1435
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1436
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
1437
 
  case $ac_old_set,$ac_new_set in
1438
 
    set,)
1439
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1440
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1441
 
      ac_cache_corrupted=: ;;
1442
 
    ,set)
1443
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1444
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1445
 
      ac_cache_corrupted=: ;;
1446
 
    ,);;
1447
 
    *)
1448
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
1449
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1450
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1451
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1452
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1453
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1454
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1455
 
        ac_cache_corrupted=:
1456
 
      fi;;
1457
 
  esac
1458
 
  # Pass precious variables to config.status.
1459
 
  if test "$ac_new_set" = set; then
1460
 
    case $ac_new_val in
1461
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1462
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1463
 
    *) ac_arg=$ac_var=$ac_new_val ;;
1464
 
    esac
1465
 
    case " $ac_configure_args " in
1466
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1467
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1468
 
    esac
1469
 
  fi
1470
 
done
1471
 
if $ac_cache_corrupted; then
1472
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1473
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1474
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1475
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1476
 
   { (exit 1); exit 1; }; }
1477
 
fi
1478
 
 
1479
 
ac_ext=c
1480
 
ac_cpp='$CPP $CPPFLAGS'
1481
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1482
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1483
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1484
 
 
1485
 
 
1486
 
 
1487
 
 
1488
 
 
1489
 
 
1490
 
 
1491
 
 
1492
 
 
1493
 
 
1494
 
 
1495
 
 
1496
 
 
1497
 
 
1498
 
 
1499
 
 
1500
 
 
1501
 
 
1502
 
 
1503
 
 
1504
 
 
1505
 
 
1506
 
 
1507
 
 
1508
 
 
1509
 
 
1510
 
 
1511
 
 
1512
 
am__api_version="1.7"
1513
 
ac_aux_dir=
1514
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1515
 
  if test -f $ac_dir/install-sh; then
1516
 
    ac_aux_dir=$ac_dir
1517
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
1518
 
    break
1519
 
  elif test -f $ac_dir/install.sh; then
1520
 
    ac_aux_dir=$ac_dir
1521
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
1522
 
    break
1523
 
  elif test -f $ac_dir/shtool; then
1524
 
    ac_aux_dir=$ac_dir
1525
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
1526
 
    break
1527
 
  fi
1528
 
done
1529
 
if test -z "$ac_aux_dir"; then
1530
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1531
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1532
 
   { (exit 1); exit 1; }; }
1533
 
fi
1534
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1535
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1536
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1537
 
 
1538
 
# Find a good install program.  We prefer a C program (faster),
1539
 
# so one script is as good as another.  But avoid the broken or
1540
 
# incompatible versions:
1541
 
# SysV /etc/install, /usr/sbin/install
1542
 
# SunOS /usr/etc/install
1543
 
# IRIX /sbin/install
1544
 
# AIX /bin/install
1545
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
1546
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1547
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1548
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1549
 
# OS/2's system install, which has a completely different semantic
1550
 
# ./install, which can be erroneously created by make from ./install.sh.
1551
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1552
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1553
 
if test -z "$INSTALL"; then
1554
 
if test "${ac_cv_path_install+set}" = set; then
1555
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1556
 
else
1557
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1558
 
for as_dir in $PATH
1559
 
do
1560
 
  IFS=$as_save_IFS
1561
 
  test -z "$as_dir" && as_dir=.
1562
 
  # Account for people who put trailing slashes in PATH elements.
1563
 
case $as_dir/ in
1564
 
  ./ | .// | /cC/* | \
1565
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1566
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1567
 
  /usr/ucb/* ) ;;
1568
 
  *)
1569
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
1570
 
    # Don't use installbsd from OSF since it installs stuff as root
1571
 
    # by default.
1572
 
    for ac_prog in ginstall scoinst install; do
1573
 
      for ac_exec_ext in '' $ac_executable_extensions; do
1574
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1575
 
          if test $ac_prog = install &&
1576
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1577
 
            # AIX install.  It has an incompatible calling convention.
1578
 
            :
1579
 
          elif test $ac_prog = install &&
1580
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1581
 
            # program-specific install script used by HP pwplus--don't use.
1582
 
            :
1583
 
          else
1584
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1585
 
            break 3
1586
 
          fi
1587
 
        fi
1588
 
      done
1589
 
    done
1590
 
    ;;
1591
 
esac
1592
 
done
1593
 
 
1594
 
 
1595
 
fi
1596
 
  if test "${ac_cv_path_install+set}" = set; then
1597
 
    INSTALL=$ac_cv_path_install
1598
 
  else
1599
 
    # As a last resort, use the slow shell script.  We don't cache a
1600
 
    # path for INSTALL within a source directory, because that will
1601
 
    # break other packages using the cache if that directory is
1602
 
    # removed, or if the path is relative.
1603
 
    INSTALL=$ac_install_sh
1604
 
  fi
1605
 
fi
1606
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1607
 
echo "${ECHO_T}$INSTALL" >&6
1608
 
 
1609
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1610
 
# It thinks the first close brace ends the variable substitution.
1611
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1612
 
 
1613
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1614
 
 
1615
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1616
 
 
1617
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1618
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1619
 
# Just in case
1620
 
sleep 1
1621
 
echo timestamp > conftest.file
1622
 
# Do `set' in a subshell so we don't clobber the current shell's
1623
 
# arguments.  Must try -L first in case configure is actually a
1624
 
# symlink; some systems play weird games with the mod time of symlinks
1625
 
# (eg FreeBSD returns the mod time of the symlink's containing
1626
 
# directory).
1627
 
if (
1628
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1629
 
   if test "$*" = "X"; then
1630
 
      # -L didn't work.
1631
 
      set X `ls -t $srcdir/configure conftest.file`
1632
 
   fi
1633
 
   rm -f conftest.file
1634
 
   if test "$*" != "X $srcdir/configure conftest.file" \
1635
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
1636
 
 
1637
 
      # If neither matched, then we have a broken ls.  This can happen
1638
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1639
 
      # broken ls alias from the environment.  This has actually
1640
 
      # happened.  Such a system could not be considered "sane".
1641
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1642
 
alias in your environment" >&5
1643
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1644
 
alias in your environment" >&2;}
1645
 
   { (exit 1); exit 1; }; }
1646
 
   fi
1647
 
 
1648
 
   test "$2" = conftest.file
1649
 
   )
1650
 
then
1651
 
   # Ok.
1652
 
   :
1653
 
else
1654
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1655
 
Check your system clock" >&5
1656
 
echo "$as_me: error: newly created file is older than distributed files!
1657
 
Check your system clock" >&2;}
1658
 
   { (exit 1); exit 1; }; }
1659
 
fi
1660
 
echo "$as_me:$LINENO: result: yes" >&5
1661
 
echo "${ECHO_T}yes" >&6
1662
 
test "$program_prefix" != NONE &&
1663
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
1664
 
# Use a double $ so make ignores it.
1665
 
test "$program_suffix" != NONE &&
1666
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1667
 
# Double any \ or $.  echo might interpret backslashes.
1668
 
# By default was `s,x,x', remove it if useless.
1669
 
cat <<\_ACEOF >conftest.sed
1670
 
s/[\\$]/&&/g;s/;s,x,x,$//
1671
 
_ACEOF
1672
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1673
 
rm conftest.sed
1674
 
 
1675
 
 
1676
 
# expand $ac_aux_dir to an absolute path
1677
 
am_aux_dir=`cd $ac_aux_dir && pwd`
1678
 
 
1679
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1680
 
# Use eval to expand $SHELL
1681
 
if eval "$MISSING --run true"; then
1682
 
  am_missing_run="$MISSING --run "
1683
 
else
1684
 
  am_missing_run=
1685
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1686
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1687
 
fi
1688
 
 
1689
 
for ac_prog in gawk mawk nawk awk
1690
 
do
1691
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1692
 
set dummy $ac_prog; ac_word=$2
1693
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1694
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1695
 
if test "${ac_cv_prog_AWK+set}" = set; then
1696
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1697
 
else
1698
 
  if test -n "$AWK"; then
1699
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1700
 
else
1701
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1702
 
for as_dir in $PATH
1703
 
do
1704
 
  IFS=$as_save_IFS
1705
 
  test -z "$as_dir" && as_dir=.
1706
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1707
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1708
 
    ac_cv_prog_AWK="$ac_prog"
1709
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1710
 
    break 2
1711
 
  fi
1712
 
done
1713
 
done
1714
 
 
1715
 
fi
1716
 
fi
1717
 
AWK=$ac_cv_prog_AWK
1718
 
if test -n "$AWK"; then
1719
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1720
 
echo "${ECHO_T}$AWK" >&6
1721
 
else
1722
 
  echo "$as_me:$LINENO: result: no" >&5
1723
 
echo "${ECHO_T}no" >&6
1724
 
fi
1725
 
 
1726
 
  test -n "$AWK" && break
1727
 
done
1728
 
 
1729
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1730
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1731
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1732
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1733
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1734
 
else
1735
 
  cat >conftest.make <<\_ACEOF
1736
 
all:
1737
 
        @echo 'ac_maketemp="$(MAKE)"'
1738
 
_ACEOF
1739
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1740
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1741
 
if test -n "$ac_maketemp"; then
1742
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1743
 
else
1744
 
  eval ac_cv_prog_make_${ac_make}_set=no
1745
 
fi
1746
 
rm -f conftest.make
1747
 
fi
1748
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1749
 
  echo "$as_me:$LINENO: result: yes" >&5
1750
 
echo "${ECHO_T}yes" >&6
1751
 
  SET_MAKE=
1752
 
else
1753
 
  echo "$as_me:$LINENO: result: no" >&5
1754
 
echo "${ECHO_T}no" >&6
1755
 
  SET_MAKE="MAKE=${MAKE-make}"
1756
 
fi
1757
 
 
1758
 
rm -rf .tst 2>/dev/null
1759
 
mkdir .tst 2>/dev/null
1760
 
if test -d .tst; then
1761
 
  am__leading_dot=.
1762
 
else
1763
 
  am__leading_dot=_
1764
 
fi
1765
 
rmdir .tst 2>/dev/null
1766
 
 
1767
 
 # test to see if srcdir already configured
1768
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1769
 
   test -f $srcdir/config.status; then
1770
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1771
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1772
 
   { (exit 1); exit 1; }; }
1773
 
fi
1774
 
 
1775
 
# test whether we have cygpath
1776
 
if test -z "$CYGPATH_W"; then
1777
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
1778
 
    CYGPATH_W='cygpath -w'
1779
 
  else
1780
 
    CYGPATH_W=echo
1781
 
  fi
1782
 
fi
1783
 
 
1784
 
 
1785
 
# Define the identity of the package.
1786
 
 PACKAGE='crypto--'
1787
 
 VERSION='5.2'
1788
 
 
1789
 
 
1790
 
# Some tools Automake needs.
1791
 
 
1792
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1793
 
 
1794
 
 
1795
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1796
 
 
1797
 
 
1798
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1799
 
 
1800
 
 
1801
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1802
 
 
1803
 
 
1804
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1805
 
 
1806
 
 
1807
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
1808
 
 
1809
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1810
 
 
1811
 
# Installed binaries are usually stripped using `strip' when the user
1812
 
# run `make install-strip'.  However `strip' might not be the right
1813
 
# tool to use in cross-compilation environments, therefore Automake
1814
 
# will honor the `STRIP' environment variable to overrule this program.
1815
 
if test "$cross_compiling" != no; then
1816
 
  if test -n "$ac_tool_prefix"; then
1817
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1818
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
1819
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1820
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1821
 
if test "${ac_cv_prog_STRIP+set}" = set; then
1822
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1823
 
else
1824
 
  if test -n "$STRIP"; then
1825
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1826
 
else
1827
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1828
 
for as_dir in $PATH
1829
 
do
1830
 
  IFS=$as_save_IFS
1831
 
  test -z "$as_dir" && as_dir=.
1832
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1833
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1834
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1835
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1836
 
    break 2
1837
 
  fi
1838
 
done
1839
 
done
1840
 
 
1841
 
fi
1842
 
fi
1843
 
STRIP=$ac_cv_prog_STRIP
1844
 
if test -n "$STRIP"; then
1845
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1846
 
echo "${ECHO_T}$STRIP" >&6
1847
 
else
1848
 
  echo "$as_me:$LINENO: result: no" >&5
1849
 
echo "${ECHO_T}no" >&6
1850
 
fi
1851
 
 
1852
 
fi
1853
 
if test -z "$ac_cv_prog_STRIP"; then
1854
 
  ac_ct_STRIP=$STRIP
1855
 
  # Extract the first word of "strip", so it can be a program name with args.
1856
 
set dummy strip; ac_word=$2
1857
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1858
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1859
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1860
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1861
 
else
1862
 
  if test -n "$ac_ct_STRIP"; then
1863
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1864
 
else
1865
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1866
 
for as_dir in $PATH
1867
 
do
1868
 
  IFS=$as_save_IFS
1869
 
  test -z "$as_dir" && as_dir=.
1870
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1871
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1872
 
    ac_cv_prog_ac_ct_STRIP="strip"
1873
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1874
 
    break 2
1875
 
  fi
1876
 
done
1877
 
done
1878
 
 
1879
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1880
 
fi
1881
 
fi
1882
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1883
 
if test -n "$ac_ct_STRIP"; then
1884
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1885
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
1886
 
else
1887
 
  echo "$as_me:$LINENO: result: no" >&5
1888
 
echo "${ECHO_T}no" >&6
1889
 
fi
1890
 
 
1891
 
  STRIP=$ac_ct_STRIP
1892
 
else
1893
 
  STRIP="$ac_cv_prog_STRIP"
1894
 
fi
1895
 
 
1896
 
fi
1897
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1898
 
 
1899
 
# We need awk for the "check" target.  The system "awk" is bad on
1900
 
# some platforms.
1901
 
 
1902
 
 
1903
 
 
1904
 
          ac_config_headers="$ac_config_headers cryptopp_config.h"
1905
 
 
1906
 
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1907
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1908
 
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1909
 
if test "${enable_maintainer_mode+set}" = set; then
1910
 
  enableval="$enable_maintainer_mode"
1911
 
  USE_MAINTAINER_MODE=$enableval
1912
 
else
1913
 
  USE_MAINTAINER_MODE=no
1914
 
fi;
1915
 
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1916
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1917
 
 
1918
 
 
1919
 
if test $USE_MAINTAINER_MODE = yes; then
1920
 
  MAINTAINER_MODE_TRUE=
1921
 
  MAINTAINER_MODE_FALSE='#'
1922
 
else
1923
 
  MAINTAINER_MODE_TRUE='#'
1924
 
  MAINTAINER_MODE_FALSE=
1925
 
fi
1926
 
 
1927
 
  MAINT=$MAINTAINER_MODE_TRUE
1928
 
 
1929
 
 
1930
 
 
1931
 
 
1932
 
DEPDIR="${am__leading_dot}deps"
1933
 
 
1934
 
          ac_config_commands="$ac_config_commands depfiles"
1935
 
 
1936
 
 
1937
 
am_make=${MAKE-make}
1938
 
cat > confinc << 'END'
1939
 
am__doit:
1940
 
        @echo done
1941
 
.PHONY: am__doit
1942
 
END
1943
 
# If we don't find an include directive, just comment out the code.
1944
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1945
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1946
 
am__include="#"
1947
 
am__quote=
1948
 
_am_result=none
1949
 
# First try GNU make style include.
1950
 
echo "include confinc" > confmf
1951
 
# We grep out `Entering directory' and `Leaving directory'
1952
 
# messages which can occur if `w' ends up in MAKEFLAGS.
1953
 
# In particular we don't look at `^make:' because GNU make might
1954
 
# be invoked under some other name (usually "gmake"), in which
1955
 
# case it prints its new name instead of `make'.
1956
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1957
 
   am__include=include
1958
 
   am__quote=
1959
 
   _am_result=GNU
1960
 
fi
1961
 
# Now try BSD make style include.
1962
 
if test "$am__include" = "#"; then
1963
 
   echo '.include "confinc"' > confmf
1964
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1965
 
      am__include=.include
1966
 
      am__quote="\""
1967
 
      _am_result=BSD
1968
 
   fi
1969
 
fi
1970
 
 
1971
 
 
1972
 
echo "$as_me:$LINENO: result: $_am_result" >&5
1973
 
echo "${ECHO_T}$_am_result" >&6
1974
 
rm -f confinc confmf
1975
 
 
1976
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1977
 
if test "${enable_dependency_tracking+set}" = set; then
1978
 
  enableval="$enable_dependency_tracking"
1979
 
 
1980
 
fi;
1981
 
if test "x$enable_dependency_tracking" != xno; then
1982
 
  am_depcomp="$ac_aux_dir/depcomp"
1983
 
  AMDEPBACKSLASH='\'
1984
 
fi
1985
 
 
1986
 
 
1987
 
if test "x$enable_dependency_tracking" != xno; then
1988
 
  AMDEP_TRUE=
1989
 
  AMDEP_FALSE='#'
1990
 
else
1991
 
  AMDEP_TRUE='#'
1992
 
  AMDEP_FALSE=
1993
 
fi
1994
 
 
1995
 
 
1996
 
 
1997
 
ac_ext=c
1998
 
ac_cpp='$CPP $CPPFLAGS'
1999
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2000
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2001
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2002
 
if test -n "$ac_tool_prefix"; then
2003
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2004
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2005
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2006
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2007
 
if test "${ac_cv_prog_CC+set}" = set; then
2008
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2009
 
else
2010
 
  if test -n "$CC"; then
2011
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2012
 
else
2013
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2014
 
for as_dir in $PATH
2015
 
do
2016
 
  IFS=$as_save_IFS
2017
 
  test -z "$as_dir" && as_dir=.
2018
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2019
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2020
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2021
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2022
 
    break 2
2023
 
  fi
2024
 
done
2025
 
done
2026
 
 
2027
 
fi
2028
 
fi
2029
 
CC=$ac_cv_prog_CC
2030
 
if test -n "$CC"; then
2031
 
  echo "$as_me:$LINENO: result: $CC" >&5
2032
 
echo "${ECHO_T}$CC" >&6
2033
 
else
2034
 
  echo "$as_me:$LINENO: result: no" >&5
2035
 
echo "${ECHO_T}no" >&6
2036
 
fi
2037
 
 
2038
 
fi
2039
 
if test -z "$ac_cv_prog_CC"; then
2040
 
  ac_ct_CC=$CC
2041
 
  # Extract the first word of "gcc", so it can be a program name with args.
2042
 
set dummy gcc; ac_word=$2
2043
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2044
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2045
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2046
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2047
 
else
2048
 
  if test -n "$ac_ct_CC"; then
2049
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2050
 
else
2051
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2052
 
for as_dir in $PATH
2053
 
do
2054
 
  IFS=$as_save_IFS
2055
 
  test -z "$as_dir" && as_dir=.
2056
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2057
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2058
 
    ac_cv_prog_ac_ct_CC="gcc"
2059
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2060
 
    break 2
2061
 
  fi
2062
 
done
2063
 
done
2064
 
 
2065
 
fi
2066
 
fi
2067
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2068
 
if test -n "$ac_ct_CC"; then
2069
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2070
 
echo "${ECHO_T}$ac_ct_CC" >&6
2071
 
else
2072
 
  echo "$as_me:$LINENO: result: no" >&5
2073
 
echo "${ECHO_T}no" >&6
2074
 
fi
2075
 
 
2076
 
  CC=$ac_ct_CC
2077
 
else
2078
 
  CC="$ac_cv_prog_CC"
2079
 
fi
2080
 
 
2081
 
if test -z "$CC"; then
2082
 
  if test -n "$ac_tool_prefix"; then
2083
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2084
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
2085
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2086
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2087
 
if test "${ac_cv_prog_CC+set}" = set; then
2088
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2089
 
else
2090
 
  if test -n "$CC"; then
2091
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2092
 
else
2093
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2094
 
for as_dir in $PATH
2095
 
do
2096
 
  IFS=$as_save_IFS
2097
 
  test -z "$as_dir" && as_dir=.
2098
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2099
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2100
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2101
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2102
 
    break 2
2103
 
  fi
2104
 
done
2105
 
done
2106
 
 
2107
 
fi
2108
 
fi
2109
 
CC=$ac_cv_prog_CC
2110
 
if test -n "$CC"; then
2111
 
  echo "$as_me:$LINENO: result: $CC" >&5
2112
 
echo "${ECHO_T}$CC" >&6
2113
 
else
2114
 
  echo "$as_me:$LINENO: result: no" >&5
2115
 
echo "${ECHO_T}no" >&6
2116
 
fi
2117
 
 
2118
 
fi
2119
 
if test -z "$ac_cv_prog_CC"; then
2120
 
  ac_ct_CC=$CC
2121
 
  # Extract the first word of "cc", so it can be a program name with args.
2122
 
set dummy cc; ac_word=$2
2123
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2124
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2125
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2126
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2127
 
else
2128
 
  if test -n "$ac_ct_CC"; then
2129
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2130
 
else
2131
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2132
 
for as_dir in $PATH
2133
 
do
2134
 
  IFS=$as_save_IFS
2135
 
  test -z "$as_dir" && as_dir=.
2136
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2137
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2138
 
    ac_cv_prog_ac_ct_CC="cc"
2139
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2140
 
    break 2
2141
 
  fi
2142
 
done
2143
 
done
2144
 
 
2145
 
fi
2146
 
fi
2147
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2148
 
if test -n "$ac_ct_CC"; then
2149
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2150
 
echo "${ECHO_T}$ac_ct_CC" >&6
2151
 
else
2152
 
  echo "$as_me:$LINENO: result: no" >&5
2153
 
echo "${ECHO_T}no" >&6
2154
 
fi
2155
 
 
2156
 
  CC=$ac_ct_CC
2157
 
else
2158
 
  CC="$ac_cv_prog_CC"
2159
 
fi
2160
 
 
2161
 
fi
2162
 
if test -z "$CC"; then
2163
 
  # Extract the first word of "cc", so it can be a program name with args.
2164
 
set dummy cc; ac_word=$2
2165
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2166
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2167
 
if test "${ac_cv_prog_CC+set}" = set; then
2168
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2169
 
else
2170
 
  if test -n "$CC"; then
2171
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2172
 
else
2173
 
  ac_prog_rejected=no
2174
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2175
 
for as_dir in $PATH
2176
 
do
2177
 
  IFS=$as_save_IFS
2178
 
  test -z "$as_dir" && as_dir=.
2179
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2180
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2181
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2182
 
       ac_prog_rejected=yes
2183
 
       continue
2184
 
     fi
2185
 
    ac_cv_prog_CC="cc"
2186
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2187
 
    break 2
2188
 
  fi
2189
 
done
2190
 
done
2191
 
 
2192
 
if test $ac_prog_rejected = yes; then
2193
 
  # We found a bogon in the path, so make sure we never use it.
2194
 
  set dummy $ac_cv_prog_CC
2195
 
  shift
2196
 
  if test $# != 0; then
2197
 
    # We chose a different compiler from the bogus one.
2198
 
    # However, it has the same basename, so the bogon will be chosen
2199
 
    # first if we set CC to just the basename; use the full file name.
2200
 
    shift
2201
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2202
 
  fi
2203
 
fi
2204
 
fi
2205
 
fi
2206
 
CC=$ac_cv_prog_CC
2207
 
if test -n "$CC"; then
2208
 
  echo "$as_me:$LINENO: result: $CC" >&5
2209
 
echo "${ECHO_T}$CC" >&6
2210
 
else
2211
 
  echo "$as_me:$LINENO: result: no" >&5
2212
 
echo "${ECHO_T}no" >&6
2213
 
fi
2214
 
 
2215
 
fi
2216
 
if test -z "$CC"; then
2217
 
  if test -n "$ac_tool_prefix"; then
2218
 
  for ac_prog in cl
2219
 
  do
2220
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2221
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2222
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2223
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2224
 
if test "${ac_cv_prog_CC+set}" = set; then
2225
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2226
 
else
2227
 
  if test -n "$CC"; then
2228
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2229
 
else
2230
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2231
 
for as_dir in $PATH
2232
 
do
2233
 
  IFS=$as_save_IFS
2234
 
  test -z "$as_dir" && as_dir=.
2235
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2236
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2237
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2238
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2239
 
    break 2
2240
 
  fi
2241
 
done
2242
 
done
2243
 
 
2244
 
fi
2245
 
fi
2246
 
CC=$ac_cv_prog_CC
2247
 
if test -n "$CC"; then
2248
 
  echo "$as_me:$LINENO: result: $CC" >&5
2249
 
echo "${ECHO_T}$CC" >&6
2250
 
else
2251
 
  echo "$as_me:$LINENO: result: no" >&5
2252
 
echo "${ECHO_T}no" >&6
2253
 
fi
2254
 
 
2255
 
    test -n "$CC" && break
2256
 
  done
2257
 
fi
2258
 
if test -z "$CC"; then
2259
 
  ac_ct_CC=$CC
2260
 
  for ac_prog in cl
2261
 
do
2262
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2263
 
set dummy $ac_prog; ac_word=$2
2264
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2265
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2266
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2267
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2268
 
else
2269
 
  if test -n "$ac_ct_CC"; then
2270
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2271
 
else
2272
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2273
 
for as_dir in $PATH
2274
 
do
2275
 
  IFS=$as_save_IFS
2276
 
  test -z "$as_dir" && as_dir=.
2277
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2278
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2279
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
2280
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2281
 
    break 2
2282
 
  fi
2283
 
done
2284
 
done
2285
 
 
2286
 
fi
2287
 
fi
2288
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2289
 
if test -n "$ac_ct_CC"; then
2290
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2291
 
echo "${ECHO_T}$ac_ct_CC" >&6
2292
 
else
2293
 
  echo "$as_me:$LINENO: result: no" >&5
2294
 
echo "${ECHO_T}no" >&6
2295
 
fi
2296
 
 
2297
 
  test -n "$ac_ct_CC" && break
2298
 
done
2299
 
 
2300
 
  CC=$ac_ct_CC
2301
 
fi
2302
 
 
2303
 
fi
2304
 
 
2305
 
 
2306
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2307
 
See \`config.log' for more details." >&5
2308
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
2309
 
See \`config.log' for more details." >&2;}
2310
 
   { (exit 1); exit 1; }; }
2311
 
 
2312
 
# Provide some information about the compiler.
2313
 
echo "$as_me:$LINENO:" \
2314
 
     "checking for C compiler version" >&5
2315
 
ac_compiler=`set X $ac_compile; echo $2`
2316
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2317
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2318
 
  ac_status=$?
2319
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2320
 
  (exit $ac_status); }
2321
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2322
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2323
 
  ac_status=$?
2324
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325
 
  (exit $ac_status); }
2326
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2327
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
2328
 
  ac_status=$?
2329
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330
 
  (exit $ac_status); }
2331
 
 
2332
 
cat >conftest.$ac_ext <<_ACEOF
2333
 
/* confdefs.h.  */
2334
 
_ACEOF
2335
 
cat confdefs.h >>conftest.$ac_ext
2336
 
cat >>conftest.$ac_ext <<_ACEOF
2337
 
/* end confdefs.h.  */
2338
 
 
2339
 
int
2340
 
main ()
2341
 
{
2342
 
 
2343
 
  ;
2344
 
  return 0;
2345
 
}
2346
 
_ACEOF
2347
 
ac_clean_files_save=$ac_clean_files
2348
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2349
 
# Try to create an executable without -o first, disregard a.out.
2350
 
# It will help us diagnose broken compilers, and finding out an intuition
2351
 
# of exeext.
2352
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2353
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2354
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2355
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2356
 
  (eval $ac_link_default) 2>&5
2357
 
  ac_status=$?
2358
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359
 
  (exit $ac_status); }; then
2360
 
  # Find the output, starting from the most likely.  This scheme is
2361
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2362
 
# resort.
2363
 
 
2364
 
# Be careful to initialize this variable, since it used to be cached.
2365
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2366
 
ac_cv_exeext=
2367
 
# b.out is created by i960 compilers.
2368
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2369
 
do
2370
 
  test -f "$ac_file" || continue
2371
 
  case $ac_file in
2372
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2373
 
        ;;
2374
 
    conftest.$ac_ext )
2375
 
        # This is the source file.
2376
 
        ;;
2377
 
    [ab].out )
2378
 
        # We found the default executable, but exeext='' is most
2379
 
        # certainly right.
2380
 
        break;;
2381
 
    *.* )
2382
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2383
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2384
 
        # but it would be cool to find out if it's true.  Does anybody
2385
 
        # maintain Libtool? --akim.
2386
 
        export ac_cv_exeext
2387
 
        break;;
2388
 
    * )
2389
 
        break;;
2390
 
  esac
2391
 
done
2392
 
else
2393
 
  echo "$as_me: failed program was:" >&5
2394
 
sed 's/^/| /' conftest.$ac_ext >&5
2395
 
 
2396
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2397
 
See \`config.log' for more details." >&5
2398
 
echo "$as_me: error: C compiler cannot create executables
2399
 
See \`config.log' for more details." >&2;}
2400
 
   { (exit 77); exit 77; }; }
2401
 
fi
2402
 
 
2403
 
ac_exeext=$ac_cv_exeext
2404
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2405
 
echo "${ECHO_T}$ac_file" >&6
2406
 
 
2407
 
# Check the compiler produces executables we can run.  If not, either
2408
 
# the compiler is broken, or we cross compile.
2409
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2410
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2411
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2412
 
# If not cross compiling, check that we can run a simple program.
2413
 
if test "$cross_compiling" != yes; then
2414
 
  if { ac_try='./$ac_file'
2415
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2416
 
  (eval $ac_try) 2>&5
2417
 
  ac_status=$?
2418
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2419
 
  (exit $ac_status); }; }; then
2420
 
    cross_compiling=no
2421
 
  else
2422
 
    if test "$cross_compiling" = maybe; then
2423
 
        cross_compiling=yes
2424
 
    else
2425
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2426
 
If you meant to cross compile, use \`--host'.
2427
 
See \`config.log' for more details." >&5
2428
 
echo "$as_me: error: cannot run C compiled programs.
2429
 
If you meant to cross compile, use \`--host'.
2430
 
See \`config.log' for more details." >&2;}
2431
 
   { (exit 1); exit 1; }; }
2432
 
    fi
2433
 
  fi
2434
 
fi
2435
 
echo "$as_me:$LINENO: result: yes" >&5
2436
 
echo "${ECHO_T}yes" >&6
2437
 
 
2438
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2439
 
ac_clean_files=$ac_clean_files_save
2440
 
# Check the compiler produces executables we can run.  If not, either
2441
 
# the compiler is broken, or we cross compile.
2442
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2443
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2444
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2445
 
echo "${ECHO_T}$cross_compiling" >&6
2446
 
 
2447
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2448
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2449
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2450
 
  (eval $ac_link) 2>&5
2451
 
  ac_status=$?
2452
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2453
 
  (exit $ac_status); }; then
2454
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2455
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2456
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
2457
 
# `rm'.
2458
 
for ac_file in conftest.exe conftest conftest.*; do
2459
 
  test -f "$ac_file" || continue
2460
 
  case $ac_file in
2461
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2462
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2463
 
          export ac_cv_exeext
2464
 
          break;;
2465
 
    * ) break;;
2466
 
  esac
2467
 
done
2468
 
else
2469
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2470
 
See \`config.log' for more details." >&5
2471
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2472
 
See \`config.log' for more details." >&2;}
2473
 
   { (exit 1); exit 1; }; }
2474
 
fi
2475
 
 
2476
 
rm -f conftest$ac_cv_exeext
2477
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2478
 
echo "${ECHO_T}$ac_cv_exeext" >&6
2479
 
 
2480
 
rm -f conftest.$ac_ext
2481
 
EXEEXT=$ac_cv_exeext
2482
 
ac_exeext=$EXEEXT
2483
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2484
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2485
 
if test "${ac_cv_objext+set}" = set; then
2486
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2487
 
else
2488
 
  cat >conftest.$ac_ext <<_ACEOF
2489
 
/* confdefs.h.  */
2490
 
_ACEOF
2491
 
cat confdefs.h >>conftest.$ac_ext
2492
 
cat >>conftest.$ac_ext <<_ACEOF
2493
 
/* end confdefs.h.  */
2494
 
 
2495
 
int
2496
 
main ()
2497
 
{
2498
 
 
2499
 
  ;
2500
 
  return 0;
2501
 
}
2502
 
_ACEOF
2503
 
rm -f conftest.o conftest.obj
2504
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2505
 
  (eval $ac_compile) 2>&5
2506
 
  ac_status=$?
2507
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508
 
  (exit $ac_status); }; then
2509
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2510
 
  case $ac_file in
2511
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2512
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2513
 
       break;;
2514
 
  esac
2515
 
done
2516
 
else
2517
 
  echo "$as_me: failed program was:" >&5
2518
 
sed 's/^/| /' conftest.$ac_ext >&5
2519
 
 
2520
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2521
 
See \`config.log' for more details." >&5
2522
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2523
 
See \`config.log' for more details." >&2;}
2524
 
   { (exit 1); exit 1; }; }
2525
 
fi
2526
 
 
2527
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2528
 
fi
2529
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2530
 
echo "${ECHO_T}$ac_cv_objext" >&6
2531
 
OBJEXT=$ac_cv_objext
2532
 
ac_objext=$OBJEXT
2533
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2534
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2535
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2536
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2537
 
else
2538
 
  cat >conftest.$ac_ext <<_ACEOF
2539
 
/* confdefs.h.  */
2540
 
_ACEOF
2541
 
cat confdefs.h >>conftest.$ac_ext
2542
 
cat >>conftest.$ac_ext <<_ACEOF
2543
 
/* end confdefs.h.  */
2544
 
 
2545
 
int
2546
 
main ()
2547
 
{
2548
 
#ifndef __GNUC__
2549
 
       choke me
2550
 
#endif
2551
 
 
2552
 
  ;
2553
 
  return 0;
2554
 
}
2555
 
_ACEOF
2556
 
rm -f conftest.$ac_objext
2557
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2558
 
  (eval $ac_compile) 2>conftest.er1
2559
 
  ac_status=$?
2560
 
  grep -v '^ *+' conftest.er1 >conftest.err
2561
 
  rm -f conftest.er1
2562
 
  cat conftest.err >&5
2563
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564
 
  (exit $ac_status); } &&
2565
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2566
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2567
 
  (eval $ac_try) 2>&5
2568
 
  ac_status=$?
2569
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570
 
  (exit $ac_status); }; } &&
2571
 
         { ac_try='test -s conftest.$ac_objext'
2572
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2573
 
  (eval $ac_try) 2>&5
2574
 
  ac_status=$?
2575
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2576
 
  (exit $ac_status); }; }; then
2577
 
  ac_compiler_gnu=yes
2578
 
else
2579
 
  echo "$as_me: failed program was:" >&5
2580
 
sed 's/^/| /' conftest.$ac_ext >&5
2581
 
 
2582
 
ac_compiler_gnu=no
2583
 
fi
2584
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2585
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2586
 
 
2587
 
fi
2588
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2589
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2590
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
2591
 
ac_test_CFLAGS=${CFLAGS+set}
2592
 
ac_save_CFLAGS=$CFLAGS
2593
 
CFLAGS="-g"
2594
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2595
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2596
 
if test "${ac_cv_prog_cc_g+set}" = set; then
2597
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2598
 
else
2599
 
  cat >conftest.$ac_ext <<_ACEOF
2600
 
/* confdefs.h.  */
2601
 
_ACEOF
2602
 
cat confdefs.h >>conftest.$ac_ext
2603
 
cat >>conftest.$ac_ext <<_ACEOF
2604
 
/* end confdefs.h.  */
2605
 
 
2606
 
int
2607
 
main ()
2608
 
{
2609
 
 
2610
 
  ;
2611
 
  return 0;
2612
 
}
2613
 
_ACEOF
2614
 
rm -f conftest.$ac_objext
2615
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2616
 
  (eval $ac_compile) 2>conftest.er1
2617
 
  ac_status=$?
2618
 
  grep -v '^ *+' conftest.er1 >conftest.err
2619
 
  rm -f conftest.er1
2620
 
  cat conftest.err >&5
2621
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2622
 
  (exit $ac_status); } &&
2623
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2624
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2625
 
  (eval $ac_try) 2>&5
2626
 
  ac_status=$?
2627
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628
 
  (exit $ac_status); }; } &&
2629
 
         { ac_try='test -s conftest.$ac_objext'
2630
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2631
 
  (eval $ac_try) 2>&5
2632
 
  ac_status=$?
2633
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2634
 
  (exit $ac_status); }; }; then
2635
 
  ac_cv_prog_cc_g=yes
2636
 
else
2637
 
  echo "$as_me: failed program was:" >&5
2638
 
sed 's/^/| /' conftest.$ac_ext >&5
2639
 
 
2640
 
ac_cv_prog_cc_g=no
2641
 
fi
2642
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2643
 
fi
2644
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2645
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2646
 
if test "$ac_test_CFLAGS" = set; then
2647
 
  CFLAGS=$ac_save_CFLAGS
2648
 
elif test $ac_cv_prog_cc_g = yes; then
2649
 
  if test "$GCC" = yes; then
2650
 
    CFLAGS="-g -O2"
2651
 
  else
2652
 
    CFLAGS="-g"
2653
 
  fi
2654
 
else
2655
 
  if test "$GCC" = yes; then
2656
 
    CFLAGS="-O2"
2657
 
  else
2658
 
    CFLAGS=
2659
 
  fi
2660
 
fi
2661
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2662
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2663
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2664
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2665
 
else
2666
 
  ac_cv_prog_cc_stdc=no
2667
 
ac_save_CC=$CC
2668
 
cat >conftest.$ac_ext <<_ACEOF
2669
 
/* confdefs.h.  */
2670
 
_ACEOF
2671
 
cat confdefs.h >>conftest.$ac_ext
2672
 
cat >>conftest.$ac_ext <<_ACEOF
2673
 
/* end confdefs.h.  */
2674
 
#include <stdarg.h>
2675
 
#include <stdio.h>
2676
 
#include <sys/types.h>
2677
 
#include <sys/stat.h>
2678
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2679
 
struct buf { int x; };
2680
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2681
 
static char *e (p, i)
2682
 
     char **p;
2683
 
     int i;
2684
 
{
2685
 
  return p[i];
2686
 
}
2687
 
static char *f (char * (*g) (char **, int), char **p, ...)
2688
 
{
2689
 
  char *s;
2690
 
  va_list v;
2691
 
  va_start (v,p);
2692
 
  s = g (p, va_arg (v,int));
2693
 
  va_end (v);
2694
 
  return s;
2695
 
}
2696
 
 
2697
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2698
 
   function prototypes and stuff, but not '\xHH' hex character constants.
2699
 
   These don't provoke an error unfortunately, instead are silently treated
2700
 
   as 'x'.  The following induces an error, until -std1 is added to get
2701
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2702
 
   array size at least.  It's necessary to write '\x00'==0 to get something
2703
 
   that's true only with -std1.  */
2704
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2705
 
 
2706
 
int test (int i, double x);
2707
 
struct s1 {int (*f) (int a);};
2708
 
struct s2 {int (*f) (double a);};
2709
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2710
 
int argc;
2711
 
char **argv;
2712
 
int
2713
 
main ()
2714
 
{
2715
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2716
 
  ;
2717
 
  return 0;
2718
 
}
2719
 
_ACEOF
2720
 
# Don't try gcc -ansi; that turns off useful extensions and
2721
 
# breaks some systems' header files.
2722
 
# AIX                   -qlanglvl=ansi
2723
 
# Ultrix and OSF/1      -std1
2724
 
# HP-UX 10.20 and later -Ae
2725
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2726
 
# SVR4                  -Xc -D__EXTENSIONS__
2727
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2728
 
do
2729
 
  CC="$ac_save_CC $ac_arg"
2730
 
  rm -f conftest.$ac_objext
2731
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2732
 
  (eval $ac_compile) 2>conftest.er1
2733
 
  ac_status=$?
2734
 
  grep -v '^ *+' conftest.er1 >conftest.err
2735
 
  rm -f conftest.er1
2736
 
  cat conftest.err >&5
2737
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738
 
  (exit $ac_status); } &&
2739
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2740
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2741
 
  (eval $ac_try) 2>&5
2742
 
  ac_status=$?
2743
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2744
 
  (exit $ac_status); }; } &&
2745
 
         { ac_try='test -s conftest.$ac_objext'
2746
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2747
 
  (eval $ac_try) 2>&5
2748
 
  ac_status=$?
2749
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750
 
  (exit $ac_status); }; }; then
2751
 
  ac_cv_prog_cc_stdc=$ac_arg
2752
 
break
2753
 
else
2754
 
  echo "$as_me: failed program was:" >&5
2755
 
sed 's/^/| /' conftest.$ac_ext >&5
2756
 
 
2757
 
fi
2758
 
rm -f conftest.err conftest.$ac_objext
2759
 
done
2760
 
rm -f conftest.$ac_ext conftest.$ac_objext
2761
 
CC=$ac_save_CC
2762
 
 
2763
 
fi
2764
 
 
2765
 
case "x$ac_cv_prog_cc_stdc" in
2766
 
  x|xno)
2767
 
    echo "$as_me:$LINENO: result: none needed" >&5
2768
 
echo "${ECHO_T}none needed" >&6 ;;
2769
 
  *)
2770
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2771
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2772
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
2773
 
esac
2774
 
 
2775
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2776
 
# in C++ we need to declare it.  In case someone uses the same compiler
2777
 
# for both compiling C and C++ we need to have the C++ compiler decide
2778
 
# the declaration of exit, since it's the most demanding environment.
2779
 
cat >conftest.$ac_ext <<_ACEOF
2780
 
#ifndef __cplusplus
2781
 
  choke me
2782
 
#endif
2783
 
_ACEOF
2784
 
rm -f conftest.$ac_objext
2785
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2786
 
  (eval $ac_compile) 2>conftest.er1
2787
 
  ac_status=$?
2788
 
  grep -v '^ *+' conftest.er1 >conftest.err
2789
 
  rm -f conftest.er1
2790
 
  cat conftest.err >&5
2791
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792
 
  (exit $ac_status); } &&
2793
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2794
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2795
 
  (eval $ac_try) 2>&5
2796
 
  ac_status=$?
2797
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798
 
  (exit $ac_status); }; } &&
2799
 
         { ac_try='test -s conftest.$ac_objext'
2800
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2801
 
  (eval $ac_try) 2>&5
2802
 
  ac_status=$?
2803
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804
 
  (exit $ac_status); }; }; then
2805
 
  for ac_declaration in \
2806
 
   '' \
2807
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2808
 
   'extern "C" void std::exit (int); using std::exit;' \
2809
 
   'extern "C" void exit (int) throw ();' \
2810
 
   'extern "C" void exit (int);' \
2811
 
   'void exit (int);'
2812
 
do
2813
 
  cat >conftest.$ac_ext <<_ACEOF
2814
 
/* confdefs.h.  */
2815
 
_ACEOF
2816
 
cat confdefs.h >>conftest.$ac_ext
2817
 
cat >>conftest.$ac_ext <<_ACEOF
2818
 
/* end confdefs.h.  */
2819
 
$ac_declaration
2820
 
#include <stdlib.h>
2821
 
int
2822
 
main ()
2823
 
{
2824
 
exit (42);
2825
 
  ;
2826
 
  return 0;
2827
 
}
2828
 
_ACEOF
2829
 
rm -f conftest.$ac_objext
2830
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2831
 
  (eval $ac_compile) 2>conftest.er1
2832
 
  ac_status=$?
2833
 
  grep -v '^ *+' conftest.er1 >conftest.err
2834
 
  rm -f conftest.er1
2835
 
  cat conftest.err >&5
2836
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837
 
  (exit $ac_status); } &&
2838
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2839
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2840
 
  (eval $ac_try) 2>&5
2841
 
  ac_status=$?
2842
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843
 
  (exit $ac_status); }; } &&
2844
 
         { ac_try='test -s conftest.$ac_objext'
2845
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2846
 
  (eval $ac_try) 2>&5
2847
 
  ac_status=$?
2848
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849
 
  (exit $ac_status); }; }; then
2850
 
  :
2851
 
else
2852
 
  echo "$as_me: failed program was:" >&5
2853
 
sed 's/^/| /' conftest.$ac_ext >&5
2854
 
 
2855
 
continue
2856
 
fi
2857
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2858
 
  cat >conftest.$ac_ext <<_ACEOF
2859
 
/* confdefs.h.  */
2860
 
_ACEOF
2861
 
cat confdefs.h >>conftest.$ac_ext
2862
 
cat >>conftest.$ac_ext <<_ACEOF
2863
 
/* end confdefs.h.  */
2864
 
$ac_declaration
2865
 
int
2866
 
main ()
2867
 
{
2868
 
exit (42);
2869
 
  ;
2870
 
  return 0;
2871
 
}
2872
 
_ACEOF
2873
 
rm -f conftest.$ac_objext
2874
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2875
 
  (eval $ac_compile) 2>conftest.er1
2876
 
  ac_status=$?
2877
 
  grep -v '^ *+' conftest.er1 >conftest.err
2878
 
  rm -f conftest.er1
2879
 
  cat conftest.err >&5
2880
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881
 
  (exit $ac_status); } &&
2882
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2883
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2884
 
  (eval $ac_try) 2>&5
2885
 
  ac_status=$?
2886
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887
 
  (exit $ac_status); }; } &&
2888
 
         { ac_try='test -s conftest.$ac_objext'
2889
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2890
 
  (eval $ac_try) 2>&5
2891
 
  ac_status=$?
2892
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893
 
  (exit $ac_status); }; }; then
2894
 
  break
2895
 
else
2896
 
  echo "$as_me: failed program was:" >&5
2897
 
sed 's/^/| /' conftest.$ac_ext >&5
2898
 
 
2899
 
fi
2900
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2901
 
done
2902
 
rm -f conftest*
2903
 
if test -n "$ac_declaration"; then
2904
 
  echo '#ifdef __cplusplus' >>confdefs.h
2905
 
  echo $ac_declaration      >>confdefs.h
2906
 
  echo '#endif'             >>confdefs.h
2907
 
fi
2908
 
 
2909
 
else
2910
 
  echo "$as_me: failed program was:" >&5
2911
 
sed 's/^/| /' conftest.$ac_ext >&5
2912
 
 
2913
 
fi
2914
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2915
 
ac_ext=c
2916
 
ac_cpp='$CPP $CPPFLAGS'
2917
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2918
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2919
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2920
 
 
2921
 
depcc="$CC"   am_compiler_list=
2922
 
 
2923
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2924
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2925
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2926
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2927
 
else
2928
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2929
 
  # We make a subdir and do the tests there.  Otherwise we can end up
2930
 
  # making bogus files that we don't know about and never remove.  For
2931
 
  # instance it was reported that on HP-UX the gcc test will end up
2932
 
  # making a dummy file named `D' -- because `-MD' means `put the output
2933
 
  # in D'.
2934
 
  mkdir conftest.dir
2935
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
2936
 
  # using a relative directory.
2937
 
  cp "$am_depcomp" conftest.dir
2938
 
  cd conftest.dir
2939
 
  # We will build objects and dependencies in a subdirectory because
2940
 
  # it helps to detect inapplicable dependency modes.  For instance
2941
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
2942
 
  # side effect of compilation, but ICC will put the dependencies in
2943
 
  # the current directory while Tru64 will put them in the object
2944
 
  # directory.
2945
 
  mkdir sub
2946
 
 
2947
 
  am_cv_CC_dependencies_compiler_type=none
2948
 
  if test "$am_compiler_list" = ""; then
2949
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2950
 
  fi
2951
 
  for depmode in $am_compiler_list; do
2952
 
    # Setup a source with many dependencies, because some compilers
2953
 
    # like to wrap large dependency lists on column 80 (with \), and
2954
 
    # we should not choose a depcomp mode which is confused by this.
2955
 
    #
2956
 
    # We need to recreate these files for each test, as the compiler may
2957
 
    # overwrite some of them when testing with obscure command lines.
2958
 
    # This happens at least with the AIX C compiler.
2959
 
    : > sub/conftest.c
2960
 
    for i in 1 2 3 4 5 6; do
2961
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
2962
 
      : > sub/conftst$i.h
2963
 
    done
2964
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2965
 
 
2966
 
    case $depmode in
2967
 
    nosideeffect)
2968
 
      # after this tag, mechanisms are not by side-effect, so they'll
2969
 
      # only be used when explicitly requested
2970
 
      if test "x$enable_dependency_tracking" = xyes; then
2971
 
        continue
2972
 
      else
2973
 
        break
2974
 
      fi
2975
 
      ;;
2976
 
    none) break ;;
2977
 
    esac
2978
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
2979
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
2980
 
    # handle `-M -o', and we need to detect this.
2981
 
    if depmode=$depmode \
2982
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2983
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2984
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2985
 
         >/dev/null 2>conftest.err &&
2986
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2987
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2988
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2989
 
      # icc doesn't choke on unknown options, it will just issue warnings
2990
 
      # (even with -Werror).  So we grep stderr for any message
2991
 
      # that says an option was ignored.
2992
 
      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2993
 
        am_cv_CC_dependencies_compiler_type=$depmode
2994
 
        break
2995
 
      fi
2996
 
    fi
2997
 
  done
2998
 
 
2999
 
  cd ..
3000
 
  rm -rf conftest.dir
3001
 
else
3002
 
  am_cv_CC_dependencies_compiler_type=none
3003
 
fi
3004
 
 
3005
 
fi
3006
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3007
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3008
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3009
 
 
3010
 
 
3011
 
 
3012
 
if
3013
 
  test "x$enable_dependency_tracking" != xno \
3014
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3015
 
  am__fastdepCC_TRUE=
3016
 
  am__fastdepCC_FALSE='#'
3017
 
else
3018
 
  am__fastdepCC_TRUE='#'
3019
 
  am__fastdepCC_FALSE=
3020
 
fi
3021
 
 
3022
 
 
3023
 
 
3024
 
 
3025
 
for ac_func in gethostbyname
3026
 
do
3027
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3028
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
3029
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3030
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
3031
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3032
 
else
3033
 
  cat >conftest.$ac_ext <<_ACEOF
3034
 
/* confdefs.h.  */
3035
 
_ACEOF
3036
 
cat confdefs.h >>conftest.$ac_ext
3037
 
cat >>conftest.$ac_ext <<_ACEOF
3038
 
/* end confdefs.h.  */
3039
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3040
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3041
 
#define $ac_func innocuous_$ac_func
3042
 
 
3043
 
/* System header to define __stub macros and hopefully few prototypes,
3044
 
    which can conflict with char $ac_func (); below.
3045
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3046
 
    <limits.h> exists even on freestanding compilers.  */
3047
 
 
3048
 
#ifdef __STDC__
3049
 
# include <limits.h>
3050
 
#else
3051
 
# include <assert.h>
3052
 
#endif
3053
 
 
3054
 
#undef $ac_func
3055
 
 
3056
 
/* Override any gcc2 internal prototype to avoid an error.  */
3057
 
#ifdef __cplusplus
3058
 
extern "C"
3059
 
{
3060
 
#endif
3061
 
/* We use char because int might match the return type of a gcc2
3062
 
   builtin and then its argument prototype would still apply.  */
3063
 
char $ac_func ();
3064
 
/* The GNU C library defines this for functions which it implements
3065
 
    to always fail with ENOSYS.  Some functions are actually named
3066
 
    something starting with __ and the normal name is an alias.  */
3067
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3068
 
choke me
3069
 
#else
3070
 
char (*f) () = $ac_func;
3071
 
#endif
3072
 
#ifdef __cplusplus
3073
 
}
3074
 
#endif
3075
 
 
3076
 
int
3077
 
main ()
3078
 
{
3079
 
return f != $ac_func;
3080
 
  ;
3081
 
  return 0;
3082
 
}
3083
 
_ACEOF
3084
 
rm -f conftest.$ac_objext conftest$ac_exeext
3085
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3086
 
  (eval $ac_link) 2>conftest.er1
3087
 
  ac_status=$?
3088
 
  grep -v '^ *+' conftest.er1 >conftest.err
3089
 
  rm -f conftest.er1
3090
 
  cat conftest.err >&5
3091
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092
 
  (exit $ac_status); } &&
3093
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3094
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3095
 
  (eval $ac_try) 2>&5
3096
 
  ac_status=$?
3097
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3098
 
  (exit $ac_status); }; } &&
3099
 
         { ac_try='test -s conftest$ac_exeext'
3100
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3101
 
  (eval $ac_try) 2>&5
3102
 
  ac_status=$?
3103
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3104
 
  (exit $ac_status); }; }; then
3105
 
  eval "$as_ac_var=yes"
3106
 
else
3107
 
  echo "$as_me: failed program was:" >&5
3108
 
sed 's/^/| /' conftest.$ac_ext >&5
3109
 
 
3110
 
eval "$as_ac_var=no"
3111
 
fi
3112
 
rm -f conftest.err conftest.$ac_objext \
3113
 
      conftest$ac_exeext conftest.$ac_ext
3114
 
fi
3115
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3116
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3117
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
3118
 
  cat >>confdefs.h <<_ACEOF
3119
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3120
 
_ACEOF
3121
 
 
3122
 
fi
3123
 
done
3124
 
 
3125
 
 
3126
 
for ac_func in gettimeofday
3127
 
do
3128
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3129
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
3130
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3131
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
3132
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3133
 
else
3134
 
  cat >conftest.$ac_ext <<_ACEOF
3135
 
/* confdefs.h.  */
3136
 
_ACEOF
3137
 
cat confdefs.h >>conftest.$ac_ext
3138
 
cat >>conftest.$ac_ext <<_ACEOF
3139
 
/* end confdefs.h.  */
3140
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3141
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3142
 
#define $ac_func innocuous_$ac_func
3143
 
 
3144
 
/* System header to define __stub macros and hopefully few prototypes,
3145
 
    which can conflict with char $ac_func (); below.
3146
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3147
 
    <limits.h> exists even on freestanding compilers.  */
3148
 
 
3149
 
#ifdef __STDC__
3150
 
# include <limits.h>
3151
 
#else
3152
 
# include <assert.h>
3153
 
#endif
3154
 
 
3155
 
#undef $ac_func
3156
 
 
3157
 
/* Override any gcc2 internal prototype to avoid an error.  */
3158
 
#ifdef __cplusplus
3159
 
extern "C"
3160
 
{
3161
 
#endif
3162
 
/* We use char because int might match the return type of a gcc2
3163
 
   builtin and then its argument prototype would still apply.  */
3164
 
char $ac_func ();
3165
 
/* The GNU C library defines this for functions which it implements
3166
 
    to always fail with ENOSYS.  Some functions are actually named
3167
 
    something starting with __ and the normal name is an alias.  */
3168
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3169
 
choke me
3170
 
#else
3171
 
char (*f) () = $ac_func;
3172
 
#endif
3173
 
#ifdef __cplusplus
3174
 
}
3175
 
#endif
3176
 
 
3177
 
int
3178
 
main ()
3179
 
{
3180
 
return f != $ac_func;
3181
 
  ;
3182
 
  return 0;
3183
 
}
3184
 
_ACEOF
3185
 
rm -f conftest.$ac_objext conftest$ac_exeext
3186
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3187
 
  (eval $ac_link) 2>conftest.er1
3188
 
  ac_status=$?
3189
 
  grep -v '^ *+' conftest.er1 >conftest.err
3190
 
  rm -f conftest.er1
3191
 
  cat conftest.err >&5
3192
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193
 
  (exit $ac_status); } &&
3194
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3195
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3196
 
  (eval $ac_try) 2>&5
3197
 
  ac_status=$?
3198
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199
 
  (exit $ac_status); }; } &&
3200
 
         { ac_try='test -s conftest$ac_exeext'
3201
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3202
 
  (eval $ac_try) 2>&5
3203
 
  ac_status=$?
3204
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3205
 
  (exit $ac_status); }; }; then
3206
 
  eval "$as_ac_var=yes"
3207
 
else
3208
 
  echo "$as_me: failed program was:" >&5
3209
 
sed 's/^/| /' conftest.$ac_ext >&5
3210
 
 
3211
 
eval "$as_ac_var=no"
3212
 
fi
3213
 
rm -f conftest.err conftest.$ac_objext \
3214
 
      conftest$ac_exeext conftest.$ac_ext
3215
 
fi
3216
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3217
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3218
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
3219
 
  cat >>confdefs.h <<_ACEOF
3220
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3221
 
_ACEOF
3222
 
 
3223
 
fi
3224
 
done
3225
 
 
3226
 
 
3227
 
for ac_func in memmove
3228
 
do
3229
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3230
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
3231
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3232
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
3233
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3234
 
else
3235
 
  cat >conftest.$ac_ext <<_ACEOF
3236
 
/* confdefs.h.  */
3237
 
_ACEOF
3238
 
cat confdefs.h >>conftest.$ac_ext
3239
 
cat >>conftest.$ac_ext <<_ACEOF
3240
 
/* end confdefs.h.  */
3241
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3242
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3243
 
#define $ac_func innocuous_$ac_func
3244
 
 
3245
 
/* System header to define __stub macros and hopefully few prototypes,
3246
 
    which can conflict with char $ac_func (); below.
3247
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3248
 
    <limits.h> exists even on freestanding compilers.  */
3249
 
 
3250
 
#ifdef __STDC__
3251
 
# include <limits.h>
3252
 
#else
3253
 
# include <assert.h>
3254
 
#endif
3255
 
 
3256
 
#undef $ac_func
3257
 
 
3258
 
/* Override any gcc2 internal prototype to avoid an error.  */
3259
 
#ifdef __cplusplus
3260
 
extern "C"
3261
 
{
3262
 
#endif
3263
 
/* We use char because int might match the return type of a gcc2
3264
 
   builtin and then its argument prototype would still apply.  */
3265
 
char $ac_func ();
3266
 
/* The GNU C library defines this for functions which it implements
3267
 
    to always fail with ENOSYS.  Some functions are actually named
3268
 
    something starting with __ and the normal name is an alias.  */
3269
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3270
 
choke me
3271
 
#else
3272
 
char (*f) () = $ac_func;
3273
 
#endif
3274
 
#ifdef __cplusplus
3275
 
}
3276
 
#endif
3277
 
 
3278
 
int
3279
 
main ()
3280
 
{
3281
 
return f != $ac_func;
3282
 
  ;
3283
 
  return 0;
3284
 
}
3285
 
_ACEOF
3286
 
rm -f conftest.$ac_objext conftest$ac_exeext
3287
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3288
 
  (eval $ac_link) 2>conftest.er1
3289
 
  ac_status=$?
3290
 
  grep -v '^ *+' conftest.er1 >conftest.err
3291
 
  rm -f conftest.er1
3292
 
  cat conftest.err >&5
3293
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3294
 
  (exit $ac_status); } &&
3295
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3296
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3297
 
  (eval $ac_try) 2>&5
3298
 
  ac_status=$?
3299
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3300
 
  (exit $ac_status); }; } &&
3301
 
         { ac_try='test -s conftest$ac_exeext'
3302
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3303
 
  (eval $ac_try) 2>&5
3304
 
  ac_status=$?
3305
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3306
 
  (exit $ac_status); }; }; then
3307
 
  eval "$as_ac_var=yes"
3308
 
else
3309
 
  echo "$as_me: failed program was:" >&5
3310
 
sed 's/^/| /' conftest.$ac_ext >&5
3311
 
 
3312
 
eval "$as_ac_var=no"
3313
 
fi
3314
 
rm -f conftest.err conftest.$ac_objext \
3315
 
      conftest$ac_exeext conftest.$ac_ext
3316
 
fi
3317
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3318
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3319
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
3320
 
  cat >>confdefs.h <<_ACEOF
3321
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3322
 
_ACEOF
3323
 
 
3324
 
fi
3325
 
done
3326
 
 
3327
 
 
3328
 
for ac_func in memset
3329
 
do
3330
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3331
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
3332
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3333
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
3334
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3335
 
else
3336
 
  cat >conftest.$ac_ext <<_ACEOF
3337
 
/* confdefs.h.  */
3338
 
_ACEOF
3339
 
cat confdefs.h >>conftest.$ac_ext
3340
 
cat >>conftest.$ac_ext <<_ACEOF
3341
 
/* end confdefs.h.  */
3342
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3343
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3344
 
#define $ac_func innocuous_$ac_func
3345
 
 
3346
 
/* System header to define __stub macros and hopefully few prototypes,
3347
 
    which can conflict with char $ac_func (); below.
3348
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3349
 
    <limits.h> exists even on freestanding compilers.  */
3350
 
 
3351
 
#ifdef __STDC__
3352
 
# include <limits.h>
3353
 
#else
3354
 
# include <assert.h>
3355
 
#endif
3356
 
 
3357
 
#undef $ac_func
3358
 
 
3359
 
/* Override any gcc2 internal prototype to avoid an error.  */
3360
 
#ifdef __cplusplus
3361
 
extern "C"
3362
 
{
3363
 
#endif
3364
 
/* We use char because int might match the return type of a gcc2
3365
 
   builtin and then its argument prototype would still apply.  */
3366
 
char $ac_func ();
3367
 
/* The GNU C library defines this for functions which it implements
3368
 
    to always fail with ENOSYS.  Some functions are actually named
3369
 
    something starting with __ and the normal name is an alias.  */
3370
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3371
 
choke me
3372
 
#else
3373
 
char (*f) () = $ac_func;
3374
 
#endif
3375
 
#ifdef __cplusplus
3376
 
}
3377
 
#endif
3378
 
 
3379
 
int
3380
 
main ()
3381
 
{
3382
 
return f != $ac_func;
3383
 
  ;
3384
 
  return 0;
3385
 
}
3386
 
_ACEOF
3387
 
rm -f conftest.$ac_objext conftest$ac_exeext
3388
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3389
 
  (eval $ac_link) 2>conftest.er1
3390
 
  ac_status=$?
3391
 
  grep -v '^ *+' conftest.er1 >conftest.err
3392
 
  rm -f conftest.er1
3393
 
  cat conftest.err >&5
3394
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3395
 
  (exit $ac_status); } &&
3396
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3397
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3398
 
  (eval $ac_try) 2>&5
3399
 
  ac_status=$?
3400
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3401
 
  (exit $ac_status); }; } &&
3402
 
         { ac_try='test -s conftest$ac_exeext'
3403
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3404
 
  (eval $ac_try) 2>&5
3405
 
  ac_status=$?
3406
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3407
 
  (exit $ac_status); }; }; then
3408
 
  eval "$as_ac_var=yes"
3409
 
else
3410
 
  echo "$as_me: failed program was:" >&5
3411
 
sed 's/^/| /' conftest.$ac_ext >&5
3412
 
 
3413
 
eval "$as_ac_var=no"
3414
 
fi
3415
 
rm -f conftest.err conftest.$ac_objext \
3416
 
      conftest$ac_exeext conftest.$ac_ext
3417
 
fi
3418
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3419
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3420
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
3421
 
  cat >>confdefs.h <<_ACEOF
3422
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3423
 
_ACEOF
3424
 
 
3425
 
fi
3426
 
done
3427
 
 
3428
 
 
3429
 
for ac_func in pow
3430
 
do
3431
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3432
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
3433
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3434
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
3435
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3436
 
else
3437
 
  cat >conftest.$ac_ext <<_ACEOF
3438
 
/* confdefs.h.  */
3439
 
_ACEOF
3440
 
cat confdefs.h >>conftest.$ac_ext
3441
 
cat >>conftest.$ac_ext <<_ACEOF
3442
 
/* end confdefs.h.  */
3443
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3444
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3445
 
#define $ac_func innocuous_$ac_func
3446
 
 
3447
 
/* System header to define __stub macros and hopefully few prototypes,
3448
 
    which can conflict with char $ac_func (); below.
3449
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3450
 
    <limits.h> exists even on freestanding compilers.  */
3451
 
 
3452
 
#ifdef __STDC__
3453
 
# include <limits.h>
3454
 
#else
3455
 
# include <assert.h>
3456
 
#endif
3457
 
 
3458
 
#undef $ac_func
3459
 
 
3460
 
/* Override any gcc2 internal prototype to avoid an error.  */
3461
 
#ifdef __cplusplus
3462
 
extern "C"
3463
 
{
3464
 
#endif
3465
 
/* We use char because int might match the return type of a gcc2
3466
 
   builtin and then its argument prototype would still apply.  */
3467
 
char $ac_func ();
3468
 
/* The GNU C library defines this for functions which it implements
3469
 
    to always fail with ENOSYS.  Some functions are actually named
3470
 
    something starting with __ and the normal name is an alias.  */
3471
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3472
 
choke me
3473
 
#else
3474
 
char (*f) () = $ac_func;
3475
 
#endif
3476
 
#ifdef __cplusplus
3477
 
}
3478
 
#endif
3479
 
 
3480
 
int
3481
 
main ()
3482
 
{
3483
 
return f != $ac_func;
3484
 
  ;
3485
 
  return 0;
3486
 
}
3487
 
_ACEOF
3488
 
rm -f conftest.$ac_objext conftest$ac_exeext
3489
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3490
 
  (eval $ac_link) 2>conftest.er1
3491
 
  ac_status=$?
3492
 
  grep -v '^ *+' conftest.er1 >conftest.err
3493
 
  rm -f conftest.er1
3494
 
  cat conftest.err >&5
3495
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3496
 
  (exit $ac_status); } &&
3497
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3498
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3499
 
  (eval $ac_try) 2>&5
3500
 
  ac_status=$?
3501
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3502
 
  (exit $ac_status); }; } &&
3503
 
         { ac_try='test -s conftest$ac_exeext'
3504
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3505
 
  (eval $ac_try) 2>&5
3506
 
  ac_status=$?
3507
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3508
 
  (exit $ac_status); }; }; then
3509
 
  eval "$as_ac_var=yes"
3510
 
else
3511
 
  echo "$as_me: failed program was:" >&5
3512
 
sed 's/^/| /' conftest.$ac_ext >&5
3513
 
 
3514
 
eval "$as_ac_var=no"
3515
 
fi
3516
 
rm -f conftest.err conftest.$ac_objext \
3517
 
      conftest$ac_exeext conftest.$ac_ext
3518
 
fi
3519
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3520
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3521
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
3522
 
  cat >>confdefs.h <<_ACEOF
3523
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3524
 
_ACEOF
3525
 
 
3526
 
fi
3527
 
done
3528
 
 
3529
 
 
3530
 
for ac_func in select
3531
 
do
3532
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3533
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
3534
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3535
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
3536
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3537
 
else
3538
 
  cat >conftest.$ac_ext <<_ACEOF
3539
 
/* confdefs.h.  */
3540
 
_ACEOF
3541
 
cat confdefs.h >>conftest.$ac_ext
3542
 
cat >>conftest.$ac_ext <<_ACEOF
3543
 
/* end confdefs.h.  */
3544
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3545
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3546
 
#define $ac_func innocuous_$ac_func
3547
 
 
3548
 
/* System header to define __stub macros and hopefully few prototypes,
3549
 
    which can conflict with char $ac_func (); below.
3550
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3551
 
    <limits.h> exists even on freestanding compilers.  */
3552
 
 
3553
 
#ifdef __STDC__
3554
 
# include <limits.h>
3555
 
#else
3556
 
# include <assert.h>
3557
 
#endif
3558
 
 
3559
 
#undef $ac_func
3560
 
 
3561
 
/* Override any gcc2 internal prototype to avoid an error.  */
3562
 
#ifdef __cplusplus
3563
 
extern "C"
3564
 
{
3565
 
#endif
3566
 
/* We use char because int might match the return type of a gcc2
3567
 
   builtin and then its argument prototype would still apply.  */
3568
 
char $ac_func ();
3569
 
/* The GNU C library defines this for functions which it implements
3570
 
    to always fail with ENOSYS.  Some functions are actually named
3571
 
    something starting with __ and the normal name is an alias.  */
3572
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3573
 
choke me
3574
 
#else
3575
 
char (*f) () = $ac_func;
3576
 
#endif
3577
 
#ifdef __cplusplus
3578
 
}
3579
 
#endif
3580
 
 
3581
 
int
3582
 
main ()
3583
 
{
3584
 
return f != $ac_func;
3585
 
  ;
3586
 
  return 0;
3587
 
}
3588
 
_ACEOF
3589
 
rm -f conftest.$ac_objext conftest$ac_exeext
3590
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3591
 
  (eval $ac_link) 2>conftest.er1
3592
 
  ac_status=$?
3593
 
  grep -v '^ *+' conftest.er1 >conftest.err
3594
 
  rm -f conftest.er1
3595
 
  cat conftest.err >&5
3596
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597
 
  (exit $ac_status); } &&
3598
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3599
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3600
 
  (eval $ac_try) 2>&5
3601
 
  ac_status=$?
3602
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3603
 
  (exit $ac_status); }; } &&
3604
 
         { ac_try='test -s conftest$ac_exeext'
3605
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3606
 
  (eval $ac_try) 2>&5
3607
 
  ac_status=$?
3608
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3609
 
  (exit $ac_status); }; }; then
3610
 
  eval "$as_ac_var=yes"
3611
 
else
3612
 
  echo "$as_me: failed program was:" >&5
3613
 
sed 's/^/| /' conftest.$ac_ext >&5
3614
 
 
3615
 
eval "$as_ac_var=no"
3616
 
fi
3617
 
rm -f conftest.err conftest.$ac_objext \
3618
 
      conftest$ac_exeext conftest.$ac_ext
3619
 
fi
3620
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3621
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3622
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
3623
 
  cat >>confdefs.h <<_ACEOF
3624
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3625
 
_ACEOF
3626
 
 
3627
 
fi
3628
 
done
3629
 
 
3630
 
 
3631
 
for ac_func in socket
3632
 
do
3633
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3634
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
3635
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3636
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
3637
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3638
 
else
3639
 
  cat >conftest.$ac_ext <<_ACEOF
3640
 
/* confdefs.h.  */
3641
 
_ACEOF
3642
 
cat confdefs.h >>conftest.$ac_ext
3643
 
cat >>conftest.$ac_ext <<_ACEOF
3644
 
/* end confdefs.h.  */
3645
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3646
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3647
 
#define $ac_func innocuous_$ac_func
3648
 
 
3649
 
/* System header to define __stub macros and hopefully few prototypes,
3650
 
    which can conflict with char $ac_func (); below.
3651
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3652
 
    <limits.h> exists even on freestanding compilers.  */
3653
 
 
3654
 
#ifdef __STDC__
3655
 
# include <limits.h>
3656
 
#else
3657
 
# include <assert.h>
3658
 
#endif
3659
 
 
3660
 
#undef $ac_func
3661
 
 
3662
 
/* Override any gcc2 internal prototype to avoid an error.  */
3663
 
#ifdef __cplusplus
3664
 
extern "C"
3665
 
{
3666
 
#endif
3667
 
/* We use char because int might match the return type of a gcc2
3668
 
   builtin and then its argument prototype would still apply.  */
3669
 
char $ac_func ();
3670
 
/* The GNU C library defines this for functions which it implements
3671
 
    to always fail with ENOSYS.  Some functions are actually named
3672
 
    something starting with __ and the normal name is an alias.  */
3673
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3674
 
choke me
3675
 
#else
3676
 
char (*f) () = $ac_func;
3677
 
#endif
3678
 
#ifdef __cplusplus
3679
 
}
3680
 
#endif
3681
 
 
3682
 
int
3683
 
main ()
3684
 
{
3685
 
return f != $ac_func;
3686
 
  ;
3687
 
  return 0;
3688
 
}
3689
 
_ACEOF
3690
 
rm -f conftest.$ac_objext conftest$ac_exeext
3691
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3692
 
  (eval $ac_link) 2>conftest.er1
3693
 
  ac_status=$?
3694
 
  grep -v '^ *+' conftest.er1 >conftest.err
3695
 
  rm -f conftest.er1
3696
 
  cat conftest.err >&5
3697
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3698
 
  (exit $ac_status); } &&
3699
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3700
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3701
 
  (eval $ac_try) 2>&5
3702
 
  ac_status=$?
3703
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3704
 
  (exit $ac_status); }; } &&
3705
 
         { ac_try='test -s conftest$ac_exeext'
3706
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3707
 
  (eval $ac_try) 2>&5
3708
 
  ac_status=$?
3709
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3710
 
  (exit $ac_status); }; }; then
3711
 
  eval "$as_ac_var=yes"
3712
 
else
3713
 
  echo "$as_me: failed program was:" >&5
3714
 
sed 's/^/| /' conftest.$ac_ext >&5
3715
 
 
3716
 
eval "$as_ac_var=no"
3717
 
fi
3718
 
rm -f conftest.err conftest.$ac_objext \
3719
 
      conftest$ac_exeext conftest.$ac_ext
3720
 
fi
3721
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3722
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3723
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
3724
 
  cat >>confdefs.h <<_ACEOF
3725
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3726
 
_ACEOF
3727
 
 
3728
 
fi
3729
 
done
3730
 
 
3731
 
ac_ext=c
3732
 
ac_cpp='$CPP $CPPFLAGS'
3733
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3734
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3735
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3736
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3737
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3738
 
# On Suns, sometimes $CPP names a directory.
3739
 
if test -n "$CPP" && test -d "$CPP"; then
3740
 
  CPP=
3741
 
fi
3742
 
if test -z "$CPP"; then
3743
 
  if test "${ac_cv_prog_CPP+set}" = set; then
3744
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3745
 
else
3746
 
      # Double quotes because CPP needs to be expanded
3747
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3748
 
    do
3749
 
      ac_preproc_ok=false
3750
 
for ac_c_preproc_warn_flag in '' yes
3751
 
do
3752
 
  # Use a header file that comes with gcc, so configuring glibc
3753
 
  # with a fresh cross-compiler works.
3754
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3755
 
  # <limits.h> exists even on freestanding compilers.
3756
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
3757
 
  # not just through cpp. "Syntax error" is here to catch this case.
3758
 
  cat >conftest.$ac_ext <<_ACEOF
3759
 
/* confdefs.h.  */
3760
 
_ACEOF
3761
 
cat confdefs.h >>conftest.$ac_ext
3762
 
cat >>conftest.$ac_ext <<_ACEOF
3763
 
/* end confdefs.h.  */
3764
 
#ifdef __STDC__
3765
 
# include <limits.h>
3766
 
#else
3767
 
# include <assert.h>
3768
 
#endif
3769
 
                     Syntax error
3770
 
_ACEOF
3771
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3772
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3773
 
  ac_status=$?
3774
 
  grep -v '^ *+' conftest.er1 >conftest.err
3775
 
  rm -f conftest.er1
3776
 
  cat conftest.err >&5
3777
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778
 
  (exit $ac_status); } >/dev/null; then
3779
 
  if test -s conftest.err; then
3780
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3781
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3782
 
  else
3783
 
    ac_cpp_err=
3784
 
  fi
3785
 
else
3786
 
  ac_cpp_err=yes
3787
 
fi
3788
 
if test -z "$ac_cpp_err"; then
3789
 
  :
3790
 
else
3791
 
  echo "$as_me: failed program was:" >&5
3792
 
sed 's/^/| /' conftest.$ac_ext >&5
3793
 
 
3794
 
  # Broken: fails on valid input.
3795
 
continue
3796
 
fi
3797
 
rm -f conftest.err conftest.$ac_ext
3798
 
 
3799
 
  # OK, works on sane cases.  Now check whether non-existent headers
3800
 
  # can be detected and how.
3801
 
  cat >conftest.$ac_ext <<_ACEOF
3802
 
/* confdefs.h.  */
3803
 
_ACEOF
3804
 
cat confdefs.h >>conftest.$ac_ext
3805
 
cat >>conftest.$ac_ext <<_ACEOF
3806
 
/* end confdefs.h.  */
3807
 
#include <ac_nonexistent.h>
3808
 
_ACEOF
3809
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3810
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3811
 
  ac_status=$?
3812
 
  grep -v '^ *+' conftest.er1 >conftest.err
3813
 
  rm -f conftest.er1
3814
 
  cat conftest.err >&5
3815
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3816
 
  (exit $ac_status); } >/dev/null; then
3817
 
  if test -s conftest.err; then
3818
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3819
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3820
 
  else
3821
 
    ac_cpp_err=
3822
 
  fi
3823
 
else
3824
 
  ac_cpp_err=yes
3825
 
fi
3826
 
if test -z "$ac_cpp_err"; then
3827
 
  # Broken: success on invalid input.
3828
 
continue
3829
 
else
3830
 
  echo "$as_me: failed program was:" >&5
3831
 
sed 's/^/| /' conftest.$ac_ext >&5
3832
 
 
3833
 
  # Passes both tests.
3834
 
ac_preproc_ok=:
3835
 
break
3836
 
fi
3837
 
rm -f conftest.err conftest.$ac_ext
3838
 
 
3839
 
done
3840
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3841
 
rm -f conftest.err conftest.$ac_ext
3842
 
if $ac_preproc_ok; then
3843
 
  break
3844
 
fi
3845
 
 
3846
 
    done
3847
 
    ac_cv_prog_CPP=$CPP
3848
 
 
3849
 
fi
3850
 
  CPP=$ac_cv_prog_CPP
3851
 
else
3852
 
  ac_cv_prog_CPP=$CPP
3853
 
fi
3854
 
echo "$as_me:$LINENO: result: $CPP" >&5
3855
 
echo "${ECHO_T}$CPP" >&6
3856
 
ac_preproc_ok=false
3857
 
for ac_c_preproc_warn_flag in '' yes
3858
 
do
3859
 
  # Use a header file that comes with gcc, so configuring glibc
3860
 
  # with a fresh cross-compiler works.
3861
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3862
 
  # <limits.h> exists even on freestanding compilers.
3863
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
3864
 
  # not just through cpp. "Syntax error" is here to catch this case.
3865
 
  cat >conftest.$ac_ext <<_ACEOF
3866
 
/* confdefs.h.  */
3867
 
_ACEOF
3868
 
cat confdefs.h >>conftest.$ac_ext
3869
 
cat >>conftest.$ac_ext <<_ACEOF
3870
 
/* end confdefs.h.  */
3871
 
#ifdef __STDC__
3872
 
# include <limits.h>
3873
 
#else
3874
 
# include <assert.h>
3875
 
#endif
3876
 
                     Syntax error
3877
 
_ACEOF
3878
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3879
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3880
 
  ac_status=$?
3881
 
  grep -v '^ *+' conftest.er1 >conftest.err
3882
 
  rm -f conftest.er1
3883
 
  cat conftest.err >&5
3884
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3885
 
  (exit $ac_status); } >/dev/null; then
3886
 
  if test -s conftest.err; then
3887
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3888
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3889
 
  else
3890
 
    ac_cpp_err=
3891
 
  fi
3892
 
else
3893
 
  ac_cpp_err=yes
3894
 
fi
3895
 
if test -z "$ac_cpp_err"; then
3896
 
  :
3897
 
else
3898
 
  echo "$as_me: failed program was:" >&5
3899
 
sed 's/^/| /' conftest.$ac_ext >&5
3900
 
 
3901
 
  # Broken: fails on valid input.
3902
 
continue
3903
 
fi
3904
 
rm -f conftest.err conftest.$ac_ext
3905
 
 
3906
 
  # OK, works on sane cases.  Now check whether non-existent headers
3907
 
  # can be detected and how.
3908
 
  cat >conftest.$ac_ext <<_ACEOF
3909
 
/* confdefs.h.  */
3910
 
_ACEOF
3911
 
cat confdefs.h >>conftest.$ac_ext
3912
 
cat >>conftest.$ac_ext <<_ACEOF
3913
 
/* end confdefs.h.  */
3914
 
#include <ac_nonexistent.h>
3915
 
_ACEOF
3916
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3917
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3918
 
  ac_status=$?
3919
 
  grep -v '^ *+' conftest.er1 >conftest.err
3920
 
  rm -f conftest.er1
3921
 
  cat conftest.err >&5
3922
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3923
 
  (exit $ac_status); } >/dev/null; then
3924
 
  if test -s conftest.err; then
3925
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3926
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3927
 
  else
3928
 
    ac_cpp_err=
3929
 
  fi
3930
 
else
3931
 
  ac_cpp_err=yes
3932
 
fi
3933
 
if test -z "$ac_cpp_err"; then
3934
 
  # Broken: success on invalid input.
3935
 
continue
3936
 
else
3937
 
  echo "$as_me: failed program was:" >&5
3938
 
sed 's/^/| /' conftest.$ac_ext >&5
3939
 
 
3940
 
  # Passes both tests.
3941
 
ac_preproc_ok=:
3942
 
break
3943
 
fi
3944
 
rm -f conftest.err conftest.$ac_ext
3945
 
 
3946
 
done
3947
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3948
 
rm -f conftest.err conftest.$ac_ext
3949
 
if $ac_preproc_ok; then
3950
 
  :
3951
 
else
3952
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3953
 
See \`config.log' for more details." >&5
3954
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3955
 
See \`config.log' for more details." >&2;}
3956
 
   { (exit 1); exit 1; }; }
3957
 
fi
3958
 
 
3959
 
ac_ext=c
3960
 
ac_cpp='$CPP $CPPFLAGS'
3961
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3962
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3963
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3964
 
 
3965
 
 
3966
 
echo "$as_me:$LINENO: checking for egrep" >&5
3967
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3968
 
if test "${ac_cv_prog_egrep+set}" = set; then
3969
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3970
 
else
3971
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3972
 
    then ac_cv_prog_egrep='grep -E'
3973
 
    else ac_cv_prog_egrep='egrep'
3974
 
    fi
3975
 
fi
3976
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3977
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3978
 
 EGREP=$ac_cv_prog_egrep
3979
 
 
3980
 
 
3981
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3982
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3983
 
if test "${ac_cv_header_stdc+set}" = set; then
3984
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3985
 
else
3986
 
  cat >conftest.$ac_ext <<_ACEOF
3987
 
/* confdefs.h.  */
3988
 
_ACEOF
3989
 
cat confdefs.h >>conftest.$ac_ext
3990
 
cat >>conftest.$ac_ext <<_ACEOF
3991
 
/* end confdefs.h.  */
3992
 
#include <stdlib.h>
3993
 
#include <stdarg.h>
3994
 
#include <string.h>
3995
 
#include <float.h>
3996
 
 
3997
 
int
3998
 
main ()
3999
 
{
4000
 
 
4001
 
  ;
4002
 
  return 0;
4003
 
}
4004
 
_ACEOF
4005
 
rm -f conftest.$ac_objext
4006
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4007
 
  (eval $ac_compile) 2>conftest.er1
4008
 
  ac_status=$?
4009
 
  grep -v '^ *+' conftest.er1 >conftest.err
4010
 
  rm -f conftest.er1
4011
 
  cat conftest.err >&5
4012
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4013
 
  (exit $ac_status); } &&
4014
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4015
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4016
 
  (eval $ac_try) 2>&5
4017
 
  ac_status=$?
4018
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4019
 
  (exit $ac_status); }; } &&
4020
 
         { ac_try='test -s conftest.$ac_objext'
4021
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4022
 
  (eval $ac_try) 2>&5
4023
 
  ac_status=$?
4024
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4025
 
  (exit $ac_status); }; }; then
4026
 
  ac_cv_header_stdc=yes
4027
 
else
4028
 
  echo "$as_me: failed program was:" >&5
4029
 
sed 's/^/| /' conftest.$ac_ext >&5
4030
 
 
4031
 
ac_cv_header_stdc=no
4032
 
fi
4033
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4034
 
 
4035
 
if test $ac_cv_header_stdc = yes; then
4036
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4037
 
  cat >conftest.$ac_ext <<_ACEOF
4038
 
/* confdefs.h.  */
4039
 
_ACEOF
4040
 
cat confdefs.h >>conftest.$ac_ext
4041
 
cat >>conftest.$ac_ext <<_ACEOF
4042
 
/* end confdefs.h.  */
4043
 
#include <string.h>
4044
 
 
4045
 
_ACEOF
4046
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4047
 
  $EGREP "memchr" >/dev/null 2>&1; then
4048
 
  :
4049
 
else
4050
 
  ac_cv_header_stdc=no
4051
 
fi
4052
 
rm -f conftest*
4053
 
 
4054
 
fi
4055
 
 
4056
 
if test $ac_cv_header_stdc = yes; then
4057
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4058
 
  cat >conftest.$ac_ext <<_ACEOF
4059
 
/* confdefs.h.  */
4060
 
_ACEOF
4061
 
cat confdefs.h >>conftest.$ac_ext
4062
 
cat >>conftest.$ac_ext <<_ACEOF
4063
 
/* end confdefs.h.  */
4064
 
#include <stdlib.h>
4065
 
 
4066
 
_ACEOF
4067
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4068
 
  $EGREP "free" >/dev/null 2>&1; then
4069
 
  :
4070
 
else
4071
 
  ac_cv_header_stdc=no
4072
 
fi
4073
 
rm -f conftest*
4074
 
 
4075
 
fi
4076
 
 
4077
 
if test $ac_cv_header_stdc = yes; then
4078
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4079
 
  if test "$cross_compiling" = yes; then
4080
 
  :
4081
 
else
4082
 
  cat >conftest.$ac_ext <<_ACEOF
4083
 
/* confdefs.h.  */
4084
 
_ACEOF
4085
 
cat confdefs.h >>conftest.$ac_ext
4086
 
cat >>conftest.$ac_ext <<_ACEOF
4087
 
/* end confdefs.h.  */
4088
 
#include <ctype.h>
4089
 
#if ((' ' & 0x0FF) == 0x020)
4090
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4091
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4092
 
#else
4093
 
# define ISLOWER(c) \
4094
 
                   (('a' <= (c) && (c) <= 'i') \
4095
 
                     || ('j' <= (c) && (c) <= 'r') \
4096
 
                     || ('s' <= (c) && (c) <= 'z'))
4097
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4098
 
#endif
4099
 
 
4100
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4101
 
int
4102
 
main ()
4103
 
{
4104
 
  int i;
4105
 
  for (i = 0; i < 256; i++)
4106
 
    if (XOR (islower (i), ISLOWER (i))
4107
 
        || toupper (i) != TOUPPER (i))
4108
 
      exit(2);
4109
 
  exit (0);
4110
 
}
4111
 
_ACEOF
4112
 
rm -f conftest$ac_exeext
4113
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4114
 
  (eval $ac_link) 2>&5
4115
 
  ac_status=$?
4116
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4117
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4118
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4119
 
  (eval $ac_try) 2>&5
4120
 
  ac_status=$?
4121
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4122
 
  (exit $ac_status); }; }; then
4123
 
  :
4124
 
else
4125
 
  echo "$as_me: program exited with status $ac_status" >&5
4126
 
echo "$as_me: failed program was:" >&5
4127
 
sed 's/^/| /' conftest.$ac_ext >&5
4128
 
 
4129
 
( exit $ac_status )
4130
 
ac_cv_header_stdc=no
4131
 
fi
4132
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4133
 
fi
4134
 
fi
4135
 
fi
4136
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4137
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
4138
 
if test $ac_cv_header_stdc = yes; then
4139
 
 
4140
 
cat >>confdefs.h <<\_ACEOF
4141
 
#define STDC_HEADERS 1
4142
 
_ACEOF
4143
 
 
4144
 
fi
4145
 
 
4146
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4147
 
 
4148
 
 
4149
 
 
4150
 
 
4151
 
 
4152
 
 
4153
 
 
4154
 
 
4155
 
 
4156
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4157
 
                  inttypes.h stdint.h unistd.h
4158
 
do
4159
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4160
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4161
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4162
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4163
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4164
 
else
4165
 
  cat >conftest.$ac_ext <<_ACEOF
4166
 
/* confdefs.h.  */
4167
 
_ACEOF
4168
 
cat confdefs.h >>conftest.$ac_ext
4169
 
cat >>conftest.$ac_ext <<_ACEOF
4170
 
/* end confdefs.h.  */
4171
 
$ac_includes_default
4172
 
 
4173
 
#include <$ac_header>
4174
 
_ACEOF
4175
 
rm -f conftest.$ac_objext
4176
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4177
 
  (eval $ac_compile) 2>conftest.er1
4178
 
  ac_status=$?
4179
 
  grep -v '^ *+' conftest.er1 >conftest.err
4180
 
  rm -f conftest.er1
4181
 
  cat conftest.err >&5
4182
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4183
 
  (exit $ac_status); } &&
4184
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4185
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4186
 
  (eval $ac_try) 2>&5
4187
 
  ac_status=$?
4188
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4189
 
  (exit $ac_status); }; } &&
4190
 
         { ac_try='test -s conftest.$ac_objext'
4191
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4192
 
  (eval $ac_try) 2>&5
4193
 
  ac_status=$?
4194
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4195
 
  (exit $ac_status); }; }; then
4196
 
  eval "$as_ac_Header=yes"
4197
 
else
4198
 
  echo "$as_me: failed program was:" >&5
4199
 
sed 's/^/| /' conftest.$ac_ext >&5
4200
 
 
4201
 
eval "$as_ac_Header=no"
4202
 
fi
4203
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4204
 
fi
4205
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4206
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4207
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4208
 
  cat >>confdefs.h <<_ACEOF
4209
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4210
 
_ACEOF
4211
 
 
4212
 
fi
4213
 
 
4214
 
done
4215
 
 
4216
 
 
4217
 
 
4218
 
for ac_header in arpa/inet.h
4219
 
do
4220
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4221
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4222
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4223
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4224
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4225
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4226
 
fi
4227
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4228
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4229
 
else
4230
 
  # Is the header compilable?
4231
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4232
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4233
 
cat >conftest.$ac_ext <<_ACEOF
4234
 
/* confdefs.h.  */
4235
 
_ACEOF
4236
 
cat confdefs.h >>conftest.$ac_ext
4237
 
cat >>conftest.$ac_ext <<_ACEOF
4238
 
/* end confdefs.h.  */
4239
 
$ac_includes_default
4240
 
#include <$ac_header>
4241
 
_ACEOF
4242
 
rm -f conftest.$ac_objext
4243
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4244
 
  (eval $ac_compile) 2>conftest.er1
4245
 
  ac_status=$?
4246
 
  grep -v '^ *+' conftest.er1 >conftest.err
4247
 
  rm -f conftest.er1
4248
 
  cat conftest.err >&5
4249
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4250
 
  (exit $ac_status); } &&
4251
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4252
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4253
 
  (eval $ac_try) 2>&5
4254
 
  ac_status=$?
4255
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4256
 
  (exit $ac_status); }; } &&
4257
 
         { ac_try='test -s conftest.$ac_objext'
4258
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4259
 
  (eval $ac_try) 2>&5
4260
 
  ac_status=$?
4261
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4262
 
  (exit $ac_status); }; }; then
4263
 
  ac_header_compiler=yes
4264
 
else
4265
 
  echo "$as_me: failed program was:" >&5
4266
 
sed 's/^/| /' conftest.$ac_ext >&5
4267
 
 
4268
 
ac_header_compiler=no
4269
 
fi
4270
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4271
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4272
 
echo "${ECHO_T}$ac_header_compiler" >&6
4273
 
 
4274
 
# Is the header present?
4275
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4276
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4277
 
cat >conftest.$ac_ext <<_ACEOF
4278
 
/* confdefs.h.  */
4279
 
_ACEOF
4280
 
cat confdefs.h >>conftest.$ac_ext
4281
 
cat >>conftest.$ac_ext <<_ACEOF
4282
 
/* end confdefs.h.  */
4283
 
#include <$ac_header>
4284
 
_ACEOF
4285
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4286
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4287
 
  ac_status=$?
4288
 
  grep -v '^ *+' conftest.er1 >conftest.err
4289
 
  rm -f conftest.er1
4290
 
  cat conftest.err >&5
4291
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4292
 
  (exit $ac_status); } >/dev/null; then
4293
 
  if test -s conftest.err; then
4294
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4295
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4296
 
  else
4297
 
    ac_cpp_err=
4298
 
  fi
4299
 
else
4300
 
  ac_cpp_err=yes
4301
 
fi
4302
 
if test -z "$ac_cpp_err"; then
4303
 
  ac_header_preproc=yes
4304
 
else
4305
 
  echo "$as_me: failed program was:" >&5
4306
 
sed 's/^/| /' conftest.$ac_ext >&5
4307
 
 
4308
 
  ac_header_preproc=no
4309
 
fi
4310
 
rm -f conftest.err conftest.$ac_ext
4311
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4312
 
echo "${ECHO_T}$ac_header_preproc" >&6
4313
 
 
4314
 
# So?  What about this header?
4315
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4316
 
  yes:no: )
4317
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4318
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4319
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4320
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4321
 
    ac_header_preproc=yes
4322
 
    ;;
4323
 
  no:yes:* )
4324
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4325
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4326
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4327
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4328
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4329
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4330
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4331
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4332
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4333
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4334
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4335
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4336
 
    (
4337
 
      cat <<\_ASBOX
4338
 
## ----------------------------------- ##
4339
 
## Report this to the crypto++ lists.  ##
4340
 
## ----------------------------------- ##
4341
 
_ASBOX
4342
 
    ) |
4343
 
      sed "s/^/$as_me: WARNING:     /" >&2
4344
 
    ;;
4345
 
esac
4346
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4347
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4348
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4349
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4350
 
else
4351
 
  eval "$as_ac_Header=\$ac_header_preproc"
4352
 
fi
4353
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4354
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4355
 
 
4356
 
fi
4357
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4358
 
  cat >>confdefs.h <<_ACEOF
4359
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4360
 
_ACEOF
4361
 
 
4362
 
fi
4363
 
 
4364
 
done
4365
 
 
4366
 
 
4367
 
for ac_header in fcntl.h
4368
 
do
4369
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4370
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4371
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4372
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4373
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4374
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4375
 
fi
4376
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4377
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4378
 
else
4379
 
  # Is the header compilable?
4380
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4381
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4382
 
cat >conftest.$ac_ext <<_ACEOF
4383
 
/* confdefs.h.  */
4384
 
_ACEOF
4385
 
cat confdefs.h >>conftest.$ac_ext
4386
 
cat >>conftest.$ac_ext <<_ACEOF
4387
 
/* end confdefs.h.  */
4388
 
$ac_includes_default
4389
 
#include <$ac_header>
4390
 
_ACEOF
4391
 
rm -f conftest.$ac_objext
4392
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4393
 
  (eval $ac_compile) 2>conftest.er1
4394
 
  ac_status=$?
4395
 
  grep -v '^ *+' conftest.er1 >conftest.err
4396
 
  rm -f conftest.er1
4397
 
  cat conftest.err >&5
4398
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4399
 
  (exit $ac_status); } &&
4400
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4401
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4402
 
  (eval $ac_try) 2>&5
4403
 
  ac_status=$?
4404
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4405
 
  (exit $ac_status); }; } &&
4406
 
         { ac_try='test -s conftest.$ac_objext'
4407
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4408
 
  (eval $ac_try) 2>&5
4409
 
  ac_status=$?
4410
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4411
 
  (exit $ac_status); }; }; then
4412
 
  ac_header_compiler=yes
4413
 
else
4414
 
  echo "$as_me: failed program was:" >&5
4415
 
sed 's/^/| /' conftest.$ac_ext >&5
4416
 
 
4417
 
ac_header_compiler=no
4418
 
fi
4419
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4420
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4421
 
echo "${ECHO_T}$ac_header_compiler" >&6
4422
 
 
4423
 
# Is the header present?
4424
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4425
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4426
 
cat >conftest.$ac_ext <<_ACEOF
4427
 
/* confdefs.h.  */
4428
 
_ACEOF
4429
 
cat confdefs.h >>conftest.$ac_ext
4430
 
cat >>conftest.$ac_ext <<_ACEOF
4431
 
/* end confdefs.h.  */
4432
 
#include <$ac_header>
4433
 
_ACEOF
4434
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4435
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4436
 
  ac_status=$?
4437
 
  grep -v '^ *+' conftest.er1 >conftest.err
4438
 
  rm -f conftest.er1
4439
 
  cat conftest.err >&5
4440
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4441
 
  (exit $ac_status); } >/dev/null; then
4442
 
  if test -s conftest.err; then
4443
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4444
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4445
 
  else
4446
 
    ac_cpp_err=
4447
 
  fi
4448
 
else
4449
 
  ac_cpp_err=yes
4450
 
fi
4451
 
if test -z "$ac_cpp_err"; then
4452
 
  ac_header_preproc=yes
4453
 
else
4454
 
  echo "$as_me: failed program was:" >&5
4455
 
sed 's/^/| /' conftest.$ac_ext >&5
4456
 
 
4457
 
  ac_header_preproc=no
4458
 
fi
4459
 
rm -f conftest.err conftest.$ac_ext
4460
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4461
 
echo "${ECHO_T}$ac_header_preproc" >&6
4462
 
 
4463
 
# So?  What about this header?
4464
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4465
 
  yes:no: )
4466
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4467
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4468
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4469
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4470
 
    ac_header_preproc=yes
4471
 
    ;;
4472
 
  no:yes:* )
4473
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4474
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4475
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4476
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4477
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4478
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4479
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4480
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4481
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4482
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4483
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4484
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4485
 
    (
4486
 
      cat <<\_ASBOX
4487
 
## ----------------------------------- ##
4488
 
## Report this to the crypto++ lists.  ##
4489
 
## ----------------------------------- ##
4490
 
_ASBOX
4491
 
    ) |
4492
 
      sed "s/^/$as_me: WARNING:     /" >&2
4493
 
    ;;
4494
 
esac
4495
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4496
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4497
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4498
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4499
 
else
4500
 
  eval "$as_ac_Header=\$ac_header_preproc"
4501
 
fi
4502
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4503
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4504
 
 
4505
 
fi
4506
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4507
 
  cat >>confdefs.h <<_ACEOF
4508
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4509
 
_ACEOF
4510
 
 
4511
 
fi
4512
 
 
4513
 
done
4514
 
 
4515
 
 
4516
 
for ac_header in limits.h
4517
 
do
4518
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4519
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4520
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4521
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4522
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4523
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4524
 
fi
4525
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4526
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4527
 
else
4528
 
  # Is the header compilable?
4529
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4530
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4531
 
cat >conftest.$ac_ext <<_ACEOF
4532
 
/* confdefs.h.  */
4533
 
_ACEOF
4534
 
cat confdefs.h >>conftest.$ac_ext
4535
 
cat >>conftest.$ac_ext <<_ACEOF
4536
 
/* end confdefs.h.  */
4537
 
$ac_includes_default
4538
 
#include <$ac_header>
4539
 
_ACEOF
4540
 
rm -f conftest.$ac_objext
4541
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4542
 
  (eval $ac_compile) 2>conftest.er1
4543
 
  ac_status=$?
4544
 
  grep -v '^ *+' conftest.er1 >conftest.err
4545
 
  rm -f conftest.er1
4546
 
  cat conftest.err >&5
4547
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4548
 
  (exit $ac_status); } &&
4549
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4550
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4551
 
  (eval $ac_try) 2>&5
4552
 
  ac_status=$?
4553
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4554
 
  (exit $ac_status); }; } &&
4555
 
         { ac_try='test -s conftest.$ac_objext'
4556
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4557
 
  (eval $ac_try) 2>&5
4558
 
  ac_status=$?
4559
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4560
 
  (exit $ac_status); }; }; then
4561
 
  ac_header_compiler=yes
4562
 
else
4563
 
  echo "$as_me: failed program was:" >&5
4564
 
sed 's/^/| /' conftest.$ac_ext >&5
4565
 
 
4566
 
ac_header_compiler=no
4567
 
fi
4568
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4569
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4570
 
echo "${ECHO_T}$ac_header_compiler" >&6
4571
 
 
4572
 
# Is the header present?
4573
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4574
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4575
 
cat >conftest.$ac_ext <<_ACEOF
4576
 
/* confdefs.h.  */
4577
 
_ACEOF
4578
 
cat confdefs.h >>conftest.$ac_ext
4579
 
cat >>conftest.$ac_ext <<_ACEOF
4580
 
/* end confdefs.h.  */
4581
 
#include <$ac_header>
4582
 
_ACEOF
4583
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4584
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4585
 
  ac_status=$?
4586
 
  grep -v '^ *+' conftest.er1 >conftest.err
4587
 
  rm -f conftest.er1
4588
 
  cat conftest.err >&5
4589
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590
 
  (exit $ac_status); } >/dev/null; then
4591
 
  if test -s conftest.err; then
4592
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4593
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4594
 
  else
4595
 
    ac_cpp_err=
4596
 
  fi
4597
 
else
4598
 
  ac_cpp_err=yes
4599
 
fi
4600
 
if test -z "$ac_cpp_err"; then
4601
 
  ac_header_preproc=yes
4602
 
else
4603
 
  echo "$as_me: failed program was:" >&5
4604
 
sed 's/^/| /' conftest.$ac_ext >&5
4605
 
 
4606
 
  ac_header_preproc=no
4607
 
fi
4608
 
rm -f conftest.err conftest.$ac_ext
4609
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4610
 
echo "${ECHO_T}$ac_header_preproc" >&6
4611
 
 
4612
 
# So?  What about this header?
4613
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4614
 
  yes:no: )
4615
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4616
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4617
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4618
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4619
 
    ac_header_preproc=yes
4620
 
    ;;
4621
 
  no:yes:* )
4622
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4623
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4624
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4625
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4626
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4627
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4628
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4629
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4630
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4631
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4632
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4633
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4634
 
    (
4635
 
      cat <<\_ASBOX
4636
 
## ----------------------------------- ##
4637
 
## Report this to the crypto++ lists.  ##
4638
 
## ----------------------------------- ##
4639
 
_ASBOX
4640
 
    ) |
4641
 
      sed "s/^/$as_me: WARNING:     /" >&2
4642
 
    ;;
4643
 
esac
4644
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4645
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4646
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4647
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4648
 
else
4649
 
  eval "$as_ac_Header=\$ac_header_preproc"
4650
 
fi
4651
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4652
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4653
 
 
4654
 
fi
4655
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4656
 
  cat >>confdefs.h <<_ACEOF
4657
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4658
 
_ACEOF
4659
 
 
4660
 
fi
4661
 
 
4662
 
done
4663
 
 
4664
 
 
4665
 
for ac_header in malloc.h
4666
 
do
4667
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4668
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4669
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4670
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4671
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4672
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4673
 
fi
4674
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4675
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4676
 
else
4677
 
  # Is the header compilable?
4678
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4679
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4680
 
cat >conftest.$ac_ext <<_ACEOF
4681
 
/* confdefs.h.  */
4682
 
_ACEOF
4683
 
cat confdefs.h >>conftest.$ac_ext
4684
 
cat >>conftest.$ac_ext <<_ACEOF
4685
 
/* end confdefs.h.  */
4686
 
$ac_includes_default
4687
 
#include <$ac_header>
4688
 
_ACEOF
4689
 
rm -f conftest.$ac_objext
4690
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4691
 
  (eval $ac_compile) 2>conftest.er1
4692
 
  ac_status=$?
4693
 
  grep -v '^ *+' conftest.er1 >conftest.err
4694
 
  rm -f conftest.er1
4695
 
  cat conftest.err >&5
4696
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697
 
  (exit $ac_status); } &&
4698
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4699
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4700
 
  (eval $ac_try) 2>&5
4701
 
  ac_status=$?
4702
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4703
 
  (exit $ac_status); }; } &&
4704
 
         { ac_try='test -s conftest.$ac_objext'
4705
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4706
 
  (eval $ac_try) 2>&5
4707
 
  ac_status=$?
4708
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4709
 
  (exit $ac_status); }; }; then
4710
 
  ac_header_compiler=yes
4711
 
else
4712
 
  echo "$as_me: failed program was:" >&5
4713
 
sed 's/^/| /' conftest.$ac_ext >&5
4714
 
 
4715
 
ac_header_compiler=no
4716
 
fi
4717
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4718
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4719
 
echo "${ECHO_T}$ac_header_compiler" >&6
4720
 
 
4721
 
# Is the header present?
4722
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4723
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4724
 
cat >conftest.$ac_ext <<_ACEOF
4725
 
/* confdefs.h.  */
4726
 
_ACEOF
4727
 
cat confdefs.h >>conftest.$ac_ext
4728
 
cat >>conftest.$ac_ext <<_ACEOF
4729
 
/* end confdefs.h.  */
4730
 
#include <$ac_header>
4731
 
_ACEOF
4732
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4733
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4734
 
  ac_status=$?
4735
 
  grep -v '^ *+' conftest.er1 >conftest.err
4736
 
  rm -f conftest.er1
4737
 
  cat conftest.err >&5
4738
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739
 
  (exit $ac_status); } >/dev/null; then
4740
 
  if test -s conftest.err; then
4741
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4742
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4743
 
  else
4744
 
    ac_cpp_err=
4745
 
  fi
4746
 
else
4747
 
  ac_cpp_err=yes
4748
 
fi
4749
 
if test -z "$ac_cpp_err"; then
4750
 
  ac_header_preproc=yes
4751
 
else
4752
 
  echo "$as_me: failed program was:" >&5
4753
 
sed 's/^/| /' conftest.$ac_ext >&5
4754
 
 
4755
 
  ac_header_preproc=no
4756
 
fi
4757
 
rm -f conftest.err conftest.$ac_ext
4758
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4759
 
echo "${ECHO_T}$ac_header_preproc" >&6
4760
 
 
4761
 
# So?  What about this header?
4762
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4763
 
  yes:no: )
4764
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4765
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4766
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4767
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4768
 
    ac_header_preproc=yes
4769
 
    ;;
4770
 
  no:yes:* )
4771
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4772
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4773
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4774
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4775
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4776
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4777
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4778
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4779
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4780
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4781
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4782
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4783
 
    (
4784
 
      cat <<\_ASBOX
4785
 
## ----------------------------------- ##
4786
 
## Report this to the crypto++ lists.  ##
4787
 
## ----------------------------------- ##
4788
 
_ASBOX
4789
 
    ) |
4790
 
      sed "s/^/$as_me: WARNING:     /" >&2
4791
 
    ;;
4792
 
esac
4793
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4794
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4795
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4796
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4797
 
else
4798
 
  eval "$as_ac_Header=\$ac_header_preproc"
4799
 
fi
4800
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4801
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4802
 
 
4803
 
fi
4804
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4805
 
  cat >>confdefs.h <<_ACEOF
4806
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4807
 
_ACEOF
4808
 
 
4809
 
fi
4810
 
 
4811
 
done
4812
 
 
4813
 
 
4814
 
for ac_header in netdb.h
4815
 
do
4816
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4817
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4818
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4819
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4820
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4821
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4822
 
fi
4823
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4824
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4825
 
else
4826
 
  # Is the header compilable?
4827
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4828
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4829
 
cat >conftest.$ac_ext <<_ACEOF
4830
 
/* confdefs.h.  */
4831
 
_ACEOF
4832
 
cat confdefs.h >>conftest.$ac_ext
4833
 
cat >>conftest.$ac_ext <<_ACEOF
4834
 
/* end confdefs.h.  */
4835
 
$ac_includes_default
4836
 
#include <$ac_header>
4837
 
_ACEOF
4838
 
rm -f conftest.$ac_objext
4839
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4840
 
  (eval $ac_compile) 2>conftest.er1
4841
 
  ac_status=$?
4842
 
  grep -v '^ *+' conftest.er1 >conftest.err
4843
 
  rm -f conftest.er1
4844
 
  cat conftest.err >&5
4845
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4846
 
  (exit $ac_status); } &&
4847
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4848
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4849
 
  (eval $ac_try) 2>&5
4850
 
  ac_status=$?
4851
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4852
 
  (exit $ac_status); }; } &&
4853
 
         { ac_try='test -s conftest.$ac_objext'
4854
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4855
 
  (eval $ac_try) 2>&5
4856
 
  ac_status=$?
4857
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4858
 
  (exit $ac_status); }; }; then
4859
 
  ac_header_compiler=yes
4860
 
else
4861
 
  echo "$as_me: failed program was:" >&5
4862
 
sed 's/^/| /' conftest.$ac_ext >&5
4863
 
 
4864
 
ac_header_compiler=no
4865
 
fi
4866
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4867
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4868
 
echo "${ECHO_T}$ac_header_compiler" >&6
4869
 
 
4870
 
# Is the header present?
4871
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4872
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4873
 
cat >conftest.$ac_ext <<_ACEOF
4874
 
/* confdefs.h.  */
4875
 
_ACEOF
4876
 
cat confdefs.h >>conftest.$ac_ext
4877
 
cat >>conftest.$ac_ext <<_ACEOF
4878
 
/* end confdefs.h.  */
4879
 
#include <$ac_header>
4880
 
_ACEOF
4881
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4882
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4883
 
  ac_status=$?
4884
 
  grep -v '^ *+' conftest.er1 >conftest.err
4885
 
  rm -f conftest.er1
4886
 
  cat conftest.err >&5
4887
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4888
 
  (exit $ac_status); } >/dev/null; then
4889
 
  if test -s conftest.err; then
4890
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4891
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4892
 
  else
4893
 
    ac_cpp_err=
4894
 
  fi
4895
 
else
4896
 
  ac_cpp_err=yes
4897
 
fi
4898
 
if test -z "$ac_cpp_err"; then
4899
 
  ac_header_preproc=yes
4900
 
else
4901
 
  echo "$as_me: failed program was:" >&5
4902
 
sed 's/^/| /' conftest.$ac_ext >&5
4903
 
 
4904
 
  ac_header_preproc=no
4905
 
fi
4906
 
rm -f conftest.err conftest.$ac_ext
4907
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4908
 
echo "${ECHO_T}$ac_header_preproc" >&6
4909
 
 
4910
 
# So?  What about this header?
4911
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4912
 
  yes:no: )
4913
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4914
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4915
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4916
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4917
 
    ac_header_preproc=yes
4918
 
    ;;
4919
 
  no:yes:* )
4920
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4921
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4922
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4923
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4924
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4925
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4926
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4927
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4928
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4929
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4930
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4931
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4932
 
    (
4933
 
      cat <<\_ASBOX
4934
 
## ----------------------------------- ##
4935
 
## Report this to the crypto++ lists.  ##
4936
 
## ----------------------------------- ##
4937
 
_ASBOX
4938
 
    ) |
4939
 
      sed "s/^/$as_me: WARNING:     /" >&2
4940
 
    ;;
4941
 
esac
4942
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4943
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4944
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4945
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4946
 
else
4947
 
  eval "$as_ac_Header=\$ac_header_preproc"
4948
 
fi
4949
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4950
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4951
 
 
4952
 
fi
4953
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4954
 
  cat >>confdefs.h <<_ACEOF
4955
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4956
 
_ACEOF
4957
 
 
4958
 
fi
4959
 
 
4960
 
done
4961
 
 
4962
 
 
4963
 
for ac_header in netinet/in.h
4964
 
do
4965
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4966
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4967
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4968
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4969
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4970
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4971
 
fi
4972
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4973
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4974
 
else
4975
 
  # Is the header compilable?
4976
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4977
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4978
 
cat >conftest.$ac_ext <<_ACEOF
4979
 
/* confdefs.h.  */
4980
 
_ACEOF
4981
 
cat confdefs.h >>conftest.$ac_ext
4982
 
cat >>conftest.$ac_ext <<_ACEOF
4983
 
/* end confdefs.h.  */
4984
 
$ac_includes_default
4985
 
#include <$ac_header>
4986
 
_ACEOF
4987
 
rm -f conftest.$ac_objext
4988
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4989
 
  (eval $ac_compile) 2>conftest.er1
4990
 
  ac_status=$?
4991
 
  grep -v '^ *+' conftest.er1 >conftest.err
4992
 
  rm -f conftest.er1
4993
 
  cat conftest.err >&5
4994
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4995
 
  (exit $ac_status); } &&
4996
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4997
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4998
 
  (eval $ac_try) 2>&5
4999
 
  ac_status=$?
5000
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5001
 
  (exit $ac_status); }; } &&
5002
 
         { ac_try='test -s conftest.$ac_objext'
5003
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5004
 
  (eval $ac_try) 2>&5
5005
 
  ac_status=$?
5006
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5007
 
  (exit $ac_status); }; }; then
5008
 
  ac_header_compiler=yes
5009
 
else
5010
 
  echo "$as_me: failed program was:" >&5
5011
 
sed 's/^/| /' conftest.$ac_ext >&5
5012
 
 
5013
 
ac_header_compiler=no
5014
 
fi
5015
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5016
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5017
 
echo "${ECHO_T}$ac_header_compiler" >&6
5018
 
 
5019
 
# Is the header present?
5020
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5021
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5022
 
cat >conftest.$ac_ext <<_ACEOF
5023
 
/* confdefs.h.  */
5024
 
_ACEOF
5025
 
cat confdefs.h >>conftest.$ac_ext
5026
 
cat >>conftest.$ac_ext <<_ACEOF
5027
 
/* end confdefs.h.  */
5028
 
#include <$ac_header>
5029
 
_ACEOF
5030
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5031
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5032
 
  ac_status=$?
5033
 
  grep -v '^ *+' conftest.er1 >conftest.err
5034
 
  rm -f conftest.er1
5035
 
  cat conftest.err >&5
5036
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5037
 
  (exit $ac_status); } >/dev/null; then
5038
 
  if test -s conftest.err; then
5039
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5040
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5041
 
  else
5042
 
    ac_cpp_err=
5043
 
  fi
5044
 
else
5045
 
  ac_cpp_err=yes
5046
 
fi
5047
 
if test -z "$ac_cpp_err"; then
5048
 
  ac_header_preproc=yes
5049
 
else
5050
 
  echo "$as_me: failed program was:" >&5
5051
 
sed 's/^/| /' conftest.$ac_ext >&5
5052
 
 
5053
 
  ac_header_preproc=no
5054
 
fi
5055
 
rm -f conftest.err conftest.$ac_ext
5056
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5057
 
echo "${ECHO_T}$ac_header_preproc" >&6
5058
 
 
5059
 
# So?  What about this header?
5060
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5061
 
  yes:no: )
5062
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5063
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5064
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5065
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5066
 
    ac_header_preproc=yes
5067
 
    ;;
5068
 
  no:yes:* )
5069
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5070
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5071
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5072
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5073
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5074
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5075
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5076
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5077
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5078
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5079
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5080
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5081
 
    (
5082
 
      cat <<\_ASBOX
5083
 
## ----------------------------------- ##
5084
 
## Report this to the crypto++ lists.  ##
5085
 
## ----------------------------------- ##
5086
 
_ASBOX
5087
 
    ) |
5088
 
      sed "s/^/$as_me: WARNING:     /" >&2
5089
 
    ;;
5090
 
esac
5091
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
5092
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5093
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5094
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5095
 
else
5096
 
  eval "$as_ac_Header=\$ac_header_preproc"
5097
 
fi
5098
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5099
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5100
 
 
5101
 
fi
5102
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5103
 
  cat >>confdefs.h <<_ACEOF
5104
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5105
 
_ACEOF
5106
 
 
5107
 
fi
5108
 
 
5109
 
done
5110
 
 
5111
 
 
5112
 
for ac_header in stddef.h
5113
 
do
5114
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5115
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5116
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
5117
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5118
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5119
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5120
 
fi
5121
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5122
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5123
 
else
5124
 
  # Is the header compilable?
5125
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5126
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5127
 
cat >conftest.$ac_ext <<_ACEOF
5128
 
/* confdefs.h.  */
5129
 
_ACEOF
5130
 
cat confdefs.h >>conftest.$ac_ext
5131
 
cat >>conftest.$ac_ext <<_ACEOF
5132
 
/* end confdefs.h.  */
5133
 
$ac_includes_default
5134
 
#include <$ac_header>
5135
 
_ACEOF
5136
 
rm -f conftest.$ac_objext
5137
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5138
 
  (eval $ac_compile) 2>conftest.er1
5139
 
  ac_status=$?
5140
 
  grep -v '^ *+' conftest.er1 >conftest.err
5141
 
  rm -f conftest.er1
5142
 
  cat conftest.err >&5
5143
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5144
 
  (exit $ac_status); } &&
5145
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5146
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5147
 
  (eval $ac_try) 2>&5
5148
 
  ac_status=$?
5149
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5150
 
  (exit $ac_status); }; } &&
5151
 
         { ac_try='test -s conftest.$ac_objext'
5152
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5153
 
  (eval $ac_try) 2>&5
5154
 
  ac_status=$?
5155
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5156
 
  (exit $ac_status); }; }; then
5157
 
  ac_header_compiler=yes
5158
 
else
5159
 
  echo "$as_me: failed program was:" >&5
5160
 
sed 's/^/| /' conftest.$ac_ext >&5
5161
 
 
5162
 
ac_header_compiler=no
5163
 
fi
5164
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5165
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5166
 
echo "${ECHO_T}$ac_header_compiler" >&6
5167
 
 
5168
 
# Is the header present?
5169
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5170
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5171
 
cat >conftest.$ac_ext <<_ACEOF
5172
 
/* confdefs.h.  */
5173
 
_ACEOF
5174
 
cat confdefs.h >>conftest.$ac_ext
5175
 
cat >>conftest.$ac_ext <<_ACEOF
5176
 
/* end confdefs.h.  */
5177
 
#include <$ac_header>
5178
 
_ACEOF
5179
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5180
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5181
 
  ac_status=$?
5182
 
  grep -v '^ *+' conftest.er1 >conftest.err
5183
 
  rm -f conftest.er1
5184
 
  cat conftest.err >&5
5185
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5186
 
  (exit $ac_status); } >/dev/null; then
5187
 
  if test -s conftest.err; then
5188
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5189
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5190
 
  else
5191
 
    ac_cpp_err=
5192
 
  fi
5193
 
else
5194
 
  ac_cpp_err=yes
5195
 
fi
5196
 
if test -z "$ac_cpp_err"; then
5197
 
  ac_header_preproc=yes
5198
 
else
5199
 
  echo "$as_me: failed program was:" >&5
5200
 
sed 's/^/| /' conftest.$ac_ext >&5
5201
 
 
5202
 
  ac_header_preproc=no
5203
 
fi
5204
 
rm -f conftest.err conftest.$ac_ext
5205
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5206
 
echo "${ECHO_T}$ac_header_preproc" >&6
5207
 
 
5208
 
# So?  What about this header?
5209
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5210
 
  yes:no: )
5211
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5212
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5213
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5214
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5215
 
    ac_header_preproc=yes
5216
 
    ;;
5217
 
  no:yes:* )
5218
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5219
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5220
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5221
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5222
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5223
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5224
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5225
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5226
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5227
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5228
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5229
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5230
 
    (
5231
 
      cat <<\_ASBOX
5232
 
## ----------------------------------- ##
5233
 
## Report this to the crypto++ lists.  ##
5234
 
## ----------------------------------- ##
5235
 
_ASBOX
5236
 
    ) |
5237
 
      sed "s/^/$as_me: WARNING:     /" >&2
5238
 
    ;;
5239
 
esac
5240
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
5241
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5242
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5243
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5244
 
else
5245
 
  eval "$as_ac_Header=\$ac_header_preproc"
5246
 
fi
5247
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5248
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5249
 
 
5250
 
fi
5251
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5252
 
  cat >>confdefs.h <<_ACEOF
5253
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5254
 
_ACEOF
5255
 
 
5256
 
fi
5257
 
 
5258
 
done
5259
 
 
5260
 
 
5261
 
for ac_header in sys/ioctl.h
5262
 
do
5263
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5264
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5265
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
5266
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5267
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5268
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5269
 
fi
5270
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5271
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5272
 
else
5273
 
  # Is the header compilable?
5274
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5275
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5276
 
cat >conftest.$ac_ext <<_ACEOF
5277
 
/* confdefs.h.  */
5278
 
_ACEOF
5279
 
cat confdefs.h >>conftest.$ac_ext
5280
 
cat >>conftest.$ac_ext <<_ACEOF
5281
 
/* end confdefs.h.  */
5282
 
$ac_includes_default
5283
 
#include <$ac_header>
5284
 
_ACEOF
5285
 
rm -f conftest.$ac_objext
5286
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5287
 
  (eval $ac_compile) 2>conftest.er1
5288
 
  ac_status=$?
5289
 
  grep -v '^ *+' conftest.er1 >conftest.err
5290
 
  rm -f conftest.er1
5291
 
  cat conftest.err >&5
5292
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5293
 
  (exit $ac_status); } &&
5294
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5295
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5296
 
  (eval $ac_try) 2>&5
5297
 
  ac_status=$?
5298
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5299
 
  (exit $ac_status); }; } &&
5300
 
         { ac_try='test -s conftest.$ac_objext'
5301
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5302
 
  (eval $ac_try) 2>&5
5303
 
  ac_status=$?
5304
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5305
 
  (exit $ac_status); }; }; then
5306
 
  ac_header_compiler=yes
5307
 
else
5308
 
  echo "$as_me: failed program was:" >&5
5309
 
sed 's/^/| /' conftest.$ac_ext >&5
5310
 
 
5311
 
ac_header_compiler=no
5312
 
fi
5313
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5314
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5315
 
echo "${ECHO_T}$ac_header_compiler" >&6
5316
 
 
5317
 
# Is the header present?
5318
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5319
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5320
 
cat >conftest.$ac_ext <<_ACEOF
5321
 
/* confdefs.h.  */
5322
 
_ACEOF
5323
 
cat confdefs.h >>conftest.$ac_ext
5324
 
cat >>conftest.$ac_ext <<_ACEOF
5325
 
/* end confdefs.h.  */
5326
 
#include <$ac_header>
5327
 
_ACEOF
5328
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5329
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5330
 
  ac_status=$?
5331
 
  grep -v '^ *+' conftest.er1 >conftest.err
5332
 
  rm -f conftest.er1
5333
 
  cat conftest.err >&5
5334
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5335
 
  (exit $ac_status); } >/dev/null; then
5336
 
  if test -s conftest.err; then
5337
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5338
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5339
 
  else
5340
 
    ac_cpp_err=
5341
 
  fi
5342
 
else
5343
 
  ac_cpp_err=yes
5344
 
fi
5345
 
if test -z "$ac_cpp_err"; then
5346
 
  ac_header_preproc=yes
5347
 
else
5348
 
  echo "$as_me: failed program was:" >&5
5349
 
sed 's/^/| /' conftest.$ac_ext >&5
5350
 
 
5351
 
  ac_header_preproc=no
5352
 
fi
5353
 
rm -f conftest.err conftest.$ac_ext
5354
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5355
 
echo "${ECHO_T}$ac_header_preproc" >&6
5356
 
 
5357
 
# So?  What about this header?
5358
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5359
 
  yes:no: )
5360
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5361
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5362
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5363
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5364
 
    ac_header_preproc=yes
5365
 
    ;;
5366
 
  no:yes:* )
5367
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5368
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5369
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5370
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5371
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5372
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5373
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5374
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5375
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5376
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5377
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5378
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5379
 
    (
5380
 
      cat <<\_ASBOX
5381
 
## ----------------------------------- ##
5382
 
## Report this to the crypto++ lists.  ##
5383
 
## ----------------------------------- ##
5384
 
_ASBOX
5385
 
    ) |
5386
 
      sed "s/^/$as_me: WARNING:     /" >&2
5387
 
    ;;
5388
 
esac
5389
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
5390
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5391
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5392
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5393
 
else
5394
 
  eval "$as_ac_Header=\$ac_header_preproc"
5395
 
fi
5396
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5397
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5398
 
 
5399
 
fi
5400
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5401
 
  cat >>confdefs.h <<_ACEOF
5402
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5403
 
_ACEOF
5404
 
 
5405
 
fi
5406
 
 
5407
 
done
5408
 
 
5409
 
 
5410
 
for ac_header in sys/socket.h
5411
 
do
5412
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5413
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5414
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
5415
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5416
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5417
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5418
 
fi
5419
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5420
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5421
 
else
5422
 
  # Is the header compilable?
5423
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5424
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5425
 
cat >conftest.$ac_ext <<_ACEOF
5426
 
/* confdefs.h.  */
5427
 
_ACEOF
5428
 
cat confdefs.h >>conftest.$ac_ext
5429
 
cat >>conftest.$ac_ext <<_ACEOF
5430
 
/* end confdefs.h.  */
5431
 
$ac_includes_default
5432
 
#include <$ac_header>
5433
 
_ACEOF
5434
 
rm -f conftest.$ac_objext
5435
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5436
 
  (eval $ac_compile) 2>conftest.er1
5437
 
  ac_status=$?
5438
 
  grep -v '^ *+' conftest.er1 >conftest.err
5439
 
  rm -f conftest.er1
5440
 
  cat conftest.err >&5
5441
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5442
 
  (exit $ac_status); } &&
5443
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5444
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5445
 
  (eval $ac_try) 2>&5
5446
 
  ac_status=$?
5447
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5448
 
  (exit $ac_status); }; } &&
5449
 
         { ac_try='test -s conftest.$ac_objext'
5450
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5451
 
  (eval $ac_try) 2>&5
5452
 
  ac_status=$?
5453
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5454
 
  (exit $ac_status); }; }; then
5455
 
  ac_header_compiler=yes
5456
 
else
5457
 
  echo "$as_me: failed program was:" >&5
5458
 
sed 's/^/| /' conftest.$ac_ext >&5
5459
 
 
5460
 
ac_header_compiler=no
5461
 
fi
5462
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5463
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5464
 
echo "${ECHO_T}$ac_header_compiler" >&6
5465
 
 
5466
 
# Is the header present?
5467
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5468
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5469
 
cat >conftest.$ac_ext <<_ACEOF
5470
 
/* confdefs.h.  */
5471
 
_ACEOF
5472
 
cat confdefs.h >>conftest.$ac_ext
5473
 
cat >>conftest.$ac_ext <<_ACEOF
5474
 
/* end confdefs.h.  */
5475
 
#include <$ac_header>
5476
 
_ACEOF
5477
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5478
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5479
 
  ac_status=$?
5480
 
  grep -v '^ *+' conftest.er1 >conftest.err
5481
 
  rm -f conftest.er1
5482
 
  cat conftest.err >&5
5483
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5484
 
  (exit $ac_status); } >/dev/null; then
5485
 
  if test -s conftest.err; then
5486
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5487
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5488
 
  else
5489
 
    ac_cpp_err=
5490
 
  fi
5491
 
else
5492
 
  ac_cpp_err=yes
5493
 
fi
5494
 
if test -z "$ac_cpp_err"; then
5495
 
  ac_header_preproc=yes
5496
 
else
5497
 
  echo "$as_me: failed program was:" >&5
5498
 
sed 's/^/| /' conftest.$ac_ext >&5
5499
 
 
5500
 
  ac_header_preproc=no
5501
 
fi
5502
 
rm -f conftest.err conftest.$ac_ext
5503
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5504
 
echo "${ECHO_T}$ac_header_preproc" >&6
5505
 
 
5506
 
# So?  What about this header?
5507
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5508
 
  yes:no: )
5509
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5510
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5511
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5512
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5513
 
    ac_header_preproc=yes
5514
 
    ;;
5515
 
  no:yes:* )
5516
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5517
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5518
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5519
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5520
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5521
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5522
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5523
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5524
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5525
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5526
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5527
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5528
 
    (
5529
 
      cat <<\_ASBOX
5530
 
## ----------------------------------- ##
5531
 
## Report this to the crypto++ lists.  ##
5532
 
## ----------------------------------- ##
5533
 
_ASBOX
5534
 
    ) |
5535
 
      sed "s/^/$as_me: WARNING:     /" >&2
5536
 
    ;;
5537
 
esac
5538
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
5539
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5540
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5541
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5542
 
else
5543
 
  eval "$as_ac_Header=\$ac_header_preproc"
5544
 
fi
5545
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5546
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5547
 
 
5548
 
fi
5549
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5550
 
  cat >>confdefs.h <<_ACEOF
5551
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5552
 
_ACEOF
5553
 
 
5554
 
fi
5555
 
 
5556
 
done
5557
 
 
5558
 
 
5559
 
for ac_header in sys/time.h
5560
 
do
5561
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5562
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5563
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
5564
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5565
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5566
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5567
 
fi
5568
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5569
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5570
 
else
5571
 
  # Is the header compilable?
5572
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5573
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5574
 
cat >conftest.$ac_ext <<_ACEOF
5575
 
/* confdefs.h.  */
5576
 
_ACEOF
5577
 
cat confdefs.h >>conftest.$ac_ext
5578
 
cat >>conftest.$ac_ext <<_ACEOF
5579
 
/* end confdefs.h.  */
5580
 
$ac_includes_default
5581
 
#include <$ac_header>
5582
 
_ACEOF
5583
 
rm -f conftest.$ac_objext
5584
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5585
 
  (eval $ac_compile) 2>conftest.er1
5586
 
  ac_status=$?
5587
 
  grep -v '^ *+' conftest.er1 >conftest.err
5588
 
  rm -f conftest.er1
5589
 
  cat conftest.err >&5
5590
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5591
 
  (exit $ac_status); } &&
5592
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5593
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5594
 
  (eval $ac_try) 2>&5
5595
 
  ac_status=$?
5596
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5597
 
  (exit $ac_status); }; } &&
5598
 
         { ac_try='test -s conftest.$ac_objext'
5599
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5600
 
  (eval $ac_try) 2>&5
5601
 
  ac_status=$?
5602
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5603
 
  (exit $ac_status); }; }; then
5604
 
  ac_header_compiler=yes
5605
 
else
5606
 
  echo "$as_me: failed program was:" >&5
5607
 
sed 's/^/| /' conftest.$ac_ext >&5
5608
 
 
5609
 
ac_header_compiler=no
5610
 
fi
5611
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5612
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5613
 
echo "${ECHO_T}$ac_header_compiler" >&6
5614
 
 
5615
 
# Is the header present?
5616
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5617
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5618
 
cat >conftest.$ac_ext <<_ACEOF
5619
 
/* confdefs.h.  */
5620
 
_ACEOF
5621
 
cat confdefs.h >>conftest.$ac_ext
5622
 
cat >>conftest.$ac_ext <<_ACEOF
5623
 
/* end confdefs.h.  */
5624
 
#include <$ac_header>
5625
 
_ACEOF
5626
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5627
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5628
 
  ac_status=$?
5629
 
  grep -v '^ *+' conftest.er1 >conftest.err
5630
 
  rm -f conftest.er1
5631
 
  cat conftest.err >&5
5632
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5633
 
  (exit $ac_status); } >/dev/null; then
5634
 
  if test -s conftest.err; then
5635
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5636
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5637
 
  else
5638
 
    ac_cpp_err=
5639
 
  fi
5640
 
else
5641
 
  ac_cpp_err=yes
5642
 
fi
5643
 
if test -z "$ac_cpp_err"; then
5644
 
  ac_header_preproc=yes
5645
 
else
5646
 
  echo "$as_me: failed program was:" >&5
5647
 
sed 's/^/| /' conftest.$ac_ext >&5
5648
 
 
5649
 
  ac_header_preproc=no
5650
 
fi
5651
 
rm -f conftest.err conftest.$ac_ext
5652
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5653
 
echo "${ECHO_T}$ac_header_preproc" >&6
5654
 
 
5655
 
# So?  What about this header?
5656
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5657
 
  yes:no: )
5658
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5659
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5660
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5661
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5662
 
    ac_header_preproc=yes
5663
 
    ;;
5664
 
  no:yes:* )
5665
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5666
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5667
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5668
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5669
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5670
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5671
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5672
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5673
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5674
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5675
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5676
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5677
 
    (
5678
 
      cat <<\_ASBOX
5679
 
## ----------------------------------- ##
5680
 
## Report this to the crypto++ lists.  ##
5681
 
## ----------------------------------- ##
5682
 
_ASBOX
5683
 
    ) |
5684
 
      sed "s/^/$as_me: WARNING:     /" >&2
5685
 
    ;;
5686
 
esac
5687
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
5688
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5689
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5690
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5691
 
else
5692
 
  eval "$as_ac_Header=\$ac_header_preproc"
5693
 
fi
5694
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5695
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5696
 
 
5697
 
fi
5698
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5699
 
  cat >>confdefs.h <<_ACEOF
5700
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5701
 
_ACEOF
5702
 
 
5703
 
fi
5704
 
 
5705
 
done
5706
 
 
5707
 
echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
5708
 
echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6
5709
 
if test "${ac_cv_type_ptrdiff_t+set}" = set; then
5710
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5711
 
else
5712
 
  cat >conftest.$ac_ext <<_ACEOF
5713
 
/* confdefs.h.  */
5714
 
_ACEOF
5715
 
cat confdefs.h >>conftest.$ac_ext
5716
 
cat >>conftest.$ac_ext <<_ACEOF
5717
 
/* end confdefs.h.  */
5718
 
$ac_includes_default
5719
 
int
5720
 
main ()
5721
 
{
5722
 
if ((ptrdiff_t *) 0)
5723
 
  return 0;
5724
 
if (sizeof (ptrdiff_t))
5725
 
  return 0;
5726
 
  ;
5727
 
  return 0;
5728
 
}
5729
 
_ACEOF
5730
 
rm -f conftest.$ac_objext
5731
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5732
 
  (eval $ac_compile) 2>conftest.er1
5733
 
  ac_status=$?
5734
 
  grep -v '^ *+' conftest.er1 >conftest.err
5735
 
  rm -f conftest.er1
5736
 
  cat conftest.err >&5
5737
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5738
 
  (exit $ac_status); } &&
5739
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5740
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5741
 
  (eval $ac_try) 2>&5
5742
 
  ac_status=$?
5743
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5744
 
  (exit $ac_status); }; } &&
5745
 
         { ac_try='test -s conftest.$ac_objext'
5746
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5747
 
  (eval $ac_try) 2>&5
5748
 
  ac_status=$?
5749
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5750
 
  (exit $ac_status); }; }; then
5751
 
  ac_cv_type_ptrdiff_t=yes
5752
 
else
5753
 
  echo "$as_me: failed program was:" >&5
5754
 
sed 's/^/| /' conftest.$ac_ext >&5
5755
 
 
5756
 
ac_cv_type_ptrdiff_t=no
5757
 
fi
5758
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5759
 
fi
5760
 
echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
5761
 
echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6
5762
 
if test $ac_cv_type_ptrdiff_t = yes; then
5763
 
 
5764
 
cat >>confdefs.h <<_ACEOF
5765
 
#define HAVE_PTRDIFF_T 1
5766
 
_ACEOF
5767
 
 
5768
 
 
5769
 
fi
5770
 
 
5771
 
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5772
 
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
5773
 
if test "${ac_cv_c_const+set}" = set; then
5774
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5775
 
else
5776
 
  cat >conftest.$ac_ext <<_ACEOF
5777
 
/* confdefs.h.  */
5778
 
_ACEOF
5779
 
cat confdefs.h >>conftest.$ac_ext
5780
 
cat >>conftest.$ac_ext <<_ACEOF
5781
 
/* end confdefs.h.  */
5782
 
 
5783
 
int
5784
 
main ()
5785
 
{
5786
 
/* FIXME: Include the comments suggested by Paul. */
5787
 
#ifndef __cplusplus
5788
 
  /* Ultrix mips cc rejects this.  */
5789
 
  typedef int charset[2];
5790
 
  const charset x;
5791
 
  /* SunOS 4.1.1 cc rejects this.  */
5792
 
  char const *const *ccp;
5793
 
  char **p;
5794
 
  /* NEC SVR4.0.2 mips cc rejects this.  */
5795
 
  struct point {int x, y;};
5796
 
  static struct point const zero = {0,0};
5797
 
  /* AIX XL C 1.02.0.0 rejects this.
5798
 
     It does not let you subtract one const X* pointer from another in
5799
 
     an arm of an if-expression whose if-part is not a constant
5800
 
     expression */
5801
 
  const char *g = "string";
5802
 
  ccp = &g + (g ? g-g : 0);
5803
 
  /* HPUX 7.0 cc rejects these. */
5804
 
  ++ccp;
5805
 
  p = (char**) ccp;
5806
 
  ccp = (char const *const *) p;
5807
 
  { /* SCO 3.2v4 cc rejects this.  */
5808
 
    char *t;
5809
 
    char const *s = 0 ? (char *) 0 : (char const *) 0;
5810
 
 
5811
 
    *t++ = 0;
5812
 
  }
5813
 
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
5814
 
    int x[] = {25, 17};
5815
 
    const int *foo = &x[0];
5816
 
    ++foo;
5817
 
  }
5818
 
  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5819
 
    typedef const int *iptr;
5820
 
    iptr p = 0;
5821
 
    ++p;
5822
 
  }
5823
 
  { /* AIX XL C 1.02.0.0 rejects this saying
5824
 
       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5825
 
    struct s { int j; const int *ap[3]; };
5826
 
    struct s *b; b->j = 5;
5827
 
  }
5828
 
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5829
 
    const int foo = 10;
5830
 
  }
5831
 
#endif
5832
 
 
5833
 
  ;
5834
 
  return 0;
5835
 
}
5836
 
_ACEOF
5837
 
rm -f conftest.$ac_objext
5838
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5839
 
  (eval $ac_compile) 2>conftest.er1
5840
 
  ac_status=$?
5841
 
  grep -v '^ *+' conftest.er1 >conftest.err
5842
 
  rm -f conftest.er1
5843
 
  cat conftest.err >&5
5844
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5845
 
  (exit $ac_status); } &&
5846
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5847
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5848
 
  (eval $ac_try) 2>&5
5849
 
  ac_status=$?
5850
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5851
 
  (exit $ac_status); }; } &&
5852
 
         { ac_try='test -s conftest.$ac_objext'
5853
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5854
 
  (eval $ac_try) 2>&5
5855
 
  ac_status=$?
5856
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5857
 
  (exit $ac_status); }; }; then
5858
 
  ac_cv_c_const=yes
5859
 
else
5860
 
  echo "$as_me: failed program was:" >&5
5861
 
sed 's/^/| /' conftest.$ac_ext >&5
5862
 
 
5863
 
ac_cv_c_const=no
5864
 
fi
5865
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5866
 
fi
5867
 
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5868
 
echo "${ECHO_T}$ac_cv_c_const" >&6
5869
 
if test $ac_cv_c_const = no; then
5870
 
 
5871
 
cat >>confdefs.h <<\_ACEOF
5872
 
#define const
5873
 
_ACEOF
5874
 
 
5875
 
fi
5876
 
 
5877
 
echo "$as_me:$LINENO: checking for inline" >&5
5878
 
echo $ECHO_N "checking for inline... $ECHO_C" >&6
5879
 
if test "${ac_cv_c_inline+set}" = set; then
5880
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5881
 
else
5882
 
  ac_cv_c_inline=no
5883
 
for ac_kw in inline __inline__ __inline; do
5884
 
  cat >conftest.$ac_ext <<_ACEOF
5885
 
/* confdefs.h.  */
5886
 
_ACEOF
5887
 
cat confdefs.h >>conftest.$ac_ext
5888
 
cat >>conftest.$ac_ext <<_ACEOF
5889
 
/* end confdefs.h.  */
5890
 
#ifndef __cplusplus
5891
 
typedef int foo_t;
5892
 
static $ac_kw foo_t static_foo () {return 0; }
5893
 
$ac_kw foo_t foo () {return 0; }
5894
 
#endif
5895
 
 
5896
 
_ACEOF
5897
 
rm -f conftest.$ac_objext
5898
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5899
 
  (eval $ac_compile) 2>conftest.er1
5900
 
  ac_status=$?
5901
 
  grep -v '^ *+' conftest.er1 >conftest.err
5902
 
  rm -f conftest.er1
5903
 
  cat conftest.err >&5
5904
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5905
 
  (exit $ac_status); } &&
5906
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5907
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5908
 
  (eval $ac_try) 2>&5
5909
 
  ac_status=$?
5910
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5911
 
  (exit $ac_status); }; } &&
5912
 
         { ac_try='test -s conftest.$ac_objext'
5913
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5914
 
  (eval $ac_try) 2>&5
5915
 
  ac_status=$?
5916
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5917
 
  (exit $ac_status); }; }; then
5918
 
  ac_cv_c_inline=$ac_kw; break
5919
 
else
5920
 
  echo "$as_me: failed program was:" >&5
5921
 
sed 's/^/| /' conftest.$ac_ext >&5
5922
 
 
5923
 
fi
5924
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5925
 
done
5926
 
 
5927
 
fi
5928
 
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5929
 
echo "${ECHO_T}$ac_cv_c_inline" >&6
5930
 
 
5931
 
 
5932
 
case $ac_cv_c_inline in
5933
 
  inline | yes) ;;
5934
 
  *)
5935
 
    case $ac_cv_c_inline in
5936
 
      no) ac_val=;;
5937
 
      *) ac_val=$ac_cv_c_inline;;
5938
 
    esac
5939
 
    cat >>confdefs.h <<_ACEOF
5940
 
#ifndef __cplusplus
5941
 
#define inline $ac_val
5942
 
#endif
5943
 
_ACEOF
5944
 
    ;;
5945
 
esac
5946
 
 
5947
 
 
5948
 
for ac_header in stdlib.h
5949
 
do
5950
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5951
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5952
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
5953
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5954
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5955
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5956
 
fi
5957
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5958
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5959
 
else
5960
 
  # Is the header compilable?
5961
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5962
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5963
 
cat >conftest.$ac_ext <<_ACEOF
5964
 
/* confdefs.h.  */
5965
 
_ACEOF
5966
 
cat confdefs.h >>conftest.$ac_ext
5967
 
cat >>conftest.$ac_ext <<_ACEOF
5968
 
/* end confdefs.h.  */
5969
 
$ac_includes_default
5970
 
#include <$ac_header>
5971
 
_ACEOF
5972
 
rm -f conftest.$ac_objext
5973
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5974
 
  (eval $ac_compile) 2>conftest.er1
5975
 
  ac_status=$?
5976
 
  grep -v '^ *+' conftest.er1 >conftest.err
5977
 
  rm -f conftest.er1
5978
 
  cat conftest.err >&5
5979
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5980
 
  (exit $ac_status); } &&
5981
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5982
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5983
 
  (eval $ac_try) 2>&5
5984
 
  ac_status=$?
5985
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5986
 
  (exit $ac_status); }; } &&
5987
 
         { ac_try='test -s conftest.$ac_objext'
5988
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5989
 
  (eval $ac_try) 2>&5
5990
 
  ac_status=$?
5991
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5992
 
  (exit $ac_status); }; }; then
5993
 
  ac_header_compiler=yes
5994
 
else
5995
 
  echo "$as_me: failed program was:" >&5
5996
 
sed 's/^/| /' conftest.$ac_ext >&5
5997
 
 
5998
 
ac_header_compiler=no
5999
 
fi
6000
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6001
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6002
 
echo "${ECHO_T}$ac_header_compiler" >&6
6003
 
 
6004
 
# Is the header present?
6005
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
6006
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6007
 
cat >conftest.$ac_ext <<_ACEOF
6008
 
/* confdefs.h.  */
6009
 
_ACEOF
6010
 
cat confdefs.h >>conftest.$ac_ext
6011
 
cat >>conftest.$ac_ext <<_ACEOF
6012
 
/* end confdefs.h.  */
6013
 
#include <$ac_header>
6014
 
_ACEOF
6015
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6016
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6017
 
  ac_status=$?
6018
 
  grep -v '^ *+' conftest.er1 >conftest.err
6019
 
  rm -f conftest.er1
6020
 
  cat conftest.err >&5
6021
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6022
 
  (exit $ac_status); } >/dev/null; then
6023
 
  if test -s conftest.err; then
6024
 
    ac_cpp_err=$ac_c_preproc_warn_flag
6025
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6026
 
  else
6027
 
    ac_cpp_err=
6028
 
  fi
6029
 
else
6030
 
  ac_cpp_err=yes
6031
 
fi
6032
 
if test -z "$ac_cpp_err"; then
6033
 
  ac_header_preproc=yes
6034
 
else
6035
 
  echo "$as_me: failed program was:" >&5
6036
 
sed 's/^/| /' conftest.$ac_ext >&5
6037
 
 
6038
 
  ac_header_preproc=no
6039
 
fi
6040
 
rm -f conftest.err conftest.$ac_ext
6041
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6042
 
echo "${ECHO_T}$ac_header_preproc" >&6
6043
 
 
6044
 
# So?  What about this header?
6045
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6046
 
  yes:no: )
6047
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6048
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6049
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6050
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6051
 
    ac_header_preproc=yes
6052
 
    ;;
6053
 
  no:yes:* )
6054
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6055
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6056
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6057
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6058
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6059
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6060
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6061
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6062
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6063
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6064
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6065
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6066
 
    (
6067
 
      cat <<\_ASBOX
6068
 
## ----------------------------------- ##
6069
 
## Report this to the crypto++ lists.  ##
6070
 
## ----------------------------------- ##
6071
 
_ASBOX
6072
 
    ) |
6073
 
      sed "s/^/$as_me: WARNING:     /" >&2
6074
 
    ;;
6075
 
esac
6076
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
6077
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6078
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6079
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6080
 
else
6081
 
  eval "$as_ac_Header=\$ac_header_preproc"
6082
 
fi
6083
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6084
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6085
 
 
6086
 
fi
6087
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6088
 
  cat >>confdefs.h <<_ACEOF
6089
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6090
 
_ACEOF
6091
 
 
6092
 
fi
6093
 
 
6094
 
done
6095
 
 
6096
 
echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
6097
 
echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6
6098
 
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
6099
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6100
 
else
6101
 
  if test "$cross_compiling" = yes; then
6102
 
  ac_cv_func_malloc_0_nonnull=no
6103
 
else
6104
 
  cat >conftest.$ac_ext <<_ACEOF
6105
 
/* confdefs.h.  */
6106
 
_ACEOF
6107
 
cat confdefs.h >>conftest.$ac_ext
6108
 
cat >>conftest.$ac_ext <<_ACEOF
6109
 
/* end confdefs.h.  */
6110
 
#if STDC_HEADERS || HAVE_STDLIB_H
6111
 
# include <stdlib.h>
6112
 
#else
6113
 
char *malloc ();
6114
 
#endif
6115
 
 
6116
 
int
6117
 
main ()
6118
 
{
6119
 
exit (malloc (0) ? 0 : 1);
6120
 
  ;
6121
 
  return 0;
6122
 
}
6123
 
_ACEOF
6124
 
rm -f conftest$ac_exeext
6125
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6126
 
  (eval $ac_link) 2>&5
6127
 
  ac_status=$?
6128
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6129
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6130
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6131
 
  (eval $ac_try) 2>&5
6132
 
  ac_status=$?
6133
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6134
 
  (exit $ac_status); }; }; then
6135
 
  ac_cv_func_malloc_0_nonnull=yes
6136
 
else
6137
 
  echo "$as_me: program exited with status $ac_status" >&5
6138
 
echo "$as_me: failed program was:" >&5
6139
 
sed 's/^/| /' conftest.$ac_ext >&5
6140
 
 
6141
 
( exit $ac_status )
6142
 
ac_cv_func_malloc_0_nonnull=no
6143
 
fi
6144
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6145
 
fi
6146
 
fi
6147
 
echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
6148
 
echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6
6149
 
if test $ac_cv_func_malloc_0_nonnull = yes; then
6150
 
 
6151
 
cat >>confdefs.h <<\_ACEOF
6152
 
#define HAVE_MALLOC 1
6153
 
_ACEOF
6154
 
 
6155
 
else
6156
 
  cat >>confdefs.h <<\_ACEOF
6157
 
#define HAVE_MALLOC 0
6158
 
_ACEOF
6159
 
 
6160
 
   case $LIBOBJS in
6161
 
    "malloc.$ac_objext"   | \
6162
 
  *" malloc.$ac_objext"   | \
6163
 
    "malloc.$ac_objext "* | \
6164
 
  *" malloc.$ac_objext "* ) ;;
6165
 
  *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;;
6166
 
esac
6167
 
 
6168
 
 
6169
 
cat >>confdefs.h <<\_ACEOF
6170
 
#define malloc rpl_malloc
6171
 
_ACEOF
6172
 
 
6173
 
fi
6174
 
 
6175
 
 
6176
 
 
6177
 
echo "$as_me:$LINENO: checking for working memcmp" >&5
6178
 
echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
6179
 
if test "${ac_cv_func_memcmp_working+set}" = set; then
6180
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6181
 
else
6182
 
  if test "$cross_compiling" = yes; then
6183
 
  ac_cv_func_memcmp_working=no
6184
 
else
6185
 
  cat >conftest.$ac_ext <<_ACEOF
6186
 
/* confdefs.h.  */
6187
 
_ACEOF
6188
 
cat confdefs.h >>conftest.$ac_ext
6189
 
cat >>conftest.$ac_ext <<_ACEOF
6190
 
/* end confdefs.h.  */
6191
 
$ac_includes_default
6192
 
int
6193
 
main ()
6194
 
{
6195
 
 
6196
 
  /* Some versions of memcmp are not 8-bit clean.  */
6197
 
  char c0 = 0x40, c1 = 0x80, c2 = 0x81;
6198
 
  if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
6199
 
    exit (1);
6200
 
 
6201
 
  /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
6202
 
     or more and with at least one buffer not starting on a 4-byte boundary.
6203
 
     William Lewis provided this test program.   */
6204
 
  {
6205
 
    char foo[21];
6206
 
    char bar[21];
6207
 
    int i;
6208
 
    for (i = 0; i < 4; i++)
6209
 
      {
6210
 
        char *a = foo + i;
6211
 
        char *b = bar + i;
6212
 
        strcpy (a, "--------01111111");
6213
 
        strcpy (b, "--------10000000");
6214
 
        if (memcmp (a, b, 16) >= 0)
6215
 
          exit (1);
6216
 
      }
6217
 
    exit (0);
6218
 
  }
6219
 
 
6220
 
  ;
6221
 
  return 0;
6222
 
}
6223
 
_ACEOF
6224
 
rm -f conftest$ac_exeext
6225
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6226
 
  (eval $ac_link) 2>&5
6227
 
  ac_status=$?
6228
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6229
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6230
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6231
 
  (eval $ac_try) 2>&5
6232
 
  ac_status=$?
6233
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6234
 
  (exit $ac_status); }; }; then
6235
 
  ac_cv_func_memcmp_working=yes
6236
 
else
6237
 
  echo "$as_me: program exited with status $ac_status" >&5
6238
 
echo "$as_me: failed program was:" >&5
6239
 
sed 's/^/| /' conftest.$ac_ext >&5
6240
 
 
6241
 
( exit $ac_status )
6242
 
ac_cv_func_memcmp_working=no
6243
 
fi
6244
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6245
 
fi
6246
 
fi
6247
 
echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
6248
 
echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
6249
 
test $ac_cv_func_memcmp_working = no && case $LIBOBJS in
6250
 
    "memcmp.$ac_objext"   | \
6251
 
  *" memcmp.$ac_objext"   | \
6252
 
    "memcmp.$ac_objext "* | \
6253
 
  *" memcmp.$ac_objext "* ) ;;
6254
 
  *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" ;;
6255
 
esac
6256
 
 
6257
 
 
6258
 
 
6259
 
 
6260
 
for ac_header in sys/select.h sys/socket.h
6261
 
do
6262
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6263
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6264
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
6265
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6266
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6267
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6268
 
fi
6269
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6270
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6271
 
else
6272
 
  # Is the header compilable?
6273
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
6274
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6275
 
cat >conftest.$ac_ext <<_ACEOF
6276
 
/* confdefs.h.  */
6277
 
_ACEOF
6278
 
cat confdefs.h >>conftest.$ac_ext
6279
 
cat >>conftest.$ac_ext <<_ACEOF
6280
 
/* end confdefs.h.  */
6281
 
$ac_includes_default
6282
 
#include <$ac_header>
6283
 
_ACEOF
6284
 
rm -f conftest.$ac_objext
6285
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6286
 
  (eval $ac_compile) 2>conftest.er1
6287
 
  ac_status=$?
6288
 
  grep -v '^ *+' conftest.er1 >conftest.err
6289
 
  rm -f conftest.er1
6290
 
  cat conftest.err >&5
6291
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6292
 
  (exit $ac_status); } &&
6293
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6294
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6295
 
  (eval $ac_try) 2>&5
6296
 
  ac_status=$?
6297
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6298
 
  (exit $ac_status); }; } &&
6299
 
         { ac_try='test -s conftest.$ac_objext'
6300
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6301
 
  (eval $ac_try) 2>&5
6302
 
  ac_status=$?
6303
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6304
 
  (exit $ac_status); }; }; then
6305
 
  ac_header_compiler=yes
6306
 
else
6307
 
  echo "$as_me: failed program was:" >&5
6308
 
sed 's/^/| /' conftest.$ac_ext >&5
6309
 
 
6310
 
ac_header_compiler=no
6311
 
fi
6312
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6313
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6314
 
echo "${ECHO_T}$ac_header_compiler" >&6
6315
 
 
6316
 
# Is the header present?
6317
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
6318
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6319
 
cat >conftest.$ac_ext <<_ACEOF
6320
 
/* confdefs.h.  */
6321
 
_ACEOF
6322
 
cat confdefs.h >>conftest.$ac_ext
6323
 
cat >>conftest.$ac_ext <<_ACEOF
6324
 
/* end confdefs.h.  */
6325
 
#include <$ac_header>
6326
 
_ACEOF
6327
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6328
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6329
 
  ac_status=$?
6330
 
  grep -v '^ *+' conftest.er1 >conftest.err
6331
 
  rm -f conftest.er1
6332
 
  cat conftest.err >&5
6333
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6334
 
  (exit $ac_status); } >/dev/null; then
6335
 
  if test -s conftest.err; then
6336
 
    ac_cpp_err=$ac_c_preproc_warn_flag
6337
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6338
 
  else
6339
 
    ac_cpp_err=
6340
 
  fi
6341
 
else
6342
 
  ac_cpp_err=yes
6343
 
fi
6344
 
if test -z "$ac_cpp_err"; then
6345
 
  ac_header_preproc=yes
6346
 
else
6347
 
  echo "$as_me: failed program was:" >&5
6348
 
sed 's/^/| /' conftest.$ac_ext >&5
6349
 
 
6350
 
  ac_header_preproc=no
6351
 
fi
6352
 
rm -f conftest.err conftest.$ac_ext
6353
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6354
 
echo "${ECHO_T}$ac_header_preproc" >&6
6355
 
 
6356
 
# So?  What about this header?
6357
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6358
 
  yes:no: )
6359
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6360
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6361
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6362
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6363
 
    ac_header_preproc=yes
6364
 
    ;;
6365
 
  no:yes:* )
6366
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6367
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6368
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6369
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6370
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6371
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6372
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6373
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6374
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6375
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6376
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6377
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6378
 
    (
6379
 
      cat <<\_ASBOX
6380
 
## ----------------------------------- ##
6381
 
## Report this to the crypto++ lists.  ##
6382
 
## ----------------------------------- ##
6383
 
_ASBOX
6384
 
    ) |
6385
 
      sed "s/^/$as_me: WARNING:     /" >&2
6386
 
    ;;
6387
 
esac
6388
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
6389
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6390
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6391
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6392
 
else
6393
 
  eval "$as_ac_Header=\$ac_header_preproc"
6394
 
fi
6395
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6396
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6397
 
 
6398
 
fi
6399
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6400
 
  cat >>confdefs.h <<_ACEOF
6401
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6402
 
_ACEOF
6403
 
 
6404
 
fi
6405
 
 
6406
 
done
6407
 
 
6408
 
echo "$as_me:$LINENO: checking types of arguments for select" >&5
6409
 
echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6
6410
 
if test "${ac_cv_func_select_args+set}" = set; then
6411
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6412
 
else
6413
 
  for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
6414
 
 for ac_arg1 in 'int' 'size_t' 'unsigned long' 'unsigned'; do
6415
 
  for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
6416
 
   cat >conftest.$ac_ext <<_ACEOF
6417
 
/* confdefs.h.  */
6418
 
_ACEOF
6419
 
cat confdefs.h >>conftest.$ac_ext
6420
 
cat >>conftest.$ac_ext <<_ACEOF
6421
 
/* end confdefs.h.  */
6422
 
$ac_includes_default
6423
 
#if HAVE_SYS_SELECT_H
6424
 
# include <sys/select.h>
6425
 
#endif
6426
 
#if HAVE_SYS_SOCKET_H
6427
 
# include <sys/socket.h>
6428
 
#endif
6429
 
 
6430
 
int
6431
 
main ()
6432
 
{
6433
 
extern int select ($ac_arg1,
6434
 
                                            $ac_arg234, $ac_arg234, $ac_arg234,
6435
 
                                            $ac_arg5);
6436
 
  ;
6437
 
  return 0;
6438
 
}
6439
 
_ACEOF
6440
 
rm -f conftest.$ac_objext
6441
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6442
 
  (eval $ac_compile) 2>conftest.er1
6443
 
  ac_status=$?
6444
 
  grep -v '^ *+' conftest.er1 >conftest.err
6445
 
  rm -f conftest.er1
6446
 
  cat conftest.err >&5
6447
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6448
 
  (exit $ac_status); } &&
6449
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6450
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6451
 
  (eval $ac_try) 2>&5
6452
 
  ac_status=$?
6453
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6454
 
  (exit $ac_status); }; } &&
6455
 
         { ac_try='test -s conftest.$ac_objext'
6456
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6457
 
  (eval $ac_try) 2>&5
6458
 
  ac_status=$?
6459
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6460
 
  (exit $ac_status); }; }; then
6461
 
  ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
6462
 
else
6463
 
  echo "$as_me: failed program was:" >&5
6464
 
sed 's/^/| /' conftest.$ac_ext >&5
6465
 
 
6466
 
fi
6467
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6468
 
  done
6469
 
 done
6470
 
done
6471
 
# Provide a safe default value.
6472
 
: ${ac_cv_func_select_args='int,int *,struct timeval *'}
6473
 
 
6474
 
fi
6475
 
echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
6476
 
echo "${ECHO_T}$ac_cv_func_select_args" >&6
6477
 
ac_save_IFS=$IFS; IFS=','
6478
 
set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
6479
 
IFS=$ac_save_IFS
6480
 
shift
6481
 
 
6482
 
cat >>confdefs.h <<_ACEOF
6483
 
#define SELECT_TYPE_ARG1 $1
6484
 
_ACEOF
6485
 
 
6486
 
 
6487
 
cat >>confdefs.h <<_ACEOF
6488
 
#define SELECT_TYPE_ARG234 ($2)
6489
 
_ACEOF
6490
 
 
6491
 
 
6492
 
cat >>confdefs.h <<_ACEOF
6493
 
#define SELECT_TYPE_ARG5 ($3)
6494
 
_ACEOF
6495
 
 
6496
 
rm -f conftest*
6497
 
 
6498
 
echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
6499
 
echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
6500
 
if test "${ac_cv_header_stdbool_h+set}" = set; then
6501
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6502
 
else
6503
 
  cat >conftest.$ac_ext <<_ACEOF
6504
 
/* confdefs.h.  */
6505
 
_ACEOF
6506
 
cat confdefs.h >>conftest.$ac_ext
6507
 
cat >>conftest.$ac_ext <<_ACEOF
6508
 
/* end confdefs.h.  */
6509
 
 
6510
 
#include <stdbool.h>
6511
 
#ifndef bool
6512
 
# error bool is not defined
6513
 
#endif
6514
 
#ifndef false
6515
 
# error false is not defined
6516
 
#endif
6517
 
#if false
6518
 
# error false is not 0
6519
 
#endif
6520
 
#ifndef true
6521
 
# error true is not defined
6522
 
#endif
6523
 
#if true != 1
6524
 
# error true is not 1
6525
 
#endif
6526
 
#ifndef __bool_true_false_are_defined
6527
 
# error __bool_true_false_are_defined is not defined
6528
 
#endif
6529
 
 
6530
 
        struct s { _Bool s: 1; _Bool t; } s;
6531
 
 
6532
 
        char a[true == 1 ? 1 : -1];
6533
 
        char b[false == 0 ? 1 : -1];
6534
 
        char c[__bool_true_false_are_defined == 1 ? 1 : -1];
6535
 
        char d[(bool) -0.5 == true ? 1 : -1];
6536
 
        bool e = &s;
6537
 
        char f[(_Bool) -0.0 == false ? 1 : -1];
6538
 
        char g[true];
6539
 
        char h[sizeof (_Bool)];
6540
 
        char i[sizeof s.t];
6541
 
 
6542
 
int
6543
 
main ()
6544
 
{
6545
 
 return !a + !b + !c + !d + !e + !f + !g + !h + !i;
6546
 
  ;
6547
 
  return 0;
6548
 
}
6549
 
_ACEOF
6550
 
rm -f conftest.$ac_objext
6551
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6552
 
  (eval $ac_compile) 2>conftest.er1
6553
 
  ac_status=$?
6554
 
  grep -v '^ *+' conftest.er1 >conftest.err
6555
 
  rm -f conftest.er1
6556
 
  cat conftest.err >&5
6557
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6558
 
  (exit $ac_status); } &&
6559
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6560
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6561
 
  (eval $ac_try) 2>&5
6562
 
  ac_status=$?
6563
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6564
 
  (exit $ac_status); }; } &&
6565
 
         { ac_try='test -s conftest.$ac_objext'
6566
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6567
 
  (eval $ac_try) 2>&5
6568
 
  ac_status=$?
6569
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6570
 
  (exit $ac_status); }; }; then
6571
 
  ac_cv_header_stdbool_h=yes
6572
 
else
6573
 
  echo "$as_me: failed program was:" >&5
6574
 
sed 's/^/| /' conftest.$ac_ext >&5
6575
 
 
6576
 
ac_cv_header_stdbool_h=no
6577
 
fi
6578
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6579
 
fi
6580
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
6581
 
echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
6582
 
echo "$as_me:$LINENO: checking for _Bool" >&5
6583
 
echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
6584
 
if test "${ac_cv_type__Bool+set}" = set; then
6585
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6586
 
else
6587
 
  cat >conftest.$ac_ext <<_ACEOF
6588
 
/* confdefs.h.  */
6589
 
_ACEOF
6590
 
cat confdefs.h >>conftest.$ac_ext
6591
 
cat >>conftest.$ac_ext <<_ACEOF
6592
 
/* end confdefs.h.  */
6593
 
$ac_includes_default
6594
 
int
6595
 
main ()
6596
 
{
6597
 
if ((_Bool *) 0)
6598
 
  return 0;
6599
 
if (sizeof (_Bool))
6600
 
  return 0;
6601
 
  ;
6602
 
  return 0;
6603
 
}
6604
 
_ACEOF
6605
 
rm -f conftest.$ac_objext
6606
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6607
 
  (eval $ac_compile) 2>conftest.er1
6608
 
  ac_status=$?
6609
 
  grep -v '^ *+' conftest.er1 >conftest.err
6610
 
  rm -f conftest.er1
6611
 
  cat conftest.err >&5
6612
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6613
 
  (exit $ac_status); } &&
6614
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6615
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6616
 
  (eval $ac_try) 2>&5
6617
 
  ac_status=$?
6618
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6619
 
  (exit $ac_status); }; } &&
6620
 
         { ac_try='test -s conftest.$ac_objext'
6621
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6622
 
  (eval $ac_try) 2>&5
6623
 
  ac_status=$?
6624
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6625
 
  (exit $ac_status); }; }; then
6626
 
  ac_cv_type__Bool=yes
6627
 
else
6628
 
  echo "$as_me: failed program was:" >&5
6629
 
sed 's/^/| /' conftest.$ac_ext >&5
6630
 
 
6631
 
ac_cv_type__Bool=no
6632
 
fi
6633
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6634
 
fi
6635
 
echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
6636
 
echo "${ECHO_T}$ac_cv_type__Bool" >&6
6637
 
if test $ac_cv_type__Bool = yes; then
6638
 
 
6639
 
cat >>confdefs.h <<_ACEOF
6640
 
#define HAVE__BOOL 1
6641
 
_ACEOF
6642
 
 
6643
 
 
6644
 
fi
6645
 
 
6646
 
if test $ac_cv_header_stdbool_h = yes; then
6647
 
 
6648
 
cat >>confdefs.h <<\_ACEOF
6649
 
#define HAVE_STDBOOL_H 1
6650
 
_ACEOF
6651
 
 
6652
 
fi
6653
 
 
6654
 
echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6655
 
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
6656
 
if test "${ac_cv_header_time+set}" = set; then
6657
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6658
 
else
6659
 
  cat >conftest.$ac_ext <<_ACEOF
6660
 
/* confdefs.h.  */
6661
 
_ACEOF
6662
 
cat confdefs.h >>conftest.$ac_ext
6663
 
cat >>conftest.$ac_ext <<_ACEOF
6664
 
/* end confdefs.h.  */
6665
 
#include <sys/types.h>
6666
 
#include <sys/time.h>
6667
 
#include <time.h>
6668
 
 
6669
 
int
6670
 
main ()
6671
 
{
6672
 
if ((struct tm *) 0)
6673
 
return 0;
6674
 
  ;
6675
 
  return 0;
6676
 
}
6677
 
_ACEOF
6678
 
rm -f conftest.$ac_objext
6679
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6680
 
  (eval $ac_compile) 2>conftest.er1
6681
 
  ac_status=$?
6682
 
  grep -v '^ *+' conftest.er1 >conftest.err
6683
 
  rm -f conftest.er1
6684
 
  cat conftest.err >&5
6685
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6686
 
  (exit $ac_status); } &&
6687
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6688
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6689
 
  (eval $ac_try) 2>&5
6690
 
  ac_status=$?
6691
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6692
 
  (exit $ac_status); }; } &&
6693
 
         { ac_try='test -s conftest.$ac_objext'
6694
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6695
 
  (eval $ac_try) 2>&5
6696
 
  ac_status=$?
6697
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6698
 
  (exit $ac_status); }; }; then
6699
 
  ac_cv_header_time=yes
6700
 
else
6701
 
  echo "$as_me: failed program was:" >&5
6702
 
sed 's/^/| /' conftest.$ac_ext >&5
6703
 
 
6704
 
ac_cv_header_time=no
6705
 
fi
6706
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6707
 
fi
6708
 
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6709
 
echo "${ECHO_T}$ac_cv_header_time" >&6
6710
 
if test $ac_cv_header_time = yes; then
6711
 
 
6712
 
cat >>confdefs.h <<\_ACEOF
6713
 
#define TIME_WITH_SYS_TIME 1
6714
 
_ACEOF
6715
 
 
6716
 
fi
6717
 
 
6718
 
 
6719
 
if test $ac_cv_c_compiler_gnu = yes; then
6720
 
    echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
6721
 
echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
6722
 
if test "${ac_cv_prog_gcc_traditional+set}" = set; then
6723
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6724
 
else
6725
 
    ac_pattern="Autoconf.*'x'"
6726
 
  cat >conftest.$ac_ext <<_ACEOF
6727
 
/* confdefs.h.  */
6728
 
_ACEOF
6729
 
cat confdefs.h >>conftest.$ac_ext
6730
 
cat >>conftest.$ac_ext <<_ACEOF
6731
 
/* end confdefs.h.  */
6732
 
#include <sgtty.h>
6733
 
Autoconf TIOCGETP
6734
 
_ACEOF
6735
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6736
 
  $EGREP "$ac_pattern" >/dev/null 2>&1; then
6737
 
  ac_cv_prog_gcc_traditional=yes
6738
 
else
6739
 
  ac_cv_prog_gcc_traditional=no
6740
 
fi
6741
 
rm -f conftest*
6742
 
 
6743
 
 
6744
 
  if test $ac_cv_prog_gcc_traditional = no; then
6745
 
    cat >conftest.$ac_ext <<_ACEOF
6746
 
/* confdefs.h.  */
6747
 
_ACEOF
6748
 
cat confdefs.h >>conftest.$ac_ext
6749
 
cat >>conftest.$ac_ext <<_ACEOF
6750
 
/* end confdefs.h.  */
6751
 
#include <termio.h>
6752
 
Autoconf TCGETA
6753
 
_ACEOF
6754
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6755
 
  $EGREP "$ac_pattern" >/dev/null 2>&1; then
6756
 
  ac_cv_prog_gcc_traditional=yes
6757
 
fi
6758
 
rm -f conftest*
6759
 
 
6760
 
  fi
6761
 
fi
6762
 
echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
6763
 
echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
6764
 
  if test $ac_cv_prog_gcc_traditional = yes; then
6765
 
    CC="$CC -traditional"
6766
 
  fi
6767
 
fi
6768
 
 
6769
 
 
6770
 
if test -n "$ac_tool_prefix"; then
6771
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6772
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6773
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6774
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6775
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
6776
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6777
 
else
6778
 
  if test -n "$RANLIB"; then
6779
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6780
 
else
6781
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6782
 
for as_dir in $PATH
6783
 
do
6784
 
  IFS=$as_save_IFS
6785
 
  test -z "$as_dir" && as_dir=.
6786
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6787
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6788
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6789
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6790
 
    break 2
6791
 
  fi
6792
 
done
6793
 
done
6794
 
 
6795
 
fi
6796
 
fi
6797
 
RANLIB=$ac_cv_prog_RANLIB
6798
 
if test -n "$RANLIB"; then
6799
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
6800
 
echo "${ECHO_T}$RANLIB" >&6
6801
 
else
6802
 
  echo "$as_me:$LINENO: result: no" >&5
6803
 
echo "${ECHO_T}no" >&6
6804
 
fi
6805
 
 
6806
 
fi
6807
 
if test -z "$ac_cv_prog_RANLIB"; then
6808
 
  ac_ct_RANLIB=$RANLIB
6809
 
  # Extract the first word of "ranlib", so it can be a program name with args.
6810
 
set dummy ranlib; ac_word=$2
6811
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6812
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6813
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6814
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6815
 
else
6816
 
  if test -n "$ac_ct_RANLIB"; then
6817
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6818
 
else
6819
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6820
 
for as_dir in $PATH
6821
 
do
6822
 
  IFS=$as_save_IFS
6823
 
  test -z "$as_dir" && as_dir=.
6824
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6825
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6826
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6827
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6828
 
    break 2
6829
 
  fi
6830
 
done
6831
 
done
6832
 
 
6833
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6834
 
fi
6835
 
fi
6836
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6837
 
if test -n "$ac_ct_RANLIB"; then
6838
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6839
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
6840
 
else
6841
 
  echo "$as_me:$LINENO: result: no" >&5
6842
 
echo "${ECHO_T}no" >&6
6843
 
fi
6844
 
 
6845
 
  RANLIB=$ac_ct_RANLIB
6846
 
else
6847
 
  RANLIB="$ac_cv_prog_RANLIB"
6848
 
fi
6849
 
 
6850
 
echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6851
 
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
6852
 
if test "${ac_cv_type_signal+set}" = set; then
6853
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6854
 
else
6855
 
  cat >conftest.$ac_ext <<_ACEOF
6856
 
/* confdefs.h.  */
6857
 
_ACEOF
6858
 
cat confdefs.h >>conftest.$ac_ext
6859
 
cat >>conftest.$ac_ext <<_ACEOF
6860
 
/* end confdefs.h.  */
6861
 
#include <sys/types.h>
6862
 
#include <signal.h>
6863
 
#ifdef signal
6864
 
# undef signal
6865
 
#endif
6866
 
#ifdef __cplusplus
6867
 
extern "C" void (*signal (int, void (*)(int)))(int);
6868
 
#else
6869
 
void (*signal ()) ();
6870
 
#endif
6871
 
 
6872
 
int
6873
 
main ()
6874
 
{
6875
 
int i;
6876
 
  ;
6877
 
  return 0;
6878
 
}
6879
 
_ACEOF
6880
 
rm -f conftest.$ac_objext
6881
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6882
 
  (eval $ac_compile) 2>conftest.er1
6883
 
  ac_status=$?
6884
 
  grep -v '^ *+' conftest.er1 >conftest.err
6885
 
  rm -f conftest.er1
6886
 
  cat conftest.err >&5
6887
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6888
 
  (exit $ac_status); } &&
6889
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6890
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6891
 
  (eval $ac_try) 2>&5
6892
 
  ac_status=$?
6893
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6894
 
  (exit $ac_status); }; } &&
6895
 
         { ac_try='test -s conftest.$ac_objext'
6896
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6897
 
  (eval $ac_try) 2>&5
6898
 
  ac_status=$?
6899
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6900
 
  (exit $ac_status); }; }; then
6901
 
  ac_cv_type_signal=void
6902
 
else
6903
 
  echo "$as_me: failed program was:" >&5
6904
 
sed 's/^/| /' conftest.$ac_ext >&5
6905
 
 
6906
 
ac_cv_type_signal=int
6907
 
fi
6908
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6909
 
fi
6910
 
echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6911
 
echo "${ECHO_T}$ac_cv_type_signal" >&6
6912
 
 
6913
 
cat >>confdefs.h <<_ACEOF
6914
 
#define RETSIGTYPE $ac_cv_type_signal
6915
 
_ACEOF
6916
 
 
6917
 
 
6918
 
echo "$as_me:$LINENO: checking for size_t" >&5
6919
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
6920
 
if test "${ac_cv_type_size_t+set}" = set; then
6921
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6922
 
else
6923
 
  cat >conftest.$ac_ext <<_ACEOF
6924
 
/* confdefs.h.  */
6925
 
_ACEOF
6926
 
cat confdefs.h >>conftest.$ac_ext
6927
 
cat >>conftest.$ac_ext <<_ACEOF
6928
 
/* end confdefs.h.  */
6929
 
$ac_includes_default
6930
 
int
6931
 
main ()
6932
 
{
6933
 
if ((size_t *) 0)
6934
 
  return 0;
6935
 
if (sizeof (size_t))
6936
 
  return 0;
6937
 
  ;
6938
 
  return 0;
6939
 
}
6940
 
_ACEOF
6941
 
rm -f conftest.$ac_objext
6942
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6943
 
  (eval $ac_compile) 2>conftest.er1
6944
 
  ac_status=$?
6945
 
  grep -v '^ *+' conftest.er1 >conftest.err
6946
 
  rm -f conftest.er1
6947
 
  cat conftest.err >&5
6948
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6949
 
  (exit $ac_status); } &&
6950
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6951
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6952
 
  (eval $ac_try) 2>&5
6953
 
  ac_status=$?
6954
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6955
 
  (exit $ac_status); }; } &&
6956
 
         { ac_try='test -s conftest.$ac_objext'
6957
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6958
 
  (eval $ac_try) 2>&5
6959
 
  ac_status=$?
6960
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6961
 
  (exit $ac_status); }; }; then
6962
 
  ac_cv_type_size_t=yes
6963
 
else
6964
 
  echo "$as_me: failed program was:" >&5
6965
 
sed 's/^/| /' conftest.$ac_ext >&5
6966
 
 
6967
 
ac_cv_type_size_t=no
6968
 
fi
6969
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6970
 
fi
6971
 
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6972
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6
6973
 
if test $ac_cv_type_size_t = yes; then
6974
 
  :
6975
 
else
6976
 
 
6977
 
cat >>confdefs.h <<_ACEOF
6978
 
#define size_t unsigned
6979
 
_ACEOF
6980
 
 
6981
 
fi
6982
 
 
6983
 
 
6984
 
ac_ext=cc
6985
 
ac_cpp='$CXXCPP $CPPFLAGS'
6986
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6987
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6988
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6989
 
if test -n "$ac_tool_prefix"; then
6990
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6991
 
  do
6992
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6993
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6994
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6995
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6996
 
if test "${ac_cv_prog_CXX+set}" = set; then
6997
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6998
 
else
6999
 
  if test -n "$CXX"; then
7000
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
7001
 
else
7002
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7003
 
for as_dir in $PATH
7004
 
do
7005
 
  IFS=$as_save_IFS
7006
 
  test -z "$as_dir" && as_dir=.
7007
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7008
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7009
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7010
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7011
 
    break 2
7012
 
  fi
7013
 
done
7014
 
done
7015
 
 
7016
 
fi
7017
 
fi
7018
 
CXX=$ac_cv_prog_CXX
7019
 
if test -n "$CXX"; then
7020
 
  echo "$as_me:$LINENO: result: $CXX" >&5
7021
 
echo "${ECHO_T}$CXX" >&6
7022
 
else
7023
 
  echo "$as_me:$LINENO: result: no" >&5
7024
 
echo "${ECHO_T}no" >&6
7025
 
fi
7026
 
 
7027
 
    test -n "$CXX" && break
7028
 
  done
7029
 
fi
7030
 
if test -z "$CXX"; then
7031
 
  ac_ct_CXX=$CXX
7032
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7033
 
do
7034
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
7035
 
set dummy $ac_prog; ac_word=$2
7036
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7037
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7038
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
7039
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7040
 
else
7041
 
  if test -n "$ac_ct_CXX"; then
7042
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7043
 
else
7044
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7045
 
for as_dir in $PATH
7046
 
do
7047
 
  IFS=$as_save_IFS
7048
 
  test -z "$as_dir" && as_dir=.
7049
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7050
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7051
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
7052
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7053
 
    break 2
7054
 
  fi
7055
 
done
7056
 
done
7057
 
 
7058
 
fi
7059
 
fi
7060
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7061
 
if test -n "$ac_ct_CXX"; then
7062
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7063
 
echo "${ECHO_T}$ac_ct_CXX" >&6
7064
 
else
7065
 
  echo "$as_me:$LINENO: result: no" >&5
7066
 
echo "${ECHO_T}no" >&6
7067
 
fi
7068
 
 
7069
 
  test -n "$ac_ct_CXX" && break
7070
 
done
7071
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
7072
 
 
7073
 
  CXX=$ac_ct_CXX
7074
 
fi
7075
 
 
7076
 
 
7077
 
# Provide some information about the compiler.
7078
 
echo "$as_me:$LINENO:" \
7079
 
     "checking for C++ compiler version" >&5
7080
 
ac_compiler=`set X $ac_compile; echo $2`
7081
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7082
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
7083
 
  ac_status=$?
7084
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7085
 
  (exit $ac_status); }
7086
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7087
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
7088
 
  ac_status=$?
7089
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7090
 
  (exit $ac_status); }
7091
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7092
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
7093
 
  ac_status=$?
7094
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7095
 
  (exit $ac_status); }
7096
 
 
7097
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7098
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
7099
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7100
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7101
 
else
7102
 
  cat >conftest.$ac_ext <<_ACEOF
7103
 
/* confdefs.h.  */
7104
 
_ACEOF
7105
 
cat confdefs.h >>conftest.$ac_ext
7106
 
cat >>conftest.$ac_ext <<_ACEOF
7107
 
/* end confdefs.h.  */
7108
 
 
7109
 
int
7110
 
main ()
7111
 
{
7112
 
#ifndef __GNUC__
7113
 
       choke me
7114
 
#endif
7115
 
 
7116
 
  ;
7117
 
  return 0;
7118
 
}
7119
 
_ACEOF
7120
 
rm -f conftest.$ac_objext
7121
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7122
 
  (eval $ac_compile) 2>conftest.er1
7123
 
  ac_status=$?
7124
 
  grep -v '^ *+' conftest.er1 >conftest.err
7125
 
  rm -f conftest.er1
7126
 
  cat conftest.err >&5
7127
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7128
 
  (exit $ac_status); } &&
7129
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
7130
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7131
 
  (eval $ac_try) 2>&5
7132
 
  ac_status=$?
7133
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7134
 
  (exit $ac_status); }; } &&
7135
 
         { ac_try='test -s conftest.$ac_objext'
7136
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7137
 
  (eval $ac_try) 2>&5
7138
 
  ac_status=$?
7139
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7140
 
  (exit $ac_status); }; }; then
7141
 
  ac_compiler_gnu=yes
7142
 
else
7143
 
  echo "$as_me: failed program was:" >&5
7144
 
sed 's/^/| /' conftest.$ac_ext >&5
7145
 
 
7146
 
ac_compiler_gnu=no
7147
 
fi
7148
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7149
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7150
 
 
7151
 
fi
7152
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7153
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
7154
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
7155
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
7156
 
ac_save_CXXFLAGS=$CXXFLAGS
7157
 
CXXFLAGS="-g"
7158
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7159
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
7160
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
7161
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7162
 
else
7163
 
  cat >conftest.$ac_ext <<_ACEOF
7164
 
/* confdefs.h.  */
7165
 
_ACEOF
7166
 
cat confdefs.h >>conftest.$ac_ext
7167
 
cat >>conftest.$ac_ext <<_ACEOF
7168
 
/* end confdefs.h.  */
7169
 
 
7170
 
int
7171
 
main ()
7172
 
{
7173
 
 
7174
 
  ;
7175
 
  return 0;
7176
 
}
7177
 
_ACEOF
7178
 
rm -f conftest.$ac_objext
7179
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7180
 
  (eval $ac_compile) 2>conftest.er1
7181
 
  ac_status=$?
7182
 
  grep -v '^ *+' conftest.er1 >conftest.err
7183
 
  rm -f conftest.er1
7184
 
  cat conftest.err >&5
7185
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7186
 
  (exit $ac_status); } &&
7187
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
7188
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7189
 
  (eval $ac_try) 2>&5
7190
 
  ac_status=$?
7191
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7192
 
  (exit $ac_status); }; } &&
7193
 
         { ac_try='test -s conftest.$ac_objext'
7194
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7195
 
  (eval $ac_try) 2>&5
7196
 
  ac_status=$?
7197
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7198
 
  (exit $ac_status); }; }; then
7199
 
  ac_cv_prog_cxx_g=yes
7200
 
else
7201
 
  echo "$as_me: failed program was:" >&5
7202
 
sed 's/^/| /' conftest.$ac_ext >&5
7203
 
 
7204
 
ac_cv_prog_cxx_g=no
7205
 
fi
7206
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7207
 
fi
7208
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7209
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
7210
 
if test "$ac_test_CXXFLAGS" = set; then
7211
 
  CXXFLAGS=$ac_save_CXXFLAGS
7212
 
elif test $ac_cv_prog_cxx_g = yes; then
7213
 
  if test "$GXX" = yes; then
7214
 
    CXXFLAGS="-g -O2"
7215
 
  else
7216
 
    CXXFLAGS="-g"
7217
 
  fi
7218
 
else
7219
 
  if test "$GXX" = yes; then
7220
 
    CXXFLAGS="-O2"
7221
 
  else
7222
 
    CXXFLAGS=
7223
 
  fi
7224
 
fi
7225
 
for ac_declaration in \
7226
 
   '' \
7227
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
7228
 
   'extern "C" void std::exit (int); using std::exit;' \
7229
 
   'extern "C" void exit (int) throw ();' \
7230
 
   'extern "C" void exit (int);' \
7231
 
   'void exit (int);'
7232
 
do
7233
 
  cat >conftest.$ac_ext <<_ACEOF
7234
 
/* confdefs.h.  */
7235
 
_ACEOF
7236
 
cat confdefs.h >>conftest.$ac_ext
7237
 
cat >>conftest.$ac_ext <<_ACEOF
7238
 
/* end confdefs.h.  */
7239
 
$ac_declaration
7240
 
#include <stdlib.h>
7241
 
int
7242
 
main ()
7243
 
{
7244
 
exit (42);
7245
 
  ;
7246
 
  return 0;
7247
 
}
7248
 
_ACEOF
7249
 
rm -f conftest.$ac_objext
7250
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7251
 
  (eval $ac_compile) 2>conftest.er1
7252
 
  ac_status=$?
7253
 
  grep -v '^ *+' conftest.er1 >conftest.err
7254
 
  rm -f conftest.er1
7255
 
  cat conftest.err >&5
7256
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7257
 
  (exit $ac_status); } &&
7258
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
7259
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7260
 
  (eval $ac_try) 2>&5
7261
 
  ac_status=$?
7262
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7263
 
  (exit $ac_status); }; } &&
7264
 
         { ac_try='test -s conftest.$ac_objext'
7265
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7266
 
  (eval $ac_try) 2>&5
7267
 
  ac_status=$?
7268
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7269
 
  (exit $ac_status); }; }; then
7270
 
  :
7271
 
else
7272
 
  echo "$as_me: failed program was:" >&5
7273
 
sed 's/^/| /' conftest.$ac_ext >&5
7274
 
 
7275
 
continue
7276
 
fi
7277
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7278
 
  cat >conftest.$ac_ext <<_ACEOF
7279
 
/* confdefs.h.  */
7280
 
_ACEOF
7281
 
cat confdefs.h >>conftest.$ac_ext
7282
 
cat >>conftest.$ac_ext <<_ACEOF
7283
 
/* end confdefs.h.  */
7284
 
$ac_declaration
7285
 
int
7286
 
main ()
7287
 
{
7288
 
exit (42);
7289
 
  ;
7290
 
  return 0;
7291
 
}
7292
 
_ACEOF
7293
 
rm -f conftest.$ac_objext
7294
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7295
 
  (eval $ac_compile) 2>conftest.er1
7296
 
  ac_status=$?
7297
 
  grep -v '^ *+' conftest.er1 >conftest.err
7298
 
  rm -f conftest.er1
7299
 
  cat conftest.err >&5
7300
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7301
 
  (exit $ac_status); } &&
7302
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
7303
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7304
 
  (eval $ac_try) 2>&5
7305
 
  ac_status=$?
7306
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7307
 
  (exit $ac_status); }; } &&
7308
 
         { ac_try='test -s conftest.$ac_objext'
7309
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7310
 
  (eval $ac_try) 2>&5
7311
 
  ac_status=$?
7312
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7313
 
  (exit $ac_status); }; }; then
7314
 
  break
7315
 
else
7316
 
  echo "$as_me: failed program was:" >&5
7317
 
sed 's/^/| /' conftest.$ac_ext >&5
7318
 
 
7319
 
fi
7320
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7321
 
done
7322
 
rm -f conftest*
7323
 
if test -n "$ac_declaration"; then
7324
 
  echo '#ifdef __cplusplus' >>confdefs.h
7325
 
  echo $ac_declaration      >>confdefs.h
7326
 
  echo '#endif'             >>confdefs.h
7327
 
fi
7328
 
 
7329
 
ac_ext=c
7330
 
ac_cpp='$CPP $CPPFLAGS'
7331
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7332
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7333
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7334
 
 
7335
 
depcc="$CXX"  am_compiler_list=
7336
 
 
7337
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
7338
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
7339
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
7340
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7341
 
else
7342
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7343
 
  # We make a subdir and do the tests there.  Otherwise we can end up
7344
 
  # making bogus files that we don't know about and never remove.  For
7345
 
  # instance it was reported that on HP-UX the gcc test will end up
7346
 
  # making a dummy file named `D' -- because `-MD' means `put the output
7347
 
  # in D'.
7348
 
  mkdir conftest.dir
7349
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
7350
 
  # using a relative directory.
7351
 
  cp "$am_depcomp" conftest.dir
7352
 
  cd conftest.dir
7353
 
  # We will build objects and dependencies in a subdirectory because
7354
 
  # it helps to detect inapplicable dependency modes.  For instance
7355
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
7356
 
  # side effect of compilation, but ICC will put the dependencies in
7357
 
  # the current directory while Tru64 will put them in the object
7358
 
  # directory.
7359
 
  mkdir sub
7360
 
 
7361
 
  am_cv_CXX_dependencies_compiler_type=none
7362
 
  if test "$am_compiler_list" = ""; then
7363
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7364
 
  fi
7365
 
  for depmode in $am_compiler_list; do
7366
 
    # Setup a source with many dependencies, because some compilers
7367
 
    # like to wrap large dependency lists on column 80 (with \), and
7368
 
    # we should not choose a depcomp mode which is confused by this.
7369
 
    #
7370
 
    # We need to recreate these files for each test, as the compiler may
7371
 
    # overwrite some of them when testing with obscure command lines.
7372
 
    # This happens at least with the AIX C compiler.
7373
 
    : > sub/conftest.c
7374
 
    for i in 1 2 3 4 5 6; do
7375
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
7376
 
      : > sub/conftst$i.h
7377
 
    done
7378
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7379
 
 
7380
 
    case $depmode in
7381
 
    nosideeffect)
7382
 
      # after this tag, mechanisms are not by side-effect, so they'll
7383
 
      # only be used when explicitly requested
7384
 
      if test "x$enable_dependency_tracking" = xyes; then
7385
 
        continue
7386
 
      else
7387
 
        break
7388
 
      fi
7389
 
      ;;
7390
 
    none) break ;;
7391
 
    esac
7392
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
7393
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
7394
 
    # handle `-M -o', and we need to detect this.
7395
 
    if depmode=$depmode \
7396
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
7397
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7398
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
7399
 
         >/dev/null 2>conftest.err &&
7400
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7401
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
7402
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7403
 
      # icc doesn't choke on unknown options, it will just issue warnings
7404
 
      # (even with -Werror).  So we grep stderr for any message
7405
 
      # that says an option was ignored.
7406
 
      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
7407
 
        am_cv_CXX_dependencies_compiler_type=$depmode
7408
 
        break
7409
 
      fi
7410
 
    fi
7411
 
  done
7412
 
 
7413
 
  cd ..
7414
 
  rm -rf conftest.dir
7415
 
else
7416
 
  am_cv_CXX_dependencies_compiler_type=none
7417
 
fi
7418
 
 
7419
 
fi
7420
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
7421
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
7422
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7423
 
 
7424
 
 
7425
 
 
7426
 
if
7427
 
  test "x$enable_dependency_tracking" != xno \
7428
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7429
 
  am__fastdepCXX_TRUE=
7430
 
  am__fastdepCXX_FALSE='#'
7431
 
else
7432
 
  am__fastdepCXX_TRUE='#'
7433
 
  am__fastdepCXX_FALSE=
7434
 
fi
7435
 
 
7436
 
 
7437
 
# Check whether --enable-shared or --disable-shared was given.
7438
 
if test "${enable_shared+set}" = set; then
7439
 
  enableval="$enable_shared"
7440
 
  p=${PACKAGE-default}
7441
 
    case $enableval in
7442
 
    yes) enable_shared=yes ;;
7443
 
    no) enable_shared=no ;;
7444
 
    *)
7445
 
      enable_shared=no
7446
 
      # Look at the argument we got.  We use all the common list separators.
7447
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7448
 
      for pkg in $enableval; do
7449
 
        IFS="$lt_save_ifs"
7450
 
        if test "X$pkg" = "X$p"; then
7451
 
          enable_shared=yes
7452
 
        fi
7453
 
      done
7454
 
      IFS="$lt_save_ifs"
7455
 
      ;;
7456
 
    esac
7457
 
else
7458
 
  enable_shared=yes
7459
 
fi;
7460
 
 
7461
 
# Check whether --enable-static or --disable-static was given.
7462
 
if test "${enable_static+set}" = set; then
7463
 
  enableval="$enable_static"
7464
 
  p=${PACKAGE-default}
7465
 
    case $enableval in
7466
 
    yes) enable_static=yes ;;
7467
 
    no) enable_static=no ;;
7468
 
    *)
7469
 
     enable_static=no
7470
 
      # Look at the argument we got.  We use all the common list separators.
7471
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7472
 
      for pkg in $enableval; do
7473
 
        IFS="$lt_save_ifs"
7474
 
        if test "X$pkg" = "X$p"; then
7475
 
          enable_static=yes
7476
 
        fi
7477
 
      done
7478
 
      IFS="$lt_save_ifs"
7479
 
      ;;
7480
 
    esac
7481
 
else
7482
 
  enable_static=yes
7483
 
fi;
7484
 
 
7485
 
# Check whether --enable-fast-install or --disable-fast-install was given.
7486
 
if test "${enable_fast_install+set}" = set; then
7487
 
  enableval="$enable_fast_install"
7488
 
  p=${PACKAGE-default}
7489
 
    case $enableval in
7490
 
    yes) enable_fast_install=yes ;;
7491
 
    no) enable_fast_install=no ;;
7492
 
    *)
7493
 
      enable_fast_install=no
7494
 
      # Look at the argument we got.  We use all the common list separators.
7495
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7496
 
      for pkg in $enableval; do
7497
 
        IFS="$lt_save_ifs"
7498
 
        if test "X$pkg" = "X$p"; then
7499
 
          enable_fast_install=yes
7500
 
        fi
7501
 
      done
7502
 
      IFS="$lt_save_ifs"
7503
 
      ;;
7504
 
    esac
7505
 
else
7506
 
  enable_fast_install=yes
7507
 
fi;
7508
 
 
7509
 
# Make sure we can run config.sub.
7510
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
7511
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
7512
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
7513
 
   { (exit 1); exit 1; }; }
7514
 
 
7515
 
echo "$as_me:$LINENO: checking build system type" >&5
7516
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
7517
 
if test "${ac_cv_build+set}" = set; then
7518
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7519
 
else
7520
 
  ac_cv_build_alias=$build_alias
7521
 
test -z "$ac_cv_build_alias" &&
7522
 
  ac_cv_build_alias=`$ac_config_guess`
7523
 
test -z "$ac_cv_build_alias" &&
7524
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
7525
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
7526
 
   { (exit 1); exit 1; }; }
7527
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
7528
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
7529
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
7530
 
   { (exit 1); exit 1; }; }
7531
 
 
7532
 
fi
7533
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
7534
 
echo "${ECHO_T}$ac_cv_build" >&6
7535
 
build=$ac_cv_build
7536
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7537
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7538
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7539
 
 
7540
 
 
7541
 
echo "$as_me:$LINENO: checking host system type" >&5
7542
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
7543
 
if test "${ac_cv_host+set}" = set; then
7544
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7545
 
else
7546
 
  ac_cv_host_alias=$host_alias
7547
 
test -z "$ac_cv_host_alias" &&
7548
 
  ac_cv_host_alias=$ac_cv_build_alias
7549
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
7550
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
7551
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
7552
 
   { (exit 1); exit 1; }; }
7553
 
 
7554
 
fi
7555
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
7556
 
echo "${ECHO_T}$ac_cv_host" >&6
7557
 
host=$ac_cv_host
7558
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7559
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7560
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7561
 
 
7562
 
 
7563
 
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
7564
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
7565
 
if test "${lt_cv_path_SED+set}" = set; then
7566
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7567
 
else
7568
 
  # Loop through the user's path and test for sed and gsed.
7569
 
# Then use that list of sed's as ones to test for truncation.
7570
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7571
 
for as_dir in $PATH
7572
 
do
7573
 
  IFS=$as_save_IFS
7574
 
  test -z "$as_dir" && as_dir=.
7575
 
  for lt_ac_prog in sed gsed; do
7576
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7577
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
7578
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
7579
 
      fi
7580
 
    done
7581
 
  done
7582
 
done
7583
 
lt_ac_max=0
7584
 
lt_ac_count=0
7585
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
7586
 
# along with /bin/sed that truncates output.
7587
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
7588
 
  test ! -f $lt_ac_sed && break
7589
 
  cat /dev/null > conftest.in
7590
 
  lt_ac_count=0
7591
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
7592
 
  # Check for GNU sed and select it if it is found.
7593
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
7594
 
    lt_cv_path_SED=$lt_ac_sed
7595
 
    break
7596
 
  fi
7597
 
  while true; do
7598
 
    cat conftest.in conftest.in >conftest.tmp
7599
 
    mv conftest.tmp conftest.in
7600
 
    cp conftest.in conftest.nl
7601
 
    echo >>conftest.nl
7602
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
7603
 
    cmp -s conftest.out conftest.nl || break
7604
 
    # 10000 chars as input seems more than enough
7605
 
    test $lt_ac_count -gt 10 && break
7606
 
    lt_ac_count=`expr $lt_ac_count + 1`
7607
 
    if test $lt_ac_count -gt $lt_ac_max; then
7608
 
      lt_ac_max=$lt_ac_count
7609
 
      lt_cv_path_SED=$lt_ac_sed
7610
 
    fi
7611
 
  done
7612
 
done
7613
 
SED=$lt_cv_path_SED
7614
 
 
7615
 
fi
7616
 
 
7617
 
echo "$as_me:$LINENO: result: $SED" >&5
7618
 
echo "${ECHO_T}$SED" >&6
7619
 
 
7620
 
 
7621
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
7622
 
if test "${with_gnu_ld+set}" = set; then
7623
 
  withval="$with_gnu_ld"
7624
 
  test "$withval" = no || with_gnu_ld=yes
7625
 
else
7626
 
  with_gnu_ld=no
7627
 
fi;
7628
 
ac_prog=ld
7629
 
if test "$GCC" = yes; then
7630
 
  # Check if gcc -print-prog-name=ld gives a path.
7631
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
7632
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
7633
 
  case $host in
7634
 
  *-*-mingw*)
7635
 
    # gcc leaves a trailing carriage return which upsets mingw
7636
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7637
 
  *)
7638
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7639
 
  esac
7640
 
  case $ac_prog in
7641
 
    # Accept absolute paths.
7642
 
    [\\/]* | ?:[\\/]*)
7643
 
      re_direlt='/[^/][^/]*/\.\./'
7644
 
      # Canonicalize the pathname of ld
7645
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
7646
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
7647
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
7648
 
      done
7649
 
      test -z "$LD" && LD="$ac_prog"
7650
 
      ;;
7651
 
  "")
7652
 
    # If it fails, then pretend we aren't using GCC.
7653
 
    ac_prog=ld
7654
 
    ;;
7655
 
  *)
7656
 
    # If it is relative, then search for the first ld in PATH.
7657
 
    with_gnu_ld=unknown
7658
 
    ;;
7659
 
  esac
7660
 
elif test "$with_gnu_ld" = yes; then
7661
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
7662
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
7663
 
else
7664
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
7665
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
7666
 
fi
7667
 
if test "${lt_cv_path_LD+set}" = set; then
7668
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7669
 
else
7670
 
  if test -z "$LD"; then
7671
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7672
 
  for ac_dir in $PATH; do
7673
 
    IFS="$lt_save_ifs"
7674
 
    test -z "$ac_dir" && ac_dir=.
7675
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7676
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
7677
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
7678
 
      # but apparently some GNU ld's only accept -v.
7679
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
7680
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7681
 
      *GNU* | *'with BFD'*)
7682
 
        test "$with_gnu_ld" != no && break
7683
 
        ;;
7684
 
      *)
7685
 
        test "$with_gnu_ld" != yes && break
7686
 
        ;;
7687
 
      esac
7688
 
    fi
7689
 
  done
7690
 
  IFS="$lt_save_ifs"
7691
 
else
7692
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
7693
 
fi
7694
 
fi
7695
 
 
7696
 
LD="$lt_cv_path_LD"
7697
 
if test -n "$LD"; then
7698
 
  echo "$as_me:$LINENO: result: $LD" >&5
7699
 
echo "${ECHO_T}$LD" >&6
7700
 
else
7701
 
  echo "$as_me:$LINENO: result: no" >&5
7702
 
echo "${ECHO_T}no" >&6
7703
 
fi
7704
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
7705
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
7706
 
   { (exit 1); exit 1; }; }
7707
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
7708
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
7709
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
7710
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7711
 
else
7712
 
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
7713
 
case `$LD -v 2>&1 </dev/null` in
7714
 
*GNU* | *'with BFD'*)
7715
 
  lt_cv_prog_gnu_ld=yes
7716
 
  ;;
7717
 
*)
7718
 
  lt_cv_prog_gnu_ld=no
7719
 
  ;;
7720
 
esac
7721
 
fi
7722
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
7723
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
7724
 
with_gnu_ld=$lt_cv_prog_gnu_ld
7725
 
 
7726
 
 
7727
 
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
7728
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
7729
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
7730
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7731
 
else
7732
 
  lt_cv_ld_reload_flag='-r'
7733
 
fi
7734
 
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
7735
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
7736
 
reload_flag=$lt_cv_ld_reload_flag
7737
 
case $reload_flag in
7738
 
"" | " "*) ;;
7739
 
*) reload_flag=" $reload_flag" ;;
7740
 
esac
7741
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
7742
 
 
7743
 
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
7744
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
7745
 
if test "${lt_cv_path_NM+set}" = set; then
7746
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7747
 
else
7748
 
  if test -n "$NM"; then
7749
 
  # Let the user override the test.
7750
 
  lt_cv_path_NM="$NM"
7751
 
else
7752
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7753
 
  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
7754
 
    IFS="$lt_save_ifs"
7755
 
    test -z "$ac_dir" && ac_dir=.
7756
 
    tmp_nm="$ac_dir/${ac_tool_prefix}nm"
7757
 
    if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7758
 
      # Check to see if the nm accepts a BSD-compat flag.
7759
 
      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7760
 
      #   nm: unknown option "B" ignored
7761
 
      # Tru64's nm complains that /dev/null is an invalid object file
7762
 
      case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7763
 
      */dev/null* | *'Invalid file or object type'*)
7764
 
        lt_cv_path_NM="$tmp_nm -B"
7765
 
        break
7766
 
        ;;
7767
 
      *)
7768
 
        case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7769
 
        */dev/null*)
7770
 
          lt_cv_path_NM="$tmp_nm -p"
7771
 
          break
7772
 
          ;;
7773
 
        *)
7774
 
          lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7775
 
          continue # so that we can try to find one that supports BSD flags
7776
 
          ;;
7777
 
        esac
7778
 
      esac
7779
 
    fi
7780
 
  done
7781
 
  IFS="$lt_save_ifs"
7782
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
7783
 
fi
7784
 
fi
7785
 
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
7786
 
echo "${ECHO_T}$lt_cv_path_NM" >&6
7787
 
NM="$lt_cv_path_NM"
7788
 
 
7789
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
7790
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
7791
 
LN_S=$as_ln_s
7792
 
if test "$LN_S" = "ln -s"; then
7793
 
  echo "$as_me:$LINENO: result: yes" >&5
7794
 
echo "${ECHO_T}yes" >&6
7795
 
else
7796
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
7797
 
echo "${ECHO_T}no, using $LN_S" >&6
7798
 
fi
7799
 
 
7800
 
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
7801
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
7802
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
7803
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7804
 
else
7805
 
  lt_cv_file_magic_cmd='$MAGIC_CMD'
7806
 
lt_cv_file_magic_test_file=
7807
 
lt_cv_deplibs_check_method='unknown'
7808
 
# Need to set the preceding variable on all platforms that support
7809
 
# interlibrary dependencies.
7810
 
# 'none' -- dependencies not supported.
7811
 
# `unknown' -- same as none, but documents that we really don't know.
7812
 
# 'pass_all' -- all dependencies passed with no checks.
7813
 
# 'test_compile' -- check by making test program.
7814
 
# 'file_magic [[regex]]' -- check by looking for files in library path
7815
 
# which responds to the $file_magic_cmd with a given extended regex.
7816
 
# If you have `file' or equivalent on your system and you're not sure
7817
 
# whether `pass_all' will *always* work, you probably want this one.
7818
 
 
7819
 
case $host_os in
7820
 
aix4* | aix5*)
7821
 
  lt_cv_deplibs_check_method=pass_all
7822
 
  ;;
7823
 
 
7824
 
beos*)
7825
 
  lt_cv_deplibs_check_method=pass_all
7826
 
  ;;
7827
 
 
7828
 
bsdi4*)
7829
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7830
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
7831
 
  lt_cv_file_magic_test_file=/shlib/libc.so
7832
 
  ;;
7833
 
 
7834
 
cygwin*)
7835
 
  # func_win32_libid is a shell function defined in ltmain.sh
7836
 
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7837
 
  lt_cv_file_magic_cmd='func_win32_libid'
7838
 
  ;;
7839
 
 
7840
 
mingw* | pw32*)
7841
 
  # Base MSYS/MinGW do not provide the 'file' command needed by
7842
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
7843
 
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7844
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
7845
 
  ;;
7846
 
 
7847
 
darwin* | rhapsody*)
7848
 
  lt_cv_deplibs_check_method=pass_all
7849
 
  ;;
7850
 
 
7851
 
freebsd* | kfreebsd*-gnu)
7852
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
7853
 
    case $host_cpu in
7854
 
    i*86 )
7855
 
      # Not sure whether the presence of OpenBSD here was a mistake.
7856
 
      # Let's accept both of them until this is cleared up.
7857
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
7858
 
      lt_cv_file_magic_cmd=/usr/bin/file
7859
 
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7860
 
      ;;
7861
 
    esac
7862
 
  else
7863
 
    lt_cv_deplibs_check_method=pass_all
7864
 
  fi
7865
 
  ;;
7866
 
 
7867
 
gnu*)
7868
 
  lt_cv_deplibs_check_method=pass_all
7869
 
  ;;
7870
 
 
7871
 
hpux10.20* | hpux11*)
7872
 
  lt_cv_file_magic_cmd=/usr/bin/file
7873
 
  case "$host_cpu" in
7874
 
  ia64*)
7875
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7876
 
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7877
 
    ;;
7878
 
  hppa*64*)
7879
 
    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]'
7880
 
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7881
 
    ;;
7882
 
  *)
7883
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
7884
 
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
7885
 
    ;;
7886
 
  esac
7887
 
  ;;
7888
 
 
7889
 
irix5* | irix6* | nonstopux*)
7890
 
  case $LD in
7891
 
  *-32|*"-32 ") libmagic=32-bit;;
7892
 
  *-n32|*"-n32 ") libmagic=N32;;
7893
 
  *-64|*"-64 ") libmagic=64-bit;;
7894
 
  *) libmagic=never-match;;
7895
 
  esac
7896
 
  lt_cv_deplibs_check_method=pass_all
7897
 
  ;;
7898
 
 
7899
 
# This must be Linux ELF.
7900
 
linux*)
7901
 
  lt_cv_deplibs_check_method=pass_all
7902
 
  ;;
7903
 
 
7904
 
netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
7905
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
7906
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7907
 
  else
7908
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7909
 
  fi
7910
 
  ;;
7911
 
 
7912
 
newos6*)
7913
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7914
 
  lt_cv_file_magic_cmd=/usr/bin/file
7915
 
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
7916
 
  ;;
7917
 
 
7918
 
nto-qnx*)
7919
 
  lt_cv_deplibs_check_method=unknown
7920
 
  ;;
7921
 
 
7922
 
openbsd*)
7923
 
  lt_cv_file_magic_cmd=/usr/bin/file
7924
 
  lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7925
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7926
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
7927
 
  else
7928
 
    lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
7929
 
  fi
7930
 
  ;;
7931
 
 
7932
 
osf3* | osf4* | osf5*)
7933
 
  lt_cv_deplibs_check_method=pass_all
7934
 
  ;;
7935
 
 
7936
 
sco3.2v5*)
7937
 
  lt_cv_deplibs_check_method=pass_all
7938
 
  ;;
7939
 
 
7940
 
solaris*)
7941
 
  lt_cv_deplibs_check_method=pass_all
7942
 
  ;;
7943
 
 
7944
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7945
 
  case $host_vendor in
7946
 
  motorola)
7947
 
    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]'
7948
 
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7949
 
    ;;
7950
 
  ncr)
7951
 
    lt_cv_deplibs_check_method=pass_all
7952
 
    ;;
7953
 
  sequent)
7954
 
    lt_cv_file_magic_cmd='/bin/file'
7955
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7956
 
    ;;
7957
 
  sni)
7958
 
    lt_cv_file_magic_cmd='/bin/file'
7959
 
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7960
 
    lt_cv_file_magic_test_file=/lib/libc.so
7961
 
    ;;
7962
 
  siemens)
7963
 
    lt_cv_deplibs_check_method=pass_all
7964
 
    ;;
7965
 
  esac
7966
 
  ;;
7967
 
 
7968
 
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
7969
 
  lt_cv_deplibs_check_method=pass_all
7970
 
  ;;
7971
 
esac
7972
 
 
7973
 
fi
7974
 
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
7975
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
7976
 
file_magic_cmd=$lt_cv_file_magic_cmd
7977
 
deplibs_check_method=$lt_cv_deplibs_check_method
7978
 
test -z "$deplibs_check_method" && deplibs_check_method=unknown
7979
 
 
7980
 
 
7981
 
 
7982
 
 
7983
 
# If no C compiler was specified, use CC.
7984
 
LTCC=${LTCC-"$CC"}
7985
 
 
7986
 
# Allow CC to be a program name with arguments.
7987
 
compiler=$CC
7988
 
 
7989
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
7990
 
if test "${enable_libtool_lock+set}" = set; then
7991
 
  enableval="$enable_libtool_lock"
7992
 
 
7993
 
fi;
7994
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7995
 
 
7996
 
# Some flags need to be propagated to the compiler or linker for good
7997
 
# libtool support.
7998
 
case $host in
7999
 
ia64-*-hpux*)
8000
 
  # Find out which ABI we are using.
8001
 
  echo 'int i;' > conftest.$ac_ext
8002
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8003
 
  (eval $ac_compile) 2>&5
8004
 
  ac_status=$?
8005
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8006
 
  (exit $ac_status); }; then
8007
 
    case `/usr/bin/file conftest.$ac_objext` in
8008
 
    *ELF-32*)
8009
 
      HPUX_IA64_MODE="32"
8010
 
      ;;
8011
 
    *ELF-64*)
8012
 
      HPUX_IA64_MODE="64"
8013
 
      ;;
8014
 
    esac
8015
 
  fi
8016
 
  rm -rf conftest*
8017
 
  ;;
8018
 
*-*-irix6*)
8019
 
  # Find out which ABI we are using.
8020
 
  echo '#line 8020 "configure"' > conftest.$ac_ext
8021
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8022
 
  (eval $ac_compile) 2>&5
8023
 
  ac_status=$?
8024
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8025
 
  (exit $ac_status); }; then
8026
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
8027
 
    case `/usr/bin/file conftest.$ac_objext` in
8028
 
    *32-bit*)
8029
 
      LD="${LD-ld} -melf32bsmip"
8030
 
      ;;
8031
 
    *N32*)
8032
 
      LD="${LD-ld} -melf32bmipn32"
8033
 
      ;;
8034
 
    *64-bit*)
8035
 
      LD="${LD-ld} -melf64bmip"
8036
 
      ;;
8037
 
    esac
8038
 
   else
8039
 
    case `/usr/bin/file conftest.$ac_objext` in
8040
 
    *32-bit*)
8041
 
      LD="${LD-ld} -32"
8042
 
      ;;
8043
 
    *N32*)
8044
 
      LD="${LD-ld} -n32"
8045
 
      ;;
8046
 
    *64-bit*)
8047
 
      LD="${LD-ld} -64"
8048
 
      ;;
8049
 
    esac
8050
 
   fi
8051
 
  fi
8052
 
  rm -rf conftest*
8053
 
  ;;
8054
 
 
8055
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
8056
 
  # Find out which ABI we are using.
8057
 
  echo 'int i;' > conftest.$ac_ext
8058
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8059
 
  (eval $ac_compile) 2>&5
8060
 
  ac_status=$?
8061
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8062
 
  (exit $ac_status); }; then
8063
 
    case "`/usr/bin/file conftest.o`" in
8064
 
    *32-bit*)
8065
 
      case $host in
8066
 
        x86_64-*linux*)
8067
 
          LD="${LD-ld} -m elf_i386"
8068
 
          ;;
8069
 
        ppc64-*linux*|powerpc64-*linux*)
8070
 
          LD="${LD-ld} -m elf32ppclinux"
8071
 
          ;;
8072
 
        s390x-*linux*)
8073
 
          LD="${LD-ld} -m elf_s390"
8074
 
          ;;
8075
 
        sparc64-*linux*)
8076
 
          LD="${LD-ld} -m elf32_sparc"
8077
 
          ;;
8078
 
      esac
8079
 
      ;;
8080
 
    *64-bit*)
8081
 
      case $host in
8082
 
        x86_64-*linux*)
8083
 
          LD="${LD-ld} -m elf_x86_64"
8084
 
          ;;
8085
 
        ppc*-*linux*|powerpc*-*linux*)
8086
 
          LD="${LD-ld} -m elf64ppc"
8087
 
          ;;
8088
 
        s390*-*linux*)
8089
 
          LD="${LD-ld} -m elf64_s390"
8090
 
          ;;
8091
 
        sparc*-*linux*)
8092
 
          LD="${LD-ld} -m elf64_sparc"
8093
 
          ;;
8094
 
      esac
8095
 
      ;;
8096
 
    esac
8097
 
  fi
8098
 
  rm -rf conftest*
8099
 
  ;;
8100
 
 
8101
 
*-*-sco3.2v5*)
8102
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8103
 
  SAVE_CFLAGS="$CFLAGS"
8104
 
  CFLAGS="$CFLAGS -belf"
8105
 
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
8106
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
8107
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
8108
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8109
 
else
8110
 
  ac_ext=c
8111
 
ac_cpp='$CPP $CPPFLAGS'
8112
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8113
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8114
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8115
 
 
8116
 
     cat >conftest.$ac_ext <<_ACEOF
8117
 
/* confdefs.h.  */
8118
 
_ACEOF
8119
 
cat confdefs.h >>conftest.$ac_ext
8120
 
cat >>conftest.$ac_ext <<_ACEOF
8121
 
/* end confdefs.h.  */
8122
 
 
8123
 
int
8124
 
main ()
8125
 
{
8126
 
 
8127
 
  ;
8128
 
  return 0;
8129
 
}
8130
 
_ACEOF
8131
 
rm -f conftest.$ac_objext conftest$ac_exeext
8132
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8133
 
  (eval $ac_link) 2>conftest.er1
8134
 
  ac_status=$?
8135
 
  grep -v '^ *+' conftest.er1 >conftest.err
8136
 
  rm -f conftest.er1
8137
 
  cat conftest.err >&5
8138
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8139
 
  (exit $ac_status); } &&
8140
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8141
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8142
 
  (eval $ac_try) 2>&5
8143
 
  ac_status=$?
8144
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8145
 
  (exit $ac_status); }; } &&
8146
 
         { ac_try='test -s conftest$ac_exeext'
8147
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8148
 
  (eval $ac_try) 2>&5
8149
 
  ac_status=$?
8150
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8151
 
  (exit $ac_status); }; }; then
8152
 
  lt_cv_cc_needs_belf=yes
8153
 
else
8154
 
  echo "$as_me: failed program was:" >&5
8155
 
sed 's/^/| /' conftest.$ac_ext >&5
8156
 
 
8157
 
lt_cv_cc_needs_belf=no
8158
 
fi
8159
 
rm -f conftest.err conftest.$ac_objext \
8160
 
      conftest$ac_exeext conftest.$ac_ext
8161
 
     ac_ext=c
8162
 
ac_cpp='$CPP $CPPFLAGS'
8163
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8164
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8165
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8166
 
 
8167
 
fi
8168
 
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
8169
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
8170
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8171
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8172
 
    CFLAGS="$SAVE_CFLAGS"
8173
 
  fi
8174
 
  ;;
8175
 
 
8176
 
esac
8177
 
 
8178
 
need_locks="$enable_libtool_lock"
8179
 
 
8180
 
 
8181
 
 
8182
 
for ac_header in dlfcn.h
8183
 
do
8184
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8185
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
8186
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
8187
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8188
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
8189
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8190
 
fi
8191
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8192
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8193
 
else
8194
 
  # Is the header compilable?
8195
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
8196
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8197
 
cat >conftest.$ac_ext <<_ACEOF
8198
 
/* confdefs.h.  */
8199
 
_ACEOF
8200
 
cat confdefs.h >>conftest.$ac_ext
8201
 
cat >>conftest.$ac_ext <<_ACEOF
8202
 
/* end confdefs.h.  */
8203
 
$ac_includes_default
8204
 
#include <$ac_header>
8205
 
_ACEOF
8206
 
rm -f conftest.$ac_objext
8207
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8208
 
  (eval $ac_compile) 2>conftest.er1
8209
 
  ac_status=$?
8210
 
  grep -v '^ *+' conftest.er1 >conftest.err
8211
 
  rm -f conftest.er1
8212
 
  cat conftest.err >&5
8213
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8214
 
  (exit $ac_status); } &&
8215
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8216
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8217
 
  (eval $ac_try) 2>&5
8218
 
  ac_status=$?
8219
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8220
 
  (exit $ac_status); }; } &&
8221
 
         { ac_try='test -s conftest.$ac_objext'
8222
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8223
 
  (eval $ac_try) 2>&5
8224
 
  ac_status=$?
8225
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8226
 
  (exit $ac_status); }; }; then
8227
 
  ac_header_compiler=yes
8228
 
else
8229
 
  echo "$as_me: failed program was:" >&5
8230
 
sed 's/^/| /' conftest.$ac_ext >&5
8231
 
 
8232
 
ac_header_compiler=no
8233
 
fi
8234
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8235
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8236
 
echo "${ECHO_T}$ac_header_compiler" >&6
8237
 
 
8238
 
# Is the header present?
8239
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
8240
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8241
 
cat >conftest.$ac_ext <<_ACEOF
8242
 
/* confdefs.h.  */
8243
 
_ACEOF
8244
 
cat confdefs.h >>conftest.$ac_ext
8245
 
cat >>conftest.$ac_ext <<_ACEOF
8246
 
/* end confdefs.h.  */
8247
 
#include <$ac_header>
8248
 
_ACEOF
8249
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8250
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8251
 
  ac_status=$?
8252
 
  grep -v '^ *+' conftest.er1 >conftest.err
8253
 
  rm -f conftest.er1
8254
 
  cat conftest.err >&5
8255
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8256
 
  (exit $ac_status); } >/dev/null; then
8257
 
  if test -s conftest.err; then
8258
 
    ac_cpp_err=$ac_c_preproc_warn_flag
8259
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8260
 
  else
8261
 
    ac_cpp_err=
8262
 
  fi
8263
 
else
8264
 
  ac_cpp_err=yes
8265
 
fi
8266
 
if test -z "$ac_cpp_err"; then
8267
 
  ac_header_preproc=yes
8268
 
else
8269
 
  echo "$as_me: failed program was:" >&5
8270
 
sed 's/^/| /' conftest.$ac_ext >&5
8271
 
 
8272
 
  ac_header_preproc=no
8273
 
fi
8274
 
rm -f conftest.err conftest.$ac_ext
8275
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8276
 
echo "${ECHO_T}$ac_header_preproc" >&6
8277
 
 
8278
 
# So?  What about this header?
8279
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8280
 
  yes:no: )
8281
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8282
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8283
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8284
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8285
 
    ac_header_preproc=yes
8286
 
    ;;
8287
 
  no:yes:* )
8288
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8289
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8290
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
8291
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
8292
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8293
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8294
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
8295
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
8296
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8297
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8298
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8299
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8300
 
    (
8301
 
      cat <<\_ASBOX
8302
 
## ----------------------------------- ##
8303
 
## Report this to the crypto++ lists.  ##
8304
 
## ----------------------------------- ##
8305
 
_ASBOX
8306
 
    ) |
8307
 
      sed "s/^/$as_me: WARNING:     /" >&2
8308
 
    ;;
8309
 
esac
8310
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
8311
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8312
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
8313
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8314
 
else
8315
 
  eval "$as_ac_Header=\$ac_header_preproc"
8316
 
fi
8317
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8318
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8319
 
 
8320
 
fi
8321
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
8322
 
  cat >>confdefs.h <<_ACEOF
8323
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8324
 
_ACEOF
8325
 
 
8326
 
fi
8327
 
 
8328
 
done
8329
 
 
8330
 
ac_ext=cc
8331
 
ac_cpp='$CXXCPP $CPPFLAGS'
8332
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8333
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8334
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8335
 
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
8336
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
8337
 
if test -z "$CXXCPP"; then
8338
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
8339
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8340
 
else
8341
 
      # Double quotes because CXXCPP needs to be expanded
8342
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
8343
 
    do
8344
 
      ac_preproc_ok=false
8345
 
for ac_cxx_preproc_warn_flag in '' yes
8346
 
do
8347
 
  # Use a header file that comes with gcc, so configuring glibc
8348
 
  # with a fresh cross-compiler works.
8349
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8350
 
  # <limits.h> exists even on freestanding compilers.
8351
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
8352
 
  # not just through cpp. "Syntax error" is here to catch this case.
8353
 
  cat >conftest.$ac_ext <<_ACEOF
8354
 
/* confdefs.h.  */
8355
 
_ACEOF
8356
 
cat confdefs.h >>conftest.$ac_ext
8357
 
cat >>conftest.$ac_ext <<_ACEOF
8358
 
/* end confdefs.h.  */
8359
 
#ifdef __STDC__
8360
 
# include <limits.h>
8361
 
#else
8362
 
# include <assert.h>
8363
 
#endif
8364
 
                     Syntax error
8365
 
_ACEOF
8366
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8367
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8368
 
  ac_status=$?
8369
 
  grep -v '^ *+' conftest.er1 >conftest.err
8370
 
  rm -f conftest.er1
8371
 
  cat conftest.err >&5
8372
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8373
 
  (exit $ac_status); } >/dev/null; then
8374
 
  if test -s conftest.err; then
8375
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
8376
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8377
 
  else
8378
 
    ac_cpp_err=
8379
 
  fi
8380
 
else
8381
 
  ac_cpp_err=yes
8382
 
fi
8383
 
if test -z "$ac_cpp_err"; then
8384
 
  :
8385
 
else
8386
 
  echo "$as_me: failed program was:" >&5
8387
 
sed 's/^/| /' conftest.$ac_ext >&5
8388
 
 
8389
 
  # Broken: fails on valid input.
8390
 
continue
8391
 
fi
8392
 
rm -f conftest.err conftest.$ac_ext
8393
 
 
8394
 
  # OK, works on sane cases.  Now check whether non-existent headers
8395
 
  # can be detected and how.
8396
 
  cat >conftest.$ac_ext <<_ACEOF
8397
 
/* confdefs.h.  */
8398
 
_ACEOF
8399
 
cat confdefs.h >>conftest.$ac_ext
8400
 
cat >>conftest.$ac_ext <<_ACEOF
8401
 
/* end confdefs.h.  */
8402
 
#include <ac_nonexistent.h>
8403
 
_ACEOF
8404
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8405
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8406
 
  ac_status=$?
8407
 
  grep -v '^ *+' conftest.er1 >conftest.err
8408
 
  rm -f conftest.er1
8409
 
  cat conftest.err >&5
8410
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8411
 
  (exit $ac_status); } >/dev/null; then
8412
 
  if test -s conftest.err; then
8413
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
8414
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8415
 
  else
8416
 
    ac_cpp_err=
8417
 
  fi
8418
 
else
8419
 
  ac_cpp_err=yes
8420
 
fi
8421
 
if test -z "$ac_cpp_err"; then
8422
 
  # Broken: success on invalid input.
8423
 
continue
8424
 
else
8425
 
  echo "$as_me: failed program was:" >&5
8426
 
sed 's/^/| /' conftest.$ac_ext >&5
8427
 
 
8428
 
  # Passes both tests.
8429
 
ac_preproc_ok=:
8430
 
break
8431
 
fi
8432
 
rm -f conftest.err conftest.$ac_ext
8433
 
 
8434
 
done
8435
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8436
 
rm -f conftest.err conftest.$ac_ext
8437
 
if $ac_preproc_ok; then
8438
 
  break
8439
 
fi
8440
 
 
8441
 
    done
8442
 
    ac_cv_prog_CXXCPP=$CXXCPP
8443
 
 
8444
 
fi
8445
 
  CXXCPP=$ac_cv_prog_CXXCPP
8446
 
else
8447
 
  ac_cv_prog_CXXCPP=$CXXCPP
8448
 
fi
8449
 
echo "$as_me:$LINENO: result: $CXXCPP" >&5
8450
 
echo "${ECHO_T}$CXXCPP" >&6
8451
 
ac_preproc_ok=false
8452
 
for ac_cxx_preproc_warn_flag in '' yes
8453
 
do
8454
 
  # Use a header file that comes with gcc, so configuring glibc
8455
 
  # with a fresh cross-compiler works.
8456
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8457
 
  # <limits.h> exists even on freestanding compilers.
8458
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
8459
 
  # not just through cpp. "Syntax error" is here to catch this case.
8460
 
  cat >conftest.$ac_ext <<_ACEOF
8461
 
/* confdefs.h.  */
8462
 
_ACEOF
8463
 
cat confdefs.h >>conftest.$ac_ext
8464
 
cat >>conftest.$ac_ext <<_ACEOF
8465
 
/* end confdefs.h.  */
8466
 
#ifdef __STDC__
8467
 
# include <limits.h>
8468
 
#else
8469
 
# include <assert.h>
8470
 
#endif
8471
 
                     Syntax error
8472
 
_ACEOF
8473
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8474
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8475
 
  ac_status=$?
8476
 
  grep -v '^ *+' conftest.er1 >conftest.err
8477
 
  rm -f conftest.er1
8478
 
  cat conftest.err >&5
8479
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8480
 
  (exit $ac_status); } >/dev/null; then
8481
 
  if test -s conftest.err; then
8482
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
8483
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8484
 
  else
8485
 
    ac_cpp_err=
8486
 
  fi
8487
 
else
8488
 
  ac_cpp_err=yes
8489
 
fi
8490
 
if test -z "$ac_cpp_err"; then
8491
 
  :
8492
 
else
8493
 
  echo "$as_me: failed program was:" >&5
8494
 
sed 's/^/| /' conftest.$ac_ext >&5
8495
 
 
8496
 
  # Broken: fails on valid input.
8497
 
continue
8498
 
fi
8499
 
rm -f conftest.err conftest.$ac_ext
8500
 
 
8501
 
  # OK, works on sane cases.  Now check whether non-existent headers
8502
 
  # can be detected and how.
8503
 
  cat >conftest.$ac_ext <<_ACEOF
8504
 
/* confdefs.h.  */
8505
 
_ACEOF
8506
 
cat confdefs.h >>conftest.$ac_ext
8507
 
cat >>conftest.$ac_ext <<_ACEOF
8508
 
/* end confdefs.h.  */
8509
 
#include <ac_nonexistent.h>
8510
 
_ACEOF
8511
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8512
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8513
 
  ac_status=$?
8514
 
  grep -v '^ *+' conftest.er1 >conftest.err
8515
 
  rm -f conftest.er1
8516
 
  cat conftest.err >&5
8517
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8518
 
  (exit $ac_status); } >/dev/null; then
8519
 
  if test -s conftest.err; then
8520
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
8521
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8522
 
  else
8523
 
    ac_cpp_err=
8524
 
  fi
8525
 
else
8526
 
  ac_cpp_err=yes
8527
 
fi
8528
 
if test -z "$ac_cpp_err"; then
8529
 
  # Broken: success on invalid input.
8530
 
continue
8531
 
else
8532
 
  echo "$as_me: failed program was:" >&5
8533
 
sed 's/^/| /' conftest.$ac_ext >&5
8534
 
 
8535
 
  # Passes both tests.
8536
 
ac_preproc_ok=:
8537
 
break
8538
 
fi
8539
 
rm -f conftest.err conftest.$ac_ext
8540
 
 
8541
 
done
8542
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8543
 
rm -f conftest.err conftest.$ac_ext
8544
 
if $ac_preproc_ok; then
8545
 
  :
8546
 
else
8547
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
8548
 
See \`config.log' for more details." >&5
8549
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
8550
 
See \`config.log' for more details." >&2;}
8551
 
   { (exit 1); exit 1; }; }
8552
 
fi
8553
 
 
8554
 
ac_ext=cc
8555
 
ac_cpp='$CXXCPP $CPPFLAGS'
8556
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8557
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8558
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8559
 
 
8560
 
 
8561
 
ac_ext=f
8562
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
8563
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8564
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
8565
 
if test -n "$ac_tool_prefix"; then
8566
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
8567
 
  do
8568
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8569
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8570
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8571
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8572
 
if test "${ac_cv_prog_F77+set}" = set; then
8573
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8574
 
else
8575
 
  if test -n "$F77"; then
8576
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
8577
 
else
8578
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8579
 
for as_dir in $PATH
8580
 
do
8581
 
  IFS=$as_save_IFS
8582
 
  test -z "$as_dir" && as_dir=.
8583
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8584
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8585
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
8586
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8587
 
    break 2
8588
 
  fi
8589
 
done
8590
 
done
8591
 
 
8592
 
fi
8593
 
fi
8594
 
F77=$ac_cv_prog_F77
8595
 
if test -n "$F77"; then
8596
 
  echo "$as_me:$LINENO: result: $F77" >&5
8597
 
echo "${ECHO_T}$F77" >&6
8598
 
else
8599
 
  echo "$as_me:$LINENO: result: no" >&5
8600
 
echo "${ECHO_T}no" >&6
8601
 
fi
8602
 
 
8603
 
    test -n "$F77" && break
8604
 
  done
8605
 
fi
8606
 
if test -z "$F77"; then
8607
 
  ac_ct_F77=$F77
8608
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
8609
 
do
8610
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
8611
 
set dummy $ac_prog; ac_word=$2
8612
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8613
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8614
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
8615
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8616
 
else
8617
 
  if test -n "$ac_ct_F77"; then
8618
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
8619
 
else
8620
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8621
 
for as_dir in $PATH
8622
 
do
8623
 
  IFS=$as_save_IFS
8624
 
  test -z "$as_dir" && as_dir=.
8625
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8626
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8627
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
8628
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8629
 
    break 2
8630
 
  fi
8631
 
done
8632
 
done
8633
 
 
8634
 
fi
8635
 
fi
8636
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
8637
 
if test -n "$ac_ct_F77"; then
8638
 
  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
8639
 
echo "${ECHO_T}$ac_ct_F77" >&6
8640
 
else
8641
 
  echo "$as_me:$LINENO: result: no" >&5
8642
 
echo "${ECHO_T}no" >&6
8643
 
fi
8644
 
 
8645
 
  test -n "$ac_ct_F77" && break
8646
 
done
8647
 
 
8648
 
  F77=$ac_ct_F77
8649
 
fi
8650
 
 
8651
 
 
8652
 
# Provide some information about the compiler.
8653
 
echo "$as_me:8653:" \
8654
 
     "checking for Fortran 77 compiler version" >&5
8655
 
ac_compiler=`set X $ac_compile; echo $2`
8656
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
8657
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
8658
 
  ac_status=$?
8659
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8660
 
  (exit $ac_status); }
8661
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
8662
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
8663
 
  ac_status=$?
8664
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8665
 
  (exit $ac_status); }
8666
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
8667
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
8668
 
  ac_status=$?
8669
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8670
 
  (exit $ac_status); }
8671
 
rm -f a.out
8672
 
 
8673
 
# If we don't use `.F' as extension, the preprocessor is not run on the
8674
 
# input file.  (Note that this only needs to work for GNU compilers.)
8675
 
ac_save_ext=$ac_ext
8676
 
ac_ext=F
8677
 
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
8678
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
8679
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
8680
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8681
 
else
8682
 
  cat >conftest.$ac_ext <<_ACEOF
8683
 
      program main
8684
 
#ifndef __GNUC__
8685
 
       choke me
8686
 
#endif
8687
 
 
8688
 
      end
8689
 
_ACEOF
8690
 
rm -f conftest.$ac_objext
8691
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8692
 
  (eval $ac_compile) 2>conftest.er1
8693
 
  ac_status=$?
8694
 
  grep -v '^ *+' conftest.er1 >conftest.err
8695
 
  rm -f conftest.er1
8696
 
  cat conftest.err >&5
8697
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8698
 
  (exit $ac_status); } &&
8699
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
8700
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8701
 
  (eval $ac_try) 2>&5
8702
 
  ac_status=$?
8703
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8704
 
  (exit $ac_status); }; } &&
8705
 
         { ac_try='test -s conftest.$ac_objext'
8706
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8707
 
  (eval $ac_try) 2>&5
8708
 
  ac_status=$?
8709
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8710
 
  (exit $ac_status); }; }; then
8711
 
  ac_compiler_gnu=yes
8712
 
else
8713
 
  echo "$as_me: failed program was:" >&5
8714
 
sed 's/^/| /' conftest.$ac_ext >&5
8715
 
 
8716
 
ac_compiler_gnu=no
8717
 
fi
8718
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8719
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
8720
 
 
8721
 
fi
8722
 
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
8723
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
8724
 
ac_ext=$ac_save_ext
8725
 
ac_test_FFLAGS=${FFLAGS+set}
8726
 
ac_save_FFLAGS=$FFLAGS
8727
 
FFLAGS=
8728
 
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
8729
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
8730
 
if test "${ac_cv_prog_f77_g+set}" = set; then
8731
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8732
 
else
8733
 
  FFLAGS=-g
8734
 
cat >conftest.$ac_ext <<_ACEOF
8735
 
      program main
8736
 
 
8737
 
      end
8738
 
_ACEOF
8739
 
rm -f conftest.$ac_objext
8740
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8741
 
  (eval $ac_compile) 2>conftest.er1
8742
 
  ac_status=$?
8743
 
  grep -v '^ *+' conftest.er1 >conftest.err
8744
 
  rm -f conftest.er1
8745
 
  cat conftest.err >&5
8746
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8747
 
  (exit $ac_status); } &&
8748
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
8749
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8750
 
  (eval $ac_try) 2>&5
8751
 
  ac_status=$?
8752
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8753
 
  (exit $ac_status); }; } &&
8754
 
         { ac_try='test -s conftest.$ac_objext'
8755
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8756
 
  (eval $ac_try) 2>&5
8757
 
  ac_status=$?
8758
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8759
 
  (exit $ac_status); }; }; then
8760
 
  ac_cv_prog_f77_g=yes
8761
 
else
8762
 
  echo "$as_me: failed program was:" >&5
8763
 
sed 's/^/| /' conftest.$ac_ext >&5
8764
 
 
8765
 
ac_cv_prog_f77_g=no
8766
 
fi
8767
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8768
 
 
8769
 
fi
8770
 
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
8771
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
8772
 
if test "$ac_test_FFLAGS" = set; then
8773
 
  FFLAGS=$ac_save_FFLAGS
8774
 
elif test $ac_cv_prog_f77_g = yes; then
8775
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
8776
 
    FFLAGS="-g -O2"
8777
 
  else
8778
 
    FFLAGS="-g"
8779
 
  fi
8780
 
else
8781
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
8782
 
    FFLAGS="-O2"
8783
 
  else
8784
 
    FFLAGS=
8785
 
  fi
8786
 
fi
8787
 
 
8788
 
G77=`test $ac_compiler_gnu = yes && echo yes`
8789
 
ac_ext=c
8790
 
ac_cpp='$CPP $CPPFLAGS'
8791
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8792
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8793
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8794
 
 
8795
 
 
8796
 
 
8797
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
8798
 
 
8799
 
# find the maximum length of command line arguments
8800
 
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
8801
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
8802
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
8803
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8804
 
else
8805
 
    i=0
8806
 
  teststring="ABCD"
8807
 
 
8808
 
  case $build_os in
8809
 
  msdosdjgpp*)
8810
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
8811
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
8812
 
    # during glob expansion).  Even if it were fixed, the result of this
8813
 
    # check would be larger than it should be.
8814
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
8815
 
    ;;
8816
 
 
8817
 
  gnu*)
8818
 
    # Under GNU Hurd, this test is not required because there is
8819
 
    # no limit to the length of command line arguments.
8820
 
    # Libtool will interpret -1 as no limit whatsoever
8821
 
    lt_cv_sys_max_cmd_len=-1;
8822
 
    ;;
8823
 
 
8824
 
  cygwin* | mingw*)
8825
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
8826
 
    # about 5 minutes as the teststring grows exponentially.
8827
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
8828
 
    # you end up with a "frozen" computer, even though with patience
8829
 
    # the test eventually succeeds (with a max line length of 256k).
8830
 
    # Instead, let's just punt: use the minimum linelength reported by
8831
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
8832
 
    lt_cv_sys_max_cmd_len=8192;
8833
 
    ;;
8834
 
 
8835
 
  amigaos*)
8836
 
    # On AmigaOS with pdksh, this test takes hours, literally.
8837
 
    # So we just punt and use a minimum line length of 8192.
8838
 
    lt_cv_sys_max_cmd_len=8192;
8839
 
    ;;
8840
 
 
8841
 
 *)
8842
 
    # If test is not a shell built-in, we'll probably end up computing a
8843
 
    # maximum length that is only half of the actual maximum length, but
8844
 
    # we can't tell.
8845
 
    while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
8846
 
               = "XX$teststring") >/dev/null 2>&1 &&
8847
 
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
8848
 
            lt_cv_sys_max_cmd_len=$new_result &&
8849
 
            test $i != 17 # 1/2 MB should be enough
8850
 
    do
8851
 
      i=`expr $i + 1`
8852
 
      teststring=$teststring$teststring
8853
 
    done
8854
 
    teststring=
8855
 
    # Add a significant safety factor because C++ compilers can tack on massive
8856
 
    # amounts of additional arguments before passing them to the linker.
8857
 
    # It appears as though 1/2 is a usable value.
8858
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
8859
 
    ;;
8860
 
  esac
8861
 
 
8862
 
fi
8863
 
 
8864
 
if test -n $lt_cv_sys_max_cmd_len ; then
8865
 
  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
8866
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
8867
 
else
8868
 
  echo "$as_me:$LINENO: result: none" >&5
8869
 
echo "${ECHO_T}none" >&6
8870
 
fi
8871
 
 
8872
 
 
8873
 
 
8874
 
 
8875
 
# Check for command to grab the raw symbol name followed by C symbol from nm.
8876
 
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
8877
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
8878
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
8879
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8880
 
else
8881
 
 
8882
 
# These are sane defaults that work on at least a few old systems.
8883
 
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
8884
 
 
8885
 
# Character class describing NM global symbol codes.
8886
 
symcode='[BCDEGRST]'
8887
 
 
8888
 
# Regexp to match symbols that can be accessed directly from C.
8889
 
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8890
 
 
8891
 
# Transform the above into a raw symbol and a C symbol.
8892
 
symxfrm='\1 \2\3 \3'
8893
 
 
8894
 
# Transform an extracted symbol line into a proper C declaration
8895
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
8896
 
 
8897
 
# Transform an extracted symbol line into symbol name and symbol address
8898
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
8899
 
 
8900
 
# Define system-specific variables.
8901
 
case $host_os in
8902
 
aix*)
8903
 
  symcode='[BCDT]'
8904
 
  ;;
8905
 
cygwin* | mingw* | pw32*)
8906
 
  symcode='[ABCDGISTW]'
8907
 
  ;;
8908
 
hpux*) # Its linker distinguishes data from code symbols
8909
 
  if test "$host_cpu" = ia64; then
8910
 
    symcode='[ABCDEGRST]'
8911
 
  fi
8912
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8913
 
  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
8914
 
  ;;
8915
 
irix* | nonstopux*)
8916
 
  symcode='[BCDEGRST]'
8917
 
  ;;
8918
 
osf*)
8919
 
  symcode='[BCDEGQRST]'
8920
 
  ;;
8921
 
solaris* | sysv5*)
8922
 
  symcode='[BDRT]'
8923
 
  ;;
8924
 
sysv4)
8925
 
  symcode='[DFNSTU]'
8926
 
  ;;
8927
 
esac
8928
 
 
8929
 
# Handle CRLF in mingw tool chain
8930
 
opt_cr=
8931
 
case $build_os in
8932
 
mingw*)
8933
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8934
 
  ;;
8935
 
esac
8936
 
 
8937
 
# If we're using GNU nm, then use its standard symbol codes.
8938
 
case `$NM -V 2>&1` in
8939
 
*GNU* | *'with BFD'*)
8940
 
  symcode='[ABCDGIRSTW]' ;;
8941
 
esac
8942
 
 
8943
 
# Try without a prefix undercore, then with it.
8944
 
for ac_symprfx in "" "_"; do
8945
 
 
8946
 
  # Write the raw and C identifiers.
8947
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
8948
 
 
8949
 
  # Check to see that the pipe works correctly.
8950
 
  pipe_works=no
8951
 
 
8952
 
  rm -f conftest*
8953
 
  cat > conftest.$ac_ext <<EOF
8954
 
#ifdef __cplusplus
8955
 
extern "C" {
8956
 
#endif
8957
 
char nm_test_var;
8958
 
void nm_test_func(){}
8959
 
#ifdef __cplusplus
8960
 
}
8961
 
#endif
8962
 
int main(){nm_test_var='a';nm_test_func();return(0);}
8963
 
EOF
8964
 
 
8965
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8966
 
  (eval $ac_compile) 2>&5
8967
 
  ac_status=$?
8968
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8969
 
  (exit $ac_status); }; then
8970
 
    # Now try to grab the symbols.
8971
 
    nlist=conftest.nm
8972
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
8973
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
8974
 
  ac_status=$?
8975
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8976
 
  (exit $ac_status); } && test -s "$nlist"; then
8977
 
      # Try sorting and uniquifying the output.
8978
 
      if sort "$nlist" | uniq > "$nlist"T; then
8979
 
        mv -f "$nlist"T "$nlist"
8980
 
      else
8981
 
        rm -f "$nlist"T
8982
 
      fi
8983
 
 
8984
 
      # Make sure that we snagged all the symbols we need.
8985
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
8986
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
8987
 
          cat <<EOF > conftest.$ac_ext
8988
 
#ifdef __cplusplus
8989
 
extern "C" {
8990
 
#endif
8991
 
 
8992
 
EOF
8993
 
          # Now generate the symbol file.
8994
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
8995
 
 
8996
 
          cat <<EOF >> conftest.$ac_ext
8997
 
#if defined (__STDC__) && __STDC__
8998
 
# define lt_ptr_t void *
8999
 
#else
9000
 
# define lt_ptr_t char *
9001
 
# define const
9002
 
#endif
9003
 
 
9004
 
/* The mapping between symbol names and symbols. */
9005
 
const struct {
9006
 
  const char *name;
9007
 
  lt_ptr_t address;
9008
 
}
9009
 
lt_preloaded_symbols[] =
9010
 
{
9011
 
EOF
9012
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
9013
 
          cat <<\EOF >> conftest.$ac_ext
9014
 
  {0, (lt_ptr_t) 0}
9015
 
};
9016
 
 
9017
 
#ifdef __cplusplus
9018
 
}
9019
 
#endif
9020
 
EOF
9021
 
          # Now try linking the two files.
9022
 
          mv conftest.$ac_objext conftstm.$ac_objext
9023
 
          lt_save_LIBS="$LIBS"
9024
 
          lt_save_CFLAGS="$CFLAGS"
9025
 
          LIBS="conftstm.$ac_objext"
9026
 
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9027
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9028
 
  (eval $ac_link) 2>&5
9029
 
  ac_status=$?
9030
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9031
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
9032
 
            pipe_works=yes
9033
 
          fi
9034
 
          LIBS="$lt_save_LIBS"
9035
 
          CFLAGS="$lt_save_CFLAGS"
9036
 
        else
9037
 
          echo "cannot find nm_test_func in $nlist" >&5
9038
 
        fi
9039
 
      else
9040
 
        echo "cannot find nm_test_var in $nlist" >&5
9041
 
      fi
9042
 
    else
9043
 
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9044
 
    fi
9045
 
  else
9046
 
    echo "$progname: failed program was:" >&5
9047
 
    cat conftest.$ac_ext >&5
9048
 
  fi
9049
 
  rm -f conftest* conftst*
9050
 
 
9051
 
  # Do not use the global_symbol_pipe unless it works.
9052
 
  if test "$pipe_works" = yes; then
9053
 
    break
9054
 
  else
9055
 
    lt_cv_sys_global_symbol_pipe=
9056
 
  fi
9057
 
done
9058
 
 
9059
 
fi
9060
 
 
9061
 
if test -z "$lt_cv_sys_global_symbol_pipe"; then
9062
 
  lt_cv_sys_global_symbol_to_cdecl=
9063
 
fi
9064
 
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9065
 
  echo "$as_me:$LINENO: result: failed" >&5
9066
 
echo "${ECHO_T}failed" >&6
9067
 
else
9068
 
  echo "$as_me:$LINENO: result: ok" >&5
9069
 
echo "${ECHO_T}ok" >&6
9070
 
fi
9071
 
 
9072
 
echo "$as_me:$LINENO: checking for objdir" >&5
9073
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
9074
 
if test "${lt_cv_objdir+set}" = set; then
9075
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9076
 
else
9077
 
  rm -f .libs 2>/dev/null
9078
 
mkdir .libs 2>/dev/null
9079
 
if test -d .libs; then
9080
 
  lt_cv_objdir=.libs
9081
 
else
9082
 
  # MS-DOS does not allow filenames that begin with a dot.
9083
 
  lt_cv_objdir=_libs
9084
 
fi
9085
 
rmdir .libs 2>/dev/null
9086
 
fi
9087
 
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
9088
 
echo "${ECHO_T}$lt_cv_objdir" >&6
9089
 
objdir=$lt_cv_objdir
9090
 
 
9091
 
 
9092
 
 
9093
 
 
9094
 
 
9095
 
case $host_os in
9096
 
aix3*)
9097
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
9098
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
9099
 
  # vanish in a puff of smoke.
9100
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
9101
 
    COLLECT_NAMES=
9102
 
    export COLLECT_NAMES
9103
 
  fi
9104
 
  ;;
9105
 
esac
9106
 
 
9107
 
# Sed substitution that helps us do robust quoting.  It backslashifies
9108
 
# metacharacters that are still active within double-quoted strings.
9109
 
Xsed='sed -e s/^X//'
9110
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
9111
 
 
9112
 
# Same as above, but do not quote variable references.
9113
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
9114
 
 
9115
 
# Sed substitution to delay expansion of an escaped shell variable in a
9116
 
# double_quote_subst'ed string.
9117
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
9118
 
 
9119
 
# Sed substitution to avoid accidental globbing in evaled expressions
9120
 
no_glob_subst='s/\*/\\\*/g'
9121
 
 
9122
 
# Constants:
9123
 
rm="rm -f"
9124
 
 
9125
 
# Global variables:
9126
 
default_ofile=libtool
9127
 
can_build_shared=yes
9128
 
 
9129
 
# All known linkers require a `.a' archive for static linking (except M$VC,
9130
 
# which needs '.lib').
9131
 
libext=a
9132
 
ltmain="$ac_aux_dir/ltmain.sh"
9133
 
ofile="$default_ofile"
9134
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
9135
 
 
9136
 
if test -n "$ac_tool_prefix"; then
9137
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
9138
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
9139
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
9140
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9141
 
if test "${ac_cv_prog_AR+set}" = set; then
9142
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9143
 
else
9144
 
  if test -n "$AR"; then
9145
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
9146
 
else
9147
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9148
 
for as_dir in $PATH
9149
 
do
9150
 
  IFS=$as_save_IFS
9151
 
  test -z "$as_dir" && as_dir=.
9152
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9153
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9154
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
9155
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9156
 
    break 2
9157
 
  fi
9158
 
done
9159
 
done
9160
 
 
9161
 
fi
9162
 
fi
9163
 
AR=$ac_cv_prog_AR
9164
 
if test -n "$AR"; then
9165
 
  echo "$as_me:$LINENO: result: $AR" >&5
9166
 
echo "${ECHO_T}$AR" >&6
9167
 
else
9168
 
  echo "$as_me:$LINENO: result: no" >&5
9169
 
echo "${ECHO_T}no" >&6
9170
 
fi
9171
 
 
9172
 
fi
9173
 
if test -z "$ac_cv_prog_AR"; then
9174
 
  ac_ct_AR=$AR
9175
 
  # Extract the first word of "ar", so it can be a program name with args.
9176
 
set dummy ar; ac_word=$2
9177
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
9178
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9179
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
9180
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9181
 
else
9182
 
  if test -n "$ac_ct_AR"; then
9183
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9184
 
else
9185
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9186
 
for as_dir in $PATH
9187
 
do
9188
 
  IFS=$as_save_IFS
9189
 
  test -z "$as_dir" && as_dir=.
9190
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9191
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9192
 
    ac_cv_prog_ac_ct_AR="ar"
9193
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9194
 
    break 2
9195
 
  fi
9196
 
done
9197
 
done
9198
 
 
9199
 
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
9200
 
fi
9201
 
fi
9202
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
9203
 
if test -n "$ac_ct_AR"; then
9204
 
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
9205
 
echo "${ECHO_T}$ac_ct_AR" >&6
9206
 
else
9207
 
  echo "$as_me:$LINENO: result: no" >&5
9208
 
echo "${ECHO_T}no" >&6
9209
 
fi
9210
 
 
9211
 
  AR=$ac_ct_AR
9212
 
else
9213
 
  AR="$ac_cv_prog_AR"
9214
 
fi
9215
 
 
9216
 
if test -n "$ac_tool_prefix"; then
9217
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
9218
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
9219
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
9220
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9221
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
9222
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9223
 
else
9224
 
  if test -n "$RANLIB"; then
9225
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9226
 
else
9227
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9228
 
for as_dir in $PATH
9229
 
do
9230
 
  IFS=$as_save_IFS
9231
 
  test -z "$as_dir" && as_dir=.
9232
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9233
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9234
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
9235
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9236
 
    break 2
9237
 
  fi
9238
 
done
9239
 
done
9240
 
 
9241
 
fi
9242
 
fi
9243
 
RANLIB=$ac_cv_prog_RANLIB
9244
 
if test -n "$RANLIB"; then
9245
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
9246
 
echo "${ECHO_T}$RANLIB" >&6
9247
 
else
9248
 
  echo "$as_me:$LINENO: result: no" >&5
9249
 
echo "${ECHO_T}no" >&6
9250
 
fi
9251
 
 
9252
 
fi
9253
 
if test -z "$ac_cv_prog_RANLIB"; then
9254
 
  ac_ct_RANLIB=$RANLIB
9255
 
  # Extract the first word of "ranlib", so it can be a program name with args.
9256
 
set dummy ranlib; ac_word=$2
9257
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
9258
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9259
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
9260
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9261
 
else
9262
 
  if test -n "$ac_ct_RANLIB"; then
9263
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
9264
 
else
9265
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9266
 
for as_dir in $PATH
9267
 
do
9268
 
  IFS=$as_save_IFS
9269
 
  test -z "$as_dir" && as_dir=.
9270
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9271
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9272
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
9273
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9274
 
    break 2
9275
 
  fi
9276
 
done
9277
 
done
9278
 
 
9279
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
9280
 
fi
9281
 
fi
9282
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9283
 
if test -n "$ac_ct_RANLIB"; then
9284
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
9285
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
9286
 
else
9287
 
  echo "$as_me:$LINENO: result: no" >&5
9288
 
echo "${ECHO_T}no" >&6
9289
 
fi
9290
 
 
9291
 
  RANLIB=$ac_ct_RANLIB
9292
 
else
9293
 
  RANLIB="$ac_cv_prog_RANLIB"
9294
 
fi
9295
 
 
9296
 
if test -n "$ac_tool_prefix"; then
9297
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
9298
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
9299
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
9300
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9301
 
if test "${ac_cv_prog_STRIP+set}" = set; then
9302
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9303
 
else
9304
 
  if test -n "$STRIP"; then
9305
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9306
 
else
9307
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9308
 
for as_dir in $PATH
9309
 
do
9310
 
  IFS=$as_save_IFS
9311
 
  test -z "$as_dir" && as_dir=.
9312
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9313
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9314
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
9315
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9316
 
    break 2
9317
 
  fi
9318
 
done
9319
 
done
9320
 
 
9321
 
fi
9322
 
fi
9323
 
STRIP=$ac_cv_prog_STRIP
9324
 
if test -n "$STRIP"; then
9325
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
9326
 
echo "${ECHO_T}$STRIP" >&6
9327
 
else
9328
 
  echo "$as_me:$LINENO: result: no" >&5
9329
 
echo "${ECHO_T}no" >&6
9330
 
fi
9331
 
 
9332
 
fi
9333
 
if test -z "$ac_cv_prog_STRIP"; then
9334
 
  ac_ct_STRIP=$STRIP
9335
 
  # Extract the first word of "strip", so it can be a program name with args.
9336
 
set dummy strip; ac_word=$2
9337
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
9338
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9339
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
9340
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9341
 
else
9342
 
  if test -n "$ac_ct_STRIP"; then
9343
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
9344
 
else
9345
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9346
 
for as_dir in $PATH
9347
 
do
9348
 
  IFS=$as_save_IFS
9349
 
  test -z "$as_dir" && as_dir=.
9350
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9351
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9352
 
    ac_cv_prog_ac_ct_STRIP="strip"
9353
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9354
 
    break 2
9355
 
  fi
9356
 
done
9357
 
done
9358
 
 
9359
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
9360
 
fi
9361
 
fi
9362
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
9363
 
if test -n "$ac_ct_STRIP"; then
9364
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
9365
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
9366
 
else
9367
 
  echo "$as_me:$LINENO: result: no" >&5
9368
 
echo "${ECHO_T}no" >&6
9369
 
fi
9370
 
 
9371
 
  STRIP=$ac_ct_STRIP
9372
 
else
9373
 
  STRIP="$ac_cv_prog_STRIP"
9374
 
fi
9375
 
 
9376
 
 
9377
 
old_CC="$CC"
9378
 
old_CFLAGS="$CFLAGS"
9379
 
 
9380
 
# Set sane defaults for various variables
9381
 
test -z "$AR" && AR=ar
9382
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
9383
 
test -z "$AS" && AS=as
9384
 
test -z "$CC" && CC=cc
9385
 
test -z "$LTCC" && LTCC=$CC
9386
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
9387
 
test -z "$LD" && LD=ld
9388
 
test -z "$LN_S" && LN_S="ln -s"
9389
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
9390
 
test -z "$NM" && NM=nm
9391
 
test -z "$SED" && SED=sed
9392
 
test -z "$OBJDUMP" && OBJDUMP=objdump
9393
 
test -z "$RANLIB" && RANLIB=:
9394
 
test -z "$STRIP" && STRIP=:
9395
 
test -z "$ac_objext" && ac_objext=o
9396
 
 
9397
 
# Determine commands to create old-style static archives.
9398
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
9399
 
old_postinstall_cmds='chmod 644 $oldlib'
9400
 
old_postuninstall_cmds=
9401
 
 
9402
 
if test -n "$RANLIB"; then
9403
 
  case $host_os in
9404
 
  openbsd*)
9405
 
    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
9406
 
    ;;
9407
 
  *)
9408
 
    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
9409
 
    ;;
9410
 
  esac
9411
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
9412
 
fi
9413
 
 
9414
 
# Only perform the check for file, if the check method requires it
9415
 
case $deplibs_check_method in
9416
 
file_magic*)
9417
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9418
 
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
9419
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
9420
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9421
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9422
 
else
9423
 
  case $MAGIC_CMD in
9424
 
[\\/*] |  ?:[\\/]*)
9425
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9426
 
  ;;
9427
 
*)
9428
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
9429
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9430
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9431
 
  for ac_dir in $ac_dummy; do
9432
 
    IFS="$lt_save_ifs"
9433
 
    test -z "$ac_dir" && ac_dir=.
9434
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
9435
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9436
 
      if test -n "$file_magic_test_file"; then
9437
 
        case $deplibs_check_method in
9438
 
        "file_magic "*)
9439
 
          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
9440
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9441
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9442
 
            $EGREP "$file_magic_regex" > /dev/null; then
9443
 
            :
9444
 
          else
9445
 
            cat <<EOF 1>&2
9446
 
 
9447
 
*** Warning: the command libtool uses to detect shared libraries,
9448
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
9449
 
*** The result is that libtool may fail to recognize shared libraries
9450
 
*** as such.  This will affect the creation of libtool libraries that
9451
 
*** depend on shared libraries, but programs linked with such libtool
9452
 
*** libraries will work regardless of this problem.  Nevertheless, you
9453
 
*** may want to report the problem to your system manager and/or to
9454
 
*** bug-libtool@gnu.org
9455
 
 
9456
 
EOF
9457
 
          fi ;;
9458
 
        esac
9459
 
      fi
9460
 
      break
9461
 
    fi
9462
 
  done
9463
 
  IFS="$lt_save_ifs"
9464
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
9465
 
  ;;
9466
 
esac
9467
 
fi
9468
 
 
9469
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9470
 
if test -n "$MAGIC_CMD"; then
9471
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9472
 
echo "${ECHO_T}$MAGIC_CMD" >&6
9473
 
else
9474
 
  echo "$as_me:$LINENO: result: no" >&5
9475
 
echo "${ECHO_T}no" >&6
9476
 
fi
9477
 
 
9478
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
9479
 
  if test -n "$ac_tool_prefix"; then
9480
 
    echo "$as_me:$LINENO: checking for file" >&5
9481
 
echo $ECHO_N "checking for file... $ECHO_C" >&6
9482
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9483
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9484
 
else
9485
 
  case $MAGIC_CMD in
9486
 
[\\/*] |  ?:[\\/]*)
9487
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9488
 
  ;;
9489
 
*)
9490
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
9491
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9492
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9493
 
  for ac_dir in $ac_dummy; do
9494
 
    IFS="$lt_save_ifs"
9495
 
    test -z "$ac_dir" && ac_dir=.
9496
 
    if test -f $ac_dir/file; then
9497
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
9498
 
      if test -n "$file_magic_test_file"; then
9499
 
        case $deplibs_check_method in
9500
 
        "file_magic "*)
9501
 
          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
9502
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9503
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9504
 
            $EGREP "$file_magic_regex" > /dev/null; then
9505
 
            :
9506
 
          else
9507
 
            cat <<EOF 1>&2
9508
 
 
9509
 
*** Warning: the command libtool uses to detect shared libraries,
9510
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
9511
 
*** The result is that libtool may fail to recognize shared libraries
9512
 
*** as such.  This will affect the creation of libtool libraries that
9513
 
*** depend on shared libraries, but programs linked with such libtool
9514
 
*** libraries will work regardless of this problem.  Nevertheless, you
9515
 
*** may want to report the problem to your system manager and/or to
9516
 
*** bug-libtool@gnu.org
9517
 
 
9518
 
EOF
9519
 
          fi ;;
9520
 
        esac
9521
 
      fi
9522
 
      break
9523
 
    fi
9524
 
  done
9525
 
  IFS="$lt_save_ifs"
9526
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
9527
 
  ;;
9528
 
esac
9529
 
fi
9530
 
 
9531
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9532
 
if test -n "$MAGIC_CMD"; then
9533
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9534
 
echo "${ECHO_T}$MAGIC_CMD" >&6
9535
 
else
9536
 
  echo "$as_me:$LINENO: result: no" >&5
9537
 
echo "${ECHO_T}no" >&6
9538
 
fi
9539
 
 
9540
 
  else
9541
 
    MAGIC_CMD=:
9542
 
  fi
9543
 
fi
9544
 
 
9545
 
  fi
9546
 
  ;;
9547
 
esac
9548
 
 
9549
 
enable_dlopen=no
9550
 
enable_win32_dll=no
9551
 
 
9552
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
9553
 
if test "${enable_libtool_lock+set}" = set; then
9554
 
  enableval="$enable_libtool_lock"
9555
 
 
9556
 
fi;
9557
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
9558
 
 
9559
 
 
9560
 
# Check whether --with-pic or --without-pic was given.
9561
 
if test "${with_pic+set}" = set; then
9562
 
  withval="$with_pic"
9563
 
  pic_mode="$withval"
9564
 
else
9565
 
  pic_mode=default
9566
 
fi;
9567
 
test -z "$pic_mode" && pic_mode=default
9568
 
 
9569
 
# Use C for the default configuration in the libtool script
9570
 
tagname=
9571
 
lt_save_CC="$CC"
9572
 
ac_ext=c
9573
 
ac_cpp='$CPP $CPPFLAGS'
9574
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9575
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9576
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9577
 
 
9578
 
 
9579
 
# Source file extension for C test sources.
9580
 
ac_ext=c
9581
 
 
9582
 
# Object file extension for compiled C test sources.
9583
 
objext=o
9584
 
objext=$objext
9585
 
 
9586
 
# Code to be used in simple compile tests
9587
 
lt_simple_compile_test_code="int some_variable = 0;\n"
9588
 
 
9589
 
# Code to be used in simple link tests
9590
 
lt_simple_link_test_code='int main(){return(0);}\n'
9591
 
 
9592
 
 
9593
 
# If no C compiler was specified, use CC.
9594
 
LTCC=${LTCC-"$CC"}
9595
 
 
9596
 
# Allow CC to be a program name with arguments.
9597
 
compiler=$CC
9598
 
 
9599
 
 
9600
 
#
9601
 
# Check for any special shared library compilation flags.
9602
 
#
9603
 
lt_prog_cc_shlib=
9604
 
if test "$GCC" = no; then
9605
 
  case $host_os in
9606
 
  sco3.2v5*)
9607
 
    lt_prog_cc_shlib='-belf'
9608
 
    ;;
9609
 
  esac
9610
 
fi
9611
 
if test -n "$lt_prog_cc_shlib"; then
9612
 
  { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
9613
 
echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
9614
 
  if echo "$old_CC $old_CFLAGS " | grep "[      ]$lt_prog_cc_shlib[     ]" >/dev/null; then :
9615
 
  else
9616
 
    { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
9617
 
echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
9618
 
    lt_cv_prog_cc_can_build_shared=no
9619
 
  fi
9620
 
fi
9621
 
 
9622
 
 
9623
 
#
9624
 
# Check to make sure the static flag actually works.
9625
 
#
9626
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
9627
 
echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
9628
 
if test "${lt_prog_compiler_static_works+set}" = set; then
9629
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9630
 
else
9631
 
  lt_prog_compiler_static_works=no
9632
 
   save_LDFLAGS="$LDFLAGS"
9633
 
   LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
9634
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
9635
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9636
 
     # The compiler can only warn and ignore the option if not recognized
9637
 
     # So say no if there are warnings
9638
 
     if test -s conftest.err; then
9639
 
       # Append any errors to the config.log.
9640
 
       cat conftest.err 1>&5
9641
 
     else
9642
 
       lt_prog_compiler_static_works=yes
9643
 
     fi
9644
 
   fi
9645
 
   $rm conftest*
9646
 
   LDFLAGS="$save_LDFLAGS"
9647
 
 
9648
 
fi
9649
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
9650
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
9651
 
 
9652
 
if test x"$lt_prog_compiler_static_works" = xyes; then
9653
 
    :
9654
 
else
9655
 
    lt_prog_compiler_static=
9656
 
fi
9657
 
 
9658
 
 
9659
 
 
9660
 
 
9661
 
lt_prog_compiler_no_builtin_flag=
9662
 
 
9663
 
if test "$GCC" = yes; then
9664
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9665
 
 
9666
 
 
9667
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9668
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
9669
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
9670
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9671
 
else
9672
 
  lt_cv_prog_compiler_rtti_exceptions=no
9673
 
  ac_outfile=conftest.$ac_objext
9674
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
9675
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
9676
 
   # Insert the option either (1) after the last *FLAGS variable, or
9677
 
   # (2) before a word containing "conftest.", or (3) at the end.
9678
 
   # Note that $ac_compile itself does not contain backslashes and begins
9679
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9680
 
   # The option is referenced via a variable to avoid confusing sed.
9681
 
   lt_compile=`echo "$ac_compile" | $SED \
9682
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
9683
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9684
 
   -e 's:$: $lt_compiler_flag:'`
9685
 
   (eval echo "\"\$as_me:9685: $lt_compile\"" >&5)
9686
 
   (eval "$lt_compile" 2>conftest.err)
9687
 
   ac_status=$?
9688
 
   cat conftest.err >&5
9689
 
   echo "$as_me:9689: \$? = $ac_status" >&5
9690
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
9691
 
     # The compiler can only warn and ignore the option if not recognized
9692
 
     # So say no if there are warnings
9693
 
     if test ! -s conftest.err; then
9694
 
       lt_cv_prog_compiler_rtti_exceptions=yes
9695
 
     fi
9696
 
   fi
9697
 
   $rm conftest*
9698
 
 
9699
 
fi
9700
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9701
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
9702
 
 
9703
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9704
 
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9705
 
else
9706
 
    :
9707
 
fi
9708
 
 
9709
 
fi
9710
 
 
9711
 
lt_prog_compiler_wl=
9712
 
lt_prog_compiler_pic=
9713
 
lt_prog_compiler_static=
9714
 
 
9715
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
9716
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
9717
 
 
9718
 
  if test "$GCC" = yes; then
9719
 
    lt_prog_compiler_wl='-Wl,'
9720
 
    lt_prog_compiler_static='-static'
9721
 
 
9722
 
    case $host_os in
9723
 
      aix*)
9724
 
      # All AIX code is PIC.
9725
 
      if test "$host_cpu" = ia64; then
9726
 
        # AIX 5 now supports IA64 processor
9727
 
        lt_prog_compiler_static='-Bstatic'
9728
 
      fi
9729
 
      ;;
9730
 
 
9731
 
    amigaos*)
9732
 
      # FIXME: we need at least 68020 code to build shared libraries, but
9733
 
      # adding the `-m68020' flag to GCC prevents building anything better,
9734
 
      # like `-m68040'.
9735
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9736
 
      ;;
9737
 
 
9738
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9739
 
      # PIC is the default for these OSes.
9740
 
      ;;
9741
 
 
9742
 
    mingw* | pw32* | os2*)
9743
 
      # This hack is so that the source file can tell whether it is being
9744
 
      # built for inclusion in a dll (and should export symbols for example).
9745
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
9746
 
      ;;
9747
 
 
9748
 
    darwin* | rhapsody*)
9749
 
      # PIC is the default on this platform
9750
 
      # Common symbols not allowed in MH_DYLIB files
9751
 
      lt_prog_compiler_pic='-fno-common'
9752
 
      ;;
9753
 
 
9754
 
    msdosdjgpp*)
9755
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
9756
 
      # on systems that don't support them.
9757
 
      lt_prog_compiler_can_build_shared=no
9758
 
      enable_shared=no
9759
 
      ;;
9760
 
 
9761
 
    sysv4*MP*)
9762
 
      if test -d /usr/nec; then
9763
 
        lt_prog_compiler_pic=-Kconform_pic
9764
 
      fi
9765
 
      ;;
9766
 
 
9767
 
    hpux*)
9768
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9769
 
      # not for PA HP-UX.
9770
 
      case "$host_cpu" in
9771
 
      hppa*64*|ia64*)
9772
 
        # +Z the default
9773
 
        ;;
9774
 
      *)
9775
 
        lt_prog_compiler_pic='-fPIC'
9776
 
        ;;
9777
 
      esac
9778
 
      ;;
9779
 
 
9780
 
    *)
9781
 
      lt_prog_compiler_pic='-fPIC'
9782
 
      ;;
9783
 
    esac
9784
 
  else
9785
 
    # PORTME Check for flag to pass linker flags through the system compiler.
9786
 
    case $host_os in
9787
 
    aix*)
9788
 
      lt_prog_compiler_wl='-Wl,'
9789
 
      if test "$host_cpu" = ia64; then
9790
 
        # AIX 5 now supports IA64 processor
9791
 
        lt_prog_compiler_static='-Bstatic'
9792
 
      else
9793
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9794
 
      fi
9795
 
      ;;
9796
 
 
9797
 
    mingw* | pw32* | os2*)
9798
 
      # This hack is so that the source file can tell whether it is being
9799
 
      # built for inclusion in a dll (and should export symbols for example).
9800
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
9801
 
      ;;
9802
 
 
9803
 
    hpux9* | hpux10* | hpux11*)
9804
 
      lt_prog_compiler_wl='-Wl,'
9805
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9806
 
      # not for PA HP-UX.
9807
 
      case "$host_cpu" in
9808
 
      hppa*64*|ia64*)
9809
 
        # +Z the default
9810
 
        ;;
9811
 
      *)
9812
 
        lt_prog_compiler_pic='+Z'
9813
 
        ;;
9814
 
      esac
9815
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9816
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
9817
 
      ;;
9818
 
 
9819
 
    irix5* | irix6* | nonstopux*)
9820
 
      lt_prog_compiler_wl='-Wl,'
9821
 
      # PIC (with -KPIC) is the default.
9822
 
      lt_prog_compiler_static='-non_shared'
9823
 
      ;;
9824
 
 
9825
 
    newsos6)
9826
 
      lt_prog_compiler_pic='-KPIC'
9827
 
      lt_prog_compiler_static='-Bstatic'
9828
 
      ;;
9829
 
 
9830
 
    linux*)
9831
 
      case $CC in
9832
 
      icc* | ecc*)
9833
 
        lt_prog_compiler_wl='-Wl,'
9834
 
        lt_prog_compiler_pic='-KPIC'
9835
 
        lt_prog_compiler_static='-static'
9836
 
        ;;
9837
 
      ccc*)
9838
 
        lt_prog_compiler_wl='-Wl,'
9839
 
        # All Alpha code is PIC.
9840
 
        lt_prog_compiler_static='-non_shared'
9841
 
        ;;
9842
 
      esac
9843
 
      ;;
9844
 
 
9845
 
    osf3* | osf4* | osf5*)
9846
 
      lt_prog_compiler_wl='-Wl,'
9847
 
      # All OSF/1 code is PIC.
9848
 
      lt_prog_compiler_static='-non_shared'
9849
 
      ;;
9850
 
 
9851
 
    sco3.2v5*)
9852
 
      lt_prog_compiler_pic='-Kpic'
9853
 
      lt_prog_compiler_static='-dn'
9854
 
      ;;
9855
 
 
9856
 
    solaris*)
9857
 
      lt_prog_compiler_wl='-Wl,'
9858
 
      lt_prog_compiler_pic='-KPIC'
9859
 
      lt_prog_compiler_static='-Bstatic'
9860
 
      ;;
9861
 
 
9862
 
    sunos4*)
9863
 
      lt_prog_compiler_wl='-Qoption ld '
9864
 
      lt_prog_compiler_pic='-PIC'
9865
 
      lt_prog_compiler_static='-Bstatic'
9866
 
      ;;
9867
 
 
9868
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9869
 
      lt_prog_compiler_wl='-Wl,'
9870
 
      lt_prog_compiler_pic='-KPIC'
9871
 
      lt_prog_compiler_static='-Bstatic'
9872
 
      ;;
9873
 
 
9874
 
    sysv4*MP*)
9875
 
      if test -d /usr/nec ;then
9876
 
        lt_prog_compiler_pic='-Kconform_pic'
9877
 
        lt_prog_compiler_static='-Bstatic'
9878
 
      fi
9879
 
      ;;
9880
 
 
9881
 
    uts4*)
9882
 
      lt_prog_compiler_pic='-pic'
9883
 
      lt_prog_compiler_static='-Bstatic'
9884
 
      ;;
9885
 
 
9886
 
    *)
9887
 
      lt_prog_compiler_can_build_shared=no
9888
 
      ;;
9889
 
    esac
9890
 
  fi
9891
 
 
9892
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9893
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
9894
 
 
9895
 
#
9896
 
# Check to make sure the PIC flag actually works.
9897
 
#
9898
 
if test -n "$lt_prog_compiler_pic"; then
9899
 
 
9900
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9901
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
9902
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
9903
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9904
 
else
9905
 
  lt_prog_compiler_pic_works=no
9906
 
  ac_outfile=conftest.$ac_objext
9907
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
9908
 
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9909
 
   # Insert the option either (1) after the last *FLAGS variable, or
9910
 
   # (2) before a word containing "conftest.", or (3) at the end.
9911
 
   # Note that $ac_compile itself does not contain backslashes and begins
9912
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9913
 
   # The option is referenced via a variable to avoid confusing sed.
9914
 
   lt_compile=`echo "$ac_compile" | $SED \
9915
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
9916
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9917
 
   -e 's:$: $lt_compiler_flag:'`
9918
 
   (eval echo "\"\$as_me:9918: $lt_compile\"" >&5)
9919
 
   (eval "$lt_compile" 2>conftest.err)
9920
 
   ac_status=$?
9921
 
   cat conftest.err >&5
9922
 
   echo "$as_me:9922: \$? = $ac_status" >&5
9923
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
9924
 
     # The compiler can only warn and ignore the option if not recognized
9925
 
     # So say no if there are warnings
9926
 
     if test ! -s conftest.err; then
9927
 
       lt_prog_compiler_pic_works=yes
9928
 
     fi
9929
 
   fi
9930
 
   $rm conftest*
9931
 
 
9932
 
fi
9933
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
9934
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
9935
 
 
9936
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
9937
 
    case $lt_prog_compiler_pic in
9938
 
     "" | " "*) ;;
9939
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9940
 
     esac
9941
 
else
9942
 
    lt_prog_compiler_pic=
9943
 
     lt_prog_compiler_can_build_shared=no
9944
 
fi
9945
 
 
9946
 
fi
9947
 
case "$host_os" in
9948
 
  # For platforms which do not support PIC, -DPIC is meaningless:
9949
 
  *djgpp*)
9950
 
    lt_prog_compiler_pic=
9951
 
    ;;
9952
 
  *)
9953
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9954
 
    ;;
9955
 
esac
9956
 
 
9957
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9958
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
9959
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9960
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9961
 
else
9962
 
  lt_cv_prog_compiler_c_o=no
9963
 
   $rm -r conftest 2>/dev/null
9964
 
   mkdir conftest
9965
 
   cd conftest
9966
 
   mkdir out
9967
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
9968
 
 
9969
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9970
 
   # Insert the option either (1) after the last *FLAGS variable, or
9971
 
   # (2) before a word containing "conftest.", or (3) at the end.
9972
 
   # Note that $ac_compile itself does not contain backslashes and begins
9973
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9974
 
   lt_compile=`echo "$ac_compile" | $SED \
9975
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
9976
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9977
 
   -e 's:$: $lt_compiler_flag:'`
9978
 
   (eval echo "\"\$as_me:9978: $lt_compile\"" >&5)
9979
 
   (eval "$lt_compile" 2>out/conftest.err)
9980
 
   ac_status=$?
9981
 
   cat out/conftest.err >&5
9982
 
   echo "$as_me:9982: \$? = $ac_status" >&5
9983
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9984
 
   then
9985
 
     # The compiler can only warn and ignore the option if not recognized
9986
 
     # So say no if there are warnings
9987
 
     if test ! -s out/conftest.err; then
9988
 
       lt_cv_prog_compiler_c_o=yes
9989
 
     fi
9990
 
   fi
9991
 
   chmod u+w .
9992
 
   $rm conftest*
9993
 
   # SGI C++ compiler will create directory out/ii_files/ for
9994
 
   # template instantiation
9995
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
9996
 
   $rm out/* && rmdir out
9997
 
   cd ..
9998
 
   rmdir conftest
9999
 
   $rm conftest*
10000
 
 
10001
 
fi
10002
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
10003
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
10004
 
 
10005
 
 
10006
 
hard_links="nottested"
10007
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10008
 
  # do not overwrite the value of need_locks provided by the user
10009
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10010
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10011
 
  hard_links=yes
10012
 
  $rm conftest*
10013
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10014
 
  touch conftest.a
10015
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
10016
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10017
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
10018
 
echo "${ECHO_T}$hard_links" >&6
10019
 
  if test "$hard_links" = no; then
10020
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10021
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10022
 
    need_locks=warn
10023
 
  fi
10024
 
else
10025
 
  need_locks=no
10026
 
fi
10027
 
 
10028
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10029
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10030
 
 
10031
 
  runpath_var=
10032
 
  allow_undefined_flag=
10033
 
  enable_shared_with_static_runtimes=no
10034
 
  archive_cmds=
10035
 
  archive_expsym_cmds=
10036
 
  old_archive_From_new_cmds=
10037
 
  old_archive_from_expsyms_cmds=
10038
 
  export_dynamic_flag_spec=
10039
 
  whole_archive_flag_spec=
10040
 
  thread_safe_flag_spec=
10041
 
  hardcode_libdir_flag_spec=
10042
 
  hardcode_libdir_flag_spec_ld=
10043
 
  hardcode_libdir_separator=
10044
 
  hardcode_direct=no
10045
 
  hardcode_minus_L=no
10046
 
  hardcode_shlibpath_var=unsupported
10047
 
  link_all_deplibs=unknown
10048
 
  hardcode_automatic=no
10049
 
  module_cmds=
10050
 
  module_expsym_cmds=
10051
 
  always_export_symbols=no
10052
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10053
 
  # include_expsyms should be a list of space-separated symbols to be *always*
10054
 
  # included in the symbol list
10055
 
  include_expsyms=
10056
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
10057
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
10058
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10059
 
  # as well as any symbol that contains `d'.
10060
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
10061
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10062
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
10063
 
  # the symbol is explicitly referenced.  Since portable code cannot
10064
 
  # rely on this symbol name, it's probably fine to never include it in
10065
 
  # preloaded symbol tables.
10066
 
  extract_expsyms_cmds=
10067
 
 
10068
 
  case $host_os in
10069
 
  cygwin* | mingw* | pw32*)
10070
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10071
 
    # When not using gcc, we currently assume that we are using
10072
 
    # Microsoft Visual C++.
10073
 
    if test "$GCC" != yes; then
10074
 
      with_gnu_ld=no
10075
 
    fi
10076
 
    ;;
10077
 
  openbsd*)
10078
 
    with_gnu_ld=no
10079
 
    ;;
10080
 
  esac
10081
 
 
10082
 
  ld_shlibs=yes
10083
 
  if test "$with_gnu_ld" = yes; then
10084
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
10085
 
    wlarc='${wl}'
10086
 
 
10087
 
    # See if GNU ld supports shared libraries.
10088
 
    case $host_os in
10089
 
    aix3* | aix4* | aix5*)
10090
 
      # On AIX/PPC, the GNU linker is very broken
10091
 
      if test "$host_cpu" != ia64; then
10092
 
        ld_shlibs=no
10093
 
        cat <<EOF 1>&2
10094
 
 
10095
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
10096
 
*** to be unable to reliably create shared libraries on AIX.
10097
 
*** Therefore, libtool is disabling shared libraries support.  If you
10098
 
*** really care for shared libraries, you may want to modify your PATH
10099
 
*** so that a non-GNU linker is found, and then restart.
10100
 
 
10101
 
EOF
10102
 
      fi
10103
 
      ;;
10104
 
 
10105
 
    amigaos*)
10106
 
      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)'
10107
 
      hardcode_libdir_flag_spec='-L$libdir'
10108
 
      hardcode_minus_L=yes
10109
 
 
10110
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
10111
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
10112
 
      # to version 4, is to share data among multiple programs linked
10113
 
      # with the same dynamic library.  Since this doesn't match the
10114
 
      # behavior of shared libraries on other platforms, we can't use
10115
 
      # them.
10116
 
      ld_shlibs=no
10117
 
      ;;
10118
 
 
10119
 
    beos*)
10120
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10121
 
        allow_undefined_flag=unsupported
10122
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10123
 
        # support --undefined.  This deserves some investigation.  FIXME
10124
 
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10125
 
      else
10126
 
        ld_shlibs=no
10127
 
      fi
10128
 
      ;;
10129
 
 
10130
 
    cygwin* | mingw* | pw32*)
10131
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10132
 
      # as there is no search path for DLLs.
10133
 
      hardcode_libdir_flag_spec='-L$libdir'
10134
 
      allow_undefined_flag=unsupported
10135
 
      always_export_symbols=no
10136
 
      enable_shared_with_static_runtimes=yes
10137
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10138
 
 
10139
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10140
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10141
 
        # If the export-symbols file already is a .def file (1st line
10142
 
        # is EXPORTS), use it as is; otherwise, prepend...
10143
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10144
 
          cp $export_symbols $output_objdir/$soname.def;
10145
 
        else
10146
 
          echo EXPORTS > $output_objdir/$soname.def;
10147
 
          cat $export_symbols >> $output_objdir/$soname.def;
10148
 
        fi~
10149
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
10150
 
      else
10151
 
        ld_shlibs=no
10152
 
      fi
10153
 
      ;;
10154
 
 
10155
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
10156
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10157
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10158
 
        wlarc=
10159
 
      else
10160
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10161
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10162
 
      fi
10163
 
      ;;
10164
 
 
10165
 
    solaris* | sysv5*)
10166
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
10167
 
        ld_shlibs=no
10168
 
        cat <<EOF 1>&2
10169
 
 
10170
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10171
 
*** create shared libraries on Solaris systems.  Therefore, libtool
10172
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
10173
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
10174
 
*** your PATH or compiler configuration so that the native linker is
10175
 
*** used, and then restart.
10176
 
 
10177
 
EOF
10178
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10179
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10180
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10181
 
      else
10182
 
        ld_shlibs=no
10183
 
      fi
10184
 
      ;;
10185
 
 
10186
 
    sunos4*)
10187
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10188
 
      wlarc=
10189
 
      hardcode_direct=yes
10190
 
      hardcode_shlibpath_var=no
10191
 
      ;;
10192
 
 
10193
 
  linux*)
10194
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10195
 
        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10196
 
        archive_cmds="$tmp_archive_cmds"
10197
 
      supports_anon_versioning=no
10198
 
      case `$LD -v 2>/dev/null` in
10199
 
        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10200
 
        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10201
 
        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10202
 
        *\ 2.11.*) ;; # other 2.11 versions
10203
 
        *) supports_anon_versioning=yes ;;
10204
 
      esac
10205
 
      if test $supports_anon_versioning = yes; then
10206
 
        archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
10207
 
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10208
 
$echo "local: *; };" >> $output_objdir/$libname.ver~
10209
 
        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10210
 
      else
10211
 
        archive_expsym_cmds="$tmp_archive_cmds"
10212
 
      fi
10213
 
      link_all_deplibs=no
10214
 
    else
10215
 
      ld_shlibs=no
10216
 
    fi
10217
 
    ;;
10218
 
 
10219
 
    *)
10220
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10221
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10222
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10223
 
      else
10224
 
        ld_shlibs=no
10225
 
      fi
10226
 
      ;;
10227
 
    esac
10228
 
 
10229
 
    if test "$ld_shlibs" = yes; then
10230
 
      runpath_var=LD_RUN_PATH
10231
 
      hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
10232
 
      export_dynamic_flag_spec='${wl}--export-dynamic'
10233
 
      # ancient GNU ld didn't support --whole-archive et. al.
10234
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
10235
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10236
 
      else
10237
 
        whole_archive_flag_spec=
10238
 
      fi
10239
 
    fi
10240
 
  else
10241
 
    # PORTME fill in a description of your system's linker (not GNU ld)
10242
 
    case $host_os in
10243
 
    aix3*)
10244
 
      allow_undefined_flag=unsupported
10245
 
      always_export_symbols=yes
10246
 
      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'
10247
 
      # Note: this linker hardcodes the directories in LIBPATH if there
10248
 
      # are no directories specified by -L.
10249
 
      hardcode_minus_L=yes
10250
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
10251
 
        # Neither direct hardcoding nor static linking is supported with a
10252
 
        # broken collect2.
10253
 
        hardcode_direct=unsupported
10254
 
      fi
10255
 
      ;;
10256
 
 
10257
 
    aix4* | aix5*)
10258
 
      if test "$host_cpu" = ia64; then
10259
 
        # On IA64, the linker does run time linking by default, so we don't
10260
 
        # have to do anything special.
10261
 
        aix_use_runtimelinking=no
10262
 
        exp_sym_flag='-Bexport'
10263
 
        no_entry_flag=""
10264
 
      else
10265
 
        # If we're using GNU nm, then we don't want the "-C" option.
10266
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
10267
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10268
 
          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'
10269
 
        else
10270
 
          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'
10271
 
        fi
10272
 
        aix_use_runtimelinking=no
10273
 
 
10274
 
        # Test if we are trying to use run time linking or normal
10275
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10276
 
        # need to do runtime linking.
10277
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10278
 
          for ld_flag in $LDFLAGS; do
10279
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10280
 
            aix_use_runtimelinking=yes
10281
 
            break
10282
 
          fi
10283
 
          done
10284
 
        esac
10285
 
 
10286
 
        exp_sym_flag='-bexport'
10287
 
        no_entry_flag='-bnoentry'
10288
 
      fi
10289
 
 
10290
 
      # When large executables or shared objects are built, AIX ld can
10291
 
      # have problems creating the table of contents.  If linking a library
10292
 
      # or program results in "error TOC overflow" add -mminimal-toc to
10293
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10294
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10295
 
 
10296
 
      archive_cmds=''
10297
 
      hardcode_direct=yes
10298
 
      hardcode_libdir_separator=':'
10299
 
      link_all_deplibs=yes
10300
 
 
10301
 
      if test "$GCC" = yes; then
10302
 
        case $host_os in aix4.012|aix4.012.*)
10303
 
        # We only want to do this on AIX 4.2 and lower, the check
10304
 
        # below for broken collect2 doesn't work under 4.3+
10305
 
          collect2name=`${CC} -print-prog-name=collect2`
10306
 
          if test -f "$collect2name" && \
10307
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
10308
 
          then
10309
 
          # We have reworked collect2
10310
 
          hardcode_direct=yes
10311
 
          else
10312
 
          # We have old collect2
10313
 
          hardcode_direct=unsupported
10314
 
          # It fails to find uninstalled libraries when the uninstalled
10315
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
10316
 
          # to unsupported forces relinking
10317
 
          hardcode_minus_L=yes
10318
 
          hardcode_libdir_flag_spec='-L$libdir'
10319
 
          hardcode_libdir_separator=
10320
 
          fi
10321
 
        esac
10322
 
        shared_flag='-shared'
10323
 
      else
10324
 
        # not using gcc
10325
 
        if test "$host_cpu" = ia64; then
10326
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10327
 
        # chokes on -Wl,-G. The following line is correct:
10328
 
          shared_flag='-G'
10329
 
        else
10330
 
        if test "$aix_use_runtimelinking" = yes; then
10331
 
            shared_flag='${wl}-G'
10332
 
          else
10333
 
            shared_flag='${wl}-bM:SRE'
10334
 
        fi
10335
 
        fi
10336
 
      fi
10337
 
 
10338
 
      # It seems that -bexpall does not export symbols beginning with
10339
 
      # underscore (_), so it is better to generate a list of symbols to export.
10340
 
      always_export_symbols=yes
10341
 
      if test "$aix_use_runtimelinking" = yes; then
10342
 
        # Warning - without using the other runtime loading flags (-brtl),
10343
 
        # -berok will link without error, but may produce a broken library.
10344
 
        allow_undefined_flag='-berok'
10345
 
       # Determine the default libpath from the value encoded in an empty executable.
10346
 
       cat >conftest.$ac_ext <<_ACEOF
10347
 
/* confdefs.h.  */
10348
 
_ACEOF
10349
 
cat confdefs.h >>conftest.$ac_ext
10350
 
cat >>conftest.$ac_ext <<_ACEOF
10351
 
/* end confdefs.h.  */
10352
 
 
10353
 
int
10354
 
main ()
10355
 
{
10356
 
 
10357
 
  ;
10358
 
  return 0;
10359
 
}
10360
 
_ACEOF
10361
 
rm -f conftest.$ac_objext conftest$ac_exeext
10362
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10363
 
  (eval $ac_link) 2>conftest.er1
10364
 
  ac_status=$?
10365
 
  grep -v '^ *+' conftest.er1 >conftest.err
10366
 
  rm -f conftest.er1
10367
 
  cat conftest.err >&5
10368
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10369
 
  (exit $ac_status); } &&
10370
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10371
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10372
 
  (eval $ac_try) 2>&5
10373
 
  ac_status=$?
10374
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10375
 
  (exit $ac_status); }; } &&
10376
 
         { ac_try='test -s conftest$ac_exeext'
10377
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10378
 
  (eval $ac_try) 2>&5
10379
 
  ac_status=$?
10380
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10381
 
  (exit $ac_status); }; }; then
10382
 
 
10383
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10384
 
}'`
10385
 
# Check for a 64-bit object if we didn't find anything.
10386
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10387
 
}'`; fi
10388
 
else
10389
 
  echo "$as_me: failed program was:" >&5
10390
 
sed 's/^/| /' conftest.$ac_ext >&5
10391
 
 
10392
 
fi
10393
 
rm -f conftest.err conftest.$ac_objext \
10394
 
      conftest$ac_exeext conftest.$ac_ext
10395
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10396
 
 
10397
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10398
 
        archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10399
 
       else
10400
 
        if test "$host_cpu" = ia64; then
10401
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10402
 
          allow_undefined_flag="-z nodefs"
10403
 
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
10404
 
        else
10405
 
         # Determine the default libpath from the value encoded in an empty executable.
10406
 
         cat >conftest.$ac_ext <<_ACEOF
10407
 
/* confdefs.h.  */
10408
 
_ACEOF
10409
 
cat confdefs.h >>conftest.$ac_ext
10410
 
cat >>conftest.$ac_ext <<_ACEOF
10411
 
/* end confdefs.h.  */
10412
 
 
10413
 
int
10414
 
main ()
10415
 
{
10416
 
 
10417
 
  ;
10418
 
  return 0;
10419
 
}
10420
 
_ACEOF
10421
 
rm -f conftest.$ac_objext conftest$ac_exeext
10422
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10423
 
  (eval $ac_link) 2>conftest.er1
10424
 
  ac_status=$?
10425
 
  grep -v '^ *+' conftest.er1 >conftest.err
10426
 
  rm -f conftest.er1
10427
 
  cat conftest.err >&5
10428
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10429
 
  (exit $ac_status); } &&
10430
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10431
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10432
 
  (eval $ac_try) 2>&5
10433
 
  ac_status=$?
10434
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10435
 
  (exit $ac_status); }; } &&
10436
 
         { ac_try='test -s conftest$ac_exeext'
10437
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10438
 
  (eval $ac_try) 2>&5
10439
 
  ac_status=$?
10440
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10441
 
  (exit $ac_status); }; }; then
10442
 
 
10443
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10444
 
}'`
10445
 
# Check for a 64-bit object if we didn't find anything.
10446
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10447
 
}'`; fi
10448
 
else
10449
 
  echo "$as_me: failed program was:" >&5
10450
 
sed 's/^/| /' conftest.$ac_ext >&5
10451
 
 
10452
 
fi
10453
 
rm -f conftest.err conftest.$ac_objext \
10454
 
      conftest$ac_exeext conftest.$ac_ext
10455
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10456
 
 
10457
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10458
 
          # Warning - without using the other run time loading flags,
10459
 
          # -berok will link without error, but may produce a broken library.
10460
 
          no_undefined_flag=' ${wl}-bernotok'
10461
 
          allow_undefined_flag=' ${wl}-berok'
10462
 
          # -bexpall does not export symbols beginning with underscore (_)
10463
 
          always_export_symbols=yes
10464
 
          # Exported symbols can be pulled into shared objects from archives
10465
 
          whole_archive_flag_spec=' '
10466
 
          archive_cmds_need_lc=yes
10467
 
          # This is similar to how AIX traditionally builds it's shared libraries.
10468
 
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10469
 
        fi
10470
 
      fi
10471
 
      ;;
10472
 
 
10473
 
    amigaos*)
10474
 
      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)'
10475
 
      hardcode_libdir_flag_spec='-L$libdir'
10476
 
      hardcode_minus_L=yes
10477
 
      # see comment about different semantics on the GNU ld section
10478
 
      ld_shlibs=no
10479
 
      ;;
10480
 
 
10481
 
    bsdi4*)
10482
 
      export_dynamic_flag_spec=-rdynamic
10483
 
      ;;
10484
 
 
10485
 
    cygwin* | mingw* | pw32*)
10486
 
      # When not using gcc, we currently assume that we are using
10487
 
      # Microsoft Visual C++.
10488
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
10489
 
      # no search path for DLLs.
10490
 
      hardcode_libdir_flag_spec=' '
10491
 
      allow_undefined_flag=unsupported
10492
 
      # Tell ltmain to make .lib files, not .a files.
10493
 
      libext=lib
10494
 
      # Tell ltmain to make .dll files, not .so files.
10495
 
      shrext_cmds=".dll"
10496
 
      # FIXME: Setting linknames here is a bad hack.
10497
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
10498
 
      # The linker will automatically build a .lib file if we build a DLL.
10499
 
      old_archive_From_new_cmds='true'
10500
 
      # FIXME: Should let the user specify the lib program.
10501
 
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
10502
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
10503
 
      enable_shared_with_static_runtimes=yes
10504
 
      ;;
10505
 
 
10506
 
    darwin* | rhapsody*)
10507
 
    if test "$GXX" = yes ; then
10508
 
      archive_cmds_need_lc=no
10509
 
      case "$host_os" in
10510
 
      rhapsody* | darwin1.[012])
10511
 
        allow_undefined_flag='-undefined suppress'
10512
 
        ;;
10513
 
      *) # Darwin 1.3 on
10514
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10515
 
        allow_undefined_flag='-flat_namespace -undefined suppress'
10516
 
      else
10517
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
10518
 
          10.[012])
10519
 
            allow_undefined_flag='-flat_namespace -undefined suppress'
10520
 
            ;;
10521
 
          10.*)
10522
 
            allow_undefined_flag='-undefined dynamic_lookup'
10523
 
            ;;
10524
 
        esac
10525
 
      fi
10526
 
        ;;
10527
 
      esac
10528
 
        lt_int_apple_cc_single_mod=no
10529
 
        output_verbose_link_cmd='echo'
10530
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
10531
 
          lt_int_apple_cc_single_mod=yes
10532
 
        fi
10533
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10534
 
          archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10535
 
        else
10536
 
        archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10537
 
      fi
10538
 
      module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10539
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10540
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10541
 
          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10542
 
        else
10543
 
          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10544
 
        fi
10545
 
          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10546
 
      hardcode_direct=no
10547
 
      hardcode_automatic=yes
10548
 
      hardcode_shlibpath_var=unsupported
10549
 
      whole_archive_flag_spec='-all_load $convenience'
10550
 
      link_all_deplibs=yes
10551
 
    else
10552
 
      ld_shlibs=no
10553
 
    fi
10554
 
      ;;
10555
 
 
10556
 
    dgux*)
10557
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10558
 
      hardcode_libdir_flag_spec='-L$libdir'
10559
 
      hardcode_shlibpath_var=no
10560
 
      ;;
10561
 
 
10562
 
    freebsd1*)
10563
 
      ld_shlibs=no
10564
 
      ;;
10565
 
 
10566
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10567
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
10568
 
    # does not break anything, and helps significantly (at the cost of a little
10569
 
    # extra space).
10570
 
    freebsd2.2*)
10571
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10572
 
      hardcode_libdir_flag_spec='-R$libdir'
10573
 
      hardcode_direct=yes
10574
 
      hardcode_shlibpath_var=no
10575
 
      ;;
10576
 
 
10577
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10578
 
    freebsd2*)
10579
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10580
 
      hardcode_direct=yes
10581
 
      hardcode_minus_L=yes
10582
 
      hardcode_shlibpath_var=no
10583
 
      ;;
10584
 
 
10585
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10586
 
    freebsd* | kfreebsd*-gnu)
10587
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10588
 
      hardcode_libdir_flag_spec='-R$libdir'
10589
 
      hardcode_direct=yes
10590
 
      hardcode_shlibpath_var=no
10591
 
      ;;
10592
 
 
10593
 
    hpux9*)
10594
 
      if test "$GCC" = yes; then
10595
 
        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'
10596
 
      else
10597
 
        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'
10598
 
      fi
10599
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10600
 
      hardcode_libdir_separator=:
10601
 
      hardcode_direct=yes
10602
 
 
10603
 
      # hardcode_minus_L: Not really in the search PATH,
10604
 
      # but as the default location of the library.
10605
 
      hardcode_minus_L=yes
10606
 
      export_dynamic_flag_spec='${wl}-E'
10607
 
      ;;
10608
 
 
10609
 
    hpux10* | hpux11*)
10610
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10611
 
        case "$host_cpu" in
10612
 
        hppa*64*|ia64*)
10613
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10614
 
          ;;
10615
 
        *)
10616
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10617
 
          ;;
10618
 
        esac
10619
 
      else
10620
 
        case "$host_cpu" in
10621
 
        hppa*64*|ia64*)
10622
 
          archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
10623
 
          ;;
10624
 
        *)
10625
 
          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10626
 
          ;;
10627
 
        esac
10628
 
      fi
10629
 
      if test "$with_gnu_ld" = no; then
10630
 
        case "$host_cpu" in
10631
 
        hppa*64*)
10632
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10633
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
10634
 
          hardcode_libdir_separator=:
10635
 
          hardcode_direct=no
10636
 
          hardcode_shlibpath_var=no
10637
 
          ;;
10638
 
        ia64*)
10639
 
          hardcode_libdir_flag_spec='-L$libdir'
10640
 
          hardcode_direct=no
10641
 
          hardcode_shlibpath_var=no
10642
 
 
10643
 
          # hardcode_minus_L: Not really in the search PATH,
10644
 
          # but as the default location of the library.
10645
 
          hardcode_minus_L=yes
10646
 
          ;;
10647
 
        *)
10648
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10649
 
          hardcode_libdir_separator=:
10650
 
          hardcode_direct=yes
10651
 
          export_dynamic_flag_spec='${wl}-E'
10652
 
 
10653
 
          # hardcode_minus_L: Not really in the search PATH,
10654
 
          # but as the default location of the library.
10655
 
          hardcode_minus_L=yes
10656
 
          ;;
10657
 
        esac
10658
 
      fi
10659
 
      ;;
10660
 
 
10661
 
    irix5* | irix6* | nonstopux*)
10662
 
      if test "$GCC" = yes; then
10663
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10664
 
      else
10665
 
        archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10666
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
10667
 
      fi
10668
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10669
 
      hardcode_libdir_separator=:
10670
 
      link_all_deplibs=yes
10671
 
      ;;
10672
 
 
10673
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
10674
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10675
 
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10676
 
      else
10677
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10678
 
      fi
10679
 
      hardcode_libdir_flag_spec='-R$libdir'
10680
 
      hardcode_direct=yes
10681
 
      hardcode_shlibpath_var=no
10682
 
      ;;
10683
 
 
10684
 
    newsos6)
10685
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10686
 
      hardcode_direct=yes
10687
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10688
 
      hardcode_libdir_separator=:
10689
 
      hardcode_shlibpath_var=no
10690
 
      ;;
10691
 
 
10692
 
    openbsd*)
10693
 
      hardcode_direct=yes
10694
 
      hardcode_shlibpath_var=no
10695
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10696
 
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10697
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10698
 
        export_dynamic_flag_spec='${wl}-E'
10699
 
      else
10700
 
       case $host_os in
10701
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10702
 
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10703
 
           hardcode_libdir_flag_spec='-R$libdir'
10704
 
           ;;
10705
 
         *)
10706
 
           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10707
 
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10708
 
           ;;
10709
 
       esac
10710
 
      fi
10711
 
      ;;
10712
 
 
10713
 
    os2*)
10714
 
      hardcode_libdir_flag_spec='-L$libdir'
10715
 
      hardcode_minus_L=yes
10716
 
      allow_undefined_flag=unsupported
10717
 
      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'
10718
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10719
 
      ;;
10720
 
 
10721
 
    osf3*)
10722
 
      if test "$GCC" = yes; then
10723
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10724
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10725
 
      else
10726
 
        allow_undefined_flag=' -expect_unresolved \*'
10727
 
        archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10728
 
      fi
10729
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10730
 
      hardcode_libdir_separator=:
10731
 
      ;;
10732
 
 
10733
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
10734
 
      if test "$GCC" = yes; then
10735
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10736
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10737
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10738
 
      else
10739
 
        allow_undefined_flag=' -expect_unresolved \*'
10740
 
        archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10741
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
10742
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
10743
 
 
10744
 
        # Both c and cxx compiler support -rpath directly
10745
 
        hardcode_libdir_flag_spec='-rpath $libdir'
10746
 
      fi
10747
 
      hardcode_libdir_separator=:
10748
 
      ;;
10749
 
 
10750
 
    sco3.2v5*)
10751
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10752
 
      hardcode_shlibpath_var=no
10753
 
      export_dynamic_flag_spec='${wl}-Bexport'
10754
 
      runpath_var=LD_RUN_PATH
10755
 
      hardcode_runpath_var=yes
10756
 
      ;;
10757
 
 
10758
 
    solaris*)
10759
 
      no_undefined_flag=' -z text'
10760
 
      if test "$GCC" = yes; then
10761
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10762
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10763
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
10764
 
      else
10765
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10766
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10767
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
10768
 
      fi
10769
 
      hardcode_libdir_flag_spec='-R$libdir'
10770
 
      hardcode_shlibpath_var=no
10771
 
      case $host_os in
10772
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
10773
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
10774
 
        whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
10775
 
      esac
10776
 
      link_all_deplibs=yes
10777
 
      ;;
10778
 
 
10779
 
    sunos4*)
10780
 
      if test "x$host_vendor" = xsequent; then
10781
 
        # Use $CC to link under sequent, because it throws in some extra .o
10782
 
        # files that make .init and .fini sections work.
10783
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10784
 
      else
10785
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10786
 
      fi
10787
 
      hardcode_libdir_flag_spec='-L$libdir'
10788
 
      hardcode_direct=yes
10789
 
      hardcode_minus_L=yes
10790
 
      hardcode_shlibpath_var=no
10791
 
      ;;
10792
 
 
10793
 
    sysv4)
10794
 
      case $host_vendor in
10795
 
        sni)
10796
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10797
 
          hardcode_direct=yes # is this really true???
10798
 
        ;;
10799
 
        siemens)
10800
 
          ## LD is ld it makes a PLAMLIB
10801
 
          ## CC just makes a GrossModule.
10802
 
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10803
 
          reload_cmds='$CC -r -o $output$reload_objs'
10804
 
          hardcode_direct=no
10805
 
        ;;
10806
 
        motorola)
10807
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10808
 
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10809
 
        ;;
10810
 
      esac
10811
 
      runpath_var='LD_RUN_PATH'
10812
 
      hardcode_shlibpath_var=no
10813
 
      ;;
10814
 
 
10815
 
    sysv4.3*)
10816
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10817
 
      hardcode_shlibpath_var=no
10818
 
      export_dynamic_flag_spec='-Bexport'
10819
 
      ;;
10820
 
 
10821
 
    sysv4*MP*)
10822
 
      if test -d /usr/nec; then
10823
 
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10824
 
        hardcode_shlibpath_var=no
10825
 
        runpath_var=LD_RUN_PATH
10826
 
        hardcode_runpath_var=yes
10827
 
        ld_shlibs=yes
10828
 
      fi
10829
 
      ;;
10830
 
 
10831
 
    sysv4.2uw2*)
10832
 
      archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10833
 
      hardcode_direct=yes
10834
 
      hardcode_minus_L=no
10835
 
      hardcode_shlibpath_var=no
10836
 
      hardcode_runpath_var=yes
10837
 
      runpath_var=LD_RUN_PATH
10838
 
      ;;
10839
 
 
10840
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
10841
 
      no_undefined_flag='${wl}-z ${wl}text'
10842
 
      if test "$GCC" = yes; then
10843
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10844
 
      else
10845
 
        archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10846
 
      fi
10847
 
      runpath_var='LD_RUN_PATH'
10848
 
      hardcode_shlibpath_var=no
10849
 
      ;;
10850
 
 
10851
 
    sysv5*)
10852
 
      no_undefined_flag=' -z text'
10853
 
      # $CC -shared without GNU ld will not create a library from C++
10854
 
      # object files and a static libstdc++, better avoid it by now
10855
 
      archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10856
 
      archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10857
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
10858
 
      hardcode_libdir_flag_spec=
10859
 
      hardcode_shlibpath_var=no
10860
 
      runpath_var='LD_RUN_PATH'
10861
 
      ;;
10862
 
 
10863
 
    uts4*)
10864
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10865
 
      hardcode_libdir_flag_spec='-L$libdir'
10866
 
      hardcode_shlibpath_var=no
10867
 
      ;;
10868
 
 
10869
 
    *)
10870
 
      ld_shlibs=no
10871
 
      ;;
10872
 
    esac
10873
 
  fi
10874
 
 
10875
 
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10876
 
echo "${ECHO_T}$ld_shlibs" >&6
10877
 
test "$ld_shlibs" = no && can_build_shared=no
10878
 
 
10879
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10880
 
if test "$GCC" = yes; then
10881
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10882
 
fi
10883
 
 
10884
 
#
10885
 
# Do we need to explicitly link libc?
10886
 
#
10887
 
case "x$archive_cmds_need_lc" in
10888
 
x|xyes)
10889
 
  # Assume -lc should be added
10890
 
  archive_cmds_need_lc=yes
10891
 
 
10892
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
10893
 
    case $archive_cmds in
10894
 
    *'~'*)
10895
 
      # FIXME: we may have to deal with multi-command sequences.
10896
 
      ;;
10897
 
    '$CC '*)
10898
 
      # Test whether the compiler implicitly links with -lc since on some
10899
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10900
 
      # to ld, don't add -lc before -lgcc.
10901
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10902
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10903
 
      $rm conftest*
10904
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10905
 
 
10906
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10907
 
  (eval $ac_compile) 2>&5
10908
 
  ac_status=$?
10909
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10910
 
  (exit $ac_status); } 2>conftest.err; then
10911
 
        soname=conftest
10912
 
        lib=conftest
10913
 
        libobjs=conftest.$ac_objext
10914
 
        deplibs=
10915
 
        wl=$lt_prog_compiler_wl
10916
 
        compiler_flags=-v
10917
 
        linker_flags=-v
10918
 
        verstring=
10919
 
        output_objdir=.
10920
 
        libname=conftest
10921
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
10922
 
        allow_undefined_flag=
10923
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10924
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
10925
 
  ac_status=$?
10926
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10927
 
  (exit $ac_status); }
10928
 
        then
10929
 
          archive_cmds_need_lc=no
10930
 
        else
10931
 
          archive_cmds_need_lc=yes
10932
 
        fi
10933
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
10934
 
      else
10935
 
        cat conftest.err 1>&5
10936
 
      fi
10937
 
      $rm conftest*
10938
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10939
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6
10940
 
      ;;
10941
 
    esac
10942
 
  fi
10943
 
  ;;
10944
 
esac
10945
 
 
10946
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10947
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
10948
 
library_names_spec=
10949
 
libname_spec='lib$name'
10950
 
soname_spec=
10951
 
shrext_cmds=".so"
10952
 
postinstall_cmds=
10953
 
postuninstall_cmds=
10954
 
finish_cmds=
10955
 
finish_eval=
10956
 
shlibpath_var=
10957
 
shlibpath_overrides_runpath=unknown
10958
 
version_type=none
10959
 
dynamic_linker="$host_os ld.so"
10960
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10961
 
if test "$GCC" = yes; then
10962
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10963
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
10964
 
    # if the path contains ";" then we assume it to be the separator
10965
 
    # otherwise default to the standard path separator (i.e. ":") - it is
10966
 
    # assumed that no part of a normal pathname contains ";" but that should
10967
 
    # okay in the real world where ";" in dirpaths is itself problematic.
10968
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10969
 
  else
10970
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10971
 
  fi
10972
 
else
10973
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10974
 
fi
10975
 
need_lib_prefix=unknown
10976
 
hardcode_into_libs=no
10977
 
 
10978
 
# when you set need_version to no, make sure it does not cause -set_version
10979
 
# flags to be left without arguments
10980
 
need_version=unknown
10981
 
 
10982
 
case $host_os in
10983
 
aix3*)
10984
 
  version_type=linux
10985
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10986
 
  shlibpath_var=LIBPATH
10987
 
 
10988
 
  # AIX 3 has no versioning support, so we append a major version to the name.
10989
 
  soname_spec='${libname}${release}${shared_ext}$major'
10990
 
  ;;
10991
 
 
10992
 
aix4* | aix5*)
10993
 
  version_type=linux
10994
 
  need_lib_prefix=no
10995
 
  need_version=no
10996
 
  hardcode_into_libs=yes
10997
 
  if test "$host_cpu" = ia64; then
10998
 
    # AIX 5 supports IA64
10999
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11000
 
    shlibpath_var=LD_LIBRARY_PATH
11001
 
  else
11002
 
    # With GCC up to 2.95.x, collect2 would create an import file
11003
 
    # for dependence libraries.  The import file would start with
11004
 
    # the line `#! .'.  This would cause the generated library to
11005
 
    # depend on `.', always an invalid library.  This was fixed in
11006
 
    # development snapshots of GCC prior to 3.0.
11007
 
    case $host_os in
11008
 
      aix4 | aix4.[01] | aix4.[01].*)
11009
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11010
 
           echo ' yes '
11011
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11012
 
        :
11013
 
      else
11014
 
        can_build_shared=no
11015
 
      fi
11016
 
      ;;
11017
 
    esac
11018
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11019
 
    # soname into executable. Probably we can add versioning support to
11020
 
    # collect2, so additional links can be useful in future.
11021
 
    if test "$aix_use_runtimelinking" = yes; then
11022
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11023
 
      # instead of lib<name>.a to let people know that these are not
11024
 
      # typical AIX shared libraries.
11025
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11026
 
    else
11027
 
      # We preserve .a as extension for shared libraries through AIX4.2
11028
 
      # and later when we are not doing run time linking.
11029
 
      library_names_spec='${libname}${release}.a $libname.a'
11030
 
      soname_spec='${libname}${release}${shared_ext}$major'
11031
 
    fi
11032
 
    shlibpath_var=LIBPATH
11033
 
  fi
11034
 
  ;;
11035
 
 
11036
 
amigaos*)
11037
 
  library_names_spec='$libname.ixlibrary $libname.a'
11038
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
11039
 
  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'
11040
 
  ;;
11041
 
 
11042
 
beos*)
11043
 
  library_names_spec='${libname}${shared_ext}'
11044
 
  dynamic_linker="$host_os ld.so"
11045
 
  shlibpath_var=LIBRARY_PATH
11046
 
  ;;
11047
 
 
11048
 
bsdi4*)
11049
 
  version_type=linux
11050
 
  need_version=no
11051
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11052
 
  soname_spec='${libname}${release}${shared_ext}$major'
11053
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11054
 
  shlibpath_var=LD_LIBRARY_PATH
11055
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11056
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11057
 
  # the default ld.so.conf also contains /usr/contrib/lib and
11058
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11059
 
  # libtool to hard-code these into programs
11060
 
  ;;
11061
 
 
11062
 
cygwin* | mingw* | pw32*)
11063
 
  version_type=windows
11064
 
  shrext_cmds=".dll"
11065
 
  need_version=no
11066
 
  need_lib_prefix=no
11067
 
 
11068
 
  case $GCC,$host_os in
11069
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
11070
 
    library_names_spec='$libname.dll.a'
11071
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11072
 
    postinstall_cmds='base_file=`basename \${file}`~
11073
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11074
 
      dldir=$destdir/`dirname \$dlpath`~
11075
 
      test -d \$dldir || mkdir -p \$dldir~
11076
 
      $install_prog $dir/$dlname \$dldir/$dlname'
11077
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11078
 
      dlpath=$dir/\$dldll~
11079
 
       $rm \$dlpath'
11080
 
    shlibpath_overrides_runpath=yes
11081
 
 
11082
 
    case $host_os in
11083
 
    cygwin*)
11084
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11085
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11086
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11087
 
      ;;
11088
 
    mingw*)
11089
 
      # MinGW DLLs use traditional 'lib' prefix
11090
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11091
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11092
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11093
 
        # It is most probably a Windows format PATH printed by
11094
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
11095
 
        # path with ; separators, and with drive letters. We can handle the
11096
 
        # drive letters (cygwin fileutils understands them), so leave them,
11097
 
        # especially as we might pass files found there to a mingw objdump,
11098
 
        # which wouldn't understand a cygwinified path. Ahh.
11099
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11100
 
      else
11101
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11102
 
      fi
11103
 
      ;;
11104
 
    pw32*)
11105
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
11106
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11107
 
      ;;
11108
 
    esac
11109
 
    ;;
11110
 
 
11111
 
  *)
11112
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11113
 
    ;;
11114
 
  esac
11115
 
  dynamic_linker='Win32 ld.exe'
11116
 
  # FIXME: first we should search . and the directory the executable is in
11117
 
  shlibpath_var=PATH
11118
 
  ;;
11119
 
 
11120
 
darwin* | rhapsody*)
11121
 
  dynamic_linker="$host_os dyld"
11122
 
  version_type=darwin
11123
 
  need_lib_prefix=no
11124
 
  need_version=no
11125
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11126
 
  soname_spec='${libname}${release}${major}$shared_ext'
11127
 
  shlibpath_overrides_runpath=yes
11128
 
  shlibpath_var=DYLD_LIBRARY_PATH
11129
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
11130
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11131
 
  if test "$GCC" = yes; then
11132
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
11133
 
  else
11134
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
11135
 
  fi
11136
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11137
 
  ;;
11138
 
 
11139
 
dgux*)
11140
 
  version_type=linux
11141
 
  need_lib_prefix=no
11142
 
  need_version=no
11143
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11144
 
  soname_spec='${libname}${release}${shared_ext}$major'
11145
 
  shlibpath_var=LD_LIBRARY_PATH
11146
 
  ;;
11147
 
 
11148
 
freebsd1*)
11149
 
  dynamic_linker=no
11150
 
  ;;
11151
 
 
11152
 
kfreebsd*-gnu)
11153
 
  version_type=linux
11154
 
  need_lib_prefix=no
11155
 
  need_version=no
11156
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11157
 
  soname_spec='${libname}${release}${shared_ext}$major'
11158
 
  shlibpath_var=LD_LIBRARY_PATH
11159
 
  shlibpath_overrides_runpath=no
11160
 
  hardcode_into_libs=yes
11161
 
  dynamic_linker='GNU ld.so'
11162
 
  ;;
11163
 
 
11164
 
freebsd*)
11165
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11166
 
  version_type=freebsd-$objformat
11167
 
  case $version_type in
11168
 
    freebsd-elf*)
11169
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11170
 
      need_version=no
11171
 
      need_lib_prefix=no
11172
 
      ;;
11173
 
    freebsd-*)
11174
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11175
 
      need_version=yes
11176
 
      ;;
11177
 
  esac
11178
 
  shlibpath_var=LD_LIBRARY_PATH
11179
 
  case $host_os in
11180
 
  freebsd2*)
11181
 
    shlibpath_overrides_runpath=yes
11182
 
    ;;
11183
 
  freebsd3.01* | freebsdelf3.01*)
11184
 
    shlibpath_overrides_runpath=yes
11185
 
    hardcode_into_libs=yes
11186
 
    ;;
11187
 
  *) # from 3.2 on
11188
 
    shlibpath_overrides_runpath=no
11189
 
    hardcode_into_libs=yes
11190
 
    ;;
11191
 
  esac
11192
 
  ;;
11193
 
 
11194
 
gnu*)
11195
 
  version_type=linux
11196
 
  need_lib_prefix=no
11197
 
  need_version=no
11198
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11199
 
  soname_spec='${libname}${release}${shared_ext}$major'
11200
 
  shlibpath_var=LD_LIBRARY_PATH
11201
 
  hardcode_into_libs=yes
11202
 
  ;;
11203
 
 
11204
 
hpux9* | hpux10* | hpux11*)
11205
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
11206
 
  # link against other versions.
11207
 
  version_type=sunos
11208
 
  need_lib_prefix=no
11209
 
  need_version=no
11210
 
  case "$host_cpu" in
11211
 
  ia64*)
11212
 
    shrext_cmds='.so'
11213
 
    hardcode_into_libs=yes
11214
 
    dynamic_linker="$host_os dld.so"
11215
 
    shlibpath_var=LD_LIBRARY_PATH
11216
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11217
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11218
 
    soname_spec='${libname}${release}${shared_ext}$major'
11219
 
    if test "X$HPUX_IA64_MODE" = X32; then
11220
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11221
 
    else
11222
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11223
 
    fi
11224
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11225
 
    ;;
11226
 
   hppa*64*)
11227
 
     shrext_cmds='.sl'
11228
 
     hardcode_into_libs=yes
11229
 
     dynamic_linker="$host_os dld.sl"
11230
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11231
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11232
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11233
 
     soname_spec='${libname}${release}${shared_ext}$major'
11234
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11235
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11236
 
     ;;
11237
 
   *)
11238
 
    shrext_cmds='.sl'
11239
 
    dynamic_linker="$host_os dld.sl"
11240
 
    shlibpath_var=SHLIB_PATH
11241
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11242
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11243
 
    soname_spec='${libname}${release}${shared_ext}$major'
11244
 
    ;;
11245
 
  esac
11246
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
11247
 
  postinstall_cmds='chmod 555 $lib'
11248
 
  ;;
11249
 
 
11250
 
irix5* | irix6* | nonstopux*)
11251
 
  case $host_os in
11252
 
    nonstopux*) version_type=nonstopux ;;
11253
 
    *)
11254
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
11255
 
                version_type=linux
11256
 
        else
11257
 
                version_type=irix
11258
 
        fi ;;
11259
 
  esac
11260
 
  need_lib_prefix=no
11261
 
  need_version=no
11262
 
  soname_spec='${libname}${release}${shared_ext}$major'
11263
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11264
 
  case $host_os in
11265
 
  irix5* | nonstopux*)
11266
 
    libsuff= shlibsuff=
11267
 
    ;;
11268
 
  *)
11269
 
    case $LD in # libtool.m4 will add one of these switches to LD
11270
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11271
 
      libsuff= shlibsuff= libmagic=32-bit;;
11272
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11273
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
11274
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11275
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11276
 
    *) libsuff= shlibsuff= libmagic=never-match;;
11277
 
    esac
11278
 
    ;;
11279
 
  esac
11280
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11281
 
  shlibpath_overrides_runpath=no
11282
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11283
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11284
 
  hardcode_into_libs=yes
11285
 
  ;;
11286
 
 
11287
 
# No shared lib support for Linux oldld, aout, or coff.
11288
 
linux*oldld* | linux*aout* | linux*coff*)
11289
 
  dynamic_linker=no
11290
 
  ;;
11291
 
 
11292
 
# This must be Linux ELF.
11293
 
linux*)
11294
 
  version_type=linux
11295
 
  need_lib_prefix=no
11296
 
  need_version=no
11297
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11298
 
  soname_spec='${libname}${release}${shared_ext}$major'
11299
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11300
 
  shlibpath_var=LD_LIBRARY_PATH
11301
 
  shlibpath_overrides_runpath=no
11302
 
  # This implies no fast_install, which is unacceptable.
11303
 
  # Some rework will be needed to allow for fast_install
11304
 
  # before this can be enabled.
11305
 
  hardcode_into_libs=yes
11306
 
 
11307
 
  # Append ld.so.conf contents to the search path
11308
 
  if test -f /etc/ld.so.conf; then
11309
 
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
11310
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11311
 
  fi
11312
 
 
11313
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
11314
 
  # powerpc, because MkLinux only supported shared libraries with the
11315
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
11316
 
  # most powerpc-linux boxes support dynamic linking these days and
11317
 
  # people can always --disable-shared, the test was removed, and we
11318
 
  # assume the GNU/Linux dynamic linker is in use.
11319
 
  dynamic_linker='GNU/Linux ld.so'
11320
 
  ;;
11321
 
 
11322
 
netbsdelf*-gnu)
11323
 
  version_type=linux
11324
 
  need_lib_prefix=no
11325
 
  need_version=no
11326
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11327
 
  soname_spec='${libname}${release}${shared_ext}$major'
11328
 
  shlibpath_var=LD_LIBRARY_PATH
11329
 
  shlibpath_overrides_runpath=no
11330
 
  hardcode_into_libs=yes
11331
 
  dynamic_linker='NetBSD ld.elf_so'
11332
 
  ;;
11333
 
 
11334
 
knetbsd*-gnu)
11335
 
  version_type=linux
11336
 
  need_lib_prefix=no
11337
 
  need_version=no
11338
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11339
 
  soname_spec='${libname}${release}${shared_ext}$major'
11340
 
  shlibpath_var=LD_LIBRARY_PATH
11341
 
  shlibpath_overrides_runpath=no
11342
 
  hardcode_into_libs=yes
11343
 
  dynamic_linker='GNU ld.so'
11344
 
  ;;
11345
 
 
11346
 
netbsd*)
11347
 
  version_type=sunos
11348
 
  need_lib_prefix=no
11349
 
  need_version=no
11350
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11351
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11352
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11353
 
    dynamic_linker='NetBSD (a.out) ld.so'
11354
 
  else
11355
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11356
 
    soname_spec='${libname}${release}${shared_ext}$major'
11357
 
    dynamic_linker='NetBSD ld.elf_so'
11358
 
  fi
11359
 
  shlibpath_var=LD_LIBRARY_PATH
11360
 
  shlibpath_overrides_runpath=yes
11361
 
  hardcode_into_libs=yes
11362
 
  ;;
11363
 
 
11364
 
newsos6)
11365
 
  version_type=linux
11366
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11367
 
  shlibpath_var=LD_LIBRARY_PATH
11368
 
  shlibpath_overrides_runpath=yes
11369
 
  ;;
11370
 
 
11371
 
nto-qnx*)
11372
 
  version_type=linux
11373
 
  need_lib_prefix=no
11374
 
  need_version=no
11375
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11376
 
  soname_spec='${libname}${release}${shared_ext}$major'
11377
 
  shlibpath_var=LD_LIBRARY_PATH
11378
 
  shlibpath_overrides_runpath=yes
11379
 
  ;;
11380
 
 
11381
 
openbsd*)
11382
 
  version_type=sunos
11383
 
  need_lib_prefix=no
11384
 
  need_version=yes
11385
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11386
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11387
 
  shlibpath_var=LD_LIBRARY_PATH
11388
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11389
 
    case $host_os in
11390
 
      openbsd2.[89] | openbsd2.[89].*)
11391
 
        shlibpath_overrides_runpath=no
11392
 
        ;;
11393
 
      *)
11394
 
        shlibpath_overrides_runpath=yes
11395
 
        ;;
11396
 
      esac
11397
 
  else
11398
 
    shlibpath_overrides_runpath=yes
11399
 
  fi
11400
 
  ;;
11401
 
 
11402
 
os2*)
11403
 
  libname_spec='$name'
11404
 
  shrext_cmds=".dll"
11405
 
  need_lib_prefix=no
11406
 
  library_names_spec='$libname${shared_ext} $libname.a'
11407
 
  dynamic_linker='OS/2 ld.exe'
11408
 
  shlibpath_var=LIBPATH
11409
 
  ;;
11410
 
 
11411
 
osf3* | osf4* | osf5*)
11412
 
  version_type=osf
11413
 
  need_lib_prefix=no
11414
 
  need_version=no
11415
 
  soname_spec='${libname}${release}${shared_ext}$major'
11416
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11417
 
  shlibpath_var=LD_LIBRARY_PATH
11418
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11419
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11420
 
  ;;
11421
 
 
11422
 
sco3.2v5*)
11423
 
  version_type=osf
11424
 
  soname_spec='${libname}${release}${shared_ext}$major'
11425
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11426
 
  shlibpath_var=LD_LIBRARY_PATH
11427
 
  ;;
11428
 
 
11429
 
solaris*)
11430
 
  version_type=linux
11431
 
  need_lib_prefix=no
11432
 
  need_version=no
11433
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11434
 
  soname_spec='${libname}${release}${shared_ext}$major'
11435
 
  shlibpath_var=LD_LIBRARY_PATH
11436
 
  shlibpath_overrides_runpath=yes
11437
 
  hardcode_into_libs=yes
11438
 
  # ldd complains unless libraries are executable
11439
 
  postinstall_cmds='chmod +x $lib'
11440
 
  ;;
11441
 
 
11442
 
sunos4*)
11443
 
  version_type=sunos
11444
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11445
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11446
 
  shlibpath_var=LD_LIBRARY_PATH
11447
 
  shlibpath_overrides_runpath=yes
11448
 
  if test "$with_gnu_ld" = yes; then
11449
 
    need_lib_prefix=no
11450
 
  fi
11451
 
  need_version=yes
11452
 
  ;;
11453
 
 
11454
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11455
 
  version_type=linux
11456
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11457
 
  soname_spec='${libname}${release}${shared_ext}$major'
11458
 
  shlibpath_var=LD_LIBRARY_PATH
11459
 
  case $host_vendor in
11460
 
    sni)
11461
 
      shlibpath_overrides_runpath=no
11462
 
      need_lib_prefix=no
11463
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
11464
 
      runpath_var=LD_RUN_PATH
11465
 
      ;;
11466
 
    siemens)
11467
 
      need_lib_prefix=no
11468
 
      ;;
11469
 
    motorola)
11470
 
      need_lib_prefix=no
11471
 
      need_version=no
11472
 
      shlibpath_overrides_runpath=no
11473
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11474
 
      ;;
11475
 
  esac
11476
 
  ;;
11477
 
 
11478
 
sysv4*MP*)
11479
 
  if test -d /usr/nec ;then
11480
 
    version_type=linux
11481
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11482
 
    soname_spec='$libname${shared_ext}.$major'
11483
 
    shlibpath_var=LD_LIBRARY_PATH
11484
 
  fi
11485
 
  ;;
11486
 
 
11487
 
uts4*)
11488
 
  version_type=linux
11489
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11490
 
  soname_spec='${libname}${release}${shared_ext}$major'
11491
 
  shlibpath_var=LD_LIBRARY_PATH
11492
 
  ;;
11493
 
 
11494
 
*)
11495
 
  dynamic_linker=no
11496
 
  ;;
11497
 
esac
11498
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11499
 
echo "${ECHO_T}$dynamic_linker" >&6
11500
 
test "$dynamic_linker" = no && can_build_shared=no
11501
 
 
11502
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11503
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11504
 
hardcode_action=
11505
 
if test -n "$hardcode_libdir_flag_spec" || \
11506
 
   test -n "$runpath_var " || \
11507
 
   test "X$hardcode_automatic"="Xyes" ; then
11508
 
 
11509
 
  # We can hardcode non-existant directories.
11510
 
  if test "$hardcode_direct" != no &&
11511
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11512
 
     # have to relink, otherwise we might link with an installed library
11513
 
     # when we should be linking with a yet-to-be-installed one
11514
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
11515
 
     test "$hardcode_minus_L" != no; then
11516
 
    # Linking always hardcodes the temporary library directory.
11517
 
    hardcode_action=relink
11518
 
  else
11519
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11520
 
    hardcode_action=immediate
11521
 
  fi
11522
 
else
11523
 
  # We cannot hardcode anything, or else we can only hardcode existing
11524
 
  # directories.
11525
 
  hardcode_action=unsupported
11526
 
fi
11527
 
echo "$as_me:$LINENO: result: $hardcode_action" >&5
11528
 
echo "${ECHO_T}$hardcode_action" >&6
11529
 
 
11530
 
if test "$hardcode_action" = relink; then
11531
 
  # Fast installation is not supported
11532
 
  enable_fast_install=no
11533
 
elif test "$shlibpath_overrides_runpath" = yes ||
11534
 
     test "$enable_shared" = no; then
11535
 
  # Fast installation is not necessary
11536
 
  enable_fast_install=needless
11537
 
fi
11538
 
 
11539
 
striplib=
11540
 
old_striplib=
11541
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11542
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11543
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11544
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11545
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11546
 
  echo "$as_me:$LINENO: result: yes" >&5
11547
 
echo "${ECHO_T}yes" >&6
11548
 
else
11549
 
# FIXME - insert some real tests, host_os isn't really good enough
11550
 
  case $host_os in
11551
 
   darwin*)
11552
 
       if test -n "$STRIP" ; then
11553
 
         striplib="$STRIP -x"
11554
 
         echo "$as_me:$LINENO: result: yes" >&5
11555
 
echo "${ECHO_T}yes" >&6
11556
 
       else
11557
 
  echo "$as_me:$LINENO: result: no" >&5
11558
 
echo "${ECHO_T}no" >&6
11559
 
fi
11560
 
       ;;
11561
 
   *)
11562
 
  echo "$as_me:$LINENO: result: no" >&5
11563
 
echo "${ECHO_T}no" >&6
11564
 
    ;;
11565
 
  esac
11566
 
fi
11567
 
 
11568
 
if test "x$enable_dlopen" != xyes; then
11569
 
  enable_dlopen=unknown
11570
 
  enable_dlopen_self=unknown
11571
 
  enable_dlopen_self_static=unknown
11572
 
else
11573
 
  lt_cv_dlopen=no
11574
 
  lt_cv_dlopen_libs=
11575
 
 
11576
 
  case $host_os in
11577
 
  beos*)
11578
 
    lt_cv_dlopen="load_add_on"
11579
 
    lt_cv_dlopen_libs=
11580
 
    lt_cv_dlopen_self=yes
11581
 
    ;;
11582
 
 
11583
 
  mingw* | pw32*)
11584
 
    lt_cv_dlopen="LoadLibrary"
11585
 
    lt_cv_dlopen_libs=
11586
 
   ;;
11587
 
 
11588
 
  cygwin*)
11589
 
    lt_cv_dlopen="dlopen"
11590
 
    lt_cv_dlopen_libs=
11591
 
   ;;
11592
 
 
11593
 
  darwin*)
11594
 
  # if libdl is installed we need to link against it
11595
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11596
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11597
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11598
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11599
 
else
11600
 
  ac_check_lib_save_LIBS=$LIBS
11601
 
LIBS="-ldl  $LIBS"
11602
 
cat >conftest.$ac_ext <<_ACEOF
11603
 
/* confdefs.h.  */
11604
 
_ACEOF
11605
 
cat confdefs.h >>conftest.$ac_ext
11606
 
cat >>conftest.$ac_ext <<_ACEOF
11607
 
/* end confdefs.h.  */
11608
 
 
11609
 
/* Override any gcc2 internal prototype to avoid an error.  */
11610
 
#ifdef __cplusplus
11611
 
extern "C"
11612
 
#endif
11613
 
/* We use char because int might match the return type of a gcc2
11614
 
   builtin and then its argument prototype would still apply.  */
11615
 
char dlopen ();
11616
 
int
11617
 
main ()
11618
 
{
11619
 
dlopen ();
11620
 
  ;
11621
 
  return 0;
11622
 
}
11623
 
_ACEOF
11624
 
rm -f conftest.$ac_objext conftest$ac_exeext
11625
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11626
 
  (eval $ac_link) 2>conftest.er1
11627
 
  ac_status=$?
11628
 
  grep -v '^ *+' conftest.er1 >conftest.err
11629
 
  rm -f conftest.er1
11630
 
  cat conftest.err >&5
11631
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11632
 
  (exit $ac_status); } &&
11633
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11634
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11635
 
  (eval $ac_try) 2>&5
11636
 
  ac_status=$?
11637
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11638
 
  (exit $ac_status); }; } &&
11639
 
         { ac_try='test -s conftest$ac_exeext'
11640
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11641
 
  (eval $ac_try) 2>&5
11642
 
  ac_status=$?
11643
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11644
 
  (exit $ac_status); }; }; then
11645
 
  ac_cv_lib_dl_dlopen=yes
11646
 
else
11647
 
  echo "$as_me: failed program was:" >&5
11648
 
sed 's/^/| /' conftest.$ac_ext >&5
11649
 
 
11650
 
ac_cv_lib_dl_dlopen=no
11651
 
fi
11652
 
rm -f conftest.err conftest.$ac_objext \
11653
 
      conftest$ac_exeext conftest.$ac_ext
11654
 
LIBS=$ac_check_lib_save_LIBS
11655
 
fi
11656
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11657
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11658
 
if test $ac_cv_lib_dl_dlopen = yes; then
11659
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11660
 
else
11661
 
 
11662
 
    lt_cv_dlopen="dyld"
11663
 
    lt_cv_dlopen_libs=
11664
 
    lt_cv_dlopen_self=yes
11665
 
 
11666
 
fi
11667
 
 
11668
 
   ;;
11669
 
 
11670
 
  *)
11671
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
11672
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11673
 
if test "${ac_cv_func_shl_load+set}" = set; then
11674
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11675
 
else
11676
 
  cat >conftest.$ac_ext <<_ACEOF
11677
 
/* confdefs.h.  */
11678
 
_ACEOF
11679
 
cat confdefs.h >>conftest.$ac_ext
11680
 
cat >>conftest.$ac_ext <<_ACEOF
11681
 
/* end confdefs.h.  */
11682
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11683
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11684
 
#define shl_load innocuous_shl_load
11685
 
 
11686
 
/* System header to define __stub macros and hopefully few prototypes,
11687
 
    which can conflict with char shl_load (); below.
11688
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11689
 
    <limits.h> exists even on freestanding compilers.  */
11690
 
 
11691
 
#ifdef __STDC__
11692
 
# include <limits.h>
11693
 
#else
11694
 
# include <assert.h>
11695
 
#endif
11696
 
 
11697
 
#undef shl_load
11698
 
 
11699
 
/* Override any gcc2 internal prototype to avoid an error.  */
11700
 
#ifdef __cplusplus
11701
 
extern "C"
11702
 
{
11703
 
#endif
11704
 
/* We use char because int might match the return type of a gcc2
11705
 
   builtin and then its argument prototype would still apply.  */
11706
 
char shl_load ();
11707
 
/* The GNU C library defines this for functions which it implements
11708
 
    to always fail with ENOSYS.  Some functions are actually named
11709
 
    something starting with __ and the normal name is an alias.  */
11710
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
11711
 
choke me
11712
 
#else
11713
 
char (*f) () = shl_load;
11714
 
#endif
11715
 
#ifdef __cplusplus
11716
 
}
11717
 
#endif
11718
 
 
11719
 
int
11720
 
main ()
11721
 
{
11722
 
return f != shl_load;
11723
 
  ;
11724
 
  return 0;
11725
 
}
11726
 
_ACEOF
11727
 
rm -f conftest.$ac_objext conftest$ac_exeext
11728
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11729
 
  (eval $ac_link) 2>conftest.er1
11730
 
  ac_status=$?
11731
 
  grep -v '^ *+' conftest.er1 >conftest.err
11732
 
  rm -f conftest.er1
11733
 
  cat conftest.err >&5
11734
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11735
 
  (exit $ac_status); } &&
11736
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11737
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11738
 
  (eval $ac_try) 2>&5
11739
 
  ac_status=$?
11740
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11741
 
  (exit $ac_status); }; } &&
11742
 
         { ac_try='test -s conftest$ac_exeext'
11743
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11744
 
  (eval $ac_try) 2>&5
11745
 
  ac_status=$?
11746
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11747
 
  (exit $ac_status); }; }; then
11748
 
  ac_cv_func_shl_load=yes
11749
 
else
11750
 
  echo "$as_me: failed program was:" >&5
11751
 
sed 's/^/| /' conftest.$ac_ext >&5
11752
 
 
11753
 
ac_cv_func_shl_load=no
11754
 
fi
11755
 
rm -f conftest.err conftest.$ac_objext \
11756
 
      conftest$ac_exeext conftest.$ac_ext
11757
 
fi
11758
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11759
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11760
 
if test $ac_cv_func_shl_load = yes; then
11761
 
  lt_cv_dlopen="shl_load"
11762
 
else
11763
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11764
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11765
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11766
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11767
 
else
11768
 
  ac_check_lib_save_LIBS=$LIBS
11769
 
LIBS="-ldld  $LIBS"
11770
 
cat >conftest.$ac_ext <<_ACEOF
11771
 
/* confdefs.h.  */
11772
 
_ACEOF
11773
 
cat confdefs.h >>conftest.$ac_ext
11774
 
cat >>conftest.$ac_ext <<_ACEOF
11775
 
/* end confdefs.h.  */
11776
 
 
11777
 
/* Override any gcc2 internal prototype to avoid an error.  */
11778
 
#ifdef __cplusplus
11779
 
extern "C"
11780
 
#endif
11781
 
/* We use char because int might match the return type of a gcc2
11782
 
   builtin and then its argument prototype would still apply.  */
11783
 
char shl_load ();
11784
 
int
11785
 
main ()
11786
 
{
11787
 
shl_load ();
11788
 
  ;
11789
 
  return 0;
11790
 
}
11791
 
_ACEOF
11792
 
rm -f conftest.$ac_objext conftest$ac_exeext
11793
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11794
 
  (eval $ac_link) 2>conftest.er1
11795
 
  ac_status=$?
11796
 
  grep -v '^ *+' conftest.er1 >conftest.err
11797
 
  rm -f conftest.er1
11798
 
  cat conftest.err >&5
11799
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11800
 
  (exit $ac_status); } &&
11801
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11802
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11803
 
  (eval $ac_try) 2>&5
11804
 
  ac_status=$?
11805
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11806
 
  (exit $ac_status); }; } &&
11807
 
         { ac_try='test -s conftest$ac_exeext'
11808
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11809
 
  (eval $ac_try) 2>&5
11810
 
  ac_status=$?
11811
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11812
 
  (exit $ac_status); }; }; then
11813
 
  ac_cv_lib_dld_shl_load=yes
11814
 
else
11815
 
  echo "$as_me: failed program was:" >&5
11816
 
sed 's/^/| /' conftest.$ac_ext >&5
11817
 
 
11818
 
ac_cv_lib_dld_shl_load=no
11819
 
fi
11820
 
rm -f conftest.err conftest.$ac_objext \
11821
 
      conftest$ac_exeext conftest.$ac_ext
11822
 
LIBS=$ac_check_lib_save_LIBS
11823
 
fi
11824
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11825
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11826
 
if test $ac_cv_lib_dld_shl_load = yes; then
11827
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11828
 
else
11829
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
11830
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11831
 
if test "${ac_cv_func_dlopen+set}" = set; then
11832
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11833
 
else
11834
 
  cat >conftest.$ac_ext <<_ACEOF
11835
 
/* confdefs.h.  */
11836
 
_ACEOF
11837
 
cat confdefs.h >>conftest.$ac_ext
11838
 
cat >>conftest.$ac_ext <<_ACEOF
11839
 
/* end confdefs.h.  */
11840
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11841
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11842
 
#define dlopen innocuous_dlopen
11843
 
 
11844
 
/* System header to define __stub macros and hopefully few prototypes,
11845
 
    which can conflict with char dlopen (); below.
11846
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11847
 
    <limits.h> exists even on freestanding compilers.  */
11848
 
 
11849
 
#ifdef __STDC__
11850
 
# include <limits.h>
11851
 
#else
11852
 
# include <assert.h>
11853
 
#endif
11854
 
 
11855
 
#undef dlopen
11856
 
 
11857
 
/* Override any gcc2 internal prototype to avoid an error.  */
11858
 
#ifdef __cplusplus
11859
 
extern "C"
11860
 
{
11861
 
#endif
11862
 
/* We use char because int might match the return type of a gcc2
11863
 
   builtin and then its argument prototype would still apply.  */
11864
 
char dlopen ();
11865
 
/* The GNU C library defines this for functions which it implements
11866
 
    to always fail with ENOSYS.  Some functions are actually named
11867
 
    something starting with __ and the normal name is an alias.  */
11868
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
11869
 
choke me
11870
 
#else
11871
 
char (*f) () = dlopen;
11872
 
#endif
11873
 
#ifdef __cplusplus
11874
 
}
11875
 
#endif
11876
 
 
11877
 
int
11878
 
main ()
11879
 
{
11880
 
return f != dlopen;
11881
 
  ;
11882
 
  return 0;
11883
 
}
11884
 
_ACEOF
11885
 
rm -f conftest.$ac_objext conftest$ac_exeext
11886
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11887
 
  (eval $ac_link) 2>conftest.er1
11888
 
  ac_status=$?
11889
 
  grep -v '^ *+' conftest.er1 >conftest.err
11890
 
  rm -f conftest.er1
11891
 
  cat conftest.err >&5
11892
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11893
 
  (exit $ac_status); } &&
11894
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11895
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11896
 
  (eval $ac_try) 2>&5
11897
 
  ac_status=$?
11898
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899
 
  (exit $ac_status); }; } &&
11900
 
         { ac_try='test -s conftest$ac_exeext'
11901
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11902
 
  (eval $ac_try) 2>&5
11903
 
  ac_status=$?
11904
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11905
 
  (exit $ac_status); }; }; then
11906
 
  ac_cv_func_dlopen=yes
11907
 
else
11908
 
  echo "$as_me: failed program was:" >&5
11909
 
sed 's/^/| /' conftest.$ac_ext >&5
11910
 
 
11911
 
ac_cv_func_dlopen=no
11912
 
fi
11913
 
rm -f conftest.err conftest.$ac_objext \
11914
 
      conftest$ac_exeext conftest.$ac_ext
11915
 
fi
11916
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11917
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11918
 
if test $ac_cv_func_dlopen = yes; then
11919
 
  lt_cv_dlopen="dlopen"
11920
 
else
11921
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11922
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11923
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11924
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11925
 
else
11926
 
  ac_check_lib_save_LIBS=$LIBS
11927
 
LIBS="-ldl  $LIBS"
11928
 
cat >conftest.$ac_ext <<_ACEOF
11929
 
/* confdefs.h.  */
11930
 
_ACEOF
11931
 
cat confdefs.h >>conftest.$ac_ext
11932
 
cat >>conftest.$ac_ext <<_ACEOF
11933
 
/* end confdefs.h.  */
11934
 
 
11935
 
/* Override any gcc2 internal prototype to avoid an error.  */
11936
 
#ifdef __cplusplus
11937
 
extern "C"
11938
 
#endif
11939
 
/* We use char because int might match the return type of a gcc2
11940
 
   builtin and then its argument prototype would still apply.  */
11941
 
char dlopen ();
11942
 
int
11943
 
main ()
11944
 
{
11945
 
dlopen ();
11946
 
  ;
11947
 
  return 0;
11948
 
}
11949
 
_ACEOF
11950
 
rm -f conftest.$ac_objext conftest$ac_exeext
11951
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11952
 
  (eval $ac_link) 2>conftest.er1
11953
 
  ac_status=$?
11954
 
  grep -v '^ *+' conftest.er1 >conftest.err
11955
 
  rm -f conftest.er1
11956
 
  cat conftest.err >&5
11957
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11958
 
  (exit $ac_status); } &&
11959
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11960
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11961
 
  (eval $ac_try) 2>&5
11962
 
  ac_status=$?
11963
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11964
 
  (exit $ac_status); }; } &&
11965
 
         { ac_try='test -s conftest$ac_exeext'
11966
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11967
 
  (eval $ac_try) 2>&5
11968
 
  ac_status=$?
11969
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11970
 
  (exit $ac_status); }; }; then
11971
 
  ac_cv_lib_dl_dlopen=yes
11972
 
else
11973
 
  echo "$as_me: failed program was:" >&5
11974
 
sed 's/^/| /' conftest.$ac_ext >&5
11975
 
 
11976
 
ac_cv_lib_dl_dlopen=no
11977
 
fi
11978
 
rm -f conftest.err conftest.$ac_objext \
11979
 
      conftest$ac_exeext conftest.$ac_ext
11980
 
LIBS=$ac_check_lib_save_LIBS
11981
 
fi
11982
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11983
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11984
 
if test $ac_cv_lib_dl_dlopen = yes; then
11985
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11986
 
else
11987
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11988
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11989
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11990
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11991
 
else
11992
 
  ac_check_lib_save_LIBS=$LIBS
11993
 
LIBS="-lsvld  $LIBS"
11994
 
cat >conftest.$ac_ext <<_ACEOF
11995
 
/* confdefs.h.  */
11996
 
_ACEOF
11997
 
cat confdefs.h >>conftest.$ac_ext
11998
 
cat >>conftest.$ac_ext <<_ACEOF
11999
 
/* end confdefs.h.  */
12000
 
 
12001
 
/* Override any gcc2 internal prototype to avoid an error.  */
12002
 
#ifdef __cplusplus
12003
 
extern "C"
12004
 
#endif
12005
 
/* We use char because int might match the return type of a gcc2
12006
 
   builtin and then its argument prototype would still apply.  */
12007
 
char dlopen ();
12008
 
int
12009
 
main ()
12010
 
{
12011
 
dlopen ();
12012
 
  ;
12013
 
  return 0;
12014
 
}
12015
 
_ACEOF
12016
 
rm -f conftest.$ac_objext conftest$ac_exeext
12017
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12018
 
  (eval $ac_link) 2>conftest.er1
12019
 
  ac_status=$?
12020
 
  grep -v '^ *+' conftest.er1 >conftest.err
12021
 
  rm -f conftest.er1
12022
 
  cat conftest.err >&5
12023
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12024
 
  (exit $ac_status); } &&
12025
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
12026
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12027
 
  (eval $ac_try) 2>&5
12028
 
  ac_status=$?
12029
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12030
 
  (exit $ac_status); }; } &&
12031
 
         { ac_try='test -s conftest$ac_exeext'
12032
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12033
 
  (eval $ac_try) 2>&5
12034
 
  ac_status=$?
12035
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12036
 
  (exit $ac_status); }; }; then
12037
 
  ac_cv_lib_svld_dlopen=yes
12038
 
else
12039
 
  echo "$as_me: failed program was:" >&5
12040
 
sed 's/^/| /' conftest.$ac_ext >&5
12041
 
 
12042
 
ac_cv_lib_svld_dlopen=no
12043
 
fi
12044
 
rm -f conftest.err conftest.$ac_objext \
12045
 
      conftest$ac_exeext conftest.$ac_ext
12046
 
LIBS=$ac_check_lib_save_LIBS
12047
 
fi
12048
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12049
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12050
 
if test $ac_cv_lib_svld_dlopen = yes; then
12051
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12052
 
else
12053
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12054
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12055
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12056
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12057
 
else
12058
 
  ac_check_lib_save_LIBS=$LIBS
12059
 
LIBS="-ldld  $LIBS"
12060
 
cat >conftest.$ac_ext <<_ACEOF
12061
 
/* confdefs.h.  */
12062
 
_ACEOF
12063
 
cat confdefs.h >>conftest.$ac_ext
12064
 
cat >>conftest.$ac_ext <<_ACEOF
12065
 
/* end confdefs.h.  */
12066
 
 
12067
 
/* Override any gcc2 internal prototype to avoid an error.  */
12068
 
#ifdef __cplusplus
12069
 
extern "C"
12070
 
#endif
12071
 
/* We use char because int might match the return type of a gcc2
12072
 
   builtin and then its argument prototype would still apply.  */
12073
 
char dld_link ();
12074
 
int
12075
 
main ()
12076
 
{
12077
 
dld_link ();
12078
 
  ;
12079
 
  return 0;
12080
 
}
12081
 
_ACEOF
12082
 
rm -f conftest.$ac_objext conftest$ac_exeext
12083
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12084
 
  (eval $ac_link) 2>conftest.er1
12085
 
  ac_status=$?
12086
 
  grep -v '^ *+' conftest.er1 >conftest.err
12087
 
  rm -f conftest.er1
12088
 
  cat conftest.err >&5
12089
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12090
 
  (exit $ac_status); } &&
12091
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
12092
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12093
 
  (eval $ac_try) 2>&5
12094
 
  ac_status=$?
12095
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12096
 
  (exit $ac_status); }; } &&
12097
 
         { ac_try='test -s conftest$ac_exeext'
12098
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12099
 
  (eval $ac_try) 2>&5
12100
 
  ac_status=$?
12101
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12102
 
  (exit $ac_status); }; }; then
12103
 
  ac_cv_lib_dld_dld_link=yes
12104
 
else
12105
 
  echo "$as_me: failed program was:" >&5
12106
 
sed 's/^/| /' conftest.$ac_ext >&5
12107
 
 
12108
 
ac_cv_lib_dld_dld_link=no
12109
 
fi
12110
 
rm -f conftest.err conftest.$ac_objext \
12111
 
      conftest$ac_exeext conftest.$ac_ext
12112
 
LIBS=$ac_check_lib_save_LIBS
12113
 
fi
12114
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12115
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12116
 
if test $ac_cv_lib_dld_dld_link = yes; then
12117
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12118
 
fi
12119
 
 
12120
 
 
12121
 
fi
12122
 
 
12123
 
 
12124
 
fi
12125
 
 
12126
 
 
12127
 
fi
12128
 
 
12129
 
 
12130
 
fi
12131
 
 
12132
 
 
12133
 
fi
12134
 
 
12135
 
    ;;
12136
 
  esac
12137
 
 
12138
 
  if test "x$lt_cv_dlopen" != xno; then
12139
 
    enable_dlopen=yes
12140
 
  else
12141
 
    enable_dlopen=no
12142
 
  fi
12143
 
 
12144
 
  case $lt_cv_dlopen in
12145
 
  dlopen)
12146
 
    save_CPPFLAGS="$CPPFLAGS"
12147
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12148
 
 
12149
 
    save_LDFLAGS="$LDFLAGS"
12150
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12151
 
 
12152
 
    save_LIBS="$LIBS"
12153
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
12154
 
 
12155
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12156
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12157
 
if test "${lt_cv_dlopen_self+set}" = set; then
12158
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12159
 
else
12160
 
          if test "$cross_compiling" = yes; then :
12161
 
  lt_cv_dlopen_self=cross
12162
 
else
12163
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12164
 
  lt_status=$lt_dlunknown
12165
 
  cat > conftest.$ac_ext <<EOF
12166
 
#line 12166 "configure"
12167
 
#include "confdefs.h"
12168
 
 
12169
 
#if HAVE_DLFCN_H
12170
 
#include <dlfcn.h>
12171
 
#endif
12172
 
 
12173
 
#include <stdio.h>
12174
 
 
12175
 
#ifdef RTLD_GLOBAL
12176
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
12177
 
#else
12178
 
#  ifdef DL_GLOBAL
12179
 
#    define LT_DLGLOBAL         DL_GLOBAL
12180
 
#  else
12181
 
#    define LT_DLGLOBAL         0
12182
 
#  endif
12183
 
#endif
12184
 
 
12185
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12186
 
   find out it does not work in some platform. */
12187
 
#ifndef LT_DLLAZY_OR_NOW
12188
 
#  ifdef RTLD_LAZY
12189
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12190
 
#  else
12191
 
#    ifdef DL_LAZY
12192
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12193
 
#    else
12194
 
#      ifdef RTLD_NOW
12195
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12196
 
#      else
12197
 
#        ifdef DL_NOW
12198
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
12199
 
#        else
12200
 
#          define LT_DLLAZY_OR_NOW      0
12201
 
#        endif
12202
 
#      endif
12203
 
#    endif
12204
 
#  endif
12205
 
#endif
12206
 
 
12207
 
#ifdef __cplusplus
12208
 
extern "C" void exit (int);
12209
 
#endif
12210
 
 
12211
 
void fnord() { int i=42;}
12212
 
int main ()
12213
 
{
12214
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12215
 
  int status = $lt_dlunknown;
12216
 
 
12217
 
  if (self)
12218
 
    {
12219
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12220
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12221
 
      /* dlclose (self); */
12222
 
    }
12223
 
 
12224
 
    exit (status);
12225
 
}
12226
 
EOF
12227
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12228
 
  (eval $ac_link) 2>&5
12229
 
  ac_status=$?
12230
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12231
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12232
 
    (./conftest; exit; ) 2>/dev/null
12233
 
    lt_status=$?
12234
 
    case x$lt_status in
12235
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12236
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12237
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12238
 
    esac
12239
 
  else :
12240
 
    # compilation failed
12241
 
    lt_cv_dlopen_self=no
12242
 
  fi
12243
 
fi
12244
 
rm -fr conftest*
12245
 
 
12246
 
 
12247
 
fi
12248
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12249
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12250
 
 
12251
 
    if test "x$lt_cv_dlopen_self" = xyes; then
12252
 
      LDFLAGS="$LDFLAGS $link_static_flag"
12253
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12254
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12255
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
12256
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12257
 
else
12258
 
          if test "$cross_compiling" = yes; then :
12259
 
  lt_cv_dlopen_self_static=cross
12260
 
else
12261
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12262
 
  lt_status=$lt_dlunknown
12263
 
  cat > conftest.$ac_ext <<EOF
12264
 
#line 12264 "configure"
12265
 
#include "confdefs.h"
12266
 
 
12267
 
#if HAVE_DLFCN_H
12268
 
#include <dlfcn.h>
12269
 
#endif
12270
 
 
12271
 
#include <stdio.h>
12272
 
 
12273
 
#ifdef RTLD_GLOBAL
12274
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
12275
 
#else
12276
 
#  ifdef DL_GLOBAL
12277
 
#    define LT_DLGLOBAL         DL_GLOBAL
12278
 
#  else
12279
 
#    define LT_DLGLOBAL         0
12280
 
#  endif
12281
 
#endif
12282
 
 
12283
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12284
 
   find out it does not work in some platform. */
12285
 
#ifndef LT_DLLAZY_OR_NOW
12286
 
#  ifdef RTLD_LAZY
12287
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12288
 
#  else
12289
 
#    ifdef DL_LAZY
12290
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12291
 
#    else
12292
 
#      ifdef RTLD_NOW
12293
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12294
 
#      else
12295
 
#        ifdef DL_NOW
12296
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
12297
 
#        else
12298
 
#          define LT_DLLAZY_OR_NOW      0
12299
 
#        endif
12300
 
#      endif
12301
 
#    endif
12302
 
#  endif
12303
 
#endif
12304
 
 
12305
 
#ifdef __cplusplus
12306
 
extern "C" void exit (int);
12307
 
#endif
12308
 
 
12309
 
void fnord() { int i=42;}
12310
 
int main ()
12311
 
{
12312
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12313
 
  int status = $lt_dlunknown;
12314
 
 
12315
 
  if (self)
12316
 
    {
12317
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12318
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12319
 
      /* dlclose (self); */
12320
 
    }
12321
 
 
12322
 
    exit (status);
12323
 
}
12324
 
EOF
12325
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12326
 
  (eval $ac_link) 2>&5
12327
 
  ac_status=$?
12328
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12330
 
    (./conftest; exit; ) 2>/dev/null
12331
 
    lt_status=$?
12332
 
    case x$lt_status in
12333
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12334
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12335
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12336
 
    esac
12337
 
  else :
12338
 
    # compilation failed
12339
 
    lt_cv_dlopen_self_static=no
12340
 
  fi
12341
 
fi
12342
 
rm -fr conftest*
12343
 
 
12344
 
 
12345
 
fi
12346
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12347
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12348
 
    fi
12349
 
 
12350
 
    CPPFLAGS="$save_CPPFLAGS"
12351
 
    LDFLAGS="$save_LDFLAGS"
12352
 
    LIBS="$save_LIBS"
12353
 
    ;;
12354
 
  esac
12355
 
 
12356
 
  case $lt_cv_dlopen_self in
12357
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12358
 
  *) enable_dlopen_self=unknown ;;
12359
 
  esac
12360
 
 
12361
 
  case $lt_cv_dlopen_self_static in
12362
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12363
 
  *) enable_dlopen_self_static=unknown ;;
12364
 
  esac
12365
 
fi
12366
 
 
12367
 
 
12368
 
# Report which librarie types wil actually be built
12369
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12370
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12371
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
12372
 
echo "${ECHO_T}$can_build_shared" >&6
12373
 
 
12374
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12375
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12376
 
test "$can_build_shared" = "no" && enable_shared=no
12377
 
 
12378
 
# On AIX, shared libraries and static libraries use the same namespace, and
12379
 
# are all built from PIC.
12380
 
case "$host_os" in
12381
 
aix3*)
12382
 
  test "$enable_shared" = yes && enable_static=no
12383
 
  if test -n "$RANLIB"; then
12384
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
12385
 
    postinstall_cmds='$RANLIB $lib'
12386
 
  fi
12387
 
  ;;
12388
 
 
12389
 
aix4* | aix5*)
12390
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12391
 
    test "$enable_shared" = yes && enable_static=no
12392
 
  fi
12393
 
  ;;
12394
 
  darwin* | rhapsody*)
12395
 
  if test "$GCC" = yes; then
12396
 
    archive_cmds_need_lc=no
12397
 
    case "$host_os" in
12398
 
    rhapsody* | darwin1.[012])
12399
 
      allow_undefined_flag='-undefined suppress'
12400
 
      ;;
12401
 
    *) # Darwin 1.3 on
12402
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12403
 
        allow_undefined_flag='-flat_namespace -undefined suppress'
12404
 
      else
12405
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
12406
 
          10.[012])
12407
 
            allow_undefined_flag='-flat_namespace -undefined suppress'
12408
 
            ;;
12409
 
          10.*)
12410
 
            allow_undefined_flag='-undefined dynamic_lookup'
12411
 
            ;;
12412
 
        esac
12413
 
      fi
12414
 
      ;;
12415
 
    esac
12416
 
    output_verbose_link_cmd='echo'
12417
 
    archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
12418
 
    module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12419
 
    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
12420
 
    archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12421
 
    module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12422
 
    hardcode_direct=no
12423
 
    hardcode_automatic=yes
12424
 
    hardcode_shlibpath_var=unsupported
12425
 
    whole_archive_flag_spec='-all_load $convenience'
12426
 
    link_all_deplibs=yes
12427
 
  else
12428
 
    ld_shlibs=no
12429
 
  fi
12430
 
    ;;
12431
 
esac
12432
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
12433
 
echo "${ECHO_T}$enable_shared" >&6
12434
 
 
12435
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12436
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12437
 
# Make sure either enable_shared or enable_static is yes.
12438
 
test "$enable_shared" = yes || enable_static=yes
12439
 
echo "$as_me:$LINENO: result: $enable_static" >&5
12440
 
echo "${ECHO_T}$enable_static" >&6
12441
 
 
12442
 
# The else clause should only fire when bootstrapping the
12443
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
12444
 
# with your package, and you will get complaints that there are
12445
 
# no rules to generate ltmain.sh.
12446
 
if test -f "$ltmain"; then
12447
 
  # See if we are running on zsh, and set the options which allow our commands through
12448
 
  # without removal of \ escapes.
12449
 
  if test -n "${ZSH_VERSION+set}" ; then
12450
 
    setopt NO_GLOB_SUBST
12451
 
  fi
12452
 
  # Now quote all the things that may contain metacharacters while being
12453
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
12454
 
  # variables and quote the copies for generation of the libtool script.
12455
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
12456
 
    SED SHELL STRIP \
12457
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12458
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12459
 
    deplibs_check_method reload_flag reload_cmds need_locks \
12460
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12461
 
    lt_cv_sys_global_symbol_to_c_name_address \
12462
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12463
 
    old_postinstall_cmds old_postuninstall_cmds \
12464
 
    compiler \
12465
 
    CC \
12466
 
    LD \
12467
 
    lt_prog_compiler_wl \
12468
 
    lt_prog_compiler_pic \
12469
 
    lt_prog_compiler_static \
12470
 
    lt_prog_compiler_no_builtin_flag \
12471
 
    export_dynamic_flag_spec \
12472
 
    thread_safe_flag_spec \
12473
 
    whole_archive_flag_spec \
12474
 
    enable_shared_with_static_runtimes \
12475
 
    old_archive_cmds \
12476
 
    old_archive_from_new_cmds \
12477
 
    predep_objects \
12478
 
    postdep_objects \
12479
 
    predeps \
12480
 
    postdeps \
12481
 
    compiler_lib_search_path \
12482
 
    archive_cmds \
12483
 
    archive_expsym_cmds \
12484
 
    postinstall_cmds \
12485
 
    postuninstall_cmds \
12486
 
    old_archive_from_expsyms_cmds \
12487
 
    allow_undefined_flag \
12488
 
    no_undefined_flag \
12489
 
    export_symbols_cmds \
12490
 
    hardcode_libdir_flag_spec \
12491
 
    hardcode_libdir_flag_spec_ld \
12492
 
    hardcode_libdir_separator \
12493
 
    hardcode_automatic \
12494
 
    module_cmds \
12495
 
    module_expsym_cmds \
12496
 
    lt_cv_prog_compiler_c_o \
12497
 
    exclude_expsyms \
12498
 
    include_expsyms; do
12499
 
 
12500
 
    case $var in
12501
 
    old_archive_cmds | \
12502
 
    old_archive_from_new_cmds | \
12503
 
    archive_cmds | \
12504
 
    archive_expsym_cmds | \
12505
 
    module_cmds | \
12506
 
    module_expsym_cmds | \
12507
 
    old_archive_from_expsyms_cmds | \
12508
 
    export_symbols_cmds | \
12509
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
12510
 
    postinstall_cmds | postuninstall_cmds | \
12511
 
    old_postinstall_cmds | old_postuninstall_cmds | \
12512
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12513
 
      # Double-quote double-evaled strings.
12514
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12515
 
      ;;
12516
 
    *)
12517
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12518
 
      ;;
12519
 
    esac
12520
 
  done
12521
 
 
12522
 
  case $lt_echo in
12523
 
  *'\$0 --fallback-echo"')
12524
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12525
 
    ;;
12526
 
  esac
12527
 
 
12528
 
cfgfile="${ofile}T"
12529
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
12530
 
  $rm -f "$cfgfile"
12531
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
12532
 
echo "$as_me: creating $ofile" >&6;}
12533
 
 
12534
 
  cat <<__EOF__ >> "$cfgfile"
12535
 
#! $SHELL
12536
 
 
12537
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12538
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
12539
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
12540
 
#
12541
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
12542
 
# Free Software Foundation, Inc.
12543
 
#
12544
 
# This file is part of GNU Libtool:
12545
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
12546
 
#
12547
 
# This program is free software; you can redistribute it and/or modify
12548
 
# it under the terms of the GNU General Public License as published by
12549
 
# the Free Software Foundation; either version 2 of the License, or
12550
 
# (at your option) any later version.
12551
 
#
12552
 
# This program is distributed in the hope that it will be useful, but
12553
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
12554
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12555
 
# General Public License for more details.
12556
 
#
12557
 
# You should have received a copy of the GNU General Public License
12558
 
# along with this program; if not, write to the Free Software
12559
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
12560
 
#
12561
 
# As a special exception to the GNU General Public License, if you
12562
 
# distribute this file as part of a program that contains a
12563
 
# configuration script generated by Autoconf, you may include it under
12564
 
# the same distribution terms that you use for the rest of that program.
12565
 
 
12566
 
# A sed program that does not truncate output.
12567
 
SED=$lt_SED
12568
 
 
12569
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
12570
 
Xsed="$SED -e s/^X//"
12571
 
 
12572
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
12573
 
# if CDPATH is set.
12574
 
if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
12575
 
 
12576
 
# The names of the tagged configurations supported by this script.
12577
 
available_tags=
12578
 
 
12579
 
# ### BEGIN LIBTOOL CONFIG
12580
 
 
12581
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12582
 
 
12583
 
# Shell to use when invoking shell scripts.
12584
 
SHELL=$lt_SHELL
12585
 
 
12586
 
# Whether or not to build shared libraries.
12587
 
build_libtool_libs=$enable_shared
12588
 
 
12589
 
# Whether or not to build static libraries.
12590
 
build_old_libs=$enable_static
12591
 
 
12592
 
# Whether or not to add -lc for building shared libraries.
12593
 
build_libtool_need_lc=$archive_cmds_need_lc
12594
 
 
12595
 
# Whether or not to disallow shared libs when runtime libs are static
12596
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12597
 
 
12598
 
# Whether or not to optimize for fast installation.
12599
 
fast_install=$enable_fast_install
12600
 
 
12601
 
# The host system.
12602
 
host_alias=$host_alias
12603
 
host=$host
12604
 
 
12605
 
# An echo program that does not interpret backslashes.
12606
 
echo=$lt_echo
12607
 
 
12608
 
# The archiver.
12609
 
AR=$lt_AR
12610
 
AR_FLAGS=$lt_AR_FLAGS
12611
 
 
12612
 
# A C compiler.
12613
 
LTCC=$lt_LTCC
12614
 
 
12615
 
# A language-specific compiler.
12616
 
CC=$lt_compiler
12617
 
 
12618
 
# Is the compiler the GNU C compiler?
12619
 
with_gcc=$GCC
12620
 
 
12621
 
# An ERE matcher.
12622
 
EGREP=$lt_EGREP
12623
 
 
12624
 
# The linker used to build libraries.
12625
 
LD=$lt_LD
12626
 
 
12627
 
# Whether we need hard or soft links.
12628
 
LN_S=$lt_LN_S
12629
 
 
12630
 
# A BSD-compatible nm program.
12631
 
NM=$lt_NM
12632
 
 
12633
 
# A symbol stripping program
12634
 
STRIP=$lt_STRIP
12635
 
 
12636
 
# Used to examine libraries when file_magic_cmd begins "file"
12637
 
MAGIC_CMD=$MAGIC_CMD
12638
 
 
12639
 
# Used on cygwin: DLL creation program.
12640
 
DLLTOOL="$DLLTOOL"
12641
 
 
12642
 
# Used on cygwin: object dumper.
12643
 
OBJDUMP="$OBJDUMP"
12644
 
 
12645
 
# Used on cygwin: assembler.
12646
 
AS="$AS"
12647
 
 
12648
 
# The name of the directory that contains temporary libtool files.
12649
 
objdir=$objdir
12650
 
 
12651
 
# How to create reloadable object files.
12652
 
reload_flag=$lt_reload_flag
12653
 
reload_cmds=$lt_reload_cmds
12654
 
 
12655
 
# How to pass a linker flag through the compiler.
12656
 
wl=$lt_lt_prog_compiler_wl
12657
 
 
12658
 
# Object file suffix (normally "o").
12659
 
objext="$ac_objext"
12660
 
 
12661
 
# Old archive suffix (normally "a").
12662
 
libext="$libext"
12663
 
 
12664
 
# Shared library suffix (normally ".so").
12665
 
shrext_cmds='$shrext_cmds'
12666
 
 
12667
 
# Executable file suffix (normally "").
12668
 
exeext="$exeext"
12669
 
 
12670
 
# Additional compiler flags for building library objects.
12671
 
pic_flag=$lt_lt_prog_compiler_pic
12672
 
pic_mode=$pic_mode
12673
 
 
12674
 
# What is the maximum length of a command?
12675
 
max_cmd_len=$lt_cv_sys_max_cmd_len
12676
 
 
12677
 
# Does compiler simultaneously support -c and -o options?
12678
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12679
 
 
12680
 
# Must we lock files when doing compilation ?
12681
 
need_locks=$lt_need_locks
12682
 
 
12683
 
# Do we need the lib prefix for modules?
12684
 
need_lib_prefix=$need_lib_prefix
12685
 
 
12686
 
# Do we need a version for libraries?
12687
 
need_version=$need_version
12688
 
 
12689
 
# Whether dlopen is supported.
12690
 
dlopen_support=$enable_dlopen
12691
 
 
12692
 
# Whether dlopen of programs is supported.
12693
 
dlopen_self=$enable_dlopen_self
12694
 
 
12695
 
# Whether dlopen of statically linked programs is supported.
12696
 
dlopen_self_static=$enable_dlopen_self_static
12697
 
 
12698
 
# Compiler flag to prevent dynamic linking.
12699
 
link_static_flag=$lt_lt_prog_compiler_static
12700
 
 
12701
 
# Compiler flag to turn off builtin functions.
12702
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12703
 
 
12704
 
# Compiler flag to allow reflexive dlopens.
12705
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12706
 
 
12707
 
# Compiler flag to generate shared objects directly from archives.
12708
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
12709
 
 
12710
 
# Compiler flag to generate thread-safe objects.
12711
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
12712
 
 
12713
 
# Library versioning type.
12714
 
version_type=$version_type
12715
 
 
12716
 
# Format of library name prefix.
12717
 
libname_spec=$lt_libname_spec
12718
 
 
12719
 
# List of archive names.  First name is the real one, the rest are links.
12720
 
# The last name is the one that the linker finds with -lNAME.
12721
 
library_names_spec=$lt_library_names_spec
12722
 
 
12723
 
# The coded name of the library, if different from the real name.
12724
 
soname_spec=$lt_soname_spec
12725
 
 
12726
 
# Commands used to build and install an old-style archive.
12727
 
RANLIB=$lt_RANLIB
12728
 
old_archive_cmds=$lt_old_archive_cmds
12729
 
old_postinstall_cmds=$lt_old_postinstall_cmds
12730
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
12731
 
 
12732
 
# Create an old-style archive from a shared archive.
12733
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12734
 
 
12735
 
# Create a temporary old-style archive to link instead of a shared archive.
12736
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12737
 
 
12738
 
# Commands used to build and install a shared archive.
12739
 
archive_cmds=$lt_archive_cmds
12740
 
archive_expsym_cmds=$lt_archive_expsym_cmds
12741
 
postinstall_cmds=$lt_postinstall_cmds
12742
 
postuninstall_cmds=$lt_postuninstall_cmds
12743
 
 
12744
 
# Commands used to build a loadable module (assumed same as above if empty)
12745
 
module_cmds=$lt_module_cmds
12746
 
module_expsym_cmds=$lt_module_expsym_cmds
12747
 
 
12748
 
# Commands to strip libraries.
12749
 
old_striplib=$lt_old_striplib
12750
 
striplib=$lt_striplib
12751
 
 
12752
 
# Dependencies to place before the objects being linked to create a
12753
 
# shared library.
12754
 
predep_objects=$lt_predep_objects
12755
 
 
12756
 
# Dependencies to place after the objects being linked to create a
12757
 
# shared library.
12758
 
postdep_objects=$lt_postdep_objects
12759
 
 
12760
 
# Dependencies to place before the objects being linked to create a
12761
 
# shared library.
12762
 
predeps=$lt_predeps
12763
 
 
12764
 
# Dependencies to place after the objects being linked to create a
12765
 
# shared library.
12766
 
postdeps=$lt_postdeps
12767
 
 
12768
 
# The library search path used internally by the compiler when linking
12769
 
# a shared library.
12770
 
compiler_lib_search_path=$lt_compiler_lib_search_path
12771
 
 
12772
 
# Method to check whether dependent libraries are shared objects.
12773
 
deplibs_check_method=$lt_deplibs_check_method
12774
 
 
12775
 
# Command to use when deplibs_check_method == file_magic.
12776
 
file_magic_cmd=$lt_file_magic_cmd
12777
 
 
12778
 
# Flag that allows shared libraries with undefined symbols to be built.
12779
 
allow_undefined_flag=$lt_allow_undefined_flag
12780
 
 
12781
 
# Flag that forces no undefined symbols.
12782
 
no_undefined_flag=$lt_no_undefined_flag
12783
 
 
12784
 
# Commands used to finish a libtool library installation in a directory.
12785
 
finish_cmds=$lt_finish_cmds
12786
 
 
12787
 
# Same as above, but a single script fragment to be evaled but not shown.
12788
 
finish_eval=$lt_finish_eval
12789
 
 
12790
 
# Take the output of nm and produce a listing of raw symbols and C names.
12791
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12792
 
 
12793
 
# Transform the output of nm in a proper C declaration
12794
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12795
 
 
12796
 
# Transform the output of nm in a C name address pair
12797
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12798
 
 
12799
 
# This is the shared library runtime path variable.
12800
 
runpath_var=$runpath_var
12801
 
 
12802
 
# This is the shared library path variable.
12803
 
shlibpath_var=$shlibpath_var
12804
 
 
12805
 
# Is shlibpath searched before the hard-coded library search path?
12806
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12807
 
 
12808
 
# How to hardcode a shared library path into an executable.
12809
 
hardcode_action=$hardcode_action
12810
 
 
12811
 
# Whether we should hardcode library paths into libraries.
12812
 
hardcode_into_libs=$hardcode_into_libs
12813
 
 
12814
 
# Flag to hardcode \$libdir into a binary during linking.
12815
 
# This must work even if \$libdir does not exist.
12816
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
12817
 
 
12818
 
# If ld is used when linking, flag to hardcode \$libdir into
12819
 
# a binary during linking. This must work even if \$libdir does
12820
 
# not exist.
12821
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
12822
 
 
12823
 
# Whether we need a single -rpath flag with a separated argument.
12824
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
12825
 
 
12826
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12827
 
# resulting binary.
12828
 
hardcode_direct=$hardcode_direct
12829
 
 
12830
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12831
 
# resulting binary.
12832
 
hardcode_minus_L=$hardcode_minus_L
12833
 
 
12834
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12835
 
# the resulting binary.
12836
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
12837
 
 
12838
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
12839
 
# and all subsequent libraries and executables linked against it.
12840
 
hardcode_automatic=$hardcode_automatic
12841
 
 
12842
 
# Variables whose values should be saved in libtool wrapper scripts and
12843
 
# restored at relink time.
12844
 
variables_saved_for_relink="$variables_saved_for_relink"
12845
 
 
12846
 
# Whether libtool must link a program against all its dependency libraries.
12847
 
link_all_deplibs=$link_all_deplibs
12848
 
 
12849
 
# Compile-time system search path for libraries
12850
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12851
 
 
12852
 
# Run-time system search path for libraries
12853
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12854
 
 
12855
 
# Fix the shell variable \$srcfile for the compiler.
12856
 
fix_srcfile_path="$fix_srcfile_path"
12857
 
 
12858
 
# Set to yes if exported symbols are required.
12859
 
always_export_symbols=$always_export_symbols
12860
 
 
12861
 
# The commands to list exported symbols.
12862
 
export_symbols_cmds=$lt_export_symbols_cmds
12863
 
 
12864
 
# The commands to extract the exported symbol list from a shared archive.
12865
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
12866
 
 
12867
 
# Symbols that should not be listed in the preloaded symbols.
12868
 
exclude_expsyms=$lt_exclude_expsyms
12869
 
 
12870
 
# Symbols that must always be exported.
12871
 
include_expsyms=$lt_include_expsyms
12872
 
 
12873
 
# ### END LIBTOOL CONFIG
12874
 
 
12875
 
__EOF__
12876
 
 
12877
 
 
12878
 
  case $host_os in
12879
 
  aix3*)
12880
 
    cat <<\EOF >> "$cfgfile"
12881
 
 
12882
 
# AIX sometimes has problems with the GCC collect2 program.  For some
12883
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
12884
 
# vanish in a puff of smoke.
12885
 
if test "X${COLLECT_NAMES+set}" != Xset; then
12886
 
  COLLECT_NAMES=
12887
 
  export COLLECT_NAMES
12888
 
fi
12889
 
EOF
12890
 
    ;;
12891
 
  esac
12892
 
 
12893
 
  # We use sed instead of cat because bash on DJGPP gets confused if
12894
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
12895
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
12896
 
  # is reportedly fixed, but why not run on old versions too?
12897
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
12898
 
 
12899
 
  mv -f "$cfgfile" "$ofile" || \
12900
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
12901
 
  chmod +x "$ofile"
12902
 
 
12903
 
else
12904
 
  # If there is no Makefile yet, we rely on a make rule to execute
12905
 
  # `config.status --recheck' to rerun these tests and create the
12906
 
  # libtool script then.
12907
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
12908
 
  if test -f "$ltmain_in"; then
12909
 
    test -f Makefile && make "$ltmain"
12910
 
  fi
12911
 
fi
12912
 
 
12913
 
 
12914
 
ac_ext=c
12915
 
ac_cpp='$CPP $CPPFLAGS'
12916
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12917
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12918
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12919
 
 
12920
 
CC="$lt_save_CC"
12921
 
 
12922
 
 
12923
 
# Check whether --with-tags or --without-tags was given.
12924
 
if test "${with_tags+set}" = set; then
12925
 
  withval="$with_tags"
12926
 
  tagnames="$withval"
12927
 
fi;
12928
 
 
12929
 
if test -f "$ltmain" && test -n "$tagnames"; then
12930
 
  if test ! -f "${ofile}"; then
12931
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
12932
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
12933
 
  fi
12934
 
 
12935
 
  if test -z "$LTCC"; then
12936
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
12937
 
    if test -z "$LTCC"; then
12938
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
12939
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
12940
 
    else
12941
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
12942
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
12943
 
    fi
12944
 
  fi
12945
 
 
12946
 
  # Extract list of available tagged configurations in $ofile.
12947
 
  # Note that this assumes the entire list is on one line.
12948
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
12949
 
 
12950
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12951
 
  for tagname in $tagnames; do
12952
 
    IFS="$lt_save_ifs"
12953
 
    # Check whether tagname contains only valid characters
12954
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
12955
 
    "") ;;
12956
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
12957
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
12958
 
   { (exit 1); exit 1; }; }
12959
 
        ;;
12960
 
    esac
12961
 
 
12962
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
12963
 
    then
12964
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
12965
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
12966
 
   { (exit 1); exit 1; }; }
12967
 
    fi
12968
 
 
12969
 
    # Update the list of available tags.
12970
 
    if test -n "$tagname"; then
12971
 
      echo appending configuration tag \"$tagname\" to $ofile
12972
 
 
12973
 
      case $tagname in
12974
 
      CXX)
12975
 
        if test -n "$CXX" && test "X$CXX" != "Xno"; then
12976
 
          ac_ext=cc
12977
 
ac_cpp='$CXXCPP $CPPFLAGS'
12978
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12979
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12980
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12981
 
 
12982
 
 
12983
 
 
12984
 
 
12985
 
archive_cmds_need_lc_CXX=no
12986
 
allow_undefined_flag_CXX=
12987
 
always_export_symbols_CXX=no
12988
 
archive_expsym_cmds_CXX=
12989
 
export_dynamic_flag_spec_CXX=
12990
 
hardcode_direct_CXX=no
12991
 
hardcode_libdir_flag_spec_CXX=
12992
 
hardcode_libdir_flag_spec_ld_CXX=
12993
 
hardcode_libdir_separator_CXX=
12994
 
hardcode_minus_L_CXX=no
12995
 
hardcode_automatic_CXX=no
12996
 
module_cmds_CXX=
12997
 
module_expsym_cmds_CXX=
12998
 
link_all_deplibs_CXX=unknown
12999
 
old_archive_cmds_CXX=$old_archive_cmds
13000
 
no_undefined_flag_CXX=
13001
 
whole_archive_flag_spec_CXX=
13002
 
enable_shared_with_static_runtimes_CXX=no
13003
 
 
13004
 
# Dependencies to place before and after the object being linked:
13005
 
predep_objects_CXX=
13006
 
postdep_objects_CXX=
13007
 
predeps_CXX=
13008
 
postdeps_CXX=
13009
 
compiler_lib_search_path_CXX=
13010
 
 
13011
 
# Source file extension for C++ test sources.
13012
 
ac_ext=cc
13013
 
 
13014
 
# Object file extension for compiled C++ test sources.
13015
 
objext=o
13016
 
objext_CXX=$objext
13017
 
 
13018
 
# Code to be used in simple compile tests
13019
 
lt_simple_compile_test_code="int some_variable = 0;\n"
13020
 
 
13021
 
# Code to be used in simple link tests
13022
 
lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
13023
 
 
13024
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13025
 
 
13026
 
# If no C compiler was specified, use CC.
13027
 
LTCC=${LTCC-"$CC"}
13028
 
 
13029
 
# Allow CC to be a program name with arguments.
13030
 
compiler=$CC
13031
 
 
13032
 
 
13033
 
# Allow CC to be a program name with arguments.
13034
 
lt_save_CC=$CC
13035
 
lt_save_LD=$LD
13036
 
lt_save_GCC=$GCC
13037
 
GCC=$GXX
13038
 
lt_save_with_gnu_ld=$with_gnu_ld
13039
 
lt_save_path_LD=$lt_cv_path_LD
13040
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13041
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13042
 
else
13043
 
  unset lt_cv_prog_gnu_ld
13044
 
fi
13045
 
if test -n "${lt_cv_path_LDCXX+set}"; then
13046
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
13047
 
else
13048
 
  unset lt_cv_path_LD
13049
 
fi
13050
 
test -z "${LDCXX+set}" || LD=$LDCXX
13051
 
CC=${CXX-"c++"}
13052
 
compiler=$CC
13053
 
compiler_CXX=$CC
13054
 
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
13055
 
 
13056
 
# We don't want -fno-exception wen compiling C++ code, so set the
13057
 
# no_builtin_flag separately
13058
 
if test "$GXX" = yes; then
13059
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13060
 
else
13061
 
  lt_prog_compiler_no_builtin_flag_CXX=
13062
 
fi
13063
 
 
13064
 
if test "$GXX" = yes; then
13065
 
  # Set up default GNU C++ configuration
13066
 
 
13067
 
 
13068
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
13069
 
if test "${with_gnu_ld+set}" = set; then
13070
 
  withval="$with_gnu_ld"
13071
 
  test "$withval" = no || with_gnu_ld=yes
13072
 
else
13073
 
  with_gnu_ld=no
13074
 
fi;
13075
 
ac_prog=ld
13076
 
if test "$GCC" = yes; then
13077
 
  # Check if gcc -print-prog-name=ld gives a path.
13078
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13079
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
13080
 
  case $host in
13081
 
  *-*-mingw*)
13082
 
    # gcc leaves a trailing carriage return which upsets mingw
13083
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13084
 
  *)
13085
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13086
 
  esac
13087
 
  case $ac_prog in
13088
 
    # Accept absolute paths.
13089
 
    [\\/]* | ?:[\\/]*)
13090
 
      re_direlt='/[^/][^/]*/\.\./'
13091
 
      # Canonicalize the pathname of ld
13092
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
13093
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
13094
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
13095
 
      done
13096
 
      test -z "$LD" && LD="$ac_prog"
13097
 
      ;;
13098
 
  "")
13099
 
    # If it fails, then pretend we aren't using GCC.
13100
 
    ac_prog=ld
13101
 
    ;;
13102
 
  *)
13103
 
    # If it is relative, then search for the first ld in PATH.
13104
 
    with_gnu_ld=unknown
13105
 
    ;;
13106
 
  esac
13107
 
elif test "$with_gnu_ld" = yes; then
13108
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
13109
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
13110
 
else
13111
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13112
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
13113
 
fi
13114
 
if test "${lt_cv_path_LD+set}" = set; then
13115
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13116
 
else
13117
 
  if test -z "$LD"; then
13118
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13119
 
  for ac_dir in $PATH; do
13120
 
    IFS="$lt_save_ifs"
13121
 
    test -z "$ac_dir" && ac_dir=.
13122
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13123
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
13124
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
13125
 
      # but apparently some GNU ld's only accept -v.
13126
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
13127
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13128
 
      *GNU* | *'with BFD'*)
13129
 
        test "$with_gnu_ld" != no && break
13130
 
        ;;
13131
 
      *)
13132
 
        test "$with_gnu_ld" != yes && break
13133
 
        ;;
13134
 
      esac
13135
 
    fi
13136
 
  done
13137
 
  IFS="$lt_save_ifs"
13138
 
else
13139
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
13140
 
fi
13141
 
fi
13142
 
 
13143
 
LD="$lt_cv_path_LD"
13144
 
if test -n "$LD"; then
13145
 
  echo "$as_me:$LINENO: result: $LD" >&5
13146
 
echo "${ECHO_T}$LD" >&6
13147
 
else
13148
 
  echo "$as_me:$LINENO: result: no" >&5
13149
 
echo "${ECHO_T}no" >&6
13150
 
fi
13151
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13152
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13153
 
   { (exit 1); exit 1; }; }
13154
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13155
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
13156
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
13157
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13158
 
else
13159
 
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
13160
 
case `$LD -v 2>&1 </dev/null` in
13161
 
*GNU* | *'with BFD'*)
13162
 
  lt_cv_prog_gnu_ld=yes
13163
 
  ;;
13164
 
*)
13165
 
  lt_cv_prog_gnu_ld=no
13166
 
  ;;
13167
 
esac
13168
 
fi
13169
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13170
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
13171
 
with_gnu_ld=$lt_cv_prog_gnu_ld
13172
 
 
13173
 
 
13174
 
 
13175
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
13176
 
  # archiving commands below assume that GNU ld is being used.
13177
 
  if test "$with_gnu_ld" = yes; then
13178
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13179
 
    archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13180
 
 
13181
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13182
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13183
 
 
13184
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
13185
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13186
 
    #     investigate it a little bit more. (MM)
13187
 
    wlarc='${wl}'
13188
 
 
13189
 
    # ancient GNU ld didn't support --whole-archive et. al.
13190
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
13191
 
        grep 'no-whole-archive' > /dev/null; then
13192
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13193
 
    else
13194
 
      whole_archive_flag_spec_CXX=
13195
 
    fi
13196
 
  else
13197
 
    with_gnu_ld=no
13198
 
    wlarc=
13199
 
 
13200
 
    # A generic and very simple default shared library creation
13201
 
    # command for GNU C++ for the case where it uses the native
13202
 
    # linker, instead of GNU ld.  If possible, this setting should
13203
 
    # overridden to take advantage of the native linker features on
13204
 
    # the platform it is being used on.
13205
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13206
 
  fi
13207
 
 
13208
 
  # Commands to make compiler produce verbose output that lists
13209
 
  # what "hidden" libraries, object files and flags are used when
13210
 
  # linking a shared library.
13211
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13212
 
 
13213
 
else
13214
 
  GXX=no
13215
 
  with_gnu_ld=no
13216
 
  wlarc=
13217
 
fi
13218
 
 
13219
 
# PORTME: fill in a description of your system's C++ link characteristics
13220
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13221
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13222
 
ld_shlibs_CXX=yes
13223
 
case $host_os in
13224
 
  aix3*)
13225
 
    # FIXME: insert proper C++ library support
13226
 
    ld_shlibs_CXX=no
13227
 
    ;;
13228
 
  aix4* | aix5*)
13229
 
    if test "$host_cpu" = ia64; then
13230
 
      # On IA64, the linker does run time linking by default, so we don't
13231
 
      # have to do anything special.
13232
 
      aix_use_runtimelinking=no
13233
 
      exp_sym_flag='-Bexport'
13234
 
      no_entry_flag=""
13235
 
    else
13236
 
      aix_use_runtimelinking=no
13237
 
 
13238
 
      # Test if we are trying to use run time linking or normal
13239
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13240
 
      # need to do runtime linking.
13241
 
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13242
 
        for ld_flag in $LDFLAGS; do
13243
 
          case $ld_flag in
13244
 
          *-brtl*)
13245
 
            aix_use_runtimelinking=yes
13246
 
            break
13247
 
            ;;
13248
 
          esac
13249
 
        done
13250
 
      esac
13251
 
 
13252
 
      exp_sym_flag='-bexport'
13253
 
      no_entry_flag='-bnoentry'
13254
 
    fi
13255
 
 
13256
 
    # When large executables or shared objects are built, AIX ld can
13257
 
    # have problems creating the table of contents.  If linking a library
13258
 
    # or program results in "error TOC overflow" add -mminimal-toc to
13259
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13260
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13261
 
 
13262
 
    archive_cmds_CXX=''
13263
 
    hardcode_direct_CXX=yes
13264
 
    hardcode_libdir_separator_CXX=':'
13265
 
    link_all_deplibs_CXX=yes
13266
 
 
13267
 
    if test "$GXX" = yes; then
13268
 
      case $host_os in aix4.012|aix4.012.*)
13269
 
      # We only want to do this on AIX 4.2 and lower, the check
13270
 
      # below for broken collect2 doesn't work under 4.3+
13271
 
        collect2name=`${CC} -print-prog-name=collect2`
13272
 
        if test -f "$collect2name" && \
13273
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
13274
 
        then
13275
 
          # We have reworked collect2
13276
 
          hardcode_direct_CXX=yes
13277
 
        else
13278
 
          # We have old collect2
13279
 
          hardcode_direct_CXX=unsupported
13280
 
          # It fails to find uninstalled libraries when the uninstalled
13281
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
13282
 
          # to unsupported forces relinking
13283
 
          hardcode_minus_L_CXX=yes
13284
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
13285
 
          hardcode_libdir_separator_CXX=
13286
 
        fi
13287
 
      esac
13288
 
      shared_flag='-shared'
13289
 
    else
13290
 
      # not using gcc
13291
 
      if test "$host_cpu" = ia64; then
13292
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13293
 
        # chokes on -Wl,-G. The following line is correct:
13294
 
        shared_flag='-G'
13295
 
      else
13296
 
        if test "$aix_use_runtimelinking" = yes; then
13297
 
          shared_flag='${wl}-G'
13298
 
        else
13299
 
          shared_flag='${wl}-bM:SRE'
13300
 
        fi
13301
 
      fi
13302
 
    fi
13303
 
 
13304
 
    # It seems that -bexpall does not export symbols beginning with
13305
 
    # underscore (_), so it is better to generate a list of symbols to export.
13306
 
    always_export_symbols_CXX=yes
13307
 
    if test "$aix_use_runtimelinking" = yes; then
13308
 
      # Warning - without using the other runtime loading flags (-brtl),
13309
 
      # -berok will link without error, but may produce a broken library.
13310
 
      allow_undefined_flag_CXX='-berok'
13311
 
      # Determine the default libpath from the value encoded in an empty executable.
13312
 
      cat >conftest.$ac_ext <<_ACEOF
13313
 
/* confdefs.h.  */
13314
 
_ACEOF
13315
 
cat confdefs.h >>conftest.$ac_ext
13316
 
cat >>conftest.$ac_ext <<_ACEOF
13317
 
/* end confdefs.h.  */
13318
 
 
13319
 
int
13320
 
main ()
13321
 
{
13322
 
 
13323
 
  ;
13324
 
  return 0;
13325
 
}
13326
 
_ACEOF
13327
 
rm -f conftest.$ac_objext conftest$ac_exeext
13328
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13329
 
  (eval $ac_link) 2>conftest.er1
13330
 
  ac_status=$?
13331
 
  grep -v '^ *+' conftest.er1 >conftest.err
13332
 
  rm -f conftest.er1
13333
 
  cat conftest.err >&5
13334
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13335
 
  (exit $ac_status); } &&
13336
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
13337
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13338
 
  (eval $ac_try) 2>&5
13339
 
  ac_status=$?
13340
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13341
 
  (exit $ac_status); }; } &&
13342
 
         { ac_try='test -s conftest$ac_exeext'
13343
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13344
 
  (eval $ac_try) 2>&5
13345
 
  ac_status=$?
13346
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13347
 
  (exit $ac_status); }; }; then
13348
 
 
13349
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13350
 
}'`
13351
 
# Check for a 64-bit object if we didn't find anything.
13352
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13353
 
}'`; fi
13354
 
else
13355
 
  echo "$as_me: failed program was:" >&5
13356
 
sed 's/^/| /' conftest.$ac_ext >&5
13357
 
 
13358
 
fi
13359
 
rm -f conftest.err conftest.$ac_objext \
13360
 
      conftest$ac_exeext conftest.$ac_ext
13361
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13362
 
 
13363
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13364
 
 
13365
 
      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13366
 
     else
13367
 
      if test "$host_cpu" = ia64; then
13368
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13369
 
        allow_undefined_flag_CXX="-z nodefs"
13370
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
13371
 
      else
13372
 
        # Determine the default libpath from the value encoded in an empty executable.
13373
 
        cat >conftest.$ac_ext <<_ACEOF
13374
 
/* confdefs.h.  */
13375
 
_ACEOF
13376
 
cat confdefs.h >>conftest.$ac_ext
13377
 
cat >>conftest.$ac_ext <<_ACEOF
13378
 
/* end confdefs.h.  */
13379
 
 
13380
 
int
13381
 
main ()
13382
 
{
13383
 
 
13384
 
  ;
13385
 
  return 0;
13386
 
}
13387
 
_ACEOF
13388
 
rm -f conftest.$ac_objext conftest$ac_exeext
13389
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13390
 
  (eval $ac_link) 2>conftest.er1
13391
 
  ac_status=$?
13392
 
  grep -v '^ *+' conftest.er1 >conftest.err
13393
 
  rm -f conftest.er1
13394
 
  cat conftest.err >&5
13395
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13396
 
  (exit $ac_status); } &&
13397
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
13398
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13399
 
  (eval $ac_try) 2>&5
13400
 
  ac_status=$?
13401
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13402
 
  (exit $ac_status); }; } &&
13403
 
         { ac_try='test -s conftest$ac_exeext'
13404
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13405
 
  (eval $ac_try) 2>&5
13406
 
  ac_status=$?
13407
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13408
 
  (exit $ac_status); }; }; then
13409
 
 
13410
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13411
 
}'`
13412
 
# Check for a 64-bit object if we didn't find anything.
13413
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13414
 
}'`; fi
13415
 
else
13416
 
  echo "$as_me: failed program was:" >&5
13417
 
sed 's/^/| /' conftest.$ac_ext >&5
13418
 
 
13419
 
fi
13420
 
rm -f conftest.err conftest.$ac_objext \
13421
 
      conftest$ac_exeext conftest.$ac_ext
13422
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13423
 
 
13424
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13425
 
        # Warning - without using the other run time loading flags,
13426
 
        # -berok will link without error, but may produce a broken library.
13427
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
13428
 
        allow_undefined_flag_CXX=' ${wl}-berok'
13429
 
        # -bexpall does not export symbols beginning with underscore (_)
13430
 
        always_export_symbols_CXX=yes
13431
 
        # Exported symbols can be pulled into shared objects from archives
13432
 
        whole_archive_flag_spec_CXX=' '
13433
 
        archive_cmds_need_lc_CXX=yes
13434
 
        # This is similar to how AIX traditionally builds it's shared libraries.
13435
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13436
 
      fi
13437
 
    fi
13438
 
    ;;
13439
 
  chorus*)
13440
 
    case $cc_basename in
13441
 
      *)
13442
 
        # FIXME: insert proper C++ library support
13443
 
        ld_shlibs_CXX=no
13444
 
        ;;
13445
 
    esac
13446
 
    ;;
13447
 
 
13448
 
  cygwin* | mingw* | pw32*)
13449
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13450
 
    # as there is no search path for DLLs.
13451
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
13452
 
    allow_undefined_flag_CXX=unsupported
13453
 
    always_export_symbols_CXX=no
13454
 
    enable_shared_with_static_runtimes_CXX=yes
13455
 
 
13456
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13457
 
      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13458
 
      # If the export-symbols file already is a .def file (1st line
13459
 
      # is EXPORTS), use it as is; otherwise, prepend...
13460
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13461
 
        cp $export_symbols $output_objdir/$soname.def;
13462
 
      else
13463
 
        echo EXPORTS > $output_objdir/$soname.def;
13464
 
        cat $export_symbols >> $output_objdir/$soname.def;
13465
 
      fi~
13466
 
      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13467
 
    else
13468
 
      ld_shlibs_CXX=no
13469
 
    fi
13470
 
  ;;
13471
 
 
13472
 
  darwin* | rhapsody*)
13473
 
  if test "$GXX" = yes; then
13474
 
    archive_cmds_need_lc_CXX=no
13475
 
    case "$host_os" in
13476
 
    rhapsody* | darwin1.[012])
13477
 
      allow_undefined_flag_CXX='-undefined suppress'
13478
 
      ;;
13479
 
    *) # Darwin 1.3 on
13480
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
13481
 
        allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
13482
 
      else
13483
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
13484
 
          10.[012])
13485
 
            allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
13486
 
            ;;
13487
 
          10.*)
13488
 
            allow_undefined_flag_CXX='-undefined dynamic_lookup'
13489
 
            ;;
13490
 
        esac
13491
 
      fi
13492
 
      ;;
13493
 
    esac
13494
 
    lt_int_apple_cc_single_mod=no
13495
 
    output_verbose_link_cmd='echo'
13496
 
    if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13497
 
      lt_int_apple_cc_single_mod=yes
13498
 
    fi
13499
 
    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13500
 
      archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13501
 
    else
13502
 
      archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13503
 
    fi
13504
 
    module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13505
 
 
13506
 
    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13507
 
    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13508
 
      archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13509
 
    else
13510
 
      archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13511
 
    fi
13512
 
    module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13513
 
    hardcode_direct_CXX=no
13514
 
    hardcode_automatic_CXX=yes
13515
 
    hardcode_shlibpath_var_CXX=unsupported
13516
 
    whole_archive_flag_spec_CXX='-all_load $convenience'
13517
 
    link_all_deplibs_CXX=yes
13518
 
  else
13519
 
    ld_shlibs_CXX=no
13520
 
  fi
13521
 
    ;;
13522
 
 
13523
 
  dgux*)
13524
 
    case $cc_basename in
13525
 
      ec++)
13526
 
        # FIXME: insert proper C++ library support
13527
 
        ld_shlibs_CXX=no
13528
 
        ;;
13529
 
      ghcx)
13530
 
        # Green Hills C++ Compiler
13531
 
        # FIXME: insert proper C++ library support
13532
 
        ld_shlibs_CXX=no
13533
 
        ;;
13534
 
      *)
13535
 
        # FIXME: insert proper C++ library support
13536
 
        ld_shlibs_CXX=no
13537
 
        ;;
13538
 
    esac
13539
 
    ;;
13540
 
  freebsd12*)
13541
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
13542
 
    ld_shlibs_CXX=no
13543
 
    ;;
13544
 
  freebsd-elf*)
13545
 
    archive_cmds_need_lc_CXX=no
13546
 
    ;;
13547
 
  freebsd* | kfreebsd*-gnu)
13548
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13549
 
    # conventions
13550
 
    ld_shlibs_CXX=yes
13551
 
    ;;
13552
 
  gnu*)
13553
 
    ;;
13554
 
  hpux9*)
13555
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13556
 
    hardcode_libdir_separator_CXX=:
13557
 
    export_dynamic_flag_spec_CXX='${wl}-E'
13558
 
    hardcode_direct_CXX=yes
13559
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
13560
 
                                # but as the default
13561
 
                                # location of the library.
13562
 
 
13563
 
    case $cc_basename in
13564
 
    CC)
13565
 
      # FIXME: insert proper C++ library support
13566
 
      ld_shlibs_CXX=no
13567
 
      ;;
13568
 
    aCC)
13569
 
      archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13570
 
      # Commands to make compiler produce verbose output that lists
13571
 
      # what "hidden" libraries, object files and flags are used when
13572
 
      # linking a shared library.
13573
 
      #
13574
 
      # There doesn't appear to be a way to prevent this compiler from
13575
 
      # explicitly linking system object files so we need to strip them
13576
 
      # from the output so that they don't get included in the library
13577
 
      # dependencies.
13578
 
      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
13579
 
      ;;
13580
 
    *)
13581
 
      if test "$GXX" = yes; then
13582
 
        archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13583
 
      else
13584
 
        # FIXME: insert proper C++ library support
13585
 
        ld_shlibs_CXX=no
13586
 
      fi
13587
 
      ;;
13588
 
    esac
13589
 
    ;;
13590
 
  hpux10*|hpux11*)
13591
 
    if test $with_gnu_ld = no; then
13592
 
      case "$host_cpu" in
13593
 
      hppa*64*)
13594
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13595
 
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
13596
 
        hardcode_libdir_separator_CXX=:
13597
 
        ;;
13598
 
      ia64*)
13599
 
        hardcode_libdir_flag_spec_CXX='-L$libdir'
13600
 
        ;;
13601
 
      *)
13602
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13603
 
        hardcode_libdir_separator_CXX=:
13604
 
        export_dynamic_flag_spec_CXX='${wl}-E'
13605
 
        ;;
13606
 
      esac
13607
 
    fi
13608
 
    case "$host_cpu" in
13609
 
    hppa*64*)
13610
 
      hardcode_direct_CXX=no
13611
 
      hardcode_shlibpath_var_CXX=no
13612
 
      ;;
13613
 
    ia64*)
13614
 
      hardcode_direct_CXX=no
13615
 
      hardcode_shlibpath_var_CXX=no
13616
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
13617
 
                                              # but as the default
13618
 
                                              # location of the library.
13619
 
      ;;
13620
 
    *)
13621
 
      hardcode_direct_CXX=yes
13622
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
13623
 
                                              # but as the default
13624
 
                                              # location of the library.
13625
 
      ;;
13626
 
    esac
13627
 
 
13628
 
    case $cc_basename in
13629
 
      CC)
13630
 
        # FIXME: insert proper C++ library support
13631
 
        ld_shlibs_CXX=no
13632
 
        ;;
13633
 
      aCC)
13634
 
        case "$host_cpu" in
13635
 
        hppa*64*|ia64*)
13636
 
          archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
13637
 
          ;;
13638
 
        *)
13639
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13640
 
          ;;
13641
 
        esac
13642
 
        # Commands to make compiler produce verbose output that lists
13643
 
        # what "hidden" libraries, object files and flags are used when
13644
 
        # linking a shared library.
13645
 
        #
13646
 
        # There doesn't appear to be a way to prevent this compiler from
13647
 
        # explicitly linking system object files so we need to strip them
13648
 
        # from the output so that they don't get included in the library
13649
 
        # dependencies.
13650
 
        output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
13651
 
        ;;
13652
 
      *)
13653
 
        if test "$GXX" = yes; then
13654
 
          if test $with_gnu_ld = no; then
13655
 
            case "$host_cpu" in
13656
 
            ia64*|hppa*64*)
13657
 
              archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
13658
 
              ;;
13659
 
            *)
13660
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13661
 
              ;;
13662
 
            esac
13663
 
          fi
13664
 
        else
13665
 
          # FIXME: insert proper C++ library support
13666
 
          ld_shlibs_CXX=no
13667
 
        fi
13668
 
        ;;
13669
 
    esac
13670
 
    ;;
13671
 
  irix5* | irix6*)
13672
 
    case $cc_basename in
13673
 
      CC)
13674
 
        # SGI C++
13675
 
        archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
13676
 
 
13677
 
        # Archives containing C++ object files must be created using
13678
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13679
 
        # necessary to make sure instantiated templates are included
13680
 
        # in the archive.
13681
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13682
 
        ;;
13683
 
      *)
13684
 
        if test "$GXX" = yes; then
13685
 
          if test "$with_gnu_ld" = no; then
13686
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
13687
 
          else
13688
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
13689
 
          fi
13690
 
        fi
13691
 
        link_all_deplibs_CXX=yes
13692
 
        ;;
13693
 
    esac
13694
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13695
 
    hardcode_libdir_separator_CXX=:
13696
 
    ;;
13697
 
  linux*)
13698
 
    case $cc_basename in
13699
 
      KCC)
13700
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
13701
 
 
13702
 
        # KCC will only create a shared library if the output file
13703
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
13704
 
        # to its proper name (with version) after linking.
13705
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13706
 
        archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
13707
 
        # Commands to make compiler produce verbose output that lists
13708
 
        # what "hidden" libraries, object files and flags are used when
13709
 
        # linking a shared library.
13710
 
        #
13711
 
        # There doesn't appear to be a way to prevent this compiler from
13712
 
        # explicitly linking system object files so we need to strip them
13713
 
        # from the output so that they don't get included in the library
13714
 
        # dependencies.
13715
 
        output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
13716
 
 
13717
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
13718
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13719
 
 
13720
 
        # Archives containing C++ object files must be created using
13721
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13722
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13723
 
        ;;
13724
 
      icpc)
13725
 
        # Intel C++
13726
 
        with_gnu_ld=yes
13727
 
        archive_cmds_need_lc_CXX=no
13728
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13729
 
        archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13730
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13731
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13732
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13733
 
        ;;
13734
 
      cxx)
13735
 
        # Compaq C++
13736
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13737
 
        archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
13738
 
 
13739
 
        runpath_var=LD_RUN_PATH
13740
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13741
 
        hardcode_libdir_separator_CXX=:
13742
 
 
13743
 
        # Commands to make compiler produce verbose output that lists
13744
 
        # what "hidden" libraries, object files and flags are used when
13745
 
        # linking a shared library.
13746
 
        #
13747
 
        # There doesn't appear to be a way to prevent this compiler from
13748
 
        # explicitly linking system object files so we need to strip them
13749
 
        # from the output so that they don't get included in the library
13750
 
        # dependencies.
13751
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
13752
 
        ;;
13753
 
    esac
13754
 
    ;;
13755
 
  lynxos*)
13756
 
    # FIXME: insert proper C++ library support
13757
 
    ld_shlibs_CXX=no
13758
 
    ;;
13759
 
  m88k*)
13760
 
    # FIXME: insert proper C++ library support
13761
 
    ld_shlibs_CXX=no
13762
 
    ;;
13763
 
  mvs*)
13764
 
    case $cc_basename in
13765
 
      cxx)
13766
 
        # FIXME: insert proper C++ library support
13767
 
        ld_shlibs_CXX=no
13768
 
        ;;
13769
 
      *)
13770
 
        # FIXME: insert proper C++ library support
13771
 
        ld_shlibs_CXX=no
13772
 
        ;;
13773
 
    esac
13774
 
    ;;
13775
 
  netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
13776
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13777
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13778
 
      wlarc=
13779
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
13780
 
      hardcode_direct_CXX=yes
13781
 
      hardcode_shlibpath_var_CXX=no
13782
 
    fi
13783
 
    # Workaround some broken pre-1.5 toolchains
13784
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13785
 
    ;;
13786
 
  osf3*)
13787
 
    case $cc_basename in
13788
 
      KCC)
13789
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
13790
 
 
13791
 
        # KCC will only create a shared library if the output file
13792
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
13793
 
        # to its proper name (with version) after linking.
13794
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13795
 
 
13796
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13797
 
        hardcode_libdir_separator_CXX=:
13798
 
 
13799
 
        # Archives containing C++ object files must be created using
13800
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13801
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13802
 
 
13803
 
        ;;
13804
 
      RCC)
13805
 
        # Rational C++ 2.4.1
13806
 
        # FIXME: insert proper C++ library support
13807
 
        ld_shlibs_CXX=no
13808
 
        ;;
13809
 
      cxx)
13810
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13811
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
13812
 
 
13813
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13814
 
        hardcode_libdir_separator_CXX=:
13815
 
 
13816
 
        # Commands to make compiler produce verbose output that lists
13817
 
        # what "hidden" libraries, object files and flags are used when
13818
 
        # linking a shared library.
13819
 
        #
13820
 
        # There doesn't appear to be a way to prevent this compiler from
13821
 
        # explicitly linking system object files so we need to strip them
13822
 
        # from the output so that they don't get included in the library
13823
 
        # dependencies.
13824
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
13825
 
        ;;
13826
 
      *)
13827
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13828
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13829
 
          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
13830
 
 
13831
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13832
 
          hardcode_libdir_separator_CXX=:
13833
 
 
13834
 
          # Commands to make compiler produce verbose output that lists
13835
 
          # what "hidden" libraries, object files and flags are used when
13836
 
          # linking a shared library.
13837
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13838
 
 
13839
 
        else
13840
 
          # FIXME: insert proper C++ library support
13841
 
          ld_shlibs_CXX=no
13842
 
        fi
13843
 
        ;;
13844
 
    esac
13845
 
    ;;
13846
 
  osf4* | osf5*)
13847
 
    case $cc_basename in
13848
 
      KCC)
13849
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
13850
 
 
13851
 
        # KCC will only create a shared library if the output file
13852
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
13853
 
        # to its proper name (with version) after linking.
13854
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13855
 
 
13856
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13857
 
        hardcode_libdir_separator_CXX=:
13858
 
 
13859
 
        # Archives containing C++ object files must be created using
13860
 
        # the KAI C++ compiler.
13861
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
13862
 
        ;;
13863
 
      RCC)
13864
 
        # Rational C++ 2.4.1
13865
 
        # FIXME: insert proper C++ library support
13866
 
        ld_shlibs_CXX=no
13867
 
        ;;
13868
 
      cxx)
13869
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
13870
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
13871
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13872
 
          echo "-hidden">> $lib.exp~
13873
 
          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
13874
 
          $rm $lib.exp'
13875
 
 
13876
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13877
 
        hardcode_libdir_separator_CXX=:
13878
 
 
13879
 
        # Commands to make compiler produce verbose output that lists
13880
 
        # what "hidden" libraries, object files and flags are used when
13881
 
        # linking a shared library.
13882
 
        #
13883
 
        # There doesn't appear to be a way to prevent this compiler from
13884
 
        # explicitly linking system object files so we need to strip them
13885
 
        # from the output so that they don't get included in the library
13886
 
        # dependencies.
13887
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
13888
 
        ;;
13889
 
      *)
13890
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13891
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13892
 
         archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
13893
 
 
13894
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13895
 
          hardcode_libdir_separator_CXX=:
13896
 
 
13897
 
          # Commands to make compiler produce verbose output that lists
13898
 
          # what "hidden" libraries, object files and flags are used when
13899
 
          # linking a shared library.
13900
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13901
 
 
13902
 
        else
13903
 
          # FIXME: insert proper C++ library support
13904
 
          ld_shlibs_CXX=no
13905
 
        fi
13906
 
        ;;
13907
 
    esac
13908
 
    ;;
13909
 
  psos*)
13910
 
    # FIXME: insert proper C++ library support
13911
 
    ld_shlibs_CXX=no
13912
 
    ;;
13913
 
  sco*)
13914
 
    archive_cmds_need_lc_CXX=no
13915
 
    case $cc_basename in
13916
 
      CC)
13917
 
        # FIXME: insert proper C++ library support
13918
 
        ld_shlibs_CXX=no
13919
 
        ;;
13920
 
      *)
13921
 
        # FIXME: insert proper C++ library support
13922
 
        ld_shlibs_CXX=no
13923
 
        ;;
13924
 
    esac
13925
 
    ;;
13926
 
  sunos4*)
13927
 
    case $cc_basename in
13928
 
      CC)
13929
 
        # Sun C++ 4.x
13930
 
        # FIXME: insert proper C++ library support
13931
 
        ld_shlibs_CXX=no
13932
 
        ;;
13933
 
      lcc)
13934
 
        # Lucid
13935
 
        # FIXME: insert proper C++ library support
13936
 
        ld_shlibs_CXX=no
13937
 
        ;;
13938
 
      *)
13939
 
        # FIXME: insert proper C++ library support
13940
 
        ld_shlibs_CXX=no
13941
 
        ;;
13942
 
    esac
13943
 
    ;;
13944
 
  solaris*)
13945
 
    case $cc_basename in
13946
 
      CC)
13947
 
        # Sun C++ 4.2, 5.x and Centerline C++
13948
 
        no_undefined_flag_CXX=' -zdefs'
13949
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13950
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13951
 
        $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13952
 
 
13953
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
13954
 
        hardcode_shlibpath_var_CXX=no
13955
 
        case $host_os in
13956
 
          solaris2.0-5 | solaris2.0-5.*) ;;
13957
 
          *)
13958
 
            # The C++ compiler is used as linker so we must use $wl
13959
 
            # flag to pass the commands to the underlying system
13960
 
            # linker.
13961
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
13962
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13963
 
            ;;
13964
 
        esac
13965
 
        link_all_deplibs_CXX=yes
13966
 
 
13967
 
        # Commands to make compiler produce verbose output that lists
13968
 
        # what "hidden" libraries, object files and flags are used when
13969
 
        # linking a shared library.
13970
 
        #
13971
 
        # There doesn't appear to be a way to prevent this compiler from
13972
 
        # explicitly linking system object files so we need to strip them
13973
 
        # from the output so that they don't get included in the library
13974
 
        # dependencies.
13975
 
        output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
13976
 
 
13977
 
        # Archives containing C++ object files must be created using
13978
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13979
 
        # necessary to make sure instantiated templates are included
13980
 
        # in the archive.
13981
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13982
 
        ;;
13983
 
      gcx)
13984
 
        # Green Hills C++ Compiler
13985
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13986
 
 
13987
 
        # The C++ compiler must be used to create the archive.
13988
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13989
 
        ;;
13990
 
      *)
13991
 
        # GNU C++ compiler with Solaris linker
13992
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13993
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13994
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
13995
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13996
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13997
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13998
 
 
13999
 
            # Commands to make compiler produce verbose output that lists
14000
 
            # what "hidden" libraries, object files and flags are used when
14001
 
            # linking a shared library.
14002
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
14003
 
          else
14004
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
14005
 
            # platform.
14006
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14007
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14008
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
14009
 
 
14010
 
            # Commands to make compiler produce verbose output that lists
14011
 
            # what "hidden" libraries, object files and flags are used when
14012
 
            # linking a shared library.
14013
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
14014
 
          fi
14015
 
 
14016
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14017
 
        fi
14018
 
        ;;
14019
 
    esac
14020
 
    ;;
14021
 
  sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
14022
 
    archive_cmds_need_lc_CXX=no
14023
 
    ;;
14024
 
  tandem*)
14025
 
    case $cc_basename in
14026
 
      NCC)
14027
 
        # NonStop-UX NCC 3.20
14028
 
        # FIXME: insert proper C++ library support
14029
 
        ld_shlibs_CXX=no
14030
 
        ;;
14031
 
      *)
14032
 
        # FIXME: insert proper C++ library support
14033
 
        ld_shlibs_CXX=no
14034
 
        ;;
14035
 
    esac
14036
 
    ;;
14037
 
  vxworks*)
14038
 
    # FIXME: insert proper C++ library support
14039
 
    ld_shlibs_CXX=no
14040
 
    ;;
14041
 
  *)
14042
 
    # FIXME: insert proper C++ library support
14043
 
    ld_shlibs_CXX=no
14044
 
    ;;
14045
 
esac
14046
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14047
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
14048
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
14049
 
 
14050
 
GCC_CXX="$GXX"
14051
 
LD_CXX="$LD"
14052
 
 
14053
 
 
14054
 
cat > conftest.$ac_ext <<EOF
14055
 
class Foo
14056
 
{
14057
 
public:
14058
 
  Foo (void) { a = 0; }
14059
 
private:
14060
 
  int a;
14061
 
};
14062
 
EOF
14063
 
 
14064
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14065
 
  (eval $ac_compile) 2>&5
14066
 
  ac_status=$?
14067
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14068
 
  (exit $ac_status); }; then
14069
 
  # Parse the compiler output and extract the necessary
14070
 
  # objects, libraries and library flags.
14071
 
 
14072
 
  # Sentinel used to keep track of whether or not we are before
14073
 
  # the conftest object file.
14074
 
  pre_test_object_deps_done=no
14075
 
 
14076
 
  # The `*' in the case matches for architectures that use `case' in
14077
 
  # $output_verbose_cmd can trigger glob expansion during the loop
14078
 
  # eval without this substitution.
14079
 
  output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
14080
 
 
14081
 
  for p in `eval $output_verbose_link_cmd`; do
14082
 
    case $p in
14083
 
 
14084
 
    -L* | -R* | -l*)
14085
 
       # Some compilers place space between "-{L,R}" and the path.
14086
 
       # Remove the space.
14087
 
       if test $p = "-L" \
14088
 
          || test $p = "-R"; then
14089
 
         prev=$p
14090
 
         continue
14091
 
       else
14092
 
         prev=
14093
 
       fi
14094
 
 
14095
 
       if test "$pre_test_object_deps_done" = no; then
14096
 
         case $p in
14097
 
         -L* | -R*)
14098
 
           # Internal compiler library paths should come after those
14099
 
           # provided the user.  The postdeps already come after the
14100
 
           # user supplied libs so there is no need to process them.
14101
 
           if test -z "$compiler_lib_search_path_CXX"; then
14102
 
             compiler_lib_search_path_CXX="${prev}${p}"
14103
 
           else
14104
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14105
 
           fi
14106
 
           ;;
14107
 
         # The "-l" case would never come before the object being
14108
 
         # linked, so don't bother handling this case.
14109
 
         esac
14110
 
       else
14111
 
         if test -z "$postdeps_CXX"; then
14112
 
           postdeps_CXX="${prev}${p}"
14113
 
         else
14114
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14115
 
         fi
14116
 
       fi
14117
 
       ;;
14118
 
 
14119
 
    *.$objext)
14120
 
       # This assumes that the test object file only shows up
14121
 
       # once in the compiler output.
14122
 
       if test "$p" = "conftest.$objext"; then
14123
 
         pre_test_object_deps_done=yes
14124
 
         continue
14125
 
       fi
14126
 
 
14127
 
       if test "$pre_test_object_deps_done" = no; then
14128
 
         if test -z "$predep_objects_CXX"; then
14129
 
           predep_objects_CXX="$p"
14130
 
         else
14131
 
           predep_objects_CXX="$predep_objects_CXX $p"
14132
 
         fi
14133
 
       else
14134
 
         if test -z "$postdep_objects_CXX"; then
14135
 
           postdep_objects_CXX="$p"
14136
 
         else
14137
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
14138
 
         fi
14139
 
       fi
14140
 
       ;;
14141
 
 
14142
 
    *) ;; # Ignore the rest.
14143
 
 
14144
 
    esac
14145
 
  done
14146
 
 
14147
 
  # Clean up.
14148
 
  rm -f a.out a.exe
14149
 
else
14150
 
  echo "libtool.m4: error: problem compiling CXX test program"
14151
 
fi
14152
 
 
14153
 
$rm -f confest.$objext
14154
 
 
14155
 
case " $postdeps_CXX " in
14156
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
14157
 
esac
14158
 
 
14159
 
lt_prog_compiler_wl_CXX=
14160
 
lt_prog_compiler_pic_CXX=
14161
 
lt_prog_compiler_static_CXX=
14162
 
 
14163
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14164
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
14165
 
 
14166
 
  # C++ specific cases for pic, static, wl, etc.
14167
 
  if test "$GXX" = yes; then
14168
 
    lt_prog_compiler_wl_CXX='-Wl,'
14169
 
    lt_prog_compiler_static_CXX='-static'
14170
 
 
14171
 
    case $host_os in
14172
 
    aix*)
14173
 
      # All AIX code is PIC.
14174
 
      if test "$host_cpu" = ia64; then
14175
 
        # AIX 5 now supports IA64 processor
14176
 
        lt_prog_compiler_static_CXX='-Bstatic'
14177
 
      fi
14178
 
      ;;
14179
 
    amigaos*)
14180
 
      # FIXME: we need at least 68020 code to build shared libraries, but
14181
 
      # adding the `-m68020' flag to GCC prevents building anything better,
14182
 
      # like `-m68040'.
14183
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14184
 
      ;;
14185
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14186
 
      # PIC is the default for these OSes.
14187
 
      ;;
14188
 
    mingw* | os2* | pw32*)
14189
 
      # This hack is so that the source file can tell whether it is being
14190
 
      # built for inclusion in a dll (and should export symbols for example).
14191
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14192
 
      ;;
14193
 
    darwin* | rhapsody*)
14194
 
      # PIC is the default on this platform
14195
 
      # Common symbols not allowed in MH_DYLIB files
14196
 
      lt_prog_compiler_pic_CXX='-fno-common'
14197
 
      ;;
14198
 
    *djgpp*)
14199
 
      # DJGPP does not support shared libraries at all
14200
 
      lt_prog_compiler_pic_CXX=
14201
 
      ;;
14202
 
    sysv4*MP*)
14203
 
      if test -d /usr/nec; then
14204
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
14205
 
      fi
14206
 
      ;;
14207
 
    hpux*)
14208
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14209
 
      # not for PA HP-UX.
14210
 
      case "$host_cpu" in
14211
 
      hppa*64*|ia64*)
14212
 
        ;;
14213
 
      *)
14214
 
        lt_prog_compiler_pic_CXX='-fPIC'
14215
 
        ;;
14216
 
      esac
14217
 
      ;;
14218
 
    *)
14219
 
      lt_prog_compiler_pic_CXX='-fPIC'
14220
 
      ;;
14221
 
    esac
14222
 
  else
14223
 
    case $host_os in
14224
 
      aix4* | aix5*)
14225
 
        # All AIX code is PIC.
14226
 
        if test "$host_cpu" = ia64; then
14227
 
          # AIX 5 now supports IA64 processor
14228
 
          lt_prog_compiler_static_CXX='-Bstatic'
14229
 
        else
14230
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14231
 
        fi
14232
 
        ;;
14233
 
      chorus*)
14234
 
        case $cc_basename in
14235
 
        cxch68)
14236
 
          # Green Hills C++ Compiler
14237
 
          # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
14238
 
          ;;
14239
 
        esac
14240
 
        ;;
14241
 
      dgux*)
14242
 
        case $cc_basename in
14243
 
          ec++)
14244
 
            lt_prog_compiler_pic_CXX='-KPIC'
14245
 
            ;;
14246
 
          ghcx)
14247
 
            # Green Hills C++ Compiler
14248
 
            lt_prog_compiler_pic_CXX='-pic'
14249
 
            ;;
14250
 
          *)
14251
 
            ;;
14252
 
        esac
14253
 
        ;;
14254
 
      freebsd* | kfreebsd*-gnu)
14255
 
        # FreeBSD uses GNU C++
14256
 
        ;;
14257
 
      hpux9* | hpux10* | hpux11*)
14258
 
        case $cc_basename in
14259
 
          CC)
14260
 
            lt_prog_compiler_wl_CXX='-Wl,'
14261
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
14262
 
            if test "$host_cpu" != ia64; then
14263
 
              lt_prog_compiler_pic_CXX='+Z'
14264
 
            fi
14265
 
            ;;
14266
 
          aCC)
14267
 
            lt_prog_compiler_wl_CXX='-Wl,'
14268
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
14269
 
            case "$host_cpu" in
14270
 
            hppa*64*|ia64*)
14271
 
              # +Z the default
14272
 
              ;;
14273
 
            *)
14274
 
              lt_prog_compiler_pic_CXX='+Z'
14275
 
              ;;
14276
 
            esac
14277
 
            ;;
14278
 
          *)
14279
 
            ;;
14280
 
        esac
14281
 
        ;;
14282
 
      irix5* | irix6* | nonstopux*)
14283
 
        case $cc_basename in
14284
 
          CC)
14285
 
            lt_prog_compiler_wl_CXX='-Wl,'
14286
 
            lt_prog_compiler_static_CXX='-non_shared'
14287
 
            # CC pic flag -KPIC is the default.
14288
 
            ;;
14289
 
          *)
14290
 
            ;;
14291
 
        esac
14292
 
        ;;
14293
 
      linux*)
14294
 
        case $cc_basename in
14295
 
          KCC)
14296
 
            # KAI C++ Compiler
14297
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
14298
 
            lt_prog_compiler_pic_CXX='-fPIC'
14299
 
            ;;
14300
 
          icpc)
14301
 
            # Intel C++
14302
 
            lt_prog_compiler_wl_CXX='-Wl,'
14303
 
            lt_prog_compiler_pic_CXX='-KPIC'
14304
 
            lt_prog_compiler_static_CXX='-static'
14305
 
            ;;
14306
 
          cxx)
14307
 
            # Compaq C++
14308
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
14309
 
            # Linux and Compaq Tru64 Unix objects are PIC.
14310
 
            lt_prog_compiler_pic_CXX=
14311
 
            lt_prog_compiler_static_CXX='-non_shared'
14312
 
            ;;
14313
 
          *)
14314
 
            ;;
14315
 
        esac
14316
 
        ;;
14317
 
      lynxos*)
14318
 
        ;;
14319
 
      m88k*)
14320
 
        ;;
14321
 
      mvs*)
14322
 
        case $cc_basename in
14323
 
          cxx)
14324
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
14325
 
            ;;
14326
 
          *)
14327
 
            ;;
14328
 
        esac
14329
 
        ;;
14330
 
      netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
14331
 
        ;;
14332
 
      osf3* | osf4* | osf5*)
14333
 
        case $cc_basename in
14334
 
          KCC)
14335
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
14336
 
            ;;
14337
 
          RCC)
14338
 
            # Rational C++ 2.4.1
14339
 
            lt_prog_compiler_pic_CXX='-pic'
14340
 
            ;;
14341
 
          cxx)
14342
 
            # Digital/Compaq C++
14343
 
            lt_prog_compiler_wl_CXX='-Wl,'
14344
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
14345
 
            # Linux and Compaq Tru64 Unix objects are PIC.
14346
 
            lt_prog_compiler_pic_CXX=
14347
 
            lt_prog_compiler_static_CXX='-non_shared'
14348
 
            ;;
14349
 
          *)
14350
 
            ;;
14351
 
        esac
14352
 
        ;;
14353
 
      psos*)
14354
 
        ;;
14355
 
      sco*)
14356
 
        case $cc_basename in
14357
 
          CC)
14358
 
            lt_prog_compiler_pic_CXX='-fPIC'
14359
 
            ;;
14360
 
          *)
14361
 
            ;;
14362
 
        esac
14363
 
        ;;
14364
 
      solaris*)
14365
 
        case $cc_basename in
14366
 
          CC)
14367
 
            # Sun C++ 4.2, 5.x and Centerline C++
14368
 
            lt_prog_compiler_pic_CXX='-KPIC'
14369
 
            lt_prog_compiler_static_CXX='-Bstatic'
14370
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
14371
 
            ;;
14372
 
          gcx)
14373
 
            # Green Hills C++ Compiler
14374
 
            lt_prog_compiler_pic_CXX='-PIC'
14375
 
            ;;
14376
 
          *)
14377
 
            ;;
14378
 
        esac
14379
 
        ;;
14380
 
      sunos4*)
14381
 
        case $cc_basename in
14382
 
          CC)
14383
 
            # Sun C++ 4.x
14384
 
            lt_prog_compiler_pic_CXX='-pic'
14385
 
            lt_prog_compiler_static_CXX='-Bstatic'
14386
 
            ;;
14387
 
          lcc)
14388
 
            # Lucid
14389
 
            lt_prog_compiler_pic_CXX='-pic'
14390
 
            ;;
14391
 
          *)
14392
 
            ;;
14393
 
        esac
14394
 
        ;;
14395
 
      tandem*)
14396
 
        case $cc_basename in
14397
 
          NCC)
14398
 
            # NonStop-UX NCC 3.20
14399
 
            lt_prog_compiler_pic_CXX='-KPIC'
14400
 
            ;;
14401
 
          *)
14402
 
            ;;
14403
 
        esac
14404
 
        ;;
14405
 
      unixware*)
14406
 
        ;;
14407
 
      vxworks*)
14408
 
        ;;
14409
 
      *)
14410
 
        lt_prog_compiler_can_build_shared_CXX=no
14411
 
        ;;
14412
 
    esac
14413
 
  fi
14414
 
 
14415
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14416
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
14417
 
 
14418
 
#
14419
 
# Check to make sure the PIC flag actually works.
14420
 
#
14421
 
if test -n "$lt_prog_compiler_pic_CXX"; then
14422
 
 
14423
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14424
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
14425
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
14426
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14427
 
else
14428
 
  lt_prog_compiler_pic_works_CXX=no
14429
 
  ac_outfile=conftest.$ac_objext
14430
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14431
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14432
 
   # Insert the option either (1) after the last *FLAGS variable, or
14433
 
   # (2) before a word containing "conftest.", or (3) at the end.
14434
 
   # Note that $ac_compile itself does not contain backslashes and begins
14435
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14436
 
   # The option is referenced via a variable to avoid confusing sed.
14437
 
   lt_compile=`echo "$ac_compile" | $SED \
14438
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14439
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14440
 
   -e 's:$: $lt_compiler_flag:'`
14441
 
   (eval echo "\"\$as_me:14441: $lt_compile\"" >&5)
14442
 
   (eval "$lt_compile" 2>conftest.err)
14443
 
   ac_status=$?
14444
 
   cat conftest.err >&5
14445
 
   echo "$as_me:14445: \$? = $ac_status" >&5
14446
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
14447
 
     # The compiler can only warn and ignore the option if not recognized
14448
 
     # So say no if there are warnings
14449
 
     if test ! -s conftest.err; then
14450
 
       lt_prog_compiler_pic_works_CXX=yes
14451
 
     fi
14452
 
   fi
14453
 
   $rm conftest*
14454
 
 
14455
 
fi
14456
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
14457
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
14458
 
 
14459
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
14460
 
    case $lt_prog_compiler_pic_CXX in
14461
 
     "" | " "*) ;;
14462
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14463
 
     esac
14464
 
else
14465
 
    lt_prog_compiler_pic_CXX=
14466
 
     lt_prog_compiler_can_build_shared_CXX=no
14467
 
fi
14468
 
 
14469
 
fi
14470
 
case "$host_os" in
14471
 
  # For platforms which do not support PIC, -DPIC is meaningless:
14472
 
  *djgpp*)
14473
 
    lt_prog_compiler_pic_CXX=
14474
 
    ;;
14475
 
  *)
14476
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14477
 
    ;;
14478
 
esac
14479
 
 
14480
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14481
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
14482
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14483
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14484
 
else
14485
 
  lt_cv_prog_compiler_c_o_CXX=no
14486
 
   $rm -r conftest 2>/dev/null
14487
 
   mkdir conftest
14488
 
   cd conftest
14489
 
   mkdir out
14490
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14491
 
 
14492
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14493
 
   # Insert the option either (1) after the last *FLAGS variable, or
14494
 
   # (2) before a word containing "conftest.", or (3) at the end.
14495
 
   # Note that $ac_compile itself does not contain backslashes and begins
14496
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14497
 
   lt_compile=`echo "$ac_compile" | $SED \
14498
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14499
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14500
 
   -e 's:$: $lt_compiler_flag:'`
14501
 
   (eval echo "\"\$as_me:14501: $lt_compile\"" >&5)
14502
 
   (eval "$lt_compile" 2>out/conftest.err)
14503
 
   ac_status=$?
14504
 
   cat out/conftest.err >&5
14505
 
   echo "$as_me:14505: \$? = $ac_status" >&5
14506
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14507
 
   then
14508
 
     # The compiler can only warn and ignore the option if not recognized
14509
 
     # So say no if there are warnings
14510
 
     if test ! -s out/conftest.err; then
14511
 
       lt_cv_prog_compiler_c_o_CXX=yes
14512
 
     fi
14513
 
   fi
14514
 
   chmod u+w .
14515
 
   $rm conftest*
14516
 
   # SGI C++ compiler will create directory out/ii_files/ for
14517
 
   # template instantiation
14518
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14519
 
   $rm out/* && rmdir out
14520
 
   cd ..
14521
 
   rmdir conftest
14522
 
   $rm conftest*
14523
 
 
14524
 
fi
14525
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14526
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
14527
 
 
14528
 
 
14529
 
hard_links="nottested"
14530
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14531
 
  # do not overwrite the value of need_locks provided by the user
14532
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14533
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
14534
 
  hard_links=yes
14535
 
  $rm conftest*
14536
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14537
 
  touch conftest.a
14538
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
14539
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14540
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
14541
 
echo "${ECHO_T}$hard_links" >&6
14542
 
  if test "$hard_links" = no; then
14543
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14544
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14545
 
    need_locks=warn
14546
 
  fi
14547
 
else
14548
 
  need_locks=no
14549
 
fi
14550
 
 
14551
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14552
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
14553
 
 
14554
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14555
 
  case $host_os in
14556
 
  aix4* | aix5*)
14557
 
    # If we're using GNU nm, then we don't want the "-C" option.
14558
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
14559
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14560
 
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14561
 
    else
14562
 
      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14563
 
    fi
14564
 
    ;;
14565
 
  pw32*)
14566
 
    export_symbols_cmds_CXX="$ltdll_cmds"
14567
 
  ;;
14568
 
  cygwin* | mingw*)
14569
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14570
 
  ;;
14571
 
  linux*)
14572
 
    link_all_deplibs_CXX=no
14573
 
  ;;
14574
 
  *)
14575
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14576
 
  ;;
14577
 
  esac
14578
 
 
14579
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14580
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
14581
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
14582
 
 
14583
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14584
 
if test "$GCC" = yes; then
14585
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14586
 
fi
14587
 
 
14588
 
#
14589
 
# Do we need to explicitly link libc?
14590
 
#
14591
 
case "x$archive_cmds_need_lc_CXX" in
14592
 
x|xyes)
14593
 
  # Assume -lc should be added
14594
 
  archive_cmds_need_lc_CXX=yes
14595
 
 
14596
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
14597
 
    case $archive_cmds_CXX in
14598
 
    *'~'*)
14599
 
      # FIXME: we may have to deal with multi-command sequences.
14600
 
      ;;
14601
 
    '$CC '*)
14602
 
      # Test whether the compiler implicitly links with -lc since on some
14603
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14604
 
      # to ld, don't add -lc before -lgcc.
14605
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14606
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14607
 
      $rm conftest*
14608
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14609
 
 
14610
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14611
 
  (eval $ac_compile) 2>&5
14612
 
  ac_status=$?
14613
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14614
 
  (exit $ac_status); } 2>conftest.err; then
14615
 
        soname=conftest
14616
 
        lib=conftest
14617
 
        libobjs=conftest.$ac_objext
14618
 
        deplibs=
14619
 
        wl=$lt_prog_compiler_wl_CXX
14620
 
        compiler_flags=-v
14621
 
        linker_flags=-v
14622
 
        verstring=
14623
 
        output_objdir=.
14624
 
        libname=conftest
14625
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14626
 
        allow_undefined_flag_CXX=
14627
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14628
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
14629
 
  ac_status=$?
14630
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14631
 
  (exit $ac_status); }
14632
 
        then
14633
 
          archive_cmds_need_lc_CXX=no
14634
 
        else
14635
 
          archive_cmds_need_lc_CXX=yes
14636
 
        fi
14637
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14638
 
      else
14639
 
        cat conftest.err 1>&5
14640
 
      fi
14641
 
      $rm conftest*
14642
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14643
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
14644
 
      ;;
14645
 
    esac
14646
 
  fi
14647
 
  ;;
14648
 
esac
14649
 
 
14650
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14651
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14652
 
library_names_spec=
14653
 
libname_spec='lib$name'
14654
 
soname_spec=
14655
 
shrext_cmds=".so"
14656
 
postinstall_cmds=
14657
 
postuninstall_cmds=
14658
 
finish_cmds=
14659
 
finish_eval=
14660
 
shlibpath_var=
14661
 
shlibpath_overrides_runpath=unknown
14662
 
version_type=none
14663
 
dynamic_linker="$host_os ld.so"
14664
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14665
 
if test "$GCC" = yes; then
14666
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14667
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14668
 
    # if the path contains ";" then we assume it to be the separator
14669
 
    # otherwise default to the standard path separator (i.e. ":") - it is
14670
 
    # assumed that no part of a normal pathname contains ";" but that should
14671
 
    # okay in the real world where ";" in dirpaths is itself problematic.
14672
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14673
 
  else
14674
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14675
 
  fi
14676
 
else
14677
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14678
 
fi
14679
 
need_lib_prefix=unknown
14680
 
hardcode_into_libs=no
14681
 
 
14682
 
# when you set need_version to no, make sure it does not cause -set_version
14683
 
# flags to be left without arguments
14684
 
need_version=unknown
14685
 
 
14686
 
case $host_os in
14687
 
aix3*)
14688
 
  version_type=linux
14689
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14690
 
  shlibpath_var=LIBPATH
14691
 
 
14692
 
  # AIX 3 has no versioning support, so we append a major version to the name.
14693
 
  soname_spec='${libname}${release}${shared_ext}$major'
14694
 
  ;;
14695
 
 
14696
 
aix4* | aix5*)
14697
 
  version_type=linux
14698
 
  need_lib_prefix=no
14699
 
  need_version=no
14700
 
  hardcode_into_libs=yes
14701
 
  if test "$host_cpu" = ia64; then
14702
 
    # AIX 5 supports IA64
14703
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14704
 
    shlibpath_var=LD_LIBRARY_PATH
14705
 
  else
14706
 
    # With GCC up to 2.95.x, collect2 would create an import file
14707
 
    # for dependence libraries.  The import file would start with
14708
 
    # the line `#! .'.  This would cause the generated library to
14709
 
    # depend on `.', always an invalid library.  This was fixed in
14710
 
    # development snapshots of GCC prior to 3.0.
14711
 
    case $host_os in
14712
 
      aix4 | aix4.[01] | aix4.[01].*)
14713
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14714
 
           echo ' yes '
14715
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14716
 
        :
14717
 
      else
14718
 
        can_build_shared=no
14719
 
      fi
14720
 
      ;;
14721
 
    esac
14722
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14723
 
    # soname into executable. Probably we can add versioning support to
14724
 
    # collect2, so additional links can be useful in future.
14725
 
    if test "$aix_use_runtimelinking" = yes; then
14726
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14727
 
      # instead of lib<name>.a to let people know that these are not
14728
 
      # typical AIX shared libraries.
14729
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14730
 
    else
14731
 
      # We preserve .a as extension for shared libraries through AIX4.2
14732
 
      # and later when we are not doing run time linking.
14733
 
      library_names_spec='${libname}${release}.a $libname.a'
14734
 
      soname_spec='${libname}${release}${shared_ext}$major'
14735
 
    fi
14736
 
    shlibpath_var=LIBPATH
14737
 
  fi
14738
 
  ;;
14739
 
 
14740
 
amigaos*)
14741
 
  library_names_spec='$libname.ixlibrary $libname.a'
14742
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
14743
 
  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'
14744
 
  ;;
14745
 
 
14746
 
beos*)
14747
 
  library_names_spec='${libname}${shared_ext}'
14748
 
  dynamic_linker="$host_os ld.so"
14749
 
  shlibpath_var=LIBRARY_PATH
14750
 
  ;;
14751
 
 
14752
 
bsdi4*)
14753
 
  version_type=linux
14754
 
  need_version=no
14755
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14756
 
  soname_spec='${libname}${release}${shared_ext}$major'
14757
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14758
 
  shlibpath_var=LD_LIBRARY_PATH
14759
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14760
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14761
 
  # the default ld.so.conf also contains /usr/contrib/lib and
14762
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14763
 
  # libtool to hard-code these into programs
14764
 
  ;;
14765
 
 
14766
 
cygwin* | mingw* | pw32*)
14767
 
  version_type=windows
14768
 
  shrext_cmds=".dll"
14769
 
  need_version=no
14770
 
  need_lib_prefix=no
14771
 
 
14772
 
  case $GCC,$host_os in
14773
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
14774
 
    library_names_spec='$libname.dll.a'
14775
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14776
 
    postinstall_cmds='base_file=`basename \${file}`~
14777
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14778
 
      dldir=$destdir/`dirname \$dlpath`~
14779
 
      test -d \$dldir || mkdir -p \$dldir~
14780
 
      $install_prog $dir/$dlname \$dldir/$dlname'
14781
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14782
 
      dlpath=$dir/\$dldll~
14783
 
       $rm \$dlpath'
14784
 
    shlibpath_overrides_runpath=yes
14785
 
 
14786
 
    case $host_os in
14787
 
    cygwin*)
14788
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14789
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14790
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14791
 
      ;;
14792
 
    mingw*)
14793
 
      # MinGW DLLs use traditional 'lib' prefix
14794
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14795
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14796
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14797
 
        # It is most probably a Windows format PATH printed by
14798
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
14799
 
        # path with ; separators, and with drive letters. We can handle the
14800
 
        # drive letters (cygwin fileutils understands them), so leave them,
14801
 
        # especially as we might pass files found there to a mingw objdump,
14802
 
        # which wouldn't understand a cygwinified path. Ahh.
14803
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14804
 
      else
14805
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14806
 
      fi
14807
 
      ;;
14808
 
    pw32*)
14809
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
14810
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14811
 
      ;;
14812
 
    esac
14813
 
    ;;
14814
 
 
14815
 
  *)
14816
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14817
 
    ;;
14818
 
  esac
14819
 
  dynamic_linker='Win32 ld.exe'
14820
 
  # FIXME: first we should search . and the directory the executable is in
14821
 
  shlibpath_var=PATH
14822
 
  ;;
14823
 
 
14824
 
darwin* | rhapsody*)
14825
 
  dynamic_linker="$host_os dyld"
14826
 
  version_type=darwin
14827
 
  need_lib_prefix=no
14828
 
  need_version=no
14829
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14830
 
  soname_spec='${libname}${release}${major}$shared_ext'
14831
 
  shlibpath_overrides_runpath=yes
14832
 
  shlibpath_var=DYLD_LIBRARY_PATH
14833
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
14834
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14835
 
  if test "$GCC" = yes; then
14836
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
14837
 
  else
14838
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
14839
 
  fi
14840
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14841
 
  ;;
14842
 
 
14843
 
dgux*)
14844
 
  version_type=linux
14845
 
  need_lib_prefix=no
14846
 
  need_version=no
14847
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14848
 
  soname_spec='${libname}${release}${shared_ext}$major'
14849
 
  shlibpath_var=LD_LIBRARY_PATH
14850
 
  ;;
14851
 
 
14852
 
freebsd1*)
14853
 
  dynamic_linker=no
14854
 
  ;;
14855
 
 
14856
 
kfreebsd*-gnu)
14857
 
  version_type=linux
14858
 
  need_lib_prefix=no
14859
 
  need_version=no
14860
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14861
 
  soname_spec='${libname}${release}${shared_ext}$major'
14862
 
  shlibpath_var=LD_LIBRARY_PATH
14863
 
  shlibpath_overrides_runpath=no
14864
 
  hardcode_into_libs=yes
14865
 
  dynamic_linker='GNU ld.so'
14866
 
  ;;
14867
 
 
14868
 
freebsd*)
14869
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14870
 
  version_type=freebsd-$objformat
14871
 
  case $version_type in
14872
 
    freebsd-elf*)
14873
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14874
 
      need_version=no
14875
 
      need_lib_prefix=no
14876
 
      ;;
14877
 
    freebsd-*)
14878
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14879
 
      need_version=yes
14880
 
      ;;
14881
 
  esac
14882
 
  shlibpath_var=LD_LIBRARY_PATH
14883
 
  case $host_os in
14884
 
  freebsd2*)
14885
 
    shlibpath_overrides_runpath=yes
14886
 
    ;;
14887
 
  freebsd3.01* | freebsdelf3.01*)
14888
 
    shlibpath_overrides_runpath=yes
14889
 
    hardcode_into_libs=yes
14890
 
    ;;
14891
 
  *) # from 3.2 on
14892
 
    shlibpath_overrides_runpath=no
14893
 
    hardcode_into_libs=yes
14894
 
    ;;
14895
 
  esac
14896
 
  ;;
14897
 
 
14898
 
gnu*)
14899
 
  version_type=linux
14900
 
  need_lib_prefix=no
14901
 
  need_version=no
14902
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14903
 
  soname_spec='${libname}${release}${shared_ext}$major'
14904
 
  shlibpath_var=LD_LIBRARY_PATH
14905
 
  hardcode_into_libs=yes
14906
 
  ;;
14907
 
 
14908
 
hpux9* | hpux10* | hpux11*)
14909
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
14910
 
  # link against other versions.
14911
 
  version_type=sunos
14912
 
  need_lib_prefix=no
14913
 
  need_version=no
14914
 
  case "$host_cpu" in
14915
 
  ia64*)
14916
 
    shrext_cmds='.so'
14917
 
    hardcode_into_libs=yes
14918
 
    dynamic_linker="$host_os dld.so"
14919
 
    shlibpath_var=LD_LIBRARY_PATH
14920
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14921
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14922
 
    soname_spec='${libname}${release}${shared_ext}$major'
14923
 
    if test "X$HPUX_IA64_MODE" = X32; then
14924
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14925
 
    else
14926
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14927
 
    fi
14928
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14929
 
    ;;
14930
 
   hppa*64*)
14931
 
     shrext_cmds='.sl'
14932
 
     hardcode_into_libs=yes
14933
 
     dynamic_linker="$host_os dld.sl"
14934
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14935
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14936
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14937
 
     soname_spec='${libname}${release}${shared_ext}$major'
14938
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14939
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14940
 
     ;;
14941
 
   *)
14942
 
    shrext_cmds='.sl'
14943
 
    dynamic_linker="$host_os dld.sl"
14944
 
    shlibpath_var=SHLIB_PATH
14945
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14946
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14947
 
    soname_spec='${libname}${release}${shared_ext}$major'
14948
 
    ;;
14949
 
  esac
14950
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
14951
 
  postinstall_cmds='chmod 555 $lib'
14952
 
  ;;
14953
 
 
14954
 
irix5* | irix6* | nonstopux*)
14955
 
  case $host_os in
14956
 
    nonstopux*) version_type=nonstopux ;;
14957
 
    *)
14958
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
14959
 
                version_type=linux
14960
 
        else
14961
 
                version_type=irix
14962
 
        fi ;;
14963
 
  esac
14964
 
  need_lib_prefix=no
14965
 
  need_version=no
14966
 
  soname_spec='${libname}${release}${shared_ext}$major'
14967
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14968
 
  case $host_os in
14969
 
  irix5* | nonstopux*)
14970
 
    libsuff= shlibsuff=
14971
 
    ;;
14972
 
  *)
14973
 
    case $LD in # libtool.m4 will add one of these switches to LD
14974
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14975
 
      libsuff= shlibsuff= libmagic=32-bit;;
14976
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14977
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
14978
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14979
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
14980
 
    *) libsuff= shlibsuff= libmagic=never-match;;
14981
 
    esac
14982
 
    ;;
14983
 
  esac
14984
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14985
 
  shlibpath_overrides_runpath=no
14986
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14987
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14988
 
  hardcode_into_libs=yes
14989
 
  ;;
14990
 
 
14991
 
# No shared lib support for Linux oldld, aout, or coff.
14992
 
linux*oldld* | linux*aout* | linux*coff*)
14993
 
  dynamic_linker=no
14994
 
  ;;
14995
 
 
14996
 
# This must be Linux ELF.
14997
 
linux*)
14998
 
  version_type=linux
14999
 
  need_lib_prefix=no
15000
 
  need_version=no
15001
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15002
 
  soname_spec='${libname}${release}${shared_ext}$major'
15003
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15004
 
  shlibpath_var=LD_LIBRARY_PATH
15005
 
  shlibpath_overrides_runpath=no
15006
 
  # This implies no fast_install, which is unacceptable.
15007
 
  # Some rework will be needed to allow for fast_install
15008
 
  # before this can be enabled.
15009
 
  hardcode_into_libs=yes
15010
 
 
15011
 
  # Append ld.so.conf contents to the search path
15012
 
  if test -f /etc/ld.so.conf; then
15013
 
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
15014
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15015
 
  fi
15016
 
 
15017
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
15018
 
  # powerpc, because MkLinux only supported shared libraries with the
15019
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
15020
 
  # most powerpc-linux boxes support dynamic linking these days and
15021
 
  # people can always --disable-shared, the test was removed, and we
15022
 
  # assume the GNU/Linux dynamic linker is in use.
15023
 
  dynamic_linker='GNU/Linux ld.so'
15024
 
  ;;
15025
 
 
15026
 
netbsdelf*-gnu)
15027
 
  version_type=linux
15028
 
  need_lib_prefix=no
15029
 
  need_version=no
15030
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15031
 
  soname_spec='${libname}${release}${shared_ext}$major'
15032
 
  shlibpath_var=LD_LIBRARY_PATH
15033
 
  shlibpath_overrides_runpath=no
15034
 
  hardcode_into_libs=yes
15035
 
  dynamic_linker='NetBSD ld.elf_so'
15036
 
  ;;
15037
 
 
15038
 
knetbsd*-gnu)
15039
 
  version_type=linux
15040
 
  need_lib_prefix=no
15041
 
  need_version=no
15042
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15043
 
  soname_spec='${libname}${release}${shared_ext}$major'
15044
 
  shlibpath_var=LD_LIBRARY_PATH
15045
 
  shlibpath_overrides_runpath=no
15046
 
  hardcode_into_libs=yes
15047
 
  dynamic_linker='GNU ld.so'
15048
 
  ;;
15049
 
 
15050
 
netbsd*)
15051
 
  version_type=sunos
15052
 
  need_lib_prefix=no
15053
 
  need_version=no
15054
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15055
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15056
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15057
 
    dynamic_linker='NetBSD (a.out) ld.so'
15058
 
  else
15059
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15060
 
    soname_spec='${libname}${release}${shared_ext}$major'
15061
 
    dynamic_linker='NetBSD ld.elf_so'
15062
 
  fi
15063
 
  shlibpath_var=LD_LIBRARY_PATH
15064
 
  shlibpath_overrides_runpath=yes
15065
 
  hardcode_into_libs=yes
15066
 
  ;;
15067
 
 
15068
 
newsos6)
15069
 
  version_type=linux
15070
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15071
 
  shlibpath_var=LD_LIBRARY_PATH
15072
 
  shlibpath_overrides_runpath=yes
15073
 
  ;;
15074
 
 
15075
 
nto-qnx*)
15076
 
  version_type=linux
15077
 
  need_lib_prefix=no
15078
 
  need_version=no
15079
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15080
 
  soname_spec='${libname}${release}${shared_ext}$major'
15081
 
  shlibpath_var=LD_LIBRARY_PATH
15082
 
  shlibpath_overrides_runpath=yes
15083
 
  ;;
15084
 
 
15085
 
openbsd*)
15086
 
  version_type=sunos
15087
 
  need_lib_prefix=no
15088
 
  need_version=yes
15089
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15090
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15091
 
  shlibpath_var=LD_LIBRARY_PATH
15092
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15093
 
    case $host_os in
15094
 
      openbsd2.[89] | openbsd2.[89].*)
15095
 
        shlibpath_overrides_runpath=no
15096
 
        ;;
15097
 
      *)
15098
 
        shlibpath_overrides_runpath=yes
15099
 
        ;;
15100
 
      esac
15101
 
  else
15102
 
    shlibpath_overrides_runpath=yes
15103
 
  fi
15104
 
  ;;
15105
 
 
15106
 
os2*)
15107
 
  libname_spec='$name'
15108
 
  shrext_cmds=".dll"
15109
 
  need_lib_prefix=no
15110
 
  library_names_spec='$libname${shared_ext} $libname.a'
15111
 
  dynamic_linker='OS/2 ld.exe'
15112
 
  shlibpath_var=LIBPATH
15113
 
  ;;
15114
 
 
15115
 
osf3* | osf4* | osf5*)
15116
 
  version_type=osf
15117
 
  need_lib_prefix=no
15118
 
  need_version=no
15119
 
  soname_spec='${libname}${release}${shared_ext}$major'
15120
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15121
 
  shlibpath_var=LD_LIBRARY_PATH
15122
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15123
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15124
 
  ;;
15125
 
 
15126
 
sco3.2v5*)
15127
 
  version_type=osf
15128
 
  soname_spec='${libname}${release}${shared_ext}$major'
15129
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15130
 
  shlibpath_var=LD_LIBRARY_PATH
15131
 
  ;;
15132
 
 
15133
 
solaris*)
15134
 
  version_type=linux
15135
 
  need_lib_prefix=no
15136
 
  need_version=no
15137
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15138
 
  soname_spec='${libname}${release}${shared_ext}$major'
15139
 
  shlibpath_var=LD_LIBRARY_PATH
15140
 
  shlibpath_overrides_runpath=yes
15141
 
  hardcode_into_libs=yes
15142
 
  # ldd complains unless libraries are executable
15143
 
  postinstall_cmds='chmod +x $lib'
15144
 
  ;;
15145
 
 
15146
 
sunos4*)
15147
 
  version_type=sunos
15148
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15149
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15150
 
  shlibpath_var=LD_LIBRARY_PATH
15151
 
  shlibpath_overrides_runpath=yes
15152
 
  if test "$with_gnu_ld" = yes; then
15153
 
    need_lib_prefix=no
15154
 
  fi
15155
 
  need_version=yes
15156
 
  ;;
15157
 
 
15158
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15159
 
  version_type=linux
15160
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15161
 
  soname_spec='${libname}${release}${shared_ext}$major'
15162
 
  shlibpath_var=LD_LIBRARY_PATH
15163
 
  case $host_vendor in
15164
 
    sni)
15165
 
      shlibpath_overrides_runpath=no
15166
 
      need_lib_prefix=no
15167
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
15168
 
      runpath_var=LD_RUN_PATH
15169
 
      ;;
15170
 
    siemens)
15171
 
      need_lib_prefix=no
15172
 
      ;;
15173
 
    motorola)
15174
 
      need_lib_prefix=no
15175
 
      need_version=no
15176
 
      shlibpath_overrides_runpath=no
15177
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15178
 
      ;;
15179
 
  esac
15180
 
  ;;
15181
 
 
15182
 
sysv4*MP*)
15183
 
  if test -d /usr/nec ;then
15184
 
    version_type=linux
15185
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15186
 
    soname_spec='$libname${shared_ext}.$major'
15187
 
    shlibpath_var=LD_LIBRARY_PATH
15188
 
  fi
15189
 
  ;;
15190
 
 
15191
 
uts4*)
15192
 
  version_type=linux
15193
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15194
 
  soname_spec='${libname}${release}${shared_ext}$major'
15195
 
  shlibpath_var=LD_LIBRARY_PATH
15196
 
  ;;
15197
 
 
15198
 
*)
15199
 
  dynamic_linker=no
15200
 
  ;;
15201
 
esac
15202
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15203
 
echo "${ECHO_T}$dynamic_linker" >&6
15204
 
test "$dynamic_linker" = no && can_build_shared=no
15205
 
 
15206
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15207
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15208
 
hardcode_action_CXX=
15209
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
15210
 
   test -n "$runpath_var CXX" || \
15211
 
   test "X$hardcode_automatic_CXX"="Xyes" ; then
15212
 
 
15213
 
  # We can hardcode non-existant directories.
15214
 
  if test "$hardcode_direct_CXX" != no &&
15215
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
15216
 
     # have to relink, otherwise we might link with an installed library
15217
 
     # when we should be linking with a yet-to-be-installed one
15218
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15219
 
     test "$hardcode_minus_L_CXX" != no; then
15220
 
    # Linking always hardcodes the temporary library directory.
15221
 
    hardcode_action_CXX=relink
15222
 
  else
15223
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
15224
 
    hardcode_action_CXX=immediate
15225
 
  fi
15226
 
else
15227
 
  # We cannot hardcode anything, or else we can only hardcode existing
15228
 
  # directories.
15229
 
  hardcode_action_CXX=unsupported
15230
 
fi
15231
 
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15232
 
echo "${ECHO_T}$hardcode_action_CXX" >&6
15233
 
 
15234
 
if test "$hardcode_action_CXX" = relink; then
15235
 
  # Fast installation is not supported
15236
 
  enable_fast_install=no
15237
 
elif test "$shlibpath_overrides_runpath" = yes ||
15238
 
     test "$enable_shared" = no; then
15239
 
  # Fast installation is not necessary
15240
 
  enable_fast_install=needless
15241
 
fi
15242
 
 
15243
 
striplib=
15244
 
old_striplib=
15245
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15246
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
15247
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
15248
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15249
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15250
 
  echo "$as_me:$LINENO: result: yes" >&5
15251
 
echo "${ECHO_T}yes" >&6
15252
 
else
15253
 
# FIXME - insert some real tests, host_os isn't really good enough
15254
 
  case $host_os in
15255
 
   darwin*)
15256
 
       if test -n "$STRIP" ; then
15257
 
         striplib="$STRIP -x"
15258
 
         echo "$as_me:$LINENO: result: yes" >&5
15259
 
echo "${ECHO_T}yes" >&6
15260
 
       else
15261
 
  echo "$as_me:$LINENO: result: no" >&5
15262
 
echo "${ECHO_T}no" >&6
15263
 
fi
15264
 
       ;;
15265
 
   *)
15266
 
  echo "$as_me:$LINENO: result: no" >&5
15267
 
echo "${ECHO_T}no" >&6
15268
 
    ;;
15269
 
  esac
15270
 
fi
15271
 
 
15272
 
if test "x$enable_dlopen" != xyes; then
15273
 
  enable_dlopen=unknown
15274
 
  enable_dlopen_self=unknown
15275
 
  enable_dlopen_self_static=unknown
15276
 
else
15277
 
  lt_cv_dlopen=no
15278
 
  lt_cv_dlopen_libs=
15279
 
 
15280
 
  case $host_os in
15281
 
  beos*)
15282
 
    lt_cv_dlopen="load_add_on"
15283
 
    lt_cv_dlopen_libs=
15284
 
    lt_cv_dlopen_self=yes
15285
 
    ;;
15286
 
 
15287
 
  mingw* | pw32*)
15288
 
    lt_cv_dlopen="LoadLibrary"
15289
 
    lt_cv_dlopen_libs=
15290
 
   ;;
15291
 
 
15292
 
  cygwin*)
15293
 
    lt_cv_dlopen="dlopen"
15294
 
    lt_cv_dlopen_libs=
15295
 
   ;;
15296
 
 
15297
 
  darwin*)
15298
 
  # if libdl is installed we need to link against it
15299
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15300
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
15301
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15302
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15303
 
else
15304
 
  ac_check_lib_save_LIBS=$LIBS
15305
 
LIBS="-ldl  $LIBS"
15306
 
cat >conftest.$ac_ext <<_ACEOF
15307
 
/* confdefs.h.  */
15308
 
_ACEOF
15309
 
cat confdefs.h >>conftest.$ac_ext
15310
 
cat >>conftest.$ac_ext <<_ACEOF
15311
 
/* end confdefs.h.  */
15312
 
 
15313
 
/* Override any gcc2 internal prototype to avoid an error.  */
15314
 
#ifdef __cplusplus
15315
 
extern "C"
15316
 
#endif
15317
 
/* We use char because int might match the return type of a gcc2
15318
 
   builtin and then its argument prototype would still apply.  */
15319
 
char dlopen ();
15320
 
int
15321
 
main ()
15322
 
{
15323
 
dlopen ();
15324
 
  ;
15325
 
  return 0;
15326
 
}
15327
 
_ACEOF
15328
 
rm -f conftest.$ac_objext conftest$ac_exeext
15329
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15330
 
  (eval $ac_link) 2>conftest.er1
15331
 
  ac_status=$?
15332
 
  grep -v '^ *+' conftest.er1 >conftest.err
15333
 
  rm -f conftest.er1
15334
 
  cat conftest.err >&5
15335
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15336
 
  (exit $ac_status); } &&
15337
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
15338
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15339
 
  (eval $ac_try) 2>&5
15340
 
  ac_status=$?
15341
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15342
 
  (exit $ac_status); }; } &&
15343
 
         { ac_try='test -s conftest$ac_exeext'
15344
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15345
 
  (eval $ac_try) 2>&5
15346
 
  ac_status=$?
15347
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15348
 
  (exit $ac_status); }; }; then
15349
 
  ac_cv_lib_dl_dlopen=yes
15350
 
else
15351
 
  echo "$as_me: failed program was:" >&5
15352
 
sed 's/^/| /' conftest.$ac_ext >&5
15353
 
 
15354
 
ac_cv_lib_dl_dlopen=no
15355
 
fi
15356
 
rm -f conftest.err conftest.$ac_objext \
15357
 
      conftest$ac_exeext conftest.$ac_ext
15358
 
LIBS=$ac_check_lib_save_LIBS
15359
 
fi
15360
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15361
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
15362
 
if test $ac_cv_lib_dl_dlopen = yes; then
15363
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15364
 
else
15365
 
 
15366
 
    lt_cv_dlopen="dyld"
15367
 
    lt_cv_dlopen_libs=
15368
 
    lt_cv_dlopen_self=yes
15369
 
 
15370
 
fi
15371
 
 
15372
 
   ;;
15373
 
 
15374
 
  *)
15375
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
15376
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
15377
 
if test "${ac_cv_func_shl_load+set}" = set; then
15378
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15379
 
else
15380
 
  cat >conftest.$ac_ext <<_ACEOF
15381
 
/* confdefs.h.  */
15382
 
_ACEOF
15383
 
cat confdefs.h >>conftest.$ac_ext
15384
 
cat >>conftest.$ac_ext <<_ACEOF
15385
 
/* end confdefs.h.  */
15386
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
15387
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15388
 
#define shl_load innocuous_shl_load
15389
 
 
15390
 
/* System header to define __stub macros and hopefully few prototypes,
15391
 
    which can conflict with char shl_load (); below.
15392
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15393
 
    <limits.h> exists even on freestanding compilers.  */
15394
 
 
15395
 
#ifdef __STDC__
15396
 
# include <limits.h>
15397
 
#else
15398
 
# include <assert.h>
15399
 
#endif
15400
 
 
15401
 
#undef shl_load
15402
 
 
15403
 
/* Override any gcc2 internal prototype to avoid an error.  */
15404
 
#ifdef __cplusplus
15405
 
extern "C"
15406
 
{
15407
 
#endif
15408
 
/* We use char because int might match the return type of a gcc2
15409
 
   builtin and then its argument prototype would still apply.  */
15410
 
char shl_load ();
15411
 
/* The GNU C library defines this for functions which it implements
15412
 
    to always fail with ENOSYS.  Some functions are actually named
15413
 
    something starting with __ and the normal name is an alias.  */
15414
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
15415
 
choke me
15416
 
#else
15417
 
char (*f) () = shl_load;
15418
 
#endif
15419
 
#ifdef __cplusplus
15420
 
}
15421
 
#endif
15422
 
 
15423
 
int
15424
 
main ()
15425
 
{
15426
 
return f != shl_load;
15427
 
  ;
15428
 
  return 0;
15429
 
}
15430
 
_ACEOF
15431
 
rm -f conftest.$ac_objext conftest$ac_exeext
15432
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15433
 
  (eval $ac_link) 2>conftest.er1
15434
 
  ac_status=$?
15435
 
  grep -v '^ *+' conftest.er1 >conftest.err
15436
 
  rm -f conftest.er1
15437
 
  cat conftest.err >&5
15438
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15439
 
  (exit $ac_status); } &&
15440
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
15441
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15442
 
  (eval $ac_try) 2>&5
15443
 
  ac_status=$?
15444
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15445
 
  (exit $ac_status); }; } &&
15446
 
         { ac_try='test -s conftest$ac_exeext'
15447
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15448
 
  (eval $ac_try) 2>&5
15449
 
  ac_status=$?
15450
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451
 
  (exit $ac_status); }; }; then
15452
 
  ac_cv_func_shl_load=yes
15453
 
else
15454
 
  echo "$as_me: failed program was:" >&5
15455
 
sed 's/^/| /' conftest.$ac_ext >&5
15456
 
 
15457
 
ac_cv_func_shl_load=no
15458
 
fi
15459
 
rm -f conftest.err conftest.$ac_objext \
15460
 
      conftest$ac_exeext conftest.$ac_ext
15461
 
fi
15462
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
15463
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
15464
 
if test $ac_cv_func_shl_load = yes; then
15465
 
  lt_cv_dlopen="shl_load"
15466
 
else
15467
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
15468
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
15469
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
15470
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15471
 
else
15472
 
  ac_check_lib_save_LIBS=$LIBS
15473
 
LIBS="-ldld  $LIBS"
15474
 
cat >conftest.$ac_ext <<_ACEOF
15475
 
/* confdefs.h.  */
15476
 
_ACEOF
15477
 
cat confdefs.h >>conftest.$ac_ext
15478
 
cat >>conftest.$ac_ext <<_ACEOF
15479
 
/* end confdefs.h.  */
15480
 
 
15481
 
/* Override any gcc2 internal prototype to avoid an error.  */
15482
 
#ifdef __cplusplus
15483
 
extern "C"
15484
 
#endif
15485
 
/* We use char because int might match the return type of a gcc2
15486
 
   builtin and then its argument prototype would still apply.  */
15487
 
char shl_load ();
15488
 
int
15489
 
main ()
15490
 
{
15491
 
shl_load ();
15492
 
  ;
15493
 
  return 0;
15494
 
}
15495
 
_ACEOF
15496
 
rm -f conftest.$ac_objext conftest$ac_exeext
15497
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15498
 
  (eval $ac_link) 2>conftest.er1
15499
 
  ac_status=$?
15500
 
  grep -v '^ *+' conftest.er1 >conftest.err
15501
 
  rm -f conftest.er1
15502
 
  cat conftest.err >&5
15503
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15504
 
  (exit $ac_status); } &&
15505
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
15506
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15507
 
  (eval $ac_try) 2>&5
15508
 
  ac_status=$?
15509
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15510
 
  (exit $ac_status); }; } &&
15511
 
         { ac_try='test -s conftest$ac_exeext'
15512
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15513
 
  (eval $ac_try) 2>&5
15514
 
  ac_status=$?
15515
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15516
 
  (exit $ac_status); }; }; then
15517
 
  ac_cv_lib_dld_shl_load=yes
15518
 
else
15519
 
  echo "$as_me: failed program was:" >&5
15520
 
sed 's/^/| /' conftest.$ac_ext >&5
15521
 
 
15522
 
ac_cv_lib_dld_shl_load=no
15523
 
fi
15524
 
rm -f conftest.err conftest.$ac_objext \
15525
 
      conftest$ac_exeext conftest.$ac_ext
15526
 
LIBS=$ac_check_lib_save_LIBS
15527
 
fi
15528
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
15529
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
15530
 
if test $ac_cv_lib_dld_shl_load = yes; then
15531
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
15532
 
else
15533
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
15534
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
15535
 
if test "${ac_cv_func_dlopen+set}" = set; then
15536
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15537
 
else
15538
 
  cat >conftest.$ac_ext <<_ACEOF
15539
 
/* confdefs.h.  */
15540
 
_ACEOF
15541
 
cat confdefs.h >>conftest.$ac_ext
15542
 
cat >>conftest.$ac_ext <<_ACEOF
15543
 
/* end confdefs.h.  */
15544
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
15545
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15546
 
#define dlopen innocuous_dlopen
15547
 
 
15548
 
/* System header to define __stub macros and hopefully few prototypes,
15549
 
    which can conflict with char dlopen (); below.
15550
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15551
 
    <limits.h> exists even on freestanding compilers.  */
15552
 
 
15553
 
#ifdef __STDC__
15554
 
# include <limits.h>
15555
 
#else
15556
 
# include <assert.h>
15557
 
#endif
15558
 
 
15559
 
#undef dlopen
15560
 
 
15561
 
/* Override any gcc2 internal prototype to avoid an error.  */
15562
 
#ifdef __cplusplus
15563
 
extern "C"
15564
 
{
15565
 
#endif
15566
 
/* We use char because int might match the return type of a gcc2
15567
 
   builtin and then its argument prototype would still apply.  */
15568
 
char dlopen ();
15569
 
/* The GNU C library defines this for functions which it implements
15570
 
    to always fail with ENOSYS.  Some functions are actually named
15571
 
    something starting with __ and the normal name is an alias.  */
15572
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
15573
 
choke me
15574
 
#else
15575
 
char (*f) () = dlopen;
15576
 
#endif
15577
 
#ifdef __cplusplus
15578
 
}
15579
 
#endif
15580
 
 
15581
 
int
15582
 
main ()
15583
 
{
15584
 
return f != dlopen;
15585
 
  ;
15586
 
  return 0;
15587
 
}
15588
 
_ACEOF
15589
 
rm -f conftest.$ac_objext conftest$ac_exeext
15590
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15591
 
  (eval $ac_link) 2>conftest.er1
15592
 
  ac_status=$?
15593
 
  grep -v '^ *+' conftest.er1 >conftest.err
15594
 
  rm -f conftest.er1
15595
 
  cat conftest.err >&5
15596
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15597
 
  (exit $ac_status); } &&
15598
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
15599
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15600
 
  (eval $ac_try) 2>&5
15601
 
  ac_status=$?
15602
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15603
 
  (exit $ac_status); }; } &&
15604
 
         { ac_try='test -s conftest$ac_exeext'
15605
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15606
 
  (eval $ac_try) 2>&5
15607
 
  ac_status=$?
15608
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15609
 
  (exit $ac_status); }; }; then
15610
 
  ac_cv_func_dlopen=yes
15611
 
else
15612
 
  echo "$as_me: failed program was:" >&5
15613
 
sed 's/^/| /' conftest.$ac_ext >&5
15614
 
 
15615
 
ac_cv_func_dlopen=no
15616
 
fi
15617
 
rm -f conftest.err conftest.$ac_objext \
15618
 
      conftest$ac_exeext conftest.$ac_ext
15619
 
fi
15620
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
15621
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
15622
 
if test $ac_cv_func_dlopen = yes; then
15623
 
  lt_cv_dlopen="dlopen"
15624
 
else
15625
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15626
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
15627
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15628
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15629
 
else
15630
 
  ac_check_lib_save_LIBS=$LIBS
15631
 
LIBS="-ldl  $LIBS"
15632
 
cat >conftest.$ac_ext <<_ACEOF
15633
 
/* confdefs.h.  */
15634
 
_ACEOF
15635
 
cat confdefs.h >>conftest.$ac_ext
15636
 
cat >>conftest.$ac_ext <<_ACEOF
15637
 
/* end confdefs.h.  */
15638
 
 
15639
 
/* Override any gcc2 internal prototype to avoid an error.  */
15640
 
#ifdef __cplusplus
15641
 
extern "C"
15642
 
#endif
15643
 
/* We use char because int might match the return type of a gcc2
15644
 
   builtin and then its argument prototype would still apply.  */
15645
 
char dlopen ();
15646
 
int
15647
 
main ()
15648
 
{
15649
 
dlopen ();
15650
 
  ;
15651
 
  return 0;
15652
 
}
15653
 
_ACEOF
15654
 
rm -f conftest.$ac_objext conftest$ac_exeext
15655
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15656
 
  (eval $ac_link) 2>conftest.er1
15657
 
  ac_status=$?
15658
 
  grep -v '^ *+' conftest.er1 >conftest.err
15659
 
  rm -f conftest.er1
15660
 
  cat conftest.err >&5
15661
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15662
 
  (exit $ac_status); } &&
15663
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
15664
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15665
 
  (eval $ac_try) 2>&5
15666
 
  ac_status=$?
15667
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15668
 
  (exit $ac_status); }; } &&
15669
 
         { ac_try='test -s conftest$ac_exeext'
15670
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15671
 
  (eval $ac_try) 2>&5
15672
 
  ac_status=$?
15673
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15674
 
  (exit $ac_status); }; }; then
15675
 
  ac_cv_lib_dl_dlopen=yes
15676
 
else
15677
 
  echo "$as_me: failed program was:" >&5
15678
 
sed 's/^/| /' conftest.$ac_ext >&5
15679
 
 
15680
 
ac_cv_lib_dl_dlopen=no
15681
 
fi
15682
 
rm -f conftest.err conftest.$ac_objext \
15683
 
      conftest$ac_exeext conftest.$ac_ext
15684
 
LIBS=$ac_check_lib_save_LIBS
15685
 
fi
15686
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15687
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
15688
 
if test $ac_cv_lib_dl_dlopen = yes; then
15689
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15690
 
else
15691
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
15692
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
15693
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
15694
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15695
 
else
15696
 
  ac_check_lib_save_LIBS=$LIBS
15697
 
LIBS="-lsvld  $LIBS"
15698
 
cat >conftest.$ac_ext <<_ACEOF
15699
 
/* confdefs.h.  */
15700
 
_ACEOF
15701
 
cat confdefs.h >>conftest.$ac_ext
15702
 
cat >>conftest.$ac_ext <<_ACEOF
15703
 
/* end confdefs.h.  */
15704
 
 
15705
 
/* Override any gcc2 internal prototype to avoid an error.  */
15706
 
#ifdef __cplusplus
15707
 
extern "C"
15708
 
#endif
15709
 
/* We use char because int might match the return type of a gcc2
15710
 
   builtin and then its argument prototype would still apply.  */
15711
 
char dlopen ();
15712
 
int
15713
 
main ()
15714
 
{
15715
 
dlopen ();
15716
 
  ;
15717
 
  return 0;
15718
 
}
15719
 
_ACEOF
15720
 
rm -f conftest.$ac_objext conftest$ac_exeext
15721
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15722
 
  (eval $ac_link) 2>conftest.er1
15723
 
  ac_status=$?
15724
 
  grep -v '^ *+' conftest.er1 >conftest.err
15725
 
  rm -f conftest.er1
15726
 
  cat conftest.err >&5
15727
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15728
 
  (exit $ac_status); } &&
15729
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
15730
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15731
 
  (eval $ac_try) 2>&5
15732
 
  ac_status=$?
15733
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15734
 
  (exit $ac_status); }; } &&
15735
 
         { ac_try='test -s conftest$ac_exeext'
15736
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15737
 
  (eval $ac_try) 2>&5
15738
 
  ac_status=$?
15739
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15740
 
  (exit $ac_status); }; }; then
15741
 
  ac_cv_lib_svld_dlopen=yes
15742
 
else
15743
 
  echo "$as_me: failed program was:" >&5
15744
 
sed 's/^/| /' conftest.$ac_ext >&5
15745
 
 
15746
 
ac_cv_lib_svld_dlopen=no
15747
 
fi
15748
 
rm -f conftest.err conftest.$ac_objext \
15749
 
      conftest$ac_exeext conftest.$ac_ext
15750
 
LIBS=$ac_check_lib_save_LIBS
15751
 
fi
15752
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
15753
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
15754
 
if test $ac_cv_lib_svld_dlopen = yes; then
15755
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
15756
 
else
15757
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
15758
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
15759
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
15760
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15761
 
else
15762
 
  ac_check_lib_save_LIBS=$LIBS
15763
 
LIBS="-ldld  $LIBS"
15764
 
cat >conftest.$ac_ext <<_ACEOF
15765
 
/* confdefs.h.  */
15766
 
_ACEOF
15767
 
cat confdefs.h >>conftest.$ac_ext
15768
 
cat >>conftest.$ac_ext <<_ACEOF
15769
 
/* end confdefs.h.  */
15770
 
 
15771
 
/* Override any gcc2 internal prototype to avoid an error.  */
15772
 
#ifdef __cplusplus
15773
 
extern "C"
15774
 
#endif
15775
 
/* We use char because int might match the return type of a gcc2
15776
 
   builtin and then its argument prototype would still apply.  */
15777
 
char dld_link ();
15778
 
int
15779
 
main ()
15780
 
{
15781
 
dld_link ();
15782
 
  ;
15783
 
  return 0;
15784
 
}
15785
 
_ACEOF
15786
 
rm -f conftest.$ac_objext conftest$ac_exeext
15787
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15788
 
  (eval $ac_link) 2>conftest.er1
15789
 
  ac_status=$?
15790
 
  grep -v '^ *+' conftest.er1 >conftest.err
15791
 
  rm -f conftest.er1
15792
 
  cat conftest.err >&5
15793
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15794
 
  (exit $ac_status); } &&
15795
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
15796
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15797
 
  (eval $ac_try) 2>&5
15798
 
  ac_status=$?
15799
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15800
 
  (exit $ac_status); }; } &&
15801
 
         { ac_try='test -s conftest$ac_exeext'
15802
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15803
 
  (eval $ac_try) 2>&5
15804
 
  ac_status=$?
15805
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15806
 
  (exit $ac_status); }; }; then
15807
 
  ac_cv_lib_dld_dld_link=yes
15808
 
else
15809
 
  echo "$as_me: failed program was:" >&5
15810
 
sed 's/^/| /' conftest.$ac_ext >&5
15811
 
 
15812
 
ac_cv_lib_dld_dld_link=no
15813
 
fi
15814
 
rm -f conftest.err conftest.$ac_objext \
15815
 
      conftest$ac_exeext conftest.$ac_ext
15816
 
LIBS=$ac_check_lib_save_LIBS
15817
 
fi
15818
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
15819
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
15820
 
if test $ac_cv_lib_dld_dld_link = yes; then
15821
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
15822
 
fi
15823
 
 
15824
 
 
15825
 
fi
15826
 
 
15827
 
 
15828
 
fi
15829
 
 
15830
 
 
15831
 
fi
15832
 
 
15833
 
 
15834
 
fi
15835
 
 
15836
 
 
15837
 
fi
15838
 
 
15839
 
    ;;
15840
 
  esac
15841
 
 
15842
 
  if test "x$lt_cv_dlopen" != xno; then
15843
 
    enable_dlopen=yes
15844
 
  else
15845
 
    enable_dlopen=no
15846
 
  fi
15847
 
 
15848
 
  case $lt_cv_dlopen in
15849
 
  dlopen)
15850
 
    save_CPPFLAGS="$CPPFLAGS"
15851
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
15852
 
 
15853
 
    save_LDFLAGS="$LDFLAGS"
15854
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
15855
 
 
15856
 
    save_LIBS="$LIBS"
15857
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
15858
 
 
15859
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
15860
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
15861
 
if test "${lt_cv_dlopen_self+set}" = set; then
15862
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15863
 
else
15864
 
          if test "$cross_compiling" = yes; then :
15865
 
  lt_cv_dlopen_self=cross
15866
 
else
15867
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15868
 
  lt_status=$lt_dlunknown
15869
 
  cat > conftest.$ac_ext <<EOF
15870
 
#line 15870 "configure"
15871
 
#include "confdefs.h"
15872
 
 
15873
 
#if HAVE_DLFCN_H
15874
 
#include <dlfcn.h>
15875
 
#endif
15876
 
 
15877
 
#include <stdio.h>
15878
 
 
15879
 
#ifdef RTLD_GLOBAL
15880
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
15881
 
#else
15882
 
#  ifdef DL_GLOBAL
15883
 
#    define LT_DLGLOBAL         DL_GLOBAL
15884
 
#  else
15885
 
#    define LT_DLGLOBAL         0
15886
 
#  endif
15887
 
#endif
15888
 
 
15889
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15890
 
   find out it does not work in some platform. */
15891
 
#ifndef LT_DLLAZY_OR_NOW
15892
 
#  ifdef RTLD_LAZY
15893
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
15894
 
#  else
15895
 
#    ifdef DL_LAZY
15896
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
15897
 
#    else
15898
 
#      ifdef RTLD_NOW
15899
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
15900
 
#      else
15901
 
#        ifdef DL_NOW
15902
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
15903
 
#        else
15904
 
#          define LT_DLLAZY_OR_NOW      0
15905
 
#        endif
15906
 
#      endif
15907
 
#    endif
15908
 
#  endif
15909
 
#endif
15910
 
 
15911
 
#ifdef __cplusplus
15912
 
extern "C" void exit (int);
15913
 
#endif
15914
 
 
15915
 
void fnord() { int i=42;}
15916
 
int main ()
15917
 
{
15918
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15919
 
  int status = $lt_dlunknown;
15920
 
 
15921
 
  if (self)
15922
 
    {
15923
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
15924
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15925
 
      /* dlclose (self); */
15926
 
    }
15927
 
 
15928
 
    exit (status);
15929
 
}
15930
 
EOF
15931
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15932
 
  (eval $ac_link) 2>&5
15933
 
  ac_status=$?
15934
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15935
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
15936
 
    (./conftest; exit; ) 2>/dev/null
15937
 
    lt_status=$?
15938
 
    case x$lt_status in
15939
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
15940
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
15941
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
15942
 
    esac
15943
 
  else :
15944
 
    # compilation failed
15945
 
    lt_cv_dlopen_self=no
15946
 
  fi
15947
 
fi
15948
 
rm -fr conftest*
15949
 
 
15950
 
 
15951
 
fi
15952
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
15953
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
15954
 
 
15955
 
    if test "x$lt_cv_dlopen_self" = xyes; then
15956
 
      LDFLAGS="$LDFLAGS $link_static_flag"
15957
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
15958
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
15959
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
15960
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15961
 
else
15962
 
          if test "$cross_compiling" = yes; then :
15963
 
  lt_cv_dlopen_self_static=cross
15964
 
else
15965
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15966
 
  lt_status=$lt_dlunknown
15967
 
  cat > conftest.$ac_ext <<EOF
15968
 
#line 15968 "configure"
15969
 
#include "confdefs.h"
15970
 
 
15971
 
#if HAVE_DLFCN_H
15972
 
#include <dlfcn.h>
15973
 
#endif
15974
 
 
15975
 
#include <stdio.h>
15976
 
 
15977
 
#ifdef RTLD_GLOBAL
15978
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
15979
 
#else
15980
 
#  ifdef DL_GLOBAL
15981
 
#    define LT_DLGLOBAL         DL_GLOBAL
15982
 
#  else
15983
 
#    define LT_DLGLOBAL         0
15984
 
#  endif
15985
 
#endif
15986
 
 
15987
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15988
 
   find out it does not work in some platform. */
15989
 
#ifndef LT_DLLAZY_OR_NOW
15990
 
#  ifdef RTLD_LAZY
15991
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
15992
 
#  else
15993
 
#    ifdef DL_LAZY
15994
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
15995
 
#    else
15996
 
#      ifdef RTLD_NOW
15997
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
15998
 
#      else
15999
 
#        ifdef DL_NOW
16000
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
16001
 
#        else
16002
 
#          define LT_DLLAZY_OR_NOW      0
16003
 
#        endif
16004
 
#      endif
16005
 
#    endif
16006
 
#  endif
16007
 
#endif
16008
 
 
16009
 
#ifdef __cplusplus
16010
 
extern "C" void exit (int);
16011
 
#endif
16012
 
 
16013
 
void fnord() { int i=42;}
16014
 
int main ()
16015
 
{
16016
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16017
 
  int status = $lt_dlunknown;
16018
 
 
16019
 
  if (self)
16020
 
    {
16021
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
16022
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
16023
 
      /* dlclose (self); */
16024
 
    }
16025
 
 
16026
 
    exit (status);
16027
 
}
16028
 
EOF
16029
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16030
 
  (eval $ac_link) 2>&5
16031
 
  ac_status=$?
16032
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16033
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
16034
 
    (./conftest; exit; ) 2>/dev/null
16035
 
    lt_status=$?
16036
 
    case x$lt_status in
16037
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
16038
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
16039
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
16040
 
    esac
16041
 
  else :
16042
 
    # compilation failed
16043
 
    lt_cv_dlopen_self_static=no
16044
 
  fi
16045
 
fi
16046
 
rm -fr conftest*
16047
 
 
16048
 
 
16049
 
fi
16050
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
16051
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
16052
 
    fi
16053
 
 
16054
 
    CPPFLAGS="$save_CPPFLAGS"
16055
 
    LDFLAGS="$save_LDFLAGS"
16056
 
    LIBS="$save_LIBS"
16057
 
    ;;
16058
 
  esac
16059
 
 
16060
 
  case $lt_cv_dlopen_self in
16061
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
16062
 
  *) enable_dlopen_self=unknown ;;
16063
 
  esac
16064
 
 
16065
 
  case $lt_cv_dlopen_self_static in
16066
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
16067
 
  *) enable_dlopen_self_static=unknown ;;
16068
 
  esac
16069
 
fi
16070
 
 
16071
 
 
16072
 
# The else clause should only fire when bootstrapping the
16073
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
16074
 
# with your package, and you will get complaints that there are
16075
 
# no rules to generate ltmain.sh.
16076
 
if test -f "$ltmain"; then
16077
 
  # See if we are running on zsh, and set the options which allow our commands through
16078
 
  # without removal of \ escapes.
16079
 
  if test -n "${ZSH_VERSION+set}" ; then
16080
 
    setopt NO_GLOB_SUBST
16081
 
  fi
16082
 
  # Now quote all the things that may contain metacharacters while being
16083
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
16084
 
  # variables and quote the copies for generation of the libtool script.
16085
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
16086
 
    SED SHELL STRIP \
16087
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16088
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16089
 
    deplibs_check_method reload_flag reload_cmds need_locks \
16090
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16091
 
    lt_cv_sys_global_symbol_to_c_name_address \
16092
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16093
 
    old_postinstall_cmds old_postuninstall_cmds \
16094
 
    compiler_CXX \
16095
 
    CC_CXX \
16096
 
    LD_CXX \
16097
 
    lt_prog_compiler_wl_CXX \
16098
 
    lt_prog_compiler_pic_CXX \
16099
 
    lt_prog_compiler_static_CXX \
16100
 
    lt_prog_compiler_no_builtin_flag_CXX \
16101
 
    export_dynamic_flag_spec_CXX \
16102
 
    thread_safe_flag_spec_CXX \
16103
 
    whole_archive_flag_spec_CXX \
16104
 
    enable_shared_with_static_runtimes_CXX \
16105
 
    old_archive_cmds_CXX \
16106
 
    old_archive_from_new_cmds_CXX \
16107
 
    predep_objects_CXX \
16108
 
    postdep_objects_CXX \
16109
 
    predeps_CXX \
16110
 
    postdeps_CXX \
16111
 
    compiler_lib_search_path_CXX \
16112
 
    archive_cmds_CXX \
16113
 
    archive_expsym_cmds_CXX \
16114
 
    postinstall_cmds_CXX \
16115
 
    postuninstall_cmds_CXX \
16116
 
    old_archive_from_expsyms_cmds_CXX \
16117
 
    allow_undefined_flag_CXX \
16118
 
    no_undefined_flag_CXX \
16119
 
    export_symbols_cmds_CXX \
16120
 
    hardcode_libdir_flag_spec_CXX \
16121
 
    hardcode_libdir_flag_spec_ld_CXX \
16122
 
    hardcode_libdir_separator_CXX \
16123
 
    hardcode_automatic_CXX \
16124
 
    module_cmds_CXX \
16125
 
    module_expsym_cmds_CXX \
16126
 
    lt_cv_prog_compiler_c_o_CXX \
16127
 
    exclude_expsyms_CXX \
16128
 
    include_expsyms_CXX; do
16129
 
 
16130
 
    case $var in
16131
 
    old_archive_cmds_CXX | \
16132
 
    old_archive_from_new_cmds_CXX | \
16133
 
    archive_cmds_CXX | \
16134
 
    archive_expsym_cmds_CXX | \
16135
 
    module_cmds_CXX | \
16136
 
    module_expsym_cmds_CXX | \
16137
 
    old_archive_from_expsyms_cmds_CXX | \
16138
 
    export_symbols_cmds_CXX | \
16139
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
16140
 
    postinstall_cmds | postuninstall_cmds | \
16141
 
    old_postinstall_cmds | old_postuninstall_cmds | \
16142
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16143
 
      # Double-quote double-evaled strings.
16144
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16145
 
      ;;
16146
 
    *)
16147
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16148
 
      ;;
16149
 
    esac
16150
 
  done
16151
 
 
16152
 
  case $lt_echo in
16153
 
  *'\$0 --fallback-echo"')
16154
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16155
 
    ;;
16156
 
  esac
16157
 
 
16158
 
cfgfile="$ofile"
16159
 
 
16160
 
  cat <<__EOF__ >> "$cfgfile"
16161
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
16162
 
 
16163
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16164
 
 
16165
 
# Shell to use when invoking shell scripts.
16166
 
SHELL=$lt_SHELL
16167
 
 
16168
 
# Whether or not to build shared libraries.
16169
 
build_libtool_libs=$enable_shared
16170
 
 
16171
 
# Whether or not to build static libraries.
16172
 
build_old_libs=$enable_static
16173
 
 
16174
 
# Whether or not to add -lc for building shared libraries.
16175
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
16176
 
 
16177
 
# Whether or not to disallow shared libs when runtime libs are static
16178
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
16179
 
 
16180
 
# Whether or not to optimize for fast installation.
16181
 
fast_install=$enable_fast_install
16182
 
 
16183
 
# The host system.
16184
 
host_alias=$host_alias
16185
 
host=$host
16186
 
 
16187
 
# An echo program that does not interpret backslashes.
16188
 
echo=$lt_echo
16189
 
 
16190
 
# The archiver.
16191
 
AR=$lt_AR
16192
 
AR_FLAGS=$lt_AR_FLAGS
16193
 
 
16194
 
# A C compiler.
16195
 
LTCC=$lt_LTCC
16196
 
 
16197
 
# A language-specific compiler.
16198
 
CC=$lt_compiler_CXX
16199
 
 
16200
 
# Is the compiler the GNU C compiler?
16201
 
with_gcc=$GCC_CXX
16202
 
 
16203
 
# An ERE matcher.
16204
 
EGREP=$lt_EGREP
16205
 
 
16206
 
# The linker used to build libraries.
16207
 
LD=$lt_LD_CXX
16208
 
 
16209
 
# Whether we need hard or soft links.
16210
 
LN_S=$lt_LN_S
16211
 
 
16212
 
# A BSD-compatible nm program.
16213
 
NM=$lt_NM
16214
 
 
16215
 
# A symbol stripping program
16216
 
STRIP=$lt_STRIP
16217
 
 
16218
 
# Used to examine libraries when file_magic_cmd begins "file"
16219
 
MAGIC_CMD=$MAGIC_CMD
16220
 
 
16221
 
# Used on cygwin: DLL creation program.
16222
 
DLLTOOL="$DLLTOOL"
16223
 
 
16224
 
# Used on cygwin: object dumper.
16225
 
OBJDUMP="$OBJDUMP"
16226
 
 
16227
 
# Used on cygwin: assembler.
16228
 
AS="$AS"
16229
 
 
16230
 
# The name of the directory that contains temporary libtool files.
16231
 
objdir=$objdir
16232
 
 
16233
 
# How to create reloadable object files.
16234
 
reload_flag=$lt_reload_flag
16235
 
reload_cmds=$lt_reload_cmds
16236
 
 
16237
 
# How to pass a linker flag through the compiler.
16238
 
wl=$lt_lt_prog_compiler_wl_CXX
16239
 
 
16240
 
# Object file suffix (normally "o").
16241
 
objext="$ac_objext"
16242
 
 
16243
 
# Old archive suffix (normally "a").
16244
 
libext="$libext"
16245
 
 
16246
 
# Shared library suffix (normally ".so").
16247
 
shrext_cmds='$shrext_cmds'
16248
 
 
16249
 
# Executable file suffix (normally "").
16250
 
exeext="$exeext"
16251
 
 
16252
 
# Additional compiler flags for building library objects.
16253
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
16254
 
pic_mode=$pic_mode
16255
 
 
16256
 
# What is the maximum length of a command?
16257
 
max_cmd_len=$lt_cv_sys_max_cmd_len
16258
 
 
16259
 
# Does compiler simultaneously support -c and -o options?
16260
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
16261
 
 
16262
 
# Must we lock files when doing compilation ?
16263
 
need_locks=$lt_need_locks
16264
 
 
16265
 
# Do we need the lib prefix for modules?
16266
 
need_lib_prefix=$need_lib_prefix
16267
 
 
16268
 
# Do we need a version for libraries?
16269
 
need_version=$need_version
16270
 
 
16271
 
# Whether dlopen is supported.
16272
 
dlopen_support=$enable_dlopen
16273
 
 
16274
 
# Whether dlopen of programs is supported.
16275
 
dlopen_self=$enable_dlopen_self
16276
 
 
16277
 
# Whether dlopen of statically linked programs is supported.
16278
 
dlopen_self_static=$enable_dlopen_self_static
16279
 
 
16280
 
# Compiler flag to prevent dynamic linking.
16281
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
16282
 
 
16283
 
# Compiler flag to turn off builtin functions.
16284
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
16285
 
 
16286
 
# Compiler flag to allow reflexive dlopens.
16287
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
16288
 
 
16289
 
# Compiler flag to generate shared objects directly from archives.
16290
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
16291
 
 
16292
 
# Compiler flag to generate thread-safe objects.
16293
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
16294
 
 
16295
 
# Library versioning type.
16296
 
version_type=$version_type
16297
 
 
16298
 
# Format of library name prefix.
16299
 
libname_spec=$lt_libname_spec
16300
 
 
16301
 
# List of archive names.  First name is the real one, the rest are links.
16302
 
# The last name is the one that the linker finds with -lNAME.
16303
 
library_names_spec=$lt_library_names_spec
16304
 
 
16305
 
# The coded name of the library, if different from the real name.
16306
 
soname_spec=$lt_soname_spec
16307
 
 
16308
 
# Commands used to build and install an old-style archive.
16309
 
RANLIB=$lt_RANLIB
16310
 
old_archive_cmds=$lt_old_archive_cmds_CXX
16311
 
old_postinstall_cmds=$lt_old_postinstall_cmds
16312
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16313
 
 
16314
 
# Create an old-style archive from a shared archive.
16315
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
16316
 
 
16317
 
# Create a temporary old-style archive to link instead of a shared archive.
16318
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
16319
 
 
16320
 
# Commands used to build and install a shared archive.
16321
 
archive_cmds=$lt_archive_cmds_CXX
16322
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
16323
 
postinstall_cmds=$lt_postinstall_cmds
16324
 
postuninstall_cmds=$lt_postuninstall_cmds
16325
 
 
16326
 
# Commands used to build a loadable module (assumed same as above if empty)
16327
 
module_cmds=$lt_module_cmds_CXX
16328
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
16329
 
 
16330
 
# Commands to strip libraries.
16331
 
old_striplib=$lt_old_striplib
16332
 
striplib=$lt_striplib
16333
 
 
16334
 
# Dependencies to place before the objects being linked to create a
16335
 
# shared library.
16336
 
predep_objects=$lt_predep_objects_CXX
16337
 
 
16338
 
# Dependencies to place after the objects being linked to create a
16339
 
# shared library.
16340
 
postdep_objects=$lt_postdep_objects_CXX
16341
 
 
16342
 
# Dependencies to place before the objects being linked to create a
16343
 
# shared library.
16344
 
predeps=$lt_predeps_CXX
16345
 
 
16346
 
# Dependencies to place after the objects being linked to create a
16347
 
# shared library.
16348
 
postdeps=$lt_postdeps_CXX
16349
 
 
16350
 
# The library search path used internally by the compiler when linking
16351
 
# a shared library.
16352
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
16353
 
 
16354
 
# Method to check whether dependent libraries are shared objects.
16355
 
deplibs_check_method=$lt_deplibs_check_method
16356
 
 
16357
 
# Command to use when deplibs_check_method == file_magic.
16358
 
file_magic_cmd=$lt_file_magic_cmd
16359
 
 
16360
 
# Flag that allows shared libraries with undefined symbols to be built.
16361
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
16362
 
 
16363
 
# Flag that forces no undefined symbols.
16364
 
no_undefined_flag=$lt_no_undefined_flag_CXX
16365
 
 
16366
 
# Commands used to finish a libtool library installation in a directory.
16367
 
finish_cmds=$lt_finish_cmds
16368
 
 
16369
 
# Same as above, but a single script fragment to be evaled but not shown.
16370
 
finish_eval=$lt_finish_eval
16371
 
 
16372
 
# Take the output of nm and produce a listing of raw symbols and C names.
16373
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16374
 
 
16375
 
# Transform the output of nm in a proper C declaration
16376
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16377
 
 
16378
 
# Transform the output of nm in a C name address pair
16379
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16380
 
 
16381
 
# This is the shared library runtime path variable.
16382
 
runpath_var=$runpath_var
16383
 
 
16384
 
# This is the shared library path variable.
16385
 
shlibpath_var=$shlibpath_var
16386
 
 
16387
 
# Is shlibpath searched before the hard-coded library search path?
16388
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16389
 
 
16390
 
# How to hardcode a shared library path into an executable.
16391
 
hardcode_action=$hardcode_action_CXX
16392
 
 
16393
 
# Whether we should hardcode library paths into libraries.
16394
 
hardcode_into_libs=$hardcode_into_libs
16395
 
 
16396
 
# Flag to hardcode \$libdir into a binary during linking.
16397
 
# This must work even if \$libdir does not exist.
16398
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
16399
 
 
16400
 
# If ld is used when linking, flag to hardcode \$libdir into
16401
 
# a binary during linking. This must work even if \$libdir does
16402
 
# not exist.
16403
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
16404
 
 
16405
 
# Whether we need a single -rpath flag with a separated argument.
16406
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
16407
 
 
16408
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16409
 
# resulting binary.
16410
 
hardcode_direct=$hardcode_direct_CXX
16411
 
 
16412
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16413
 
# resulting binary.
16414
 
hardcode_minus_L=$hardcode_minus_L_CXX
16415
 
 
16416
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16417
 
# the resulting binary.
16418
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
16419
 
 
16420
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
16421
 
# and all subsequent libraries and executables linked against it.
16422
 
hardcode_automatic=$hardcode_automatic_CXX
16423
 
 
16424
 
# Variables whose values should be saved in libtool wrapper scripts and
16425
 
# restored at relink time.
16426
 
variables_saved_for_relink="$variables_saved_for_relink"
16427
 
 
16428
 
# Whether libtool must link a program against all its dependency libraries.
16429
 
link_all_deplibs=$link_all_deplibs_CXX
16430
 
 
16431
 
# Compile-time system search path for libraries
16432
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16433
 
 
16434
 
# Run-time system search path for libraries
16435
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16436
 
 
16437
 
# Fix the shell variable \$srcfile for the compiler.
16438
 
fix_srcfile_path="$fix_srcfile_path_CXX"
16439
 
 
16440
 
# Set to yes if exported symbols are required.
16441
 
always_export_symbols=$always_export_symbols_CXX
16442
 
 
16443
 
# The commands to list exported symbols.
16444
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
16445
 
 
16446
 
# The commands to extract the exported symbol list from a shared archive.
16447
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
16448
 
 
16449
 
# Symbols that should not be listed in the preloaded symbols.
16450
 
exclude_expsyms=$lt_exclude_expsyms_CXX
16451
 
 
16452
 
# Symbols that must always be exported.
16453
 
include_expsyms=$lt_include_expsyms_CXX
16454
 
 
16455
 
# ### END LIBTOOL TAG CONFIG: $tagname
16456
 
 
16457
 
__EOF__
16458
 
 
16459
 
 
16460
 
else
16461
 
  # If there is no Makefile yet, we rely on a make rule to execute
16462
 
  # `config.status --recheck' to rerun these tests and create the
16463
 
  # libtool script then.
16464
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16465
 
  if test -f "$ltmain_in"; then
16466
 
    test -f Makefile && make "$ltmain"
16467
 
  fi
16468
 
fi
16469
 
 
16470
 
 
16471
 
ac_ext=c
16472
 
ac_cpp='$CPP $CPPFLAGS'
16473
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16474
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16475
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16476
 
 
16477
 
CC=$lt_save_CC
16478
 
LDCXX=$LD
16479
 
LD=$lt_save_LD
16480
 
GCC=$lt_save_GCC
16481
 
with_gnu_ldcxx=$with_gnu_ld
16482
 
with_gnu_ld=$lt_save_with_gnu_ld
16483
 
lt_cv_path_LDCXX=$lt_cv_path_LD
16484
 
lt_cv_path_LD=$lt_save_path_LD
16485
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16486
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16487
 
 
16488
 
        else
16489
 
          tagname=""
16490
 
        fi
16491
 
        ;;
16492
 
 
16493
 
      F77)
16494
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
16495
 
 
16496
 
ac_ext=f
16497
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
16498
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16499
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
16500
 
 
16501
 
 
16502
 
archive_cmds_need_lc_F77=no
16503
 
allow_undefined_flag_F77=
16504
 
always_export_symbols_F77=no
16505
 
archive_expsym_cmds_F77=
16506
 
export_dynamic_flag_spec_F77=
16507
 
hardcode_direct_F77=no
16508
 
hardcode_libdir_flag_spec_F77=
16509
 
hardcode_libdir_flag_spec_ld_F77=
16510
 
hardcode_libdir_separator_F77=
16511
 
hardcode_minus_L_F77=no
16512
 
hardcode_automatic_F77=no
16513
 
module_cmds_F77=
16514
 
module_expsym_cmds_F77=
16515
 
link_all_deplibs_F77=unknown
16516
 
old_archive_cmds_F77=$old_archive_cmds
16517
 
no_undefined_flag_F77=
16518
 
whole_archive_flag_spec_F77=
16519
 
enable_shared_with_static_runtimes_F77=no
16520
 
 
16521
 
# Source file extension for f77 test sources.
16522
 
ac_ext=f
16523
 
 
16524
 
# Object file extension for compiled f77 test sources.
16525
 
objext=o
16526
 
objext_F77=$objext
16527
 
 
16528
 
# Code to be used in simple compile tests
16529
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
16530
 
 
16531
 
# Code to be used in simple link tests
16532
 
lt_simple_link_test_code="      program t\n      end\n"
16533
 
 
16534
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16535
 
 
16536
 
# If no C compiler was specified, use CC.
16537
 
LTCC=${LTCC-"$CC"}
16538
 
 
16539
 
# Allow CC to be a program name with arguments.
16540
 
compiler=$CC
16541
 
 
16542
 
 
16543
 
# Allow CC to be a program name with arguments.
16544
 
lt_save_CC="$CC"
16545
 
CC=${F77-"f77"}
16546
 
compiler=$CC
16547
 
compiler_F77=$CC
16548
 
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
16549
 
 
16550
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
16551
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
16552
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
16553
 
echo "${ECHO_T}$can_build_shared" >&6
16554
 
 
16555
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
16556
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
16557
 
test "$can_build_shared" = "no" && enable_shared=no
16558
 
 
16559
 
# On AIX, shared libraries and static libraries use the same namespace, and
16560
 
# are all built from PIC.
16561
 
case "$host_os" in
16562
 
aix3*)
16563
 
  test "$enable_shared" = yes && enable_static=no
16564
 
  if test -n "$RANLIB"; then
16565
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
16566
 
    postinstall_cmds='$RANLIB $lib'
16567
 
  fi
16568
 
  ;;
16569
 
aix4* | aix5*)
16570
 
  test "$enable_shared" = yes && enable_static=no
16571
 
  ;;
16572
 
esac
16573
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
16574
 
echo "${ECHO_T}$enable_shared" >&6
16575
 
 
16576
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
16577
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
16578
 
# Make sure either enable_shared or enable_static is yes.
16579
 
test "$enable_shared" = yes || enable_static=yes
16580
 
echo "$as_me:$LINENO: result: $enable_static" >&5
16581
 
echo "${ECHO_T}$enable_static" >&6
16582
 
 
16583
 
test "$ld_shlibs_F77" = no && can_build_shared=no
16584
 
 
16585
 
GCC_F77="$G77"
16586
 
LD_F77="$LD"
16587
 
 
16588
 
lt_prog_compiler_wl_F77=
16589
 
lt_prog_compiler_pic_F77=
16590
 
lt_prog_compiler_static_F77=
16591
 
 
16592
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16593
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
16594
 
 
16595
 
  if test "$GCC" = yes; then
16596
 
    lt_prog_compiler_wl_F77='-Wl,'
16597
 
    lt_prog_compiler_static_F77='-static'
16598
 
 
16599
 
    case $host_os in
16600
 
      aix*)
16601
 
      # All AIX code is PIC.
16602
 
      if test "$host_cpu" = ia64; then
16603
 
        # AIX 5 now supports IA64 processor
16604
 
        lt_prog_compiler_static_F77='-Bstatic'
16605
 
      fi
16606
 
      ;;
16607
 
 
16608
 
    amigaos*)
16609
 
      # FIXME: we need at least 68020 code to build shared libraries, but
16610
 
      # adding the `-m68020' flag to GCC prevents building anything better,
16611
 
      # like `-m68040'.
16612
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
16613
 
      ;;
16614
 
 
16615
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16616
 
      # PIC is the default for these OSes.
16617
 
      ;;
16618
 
 
16619
 
    mingw* | pw32* | os2*)
16620
 
      # This hack is so that the source file can tell whether it is being
16621
 
      # built for inclusion in a dll (and should export symbols for example).
16622
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
16623
 
      ;;
16624
 
 
16625
 
    darwin* | rhapsody*)
16626
 
      # PIC is the default on this platform
16627
 
      # Common symbols not allowed in MH_DYLIB files
16628
 
      lt_prog_compiler_pic_F77='-fno-common'
16629
 
      ;;
16630
 
 
16631
 
    msdosdjgpp*)
16632
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
16633
 
      # on systems that don't support them.
16634
 
      lt_prog_compiler_can_build_shared_F77=no
16635
 
      enable_shared=no
16636
 
      ;;
16637
 
 
16638
 
    sysv4*MP*)
16639
 
      if test -d /usr/nec; then
16640
 
        lt_prog_compiler_pic_F77=-Kconform_pic
16641
 
      fi
16642
 
      ;;
16643
 
 
16644
 
    hpux*)
16645
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16646
 
      # not for PA HP-UX.
16647
 
      case "$host_cpu" in
16648
 
      hppa*64*|ia64*)
16649
 
        # +Z the default
16650
 
        ;;
16651
 
      *)
16652
 
        lt_prog_compiler_pic_F77='-fPIC'
16653
 
        ;;
16654
 
      esac
16655
 
      ;;
16656
 
 
16657
 
    *)
16658
 
      lt_prog_compiler_pic_F77='-fPIC'
16659
 
      ;;
16660
 
    esac
16661
 
  else
16662
 
    # PORTME Check for flag to pass linker flags through the system compiler.
16663
 
    case $host_os in
16664
 
    aix*)
16665
 
      lt_prog_compiler_wl_F77='-Wl,'
16666
 
      if test "$host_cpu" = ia64; then
16667
 
        # AIX 5 now supports IA64 processor
16668
 
        lt_prog_compiler_static_F77='-Bstatic'
16669
 
      else
16670
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
16671
 
      fi
16672
 
      ;;
16673
 
 
16674
 
    mingw* | pw32* | os2*)
16675
 
      # This hack is so that the source file can tell whether it is being
16676
 
      # built for inclusion in a dll (and should export symbols for example).
16677
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
16678
 
      ;;
16679
 
 
16680
 
    hpux9* | hpux10* | hpux11*)
16681
 
      lt_prog_compiler_wl_F77='-Wl,'
16682
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16683
 
      # not for PA HP-UX.
16684
 
      case "$host_cpu" in
16685
 
      hppa*64*|ia64*)
16686
 
        # +Z the default
16687
 
        ;;
16688
 
      *)
16689
 
        lt_prog_compiler_pic_F77='+Z'
16690
 
        ;;
16691
 
      esac
16692
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
16693
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
16694
 
      ;;
16695
 
 
16696
 
    irix5* | irix6* | nonstopux*)
16697
 
      lt_prog_compiler_wl_F77='-Wl,'
16698
 
      # PIC (with -KPIC) is the default.
16699
 
      lt_prog_compiler_static_F77='-non_shared'
16700
 
      ;;
16701
 
 
16702
 
    newsos6)
16703
 
      lt_prog_compiler_pic_F77='-KPIC'
16704
 
      lt_prog_compiler_static_F77='-Bstatic'
16705
 
      ;;
16706
 
 
16707
 
    linux*)
16708
 
      case $CC in
16709
 
      icc* | ecc*)
16710
 
        lt_prog_compiler_wl_F77='-Wl,'
16711
 
        lt_prog_compiler_pic_F77='-KPIC'
16712
 
        lt_prog_compiler_static_F77='-static'
16713
 
        ;;
16714
 
      ccc*)
16715
 
        lt_prog_compiler_wl_F77='-Wl,'
16716
 
        # All Alpha code is PIC.
16717
 
        lt_prog_compiler_static_F77='-non_shared'
16718
 
        ;;
16719
 
      esac
16720
 
      ;;
16721
 
 
16722
 
    osf3* | osf4* | osf5*)
16723
 
      lt_prog_compiler_wl_F77='-Wl,'
16724
 
      # All OSF/1 code is PIC.
16725
 
      lt_prog_compiler_static_F77='-non_shared'
16726
 
      ;;
16727
 
 
16728
 
    sco3.2v5*)
16729
 
      lt_prog_compiler_pic_F77='-Kpic'
16730
 
      lt_prog_compiler_static_F77='-dn'
16731
 
      ;;
16732
 
 
16733
 
    solaris*)
16734
 
      lt_prog_compiler_wl_F77='-Wl,'
16735
 
      lt_prog_compiler_pic_F77='-KPIC'
16736
 
      lt_prog_compiler_static_F77='-Bstatic'
16737
 
      ;;
16738
 
 
16739
 
    sunos4*)
16740
 
      lt_prog_compiler_wl_F77='-Qoption ld '
16741
 
      lt_prog_compiler_pic_F77='-PIC'
16742
 
      lt_prog_compiler_static_F77='-Bstatic'
16743
 
      ;;
16744
 
 
16745
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16746
 
      lt_prog_compiler_wl_F77='-Wl,'
16747
 
      lt_prog_compiler_pic_F77='-KPIC'
16748
 
      lt_prog_compiler_static_F77='-Bstatic'
16749
 
      ;;
16750
 
 
16751
 
    sysv4*MP*)
16752
 
      if test -d /usr/nec ;then
16753
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
16754
 
        lt_prog_compiler_static_F77='-Bstatic'
16755
 
      fi
16756
 
      ;;
16757
 
 
16758
 
    uts4*)
16759
 
      lt_prog_compiler_pic_F77='-pic'
16760
 
      lt_prog_compiler_static_F77='-Bstatic'
16761
 
      ;;
16762
 
 
16763
 
    *)
16764
 
      lt_prog_compiler_can_build_shared_F77=no
16765
 
      ;;
16766
 
    esac
16767
 
  fi
16768
 
 
16769
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
16770
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
16771
 
 
16772
 
#
16773
 
# Check to make sure the PIC flag actually works.
16774
 
#
16775
 
if test -n "$lt_prog_compiler_pic_F77"; then
16776
 
 
16777
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
16778
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
16779
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
16780
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16781
 
else
16782
 
  lt_prog_compiler_pic_works_F77=no
16783
 
  ac_outfile=conftest.$ac_objext
16784
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16785
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
16786
 
   # Insert the option either (1) after the last *FLAGS variable, or
16787
 
   # (2) before a word containing "conftest.", or (3) at the end.
16788
 
   # Note that $ac_compile itself does not contain backslashes and begins
16789
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16790
 
   # The option is referenced via a variable to avoid confusing sed.
16791
 
   lt_compile=`echo "$ac_compile" | $SED \
16792
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16793
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16794
 
   -e 's:$: $lt_compiler_flag:'`
16795
 
   (eval echo "\"\$as_me:16795: $lt_compile\"" >&5)
16796
 
   (eval "$lt_compile" 2>conftest.err)
16797
 
   ac_status=$?
16798
 
   cat conftest.err >&5
16799
 
   echo "$as_me:16799: \$? = $ac_status" >&5
16800
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
16801
 
     # The compiler can only warn and ignore the option if not recognized
16802
 
     # So say no if there are warnings
16803
 
     if test ! -s conftest.err; then
16804
 
       lt_prog_compiler_pic_works_F77=yes
16805
 
     fi
16806
 
   fi
16807
 
   $rm conftest*
16808
 
 
16809
 
fi
16810
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
16811
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
16812
 
 
16813
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
16814
 
    case $lt_prog_compiler_pic_F77 in
16815
 
     "" | " "*) ;;
16816
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
16817
 
     esac
16818
 
else
16819
 
    lt_prog_compiler_pic_F77=
16820
 
     lt_prog_compiler_can_build_shared_F77=no
16821
 
fi
16822
 
 
16823
 
fi
16824
 
case "$host_os" in
16825
 
  # For platforms which do not support PIC, -DPIC is meaningless:
16826
 
  *djgpp*)
16827
 
    lt_prog_compiler_pic_F77=
16828
 
    ;;
16829
 
  *)
16830
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
16831
 
    ;;
16832
 
esac
16833
 
 
16834
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16835
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16836
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
16837
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16838
 
else
16839
 
  lt_cv_prog_compiler_c_o_F77=no
16840
 
   $rm -r conftest 2>/dev/null
16841
 
   mkdir conftest
16842
 
   cd conftest
16843
 
   mkdir out
16844
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16845
 
 
16846
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
16847
 
   # Insert the option either (1) after the last *FLAGS variable, or
16848
 
   # (2) before a word containing "conftest.", or (3) at the end.
16849
 
   # Note that $ac_compile itself does not contain backslashes and begins
16850
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16851
 
   lt_compile=`echo "$ac_compile" | $SED \
16852
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16853
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16854
 
   -e 's:$: $lt_compiler_flag:'`
16855
 
   (eval echo "\"\$as_me:16855: $lt_compile\"" >&5)
16856
 
   (eval "$lt_compile" 2>out/conftest.err)
16857
 
   ac_status=$?
16858
 
   cat out/conftest.err >&5
16859
 
   echo "$as_me:16859: \$? = $ac_status" >&5
16860
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16861
 
   then
16862
 
     # The compiler can only warn and ignore the option if not recognized
16863
 
     # So say no if there are warnings
16864
 
     if test ! -s out/conftest.err; then
16865
 
       lt_cv_prog_compiler_c_o_F77=yes
16866
 
     fi
16867
 
   fi
16868
 
   chmod u+w .
16869
 
   $rm conftest*
16870
 
   # SGI C++ compiler will create directory out/ii_files/ for
16871
 
   # template instantiation
16872
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
16873
 
   $rm out/* && rmdir out
16874
 
   cd ..
16875
 
   rmdir conftest
16876
 
   $rm conftest*
16877
 
 
16878
 
fi
16879
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
16880
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
16881
 
 
16882
 
 
16883
 
hard_links="nottested"
16884
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
16885
 
  # do not overwrite the value of need_locks provided by the user
16886
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16887
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16888
 
  hard_links=yes
16889
 
  $rm conftest*
16890
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16891
 
  touch conftest.a
16892
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
16893
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16894
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
16895
 
echo "${ECHO_T}$hard_links" >&6
16896
 
  if test "$hard_links" = no; then
16897
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16898
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16899
 
    need_locks=warn
16900
 
  fi
16901
 
else
16902
 
  need_locks=no
16903
 
fi
16904
 
 
16905
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16906
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16907
 
 
16908
 
  runpath_var=
16909
 
  allow_undefined_flag_F77=
16910
 
  enable_shared_with_static_runtimes_F77=no
16911
 
  archive_cmds_F77=
16912
 
  archive_expsym_cmds_F77=
16913
 
  old_archive_From_new_cmds_F77=
16914
 
  old_archive_from_expsyms_cmds_F77=
16915
 
  export_dynamic_flag_spec_F77=
16916
 
  whole_archive_flag_spec_F77=
16917
 
  thread_safe_flag_spec_F77=
16918
 
  hardcode_libdir_flag_spec_F77=
16919
 
  hardcode_libdir_flag_spec_ld_F77=
16920
 
  hardcode_libdir_separator_F77=
16921
 
  hardcode_direct_F77=no
16922
 
  hardcode_minus_L_F77=no
16923
 
  hardcode_shlibpath_var_F77=unsupported
16924
 
  link_all_deplibs_F77=unknown
16925
 
  hardcode_automatic_F77=no
16926
 
  module_cmds_F77=
16927
 
  module_expsym_cmds_F77=
16928
 
  always_export_symbols_F77=no
16929
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16930
 
  # include_expsyms should be a list of space-separated symbols to be *always*
16931
 
  # included in the symbol list
16932
 
  include_expsyms_F77=
16933
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
16934
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
16935
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16936
 
  # as well as any symbol that contains `d'.
16937
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
16938
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16939
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
16940
 
  # the symbol is explicitly referenced.  Since portable code cannot
16941
 
  # rely on this symbol name, it's probably fine to never include it in
16942
 
  # preloaded symbol tables.
16943
 
  extract_expsyms_cmds=
16944
 
 
16945
 
  case $host_os in
16946
 
  cygwin* | mingw* | pw32*)
16947
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
16948
 
    # When not using gcc, we currently assume that we are using
16949
 
    # Microsoft Visual C++.
16950
 
    if test "$GCC" != yes; then
16951
 
      with_gnu_ld=no
16952
 
    fi
16953
 
    ;;
16954
 
  openbsd*)
16955
 
    with_gnu_ld=no
16956
 
    ;;
16957
 
  esac
16958
 
 
16959
 
  ld_shlibs_F77=yes
16960
 
  if test "$with_gnu_ld" = yes; then
16961
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
16962
 
    wlarc='${wl}'
16963
 
 
16964
 
    # See if GNU ld supports shared libraries.
16965
 
    case $host_os in
16966
 
    aix3* | aix4* | aix5*)
16967
 
      # On AIX/PPC, the GNU linker is very broken
16968
 
      if test "$host_cpu" != ia64; then
16969
 
        ld_shlibs_F77=no
16970
 
        cat <<EOF 1>&2
16971
 
 
16972
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
16973
 
*** to be unable to reliably create shared libraries on AIX.
16974
 
*** Therefore, libtool is disabling shared libraries support.  If you
16975
 
*** really care for shared libraries, you may want to modify your PATH
16976
 
*** so that a non-GNU linker is found, and then restart.
16977
 
 
16978
 
EOF
16979
 
      fi
16980
 
      ;;
16981
 
 
16982
 
    amigaos*)
16983
 
      archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
16984
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16985
 
      hardcode_minus_L_F77=yes
16986
 
 
16987
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16988
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
16989
 
      # to version 4, is to share data among multiple programs linked
16990
 
      # with the same dynamic library.  Since this doesn't match the
16991
 
      # behavior of shared libraries on other platforms, we can't use
16992
 
      # them.
16993
 
      ld_shlibs_F77=no
16994
 
      ;;
16995
 
 
16996
 
    beos*)
16997
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16998
 
        allow_undefined_flag_F77=unsupported
16999
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17000
 
        # support --undefined.  This deserves some investigation.  FIXME
17001
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17002
 
      else
17003
 
        ld_shlibs_F77=no
17004
 
      fi
17005
 
      ;;
17006
 
 
17007
 
    cygwin* | mingw* | pw32*)
17008
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
17009
 
      # as there is no search path for DLLs.
17010
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17011
 
      allow_undefined_flag_F77=unsupported
17012
 
      always_export_symbols_F77=no
17013
 
      enable_shared_with_static_runtimes_F77=yes
17014
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17015
 
 
17016
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17017
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
17018
 
        # If the export-symbols file already is a .def file (1st line
17019
 
        # is EXPORTS), use it as is; otherwise, prepend...
17020
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17021
 
          cp $export_symbols $output_objdir/$soname.def;
17022
 
        else
17023
 
          echo EXPORTS > $output_objdir/$soname.def;
17024
 
          cat $export_symbols >> $output_objdir/$soname.def;
17025
 
        fi~
17026
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
17027
 
      else
17028
 
        ld_shlibs=no
17029
 
      fi
17030
 
      ;;
17031
 
 
17032
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
17033
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17034
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17035
 
        wlarc=
17036
 
      else
17037
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17038
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17039
 
      fi
17040
 
      ;;
17041
 
 
17042
 
    solaris* | sysv5*)
17043
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17044
 
        ld_shlibs_F77=no
17045
 
        cat <<EOF 1>&2
17046
 
 
17047
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
17048
 
*** create shared libraries on Solaris systems.  Therefore, libtool
17049
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17050
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
17051
 
*** your PATH or compiler configuration so that the native linker is
17052
 
*** used, and then restart.
17053
 
 
17054
 
EOF
17055
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17056
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17057
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17058
 
      else
17059
 
        ld_shlibs_F77=no
17060
 
      fi
17061
 
      ;;
17062
 
 
17063
 
    sunos4*)
17064
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17065
 
      wlarc=
17066
 
      hardcode_direct_F77=yes
17067
 
      hardcode_shlibpath_var_F77=no
17068
 
      ;;
17069
 
 
17070
 
  linux*)
17071
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17072
 
        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17073
 
        archive_cmds_F77="$tmp_archive_cmds"
17074
 
      supports_anon_versioning=no
17075
 
      case `$LD -v 2>/dev/null` in
17076
 
        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17077
 
        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17078
 
        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17079
 
        *\ 2.11.*) ;; # other 2.11 versions
17080
 
        *) supports_anon_versioning=yes ;;
17081
 
      esac
17082
 
      if test $supports_anon_versioning = yes; then
17083
 
        archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
17084
 
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17085
 
$echo "local: *; };" >> $output_objdir/$libname.ver~
17086
 
        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17087
 
      else
17088
 
        archive_expsym_cmds_F77="$tmp_archive_cmds"
17089
 
      fi
17090
 
      link_all_deplibs_F77=no
17091
 
    else
17092
 
      ld_shlibs_F77=no
17093
 
    fi
17094
 
    ;;
17095
 
 
17096
 
    *)
17097
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17098
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17099
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17100
 
      else
17101
 
        ld_shlibs_F77=no
17102
 
      fi
17103
 
      ;;
17104
 
    esac
17105
 
 
17106
 
    if test "$ld_shlibs_F77" = yes; then
17107
 
      runpath_var=LD_RUN_PATH
17108
 
      hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
17109
 
      export_dynamic_flag_spec_F77='${wl}--export-dynamic'
17110
 
      # ancient GNU ld didn't support --whole-archive et. al.
17111
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17112
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17113
 
      else
17114
 
        whole_archive_flag_spec_F77=
17115
 
      fi
17116
 
    fi
17117
 
  else
17118
 
    # PORTME fill in a description of your system's linker (not GNU ld)
17119
 
    case $host_os in
17120
 
    aix3*)
17121
 
      allow_undefined_flag_F77=unsupported
17122
 
      always_export_symbols_F77=yes
17123
 
      archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
17124
 
      # Note: this linker hardcodes the directories in LIBPATH if there
17125
 
      # are no directories specified by -L.
17126
 
      hardcode_minus_L_F77=yes
17127
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
17128
 
        # Neither direct hardcoding nor static linking is supported with a
17129
 
        # broken collect2.
17130
 
        hardcode_direct_F77=unsupported
17131
 
      fi
17132
 
      ;;
17133
 
 
17134
 
    aix4* | aix5*)
17135
 
      if test "$host_cpu" = ia64; then
17136
 
        # On IA64, the linker does run time linking by default, so we don't
17137
 
        # have to do anything special.
17138
 
        aix_use_runtimelinking=no
17139
 
        exp_sym_flag='-Bexport'
17140
 
        no_entry_flag=""
17141
 
      else
17142
 
        # If we're using GNU nm, then we don't want the "-C" option.
17143
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
17144
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17145
 
          export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17146
 
        else
17147
 
          export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17148
 
        fi
17149
 
        aix_use_runtimelinking=no
17150
 
 
17151
 
        # Test if we are trying to use run time linking or normal
17152
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17153
 
        # need to do runtime linking.
17154
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
17155
 
          for ld_flag in $LDFLAGS; do
17156
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17157
 
            aix_use_runtimelinking=yes
17158
 
            break
17159
 
          fi
17160
 
          done
17161
 
        esac
17162
 
 
17163
 
        exp_sym_flag='-bexport'
17164
 
        no_entry_flag='-bnoentry'
17165
 
      fi
17166
 
 
17167
 
      # When large executables or shared objects are built, AIX ld can
17168
 
      # have problems creating the table of contents.  If linking a library
17169
 
      # or program results in "error TOC overflow" add -mminimal-toc to
17170
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
17171
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17172
 
 
17173
 
      archive_cmds_F77=''
17174
 
      hardcode_direct_F77=yes
17175
 
      hardcode_libdir_separator_F77=':'
17176
 
      link_all_deplibs_F77=yes
17177
 
 
17178
 
      if test "$GCC" = yes; then
17179
 
        case $host_os in aix4.012|aix4.012.*)
17180
 
        # We only want to do this on AIX 4.2 and lower, the check
17181
 
        # below for broken collect2 doesn't work under 4.3+
17182
 
          collect2name=`${CC} -print-prog-name=collect2`
17183
 
          if test -f "$collect2name" && \
17184
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
17185
 
          then
17186
 
          # We have reworked collect2
17187
 
          hardcode_direct_F77=yes
17188
 
          else
17189
 
          # We have old collect2
17190
 
          hardcode_direct_F77=unsupported
17191
 
          # It fails to find uninstalled libraries when the uninstalled
17192
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
17193
 
          # to unsupported forces relinking
17194
 
          hardcode_minus_L_F77=yes
17195
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
17196
 
          hardcode_libdir_separator_F77=
17197
 
          fi
17198
 
        esac
17199
 
        shared_flag='-shared'
17200
 
      else
17201
 
        # not using gcc
17202
 
        if test "$host_cpu" = ia64; then
17203
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17204
 
        # chokes on -Wl,-G. The following line is correct:
17205
 
          shared_flag='-G'
17206
 
        else
17207
 
        if test "$aix_use_runtimelinking" = yes; then
17208
 
            shared_flag='${wl}-G'
17209
 
          else
17210
 
            shared_flag='${wl}-bM:SRE'
17211
 
        fi
17212
 
        fi
17213
 
      fi
17214
 
 
17215
 
      # It seems that -bexpall does not export symbols beginning with
17216
 
      # underscore (_), so it is better to generate a list of symbols to export.
17217
 
      always_export_symbols_F77=yes
17218
 
      if test "$aix_use_runtimelinking" = yes; then
17219
 
        # Warning - without using the other runtime loading flags (-brtl),
17220
 
        # -berok will link without error, but may produce a broken library.
17221
 
        allow_undefined_flag_F77='-berok'
17222
 
       # Determine the default libpath from the value encoded in an empty executable.
17223
 
       cat >conftest.$ac_ext <<_ACEOF
17224
 
      program main
17225
 
 
17226
 
      end
17227
 
_ACEOF
17228
 
rm -f conftest.$ac_objext conftest$ac_exeext
17229
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17230
 
  (eval $ac_link) 2>conftest.er1
17231
 
  ac_status=$?
17232
 
  grep -v '^ *+' conftest.er1 >conftest.err
17233
 
  rm -f conftest.er1
17234
 
  cat conftest.err >&5
17235
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17236
 
  (exit $ac_status); } &&
17237
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
17238
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17239
 
  (eval $ac_try) 2>&5
17240
 
  ac_status=$?
17241
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17242
 
  (exit $ac_status); }; } &&
17243
 
         { ac_try='test -s conftest$ac_exeext'
17244
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17245
 
  (eval $ac_try) 2>&5
17246
 
  ac_status=$?
17247
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17248
 
  (exit $ac_status); }; }; then
17249
 
 
17250
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17251
 
}'`
17252
 
# Check for a 64-bit object if we didn't find anything.
17253
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17254
 
}'`; fi
17255
 
else
17256
 
  echo "$as_me: failed program was:" >&5
17257
 
sed 's/^/| /' conftest.$ac_ext >&5
17258
 
 
17259
 
fi
17260
 
rm -f conftest.err conftest.$ac_objext \
17261
 
      conftest$ac_exeext conftest.$ac_ext
17262
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17263
 
 
17264
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
17265
 
        archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17266
 
       else
17267
 
        if test "$host_cpu" = ia64; then
17268
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
17269
 
          allow_undefined_flag_F77="-z nodefs"
17270
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
17271
 
        else
17272
 
         # Determine the default libpath from the value encoded in an empty executable.
17273
 
         cat >conftest.$ac_ext <<_ACEOF
17274
 
      program main
17275
 
 
17276
 
      end
17277
 
_ACEOF
17278
 
rm -f conftest.$ac_objext conftest$ac_exeext
17279
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17280
 
  (eval $ac_link) 2>conftest.er1
17281
 
  ac_status=$?
17282
 
  grep -v '^ *+' conftest.er1 >conftest.err
17283
 
  rm -f conftest.er1
17284
 
  cat conftest.err >&5
17285
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17286
 
  (exit $ac_status); } &&
17287
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
17288
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17289
 
  (eval $ac_try) 2>&5
17290
 
  ac_status=$?
17291
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17292
 
  (exit $ac_status); }; } &&
17293
 
         { ac_try='test -s conftest$ac_exeext'
17294
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17295
 
  (eval $ac_try) 2>&5
17296
 
  ac_status=$?
17297
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17298
 
  (exit $ac_status); }; }; then
17299
 
 
17300
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17301
 
}'`
17302
 
# Check for a 64-bit object if we didn't find anything.
17303
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17304
 
}'`; fi
17305
 
else
17306
 
  echo "$as_me: failed program was:" >&5
17307
 
sed 's/^/| /' conftest.$ac_ext >&5
17308
 
 
17309
 
fi
17310
 
rm -f conftest.err conftest.$ac_objext \
17311
 
      conftest$ac_exeext conftest.$ac_ext
17312
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17313
 
 
17314
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
17315
 
          # Warning - without using the other run time loading flags,
17316
 
          # -berok will link without error, but may produce a broken library.
17317
 
          no_undefined_flag_F77=' ${wl}-bernotok'
17318
 
          allow_undefined_flag_F77=' ${wl}-berok'
17319
 
          # -bexpall does not export symbols beginning with underscore (_)
17320
 
          always_export_symbols_F77=yes
17321
 
          # Exported symbols can be pulled into shared objects from archives
17322
 
          whole_archive_flag_spec_F77=' '
17323
 
          archive_cmds_need_lc_F77=yes
17324
 
          # This is similar to how AIX traditionally builds it's shared libraries.
17325
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
17326
 
        fi
17327
 
      fi
17328
 
      ;;
17329
 
 
17330
 
    amigaos*)
17331
 
      archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
17332
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17333
 
      hardcode_minus_L_F77=yes
17334
 
      # see comment about different semantics on the GNU ld section
17335
 
      ld_shlibs_F77=no
17336
 
      ;;
17337
 
 
17338
 
    bsdi4*)
17339
 
      export_dynamic_flag_spec_F77=-rdynamic
17340
 
      ;;
17341
 
 
17342
 
    cygwin* | mingw* | pw32*)
17343
 
      # When not using gcc, we currently assume that we are using
17344
 
      # Microsoft Visual C++.
17345
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
17346
 
      # no search path for DLLs.
17347
 
      hardcode_libdir_flag_spec_F77=' '
17348
 
      allow_undefined_flag_F77=unsupported
17349
 
      # Tell ltmain to make .lib files, not .a files.
17350
 
      libext=lib
17351
 
      # Tell ltmain to make .dll files, not .so files.
17352
 
      shrext_cmds=".dll"
17353
 
      # FIXME: Setting linknames here is a bad hack.
17354
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17355
 
      # The linker will automatically build a .lib file if we build a DLL.
17356
 
      old_archive_From_new_cmds_F77='true'
17357
 
      # FIXME: Should let the user specify the lib program.
17358
 
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
17359
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
17360
 
      enable_shared_with_static_runtimes_F77=yes
17361
 
      ;;
17362
 
 
17363
 
    darwin* | rhapsody*)
17364
 
    if test "$GXX" = yes ; then
17365
 
      archive_cmds_need_lc_F77=no
17366
 
      case "$host_os" in
17367
 
      rhapsody* | darwin1.[012])
17368
 
        allow_undefined_flag_F77='-undefined suppress'
17369
 
        ;;
17370
 
      *) # Darwin 1.3 on
17371
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17372
 
        allow_undefined_flag_F77='-flat_namespace -undefined suppress'
17373
 
      else
17374
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
17375
 
          10.[012])
17376
 
            allow_undefined_flag_F77='-flat_namespace -undefined suppress'
17377
 
            ;;
17378
 
          10.*)
17379
 
            allow_undefined_flag_F77='-undefined dynamic_lookup'
17380
 
            ;;
17381
 
        esac
17382
 
      fi
17383
 
        ;;
17384
 
      esac
17385
 
        lt_int_apple_cc_single_mod=no
17386
 
        output_verbose_link_cmd='echo'
17387
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
17388
 
          lt_int_apple_cc_single_mod=yes
17389
 
        fi
17390
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
17391
 
          archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17392
 
        else
17393
 
        archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17394
 
      fi
17395
 
      module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17396
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
17397
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
17398
 
          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17399
 
        else
17400
 
          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17401
 
        fi
17402
 
          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17403
 
      hardcode_direct_F77=no
17404
 
      hardcode_automatic_F77=yes
17405
 
      hardcode_shlibpath_var_F77=unsupported
17406
 
      whole_archive_flag_spec_F77='-all_load $convenience'
17407
 
      link_all_deplibs_F77=yes
17408
 
    else
17409
 
      ld_shlibs_F77=no
17410
 
    fi
17411
 
      ;;
17412
 
 
17413
 
    dgux*)
17414
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17415
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17416
 
      hardcode_shlibpath_var_F77=no
17417
 
      ;;
17418
 
 
17419
 
    freebsd1*)
17420
 
      ld_shlibs_F77=no
17421
 
      ;;
17422
 
 
17423
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17424
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
17425
 
    # does not break anything, and helps significantly (at the cost of a little
17426
 
    # extra space).
17427
 
    freebsd2.2*)
17428
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17429
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
17430
 
      hardcode_direct_F77=yes
17431
 
      hardcode_shlibpath_var_F77=no
17432
 
      ;;
17433
 
 
17434
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17435
 
    freebsd2*)
17436
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17437
 
      hardcode_direct_F77=yes
17438
 
      hardcode_minus_L_F77=yes
17439
 
      hardcode_shlibpath_var_F77=no
17440
 
      ;;
17441
 
 
17442
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17443
 
    freebsd* | kfreebsd*-gnu)
17444
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17445
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
17446
 
      hardcode_direct_F77=yes
17447
 
      hardcode_shlibpath_var_F77=no
17448
 
      ;;
17449
 
 
17450
 
    hpux9*)
17451
 
      if test "$GCC" = yes; then
17452
 
        archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17453
 
      else
17454
 
        archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17455
 
      fi
17456
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17457
 
      hardcode_libdir_separator_F77=:
17458
 
      hardcode_direct_F77=yes
17459
 
 
17460
 
      # hardcode_minus_L: Not really in the search PATH,
17461
 
      # but as the default location of the library.
17462
 
      hardcode_minus_L_F77=yes
17463
 
      export_dynamic_flag_spec_F77='${wl}-E'
17464
 
      ;;
17465
 
 
17466
 
    hpux10* | hpux11*)
17467
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17468
 
        case "$host_cpu" in
17469
 
        hppa*64*|ia64*)
17470
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17471
 
          ;;
17472
 
        *)
17473
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17474
 
          ;;
17475
 
        esac
17476
 
      else
17477
 
        case "$host_cpu" in
17478
 
        hppa*64*|ia64*)
17479
 
          archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
17480
 
          ;;
17481
 
        *)
17482
 
          archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17483
 
          ;;
17484
 
        esac
17485
 
      fi
17486
 
      if test "$with_gnu_ld" = no; then
17487
 
        case "$host_cpu" in
17488
 
        hppa*64*)
17489
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17490
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
17491
 
          hardcode_libdir_separator_F77=:
17492
 
          hardcode_direct_F77=no
17493
 
          hardcode_shlibpath_var_F77=no
17494
 
          ;;
17495
 
        ia64*)
17496
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
17497
 
          hardcode_direct_F77=no
17498
 
          hardcode_shlibpath_var_F77=no
17499
 
 
17500
 
          # hardcode_minus_L: Not really in the search PATH,
17501
 
          # but as the default location of the library.
17502
 
          hardcode_minus_L_F77=yes
17503
 
          ;;
17504
 
        *)
17505
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17506
 
          hardcode_libdir_separator_F77=:
17507
 
          hardcode_direct_F77=yes
17508
 
          export_dynamic_flag_spec_F77='${wl}-E'
17509
 
 
17510
 
          # hardcode_minus_L: Not really in the search PATH,
17511
 
          # but as the default location of the library.
17512
 
          hardcode_minus_L_F77=yes
17513
 
          ;;
17514
 
        esac
17515
 
      fi
17516
 
      ;;
17517
 
 
17518
 
    irix5* | irix6* | nonstopux*)
17519
 
      if test "$GCC" = yes; then
17520
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17521
 
      else
17522
 
        archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17523
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
17524
 
      fi
17525
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17526
 
      hardcode_libdir_separator_F77=:
17527
 
      link_all_deplibs_F77=yes
17528
 
      ;;
17529
 
 
17530
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
17531
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17532
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
17533
 
      else
17534
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
17535
 
      fi
17536
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
17537
 
      hardcode_direct_F77=yes
17538
 
      hardcode_shlibpath_var_F77=no
17539
 
      ;;
17540
 
 
17541
 
    newsos6)
17542
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17543
 
      hardcode_direct_F77=yes
17544
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17545
 
      hardcode_libdir_separator_F77=:
17546
 
      hardcode_shlibpath_var_F77=no
17547
 
      ;;
17548
 
 
17549
 
    openbsd*)
17550
 
      hardcode_direct_F77=yes
17551
 
      hardcode_shlibpath_var_F77=no
17552
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17553
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17554
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
17555
 
        export_dynamic_flag_spec_F77='${wl}-E'
17556
 
      else
17557
 
       case $host_os in
17558
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17559
 
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17560
 
           hardcode_libdir_flag_spec_F77='-R$libdir'
17561
 
           ;;
17562
 
         *)
17563
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17564
 
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
17565
 
           ;;
17566
 
       esac
17567
 
      fi
17568
 
      ;;
17569
 
 
17570
 
    os2*)
17571
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17572
 
      hardcode_minus_L_F77=yes
17573
 
      allow_undefined_flag_F77=unsupported
17574
 
      archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
17575
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17576
 
      ;;
17577
 
 
17578
 
    osf3*)
17579
 
      if test "$GCC" = yes; then
17580
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
17581
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17582
 
      else
17583
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
17584
 
        archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17585
 
      fi
17586
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17587
 
      hardcode_libdir_separator_F77=:
17588
 
      ;;
17589
 
 
17590
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
17591
 
      if test "$GCC" = yes; then
17592
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
17593
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17594
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17595
 
      else
17596
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
17597
 
        archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17598
 
        archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
17599
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
17600
 
 
17601
 
        # Both c and cxx compiler support -rpath directly
17602
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
17603
 
      fi
17604
 
      hardcode_libdir_separator_F77=:
17605
 
      ;;
17606
 
 
17607
 
    sco3.2v5*)
17608
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17609
 
      hardcode_shlibpath_var_F77=no
17610
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
17611
 
      runpath_var=LD_RUN_PATH
17612
 
      hardcode_runpath_var=yes
17613
 
      ;;
17614
 
 
17615
 
    solaris*)
17616
 
      no_undefined_flag_F77=' -z text'
17617
 
      if test "$GCC" = yes; then
17618
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17619
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17620
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17621
 
      else
17622
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17623
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17624
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17625
 
      fi
17626
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
17627
 
      hardcode_shlibpath_var_F77=no
17628
 
      case $host_os in
17629
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
17630
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
17631
 
        whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
17632
 
      esac
17633
 
      link_all_deplibs_F77=yes
17634
 
      ;;
17635
 
 
17636
 
    sunos4*)
17637
 
      if test "x$host_vendor" = xsequent; then
17638
 
        # Use $CC to link under sequent, because it throws in some extra .o
17639
 
        # files that make .init and .fini sections work.
17640
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17641
 
      else
17642
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17643
 
      fi
17644
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17645
 
      hardcode_direct_F77=yes
17646
 
      hardcode_minus_L_F77=yes
17647
 
      hardcode_shlibpath_var_F77=no
17648
 
      ;;
17649
 
 
17650
 
    sysv4)
17651
 
      case $host_vendor in
17652
 
        sni)
17653
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17654
 
          hardcode_direct_F77=yes # is this really true???
17655
 
        ;;
17656
 
        siemens)
17657
 
          ## LD is ld it makes a PLAMLIB
17658
 
          ## CC just makes a GrossModule.
17659
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17660
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
17661
 
          hardcode_direct_F77=no
17662
 
        ;;
17663
 
        motorola)
17664
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17665
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
17666
 
        ;;
17667
 
      esac
17668
 
      runpath_var='LD_RUN_PATH'
17669
 
      hardcode_shlibpath_var_F77=no
17670
 
      ;;
17671
 
 
17672
 
    sysv4.3*)
17673
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17674
 
      hardcode_shlibpath_var_F77=no
17675
 
      export_dynamic_flag_spec_F77='-Bexport'
17676
 
      ;;
17677
 
 
17678
 
    sysv4*MP*)
17679
 
      if test -d /usr/nec; then
17680
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17681
 
        hardcode_shlibpath_var_F77=no
17682
 
        runpath_var=LD_RUN_PATH
17683
 
        hardcode_runpath_var=yes
17684
 
        ld_shlibs_F77=yes
17685
 
      fi
17686
 
      ;;
17687
 
 
17688
 
    sysv4.2uw2*)
17689
 
      archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17690
 
      hardcode_direct_F77=yes
17691
 
      hardcode_minus_L_F77=no
17692
 
      hardcode_shlibpath_var_F77=no
17693
 
      hardcode_runpath_var=yes
17694
 
      runpath_var=LD_RUN_PATH
17695
 
      ;;
17696
 
 
17697
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
17698
 
      no_undefined_flag_F77='${wl}-z ${wl}text'
17699
 
      if test "$GCC" = yes; then
17700
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17701
 
      else
17702
 
        archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17703
 
      fi
17704
 
      runpath_var='LD_RUN_PATH'
17705
 
      hardcode_shlibpath_var_F77=no
17706
 
      ;;
17707
 
 
17708
 
    sysv5*)
17709
 
      no_undefined_flag_F77=' -z text'
17710
 
      # $CC -shared without GNU ld will not create a library from C++
17711
 
      # object files and a static libstdc++, better avoid it by now
17712
 
      archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17713
 
      archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17714
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17715
 
      hardcode_libdir_flag_spec_F77=
17716
 
      hardcode_shlibpath_var_F77=no
17717
 
      runpath_var='LD_RUN_PATH'
17718
 
      ;;
17719
 
 
17720
 
    uts4*)
17721
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17722
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17723
 
      hardcode_shlibpath_var_F77=no
17724
 
      ;;
17725
 
 
17726
 
    *)
17727
 
      ld_shlibs_F77=no
17728
 
      ;;
17729
 
    esac
17730
 
  fi
17731
 
 
17732
 
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
17733
 
echo "${ECHO_T}$ld_shlibs_F77" >&6
17734
 
test "$ld_shlibs_F77" = no && can_build_shared=no
17735
 
 
17736
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17737
 
if test "$GCC" = yes; then
17738
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17739
 
fi
17740
 
 
17741
 
#
17742
 
# Do we need to explicitly link libc?
17743
 
#
17744
 
case "x$archive_cmds_need_lc_F77" in
17745
 
x|xyes)
17746
 
  # Assume -lc should be added
17747
 
  archive_cmds_need_lc_F77=yes
17748
 
 
17749
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
17750
 
    case $archive_cmds_F77 in
17751
 
    *'~'*)
17752
 
      # FIXME: we may have to deal with multi-command sequences.
17753
 
      ;;
17754
 
    '$CC '*)
17755
 
      # Test whether the compiler implicitly links with -lc since on some
17756
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
17757
 
      # to ld, don't add -lc before -lgcc.
17758
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17759
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17760
 
      $rm conftest*
17761
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17762
 
 
17763
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17764
 
  (eval $ac_compile) 2>&5
17765
 
  ac_status=$?
17766
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767
 
  (exit $ac_status); } 2>conftest.err; then
17768
 
        soname=conftest
17769
 
        lib=conftest
17770
 
        libobjs=conftest.$ac_objext
17771
 
        deplibs=
17772
 
        wl=$lt_prog_compiler_wl_F77
17773
 
        compiler_flags=-v
17774
 
        linker_flags=-v
17775
 
        verstring=
17776
 
        output_objdir=.
17777
 
        libname=conftest
17778
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
17779
 
        allow_undefined_flag_F77=
17780
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17781
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
17782
 
  ac_status=$?
17783
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17784
 
  (exit $ac_status); }
17785
 
        then
17786
 
          archive_cmds_need_lc_F77=no
17787
 
        else
17788
 
          archive_cmds_need_lc_F77=yes
17789
 
        fi
17790
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
17791
 
      else
17792
 
        cat conftest.err 1>&5
17793
 
      fi
17794
 
      $rm conftest*
17795
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
17796
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
17797
 
      ;;
17798
 
    esac
17799
 
  fi
17800
 
  ;;
17801
 
esac
17802
 
 
17803
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17804
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17805
 
library_names_spec=
17806
 
libname_spec='lib$name'
17807
 
soname_spec=
17808
 
shrext_cmds=".so"
17809
 
postinstall_cmds=
17810
 
postuninstall_cmds=
17811
 
finish_cmds=
17812
 
finish_eval=
17813
 
shlibpath_var=
17814
 
shlibpath_overrides_runpath=unknown
17815
 
version_type=none
17816
 
dynamic_linker="$host_os ld.so"
17817
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
17818
 
if test "$GCC" = yes; then
17819
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17820
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
17821
 
    # if the path contains ";" then we assume it to be the separator
17822
 
    # otherwise default to the standard path separator (i.e. ":") - it is
17823
 
    # assumed that no part of a normal pathname contains ";" but that should
17824
 
    # okay in the real world where ";" in dirpaths is itself problematic.
17825
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17826
 
  else
17827
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
17828
 
  fi
17829
 
else
17830
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17831
 
fi
17832
 
need_lib_prefix=unknown
17833
 
hardcode_into_libs=no
17834
 
 
17835
 
# when you set need_version to no, make sure it does not cause -set_version
17836
 
# flags to be left without arguments
17837
 
need_version=unknown
17838
 
 
17839
 
case $host_os in
17840
 
aix3*)
17841
 
  version_type=linux
17842
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17843
 
  shlibpath_var=LIBPATH
17844
 
 
17845
 
  # AIX 3 has no versioning support, so we append a major version to the name.
17846
 
  soname_spec='${libname}${release}${shared_ext}$major'
17847
 
  ;;
17848
 
 
17849
 
aix4* | aix5*)
17850
 
  version_type=linux
17851
 
  need_lib_prefix=no
17852
 
  need_version=no
17853
 
  hardcode_into_libs=yes
17854
 
  if test "$host_cpu" = ia64; then
17855
 
    # AIX 5 supports IA64
17856
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17857
 
    shlibpath_var=LD_LIBRARY_PATH
17858
 
  else
17859
 
    # With GCC up to 2.95.x, collect2 would create an import file
17860
 
    # for dependence libraries.  The import file would start with
17861
 
    # the line `#! .'.  This would cause the generated library to
17862
 
    # depend on `.', always an invalid library.  This was fixed in
17863
 
    # development snapshots of GCC prior to 3.0.
17864
 
    case $host_os in
17865
 
      aix4 | aix4.[01] | aix4.[01].*)
17866
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17867
 
           echo ' yes '
17868
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
17869
 
        :
17870
 
      else
17871
 
        can_build_shared=no
17872
 
      fi
17873
 
      ;;
17874
 
    esac
17875
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17876
 
    # soname into executable. Probably we can add versioning support to
17877
 
    # collect2, so additional links can be useful in future.
17878
 
    if test "$aix_use_runtimelinking" = yes; then
17879
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17880
 
      # instead of lib<name>.a to let people know that these are not
17881
 
      # typical AIX shared libraries.
17882
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17883
 
    else
17884
 
      # We preserve .a as extension for shared libraries through AIX4.2
17885
 
      # and later when we are not doing run time linking.
17886
 
      library_names_spec='${libname}${release}.a $libname.a'
17887
 
      soname_spec='${libname}${release}${shared_ext}$major'
17888
 
    fi
17889
 
    shlibpath_var=LIBPATH
17890
 
  fi
17891
 
  ;;
17892
 
 
17893
 
amigaos*)
17894
 
  library_names_spec='$libname.ixlibrary $libname.a'
17895
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
17896
 
  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'
17897
 
  ;;
17898
 
 
17899
 
beos*)
17900
 
  library_names_spec='${libname}${shared_ext}'
17901
 
  dynamic_linker="$host_os ld.so"
17902
 
  shlibpath_var=LIBRARY_PATH
17903
 
  ;;
17904
 
 
17905
 
bsdi4*)
17906
 
  version_type=linux
17907
 
  need_version=no
17908
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17909
 
  soname_spec='${libname}${release}${shared_ext}$major'
17910
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17911
 
  shlibpath_var=LD_LIBRARY_PATH
17912
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17913
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17914
 
  # the default ld.so.conf also contains /usr/contrib/lib and
17915
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17916
 
  # libtool to hard-code these into programs
17917
 
  ;;
17918
 
 
17919
 
cygwin* | mingw* | pw32*)
17920
 
  version_type=windows
17921
 
  shrext_cmds=".dll"
17922
 
  need_version=no
17923
 
  need_lib_prefix=no
17924
 
 
17925
 
  case $GCC,$host_os in
17926
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
17927
 
    library_names_spec='$libname.dll.a'
17928
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
17929
 
    postinstall_cmds='base_file=`basename \${file}`~
17930
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17931
 
      dldir=$destdir/`dirname \$dlpath`~
17932
 
      test -d \$dldir || mkdir -p \$dldir~
17933
 
      $install_prog $dir/$dlname \$dldir/$dlname'
17934
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17935
 
      dlpath=$dir/\$dldll~
17936
 
       $rm \$dlpath'
17937
 
    shlibpath_overrides_runpath=yes
17938
 
 
17939
 
    case $host_os in
17940
 
    cygwin*)
17941
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17942
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17943
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
17944
 
      ;;
17945
 
    mingw*)
17946
 
      # MinGW DLLs use traditional 'lib' prefix
17947
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17948
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17949
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
17950
 
        # It is most probably a Windows format PATH printed by
17951
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
17952
 
        # path with ; separators, and with drive letters. We can handle the
17953
 
        # drive letters (cygwin fileutils understands them), so leave them,
17954
 
        # especially as we might pass files found there to a mingw objdump,
17955
 
        # which wouldn't understand a cygwinified path. Ahh.
17956
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17957
 
      else
17958
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
17959
 
      fi
17960
 
      ;;
17961
 
    pw32*)
17962
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
17963
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
17964
 
      ;;
17965
 
    esac
17966
 
    ;;
17967
 
 
17968
 
  *)
17969
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17970
 
    ;;
17971
 
  esac
17972
 
  dynamic_linker='Win32 ld.exe'
17973
 
  # FIXME: first we should search . and the directory the executable is in
17974
 
  shlibpath_var=PATH
17975
 
  ;;
17976
 
 
17977
 
darwin* | rhapsody*)
17978
 
  dynamic_linker="$host_os dyld"
17979
 
  version_type=darwin
17980
 
  need_lib_prefix=no
17981
 
  need_version=no
17982
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17983
 
  soname_spec='${libname}${release}${major}$shared_ext'
17984
 
  shlibpath_overrides_runpath=yes
17985
 
  shlibpath_var=DYLD_LIBRARY_PATH
17986
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
17987
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17988
 
  if test "$GCC" = yes; then
17989
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
17990
 
  else
17991
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
17992
 
  fi
17993
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17994
 
  ;;
17995
 
 
17996
 
dgux*)
17997
 
  version_type=linux
17998
 
  need_lib_prefix=no
17999
 
  need_version=no
18000
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18001
 
  soname_spec='${libname}${release}${shared_ext}$major'
18002
 
  shlibpath_var=LD_LIBRARY_PATH
18003
 
  ;;
18004
 
 
18005
 
freebsd1*)
18006
 
  dynamic_linker=no
18007
 
  ;;
18008
 
 
18009
 
kfreebsd*-gnu)
18010
 
  version_type=linux
18011
 
  need_lib_prefix=no
18012
 
  need_version=no
18013
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18014
 
  soname_spec='${libname}${release}${shared_ext}$major'
18015
 
  shlibpath_var=LD_LIBRARY_PATH
18016
 
  shlibpath_overrides_runpath=no
18017
 
  hardcode_into_libs=yes
18018
 
  dynamic_linker='GNU ld.so'
18019
 
  ;;
18020
 
 
18021
 
freebsd*)
18022
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
18023
 
  version_type=freebsd-$objformat
18024
 
  case $version_type in
18025
 
    freebsd-elf*)
18026
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18027
 
      need_version=no
18028
 
      need_lib_prefix=no
18029
 
      ;;
18030
 
    freebsd-*)
18031
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18032
 
      need_version=yes
18033
 
      ;;
18034
 
  esac
18035
 
  shlibpath_var=LD_LIBRARY_PATH
18036
 
  case $host_os in
18037
 
  freebsd2*)
18038
 
    shlibpath_overrides_runpath=yes
18039
 
    ;;
18040
 
  freebsd3.01* | freebsdelf3.01*)
18041
 
    shlibpath_overrides_runpath=yes
18042
 
    hardcode_into_libs=yes
18043
 
    ;;
18044
 
  *) # from 3.2 on
18045
 
    shlibpath_overrides_runpath=no
18046
 
    hardcode_into_libs=yes
18047
 
    ;;
18048
 
  esac
18049
 
  ;;
18050
 
 
18051
 
gnu*)
18052
 
  version_type=linux
18053
 
  need_lib_prefix=no
18054
 
  need_version=no
18055
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18056
 
  soname_spec='${libname}${release}${shared_ext}$major'
18057
 
  shlibpath_var=LD_LIBRARY_PATH
18058
 
  hardcode_into_libs=yes
18059
 
  ;;
18060
 
 
18061
 
hpux9* | hpux10* | hpux11*)
18062
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
18063
 
  # link against other versions.
18064
 
  version_type=sunos
18065
 
  need_lib_prefix=no
18066
 
  need_version=no
18067
 
  case "$host_cpu" in
18068
 
  ia64*)
18069
 
    shrext_cmds='.so'
18070
 
    hardcode_into_libs=yes
18071
 
    dynamic_linker="$host_os dld.so"
18072
 
    shlibpath_var=LD_LIBRARY_PATH
18073
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18074
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18075
 
    soname_spec='${libname}${release}${shared_ext}$major'
18076
 
    if test "X$HPUX_IA64_MODE" = X32; then
18077
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18078
 
    else
18079
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18080
 
    fi
18081
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18082
 
    ;;
18083
 
   hppa*64*)
18084
 
     shrext_cmds='.sl'
18085
 
     hardcode_into_libs=yes
18086
 
     dynamic_linker="$host_os dld.sl"
18087
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18088
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18089
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18090
 
     soname_spec='${libname}${release}${shared_ext}$major'
18091
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18092
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18093
 
     ;;
18094
 
   *)
18095
 
    shrext_cmds='.sl'
18096
 
    dynamic_linker="$host_os dld.sl"
18097
 
    shlibpath_var=SHLIB_PATH
18098
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18099
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18100
 
    soname_spec='${libname}${release}${shared_ext}$major'
18101
 
    ;;
18102
 
  esac
18103
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
18104
 
  postinstall_cmds='chmod 555 $lib'
18105
 
  ;;
18106
 
 
18107
 
irix5* | irix6* | nonstopux*)
18108
 
  case $host_os in
18109
 
    nonstopux*) version_type=nonstopux ;;
18110
 
    *)
18111
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
18112
 
                version_type=linux
18113
 
        else
18114
 
                version_type=irix
18115
 
        fi ;;
18116
 
  esac
18117
 
  need_lib_prefix=no
18118
 
  need_version=no
18119
 
  soname_spec='${libname}${release}${shared_ext}$major'
18120
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18121
 
  case $host_os in
18122
 
  irix5* | nonstopux*)
18123
 
    libsuff= shlibsuff=
18124
 
    ;;
18125
 
  *)
18126
 
    case $LD in # libtool.m4 will add one of these switches to LD
18127
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18128
 
      libsuff= shlibsuff= libmagic=32-bit;;
18129
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18130
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
18131
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18132
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
18133
 
    *) libsuff= shlibsuff= libmagic=never-match;;
18134
 
    esac
18135
 
    ;;
18136
 
  esac
18137
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18138
 
  shlibpath_overrides_runpath=no
18139
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18140
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18141
 
  hardcode_into_libs=yes
18142
 
  ;;
18143
 
 
18144
 
# No shared lib support for Linux oldld, aout, or coff.
18145
 
linux*oldld* | linux*aout* | linux*coff*)
18146
 
  dynamic_linker=no
18147
 
  ;;
18148
 
 
18149
 
# This must be Linux ELF.
18150
 
linux*)
18151
 
  version_type=linux
18152
 
  need_lib_prefix=no
18153
 
  need_version=no
18154
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18155
 
  soname_spec='${libname}${release}${shared_ext}$major'
18156
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18157
 
  shlibpath_var=LD_LIBRARY_PATH
18158
 
  shlibpath_overrides_runpath=no
18159
 
  # This implies no fast_install, which is unacceptable.
18160
 
  # Some rework will be needed to allow for fast_install
18161
 
  # before this can be enabled.
18162
 
  hardcode_into_libs=yes
18163
 
 
18164
 
  # Append ld.so.conf contents to the search path
18165
 
  if test -f /etc/ld.so.conf; then
18166
 
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
18167
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18168
 
  fi
18169
 
 
18170
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
18171
 
  # powerpc, because MkLinux only supported shared libraries with the
18172
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
18173
 
  # most powerpc-linux boxes support dynamic linking these days and
18174
 
  # people can always --disable-shared, the test was removed, and we
18175
 
  # assume the GNU/Linux dynamic linker is in use.
18176
 
  dynamic_linker='GNU/Linux ld.so'
18177
 
  ;;
18178
 
 
18179
 
netbsdelf*-gnu)
18180
 
  version_type=linux
18181
 
  need_lib_prefix=no
18182
 
  need_version=no
18183
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18184
 
  soname_spec='${libname}${release}${shared_ext}$major'
18185
 
  shlibpath_var=LD_LIBRARY_PATH
18186
 
  shlibpath_overrides_runpath=no
18187
 
  hardcode_into_libs=yes
18188
 
  dynamic_linker='NetBSD ld.elf_so'
18189
 
  ;;
18190
 
 
18191
 
knetbsd*-gnu)
18192
 
  version_type=linux
18193
 
  need_lib_prefix=no
18194
 
  need_version=no
18195
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18196
 
  soname_spec='${libname}${release}${shared_ext}$major'
18197
 
  shlibpath_var=LD_LIBRARY_PATH
18198
 
  shlibpath_overrides_runpath=no
18199
 
  hardcode_into_libs=yes
18200
 
  dynamic_linker='GNU ld.so'
18201
 
  ;;
18202
 
 
18203
 
netbsd*)
18204
 
  version_type=sunos
18205
 
  need_lib_prefix=no
18206
 
  need_version=no
18207
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18208
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18209
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18210
 
    dynamic_linker='NetBSD (a.out) ld.so'
18211
 
  else
18212
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18213
 
    soname_spec='${libname}${release}${shared_ext}$major'
18214
 
    dynamic_linker='NetBSD ld.elf_so'
18215
 
  fi
18216
 
  shlibpath_var=LD_LIBRARY_PATH
18217
 
  shlibpath_overrides_runpath=yes
18218
 
  hardcode_into_libs=yes
18219
 
  ;;
18220
 
 
18221
 
newsos6)
18222
 
  version_type=linux
18223
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18224
 
  shlibpath_var=LD_LIBRARY_PATH
18225
 
  shlibpath_overrides_runpath=yes
18226
 
  ;;
18227
 
 
18228
 
nto-qnx*)
18229
 
  version_type=linux
18230
 
  need_lib_prefix=no
18231
 
  need_version=no
18232
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18233
 
  soname_spec='${libname}${release}${shared_ext}$major'
18234
 
  shlibpath_var=LD_LIBRARY_PATH
18235
 
  shlibpath_overrides_runpath=yes
18236
 
  ;;
18237
 
 
18238
 
openbsd*)
18239
 
  version_type=sunos
18240
 
  need_lib_prefix=no
18241
 
  need_version=yes
18242
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18243
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18244
 
  shlibpath_var=LD_LIBRARY_PATH
18245
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18246
 
    case $host_os in
18247
 
      openbsd2.[89] | openbsd2.[89].*)
18248
 
        shlibpath_overrides_runpath=no
18249
 
        ;;
18250
 
      *)
18251
 
        shlibpath_overrides_runpath=yes
18252
 
        ;;
18253
 
      esac
18254
 
  else
18255
 
    shlibpath_overrides_runpath=yes
18256
 
  fi
18257
 
  ;;
18258
 
 
18259
 
os2*)
18260
 
  libname_spec='$name'
18261
 
  shrext_cmds=".dll"
18262
 
  need_lib_prefix=no
18263
 
  library_names_spec='$libname${shared_ext} $libname.a'
18264
 
  dynamic_linker='OS/2 ld.exe'
18265
 
  shlibpath_var=LIBPATH
18266
 
  ;;
18267
 
 
18268
 
osf3* | osf4* | osf5*)
18269
 
  version_type=osf
18270
 
  need_lib_prefix=no
18271
 
  need_version=no
18272
 
  soname_spec='${libname}${release}${shared_ext}$major'
18273
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18274
 
  shlibpath_var=LD_LIBRARY_PATH
18275
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18276
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18277
 
  ;;
18278
 
 
18279
 
sco3.2v5*)
18280
 
  version_type=osf
18281
 
  soname_spec='${libname}${release}${shared_ext}$major'
18282
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18283
 
  shlibpath_var=LD_LIBRARY_PATH
18284
 
  ;;
18285
 
 
18286
 
solaris*)
18287
 
  version_type=linux
18288
 
  need_lib_prefix=no
18289
 
  need_version=no
18290
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18291
 
  soname_spec='${libname}${release}${shared_ext}$major'
18292
 
  shlibpath_var=LD_LIBRARY_PATH
18293
 
  shlibpath_overrides_runpath=yes
18294
 
  hardcode_into_libs=yes
18295
 
  # ldd complains unless libraries are executable
18296
 
  postinstall_cmds='chmod +x $lib'
18297
 
  ;;
18298
 
 
18299
 
sunos4*)
18300
 
  version_type=sunos
18301
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18302
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18303
 
  shlibpath_var=LD_LIBRARY_PATH
18304
 
  shlibpath_overrides_runpath=yes
18305
 
  if test "$with_gnu_ld" = yes; then
18306
 
    need_lib_prefix=no
18307
 
  fi
18308
 
  need_version=yes
18309
 
  ;;
18310
 
 
18311
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
18312
 
  version_type=linux
18313
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18314
 
  soname_spec='${libname}${release}${shared_ext}$major'
18315
 
  shlibpath_var=LD_LIBRARY_PATH
18316
 
  case $host_vendor in
18317
 
    sni)
18318
 
      shlibpath_overrides_runpath=no
18319
 
      need_lib_prefix=no
18320
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
18321
 
      runpath_var=LD_RUN_PATH
18322
 
      ;;
18323
 
    siemens)
18324
 
      need_lib_prefix=no
18325
 
      ;;
18326
 
    motorola)
18327
 
      need_lib_prefix=no
18328
 
      need_version=no
18329
 
      shlibpath_overrides_runpath=no
18330
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18331
 
      ;;
18332
 
  esac
18333
 
  ;;
18334
 
 
18335
 
sysv4*MP*)
18336
 
  if test -d /usr/nec ;then
18337
 
    version_type=linux
18338
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18339
 
    soname_spec='$libname${shared_ext}.$major'
18340
 
    shlibpath_var=LD_LIBRARY_PATH
18341
 
  fi
18342
 
  ;;
18343
 
 
18344
 
uts4*)
18345
 
  version_type=linux
18346
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18347
 
  soname_spec='${libname}${release}${shared_ext}$major'
18348
 
  shlibpath_var=LD_LIBRARY_PATH
18349
 
  ;;
18350
 
 
18351
 
*)
18352
 
  dynamic_linker=no
18353
 
  ;;
18354
 
esac
18355
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18356
 
echo "${ECHO_T}$dynamic_linker" >&6
18357
 
test "$dynamic_linker" = no && can_build_shared=no
18358
 
 
18359
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18360
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
18361
 
hardcode_action_F77=
18362
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
18363
 
   test -n "$runpath_var F77" || \
18364
 
   test "X$hardcode_automatic_F77"="Xyes" ; then
18365
 
 
18366
 
  # We can hardcode non-existant directories.
18367
 
  if test "$hardcode_direct_F77" != no &&
18368
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
18369
 
     # have to relink, otherwise we might link with an installed library
18370
 
     # when we should be linking with a yet-to-be-installed one
18371
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
18372
 
     test "$hardcode_minus_L_F77" != no; then
18373
 
    # Linking always hardcodes the temporary library directory.
18374
 
    hardcode_action_F77=relink
18375
 
  else
18376
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
18377
 
    hardcode_action_F77=immediate
18378
 
  fi
18379
 
else
18380
 
  # We cannot hardcode anything, or else we can only hardcode existing
18381
 
  # directories.
18382
 
  hardcode_action_F77=unsupported
18383
 
fi
18384
 
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
18385
 
echo "${ECHO_T}$hardcode_action_F77" >&6
18386
 
 
18387
 
if test "$hardcode_action_F77" = relink; then
18388
 
  # Fast installation is not supported
18389
 
  enable_fast_install=no
18390
 
elif test "$shlibpath_overrides_runpath" = yes ||
18391
 
     test "$enable_shared" = no; then
18392
 
  # Fast installation is not necessary
18393
 
  enable_fast_install=needless
18394
 
fi
18395
 
 
18396
 
striplib=
18397
 
old_striplib=
18398
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
18399
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
18400
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
18401
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
18402
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
18403
 
  echo "$as_me:$LINENO: result: yes" >&5
18404
 
echo "${ECHO_T}yes" >&6
18405
 
else
18406
 
# FIXME - insert some real tests, host_os isn't really good enough
18407
 
  case $host_os in
18408
 
   darwin*)
18409
 
       if test -n "$STRIP" ; then
18410
 
         striplib="$STRIP -x"
18411
 
         echo "$as_me:$LINENO: result: yes" >&5
18412
 
echo "${ECHO_T}yes" >&6
18413
 
       else
18414
 
  echo "$as_me:$LINENO: result: no" >&5
18415
 
echo "${ECHO_T}no" >&6
18416
 
fi
18417
 
       ;;
18418
 
   *)
18419
 
  echo "$as_me:$LINENO: result: no" >&5
18420
 
echo "${ECHO_T}no" >&6
18421
 
    ;;
18422
 
  esac
18423
 
fi
18424
 
 
18425
 
 
18426
 
 
18427
 
# The else clause should only fire when bootstrapping the
18428
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
18429
 
# with your package, and you will get complaints that there are
18430
 
# no rules to generate ltmain.sh.
18431
 
if test -f "$ltmain"; then
18432
 
  # See if we are running on zsh, and set the options which allow our commands through
18433
 
  # without removal of \ escapes.
18434
 
  if test -n "${ZSH_VERSION+set}" ; then
18435
 
    setopt NO_GLOB_SUBST
18436
 
  fi
18437
 
  # Now quote all the things that may contain metacharacters while being
18438
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18439
 
  # variables and quote the copies for generation of the libtool script.
18440
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
18441
 
    SED SHELL STRIP \
18442
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18443
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18444
 
    deplibs_check_method reload_flag reload_cmds need_locks \
18445
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18446
 
    lt_cv_sys_global_symbol_to_c_name_address \
18447
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18448
 
    old_postinstall_cmds old_postuninstall_cmds \
18449
 
    compiler_F77 \
18450
 
    CC_F77 \
18451
 
    LD_F77 \
18452
 
    lt_prog_compiler_wl_F77 \
18453
 
    lt_prog_compiler_pic_F77 \
18454
 
    lt_prog_compiler_static_F77 \
18455
 
    lt_prog_compiler_no_builtin_flag_F77 \
18456
 
    export_dynamic_flag_spec_F77 \
18457
 
    thread_safe_flag_spec_F77 \
18458
 
    whole_archive_flag_spec_F77 \
18459
 
    enable_shared_with_static_runtimes_F77 \
18460
 
    old_archive_cmds_F77 \
18461
 
    old_archive_from_new_cmds_F77 \
18462
 
    predep_objects_F77 \
18463
 
    postdep_objects_F77 \
18464
 
    predeps_F77 \
18465
 
    postdeps_F77 \
18466
 
    compiler_lib_search_path_F77 \
18467
 
    archive_cmds_F77 \
18468
 
    archive_expsym_cmds_F77 \
18469
 
    postinstall_cmds_F77 \
18470
 
    postuninstall_cmds_F77 \
18471
 
    old_archive_from_expsyms_cmds_F77 \
18472
 
    allow_undefined_flag_F77 \
18473
 
    no_undefined_flag_F77 \
18474
 
    export_symbols_cmds_F77 \
18475
 
    hardcode_libdir_flag_spec_F77 \
18476
 
    hardcode_libdir_flag_spec_ld_F77 \
18477
 
    hardcode_libdir_separator_F77 \
18478
 
    hardcode_automatic_F77 \
18479
 
    module_cmds_F77 \
18480
 
    module_expsym_cmds_F77 \
18481
 
    lt_cv_prog_compiler_c_o_F77 \
18482
 
    exclude_expsyms_F77 \
18483
 
    include_expsyms_F77; do
18484
 
 
18485
 
    case $var in
18486
 
    old_archive_cmds_F77 | \
18487
 
    old_archive_from_new_cmds_F77 | \
18488
 
    archive_cmds_F77 | \
18489
 
    archive_expsym_cmds_F77 | \
18490
 
    module_cmds_F77 | \
18491
 
    module_expsym_cmds_F77 | \
18492
 
    old_archive_from_expsyms_cmds_F77 | \
18493
 
    export_symbols_cmds_F77 | \
18494
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
18495
 
    postinstall_cmds | postuninstall_cmds | \
18496
 
    old_postinstall_cmds | old_postuninstall_cmds | \
18497
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18498
 
      # Double-quote double-evaled strings.
18499
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18500
 
      ;;
18501
 
    *)
18502
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18503
 
      ;;
18504
 
    esac
18505
 
  done
18506
 
 
18507
 
  case $lt_echo in
18508
 
  *'\$0 --fallback-echo"')
18509
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18510
 
    ;;
18511
 
  esac
18512
 
 
18513
 
cfgfile="$ofile"
18514
 
 
18515
 
  cat <<__EOF__ >> "$cfgfile"
18516
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
18517
 
 
18518
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18519
 
 
18520
 
# Shell to use when invoking shell scripts.
18521
 
SHELL=$lt_SHELL
18522
 
 
18523
 
# Whether or not to build shared libraries.
18524
 
build_libtool_libs=$enable_shared
18525
 
 
18526
 
# Whether or not to build static libraries.
18527
 
build_old_libs=$enable_static
18528
 
 
18529
 
# Whether or not to add -lc for building shared libraries.
18530
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
18531
 
 
18532
 
# Whether or not to disallow shared libs when runtime libs are static
18533
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
18534
 
 
18535
 
# Whether or not to optimize for fast installation.
18536
 
fast_install=$enable_fast_install
18537
 
 
18538
 
# The host system.
18539
 
host_alias=$host_alias
18540
 
host=$host
18541
 
 
18542
 
# An echo program that does not interpret backslashes.
18543
 
echo=$lt_echo
18544
 
 
18545
 
# The archiver.
18546
 
AR=$lt_AR
18547
 
AR_FLAGS=$lt_AR_FLAGS
18548
 
 
18549
 
# A C compiler.
18550
 
LTCC=$lt_LTCC
18551
 
 
18552
 
# A language-specific compiler.
18553
 
CC=$lt_compiler_F77
18554
 
 
18555
 
# Is the compiler the GNU C compiler?
18556
 
with_gcc=$GCC_F77
18557
 
 
18558
 
# An ERE matcher.
18559
 
EGREP=$lt_EGREP
18560
 
 
18561
 
# The linker used to build libraries.
18562
 
LD=$lt_LD_F77
18563
 
 
18564
 
# Whether we need hard or soft links.
18565
 
LN_S=$lt_LN_S
18566
 
 
18567
 
# A BSD-compatible nm program.
18568
 
NM=$lt_NM
18569
 
 
18570
 
# A symbol stripping program
18571
 
STRIP=$lt_STRIP
18572
 
 
18573
 
# Used to examine libraries when file_magic_cmd begins "file"
18574
 
MAGIC_CMD=$MAGIC_CMD
18575
 
 
18576
 
# Used on cygwin: DLL creation program.
18577
 
DLLTOOL="$DLLTOOL"
18578
 
 
18579
 
# Used on cygwin: object dumper.
18580
 
OBJDUMP="$OBJDUMP"
18581
 
 
18582
 
# Used on cygwin: assembler.
18583
 
AS="$AS"
18584
 
 
18585
 
# The name of the directory that contains temporary libtool files.
18586
 
objdir=$objdir
18587
 
 
18588
 
# How to create reloadable object files.
18589
 
reload_flag=$lt_reload_flag
18590
 
reload_cmds=$lt_reload_cmds
18591
 
 
18592
 
# How to pass a linker flag through the compiler.
18593
 
wl=$lt_lt_prog_compiler_wl_F77
18594
 
 
18595
 
# Object file suffix (normally "o").
18596
 
objext="$ac_objext"
18597
 
 
18598
 
# Old archive suffix (normally "a").
18599
 
libext="$libext"
18600
 
 
18601
 
# Shared library suffix (normally ".so").
18602
 
shrext_cmds='$shrext_cmds'
18603
 
 
18604
 
# Executable file suffix (normally "").
18605
 
exeext="$exeext"
18606
 
 
18607
 
# Additional compiler flags for building library objects.
18608
 
pic_flag=$lt_lt_prog_compiler_pic_F77
18609
 
pic_mode=$pic_mode
18610
 
 
18611
 
# What is the maximum length of a command?
18612
 
max_cmd_len=$lt_cv_sys_max_cmd_len
18613
 
 
18614
 
# Does compiler simultaneously support -c and -o options?
18615
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
18616
 
 
18617
 
# Must we lock files when doing compilation ?
18618
 
need_locks=$lt_need_locks
18619
 
 
18620
 
# Do we need the lib prefix for modules?
18621
 
need_lib_prefix=$need_lib_prefix
18622
 
 
18623
 
# Do we need a version for libraries?
18624
 
need_version=$need_version
18625
 
 
18626
 
# Whether dlopen is supported.
18627
 
dlopen_support=$enable_dlopen
18628
 
 
18629
 
# Whether dlopen of programs is supported.
18630
 
dlopen_self=$enable_dlopen_self
18631
 
 
18632
 
# Whether dlopen of statically linked programs is supported.
18633
 
dlopen_self_static=$enable_dlopen_self_static
18634
 
 
18635
 
# Compiler flag to prevent dynamic linking.
18636
 
link_static_flag=$lt_lt_prog_compiler_static_F77
18637
 
 
18638
 
# Compiler flag to turn off builtin functions.
18639
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
18640
 
 
18641
 
# Compiler flag to allow reflexive dlopens.
18642
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
18643
 
 
18644
 
# Compiler flag to generate shared objects directly from archives.
18645
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
18646
 
 
18647
 
# Compiler flag to generate thread-safe objects.
18648
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
18649
 
 
18650
 
# Library versioning type.
18651
 
version_type=$version_type
18652
 
 
18653
 
# Format of library name prefix.
18654
 
libname_spec=$lt_libname_spec
18655
 
 
18656
 
# List of archive names.  First name is the real one, the rest are links.
18657
 
# The last name is the one that the linker finds with -lNAME.
18658
 
library_names_spec=$lt_library_names_spec
18659
 
 
18660
 
# The coded name of the library, if different from the real name.
18661
 
soname_spec=$lt_soname_spec
18662
 
 
18663
 
# Commands used to build and install an old-style archive.
18664
 
RANLIB=$lt_RANLIB
18665
 
old_archive_cmds=$lt_old_archive_cmds_F77
18666
 
old_postinstall_cmds=$lt_old_postinstall_cmds
18667
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
18668
 
 
18669
 
# Create an old-style archive from a shared archive.
18670
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
18671
 
 
18672
 
# Create a temporary old-style archive to link instead of a shared archive.
18673
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
18674
 
 
18675
 
# Commands used to build and install a shared archive.
18676
 
archive_cmds=$lt_archive_cmds_F77
18677
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
18678
 
postinstall_cmds=$lt_postinstall_cmds
18679
 
postuninstall_cmds=$lt_postuninstall_cmds
18680
 
 
18681
 
# Commands used to build a loadable module (assumed same as above if empty)
18682
 
module_cmds=$lt_module_cmds_F77
18683
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
18684
 
 
18685
 
# Commands to strip libraries.
18686
 
old_striplib=$lt_old_striplib
18687
 
striplib=$lt_striplib
18688
 
 
18689
 
# Dependencies to place before the objects being linked to create a
18690
 
# shared library.
18691
 
predep_objects=$lt_predep_objects_F77
18692
 
 
18693
 
# Dependencies to place after the objects being linked to create a
18694
 
# shared library.
18695
 
postdep_objects=$lt_postdep_objects_F77
18696
 
 
18697
 
# Dependencies to place before the objects being linked to create a
18698
 
# shared library.
18699
 
predeps=$lt_predeps_F77
18700
 
 
18701
 
# Dependencies to place after the objects being linked to create a
18702
 
# shared library.
18703
 
postdeps=$lt_postdeps_F77
18704
 
 
18705
 
# The library search path used internally by the compiler when linking
18706
 
# a shared library.
18707
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
18708
 
 
18709
 
# Method to check whether dependent libraries are shared objects.
18710
 
deplibs_check_method=$lt_deplibs_check_method
18711
 
 
18712
 
# Command to use when deplibs_check_method == file_magic.
18713
 
file_magic_cmd=$lt_file_magic_cmd
18714
 
 
18715
 
# Flag that allows shared libraries with undefined symbols to be built.
18716
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
18717
 
 
18718
 
# Flag that forces no undefined symbols.
18719
 
no_undefined_flag=$lt_no_undefined_flag_F77
18720
 
 
18721
 
# Commands used to finish a libtool library installation in a directory.
18722
 
finish_cmds=$lt_finish_cmds
18723
 
 
18724
 
# Same as above, but a single script fragment to be evaled but not shown.
18725
 
finish_eval=$lt_finish_eval
18726
 
 
18727
 
# Take the output of nm and produce a listing of raw symbols and C names.
18728
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18729
 
 
18730
 
# Transform the output of nm in a proper C declaration
18731
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18732
 
 
18733
 
# Transform the output of nm in a C name address pair
18734
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18735
 
 
18736
 
# This is the shared library runtime path variable.
18737
 
runpath_var=$runpath_var
18738
 
 
18739
 
# This is the shared library path variable.
18740
 
shlibpath_var=$shlibpath_var
18741
 
 
18742
 
# Is shlibpath searched before the hard-coded library search path?
18743
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18744
 
 
18745
 
# How to hardcode a shared library path into an executable.
18746
 
hardcode_action=$hardcode_action_F77
18747
 
 
18748
 
# Whether we should hardcode library paths into libraries.
18749
 
hardcode_into_libs=$hardcode_into_libs
18750
 
 
18751
 
# Flag to hardcode \$libdir into a binary during linking.
18752
 
# This must work even if \$libdir does not exist.
18753
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
18754
 
 
18755
 
# If ld is used when linking, flag to hardcode \$libdir into
18756
 
# a binary during linking. This must work even if \$libdir does
18757
 
# not exist.
18758
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
18759
 
 
18760
 
# Whether we need a single -rpath flag with a separated argument.
18761
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
18762
 
 
18763
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18764
 
# resulting binary.
18765
 
hardcode_direct=$hardcode_direct_F77
18766
 
 
18767
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18768
 
# resulting binary.
18769
 
hardcode_minus_L=$hardcode_minus_L_F77
18770
 
 
18771
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18772
 
# the resulting binary.
18773
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
18774
 
 
18775
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
18776
 
# and all subsequent libraries and executables linked against it.
18777
 
hardcode_automatic=$hardcode_automatic_F77
18778
 
 
18779
 
# Variables whose values should be saved in libtool wrapper scripts and
18780
 
# restored at relink time.
18781
 
variables_saved_for_relink="$variables_saved_for_relink"
18782
 
 
18783
 
# Whether libtool must link a program against all its dependency libraries.
18784
 
link_all_deplibs=$link_all_deplibs_F77
18785
 
 
18786
 
# Compile-time system search path for libraries
18787
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18788
 
 
18789
 
# Run-time system search path for libraries
18790
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18791
 
 
18792
 
# Fix the shell variable \$srcfile for the compiler.
18793
 
fix_srcfile_path="$fix_srcfile_path_F77"
18794
 
 
18795
 
# Set to yes if exported symbols are required.
18796
 
always_export_symbols=$always_export_symbols_F77
18797
 
 
18798
 
# The commands to list exported symbols.
18799
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
18800
 
 
18801
 
# The commands to extract the exported symbol list from a shared archive.
18802
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
18803
 
 
18804
 
# Symbols that should not be listed in the preloaded symbols.
18805
 
exclude_expsyms=$lt_exclude_expsyms_F77
18806
 
 
18807
 
# Symbols that must always be exported.
18808
 
include_expsyms=$lt_include_expsyms_F77
18809
 
 
18810
 
# ### END LIBTOOL TAG CONFIG: $tagname
18811
 
 
18812
 
__EOF__
18813
 
 
18814
 
 
18815
 
else
18816
 
  # If there is no Makefile yet, we rely on a make rule to execute
18817
 
  # `config.status --recheck' to rerun these tests and create the
18818
 
  # libtool script then.
18819
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18820
 
  if test -f "$ltmain_in"; then
18821
 
    test -f Makefile && make "$ltmain"
18822
 
  fi
18823
 
fi
18824
 
 
18825
 
 
18826
 
ac_ext=c
18827
 
ac_cpp='$CPP $CPPFLAGS'
18828
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18829
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18830
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
18831
 
 
18832
 
CC="$lt_save_CC"
18833
 
 
18834
 
        else
18835
 
          tagname=""
18836
 
        fi
18837
 
        ;;
18838
 
 
18839
 
      GCJ)
18840
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
18841
 
 
18842
 
 
18843
 
 
18844
 
# Source file extension for Java test sources.
18845
 
ac_ext=java
18846
 
 
18847
 
# Object file extension for compiled Java test sources.
18848
 
objext=o
18849
 
objext_GCJ=$objext
18850
 
 
18851
 
# Code to be used in simple compile tests
18852
 
lt_simple_compile_test_code="class foo {}\n"
18853
 
 
18854
 
# Code to be used in simple link tests
18855
 
lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
18856
 
 
18857
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
18858
 
 
18859
 
# If no C compiler was specified, use CC.
18860
 
LTCC=${LTCC-"$CC"}
18861
 
 
18862
 
# Allow CC to be a program name with arguments.
18863
 
compiler=$CC
18864
 
 
18865
 
 
18866
 
# Allow CC to be a program name with arguments.
18867
 
lt_save_CC="$CC"
18868
 
CC=${GCJ-"gcj"}
18869
 
compiler=$CC
18870
 
compiler_GCJ=$CC
18871
 
 
18872
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
18873
 
archive_cmds_need_lc_GCJ=no
18874
 
 
18875
 
 
18876
 
lt_prog_compiler_no_builtin_flag_GCJ=
18877
 
 
18878
 
if test "$GCC" = yes; then
18879
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
18880
 
 
18881
 
 
18882
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
18883
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
18884
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
18885
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18886
 
else
18887
 
  lt_cv_prog_compiler_rtti_exceptions=no
18888
 
  ac_outfile=conftest.$ac_objext
18889
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18890
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
18891
 
   # Insert the option either (1) after the last *FLAGS variable, or
18892
 
   # (2) before a word containing "conftest.", or (3) at the end.
18893
 
   # Note that $ac_compile itself does not contain backslashes and begins
18894
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
18895
 
   # The option is referenced via a variable to avoid confusing sed.
18896
 
   lt_compile=`echo "$ac_compile" | $SED \
18897
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
18898
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18899
 
   -e 's:$: $lt_compiler_flag:'`
18900
 
   (eval echo "\"\$as_me:18900: $lt_compile\"" >&5)
18901
 
   (eval "$lt_compile" 2>conftest.err)
18902
 
   ac_status=$?
18903
 
   cat conftest.err >&5
18904
 
   echo "$as_me:18904: \$? = $ac_status" >&5
18905
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
18906
 
     # The compiler can only warn and ignore the option if not recognized
18907
 
     # So say no if there are warnings
18908
 
     if test ! -s conftest.err; then
18909
 
       lt_cv_prog_compiler_rtti_exceptions=yes
18910
 
     fi
18911
 
   fi
18912
 
   $rm conftest*
18913
 
 
18914
 
fi
18915
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
18916
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
18917
 
 
18918
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
18919
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
18920
 
else
18921
 
    :
18922
 
fi
18923
 
 
18924
 
fi
18925
 
 
18926
 
lt_prog_compiler_wl_GCJ=
18927
 
lt_prog_compiler_pic_GCJ=
18928
 
lt_prog_compiler_static_GCJ=
18929
 
 
18930
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
18931
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
18932
 
 
18933
 
  if test "$GCC" = yes; then
18934
 
    lt_prog_compiler_wl_GCJ='-Wl,'
18935
 
    lt_prog_compiler_static_GCJ='-static'
18936
 
 
18937
 
    case $host_os in
18938
 
      aix*)
18939
 
      # All AIX code is PIC.
18940
 
      if test "$host_cpu" = ia64; then
18941
 
        # AIX 5 now supports IA64 processor
18942
 
        lt_prog_compiler_static_GCJ='-Bstatic'
18943
 
      fi
18944
 
      ;;
18945
 
 
18946
 
    amigaos*)
18947
 
      # FIXME: we need at least 68020 code to build shared libraries, but
18948
 
      # adding the `-m68020' flag to GCC prevents building anything better,
18949
 
      # like `-m68040'.
18950
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
18951
 
      ;;
18952
 
 
18953
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
18954
 
      # PIC is the default for these OSes.
18955
 
      ;;
18956
 
 
18957
 
    mingw* | pw32* | os2*)
18958
 
      # This hack is so that the source file can tell whether it is being
18959
 
      # built for inclusion in a dll (and should export symbols for example).
18960
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
18961
 
      ;;
18962
 
 
18963
 
    darwin* | rhapsody*)
18964
 
      # PIC is the default on this platform
18965
 
      # Common symbols not allowed in MH_DYLIB files
18966
 
      lt_prog_compiler_pic_GCJ='-fno-common'
18967
 
      ;;
18968
 
 
18969
 
    msdosdjgpp*)
18970
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
18971
 
      # on systems that don't support them.
18972
 
      lt_prog_compiler_can_build_shared_GCJ=no
18973
 
      enable_shared=no
18974
 
      ;;
18975
 
 
18976
 
    sysv4*MP*)
18977
 
      if test -d /usr/nec; then
18978
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
18979
 
      fi
18980
 
      ;;
18981
 
 
18982
 
    hpux*)
18983
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18984
 
      # not for PA HP-UX.
18985
 
      case "$host_cpu" in
18986
 
      hppa*64*|ia64*)
18987
 
        # +Z the default
18988
 
        ;;
18989
 
      *)
18990
 
        lt_prog_compiler_pic_GCJ='-fPIC'
18991
 
        ;;
18992
 
      esac
18993
 
      ;;
18994
 
 
18995
 
    *)
18996
 
      lt_prog_compiler_pic_GCJ='-fPIC'
18997
 
      ;;
18998
 
    esac
18999
 
  else
19000
 
    # PORTME Check for flag to pass linker flags through the system compiler.
19001
 
    case $host_os in
19002
 
    aix*)
19003
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19004
 
      if test "$host_cpu" = ia64; then
19005
 
        # AIX 5 now supports IA64 processor
19006
 
        lt_prog_compiler_static_GCJ='-Bstatic'
19007
 
      else
19008
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
19009
 
      fi
19010
 
      ;;
19011
 
 
19012
 
    mingw* | pw32* | os2*)
19013
 
      # This hack is so that the source file can tell whether it is being
19014
 
      # built for inclusion in a dll (and should export symbols for example).
19015
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
19016
 
      ;;
19017
 
 
19018
 
    hpux9* | hpux10* | hpux11*)
19019
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19020
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19021
 
      # not for PA HP-UX.
19022
 
      case "$host_cpu" in
19023
 
      hppa*64*|ia64*)
19024
 
        # +Z the default
19025
 
        ;;
19026
 
      *)
19027
 
        lt_prog_compiler_pic_GCJ='+Z'
19028
 
        ;;
19029
 
      esac
19030
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
19031
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
19032
 
      ;;
19033
 
 
19034
 
    irix5* | irix6* | nonstopux*)
19035
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19036
 
      # PIC (with -KPIC) is the default.
19037
 
      lt_prog_compiler_static_GCJ='-non_shared'
19038
 
      ;;
19039
 
 
19040
 
    newsos6)
19041
 
      lt_prog_compiler_pic_GCJ='-KPIC'
19042
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19043
 
      ;;
19044
 
 
19045
 
    linux*)
19046
 
      case $CC in
19047
 
      icc* | ecc*)
19048
 
        lt_prog_compiler_wl_GCJ='-Wl,'
19049
 
        lt_prog_compiler_pic_GCJ='-KPIC'
19050
 
        lt_prog_compiler_static_GCJ='-static'
19051
 
        ;;
19052
 
      ccc*)
19053
 
        lt_prog_compiler_wl_GCJ='-Wl,'
19054
 
        # All Alpha code is PIC.
19055
 
        lt_prog_compiler_static_GCJ='-non_shared'
19056
 
        ;;
19057
 
      esac
19058
 
      ;;
19059
 
 
19060
 
    osf3* | osf4* | osf5*)
19061
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19062
 
      # All OSF/1 code is PIC.
19063
 
      lt_prog_compiler_static_GCJ='-non_shared'
19064
 
      ;;
19065
 
 
19066
 
    sco3.2v5*)
19067
 
      lt_prog_compiler_pic_GCJ='-Kpic'
19068
 
      lt_prog_compiler_static_GCJ='-dn'
19069
 
      ;;
19070
 
 
19071
 
    solaris*)
19072
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19073
 
      lt_prog_compiler_pic_GCJ='-KPIC'
19074
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19075
 
      ;;
19076
 
 
19077
 
    sunos4*)
19078
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
19079
 
      lt_prog_compiler_pic_GCJ='-PIC'
19080
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19081
 
      ;;
19082
 
 
19083
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
19084
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19085
 
      lt_prog_compiler_pic_GCJ='-KPIC'
19086
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19087
 
      ;;
19088
 
 
19089
 
    sysv4*MP*)
19090
 
      if test -d /usr/nec ;then
19091
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
19092
 
        lt_prog_compiler_static_GCJ='-Bstatic'
19093
 
      fi
19094
 
      ;;
19095
 
 
19096
 
    uts4*)
19097
 
      lt_prog_compiler_pic_GCJ='-pic'
19098
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19099
 
      ;;
19100
 
 
19101
 
    *)
19102
 
      lt_prog_compiler_can_build_shared_GCJ=no
19103
 
      ;;
19104
 
    esac
19105
 
  fi
19106
 
 
19107
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
19108
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
19109
 
 
19110
 
#
19111
 
# Check to make sure the PIC flag actually works.
19112
 
#
19113
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
19114
 
 
19115
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
19116
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
19117
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
19118
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19119
 
else
19120
 
  lt_prog_compiler_pic_works_GCJ=no
19121
 
  ac_outfile=conftest.$ac_objext
19122
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19123
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
19124
 
   # Insert the option either (1) after the last *FLAGS variable, or
19125
 
   # (2) before a word containing "conftest.", or (3) at the end.
19126
 
   # Note that $ac_compile itself does not contain backslashes and begins
19127
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
19128
 
   # The option is referenced via a variable to avoid confusing sed.
19129
 
   lt_compile=`echo "$ac_compile" | $SED \
19130
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
19131
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19132
 
   -e 's:$: $lt_compiler_flag:'`
19133
 
   (eval echo "\"\$as_me:19133: $lt_compile\"" >&5)
19134
 
   (eval "$lt_compile" 2>conftest.err)
19135
 
   ac_status=$?
19136
 
   cat conftest.err >&5
19137
 
   echo "$as_me:19137: \$? = $ac_status" >&5
19138
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
19139
 
     # The compiler can only warn and ignore the option if not recognized
19140
 
     # So say no if there are warnings
19141
 
     if test ! -s conftest.err; then
19142
 
       lt_prog_compiler_pic_works_GCJ=yes
19143
 
     fi
19144
 
   fi
19145
 
   $rm conftest*
19146
 
 
19147
 
fi
19148
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
19149
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
19150
 
 
19151
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
19152
 
    case $lt_prog_compiler_pic_GCJ in
19153
 
     "" | " "*) ;;
19154
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
19155
 
     esac
19156
 
else
19157
 
    lt_prog_compiler_pic_GCJ=
19158
 
     lt_prog_compiler_can_build_shared_GCJ=no
19159
 
fi
19160
 
 
19161
 
fi
19162
 
case "$host_os" in
19163
 
  # For platforms which do not support PIC, -DPIC is meaningless:
19164
 
  *djgpp*)
19165
 
    lt_prog_compiler_pic_GCJ=
19166
 
    ;;
19167
 
  *)
19168
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
19169
 
    ;;
19170
 
esac
19171
 
 
19172
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19173
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
19174
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
19175
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19176
 
else
19177
 
  lt_cv_prog_compiler_c_o_GCJ=no
19178
 
   $rm -r conftest 2>/dev/null
19179
 
   mkdir conftest
19180
 
   cd conftest
19181
 
   mkdir out
19182
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19183
 
 
19184
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
19185
 
   # Insert the option either (1) after the last *FLAGS variable, or
19186
 
   # (2) before a word containing "conftest.", or (3) at the end.
19187
 
   # Note that $ac_compile itself does not contain backslashes and begins
19188
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
19189
 
   lt_compile=`echo "$ac_compile" | $SED \
19190
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
19191
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19192
 
   -e 's:$: $lt_compiler_flag:'`
19193
 
   (eval echo "\"\$as_me:19193: $lt_compile\"" >&5)
19194
 
   (eval "$lt_compile" 2>out/conftest.err)
19195
 
   ac_status=$?
19196
 
   cat out/conftest.err >&5
19197
 
   echo "$as_me:19197: \$? = $ac_status" >&5
19198
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
19199
 
   then
19200
 
     # The compiler can only warn and ignore the option if not recognized
19201
 
     # So say no if there are warnings
19202
 
     if test ! -s out/conftest.err; then
19203
 
       lt_cv_prog_compiler_c_o_GCJ=yes
19204
 
     fi
19205
 
   fi
19206
 
   chmod u+w .
19207
 
   $rm conftest*
19208
 
   # SGI C++ compiler will create directory out/ii_files/ for
19209
 
   # template instantiation
19210
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
19211
 
   $rm out/* && rmdir out
19212
 
   cd ..
19213
 
   rmdir conftest
19214
 
   $rm conftest*
19215
 
 
19216
 
fi
19217
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
19218
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
19219
 
 
19220
 
 
19221
 
hard_links="nottested"
19222
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
19223
 
  # do not overwrite the value of need_locks provided by the user
19224
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
19225
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
19226
 
  hard_links=yes
19227
 
  $rm conftest*
19228
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
19229
 
  touch conftest.a
19230
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
19231
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
19232
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
19233
 
echo "${ECHO_T}$hard_links" >&6
19234
 
  if test "$hard_links" = no; then
19235
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19236
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19237
 
    need_locks=warn
19238
 
  fi
19239
 
else
19240
 
  need_locks=no
19241
 
fi
19242
 
 
19243
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19244
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
19245
 
 
19246
 
  runpath_var=
19247
 
  allow_undefined_flag_GCJ=
19248
 
  enable_shared_with_static_runtimes_GCJ=no
19249
 
  archive_cmds_GCJ=
19250
 
  archive_expsym_cmds_GCJ=
19251
 
  old_archive_From_new_cmds_GCJ=
19252
 
  old_archive_from_expsyms_cmds_GCJ=
19253
 
  export_dynamic_flag_spec_GCJ=
19254
 
  whole_archive_flag_spec_GCJ=
19255
 
  thread_safe_flag_spec_GCJ=
19256
 
  hardcode_libdir_flag_spec_GCJ=
19257
 
  hardcode_libdir_flag_spec_ld_GCJ=
19258
 
  hardcode_libdir_separator_GCJ=
19259
 
  hardcode_direct_GCJ=no
19260
 
  hardcode_minus_L_GCJ=no
19261
 
  hardcode_shlibpath_var_GCJ=unsupported
19262
 
  link_all_deplibs_GCJ=unknown
19263
 
  hardcode_automatic_GCJ=no
19264
 
  module_cmds_GCJ=
19265
 
  module_expsym_cmds_GCJ=
19266
 
  always_export_symbols_GCJ=no
19267
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19268
 
  # include_expsyms should be a list of space-separated symbols to be *always*
19269
 
  # included in the symbol list
19270
 
  include_expsyms_GCJ=
19271
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
19272
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
19273
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
19274
 
  # as well as any symbol that contains `d'.
19275
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
19276
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
19277
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
19278
 
  # the symbol is explicitly referenced.  Since portable code cannot
19279
 
  # rely on this symbol name, it's probably fine to never include it in
19280
 
  # preloaded symbol tables.
19281
 
  extract_expsyms_cmds=
19282
 
 
19283
 
  case $host_os in
19284
 
  cygwin* | mingw* | pw32*)
19285
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
19286
 
    # When not using gcc, we currently assume that we are using
19287
 
    # Microsoft Visual C++.
19288
 
    if test "$GCC" != yes; then
19289
 
      with_gnu_ld=no
19290
 
    fi
19291
 
    ;;
19292
 
  openbsd*)
19293
 
    with_gnu_ld=no
19294
 
    ;;
19295
 
  esac
19296
 
 
19297
 
  ld_shlibs_GCJ=yes
19298
 
  if test "$with_gnu_ld" = yes; then
19299
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
19300
 
    wlarc='${wl}'
19301
 
 
19302
 
    # See if GNU ld supports shared libraries.
19303
 
    case $host_os in
19304
 
    aix3* | aix4* | aix5*)
19305
 
      # On AIX/PPC, the GNU linker is very broken
19306
 
      if test "$host_cpu" != ia64; then
19307
 
        ld_shlibs_GCJ=no
19308
 
        cat <<EOF 1>&2
19309
 
 
19310
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
19311
 
*** to be unable to reliably create shared libraries on AIX.
19312
 
*** Therefore, libtool is disabling shared libraries support.  If you
19313
 
*** really care for shared libraries, you may want to modify your PATH
19314
 
*** so that a non-GNU linker is found, and then restart.
19315
 
 
19316
 
EOF
19317
 
      fi
19318
 
      ;;
19319
 
 
19320
 
    amigaos*)
19321
 
      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
19322
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19323
 
      hardcode_minus_L_GCJ=yes
19324
 
 
19325
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
19326
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
19327
 
      # to version 4, is to share data among multiple programs linked
19328
 
      # with the same dynamic library.  Since this doesn't match the
19329
 
      # behavior of shared libraries on other platforms, we can't use
19330
 
      # them.
19331
 
      ld_shlibs_GCJ=no
19332
 
      ;;
19333
 
 
19334
 
    beos*)
19335
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19336
 
        allow_undefined_flag_GCJ=unsupported
19337
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
19338
 
        # support --undefined.  This deserves some investigation.  FIXME
19339
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19340
 
      else
19341
 
        ld_shlibs_GCJ=no
19342
 
      fi
19343
 
      ;;
19344
 
 
19345
 
    cygwin* | mingw* | pw32*)
19346
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
19347
 
      # as there is no search path for DLLs.
19348
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19349
 
      allow_undefined_flag_GCJ=unsupported
19350
 
      always_export_symbols_GCJ=no
19351
 
      enable_shared_with_static_runtimes_GCJ=yes
19352
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
19353
 
 
19354
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
19355
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
19356
 
        # If the export-symbols file already is a .def file (1st line
19357
 
        # is EXPORTS), use it as is; otherwise, prepend...
19358
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
19359
 
          cp $export_symbols $output_objdir/$soname.def;
19360
 
        else
19361
 
          echo EXPORTS > $output_objdir/$soname.def;
19362
 
          cat $export_symbols >> $output_objdir/$soname.def;
19363
 
        fi~
19364
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
19365
 
      else
19366
 
        ld_shlibs=no
19367
 
      fi
19368
 
      ;;
19369
 
 
19370
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
19371
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19372
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
19373
 
        wlarc=
19374
 
      else
19375
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19376
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19377
 
      fi
19378
 
      ;;
19379
 
 
19380
 
    solaris* | sysv5*)
19381
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
19382
 
        ld_shlibs_GCJ=no
19383
 
        cat <<EOF 1>&2
19384
 
 
19385
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
19386
 
*** create shared libraries on Solaris systems.  Therefore, libtool
19387
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
19388
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
19389
 
*** your PATH or compiler configuration so that the native linker is
19390
 
*** used, and then restart.
19391
 
 
19392
 
EOF
19393
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19394
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19395
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19396
 
      else
19397
 
        ld_shlibs_GCJ=no
19398
 
      fi
19399
 
      ;;
19400
 
 
19401
 
    sunos4*)
19402
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19403
 
      wlarc=
19404
 
      hardcode_direct_GCJ=yes
19405
 
      hardcode_shlibpath_var_GCJ=no
19406
 
      ;;
19407
 
 
19408
 
  linux*)
19409
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19410
 
        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19411
 
        archive_cmds_GCJ="$tmp_archive_cmds"
19412
 
      supports_anon_versioning=no
19413
 
      case `$LD -v 2>/dev/null` in
19414
 
        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
19415
 
        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
19416
 
        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
19417
 
        *\ 2.11.*) ;; # other 2.11 versions
19418
 
        *) supports_anon_versioning=yes ;;
19419
 
      esac
19420
 
      if test $supports_anon_versioning = yes; then
19421
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
19422
 
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
19423
 
$echo "local: *; };" >> $output_objdir/$libname.ver~
19424
 
        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
19425
 
      else
19426
 
        archive_expsym_cmds_GCJ="$tmp_archive_cmds"
19427
 
      fi
19428
 
      link_all_deplibs_GCJ=no
19429
 
    else
19430
 
      ld_shlibs_GCJ=no
19431
 
    fi
19432
 
    ;;
19433
 
 
19434
 
    *)
19435
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19436
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19437
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19438
 
      else
19439
 
        ld_shlibs_GCJ=no
19440
 
      fi
19441
 
      ;;
19442
 
    esac
19443
 
 
19444
 
    if test "$ld_shlibs_GCJ" = yes; then
19445
 
      runpath_var=LD_RUN_PATH
19446
 
      hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
19447
 
      export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
19448
 
      # ancient GNU ld didn't support --whole-archive et. al.
19449
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
19450
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
19451
 
      else
19452
 
        whole_archive_flag_spec_GCJ=
19453
 
      fi
19454
 
    fi
19455
 
  else
19456
 
    # PORTME fill in a description of your system's linker (not GNU ld)
19457
 
    case $host_os in
19458
 
    aix3*)
19459
 
      allow_undefined_flag_GCJ=unsupported
19460
 
      always_export_symbols_GCJ=yes
19461
 
      archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
19462
 
      # Note: this linker hardcodes the directories in LIBPATH if there
19463
 
      # are no directories specified by -L.
19464
 
      hardcode_minus_L_GCJ=yes
19465
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
19466
 
        # Neither direct hardcoding nor static linking is supported with a
19467
 
        # broken collect2.
19468
 
        hardcode_direct_GCJ=unsupported
19469
 
      fi
19470
 
      ;;
19471
 
 
19472
 
    aix4* | aix5*)
19473
 
      if test "$host_cpu" = ia64; then
19474
 
        # On IA64, the linker does run time linking by default, so we don't
19475
 
        # have to do anything special.
19476
 
        aix_use_runtimelinking=no
19477
 
        exp_sym_flag='-Bexport'
19478
 
        no_entry_flag=""
19479
 
      else
19480
 
        # If we're using GNU nm, then we don't want the "-C" option.
19481
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
19482
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
19483
 
          export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
19484
 
        else
19485
 
          export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
19486
 
        fi
19487
 
        aix_use_runtimelinking=no
19488
 
 
19489
 
        # Test if we are trying to use run time linking or normal
19490
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
19491
 
        # need to do runtime linking.
19492
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
19493
 
          for ld_flag in $LDFLAGS; do
19494
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
19495
 
            aix_use_runtimelinking=yes
19496
 
            break
19497
 
          fi
19498
 
          done
19499
 
        esac
19500
 
 
19501
 
        exp_sym_flag='-bexport'
19502
 
        no_entry_flag='-bnoentry'
19503
 
      fi
19504
 
 
19505
 
      # When large executables or shared objects are built, AIX ld can
19506
 
      # have problems creating the table of contents.  If linking a library
19507
 
      # or program results in "error TOC overflow" add -mminimal-toc to
19508
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
19509
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
19510
 
 
19511
 
      archive_cmds_GCJ=''
19512
 
      hardcode_direct_GCJ=yes
19513
 
      hardcode_libdir_separator_GCJ=':'
19514
 
      link_all_deplibs_GCJ=yes
19515
 
 
19516
 
      if test "$GCC" = yes; then
19517
 
        case $host_os in aix4.012|aix4.012.*)
19518
 
        # We only want to do this on AIX 4.2 and lower, the check
19519
 
        # below for broken collect2 doesn't work under 4.3+
19520
 
          collect2name=`${CC} -print-prog-name=collect2`
19521
 
          if test -f "$collect2name" && \
19522
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
19523
 
          then
19524
 
          # We have reworked collect2
19525
 
          hardcode_direct_GCJ=yes
19526
 
          else
19527
 
          # We have old collect2
19528
 
          hardcode_direct_GCJ=unsupported
19529
 
          # It fails to find uninstalled libraries when the uninstalled
19530
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
19531
 
          # to unsupported forces relinking
19532
 
          hardcode_minus_L_GCJ=yes
19533
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
19534
 
          hardcode_libdir_separator_GCJ=
19535
 
          fi
19536
 
        esac
19537
 
        shared_flag='-shared'
19538
 
      else
19539
 
        # not using gcc
19540
 
        if test "$host_cpu" = ia64; then
19541
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
19542
 
        # chokes on -Wl,-G. The following line is correct:
19543
 
          shared_flag='-G'
19544
 
        else
19545
 
        if test "$aix_use_runtimelinking" = yes; then
19546
 
            shared_flag='${wl}-G'
19547
 
          else
19548
 
            shared_flag='${wl}-bM:SRE'
19549
 
        fi
19550
 
        fi
19551
 
      fi
19552
 
 
19553
 
      # It seems that -bexpall does not export symbols beginning with
19554
 
      # underscore (_), so it is better to generate a list of symbols to export.
19555
 
      always_export_symbols_GCJ=yes
19556
 
      if test "$aix_use_runtimelinking" = yes; then
19557
 
        # Warning - without using the other runtime loading flags (-brtl),
19558
 
        # -berok will link without error, but may produce a broken library.
19559
 
        allow_undefined_flag_GCJ='-berok'
19560
 
       # Determine the default libpath from the value encoded in an empty executable.
19561
 
       cat >conftest.$ac_ext <<_ACEOF
19562
 
/* confdefs.h.  */
19563
 
_ACEOF
19564
 
cat confdefs.h >>conftest.$ac_ext
19565
 
cat >>conftest.$ac_ext <<_ACEOF
19566
 
/* end confdefs.h.  */
19567
 
 
19568
 
int
19569
 
main ()
19570
 
{
19571
 
 
19572
 
  ;
19573
 
  return 0;
19574
 
}
19575
 
_ACEOF
19576
 
rm -f conftest.$ac_objext conftest$ac_exeext
19577
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19578
 
  (eval $ac_link) 2>conftest.er1
19579
 
  ac_status=$?
19580
 
  grep -v '^ *+' conftest.er1 >conftest.err
19581
 
  rm -f conftest.er1
19582
 
  cat conftest.err >&5
19583
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19584
 
  (exit $ac_status); } &&
19585
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19586
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19587
 
  (eval $ac_try) 2>&5
19588
 
  ac_status=$?
19589
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19590
 
  (exit $ac_status); }; } &&
19591
 
         { ac_try='test -s conftest$ac_exeext'
19592
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19593
 
  (eval $ac_try) 2>&5
19594
 
  ac_status=$?
19595
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19596
 
  (exit $ac_status); }; }; then
19597
 
 
19598
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
19599
 
}'`
19600
 
# Check for a 64-bit object if we didn't find anything.
19601
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
19602
 
}'`; fi
19603
 
else
19604
 
  echo "$as_me: failed program was:" >&5
19605
 
sed 's/^/| /' conftest.$ac_ext >&5
19606
 
 
19607
 
fi
19608
 
rm -f conftest.err conftest.$ac_objext \
19609
 
      conftest$ac_exeext conftest.$ac_ext
19610
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19611
 
 
19612
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
19613
 
        archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
19614
 
       else
19615
 
        if test "$host_cpu" = ia64; then
19616
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
19617
 
          allow_undefined_flag_GCJ="-z nodefs"
19618
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
19619
 
        else
19620
 
         # Determine the default libpath from the value encoded in an empty executable.
19621
 
         cat >conftest.$ac_ext <<_ACEOF
19622
 
/* confdefs.h.  */
19623
 
_ACEOF
19624
 
cat confdefs.h >>conftest.$ac_ext
19625
 
cat >>conftest.$ac_ext <<_ACEOF
19626
 
/* end confdefs.h.  */
19627
 
 
19628
 
int
19629
 
main ()
19630
 
{
19631
 
 
19632
 
  ;
19633
 
  return 0;
19634
 
}
19635
 
_ACEOF
19636
 
rm -f conftest.$ac_objext conftest$ac_exeext
19637
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19638
 
  (eval $ac_link) 2>conftest.er1
19639
 
  ac_status=$?
19640
 
  grep -v '^ *+' conftest.er1 >conftest.err
19641
 
  rm -f conftest.er1
19642
 
  cat conftest.err >&5
19643
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19644
 
  (exit $ac_status); } &&
19645
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19646
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19647
 
  (eval $ac_try) 2>&5
19648
 
  ac_status=$?
19649
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19650
 
  (exit $ac_status); }; } &&
19651
 
         { ac_try='test -s conftest$ac_exeext'
19652
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19653
 
  (eval $ac_try) 2>&5
19654
 
  ac_status=$?
19655
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656
 
  (exit $ac_status); }; }; then
19657
 
 
19658
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
19659
 
}'`
19660
 
# Check for a 64-bit object if we didn't find anything.
19661
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
19662
 
}'`; fi
19663
 
else
19664
 
  echo "$as_me: failed program was:" >&5
19665
 
sed 's/^/| /' conftest.$ac_ext >&5
19666
 
 
19667
 
fi
19668
 
rm -f conftest.err conftest.$ac_objext \
19669
 
      conftest$ac_exeext conftest.$ac_ext
19670
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19671
 
 
19672
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
19673
 
          # Warning - without using the other run time loading flags,
19674
 
          # -berok will link without error, but may produce a broken library.
19675
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
19676
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
19677
 
          # -bexpall does not export symbols beginning with underscore (_)
19678
 
          always_export_symbols_GCJ=yes
19679
 
          # Exported symbols can be pulled into shared objects from archives
19680
 
          whole_archive_flag_spec_GCJ=' '
19681
 
          archive_cmds_need_lc_GCJ=yes
19682
 
          # This is similar to how AIX traditionally builds it's shared libraries.
19683
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
19684
 
        fi
19685
 
      fi
19686
 
      ;;
19687
 
 
19688
 
    amigaos*)
19689
 
      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
19690
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19691
 
      hardcode_minus_L_GCJ=yes
19692
 
      # see comment about different semantics on the GNU ld section
19693
 
      ld_shlibs_GCJ=no
19694
 
      ;;
19695
 
 
19696
 
    bsdi4*)
19697
 
      export_dynamic_flag_spec_GCJ=-rdynamic
19698
 
      ;;
19699
 
 
19700
 
    cygwin* | mingw* | pw32*)
19701
 
      # When not using gcc, we currently assume that we are using
19702
 
      # Microsoft Visual C++.
19703
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
19704
 
      # no search path for DLLs.
19705
 
      hardcode_libdir_flag_spec_GCJ=' '
19706
 
      allow_undefined_flag_GCJ=unsupported
19707
 
      # Tell ltmain to make .lib files, not .a files.
19708
 
      libext=lib
19709
 
      # Tell ltmain to make .dll files, not .so files.
19710
 
      shrext_cmds=".dll"
19711
 
      # FIXME: Setting linknames here is a bad hack.
19712
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
19713
 
      # The linker will automatically build a .lib file if we build a DLL.
19714
 
      old_archive_From_new_cmds_GCJ='true'
19715
 
      # FIXME: Should let the user specify the lib program.
19716
 
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
19717
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
19718
 
      enable_shared_with_static_runtimes_GCJ=yes
19719
 
      ;;
19720
 
 
19721
 
    darwin* | rhapsody*)
19722
 
    if test "$GXX" = yes ; then
19723
 
      archive_cmds_need_lc_GCJ=no
19724
 
      case "$host_os" in
19725
 
      rhapsody* | darwin1.[012])
19726
 
        allow_undefined_flag_GCJ='-undefined suppress'
19727
 
        ;;
19728
 
      *) # Darwin 1.3 on
19729
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
19730
 
        allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
19731
 
      else
19732
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
19733
 
          10.[012])
19734
 
            allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
19735
 
            ;;
19736
 
          10.*)
19737
 
            allow_undefined_flag_GCJ='-undefined dynamic_lookup'
19738
 
            ;;
19739
 
        esac
19740
 
      fi
19741
 
        ;;
19742
 
      esac
19743
 
        lt_int_apple_cc_single_mod=no
19744
 
        output_verbose_link_cmd='echo'
19745
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
19746
 
          lt_int_apple_cc_single_mod=yes
19747
 
        fi
19748
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
19749
 
          archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
19750
 
        else
19751
 
        archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
19752
 
      fi
19753
 
      module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19754
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
19755
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
19756
 
          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19757
 
        else
19758
 
          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19759
 
        fi
19760
 
          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19761
 
      hardcode_direct_GCJ=no
19762
 
      hardcode_automatic_GCJ=yes
19763
 
      hardcode_shlibpath_var_GCJ=unsupported
19764
 
      whole_archive_flag_spec_GCJ='-all_load $convenience'
19765
 
      link_all_deplibs_GCJ=yes
19766
 
    else
19767
 
      ld_shlibs_GCJ=no
19768
 
    fi
19769
 
      ;;
19770
 
 
19771
 
    dgux*)
19772
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19773
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19774
 
      hardcode_shlibpath_var_GCJ=no
19775
 
      ;;
19776
 
 
19777
 
    freebsd1*)
19778
 
      ld_shlibs_GCJ=no
19779
 
      ;;
19780
 
 
19781
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
19782
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
19783
 
    # does not break anything, and helps significantly (at the cost of a little
19784
 
    # extra space).
19785
 
    freebsd2.2*)
19786
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
19787
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
19788
 
      hardcode_direct_GCJ=yes
19789
 
      hardcode_shlibpath_var_GCJ=no
19790
 
      ;;
19791
 
 
19792
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
19793
 
    freebsd2*)
19794
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19795
 
      hardcode_direct_GCJ=yes
19796
 
      hardcode_minus_L_GCJ=yes
19797
 
      hardcode_shlibpath_var_GCJ=no
19798
 
      ;;
19799
 
 
19800
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
19801
 
    freebsd* | kfreebsd*-gnu)
19802
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
19803
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
19804
 
      hardcode_direct_GCJ=yes
19805
 
      hardcode_shlibpath_var_GCJ=no
19806
 
      ;;
19807
 
 
19808
 
    hpux9*)
19809
 
      if test "$GCC" = yes; then
19810
 
        archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
19811
 
      else
19812
 
        archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
19813
 
      fi
19814
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19815
 
      hardcode_libdir_separator_GCJ=:
19816
 
      hardcode_direct_GCJ=yes
19817
 
 
19818
 
      # hardcode_minus_L: Not really in the search PATH,
19819
 
      # but as the default location of the library.
19820
 
      hardcode_minus_L_GCJ=yes
19821
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
19822
 
      ;;
19823
 
 
19824
 
    hpux10* | hpux11*)
19825
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
19826
 
        case "$host_cpu" in
19827
 
        hppa*64*|ia64*)
19828
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19829
 
          ;;
19830
 
        *)
19831
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19832
 
          ;;
19833
 
        esac
19834
 
      else
19835
 
        case "$host_cpu" in
19836
 
        hppa*64*|ia64*)
19837
 
          archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
19838
 
          ;;
19839
 
        *)
19840
 
          archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
19841
 
          ;;
19842
 
        esac
19843
 
      fi
19844
 
      if test "$with_gnu_ld" = no; then
19845
 
        case "$host_cpu" in
19846
 
        hppa*64*)
19847
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19848
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
19849
 
          hardcode_libdir_separator_GCJ=:
19850
 
          hardcode_direct_GCJ=no
19851
 
          hardcode_shlibpath_var_GCJ=no
19852
 
          ;;
19853
 
        ia64*)
19854
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
19855
 
          hardcode_direct_GCJ=no
19856
 
          hardcode_shlibpath_var_GCJ=no
19857
 
 
19858
 
          # hardcode_minus_L: Not really in the search PATH,
19859
 
          # but as the default location of the library.
19860
 
          hardcode_minus_L_GCJ=yes
19861
 
          ;;
19862
 
        *)
19863
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19864
 
          hardcode_libdir_separator_GCJ=:
19865
 
          hardcode_direct_GCJ=yes
19866
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
19867
 
 
19868
 
          # hardcode_minus_L: Not really in the search PATH,
19869
 
          # but as the default location of the library.
19870
 
          hardcode_minus_L_GCJ=yes
19871
 
          ;;
19872
 
        esac
19873
 
      fi
19874
 
      ;;
19875
 
 
19876
 
    irix5* | irix6* | nonstopux*)
19877
 
      if test "$GCC" = yes; then
19878
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19879
 
      else
19880
 
        archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19881
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
19882
 
      fi
19883
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19884
 
      hardcode_libdir_separator_GCJ=:
19885
 
      link_all_deplibs_GCJ=yes
19886
 
      ;;
19887
 
 
19888
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
19889
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19890
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
19891
 
      else
19892
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
19893
 
      fi
19894
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
19895
 
      hardcode_direct_GCJ=yes
19896
 
      hardcode_shlibpath_var_GCJ=no
19897
 
      ;;
19898
 
 
19899
 
    newsos6)
19900
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19901
 
      hardcode_direct_GCJ=yes
19902
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19903
 
      hardcode_libdir_separator_GCJ=:
19904
 
      hardcode_shlibpath_var_GCJ=no
19905
 
      ;;
19906
 
 
19907
 
    openbsd*)
19908
 
      hardcode_direct_GCJ=yes
19909
 
      hardcode_shlibpath_var_GCJ=no
19910
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19911
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19912
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19913
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
19914
 
      else
19915
 
       case $host_os in
19916
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
19917
 
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19918
 
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
19919
 
           ;;
19920
 
         *)
19921
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19922
 
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19923
 
           ;;
19924
 
       esac
19925
 
      fi
19926
 
      ;;
19927
 
 
19928
 
    os2*)
19929
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19930
 
      hardcode_minus_L_GCJ=yes
19931
 
      allow_undefined_flag_GCJ=unsupported
19932
 
      archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
19933
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
19934
 
      ;;
19935
 
 
19936
 
    osf3*)
19937
 
      if test "$GCC" = yes; then
19938
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
19939
 
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19940
 
      else
19941
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
19942
 
        archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19943
 
      fi
19944
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19945
 
      hardcode_libdir_separator_GCJ=:
19946
 
      ;;
19947
 
 
19948
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
19949
 
      if test "$GCC" = yes; then
19950
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
19951
 
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19952
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19953
 
      else
19954
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
19955
 
        archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19956
 
        archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
19957
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
19958
 
 
19959
 
        # Both c and cxx compiler support -rpath directly
19960
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
19961
 
      fi
19962
 
      hardcode_libdir_separator_GCJ=:
19963
 
      ;;
19964
 
 
19965
 
    sco3.2v5*)
19966
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19967
 
      hardcode_shlibpath_var_GCJ=no
19968
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
19969
 
      runpath_var=LD_RUN_PATH
19970
 
      hardcode_runpath_var=yes
19971
 
      ;;
19972
 
 
19973
 
    solaris*)
19974
 
      no_undefined_flag_GCJ=' -z text'
19975
 
      if test "$GCC" = yes; then
19976
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19977
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19978
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
19979
 
      else
19980
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19981
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19982
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19983
 
      fi
19984
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
19985
 
      hardcode_shlibpath_var_GCJ=no
19986
 
      case $host_os in
19987
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
19988
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
19989
 
        whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
19990
 
      esac
19991
 
      link_all_deplibs_GCJ=yes
19992
 
      ;;
19993
 
 
19994
 
    sunos4*)
19995
 
      if test "x$host_vendor" = xsequent; then
19996
 
        # Use $CC to link under sequent, because it throws in some extra .o
19997
 
        # files that make .init and .fini sections work.
19998
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
19999
 
      else
20000
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
20001
 
      fi
20002
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20003
 
      hardcode_direct_GCJ=yes
20004
 
      hardcode_minus_L_GCJ=yes
20005
 
      hardcode_shlibpath_var_GCJ=no
20006
 
      ;;
20007
 
 
20008
 
    sysv4)
20009
 
      case $host_vendor in
20010
 
        sni)
20011
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20012
 
          hardcode_direct_GCJ=yes # is this really true???
20013
 
        ;;
20014
 
        siemens)
20015
 
          ## LD is ld it makes a PLAMLIB
20016
 
          ## CC just makes a GrossModule.
20017
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
20018
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
20019
 
          hardcode_direct_GCJ=no
20020
 
        ;;
20021
 
        motorola)
20022
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20023
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
20024
 
        ;;
20025
 
      esac
20026
 
      runpath_var='LD_RUN_PATH'
20027
 
      hardcode_shlibpath_var_GCJ=no
20028
 
      ;;
20029
 
 
20030
 
    sysv4.3*)
20031
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20032
 
      hardcode_shlibpath_var_GCJ=no
20033
 
      export_dynamic_flag_spec_GCJ='-Bexport'
20034
 
      ;;
20035
 
 
20036
 
    sysv4*MP*)
20037
 
      if test -d /usr/nec; then
20038
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20039
 
        hardcode_shlibpath_var_GCJ=no
20040
 
        runpath_var=LD_RUN_PATH
20041
 
        hardcode_runpath_var=yes
20042
 
        ld_shlibs_GCJ=yes
20043
 
      fi
20044
 
      ;;
20045
 
 
20046
 
    sysv4.2uw2*)
20047
 
      archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
20048
 
      hardcode_direct_GCJ=yes
20049
 
      hardcode_minus_L_GCJ=no
20050
 
      hardcode_shlibpath_var_GCJ=no
20051
 
      hardcode_runpath_var=yes
20052
 
      runpath_var=LD_RUN_PATH
20053
 
      ;;
20054
 
 
20055
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
20056
 
      no_undefined_flag_GCJ='${wl}-z ${wl}text'
20057
 
      if test "$GCC" = yes; then
20058
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20059
 
      else
20060
 
        archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20061
 
      fi
20062
 
      runpath_var='LD_RUN_PATH'
20063
 
      hardcode_shlibpath_var_GCJ=no
20064
 
      ;;
20065
 
 
20066
 
    sysv5*)
20067
 
      no_undefined_flag_GCJ=' -z text'
20068
 
      # $CC -shared without GNU ld will not create a library from C++
20069
 
      # object files and a static libstdc++, better avoid it by now
20070
 
      archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
20071
 
      archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20072
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
20073
 
      hardcode_libdir_flag_spec_GCJ=
20074
 
      hardcode_shlibpath_var_GCJ=no
20075
 
      runpath_var='LD_RUN_PATH'
20076
 
      ;;
20077
 
 
20078
 
    uts4*)
20079
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20080
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20081
 
      hardcode_shlibpath_var_GCJ=no
20082
 
      ;;
20083
 
 
20084
 
    *)
20085
 
      ld_shlibs_GCJ=no
20086
 
      ;;
20087
 
    esac
20088
 
  fi
20089
 
 
20090
 
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
20091
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
20092
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
20093
 
 
20094
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20095
 
if test "$GCC" = yes; then
20096
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20097
 
fi
20098
 
 
20099
 
#
20100
 
# Do we need to explicitly link libc?
20101
 
#
20102
 
case "x$archive_cmds_need_lc_GCJ" in
20103
 
x|xyes)
20104
 
  # Assume -lc should be added
20105
 
  archive_cmds_need_lc_GCJ=yes
20106
 
 
20107
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
20108
 
    case $archive_cmds_GCJ in
20109
 
    *'~'*)
20110
 
      # FIXME: we may have to deal with multi-command sequences.
20111
 
      ;;
20112
 
    '$CC '*)
20113
 
      # Test whether the compiler implicitly links with -lc since on some
20114
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
20115
 
      # to ld, don't add -lc before -lgcc.
20116
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20117
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
20118
 
      $rm conftest*
20119
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
20120
 
 
20121
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20122
 
  (eval $ac_compile) 2>&5
20123
 
  ac_status=$?
20124
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20125
 
  (exit $ac_status); } 2>conftest.err; then
20126
 
        soname=conftest
20127
 
        lib=conftest
20128
 
        libobjs=conftest.$ac_objext
20129
 
        deplibs=
20130
 
        wl=$lt_prog_compiler_wl_GCJ
20131
 
        compiler_flags=-v
20132
 
        linker_flags=-v
20133
 
        verstring=
20134
 
        output_objdir=.
20135
 
        libname=conftest
20136
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
20137
 
        allow_undefined_flag_GCJ=
20138
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
20139
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
20140
 
  ac_status=$?
20141
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20142
 
  (exit $ac_status); }
20143
 
        then
20144
 
          archive_cmds_need_lc_GCJ=no
20145
 
        else
20146
 
          archive_cmds_need_lc_GCJ=yes
20147
 
        fi
20148
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
20149
 
      else
20150
 
        cat conftest.err 1>&5
20151
 
      fi
20152
 
      $rm conftest*
20153
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
20154
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
20155
 
      ;;
20156
 
    esac
20157
 
  fi
20158
 
  ;;
20159
 
esac
20160
 
 
20161
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20162
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
20163
 
library_names_spec=
20164
 
libname_spec='lib$name'
20165
 
soname_spec=
20166
 
shrext_cmds=".so"
20167
 
postinstall_cmds=
20168
 
postuninstall_cmds=
20169
 
finish_cmds=
20170
 
finish_eval=
20171
 
shlibpath_var=
20172
 
shlibpath_overrides_runpath=unknown
20173
 
version_type=none
20174
 
dynamic_linker="$host_os ld.so"
20175
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
20176
 
if test "$GCC" = yes; then
20177
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20178
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
20179
 
    # if the path contains ";" then we assume it to be the separator
20180
 
    # otherwise default to the standard path separator (i.e. ":") - it is
20181
 
    # assumed that no part of a normal pathname contains ";" but that should
20182
 
    # okay in the real world where ";" in dirpaths is itself problematic.
20183
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20184
 
  else
20185
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
20186
 
  fi
20187
 
else
20188
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
20189
 
fi
20190
 
need_lib_prefix=unknown
20191
 
hardcode_into_libs=no
20192
 
 
20193
 
# when you set need_version to no, make sure it does not cause -set_version
20194
 
# flags to be left without arguments
20195
 
need_version=unknown
20196
 
 
20197
 
case $host_os in
20198
 
aix3*)
20199
 
  version_type=linux
20200
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
20201
 
  shlibpath_var=LIBPATH
20202
 
 
20203
 
  # AIX 3 has no versioning support, so we append a major version to the name.
20204
 
  soname_spec='${libname}${release}${shared_ext}$major'
20205
 
  ;;
20206
 
 
20207
 
aix4* | aix5*)
20208
 
  version_type=linux
20209
 
  need_lib_prefix=no
20210
 
  need_version=no
20211
 
  hardcode_into_libs=yes
20212
 
  if test "$host_cpu" = ia64; then
20213
 
    # AIX 5 supports IA64
20214
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20215
 
    shlibpath_var=LD_LIBRARY_PATH
20216
 
  else
20217
 
    # With GCC up to 2.95.x, collect2 would create an import file
20218
 
    # for dependence libraries.  The import file would start with
20219
 
    # the line `#! .'.  This would cause the generated library to
20220
 
    # depend on `.', always an invalid library.  This was fixed in
20221
 
    # development snapshots of GCC prior to 3.0.
20222
 
    case $host_os in
20223
 
      aix4 | aix4.[01] | aix4.[01].*)
20224
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20225
 
           echo ' yes '
20226
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
20227
 
        :
20228
 
      else
20229
 
        can_build_shared=no
20230
 
      fi
20231
 
      ;;
20232
 
    esac
20233
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20234
 
    # soname into executable. Probably we can add versioning support to
20235
 
    # collect2, so additional links can be useful in future.
20236
 
    if test "$aix_use_runtimelinking" = yes; then
20237
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20238
 
      # instead of lib<name>.a to let people know that these are not
20239
 
      # typical AIX shared libraries.
20240
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20241
 
    else
20242
 
      # We preserve .a as extension for shared libraries through AIX4.2
20243
 
      # and later when we are not doing run time linking.
20244
 
      library_names_spec='${libname}${release}.a $libname.a'
20245
 
      soname_spec='${libname}${release}${shared_ext}$major'
20246
 
    fi
20247
 
    shlibpath_var=LIBPATH
20248
 
  fi
20249
 
  ;;
20250
 
 
20251
 
amigaos*)
20252
 
  library_names_spec='$libname.ixlibrary $libname.a'
20253
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
20254
 
  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'
20255
 
  ;;
20256
 
 
20257
 
beos*)
20258
 
  library_names_spec='${libname}${shared_ext}'
20259
 
  dynamic_linker="$host_os ld.so"
20260
 
  shlibpath_var=LIBRARY_PATH
20261
 
  ;;
20262
 
 
20263
 
bsdi4*)
20264
 
  version_type=linux
20265
 
  need_version=no
20266
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20267
 
  soname_spec='${libname}${release}${shared_ext}$major'
20268
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
20269
 
  shlibpath_var=LD_LIBRARY_PATH
20270
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20271
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
20272
 
  # the default ld.so.conf also contains /usr/contrib/lib and
20273
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20274
 
  # libtool to hard-code these into programs
20275
 
  ;;
20276
 
 
20277
 
cygwin* | mingw* | pw32*)
20278
 
  version_type=windows
20279
 
  shrext_cmds=".dll"
20280
 
  need_version=no
20281
 
  need_lib_prefix=no
20282
 
 
20283
 
  case $GCC,$host_os in
20284
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
20285
 
    library_names_spec='$libname.dll.a'
20286
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
20287
 
    postinstall_cmds='base_file=`basename \${file}`~
20288
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20289
 
      dldir=$destdir/`dirname \$dlpath`~
20290
 
      test -d \$dldir || mkdir -p \$dldir~
20291
 
      $install_prog $dir/$dlname \$dldir/$dlname'
20292
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20293
 
      dlpath=$dir/\$dldll~
20294
 
       $rm \$dlpath'
20295
 
    shlibpath_overrides_runpath=yes
20296
 
 
20297
 
    case $host_os in
20298
 
    cygwin*)
20299
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20300
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20301
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
20302
 
      ;;
20303
 
    mingw*)
20304
 
      # MinGW DLLs use traditional 'lib' prefix
20305
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20306
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20307
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
20308
 
        # It is most probably a Windows format PATH printed by
20309
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
20310
 
        # path with ; separators, and with drive letters. We can handle the
20311
 
        # drive letters (cygwin fileutils understands them), so leave them,
20312
 
        # especially as we might pass files found there to a mingw objdump,
20313
 
        # which wouldn't understand a cygwinified path. Ahh.
20314
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20315
 
      else
20316
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
20317
 
      fi
20318
 
      ;;
20319
 
    pw32*)
20320
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
20321
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
20322
 
      ;;
20323
 
    esac
20324
 
    ;;
20325
 
 
20326
 
  *)
20327
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20328
 
    ;;
20329
 
  esac
20330
 
  dynamic_linker='Win32 ld.exe'
20331
 
  # FIXME: first we should search . and the directory the executable is in
20332
 
  shlibpath_var=PATH
20333
 
  ;;
20334
 
 
20335
 
darwin* | rhapsody*)
20336
 
  dynamic_linker="$host_os dyld"
20337
 
  version_type=darwin
20338
 
  need_lib_prefix=no
20339
 
  need_version=no
20340
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20341
 
  soname_spec='${libname}${release}${major}$shared_ext'
20342
 
  shlibpath_overrides_runpath=yes
20343
 
  shlibpath_var=DYLD_LIBRARY_PATH
20344
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
20345
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
20346
 
  if test "$GCC" = yes; then
20347
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
20348
 
  else
20349
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
20350
 
  fi
20351
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
20352
 
  ;;
20353
 
 
20354
 
dgux*)
20355
 
  version_type=linux
20356
 
  need_lib_prefix=no
20357
 
  need_version=no
20358
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20359
 
  soname_spec='${libname}${release}${shared_ext}$major'
20360
 
  shlibpath_var=LD_LIBRARY_PATH
20361
 
  ;;
20362
 
 
20363
 
freebsd1*)
20364
 
  dynamic_linker=no
20365
 
  ;;
20366
 
 
20367
 
kfreebsd*-gnu)
20368
 
  version_type=linux
20369
 
  need_lib_prefix=no
20370
 
  need_version=no
20371
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20372
 
  soname_spec='${libname}${release}${shared_ext}$major'
20373
 
  shlibpath_var=LD_LIBRARY_PATH
20374
 
  shlibpath_overrides_runpath=no
20375
 
  hardcode_into_libs=yes
20376
 
  dynamic_linker='GNU ld.so'
20377
 
  ;;
20378
 
 
20379
 
freebsd*)
20380
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
20381
 
  version_type=freebsd-$objformat
20382
 
  case $version_type in
20383
 
    freebsd-elf*)
20384
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20385
 
      need_version=no
20386
 
      need_lib_prefix=no
20387
 
      ;;
20388
 
    freebsd-*)
20389
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20390
 
      need_version=yes
20391
 
      ;;
20392
 
  esac
20393
 
  shlibpath_var=LD_LIBRARY_PATH
20394
 
  case $host_os in
20395
 
  freebsd2*)
20396
 
    shlibpath_overrides_runpath=yes
20397
 
    ;;
20398
 
  freebsd3.01* | freebsdelf3.01*)
20399
 
    shlibpath_overrides_runpath=yes
20400
 
    hardcode_into_libs=yes
20401
 
    ;;
20402
 
  *) # from 3.2 on
20403
 
    shlibpath_overrides_runpath=no
20404
 
    hardcode_into_libs=yes
20405
 
    ;;
20406
 
  esac
20407
 
  ;;
20408
 
 
20409
 
gnu*)
20410
 
  version_type=linux
20411
 
  need_lib_prefix=no
20412
 
  need_version=no
20413
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20414
 
  soname_spec='${libname}${release}${shared_ext}$major'
20415
 
  shlibpath_var=LD_LIBRARY_PATH
20416
 
  hardcode_into_libs=yes
20417
 
  ;;
20418
 
 
20419
 
hpux9* | hpux10* | hpux11*)
20420
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
20421
 
  # link against other versions.
20422
 
  version_type=sunos
20423
 
  need_lib_prefix=no
20424
 
  need_version=no
20425
 
  case "$host_cpu" in
20426
 
  ia64*)
20427
 
    shrext_cmds='.so'
20428
 
    hardcode_into_libs=yes
20429
 
    dynamic_linker="$host_os dld.so"
20430
 
    shlibpath_var=LD_LIBRARY_PATH
20431
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20432
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20433
 
    soname_spec='${libname}${release}${shared_ext}$major'
20434
 
    if test "X$HPUX_IA64_MODE" = X32; then
20435
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20436
 
    else
20437
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20438
 
    fi
20439
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20440
 
    ;;
20441
 
   hppa*64*)
20442
 
     shrext_cmds='.sl'
20443
 
     hardcode_into_libs=yes
20444
 
     dynamic_linker="$host_os dld.sl"
20445
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20446
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20447
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20448
 
     soname_spec='${libname}${release}${shared_ext}$major'
20449
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20450
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20451
 
     ;;
20452
 
   *)
20453
 
    shrext_cmds='.sl'
20454
 
    dynamic_linker="$host_os dld.sl"
20455
 
    shlibpath_var=SHLIB_PATH
20456
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20457
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20458
 
    soname_spec='${libname}${release}${shared_ext}$major'
20459
 
    ;;
20460
 
  esac
20461
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
20462
 
  postinstall_cmds='chmod 555 $lib'
20463
 
  ;;
20464
 
 
20465
 
irix5* | irix6* | nonstopux*)
20466
 
  case $host_os in
20467
 
    nonstopux*) version_type=nonstopux ;;
20468
 
    *)
20469
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
20470
 
                version_type=linux
20471
 
        else
20472
 
                version_type=irix
20473
 
        fi ;;
20474
 
  esac
20475
 
  need_lib_prefix=no
20476
 
  need_version=no
20477
 
  soname_spec='${libname}${release}${shared_ext}$major'
20478
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20479
 
  case $host_os in
20480
 
  irix5* | nonstopux*)
20481
 
    libsuff= shlibsuff=
20482
 
    ;;
20483
 
  *)
20484
 
    case $LD in # libtool.m4 will add one of these switches to LD
20485
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20486
 
      libsuff= shlibsuff= libmagic=32-bit;;
20487
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20488
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
20489
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20490
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
20491
 
    *) libsuff= shlibsuff= libmagic=never-match;;
20492
 
    esac
20493
 
    ;;
20494
 
  esac
20495
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20496
 
  shlibpath_overrides_runpath=no
20497
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20498
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20499
 
  hardcode_into_libs=yes
20500
 
  ;;
20501
 
 
20502
 
# No shared lib support for Linux oldld, aout, or coff.
20503
 
linux*oldld* | linux*aout* | linux*coff*)
20504
 
  dynamic_linker=no
20505
 
  ;;
20506
 
 
20507
 
# This must be Linux ELF.
20508
 
linux*)
20509
 
  version_type=linux
20510
 
  need_lib_prefix=no
20511
 
  need_version=no
20512
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20513
 
  soname_spec='${libname}${release}${shared_ext}$major'
20514
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20515
 
  shlibpath_var=LD_LIBRARY_PATH
20516
 
  shlibpath_overrides_runpath=no
20517
 
  # This implies no fast_install, which is unacceptable.
20518
 
  # Some rework will be needed to allow for fast_install
20519
 
  # before this can be enabled.
20520
 
  hardcode_into_libs=yes
20521
 
 
20522
 
  # Append ld.so.conf contents to the search path
20523
 
  if test -f /etc/ld.so.conf; then
20524
 
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
20525
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
20526
 
  fi
20527
 
 
20528
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
20529
 
  # powerpc, because MkLinux only supported shared libraries with the
20530
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
20531
 
  # most powerpc-linux boxes support dynamic linking these days and
20532
 
  # people can always --disable-shared, the test was removed, and we
20533
 
  # assume the GNU/Linux dynamic linker is in use.
20534
 
  dynamic_linker='GNU/Linux ld.so'
20535
 
  ;;
20536
 
 
20537
 
netbsdelf*-gnu)
20538
 
  version_type=linux
20539
 
  need_lib_prefix=no
20540
 
  need_version=no
20541
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20542
 
  soname_spec='${libname}${release}${shared_ext}$major'
20543
 
  shlibpath_var=LD_LIBRARY_PATH
20544
 
  shlibpath_overrides_runpath=no
20545
 
  hardcode_into_libs=yes
20546
 
  dynamic_linker='NetBSD ld.elf_so'
20547
 
  ;;
20548
 
 
20549
 
knetbsd*-gnu)
20550
 
  version_type=linux
20551
 
  need_lib_prefix=no
20552
 
  need_version=no
20553
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20554
 
  soname_spec='${libname}${release}${shared_ext}$major'
20555
 
  shlibpath_var=LD_LIBRARY_PATH
20556
 
  shlibpath_overrides_runpath=no
20557
 
  hardcode_into_libs=yes
20558
 
  dynamic_linker='GNU ld.so'
20559
 
  ;;
20560
 
 
20561
 
netbsd*)
20562
 
  version_type=sunos
20563
 
  need_lib_prefix=no
20564
 
  need_version=no
20565
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20566
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20567
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20568
 
    dynamic_linker='NetBSD (a.out) ld.so'
20569
 
  else
20570
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20571
 
    soname_spec='${libname}${release}${shared_ext}$major'
20572
 
    dynamic_linker='NetBSD ld.elf_so'
20573
 
  fi
20574
 
  shlibpath_var=LD_LIBRARY_PATH
20575
 
  shlibpath_overrides_runpath=yes
20576
 
  hardcode_into_libs=yes
20577
 
  ;;
20578
 
 
20579
 
newsos6)
20580
 
  version_type=linux
20581
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20582
 
  shlibpath_var=LD_LIBRARY_PATH
20583
 
  shlibpath_overrides_runpath=yes
20584
 
  ;;
20585
 
 
20586
 
nto-qnx*)
20587
 
  version_type=linux
20588
 
  need_lib_prefix=no
20589
 
  need_version=no
20590
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20591
 
  soname_spec='${libname}${release}${shared_ext}$major'
20592
 
  shlibpath_var=LD_LIBRARY_PATH
20593
 
  shlibpath_overrides_runpath=yes
20594
 
  ;;
20595
 
 
20596
 
openbsd*)
20597
 
  version_type=sunos
20598
 
  need_lib_prefix=no
20599
 
  need_version=yes
20600
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20601
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20602
 
  shlibpath_var=LD_LIBRARY_PATH
20603
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20604
 
    case $host_os in
20605
 
      openbsd2.[89] | openbsd2.[89].*)
20606
 
        shlibpath_overrides_runpath=no
20607
 
        ;;
20608
 
      *)
20609
 
        shlibpath_overrides_runpath=yes
20610
 
        ;;
20611
 
      esac
20612
 
  else
20613
 
    shlibpath_overrides_runpath=yes
20614
 
  fi
20615
 
  ;;
20616
 
 
20617
 
os2*)
20618
 
  libname_spec='$name'
20619
 
  shrext_cmds=".dll"
20620
 
  need_lib_prefix=no
20621
 
  library_names_spec='$libname${shared_ext} $libname.a'
20622
 
  dynamic_linker='OS/2 ld.exe'
20623
 
  shlibpath_var=LIBPATH
20624
 
  ;;
20625
 
 
20626
 
osf3* | osf4* | osf5*)
20627
 
  version_type=osf
20628
 
  need_lib_prefix=no
20629
 
  need_version=no
20630
 
  soname_spec='${libname}${release}${shared_ext}$major'
20631
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20632
 
  shlibpath_var=LD_LIBRARY_PATH
20633
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20634
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20635
 
  ;;
20636
 
 
20637
 
sco3.2v5*)
20638
 
  version_type=osf
20639
 
  soname_spec='${libname}${release}${shared_ext}$major'
20640
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20641
 
  shlibpath_var=LD_LIBRARY_PATH
20642
 
  ;;
20643
 
 
20644
 
solaris*)
20645
 
  version_type=linux
20646
 
  need_lib_prefix=no
20647
 
  need_version=no
20648
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20649
 
  soname_spec='${libname}${release}${shared_ext}$major'
20650
 
  shlibpath_var=LD_LIBRARY_PATH
20651
 
  shlibpath_overrides_runpath=yes
20652
 
  hardcode_into_libs=yes
20653
 
  # ldd complains unless libraries are executable
20654
 
  postinstall_cmds='chmod +x $lib'
20655
 
  ;;
20656
 
 
20657
 
sunos4*)
20658
 
  version_type=sunos
20659
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20660
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20661
 
  shlibpath_var=LD_LIBRARY_PATH
20662
 
  shlibpath_overrides_runpath=yes
20663
 
  if test "$with_gnu_ld" = yes; then
20664
 
    need_lib_prefix=no
20665
 
  fi
20666
 
  need_version=yes
20667
 
  ;;
20668
 
 
20669
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
20670
 
  version_type=linux
20671
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20672
 
  soname_spec='${libname}${release}${shared_ext}$major'
20673
 
  shlibpath_var=LD_LIBRARY_PATH
20674
 
  case $host_vendor in
20675
 
    sni)
20676
 
      shlibpath_overrides_runpath=no
20677
 
      need_lib_prefix=no
20678
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
20679
 
      runpath_var=LD_RUN_PATH
20680
 
      ;;
20681
 
    siemens)
20682
 
      need_lib_prefix=no
20683
 
      ;;
20684
 
    motorola)
20685
 
      need_lib_prefix=no
20686
 
      need_version=no
20687
 
      shlibpath_overrides_runpath=no
20688
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20689
 
      ;;
20690
 
  esac
20691
 
  ;;
20692
 
 
20693
 
sysv4*MP*)
20694
 
  if test -d /usr/nec ;then
20695
 
    version_type=linux
20696
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20697
 
    soname_spec='$libname${shared_ext}.$major'
20698
 
    shlibpath_var=LD_LIBRARY_PATH
20699
 
  fi
20700
 
  ;;
20701
 
 
20702
 
uts4*)
20703
 
  version_type=linux
20704
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20705
 
  soname_spec='${libname}${release}${shared_ext}$major'
20706
 
  shlibpath_var=LD_LIBRARY_PATH
20707
 
  ;;
20708
 
 
20709
 
*)
20710
 
  dynamic_linker=no
20711
 
  ;;
20712
 
esac
20713
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20714
 
echo "${ECHO_T}$dynamic_linker" >&6
20715
 
test "$dynamic_linker" = no && can_build_shared=no
20716
 
 
20717
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20718
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
20719
 
hardcode_action_GCJ=
20720
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
20721
 
   test -n "$runpath_var GCJ" || \
20722
 
   test "X$hardcode_automatic_GCJ"="Xyes" ; then
20723
 
 
20724
 
  # We can hardcode non-existant directories.
20725
 
  if test "$hardcode_direct_GCJ" != no &&
20726
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
20727
 
     # have to relink, otherwise we might link with an installed library
20728
 
     # when we should be linking with a yet-to-be-installed one
20729
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
20730
 
     test "$hardcode_minus_L_GCJ" != no; then
20731
 
    # Linking always hardcodes the temporary library directory.
20732
 
    hardcode_action_GCJ=relink
20733
 
  else
20734
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
20735
 
    hardcode_action_GCJ=immediate
20736
 
  fi
20737
 
else
20738
 
  # We cannot hardcode anything, or else we can only hardcode existing
20739
 
  # directories.
20740
 
  hardcode_action_GCJ=unsupported
20741
 
fi
20742
 
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
20743
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6
20744
 
 
20745
 
if test "$hardcode_action_GCJ" = relink; then
20746
 
  # Fast installation is not supported
20747
 
  enable_fast_install=no
20748
 
elif test "$shlibpath_overrides_runpath" = yes ||
20749
 
     test "$enable_shared" = no; then
20750
 
  # Fast installation is not necessary
20751
 
  enable_fast_install=needless
20752
 
fi
20753
 
 
20754
 
striplib=
20755
 
old_striplib=
20756
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
20757
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
20758
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
20759
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
20760
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
20761
 
  echo "$as_me:$LINENO: result: yes" >&5
20762
 
echo "${ECHO_T}yes" >&6
20763
 
else
20764
 
# FIXME - insert some real tests, host_os isn't really good enough
20765
 
  case $host_os in
20766
 
   darwin*)
20767
 
       if test -n "$STRIP" ; then
20768
 
         striplib="$STRIP -x"
20769
 
         echo "$as_me:$LINENO: result: yes" >&5
20770
 
echo "${ECHO_T}yes" >&6
20771
 
       else
20772
 
  echo "$as_me:$LINENO: result: no" >&5
20773
 
echo "${ECHO_T}no" >&6
20774
 
fi
20775
 
       ;;
20776
 
   *)
20777
 
  echo "$as_me:$LINENO: result: no" >&5
20778
 
echo "${ECHO_T}no" >&6
20779
 
    ;;
20780
 
  esac
20781
 
fi
20782
 
 
20783
 
if test "x$enable_dlopen" != xyes; then
20784
 
  enable_dlopen=unknown
20785
 
  enable_dlopen_self=unknown
20786
 
  enable_dlopen_self_static=unknown
20787
 
else
20788
 
  lt_cv_dlopen=no
20789
 
  lt_cv_dlopen_libs=
20790
 
 
20791
 
  case $host_os in
20792
 
  beos*)
20793
 
    lt_cv_dlopen="load_add_on"
20794
 
    lt_cv_dlopen_libs=
20795
 
    lt_cv_dlopen_self=yes
20796
 
    ;;
20797
 
 
20798
 
  mingw* | pw32*)
20799
 
    lt_cv_dlopen="LoadLibrary"
20800
 
    lt_cv_dlopen_libs=
20801
 
   ;;
20802
 
 
20803
 
  cygwin*)
20804
 
    lt_cv_dlopen="dlopen"
20805
 
    lt_cv_dlopen_libs=
20806
 
   ;;
20807
 
 
20808
 
  darwin*)
20809
 
  # if libdl is installed we need to link against it
20810
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
20811
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
20812
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
20813
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20814
 
else
20815
 
  ac_check_lib_save_LIBS=$LIBS
20816
 
LIBS="-ldl  $LIBS"
20817
 
cat >conftest.$ac_ext <<_ACEOF
20818
 
/* confdefs.h.  */
20819
 
_ACEOF
20820
 
cat confdefs.h >>conftest.$ac_ext
20821
 
cat >>conftest.$ac_ext <<_ACEOF
20822
 
/* end confdefs.h.  */
20823
 
 
20824
 
/* Override any gcc2 internal prototype to avoid an error.  */
20825
 
#ifdef __cplusplus
20826
 
extern "C"
20827
 
#endif
20828
 
/* We use char because int might match the return type of a gcc2
20829
 
   builtin and then its argument prototype would still apply.  */
20830
 
char dlopen ();
20831
 
int
20832
 
main ()
20833
 
{
20834
 
dlopen ();
20835
 
  ;
20836
 
  return 0;
20837
 
}
20838
 
_ACEOF
20839
 
rm -f conftest.$ac_objext conftest$ac_exeext
20840
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20841
 
  (eval $ac_link) 2>conftest.er1
20842
 
  ac_status=$?
20843
 
  grep -v '^ *+' conftest.er1 >conftest.err
20844
 
  rm -f conftest.er1
20845
 
  cat conftest.err >&5
20846
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20847
 
  (exit $ac_status); } &&
20848
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20849
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20850
 
  (eval $ac_try) 2>&5
20851
 
  ac_status=$?
20852
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20853
 
  (exit $ac_status); }; } &&
20854
 
         { ac_try='test -s conftest$ac_exeext'
20855
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20856
 
  (eval $ac_try) 2>&5
20857
 
  ac_status=$?
20858
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20859
 
  (exit $ac_status); }; }; then
20860
 
  ac_cv_lib_dl_dlopen=yes
20861
 
else
20862
 
  echo "$as_me: failed program was:" >&5
20863
 
sed 's/^/| /' conftest.$ac_ext >&5
20864
 
 
20865
 
ac_cv_lib_dl_dlopen=no
20866
 
fi
20867
 
rm -f conftest.err conftest.$ac_objext \
20868
 
      conftest$ac_exeext conftest.$ac_ext
20869
 
LIBS=$ac_check_lib_save_LIBS
20870
 
fi
20871
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
20872
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
20873
 
if test $ac_cv_lib_dl_dlopen = yes; then
20874
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
20875
 
else
20876
 
 
20877
 
    lt_cv_dlopen="dyld"
20878
 
    lt_cv_dlopen_libs=
20879
 
    lt_cv_dlopen_self=yes
20880
 
 
20881
 
fi
20882
 
 
20883
 
   ;;
20884
 
 
20885
 
  *)
20886
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
20887
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
20888
 
if test "${ac_cv_func_shl_load+set}" = set; then
20889
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20890
 
else
20891
 
  cat >conftest.$ac_ext <<_ACEOF
20892
 
/* confdefs.h.  */
20893
 
_ACEOF
20894
 
cat confdefs.h >>conftest.$ac_ext
20895
 
cat >>conftest.$ac_ext <<_ACEOF
20896
 
/* end confdefs.h.  */
20897
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
20898
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20899
 
#define shl_load innocuous_shl_load
20900
 
 
20901
 
/* System header to define __stub macros and hopefully few prototypes,
20902
 
    which can conflict with char shl_load (); below.
20903
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20904
 
    <limits.h> exists even on freestanding compilers.  */
20905
 
 
20906
 
#ifdef __STDC__
20907
 
# include <limits.h>
20908
 
#else
20909
 
# include <assert.h>
20910
 
#endif
20911
 
 
20912
 
#undef shl_load
20913
 
 
20914
 
/* Override any gcc2 internal prototype to avoid an error.  */
20915
 
#ifdef __cplusplus
20916
 
extern "C"
20917
 
{
20918
 
#endif
20919
 
/* We use char because int might match the return type of a gcc2
20920
 
   builtin and then its argument prototype would still apply.  */
20921
 
char shl_load ();
20922
 
/* The GNU C library defines this for functions which it implements
20923
 
    to always fail with ENOSYS.  Some functions are actually named
20924
 
    something starting with __ and the normal name is an alias.  */
20925
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
20926
 
choke me
20927
 
#else
20928
 
char (*f) () = shl_load;
20929
 
#endif
20930
 
#ifdef __cplusplus
20931
 
}
20932
 
#endif
20933
 
 
20934
 
int
20935
 
main ()
20936
 
{
20937
 
return f != shl_load;
20938
 
  ;
20939
 
  return 0;
20940
 
}
20941
 
_ACEOF
20942
 
rm -f conftest.$ac_objext conftest$ac_exeext
20943
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20944
 
  (eval $ac_link) 2>conftest.er1
20945
 
  ac_status=$?
20946
 
  grep -v '^ *+' conftest.er1 >conftest.err
20947
 
  rm -f conftest.er1
20948
 
  cat conftest.err >&5
20949
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20950
 
  (exit $ac_status); } &&
20951
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20952
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20953
 
  (eval $ac_try) 2>&5
20954
 
  ac_status=$?
20955
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20956
 
  (exit $ac_status); }; } &&
20957
 
         { ac_try='test -s conftest$ac_exeext'
20958
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20959
 
  (eval $ac_try) 2>&5
20960
 
  ac_status=$?
20961
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20962
 
  (exit $ac_status); }; }; then
20963
 
  ac_cv_func_shl_load=yes
20964
 
else
20965
 
  echo "$as_me: failed program was:" >&5
20966
 
sed 's/^/| /' conftest.$ac_ext >&5
20967
 
 
20968
 
ac_cv_func_shl_load=no
20969
 
fi
20970
 
rm -f conftest.err conftest.$ac_objext \
20971
 
      conftest$ac_exeext conftest.$ac_ext
20972
 
fi
20973
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
20974
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
20975
 
if test $ac_cv_func_shl_load = yes; then
20976
 
  lt_cv_dlopen="shl_load"
20977
 
else
20978
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
20979
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
20980
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
20981
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20982
 
else
20983
 
  ac_check_lib_save_LIBS=$LIBS
20984
 
LIBS="-ldld  $LIBS"
20985
 
cat >conftest.$ac_ext <<_ACEOF
20986
 
/* confdefs.h.  */
20987
 
_ACEOF
20988
 
cat confdefs.h >>conftest.$ac_ext
20989
 
cat >>conftest.$ac_ext <<_ACEOF
20990
 
/* end confdefs.h.  */
20991
 
 
20992
 
/* Override any gcc2 internal prototype to avoid an error.  */
20993
 
#ifdef __cplusplus
20994
 
extern "C"
20995
 
#endif
20996
 
/* We use char because int might match the return type of a gcc2
20997
 
   builtin and then its argument prototype would still apply.  */
20998
 
char shl_load ();
20999
 
int
21000
 
main ()
21001
 
{
21002
 
shl_load ();
21003
 
  ;
21004
 
  return 0;
21005
 
}
21006
 
_ACEOF
21007
 
rm -f conftest.$ac_objext conftest$ac_exeext
21008
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21009
 
  (eval $ac_link) 2>conftest.er1
21010
 
  ac_status=$?
21011
 
  grep -v '^ *+' conftest.er1 >conftest.err
21012
 
  rm -f conftest.er1
21013
 
  cat conftest.err >&5
21014
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21015
 
  (exit $ac_status); } &&
21016
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21017
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21018
 
  (eval $ac_try) 2>&5
21019
 
  ac_status=$?
21020
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21021
 
  (exit $ac_status); }; } &&
21022
 
         { ac_try='test -s conftest$ac_exeext'
21023
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21024
 
  (eval $ac_try) 2>&5
21025
 
  ac_status=$?
21026
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21027
 
  (exit $ac_status); }; }; then
21028
 
  ac_cv_lib_dld_shl_load=yes
21029
 
else
21030
 
  echo "$as_me: failed program was:" >&5
21031
 
sed 's/^/| /' conftest.$ac_ext >&5
21032
 
 
21033
 
ac_cv_lib_dld_shl_load=no
21034
 
fi
21035
 
rm -f conftest.err conftest.$ac_objext \
21036
 
      conftest$ac_exeext conftest.$ac_ext
21037
 
LIBS=$ac_check_lib_save_LIBS
21038
 
fi
21039
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
21040
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
21041
 
if test $ac_cv_lib_dld_shl_load = yes; then
21042
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
21043
 
else
21044
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
21045
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
21046
 
if test "${ac_cv_func_dlopen+set}" = set; then
21047
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21048
 
else
21049
 
  cat >conftest.$ac_ext <<_ACEOF
21050
 
/* confdefs.h.  */
21051
 
_ACEOF
21052
 
cat confdefs.h >>conftest.$ac_ext
21053
 
cat >>conftest.$ac_ext <<_ACEOF
21054
 
/* end confdefs.h.  */
21055
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
21056
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21057
 
#define dlopen innocuous_dlopen
21058
 
 
21059
 
/* System header to define __stub macros and hopefully few prototypes,
21060
 
    which can conflict with char dlopen (); below.
21061
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21062
 
    <limits.h> exists even on freestanding compilers.  */
21063
 
 
21064
 
#ifdef __STDC__
21065
 
# include <limits.h>
21066
 
#else
21067
 
# include <assert.h>
21068
 
#endif
21069
 
 
21070
 
#undef dlopen
21071
 
 
21072
 
/* Override any gcc2 internal prototype to avoid an error.  */
21073
 
#ifdef __cplusplus
21074
 
extern "C"
21075
 
{
21076
 
#endif
21077
 
/* We use char because int might match the return type of a gcc2
21078
 
   builtin and then its argument prototype would still apply.  */
21079
 
char dlopen ();
21080
 
/* The GNU C library defines this for functions which it implements
21081
 
    to always fail with ENOSYS.  Some functions are actually named
21082
 
    something starting with __ and the normal name is an alias.  */
21083
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
21084
 
choke me
21085
 
#else
21086
 
char (*f) () = dlopen;
21087
 
#endif
21088
 
#ifdef __cplusplus
21089
 
}
21090
 
#endif
21091
 
 
21092
 
int
21093
 
main ()
21094
 
{
21095
 
return f != dlopen;
21096
 
  ;
21097
 
  return 0;
21098
 
}
21099
 
_ACEOF
21100
 
rm -f conftest.$ac_objext conftest$ac_exeext
21101
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21102
 
  (eval $ac_link) 2>conftest.er1
21103
 
  ac_status=$?
21104
 
  grep -v '^ *+' conftest.er1 >conftest.err
21105
 
  rm -f conftest.er1
21106
 
  cat conftest.err >&5
21107
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21108
 
  (exit $ac_status); } &&
21109
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21110
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21111
 
  (eval $ac_try) 2>&5
21112
 
  ac_status=$?
21113
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21114
 
  (exit $ac_status); }; } &&
21115
 
         { ac_try='test -s conftest$ac_exeext'
21116
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21117
 
  (eval $ac_try) 2>&5
21118
 
  ac_status=$?
21119
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21120
 
  (exit $ac_status); }; }; then
21121
 
  ac_cv_func_dlopen=yes
21122
 
else
21123
 
  echo "$as_me: failed program was:" >&5
21124
 
sed 's/^/| /' conftest.$ac_ext >&5
21125
 
 
21126
 
ac_cv_func_dlopen=no
21127
 
fi
21128
 
rm -f conftest.err conftest.$ac_objext \
21129
 
      conftest$ac_exeext conftest.$ac_ext
21130
 
fi
21131
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
21132
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
21133
 
if test $ac_cv_func_dlopen = yes; then
21134
 
  lt_cv_dlopen="dlopen"
21135
 
else
21136
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
21137
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
21138
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
21139
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21140
 
else
21141
 
  ac_check_lib_save_LIBS=$LIBS
21142
 
LIBS="-ldl  $LIBS"
21143
 
cat >conftest.$ac_ext <<_ACEOF
21144
 
/* confdefs.h.  */
21145
 
_ACEOF
21146
 
cat confdefs.h >>conftest.$ac_ext
21147
 
cat >>conftest.$ac_ext <<_ACEOF
21148
 
/* end confdefs.h.  */
21149
 
 
21150
 
/* Override any gcc2 internal prototype to avoid an error.  */
21151
 
#ifdef __cplusplus
21152
 
extern "C"
21153
 
#endif
21154
 
/* We use char because int might match the return type of a gcc2
21155
 
   builtin and then its argument prototype would still apply.  */
21156
 
char dlopen ();
21157
 
int
21158
 
main ()
21159
 
{
21160
 
dlopen ();
21161
 
  ;
21162
 
  return 0;
21163
 
}
21164
 
_ACEOF
21165
 
rm -f conftest.$ac_objext conftest$ac_exeext
21166
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21167
 
  (eval $ac_link) 2>conftest.er1
21168
 
  ac_status=$?
21169
 
  grep -v '^ *+' conftest.er1 >conftest.err
21170
 
  rm -f conftest.er1
21171
 
  cat conftest.err >&5
21172
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21173
 
  (exit $ac_status); } &&
21174
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21175
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21176
 
  (eval $ac_try) 2>&5
21177
 
  ac_status=$?
21178
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21179
 
  (exit $ac_status); }; } &&
21180
 
         { ac_try='test -s conftest$ac_exeext'
21181
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21182
 
  (eval $ac_try) 2>&5
21183
 
  ac_status=$?
21184
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21185
 
  (exit $ac_status); }; }; then
21186
 
  ac_cv_lib_dl_dlopen=yes
21187
 
else
21188
 
  echo "$as_me: failed program was:" >&5
21189
 
sed 's/^/| /' conftest.$ac_ext >&5
21190
 
 
21191
 
ac_cv_lib_dl_dlopen=no
21192
 
fi
21193
 
rm -f conftest.err conftest.$ac_objext \
21194
 
      conftest$ac_exeext conftest.$ac_ext
21195
 
LIBS=$ac_check_lib_save_LIBS
21196
 
fi
21197
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
21198
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
21199
 
if test $ac_cv_lib_dl_dlopen = yes; then
21200
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
21201
 
else
21202
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
21203
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
21204
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
21205
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21206
 
else
21207
 
  ac_check_lib_save_LIBS=$LIBS
21208
 
LIBS="-lsvld  $LIBS"
21209
 
cat >conftest.$ac_ext <<_ACEOF
21210
 
/* confdefs.h.  */
21211
 
_ACEOF
21212
 
cat confdefs.h >>conftest.$ac_ext
21213
 
cat >>conftest.$ac_ext <<_ACEOF
21214
 
/* end confdefs.h.  */
21215
 
 
21216
 
/* Override any gcc2 internal prototype to avoid an error.  */
21217
 
#ifdef __cplusplus
21218
 
extern "C"
21219
 
#endif
21220
 
/* We use char because int might match the return type of a gcc2
21221
 
   builtin and then its argument prototype would still apply.  */
21222
 
char dlopen ();
21223
 
int
21224
 
main ()
21225
 
{
21226
 
dlopen ();
21227
 
  ;
21228
 
  return 0;
21229
 
}
21230
 
_ACEOF
21231
 
rm -f conftest.$ac_objext conftest$ac_exeext
21232
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21233
 
  (eval $ac_link) 2>conftest.er1
21234
 
  ac_status=$?
21235
 
  grep -v '^ *+' conftest.er1 >conftest.err
21236
 
  rm -f conftest.er1
21237
 
  cat conftest.err >&5
21238
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21239
 
  (exit $ac_status); } &&
21240
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21241
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21242
 
  (eval $ac_try) 2>&5
21243
 
  ac_status=$?
21244
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21245
 
  (exit $ac_status); }; } &&
21246
 
         { ac_try='test -s conftest$ac_exeext'
21247
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21248
 
  (eval $ac_try) 2>&5
21249
 
  ac_status=$?
21250
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21251
 
  (exit $ac_status); }; }; then
21252
 
  ac_cv_lib_svld_dlopen=yes
21253
 
else
21254
 
  echo "$as_me: failed program was:" >&5
21255
 
sed 's/^/| /' conftest.$ac_ext >&5
21256
 
 
21257
 
ac_cv_lib_svld_dlopen=no
21258
 
fi
21259
 
rm -f conftest.err conftest.$ac_objext \
21260
 
      conftest$ac_exeext conftest.$ac_ext
21261
 
LIBS=$ac_check_lib_save_LIBS
21262
 
fi
21263
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
21264
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
21265
 
if test $ac_cv_lib_svld_dlopen = yes; then
21266
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
21267
 
else
21268
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
21269
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
21270
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
21271
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21272
 
else
21273
 
  ac_check_lib_save_LIBS=$LIBS
21274
 
LIBS="-ldld  $LIBS"
21275
 
cat >conftest.$ac_ext <<_ACEOF
21276
 
/* confdefs.h.  */
21277
 
_ACEOF
21278
 
cat confdefs.h >>conftest.$ac_ext
21279
 
cat >>conftest.$ac_ext <<_ACEOF
21280
 
/* end confdefs.h.  */
21281
 
 
21282
 
/* Override any gcc2 internal prototype to avoid an error.  */
21283
 
#ifdef __cplusplus
21284
 
extern "C"
21285
 
#endif
21286
 
/* We use char because int might match the return type of a gcc2
21287
 
   builtin and then its argument prototype would still apply.  */
21288
 
char dld_link ();
21289
 
int
21290
 
main ()
21291
 
{
21292
 
dld_link ();
21293
 
  ;
21294
 
  return 0;
21295
 
}
21296
 
_ACEOF
21297
 
rm -f conftest.$ac_objext conftest$ac_exeext
21298
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21299
 
  (eval $ac_link) 2>conftest.er1
21300
 
  ac_status=$?
21301
 
  grep -v '^ *+' conftest.er1 >conftest.err
21302
 
  rm -f conftest.er1
21303
 
  cat conftest.err >&5
21304
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21305
 
  (exit $ac_status); } &&
21306
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21307
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21308
 
  (eval $ac_try) 2>&5
21309
 
  ac_status=$?
21310
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21311
 
  (exit $ac_status); }; } &&
21312
 
         { ac_try='test -s conftest$ac_exeext'
21313
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21314
 
  (eval $ac_try) 2>&5
21315
 
  ac_status=$?
21316
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21317
 
  (exit $ac_status); }; }; then
21318
 
  ac_cv_lib_dld_dld_link=yes
21319
 
else
21320
 
  echo "$as_me: failed program was:" >&5
21321
 
sed 's/^/| /' conftest.$ac_ext >&5
21322
 
 
21323
 
ac_cv_lib_dld_dld_link=no
21324
 
fi
21325
 
rm -f conftest.err conftest.$ac_objext \
21326
 
      conftest$ac_exeext conftest.$ac_ext
21327
 
LIBS=$ac_check_lib_save_LIBS
21328
 
fi
21329
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
21330
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
21331
 
if test $ac_cv_lib_dld_dld_link = yes; then
21332
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
21333
 
fi
21334
 
 
21335
 
 
21336
 
fi
21337
 
 
21338
 
 
21339
 
fi
21340
 
 
21341
 
 
21342
 
fi
21343
 
 
21344
 
 
21345
 
fi
21346
 
 
21347
 
 
21348
 
fi
21349
 
 
21350
 
    ;;
21351
 
  esac
21352
 
 
21353
 
  if test "x$lt_cv_dlopen" != xno; then
21354
 
    enable_dlopen=yes
21355
 
  else
21356
 
    enable_dlopen=no
21357
 
  fi
21358
 
 
21359
 
  case $lt_cv_dlopen in
21360
 
  dlopen)
21361
 
    save_CPPFLAGS="$CPPFLAGS"
21362
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
21363
 
 
21364
 
    save_LDFLAGS="$LDFLAGS"
21365
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
21366
 
 
21367
 
    save_LIBS="$LIBS"
21368
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
21369
 
 
21370
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
21371
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
21372
 
if test "${lt_cv_dlopen_self+set}" = set; then
21373
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21374
 
else
21375
 
          if test "$cross_compiling" = yes; then :
21376
 
  lt_cv_dlopen_self=cross
21377
 
else
21378
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
21379
 
  lt_status=$lt_dlunknown
21380
 
  cat > conftest.$ac_ext <<EOF
21381
 
#line 21381 "configure"
21382
 
#include "confdefs.h"
21383
 
 
21384
 
#if HAVE_DLFCN_H
21385
 
#include <dlfcn.h>
21386
 
#endif
21387
 
 
21388
 
#include <stdio.h>
21389
 
 
21390
 
#ifdef RTLD_GLOBAL
21391
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
21392
 
#else
21393
 
#  ifdef DL_GLOBAL
21394
 
#    define LT_DLGLOBAL         DL_GLOBAL
21395
 
#  else
21396
 
#    define LT_DLGLOBAL         0
21397
 
#  endif
21398
 
#endif
21399
 
 
21400
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
21401
 
   find out it does not work in some platform. */
21402
 
#ifndef LT_DLLAZY_OR_NOW
21403
 
#  ifdef RTLD_LAZY
21404
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
21405
 
#  else
21406
 
#    ifdef DL_LAZY
21407
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
21408
 
#    else
21409
 
#      ifdef RTLD_NOW
21410
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
21411
 
#      else
21412
 
#        ifdef DL_NOW
21413
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
21414
 
#        else
21415
 
#          define LT_DLLAZY_OR_NOW      0
21416
 
#        endif
21417
 
#      endif
21418
 
#    endif
21419
 
#  endif
21420
 
#endif
21421
 
 
21422
 
#ifdef __cplusplus
21423
 
extern "C" void exit (int);
21424
 
#endif
21425
 
 
21426
 
void fnord() { int i=42;}
21427
 
int main ()
21428
 
{
21429
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
21430
 
  int status = $lt_dlunknown;
21431
 
 
21432
 
  if (self)
21433
 
    {
21434
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
21435
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
21436
 
      /* dlclose (self); */
21437
 
    }
21438
 
 
21439
 
    exit (status);
21440
 
}
21441
 
EOF
21442
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21443
 
  (eval $ac_link) 2>&5
21444
 
  ac_status=$?
21445
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21446
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
21447
 
    (./conftest; exit; ) 2>/dev/null
21448
 
    lt_status=$?
21449
 
    case x$lt_status in
21450
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
21451
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
21452
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
21453
 
    esac
21454
 
  else :
21455
 
    # compilation failed
21456
 
    lt_cv_dlopen_self=no
21457
 
  fi
21458
 
fi
21459
 
rm -fr conftest*
21460
 
 
21461
 
 
21462
 
fi
21463
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
21464
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
21465
 
 
21466
 
    if test "x$lt_cv_dlopen_self" = xyes; then
21467
 
      LDFLAGS="$LDFLAGS $link_static_flag"
21468
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
21469
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
21470
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
21471
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21472
 
else
21473
 
          if test "$cross_compiling" = yes; then :
21474
 
  lt_cv_dlopen_self_static=cross
21475
 
else
21476
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
21477
 
  lt_status=$lt_dlunknown
21478
 
  cat > conftest.$ac_ext <<EOF
21479
 
#line 21479 "configure"
21480
 
#include "confdefs.h"
21481
 
 
21482
 
#if HAVE_DLFCN_H
21483
 
#include <dlfcn.h>
21484
 
#endif
21485
 
 
21486
 
#include <stdio.h>
21487
 
 
21488
 
#ifdef RTLD_GLOBAL
21489
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
21490
 
#else
21491
 
#  ifdef DL_GLOBAL
21492
 
#    define LT_DLGLOBAL         DL_GLOBAL
21493
 
#  else
21494
 
#    define LT_DLGLOBAL         0
21495
 
#  endif
21496
 
#endif
21497
 
 
21498
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
21499
 
   find out it does not work in some platform. */
21500
 
#ifndef LT_DLLAZY_OR_NOW
21501
 
#  ifdef RTLD_LAZY
21502
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
21503
 
#  else
21504
 
#    ifdef DL_LAZY
21505
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
21506
 
#    else
21507
 
#      ifdef RTLD_NOW
21508
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
21509
 
#      else
21510
 
#        ifdef DL_NOW
21511
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
21512
 
#        else
21513
 
#          define LT_DLLAZY_OR_NOW      0
21514
 
#        endif
21515
 
#      endif
21516
 
#    endif
21517
 
#  endif
21518
 
#endif
21519
 
 
21520
 
#ifdef __cplusplus
21521
 
extern "C" void exit (int);
21522
 
#endif
21523
 
 
21524
 
void fnord() { int i=42;}
21525
 
int main ()
21526
 
{
21527
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
21528
 
  int status = $lt_dlunknown;
21529
 
 
21530
 
  if (self)
21531
 
    {
21532
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
21533
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
21534
 
      /* dlclose (self); */
21535
 
    }
21536
 
 
21537
 
    exit (status);
21538
 
}
21539
 
EOF
21540
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21541
 
  (eval $ac_link) 2>&5
21542
 
  ac_status=$?
21543
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21544
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
21545
 
    (./conftest; exit; ) 2>/dev/null
21546
 
    lt_status=$?
21547
 
    case x$lt_status in
21548
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
21549
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
21550
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
21551
 
    esac
21552
 
  else :
21553
 
    # compilation failed
21554
 
    lt_cv_dlopen_self_static=no
21555
 
  fi
21556
 
fi
21557
 
rm -fr conftest*
21558
 
 
21559
 
 
21560
 
fi
21561
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
21562
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
21563
 
    fi
21564
 
 
21565
 
    CPPFLAGS="$save_CPPFLAGS"
21566
 
    LDFLAGS="$save_LDFLAGS"
21567
 
    LIBS="$save_LIBS"
21568
 
    ;;
21569
 
  esac
21570
 
 
21571
 
  case $lt_cv_dlopen_self in
21572
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
21573
 
  *) enable_dlopen_self=unknown ;;
21574
 
  esac
21575
 
 
21576
 
  case $lt_cv_dlopen_self_static in
21577
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
21578
 
  *) enable_dlopen_self_static=unknown ;;
21579
 
  esac
21580
 
fi
21581
 
 
21582
 
 
21583
 
# The else clause should only fire when bootstrapping the
21584
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
21585
 
# with your package, and you will get complaints that there are
21586
 
# no rules to generate ltmain.sh.
21587
 
if test -f "$ltmain"; then
21588
 
  # See if we are running on zsh, and set the options which allow our commands through
21589
 
  # without removal of \ escapes.
21590
 
  if test -n "${ZSH_VERSION+set}" ; then
21591
 
    setopt NO_GLOB_SUBST
21592
 
  fi
21593
 
  # Now quote all the things that may contain metacharacters while being
21594
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
21595
 
  # variables and quote the copies for generation of the libtool script.
21596
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
21597
 
    SED SHELL STRIP \
21598
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21599
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21600
 
    deplibs_check_method reload_flag reload_cmds need_locks \
21601
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21602
 
    lt_cv_sys_global_symbol_to_c_name_address \
21603
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21604
 
    old_postinstall_cmds old_postuninstall_cmds \
21605
 
    compiler_GCJ \
21606
 
    CC_GCJ \
21607
 
    LD_GCJ \
21608
 
    lt_prog_compiler_wl_GCJ \
21609
 
    lt_prog_compiler_pic_GCJ \
21610
 
    lt_prog_compiler_static_GCJ \
21611
 
    lt_prog_compiler_no_builtin_flag_GCJ \
21612
 
    export_dynamic_flag_spec_GCJ \
21613
 
    thread_safe_flag_spec_GCJ \
21614
 
    whole_archive_flag_spec_GCJ \
21615
 
    enable_shared_with_static_runtimes_GCJ \
21616
 
    old_archive_cmds_GCJ \
21617
 
    old_archive_from_new_cmds_GCJ \
21618
 
    predep_objects_GCJ \
21619
 
    postdep_objects_GCJ \
21620
 
    predeps_GCJ \
21621
 
    postdeps_GCJ \
21622
 
    compiler_lib_search_path_GCJ \
21623
 
    archive_cmds_GCJ \
21624
 
    archive_expsym_cmds_GCJ \
21625
 
    postinstall_cmds_GCJ \
21626
 
    postuninstall_cmds_GCJ \
21627
 
    old_archive_from_expsyms_cmds_GCJ \
21628
 
    allow_undefined_flag_GCJ \
21629
 
    no_undefined_flag_GCJ \
21630
 
    export_symbols_cmds_GCJ \
21631
 
    hardcode_libdir_flag_spec_GCJ \
21632
 
    hardcode_libdir_flag_spec_ld_GCJ \
21633
 
    hardcode_libdir_separator_GCJ \
21634
 
    hardcode_automatic_GCJ \
21635
 
    module_cmds_GCJ \
21636
 
    module_expsym_cmds_GCJ \
21637
 
    lt_cv_prog_compiler_c_o_GCJ \
21638
 
    exclude_expsyms_GCJ \
21639
 
    include_expsyms_GCJ; do
21640
 
 
21641
 
    case $var in
21642
 
    old_archive_cmds_GCJ | \
21643
 
    old_archive_from_new_cmds_GCJ | \
21644
 
    archive_cmds_GCJ | \
21645
 
    archive_expsym_cmds_GCJ | \
21646
 
    module_cmds_GCJ | \
21647
 
    module_expsym_cmds_GCJ | \
21648
 
    old_archive_from_expsyms_cmds_GCJ | \
21649
 
    export_symbols_cmds_GCJ | \
21650
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
21651
 
    postinstall_cmds | postuninstall_cmds | \
21652
 
    old_postinstall_cmds | old_postuninstall_cmds | \
21653
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
21654
 
      # Double-quote double-evaled strings.
21655
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
21656
 
      ;;
21657
 
    *)
21658
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21659
 
      ;;
21660
 
    esac
21661
 
  done
21662
 
 
21663
 
  case $lt_echo in
21664
 
  *'\$0 --fallback-echo"')
21665
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21666
 
    ;;
21667
 
  esac
21668
 
 
21669
 
cfgfile="$ofile"
21670
 
 
21671
 
  cat <<__EOF__ >> "$cfgfile"
21672
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
21673
 
 
21674
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21675
 
 
21676
 
# Shell to use when invoking shell scripts.
21677
 
SHELL=$lt_SHELL
21678
 
 
21679
 
# Whether or not to build shared libraries.
21680
 
build_libtool_libs=$enable_shared
21681
 
 
21682
 
# Whether or not to build static libraries.
21683
 
build_old_libs=$enable_static
21684
 
 
21685
 
# Whether or not to add -lc for building shared libraries.
21686
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
21687
 
 
21688
 
# Whether or not to disallow shared libs when runtime libs are static
21689
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
21690
 
 
21691
 
# Whether or not to optimize for fast installation.
21692
 
fast_install=$enable_fast_install
21693
 
 
21694
 
# The host system.
21695
 
host_alias=$host_alias
21696
 
host=$host
21697
 
 
21698
 
# An echo program that does not interpret backslashes.
21699
 
echo=$lt_echo
21700
 
 
21701
 
# The archiver.
21702
 
AR=$lt_AR
21703
 
AR_FLAGS=$lt_AR_FLAGS
21704
 
 
21705
 
# A C compiler.
21706
 
LTCC=$lt_LTCC
21707
 
 
21708
 
# A language-specific compiler.
21709
 
CC=$lt_compiler_GCJ
21710
 
 
21711
 
# Is the compiler the GNU C compiler?
21712
 
with_gcc=$GCC_GCJ
21713
 
 
21714
 
# An ERE matcher.
21715
 
EGREP=$lt_EGREP
21716
 
 
21717
 
# The linker used to build libraries.
21718
 
LD=$lt_LD_GCJ
21719
 
 
21720
 
# Whether we need hard or soft links.
21721
 
LN_S=$lt_LN_S
21722
 
 
21723
 
# A BSD-compatible nm program.
21724
 
NM=$lt_NM
21725
 
 
21726
 
# A symbol stripping program
21727
 
STRIP=$lt_STRIP
21728
 
 
21729
 
# Used to examine libraries when file_magic_cmd begins "file"
21730
 
MAGIC_CMD=$MAGIC_CMD
21731
 
 
21732
 
# Used on cygwin: DLL creation program.
21733
 
DLLTOOL="$DLLTOOL"
21734
 
 
21735
 
# Used on cygwin: object dumper.
21736
 
OBJDUMP="$OBJDUMP"
21737
 
 
21738
 
# Used on cygwin: assembler.
21739
 
AS="$AS"
21740
 
 
21741
 
# The name of the directory that contains temporary libtool files.
21742
 
objdir=$objdir
21743
 
 
21744
 
# How to create reloadable object files.
21745
 
reload_flag=$lt_reload_flag
21746
 
reload_cmds=$lt_reload_cmds
21747
 
 
21748
 
# How to pass a linker flag through the compiler.
21749
 
wl=$lt_lt_prog_compiler_wl_GCJ
21750
 
 
21751
 
# Object file suffix (normally "o").
21752
 
objext="$ac_objext"
21753
 
 
21754
 
# Old archive suffix (normally "a").
21755
 
libext="$libext"
21756
 
 
21757
 
# Shared library suffix (normally ".so").
21758
 
shrext_cmds='$shrext_cmds'
21759
 
 
21760
 
# Executable file suffix (normally "").
21761
 
exeext="$exeext"
21762
 
 
21763
 
# Additional compiler flags for building library objects.
21764
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
21765
 
pic_mode=$pic_mode
21766
 
 
21767
 
# What is the maximum length of a command?
21768
 
max_cmd_len=$lt_cv_sys_max_cmd_len
21769
 
 
21770
 
# Does compiler simultaneously support -c and -o options?
21771
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
21772
 
 
21773
 
# Must we lock files when doing compilation ?
21774
 
need_locks=$lt_need_locks
21775
 
 
21776
 
# Do we need the lib prefix for modules?
21777
 
need_lib_prefix=$need_lib_prefix
21778
 
 
21779
 
# Do we need a version for libraries?
21780
 
need_version=$need_version
21781
 
 
21782
 
# Whether dlopen is supported.
21783
 
dlopen_support=$enable_dlopen
21784
 
 
21785
 
# Whether dlopen of programs is supported.
21786
 
dlopen_self=$enable_dlopen_self
21787
 
 
21788
 
# Whether dlopen of statically linked programs is supported.
21789
 
dlopen_self_static=$enable_dlopen_self_static
21790
 
 
21791
 
# Compiler flag to prevent dynamic linking.
21792
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
21793
 
 
21794
 
# Compiler flag to turn off builtin functions.
21795
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
21796
 
 
21797
 
# Compiler flag to allow reflexive dlopens.
21798
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
21799
 
 
21800
 
# Compiler flag to generate shared objects directly from archives.
21801
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
21802
 
 
21803
 
# Compiler flag to generate thread-safe objects.
21804
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
21805
 
 
21806
 
# Library versioning type.
21807
 
version_type=$version_type
21808
 
 
21809
 
# Format of library name prefix.
21810
 
libname_spec=$lt_libname_spec
21811
 
 
21812
 
# List of archive names.  First name is the real one, the rest are links.
21813
 
# The last name is the one that the linker finds with -lNAME.
21814
 
library_names_spec=$lt_library_names_spec
21815
 
 
21816
 
# The coded name of the library, if different from the real name.
21817
 
soname_spec=$lt_soname_spec
21818
 
 
21819
 
# Commands used to build and install an old-style archive.
21820
 
RANLIB=$lt_RANLIB
21821
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
21822
 
old_postinstall_cmds=$lt_old_postinstall_cmds
21823
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
21824
 
 
21825
 
# Create an old-style archive from a shared archive.
21826
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
21827
 
 
21828
 
# Create a temporary old-style archive to link instead of a shared archive.
21829
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
21830
 
 
21831
 
# Commands used to build and install a shared archive.
21832
 
archive_cmds=$lt_archive_cmds_GCJ
21833
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
21834
 
postinstall_cmds=$lt_postinstall_cmds
21835
 
postuninstall_cmds=$lt_postuninstall_cmds
21836
 
 
21837
 
# Commands used to build a loadable module (assumed same as above if empty)
21838
 
module_cmds=$lt_module_cmds_GCJ
21839
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
21840
 
 
21841
 
# Commands to strip libraries.
21842
 
old_striplib=$lt_old_striplib
21843
 
striplib=$lt_striplib
21844
 
 
21845
 
# Dependencies to place before the objects being linked to create a
21846
 
# shared library.
21847
 
predep_objects=$lt_predep_objects_GCJ
21848
 
 
21849
 
# Dependencies to place after the objects being linked to create a
21850
 
# shared library.
21851
 
postdep_objects=$lt_postdep_objects_GCJ
21852
 
 
21853
 
# Dependencies to place before the objects being linked to create a
21854
 
# shared library.
21855
 
predeps=$lt_predeps_GCJ
21856
 
 
21857
 
# Dependencies to place after the objects being linked to create a
21858
 
# shared library.
21859
 
postdeps=$lt_postdeps_GCJ
21860
 
 
21861
 
# The library search path used internally by the compiler when linking
21862
 
# a shared library.
21863
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
21864
 
 
21865
 
# Method to check whether dependent libraries are shared objects.
21866
 
deplibs_check_method=$lt_deplibs_check_method
21867
 
 
21868
 
# Command to use when deplibs_check_method == file_magic.
21869
 
file_magic_cmd=$lt_file_magic_cmd
21870
 
 
21871
 
# Flag that allows shared libraries with undefined symbols to be built.
21872
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
21873
 
 
21874
 
# Flag that forces no undefined symbols.
21875
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
21876
 
 
21877
 
# Commands used to finish a libtool library installation in a directory.
21878
 
finish_cmds=$lt_finish_cmds
21879
 
 
21880
 
# Same as above, but a single script fragment to be evaled but not shown.
21881
 
finish_eval=$lt_finish_eval
21882
 
 
21883
 
# Take the output of nm and produce a listing of raw symbols and C names.
21884
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21885
 
 
21886
 
# Transform the output of nm in a proper C declaration
21887
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21888
 
 
21889
 
# Transform the output of nm in a C name address pair
21890
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21891
 
 
21892
 
# This is the shared library runtime path variable.
21893
 
runpath_var=$runpath_var
21894
 
 
21895
 
# This is the shared library path variable.
21896
 
shlibpath_var=$shlibpath_var
21897
 
 
21898
 
# Is shlibpath searched before the hard-coded library search path?
21899
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21900
 
 
21901
 
# How to hardcode a shared library path into an executable.
21902
 
hardcode_action=$hardcode_action_GCJ
21903
 
 
21904
 
# Whether we should hardcode library paths into libraries.
21905
 
hardcode_into_libs=$hardcode_into_libs
21906
 
 
21907
 
# Flag to hardcode \$libdir into a binary during linking.
21908
 
# This must work even if \$libdir does not exist.
21909
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
21910
 
 
21911
 
# If ld is used when linking, flag to hardcode \$libdir into
21912
 
# a binary during linking. This must work even if \$libdir does
21913
 
# not exist.
21914
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
21915
 
 
21916
 
# Whether we need a single -rpath flag with a separated argument.
21917
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
21918
 
 
21919
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21920
 
# resulting binary.
21921
 
hardcode_direct=$hardcode_direct_GCJ
21922
 
 
21923
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21924
 
# resulting binary.
21925
 
hardcode_minus_L=$hardcode_minus_L_GCJ
21926
 
 
21927
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21928
 
# the resulting binary.
21929
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
21930
 
 
21931
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
21932
 
# and all subsequent libraries and executables linked against it.
21933
 
hardcode_automatic=$hardcode_automatic_GCJ
21934
 
 
21935
 
# Variables whose values should be saved in libtool wrapper scripts and
21936
 
# restored at relink time.
21937
 
variables_saved_for_relink="$variables_saved_for_relink"
21938
 
 
21939
 
# Whether libtool must link a program against all its dependency libraries.
21940
 
link_all_deplibs=$link_all_deplibs_GCJ
21941
 
 
21942
 
# Compile-time system search path for libraries
21943
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21944
 
 
21945
 
# Run-time system search path for libraries
21946
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21947
 
 
21948
 
# Fix the shell variable \$srcfile for the compiler.
21949
 
fix_srcfile_path="$fix_srcfile_path_GCJ"
21950
 
 
21951
 
# Set to yes if exported symbols are required.
21952
 
always_export_symbols=$always_export_symbols_GCJ
21953
 
 
21954
 
# The commands to list exported symbols.
21955
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
21956
 
 
21957
 
# The commands to extract the exported symbol list from a shared archive.
21958
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
21959
 
 
21960
 
# Symbols that should not be listed in the preloaded symbols.
21961
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
21962
 
 
21963
 
# Symbols that must always be exported.
21964
 
include_expsyms=$lt_include_expsyms_GCJ
21965
 
 
21966
 
# ### END LIBTOOL TAG CONFIG: $tagname
21967
 
 
21968
 
__EOF__
21969
 
 
21970
 
 
21971
 
else
21972
 
  # If there is no Makefile yet, we rely on a make rule to execute
21973
 
  # `config.status --recheck' to rerun these tests and create the
21974
 
  # libtool script then.
21975
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21976
 
  if test -f "$ltmain_in"; then
21977
 
    test -f Makefile && make "$ltmain"
21978
 
  fi
21979
 
fi
21980
 
 
21981
 
 
21982
 
ac_ext=c
21983
 
ac_cpp='$CPP $CPPFLAGS'
21984
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21985
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21986
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
21987
 
 
21988
 
CC="$lt_save_CC"
21989
 
 
21990
 
        else
21991
 
          tagname=""
21992
 
        fi
21993
 
        ;;
21994
 
 
21995
 
      RC)
21996
 
 
21997
 
 
21998
 
 
21999
 
# Source file extension for RC test sources.
22000
 
ac_ext=rc
22001
 
 
22002
 
# Object file extension for compiled RC test sources.
22003
 
objext=o
22004
 
objext_RC=$objext
22005
 
 
22006
 
# Code to be used in simple compile tests
22007
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
22008
 
 
22009
 
# Code to be used in simple link tests
22010
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
22011
 
 
22012
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
22013
 
 
22014
 
# If no C compiler was specified, use CC.
22015
 
LTCC=${LTCC-"$CC"}
22016
 
 
22017
 
# Allow CC to be a program name with arguments.
22018
 
compiler=$CC
22019
 
 
22020
 
 
22021
 
# Allow CC to be a program name with arguments.
22022
 
lt_save_CC="$CC"
22023
 
CC=${RC-"windres"}
22024
 
compiler=$CC
22025
 
compiler_RC=$CC
22026
 
lt_cv_prog_compiler_c_o_RC=yes
22027
 
 
22028
 
# The else clause should only fire when bootstrapping the
22029
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
22030
 
# with your package, and you will get complaints that there are
22031
 
# no rules to generate ltmain.sh.
22032
 
if test -f "$ltmain"; then
22033
 
  # See if we are running on zsh, and set the options which allow our commands through
22034
 
  # without removal of \ escapes.
22035
 
  if test -n "${ZSH_VERSION+set}" ; then
22036
 
    setopt NO_GLOB_SUBST
22037
 
  fi
22038
 
  # Now quote all the things that may contain metacharacters while being
22039
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
22040
 
  # variables and quote the copies for generation of the libtool script.
22041
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
22042
 
    SED SHELL STRIP \
22043
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
22044
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
22045
 
    deplibs_check_method reload_flag reload_cmds need_locks \
22046
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
22047
 
    lt_cv_sys_global_symbol_to_c_name_address \
22048
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
22049
 
    old_postinstall_cmds old_postuninstall_cmds \
22050
 
    compiler_RC \
22051
 
    CC_RC \
22052
 
    LD_RC \
22053
 
    lt_prog_compiler_wl_RC \
22054
 
    lt_prog_compiler_pic_RC \
22055
 
    lt_prog_compiler_static_RC \
22056
 
    lt_prog_compiler_no_builtin_flag_RC \
22057
 
    export_dynamic_flag_spec_RC \
22058
 
    thread_safe_flag_spec_RC \
22059
 
    whole_archive_flag_spec_RC \
22060
 
    enable_shared_with_static_runtimes_RC \
22061
 
    old_archive_cmds_RC \
22062
 
    old_archive_from_new_cmds_RC \
22063
 
    predep_objects_RC \
22064
 
    postdep_objects_RC \
22065
 
    predeps_RC \
22066
 
    postdeps_RC \
22067
 
    compiler_lib_search_path_RC \
22068
 
    archive_cmds_RC \
22069
 
    archive_expsym_cmds_RC \
22070
 
    postinstall_cmds_RC \
22071
 
    postuninstall_cmds_RC \
22072
 
    old_archive_from_expsyms_cmds_RC \
22073
 
    allow_undefined_flag_RC \
22074
 
    no_undefined_flag_RC \
22075
 
    export_symbols_cmds_RC \
22076
 
    hardcode_libdir_flag_spec_RC \
22077
 
    hardcode_libdir_flag_spec_ld_RC \
22078
 
    hardcode_libdir_separator_RC \
22079
 
    hardcode_automatic_RC \
22080
 
    module_cmds_RC \
22081
 
    module_expsym_cmds_RC \
22082
 
    lt_cv_prog_compiler_c_o_RC \
22083
 
    exclude_expsyms_RC \
22084
 
    include_expsyms_RC; do
22085
 
 
22086
 
    case $var in
22087
 
    old_archive_cmds_RC | \
22088
 
    old_archive_from_new_cmds_RC | \
22089
 
    archive_cmds_RC | \
22090
 
    archive_expsym_cmds_RC | \
22091
 
    module_cmds_RC | \
22092
 
    module_expsym_cmds_RC | \
22093
 
    old_archive_from_expsyms_cmds_RC | \
22094
 
    export_symbols_cmds_RC | \
22095
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
22096
 
    postinstall_cmds | postuninstall_cmds | \
22097
 
    old_postinstall_cmds | old_postuninstall_cmds | \
22098
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
22099
 
      # Double-quote double-evaled strings.
22100
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
22101
 
      ;;
22102
 
    *)
22103
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
22104
 
      ;;
22105
 
    esac
22106
 
  done
22107
 
 
22108
 
  case $lt_echo in
22109
 
  *'\$0 --fallback-echo"')
22110
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
22111
 
    ;;
22112
 
  esac
22113
 
 
22114
 
cfgfile="$ofile"
22115
 
 
22116
 
  cat <<__EOF__ >> "$cfgfile"
22117
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
22118
 
 
22119
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22120
 
 
22121
 
# Shell to use when invoking shell scripts.
22122
 
SHELL=$lt_SHELL
22123
 
 
22124
 
# Whether or not to build shared libraries.
22125
 
build_libtool_libs=$enable_shared
22126
 
 
22127
 
# Whether or not to build static libraries.
22128
 
build_old_libs=$enable_static
22129
 
 
22130
 
# Whether or not to add -lc for building shared libraries.
22131
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
22132
 
 
22133
 
# Whether or not to disallow shared libs when runtime libs are static
22134
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
22135
 
 
22136
 
# Whether or not to optimize for fast installation.
22137
 
fast_install=$enable_fast_install
22138
 
 
22139
 
# The host system.
22140
 
host_alias=$host_alias
22141
 
host=$host
22142
 
 
22143
 
# An echo program that does not interpret backslashes.
22144
 
echo=$lt_echo
22145
 
 
22146
 
# The archiver.
22147
 
AR=$lt_AR
22148
 
AR_FLAGS=$lt_AR_FLAGS
22149
 
 
22150
 
# A C compiler.
22151
 
LTCC=$lt_LTCC
22152
 
 
22153
 
# A language-specific compiler.
22154
 
CC=$lt_compiler_RC
22155
 
 
22156
 
# Is the compiler the GNU C compiler?
22157
 
with_gcc=$GCC_RC
22158
 
 
22159
 
# An ERE matcher.
22160
 
EGREP=$lt_EGREP
22161
 
 
22162
 
# The linker used to build libraries.
22163
 
LD=$lt_LD_RC
22164
 
 
22165
 
# Whether we need hard or soft links.
22166
 
LN_S=$lt_LN_S
22167
 
 
22168
 
# A BSD-compatible nm program.
22169
 
NM=$lt_NM
22170
 
 
22171
 
# A symbol stripping program
22172
 
STRIP=$lt_STRIP
22173
 
 
22174
 
# Used to examine libraries when file_magic_cmd begins "file"
22175
 
MAGIC_CMD=$MAGIC_CMD
22176
 
 
22177
 
# Used on cygwin: DLL creation program.
22178
 
DLLTOOL="$DLLTOOL"
22179
 
 
22180
 
# Used on cygwin: object dumper.
22181
 
OBJDUMP="$OBJDUMP"
22182
 
 
22183
 
# Used on cygwin: assembler.
22184
 
AS="$AS"
22185
 
 
22186
 
# The name of the directory that contains temporary libtool files.
22187
 
objdir=$objdir
22188
 
 
22189
 
# How to create reloadable object files.
22190
 
reload_flag=$lt_reload_flag
22191
 
reload_cmds=$lt_reload_cmds
22192
 
 
22193
 
# How to pass a linker flag through the compiler.
22194
 
wl=$lt_lt_prog_compiler_wl_RC
22195
 
 
22196
 
# Object file suffix (normally "o").
22197
 
objext="$ac_objext"
22198
 
 
22199
 
# Old archive suffix (normally "a").
22200
 
libext="$libext"
22201
 
 
22202
 
# Shared library suffix (normally ".so").
22203
 
shrext_cmds='$shrext_cmds'
22204
 
 
22205
 
# Executable file suffix (normally "").
22206
 
exeext="$exeext"
22207
 
 
22208
 
# Additional compiler flags for building library objects.
22209
 
pic_flag=$lt_lt_prog_compiler_pic_RC
22210
 
pic_mode=$pic_mode
22211
 
 
22212
 
# What is the maximum length of a command?
22213
 
max_cmd_len=$lt_cv_sys_max_cmd_len
22214
 
 
22215
 
# Does compiler simultaneously support -c and -o options?
22216
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
22217
 
 
22218
 
# Must we lock files when doing compilation ?
22219
 
need_locks=$lt_need_locks
22220
 
 
22221
 
# Do we need the lib prefix for modules?
22222
 
need_lib_prefix=$need_lib_prefix
22223
 
 
22224
 
# Do we need a version for libraries?
22225
 
need_version=$need_version
22226
 
 
22227
 
# Whether dlopen is supported.
22228
 
dlopen_support=$enable_dlopen
22229
 
 
22230
 
# Whether dlopen of programs is supported.
22231
 
dlopen_self=$enable_dlopen_self
22232
 
 
22233
 
# Whether dlopen of statically linked programs is supported.
22234
 
dlopen_self_static=$enable_dlopen_self_static
22235
 
 
22236
 
# Compiler flag to prevent dynamic linking.
22237
 
link_static_flag=$lt_lt_prog_compiler_static_RC
22238
 
 
22239
 
# Compiler flag to turn off builtin functions.
22240
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
22241
 
 
22242
 
# Compiler flag to allow reflexive dlopens.
22243
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
22244
 
 
22245
 
# Compiler flag to generate shared objects directly from archives.
22246
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
22247
 
 
22248
 
# Compiler flag to generate thread-safe objects.
22249
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
22250
 
 
22251
 
# Library versioning type.
22252
 
version_type=$version_type
22253
 
 
22254
 
# Format of library name prefix.
22255
 
libname_spec=$lt_libname_spec
22256
 
 
22257
 
# List of archive names.  First name is the real one, the rest are links.
22258
 
# The last name is the one that the linker finds with -lNAME.
22259
 
library_names_spec=$lt_library_names_spec
22260
 
 
22261
 
# The coded name of the library, if different from the real name.
22262
 
soname_spec=$lt_soname_spec
22263
 
 
22264
 
# Commands used to build and install an old-style archive.
22265
 
RANLIB=$lt_RANLIB
22266
 
old_archive_cmds=$lt_old_archive_cmds_RC
22267
 
old_postinstall_cmds=$lt_old_postinstall_cmds
22268
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
22269
 
 
22270
 
# Create an old-style archive from a shared archive.
22271
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
22272
 
 
22273
 
# Create a temporary old-style archive to link instead of a shared archive.
22274
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
22275
 
 
22276
 
# Commands used to build and install a shared archive.
22277
 
archive_cmds=$lt_archive_cmds_RC
22278
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
22279
 
postinstall_cmds=$lt_postinstall_cmds
22280
 
postuninstall_cmds=$lt_postuninstall_cmds
22281
 
 
22282
 
# Commands used to build a loadable module (assumed same as above if empty)
22283
 
module_cmds=$lt_module_cmds_RC
22284
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
22285
 
 
22286
 
# Commands to strip libraries.
22287
 
old_striplib=$lt_old_striplib
22288
 
striplib=$lt_striplib
22289
 
 
22290
 
# Dependencies to place before the objects being linked to create a
22291
 
# shared library.
22292
 
predep_objects=$lt_predep_objects_RC
22293
 
 
22294
 
# Dependencies to place after the objects being linked to create a
22295
 
# shared library.
22296
 
postdep_objects=$lt_postdep_objects_RC
22297
 
 
22298
 
# Dependencies to place before the objects being linked to create a
22299
 
# shared library.
22300
 
predeps=$lt_predeps_RC
22301
 
 
22302
 
# Dependencies to place after the objects being linked to create a
22303
 
# shared library.
22304
 
postdeps=$lt_postdeps_RC
22305
 
 
22306
 
# The library search path used internally by the compiler when linking
22307
 
# a shared library.
22308
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
22309
 
 
22310
 
# Method to check whether dependent libraries are shared objects.
22311
 
deplibs_check_method=$lt_deplibs_check_method
22312
 
 
22313
 
# Command to use when deplibs_check_method == file_magic.
22314
 
file_magic_cmd=$lt_file_magic_cmd
22315
 
 
22316
 
# Flag that allows shared libraries with undefined symbols to be built.
22317
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
22318
 
 
22319
 
# Flag that forces no undefined symbols.
22320
 
no_undefined_flag=$lt_no_undefined_flag_RC
22321
 
 
22322
 
# Commands used to finish a libtool library installation in a directory.
22323
 
finish_cmds=$lt_finish_cmds
22324
 
 
22325
 
# Same as above, but a single script fragment to be evaled but not shown.
22326
 
finish_eval=$lt_finish_eval
22327
 
 
22328
 
# Take the output of nm and produce a listing of raw symbols and C names.
22329
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22330
 
 
22331
 
# Transform the output of nm in a proper C declaration
22332
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22333
 
 
22334
 
# Transform the output of nm in a C name address pair
22335
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22336
 
 
22337
 
# This is the shared library runtime path variable.
22338
 
runpath_var=$runpath_var
22339
 
 
22340
 
# This is the shared library path variable.
22341
 
shlibpath_var=$shlibpath_var
22342
 
 
22343
 
# Is shlibpath searched before the hard-coded library search path?
22344
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22345
 
 
22346
 
# How to hardcode a shared library path into an executable.
22347
 
hardcode_action=$hardcode_action_RC
22348
 
 
22349
 
# Whether we should hardcode library paths into libraries.
22350
 
hardcode_into_libs=$hardcode_into_libs
22351
 
 
22352
 
# Flag to hardcode \$libdir into a binary during linking.
22353
 
# This must work even if \$libdir does not exist.
22354
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
22355
 
 
22356
 
# If ld is used when linking, flag to hardcode \$libdir into
22357
 
# a binary during linking. This must work even if \$libdir does
22358
 
# not exist.
22359
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
22360
 
 
22361
 
# Whether we need a single -rpath flag with a separated argument.
22362
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
22363
 
 
22364
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
22365
 
# resulting binary.
22366
 
hardcode_direct=$hardcode_direct_RC
22367
 
 
22368
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
22369
 
# resulting binary.
22370
 
hardcode_minus_L=$hardcode_minus_L_RC
22371
 
 
22372
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
22373
 
# the resulting binary.
22374
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
22375
 
 
22376
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
22377
 
# and all subsequent libraries and executables linked against it.
22378
 
hardcode_automatic=$hardcode_automatic_RC
22379
 
 
22380
 
# Variables whose values should be saved in libtool wrapper scripts and
22381
 
# restored at relink time.
22382
 
variables_saved_for_relink="$variables_saved_for_relink"
22383
 
 
22384
 
# Whether libtool must link a program against all its dependency libraries.
22385
 
link_all_deplibs=$link_all_deplibs_RC
22386
 
 
22387
 
# Compile-time system search path for libraries
22388
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22389
 
 
22390
 
# Run-time system search path for libraries
22391
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22392
 
 
22393
 
# Fix the shell variable \$srcfile for the compiler.
22394
 
fix_srcfile_path="$fix_srcfile_path_RC"
22395
 
 
22396
 
# Set to yes if exported symbols are required.
22397
 
always_export_symbols=$always_export_symbols_RC
22398
 
 
22399
 
# The commands to list exported symbols.
22400
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
22401
 
 
22402
 
# The commands to extract the exported symbol list from a shared archive.
22403
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
22404
 
 
22405
 
# Symbols that should not be listed in the preloaded symbols.
22406
 
exclude_expsyms=$lt_exclude_expsyms_RC
22407
 
 
22408
 
# Symbols that must always be exported.
22409
 
include_expsyms=$lt_include_expsyms_RC
22410
 
 
22411
 
# ### END LIBTOOL TAG CONFIG: $tagname
22412
 
 
22413
 
__EOF__
22414
 
 
22415
 
 
22416
 
else
22417
 
  # If there is no Makefile yet, we rely on a make rule to execute
22418
 
  # `config.status --recheck' to rerun these tests and create the
22419
 
  # libtool script then.
22420
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
22421
 
  if test -f "$ltmain_in"; then
22422
 
    test -f Makefile && make "$ltmain"
22423
 
  fi
22424
 
fi
22425
 
 
22426
 
 
22427
 
ac_ext=c
22428
 
ac_cpp='$CPP $CPPFLAGS'
22429
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22430
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22431
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22432
 
 
22433
 
CC="$lt_save_CC"
22434
 
 
22435
 
        ;;
22436
 
 
22437
 
      *)
22438
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
22439
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
22440
 
   { (exit 1); exit 1; }; }
22441
 
        ;;
22442
 
      esac
22443
 
 
22444
 
      # Append the new tag name to the list of available tags.
22445
 
      if test -n "$tagname" ; then
22446
 
      available_tags="$available_tags $tagname"
22447
 
    fi
22448
 
    fi
22449
 
  done
22450
 
  IFS="$lt_save_ifs"
22451
 
 
22452
 
  # Now substitute the updated list of available tags.
22453
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
22454
 
    mv "${ofile}T" "$ofile"
22455
 
    chmod +x "$ofile"
22456
 
  else
22457
 
    rm -f "${ofile}T"
22458
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
22459
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
22460
 
   { (exit 1); exit 1; }; }
22461
 
  fi
22462
 
fi
22463
 
 
22464
 
 
22465
 
 
22466
 
# This can be used to rebuild libtool when needed
22467
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
22468
 
 
22469
 
# Always use our own libtool.
22470
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
22471
 
 
22472
 
# Prevent multiple expansion
22473
 
 
22474
 
 
22475
 
 
22476
 
 
22477
 
 
22478
 
 
22479
 
 
22480
 
 
22481
 
 
22482
 
 
22483
 
 
22484
 
 
22485
 
 
22486
 
 
22487
 
 
22488
 
 
22489
 
 
22490
 
 
22491
 
 
22492
 
 
22493
 
# Find a good install program.  We prefer a C program (faster),
22494
 
# so one script is as good as another.  But avoid the broken or
22495
 
# incompatible versions:
22496
 
# SysV /etc/install, /usr/sbin/install
22497
 
# SunOS /usr/etc/install
22498
 
# IRIX /sbin/install
22499
 
# AIX /bin/install
22500
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
22501
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
22502
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
22503
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
22504
 
# OS/2's system install, which has a completely different semantic
22505
 
# ./install, which can be erroneously created by make from ./install.sh.
22506
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
22507
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
22508
 
if test -z "$INSTALL"; then
22509
 
if test "${ac_cv_path_install+set}" = set; then
22510
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22511
 
else
22512
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22513
 
for as_dir in $PATH
22514
 
do
22515
 
  IFS=$as_save_IFS
22516
 
  test -z "$as_dir" && as_dir=.
22517
 
  # Account for people who put trailing slashes in PATH elements.
22518
 
case $as_dir/ in
22519
 
  ./ | .// | /cC/* | \
22520
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
22521
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
22522
 
  /usr/ucb/* ) ;;
22523
 
  *)
22524
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
22525
 
    # Don't use installbsd from OSF since it installs stuff as root
22526
 
    # by default.
22527
 
    for ac_prog in ginstall scoinst install; do
22528
 
      for ac_exec_ext in '' $ac_executable_extensions; do
22529
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
22530
 
          if test $ac_prog = install &&
22531
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
22532
 
            # AIX install.  It has an incompatible calling convention.
22533
 
            :
22534
 
          elif test $ac_prog = install &&
22535
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
22536
 
            # program-specific install script used by HP pwplus--don't use.
22537
 
            :
22538
 
          else
22539
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
22540
 
            break 3
22541
 
          fi
22542
 
        fi
22543
 
      done
22544
 
    done
22545
 
    ;;
22546
 
esac
22547
 
done
22548
 
 
22549
 
 
22550
 
fi
22551
 
  if test "${ac_cv_path_install+set}" = set; then
22552
 
    INSTALL=$ac_cv_path_install
22553
 
  else
22554
 
    # As a last resort, use the slow shell script.  We don't cache a
22555
 
    # path for INSTALL within a source directory, because that will
22556
 
    # break other packages using the cache if that directory is
22557
 
    # removed, or if the path is relative.
22558
 
    INSTALL=$ac_install_sh
22559
 
  fi
22560
 
fi
22561
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
22562
 
echo "${ECHO_T}$INSTALL" >&6
22563
 
 
22564
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
22565
 
# It thinks the first close brace ends the variable substitution.
22566
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
22567
 
 
22568
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
22569
 
 
22570
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
22571
 
 
22572
 
 
22573
 
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22574
 
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22575
 
if test "${ac_cv_c_bigendian+set}" = set; then
22576
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22577
 
else
22578
 
  # See if sys/param.h defines the BYTE_ORDER macro.
22579
 
cat >conftest.$ac_ext <<_ACEOF
22580
 
/* confdefs.h.  */
22581
 
_ACEOF
22582
 
cat confdefs.h >>conftest.$ac_ext
22583
 
cat >>conftest.$ac_ext <<_ACEOF
22584
 
/* end confdefs.h.  */
22585
 
#include <sys/types.h>
22586
 
#include <sys/param.h>
22587
 
 
22588
 
int
22589
 
main ()
22590
 
{
22591
 
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22592
 
 bogus endian macros
22593
 
#endif
22594
 
 
22595
 
  ;
22596
 
  return 0;
22597
 
}
22598
 
_ACEOF
22599
 
rm -f conftest.$ac_objext
22600
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22601
 
  (eval $ac_compile) 2>conftest.er1
22602
 
  ac_status=$?
22603
 
  grep -v '^ *+' conftest.er1 >conftest.err
22604
 
  rm -f conftest.er1
22605
 
  cat conftest.err >&5
22606
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22607
 
  (exit $ac_status); } &&
22608
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22609
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22610
 
  (eval $ac_try) 2>&5
22611
 
  ac_status=$?
22612
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22613
 
  (exit $ac_status); }; } &&
22614
 
         { ac_try='test -s conftest.$ac_objext'
22615
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22616
 
  (eval $ac_try) 2>&5
22617
 
  ac_status=$?
22618
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22619
 
  (exit $ac_status); }; }; then
22620
 
  # It does; now see whether it defined to BIG_ENDIAN or not.
22621
 
cat >conftest.$ac_ext <<_ACEOF
22622
 
/* confdefs.h.  */
22623
 
_ACEOF
22624
 
cat confdefs.h >>conftest.$ac_ext
22625
 
cat >>conftest.$ac_ext <<_ACEOF
22626
 
/* end confdefs.h.  */
22627
 
#include <sys/types.h>
22628
 
#include <sys/param.h>
22629
 
 
22630
 
int
22631
 
main ()
22632
 
{
22633
 
#if BYTE_ORDER != BIG_ENDIAN
22634
 
 not big endian
22635
 
#endif
22636
 
 
22637
 
  ;
22638
 
  return 0;
22639
 
}
22640
 
_ACEOF
22641
 
rm -f conftest.$ac_objext
22642
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22643
 
  (eval $ac_compile) 2>conftest.er1
22644
 
  ac_status=$?
22645
 
  grep -v '^ *+' conftest.er1 >conftest.err
22646
 
  rm -f conftest.er1
22647
 
  cat conftest.err >&5
22648
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22649
 
  (exit $ac_status); } &&
22650
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22651
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22652
 
  (eval $ac_try) 2>&5
22653
 
  ac_status=$?
22654
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22655
 
  (exit $ac_status); }; } &&
22656
 
         { ac_try='test -s conftest.$ac_objext'
22657
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22658
 
  (eval $ac_try) 2>&5
22659
 
  ac_status=$?
22660
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22661
 
  (exit $ac_status); }; }; then
22662
 
  ac_cv_c_bigendian=yes
22663
 
else
22664
 
  echo "$as_me: failed program was:" >&5
22665
 
sed 's/^/| /' conftest.$ac_ext >&5
22666
 
 
22667
 
ac_cv_c_bigendian=no
22668
 
fi
22669
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22670
 
else
22671
 
  echo "$as_me: failed program was:" >&5
22672
 
sed 's/^/| /' conftest.$ac_ext >&5
22673
 
 
22674
 
# It does not; compile a test program.
22675
 
if test "$cross_compiling" = yes; then
22676
 
  # try to guess the endianness by grepping values into an object file
22677
 
  ac_cv_c_bigendian=unknown
22678
 
  cat >conftest.$ac_ext <<_ACEOF
22679
 
/* confdefs.h.  */
22680
 
_ACEOF
22681
 
cat confdefs.h >>conftest.$ac_ext
22682
 
cat >>conftest.$ac_ext <<_ACEOF
22683
 
/* end confdefs.h.  */
22684
 
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
22685
 
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
22686
 
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
22687
 
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
22688
 
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
22689
 
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
22690
 
int
22691
 
main ()
22692
 
{
22693
 
 _ascii (); _ebcdic ();
22694
 
  ;
22695
 
  return 0;
22696
 
}
22697
 
_ACEOF
22698
 
rm -f conftest.$ac_objext
22699
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22700
 
  (eval $ac_compile) 2>conftest.er1
22701
 
  ac_status=$?
22702
 
  grep -v '^ *+' conftest.er1 >conftest.err
22703
 
  rm -f conftest.er1
22704
 
  cat conftest.err >&5
22705
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22706
 
  (exit $ac_status); } &&
22707
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22708
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22709
 
  (eval $ac_try) 2>&5
22710
 
  ac_status=$?
22711
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22712
 
  (exit $ac_status); }; } &&
22713
 
         { ac_try='test -s conftest.$ac_objext'
22714
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22715
 
  (eval $ac_try) 2>&5
22716
 
  ac_status=$?
22717
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22718
 
  (exit $ac_status); }; }; then
22719
 
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
22720
 
  ac_cv_c_bigendian=yes
22721
 
fi
22722
 
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
22723
 
  if test "$ac_cv_c_bigendian" = unknown; then
22724
 
    ac_cv_c_bigendian=no
22725
 
  else
22726
 
    # finding both strings is unlikely to happen, but who knows?
22727
 
    ac_cv_c_bigendian=unknown
22728
 
  fi
22729
 
fi
22730
 
else
22731
 
  echo "$as_me: failed program was:" >&5
22732
 
sed 's/^/| /' conftest.$ac_ext >&5
22733
 
 
22734
 
fi
22735
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22736
 
else
22737
 
  cat >conftest.$ac_ext <<_ACEOF
22738
 
/* confdefs.h.  */
22739
 
_ACEOF
22740
 
cat confdefs.h >>conftest.$ac_ext
22741
 
cat >>conftest.$ac_ext <<_ACEOF
22742
 
/* end confdefs.h.  */
22743
 
int
22744
 
main ()
22745
 
{
22746
 
  /* Are we little or big endian?  From Harbison&Steele.  */
22747
 
  union
22748
 
  {
22749
 
    long l;
22750
 
    char c[sizeof (long)];
22751
 
  } u;
22752
 
  u.l = 1;
22753
 
  exit (u.c[sizeof (long) - 1] == 1);
22754
 
}
22755
 
_ACEOF
22756
 
rm -f conftest$ac_exeext
22757
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22758
 
  (eval $ac_link) 2>&5
22759
 
  ac_status=$?
22760
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22761
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22762
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22763
 
  (eval $ac_try) 2>&5
22764
 
  ac_status=$?
22765
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22766
 
  (exit $ac_status); }; }; then
22767
 
  ac_cv_c_bigendian=no
22768
 
else
22769
 
  echo "$as_me: program exited with status $ac_status" >&5
22770
 
echo "$as_me: failed program was:" >&5
22771
 
sed 's/^/| /' conftest.$ac_ext >&5
22772
 
 
22773
 
( exit $ac_status )
22774
 
ac_cv_c_bigendian=yes
22775
 
fi
22776
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22777
 
fi
22778
 
fi
22779
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22780
 
fi
22781
 
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22782
 
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22783
 
case $ac_cv_c_bigendian in
22784
 
  yes)
22785
 
 
22786
 
cat >>confdefs.h <<\_ACEOF
22787
 
#define IS_BIG_ENDIAN
22788
 
_ACEOF
22789
 
 ;;
22790
 
  no)
22791
 
 
22792
 
cat >>confdefs.h <<\_ACEOF
22793
 
#define IS_LITTLE_ENDIAN
22794
 
_ACEOF
22795
 
 ;;
22796
 
  *)
22797
 
    { { echo "$as_me:$LINENO: error: Can't tell endianess of platform" >&5
22798
 
echo "$as_me: error: Can't tell endianess of platform" >&2;}
22799
 
   { (exit 1); exit 1; }; } ;;
22800
 
esac
22801
 
 
22802
 
 
22803
 
echo "$as_me:$LINENO: checking for socklen_t" >&5
22804
 
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
22805
 
cat >conftest.$ac_ext <<_ACEOF
22806
 
/* confdefs.h.  */
22807
 
_ACEOF
22808
 
cat confdefs.h >>conftest.$ac_ext
22809
 
cat >>conftest.$ac_ext <<_ACEOF
22810
 
/* end confdefs.h.  */
22811
 
#include <sys/socket.h>
22812
 
socklen_t x;
22813
 
 
22814
 
int
22815
 
main ()
22816
 
{
22817
 
 
22818
 
  ;
22819
 
  return 0;
22820
 
}
22821
 
_ACEOF
22822
 
rm -f conftest.$ac_objext
22823
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22824
 
  (eval $ac_compile) 2>conftest.er1
22825
 
  ac_status=$?
22826
 
  grep -v '^ *+' conftest.er1 >conftest.err
22827
 
  rm -f conftest.er1
22828
 
  cat conftest.err >&5
22829
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22830
 
  (exit $ac_status); } &&
22831
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22832
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22833
 
  (eval $ac_try) 2>&5
22834
 
  ac_status=$?
22835
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22836
 
  (exit $ac_status); }; } &&
22837
 
         { ac_try='test -s conftest.$ac_objext'
22838
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22839
 
  (eval $ac_try) 2>&5
22840
 
  ac_status=$?
22841
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22842
 
  (exit $ac_status); }; }; then
22843
 
  echo "$as_me:$LINENO: result: yes" >&5
22844
 
echo "${ECHO_T}yes" >&6
22845
 
else
22846
 
  echo "$as_me: failed program was:" >&5
22847
 
sed 's/^/| /' conftest.$ac_ext >&5
22848
 
 
22849
 
 
22850
 
cat >conftest.$ac_ext <<_ACEOF
22851
 
/* confdefs.h.  */
22852
 
_ACEOF
22853
 
cat confdefs.h >>conftest.$ac_ext
22854
 
cat >>conftest.$ac_ext <<_ACEOF
22855
 
/* end confdefs.h.  */
22856
 
#include <sys/socket.h>
22857
 
int accept (int, struct sockaddr *, size_t *);
22858
 
 
22859
 
int
22860
 
main ()
22861
 
{
22862
 
 
22863
 
  ;
22864
 
  return 0;
22865
 
}
22866
 
_ACEOF
22867
 
rm -f conftest.$ac_objext
22868
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22869
 
  (eval $ac_compile) 2>conftest.er1
22870
 
  ac_status=$?
22871
 
  grep -v '^ *+' conftest.er1 >conftest.err
22872
 
  rm -f conftest.er1
22873
 
  cat conftest.err >&5
22874
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22875
 
  (exit $ac_status); } &&
22876
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22877
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22878
 
  (eval $ac_try) 2>&5
22879
 
  ac_status=$?
22880
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22881
 
  (exit $ac_status); }; } &&
22882
 
         { ac_try='test -s conftest.$ac_objext'
22883
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22884
 
  (eval $ac_try) 2>&5
22885
 
  ac_status=$?
22886
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22887
 
  (exit $ac_status); }; }; then
22888
 
 
22889
 
echo "$as_me:$LINENO: result: ::socklen_t" >&5
22890
 
echo "${ECHO_T}::socklen_t" >&6
22891
 
 
22892
 
cat >>confdefs.h <<\_ACEOF
22893
 
#define TYPE_OF_SOCKLEN_T ::socklen_t
22894
 
_ACEOF
22895
 
 
22896
 
else
22897
 
  echo "$as_me: failed program was:" >&5
22898
 
sed 's/^/| /' conftest.$ac_ext >&5
22899
 
 
22900
 
 
22901
 
echo "$as_me:$LINENO: result: int" >&5
22902
 
echo "${ECHO_T}int" >&6
22903
 
 
22904
 
cat >>confdefs.h <<\_ACEOF
22905
 
#define TYPE_OF_SOCKLEN_T int
22906
 
_ACEOF
22907
 
 
22908
 
fi
22909
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22910
 
fi
22911
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22912
 
 
22913
 
 
22914
 
 
22915
 
 
22916
 
 
22917
 
echo "$as_me:$LINENO: checking for long" >&5
22918
 
echo $ECHO_N "checking for long... $ECHO_C" >&6
22919
 
if test "${ac_cv_type_long+set}" = set; then
22920
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22921
 
else
22922
 
  cat >conftest.$ac_ext <<_ACEOF
22923
 
/* confdefs.h.  */
22924
 
_ACEOF
22925
 
cat confdefs.h >>conftest.$ac_ext
22926
 
cat >>conftest.$ac_ext <<_ACEOF
22927
 
/* end confdefs.h.  */
22928
 
$ac_includes_default
22929
 
int
22930
 
main ()
22931
 
{
22932
 
if ((long *) 0)
22933
 
  return 0;
22934
 
if (sizeof (long))
22935
 
  return 0;
22936
 
  ;
22937
 
  return 0;
22938
 
}
22939
 
_ACEOF
22940
 
rm -f conftest.$ac_objext
22941
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22942
 
  (eval $ac_compile) 2>conftest.er1
22943
 
  ac_status=$?
22944
 
  grep -v '^ *+' conftest.er1 >conftest.err
22945
 
  rm -f conftest.er1
22946
 
  cat conftest.err >&5
22947
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22948
 
  (exit $ac_status); } &&
22949
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22950
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22951
 
  (eval $ac_try) 2>&5
22952
 
  ac_status=$?
22953
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22954
 
  (exit $ac_status); }; } &&
22955
 
         { ac_try='test -s conftest.$ac_objext'
22956
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22957
 
  (eval $ac_try) 2>&5
22958
 
  ac_status=$?
22959
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22960
 
  (exit $ac_status); }; }; then
22961
 
  ac_cv_type_long=yes
22962
 
else
22963
 
  echo "$as_me: failed program was:" >&5
22964
 
sed 's/^/| /' conftest.$ac_ext >&5
22965
 
 
22966
 
ac_cv_type_long=no
22967
 
fi
22968
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22969
 
fi
22970
 
echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22971
 
echo "${ECHO_T}$ac_cv_type_long" >&6
22972
 
 
22973
 
echo "$as_me:$LINENO: checking size of long" >&5
22974
 
echo $ECHO_N "checking size of long... $ECHO_C" >&6
22975
 
if test "${ac_cv_sizeof_long+set}" = set; then
22976
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22977
 
else
22978
 
  if test "$ac_cv_type_long" = yes; then
22979
 
  # The cast to unsigned long works around a bug in the HP C Compiler
22980
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22981
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22982
 
  # This bug is HP SR number 8606223364.
22983
 
  if test "$cross_compiling" = yes; then
22984
 
  # Depending upon the size, compute the lo and hi bounds.
22985
 
cat >conftest.$ac_ext <<_ACEOF
22986
 
/* confdefs.h.  */
22987
 
_ACEOF
22988
 
cat confdefs.h >>conftest.$ac_ext
22989
 
cat >>conftest.$ac_ext <<_ACEOF
22990
 
/* end confdefs.h.  */
22991
 
$ac_includes_default
22992
 
int
22993
 
main ()
22994
 
{
22995
 
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
22996
 
test_array [0] = 0
22997
 
 
22998
 
  ;
22999
 
  return 0;
23000
 
}
23001
 
_ACEOF
23002
 
rm -f conftest.$ac_objext
23003
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23004
 
  (eval $ac_compile) 2>conftest.er1
23005
 
  ac_status=$?
23006
 
  grep -v '^ *+' conftest.er1 >conftest.err
23007
 
  rm -f conftest.er1
23008
 
  cat conftest.err >&5
23009
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23010
 
  (exit $ac_status); } &&
23011
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23012
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23013
 
  (eval $ac_try) 2>&5
23014
 
  ac_status=$?
23015
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23016
 
  (exit $ac_status); }; } &&
23017
 
         { ac_try='test -s conftest.$ac_objext'
23018
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23019
 
  (eval $ac_try) 2>&5
23020
 
  ac_status=$?
23021
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23022
 
  (exit $ac_status); }; }; then
23023
 
  ac_lo=0 ac_mid=0
23024
 
  while :; do
23025
 
    cat >conftest.$ac_ext <<_ACEOF
23026
 
/* confdefs.h.  */
23027
 
_ACEOF
23028
 
cat confdefs.h >>conftest.$ac_ext
23029
 
cat >>conftest.$ac_ext <<_ACEOF
23030
 
/* end confdefs.h.  */
23031
 
$ac_includes_default
23032
 
int
23033
 
main ()
23034
 
{
23035
 
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
23036
 
test_array [0] = 0
23037
 
 
23038
 
  ;
23039
 
  return 0;
23040
 
}
23041
 
_ACEOF
23042
 
rm -f conftest.$ac_objext
23043
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23044
 
  (eval $ac_compile) 2>conftest.er1
23045
 
  ac_status=$?
23046
 
  grep -v '^ *+' conftest.er1 >conftest.err
23047
 
  rm -f conftest.er1
23048
 
  cat conftest.err >&5
23049
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23050
 
  (exit $ac_status); } &&
23051
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23052
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23053
 
  (eval $ac_try) 2>&5
23054
 
  ac_status=$?
23055
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23056
 
  (exit $ac_status); }; } &&
23057
 
         { ac_try='test -s conftest.$ac_objext'
23058
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23059
 
  (eval $ac_try) 2>&5
23060
 
  ac_status=$?
23061
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23062
 
  (exit $ac_status); }; }; then
23063
 
  ac_hi=$ac_mid; break
23064
 
else
23065
 
  echo "$as_me: failed program was:" >&5
23066
 
sed 's/^/| /' conftest.$ac_ext >&5
23067
 
 
23068
 
ac_lo=`expr $ac_mid + 1`
23069
 
                    if test $ac_lo -le $ac_mid; then
23070
 
                      ac_lo= ac_hi=
23071
 
                      break
23072
 
                    fi
23073
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
23074
 
fi
23075
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23076
 
  done
23077
 
else
23078
 
  echo "$as_me: failed program was:" >&5
23079
 
sed 's/^/| /' conftest.$ac_ext >&5
23080
 
 
23081
 
cat >conftest.$ac_ext <<_ACEOF
23082
 
/* confdefs.h.  */
23083
 
_ACEOF
23084
 
cat confdefs.h >>conftest.$ac_ext
23085
 
cat >>conftest.$ac_ext <<_ACEOF
23086
 
/* end confdefs.h.  */
23087
 
$ac_includes_default
23088
 
int
23089
 
main ()
23090
 
{
23091
 
static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
23092
 
test_array [0] = 0
23093
 
 
23094
 
  ;
23095
 
  return 0;
23096
 
}
23097
 
_ACEOF
23098
 
rm -f conftest.$ac_objext
23099
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23100
 
  (eval $ac_compile) 2>conftest.er1
23101
 
  ac_status=$?
23102
 
  grep -v '^ *+' conftest.er1 >conftest.err
23103
 
  rm -f conftest.er1
23104
 
  cat conftest.err >&5
23105
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23106
 
  (exit $ac_status); } &&
23107
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23108
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23109
 
  (eval $ac_try) 2>&5
23110
 
  ac_status=$?
23111
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23112
 
  (exit $ac_status); }; } &&
23113
 
         { ac_try='test -s conftest.$ac_objext'
23114
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23115
 
  (eval $ac_try) 2>&5
23116
 
  ac_status=$?
23117
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23118
 
  (exit $ac_status); }; }; then
23119
 
  ac_hi=-1 ac_mid=-1
23120
 
  while :; do
23121
 
    cat >conftest.$ac_ext <<_ACEOF
23122
 
/* confdefs.h.  */
23123
 
_ACEOF
23124
 
cat confdefs.h >>conftest.$ac_ext
23125
 
cat >>conftest.$ac_ext <<_ACEOF
23126
 
/* end confdefs.h.  */
23127
 
$ac_includes_default
23128
 
int
23129
 
main ()
23130
 
{
23131
 
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
23132
 
test_array [0] = 0
23133
 
 
23134
 
  ;
23135
 
  return 0;
23136
 
}
23137
 
_ACEOF
23138
 
rm -f conftest.$ac_objext
23139
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23140
 
  (eval $ac_compile) 2>conftest.er1
23141
 
  ac_status=$?
23142
 
  grep -v '^ *+' conftest.er1 >conftest.err
23143
 
  rm -f conftest.er1
23144
 
  cat conftest.err >&5
23145
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23146
 
  (exit $ac_status); } &&
23147
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23148
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23149
 
  (eval $ac_try) 2>&5
23150
 
  ac_status=$?
23151
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23152
 
  (exit $ac_status); }; } &&
23153
 
         { ac_try='test -s conftest.$ac_objext'
23154
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23155
 
  (eval $ac_try) 2>&5
23156
 
  ac_status=$?
23157
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23158
 
  (exit $ac_status); }; }; then
23159
 
  ac_lo=$ac_mid; break
23160
 
else
23161
 
  echo "$as_me: failed program was:" >&5
23162
 
sed 's/^/| /' conftest.$ac_ext >&5
23163
 
 
23164
 
ac_hi=`expr '(' $ac_mid ')' - 1`
23165
 
                       if test $ac_mid -le $ac_hi; then
23166
 
                         ac_lo= ac_hi=
23167
 
                         break
23168
 
                       fi
23169
 
                       ac_mid=`expr 2 '*' $ac_mid`
23170
 
fi
23171
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23172
 
  done
23173
 
else
23174
 
  echo "$as_me: failed program was:" >&5
23175
 
sed 's/^/| /' conftest.$ac_ext >&5
23176
 
 
23177
 
ac_lo= ac_hi=
23178
 
fi
23179
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23180
 
fi
23181
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23182
 
# Binary search between lo and hi bounds.
23183
 
while test "x$ac_lo" != "x$ac_hi"; do
23184
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23185
 
  cat >conftest.$ac_ext <<_ACEOF
23186
 
/* confdefs.h.  */
23187
 
_ACEOF
23188
 
cat confdefs.h >>conftest.$ac_ext
23189
 
cat >>conftest.$ac_ext <<_ACEOF
23190
 
/* end confdefs.h.  */
23191
 
$ac_includes_default
23192
 
int
23193
 
main ()
23194
 
{
23195
 
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
23196
 
test_array [0] = 0
23197
 
 
23198
 
  ;
23199
 
  return 0;
23200
 
}
23201
 
_ACEOF
23202
 
rm -f conftest.$ac_objext
23203
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23204
 
  (eval $ac_compile) 2>conftest.er1
23205
 
  ac_status=$?
23206
 
  grep -v '^ *+' conftest.er1 >conftest.err
23207
 
  rm -f conftest.er1
23208
 
  cat conftest.err >&5
23209
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23210
 
  (exit $ac_status); } &&
23211
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23212
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23213
 
  (eval $ac_try) 2>&5
23214
 
  ac_status=$?
23215
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23216
 
  (exit $ac_status); }; } &&
23217
 
         { ac_try='test -s conftest.$ac_objext'
23218
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23219
 
  (eval $ac_try) 2>&5
23220
 
  ac_status=$?
23221
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23222
 
  (exit $ac_status); }; }; then
23223
 
  ac_hi=$ac_mid
23224
 
else
23225
 
  echo "$as_me: failed program was:" >&5
23226
 
sed 's/^/| /' conftest.$ac_ext >&5
23227
 
 
23228
 
ac_lo=`expr '(' $ac_mid ')' + 1`
23229
 
fi
23230
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23231
 
done
23232
 
case $ac_lo in
23233
 
?*) ac_cv_sizeof_long=$ac_lo;;
23234
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
23235
 
See \`config.log' for more details." >&5
23236
 
echo "$as_me: error: cannot compute sizeof (long), 77
23237
 
See \`config.log' for more details." >&2;}
23238
 
   { (exit 1); exit 1; }; } ;;
23239
 
esac
23240
 
else
23241
 
  if test "$cross_compiling" = yes; then
23242
 
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
23243
 
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
23244
 
   { (exit 1); exit 1; }; }
23245
 
else
23246
 
  cat >conftest.$ac_ext <<_ACEOF
23247
 
/* confdefs.h.  */
23248
 
_ACEOF
23249
 
cat confdefs.h >>conftest.$ac_ext
23250
 
cat >>conftest.$ac_ext <<_ACEOF
23251
 
/* end confdefs.h.  */
23252
 
$ac_includes_default
23253
 
long longval () { return (long) (sizeof (long)); }
23254
 
unsigned long ulongval () { return (long) (sizeof (long)); }
23255
 
#include <stdio.h>
23256
 
#include <stdlib.h>
23257
 
int
23258
 
main ()
23259
 
{
23260
 
 
23261
 
  FILE *f = fopen ("conftest.val", "w");
23262
 
  if (! f)
23263
 
    exit (1);
23264
 
  if (((long) (sizeof (long))) < 0)
23265
 
    {
23266
 
      long i = longval ();
23267
 
      if (i != ((long) (sizeof (long))))
23268
 
        exit (1);
23269
 
      fprintf (f, "%ld\n", i);
23270
 
    }
23271
 
  else
23272
 
    {
23273
 
      unsigned long i = ulongval ();
23274
 
      if (i != ((long) (sizeof (long))))
23275
 
        exit (1);
23276
 
      fprintf (f, "%lu\n", i);
23277
 
    }
23278
 
  exit (ferror (f) || fclose (f) != 0);
23279
 
 
23280
 
  ;
23281
 
  return 0;
23282
 
}
23283
 
_ACEOF
23284
 
rm -f conftest$ac_exeext
23285
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23286
 
  (eval $ac_link) 2>&5
23287
 
  ac_status=$?
23288
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23289
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23290
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23291
 
  (eval $ac_try) 2>&5
23292
 
  ac_status=$?
23293
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23294
 
  (exit $ac_status); }; }; then
23295
 
  ac_cv_sizeof_long=`cat conftest.val`
23296
 
else
23297
 
  echo "$as_me: program exited with status $ac_status" >&5
23298
 
echo "$as_me: failed program was:" >&5
23299
 
sed 's/^/| /' conftest.$ac_ext >&5
23300
 
 
23301
 
( exit $ac_status )
23302
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
23303
 
See \`config.log' for more details." >&5
23304
 
echo "$as_me: error: cannot compute sizeof (long), 77
23305
 
See \`config.log' for more details." >&2;}
23306
 
   { (exit 1); exit 1; }; }
23307
 
fi
23308
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23309
 
fi
23310
 
fi
23311
 
rm -f conftest.val
23312
 
else
23313
 
  ac_cv_sizeof_long=0
23314
 
fi
23315
 
fi
23316
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23317
 
echo "${ECHO_T}$ac_cv_sizeof_long" >&6
23318
 
cat >>confdefs.h <<_ACEOF
23319
 
#define SIZEOF_LONG $ac_cv_sizeof_long
23320
 
_ACEOF
23321
 
 
23322
 
 
23323
 
 
23324
 
 
23325
 
 
23326
 
 
23327
 
                    ac_config_files="$ac_config_files GNUmakefile html/Makefile"
23328
 
 
23329
 
cat >confcache <<\_ACEOF
23330
 
# This file is a shell script that caches the results of configure
23331
 
# tests run on this system so they can be shared between configure
23332
 
# scripts and configure runs, see configure's option --config-cache.
23333
 
# It is not useful on other systems.  If it contains results you don't
23334
 
# want to keep, you may remove or edit it.
23335
 
#
23336
 
# config.status only pays attention to the cache file if you give it
23337
 
# the --recheck option to rerun configure.
23338
 
#
23339
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
23340
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
23341
 
# following values.
23342
 
 
23343
 
_ACEOF
23344
 
 
23345
 
# The following way of writing the cache mishandles newlines in values,
23346
 
# but we know of no workaround that is simple, portable, and efficient.
23347
 
# So, don't put newlines in cache variables' values.
23348
 
# Ultrix sh set writes to stderr and can't be redirected directly,
23349
 
# and sets the high bit in the cache file unless we assign to the vars.
23350
 
{
23351
 
  (set) 2>&1 |
23352
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
23353
 
    *ac_space=\ *)
23354
 
      # `set' does not quote correctly, so add quotes (double-quote
23355
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
23356
 
      sed -n \
23357
 
        "s/'/'\\\\''/g;
23358
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23359
 
      ;;
23360
 
    *)
23361
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
23362
 
      sed -n \
23363
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23364
 
      ;;
23365
 
    esac;
23366
 
} |
23367
 
  sed '
23368
 
     t clear
23369
 
     : clear
23370
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23371
 
     t end
23372
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23373
 
     : end' >>confcache
23374
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
23375
 
  if test -w $cache_file; then
23376
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23377
 
    cat confcache >$cache_file
23378
 
  else
23379
 
    echo "not updating unwritable cache $cache_file"
23380
 
  fi
23381
 
fi
23382
 
rm -f confcache
23383
 
 
23384
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
23385
 
# Let make expand exec_prefix.
23386
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23387
 
 
23388
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
23389
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23390
 
# trailing colons and then remove the whole line if VPATH becomes empty
23391
 
# (actually we leave an empty line to preserve line numbers).
23392
 
if test "x$srcdir" = x.; then
23393
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
23394
 
s/:*\$(srcdir):*/:/;
23395
 
s/:*\${srcdir}:*/:/;
23396
 
s/:*@srcdir@:*/:/;
23397
 
s/^\([^=]*=[     ]*\):*/\1/;
23398
 
s/:*$//;
23399
 
s/^[^=]*=[       ]*$//;
23400
 
}'
23401
 
fi
23402
 
 
23403
 
DEFS=-DHAVE_CONFIG_H
23404
 
 
23405
 
ac_libobjs=
23406
 
ac_ltlibobjs=
23407
 
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23408
 
  # 1. Remove the extension, and $U if already installed.
23409
 
  ac_i=`echo "$ac_i" |
23410
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
23411
 
  # 2. Add them.
23412
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
23413
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
23414
 
done
23415
 
LIBOBJS=$ac_libobjs
23416
 
 
23417
 
LTLIBOBJS=$ac_ltlibobjs
23418
 
 
23419
 
 
23420
 
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
23421
 
  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
23422
 
Usually this means the macro was only invoked conditionally." >&5
23423
 
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
23424
 
Usually this means the macro was only invoked conditionally." >&2;}
23425
 
   { (exit 1); exit 1; }; }
23426
 
fi
23427
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
23428
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
23429
 
Usually this means the macro was only invoked conditionally." >&5
23430
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
23431
 
Usually this means the macro was only invoked conditionally." >&2;}
23432
 
   { (exit 1); exit 1; }; }
23433
 
fi
23434
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23435
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
23436
 
Usually this means the macro was only invoked conditionally." >&5
23437
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
23438
 
Usually this means the macro was only invoked conditionally." >&2;}
23439
 
   { (exit 1); exit 1; }; }
23440
 
fi
23441
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
23442
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
23443
 
Usually this means the macro was only invoked conditionally." >&5
23444
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
23445
 
Usually this means the macro was only invoked conditionally." >&2;}
23446
 
   { (exit 1); exit 1; }; }
23447
 
fi
23448
 
 
23449
 
: ${CONFIG_STATUS=./config.status}
23450
 
ac_clean_files_save=$ac_clean_files
23451
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23452
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23453
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
23454
 
cat >$CONFIG_STATUS <<_ACEOF
23455
 
#! $SHELL
23456
 
# Generated by $as_me.
23457
 
# Run this file to recreate the current configuration.
23458
 
# Compiler output produced by configure, useful for debugging
23459
 
# configure, is in config.log if it exists.
23460
 
 
23461
 
debug=false
23462
 
ac_cs_recheck=false
23463
 
ac_cs_silent=false
23464
 
SHELL=\${CONFIG_SHELL-$SHELL}
23465
 
_ACEOF
23466
 
 
23467
 
cat >>$CONFIG_STATUS <<\_ACEOF
23468
 
## --------------------- ##
23469
 
## M4sh Initialization.  ##
23470
 
## --------------------- ##
23471
 
 
23472
 
# Be Bourne compatible
23473
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23474
 
  emulate sh
23475
 
  NULLCMD=:
23476
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23477
 
  # is contrary to our usage.  Disable this feature.
23478
 
  alias -g '${1+"$@"}'='"$@"'
23479
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23480
 
  set -o posix
23481
 
fi
23482
 
DUALCASE=1; export DUALCASE # for MKS sh
23483
 
 
23484
 
# Support unset when possible.
23485
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
23486
 
  as_unset=unset
23487
 
else
23488
 
  as_unset=false
23489
 
fi
23490
 
 
23491
 
 
23492
 
# Work around bugs in pre-3.0 UWIN ksh.
23493
 
$as_unset ENV MAIL MAILPATH
23494
 
PS1='$ '
23495
 
PS2='> '
23496
 
PS4='+ '
23497
 
 
23498
 
# NLS nuisances.
23499
 
for as_var in \
23500
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23501
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23502
 
  LC_TELEPHONE LC_TIME
23503
 
do
23504
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23505
 
    eval $as_var=C; export $as_var
23506
 
  else
23507
 
    $as_unset $as_var
23508
 
  fi
23509
 
done
23510
 
 
23511
 
# Required to use basename.
23512
 
if expr a : '\(a\)' >/dev/null 2>&1; then
23513
 
  as_expr=expr
23514
 
else
23515
 
  as_expr=false
23516
 
fi
23517
 
 
23518
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
23519
 
  as_basename=basename
23520
 
else
23521
 
  as_basename=false
23522
 
fi
23523
 
 
23524
 
 
23525
 
# Name of the executable.
23526
 
as_me=`$as_basename "$0" ||
23527
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23528
 
         X"$0" : 'X\(//\)$' \| \
23529
 
         X"$0" : 'X\(/\)$' \| \
23530
 
         .     : '\(.\)' 2>/dev/null ||
23531
 
echo X/"$0" |
23532
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23533
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
23534
 
          /^X\/\(\/\).*/{ s//\1/; q; }
23535
 
          s/.*/./; q'`
23536
 
 
23537
 
 
23538
 
# PATH needs CR, and LINENO needs CR and PATH.
23539
 
# Avoid depending upon Character Ranges.
23540
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23541
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23542
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23543
 
as_cr_digits='0123456789'
23544
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
23545
 
 
23546
 
# The user is always right.
23547
 
if test "${PATH_SEPARATOR+set}" != set; then
23548
 
  echo "#! /bin/sh" >conf$$.sh
23549
 
  echo  "exit 0"   >>conf$$.sh
23550
 
  chmod +x conf$$.sh
23551
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23552
 
    PATH_SEPARATOR=';'
23553
 
  else
23554
 
    PATH_SEPARATOR=:
23555
 
  fi
23556
 
  rm -f conf$$.sh
23557
 
fi
23558
 
 
23559
 
 
23560
 
  as_lineno_1=$LINENO
23561
 
  as_lineno_2=$LINENO
23562
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23563
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
23564
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
23565
 
  # Find who we are.  Look in the path if we contain no path at all
23566
 
  # relative or not.
23567
 
  case $0 in
23568
 
    *[\\/]* ) as_myself=$0 ;;
23569
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23570
 
for as_dir in $PATH
23571
 
do
23572
 
  IFS=$as_save_IFS
23573
 
  test -z "$as_dir" && as_dir=.
23574
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23575
 
done
23576
 
 
23577
 
       ;;
23578
 
  esac
23579
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
23580
 
  # in which case we are not to be found in the path.
23581
 
  if test "x$as_myself" = x; then
23582
 
    as_myself=$0
23583
 
  fi
23584
 
  if test ! -f "$as_myself"; then
23585
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
23586
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
23587
 
   { (exit 1); exit 1; }; }
23588
 
  fi
23589
 
  case $CONFIG_SHELL in
23590
 
  '')
23591
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23592
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
23593
 
do
23594
 
  IFS=$as_save_IFS
23595
 
  test -z "$as_dir" && as_dir=.
23596
 
  for as_base in sh bash ksh sh5; do
23597
 
         case $as_dir in
23598
 
         /*)
23599
 
           if ("$as_dir/$as_base" -c '
23600
 
  as_lineno_1=$LINENO
23601
 
  as_lineno_2=$LINENO
23602
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23603
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
23604
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
23605
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23606
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23607
 
             CONFIG_SHELL=$as_dir/$as_base
23608
 
             export CONFIG_SHELL
23609
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23610
 
           fi;;
23611
 
         esac
23612
 
       done
23613
 
done
23614
 
;;
23615
 
  esac
23616
 
 
23617
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23618
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
23619
 
  # line-number line before each line; the second 'sed' does the real
23620
 
  # work.  The second script uses 'N' to pair each line-number line
23621
 
  # with the numbered line, and appends trailing '-' during
23622
 
  # substitution so that $LINENO is not a special case at line end.
23623
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23624
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
23625
 
  sed '=' <$as_myself |
23626
 
    sed '
23627
 
      N
23628
 
      s,$,-,
23629
 
      : loop
23630
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23631
 
      t loop
23632
 
      s,-$,,
23633
 
      s,^['$as_cr_digits']*\n,,
23634
 
    ' >$as_me.lineno &&
23635
 
  chmod +x $as_me.lineno ||
23636
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23637
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23638
 
   { (exit 1); exit 1; }; }
23639
 
 
23640
 
  # Don't try to exec as it changes $[0], causing all sort of problems
23641
 
  # (the dirname of $[0] is not the place where we might find the
23642
 
  # original and so on.  Autoconf is especially sensible to this).
23643
 
  . ./$as_me.lineno
23644
 
  # Exit status is that of the last command.
23645
 
  exit
23646
 
}
23647
 
 
23648
 
 
23649
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23650
 
  *c*,-n*) ECHO_N= ECHO_C='
23651
 
' ECHO_T='      ' ;;
23652
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23653
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
23654
 
esac
23655
 
 
23656
 
if expr a : '\(a\)' >/dev/null 2>&1; then
23657
 
  as_expr=expr
23658
 
else
23659
 
  as_expr=false
23660
 
fi
23661
 
 
23662
 
rm -f conf$$ conf$$.exe conf$$.file
23663
 
echo >conf$$.file
23664
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
23665
 
  # We could just check for DJGPP; but this test a) works b) is more generic
23666
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23667
 
  if test -f conf$$.exe; then
23668
 
    # Don't use ln at all; we don't have any links
23669
 
    as_ln_s='cp -p'
23670
 
  else
23671
 
    as_ln_s='ln -s'
23672
 
  fi
23673
 
elif ln conf$$.file conf$$ 2>/dev/null; then
23674
 
  as_ln_s=ln
23675
 
else
23676
 
  as_ln_s='cp -p'
23677
 
fi
23678
 
rm -f conf$$ conf$$.exe conf$$.file
23679
 
 
23680
 
if mkdir -p . 2>/dev/null; then
23681
 
  as_mkdir_p=:
23682
 
else
23683
 
  test -d ./-p && rmdir ./-p
23684
 
  as_mkdir_p=false
23685
 
fi
23686
 
 
23687
 
as_executable_p="test -f"
23688
 
 
23689
 
# Sed expression to map a string onto a valid CPP name.
23690
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23691
 
 
23692
 
# Sed expression to map a string onto a valid variable name.
23693
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23694
 
 
23695
 
 
23696
 
# IFS
23697
 
# We need space, tab and new line, in precisely that order.
23698
 
as_nl='
23699
 
'
23700
 
IFS="   $as_nl"
23701
 
 
23702
 
# CDPATH.
23703
 
$as_unset CDPATH
23704
 
 
23705
 
exec 6>&1
23706
 
 
23707
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
23708
 
# report actual input values of CONFIG_FILES etc. instead of their
23709
 
# values after options handling.  Logging --version etc. is OK.
23710
 
exec 5>>config.log
23711
 
{
23712
 
  echo
23713
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23714
 
## Running $as_me. ##
23715
 
_ASBOX
23716
 
} >&5
23717
 
cat >&5 <<_CSEOF
23718
 
 
23719
 
This file was extended by crypto++ $as_me 5.2, which was
23720
 
generated by GNU Autoconf 2.59.  Invocation command line was
23721
 
 
23722
 
  CONFIG_FILES    = $CONFIG_FILES
23723
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
23724
 
  CONFIG_LINKS    = $CONFIG_LINKS
23725
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
23726
 
  $ $0 $@
23727
 
 
23728
 
_CSEOF
23729
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23730
 
echo >&5
23731
 
_ACEOF
23732
 
 
23733
 
# Files that config.status was made for.
23734
 
if test -n "$ac_config_files"; then
23735
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23736
 
fi
23737
 
 
23738
 
if test -n "$ac_config_headers"; then
23739
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23740
 
fi
23741
 
 
23742
 
if test -n "$ac_config_links"; then
23743
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23744
 
fi
23745
 
 
23746
 
if test -n "$ac_config_commands"; then
23747
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23748
 
fi
23749
 
 
23750
 
cat >>$CONFIG_STATUS <<\_ACEOF
23751
 
 
23752
 
ac_cs_usage="\
23753
 
\`$as_me' instantiates files from templates according to the
23754
 
current configuration.
23755
 
 
23756
 
Usage: $0 [OPTIONS] [FILE]...
23757
 
 
23758
 
  -h, --help       print this help, then exit
23759
 
  -V, --version    print version number, then exit
23760
 
  -q, --quiet      do not print progress messages
23761
 
  -d, --debug      don't remove temporary files
23762
 
      --recheck    update $as_me by reconfiguring in the same conditions
23763
 
  --file=FILE[:TEMPLATE]
23764
 
                   instantiate the configuration file FILE
23765
 
  --header=FILE[:TEMPLATE]
23766
 
                   instantiate the configuration header FILE
23767
 
 
23768
 
Configuration files:
23769
 
$config_files
23770
 
 
23771
 
Configuration headers:
23772
 
$config_headers
23773
 
 
23774
 
Configuration commands:
23775
 
$config_commands
23776
 
 
23777
 
Report bugs to <bug-autoconf@gnu.org>."
23778
 
_ACEOF
23779
 
 
23780
 
cat >>$CONFIG_STATUS <<_ACEOF
23781
 
ac_cs_version="\\
23782
 
crypto++ config.status 5.2
23783
 
configured by $0, generated by GNU Autoconf 2.59,
23784
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23785
 
 
23786
 
Copyright (C) 2003 Free Software Foundation, Inc.
23787
 
This config.status script is free software; the Free Software Foundation
23788
 
gives unlimited permission to copy, distribute and modify it."
23789
 
srcdir=$srcdir
23790
 
INSTALL="$INSTALL"
23791
 
_ACEOF
23792
 
 
23793
 
cat >>$CONFIG_STATUS <<\_ACEOF
23794
 
# If no file are specified by the user, then we need to provide default
23795
 
# value.  By we need to know if files were specified by the user.
23796
 
ac_need_defaults=:
23797
 
while test $# != 0
23798
 
do
23799
 
  case $1 in
23800
 
  --*=*)
23801
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
23802
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23803
 
    ac_shift=:
23804
 
    ;;
23805
 
  -*)
23806
 
    ac_option=$1
23807
 
    ac_optarg=$2
23808
 
    ac_shift=shift
23809
 
    ;;
23810
 
  *) # This is not an option, so the user has probably given explicit
23811
 
     # arguments.
23812
 
     ac_option=$1
23813
 
     ac_need_defaults=false;;
23814
 
  esac
23815
 
 
23816
 
  case $ac_option in
23817
 
  # Handling of the options.
23818
 
_ACEOF
23819
 
cat >>$CONFIG_STATUS <<\_ACEOF
23820
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23821
 
    ac_cs_recheck=: ;;
23822
 
  --version | --vers* | -V )
23823
 
    echo "$ac_cs_version"; exit 0 ;;
23824
 
  --he | --h)
23825
 
    # Conflict between --help and --header
23826
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
23827
 
Try \`$0 --help' for more information." >&5
23828
 
echo "$as_me: error: ambiguous option: $1
23829
 
Try \`$0 --help' for more information." >&2;}
23830
 
   { (exit 1); exit 1; }; };;
23831
 
  --help | --hel | -h )
23832
 
    echo "$ac_cs_usage"; exit 0 ;;
23833
 
  --debug | --d* | -d )
23834
 
    debug=: ;;
23835
 
  --file | --fil | --fi | --f )
23836
 
    $ac_shift
23837
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23838
 
    ac_need_defaults=false;;
23839
 
  --header | --heade | --head | --hea )
23840
 
    $ac_shift
23841
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23842
 
    ac_need_defaults=false;;
23843
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23844
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
23845
 
    ac_cs_silent=: ;;
23846
 
 
23847
 
  # This is an error.
23848
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23849
 
Try \`$0 --help' for more information." >&5
23850
 
echo "$as_me: error: unrecognized option: $1
23851
 
Try \`$0 --help' for more information." >&2;}
23852
 
   { (exit 1); exit 1; }; } ;;
23853
 
 
23854
 
  *) ac_config_targets="$ac_config_targets $1" ;;
23855
 
 
23856
 
  esac
23857
 
  shift
23858
 
done
23859
 
 
23860
 
ac_configure_extra_args=
23861
 
 
23862
 
if $ac_cs_silent; then
23863
 
  exec 6>/dev/null
23864
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
23865
 
fi
23866
 
 
23867
 
_ACEOF
23868
 
cat >>$CONFIG_STATUS <<_ACEOF
23869
 
if \$ac_cs_recheck; then
23870
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23871
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23872
 
fi
23873
 
 
23874
 
_ACEOF
23875
 
 
23876
 
cat >>$CONFIG_STATUS <<_ACEOF
23877
 
#
23878
 
# INIT-COMMANDS section.
23879
 
#
23880
 
 
23881
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23882
 
 
23883
 
_ACEOF
23884
 
 
23885
 
 
23886
 
 
23887
 
cat >>$CONFIG_STATUS <<\_ACEOF
23888
 
for ac_config_target in $ac_config_targets
23889
 
do
23890
 
  case "$ac_config_target" in
23891
 
  # Handling of arguments.
23892
 
  "GNUmakefile" ) CONFIG_FILES="$CONFIG_FILES GNUmakefile" ;;
23893
 
  "html/Makefile" ) CONFIG_FILES="$CONFIG_FILES html/Makefile" ;;
23894
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
23895
 
  "cryptopp_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS cryptopp_config.h" ;;
23896
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23897
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23898
 
   { (exit 1); exit 1; }; };;
23899
 
  esac
23900
 
done
23901
 
 
23902
 
# If the user did not use the arguments to specify the items to instantiate,
23903
 
# then the envvar interface is used.  Set only those that are not.
23904
 
# We use the long form for the default assignment because of an extremely
23905
 
# bizarre bug on SunOS 4.1.3.
23906
 
if $ac_need_defaults; then
23907
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23908
 
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23909
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23910
 
fi
23911
 
 
23912
 
# Have a temporary directory for convenience.  Make it in the build tree
23913
 
# simply because there is no reason to put it here, and in addition,
23914
 
# creating and moving files from /tmp can sometimes cause problems.
23915
 
# Create a temporary directory, and hook for its removal unless debugging.
23916
 
$debug ||
23917
 
{
23918
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23919
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
23920
 
}
23921
 
 
23922
 
# Create a (secure) tmp directory for tmp files.
23923
 
 
23924
 
{
23925
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23926
 
  test -n "$tmp" && test -d "$tmp"
23927
 
}  ||
23928
 
{
23929
 
  tmp=./confstat$$-$RANDOM
23930
 
  (umask 077 && mkdir $tmp)
23931
 
} ||
23932
 
{
23933
 
   echo "$me: cannot create a temporary directory in ." >&2
23934
 
   { (exit 1); exit 1; }
23935
 
}
23936
 
 
23937
 
_ACEOF
23938
 
 
23939
 
cat >>$CONFIG_STATUS <<_ACEOF
23940
 
 
23941
 
#
23942
 
# CONFIG_FILES section.
23943
 
#
23944
 
 
23945
 
# No need to generate the scripts if there are no CONFIG_FILES.
23946
 
# This happens for instance when ./config.status config.h
23947
 
if test -n "\$CONFIG_FILES"; then
23948
 
  # Protect against being on the right side of a sed subst in config.status.
23949
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23950
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23951
 
s,@SHELL@,$SHELL,;t t
23952
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23953
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23954
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23955
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23956
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23957
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23958
 
s,@exec_prefix@,$exec_prefix,;t t
23959
 
s,@prefix@,$prefix,;t t
23960
 
s,@program_transform_name@,$program_transform_name,;t t
23961
 
s,@bindir@,$bindir,;t t
23962
 
s,@sbindir@,$sbindir,;t t
23963
 
s,@libexecdir@,$libexecdir,;t t
23964
 
s,@datadir@,$datadir,;t t
23965
 
s,@sysconfdir@,$sysconfdir,;t t
23966
 
s,@sharedstatedir@,$sharedstatedir,;t t
23967
 
s,@localstatedir@,$localstatedir,;t t
23968
 
s,@libdir@,$libdir,;t t
23969
 
s,@includedir@,$includedir,;t t
23970
 
s,@oldincludedir@,$oldincludedir,;t t
23971
 
s,@infodir@,$infodir,;t t
23972
 
s,@mandir@,$mandir,;t t
23973
 
s,@build_alias@,$build_alias,;t t
23974
 
s,@host_alias@,$host_alias,;t t
23975
 
s,@target_alias@,$target_alias,;t t
23976
 
s,@DEFS@,$DEFS,;t t
23977
 
s,@ECHO_C@,$ECHO_C,;t t
23978
 
s,@ECHO_N@,$ECHO_N,;t t
23979
 
s,@ECHO_T@,$ECHO_T,;t t
23980
 
s,@LIBS@,$LIBS,;t t
23981
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23982
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23983
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23984
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
23985
 
s,@PACKAGE@,$PACKAGE,;t t
23986
 
s,@VERSION@,$VERSION,;t t
23987
 
s,@ACLOCAL@,$ACLOCAL,;t t
23988
 
s,@AUTOCONF@,$AUTOCONF,;t t
23989
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
23990
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
23991
 
s,@MAKEINFO@,$MAKEINFO,;t t
23992
 
s,@AMTAR@,$AMTAR,;t t
23993
 
s,@install_sh@,$install_sh,;t t
23994
 
s,@STRIP@,$STRIP,;t t
23995
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23996
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
23997
 
s,@AWK@,$AWK,;t t
23998
 
s,@SET_MAKE@,$SET_MAKE,;t t
23999
 
s,@am__leading_dot@,$am__leading_dot,;t t
24000
 
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
24001
 
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
24002
 
s,@MAINT@,$MAINT,;t t
24003
 
s,@CC@,$CC,;t t
24004
 
s,@CFLAGS@,$CFLAGS,;t t
24005
 
s,@LDFLAGS@,$LDFLAGS,;t t
24006
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
24007
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
24008
 
s,@EXEEXT@,$EXEEXT,;t t
24009
 
s,@OBJEXT@,$OBJEXT,;t t
24010
 
s,@DEPDIR@,$DEPDIR,;t t
24011
 
s,@am__include@,$am__include,;t t
24012
 
s,@am__quote@,$am__quote,;t t
24013
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
24014
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
24015
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
24016
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
24017
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
24018
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
24019
 
s,@CPP@,$CPP,;t t
24020
 
s,@EGREP@,$EGREP,;t t
24021
 
s,@LIBOBJS@,$LIBOBJS,;t t
24022
 
s,@RANLIB@,$RANLIB,;t t
24023
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
24024
 
s,@CXX@,$CXX,;t t
24025
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
24026
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
24027
 
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
24028
 
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
24029
 
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
24030
 
s,@build@,$build,;t t
24031
 
s,@build_cpu@,$build_cpu,;t t
24032
 
s,@build_vendor@,$build_vendor,;t t
24033
 
s,@build_os@,$build_os,;t t
24034
 
s,@host@,$host,;t t
24035
 
s,@host_cpu@,$host_cpu,;t t
24036
 
s,@host_vendor@,$host_vendor,;t t
24037
 
s,@host_os@,$host_os,;t t
24038
 
s,@LN_S@,$LN_S,;t t
24039
 
s,@ECHO@,$ECHO,;t t
24040
 
s,@AR@,$AR,;t t
24041
 
s,@ac_ct_AR@,$ac_ct_AR,;t t
24042
 
s,@CXXCPP@,$CXXCPP,;t t
24043
 
s,@F77@,$F77,;t t
24044
 
s,@FFLAGS@,$FFLAGS,;t t
24045
 
s,@ac_ct_F77@,$ac_ct_F77,;t t
24046
 
s,@LIBTOOL@,$LIBTOOL,;t t
24047
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
24048
 
CEOF
24049
 
 
24050
 
_ACEOF
24051
 
 
24052
 
  cat >>$CONFIG_STATUS <<\_ACEOF
24053
 
  # Split the substitutions into bite-sized pieces for seds with
24054
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
24055
 
  ac_max_sed_lines=48
24056
 
  ac_sed_frag=1 # Number of current file.
24057
 
  ac_beg=1 # First line for current file.
24058
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
24059
 
  ac_more_lines=:
24060
 
  ac_sed_cmds=
24061
 
  while $ac_more_lines; do
24062
 
    if test $ac_beg -gt 1; then
24063
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
24064
 
    else
24065
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
24066
 
    fi
24067
 
    if test ! -s $tmp/subs.frag; then
24068
 
      ac_more_lines=false
24069
 
    else
24070
 
      # The purpose of the label and of the branching condition is to
24071
 
      # speed up the sed processing (if there are no `@' at all, there
24072
 
      # is no need to browse any of the substitutions).
24073
 
      # These are the two extra sed commands mentioned above.
24074
 
      (echo ':t
24075
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
24076
 
      if test -z "$ac_sed_cmds"; then
24077
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
24078
 
      else
24079
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
24080
 
      fi
24081
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
24082
 
      ac_beg=$ac_end
24083
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
24084
 
    fi
24085
 
  done
24086
 
  if test -z "$ac_sed_cmds"; then
24087
 
    ac_sed_cmds=cat
24088
 
  fi
24089
 
fi # test -n "$CONFIG_FILES"
24090
 
 
24091
 
_ACEOF
24092
 
cat >>$CONFIG_STATUS <<\_ACEOF
24093
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
24094
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24095
 
  case $ac_file in
24096
 
  - | *:- | *:-:* ) # input from stdin
24097
 
        cat >$tmp/stdin
24098
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24099
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24100
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24101
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24102
 
  * )   ac_file_in=$ac_file.in ;;
24103
 
  esac
24104
 
 
24105
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
24106
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24107
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24108
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
24109
 
         X"$ac_file" : 'X\(//\)$' \| \
24110
 
         X"$ac_file" : 'X\(/\)' \| \
24111
 
         .     : '\(.\)' 2>/dev/null ||
24112
 
echo X"$ac_file" |
24113
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24114
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24115
 
          /^X\(\/\/\)$/{ s//\1/; q; }
24116
 
          /^X\(\/\).*/{ s//\1/; q; }
24117
 
          s/.*/./; q'`
24118
 
  { if $as_mkdir_p; then
24119
 
    mkdir -p "$ac_dir"
24120
 
  else
24121
 
    as_dir="$ac_dir"
24122
 
    as_dirs=
24123
 
    while test ! -d "$as_dir"; do
24124
 
      as_dirs="$as_dir $as_dirs"
24125
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
24126
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24127
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
24128
 
         X"$as_dir" : 'X\(//\)$' \| \
24129
 
         X"$as_dir" : 'X\(/\)' \| \
24130
 
         .     : '\(.\)' 2>/dev/null ||
24131
 
echo X"$as_dir" |
24132
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24133
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24134
 
          /^X\(\/\/\)$/{ s//\1/; q; }
24135
 
          /^X\(\/\).*/{ s//\1/; q; }
24136
 
          s/.*/./; q'`
24137
 
    done
24138
 
    test ! -n "$as_dirs" || mkdir $as_dirs
24139
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24140
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24141
 
   { (exit 1); exit 1; }; }; }
24142
 
 
24143
 
  ac_builddir=.
24144
 
 
24145
 
if test "$ac_dir" != .; then
24146
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24147
 
  # A "../" for each directory in $ac_dir_suffix.
24148
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24149
 
else
24150
 
  ac_dir_suffix= ac_top_builddir=
24151
 
fi
24152
 
 
24153
 
case $srcdir in
24154
 
  .)  # No --srcdir option.  We are building in place.
24155
 
    ac_srcdir=.
24156
 
    if test -z "$ac_top_builddir"; then
24157
 
       ac_top_srcdir=.
24158
 
    else
24159
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24160
 
    fi ;;
24161
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
24162
 
    ac_srcdir=$srcdir$ac_dir_suffix;
24163
 
    ac_top_srcdir=$srcdir ;;
24164
 
  *) # Relative path.
24165
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24166
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
24167
 
esac
24168
 
 
24169
 
# Do not use `cd foo && pwd` to compute absolute paths, because
24170
 
# the directories may not exist.
24171
 
case `pwd` in
24172
 
.) ac_abs_builddir="$ac_dir";;
24173
 
*)
24174
 
  case "$ac_dir" in
24175
 
  .) ac_abs_builddir=`pwd`;;
24176
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
24177
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
24178
 
  esac;;
24179
 
esac
24180
 
case $ac_abs_builddir in
24181
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
24182
 
*)
24183
 
  case ${ac_top_builddir}. in
24184
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
24185
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
24186
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
24187
 
  esac;;
24188
 
esac
24189
 
case $ac_abs_builddir in
24190
 
.) ac_abs_srcdir=$ac_srcdir;;
24191
 
*)
24192
 
  case $ac_srcdir in
24193
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
24194
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
24195
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
24196
 
  esac;;
24197
 
esac
24198
 
case $ac_abs_builddir in
24199
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
24200
 
*)
24201
 
  case $ac_top_srcdir in
24202
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
24203
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
24204
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
24205
 
  esac;;
24206
 
esac
24207
 
 
24208
 
 
24209
 
  case $INSTALL in
24210
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24211
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
24212
 
  esac
24213
 
 
24214
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
24215
 
  # use $as_me), people would be surprised to read:
24216
 
  #    /* config.h.  Generated by config.status.  */
24217
 
  if test x"$ac_file" = x-; then
24218
 
    configure_input=
24219
 
  else
24220
 
    configure_input="$ac_file.  "
24221
 
  fi
24222
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
24223
 
                                     sed 's,.*/,,'` by configure."
24224
 
 
24225
 
  # First look for the input files in the build tree, otherwise in the
24226
 
  # src tree.
24227
 
  ac_file_inputs=`IFS=:
24228
 
    for f in $ac_file_in; do
24229
 
      case $f in
24230
 
      -) echo $tmp/stdin ;;
24231
 
      [\\/$]*)
24232
 
         # Absolute (can't be DOS-style, as IFS=:)
24233
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24234
 
echo "$as_me: error: cannot find input file: $f" >&2;}
24235
 
   { (exit 1); exit 1; }; }
24236
 
         echo "$f";;
24237
 
      *) # Relative
24238
 
         if test -f "$f"; then
24239
 
           # Build tree
24240
 
           echo "$f"
24241
 
         elif test -f "$srcdir/$f"; then
24242
 
           # Source tree
24243
 
           echo "$srcdir/$f"
24244
 
         else
24245
 
           # /dev/null tree
24246
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24247
 
echo "$as_me: error: cannot find input file: $f" >&2;}
24248
 
   { (exit 1); exit 1; }; }
24249
 
         fi;;
24250
 
      esac
24251
 
    done` || { (exit 1); exit 1; }
24252
 
 
24253
 
  if test x"$ac_file" != x-; then
24254
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
24255
 
echo "$as_me: creating $ac_file" >&6;}
24256
 
    rm -f "$ac_file"
24257
 
  fi
24258
 
_ACEOF
24259
 
cat >>$CONFIG_STATUS <<_ACEOF
24260
 
  sed "$ac_vpsub
24261
 
$extrasub
24262
 
_ACEOF
24263
 
cat >>$CONFIG_STATUS <<\_ACEOF
24264
 
:t
24265
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24266
 
s,@configure_input@,$configure_input,;t t
24267
 
s,@srcdir@,$ac_srcdir,;t t
24268
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
24269
 
s,@top_srcdir@,$ac_top_srcdir,;t t
24270
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
24271
 
s,@builddir@,$ac_builddir,;t t
24272
 
s,@abs_builddir@,$ac_abs_builddir,;t t
24273
 
s,@top_builddir@,$ac_top_builddir,;t t
24274
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
24275
 
s,@INSTALL@,$ac_INSTALL,;t t
24276
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24277
 
  rm -f $tmp/stdin
24278
 
  if test x"$ac_file" != x-; then
24279
 
    mv $tmp/out $ac_file
24280
 
  else
24281
 
    cat $tmp/out
24282
 
    rm -f $tmp/out
24283
 
  fi
24284
 
 
24285
 
done
24286
 
_ACEOF
24287
 
cat >>$CONFIG_STATUS <<\_ACEOF
24288
 
 
24289
 
#
24290
 
# CONFIG_HEADER section.
24291
 
#
24292
 
 
24293
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24294
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
24295
 
#
24296
 
# ac_d sets the value in "#define NAME VALUE" lines.
24297
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
24298
 
ac_dB='[         ].*$,\1#\2'
24299
 
ac_dC=' '
24300
 
ac_dD=',;t'
24301
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24302
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
24303
 
ac_uB='$,\1#\2define\3'
24304
 
ac_uC=' '
24305
 
ac_uD=',;t'
24306
 
 
24307
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24308
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24309
 
  case $ac_file in
24310
 
  - | *:- | *:-:* ) # input from stdin
24311
 
        cat >$tmp/stdin
24312
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24313
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24314
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24315
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24316
 
  * )   ac_file_in=$ac_file.in ;;
24317
 
  esac
24318
 
 
24319
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24320
 
echo "$as_me: creating $ac_file" >&6;}
24321
 
 
24322
 
  # First look for the input files in the build tree, otherwise in the
24323
 
  # src tree.
24324
 
  ac_file_inputs=`IFS=:
24325
 
    for f in $ac_file_in; do
24326
 
      case $f in
24327
 
      -) echo $tmp/stdin ;;
24328
 
      [\\/$]*)
24329
 
         # Absolute (can't be DOS-style, as IFS=:)
24330
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24331
 
echo "$as_me: error: cannot find input file: $f" >&2;}
24332
 
   { (exit 1); exit 1; }; }
24333
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
24334
 
         echo "$f";;
24335
 
      *) # Relative
24336
 
         if test -f "$f"; then
24337
 
           # Build tree
24338
 
           echo "$f"
24339
 
         elif test -f "$srcdir/$f"; then
24340
 
           # Source tree
24341
 
           echo "$srcdir/$f"
24342
 
         else
24343
 
           # /dev/null tree
24344
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24345
 
echo "$as_me: error: cannot find input file: $f" >&2;}
24346
 
   { (exit 1); exit 1; }; }
24347
 
         fi;;
24348
 
      esac
24349
 
    done` || { (exit 1); exit 1; }
24350
 
  # Remove the trailing spaces.
24351
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
24352
 
 
24353
 
_ACEOF
24354
 
 
24355
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
24356
 
# `conftest.undefs', that substitutes the proper values into
24357
 
# config.h.in to produce config.h.  The first handles `#define'
24358
 
# templates, and the second `#undef' templates.
24359
 
# And first: Protect against being on the right side of a sed subst in
24360
 
# config.status.  Protect against being in an unquoted here document
24361
 
# in config.status.
24362
 
rm -f conftest.defines conftest.undefs
24363
 
# Using a here document instead of a string reduces the quoting nightmare.
24364
 
# Putting comments in sed scripts is not portable.
24365
 
#
24366
 
# `end' is used to avoid that the second main sed command (meant for
24367
 
# 0-ary CPP macros) applies to n-ary macro definitions.
24368
 
# See the Autoconf documentation for `clear'.
24369
 
cat >confdef2sed.sed <<\_ACEOF
24370
 
s/[\\&,]/\\&/g
24371
 
s,[\\$`],\\&,g
24372
 
t clear
24373
 
: clear
24374
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24375
 
t end
24376
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24377
 
: end
24378
 
_ACEOF
24379
 
# If some macros were called several times there might be several times
24380
 
# the same #defines, which is useless.  Nevertheless, we may not want to
24381
 
# sort them, since we want the *last* AC-DEFINE to be honored.
24382
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24383
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24384
 
rm -f confdef2sed.sed
24385
 
 
24386
 
# This sed command replaces #undef with comments.  This is necessary, for
24387
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
24388
 
# on some systems where configure will not decide to define it.
24389
 
cat >>conftest.undefs <<\_ACEOF
24390
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24391
 
_ACEOF
24392
 
 
24393
 
# Break up conftest.defines because some shells have a limit on the size
24394
 
# of here documents, and old seds have small limits too (100 cmds).
24395
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24396
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24397
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24398
 
echo '  :' >>$CONFIG_STATUS
24399
 
rm -f conftest.tail
24400
 
while grep . conftest.defines >/dev/null
24401
 
do
24402
 
  # Write a limited-size here document to $tmp/defines.sed.
24403
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24404
 
  # Speed up: don't consider the non `#define' lines.
24405
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
24406
 
  # Work around the forget-to-reset-the-flag bug.
24407
 
  echo 't clr' >>$CONFIG_STATUS
24408
 
  echo ': clr' >>$CONFIG_STATUS
24409
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24410
 
  echo 'CEOF
24411
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
24412
 
  rm -f $tmp/in
24413
 
  mv $tmp/out $tmp/in
24414
 
' >>$CONFIG_STATUS
24415
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24416
 
  rm -f conftest.defines
24417
 
  mv conftest.tail conftest.defines
24418
 
done
24419
 
rm -f conftest.defines
24420
 
echo '  fi # grep' >>$CONFIG_STATUS
24421
 
echo >>$CONFIG_STATUS
24422
 
 
24423
 
# Break up conftest.undefs because some shells have a limit on the size
24424
 
# of here documents, and old seds have small limits too (100 cmds).
24425
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
24426
 
rm -f conftest.tail
24427
 
while grep . conftest.undefs >/dev/null
24428
 
do
24429
 
  # Write a limited-size here document to $tmp/undefs.sed.
24430
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24431
 
  # Speed up: don't consider the non `#undef'
24432
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
24433
 
  # Work around the forget-to-reset-the-flag bug.
24434
 
  echo 't clr' >>$CONFIG_STATUS
24435
 
  echo ': clr' >>$CONFIG_STATUS
24436
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24437
 
  echo 'CEOF
24438
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24439
 
  rm -f $tmp/in
24440
 
  mv $tmp/out $tmp/in
24441
 
' >>$CONFIG_STATUS
24442
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24443
 
  rm -f conftest.undefs
24444
 
  mv conftest.tail conftest.undefs
24445
 
done
24446
 
rm -f conftest.undefs
24447
 
 
24448
 
cat >>$CONFIG_STATUS <<\_ACEOF
24449
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
24450
 
  # use $as_me), people would be surprised to read:
24451
 
  #    /* config.h.  Generated by config.status.  */
24452
 
  if test x"$ac_file" = x-; then
24453
 
    echo "/* Generated by configure.  */" >$tmp/config.h
24454
 
  else
24455
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
24456
 
  fi
24457
 
  cat $tmp/in >>$tmp/config.h
24458
 
  rm -f $tmp/in
24459
 
  if test x"$ac_file" != x-; then
24460
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24461
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24462
 
echo "$as_me: $ac_file is unchanged" >&6;}
24463
 
    else
24464
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24465
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24466
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
24467
 
         X"$ac_file" : 'X\(//\)$' \| \
24468
 
         X"$ac_file" : 'X\(/\)' \| \
24469
 
         .     : '\(.\)' 2>/dev/null ||
24470
 
echo X"$ac_file" |
24471
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24472
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24473
 
          /^X\(\/\/\)$/{ s//\1/; q; }
24474
 
          /^X\(\/\).*/{ s//\1/; q; }
24475
 
          s/.*/./; q'`
24476
 
      { if $as_mkdir_p; then
24477
 
    mkdir -p "$ac_dir"
24478
 
  else
24479
 
    as_dir="$ac_dir"
24480
 
    as_dirs=
24481
 
    while test ! -d "$as_dir"; do
24482
 
      as_dirs="$as_dir $as_dirs"
24483
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
24484
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24485
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
24486
 
         X"$as_dir" : 'X\(//\)$' \| \
24487
 
         X"$as_dir" : 'X\(/\)' \| \
24488
 
         .     : '\(.\)' 2>/dev/null ||
24489
 
echo X"$as_dir" |
24490
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24491
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24492
 
          /^X\(\/\/\)$/{ s//\1/; q; }
24493
 
          /^X\(\/\).*/{ s//\1/; q; }
24494
 
          s/.*/./; q'`
24495
 
    done
24496
 
    test ! -n "$as_dirs" || mkdir $as_dirs
24497
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24498
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24499
 
   { (exit 1); exit 1; }; }; }
24500
 
 
24501
 
      rm -f $ac_file
24502
 
      mv $tmp/config.h $ac_file
24503
 
    fi
24504
 
  else
24505
 
    cat $tmp/config.h
24506
 
    rm -f $tmp/config.h
24507
 
  fi
24508
 
# Compute $ac_file's index in $config_headers.
24509
 
_am_stamp_count=1
24510
 
for _am_header in $config_headers :; do
24511
 
  case $_am_header in
24512
 
    $ac_file | $ac_file:* )
24513
 
      break ;;
24514
 
    * )
24515
 
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
24516
 
  esac
24517
 
done
24518
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
24519
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24520
 
         X$ac_file : 'X\(//\)[^/]' \| \
24521
 
         X$ac_file : 'X\(//\)$' \| \
24522
 
         X$ac_file : 'X\(/\)' \| \
24523
 
         .     : '\(.\)' 2>/dev/null ||
24524
 
echo X$ac_file |
24525
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24526
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24527
 
          /^X\(\/\/\)$/{ s//\1/; q; }
24528
 
          /^X\(\/\).*/{ s//\1/; q; }
24529
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
24530
 
done
24531
 
_ACEOF
24532
 
cat >>$CONFIG_STATUS <<\_ACEOF
24533
 
 
24534
 
#
24535
 
# CONFIG_COMMANDS section.
24536
 
#
24537
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24538
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24539
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24540
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24541
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24542
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
24543
 
         X"$ac_dest" : 'X\(//\)$' \| \
24544
 
         X"$ac_dest" : 'X\(/\)' \| \
24545
 
         .     : '\(.\)' 2>/dev/null ||
24546
 
echo X"$ac_dest" |
24547
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24548
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24549
 
          /^X\(\/\/\)$/{ s//\1/; q; }
24550
 
          /^X\(\/\).*/{ s//\1/; q; }
24551
 
          s/.*/./; q'`
24552
 
  { if $as_mkdir_p; then
24553
 
    mkdir -p "$ac_dir"
24554
 
  else
24555
 
    as_dir="$ac_dir"
24556
 
    as_dirs=
24557
 
    while test ! -d "$as_dir"; do
24558
 
      as_dirs="$as_dir $as_dirs"
24559
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
24560
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24561
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
24562
 
         X"$as_dir" : 'X\(//\)$' \| \
24563
 
         X"$as_dir" : 'X\(/\)' \| \
24564
 
         .     : '\(.\)' 2>/dev/null ||
24565
 
echo X"$as_dir" |
24566
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24567
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24568
 
          /^X\(\/\/\)$/{ s//\1/; q; }
24569
 
          /^X\(\/\).*/{ s//\1/; q; }
24570
 
          s/.*/./; q'`
24571
 
    done
24572
 
    test ! -n "$as_dirs" || mkdir $as_dirs
24573
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24574
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24575
 
   { (exit 1); exit 1; }; }; }
24576
 
 
24577
 
  ac_builddir=.
24578
 
 
24579
 
if test "$ac_dir" != .; then
24580
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24581
 
  # A "../" for each directory in $ac_dir_suffix.
24582
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24583
 
else
24584
 
  ac_dir_suffix= ac_top_builddir=
24585
 
fi
24586
 
 
24587
 
case $srcdir in
24588
 
  .)  # No --srcdir option.  We are building in place.
24589
 
    ac_srcdir=.
24590
 
    if test -z "$ac_top_builddir"; then
24591
 
       ac_top_srcdir=.
24592
 
    else
24593
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24594
 
    fi ;;
24595
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
24596
 
    ac_srcdir=$srcdir$ac_dir_suffix;
24597
 
    ac_top_srcdir=$srcdir ;;
24598
 
  *) # Relative path.
24599
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24600
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
24601
 
esac
24602
 
 
24603
 
# Do not use `cd foo && pwd` to compute absolute paths, because
24604
 
# the directories may not exist.
24605
 
case `pwd` in
24606
 
.) ac_abs_builddir="$ac_dir";;
24607
 
*)
24608
 
  case "$ac_dir" in
24609
 
  .) ac_abs_builddir=`pwd`;;
24610
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
24611
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
24612
 
  esac;;
24613
 
esac
24614
 
case $ac_abs_builddir in
24615
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
24616
 
*)
24617
 
  case ${ac_top_builddir}. in
24618
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
24619
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
24620
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
24621
 
  esac;;
24622
 
esac
24623
 
case $ac_abs_builddir in
24624
 
.) ac_abs_srcdir=$ac_srcdir;;
24625
 
*)
24626
 
  case $ac_srcdir in
24627
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
24628
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
24629
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
24630
 
  esac;;
24631
 
esac
24632
 
case $ac_abs_builddir in
24633
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
24634
 
*)
24635
 
  case $ac_top_srcdir in
24636
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
24637
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
24638
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
24639
 
  esac;;
24640
 
esac
24641
 
 
24642
 
 
24643
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24644
 
echo "$as_me: executing $ac_dest commands" >&6;}
24645
 
  case $ac_dest in
24646
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
24647
 
  # Strip MF so we end up with the name of the file.
24648
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
24649
 
  # Check whether this is an Automake generated Makefile or not.
24650
 
  # We used to match only the files named `Makefile.in', but
24651
 
  # some people rename them; so instead we look at the file content.
24652
 
  # Grep'ing the first line is not enough: some people post-process
24653
 
  # each Makefile.in and add a new line on top of each file to say so.
24654
 
  # So let's grep whole file.
24655
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
24656
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
24657
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24658
 
         X"$mf" : 'X\(//\)[^/]' \| \
24659
 
         X"$mf" : 'X\(//\)$' \| \
24660
 
         X"$mf" : 'X\(/\)' \| \
24661
 
         .     : '\(.\)' 2>/dev/null ||
24662
 
echo X"$mf" |
24663
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24664
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24665
 
          /^X\(\/\/\)$/{ s//\1/; q; }
24666
 
          /^X\(\/\).*/{ s//\1/; q; }
24667
 
          s/.*/./; q'`
24668
 
  else
24669
 
    continue
24670
 
  fi
24671
 
  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
24672
 
  # Extract the definition of DEP_FILES from the Makefile without
24673
 
  # running `make'.
24674
 
  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
24675
 
  test -z "$DEPDIR" && continue
24676
 
  # When using ansi2knr, U may be empty or an underscore; expand it
24677
 
  U=`sed -n -e '/^U = / s///p' < "$mf"`
24678
 
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
24679
 
  # We invoke sed twice because it is the simplest approach to
24680
 
  # changing $(DEPDIR) to its actual value in the expansion.
24681
 
  for file in `sed -n -e '
24682
 
    /^DEP_FILES = .*\\\\$/ {
24683
 
      s/^DEP_FILES = //
24684
 
      :loop
24685
 
        s/\\\\$//
24686
 
        p
24687
 
        n
24688
 
        /\\\\$/ b loop
24689
 
      p
24690
 
    }
24691
 
    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
24692
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
24693
 
    # Make sure the directory exists.
24694
 
    test -f "$dirpart/$file" && continue
24695
 
    fdir=`(dirname "$file") 2>/dev/null ||
24696
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24697
 
         X"$file" : 'X\(//\)[^/]' \| \
24698
 
         X"$file" : 'X\(//\)$' \| \
24699
 
         X"$file" : 'X\(/\)' \| \
24700
 
         .     : '\(.\)' 2>/dev/null ||
24701
 
echo X"$file" |
24702
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24703
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24704
 
          /^X\(\/\/\)$/{ s//\1/; q; }
24705
 
          /^X\(\/\).*/{ s//\1/; q; }
24706
 
          s/.*/./; q'`
24707
 
    { if $as_mkdir_p; then
24708
 
    mkdir -p $dirpart/$fdir
24709
 
  else
24710
 
    as_dir=$dirpart/$fdir
24711
 
    as_dirs=
24712
 
    while test ! -d "$as_dir"; do
24713
 
      as_dirs="$as_dir $as_dirs"
24714
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
24715
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24716
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
24717
 
         X"$as_dir" : 'X\(//\)$' \| \
24718
 
         X"$as_dir" : 'X\(/\)' \| \
24719
 
         .     : '\(.\)' 2>/dev/null ||
24720
 
echo X"$as_dir" |
24721
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24722
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24723
 
          /^X\(\/\/\)$/{ s//\1/; q; }
24724
 
          /^X\(\/\).*/{ s//\1/; q; }
24725
 
          s/.*/./; q'`
24726
 
    done
24727
 
    test ! -n "$as_dirs" || mkdir $as_dirs
24728
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
24729
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
24730
 
   { (exit 1); exit 1; }; }; }
24731
 
 
24732
 
    # echo "creating $dirpart/$file"
24733
 
    echo '# dummy' > "$dirpart/$file"
24734
 
  done
24735
 
done
24736
 
 ;;
24737
 
  esac
24738
 
done
24739
 
_ACEOF
24740
 
 
24741
 
cat >>$CONFIG_STATUS <<\_ACEOF
24742
 
 
24743
 
{ (exit 0); exit 0; }
24744
 
_ACEOF
24745
 
chmod +x $CONFIG_STATUS
24746
 
ac_clean_files=$ac_clean_files_save
24747
 
 
24748
 
 
24749
 
# configure is writing to config.log, and then calls config.status.
24750
 
# config.status does its own redirection, appending to config.log.
24751
 
# Unfortunately, on DOS this fails, as config.log is still kept open
24752
 
# by configure, so config.status won't be able to write to it; its
24753
 
# output is simply discarded.  So we exec the FD to /dev/null,
24754
 
# effectively closing config.log, so it can be properly (re)opened and
24755
 
# appended to by config.status.  When coming back to configure, we
24756
 
# need to make the FD available again.
24757
 
if test "$no_create" != yes; then
24758
 
  ac_cs_success=:
24759
 
  ac_config_status_args=
24760
 
  test "$silent" = yes &&
24761
 
    ac_config_status_args="$ac_config_status_args --quiet"
24762
 
  exec 5>/dev/null
24763
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24764
 
  exec 5>>config.log
24765
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24766
 
  # would make configure fail if this is the last instruction.
24767
 
  $ac_cs_success || { (exit 1); exit 1; }
24768
 
fi
24769
 
 
24770