~ifolder-dev/simias/trunk-packaging

« back to all changes in this revision

Viewing changes to tools/gsoap/gsoap-linux-2.7/mod_gsoap/mod_gsoap-0.6/apache_13/.svn/text-base/configure.svn-base

  • Committer: Jorge O. Castro
  • Date: 2007-12-03 06:56:46 UTC
  • Revision ID: jorge@ubuntu.com-20071203065646-mupcnjcwgm5mnhyt
* Remove a bunch of .svn directories we no longer need.

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.
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
 
# Dipl.-Ing. Christian Aberger (http://www.aberger.at)
10
 
## --------------------- ##
11
 
## M4sh Initialization.  ##
12
 
## --------------------- ##
13
 
 
14
 
# Be Bourne compatible
15
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
 
  emulate sh
17
 
  NULLCMD=:
18
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
 
  # is contrary to our usage.  Disable this feature.
20
 
  alias -g '${1+"$@"}'='"$@"'
21
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22
 
  set -o posix
23
 
fi
24
 
DUALCASE=1; export DUALCASE # for MKS sh
25
 
 
26
 
# Support unset when possible.
27
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28
 
  as_unset=unset
29
 
else
30
 
  as_unset=false
31
 
fi
32
 
 
33
 
 
34
 
# Work around bugs in pre-3.0 UWIN ksh.
35
 
$as_unset ENV MAIL MAILPATH
36
 
PS1='$ '
37
 
PS2='> '
38
 
PS4='+ '
39
 
 
40
 
# NLS nuisances.
41
 
for as_var in \
42
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44
 
  LC_TELEPHONE LC_TIME
45
 
do
46
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47
 
    eval $as_var=C; export $as_var
48
 
  else
49
 
    $as_unset $as_var
50
 
  fi
51
 
done
52
 
 
53
 
# Required to use basename.
54
 
if expr a : '\(a\)' >/dev/null 2>&1; then
55
 
  as_expr=expr
56
 
else
57
 
  as_expr=false
58
 
fi
59
 
 
60
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61
 
  as_basename=basename
62
 
else
63
 
  as_basename=false
64
 
fi
65
 
 
66
 
 
67
 
# Name of the executable.
68
 
as_me=`$as_basename "$0" ||
69
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
 
         X"$0" : 'X\(//\)$' \| \
71
 
         X"$0" : 'X\(/\)$' \| \
72
 
         .     : '\(.\)' 2>/dev/null ||
73
 
echo X/"$0" |
74
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
76
 
          /^X\/\(\/\).*/{ s//\1/; q; }
77
 
          s/.*/./; q'`
78
 
 
79
 
 
80
 
# PATH needs CR, and LINENO needs CR and PATH.
81
 
# Avoid depending upon Character Ranges.
82
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85
 
as_cr_digits='0123456789'
86
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
87
 
 
88
 
# The user is always right.
89
 
if test "${PATH_SEPARATOR+set}" != set; then
90
 
  echo "#! /bin/sh" >conf$$.sh
91
 
  echo  "exit 0"   >>conf$$.sh
92
 
  chmod +x conf$$.sh
93
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94
 
    PATH_SEPARATOR=';'
95
 
  else
96
 
    PATH_SEPARATOR=:
97
 
  fi
98
 
  rm -f conf$$.sh
99
 
fi
100
 
 
101
 
 
102
 
  as_lineno_1=$LINENO
103
 
  as_lineno_2=$LINENO
104
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
106
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
107
 
  # Find who we are.  Look in the path if we contain no path at all
108
 
  # relative or not.
109
 
  case $0 in
110
 
    *[\\/]* ) as_myself=$0 ;;
111
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112
 
for as_dir in $PATH
113
 
do
114
 
  IFS=$as_save_IFS
115
 
  test -z "$as_dir" && as_dir=.
116
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117
 
done
118
 
 
119
 
       ;;
120
 
  esac
121
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
122
 
  # in which case we are not to be found in the path.
123
 
  if test "x$as_myself" = x; then
124
 
    as_myself=$0
125
 
  fi
126
 
  if test ! -f "$as_myself"; then
127
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128
 
   { (exit 1); exit 1; }; }
129
 
  fi
130
 
  case $CONFIG_SHELL in
131
 
  '')
132
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
 
do
135
 
  IFS=$as_save_IFS
136
 
  test -z "$as_dir" && as_dir=.
137
 
  for as_base in sh bash ksh sh5; do
138
 
         case $as_dir in
139
 
         /*)
140
 
           if ("$as_dir/$as_base" -c '
141
 
  as_lineno_1=$LINENO
142
 
  as_lineno_2=$LINENO
143
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
145
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
146
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148
 
             CONFIG_SHELL=$as_dir/$as_base
149
 
             export CONFIG_SHELL
150
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151
 
           fi;;
152
 
         esac
153
 
       done
154
 
done
155
 
;;
156
 
  esac
157
 
 
158
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
160
 
  # line-number line before each line; the second 'sed' does the real
161
 
  # work.  The second script uses 'N' to pair each line-number line
162
 
  # with the numbered line, and appends trailing '-' during
163
 
  # substitution so that $LINENO is not a special case at line end.
164
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
166
 
  sed '=' <$as_myself |
167
 
    sed '
168
 
      N
169
 
      s,$,-,
170
 
      : loop
171
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172
 
      t loop
173
 
      s,-$,,
174
 
      s,^['$as_cr_digits']*\n,,
175
 
    ' >$as_me.lineno &&
176
 
  chmod +x $as_me.lineno ||
177
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
 
   { (exit 1); exit 1; }; }
179
 
 
180
 
  # Don't try to exec as it changes $[0], causing all sort of problems
181
 
  # (the dirname of $[0] is not the place where we might find the
182
 
  # original and so on.  Autoconf is especially sensible to this).
183
 
  . ./$as_me.lineno
184
 
  # Exit status is that of the last command.
185
 
  exit
186
 
}
187
 
 
188
 
 
189
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190
 
  *c*,-n*) ECHO_N= ECHO_C='
191
 
' ECHO_T='      ' ;;
192
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
194
 
esac
195
 
 
196
 
if expr a : '\(a\)' >/dev/null 2>&1; then
197
 
  as_expr=expr
198
 
else
199
 
  as_expr=false
200
 
fi
201
 
 
202
 
rm -f conf$$ conf$$.exe conf$$.file
203
 
echo >conf$$.file
204
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
205
 
  # We could just check for DJGPP; but this test a) works b) is more generic
206
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207
 
  if test -f conf$$.exe; then
208
 
    # Don't use ln at all; we don't have any links
209
 
    as_ln_s='cp -p'
210
 
  else
211
 
    as_ln_s='ln -s'
212
 
  fi
213
 
elif ln conf$$.file conf$$ 2>/dev/null; then
214
 
  as_ln_s=ln
215
 
else
216
 
  as_ln_s='cp -p'
217
 
fi
218
 
rm -f conf$$ conf$$.exe conf$$.file
219
 
 
220
 
if mkdir -p . 2>/dev/null; then
221
 
  as_mkdir_p=:
222
 
else
223
 
  test -d ./-p && rmdir ./-p
224
 
  as_mkdir_p=false
225
 
fi
226
 
 
227
 
as_executable_p="test -f"
228
 
 
229
 
# Sed expression to map a string onto a valid CPP name.
230
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
 
 
232
 
# Sed expression to map a string onto a valid variable name.
233
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
 
 
235
 
 
236
 
# IFS
237
 
# We need space, tab and new line, in precisely that order.
238
 
as_nl='
239
 
'
240
 
IFS="   $as_nl"
241
 
 
242
 
# CDPATH.
243
 
$as_unset CDPATH
244
 
 
245
 
 
246
 
 
247
 
# Check that we are running under the correct shell.
248
 
SHELL=${CONFIG_SHELL-/bin/sh}
249
 
 
250
 
case X$ECHO in
251
 
X*--fallback-echo)
252
 
  # Remove one level of quotation (which was required for Make).
253
 
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
254
 
  ;;
255
 
esac
256
 
 
257
 
echo=${ECHO-echo}
258
 
if test "X$1" = X--no-reexec; then
259
 
  # Discard the --no-reexec flag, and continue.
260
 
  shift
261
 
elif test "X$1" = X--fallback-echo; then
262
 
  # Avoid inline document here, it may be left over
263
 
  :
264
 
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
265
 
  # Yippee, $echo works!
266
 
  :
267
 
else
268
 
  # Restart under the correct shell.
269
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
270
 
fi
271
 
 
272
 
if test "X$1" = X--fallback-echo; then
273
 
  # used as fallback echo
274
 
  shift
275
 
  cat <<EOF
276
 
$*
277
 
EOF
278
 
  exit 0
279
 
fi
280
 
 
281
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
282
 
# if CDPATH is set.
283
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
284
 
 
285
 
if test -z "$ECHO"; then
286
 
if test "X${echo_test_string+set}" != Xset; then
287
 
# find a string as large as possible, as long as the shell can cope with it
288
 
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
289
 
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
290
 
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
291
 
       echo_test_string=`eval $cmd` &&
292
 
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
293
 
    then
294
 
      break
295
 
    fi
296
 
  done
297
 
fi
298
 
 
299
 
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
300
 
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
301
 
   test "X$echo_testing_string" = "X$echo_test_string"; then
302
 
  :
303
 
else
304
 
  # The Solaris, AIX, and Digital Unix default echo programs unquote
305
 
  # backslashes.  This makes it impossible to quote backslashes using
306
 
  #   echo "$something" | sed 's/\\/\\\\/g'
307
 
  #
308
 
  # So, first we look for a working echo in the user's PATH.
309
 
 
310
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
311
 
  for dir in $PATH /usr/ucb; do
312
 
    IFS="$lt_save_ifs"
313
 
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
314
 
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
315
 
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
316
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
317
 
      echo="$dir/echo"
318
 
      break
319
 
    fi
320
 
  done
321
 
  IFS="$lt_save_ifs"
322
 
 
323
 
  if test "X$echo" = Xecho; then
324
 
    # We didn't find a better echo, so look for alternatives.
325
 
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
326
 
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
327
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
328
 
      # This shell has a builtin print -r that does the trick.
329
 
      echo='print -r'
330
 
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
331
 
         test "X$CONFIG_SHELL" != X/bin/ksh; then
332
 
      # If we have ksh, try running configure again with it.
333
 
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
334
 
      export ORIGINAL_CONFIG_SHELL
335
 
      CONFIG_SHELL=/bin/ksh
336
 
      export CONFIG_SHELL
337
 
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
338
 
    else
339
 
      # Try using printf.
340
 
      echo='printf %s\n'
341
 
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
342
 
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
343
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
344
 
        # Cool, printf works
345
 
        :
346
 
      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
347
 
           test "X$echo_testing_string" = 'X\t' &&
348
 
           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
349
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
350
 
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
351
 
        export CONFIG_SHELL
352
 
        SHELL="$CONFIG_SHELL"
353
 
        export SHELL
354
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
355
 
      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
356
 
           test "X$echo_testing_string" = 'X\t' &&
357
 
           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
358
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
359
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
360
 
      else
361
 
        # maybe with a smaller string...
362
 
        prev=:
363
 
 
364
 
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
365
 
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
366
 
          then
367
 
            break
368
 
          fi
369
 
          prev="$cmd"
370
 
        done
371
 
 
372
 
        if test "$prev" != 'sed 50q "$0"'; then
373
 
          echo_test_string=`eval $prev`
374
 
          export echo_test_string
375
 
          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
376
 
        else
377
 
          # Oops.  We lost completely, so just stick with echo.
378
 
          echo=echo
379
 
        fi
380
 
      fi
381
 
    fi
382
 
  fi
383
 
fi
384
 
fi
385
 
 
386
 
# Copy echo and quote the copy suitably for passing to libtool from
387
 
# the Makefile, instead of quoting the original, which is used later.
388
 
ECHO=$echo
389
 
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
390
 
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
391
 
fi
392
 
 
393
 
 
394
 
 
395
 
 
396
 
tagnames=${tagnames+${tagnames},}CXX
397
 
 
398
 
tagnames=${tagnames+${tagnames},}F77
399
 
 
400
 
# Name of the host.
401
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
402
 
# so uname gets run too.
403
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
404
 
 
405
 
exec 6>&1
406
 
 
407
 
#
408
 
# Initializations.
409
 
#
410
 
ac_default_prefix=/usr/local
411
 
ac_config_libobj_dir=.
412
 
cross_compiling=no
413
 
subdirs=
414
 
MFLAGS=
415
 
MAKEFLAGS=
416
 
SHELL=${CONFIG_SHELL-/bin/sh}
417
 
 
418
 
# Maximum number of lines to put in a shell here document.
419
 
# This variable seems obsolete.  It should probably be removed, and
420
 
# only ac_max_sed_lines should be used.
421
 
: ${ac_max_here_lines=38}
422
 
 
423
 
# Identity of this package.
424
 
PACKAGE_NAME=
425
 
PACKAGE_TARNAME=
426
 
PACKAGE_VERSION=
427
 
PACKAGE_STRING=
428
 
PACKAGE_BUGREPORT=
429
 
 
430
 
ac_unique_file="mod_gsoap/mod_gsoap.c"
431
 
ac_unique_file="mod_gsoap/mod_gsoap.c"
432
 
# Factoring default headers for most tests.
433
 
ac_includes_default="\
434
 
#include <stdio.h>
435
 
#if HAVE_SYS_TYPES_H
436
 
# include <sys/types.h>
437
 
#endif
438
 
#if HAVE_SYS_STAT_H
439
 
# include <sys/stat.h>
440
 
#endif
441
 
#if STDC_HEADERS
442
 
# include <stdlib.h>
443
 
# include <stddef.h>
444
 
#else
445
 
# if HAVE_STDLIB_H
446
 
#  include <stdlib.h>
447
 
# endif
448
 
#endif
449
 
#if HAVE_STRING_H
450
 
# if !STDC_HEADERS && HAVE_MEMORY_H
451
 
#  include <memory.h>
452
 
# endif
453
 
# include <string.h>
454
 
#endif
455
 
#if HAVE_STRINGS_H
456
 
# include <strings.h>
457
 
#endif
458
 
#if HAVE_INTTYPES_H
459
 
# include <inttypes.h>
460
 
#else
461
 
# if HAVE_STDINT_H
462
 
#  include <stdint.h>
463
 
# endif
464
 
#endif
465
 
#if HAVE_UNISTD_H
466
 
# include <unistd.h>
467
 
#endif"
468
 
 
469
 
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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar EXISTS_GSOAP DEBUG_TRUE DEBUG_FALSE CXXDEBUGDEFINES APXS_CXX_OPTIONS 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 CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE EXISTS_APXS EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBTOOL_DEPS LIBOBJS LTLIBOBJS'
470
 
ac_subst_files=''
471
 
 
472
 
# Initialize some variables set by options.
473
 
ac_init_help=
474
 
ac_init_version=false
475
 
# The variables have the same names as the options, with
476
 
# dashes changed to underlines.
477
 
cache_file=/dev/null
478
 
exec_prefix=NONE
479
 
no_create=
480
 
no_recursion=
481
 
prefix=NONE
482
 
program_prefix=NONE
483
 
program_suffix=NONE
484
 
program_transform_name=s,x,x,
485
 
silent=
486
 
site=
487
 
srcdir=
488
 
verbose=
489
 
x_includes=NONE
490
 
x_libraries=NONE
491
 
 
492
 
# Installation directory options.
493
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
494
 
# and all the variables that are supposed to be based on exec_prefix
495
 
# by default will actually change.
496
 
# Use braces instead of parens because sh, perl, etc. also accept them.
497
 
bindir='${exec_prefix}/bin'
498
 
sbindir='${exec_prefix}/sbin'
499
 
libexecdir='${exec_prefix}/libexec'
500
 
datadir='${prefix}/share'
501
 
sysconfdir='${prefix}/etc'
502
 
sharedstatedir='${prefix}/com'
503
 
localstatedir='${prefix}/var'
504
 
libdir='${exec_prefix}/lib'
505
 
includedir='${prefix}/include'
506
 
oldincludedir='/usr/include'
507
 
infodir='${prefix}/info'
508
 
mandir='${prefix}/man'
509
 
 
510
 
ac_prev=
511
 
for ac_option
512
 
do
513
 
  # If the previous option needs an argument, assign it.
514
 
  if test -n "$ac_prev"; then
515
 
    eval "$ac_prev=\$ac_option"
516
 
    ac_prev=
517
 
    continue
518
 
  fi
519
 
 
520
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
521
 
 
522
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
523
 
 
524
 
  case $ac_option in
525
 
 
526
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
527
 
    ac_prev=bindir ;;
528
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
529
 
    bindir=$ac_optarg ;;
530
 
 
531
 
  -build | --build | --buil | --bui | --bu)
532
 
    ac_prev=build_alias ;;
533
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
534
 
    build_alias=$ac_optarg ;;
535
 
 
536
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
537
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
538
 
    ac_prev=cache_file ;;
539
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
540
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
541
 
    cache_file=$ac_optarg ;;
542
 
 
543
 
  --config-cache | -C)
544
 
    cache_file=config.cache ;;
545
 
 
546
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
547
 
    ac_prev=datadir ;;
548
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
549
 
  | --da=*)
550
 
    datadir=$ac_optarg ;;
551
 
 
552
 
  -disable-* | --disable-*)
553
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
554
 
    # Reject names that are not valid shell variable names.
555
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
556
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
557
 
   { (exit 1); exit 1; }; }
558
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
559
 
    eval "enable_$ac_feature=no" ;;
560
 
 
561
 
  -enable-* | --enable-*)
562
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
563
 
    # Reject names that are not valid shell variable names.
564
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
565
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
566
 
   { (exit 1); exit 1; }; }
567
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
568
 
    case $ac_option in
569
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
570
 
      *) ac_optarg=yes ;;
571
 
    esac
572
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
573
 
 
574
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
575
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
576
 
  | --exec | --exe | --ex)
577
 
    ac_prev=exec_prefix ;;
578
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
579
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
580
 
  | --exec=* | --exe=* | --ex=*)
581
 
    exec_prefix=$ac_optarg ;;
582
 
 
583
 
  -gas | --gas | --ga | --g)
584
 
    # Obsolete; use --with-gas.
585
 
    with_gas=yes ;;
586
 
 
587
 
  -help | --help | --hel | --he | -h)
588
 
    ac_init_help=long ;;
589
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
590
 
    ac_init_help=recursive ;;
591
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
592
 
    ac_init_help=short ;;
593
 
 
594
 
  -host | --host | --hos | --ho)
595
 
    ac_prev=host_alias ;;
596
 
  -host=* | --host=* | --hos=* | --ho=*)
597
 
    host_alias=$ac_optarg ;;
598
 
 
599
 
  -includedir | --includedir | --includedi | --included | --include \
600
 
  | --includ | --inclu | --incl | --inc)
601
 
    ac_prev=includedir ;;
602
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
603
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
604
 
    includedir=$ac_optarg ;;
605
 
 
606
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
607
 
    ac_prev=infodir ;;
608
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
609
 
    infodir=$ac_optarg ;;
610
 
 
611
 
  -libdir | --libdir | --libdi | --libd)
612
 
    ac_prev=libdir ;;
613
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
614
 
    libdir=$ac_optarg ;;
615
 
 
616
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
617
 
  | --libexe | --libex | --libe)
618
 
    ac_prev=libexecdir ;;
619
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
620
 
  | --libexe=* | --libex=* | --libe=*)
621
 
    libexecdir=$ac_optarg ;;
622
 
 
623
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
624
 
  | --localstate | --localstat | --localsta | --localst \
625
 
  | --locals | --local | --loca | --loc | --lo)
626
 
    ac_prev=localstatedir ;;
627
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
628
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
629
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
630
 
    localstatedir=$ac_optarg ;;
631
 
 
632
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
633
 
    ac_prev=mandir ;;
634
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
635
 
    mandir=$ac_optarg ;;
636
 
 
637
 
  -nfp | --nfp | --nf)
638
 
    # Obsolete; use --without-fp.
639
 
    with_fp=no ;;
640
 
 
641
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
642
 
  | --no-cr | --no-c | -n)
643
 
    no_create=yes ;;
644
 
 
645
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
646
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
647
 
    no_recursion=yes ;;
648
 
 
649
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
650
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
651
 
  | --oldin | --oldi | --old | --ol | --o)
652
 
    ac_prev=oldincludedir ;;
653
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
654
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
655
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
656
 
    oldincludedir=$ac_optarg ;;
657
 
 
658
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
659
 
    ac_prev=prefix ;;
660
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
661
 
    prefix=$ac_optarg ;;
662
 
 
663
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
664
 
  | --program-pre | --program-pr | --program-p)
665
 
    ac_prev=program_prefix ;;
666
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
667
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
668
 
    program_prefix=$ac_optarg ;;
669
 
 
670
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
671
 
  | --program-suf | --program-su | --program-s)
672
 
    ac_prev=program_suffix ;;
673
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
674
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
675
 
    program_suffix=$ac_optarg ;;
676
 
 
677
 
  -program-transform-name | --program-transform-name \
678
 
  | --program-transform-nam | --program-transform-na \
679
 
  | --program-transform-n | --program-transform- \
680
 
  | --program-transform | --program-transfor \
681
 
  | --program-transfo | --program-transf \
682
 
  | --program-trans | --program-tran \
683
 
  | --progr-tra | --program-tr | --program-t)
684
 
    ac_prev=program_transform_name ;;
685
 
  -program-transform-name=* | --program-transform-name=* \
686
 
  | --program-transform-nam=* | --program-transform-na=* \
687
 
  | --program-transform-n=* | --program-transform-=* \
688
 
  | --program-transform=* | --program-transfor=* \
689
 
  | --program-transfo=* | --program-transf=* \
690
 
  | --program-trans=* | --program-tran=* \
691
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
692
 
    program_transform_name=$ac_optarg ;;
693
 
 
694
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
695
 
  | -silent | --silent | --silen | --sile | --sil)
696
 
    silent=yes ;;
697
 
 
698
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
699
 
    ac_prev=sbindir ;;
700
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
701
 
  | --sbi=* | --sb=*)
702
 
    sbindir=$ac_optarg ;;
703
 
 
704
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
705
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
706
 
  | --sharedst | --shareds | --shared | --share | --shar \
707
 
  | --sha | --sh)
708
 
    ac_prev=sharedstatedir ;;
709
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
710
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
711
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
712
 
  | --sha=* | --sh=*)
713
 
    sharedstatedir=$ac_optarg ;;
714
 
 
715
 
  -site | --site | --sit)
716
 
    ac_prev=site ;;
717
 
  -site=* | --site=* | --sit=*)
718
 
    site=$ac_optarg ;;
719
 
 
720
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
721
 
    ac_prev=srcdir ;;
722
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
723
 
    srcdir=$ac_optarg ;;
724
 
 
725
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
726
 
  | --syscon | --sysco | --sysc | --sys | --sy)
727
 
    ac_prev=sysconfdir ;;
728
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
729
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
730
 
    sysconfdir=$ac_optarg ;;
731
 
 
732
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
733
 
    ac_prev=target_alias ;;
734
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
735
 
    target_alias=$ac_optarg ;;
736
 
 
737
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
738
 
    verbose=yes ;;
739
 
 
740
 
  -version | --version | --versio | --versi | --vers | -V)
741
 
    ac_init_version=: ;;
742
 
 
743
 
  -with-* | --with-*)
744
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
745
 
    # Reject names that are not valid shell variable names.
746
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
747
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
748
 
   { (exit 1); exit 1; }; }
749
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
750
 
    case $ac_option in
751
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
752
 
      *) ac_optarg=yes ;;
753
 
    esac
754
 
    eval "with_$ac_package='$ac_optarg'" ;;
755
 
 
756
 
  -without-* | --without-*)
757
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
758
 
    # Reject names that are not valid shell variable names.
759
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
760
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
761
 
   { (exit 1); exit 1; }; }
762
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
763
 
    eval "with_$ac_package=no" ;;
764
 
 
765
 
  --x)
766
 
    # Obsolete; use --with-x.
767
 
    with_x=yes ;;
768
 
 
769
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
770
 
  | --x-incl | --x-inc | --x-in | --x-i)
771
 
    ac_prev=x_includes ;;
772
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
773
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
774
 
    x_includes=$ac_optarg ;;
775
 
 
776
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
777
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
778
 
    ac_prev=x_libraries ;;
779
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
780
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
781
 
    x_libraries=$ac_optarg ;;
782
 
 
783
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
784
 
Try \`$0 --help' for more information." >&2
785
 
   { (exit 1); exit 1; }; }
786
 
    ;;
787
 
 
788
 
  *=*)
789
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
790
 
    # Reject names that are not valid shell variable names.
791
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
792
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
793
 
   { (exit 1); exit 1; }; }
794
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
795
 
    eval "$ac_envvar='$ac_optarg'"
796
 
    export $ac_envvar ;;
797
 
 
798
 
  *)
799
 
    # FIXME: should be removed in autoconf 3.0.
800
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
801
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
802
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
803
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
804
 
    ;;
805
 
 
806
 
  esac
807
 
done
808
 
 
809
 
if test -n "$ac_prev"; then
810
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
811
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
812
 
   { (exit 1); exit 1; }; }
813
 
fi
814
 
 
815
 
# Be sure to have absolute paths.
816
 
for ac_var in exec_prefix prefix
817
 
do
818
 
  eval ac_val=$`echo $ac_var`
819
 
  case $ac_val in
820
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
821
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
822
 
   { (exit 1); exit 1; }; };;
823
 
  esac
824
 
done
825
 
 
826
 
# Be sure to have absolute paths.
827
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
828
 
              localstatedir libdir includedir oldincludedir infodir mandir
829
 
do
830
 
  eval ac_val=$`echo $ac_var`
831
 
  case $ac_val in
832
 
    [\\/$]* | ?:[\\/]* ) ;;
833
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
834
 
   { (exit 1); exit 1; }; };;
835
 
  esac
836
 
done
837
 
 
838
 
# There might be people who depend on the old broken behavior: `$host'
839
 
# used to hold the argument of --host etc.
840
 
# FIXME: To remove some day.
841
 
build=$build_alias
842
 
host=$host_alias
843
 
target=$target_alias
844
 
 
845
 
# FIXME: To remove some day.
846
 
if test "x$host_alias" != x; then
847
 
  if test "x$build_alias" = x; then
848
 
    cross_compiling=maybe
849
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
850
 
    If a cross compiler is detected then cross compile mode will be used." >&2
851
 
  elif test "x$build_alias" != "x$host_alias"; then
852
 
    cross_compiling=yes
853
 
  fi
854
 
fi
855
 
 
856
 
ac_tool_prefix=
857
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
858
 
 
859
 
test "$silent" = yes && exec 6>/dev/null
860
 
 
861
 
 
862
 
# Find the source files, if location was not specified.
863
 
if test -z "$srcdir"; then
864
 
  ac_srcdir_defaulted=yes
865
 
  # Try the directory containing this script, then its parent.
866
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
867
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
868
 
         X"$0" : 'X\(//\)[^/]' \| \
869
 
         X"$0" : 'X\(//\)$' \| \
870
 
         X"$0" : 'X\(/\)' \| \
871
 
         .     : '\(.\)' 2>/dev/null ||
872
 
echo X"$0" |
873
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
874
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
875
 
          /^X\(\/\/\)$/{ s//\1/; q; }
876
 
          /^X\(\/\).*/{ s//\1/; q; }
877
 
          s/.*/./; q'`
878
 
  srcdir=$ac_confdir
879
 
  if test ! -r $srcdir/$ac_unique_file; then
880
 
    srcdir=..
881
 
  fi
882
 
else
883
 
  ac_srcdir_defaulted=no
884
 
fi
885
 
if test ! -r $srcdir/$ac_unique_file; then
886
 
  if test "$ac_srcdir_defaulted" = yes; then
887
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
888
 
   { (exit 1); exit 1; }; }
889
 
  else
890
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
891
 
   { (exit 1); exit 1; }; }
892
 
  fi
893
 
fi
894
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
895
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
896
 
   { (exit 1); exit 1; }; }
897
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
898
 
ac_env_build_alias_set=${build_alias+set}
899
 
ac_env_build_alias_value=$build_alias
900
 
ac_cv_env_build_alias_set=${build_alias+set}
901
 
ac_cv_env_build_alias_value=$build_alias
902
 
ac_env_host_alias_set=${host_alias+set}
903
 
ac_env_host_alias_value=$host_alias
904
 
ac_cv_env_host_alias_set=${host_alias+set}
905
 
ac_cv_env_host_alias_value=$host_alias
906
 
ac_env_target_alias_set=${target_alias+set}
907
 
ac_env_target_alias_value=$target_alias
908
 
ac_cv_env_target_alias_set=${target_alias+set}
909
 
ac_cv_env_target_alias_value=$target_alias
910
 
ac_env_CC_set=${CC+set}
911
 
ac_env_CC_value=$CC
912
 
ac_cv_env_CC_set=${CC+set}
913
 
ac_cv_env_CC_value=$CC
914
 
ac_env_CFLAGS_set=${CFLAGS+set}
915
 
ac_env_CFLAGS_value=$CFLAGS
916
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
917
 
ac_cv_env_CFLAGS_value=$CFLAGS
918
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
919
 
ac_env_LDFLAGS_value=$LDFLAGS
920
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
921
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
922
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
923
 
ac_env_CPPFLAGS_value=$CPPFLAGS
924
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
925
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
926
 
ac_env_CPP_set=${CPP+set}
927
 
ac_env_CPP_value=$CPP
928
 
ac_cv_env_CPP_set=${CPP+set}
929
 
ac_cv_env_CPP_value=$CPP
930
 
ac_env_CXX_set=${CXX+set}
931
 
ac_env_CXX_value=$CXX
932
 
ac_cv_env_CXX_set=${CXX+set}
933
 
ac_cv_env_CXX_value=$CXX
934
 
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
935
 
ac_env_CXXFLAGS_value=$CXXFLAGS
936
 
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
937
 
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
938
 
ac_env_CXXCPP_set=${CXXCPP+set}
939
 
ac_env_CXXCPP_value=$CXXCPP
940
 
ac_cv_env_CXXCPP_set=${CXXCPP+set}
941
 
ac_cv_env_CXXCPP_value=$CXXCPP
942
 
ac_env_F77_set=${F77+set}
943
 
ac_env_F77_value=$F77
944
 
ac_cv_env_F77_set=${F77+set}
945
 
ac_cv_env_F77_value=$F77
946
 
ac_env_FFLAGS_set=${FFLAGS+set}
947
 
ac_env_FFLAGS_value=$FFLAGS
948
 
ac_cv_env_FFLAGS_set=${FFLAGS+set}
949
 
ac_cv_env_FFLAGS_value=$FFLAGS
950
 
 
951
 
#
952
 
# Report the --help message.
953
 
#
954
 
if test "$ac_init_help" = "long"; then
955
 
  # Omit some internal or obsolete options to make the list less imposing.
956
 
  # This message is too long to be a string in the A/UX 3.1 sh.
957
 
  cat <<_ACEOF
958
 
\`configure' configures this package to adapt to many kinds of systems.
959
 
 
960
 
Usage: $0 [OPTION]... [VAR=VALUE]...
961
 
 
962
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
963
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
964
 
 
965
 
Defaults for the options are specified in brackets.
966
 
 
967
 
Configuration:
968
 
  -h, --help              display this help and exit
969
 
      --help=short        display options specific to this package
970
 
      --help=recursive    display the short help of all the included packages
971
 
  -V, --version           display version information and exit
972
 
  -q, --quiet, --silent   do not print \`checking...' messages
973
 
      --cache-file=FILE   cache test results in FILE [disabled]
974
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
975
 
  -n, --no-create         do not create output files
976
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
977
 
 
978
 
_ACEOF
979
 
 
980
 
  cat <<_ACEOF
981
 
Installation directories:
982
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
983
 
                          [$ac_default_prefix]
984
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
985
 
                          [PREFIX]
986
 
 
987
 
By default, \`make install' will install all the files in
988
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
989
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
990
 
for instance \`--prefix=\$HOME'.
991
 
 
992
 
For better control, use the options below.
993
 
 
994
 
Fine tuning of the installation directories:
995
 
  --bindir=DIR           user executables [EPREFIX/bin]
996
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
997
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
998
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
999
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1000
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1001
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1002
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1003
 
  --includedir=DIR       C header files [PREFIX/include]
1004
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1005
 
  --infodir=DIR          info documentation [PREFIX/info]
1006
 
  --mandir=DIR           man documentation [PREFIX/man]
1007
 
_ACEOF
1008
 
 
1009
 
  cat <<\_ACEOF
1010
 
 
1011
 
Program names:
1012
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1013
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1014
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1015
 
 
1016
 
System types:
1017
 
  --build=BUILD     configure for building on BUILD [guessed]
1018
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1019
 
  --target=TARGET   configure for building compilers for TARGET [HOST]
1020
 
_ACEOF
1021
 
fi
1022
 
 
1023
 
if test -n "$ac_init_help"; then
1024
 
 
1025
 
  cat <<\_ACEOF
1026
 
 
1027
 
Optional Features:
1028
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1029
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1030
 
  --enable-debug        add debug symbols to compiler and linker output for source code debugging
1031
 
  --disable-dependency-tracking  speeds up one-time build
1032
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1033
 
  --enable-shared[=PKGS]
1034
 
                          build shared libraries [default=yes]
1035
 
  --enable-static[=PKGS]
1036
 
                          build static libraries [default=yes]
1037
 
  --enable-fast-install[=PKGS]
1038
 
                          optimize for fast installation [default=yes]
1039
 
  --disable-libtool-lock  avoid locking (might break parallel builds)
1040
 
 
1041
 
Optional Packages:
1042
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1043
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1044
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1045
 
  --with-pic              try to use only PIC/non-PIC objects [default=use
1046
 
                          both]
1047
 
  --with-tags[=TAGS]
1048
 
                          include additional configurations [automatic]
1049
 
 
1050
 
Some influential environment variables:
1051
 
  CC          C compiler command
1052
 
  CFLAGS      C compiler flags
1053
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1054
 
              nonstandard directory <lib dir>
1055
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1056
 
              headers in a nonstandard directory <include dir>
1057
 
  CPP         C preprocessor
1058
 
  CXX         C++ compiler command
1059
 
  CXXFLAGS    C++ compiler flags
1060
 
  CXXCPP      C++ preprocessor
1061
 
  F77         Fortran 77 compiler command
1062
 
  FFLAGS      Fortran 77 compiler flags
1063
 
 
1064
 
Use these variables to override the choices made by `configure' or to help
1065
 
it to find libraries and programs with nonstandard names/locations.
1066
 
 
1067
 
_ACEOF
1068
 
fi
1069
 
 
1070
 
if test "$ac_init_help" = "recursive"; then
1071
 
  # If there are subdirs, report their specific --help.
1072
 
  ac_popdir=`pwd`
1073
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1074
 
    test -d $ac_dir || continue
1075
 
    ac_builddir=.
1076
 
 
1077
 
if test "$ac_dir" != .; then
1078
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1079
 
  # A "../" for each directory in $ac_dir_suffix.
1080
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1081
 
else
1082
 
  ac_dir_suffix= ac_top_builddir=
1083
 
fi
1084
 
 
1085
 
case $srcdir in
1086
 
  .)  # No --srcdir option.  We are building in place.
1087
 
    ac_srcdir=.
1088
 
    if test -z "$ac_top_builddir"; then
1089
 
       ac_top_srcdir=.
1090
 
    else
1091
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1092
 
    fi ;;
1093
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
1094
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1095
 
    ac_top_srcdir=$srcdir ;;
1096
 
  *) # Relative path.
1097
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1098
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1099
 
esac
1100
 
 
1101
 
# Do not use `cd foo && pwd` to compute absolute paths, because
1102
 
# the directories may not exist.
1103
 
case `pwd` in
1104
 
.) ac_abs_builddir="$ac_dir";;
1105
 
*)
1106
 
  case "$ac_dir" in
1107
 
  .) ac_abs_builddir=`pwd`;;
1108
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1109
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1110
 
  esac;;
1111
 
esac
1112
 
case $ac_abs_builddir in
1113
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1114
 
*)
1115
 
  case ${ac_top_builddir}. in
1116
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
1117
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1118
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1119
 
  esac;;
1120
 
esac
1121
 
case $ac_abs_builddir in
1122
 
.) ac_abs_srcdir=$ac_srcdir;;
1123
 
*)
1124
 
  case $ac_srcdir in
1125
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
1126
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1127
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1128
 
  esac;;
1129
 
esac
1130
 
case $ac_abs_builddir in
1131
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1132
 
*)
1133
 
  case $ac_top_srcdir in
1134
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1135
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1136
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1137
 
  esac;;
1138
 
esac
1139
 
 
1140
 
    cd $ac_dir
1141
 
    # Check for guested configure; otherwise get Cygnus style configure.
1142
 
    if test -f $ac_srcdir/configure.gnu; then
1143
 
      echo
1144
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1145
 
    elif test -f $ac_srcdir/configure; then
1146
 
      echo
1147
 
      $SHELL $ac_srcdir/configure  --help=recursive
1148
 
    elif test -f $ac_srcdir/configure.ac ||
1149
 
           test -f $ac_srcdir/configure.in; then
1150
 
      echo
1151
 
      $ac_configure --help
1152
 
    else
1153
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1154
 
    fi
1155
 
    cd $ac_popdir
1156
 
  done
1157
 
fi
1158
 
 
1159
 
test -n "$ac_init_help" && exit 0
1160
 
if $ac_init_version; then
1161
 
  cat <<\_ACEOF
1162
 
 
1163
 
Copyright (C) 2003 Free Software Foundation, Inc.
1164
 
This configure script is free software; the Free Software Foundation
1165
 
gives unlimited permission to copy, distribute and modify it.
1166
 
 
1167
 
Dipl.-Ing. Christian Aberger (http://www.aberger.at)
1168
 
_ACEOF
1169
 
  exit 0
1170
 
fi
1171
 
exec 5>config.log
1172
 
cat >&5 <<_ACEOF
1173
 
This file contains any messages produced by compilers while
1174
 
running configure, to aid debugging if configure makes a mistake.
1175
 
 
1176
 
It was created by $as_me, which was
1177
 
generated by GNU Autoconf 2.59.  Invocation command line was
1178
 
 
1179
 
  $ $0 $@
1180
 
 
1181
 
_ACEOF
1182
 
{
1183
 
cat <<_ASUNAME
1184
 
## --------- ##
1185
 
## Platform. ##
1186
 
## --------- ##
1187
 
 
1188
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1189
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1190
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1191
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1192
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1193
 
 
1194
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1195
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1196
 
 
1197
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1198
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1199
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1200
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1201
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1202
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1203
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1204
 
 
1205
 
_ASUNAME
1206
 
 
1207
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1208
 
for as_dir in $PATH
1209
 
do
1210
 
  IFS=$as_save_IFS
1211
 
  test -z "$as_dir" && as_dir=.
1212
 
  echo "PATH: $as_dir"
1213
 
done
1214
 
 
1215
 
} >&5
1216
 
 
1217
 
cat >&5 <<_ACEOF
1218
 
 
1219
 
 
1220
 
## ----------- ##
1221
 
## Core tests. ##
1222
 
## ----------- ##
1223
 
 
1224
 
_ACEOF
1225
 
 
1226
 
 
1227
 
# Keep a trace of the command line.
1228
 
# Strip out --no-create and --no-recursion so they do not pile up.
1229
 
# Strip out --silent because we don't want to record it for future runs.
1230
 
# Also quote any args containing shell meta-characters.
1231
 
# Make two passes to allow for proper duplicate-argument suppression.
1232
 
ac_configure_args=
1233
 
ac_configure_args0=
1234
 
ac_configure_args1=
1235
 
ac_sep=
1236
 
ac_must_keep_next=false
1237
 
for ac_pass in 1 2
1238
 
do
1239
 
  for ac_arg
1240
 
  do
1241
 
    case $ac_arg in
1242
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1243
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1244
 
    | -silent | --silent | --silen | --sile | --sil)
1245
 
      continue ;;
1246
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1247
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1248
 
    esac
1249
 
    case $ac_pass in
1250
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1251
 
    2)
1252
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1253
 
      if test $ac_must_keep_next = true; then
1254
 
        ac_must_keep_next=false # Got value, back to normal.
1255
 
      else
1256
 
        case $ac_arg in
1257
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1258
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1259
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1260
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1261
 
            case "$ac_configure_args0 " in
1262
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1263
 
            esac
1264
 
            ;;
1265
 
          -* ) ac_must_keep_next=true ;;
1266
 
        esac
1267
 
      fi
1268
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1269
 
      # Get rid of the leading space.
1270
 
      ac_sep=" "
1271
 
      ;;
1272
 
    esac
1273
 
  done
1274
 
done
1275
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1276
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1277
 
 
1278
 
# When interrupted or exit'd, cleanup temporary files, and complete
1279
 
# config.log.  We remove comments because anyway the quotes in there
1280
 
# would cause problems or look ugly.
1281
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1282
 
# such as our DU 5.0 friend, will then `close' the trap.
1283
 
trap 'exit_status=$?
1284
 
  # Save into config.log some information that might help in debugging.
1285
 
  {
1286
 
    echo
1287
 
 
1288
 
    cat <<\_ASBOX
1289
 
## ---------------- ##
1290
 
## Cache variables. ##
1291
 
## ---------------- ##
1292
 
_ASBOX
1293
 
    echo
1294
 
    # The following way of writing the cache mishandles newlines in values,
1295
 
{
1296
 
  (set) 2>&1 |
1297
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1298
 
    *ac_space=\ *)
1299
 
      sed -n \
1300
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1301
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1302
 
      ;;
1303
 
    *)
1304
 
      sed -n \
1305
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1306
 
      ;;
1307
 
    esac;
1308
 
}
1309
 
    echo
1310
 
 
1311
 
    cat <<\_ASBOX
1312
 
## ----------------- ##
1313
 
## Output variables. ##
1314
 
## ----------------- ##
1315
 
_ASBOX
1316
 
    echo
1317
 
    for ac_var in $ac_subst_vars
1318
 
    do
1319
 
      eval ac_val=$`echo $ac_var`
1320
 
      echo "$ac_var='"'"'$ac_val'"'"'"
1321
 
    done | sort
1322
 
    echo
1323
 
 
1324
 
    if test -n "$ac_subst_files"; then
1325
 
      cat <<\_ASBOX
1326
 
## ------------- ##
1327
 
## Output files. ##
1328
 
## ------------- ##
1329
 
_ASBOX
1330
 
      echo
1331
 
      for ac_var in $ac_subst_files
1332
 
      do
1333
 
        eval ac_val=$`echo $ac_var`
1334
 
        echo "$ac_var='"'"'$ac_val'"'"'"
1335
 
      done | sort
1336
 
      echo
1337
 
    fi
1338
 
 
1339
 
    if test -s confdefs.h; then
1340
 
      cat <<\_ASBOX
1341
 
## ----------- ##
1342
 
## confdefs.h. ##
1343
 
## ----------- ##
1344
 
_ASBOX
1345
 
      echo
1346
 
      sed "/^$/d" confdefs.h | sort
1347
 
      echo
1348
 
    fi
1349
 
    test "$ac_signal" != 0 &&
1350
 
      echo "$as_me: caught signal $ac_signal"
1351
 
    echo "$as_me: exit $exit_status"
1352
 
  } >&5
1353
 
  rm -f core *.core &&
1354
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1355
 
    exit $exit_status
1356
 
     ' 0
1357
 
for ac_signal in 1 2 13 15; do
1358
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1359
 
done
1360
 
ac_signal=0
1361
 
 
1362
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1363
 
rm -rf conftest* confdefs.h
1364
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1365
 
echo >confdefs.h
1366
 
 
1367
 
# Predefined preprocessor variables.
1368
 
 
1369
 
cat >>confdefs.h <<_ACEOF
1370
 
#define PACKAGE_NAME "$PACKAGE_NAME"
1371
 
_ACEOF
1372
 
 
1373
 
 
1374
 
cat >>confdefs.h <<_ACEOF
1375
 
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1376
 
_ACEOF
1377
 
 
1378
 
 
1379
 
cat >>confdefs.h <<_ACEOF
1380
 
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1381
 
_ACEOF
1382
 
 
1383
 
 
1384
 
cat >>confdefs.h <<_ACEOF
1385
 
#define PACKAGE_STRING "$PACKAGE_STRING"
1386
 
_ACEOF
1387
 
 
1388
 
 
1389
 
cat >>confdefs.h <<_ACEOF
1390
 
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1391
 
_ACEOF
1392
 
 
1393
 
 
1394
 
# Let the site file select an alternate cache file if it wants to.
1395
 
# Prefer explicitly selected file to automatically selected ones.
1396
 
if test -z "$CONFIG_SITE"; then
1397
 
  if test "x$prefix" != xNONE; then
1398
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1399
 
  else
1400
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1401
 
  fi
1402
 
fi
1403
 
for ac_site_file in $CONFIG_SITE; do
1404
 
  if test -r "$ac_site_file"; then
1405
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1406
 
echo "$as_me: loading site script $ac_site_file" >&6;}
1407
 
    sed 's/^/| /' "$ac_site_file" >&5
1408
 
    . "$ac_site_file"
1409
 
  fi
1410
 
done
1411
 
 
1412
 
if test -r "$cache_file"; then
1413
 
  # Some versions of bash will fail to source /dev/null (special
1414
 
  # files actually), so we avoid doing that.
1415
 
  if test -f "$cache_file"; then
1416
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1417
 
echo "$as_me: loading cache $cache_file" >&6;}
1418
 
    case $cache_file in
1419
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1420
 
      *)                      . ./$cache_file;;
1421
 
    esac
1422
 
  fi
1423
 
else
1424
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1425
 
echo "$as_me: creating cache $cache_file" >&6;}
1426
 
  >$cache_file
1427
 
fi
1428
 
 
1429
 
# Check that the precious variables saved in the cache have kept the same
1430
 
# value.
1431
 
ac_cache_corrupted=false
1432
 
for ac_var in `(set) 2>&1 |
1433
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1434
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1435
 
  eval ac_new_set=\$ac_env_${ac_var}_set
1436
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1437
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
1438
 
  case $ac_old_set,$ac_new_set in
1439
 
    set,)
1440
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1441
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1442
 
      ac_cache_corrupted=: ;;
1443
 
    ,set)
1444
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1445
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1446
 
      ac_cache_corrupted=: ;;
1447
 
    ,);;
1448
 
    *)
1449
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
1450
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1451
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1452
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1453
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1454
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1455
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1456
 
        ac_cache_corrupted=:
1457
 
      fi;;
1458
 
  esac
1459
 
  # Pass precious variables to config.status.
1460
 
  if test "$ac_new_set" = set; then
1461
 
    case $ac_new_val in
1462
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1463
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1464
 
    *) ac_arg=$ac_var=$ac_new_val ;;
1465
 
    esac
1466
 
    case " $ac_configure_args " in
1467
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1468
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1469
 
    esac
1470
 
  fi
1471
 
done
1472
 
if $ac_cache_corrupted; then
1473
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1474
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1475
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1476
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1477
 
   { (exit 1); exit 1; }; }
1478
 
fi
1479
 
 
1480
 
ac_ext=c
1481
 
ac_cpp='$CPP $CPPFLAGS'
1482
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1483
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1484
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1485
 
 
1486
 
 
1487
 
 
1488
 
 
1489
 
 
1490
 
 
1491
 
 
1492
 
 
1493
 
 
1494
 
 
1495
 
 
1496
 
 
1497
 
 
1498
 
 
1499
 
 
1500
 
 
1501
 
 
1502
 
 
1503
 
 
1504
 
 
1505
 
 
1506
 
 
1507
 
ac_aux_dir=
1508
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1509
 
  if test -f $ac_dir/install-sh; then
1510
 
    ac_aux_dir=$ac_dir
1511
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
1512
 
    break
1513
 
  elif test -f $ac_dir/install.sh; then
1514
 
    ac_aux_dir=$ac_dir
1515
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
1516
 
    break
1517
 
  elif test -f $ac_dir/shtool; then
1518
 
    ac_aux_dir=$ac_dir
1519
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
1520
 
    break
1521
 
  fi
1522
 
done
1523
 
if test -z "$ac_aux_dir"; then
1524
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1525
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1526
 
   { (exit 1); exit 1; }; }
1527
 
fi
1528
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1529
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1530
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1531
 
 
1532
 
# Make sure we can run config.sub.
1533
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
1534
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1535
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1536
 
   { (exit 1); exit 1; }; }
1537
 
 
1538
 
echo "$as_me:$LINENO: checking build system type" >&5
1539
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
1540
 
if test "${ac_cv_build+set}" = set; then
1541
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1542
 
else
1543
 
  ac_cv_build_alias=$build_alias
1544
 
test -z "$ac_cv_build_alias" &&
1545
 
  ac_cv_build_alias=`$ac_config_guess`
1546
 
test -z "$ac_cv_build_alias" &&
1547
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1548
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1549
 
   { (exit 1); exit 1; }; }
1550
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1551
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1552
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1553
 
   { (exit 1); exit 1; }; }
1554
 
 
1555
 
fi
1556
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1557
 
echo "${ECHO_T}$ac_cv_build" >&6
1558
 
build=$ac_cv_build
1559
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1560
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1561
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1562
 
 
1563
 
 
1564
 
echo "$as_me:$LINENO: checking host system type" >&5
1565
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
1566
 
if test "${ac_cv_host+set}" = set; then
1567
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1568
 
else
1569
 
  ac_cv_host_alias=$host_alias
1570
 
test -z "$ac_cv_host_alias" &&
1571
 
  ac_cv_host_alias=$ac_cv_build_alias
1572
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1573
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1574
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1575
 
   { (exit 1); exit 1; }; }
1576
 
 
1577
 
fi
1578
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1579
 
echo "${ECHO_T}$ac_cv_host" >&6
1580
 
host=$ac_cv_host
1581
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1582
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1583
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1584
 
 
1585
 
 
1586
 
echo "$as_me:$LINENO: checking target system type" >&5
1587
 
echo $ECHO_N "checking target system type... $ECHO_C" >&6
1588
 
if test "${ac_cv_target+set}" = set; then
1589
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1590
 
else
1591
 
  ac_cv_target_alias=$target_alias
1592
 
test "x$ac_cv_target_alias" = "x" &&
1593
 
  ac_cv_target_alias=$ac_cv_host_alias
1594
 
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1595
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1596
 
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1597
 
   { (exit 1); exit 1; }; }
1598
 
 
1599
 
fi
1600
 
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1601
 
echo "${ECHO_T}$ac_cv_target" >&6
1602
 
target=$ac_cv_target
1603
 
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1604
 
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1605
 
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1606
 
 
1607
 
 
1608
 
# The aliases save the names the user supplied, while $host etc.
1609
 
# will get canonicalized.
1610
 
test -n "$target_alias" &&
1611
 
  test "$program_prefix$program_suffix$program_transform_name" = \
1612
 
    NONENONEs,x,x, &&
1613
 
  program_prefix=${target_alias}-
1614
 
am__api_version="1.9"
1615
 
# Find a good install program.  We prefer a C program (faster),
1616
 
# so one script is as good as another.  But avoid the broken or
1617
 
# incompatible versions:
1618
 
# SysV /etc/install, /usr/sbin/install
1619
 
# SunOS /usr/etc/install
1620
 
# IRIX /sbin/install
1621
 
# AIX /bin/install
1622
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
1623
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1624
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1625
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1626
 
# OS/2's system install, which has a completely different semantic
1627
 
# ./install, which can be erroneously created by make from ./install.sh.
1628
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1629
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1630
 
if test -z "$INSTALL"; then
1631
 
if test "${ac_cv_path_install+set}" = set; then
1632
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1633
 
else
1634
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1635
 
for as_dir in $PATH
1636
 
do
1637
 
  IFS=$as_save_IFS
1638
 
  test -z "$as_dir" && as_dir=.
1639
 
  # Account for people who put trailing slashes in PATH elements.
1640
 
case $as_dir/ in
1641
 
  ./ | .// | /cC/* | \
1642
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1643
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1644
 
  /usr/ucb/* ) ;;
1645
 
  *)
1646
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
1647
 
    # Don't use installbsd from OSF since it installs stuff as root
1648
 
    # by default.
1649
 
    for ac_prog in ginstall scoinst install; do
1650
 
      for ac_exec_ext in '' $ac_executable_extensions; do
1651
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1652
 
          if test $ac_prog = install &&
1653
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1654
 
            # AIX install.  It has an incompatible calling convention.
1655
 
            :
1656
 
          elif test $ac_prog = install &&
1657
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1658
 
            # program-specific install script used by HP pwplus--don't use.
1659
 
            :
1660
 
          else
1661
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1662
 
            break 3
1663
 
          fi
1664
 
        fi
1665
 
      done
1666
 
    done
1667
 
    ;;
1668
 
esac
1669
 
done
1670
 
 
1671
 
 
1672
 
fi
1673
 
  if test "${ac_cv_path_install+set}" = set; then
1674
 
    INSTALL=$ac_cv_path_install
1675
 
  else
1676
 
    # As a last resort, use the slow shell script.  We don't cache a
1677
 
    # path for INSTALL within a source directory, because that will
1678
 
    # break other packages using the cache if that directory is
1679
 
    # removed, or if the path is relative.
1680
 
    INSTALL=$ac_install_sh
1681
 
  fi
1682
 
fi
1683
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1684
 
echo "${ECHO_T}$INSTALL" >&6
1685
 
 
1686
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1687
 
# It thinks the first close brace ends the variable substitution.
1688
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1689
 
 
1690
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1691
 
 
1692
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1693
 
 
1694
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1695
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1696
 
# Just in case
1697
 
sleep 1
1698
 
echo timestamp > conftest.file
1699
 
# Do `set' in a subshell so we don't clobber the current shell's
1700
 
# arguments.  Must try -L first in case configure is actually a
1701
 
# symlink; some systems play weird games with the mod time of symlinks
1702
 
# (eg FreeBSD returns the mod time of the symlink's containing
1703
 
# directory).
1704
 
if (
1705
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1706
 
   if test "$*" = "X"; then
1707
 
      # -L didn't work.
1708
 
      set X `ls -t $srcdir/configure conftest.file`
1709
 
   fi
1710
 
   rm -f conftest.file
1711
 
   if test "$*" != "X $srcdir/configure conftest.file" \
1712
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
1713
 
 
1714
 
      # If neither matched, then we have a broken ls.  This can happen
1715
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1716
 
      # broken ls alias from the environment.  This has actually
1717
 
      # happened.  Such a system could not be considered "sane".
1718
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1719
 
alias in your environment" >&5
1720
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1721
 
alias in your environment" >&2;}
1722
 
   { (exit 1); exit 1; }; }
1723
 
   fi
1724
 
 
1725
 
   test "$2" = conftest.file
1726
 
   )
1727
 
then
1728
 
   # Ok.
1729
 
   :
1730
 
else
1731
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1732
 
Check your system clock" >&5
1733
 
echo "$as_me: error: newly created file is older than distributed files!
1734
 
Check your system clock" >&2;}
1735
 
   { (exit 1); exit 1; }; }
1736
 
fi
1737
 
echo "$as_me:$LINENO: result: yes" >&5
1738
 
echo "${ECHO_T}yes" >&6
1739
 
test "$program_prefix" != NONE &&
1740
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
1741
 
# Use a double $ so make ignores it.
1742
 
test "$program_suffix" != NONE &&
1743
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1744
 
# Double any \ or $.  echo might interpret backslashes.
1745
 
# By default was `s,x,x', remove it if useless.
1746
 
cat <<\_ACEOF >conftest.sed
1747
 
s/[\\$]/&&/g;s/;s,x,x,$//
1748
 
_ACEOF
1749
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1750
 
rm conftest.sed
1751
 
 
1752
 
# expand $ac_aux_dir to an absolute path
1753
 
am_aux_dir=`cd $ac_aux_dir && pwd`
1754
 
 
1755
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1756
 
# Use eval to expand $SHELL
1757
 
if eval "$MISSING --run true"; then
1758
 
  am_missing_run="$MISSING --run "
1759
 
else
1760
 
  am_missing_run=
1761
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1762
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1763
 
fi
1764
 
 
1765
 
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1766
 
  # We used to keeping the `.' as first argument, in order to
1767
 
  # allow $(mkdir_p) to be used without argument.  As in
1768
 
  #   $(mkdir_p) $(somedir)
1769
 
  # where $(somedir) is conditionally defined.  However this is wrong
1770
 
  # for two reasons:
1771
 
  #  1. if the package is installed by a user who cannot write `.'
1772
 
  #     make install will fail,
1773
 
  #  2. the above comment should most certainly read
1774
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
1775
 
  #     so it does not work when $(somedir) is undefined and
1776
 
  #     $(DESTDIR) is not.
1777
 
  #  To support the latter case, we have to write
1778
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1779
 
  #  so the `.' trick is pointless.
1780
 
  mkdir_p='mkdir -p --'
1781
 
else
1782
 
  # On NextStep and OpenStep, the `mkdir' command does not
1783
 
  # recognize any option.  It will interpret all options as
1784
 
  # directories to create, and then abort because `.' already
1785
 
  # exists.
1786
 
  for d in ./-p ./--version;
1787
 
  do
1788
 
    test -d $d && rmdir $d
1789
 
  done
1790
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1791
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
1792
 
    mkdir_p='$(mkinstalldirs)'
1793
 
  else
1794
 
    mkdir_p='$(install_sh) -d'
1795
 
  fi
1796
 
fi
1797
 
 
1798
 
for ac_prog in gawk mawk nawk awk
1799
 
do
1800
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1801
 
set dummy $ac_prog; ac_word=$2
1802
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1803
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1804
 
if test "${ac_cv_prog_AWK+set}" = set; then
1805
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1806
 
else
1807
 
  if test -n "$AWK"; then
1808
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1809
 
else
1810
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1811
 
for as_dir in $PATH
1812
 
do
1813
 
  IFS=$as_save_IFS
1814
 
  test -z "$as_dir" && as_dir=.
1815
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1816
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1817
 
    ac_cv_prog_AWK="$ac_prog"
1818
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1819
 
    break 2
1820
 
  fi
1821
 
done
1822
 
done
1823
 
 
1824
 
fi
1825
 
fi
1826
 
AWK=$ac_cv_prog_AWK
1827
 
if test -n "$AWK"; then
1828
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1829
 
echo "${ECHO_T}$AWK" >&6
1830
 
else
1831
 
  echo "$as_me:$LINENO: result: no" >&5
1832
 
echo "${ECHO_T}no" >&6
1833
 
fi
1834
 
 
1835
 
  test -n "$AWK" && break
1836
 
done
1837
 
 
1838
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1839
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1840
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1841
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1842
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1843
 
else
1844
 
  cat >conftest.make <<\_ACEOF
1845
 
all:
1846
 
        @echo 'ac_maketemp="$(MAKE)"'
1847
 
_ACEOF
1848
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1849
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1850
 
if test -n "$ac_maketemp"; then
1851
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1852
 
else
1853
 
  eval ac_cv_prog_make_${ac_make}_set=no
1854
 
fi
1855
 
rm -f conftest.make
1856
 
fi
1857
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1858
 
  echo "$as_me:$LINENO: result: yes" >&5
1859
 
echo "${ECHO_T}yes" >&6
1860
 
  SET_MAKE=
1861
 
else
1862
 
  echo "$as_me:$LINENO: result: no" >&5
1863
 
echo "${ECHO_T}no" >&6
1864
 
  SET_MAKE="MAKE=${MAKE-make}"
1865
 
fi
1866
 
 
1867
 
rm -rf .tst 2>/dev/null
1868
 
mkdir .tst 2>/dev/null
1869
 
if test -d .tst; then
1870
 
  am__leading_dot=.
1871
 
else
1872
 
  am__leading_dot=_
1873
 
fi
1874
 
rmdir .tst 2>/dev/null
1875
 
 
1876
 
# test to see if srcdir already configured
1877
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1878
 
   test -f $srcdir/config.status; then
1879
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1880
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1881
 
   { (exit 1); exit 1; }; }
1882
 
fi
1883
 
 
1884
 
# test whether we have cygpath
1885
 
if test -z "$CYGPATH_W"; then
1886
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
1887
 
    CYGPATH_W='cygpath -w'
1888
 
  else
1889
 
    CYGPATH_W=echo
1890
 
  fi
1891
 
fi
1892
 
 
1893
 
 
1894
 
# Define the identity of the package.
1895
 
 PACKAGE=mod_gsoap
1896
 
 VERSION=0.0.5
1897
 
 
1898
 
 
1899
 
cat >>confdefs.h <<_ACEOF
1900
 
#define PACKAGE "$PACKAGE"
1901
 
_ACEOF
1902
 
 
1903
 
 
1904
 
cat >>confdefs.h <<_ACEOF
1905
 
#define VERSION "$VERSION"
1906
 
_ACEOF
1907
 
 
1908
 
# Some tools Automake needs.
1909
 
 
1910
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1911
 
 
1912
 
 
1913
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1914
 
 
1915
 
 
1916
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1917
 
 
1918
 
 
1919
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1920
 
 
1921
 
 
1922
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1923
 
 
1924
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1925
 
 
1926
 
# Installed binaries are usually stripped using `strip' when the user
1927
 
# run `make install-strip'.  However `strip' might not be the right
1928
 
# tool to use in cross-compilation environments, therefore Automake
1929
 
# will honor the `STRIP' environment variable to overrule this program.
1930
 
if test "$cross_compiling" != no; then
1931
 
  if test -n "$ac_tool_prefix"; then
1932
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1933
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
1934
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1935
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1936
 
if test "${ac_cv_prog_STRIP+set}" = set; then
1937
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1938
 
else
1939
 
  if test -n "$STRIP"; then
1940
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1941
 
else
1942
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1943
 
for as_dir in $PATH
1944
 
do
1945
 
  IFS=$as_save_IFS
1946
 
  test -z "$as_dir" && as_dir=.
1947
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1948
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1949
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1950
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1951
 
    break 2
1952
 
  fi
1953
 
done
1954
 
done
1955
 
 
1956
 
fi
1957
 
fi
1958
 
STRIP=$ac_cv_prog_STRIP
1959
 
if test -n "$STRIP"; then
1960
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1961
 
echo "${ECHO_T}$STRIP" >&6
1962
 
else
1963
 
  echo "$as_me:$LINENO: result: no" >&5
1964
 
echo "${ECHO_T}no" >&6
1965
 
fi
1966
 
 
1967
 
fi
1968
 
if test -z "$ac_cv_prog_STRIP"; then
1969
 
  ac_ct_STRIP=$STRIP
1970
 
  # Extract the first word of "strip", so it can be a program name with args.
1971
 
set dummy strip; ac_word=$2
1972
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1973
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1974
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1975
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1976
 
else
1977
 
  if test -n "$ac_ct_STRIP"; then
1978
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1979
 
else
1980
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1981
 
for as_dir in $PATH
1982
 
do
1983
 
  IFS=$as_save_IFS
1984
 
  test -z "$as_dir" && as_dir=.
1985
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1986
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1987
 
    ac_cv_prog_ac_ct_STRIP="strip"
1988
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1989
 
    break 2
1990
 
  fi
1991
 
done
1992
 
done
1993
 
 
1994
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1995
 
fi
1996
 
fi
1997
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1998
 
if test -n "$ac_ct_STRIP"; then
1999
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2000
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
2001
 
else
2002
 
  echo "$as_me:$LINENO: result: no" >&5
2003
 
echo "${ECHO_T}no" >&6
2004
 
fi
2005
 
 
2006
 
  STRIP=$ac_ct_STRIP
2007
 
else
2008
 
  STRIP="$ac_cv_prog_STRIP"
2009
 
fi
2010
 
 
2011
 
fi
2012
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2013
 
 
2014
 
# We need awk for the "check" target.  The system "awk" is bad on
2015
 
# some platforms.
2016
 
# Always define AMTAR for backward compatibility.
2017
 
 
2018
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2019
 
 
2020
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2021
 
 
2022
 
 
2023
 
 
2024
 
 
2025
 
 
2026
 
          ac_config_headers="$ac_config_headers config.h"
2027
 
 
2028
 
 
2029
 
#AC_ARG_WITH(gsoap,
2030
 
#    [  --with-gsoap=<path>   prefix of gsoap port installation. e.g. /usr/local/soapcpp or /home/myusername/gsoap],
2031
 
#    [GSOAP_PREFIX=$with_gsoap],
2032
 
#    AC_MSG_ERROR([You must call configure with the --with-gsoap=<path> option. <path> is the path where you unpacked the gsoap distribution to.
2033
 
#    The headers and source downloaded from http://www.cs.fsu.edu/~engelen/soap.html must be available.
2034
 
#    e.g. --with-gsoap=/usr/local/gsoap])
2035
 
#)
2036
 
 
2037
 
#AC_CHECK_FILE([[$with_gsoap/stdsoap2.h]], [echo stdsoap2.h found in $with_gsoap], AC_MSG_ERROR([$with_gsoap does not contain stdsoap2.h]))
2038
 
 
2039
 
 
2040
 
 
2041
 
#AC_SUBST(GSOAP_PREFIX)
2042
 
#GSOAP_CPP_SRC="${GSOAP_PREFIX}/stdsoap2.cpp"
2043
 
#GSOAP_C_SRC="${GSOAP_PREFIX}/stdsoap2.c"
2044
 
#GSOAP_INCLUDE="-I${GSOAP_PREFIX}"
2045
 
#AC_SUBST(GSOAP_CPP_SRC)
2046
 
#AC_SUBST(GSOAP_C_SRC)
2047
 
#AC_SUBST(GSOAP_INCLUDE)
2048
 
 
2049
 
# Extract the first word of "soapcpp2", so it can be a program name with args.
2050
 
set dummy soapcpp2; ac_word=$2
2051
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2052
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2053
 
if test "${ac_cv_prog_EXISTS_GSOAP+set}" = set; then
2054
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2055
 
else
2056
 
  if test -n "$EXISTS_GSOAP"; then
2057
 
  ac_cv_prog_EXISTS_GSOAP="$EXISTS_GSOAP" # Let the user override the test.
2058
 
else
2059
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2060
 
for as_dir in $PATH
2061
 
do
2062
 
  IFS=$as_save_IFS
2063
 
  test -z "$as_dir" && as_dir=.
2064
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2065
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2066
 
    ac_cv_prog_EXISTS_GSOAP="yes"
2067
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2068
 
    break 2
2069
 
  fi
2070
 
done
2071
 
done
2072
 
 
2073
 
fi
2074
 
fi
2075
 
EXISTS_GSOAP=$ac_cv_prog_EXISTS_GSOAP
2076
 
if test -n "$EXISTS_GSOAP"; then
2077
 
  echo "$as_me:$LINENO: result: $EXISTS_GSOAP" >&5
2078
 
echo "${ECHO_T}$EXISTS_GSOAP" >&6
2079
 
else
2080
 
  echo "$as_me:$LINENO: result: no" >&5
2081
 
echo "${ECHO_T}no" >&6
2082
 
fi
2083
 
 
2084
 
if test -z "$EXISTS_GSOAP"; then
2085
 
   { { echo "$as_me:$LINENO: error: please install gsoap - http://www.cs.fsu.edu/~engelen/soap.html" >&5
2086
 
echo "$as_me: error: please install gsoap - http://www.cs.fsu.edu/~engelen/soap.html" >&2;}
2087
 
   { (exit 1); exit 1; }; }
2088
 
fi
2089
 
 
2090
 
# Check whether --enable-debug or --disable-debug was given.
2091
 
if test "${enable_debug+set}" = set; then
2092
 
  enableval="$enable_debug"
2093
 
  case "${enableval}" in
2094
 
  yes) debug=true ;;
2095
 
  no)  debug=false ;;
2096
 
  *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
2097
 
echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
2098
 
   { (exit 1); exit 1; }; } ;;
2099
 
esac
2100
 
else
2101
 
  debug=false
2102
 
fi;
2103
 
 
2104
 
 
2105
 
if test x$debug = xtrue; then
2106
 
  DEBUG_TRUE=
2107
 
  DEBUG_FALSE='#'
2108
 
else
2109
 
  DEBUG_TRUE='#'
2110
 
  DEBUG_FALSE=
2111
 
fi
2112
 
 
2113
 
 
2114
 
CXXFLAGS=""
2115
 
if test x$debug = xtrue; then
2116
 
   CXXDEBUGDEFINES="-D_DEBUG"
2117
 
   APXS_CXX_OPTIONS="-Wc,-g"
2118
 
else
2119
 
   CXXDEBUGDEFINES="-D_NDEBUG"
2120
 
   APXS_CXX_OPTIONS=""
2121
 
fi
2122
 
 
2123
 
 
2124
 
ac_ext=c
2125
 
ac_cpp='$CPP $CPPFLAGS'
2126
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2127
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2128
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2129
 
if test -n "$ac_tool_prefix"; then
2130
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2131
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2132
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2133
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2134
 
if test "${ac_cv_prog_CC+set}" = set; then
2135
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2136
 
else
2137
 
  if test -n "$CC"; then
2138
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2139
 
else
2140
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2141
 
for as_dir in $PATH
2142
 
do
2143
 
  IFS=$as_save_IFS
2144
 
  test -z "$as_dir" && as_dir=.
2145
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2146
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2147
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2148
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2149
 
    break 2
2150
 
  fi
2151
 
done
2152
 
done
2153
 
 
2154
 
fi
2155
 
fi
2156
 
CC=$ac_cv_prog_CC
2157
 
if test -n "$CC"; then
2158
 
  echo "$as_me:$LINENO: result: $CC" >&5
2159
 
echo "${ECHO_T}$CC" >&6
2160
 
else
2161
 
  echo "$as_me:$LINENO: result: no" >&5
2162
 
echo "${ECHO_T}no" >&6
2163
 
fi
2164
 
 
2165
 
fi
2166
 
if test -z "$ac_cv_prog_CC"; then
2167
 
  ac_ct_CC=$CC
2168
 
  # Extract the first word of "gcc", so it can be a program name with args.
2169
 
set dummy gcc; ac_word=$2
2170
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2171
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2172
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2173
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2174
 
else
2175
 
  if test -n "$ac_ct_CC"; then
2176
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2177
 
else
2178
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2179
 
for as_dir in $PATH
2180
 
do
2181
 
  IFS=$as_save_IFS
2182
 
  test -z "$as_dir" && as_dir=.
2183
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2184
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2185
 
    ac_cv_prog_ac_ct_CC="gcc"
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
 
fi
2193
 
fi
2194
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2195
 
if test -n "$ac_ct_CC"; then
2196
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2197
 
echo "${ECHO_T}$ac_ct_CC" >&6
2198
 
else
2199
 
  echo "$as_me:$LINENO: result: no" >&5
2200
 
echo "${ECHO_T}no" >&6
2201
 
fi
2202
 
 
2203
 
  CC=$ac_ct_CC
2204
 
else
2205
 
  CC="$ac_cv_prog_CC"
2206
 
fi
2207
 
 
2208
 
if test -z "$CC"; then
2209
 
  if test -n "$ac_tool_prefix"; then
2210
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2211
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
2212
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2213
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2214
 
if test "${ac_cv_prog_CC+set}" = set; then
2215
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2216
 
else
2217
 
  if test -n "$CC"; then
2218
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2219
 
else
2220
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2221
 
for as_dir in $PATH
2222
 
do
2223
 
  IFS=$as_save_IFS
2224
 
  test -z "$as_dir" && as_dir=.
2225
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2226
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2227
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2228
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2229
 
    break 2
2230
 
  fi
2231
 
done
2232
 
done
2233
 
 
2234
 
fi
2235
 
fi
2236
 
CC=$ac_cv_prog_CC
2237
 
if test -n "$CC"; then
2238
 
  echo "$as_me:$LINENO: result: $CC" >&5
2239
 
echo "${ECHO_T}$CC" >&6
2240
 
else
2241
 
  echo "$as_me:$LINENO: result: no" >&5
2242
 
echo "${ECHO_T}no" >&6
2243
 
fi
2244
 
 
2245
 
fi
2246
 
if test -z "$ac_cv_prog_CC"; then
2247
 
  ac_ct_CC=$CC
2248
 
  # Extract the first word of "cc", so it can be a program name with args.
2249
 
set dummy cc; ac_word=$2
2250
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2251
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2252
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2253
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2254
 
else
2255
 
  if test -n "$ac_ct_CC"; then
2256
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2257
 
else
2258
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2259
 
for as_dir in $PATH
2260
 
do
2261
 
  IFS=$as_save_IFS
2262
 
  test -z "$as_dir" && as_dir=.
2263
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2264
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2265
 
    ac_cv_prog_ac_ct_CC="cc"
2266
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2267
 
    break 2
2268
 
  fi
2269
 
done
2270
 
done
2271
 
 
2272
 
fi
2273
 
fi
2274
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2275
 
if test -n "$ac_ct_CC"; then
2276
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2277
 
echo "${ECHO_T}$ac_ct_CC" >&6
2278
 
else
2279
 
  echo "$as_me:$LINENO: result: no" >&5
2280
 
echo "${ECHO_T}no" >&6
2281
 
fi
2282
 
 
2283
 
  CC=$ac_ct_CC
2284
 
else
2285
 
  CC="$ac_cv_prog_CC"
2286
 
fi
2287
 
 
2288
 
fi
2289
 
if test -z "$CC"; then
2290
 
  # Extract the first word of "cc", so it can be a program name with args.
2291
 
set dummy cc; ac_word=$2
2292
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2293
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2294
 
if test "${ac_cv_prog_CC+set}" = set; then
2295
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2296
 
else
2297
 
  if test -n "$CC"; then
2298
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2299
 
else
2300
 
  ac_prog_rejected=no
2301
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2302
 
for as_dir in $PATH
2303
 
do
2304
 
  IFS=$as_save_IFS
2305
 
  test -z "$as_dir" && as_dir=.
2306
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2307
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2308
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2309
 
       ac_prog_rejected=yes
2310
 
       continue
2311
 
     fi
2312
 
    ac_cv_prog_CC="cc"
2313
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2314
 
    break 2
2315
 
  fi
2316
 
done
2317
 
done
2318
 
 
2319
 
if test $ac_prog_rejected = yes; then
2320
 
  # We found a bogon in the path, so make sure we never use it.
2321
 
  set dummy $ac_cv_prog_CC
2322
 
  shift
2323
 
  if test $# != 0; then
2324
 
    # We chose a different compiler from the bogus one.
2325
 
    # However, it has the same basename, so the bogon will be chosen
2326
 
    # first if we set CC to just the basename; use the full file name.
2327
 
    shift
2328
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2329
 
  fi
2330
 
fi
2331
 
fi
2332
 
fi
2333
 
CC=$ac_cv_prog_CC
2334
 
if test -n "$CC"; then
2335
 
  echo "$as_me:$LINENO: result: $CC" >&5
2336
 
echo "${ECHO_T}$CC" >&6
2337
 
else
2338
 
  echo "$as_me:$LINENO: result: no" >&5
2339
 
echo "${ECHO_T}no" >&6
2340
 
fi
2341
 
 
2342
 
fi
2343
 
if test -z "$CC"; then
2344
 
  if test -n "$ac_tool_prefix"; then
2345
 
  for ac_prog in cl
2346
 
  do
2347
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2348
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2349
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2350
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2351
 
if test "${ac_cv_prog_CC+set}" = set; then
2352
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2353
 
else
2354
 
  if test -n "$CC"; then
2355
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2356
 
else
2357
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2358
 
for as_dir in $PATH
2359
 
do
2360
 
  IFS=$as_save_IFS
2361
 
  test -z "$as_dir" && as_dir=.
2362
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2363
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2364
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2365
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2366
 
    break 2
2367
 
  fi
2368
 
done
2369
 
done
2370
 
 
2371
 
fi
2372
 
fi
2373
 
CC=$ac_cv_prog_CC
2374
 
if test -n "$CC"; then
2375
 
  echo "$as_me:$LINENO: result: $CC" >&5
2376
 
echo "${ECHO_T}$CC" >&6
2377
 
else
2378
 
  echo "$as_me:$LINENO: result: no" >&5
2379
 
echo "${ECHO_T}no" >&6
2380
 
fi
2381
 
 
2382
 
    test -n "$CC" && break
2383
 
  done
2384
 
fi
2385
 
if test -z "$CC"; then
2386
 
  ac_ct_CC=$CC
2387
 
  for ac_prog in cl
2388
 
do
2389
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2390
 
set dummy $ac_prog; ac_word=$2
2391
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2392
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2393
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2394
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2395
 
else
2396
 
  if test -n "$ac_ct_CC"; then
2397
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2398
 
else
2399
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2400
 
for as_dir in $PATH
2401
 
do
2402
 
  IFS=$as_save_IFS
2403
 
  test -z "$as_dir" && as_dir=.
2404
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2405
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2406
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
2407
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2408
 
    break 2
2409
 
  fi
2410
 
done
2411
 
done
2412
 
 
2413
 
fi
2414
 
fi
2415
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2416
 
if test -n "$ac_ct_CC"; then
2417
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2418
 
echo "${ECHO_T}$ac_ct_CC" >&6
2419
 
else
2420
 
  echo "$as_me:$LINENO: result: no" >&5
2421
 
echo "${ECHO_T}no" >&6
2422
 
fi
2423
 
 
2424
 
  test -n "$ac_ct_CC" && break
2425
 
done
2426
 
 
2427
 
  CC=$ac_ct_CC
2428
 
fi
2429
 
 
2430
 
fi
2431
 
 
2432
 
 
2433
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2434
 
See \`config.log' for more details." >&5
2435
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
2436
 
See \`config.log' for more details." >&2;}
2437
 
   { (exit 1); exit 1; }; }
2438
 
 
2439
 
# Provide some information about the compiler.
2440
 
echo "$as_me:$LINENO:" \
2441
 
     "checking for C compiler version" >&5
2442
 
ac_compiler=`set X $ac_compile; echo $2`
2443
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2444
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2445
 
  ac_status=$?
2446
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2447
 
  (exit $ac_status); }
2448
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2449
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2450
 
  ac_status=$?
2451
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2452
 
  (exit $ac_status); }
2453
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2454
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
2455
 
  ac_status=$?
2456
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457
 
  (exit $ac_status); }
2458
 
 
2459
 
cat >conftest.$ac_ext <<_ACEOF
2460
 
/* confdefs.h.  */
2461
 
_ACEOF
2462
 
cat confdefs.h >>conftest.$ac_ext
2463
 
cat >>conftest.$ac_ext <<_ACEOF
2464
 
/* end confdefs.h.  */
2465
 
 
2466
 
int
2467
 
main ()
2468
 
{
2469
 
 
2470
 
  ;
2471
 
  return 0;
2472
 
}
2473
 
_ACEOF
2474
 
ac_clean_files_save=$ac_clean_files
2475
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2476
 
# Try to create an executable without -o first, disregard a.out.
2477
 
# It will help us diagnose broken compilers, and finding out an intuition
2478
 
# of exeext.
2479
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2480
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2481
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2482
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2483
 
  (eval $ac_link_default) 2>&5
2484
 
  ac_status=$?
2485
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486
 
  (exit $ac_status); }; then
2487
 
  # Find the output, starting from the most likely.  This scheme is
2488
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2489
 
# resort.
2490
 
 
2491
 
# Be careful to initialize this variable, since it used to be cached.
2492
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2493
 
ac_cv_exeext=
2494
 
# b.out is created by i960 compilers.
2495
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2496
 
do
2497
 
  test -f "$ac_file" || continue
2498
 
  case $ac_file in
2499
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2500
 
        ;;
2501
 
    conftest.$ac_ext )
2502
 
        # This is the source file.
2503
 
        ;;
2504
 
    [ab].out )
2505
 
        # We found the default executable, but exeext='' is most
2506
 
        # certainly right.
2507
 
        break;;
2508
 
    *.* )
2509
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2510
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2511
 
        # but it would be cool to find out if it's true.  Does anybody
2512
 
        # maintain Libtool? --akim.
2513
 
        export ac_cv_exeext
2514
 
        break;;
2515
 
    * )
2516
 
        break;;
2517
 
  esac
2518
 
done
2519
 
else
2520
 
  echo "$as_me: failed program was:" >&5
2521
 
sed 's/^/| /' conftest.$ac_ext >&5
2522
 
 
2523
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2524
 
See \`config.log' for more details." >&5
2525
 
echo "$as_me: error: C compiler cannot create executables
2526
 
See \`config.log' for more details." >&2;}
2527
 
   { (exit 77); exit 77; }; }
2528
 
fi
2529
 
 
2530
 
ac_exeext=$ac_cv_exeext
2531
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2532
 
echo "${ECHO_T}$ac_file" >&6
2533
 
 
2534
 
# Check the compiler produces executables we can run.  If not, either
2535
 
# the compiler is broken, or we cross compile.
2536
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2537
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2538
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2539
 
# If not cross compiling, check that we can run a simple program.
2540
 
if test "$cross_compiling" != yes; then
2541
 
  if { ac_try='./$ac_file'
2542
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2543
 
  (eval $ac_try) 2>&5
2544
 
  ac_status=$?
2545
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546
 
  (exit $ac_status); }; }; then
2547
 
    cross_compiling=no
2548
 
  else
2549
 
    if test "$cross_compiling" = maybe; then
2550
 
        cross_compiling=yes
2551
 
    else
2552
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2553
 
If you meant to cross compile, use \`--host'.
2554
 
See \`config.log' for more details." >&5
2555
 
echo "$as_me: error: cannot run C compiled programs.
2556
 
If you meant to cross compile, use \`--host'.
2557
 
See \`config.log' for more details." >&2;}
2558
 
   { (exit 1); exit 1; }; }
2559
 
    fi
2560
 
  fi
2561
 
fi
2562
 
echo "$as_me:$LINENO: result: yes" >&5
2563
 
echo "${ECHO_T}yes" >&6
2564
 
 
2565
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2566
 
ac_clean_files=$ac_clean_files_save
2567
 
# Check the compiler produces executables we can run.  If not, either
2568
 
# the compiler is broken, or we cross compile.
2569
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2570
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2571
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2572
 
echo "${ECHO_T}$cross_compiling" >&6
2573
 
 
2574
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2575
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2576
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2577
 
  (eval $ac_link) 2>&5
2578
 
  ac_status=$?
2579
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2580
 
  (exit $ac_status); }; then
2581
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2582
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2583
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
2584
 
# `rm'.
2585
 
for ac_file in conftest.exe conftest conftest.*; do
2586
 
  test -f "$ac_file" || continue
2587
 
  case $ac_file in
2588
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2589
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2590
 
          export ac_cv_exeext
2591
 
          break;;
2592
 
    * ) break;;
2593
 
  esac
2594
 
done
2595
 
else
2596
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2597
 
See \`config.log' for more details." >&5
2598
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2599
 
See \`config.log' for more details." >&2;}
2600
 
   { (exit 1); exit 1; }; }
2601
 
fi
2602
 
 
2603
 
rm -f conftest$ac_cv_exeext
2604
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2605
 
echo "${ECHO_T}$ac_cv_exeext" >&6
2606
 
 
2607
 
rm -f conftest.$ac_ext
2608
 
EXEEXT=$ac_cv_exeext
2609
 
ac_exeext=$EXEEXT
2610
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2611
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2612
 
if test "${ac_cv_objext+set}" = set; then
2613
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2614
 
else
2615
 
  cat >conftest.$ac_ext <<_ACEOF
2616
 
/* confdefs.h.  */
2617
 
_ACEOF
2618
 
cat confdefs.h >>conftest.$ac_ext
2619
 
cat >>conftest.$ac_ext <<_ACEOF
2620
 
/* end confdefs.h.  */
2621
 
 
2622
 
int
2623
 
main ()
2624
 
{
2625
 
 
2626
 
  ;
2627
 
  return 0;
2628
 
}
2629
 
_ACEOF
2630
 
rm -f conftest.o conftest.obj
2631
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2632
 
  (eval $ac_compile) 2>&5
2633
 
  ac_status=$?
2634
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635
 
  (exit $ac_status); }; then
2636
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2637
 
  case $ac_file in
2638
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2639
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2640
 
       break;;
2641
 
  esac
2642
 
done
2643
 
else
2644
 
  echo "$as_me: failed program was:" >&5
2645
 
sed 's/^/| /' conftest.$ac_ext >&5
2646
 
 
2647
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2648
 
See \`config.log' for more details." >&5
2649
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2650
 
See \`config.log' for more details." >&2;}
2651
 
   { (exit 1); exit 1; }; }
2652
 
fi
2653
 
 
2654
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2655
 
fi
2656
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2657
 
echo "${ECHO_T}$ac_cv_objext" >&6
2658
 
OBJEXT=$ac_cv_objext
2659
 
ac_objext=$OBJEXT
2660
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2661
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2662
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2663
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2664
 
else
2665
 
  cat >conftest.$ac_ext <<_ACEOF
2666
 
/* confdefs.h.  */
2667
 
_ACEOF
2668
 
cat confdefs.h >>conftest.$ac_ext
2669
 
cat >>conftest.$ac_ext <<_ACEOF
2670
 
/* end confdefs.h.  */
2671
 
 
2672
 
int
2673
 
main ()
2674
 
{
2675
 
#ifndef __GNUC__
2676
 
       choke me
2677
 
#endif
2678
 
 
2679
 
  ;
2680
 
  return 0;
2681
 
}
2682
 
_ACEOF
2683
 
rm -f conftest.$ac_objext
2684
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2685
 
  (eval $ac_compile) 2>conftest.er1
2686
 
  ac_status=$?
2687
 
  grep -v '^ *+' conftest.er1 >conftest.err
2688
 
  rm -f conftest.er1
2689
 
  cat conftest.err >&5
2690
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2691
 
  (exit $ac_status); } &&
2692
 
         { ac_try='test -z "$ac_c_werror_flag"
2693
 
                         || test ! -s conftest.err'
2694
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2695
 
  (eval $ac_try) 2>&5
2696
 
  ac_status=$?
2697
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2698
 
  (exit $ac_status); }; } &&
2699
 
         { ac_try='test -s conftest.$ac_objext'
2700
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2701
 
  (eval $ac_try) 2>&5
2702
 
  ac_status=$?
2703
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2704
 
  (exit $ac_status); }; }; then
2705
 
  ac_compiler_gnu=yes
2706
 
else
2707
 
  echo "$as_me: failed program was:" >&5
2708
 
sed 's/^/| /' conftest.$ac_ext >&5
2709
 
 
2710
 
ac_compiler_gnu=no
2711
 
fi
2712
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2713
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2714
 
 
2715
 
fi
2716
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2717
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2718
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
2719
 
ac_test_CFLAGS=${CFLAGS+set}
2720
 
ac_save_CFLAGS=$CFLAGS
2721
 
CFLAGS="-g"
2722
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2723
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2724
 
if test "${ac_cv_prog_cc_g+set}" = set; then
2725
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2726
 
else
2727
 
  cat >conftest.$ac_ext <<_ACEOF
2728
 
/* confdefs.h.  */
2729
 
_ACEOF
2730
 
cat confdefs.h >>conftest.$ac_ext
2731
 
cat >>conftest.$ac_ext <<_ACEOF
2732
 
/* end confdefs.h.  */
2733
 
 
2734
 
int
2735
 
main ()
2736
 
{
2737
 
 
2738
 
  ;
2739
 
  return 0;
2740
 
}
2741
 
_ACEOF
2742
 
rm -f conftest.$ac_objext
2743
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2744
 
  (eval $ac_compile) 2>conftest.er1
2745
 
  ac_status=$?
2746
 
  grep -v '^ *+' conftest.er1 >conftest.err
2747
 
  rm -f conftest.er1
2748
 
  cat conftest.err >&5
2749
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750
 
  (exit $ac_status); } &&
2751
 
         { ac_try='test -z "$ac_c_werror_flag"
2752
 
                         || test ! -s conftest.err'
2753
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2754
 
  (eval $ac_try) 2>&5
2755
 
  ac_status=$?
2756
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2757
 
  (exit $ac_status); }; } &&
2758
 
         { ac_try='test -s conftest.$ac_objext'
2759
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2760
 
  (eval $ac_try) 2>&5
2761
 
  ac_status=$?
2762
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763
 
  (exit $ac_status); }; }; then
2764
 
  ac_cv_prog_cc_g=yes
2765
 
else
2766
 
  echo "$as_me: failed program was:" >&5
2767
 
sed 's/^/| /' conftest.$ac_ext >&5
2768
 
 
2769
 
ac_cv_prog_cc_g=no
2770
 
fi
2771
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2772
 
fi
2773
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2774
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2775
 
if test "$ac_test_CFLAGS" = set; then
2776
 
  CFLAGS=$ac_save_CFLAGS
2777
 
elif test $ac_cv_prog_cc_g = yes; then
2778
 
  if test "$GCC" = yes; then
2779
 
    CFLAGS="-g -O2"
2780
 
  else
2781
 
    CFLAGS="-g"
2782
 
  fi
2783
 
else
2784
 
  if test "$GCC" = yes; then
2785
 
    CFLAGS="-O2"
2786
 
  else
2787
 
    CFLAGS=
2788
 
  fi
2789
 
fi
2790
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2791
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2792
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2793
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2794
 
else
2795
 
  ac_cv_prog_cc_stdc=no
2796
 
ac_save_CC=$CC
2797
 
cat >conftest.$ac_ext <<_ACEOF
2798
 
/* confdefs.h.  */
2799
 
_ACEOF
2800
 
cat confdefs.h >>conftest.$ac_ext
2801
 
cat >>conftest.$ac_ext <<_ACEOF
2802
 
/* end confdefs.h.  */
2803
 
#include <stdarg.h>
2804
 
#include <stdio.h>
2805
 
#include <sys/types.h>
2806
 
#include <sys/stat.h>
2807
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2808
 
struct buf { int x; };
2809
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2810
 
static char *e (p, i)
2811
 
     char **p;
2812
 
     int i;
2813
 
{
2814
 
  return p[i];
2815
 
}
2816
 
static char *f (char * (*g) (char **, int), char **p, ...)
2817
 
{
2818
 
  char *s;
2819
 
  va_list v;
2820
 
  va_start (v,p);
2821
 
  s = g (p, va_arg (v,int));
2822
 
  va_end (v);
2823
 
  return s;
2824
 
}
2825
 
 
2826
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2827
 
   function prototypes and stuff, but not '\xHH' hex character constants.
2828
 
   These don't provoke an error unfortunately, instead are silently treated
2829
 
   as 'x'.  The following induces an error, until -std1 is added to get
2830
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2831
 
   array size at least.  It's necessary to write '\x00'==0 to get something
2832
 
   that's true only with -std1.  */
2833
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2834
 
 
2835
 
int test (int i, double x);
2836
 
struct s1 {int (*f) (int a);};
2837
 
struct s2 {int (*f) (double a);};
2838
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2839
 
int argc;
2840
 
char **argv;
2841
 
int
2842
 
main ()
2843
 
{
2844
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2845
 
  ;
2846
 
  return 0;
2847
 
}
2848
 
_ACEOF
2849
 
# Don't try gcc -ansi; that turns off useful extensions and
2850
 
# breaks some systems' header files.
2851
 
# AIX                   -qlanglvl=ansi
2852
 
# Ultrix and OSF/1      -std1
2853
 
# HP-UX 10.20 and later -Ae
2854
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2855
 
# SVR4                  -Xc -D__EXTENSIONS__
2856
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2857
 
do
2858
 
  CC="$ac_save_CC $ac_arg"
2859
 
  rm -f conftest.$ac_objext
2860
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2861
 
  (eval $ac_compile) 2>conftest.er1
2862
 
  ac_status=$?
2863
 
  grep -v '^ *+' conftest.er1 >conftest.err
2864
 
  rm -f conftest.er1
2865
 
  cat conftest.err >&5
2866
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867
 
  (exit $ac_status); } &&
2868
 
         { ac_try='test -z "$ac_c_werror_flag"
2869
 
                         || test ! -s conftest.err'
2870
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2871
 
  (eval $ac_try) 2>&5
2872
 
  ac_status=$?
2873
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874
 
  (exit $ac_status); }; } &&
2875
 
         { ac_try='test -s conftest.$ac_objext'
2876
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2877
 
  (eval $ac_try) 2>&5
2878
 
  ac_status=$?
2879
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880
 
  (exit $ac_status); }; }; then
2881
 
  ac_cv_prog_cc_stdc=$ac_arg
2882
 
break
2883
 
else
2884
 
  echo "$as_me: failed program was:" >&5
2885
 
sed 's/^/| /' conftest.$ac_ext >&5
2886
 
 
2887
 
fi
2888
 
rm -f conftest.err conftest.$ac_objext
2889
 
done
2890
 
rm -f conftest.$ac_ext conftest.$ac_objext
2891
 
CC=$ac_save_CC
2892
 
 
2893
 
fi
2894
 
 
2895
 
case "x$ac_cv_prog_cc_stdc" in
2896
 
  x|xno)
2897
 
    echo "$as_me:$LINENO: result: none needed" >&5
2898
 
echo "${ECHO_T}none needed" >&6 ;;
2899
 
  *)
2900
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2901
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2902
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
2903
 
esac
2904
 
 
2905
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2906
 
# in C++ we need to declare it.  In case someone uses the same compiler
2907
 
# for both compiling C and C++ we need to have the C++ compiler decide
2908
 
# the declaration of exit, since it's the most demanding environment.
2909
 
cat >conftest.$ac_ext <<_ACEOF
2910
 
#ifndef __cplusplus
2911
 
  choke me
2912
 
#endif
2913
 
_ACEOF
2914
 
rm -f conftest.$ac_objext
2915
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2916
 
  (eval $ac_compile) 2>conftest.er1
2917
 
  ac_status=$?
2918
 
  grep -v '^ *+' conftest.er1 >conftest.err
2919
 
  rm -f conftest.er1
2920
 
  cat conftest.err >&5
2921
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922
 
  (exit $ac_status); } &&
2923
 
         { ac_try='test -z "$ac_c_werror_flag"
2924
 
                         || test ! -s conftest.err'
2925
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2926
 
  (eval $ac_try) 2>&5
2927
 
  ac_status=$?
2928
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2929
 
  (exit $ac_status); }; } &&
2930
 
         { ac_try='test -s conftest.$ac_objext'
2931
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2932
 
  (eval $ac_try) 2>&5
2933
 
  ac_status=$?
2934
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935
 
  (exit $ac_status); }; }; then
2936
 
  for ac_declaration in \
2937
 
   '' \
2938
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2939
 
   'extern "C" void std::exit (int); using std::exit;' \
2940
 
   'extern "C" void exit (int) throw ();' \
2941
 
   'extern "C" void exit (int);' \
2942
 
   'void exit (int);'
2943
 
do
2944
 
  cat >conftest.$ac_ext <<_ACEOF
2945
 
/* confdefs.h.  */
2946
 
_ACEOF
2947
 
cat confdefs.h >>conftest.$ac_ext
2948
 
cat >>conftest.$ac_ext <<_ACEOF
2949
 
/* end confdefs.h.  */
2950
 
$ac_declaration
2951
 
#include <stdlib.h>
2952
 
int
2953
 
main ()
2954
 
{
2955
 
exit (42);
2956
 
  ;
2957
 
  return 0;
2958
 
}
2959
 
_ACEOF
2960
 
rm -f conftest.$ac_objext
2961
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2962
 
  (eval $ac_compile) 2>conftest.er1
2963
 
  ac_status=$?
2964
 
  grep -v '^ *+' conftest.er1 >conftest.err
2965
 
  rm -f conftest.er1
2966
 
  cat conftest.err >&5
2967
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968
 
  (exit $ac_status); } &&
2969
 
         { ac_try='test -z "$ac_c_werror_flag"
2970
 
                         || test ! -s conftest.err'
2971
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2972
 
  (eval $ac_try) 2>&5
2973
 
  ac_status=$?
2974
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975
 
  (exit $ac_status); }; } &&
2976
 
         { ac_try='test -s conftest.$ac_objext'
2977
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2978
 
  (eval $ac_try) 2>&5
2979
 
  ac_status=$?
2980
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981
 
  (exit $ac_status); }; }; then
2982
 
  :
2983
 
else
2984
 
  echo "$as_me: failed program was:" >&5
2985
 
sed 's/^/| /' conftest.$ac_ext >&5
2986
 
 
2987
 
continue
2988
 
fi
2989
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2990
 
  cat >conftest.$ac_ext <<_ACEOF
2991
 
/* confdefs.h.  */
2992
 
_ACEOF
2993
 
cat confdefs.h >>conftest.$ac_ext
2994
 
cat >>conftest.$ac_ext <<_ACEOF
2995
 
/* end confdefs.h.  */
2996
 
$ac_declaration
2997
 
int
2998
 
main ()
2999
 
{
3000
 
exit (42);
3001
 
  ;
3002
 
  return 0;
3003
 
}
3004
 
_ACEOF
3005
 
rm -f conftest.$ac_objext
3006
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3007
 
  (eval $ac_compile) 2>conftest.er1
3008
 
  ac_status=$?
3009
 
  grep -v '^ *+' conftest.er1 >conftest.err
3010
 
  rm -f conftest.er1
3011
 
  cat conftest.err >&5
3012
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3013
 
  (exit $ac_status); } &&
3014
 
         { ac_try='test -z "$ac_c_werror_flag"
3015
 
                         || test ! -s conftest.err'
3016
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3017
 
  (eval $ac_try) 2>&5
3018
 
  ac_status=$?
3019
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020
 
  (exit $ac_status); }; } &&
3021
 
         { ac_try='test -s conftest.$ac_objext'
3022
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3023
 
  (eval $ac_try) 2>&5
3024
 
  ac_status=$?
3025
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3026
 
  (exit $ac_status); }; }; then
3027
 
  break
3028
 
else
3029
 
  echo "$as_me: failed program was:" >&5
3030
 
sed 's/^/| /' conftest.$ac_ext >&5
3031
 
 
3032
 
fi
3033
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3034
 
done
3035
 
rm -f conftest*
3036
 
if test -n "$ac_declaration"; then
3037
 
  echo '#ifdef __cplusplus' >>confdefs.h
3038
 
  echo $ac_declaration      >>confdefs.h
3039
 
  echo '#endif'             >>confdefs.h
3040
 
fi
3041
 
 
3042
 
else
3043
 
  echo "$as_me: failed program was:" >&5
3044
 
sed 's/^/| /' conftest.$ac_ext >&5
3045
 
 
3046
 
fi
3047
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3048
 
ac_ext=c
3049
 
ac_cpp='$CPP $CPPFLAGS'
3050
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3051
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3052
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3053
 
DEPDIR="${am__leading_dot}deps"
3054
 
 
3055
 
          ac_config_commands="$ac_config_commands depfiles"
3056
 
 
3057
 
 
3058
 
am_make=${MAKE-make}
3059
 
cat > confinc << 'END'
3060
 
am__doit:
3061
 
        @echo done
3062
 
.PHONY: am__doit
3063
 
END
3064
 
# If we don't find an include directive, just comment out the code.
3065
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3066
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3067
 
am__include="#"
3068
 
am__quote=
3069
 
_am_result=none
3070
 
# First try GNU make style include.
3071
 
echo "include confinc" > confmf
3072
 
# We grep out `Entering directory' and `Leaving directory'
3073
 
# messages which can occur if `w' ends up in MAKEFLAGS.
3074
 
# In particular we don't look at `^make:' because GNU make might
3075
 
# be invoked under some other name (usually "gmake"), in which
3076
 
# case it prints its new name instead of `make'.
3077
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3078
 
   am__include=include
3079
 
   am__quote=
3080
 
   _am_result=GNU
3081
 
fi
3082
 
# Now try BSD make style include.
3083
 
if test "$am__include" = "#"; then
3084
 
   echo '.include "confinc"' > confmf
3085
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3086
 
      am__include=.include
3087
 
      am__quote="\""
3088
 
      _am_result=BSD
3089
 
   fi
3090
 
fi
3091
 
 
3092
 
 
3093
 
echo "$as_me:$LINENO: result: $_am_result" >&5
3094
 
echo "${ECHO_T}$_am_result" >&6
3095
 
rm -f confinc confmf
3096
 
 
3097
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3098
 
if test "${enable_dependency_tracking+set}" = set; then
3099
 
  enableval="$enable_dependency_tracking"
3100
 
 
3101
 
fi;
3102
 
if test "x$enable_dependency_tracking" != xno; then
3103
 
  am_depcomp="$ac_aux_dir/depcomp"
3104
 
  AMDEPBACKSLASH='\'
3105
 
fi
3106
 
 
3107
 
 
3108
 
if test "x$enable_dependency_tracking" != xno; then
3109
 
  AMDEP_TRUE=
3110
 
  AMDEP_FALSE='#'
3111
 
else
3112
 
  AMDEP_TRUE='#'
3113
 
  AMDEP_FALSE=
3114
 
fi
3115
 
 
3116
 
 
3117
 
 
3118
 
 
3119
 
depcc="$CC"   am_compiler_list=
3120
 
 
3121
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3122
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3123
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3124
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3125
 
else
3126
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3127
 
  # We make a subdir and do the tests there.  Otherwise we can end up
3128
 
  # making bogus files that we don't know about and never remove.  For
3129
 
  # instance it was reported that on HP-UX the gcc test will end up
3130
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3131
 
  # in D'.
3132
 
  mkdir conftest.dir
3133
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
3134
 
  # using a relative directory.
3135
 
  cp "$am_depcomp" conftest.dir
3136
 
  cd conftest.dir
3137
 
  # We will build objects and dependencies in a subdirectory because
3138
 
  # it helps to detect inapplicable dependency modes.  For instance
3139
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
3140
 
  # side effect of compilation, but ICC will put the dependencies in
3141
 
  # the current directory while Tru64 will put them in the object
3142
 
  # directory.
3143
 
  mkdir sub
3144
 
 
3145
 
  am_cv_CC_dependencies_compiler_type=none
3146
 
  if test "$am_compiler_list" = ""; then
3147
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3148
 
  fi
3149
 
  for depmode in $am_compiler_list; do
3150
 
    # Setup a source with many dependencies, because some compilers
3151
 
    # like to wrap large dependency lists on column 80 (with \), and
3152
 
    # we should not choose a depcomp mode which is confused by this.
3153
 
    #
3154
 
    # We need to recreate these files for each test, as the compiler may
3155
 
    # overwrite some of them when testing with obscure command lines.
3156
 
    # This happens at least with the AIX C compiler.
3157
 
    : > sub/conftest.c
3158
 
    for i in 1 2 3 4 5 6; do
3159
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3160
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3161
 
      # Solaris 8's {/usr,}/bin/sh.
3162
 
      touch sub/conftst$i.h
3163
 
    done
3164
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3165
 
 
3166
 
    case $depmode in
3167
 
    nosideeffect)
3168
 
      # after this tag, mechanisms are not by side-effect, so they'll
3169
 
      # only be used when explicitly requested
3170
 
      if test "x$enable_dependency_tracking" = xyes; then
3171
 
        continue
3172
 
      else
3173
 
        break
3174
 
      fi
3175
 
      ;;
3176
 
    none) break ;;
3177
 
    esac
3178
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3179
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3180
 
    # handle `-M -o', and we need to detect this.
3181
 
    if depmode=$depmode \
3182
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3183
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3184
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3185
 
         >/dev/null 2>conftest.err &&
3186
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3187
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3188
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3189
 
      # icc doesn't choke on unknown options, it will just issue warnings
3190
 
      # or remarks (even with -Werror).  So we grep stderr for any message
3191
 
      # that says an option was ignored or not supported.
3192
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3193
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
3194
 
      # The diagnosis changed in icc 8.0:
3195
 
      #   icc: Command line remark: option '-MP' not supported
3196
 
      if (grep 'ignoring option' conftest.err ||
3197
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3198
 
        am_cv_CC_dependencies_compiler_type=$depmode
3199
 
        break
3200
 
      fi
3201
 
    fi
3202
 
  done
3203
 
 
3204
 
  cd ..
3205
 
  rm -rf conftest.dir
3206
 
else
3207
 
  am_cv_CC_dependencies_compiler_type=none
3208
 
fi
3209
 
 
3210
 
fi
3211
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3212
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3213
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3214
 
 
3215
 
 
3216
 
 
3217
 
if
3218
 
  test "x$enable_dependency_tracking" != xno \
3219
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3220
 
  am__fastdepCC_TRUE=
3221
 
  am__fastdepCC_FALSE='#'
3222
 
else
3223
 
  am__fastdepCC_TRUE='#'
3224
 
  am__fastdepCC_FALSE=
3225
 
fi
3226
 
 
3227
 
 
3228
 
ac_ext=c
3229
 
ac_cpp='$CPP $CPPFLAGS'
3230
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3231
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3232
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3233
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3234
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3235
 
# On Suns, sometimes $CPP names a directory.
3236
 
if test -n "$CPP" && test -d "$CPP"; then
3237
 
  CPP=
3238
 
fi
3239
 
if test -z "$CPP"; then
3240
 
  if test "${ac_cv_prog_CPP+set}" = set; then
3241
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3242
 
else
3243
 
      # Double quotes because CPP needs to be expanded
3244
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3245
 
    do
3246
 
      ac_preproc_ok=false
3247
 
for ac_c_preproc_warn_flag in '' yes
3248
 
do
3249
 
  # Use a header file that comes with gcc, so configuring glibc
3250
 
  # with a fresh cross-compiler works.
3251
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3252
 
  # <limits.h> exists even on freestanding compilers.
3253
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
3254
 
  # not just through cpp. "Syntax error" is here to catch this case.
3255
 
  cat >conftest.$ac_ext <<_ACEOF
3256
 
/* confdefs.h.  */
3257
 
_ACEOF
3258
 
cat confdefs.h >>conftest.$ac_ext
3259
 
cat >>conftest.$ac_ext <<_ACEOF
3260
 
/* end confdefs.h.  */
3261
 
#ifdef __STDC__
3262
 
# include <limits.h>
3263
 
#else
3264
 
# include <assert.h>
3265
 
#endif
3266
 
                     Syntax error
3267
 
_ACEOF
3268
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3269
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3270
 
  ac_status=$?
3271
 
  grep -v '^ *+' conftest.er1 >conftest.err
3272
 
  rm -f conftest.er1
3273
 
  cat conftest.err >&5
3274
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3275
 
  (exit $ac_status); } >/dev/null; then
3276
 
  if test -s conftest.err; then
3277
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3278
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3279
 
  else
3280
 
    ac_cpp_err=
3281
 
  fi
3282
 
else
3283
 
  ac_cpp_err=yes
3284
 
fi
3285
 
if test -z "$ac_cpp_err"; then
3286
 
  :
3287
 
else
3288
 
  echo "$as_me: failed program was:" >&5
3289
 
sed 's/^/| /' conftest.$ac_ext >&5
3290
 
 
3291
 
  # Broken: fails on valid input.
3292
 
continue
3293
 
fi
3294
 
rm -f conftest.err conftest.$ac_ext
3295
 
 
3296
 
  # OK, works on sane cases.  Now check whether non-existent headers
3297
 
  # can be detected and how.
3298
 
  cat >conftest.$ac_ext <<_ACEOF
3299
 
/* confdefs.h.  */
3300
 
_ACEOF
3301
 
cat confdefs.h >>conftest.$ac_ext
3302
 
cat >>conftest.$ac_ext <<_ACEOF
3303
 
/* end confdefs.h.  */
3304
 
#include <ac_nonexistent.h>
3305
 
_ACEOF
3306
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3307
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3308
 
  ac_status=$?
3309
 
  grep -v '^ *+' conftest.er1 >conftest.err
3310
 
  rm -f conftest.er1
3311
 
  cat conftest.err >&5
3312
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3313
 
  (exit $ac_status); } >/dev/null; then
3314
 
  if test -s conftest.err; then
3315
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3316
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3317
 
  else
3318
 
    ac_cpp_err=
3319
 
  fi
3320
 
else
3321
 
  ac_cpp_err=yes
3322
 
fi
3323
 
if test -z "$ac_cpp_err"; then
3324
 
  # Broken: success on invalid input.
3325
 
continue
3326
 
else
3327
 
  echo "$as_me: failed program was:" >&5
3328
 
sed 's/^/| /' conftest.$ac_ext >&5
3329
 
 
3330
 
  # Passes both tests.
3331
 
ac_preproc_ok=:
3332
 
break
3333
 
fi
3334
 
rm -f conftest.err conftest.$ac_ext
3335
 
 
3336
 
done
3337
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3338
 
rm -f conftest.err conftest.$ac_ext
3339
 
if $ac_preproc_ok; then
3340
 
  break
3341
 
fi
3342
 
 
3343
 
    done
3344
 
    ac_cv_prog_CPP=$CPP
3345
 
 
3346
 
fi
3347
 
  CPP=$ac_cv_prog_CPP
3348
 
else
3349
 
  ac_cv_prog_CPP=$CPP
3350
 
fi
3351
 
echo "$as_me:$LINENO: result: $CPP" >&5
3352
 
echo "${ECHO_T}$CPP" >&6
3353
 
ac_preproc_ok=false
3354
 
for ac_c_preproc_warn_flag in '' yes
3355
 
do
3356
 
  # Use a header file that comes with gcc, so configuring glibc
3357
 
  # with a fresh cross-compiler works.
3358
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3359
 
  # <limits.h> exists even on freestanding compilers.
3360
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
3361
 
  # not just through cpp. "Syntax error" is here to catch this case.
3362
 
  cat >conftest.$ac_ext <<_ACEOF
3363
 
/* confdefs.h.  */
3364
 
_ACEOF
3365
 
cat confdefs.h >>conftest.$ac_ext
3366
 
cat >>conftest.$ac_ext <<_ACEOF
3367
 
/* end confdefs.h.  */
3368
 
#ifdef __STDC__
3369
 
# include <limits.h>
3370
 
#else
3371
 
# include <assert.h>
3372
 
#endif
3373
 
                     Syntax error
3374
 
_ACEOF
3375
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3376
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3377
 
  ac_status=$?
3378
 
  grep -v '^ *+' conftest.er1 >conftest.err
3379
 
  rm -f conftest.er1
3380
 
  cat conftest.err >&5
3381
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3382
 
  (exit $ac_status); } >/dev/null; then
3383
 
  if test -s conftest.err; then
3384
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3385
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3386
 
  else
3387
 
    ac_cpp_err=
3388
 
  fi
3389
 
else
3390
 
  ac_cpp_err=yes
3391
 
fi
3392
 
if test -z "$ac_cpp_err"; then
3393
 
  :
3394
 
else
3395
 
  echo "$as_me: failed program was:" >&5
3396
 
sed 's/^/| /' conftest.$ac_ext >&5
3397
 
 
3398
 
  # Broken: fails on valid input.
3399
 
continue
3400
 
fi
3401
 
rm -f conftest.err conftest.$ac_ext
3402
 
 
3403
 
  # OK, works on sane cases.  Now check whether non-existent headers
3404
 
  # can be detected and how.
3405
 
  cat >conftest.$ac_ext <<_ACEOF
3406
 
/* confdefs.h.  */
3407
 
_ACEOF
3408
 
cat confdefs.h >>conftest.$ac_ext
3409
 
cat >>conftest.$ac_ext <<_ACEOF
3410
 
/* end confdefs.h.  */
3411
 
#include <ac_nonexistent.h>
3412
 
_ACEOF
3413
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3414
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3415
 
  ac_status=$?
3416
 
  grep -v '^ *+' conftest.er1 >conftest.err
3417
 
  rm -f conftest.er1
3418
 
  cat conftest.err >&5
3419
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3420
 
  (exit $ac_status); } >/dev/null; then
3421
 
  if test -s conftest.err; then
3422
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3423
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3424
 
  else
3425
 
    ac_cpp_err=
3426
 
  fi
3427
 
else
3428
 
  ac_cpp_err=yes
3429
 
fi
3430
 
if test -z "$ac_cpp_err"; then
3431
 
  # Broken: success on invalid input.
3432
 
continue
3433
 
else
3434
 
  echo "$as_me: failed program was:" >&5
3435
 
sed 's/^/| /' conftest.$ac_ext >&5
3436
 
 
3437
 
  # Passes both tests.
3438
 
ac_preproc_ok=:
3439
 
break
3440
 
fi
3441
 
rm -f conftest.err conftest.$ac_ext
3442
 
 
3443
 
done
3444
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3445
 
rm -f conftest.err conftest.$ac_ext
3446
 
if $ac_preproc_ok; then
3447
 
  :
3448
 
else
3449
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3450
 
See \`config.log' for more details." >&5
3451
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3452
 
See \`config.log' for more details." >&2;}
3453
 
   { (exit 1); exit 1; }; }
3454
 
fi
3455
 
 
3456
 
ac_ext=c
3457
 
ac_cpp='$CPP $CPPFLAGS'
3458
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3459
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3460
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3461
 
 
3462
 
ac_ext=cc
3463
 
ac_cpp='$CXXCPP $CPPFLAGS'
3464
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3465
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3466
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3467
 
if test -n "$ac_tool_prefix"; then
3468
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3469
 
  do
3470
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3471
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3472
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3473
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3474
 
if test "${ac_cv_prog_CXX+set}" = set; then
3475
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3476
 
else
3477
 
  if test -n "$CXX"; then
3478
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
3479
 
else
3480
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3481
 
for as_dir in $PATH
3482
 
do
3483
 
  IFS=$as_save_IFS
3484
 
  test -z "$as_dir" && as_dir=.
3485
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3486
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3487
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3488
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3489
 
    break 2
3490
 
  fi
3491
 
done
3492
 
done
3493
 
 
3494
 
fi
3495
 
fi
3496
 
CXX=$ac_cv_prog_CXX
3497
 
if test -n "$CXX"; then
3498
 
  echo "$as_me:$LINENO: result: $CXX" >&5
3499
 
echo "${ECHO_T}$CXX" >&6
3500
 
else
3501
 
  echo "$as_me:$LINENO: result: no" >&5
3502
 
echo "${ECHO_T}no" >&6
3503
 
fi
3504
 
 
3505
 
    test -n "$CXX" && break
3506
 
  done
3507
 
fi
3508
 
if test -z "$CXX"; then
3509
 
  ac_ct_CXX=$CXX
3510
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3511
 
do
3512
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3513
 
set dummy $ac_prog; ac_word=$2
3514
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3515
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3516
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3517
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3518
 
else
3519
 
  if test -n "$ac_ct_CXX"; then
3520
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3521
 
else
3522
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3523
 
for as_dir in $PATH
3524
 
do
3525
 
  IFS=$as_save_IFS
3526
 
  test -z "$as_dir" && as_dir=.
3527
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3528
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3529
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
3530
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3531
 
    break 2
3532
 
  fi
3533
 
done
3534
 
done
3535
 
 
3536
 
fi
3537
 
fi
3538
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3539
 
if test -n "$ac_ct_CXX"; then
3540
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3541
 
echo "${ECHO_T}$ac_ct_CXX" >&6
3542
 
else
3543
 
  echo "$as_me:$LINENO: result: no" >&5
3544
 
echo "${ECHO_T}no" >&6
3545
 
fi
3546
 
 
3547
 
  test -n "$ac_ct_CXX" && break
3548
 
done
3549
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3550
 
 
3551
 
  CXX=$ac_ct_CXX
3552
 
fi
3553
 
 
3554
 
 
3555
 
# Provide some information about the compiler.
3556
 
echo "$as_me:$LINENO:" \
3557
 
     "checking for C++ compiler version" >&5
3558
 
ac_compiler=`set X $ac_compile; echo $2`
3559
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3560
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
3561
 
  ac_status=$?
3562
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3563
 
  (exit $ac_status); }
3564
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3565
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
3566
 
  ac_status=$?
3567
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3568
 
  (exit $ac_status); }
3569
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3570
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
3571
 
  ac_status=$?
3572
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3573
 
  (exit $ac_status); }
3574
 
 
3575
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3576
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3577
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3578
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3579
 
else
3580
 
  cat >conftest.$ac_ext <<_ACEOF
3581
 
/* confdefs.h.  */
3582
 
_ACEOF
3583
 
cat confdefs.h >>conftest.$ac_ext
3584
 
cat >>conftest.$ac_ext <<_ACEOF
3585
 
/* end confdefs.h.  */
3586
 
 
3587
 
int
3588
 
main ()
3589
 
{
3590
 
#ifndef __GNUC__
3591
 
       choke me
3592
 
#endif
3593
 
 
3594
 
  ;
3595
 
  return 0;
3596
 
}
3597
 
_ACEOF
3598
 
rm -f conftest.$ac_objext
3599
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3600
 
  (eval $ac_compile) 2>conftest.er1
3601
 
  ac_status=$?
3602
 
  grep -v '^ *+' conftest.er1 >conftest.err
3603
 
  rm -f conftest.er1
3604
 
  cat conftest.err >&5
3605
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606
 
  (exit $ac_status); } &&
3607
 
         { ac_try='test -z "$ac_cxx_werror_flag"
3608
 
                         || test ! -s conftest.err'
3609
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3610
 
  (eval $ac_try) 2>&5
3611
 
  ac_status=$?
3612
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613
 
  (exit $ac_status); }; } &&
3614
 
         { ac_try='test -s conftest.$ac_objext'
3615
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3616
 
  (eval $ac_try) 2>&5
3617
 
  ac_status=$?
3618
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619
 
  (exit $ac_status); }; }; then
3620
 
  ac_compiler_gnu=yes
3621
 
else
3622
 
  echo "$as_me: failed program was:" >&5
3623
 
sed 's/^/| /' conftest.$ac_ext >&5
3624
 
 
3625
 
ac_compiler_gnu=no
3626
 
fi
3627
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3628
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3629
 
 
3630
 
fi
3631
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3632
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3633
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
3634
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
3635
 
ac_save_CXXFLAGS=$CXXFLAGS
3636
 
CXXFLAGS="-g"
3637
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3638
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3639
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
3640
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3641
 
else
3642
 
  cat >conftest.$ac_ext <<_ACEOF
3643
 
/* confdefs.h.  */
3644
 
_ACEOF
3645
 
cat confdefs.h >>conftest.$ac_ext
3646
 
cat >>conftest.$ac_ext <<_ACEOF
3647
 
/* end confdefs.h.  */
3648
 
 
3649
 
int
3650
 
main ()
3651
 
{
3652
 
 
3653
 
  ;
3654
 
  return 0;
3655
 
}
3656
 
_ACEOF
3657
 
rm -f conftest.$ac_objext
3658
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3659
 
  (eval $ac_compile) 2>conftest.er1
3660
 
  ac_status=$?
3661
 
  grep -v '^ *+' conftest.er1 >conftest.err
3662
 
  rm -f conftest.er1
3663
 
  cat conftest.err >&5
3664
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3665
 
  (exit $ac_status); } &&
3666
 
         { ac_try='test -z "$ac_cxx_werror_flag"
3667
 
                         || test ! -s conftest.err'
3668
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3669
 
  (eval $ac_try) 2>&5
3670
 
  ac_status=$?
3671
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672
 
  (exit $ac_status); }; } &&
3673
 
         { ac_try='test -s conftest.$ac_objext'
3674
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3675
 
  (eval $ac_try) 2>&5
3676
 
  ac_status=$?
3677
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3678
 
  (exit $ac_status); }; }; then
3679
 
  ac_cv_prog_cxx_g=yes
3680
 
else
3681
 
  echo "$as_me: failed program was:" >&5
3682
 
sed 's/^/| /' conftest.$ac_ext >&5
3683
 
 
3684
 
ac_cv_prog_cxx_g=no
3685
 
fi
3686
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3687
 
fi
3688
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3689
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3690
 
if test "$ac_test_CXXFLAGS" = set; then
3691
 
  CXXFLAGS=$ac_save_CXXFLAGS
3692
 
elif test $ac_cv_prog_cxx_g = yes; then
3693
 
  if test "$GXX" = yes; then
3694
 
    CXXFLAGS="-g -O2"
3695
 
  else
3696
 
    CXXFLAGS="-g"
3697
 
  fi
3698
 
else
3699
 
  if test "$GXX" = yes; then
3700
 
    CXXFLAGS="-O2"
3701
 
  else
3702
 
    CXXFLAGS=
3703
 
  fi
3704
 
fi
3705
 
for ac_declaration in \
3706
 
   '' \
3707
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
3708
 
   'extern "C" void std::exit (int); using std::exit;' \
3709
 
   'extern "C" void exit (int) throw ();' \
3710
 
   'extern "C" void exit (int);' \
3711
 
   'void exit (int);'
3712
 
do
3713
 
  cat >conftest.$ac_ext <<_ACEOF
3714
 
/* confdefs.h.  */
3715
 
_ACEOF
3716
 
cat confdefs.h >>conftest.$ac_ext
3717
 
cat >>conftest.$ac_ext <<_ACEOF
3718
 
/* end confdefs.h.  */
3719
 
$ac_declaration
3720
 
#include <stdlib.h>
3721
 
int
3722
 
main ()
3723
 
{
3724
 
exit (42);
3725
 
  ;
3726
 
  return 0;
3727
 
}
3728
 
_ACEOF
3729
 
rm -f conftest.$ac_objext
3730
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3731
 
  (eval $ac_compile) 2>conftest.er1
3732
 
  ac_status=$?
3733
 
  grep -v '^ *+' conftest.er1 >conftest.err
3734
 
  rm -f conftest.er1
3735
 
  cat conftest.err >&5
3736
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3737
 
  (exit $ac_status); } &&
3738
 
         { ac_try='test -z "$ac_cxx_werror_flag"
3739
 
                         || test ! -s conftest.err'
3740
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3741
 
  (eval $ac_try) 2>&5
3742
 
  ac_status=$?
3743
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3744
 
  (exit $ac_status); }; } &&
3745
 
         { ac_try='test -s conftest.$ac_objext'
3746
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3747
 
  (eval $ac_try) 2>&5
3748
 
  ac_status=$?
3749
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3750
 
  (exit $ac_status); }; }; then
3751
 
  :
3752
 
else
3753
 
  echo "$as_me: failed program was:" >&5
3754
 
sed 's/^/| /' conftest.$ac_ext >&5
3755
 
 
3756
 
continue
3757
 
fi
3758
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3759
 
  cat >conftest.$ac_ext <<_ACEOF
3760
 
/* confdefs.h.  */
3761
 
_ACEOF
3762
 
cat confdefs.h >>conftest.$ac_ext
3763
 
cat >>conftest.$ac_ext <<_ACEOF
3764
 
/* end confdefs.h.  */
3765
 
$ac_declaration
3766
 
int
3767
 
main ()
3768
 
{
3769
 
exit (42);
3770
 
  ;
3771
 
  return 0;
3772
 
}
3773
 
_ACEOF
3774
 
rm -f conftest.$ac_objext
3775
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3776
 
  (eval $ac_compile) 2>conftest.er1
3777
 
  ac_status=$?
3778
 
  grep -v '^ *+' conftest.er1 >conftest.err
3779
 
  rm -f conftest.er1
3780
 
  cat conftest.err >&5
3781
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3782
 
  (exit $ac_status); } &&
3783
 
         { ac_try='test -z "$ac_cxx_werror_flag"
3784
 
                         || test ! -s conftest.err'
3785
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3786
 
  (eval $ac_try) 2>&5
3787
 
  ac_status=$?
3788
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3789
 
  (exit $ac_status); }; } &&
3790
 
         { ac_try='test -s conftest.$ac_objext'
3791
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3792
 
  (eval $ac_try) 2>&5
3793
 
  ac_status=$?
3794
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795
 
  (exit $ac_status); }; }; then
3796
 
  break
3797
 
else
3798
 
  echo "$as_me: failed program was:" >&5
3799
 
sed 's/^/| /' conftest.$ac_ext >&5
3800
 
 
3801
 
fi
3802
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3803
 
done
3804
 
rm -f conftest*
3805
 
if test -n "$ac_declaration"; then
3806
 
  echo '#ifdef __cplusplus' >>confdefs.h
3807
 
  echo $ac_declaration      >>confdefs.h
3808
 
  echo '#endif'             >>confdefs.h
3809
 
fi
3810
 
 
3811
 
ac_ext=c
3812
 
ac_cpp='$CPP $CPPFLAGS'
3813
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3814
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3815
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3816
 
 
3817
 
depcc="$CXX"  am_compiler_list=
3818
 
 
3819
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3820
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3821
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3822
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3823
 
else
3824
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3825
 
  # We make a subdir and do the tests there.  Otherwise we can end up
3826
 
  # making bogus files that we don't know about and never remove.  For
3827
 
  # instance it was reported that on HP-UX the gcc test will end up
3828
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3829
 
  # in D'.
3830
 
  mkdir conftest.dir
3831
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
3832
 
  # using a relative directory.
3833
 
  cp "$am_depcomp" conftest.dir
3834
 
  cd conftest.dir
3835
 
  # We will build objects and dependencies in a subdirectory because
3836
 
  # it helps to detect inapplicable dependency modes.  For instance
3837
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
3838
 
  # side effect of compilation, but ICC will put the dependencies in
3839
 
  # the current directory while Tru64 will put them in the object
3840
 
  # directory.
3841
 
  mkdir sub
3842
 
 
3843
 
  am_cv_CXX_dependencies_compiler_type=none
3844
 
  if test "$am_compiler_list" = ""; then
3845
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3846
 
  fi
3847
 
  for depmode in $am_compiler_list; do
3848
 
    # Setup a source with many dependencies, because some compilers
3849
 
    # like to wrap large dependency lists on column 80 (with \), and
3850
 
    # we should not choose a depcomp mode which is confused by this.
3851
 
    #
3852
 
    # We need to recreate these files for each test, as the compiler may
3853
 
    # overwrite some of them when testing with obscure command lines.
3854
 
    # This happens at least with the AIX C compiler.
3855
 
    : > sub/conftest.c
3856
 
    for i in 1 2 3 4 5 6; do
3857
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3858
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3859
 
      # Solaris 8's {/usr,}/bin/sh.
3860
 
      touch sub/conftst$i.h
3861
 
    done
3862
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3863
 
 
3864
 
    case $depmode in
3865
 
    nosideeffect)
3866
 
      # after this tag, mechanisms are not by side-effect, so they'll
3867
 
      # only be used when explicitly requested
3868
 
      if test "x$enable_dependency_tracking" = xyes; then
3869
 
        continue
3870
 
      else
3871
 
        break
3872
 
      fi
3873
 
      ;;
3874
 
    none) break ;;
3875
 
    esac
3876
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3877
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3878
 
    # handle `-M -o', and we need to detect this.
3879
 
    if depmode=$depmode \
3880
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3881
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3882
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3883
 
         >/dev/null 2>conftest.err &&
3884
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3885
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3886
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3887
 
      # icc doesn't choke on unknown options, it will just issue warnings
3888
 
      # or remarks (even with -Werror).  So we grep stderr for any message
3889
 
      # that says an option was ignored or not supported.
3890
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3891
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
3892
 
      # The diagnosis changed in icc 8.0:
3893
 
      #   icc: Command line remark: option '-MP' not supported
3894
 
      if (grep 'ignoring option' conftest.err ||
3895
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3896
 
        am_cv_CXX_dependencies_compiler_type=$depmode
3897
 
        break
3898
 
      fi
3899
 
    fi
3900
 
  done
3901
 
 
3902
 
  cd ..
3903
 
  rm -rf conftest.dir
3904
 
else
3905
 
  am_cv_CXX_dependencies_compiler_type=none
3906
 
fi
3907
 
 
3908
 
fi
3909
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3910
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3911
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3912
 
 
3913
 
 
3914
 
 
3915
 
if
3916
 
  test "x$enable_dependency_tracking" != xno \
3917
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3918
 
  am__fastdepCXX_TRUE=
3919
 
  am__fastdepCXX_FALSE='#'
3920
 
else
3921
 
  am__fastdepCXX_TRUE='#'
3922
 
  am__fastdepCXX_FALSE=
3923
 
fi
3924
 
 
3925
 
 
3926
 
 
3927
 
# Extract the first word of "apxs", so it can be a program name with args.
3928
 
set dummy apxs; ac_word=$2
3929
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3930
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3931
 
if test "${ac_cv_prog_EXISTS_APXS+set}" = set; then
3932
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3933
 
else
3934
 
  if test -n "$EXISTS_APXS"; then
3935
 
  ac_cv_prog_EXISTS_APXS="$EXISTS_APXS" # Let the user override the test.
3936
 
else
3937
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3938
 
for as_dir in $PATH
3939
 
do
3940
 
  IFS=$as_save_IFS
3941
 
  test -z "$as_dir" && as_dir=.
3942
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3943
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3944
 
    ac_cv_prog_EXISTS_APXS="yes"
3945
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3946
 
    break 2
3947
 
  fi
3948
 
done
3949
 
done
3950
 
 
3951
 
fi
3952
 
fi
3953
 
EXISTS_APXS=$ac_cv_prog_EXISTS_APXS
3954
 
if test -n "$EXISTS_APXS"; then
3955
 
  echo "$as_me:$LINENO: result: $EXISTS_APXS" >&5
3956
 
echo "${ECHO_T}$EXISTS_APXS" >&6
3957
 
else
3958
 
  echo "$as_me:$LINENO: result: no" >&5
3959
 
echo "${ECHO_T}no" >&6
3960
 
fi
3961
 
 
3962
 
if test -z "$EXISTS_APXS"; then
3963
 
   { { echo "$as_me:$LINENO: error: please install the apache apxs tool. Download apache http server from http://www.apache.org, compile and install it and make sure that apxs is in your path" >&5
3964
 
echo "$as_me: error: please install the apache apxs tool. Download apache http server from http://www.apache.org, compile and install it and make sure that apxs is in your path" >&2;}
3965
 
   { (exit 1); exit 1; }; }
3966
 
fi
3967
 
 
3968
 
if test "$GCC"; then
3969
 
   if test x$debug = xtrue; then
3970
 
          CXXFLAGS="$CXXFLAGS -g"
3971
 
   else
3972
 
          CXXFLAGS="$CXXFLAGS -O2"
3973
 
   fi
3974
 
fi
3975
 
 
3976
 
 
3977
 
 
3978
 
 
3979
 
 
3980
 
 
3981
 
# Check whether --enable-shared or --disable-shared was given.
3982
 
if test "${enable_shared+set}" = set; then
3983
 
  enableval="$enable_shared"
3984
 
  p=${PACKAGE-default}
3985
 
    case $enableval in
3986
 
    yes) enable_shared=yes ;;
3987
 
    no) enable_shared=no ;;
3988
 
    *)
3989
 
      enable_shared=no
3990
 
      # Look at the argument we got.  We use all the common list separators.
3991
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3992
 
      for pkg in $enableval; do
3993
 
        IFS="$lt_save_ifs"
3994
 
        if test "X$pkg" = "X$p"; then
3995
 
          enable_shared=yes
3996
 
        fi
3997
 
      done
3998
 
      IFS="$lt_save_ifs"
3999
 
      ;;
4000
 
    esac
4001
 
else
4002
 
  enable_shared=yes
4003
 
fi;
4004
 
 
4005
 
# Check whether --enable-static or --disable-static was given.
4006
 
if test "${enable_static+set}" = set; then
4007
 
  enableval="$enable_static"
4008
 
  p=${PACKAGE-default}
4009
 
    case $enableval in
4010
 
    yes) enable_static=yes ;;
4011
 
    no) enable_static=no ;;
4012
 
    *)
4013
 
     enable_static=no
4014
 
      # Look at the argument we got.  We use all the common list separators.
4015
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4016
 
      for pkg in $enableval; do
4017
 
        IFS="$lt_save_ifs"
4018
 
        if test "X$pkg" = "X$p"; then
4019
 
          enable_static=yes
4020
 
        fi
4021
 
      done
4022
 
      IFS="$lt_save_ifs"
4023
 
      ;;
4024
 
    esac
4025
 
else
4026
 
  enable_static=yes
4027
 
fi;
4028
 
 
4029
 
# Check whether --enable-fast-install or --disable-fast-install was given.
4030
 
if test "${enable_fast_install+set}" = set; then
4031
 
  enableval="$enable_fast_install"
4032
 
  p=${PACKAGE-default}
4033
 
    case $enableval in
4034
 
    yes) enable_fast_install=yes ;;
4035
 
    no) enable_fast_install=no ;;
4036
 
    *)
4037
 
      enable_fast_install=no
4038
 
      # Look at the argument we got.  We use all the common list separators.
4039
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4040
 
      for pkg in $enableval; do
4041
 
        IFS="$lt_save_ifs"
4042
 
        if test "X$pkg" = "X$p"; then
4043
 
          enable_fast_install=yes
4044
 
        fi
4045
 
      done
4046
 
      IFS="$lt_save_ifs"
4047
 
      ;;
4048
 
    esac
4049
 
else
4050
 
  enable_fast_install=yes
4051
 
fi;
4052
 
 
4053
 
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4054
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4055
 
if test "${lt_cv_path_SED+set}" = set; then
4056
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4057
 
else
4058
 
  # Loop through the user's path and test for sed and gsed.
4059
 
# Then use that list of sed's as ones to test for truncation.
4060
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4061
 
for as_dir in $PATH
4062
 
do
4063
 
  IFS=$as_save_IFS
4064
 
  test -z "$as_dir" && as_dir=.
4065
 
  for lt_ac_prog in sed gsed; do
4066
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4067
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4068
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4069
 
      fi
4070
 
    done
4071
 
  done
4072
 
done
4073
 
lt_ac_max=0
4074
 
lt_ac_count=0
4075
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
4076
 
# along with /bin/sed that truncates output.
4077
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4078
 
  test ! -f $lt_ac_sed && continue
4079
 
  cat /dev/null > conftest.in
4080
 
  lt_ac_count=0
4081
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4082
 
  # Check for GNU sed and select it if it is found.
4083
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4084
 
    lt_cv_path_SED=$lt_ac_sed
4085
 
    break
4086
 
  fi
4087
 
  while true; do
4088
 
    cat conftest.in conftest.in >conftest.tmp
4089
 
    mv conftest.tmp conftest.in
4090
 
    cp conftest.in conftest.nl
4091
 
    echo >>conftest.nl
4092
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4093
 
    cmp -s conftest.out conftest.nl || break
4094
 
    # 10000 chars as input seems more than enough
4095
 
    test $lt_ac_count -gt 10 && break
4096
 
    lt_ac_count=`expr $lt_ac_count + 1`
4097
 
    if test $lt_ac_count -gt $lt_ac_max; then
4098
 
      lt_ac_max=$lt_ac_count
4099
 
      lt_cv_path_SED=$lt_ac_sed
4100
 
    fi
4101
 
  done
4102
 
done
4103
 
 
4104
 
fi
4105
 
 
4106
 
SED=$lt_cv_path_SED
4107
 
echo "$as_me:$LINENO: result: $SED" >&5
4108
 
echo "${ECHO_T}$SED" >&6
4109
 
 
4110
 
echo "$as_me:$LINENO: checking for egrep" >&5
4111
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4112
 
if test "${ac_cv_prog_egrep+set}" = set; then
4113
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4114
 
else
4115
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4116
 
    then ac_cv_prog_egrep='grep -E'
4117
 
    else ac_cv_prog_egrep='egrep'
4118
 
    fi
4119
 
fi
4120
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4121
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4122
 
 EGREP=$ac_cv_prog_egrep
4123
 
 
4124
 
 
4125
 
 
4126
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
4127
 
if test "${with_gnu_ld+set}" = set; then
4128
 
  withval="$with_gnu_ld"
4129
 
  test "$withval" = no || with_gnu_ld=yes
4130
 
else
4131
 
  with_gnu_ld=no
4132
 
fi;
4133
 
ac_prog=ld
4134
 
if test "$GCC" = yes; then
4135
 
  # Check if gcc -print-prog-name=ld gives a path.
4136
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4137
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4138
 
  case $host in
4139
 
  *-*-mingw*)
4140
 
    # gcc leaves a trailing carriage return which upsets mingw
4141
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4142
 
  *)
4143
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4144
 
  esac
4145
 
  case $ac_prog in
4146
 
    # Accept absolute paths.
4147
 
    [\\/]* | ?:[\\/]*)
4148
 
      re_direlt='/[^/][^/]*/\.\./'
4149
 
      # Canonicalize the pathname of ld
4150
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4151
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4152
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4153
 
      done
4154
 
      test -z "$LD" && LD="$ac_prog"
4155
 
      ;;
4156
 
  "")
4157
 
    # If it fails, then pretend we aren't using GCC.
4158
 
    ac_prog=ld
4159
 
    ;;
4160
 
  *)
4161
 
    # If it is relative, then search for the first ld in PATH.
4162
 
    with_gnu_ld=unknown
4163
 
    ;;
4164
 
  esac
4165
 
elif test "$with_gnu_ld" = yes; then
4166
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
4167
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4168
 
else
4169
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4170
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4171
 
fi
4172
 
if test "${lt_cv_path_LD+set}" = set; then
4173
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4174
 
else
4175
 
  if test -z "$LD"; then
4176
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4177
 
  for ac_dir in $PATH; do
4178
 
    IFS="$lt_save_ifs"
4179
 
    test -z "$ac_dir" && ac_dir=.
4180
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4181
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
4182
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
4183
 
      # but apparently some variants of GNU ld only accept -v.
4184
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
4185
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4186
 
      *GNU* | *'with BFD'*)
4187
 
        test "$with_gnu_ld" != no && break
4188
 
        ;;
4189
 
      *)
4190
 
        test "$with_gnu_ld" != yes && break
4191
 
        ;;
4192
 
      esac
4193
 
    fi
4194
 
  done
4195
 
  IFS="$lt_save_ifs"
4196
 
else
4197
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4198
 
fi
4199
 
fi
4200
 
 
4201
 
LD="$lt_cv_path_LD"
4202
 
if test -n "$LD"; then
4203
 
  echo "$as_me:$LINENO: result: $LD" >&5
4204
 
echo "${ECHO_T}$LD" >&6
4205
 
else
4206
 
  echo "$as_me:$LINENO: result: no" >&5
4207
 
echo "${ECHO_T}no" >&6
4208
 
fi
4209
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4210
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4211
 
   { (exit 1); exit 1; }; }
4212
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4213
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4214
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
4215
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4216
 
else
4217
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4218
 
case `$LD -v 2>&1 </dev/null` in
4219
 
*GNU* | *'with BFD'*)
4220
 
  lt_cv_prog_gnu_ld=yes
4221
 
  ;;
4222
 
*)
4223
 
  lt_cv_prog_gnu_ld=no
4224
 
  ;;
4225
 
esac
4226
 
fi
4227
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4228
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4229
 
with_gnu_ld=$lt_cv_prog_gnu_ld
4230
 
 
4231
 
 
4232
 
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4233
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4234
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
4235
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4236
 
else
4237
 
  lt_cv_ld_reload_flag='-r'
4238
 
fi
4239
 
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4240
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4241
 
reload_flag=$lt_cv_ld_reload_flag
4242
 
case $reload_flag in
4243
 
"" | " "*) ;;
4244
 
*) reload_flag=" $reload_flag" ;;
4245
 
esac
4246
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4247
 
case $host_os in
4248
 
  darwin*)
4249
 
    if test "$GCC" = yes; then
4250
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4251
 
    else
4252
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4253
 
    fi
4254
 
    ;;
4255
 
esac
4256
 
 
4257
 
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4258
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4259
 
if test "${lt_cv_path_NM+set}" = set; then
4260
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4261
 
else
4262
 
  if test -n "$NM"; then
4263
 
  # Let the user override the test.
4264
 
  lt_cv_path_NM="$NM"
4265
 
else
4266
 
  lt_nm_to_check="${ac_tool_prefix}nm"
4267
 
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4268
 
    lt_nm_to_check="$lt_nm_to_check nm"
4269
 
  fi
4270
 
  for lt_tmp_nm in $lt_nm_to_check; do
4271
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4272
 
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4273
 
      IFS="$lt_save_ifs"
4274
 
      test -z "$ac_dir" && ac_dir=.
4275
 
      tmp_nm="$ac_dir/$lt_tmp_nm"
4276
 
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4277
 
        # Check to see if the nm accepts a BSD-compat flag.
4278
 
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4279
 
        #   nm: unknown option "B" ignored
4280
 
        # Tru64's nm complains that /dev/null is an invalid object file
4281
 
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4282
 
        */dev/null* | *'Invalid file or object type'*)
4283
 
          lt_cv_path_NM="$tmp_nm -B"
4284
 
          break
4285
 
          ;;
4286
 
        *)
4287
 
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4288
 
          */dev/null*)
4289
 
            lt_cv_path_NM="$tmp_nm -p"
4290
 
            break
4291
 
            ;;
4292
 
          *)
4293
 
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4294
 
            continue # so that we can try to find one that supports BSD flags
4295
 
            ;;
4296
 
          esac
4297
 
          ;;
4298
 
        esac
4299
 
      fi
4300
 
    done
4301
 
    IFS="$lt_save_ifs"
4302
 
  done
4303
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4304
 
fi
4305
 
fi
4306
 
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4307
 
echo "${ECHO_T}$lt_cv_path_NM" >&6
4308
 
NM="$lt_cv_path_NM"
4309
 
 
4310
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
4311
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4312
 
LN_S=$as_ln_s
4313
 
if test "$LN_S" = "ln -s"; then
4314
 
  echo "$as_me:$LINENO: result: yes" >&5
4315
 
echo "${ECHO_T}yes" >&6
4316
 
else
4317
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4318
 
echo "${ECHO_T}no, using $LN_S" >&6
4319
 
fi
4320
 
 
4321
 
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4322
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4323
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
4324
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4325
 
else
4326
 
  lt_cv_file_magic_cmd='$MAGIC_CMD'
4327
 
lt_cv_file_magic_test_file=
4328
 
lt_cv_deplibs_check_method='unknown'
4329
 
# Need to set the preceding variable on all platforms that support
4330
 
# interlibrary dependencies.
4331
 
# 'none' -- dependencies not supported.
4332
 
# `unknown' -- same as none, but documents that we really don't know.
4333
 
# 'pass_all' -- all dependencies passed with no checks.
4334
 
# 'test_compile' -- check by making test program.
4335
 
# 'file_magic [[regex]]' -- check by looking for files in library path
4336
 
# which responds to the $file_magic_cmd with a given extended regex.
4337
 
# If you have `file' or equivalent on your system and you're not sure
4338
 
# whether `pass_all' will *always* work, you probably want this one.
4339
 
 
4340
 
case $host_os in
4341
 
aix4* | aix5*)
4342
 
  lt_cv_deplibs_check_method=pass_all
4343
 
  ;;
4344
 
 
4345
 
beos*)
4346
 
  lt_cv_deplibs_check_method=pass_all
4347
 
  ;;
4348
 
 
4349
 
bsdi[45]*)
4350
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4351
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
4352
 
  lt_cv_file_magic_test_file=/shlib/libc.so
4353
 
  ;;
4354
 
 
4355
 
cygwin*)
4356
 
  # func_win32_libid is a shell function defined in ltmain.sh
4357
 
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4358
 
  lt_cv_file_magic_cmd='func_win32_libid'
4359
 
  ;;
4360
 
 
4361
 
mingw* | pw32*)
4362
 
  # Base MSYS/MinGW do not provide the 'file' command needed by
4363
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4364
 
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4365
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
4366
 
  ;;
4367
 
 
4368
 
darwin* | rhapsody*)
4369
 
  lt_cv_deplibs_check_method=pass_all
4370
 
  ;;
4371
 
 
4372
 
freebsd* | kfreebsd*-gnu | dragonfly*)
4373
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4374
 
    case $host_cpu in
4375
 
    i*86 )
4376
 
      # Not sure whether the presence of OpenBSD here was a mistake.
4377
 
      # Let's accept both of them until this is cleared up.
4378
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4379
 
      lt_cv_file_magic_cmd=/usr/bin/file
4380
 
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4381
 
      ;;
4382
 
    esac
4383
 
  else
4384
 
    lt_cv_deplibs_check_method=pass_all
4385
 
  fi
4386
 
  ;;
4387
 
 
4388
 
gnu*)
4389
 
  lt_cv_deplibs_check_method=pass_all
4390
 
  ;;
4391
 
 
4392
 
hpux10.20* | hpux11*)
4393
 
  lt_cv_file_magic_cmd=/usr/bin/file
4394
 
  case $host_cpu in
4395
 
  ia64*)
4396
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4397
 
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4398
 
    ;;
4399
 
  hppa*64*)
4400
 
    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]'
4401
 
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4402
 
    ;;
4403
 
  *)
4404
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4405
 
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
4406
 
    ;;
4407
 
  esac
4408
 
  ;;
4409
 
 
4410
 
interix3*)
4411
 
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4412
 
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4413
 
  ;;
4414
 
 
4415
 
irix5* | irix6* | nonstopux*)
4416
 
  case $LD in
4417
 
  *-32|*"-32 ") libmagic=32-bit;;
4418
 
  *-n32|*"-n32 ") libmagic=N32;;
4419
 
  *-64|*"-64 ") libmagic=64-bit;;
4420
 
  *) libmagic=never-match;;
4421
 
  esac
4422
 
  lt_cv_deplibs_check_method=pass_all
4423
 
  ;;
4424
 
 
4425
 
# This must be Linux ELF.
4426
 
linux*)
4427
 
  lt_cv_deplibs_check_method=pass_all
4428
 
  ;;
4429
 
 
4430
 
netbsd*)
4431
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4432
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4433
 
  else
4434
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4435
 
  fi
4436
 
  ;;
4437
 
 
4438
 
newos6*)
4439
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4440
 
  lt_cv_file_magic_cmd=/usr/bin/file
4441
 
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
4442
 
  ;;
4443
 
 
4444
 
nto-qnx*)
4445
 
  lt_cv_deplibs_check_method=unknown
4446
 
  ;;
4447
 
 
4448
 
openbsd*)
4449
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4450
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4451
 
  else
4452
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4453
 
  fi
4454
 
  ;;
4455
 
 
4456
 
osf3* | osf4* | osf5*)
4457
 
  lt_cv_deplibs_check_method=pass_all
4458
 
  ;;
4459
 
 
4460
 
solaris*)
4461
 
  lt_cv_deplibs_check_method=pass_all
4462
 
  ;;
4463
 
 
4464
 
sysv4 | sysv4.3*)
4465
 
  case $host_vendor in
4466
 
  motorola)
4467
 
    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]'
4468
 
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4469
 
    ;;
4470
 
  ncr)
4471
 
    lt_cv_deplibs_check_method=pass_all
4472
 
    ;;
4473
 
  sequent)
4474
 
    lt_cv_file_magic_cmd='/bin/file'
4475
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4476
 
    ;;
4477
 
  sni)
4478
 
    lt_cv_file_magic_cmd='/bin/file'
4479
 
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4480
 
    lt_cv_file_magic_test_file=/lib/libc.so
4481
 
    ;;
4482
 
  siemens)
4483
 
    lt_cv_deplibs_check_method=pass_all
4484
 
    ;;
4485
 
  pc)
4486
 
    lt_cv_deplibs_check_method=pass_all
4487
 
    ;;
4488
 
  esac
4489
 
  ;;
4490
 
 
4491
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4492
 
  lt_cv_deplibs_check_method=pass_all
4493
 
  ;;
4494
 
esac
4495
 
 
4496
 
fi
4497
 
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4498
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4499
 
file_magic_cmd=$lt_cv_file_magic_cmd
4500
 
deplibs_check_method=$lt_cv_deplibs_check_method
4501
 
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4502
 
 
4503
 
 
4504
 
 
4505
 
 
4506
 
# If no C compiler was specified, use CC.
4507
 
LTCC=${LTCC-"$CC"}
4508
 
 
4509
 
# If no C compiler flags were specified, use CFLAGS.
4510
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4511
 
 
4512
 
# Allow CC to be a program name with arguments.
4513
 
compiler=$CC
4514
 
 
4515
 
 
4516
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4517
 
if test "${enable_libtool_lock+set}" = set; then
4518
 
  enableval="$enable_libtool_lock"
4519
 
 
4520
 
fi;
4521
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4522
 
 
4523
 
# Some flags need to be propagated to the compiler or linker for good
4524
 
# libtool support.
4525
 
case $host in
4526
 
ia64-*-hpux*)
4527
 
  # Find out which ABI we are using.
4528
 
  echo 'int i;' > conftest.$ac_ext
4529
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4530
 
  (eval $ac_compile) 2>&5
4531
 
  ac_status=$?
4532
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4533
 
  (exit $ac_status); }; then
4534
 
    case `/usr/bin/file conftest.$ac_objext` in
4535
 
    *ELF-32*)
4536
 
      HPUX_IA64_MODE="32"
4537
 
      ;;
4538
 
    *ELF-64*)
4539
 
      HPUX_IA64_MODE="64"
4540
 
      ;;
4541
 
    esac
4542
 
  fi
4543
 
  rm -rf conftest*
4544
 
  ;;
4545
 
*-*-irix6*)
4546
 
  # Find out which ABI we are using.
4547
 
  echo '#line 4547 "configure"' > conftest.$ac_ext
4548
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4549
 
  (eval $ac_compile) 2>&5
4550
 
  ac_status=$?
4551
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4552
 
  (exit $ac_status); }; then
4553
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
4554
 
    case `/usr/bin/file conftest.$ac_objext` in
4555
 
    *32-bit*)
4556
 
      LD="${LD-ld} -melf32bsmip"
4557
 
      ;;
4558
 
    *N32*)
4559
 
      LD="${LD-ld} -melf32bmipn32"
4560
 
      ;;
4561
 
    *64-bit*)
4562
 
      LD="${LD-ld} -melf64bmip"
4563
 
      ;;
4564
 
    esac
4565
 
   else
4566
 
    case `/usr/bin/file conftest.$ac_objext` in
4567
 
    *32-bit*)
4568
 
      LD="${LD-ld} -32"
4569
 
      ;;
4570
 
    *N32*)
4571
 
      LD="${LD-ld} -n32"
4572
 
      ;;
4573
 
    *64-bit*)
4574
 
      LD="${LD-ld} -64"
4575
 
      ;;
4576
 
    esac
4577
 
   fi
4578
 
  fi
4579
 
  rm -rf conftest*
4580
 
  ;;
4581
 
 
4582
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4583
 
  # Find out which ABI we are using.
4584
 
  echo 'int i;' > conftest.$ac_ext
4585
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4586
 
  (eval $ac_compile) 2>&5
4587
 
  ac_status=$?
4588
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4589
 
  (exit $ac_status); }; then
4590
 
    case `/usr/bin/file conftest.o` in
4591
 
    *32-bit*)
4592
 
      case $host in
4593
 
        x86_64-*linux*)
4594
 
          LD="${LD-ld} -m elf_i386"
4595
 
          ;;
4596
 
        ppc64-*linux*|powerpc64-*linux*)
4597
 
          LD="${LD-ld} -m elf32ppclinux"
4598
 
          ;;
4599
 
        s390x-*linux*)
4600
 
          LD="${LD-ld} -m elf_s390"
4601
 
          ;;
4602
 
        sparc64-*linux*)
4603
 
          LD="${LD-ld} -m elf32_sparc"
4604
 
          ;;
4605
 
      esac
4606
 
      ;;
4607
 
    *64-bit*)
4608
 
      case $host in
4609
 
        x86_64-*linux*)
4610
 
          LD="${LD-ld} -m elf_x86_64"
4611
 
          ;;
4612
 
        ppc*-*linux*|powerpc*-*linux*)
4613
 
          LD="${LD-ld} -m elf64ppc"
4614
 
          ;;
4615
 
        s390*-*linux*)
4616
 
          LD="${LD-ld} -m elf64_s390"
4617
 
          ;;
4618
 
        sparc*-*linux*)
4619
 
          LD="${LD-ld} -m elf64_sparc"
4620
 
          ;;
4621
 
      esac
4622
 
      ;;
4623
 
    esac
4624
 
  fi
4625
 
  rm -rf conftest*
4626
 
  ;;
4627
 
 
4628
 
*-*-sco3.2v5*)
4629
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4630
 
  SAVE_CFLAGS="$CFLAGS"
4631
 
  CFLAGS="$CFLAGS -belf"
4632
 
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4633
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4634
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
4635
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4636
 
else
4637
 
  ac_ext=c
4638
 
ac_cpp='$CPP $CPPFLAGS'
4639
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4640
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4641
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4642
 
 
4643
 
     cat >conftest.$ac_ext <<_ACEOF
4644
 
/* confdefs.h.  */
4645
 
_ACEOF
4646
 
cat confdefs.h >>conftest.$ac_ext
4647
 
cat >>conftest.$ac_ext <<_ACEOF
4648
 
/* end confdefs.h.  */
4649
 
 
4650
 
int
4651
 
main ()
4652
 
{
4653
 
 
4654
 
  ;
4655
 
  return 0;
4656
 
}
4657
 
_ACEOF
4658
 
rm -f conftest.$ac_objext conftest$ac_exeext
4659
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4660
 
  (eval $ac_link) 2>conftest.er1
4661
 
  ac_status=$?
4662
 
  grep -v '^ *+' conftest.er1 >conftest.err
4663
 
  rm -f conftest.er1
4664
 
  cat conftest.err >&5
4665
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4666
 
  (exit $ac_status); } &&
4667
 
         { ac_try='test -z "$ac_c_werror_flag"
4668
 
                         || test ! -s conftest.err'
4669
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4670
 
  (eval $ac_try) 2>&5
4671
 
  ac_status=$?
4672
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4673
 
  (exit $ac_status); }; } &&
4674
 
         { ac_try='test -s conftest$ac_exeext'
4675
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4676
 
  (eval $ac_try) 2>&5
4677
 
  ac_status=$?
4678
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4679
 
  (exit $ac_status); }; }; then
4680
 
  lt_cv_cc_needs_belf=yes
4681
 
else
4682
 
  echo "$as_me: failed program was:" >&5
4683
 
sed 's/^/| /' conftest.$ac_ext >&5
4684
 
 
4685
 
lt_cv_cc_needs_belf=no
4686
 
fi
4687
 
rm -f conftest.err conftest.$ac_objext \
4688
 
      conftest$ac_exeext conftest.$ac_ext
4689
 
     ac_ext=c
4690
 
ac_cpp='$CPP $CPPFLAGS'
4691
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4692
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4693
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4694
 
 
4695
 
fi
4696
 
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4697
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4698
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4699
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4700
 
    CFLAGS="$SAVE_CFLAGS"
4701
 
  fi
4702
 
  ;;
4703
 
sparc*-*solaris*)
4704
 
  # Find out which ABI we are using.
4705
 
  echo 'int i;' > conftest.$ac_ext
4706
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4707
 
  (eval $ac_compile) 2>&5
4708
 
  ac_status=$?
4709
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4710
 
  (exit $ac_status); }; then
4711
 
    case `/usr/bin/file conftest.o` in
4712
 
    *64-bit*)
4713
 
      case $lt_cv_prog_gnu_ld in
4714
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
4715
 
      *)    LD="${LD-ld} -64" ;;
4716
 
      esac
4717
 
      ;;
4718
 
    esac
4719
 
  fi
4720
 
  rm -rf conftest*
4721
 
  ;;
4722
 
 
4723
 
*-*-cygwin* | *-*-mingw* | *-*-pw32*)
4724
 
  if test -n "$ac_tool_prefix"; then
4725
 
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4726
 
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4727
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4728
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4729
 
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4730
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4731
 
else
4732
 
  if test -n "$DLLTOOL"; then
4733
 
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4734
 
else
4735
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4736
 
for as_dir in $PATH
4737
 
do
4738
 
  IFS=$as_save_IFS
4739
 
  test -z "$as_dir" && as_dir=.
4740
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4741
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4742
 
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4743
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4744
 
    break 2
4745
 
  fi
4746
 
done
4747
 
done
4748
 
 
4749
 
fi
4750
 
fi
4751
 
DLLTOOL=$ac_cv_prog_DLLTOOL
4752
 
if test -n "$DLLTOOL"; then
4753
 
  echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4754
 
echo "${ECHO_T}$DLLTOOL" >&6
4755
 
else
4756
 
  echo "$as_me:$LINENO: result: no" >&5
4757
 
echo "${ECHO_T}no" >&6
4758
 
fi
4759
 
 
4760
 
fi
4761
 
if test -z "$ac_cv_prog_DLLTOOL"; then
4762
 
  ac_ct_DLLTOOL=$DLLTOOL
4763
 
  # Extract the first word of "dlltool", so it can be a program name with args.
4764
 
set dummy dlltool; ac_word=$2
4765
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4766
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4767
 
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4768
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4769
 
else
4770
 
  if test -n "$ac_ct_DLLTOOL"; then
4771
 
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4772
 
else
4773
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4774
 
for as_dir in $PATH
4775
 
do
4776
 
  IFS=$as_save_IFS
4777
 
  test -z "$as_dir" && as_dir=.
4778
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4779
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4780
 
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4781
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4782
 
    break 2
4783
 
  fi
4784
 
done
4785
 
done
4786
 
 
4787
 
  test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
4788
 
fi
4789
 
fi
4790
 
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4791
 
if test -n "$ac_ct_DLLTOOL"; then
4792
 
  echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4793
 
echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
4794
 
else
4795
 
  echo "$as_me:$LINENO: result: no" >&5
4796
 
echo "${ECHO_T}no" >&6
4797
 
fi
4798
 
 
4799
 
  DLLTOOL=$ac_ct_DLLTOOL
4800
 
else
4801
 
  DLLTOOL="$ac_cv_prog_DLLTOOL"
4802
 
fi
4803
 
 
4804
 
  if test -n "$ac_tool_prefix"; then
4805
 
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4806
 
set dummy ${ac_tool_prefix}as; ac_word=$2
4807
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4808
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4809
 
if test "${ac_cv_prog_AS+set}" = set; then
4810
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4811
 
else
4812
 
  if test -n "$AS"; then
4813
 
  ac_cv_prog_AS="$AS" # Let the user override the test.
4814
 
else
4815
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4816
 
for as_dir in $PATH
4817
 
do
4818
 
  IFS=$as_save_IFS
4819
 
  test -z "$as_dir" && as_dir=.
4820
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4821
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4822
 
    ac_cv_prog_AS="${ac_tool_prefix}as"
4823
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4824
 
    break 2
4825
 
  fi
4826
 
done
4827
 
done
4828
 
 
4829
 
fi
4830
 
fi
4831
 
AS=$ac_cv_prog_AS
4832
 
if test -n "$AS"; then
4833
 
  echo "$as_me:$LINENO: result: $AS" >&5
4834
 
echo "${ECHO_T}$AS" >&6
4835
 
else
4836
 
  echo "$as_me:$LINENO: result: no" >&5
4837
 
echo "${ECHO_T}no" >&6
4838
 
fi
4839
 
 
4840
 
fi
4841
 
if test -z "$ac_cv_prog_AS"; then
4842
 
  ac_ct_AS=$AS
4843
 
  # Extract the first word of "as", so it can be a program name with args.
4844
 
set dummy as; ac_word=$2
4845
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4846
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4847
 
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4848
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4849
 
else
4850
 
  if test -n "$ac_ct_AS"; then
4851
 
  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4852
 
else
4853
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4854
 
for as_dir in $PATH
4855
 
do
4856
 
  IFS=$as_save_IFS
4857
 
  test -z "$as_dir" && as_dir=.
4858
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4859
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4860
 
    ac_cv_prog_ac_ct_AS="as"
4861
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4862
 
    break 2
4863
 
  fi
4864
 
done
4865
 
done
4866
 
 
4867
 
  test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
4868
 
fi
4869
 
fi
4870
 
ac_ct_AS=$ac_cv_prog_ac_ct_AS
4871
 
if test -n "$ac_ct_AS"; then
4872
 
  echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4873
 
echo "${ECHO_T}$ac_ct_AS" >&6
4874
 
else
4875
 
  echo "$as_me:$LINENO: result: no" >&5
4876
 
echo "${ECHO_T}no" >&6
4877
 
fi
4878
 
 
4879
 
  AS=$ac_ct_AS
4880
 
else
4881
 
  AS="$ac_cv_prog_AS"
4882
 
fi
4883
 
 
4884
 
  if test -n "$ac_tool_prefix"; then
4885
 
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4886
 
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4887
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4888
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4889
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4890
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4891
 
else
4892
 
  if test -n "$OBJDUMP"; then
4893
 
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4894
 
else
4895
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4896
 
for as_dir in $PATH
4897
 
do
4898
 
  IFS=$as_save_IFS
4899
 
  test -z "$as_dir" && as_dir=.
4900
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4901
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4902
 
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4903
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4904
 
    break 2
4905
 
  fi
4906
 
done
4907
 
done
4908
 
 
4909
 
fi
4910
 
fi
4911
 
OBJDUMP=$ac_cv_prog_OBJDUMP
4912
 
if test -n "$OBJDUMP"; then
4913
 
  echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4914
 
echo "${ECHO_T}$OBJDUMP" >&6
4915
 
else
4916
 
  echo "$as_me:$LINENO: result: no" >&5
4917
 
echo "${ECHO_T}no" >&6
4918
 
fi
4919
 
 
4920
 
fi
4921
 
if test -z "$ac_cv_prog_OBJDUMP"; then
4922
 
  ac_ct_OBJDUMP=$OBJDUMP
4923
 
  # Extract the first word of "objdump", so it can be a program name with args.
4924
 
set dummy objdump; ac_word=$2
4925
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4926
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4927
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4928
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4929
 
else
4930
 
  if test -n "$ac_ct_OBJDUMP"; then
4931
 
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4932
 
else
4933
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4934
 
for as_dir in $PATH
4935
 
do
4936
 
  IFS=$as_save_IFS
4937
 
  test -z "$as_dir" && as_dir=.
4938
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4939
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4940
 
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4941
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4942
 
    break 2
4943
 
  fi
4944
 
done
4945
 
done
4946
 
 
4947
 
  test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
4948
 
fi
4949
 
fi
4950
 
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4951
 
if test -n "$ac_ct_OBJDUMP"; then
4952
 
  echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4953
 
echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
4954
 
else
4955
 
  echo "$as_me:$LINENO: result: no" >&5
4956
 
echo "${ECHO_T}no" >&6
4957
 
fi
4958
 
 
4959
 
  OBJDUMP=$ac_ct_OBJDUMP
4960
 
else
4961
 
  OBJDUMP="$ac_cv_prog_OBJDUMP"
4962
 
fi
4963
 
 
4964
 
  ;;
4965
 
 
4966
 
esac
4967
 
 
4968
 
need_locks="$enable_libtool_lock"
4969
 
 
4970
 
 
4971
 
 
4972
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4973
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4974
 
if test "${ac_cv_header_stdc+set}" = set; then
4975
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4976
 
else
4977
 
  cat >conftest.$ac_ext <<_ACEOF
4978
 
/* confdefs.h.  */
4979
 
_ACEOF
4980
 
cat confdefs.h >>conftest.$ac_ext
4981
 
cat >>conftest.$ac_ext <<_ACEOF
4982
 
/* end confdefs.h.  */
4983
 
#include <stdlib.h>
4984
 
#include <stdarg.h>
4985
 
#include <string.h>
4986
 
#include <float.h>
4987
 
 
4988
 
int
4989
 
main ()
4990
 
{
4991
 
 
4992
 
  ;
4993
 
  return 0;
4994
 
}
4995
 
_ACEOF
4996
 
rm -f conftest.$ac_objext
4997
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4998
 
  (eval $ac_compile) 2>conftest.er1
4999
 
  ac_status=$?
5000
 
  grep -v '^ *+' conftest.er1 >conftest.err
5001
 
  rm -f conftest.er1
5002
 
  cat conftest.err >&5
5003
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5004
 
  (exit $ac_status); } &&
5005
 
         { ac_try='test -z "$ac_c_werror_flag"
5006
 
                         || test ! -s conftest.err'
5007
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5008
 
  (eval $ac_try) 2>&5
5009
 
  ac_status=$?
5010
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5011
 
  (exit $ac_status); }; } &&
5012
 
         { ac_try='test -s conftest.$ac_objext'
5013
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5014
 
  (eval $ac_try) 2>&5
5015
 
  ac_status=$?
5016
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5017
 
  (exit $ac_status); }; }; then
5018
 
  ac_cv_header_stdc=yes
5019
 
else
5020
 
  echo "$as_me: failed program was:" >&5
5021
 
sed 's/^/| /' conftest.$ac_ext >&5
5022
 
 
5023
 
ac_cv_header_stdc=no
5024
 
fi
5025
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5026
 
 
5027
 
if test $ac_cv_header_stdc = yes; then
5028
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5029
 
  cat >conftest.$ac_ext <<_ACEOF
5030
 
/* confdefs.h.  */
5031
 
_ACEOF
5032
 
cat confdefs.h >>conftest.$ac_ext
5033
 
cat >>conftest.$ac_ext <<_ACEOF
5034
 
/* end confdefs.h.  */
5035
 
#include <string.h>
5036
 
 
5037
 
_ACEOF
5038
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5039
 
  $EGREP "memchr" >/dev/null 2>&1; then
5040
 
  :
5041
 
else
5042
 
  ac_cv_header_stdc=no
5043
 
fi
5044
 
rm -f conftest*
5045
 
 
5046
 
fi
5047
 
 
5048
 
if test $ac_cv_header_stdc = yes; then
5049
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5050
 
  cat >conftest.$ac_ext <<_ACEOF
5051
 
/* confdefs.h.  */
5052
 
_ACEOF
5053
 
cat confdefs.h >>conftest.$ac_ext
5054
 
cat >>conftest.$ac_ext <<_ACEOF
5055
 
/* end confdefs.h.  */
5056
 
#include <stdlib.h>
5057
 
 
5058
 
_ACEOF
5059
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5060
 
  $EGREP "free" >/dev/null 2>&1; then
5061
 
  :
5062
 
else
5063
 
  ac_cv_header_stdc=no
5064
 
fi
5065
 
rm -f conftest*
5066
 
 
5067
 
fi
5068
 
 
5069
 
if test $ac_cv_header_stdc = yes; then
5070
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5071
 
  if test "$cross_compiling" = yes; then
5072
 
  :
5073
 
else
5074
 
  cat >conftest.$ac_ext <<_ACEOF
5075
 
/* confdefs.h.  */
5076
 
_ACEOF
5077
 
cat confdefs.h >>conftest.$ac_ext
5078
 
cat >>conftest.$ac_ext <<_ACEOF
5079
 
/* end confdefs.h.  */
5080
 
#include <ctype.h>
5081
 
#if ((' ' & 0x0FF) == 0x020)
5082
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5083
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5084
 
#else
5085
 
# define ISLOWER(c) \
5086
 
                   (('a' <= (c) && (c) <= 'i') \
5087
 
                     || ('j' <= (c) && (c) <= 'r') \
5088
 
                     || ('s' <= (c) && (c) <= 'z'))
5089
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5090
 
#endif
5091
 
 
5092
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5093
 
int
5094
 
main ()
5095
 
{
5096
 
  int i;
5097
 
  for (i = 0; i < 256; i++)
5098
 
    if (XOR (islower (i), ISLOWER (i))
5099
 
        || toupper (i) != TOUPPER (i))
5100
 
      exit(2);
5101
 
  exit (0);
5102
 
}
5103
 
_ACEOF
5104
 
rm -f conftest$ac_exeext
5105
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5106
 
  (eval $ac_link) 2>&5
5107
 
  ac_status=$?
5108
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5110
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5111
 
  (eval $ac_try) 2>&5
5112
 
  ac_status=$?
5113
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5114
 
  (exit $ac_status); }; }; then
5115
 
  :
5116
 
else
5117
 
  echo "$as_me: program exited with status $ac_status" >&5
5118
 
echo "$as_me: failed program was:" >&5
5119
 
sed 's/^/| /' conftest.$ac_ext >&5
5120
 
 
5121
 
( exit $ac_status )
5122
 
ac_cv_header_stdc=no
5123
 
fi
5124
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5125
 
fi
5126
 
fi
5127
 
fi
5128
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5129
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
5130
 
if test $ac_cv_header_stdc = yes; then
5131
 
 
5132
 
cat >>confdefs.h <<\_ACEOF
5133
 
#define STDC_HEADERS 1
5134
 
_ACEOF
5135
 
 
5136
 
fi
5137
 
 
5138
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5139
 
 
5140
 
 
5141
 
 
5142
 
 
5143
 
 
5144
 
 
5145
 
 
5146
 
 
5147
 
 
5148
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5149
 
                  inttypes.h stdint.h unistd.h
5150
 
do
5151
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5152
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
5153
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5154
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5155
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5156
 
else
5157
 
  cat >conftest.$ac_ext <<_ACEOF
5158
 
/* confdefs.h.  */
5159
 
_ACEOF
5160
 
cat confdefs.h >>conftest.$ac_ext
5161
 
cat >>conftest.$ac_ext <<_ACEOF
5162
 
/* end confdefs.h.  */
5163
 
$ac_includes_default
5164
 
 
5165
 
#include <$ac_header>
5166
 
_ACEOF
5167
 
rm -f conftest.$ac_objext
5168
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5169
 
  (eval $ac_compile) 2>conftest.er1
5170
 
  ac_status=$?
5171
 
  grep -v '^ *+' conftest.er1 >conftest.err
5172
 
  rm -f conftest.er1
5173
 
  cat conftest.err >&5
5174
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5175
 
  (exit $ac_status); } &&
5176
 
         { ac_try='test -z "$ac_c_werror_flag"
5177
 
                         || test ! -s conftest.err'
5178
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5179
 
  (eval $ac_try) 2>&5
5180
 
  ac_status=$?
5181
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5182
 
  (exit $ac_status); }; } &&
5183
 
         { ac_try='test -s conftest.$ac_objext'
5184
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5185
 
  (eval $ac_try) 2>&5
5186
 
  ac_status=$?
5187
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5188
 
  (exit $ac_status); }; }; then
5189
 
  eval "$as_ac_Header=yes"
5190
 
else
5191
 
  echo "$as_me: failed program was:" >&5
5192
 
sed 's/^/| /' conftest.$ac_ext >&5
5193
 
 
5194
 
eval "$as_ac_Header=no"
5195
 
fi
5196
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5197
 
fi
5198
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5199
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5200
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5201
 
  cat >>confdefs.h <<_ACEOF
5202
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5203
 
_ACEOF
5204
 
 
5205
 
fi
5206
 
 
5207
 
done
5208
 
 
5209
 
 
5210
 
 
5211
 
for ac_header in dlfcn.h
5212
 
do
5213
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5214
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5215
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
5216
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5217
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5218
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5219
 
fi
5220
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5221
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5222
 
else
5223
 
  # Is the header compilable?
5224
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5225
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5226
 
cat >conftest.$ac_ext <<_ACEOF
5227
 
/* confdefs.h.  */
5228
 
_ACEOF
5229
 
cat confdefs.h >>conftest.$ac_ext
5230
 
cat >>conftest.$ac_ext <<_ACEOF
5231
 
/* end confdefs.h.  */
5232
 
$ac_includes_default
5233
 
#include <$ac_header>
5234
 
_ACEOF
5235
 
rm -f conftest.$ac_objext
5236
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5237
 
  (eval $ac_compile) 2>conftest.er1
5238
 
  ac_status=$?
5239
 
  grep -v '^ *+' conftest.er1 >conftest.err
5240
 
  rm -f conftest.er1
5241
 
  cat conftest.err >&5
5242
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5243
 
  (exit $ac_status); } &&
5244
 
         { ac_try='test -z "$ac_c_werror_flag"
5245
 
                         || test ! -s conftest.err'
5246
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5247
 
  (eval $ac_try) 2>&5
5248
 
  ac_status=$?
5249
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5250
 
  (exit $ac_status); }; } &&
5251
 
         { ac_try='test -s conftest.$ac_objext'
5252
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5253
 
  (eval $ac_try) 2>&5
5254
 
  ac_status=$?
5255
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5256
 
  (exit $ac_status); }; }; then
5257
 
  ac_header_compiler=yes
5258
 
else
5259
 
  echo "$as_me: failed program was:" >&5
5260
 
sed 's/^/| /' conftest.$ac_ext >&5
5261
 
 
5262
 
ac_header_compiler=no
5263
 
fi
5264
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5265
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5266
 
echo "${ECHO_T}$ac_header_compiler" >&6
5267
 
 
5268
 
# Is the header present?
5269
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5270
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5271
 
cat >conftest.$ac_ext <<_ACEOF
5272
 
/* confdefs.h.  */
5273
 
_ACEOF
5274
 
cat confdefs.h >>conftest.$ac_ext
5275
 
cat >>conftest.$ac_ext <<_ACEOF
5276
 
/* end confdefs.h.  */
5277
 
#include <$ac_header>
5278
 
_ACEOF
5279
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5280
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5281
 
  ac_status=$?
5282
 
  grep -v '^ *+' conftest.er1 >conftest.err
5283
 
  rm -f conftest.er1
5284
 
  cat conftest.err >&5
5285
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5286
 
  (exit $ac_status); } >/dev/null; then
5287
 
  if test -s conftest.err; then
5288
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5289
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5290
 
  else
5291
 
    ac_cpp_err=
5292
 
  fi
5293
 
else
5294
 
  ac_cpp_err=yes
5295
 
fi
5296
 
if test -z "$ac_cpp_err"; then
5297
 
  ac_header_preproc=yes
5298
 
else
5299
 
  echo "$as_me: failed program was:" >&5
5300
 
sed 's/^/| /' conftest.$ac_ext >&5
5301
 
 
5302
 
  ac_header_preproc=no
5303
 
fi
5304
 
rm -f conftest.err conftest.$ac_ext
5305
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5306
 
echo "${ECHO_T}$ac_header_preproc" >&6
5307
 
 
5308
 
# So?  What about this header?
5309
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5310
 
  yes:no: )
5311
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5312
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5313
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5314
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5315
 
    ac_header_preproc=yes
5316
 
    ;;
5317
 
  no:yes:* )
5318
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5319
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5320
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5321
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5322
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5323
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5324
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5325
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5326
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5327
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5328
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5329
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5330
 
    (
5331
 
      cat <<\_ASBOX
5332
 
## ------------------------------------------ ##
5333
 
## Report this to the AC_PACKAGE_NAME lists.  ##
5334
 
## ------------------------------------------ ##
5335
 
_ASBOX
5336
 
    ) |
5337
 
      sed "s/^/$as_me: WARNING:     /" >&2
5338
 
    ;;
5339
 
esac
5340
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
5341
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5342
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5343
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5344
 
else
5345
 
  eval "$as_ac_Header=\$ac_header_preproc"
5346
 
fi
5347
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5348
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5349
 
 
5350
 
fi
5351
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5352
 
  cat >>confdefs.h <<_ACEOF
5353
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5354
 
_ACEOF
5355
 
 
5356
 
fi
5357
 
 
5358
 
done
5359
 
 
5360
 
 
5361
 
 
5362
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5363
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5364
 
    (test "X$CXX" != "Xg++"))) ; then
5365
 
  ac_ext=cc
5366
 
ac_cpp='$CXXCPP $CPPFLAGS'
5367
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5368
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5369
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5370
 
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5371
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5372
 
if test -z "$CXXCPP"; then
5373
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5374
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5375
 
else
5376
 
      # Double quotes because CXXCPP needs to be expanded
5377
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
5378
 
    do
5379
 
      ac_preproc_ok=false
5380
 
for ac_cxx_preproc_warn_flag in '' yes
5381
 
do
5382
 
  # Use a header file that comes with gcc, so configuring glibc
5383
 
  # with a fresh cross-compiler works.
5384
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5385
 
  # <limits.h> exists even on freestanding compilers.
5386
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5387
 
  # not just through cpp. "Syntax error" is here to catch this case.
5388
 
  cat >conftest.$ac_ext <<_ACEOF
5389
 
/* confdefs.h.  */
5390
 
_ACEOF
5391
 
cat confdefs.h >>conftest.$ac_ext
5392
 
cat >>conftest.$ac_ext <<_ACEOF
5393
 
/* end confdefs.h.  */
5394
 
#ifdef __STDC__
5395
 
# include <limits.h>
5396
 
#else
5397
 
# include <assert.h>
5398
 
#endif
5399
 
                     Syntax error
5400
 
_ACEOF
5401
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5402
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5403
 
  ac_status=$?
5404
 
  grep -v '^ *+' conftest.er1 >conftest.err
5405
 
  rm -f conftest.er1
5406
 
  cat conftest.err >&5
5407
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5408
 
  (exit $ac_status); } >/dev/null; then
5409
 
  if test -s conftest.err; then
5410
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5411
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5412
 
  else
5413
 
    ac_cpp_err=
5414
 
  fi
5415
 
else
5416
 
  ac_cpp_err=yes
5417
 
fi
5418
 
if test -z "$ac_cpp_err"; then
5419
 
  :
5420
 
else
5421
 
  echo "$as_me: failed program was:" >&5
5422
 
sed 's/^/| /' conftest.$ac_ext >&5
5423
 
 
5424
 
  # Broken: fails on valid input.
5425
 
continue
5426
 
fi
5427
 
rm -f conftest.err conftest.$ac_ext
5428
 
 
5429
 
  # OK, works on sane cases.  Now check whether non-existent headers
5430
 
  # can be detected and how.
5431
 
  cat >conftest.$ac_ext <<_ACEOF
5432
 
/* confdefs.h.  */
5433
 
_ACEOF
5434
 
cat confdefs.h >>conftest.$ac_ext
5435
 
cat >>conftest.$ac_ext <<_ACEOF
5436
 
/* end confdefs.h.  */
5437
 
#include <ac_nonexistent.h>
5438
 
_ACEOF
5439
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5440
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5441
 
  ac_status=$?
5442
 
  grep -v '^ *+' conftest.er1 >conftest.err
5443
 
  rm -f conftest.er1
5444
 
  cat conftest.err >&5
5445
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5446
 
  (exit $ac_status); } >/dev/null; then
5447
 
  if test -s conftest.err; then
5448
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5449
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5450
 
  else
5451
 
    ac_cpp_err=
5452
 
  fi
5453
 
else
5454
 
  ac_cpp_err=yes
5455
 
fi
5456
 
if test -z "$ac_cpp_err"; then
5457
 
  # Broken: success on invalid input.
5458
 
continue
5459
 
else
5460
 
  echo "$as_me: failed program was:" >&5
5461
 
sed 's/^/| /' conftest.$ac_ext >&5
5462
 
 
5463
 
  # Passes both tests.
5464
 
ac_preproc_ok=:
5465
 
break
5466
 
fi
5467
 
rm -f conftest.err conftest.$ac_ext
5468
 
 
5469
 
done
5470
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5471
 
rm -f conftest.err conftest.$ac_ext
5472
 
if $ac_preproc_ok; then
5473
 
  break
5474
 
fi
5475
 
 
5476
 
    done
5477
 
    ac_cv_prog_CXXCPP=$CXXCPP
5478
 
 
5479
 
fi
5480
 
  CXXCPP=$ac_cv_prog_CXXCPP
5481
 
else
5482
 
  ac_cv_prog_CXXCPP=$CXXCPP
5483
 
fi
5484
 
echo "$as_me:$LINENO: result: $CXXCPP" >&5
5485
 
echo "${ECHO_T}$CXXCPP" >&6
5486
 
ac_preproc_ok=false
5487
 
for ac_cxx_preproc_warn_flag in '' yes
5488
 
do
5489
 
  # Use a header file that comes with gcc, so configuring glibc
5490
 
  # with a fresh cross-compiler works.
5491
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5492
 
  # <limits.h> exists even on freestanding compilers.
5493
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5494
 
  # not just through cpp. "Syntax error" is here to catch this case.
5495
 
  cat >conftest.$ac_ext <<_ACEOF
5496
 
/* confdefs.h.  */
5497
 
_ACEOF
5498
 
cat confdefs.h >>conftest.$ac_ext
5499
 
cat >>conftest.$ac_ext <<_ACEOF
5500
 
/* end confdefs.h.  */
5501
 
#ifdef __STDC__
5502
 
# include <limits.h>
5503
 
#else
5504
 
# include <assert.h>
5505
 
#endif
5506
 
                     Syntax error
5507
 
_ACEOF
5508
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5509
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5510
 
  ac_status=$?
5511
 
  grep -v '^ *+' conftest.er1 >conftest.err
5512
 
  rm -f conftest.er1
5513
 
  cat conftest.err >&5
5514
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5515
 
  (exit $ac_status); } >/dev/null; then
5516
 
  if test -s conftest.err; then
5517
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5518
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5519
 
  else
5520
 
    ac_cpp_err=
5521
 
  fi
5522
 
else
5523
 
  ac_cpp_err=yes
5524
 
fi
5525
 
if test -z "$ac_cpp_err"; then
5526
 
  :
5527
 
else
5528
 
  echo "$as_me: failed program was:" >&5
5529
 
sed 's/^/| /' conftest.$ac_ext >&5
5530
 
 
5531
 
  # Broken: fails on valid input.
5532
 
continue
5533
 
fi
5534
 
rm -f conftest.err conftest.$ac_ext
5535
 
 
5536
 
  # OK, works on sane cases.  Now check whether non-existent headers
5537
 
  # can be detected and how.
5538
 
  cat >conftest.$ac_ext <<_ACEOF
5539
 
/* confdefs.h.  */
5540
 
_ACEOF
5541
 
cat confdefs.h >>conftest.$ac_ext
5542
 
cat >>conftest.$ac_ext <<_ACEOF
5543
 
/* end confdefs.h.  */
5544
 
#include <ac_nonexistent.h>
5545
 
_ACEOF
5546
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5547
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5548
 
  ac_status=$?
5549
 
  grep -v '^ *+' conftest.er1 >conftest.err
5550
 
  rm -f conftest.er1
5551
 
  cat conftest.err >&5
5552
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5553
 
  (exit $ac_status); } >/dev/null; then
5554
 
  if test -s conftest.err; then
5555
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5556
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5557
 
  else
5558
 
    ac_cpp_err=
5559
 
  fi
5560
 
else
5561
 
  ac_cpp_err=yes
5562
 
fi
5563
 
if test -z "$ac_cpp_err"; then
5564
 
  # Broken: success on invalid input.
5565
 
continue
5566
 
else
5567
 
  echo "$as_me: failed program was:" >&5
5568
 
sed 's/^/| /' conftest.$ac_ext >&5
5569
 
 
5570
 
  # Passes both tests.
5571
 
ac_preproc_ok=:
5572
 
break
5573
 
fi
5574
 
rm -f conftest.err conftest.$ac_ext
5575
 
 
5576
 
done
5577
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5578
 
rm -f conftest.err conftest.$ac_ext
5579
 
if $ac_preproc_ok; then
5580
 
  :
5581
 
else
5582
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5583
 
See \`config.log' for more details." >&5
5584
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5585
 
See \`config.log' for more details." >&2;}
5586
 
   { (exit 1); exit 1; }; }
5587
 
fi
5588
 
 
5589
 
ac_ext=cc
5590
 
ac_cpp='$CXXCPP $CPPFLAGS'
5591
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5592
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5593
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5594
 
 
5595
 
fi
5596
 
 
5597
 
 
5598
 
ac_ext=f
5599
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5600
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5601
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5602
 
if test -n "$ac_tool_prefix"; then
5603
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5604
 
  do
5605
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5606
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5607
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5608
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5609
 
if test "${ac_cv_prog_F77+set}" = set; then
5610
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5611
 
else
5612
 
  if test -n "$F77"; then
5613
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
5614
 
else
5615
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5616
 
for as_dir in $PATH
5617
 
do
5618
 
  IFS=$as_save_IFS
5619
 
  test -z "$as_dir" && as_dir=.
5620
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5621
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5622
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5623
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5624
 
    break 2
5625
 
  fi
5626
 
done
5627
 
done
5628
 
 
5629
 
fi
5630
 
fi
5631
 
F77=$ac_cv_prog_F77
5632
 
if test -n "$F77"; then
5633
 
  echo "$as_me:$LINENO: result: $F77" >&5
5634
 
echo "${ECHO_T}$F77" >&6
5635
 
else
5636
 
  echo "$as_me:$LINENO: result: no" >&5
5637
 
echo "${ECHO_T}no" >&6
5638
 
fi
5639
 
 
5640
 
    test -n "$F77" && break
5641
 
  done
5642
 
fi
5643
 
if test -z "$F77"; then
5644
 
  ac_ct_F77=$F77
5645
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5646
 
do
5647
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5648
 
set dummy $ac_prog; ac_word=$2
5649
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5650
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5651
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5652
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5653
 
else
5654
 
  if test -n "$ac_ct_F77"; then
5655
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5656
 
else
5657
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5658
 
for as_dir in $PATH
5659
 
do
5660
 
  IFS=$as_save_IFS
5661
 
  test -z "$as_dir" && as_dir=.
5662
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5663
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5664
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
5665
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5666
 
    break 2
5667
 
  fi
5668
 
done
5669
 
done
5670
 
 
5671
 
fi
5672
 
fi
5673
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
5674
 
if test -n "$ac_ct_F77"; then
5675
 
  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5676
 
echo "${ECHO_T}$ac_ct_F77" >&6
5677
 
else
5678
 
  echo "$as_me:$LINENO: result: no" >&5
5679
 
echo "${ECHO_T}no" >&6
5680
 
fi
5681
 
 
5682
 
  test -n "$ac_ct_F77" && break
5683
 
done
5684
 
 
5685
 
  F77=$ac_ct_F77
5686
 
fi
5687
 
 
5688
 
 
5689
 
# Provide some information about the compiler.
5690
 
echo "$as_me:5690:" \
5691
 
     "checking for Fortran 77 compiler version" >&5
5692
 
ac_compiler=`set X $ac_compile; echo $2`
5693
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5694
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
5695
 
  ac_status=$?
5696
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5697
 
  (exit $ac_status); }
5698
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5699
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
5700
 
  ac_status=$?
5701
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5702
 
  (exit $ac_status); }
5703
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5704
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
5705
 
  ac_status=$?
5706
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5707
 
  (exit $ac_status); }
5708
 
rm -f a.out
5709
 
 
5710
 
# If we don't use `.F' as extension, the preprocessor is not run on the
5711
 
# input file.  (Note that this only needs to work for GNU compilers.)
5712
 
ac_save_ext=$ac_ext
5713
 
ac_ext=F
5714
 
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5715
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5716
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5717
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5718
 
else
5719
 
  cat >conftest.$ac_ext <<_ACEOF
5720
 
      program main
5721
 
#ifndef __GNUC__
5722
 
       choke me
5723
 
#endif
5724
 
 
5725
 
      end
5726
 
_ACEOF
5727
 
rm -f conftest.$ac_objext
5728
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5729
 
  (eval $ac_compile) 2>conftest.er1
5730
 
  ac_status=$?
5731
 
  grep -v '^ *+' conftest.er1 >conftest.err
5732
 
  rm -f conftest.er1
5733
 
  cat conftest.err >&5
5734
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5735
 
  (exit $ac_status); } &&
5736
 
         { ac_try='test -z "$ac_f77_werror_flag"
5737
 
                         || test ! -s conftest.err'
5738
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5739
 
  (eval $ac_try) 2>&5
5740
 
  ac_status=$?
5741
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5742
 
  (exit $ac_status); }; } &&
5743
 
         { ac_try='test -s conftest.$ac_objext'
5744
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5745
 
  (eval $ac_try) 2>&5
5746
 
  ac_status=$?
5747
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5748
 
  (exit $ac_status); }; }; then
5749
 
  ac_compiler_gnu=yes
5750
 
else
5751
 
  echo "$as_me: failed program was:" >&5
5752
 
sed 's/^/| /' conftest.$ac_ext >&5
5753
 
 
5754
 
ac_compiler_gnu=no
5755
 
fi
5756
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5757
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5758
 
 
5759
 
fi
5760
 
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5761
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5762
 
ac_ext=$ac_save_ext
5763
 
ac_test_FFLAGS=${FFLAGS+set}
5764
 
ac_save_FFLAGS=$FFLAGS
5765
 
FFLAGS=
5766
 
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5767
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5768
 
if test "${ac_cv_prog_f77_g+set}" = set; then
5769
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5770
 
else
5771
 
  FFLAGS=-g
5772
 
cat >conftest.$ac_ext <<_ACEOF
5773
 
      program main
5774
 
 
5775
 
      end
5776
 
_ACEOF
5777
 
rm -f conftest.$ac_objext
5778
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5779
 
  (eval $ac_compile) 2>conftest.er1
5780
 
  ac_status=$?
5781
 
  grep -v '^ *+' conftest.er1 >conftest.err
5782
 
  rm -f conftest.er1
5783
 
  cat conftest.err >&5
5784
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5785
 
  (exit $ac_status); } &&
5786
 
         { ac_try='test -z "$ac_f77_werror_flag"
5787
 
                         || test ! -s conftest.err'
5788
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5789
 
  (eval $ac_try) 2>&5
5790
 
  ac_status=$?
5791
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5792
 
  (exit $ac_status); }; } &&
5793
 
         { ac_try='test -s conftest.$ac_objext'
5794
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5795
 
  (eval $ac_try) 2>&5
5796
 
  ac_status=$?
5797
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5798
 
  (exit $ac_status); }; }; then
5799
 
  ac_cv_prog_f77_g=yes
5800
 
else
5801
 
  echo "$as_me: failed program was:" >&5
5802
 
sed 's/^/| /' conftest.$ac_ext >&5
5803
 
 
5804
 
ac_cv_prog_f77_g=no
5805
 
fi
5806
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5807
 
 
5808
 
fi
5809
 
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5810
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5811
 
if test "$ac_test_FFLAGS" = set; then
5812
 
  FFLAGS=$ac_save_FFLAGS
5813
 
elif test $ac_cv_prog_f77_g = yes; then
5814
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
5815
 
    FFLAGS="-g -O2"
5816
 
  else
5817
 
    FFLAGS="-g"
5818
 
  fi
5819
 
else
5820
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
5821
 
    FFLAGS="-O2"
5822
 
  else
5823
 
    FFLAGS=
5824
 
  fi
5825
 
fi
5826
 
 
5827
 
G77=`test $ac_compiler_gnu = yes && echo yes`
5828
 
ac_ext=c
5829
 
ac_cpp='$CPP $CPPFLAGS'
5830
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5831
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5832
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5833
 
 
5834
 
 
5835
 
 
5836
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5837
 
 
5838
 
# find the maximum length of command line arguments
5839
 
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5840
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5841
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5842
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5843
 
else
5844
 
    i=0
5845
 
  teststring="ABCD"
5846
 
 
5847
 
  case $build_os in
5848
 
  msdosdjgpp*)
5849
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
5850
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
5851
 
    # during glob expansion).  Even if it were fixed, the result of this
5852
 
    # check would be larger than it should be.
5853
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5854
 
    ;;
5855
 
 
5856
 
  gnu*)
5857
 
    # Under GNU Hurd, this test is not required because there is
5858
 
    # no limit to the length of command line arguments.
5859
 
    # Libtool will interpret -1 as no limit whatsoever
5860
 
    lt_cv_sys_max_cmd_len=-1;
5861
 
    ;;
5862
 
 
5863
 
  cygwin* | mingw*)
5864
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
5865
 
    # about 5 minutes as the teststring grows exponentially.
5866
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
5867
 
    # you end up with a "frozen" computer, even though with patience
5868
 
    # the test eventually succeeds (with a max line length of 256k).
5869
 
    # Instead, let's just punt: use the minimum linelength reported by
5870
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
5871
 
    lt_cv_sys_max_cmd_len=8192;
5872
 
    ;;
5873
 
 
5874
 
  amigaos*)
5875
 
    # On AmigaOS with pdksh, this test takes hours, literally.
5876
 
    # So we just punt and use a minimum line length of 8192.
5877
 
    lt_cv_sys_max_cmd_len=8192;
5878
 
    ;;
5879
 
 
5880
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5881
 
    # This has been around since 386BSD, at least.  Likely further.
5882
 
    if test -x /sbin/sysctl; then
5883
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5884
 
    elif test -x /usr/sbin/sysctl; then
5885
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5886
 
    else
5887
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5888
 
    fi
5889
 
    # And add a safety zone
5890
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5891
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5892
 
    ;;
5893
 
 
5894
 
  interix*)
5895
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5896
 
    lt_cv_sys_max_cmd_len=196608
5897
 
    ;;
5898
 
 
5899
 
  osf*)
5900
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5901
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5902
 
    # nice to cause kernel panics so lets avoid the loop below.
5903
 
    # First set a reasonable default.
5904
 
    lt_cv_sys_max_cmd_len=16384
5905
 
    #
5906
 
    if test -x /sbin/sysconfig; then
5907
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5908
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5909
 
      esac
5910
 
    fi
5911
 
    ;;
5912
 
  sco3.2v5*)
5913
 
    lt_cv_sys_max_cmd_len=102400
5914
 
    ;;
5915
 
  sysv5* | sco5v6* | sysv4.2uw2*)
5916
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5917
 
    if test -n "$kargmax"; then
5918
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
5919
 
    else
5920
 
      lt_cv_sys_max_cmd_len=32768
5921
 
    fi
5922
 
    ;;
5923
 
  *)
5924
 
    # If test is not a shell built-in, we'll probably end up computing a
5925
 
    # maximum length that is only half of the actual maximum length, but
5926
 
    # we can't tell.
5927
 
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5928
 
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5929
 
               = "XX$teststring") >/dev/null 2>&1 &&
5930
 
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
5931
 
            lt_cv_sys_max_cmd_len=$new_result &&
5932
 
            test $i != 17 # 1/2 MB should be enough
5933
 
    do
5934
 
      i=`expr $i + 1`
5935
 
      teststring=$teststring$teststring
5936
 
    done
5937
 
    teststring=
5938
 
    # Add a significant safety factor because C++ compilers can tack on massive
5939
 
    # amounts of additional arguments before passing them to the linker.
5940
 
    # It appears as though 1/2 is a usable value.
5941
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5942
 
    ;;
5943
 
  esac
5944
 
 
5945
 
fi
5946
 
 
5947
 
if test -n $lt_cv_sys_max_cmd_len ; then
5948
 
  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5949
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5950
 
else
5951
 
  echo "$as_me:$LINENO: result: none" >&5
5952
 
echo "${ECHO_T}none" >&6
5953
 
fi
5954
 
 
5955
 
 
5956
 
 
5957
 
 
5958
 
# Check for command to grab the raw symbol name followed by C symbol from nm.
5959
 
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5960
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5961
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5962
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5963
 
else
5964
 
 
5965
 
# These are sane defaults that work on at least a few old systems.
5966
 
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5967
 
 
5968
 
# Character class describing NM global symbol codes.
5969
 
symcode='[BCDEGRST]'
5970
 
 
5971
 
# Regexp to match symbols that can be accessed directly from C.
5972
 
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5973
 
 
5974
 
# Transform an extracted symbol line into a proper C declaration
5975
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5976
 
 
5977
 
# Transform an extracted symbol line into symbol name and symbol address
5978
 
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'"
5979
 
 
5980
 
# Define system-specific variables.
5981
 
case $host_os in
5982
 
aix*)
5983
 
  symcode='[BCDT]'
5984
 
  ;;
5985
 
cygwin* | mingw* | pw32*)
5986
 
  symcode='[ABCDGISTW]'
5987
 
  ;;
5988
 
hpux*) # Its linker distinguishes data from code symbols
5989
 
  if test "$host_cpu" = ia64; then
5990
 
    symcode='[ABCDEGRST]'
5991
 
  fi
5992
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5993
 
  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'"
5994
 
  ;;
5995
 
linux*)
5996
 
  if test "$host_cpu" = ia64; then
5997
 
    symcode='[ABCDGIRSTW]'
5998
 
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5999
 
    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'"
6000
 
  fi
6001
 
  ;;
6002
 
irix* | nonstopux*)
6003
 
  symcode='[BCDEGRST]'
6004
 
  ;;
6005
 
osf*)
6006
 
  symcode='[BCDEGQRST]'
6007
 
  ;;
6008
 
solaris*)
6009
 
  symcode='[BDRT]'
6010
 
  ;;
6011
 
sco3.2v5*)
6012
 
  symcode='[DT]'
6013
 
  ;;
6014
 
sysv4.2uw2*)
6015
 
  symcode='[DT]'
6016
 
  ;;
6017
 
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6018
 
  symcode='[ABDT]'
6019
 
  ;;
6020
 
sysv4)
6021
 
  symcode='[DFNSTU]'
6022
 
  ;;
6023
 
esac
6024
 
 
6025
 
# Handle CRLF in mingw tool chain
6026
 
opt_cr=
6027
 
case $build_os in
6028
 
mingw*)
6029
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6030
 
  ;;
6031
 
esac
6032
 
 
6033
 
# If we're using GNU nm, then use its standard symbol codes.
6034
 
case `$NM -V 2>&1` in
6035
 
*GNU* | *'with BFD'*)
6036
 
  symcode='[ABCDGIRSTW]' ;;
6037
 
esac
6038
 
 
6039
 
# Try without a prefix undercore, then with it.
6040
 
for ac_symprfx in "" "_"; do
6041
 
 
6042
 
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6043
 
  symxfrm="\\1 $ac_symprfx\\2 \\2"
6044
 
 
6045
 
  # Write the raw and C identifiers.
6046
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6047
 
 
6048
 
  # Check to see that the pipe works correctly.
6049
 
  pipe_works=no
6050
 
 
6051
 
  rm -f conftest*
6052
 
  cat > conftest.$ac_ext <<EOF
6053
 
#ifdef __cplusplus
6054
 
extern "C" {
6055
 
#endif
6056
 
char nm_test_var;
6057
 
void nm_test_func(){}
6058
 
#ifdef __cplusplus
6059
 
}
6060
 
#endif
6061
 
int main(){nm_test_var='a';nm_test_func();return(0);}
6062
 
EOF
6063
 
 
6064
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6065
 
  (eval $ac_compile) 2>&5
6066
 
  ac_status=$?
6067
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6068
 
  (exit $ac_status); }; then
6069
 
    # Now try to grab the symbols.
6070
 
    nlist=conftest.nm
6071
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6072
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6073
 
  ac_status=$?
6074
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6075
 
  (exit $ac_status); } && test -s "$nlist"; then
6076
 
      # Try sorting and uniquifying the output.
6077
 
      if sort "$nlist" | uniq > "$nlist"T; then
6078
 
        mv -f "$nlist"T "$nlist"
6079
 
      else
6080
 
        rm -f "$nlist"T
6081
 
      fi
6082
 
 
6083
 
      # Make sure that we snagged all the symbols we need.
6084
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
6085
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
6086
 
          cat <<EOF > conftest.$ac_ext
6087
 
#ifdef __cplusplus
6088
 
extern "C" {
6089
 
#endif
6090
 
 
6091
 
EOF
6092
 
          # Now generate the symbol file.
6093
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6094
 
 
6095
 
          cat <<EOF >> conftest.$ac_ext
6096
 
#if defined (__STDC__) && __STDC__
6097
 
# define lt_ptr_t void *
6098
 
#else
6099
 
# define lt_ptr_t char *
6100
 
# define const
6101
 
#endif
6102
 
 
6103
 
/* The mapping between symbol names and symbols. */
6104
 
const struct {
6105
 
  const char *name;
6106
 
  lt_ptr_t address;
6107
 
}
6108
 
lt_preloaded_symbols[] =
6109
 
{
6110
 
EOF
6111
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
6112
 
          cat <<\EOF >> conftest.$ac_ext
6113
 
  {0, (lt_ptr_t) 0}
6114
 
};
6115
 
 
6116
 
#ifdef __cplusplus
6117
 
}
6118
 
#endif
6119
 
EOF
6120
 
          # Now try linking the two files.
6121
 
          mv conftest.$ac_objext conftstm.$ac_objext
6122
 
          lt_save_LIBS="$LIBS"
6123
 
          lt_save_CFLAGS="$CFLAGS"
6124
 
          LIBS="conftstm.$ac_objext"
6125
 
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6126
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6127
 
  (eval $ac_link) 2>&5
6128
 
  ac_status=$?
6129
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6130
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
6131
 
            pipe_works=yes
6132
 
          fi
6133
 
          LIBS="$lt_save_LIBS"
6134
 
          CFLAGS="$lt_save_CFLAGS"
6135
 
        else
6136
 
          echo "cannot find nm_test_func in $nlist" >&5
6137
 
        fi
6138
 
      else
6139
 
        echo "cannot find nm_test_var in $nlist" >&5
6140
 
      fi
6141
 
    else
6142
 
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6143
 
    fi
6144
 
  else
6145
 
    echo "$progname: failed program was:" >&5
6146
 
    cat conftest.$ac_ext >&5
6147
 
  fi
6148
 
  rm -f conftest* conftst*
6149
 
 
6150
 
  # Do not use the global_symbol_pipe unless it works.
6151
 
  if test "$pipe_works" = yes; then
6152
 
    break
6153
 
  else
6154
 
    lt_cv_sys_global_symbol_pipe=
6155
 
  fi
6156
 
done
6157
 
 
6158
 
fi
6159
 
 
6160
 
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6161
 
  lt_cv_sys_global_symbol_to_cdecl=
6162
 
fi
6163
 
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6164
 
  echo "$as_me:$LINENO: result: failed" >&5
6165
 
echo "${ECHO_T}failed" >&6
6166
 
else
6167
 
  echo "$as_me:$LINENO: result: ok" >&5
6168
 
echo "${ECHO_T}ok" >&6
6169
 
fi
6170
 
 
6171
 
echo "$as_me:$LINENO: checking for objdir" >&5
6172
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6173
 
if test "${lt_cv_objdir+set}" = set; then
6174
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6175
 
else
6176
 
  rm -f .libs 2>/dev/null
6177
 
mkdir .libs 2>/dev/null
6178
 
if test -d .libs; then
6179
 
  lt_cv_objdir=.libs
6180
 
else
6181
 
  # MS-DOS does not allow filenames that begin with a dot.
6182
 
  lt_cv_objdir=_libs
6183
 
fi
6184
 
rmdir .libs 2>/dev/null
6185
 
fi
6186
 
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6187
 
echo "${ECHO_T}$lt_cv_objdir" >&6
6188
 
objdir=$lt_cv_objdir
6189
 
 
6190
 
 
6191
 
 
6192
 
 
6193
 
 
6194
 
case $host_os in
6195
 
aix3*)
6196
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
6197
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
6198
 
  # vanish in a puff of smoke.
6199
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
6200
 
    COLLECT_NAMES=
6201
 
    export COLLECT_NAMES
6202
 
  fi
6203
 
  ;;
6204
 
esac
6205
 
 
6206
 
# Sed substitution that helps us do robust quoting.  It backslashifies
6207
 
# metacharacters that are still active within double-quoted strings.
6208
 
Xsed='sed -e 1s/^X//'
6209
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
6210
 
 
6211
 
# Same as above, but do not quote variable references.
6212
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
6213
 
 
6214
 
# Sed substitution to delay expansion of an escaped shell variable in a
6215
 
# double_quote_subst'ed string.
6216
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6217
 
 
6218
 
# Sed substitution to avoid accidental globbing in evaled expressions
6219
 
no_glob_subst='s/\*/\\\*/g'
6220
 
 
6221
 
# Constants:
6222
 
rm="rm -f"
6223
 
 
6224
 
# Global variables:
6225
 
default_ofile=libtool
6226
 
can_build_shared=yes
6227
 
 
6228
 
# All known linkers require a `.a' archive for static linking (except MSVC,
6229
 
# which needs '.lib').
6230
 
libext=a
6231
 
ltmain="$ac_aux_dir/ltmain.sh"
6232
 
ofile="$default_ofile"
6233
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
6234
 
 
6235
 
if test -n "$ac_tool_prefix"; then
6236
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6237
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
6238
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6239
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6240
 
if test "${ac_cv_prog_AR+set}" = set; then
6241
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6242
 
else
6243
 
  if test -n "$AR"; then
6244
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
6245
 
else
6246
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6247
 
for as_dir in $PATH
6248
 
do
6249
 
  IFS=$as_save_IFS
6250
 
  test -z "$as_dir" && as_dir=.
6251
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6252
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6253
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6254
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6255
 
    break 2
6256
 
  fi
6257
 
done
6258
 
done
6259
 
 
6260
 
fi
6261
 
fi
6262
 
AR=$ac_cv_prog_AR
6263
 
if test -n "$AR"; then
6264
 
  echo "$as_me:$LINENO: result: $AR" >&5
6265
 
echo "${ECHO_T}$AR" >&6
6266
 
else
6267
 
  echo "$as_me:$LINENO: result: no" >&5
6268
 
echo "${ECHO_T}no" >&6
6269
 
fi
6270
 
 
6271
 
fi
6272
 
if test -z "$ac_cv_prog_AR"; then
6273
 
  ac_ct_AR=$AR
6274
 
  # Extract the first word of "ar", so it can be a program name with args.
6275
 
set dummy ar; ac_word=$2
6276
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6277
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6278
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6279
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6280
 
else
6281
 
  if test -n "$ac_ct_AR"; then
6282
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6283
 
else
6284
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6285
 
for as_dir in $PATH
6286
 
do
6287
 
  IFS=$as_save_IFS
6288
 
  test -z "$as_dir" && as_dir=.
6289
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6290
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6291
 
    ac_cv_prog_ac_ct_AR="ar"
6292
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6293
 
    break 2
6294
 
  fi
6295
 
done
6296
 
done
6297
 
 
6298
 
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
6299
 
fi
6300
 
fi
6301
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6302
 
if test -n "$ac_ct_AR"; then
6303
 
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6304
 
echo "${ECHO_T}$ac_ct_AR" >&6
6305
 
else
6306
 
  echo "$as_me:$LINENO: result: no" >&5
6307
 
echo "${ECHO_T}no" >&6
6308
 
fi
6309
 
 
6310
 
  AR=$ac_ct_AR
6311
 
else
6312
 
  AR="$ac_cv_prog_AR"
6313
 
fi
6314
 
 
6315
 
if test -n "$ac_tool_prefix"; then
6316
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6317
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6318
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6319
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6320
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
6321
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6322
 
else
6323
 
  if test -n "$RANLIB"; then
6324
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6325
 
else
6326
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6327
 
for as_dir in $PATH
6328
 
do
6329
 
  IFS=$as_save_IFS
6330
 
  test -z "$as_dir" && as_dir=.
6331
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6332
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6333
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6334
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6335
 
    break 2
6336
 
  fi
6337
 
done
6338
 
done
6339
 
 
6340
 
fi
6341
 
fi
6342
 
RANLIB=$ac_cv_prog_RANLIB
6343
 
if test -n "$RANLIB"; then
6344
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
6345
 
echo "${ECHO_T}$RANLIB" >&6
6346
 
else
6347
 
  echo "$as_me:$LINENO: result: no" >&5
6348
 
echo "${ECHO_T}no" >&6
6349
 
fi
6350
 
 
6351
 
fi
6352
 
if test -z "$ac_cv_prog_RANLIB"; then
6353
 
  ac_ct_RANLIB=$RANLIB
6354
 
  # Extract the first word of "ranlib", so it can be a program name with args.
6355
 
set dummy ranlib; ac_word=$2
6356
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6357
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6358
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6359
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6360
 
else
6361
 
  if test -n "$ac_ct_RANLIB"; then
6362
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6363
 
else
6364
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6365
 
for as_dir in $PATH
6366
 
do
6367
 
  IFS=$as_save_IFS
6368
 
  test -z "$as_dir" && as_dir=.
6369
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6370
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6371
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6372
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6373
 
    break 2
6374
 
  fi
6375
 
done
6376
 
done
6377
 
 
6378
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6379
 
fi
6380
 
fi
6381
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6382
 
if test -n "$ac_ct_RANLIB"; then
6383
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6384
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
6385
 
else
6386
 
  echo "$as_me:$LINENO: result: no" >&5
6387
 
echo "${ECHO_T}no" >&6
6388
 
fi
6389
 
 
6390
 
  RANLIB=$ac_ct_RANLIB
6391
 
else
6392
 
  RANLIB="$ac_cv_prog_RANLIB"
6393
 
fi
6394
 
 
6395
 
if test -n "$ac_tool_prefix"; then
6396
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6397
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
6398
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6399
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6400
 
if test "${ac_cv_prog_STRIP+set}" = set; then
6401
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6402
 
else
6403
 
  if test -n "$STRIP"; then
6404
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6405
 
else
6406
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6407
 
for as_dir in $PATH
6408
 
do
6409
 
  IFS=$as_save_IFS
6410
 
  test -z "$as_dir" && as_dir=.
6411
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6412
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6413
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6414
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6415
 
    break 2
6416
 
  fi
6417
 
done
6418
 
done
6419
 
 
6420
 
fi
6421
 
fi
6422
 
STRIP=$ac_cv_prog_STRIP
6423
 
if test -n "$STRIP"; then
6424
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
6425
 
echo "${ECHO_T}$STRIP" >&6
6426
 
else
6427
 
  echo "$as_me:$LINENO: result: no" >&5
6428
 
echo "${ECHO_T}no" >&6
6429
 
fi
6430
 
 
6431
 
fi
6432
 
if test -z "$ac_cv_prog_STRIP"; then
6433
 
  ac_ct_STRIP=$STRIP
6434
 
  # Extract the first word of "strip", so it can be a program name with args.
6435
 
set dummy strip; ac_word=$2
6436
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6437
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6438
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6439
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6440
 
else
6441
 
  if test -n "$ac_ct_STRIP"; then
6442
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6443
 
else
6444
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6445
 
for as_dir in $PATH
6446
 
do
6447
 
  IFS=$as_save_IFS
6448
 
  test -z "$as_dir" && as_dir=.
6449
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6450
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6451
 
    ac_cv_prog_ac_ct_STRIP="strip"
6452
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6453
 
    break 2
6454
 
  fi
6455
 
done
6456
 
done
6457
 
 
6458
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6459
 
fi
6460
 
fi
6461
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6462
 
if test -n "$ac_ct_STRIP"; then
6463
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6464
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
6465
 
else
6466
 
  echo "$as_me:$LINENO: result: no" >&5
6467
 
echo "${ECHO_T}no" >&6
6468
 
fi
6469
 
 
6470
 
  STRIP=$ac_ct_STRIP
6471
 
else
6472
 
  STRIP="$ac_cv_prog_STRIP"
6473
 
fi
6474
 
 
6475
 
 
6476
 
old_CC="$CC"
6477
 
old_CFLAGS="$CFLAGS"
6478
 
 
6479
 
# Set sane defaults for various variables
6480
 
test -z "$AR" && AR=ar
6481
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
6482
 
test -z "$AS" && AS=as
6483
 
test -z "$CC" && CC=cc
6484
 
test -z "$LTCC" && LTCC=$CC
6485
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6486
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
6487
 
test -z "$LD" && LD=ld
6488
 
test -z "$LN_S" && LN_S="ln -s"
6489
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
6490
 
test -z "$NM" && NM=nm
6491
 
test -z "$SED" && SED=sed
6492
 
test -z "$OBJDUMP" && OBJDUMP=objdump
6493
 
test -z "$RANLIB" && RANLIB=:
6494
 
test -z "$STRIP" && STRIP=:
6495
 
test -z "$ac_objext" && ac_objext=o
6496
 
 
6497
 
# Determine commands to create old-style static archives.
6498
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6499
 
old_postinstall_cmds='chmod 644 $oldlib'
6500
 
old_postuninstall_cmds=
6501
 
 
6502
 
if test -n "$RANLIB"; then
6503
 
  case $host_os in
6504
 
  openbsd*)
6505
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6506
 
    ;;
6507
 
  *)
6508
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6509
 
    ;;
6510
 
  esac
6511
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6512
 
fi
6513
 
 
6514
 
for cc_temp in $compiler""; do
6515
 
  case $cc_temp in
6516
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6517
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6518
 
    \-*) ;;
6519
 
    *) break;;
6520
 
  esac
6521
 
done
6522
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6523
 
 
6524
 
 
6525
 
# Only perform the check for file, if the check method requires it
6526
 
case $deplibs_check_method in
6527
 
file_magic*)
6528
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6529
 
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6530
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6531
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6532
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6533
 
else
6534
 
  case $MAGIC_CMD in
6535
 
[\\/*] |  ?:[\\/]*)
6536
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6537
 
  ;;
6538
 
*)
6539
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
6540
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6541
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6542
 
  for ac_dir in $ac_dummy; do
6543
 
    IFS="$lt_save_ifs"
6544
 
    test -z "$ac_dir" && ac_dir=.
6545
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
6546
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6547
 
      if test -n "$file_magic_test_file"; then
6548
 
        case $deplibs_check_method in
6549
 
        "file_magic "*)
6550
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6551
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6552
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6553
 
            $EGREP "$file_magic_regex" > /dev/null; then
6554
 
            :
6555
 
          else
6556
 
            cat <<EOF 1>&2
6557
 
 
6558
 
*** Warning: the command libtool uses to detect shared libraries,
6559
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
6560
 
*** The result is that libtool may fail to recognize shared libraries
6561
 
*** as such.  This will affect the creation of libtool libraries that
6562
 
*** depend on shared libraries, but programs linked with such libtool
6563
 
*** libraries will work regardless of this problem.  Nevertheless, you
6564
 
*** may want to report the problem to your system manager and/or to
6565
 
*** bug-libtool@gnu.org
6566
 
 
6567
 
EOF
6568
 
          fi ;;
6569
 
        esac
6570
 
      fi
6571
 
      break
6572
 
    fi
6573
 
  done
6574
 
  IFS="$lt_save_ifs"
6575
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
6576
 
  ;;
6577
 
esac
6578
 
fi
6579
 
 
6580
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6581
 
if test -n "$MAGIC_CMD"; then
6582
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6583
 
echo "${ECHO_T}$MAGIC_CMD" >&6
6584
 
else
6585
 
  echo "$as_me:$LINENO: result: no" >&5
6586
 
echo "${ECHO_T}no" >&6
6587
 
fi
6588
 
 
6589
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
6590
 
  if test -n "$ac_tool_prefix"; then
6591
 
    echo "$as_me:$LINENO: checking for file" >&5
6592
 
echo $ECHO_N "checking for file... $ECHO_C" >&6
6593
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6594
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6595
 
else
6596
 
  case $MAGIC_CMD in
6597
 
[\\/*] |  ?:[\\/]*)
6598
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6599
 
  ;;
6600
 
*)
6601
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
6602
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6603
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6604
 
  for ac_dir in $ac_dummy; do
6605
 
    IFS="$lt_save_ifs"
6606
 
    test -z "$ac_dir" && ac_dir=.
6607
 
    if test -f $ac_dir/file; then
6608
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
6609
 
      if test -n "$file_magic_test_file"; then
6610
 
        case $deplibs_check_method in
6611
 
        "file_magic "*)
6612
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6613
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6614
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6615
 
            $EGREP "$file_magic_regex" > /dev/null; then
6616
 
            :
6617
 
          else
6618
 
            cat <<EOF 1>&2
6619
 
 
6620
 
*** Warning: the command libtool uses to detect shared libraries,
6621
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
6622
 
*** The result is that libtool may fail to recognize shared libraries
6623
 
*** as such.  This will affect the creation of libtool libraries that
6624
 
*** depend on shared libraries, but programs linked with such libtool
6625
 
*** libraries will work regardless of this problem.  Nevertheless, you
6626
 
*** may want to report the problem to your system manager and/or to
6627
 
*** bug-libtool@gnu.org
6628
 
 
6629
 
EOF
6630
 
          fi ;;
6631
 
        esac
6632
 
      fi
6633
 
      break
6634
 
    fi
6635
 
  done
6636
 
  IFS="$lt_save_ifs"
6637
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
6638
 
  ;;
6639
 
esac
6640
 
fi
6641
 
 
6642
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6643
 
if test -n "$MAGIC_CMD"; then
6644
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6645
 
echo "${ECHO_T}$MAGIC_CMD" >&6
6646
 
else
6647
 
  echo "$as_me:$LINENO: result: no" >&5
6648
 
echo "${ECHO_T}no" >&6
6649
 
fi
6650
 
 
6651
 
  else
6652
 
    MAGIC_CMD=:
6653
 
  fi
6654
 
fi
6655
 
 
6656
 
  fi
6657
 
  ;;
6658
 
esac
6659
 
 
6660
 
enable_dlopen=yes
6661
 
enable_win32_dll=yes
6662
 
 
6663
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6664
 
if test "${enable_libtool_lock+set}" = set; then
6665
 
  enableval="$enable_libtool_lock"
6666
 
 
6667
 
fi;
6668
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6669
 
 
6670
 
 
6671
 
# Check whether --with-pic or --without-pic was given.
6672
 
if test "${with_pic+set}" = set; then
6673
 
  withval="$with_pic"
6674
 
  pic_mode="$withval"
6675
 
else
6676
 
  pic_mode=default
6677
 
fi;
6678
 
test -z "$pic_mode" && pic_mode=default
6679
 
 
6680
 
# Use C for the default configuration in the libtool script
6681
 
tagname=
6682
 
lt_save_CC="$CC"
6683
 
ac_ext=c
6684
 
ac_cpp='$CPP $CPPFLAGS'
6685
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6686
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6687
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6688
 
 
6689
 
 
6690
 
# Source file extension for C test sources.
6691
 
ac_ext=c
6692
 
 
6693
 
# Object file extension for compiled C test sources.
6694
 
objext=o
6695
 
objext=$objext
6696
 
 
6697
 
# Code to be used in simple compile tests
6698
 
lt_simple_compile_test_code="int some_variable = 0;\n"
6699
 
 
6700
 
# Code to be used in simple link tests
6701
 
lt_simple_link_test_code='int main(){return(0);}\n'
6702
 
 
6703
 
 
6704
 
# If no C compiler was specified, use CC.
6705
 
LTCC=${LTCC-"$CC"}
6706
 
 
6707
 
# If no C compiler flags were specified, use CFLAGS.
6708
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6709
 
 
6710
 
# Allow CC to be a program name with arguments.
6711
 
compiler=$CC
6712
 
 
6713
 
 
6714
 
# save warnings/boilerplate of simple test code
6715
 
ac_outfile=conftest.$ac_objext
6716
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
6717
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6718
 
_lt_compiler_boilerplate=`cat conftest.err`
6719
 
$rm conftest*
6720
 
 
6721
 
ac_outfile=conftest.$ac_objext
6722
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
6723
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6724
 
_lt_linker_boilerplate=`cat conftest.err`
6725
 
$rm conftest*
6726
 
 
6727
 
 
6728
 
 
6729
 
lt_prog_compiler_no_builtin_flag=
6730
 
 
6731
 
if test "$GCC" = yes; then
6732
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6733
 
 
6734
 
 
6735
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6736
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6737
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6738
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6739
 
else
6740
 
  lt_cv_prog_compiler_rtti_exceptions=no
6741
 
  ac_outfile=conftest.$ac_objext
6742
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6743
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
6744
 
   # Insert the option either (1) after the last *FLAGS variable, or
6745
 
   # (2) before a word containing "conftest.", or (3) at the end.
6746
 
   # Note that $ac_compile itself does not contain backslashes and begins
6747
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
6748
 
   # The option is referenced via a variable to avoid confusing sed.
6749
 
   lt_compile=`echo "$ac_compile" | $SED \
6750
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6751
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6752
 
   -e 's:$: $lt_compiler_flag:'`
6753
 
   (eval echo "\"\$as_me:6753: $lt_compile\"" >&5)
6754
 
   (eval "$lt_compile" 2>conftest.err)
6755
 
   ac_status=$?
6756
 
   cat conftest.err >&5
6757
 
   echo "$as_me:6757: \$? = $ac_status" >&5
6758
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
6759
 
     # The compiler can only warn and ignore the option if not recognized
6760
 
     # So say no if there are warnings other than the usual output.
6761
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6762
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6763
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6764
 
       lt_cv_prog_compiler_rtti_exceptions=yes
6765
 
     fi
6766
 
   fi
6767
 
   $rm conftest*
6768
 
 
6769
 
fi
6770
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6771
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6772
 
 
6773
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6774
 
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6775
 
else
6776
 
    :
6777
 
fi
6778
 
 
6779
 
fi
6780
 
 
6781
 
lt_prog_compiler_wl=
6782
 
lt_prog_compiler_pic=
6783
 
lt_prog_compiler_static=
6784
 
 
6785
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6786
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6787
 
 
6788
 
  if test "$GCC" = yes; then
6789
 
    lt_prog_compiler_wl='-Wl,'
6790
 
    lt_prog_compiler_static='-static'
6791
 
 
6792
 
    case $host_os in
6793
 
      aix*)
6794
 
      # All AIX code is PIC.
6795
 
      if test "$host_cpu" = ia64; then
6796
 
        # AIX 5 now supports IA64 processor
6797
 
        lt_prog_compiler_static='-Bstatic'
6798
 
      fi
6799
 
      ;;
6800
 
 
6801
 
    amigaos*)
6802
 
      # FIXME: we need at least 68020 code to build shared libraries, but
6803
 
      # adding the `-m68020' flag to GCC prevents building anything better,
6804
 
      # like `-m68040'.
6805
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6806
 
      ;;
6807
 
 
6808
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6809
 
      # PIC is the default for these OSes.
6810
 
      ;;
6811
 
 
6812
 
    mingw* | pw32* | os2*)
6813
 
      # This hack is so that the source file can tell whether it is being
6814
 
      # built for inclusion in a dll (and should export symbols for example).
6815
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
6816
 
      ;;
6817
 
 
6818
 
    darwin* | rhapsody*)
6819
 
      # PIC is the default on this platform
6820
 
      # Common symbols not allowed in MH_DYLIB files
6821
 
      lt_prog_compiler_pic='-fno-common'
6822
 
      ;;
6823
 
 
6824
 
    interix3*)
6825
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6826
 
      # Instead, we relocate shared libraries at runtime.
6827
 
      ;;
6828
 
 
6829
 
    msdosdjgpp*)
6830
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
6831
 
      # on systems that don't support them.
6832
 
      lt_prog_compiler_can_build_shared=no
6833
 
      enable_shared=no
6834
 
      ;;
6835
 
 
6836
 
    sysv4*MP*)
6837
 
      if test -d /usr/nec; then
6838
 
        lt_prog_compiler_pic=-Kconform_pic
6839
 
      fi
6840
 
      ;;
6841
 
 
6842
 
    hpux*)
6843
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6844
 
      # not for PA HP-UX.
6845
 
      case $host_cpu in
6846
 
      hppa*64*|ia64*)
6847
 
        # +Z the default
6848
 
        ;;
6849
 
      *)
6850
 
        lt_prog_compiler_pic='-fPIC'
6851
 
        ;;
6852
 
      esac
6853
 
      ;;
6854
 
 
6855
 
    *)
6856
 
      lt_prog_compiler_pic='-fPIC'
6857
 
      ;;
6858
 
    esac
6859
 
  else
6860
 
    # PORTME Check for flag to pass linker flags through the system compiler.
6861
 
    case $host_os in
6862
 
    aix*)
6863
 
      lt_prog_compiler_wl='-Wl,'
6864
 
      if test "$host_cpu" = ia64; then
6865
 
        # AIX 5 now supports IA64 processor
6866
 
        lt_prog_compiler_static='-Bstatic'
6867
 
      else
6868
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6869
 
      fi
6870
 
      ;;
6871
 
      darwin*)
6872
 
        # PIC is the default on this platform
6873
 
        # Common symbols not allowed in MH_DYLIB files
6874
 
       case $cc_basename in
6875
 
         xlc*)
6876
 
         lt_prog_compiler_pic='-qnocommon'
6877
 
         lt_prog_compiler_wl='-Wl,'
6878
 
         ;;
6879
 
       esac
6880
 
       ;;
6881
 
 
6882
 
    mingw* | pw32* | os2*)
6883
 
      # This hack is so that the source file can tell whether it is being
6884
 
      # built for inclusion in a dll (and should export symbols for example).
6885
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
6886
 
      ;;
6887
 
 
6888
 
    hpux9* | hpux10* | hpux11*)
6889
 
      lt_prog_compiler_wl='-Wl,'
6890
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6891
 
      # not for PA HP-UX.
6892
 
      case $host_cpu in
6893
 
      hppa*64*|ia64*)
6894
 
        # +Z the default
6895
 
        ;;
6896
 
      *)
6897
 
        lt_prog_compiler_pic='+Z'
6898
 
        ;;
6899
 
      esac
6900
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
6901
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
6902
 
      ;;
6903
 
 
6904
 
    irix5* | irix6* | nonstopux*)
6905
 
      lt_prog_compiler_wl='-Wl,'
6906
 
      # PIC (with -KPIC) is the default.
6907
 
      lt_prog_compiler_static='-non_shared'
6908
 
      ;;
6909
 
 
6910
 
    newsos6)
6911
 
      lt_prog_compiler_pic='-KPIC'
6912
 
      lt_prog_compiler_static='-Bstatic'
6913
 
      ;;
6914
 
 
6915
 
    linux*)
6916
 
      case $cc_basename in
6917
 
      icc* | ecc*)
6918
 
        lt_prog_compiler_wl='-Wl,'
6919
 
        lt_prog_compiler_pic='-KPIC'
6920
 
        lt_prog_compiler_static='-static'
6921
 
        ;;
6922
 
      pgcc* | pgf77* | pgf90* | pgf95*)
6923
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
6924
 
        # which looks to be a dead project)
6925
 
        lt_prog_compiler_wl='-Wl,'
6926
 
        lt_prog_compiler_pic='-fpic'
6927
 
        lt_prog_compiler_static='-Bstatic'
6928
 
        ;;
6929
 
      ccc*)
6930
 
        lt_prog_compiler_wl='-Wl,'
6931
 
        # All Alpha code is PIC.
6932
 
        lt_prog_compiler_static='-non_shared'
6933
 
        ;;
6934
 
      esac
6935
 
      ;;
6936
 
 
6937
 
    osf3* | osf4* | osf5*)
6938
 
      lt_prog_compiler_wl='-Wl,'
6939
 
      # All OSF/1 code is PIC.
6940
 
      lt_prog_compiler_static='-non_shared'
6941
 
      ;;
6942
 
 
6943
 
    solaris*)
6944
 
      lt_prog_compiler_pic='-KPIC'
6945
 
      lt_prog_compiler_static='-Bstatic'
6946
 
      case $cc_basename in
6947
 
      f77* | f90* | f95*)
6948
 
        lt_prog_compiler_wl='-Qoption ld ';;
6949
 
      *)
6950
 
        lt_prog_compiler_wl='-Wl,';;
6951
 
      esac
6952
 
      ;;
6953
 
 
6954
 
    sunos4*)
6955
 
      lt_prog_compiler_wl='-Qoption ld '
6956
 
      lt_prog_compiler_pic='-PIC'
6957
 
      lt_prog_compiler_static='-Bstatic'
6958
 
      ;;
6959
 
 
6960
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
6961
 
      lt_prog_compiler_wl='-Wl,'
6962
 
      lt_prog_compiler_pic='-KPIC'
6963
 
      lt_prog_compiler_static='-Bstatic'
6964
 
      ;;
6965
 
 
6966
 
    sysv4*MP*)
6967
 
      if test -d /usr/nec ;then
6968
 
        lt_prog_compiler_pic='-Kconform_pic'
6969
 
        lt_prog_compiler_static='-Bstatic'
6970
 
      fi
6971
 
      ;;
6972
 
 
6973
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
6974
 
      lt_prog_compiler_wl='-Wl,'
6975
 
      lt_prog_compiler_pic='-KPIC'
6976
 
      lt_prog_compiler_static='-Bstatic'
6977
 
      ;;
6978
 
 
6979
 
    unicos*)
6980
 
      lt_prog_compiler_wl='-Wl,'
6981
 
      lt_prog_compiler_can_build_shared=no
6982
 
      ;;
6983
 
 
6984
 
    uts4*)
6985
 
      lt_prog_compiler_pic='-pic'
6986
 
      lt_prog_compiler_static='-Bstatic'
6987
 
      ;;
6988
 
 
6989
 
    *)
6990
 
      lt_prog_compiler_can_build_shared=no
6991
 
      ;;
6992
 
    esac
6993
 
  fi
6994
 
 
6995
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6996
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6997
 
 
6998
 
#
6999
 
# Check to make sure the PIC flag actually works.
7000
 
#
7001
 
if test -n "$lt_prog_compiler_pic"; then
7002
 
 
7003
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7004
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7005
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
7006
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7007
 
else
7008
 
  lt_prog_compiler_pic_works=no
7009
 
  ac_outfile=conftest.$ac_objext
7010
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7011
 
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7012
 
   # Insert the option either (1) after the last *FLAGS variable, or
7013
 
   # (2) before a word containing "conftest.", or (3) at the end.
7014
 
   # Note that $ac_compile itself does not contain backslashes and begins
7015
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7016
 
   # The option is referenced via a variable to avoid confusing sed.
7017
 
   lt_compile=`echo "$ac_compile" | $SED \
7018
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7019
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7020
 
   -e 's:$: $lt_compiler_flag:'`
7021
 
   (eval echo "\"\$as_me:7021: $lt_compile\"" >&5)
7022
 
   (eval "$lt_compile" 2>conftest.err)
7023
 
   ac_status=$?
7024
 
   cat conftest.err >&5
7025
 
   echo "$as_me:7025: \$? = $ac_status" >&5
7026
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
7027
 
     # The compiler can only warn and ignore the option if not recognized
7028
 
     # So say no if there are warnings other than the usual output.
7029
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7030
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7031
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7032
 
       lt_prog_compiler_pic_works=yes
7033
 
     fi
7034
 
   fi
7035
 
   $rm conftest*
7036
 
 
7037
 
fi
7038
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7039
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7040
 
 
7041
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
7042
 
    case $lt_prog_compiler_pic in
7043
 
     "" | " "*) ;;
7044
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7045
 
     esac
7046
 
else
7047
 
    lt_prog_compiler_pic=
7048
 
     lt_prog_compiler_can_build_shared=no
7049
 
fi
7050
 
 
7051
 
fi
7052
 
case $host_os in
7053
 
  # For platforms which do not support PIC, -DPIC is meaningless:
7054
 
  *djgpp*)
7055
 
    lt_prog_compiler_pic=
7056
 
    ;;
7057
 
  *)
7058
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7059
 
    ;;
7060
 
esac
7061
 
 
7062
 
#
7063
 
# Check to make sure the static flag actually works.
7064
 
#
7065
 
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7066
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7067
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7068
 
if test "${lt_prog_compiler_static_works+set}" = set; then
7069
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7070
 
else
7071
 
  lt_prog_compiler_static_works=no
7072
 
   save_LDFLAGS="$LDFLAGS"
7073
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7074
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
7075
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7076
 
     # The linker can only warn and ignore the option if not recognized
7077
 
     # So say no if there are warnings
7078
 
     if test -s conftest.err; then
7079
 
       # Append any errors to the config.log.
7080
 
       cat conftest.err 1>&5
7081
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7082
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7083
 
       if diff conftest.exp conftest.er2 >/dev/null; then
7084
 
         lt_prog_compiler_static_works=yes
7085
 
       fi
7086
 
     else
7087
 
       lt_prog_compiler_static_works=yes
7088
 
     fi
7089
 
   fi
7090
 
   $rm conftest*
7091
 
   LDFLAGS="$save_LDFLAGS"
7092
 
 
7093
 
fi
7094
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7095
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7096
 
 
7097
 
if test x"$lt_prog_compiler_static_works" = xyes; then
7098
 
    :
7099
 
else
7100
 
    lt_prog_compiler_static=
7101
 
fi
7102
 
 
7103
 
 
7104
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7105
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7106
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7107
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7108
 
else
7109
 
  lt_cv_prog_compiler_c_o=no
7110
 
   $rm -r conftest 2>/dev/null
7111
 
   mkdir conftest
7112
 
   cd conftest
7113
 
   mkdir out
7114
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7115
 
 
7116
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
7117
 
   # Insert the option either (1) after the last *FLAGS variable, or
7118
 
   # (2) before a word containing "conftest.", or (3) at the end.
7119
 
   # Note that $ac_compile itself does not contain backslashes and begins
7120
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7121
 
   lt_compile=`echo "$ac_compile" | $SED \
7122
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7123
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7124
 
   -e 's:$: $lt_compiler_flag:'`
7125
 
   (eval echo "\"\$as_me:7125: $lt_compile\"" >&5)
7126
 
   (eval "$lt_compile" 2>out/conftest.err)
7127
 
   ac_status=$?
7128
 
   cat out/conftest.err >&5
7129
 
   echo "$as_me:7129: \$? = $ac_status" >&5
7130
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7131
 
   then
7132
 
     # The compiler can only warn and ignore the option if not recognized
7133
 
     # So say no if there are warnings
7134
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7135
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7136
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7137
 
       lt_cv_prog_compiler_c_o=yes
7138
 
     fi
7139
 
   fi
7140
 
   chmod u+w . 2>&5
7141
 
   $rm conftest*
7142
 
   # SGI C++ compiler will create directory out/ii_files/ for
7143
 
   # template instantiation
7144
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
7145
 
   $rm out/* && rmdir out
7146
 
   cd ..
7147
 
   rmdir conftest
7148
 
   $rm conftest*
7149
 
 
7150
 
fi
7151
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7152
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7153
 
 
7154
 
 
7155
 
hard_links="nottested"
7156
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7157
 
  # do not overwrite the value of need_locks provided by the user
7158
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7159
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7160
 
  hard_links=yes
7161
 
  $rm conftest*
7162
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7163
 
  touch conftest.a
7164
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
7165
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7166
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
7167
 
echo "${ECHO_T}$hard_links" >&6
7168
 
  if test "$hard_links" = no; then
7169
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7170
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7171
 
    need_locks=warn
7172
 
  fi
7173
 
else
7174
 
  need_locks=no
7175
 
fi
7176
 
 
7177
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7178
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7179
 
 
7180
 
  runpath_var=
7181
 
  allow_undefined_flag=
7182
 
  enable_shared_with_static_runtimes=no
7183
 
  archive_cmds=
7184
 
  archive_expsym_cmds=
7185
 
  old_archive_From_new_cmds=
7186
 
  old_archive_from_expsyms_cmds=
7187
 
  export_dynamic_flag_spec=
7188
 
  whole_archive_flag_spec=
7189
 
  thread_safe_flag_spec=
7190
 
  hardcode_libdir_flag_spec=
7191
 
  hardcode_libdir_flag_spec_ld=
7192
 
  hardcode_libdir_separator=
7193
 
  hardcode_direct=no
7194
 
  hardcode_minus_L=no
7195
 
  hardcode_shlibpath_var=unsupported
7196
 
  link_all_deplibs=unknown
7197
 
  hardcode_automatic=no
7198
 
  module_cmds=
7199
 
  module_expsym_cmds=
7200
 
  always_export_symbols=no
7201
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7202
 
  # include_expsyms should be a list of space-separated symbols to be *always*
7203
 
  # included in the symbol list
7204
 
  include_expsyms=
7205
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
7206
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
7207
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7208
 
  # as well as any symbol that contains `d'.
7209
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7210
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7211
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
7212
 
  # the symbol is explicitly referenced.  Since portable code cannot
7213
 
  # rely on this symbol name, it's probably fine to never include it in
7214
 
  # preloaded symbol tables.
7215
 
  extract_expsyms_cmds=
7216
 
  # Just being paranoid about ensuring that cc_basename is set.
7217
 
  for cc_temp in $compiler""; do
7218
 
  case $cc_temp in
7219
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7220
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7221
 
    \-*) ;;
7222
 
    *) break;;
7223
 
  esac
7224
 
done
7225
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7226
 
 
7227
 
  case $host_os in
7228
 
  cygwin* | mingw* | pw32*)
7229
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
7230
 
    # When not using gcc, we currently assume that we are using
7231
 
    # Microsoft Visual C++.
7232
 
    if test "$GCC" != yes; then
7233
 
      with_gnu_ld=no
7234
 
    fi
7235
 
    ;;
7236
 
  interix*)
7237
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
7238
 
    with_gnu_ld=yes
7239
 
    ;;
7240
 
  openbsd*)
7241
 
    with_gnu_ld=no
7242
 
    ;;
7243
 
  esac
7244
 
 
7245
 
  ld_shlibs=yes
7246
 
  if test "$with_gnu_ld" = yes; then
7247
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
7248
 
    wlarc='${wl}'
7249
 
 
7250
 
    # Set some defaults for GNU ld with shared library support. These
7251
 
    # are reset later if shared libraries are not supported. Putting them
7252
 
    # here allows them to be overridden if necessary.
7253
 
    runpath_var=LD_RUN_PATH
7254
 
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
7255
 
    export_dynamic_flag_spec='${wl}--export-dynamic'
7256
 
    # ancient GNU ld didn't support --whole-archive et. al.
7257
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
7258
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7259
 
      else
7260
 
        whole_archive_flag_spec=
7261
 
    fi
7262
 
    supports_anon_versioning=no
7263
 
    case `$LD -v 2>/dev/null` in
7264
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7265
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7266
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7267
 
      *\ 2.11.*) ;; # other 2.11 versions
7268
 
      *) supports_anon_versioning=yes ;;
7269
 
    esac
7270
 
 
7271
 
    # See if GNU ld supports shared libraries.
7272
 
    case $host_os in
7273
 
    aix3* | aix4* | aix5*)
7274
 
      # On AIX/PPC, the GNU linker is very broken
7275
 
      if test "$host_cpu" != ia64; then
7276
 
        ld_shlibs=no
7277
 
        cat <<EOF 1>&2
7278
 
 
7279
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
7280
 
*** to be unable to reliably create shared libraries on AIX.
7281
 
*** Therefore, libtool is disabling shared libraries support.  If you
7282
 
*** really care for shared libraries, you may want to modify your PATH
7283
 
*** so that a non-GNU linker is found, and then restart.
7284
 
 
7285
 
EOF
7286
 
      fi
7287
 
      ;;
7288
 
 
7289
 
    amigaos*)
7290
 
      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)'
7291
 
      hardcode_libdir_flag_spec='-L$libdir'
7292
 
      hardcode_minus_L=yes
7293
 
 
7294
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7295
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
7296
 
      # to version 4, is to share data among multiple programs linked
7297
 
      # with the same dynamic library.  Since this doesn't match the
7298
 
      # behavior of shared libraries on other platforms, we can't use
7299
 
      # them.
7300
 
      ld_shlibs=no
7301
 
      ;;
7302
 
 
7303
 
    beos*)
7304
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7305
 
        allow_undefined_flag=unsupported
7306
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7307
 
        # support --undefined.  This deserves some investigation.  FIXME
7308
 
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7309
 
      else
7310
 
        ld_shlibs=no
7311
 
      fi
7312
 
      ;;
7313
 
 
7314
 
    cygwin* | mingw* | pw32*)
7315
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7316
 
      # as there is no search path for DLLs.
7317
 
      hardcode_libdir_flag_spec='-L$libdir'
7318
 
      allow_undefined_flag=unsupported
7319
 
      always_export_symbols=no
7320
 
      enable_shared_with_static_runtimes=yes
7321
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7322
 
 
7323
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7324
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7325
 
        # If the export-symbols file already is a .def file (1st line
7326
 
        # is EXPORTS), use it as is; otherwise, prepend...
7327
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7328
 
          cp $export_symbols $output_objdir/$soname.def;
7329
 
        else
7330
 
          echo EXPORTS > $output_objdir/$soname.def;
7331
 
          cat $export_symbols >> $output_objdir/$soname.def;
7332
 
        fi~
7333
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7334
 
      else
7335
 
        ld_shlibs=no
7336
 
      fi
7337
 
      ;;
7338
 
 
7339
 
    interix3*)
7340
 
      hardcode_direct=no
7341
 
      hardcode_shlibpath_var=no
7342
 
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7343
 
      export_dynamic_flag_spec='${wl}-E'
7344
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7345
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
7346
 
      # default) and relocated if they conflict, which is a slow very memory
7347
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
7348
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7349
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
7350
 
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7351
 
      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7352
 
      ;;
7353
 
 
7354
 
    linux*)
7355
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7356
 
        tmp_addflag=
7357
 
        case $cc_basename,$host_cpu in
7358
 
        pgcc*)                          # Portland Group C compiler
7359
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7360
 
          tmp_addflag=' $pic_flag'
7361
 
          ;;
7362
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
7363
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7364
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
7365
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
7366
 
          tmp_addflag=' -i_dynamic' ;;
7367
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
7368
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
7369
 
        ifc* | ifort*)                  # Intel Fortran compiler
7370
 
          tmp_addflag=' -nofor_main' ;;
7371
 
        esac
7372
 
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7373
 
 
7374
 
        if test $supports_anon_versioning = yes; then
7375
 
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
7376
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7377
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
7378
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7379
 
        fi
7380
 
      else
7381
 
        ld_shlibs=no
7382
 
      fi
7383
 
      ;;
7384
 
 
7385
 
    netbsd*)
7386
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7387
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7388
 
        wlarc=
7389
 
      else
7390
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7391
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7392
 
      fi
7393
 
      ;;
7394
 
 
7395
 
    solaris*)
7396
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
7397
 
        ld_shlibs=no
7398
 
        cat <<EOF 1>&2
7399
 
 
7400
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
7401
 
*** create shared libraries on Solaris systems.  Therefore, libtool
7402
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
7403
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
7404
 
*** your PATH or compiler configuration so that the native linker is
7405
 
*** used, and then restart.
7406
 
 
7407
 
EOF
7408
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7409
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7410
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7411
 
      else
7412
 
        ld_shlibs=no
7413
 
      fi
7414
 
      ;;
7415
 
 
7416
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7417
 
      case `$LD -v 2>&1` in
7418
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7419
 
        ld_shlibs=no
7420
 
        cat <<_LT_EOF 1>&2
7421
 
 
7422
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7423
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
7424
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
7425
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
7426
 
*** your PATH or compiler configuration so that the native linker is
7427
 
*** used, and then restart.
7428
 
 
7429
 
_LT_EOF
7430
 
        ;;
7431
 
        *)
7432
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7433
 
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7434
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7435
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7436
 
          else
7437
 
            ld_shlibs=no
7438
 
          fi
7439
 
        ;;
7440
 
      esac
7441
 
      ;;
7442
 
 
7443
 
    sunos4*)
7444
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7445
 
      wlarc=
7446
 
      hardcode_direct=yes
7447
 
      hardcode_shlibpath_var=no
7448
 
      ;;
7449
 
 
7450
 
    *)
7451
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7452
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7453
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7454
 
      else
7455
 
        ld_shlibs=no
7456
 
      fi
7457
 
      ;;
7458
 
    esac
7459
 
 
7460
 
    if test "$ld_shlibs" = no; then
7461
 
      runpath_var=
7462
 
      hardcode_libdir_flag_spec=
7463
 
      export_dynamic_flag_spec=
7464
 
      whole_archive_flag_spec=
7465
 
    fi
7466
 
  else
7467
 
    # PORTME fill in a description of your system's linker (not GNU ld)
7468
 
    case $host_os in
7469
 
    aix3*)
7470
 
      allow_undefined_flag=unsupported
7471
 
      always_export_symbols=yes
7472
 
      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'
7473
 
      # Note: this linker hardcodes the directories in LIBPATH if there
7474
 
      # are no directories specified by -L.
7475
 
      hardcode_minus_L=yes
7476
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7477
 
        # Neither direct hardcoding nor static linking is supported with a
7478
 
        # broken collect2.
7479
 
        hardcode_direct=unsupported
7480
 
      fi
7481
 
      ;;
7482
 
 
7483
 
    aix4* | aix5*)
7484
 
      if test "$host_cpu" = ia64; then
7485
 
        # On IA64, the linker does run time linking by default, so we don't
7486
 
        # have to do anything special.
7487
 
        aix_use_runtimelinking=no
7488
 
        exp_sym_flag='-Bexport'
7489
 
        no_entry_flag=""
7490
 
      else
7491
 
        # If we're using GNU nm, then we don't want the "-C" option.
7492
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
7493
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
7494
 
          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'
7495
 
        else
7496
 
          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'
7497
 
        fi
7498
 
        aix_use_runtimelinking=no
7499
 
 
7500
 
        # Test if we are trying to use run time linking or normal
7501
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7502
 
        # need to do runtime linking.
7503
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
7504
 
          for ld_flag in $LDFLAGS; do
7505
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7506
 
            aix_use_runtimelinking=yes
7507
 
            break
7508
 
          fi
7509
 
          done
7510
 
          ;;
7511
 
        esac
7512
 
 
7513
 
        exp_sym_flag='-bexport'
7514
 
        no_entry_flag='-bnoentry'
7515
 
      fi
7516
 
 
7517
 
      # When large executables or shared objects are built, AIX ld can
7518
 
      # have problems creating the table of contents.  If linking a library
7519
 
      # or program results in "error TOC overflow" add -mminimal-toc to
7520
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
7521
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7522
 
 
7523
 
      archive_cmds=''
7524
 
      hardcode_direct=yes
7525
 
      hardcode_libdir_separator=':'
7526
 
      link_all_deplibs=yes
7527
 
 
7528
 
      if test "$GCC" = yes; then
7529
 
        case $host_os in aix4.[012]|aix4.[012].*)
7530
 
        # We only want to do this on AIX 4.2 and lower, the check
7531
 
        # below for broken collect2 doesn't work under 4.3+
7532
 
          collect2name=`${CC} -print-prog-name=collect2`
7533
 
          if test -f "$collect2name" && \
7534
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
7535
 
          then
7536
 
          # We have reworked collect2
7537
 
          hardcode_direct=yes
7538
 
          else
7539
 
          # We have old collect2
7540
 
          hardcode_direct=unsupported
7541
 
          # It fails to find uninstalled libraries when the uninstalled
7542
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
7543
 
          # to unsupported forces relinking
7544
 
          hardcode_minus_L=yes
7545
 
          hardcode_libdir_flag_spec='-L$libdir'
7546
 
          hardcode_libdir_separator=
7547
 
          fi
7548
 
          ;;
7549
 
        esac
7550
 
        shared_flag='-shared'
7551
 
        if test "$aix_use_runtimelinking" = yes; then
7552
 
          shared_flag="$shared_flag "'${wl}-G'
7553
 
        fi
7554
 
      else
7555
 
        # not using gcc
7556
 
        if test "$host_cpu" = ia64; then
7557
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7558
 
        # chokes on -Wl,-G. The following line is correct:
7559
 
          shared_flag='-G'
7560
 
        else
7561
 
          if test "$aix_use_runtimelinking" = yes; then
7562
 
            shared_flag='${wl}-G'
7563
 
          else
7564
 
            shared_flag='${wl}-bM:SRE'
7565
 
          fi
7566
 
        fi
7567
 
      fi
7568
 
 
7569
 
      # It seems that -bexpall does not export symbols beginning with
7570
 
      # underscore (_), so it is better to generate a list of symbols to export.
7571
 
      always_export_symbols=yes
7572
 
      if test "$aix_use_runtimelinking" = yes; then
7573
 
        # Warning - without using the other runtime loading flags (-brtl),
7574
 
        # -berok will link without error, but may produce a broken library.
7575
 
        allow_undefined_flag='-berok'
7576
 
       # Determine the default libpath from the value encoded in an empty executable.
7577
 
       cat >conftest.$ac_ext <<_ACEOF
7578
 
/* confdefs.h.  */
7579
 
_ACEOF
7580
 
cat confdefs.h >>conftest.$ac_ext
7581
 
cat >>conftest.$ac_ext <<_ACEOF
7582
 
/* end confdefs.h.  */
7583
 
 
7584
 
int
7585
 
main ()
7586
 
{
7587
 
 
7588
 
  ;
7589
 
  return 0;
7590
 
}
7591
 
_ACEOF
7592
 
rm -f conftest.$ac_objext conftest$ac_exeext
7593
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7594
 
  (eval $ac_link) 2>conftest.er1
7595
 
  ac_status=$?
7596
 
  grep -v '^ *+' conftest.er1 >conftest.err
7597
 
  rm -f conftest.er1
7598
 
  cat conftest.err >&5
7599
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7600
 
  (exit $ac_status); } &&
7601
 
         { ac_try='test -z "$ac_c_werror_flag"
7602
 
                         || test ! -s conftest.err'
7603
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7604
 
  (eval $ac_try) 2>&5
7605
 
  ac_status=$?
7606
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7607
 
  (exit $ac_status); }; } &&
7608
 
         { ac_try='test -s conftest$ac_exeext'
7609
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7610
 
  (eval $ac_try) 2>&5
7611
 
  ac_status=$?
7612
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7613
 
  (exit $ac_status); }; }; then
7614
 
 
7615
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7616
 
}'`
7617
 
# Check for a 64-bit object if we didn't find anything.
7618
 
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; }
7619
 
}'`; fi
7620
 
else
7621
 
  echo "$as_me: failed program was:" >&5
7622
 
sed 's/^/| /' conftest.$ac_ext >&5
7623
 
 
7624
 
fi
7625
 
rm -f conftest.err conftest.$ac_objext \
7626
 
      conftest$ac_exeext conftest.$ac_ext
7627
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7628
 
 
7629
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7630
 
        archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7631
 
       else
7632
 
        if test "$host_cpu" = ia64; then
7633
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7634
 
          allow_undefined_flag="-z nodefs"
7635
 
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
7636
 
        else
7637
 
         # Determine the default libpath from the value encoded in an empty executable.
7638
 
         cat >conftest.$ac_ext <<_ACEOF
7639
 
/* confdefs.h.  */
7640
 
_ACEOF
7641
 
cat confdefs.h >>conftest.$ac_ext
7642
 
cat >>conftest.$ac_ext <<_ACEOF
7643
 
/* end confdefs.h.  */
7644
 
 
7645
 
int
7646
 
main ()
7647
 
{
7648
 
 
7649
 
  ;
7650
 
  return 0;
7651
 
}
7652
 
_ACEOF
7653
 
rm -f conftest.$ac_objext conftest$ac_exeext
7654
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7655
 
  (eval $ac_link) 2>conftest.er1
7656
 
  ac_status=$?
7657
 
  grep -v '^ *+' conftest.er1 >conftest.err
7658
 
  rm -f conftest.er1
7659
 
  cat conftest.err >&5
7660
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7661
 
  (exit $ac_status); } &&
7662
 
         { ac_try='test -z "$ac_c_werror_flag"
7663
 
                         || test ! -s conftest.err'
7664
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7665
 
  (eval $ac_try) 2>&5
7666
 
  ac_status=$?
7667
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7668
 
  (exit $ac_status); }; } &&
7669
 
         { ac_try='test -s conftest$ac_exeext'
7670
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7671
 
  (eval $ac_try) 2>&5
7672
 
  ac_status=$?
7673
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7674
 
  (exit $ac_status); }; }; then
7675
 
 
7676
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7677
 
}'`
7678
 
# Check for a 64-bit object if we didn't find anything.
7679
 
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; }
7680
 
}'`; fi
7681
 
else
7682
 
  echo "$as_me: failed program was:" >&5
7683
 
sed 's/^/| /' conftest.$ac_ext >&5
7684
 
 
7685
 
fi
7686
 
rm -f conftest.err conftest.$ac_objext \
7687
 
      conftest$ac_exeext conftest.$ac_ext
7688
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7689
 
 
7690
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7691
 
          # Warning - without using the other run time loading flags,
7692
 
          # -berok will link without error, but may produce a broken library.
7693
 
          no_undefined_flag=' ${wl}-bernotok'
7694
 
          allow_undefined_flag=' ${wl}-berok'
7695
 
          # Exported symbols can be pulled into shared objects from archives
7696
 
          whole_archive_flag_spec='$convenience'
7697
 
          archive_cmds_need_lc=yes
7698
 
          # This is similar to how AIX traditionally builds its shared libraries.
7699
 
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7700
 
        fi
7701
 
      fi
7702
 
      ;;
7703
 
 
7704
 
    amigaos*)
7705
 
      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)'
7706
 
      hardcode_libdir_flag_spec='-L$libdir'
7707
 
      hardcode_minus_L=yes
7708
 
      # see comment about different semantics on the GNU ld section
7709
 
      ld_shlibs=no
7710
 
      ;;
7711
 
 
7712
 
    bsdi[45]*)
7713
 
      export_dynamic_flag_spec=-rdynamic
7714
 
      ;;
7715
 
 
7716
 
    cygwin* | mingw* | pw32*)
7717
 
      # When not using gcc, we currently assume that we are using
7718
 
      # Microsoft Visual C++.
7719
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
7720
 
      # no search path for DLLs.
7721
 
      hardcode_libdir_flag_spec=' '
7722
 
      allow_undefined_flag=unsupported
7723
 
      # Tell ltmain to make .lib files, not .a files.
7724
 
      libext=lib
7725
 
      # Tell ltmain to make .dll files, not .so files.
7726
 
      shrext_cmds=".dll"
7727
 
      # FIXME: Setting linknames here is a bad hack.
7728
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7729
 
      # The linker will automatically build a .lib file if we build a DLL.
7730
 
      old_archive_From_new_cmds='true'
7731
 
      # FIXME: Should let the user specify the lib program.
7732
 
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
7733
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
7734
 
      enable_shared_with_static_runtimes=yes
7735
 
      ;;
7736
 
 
7737
 
    darwin* | rhapsody*)
7738
 
      case $host_os in
7739
 
        rhapsody* | darwin1.[012])
7740
 
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
7741
 
         ;;
7742
 
       *) # Darwin 1.3 on
7743
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7744
 
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7745
 
         else
7746
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
7747
 
             10.[012])
7748
 
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7749
 
               ;;
7750
 
             10.*)
7751
 
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
7752
 
               ;;
7753
 
           esac
7754
 
         fi
7755
 
         ;;
7756
 
      esac
7757
 
      archive_cmds_need_lc=no
7758
 
      hardcode_direct=no
7759
 
      hardcode_automatic=yes
7760
 
      hardcode_shlibpath_var=unsupported
7761
 
      whole_archive_flag_spec=''
7762
 
      link_all_deplibs=yes
7763
 
    if test "$GCC" = yes ; then
7764
 
        output_verbose_link_cmd='echo'
7765
 
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7766
 
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7767
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7768
 
      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}'
7769
 
      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}'
7770
 
    else
7771
 
      case $cc_basename in
7772
 
        xlc*)
7773
 
         output_verbose_link_cmd='echo'
7774
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
7775
 
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7776
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7777
 
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7778
 
          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}'
7779
 
          ;;
7780
 
       *)
7781
 
         ld_shlibs=no
7782
 
          ;;
7783
 
      esac
7784
 
    fi
7785
 
      ;;
7786
 
 
7787
 
    dgux*)
7788
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7789
 
      hardcode_libdir_flag_spec='-L$libdir'
7790
 
      hardcode_shlibpath_var=no
7791
 
      ;;
7792
 
 
7793
 
    freebsd1*)
7794
 
      ld_shlibs=no
7795
 
      ;;
7796
 
 
7797
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7798
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
7799
 
    # does not break anything, and helps significantly (at the cost of a little
7800
 
    # extra space).
7801
 
    freebsd2.2*)
7802
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7803
 
      hardcode_libdir_flag_spec='-R$libdir'
7804
 
      hardcode_direct=yes
7805
 
      hardcode_shlibpath_var=no
7806
 
      ;;
7807
 
 
7808
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7809
 
    freebsd2*)
7810
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7811
 
      hardcode_direct=yes
7812
 
      hardcode_minus_L=yes
7813
 
      hardcode_shlibpath_var=no
7814
 
      ;;
7815
 
 
7816
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7817
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
7818
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7819
 
      hardcode_libdir_flag_spec='-R$libdir'
7820
 
      hardcode_direct=yes
7821
 
      hardcode_shlibpath_var=no
7822
 
      ;;
7823
 
 
7824
 
    hpux9*)
7825
 
      if test "$GCC" = yes; then
7826
 
        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'
7827
 
      else
7828
 
        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'
7829
 
      fi
7830
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7831
 
      hardcode_libdir_separator=:
7832
 
      hardcode_direct=yes
7833
 
 
7834
 
      # hardcode_minus_L: Not really in the search PATH,
7835
 
      # but as the default location of the library.
7836
 
      hardcode_minus_L=yes
7837
 
      export_dynamic_flag_spec='${wl}-E'
7838
 
      ;;
7839
 
 
7840
 
    hpux10*)
7841
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7842
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7843
 
      else
7844
 
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7845
 
      fi
7846
 
      if test "$with_gnu_ld" = no; then
7847
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7848
 
        hardcode_libdir_separator=:
7849
 
 
7850
 
        hardcode_direct=yes
7851
 
        export_dynamic_flag_spec='${wl}-E'
7852
 
 
7853
 
        # hardcode_minus_L: Not really in the search PATH,
7854
 
        # but as the default location of the library.
7855
 
        hardcode_minus_L=yes
7856
 
      fi
7857
 
      ;;
7858
 
 
7859
 
    hpux11*)
7860
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7861
 
        case $host_cpu in
7862
 
        hppa*64*)
7863
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7864
 
          ;;
7865
 
        ia64*)
7866
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7867
 
          ;;
7868
 
        *)
7869
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7870
 
          ;;
7871
 
        esac
7872
 
      else
7873
 
        case $host_cpu in
7874
 
        hppa*64*)
7875
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7876
 
          ;;
7877
 
        ia64*)
7878
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7879
 
          ;;
7880
 
        *)
7881
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7882
 
          ;;
7883
 
        esac
7884
 
      fi
7885
 
      if test "$with_gnu_ld" = no; then
7886
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7887
 
        hardcode_libdir_separator=:
7888
 
 
7889
 
        case $host_cpu in
7890
 
        hppa*64*|ia64*)
7891
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
7892
 
          hardcode_direct=no
7893
 
          hardcode_shlibpath_var=no
7894
 
          ;;
7895
 
        *)
7896
 
          hardcode_direct=yes
7897
 
          export_dynamic_flag_spec='${wl}-E'
7898
 
 
7899
 
          # hardcode_minus_L: Not really in the search PATH,
7900
 
          # but as the default location of the library.
7901
 
          hardcode_minus_L=yes
7902
 
          ;;
7903
 
        esac
7904
 
      fi
7905
 
      ;;
7906
 
 
7907
 
    irix5* | irix6* | nonstopux*)
7908
 
      if test "$GCC" = yes; then
7909
 
        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'
7910
 
      else
7911
 
        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'
7912
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
7913
 
      fi
7914
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7915
 
      hardcode_libdir_separator=:
7916
 
      link_all_deplibs=yes
7917
 
      ;;
7918
 
 
7919
 
    netbsd*)
7920
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7921
 
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
7922
 
      else
7923
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
7924
 
      fi
7925
 
      hardcode_libdir_flag_spec='-R$libdir'
7926
 
      hardcode_direct=yes
7927
 
      hardcode_shlibpath_var=no
7928
 
      ;;
7929
 
 
7930
 
    newsos6)
7931
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7932
 
      hardcode_direct=yes
7933
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7934
 
      hardcode_libdir_separator=:
7935
 
      hardcode_shlibpath_var=no
7936
 
      ;;
7937
 
 
7938
 
    openbsd*)
7939
 
      hardcode_direct=yes
7940
 
      hardcode_shlibpath_var=no
7941
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7942
 
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7943
 
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7944
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7945
 
        export_dynamic_flag_spec='${wl}-E'
7946
 
      else
7947
 
       case $host_os in
7948
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7949
 
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7950
 
           hardcode_libdir_flag_spec='-R$libdir'
7951
 
           ;;
7952
 
         *)
7953
 
           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7954
 
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7955
 
           ;;
7956
 
       esac
7957
 
      fi
7958
 
      ;;
7959
 
 
7960
 
    os2*)
7961
 
      hardcode_libdir_flag_spec='-L$libdir'
7962
 
      hardcode_minus_L=yes
7963
 
      allow_undefined_flag=unsupported
7964
 
      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'
7965
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7966
 
      ;;
7967
 
 
7968
 
    osf3*)
7969
 
      if test "$GCC" = yes; then
7970
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7971
 
        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'
7972
 
      else
7973
 
        allow_undefined_flag=' -expect_unresolved \*'
7974
 
        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'
7975
 
      fi
7976
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7977
 
      hardcode_libdir_separator=:
7978
 
      ;;
7979
 
 
7980
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
7981
 
      if test "$GCC" = yes; then
7982
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7983
 
        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'
7984
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7985
 
      else
7986
 
        allow_undefined_flag=' -expect_unresolved \*'
7987
 
        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'
7988
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7989
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
7990
 
 
7991
 
        # Both c and cxx compiler support -rpath directly
7992
 
        hardcode_libdir_flag_spec='-rpath $libdir'
7993
 
      fi
7994
 
      hardcode_libdir_separator=:
7995
 
      ;;
7996
 
 
7997
 
    solaris*)
7998
 
      no_undefined_flag=' -z text'
7999
 
      if test "$GCC" = yes; then
8000
 
        wlarc='${wl}'
8001
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8002
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8003
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8004
 
      else
8005
 
        wlarc=''
8006
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8007
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8008
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8009
 
      fi
8010
 
      hardcode_libdir_flag_spec='-R$libdir'
8011
 
      hardcode_shlibpath_var=no
8012
 
      case $host_os in
8013
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
8014
 
      *)
8015
 
        # The compiler driver will combine linker options so we
8016
 
        # cannot just pass the convience library names through
8017
 
        # without $wl, iff we do not link with $LD.
8018
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
8019
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
8020
 
        case $wlarc in
8021
 
        '')
8022
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
8023
 
        *)
8024
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
8025
 
        esac ;;
8026
 
      esac
8027
 
      link_all_deplibs=yes
8028
 
      ;;
8029
 
 
8030
 
    sunos4*)
8031
 
      if test "x$host_vendor" = xsequent; then
8032
 
        # Use $CC to link under sequent, because it throws in some extra .o
8033
 
        # files that make .init and .fini sections work.
8034
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8035
 
      else
8036
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8037
 
      fi
8038
 
      hardcode_libdir_flag_spec='-L$libdir'
8039
 
      hardcode_direct=yes
8040
 
      hardcode_minus_L=yes
8041
 
      hardcode_shlibpath_var=no
8042
 
      ;;
8043
 
 
8044
 
    sysv4)
8045
 
      case $host_vendor in
8046
 
        sni)
8047
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8048
 
          hardcode_direct=yes # is this really true???
8049
 
        ;;
8050
 
        siemens)
8051
 
          ## LD is ld it makes a PLAMLIB
8052
 
          ## CC just makes a GrossModule.
8053
 
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8054
 
          reload_cmds='$CC -r -o $output$reload_objs'
8055
 
          hardcode_direct=no
8056
 
        ;;
8057
 
        motorola)
8058
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8059
 
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8060
 
        ;;
8061
 
      esac
8062
 
      runpath_var='LD_RUN_PATH'
8063
 
      hardcode_shlibpath_var=no
8064
 
      ;;
8065
 
 
8066
 
    sysv4.3*)
8067
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8068
 
      hardcode_shlibpath_var=no
8069
 
      export_dynamic_flag_spec='-Bexport'
8070
 
      ;;
8071
 
 
8072
 
    sysv4*MP*)
8073
 
      if test -d /usr/nec; then
8074
 
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8075
 
        hardcode_shlibpath_var=no
8076
 
        runpath_var=LD_RUN_PATH
8077
 
        hardcode_runpath_var=yes
8078
 
        ld_shlibs=yes
8079
 
      fi
8080
 
      ;;
8081
 
 
8082
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
8083
 
      no_undefined_flag='${wl}-z,text'
8084
 
      archive_cmds_need_lc=no
8085
 
      hardcode_shlibpath_var=no
8086
 
      runpath_var='LD_RUN_PATH'
8087
 
 
8088
 
      if test "$GCC" = yes; then
8089
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8090
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8091
 
      else
8092
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8093
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8094
 
      fi
8095
 
      ;;
8096
 
 
8097
 
    sysv5* | sco3.2v5* | sco5v6*)
8098
 
      # Note: We can NOT use -z defs as we might desire, because we do not
8099
 
      # link with -lc, and that would cause any symbols used from libc to
8100
 
      # always be unresolved, which means just about no library would
8101
 
      # ever link correctly.  If we're not using GNU ld we use -z text
8102
 
      # though, which does catch some bad symbols but isn't as heavy-handed
8103
 
      # as -z defs.
8104
 
      no_undefined_flag='${wl}-z,text'
8105
 
      allow_undefined_flag='${wl}-z,nodefs'
8106
 
      archive_cmds_need_lc=no
8107
 
      hardcode_shlibpath_var=no
8108
 
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8109
 
      hardcode_libdir_separator=':'
8110
 
      link_all_deplibs=yes
8111
 
      export_dynamic_flag_spec='${wl}-Bexport'
8112
 
      runpath_var='LD_RUN_PATH'
8113
 
 
8114
 
      if test "$GCC" = yes; then
8115
 
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8116
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8117
 
      else
8118
 
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8119
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8120
 
      fi
8121
 
      ;;
8122
 
 
8123
 
    uts4*)
8124
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8125
 
      hardcode_libdir_flag_spec='-L$libdir'
8126
 
      hardcode_shlibpath_var=no
8127
 
      ;;
8128
 
 
8129
 
    *)
8130
 
      ld_shlibs=no
8131
 
      ;;
8132
 
    esac
8133
 
  fi
8134
 
 
8135
 
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8136
 
echo "${ECHO_T}$ld_shlibs" >&6
8137
 
test "$ld_shlibs" = no && can_build_shared=no
8138
 
 
8139
 
#
8140
 
# Do we need to explicitly link libc?
8141
 
#
8142
 
case "x$archive_cmds_need_lc" in
8143
 
x|xyes)
8144
 
  # Assume -lc should be added
8145
 
  archive_cmds_need_lc=yes
8146
 
 
8147
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
8148
 
    case $archive_cmds in
8149
 
    *'~'*)
8150
 
      # FIXME: we may have to deal with multi-command sequences.
8151
 
      ;;
8152
 
    '$CC '*)
8153
 
      # Test whether the compiler implicitly links with -lc since on some
8154
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
8155
 
      # to ld, don't add -lc before -lgcc.
8156
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8157
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8158
 
      $rm conftest*
8159
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
8160
 
 
8161
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8162
 
  (eval $ac_compile) 2>&5
8163
 
  ac_status=$?
8164
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8165
 
  (exit $ac_status); } 2>conftest.err; then
8166
 
        soname=conftest
8167
 
        lib=conftest
8168
 
        libobjs=conftest.$ac_objext
8169
 
        deplibs=
8170
 
        wl=$lt_prog_compiler_wl
8171
 
        pic_flag=$lt_prog_compiler_pic
8172
 
        compiler_flags=-v
8173
 
        linker_flags=-v
8174
 
        verstring=
8175
 
        output_objdir=.
8176
 
        libname=conftest
8177
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
8178
 
        allow_undefined_flag=
8179
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8180
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
8181
 
  ac_status=$?
8182
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8183
 
  (exit $ac_status); }
8184
 
        then
8185
 
          archive_cmds_need_lc=no
8186
 
        else
8187
 
          archive_cmds_need_lc=yes
8188
 
        fi
8189
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
8190
 
      else
8191
 
        cat conftest.err 1>&5
8192
 
      fi
8193
 
      $rm conftest*
8194
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8195
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6
8196
 
      ;;
8197
 
    esac
8198
 
  fi
8199
 
  ;;
8200
 
esac
8201
 
 
8202
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8203
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8204
 
library_names_spec=
8205
 
libname_spec='lib$name'
8206
 
soname_spec=
8207
 
shrext_cmds=".so"
8208
 
postinstall_cmds=
8209
 
postuninstall_cmds=
8210
 
finish_cmds=
8211
 
finish_eval=
8212
 
shlibpath_var=
8213
 
shlibpath_overrides_runpath=unknown
8214
 
version_type=none
8215
 
dynamic_linker="$host_os ld.so"
8216
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
8217
 
if test "$GCC" = yes; then
8218
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8219
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
8220
 
    # if the path contains ";" then we assume it to be the separator
8221
 
    # otherwise default to the standard path separator (i.e. ":") - it is
8222
 
    # assumed that no part of a normal pathname contains ";" but that should
8223
 
    # okay in the real world where ";" in dirpaths is itself problematic.
8224
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8225
 
  else
8226
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8227
 
  fi
8228
 
else
8229
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8230
 
fi
8231
 
need_lib_prefix=unknown
8232
 
hardcode_into_libs=no
8233
 
 
8234
 
# when you set need_version to no, make sure it does not cause -set_version
8235
 
# flags to be left without arguments
8236
 
need_version=unknown
8237
 
 
8238
 
case $host_os in
8239
 
aix3*)
8240
 
  version_type=linux
8241
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8242
 
  shlibpath_var=LIBPATH
8243
 
 
8244
 
  # AIX 3 has no versioning support, so we append a major version to the name.
8245
 
  soname_spec='${libname}${release}${shared_ext}$major'
8246
 
  ;;
8247
 
 
8248
 
aix4* | aix5*)
8249
 
  version_type=linux
8250
 
  need_lib_prefix=no
8251
 
  need_version=no
8252
 
  hardcode_into_libs=yes
8253
 
  if test "$host_cpu" = ia64; then
8254
 
    # AIX 5 supports IA64
8255
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8256
 
    shlibpath_var=LD_LIBRARY_PATH
8257
 
  else
8258
 
    # With GCC up to 2.95.x, collect2 would create an import file
8259
 
    # for dependence libraries.  The import file would start with
8260
 
    # the line `#! .'.  This would cause the generated library to
8261
 
    # depend on `.', always an invalid library.  This was fixed in
8262
 
    # development snapshots of GCC prior to 3.0.
8263
 
    case $host_os in
8264
 
      aix4 | aix4.[01] | aix4.[01].*)
8265
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8266
 
           echo ' yes '
8267
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
8268
 
        :
8269
 
      else
8270
 
        can_build_shared=no
8271
 
      fi
8272
 
      ;;
8273
 
    esac
8274
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8275
 
    # soname into executable. Probably we can add versioning support to
8276
 
    # collect2, so additional links can be useful in future.
8277
 
    if test "$aix_use_runtimelinking" = yes; then
8278
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8279
 
      # instead of lib<name>.a to let people know that these are not
8280
 
      # typical AIX shared libraries.
8281
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8282
 
    else
8283
 
      # We preserve .a as extension for shared libraries through AIX4.2
8284
 
      # and later when we are not doing run time linking.
8285
 
      library_names_spec='${libname}${release}.a $libname.a'
8286
 
      soname_spec='${libname}${release}${shared_ext}$major'
8287
 
    fi
8288
 
    shlibpath_var=LIBPATH
8289
 
  fi
8290
 
  ;;
8291
 
 
8292
 
amigaos*)
8293
 
  library_names_spec='$libname.ixlibrary $libname.a'
8294
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
8295
 
  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'
8296
 
  ;;
8297
 
 
8298
 
beos*)
8299
 
  library_names_spec='${libname}${shared_ext}'
8300
 
  dynamic_linker="$host_os ld.so"
8301
 
  shlibpath_var=LIBRARY_PATH
8302
 
  ;;
8303
 
 
8304
 
bsdi[45]*)
8305
 
  version_type=linux
8306
 
  need_version=no
8307
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8308
 
  soname_spec='${libname}${release}${shared_ext}$major'
8309
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
8310
 
  shlibpath_var=LD_LIBRARY_PATH
8311
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8312
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
8313
 
  # the default ld.so.conf also contains /usr/contrib/lib and
8314
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8315
 
  # libtool to hard-code these into programs
8316
 
  ;;
8317
 
 
8318
 
cygwin* | mingw* | pw32*)
8319
 
  version_type=windows
8320
 
  shrext_cmds=".dll"
8321
 
  need_version=no
8322
 
  need_lib_prefix=no
8323
 
 
8324
 
  case $GCC,$host_os in
8325
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
8326
 
    library_names_spec='$libname.dll.a'
8327
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
8328
 
    postinstall_cmds='base_file=`basename \${file}`~
8329
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8330
 
      dldir=$destdir/`dirname \$dlpath`~
8331
 
      test -d \$dldir || mkdir -p \$dldir~
8332
 
      $install_prog $dir/$dlname \$dldir/$dlname~
8333
 
      chmod a+x \$dldir/$dlname'
8334
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8335
 
      dlpath=$dir/\$dldll~
8336
 
       $rm \$dlpath'
8337
 
    shlibpath_overrides_runpath=yes
8338
 
 
8339
 
    case $host_os in
8340
 
    cygwin*)
8341
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8342
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8343
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
8344
 
      ;;
8345
 
    mingw*)
8346
 
      # MinGW DLLs use traditional 'lib' prefix
8347
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8348
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8349
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
8350
 
        # It is most probably a Windows format PATH printed by
8351
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
8352
 
        # path with ; separators, and with drive letters. We can handle the
8353
 
        # drive letters (cygwin fileutils understands them), so leave them,
8354
 
        # especially as we might pass files found there to a mingw objdump,
8355
 
        # which wouldn't understand a cygwinified path. Ahh.
8356
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8357
 
      else
8358
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8359
 
      fi
8360
 
      ;;
8361
 
    pw32*)
8362
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
8363
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8364
 
      ;;
8365
 
    esac
8366
 
    ;;
8367
 
 
8368
 
  *)
8369
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8370
 
    ;;
8371
 
  esac
8372
 
  dynamic_linker='Win32 ld.exe'
8373
 
  # FIXME: first we should search . and the directory the executable is in
8374
 
  shlibpath_var=PATH
8375
 
  ;;
8376
 
 
8377
 
darwin* | rhapsody*)
8378
 
  dynamic_linker="$host_os dyld"
8379
 
  version_type=darwin
8380
 
  need_lib_prefix=no
8381
 
  need_version=no
8382
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8383
 
  soname_spec='${libname}${release}${major}$shared_ext'
8384
 
  shlibpath_overrides_runpath=yes
8385
 
  shlibpath_var=DYLD_LIBRARY_PATH
8386
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8387
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8388
 
  if test "$GCC" = yes; then
8389
 
    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"`
8390
 
  else
8391
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
8392
 
  fi
8393
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8394
 
  ;;
8395
 
 
8396
 
dgux*)
8397
 
  version_type=linux
8398
 
  need_lib_prefix=no
8399
 
  need_version=no
8400
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8401
 
  soname_spec='${libname}${release}${shared_ext}$major'
8402
 
  shlibpath_var=LD_LIBRARY_PATH
8403
 
  ;;
8404
 
 
8405
 
freebsd1*)
8406
 
  dynamic_linker=no
8407
 
  ;;
8408
 
 
8409
 
kfreebsd*-gnu)
8410
 
  version_type=linux
8411
 
  need_lib_prefix=no
8412
 
  need_version=no
8413
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8414
 
  soname_spec='${libname}${release}${shared_ext}$major'
8415
 
  shlibpath_var=LD_LIBRARY_PATH
8416
 
  shlibpath_overrides_runpath=no
8417
 
  hardcode_into_libs=yes
8418
 
  dynamic_linker='GNU ld.so'
8419
 
  ;;
8420
 
 
8421
 
freebsd* | dragonfly*)
8422
 
  # DragonFly does not have aout.  When/if they implement a new
8423
 
  # versioning mechanism, adjust this.
8424
 
  if test -x /usr/bin/objformat; then
8425
 
    objformat=`/usr/bin/objformat`
8426
 
  else
8427
 
    case $host_os in
8428
 
    freebsd[123]*) objformat=aout ;;
8429
 
    *) objformat=elf ;;
8430
 
    esac
8431
 
  fi
8432
 
  version_type=freebsd-$objformat
8433
 
  case $version_type in
8434
 
    freebsd-elf*)
8435
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8436
 
      need_version=no
8437
 
      need_lib_prefix=no
8438
 
      ;;
8439
 
    freebsd-*)
8440
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8441
 
      need_version=yes
8442
 
      ;;
8443
 
  esac
8444
 
  shlibpath_var=LD_LIBRARY_PATH
8445
 
  case $host_os in
8446
 
  freebsd2*)
8447
 
    shlibpath_overrides_runpath=yes
8448
 
    ;;
8449
 
  freebsd3.[01]* | freebsdelf3.[01]*)
8450
 
    shlibpath_overrides_runpath=yes
8451
 
    hardcode_into_libs=yes
8452
 
    ;;
8453
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
8454
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
8455
 
    shlibpath_overrides_runpath=no
8456
 
    hardcode_into_libs=yes
8457
 
    ;;
8458
 
  freebsd*) # from 4.6 on
8459
 
    shlibpath_overrides_runpath=yes
8460
 
    hardcode_into_libs=yes
8461
 
    ;;
8462
 
  esac
8463
 
  ;;
8464
 
 
8465
 
gnu*)
8466
 
  version_type=linux
8467
 
  need_lib_prefix=no
8468
 
  need_version=no
8469
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8470
 
  soname_spec='${libname}${release}${shared_ext}$major'
8471
 
  shlibpath_var=LD_LIBRARY_PATH
8472
 
  hardcode_into_libs=yes
8473
 
  ;;
8474
 
 
8475
 
hpux9* | hpux10* | hpux11*)
8476
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
8477
 
  # link against other versions.
8478
 
  version_type=sunos
8479
 
  need_lib_prefix=no
8480
 
  need_version=no
8481
 
  case $host_cpu in
8482
 
  ia64*)
8483
 
    shrext_cmds='.so'
8484
 
    hardcode_into_libs=yes
8485
 
    dynamic_linker="$host_os dld.so"
8486
 
    shlibpath_var=LD_LIBRARY_PATH
8487
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8488
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8489
 
    soname_spec='${libname}${release}${shared_ext}$major'
8490
 
    if test "X$HPUX_IA64_MODE" = X32; then
8491
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8492
 
    else
8493
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
8494
 
    fi
8495
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8496
 
    ;;
8497
 
   hppa*64*)
8498
 
     shrext_cmds='.sl'
8499
 
     hardcode_into_libs=yes
8500
 
     dynamic_linker="$host_os dld.sl"
8501
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
8502
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8503
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8504
 
     soname_spec='${libname}${release}${shared_ext}$major'
8505
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8506
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8507
 
     ;;
8508
 
   *)
8509
 
    shrext_cmds='.sl'
8510
 
    dynamic_linker="$host_os dld.sl"
8511
 
    shlibpath_var=SHLIB_PATH
8512
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
8513
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8514
 
    soname_spec='${libname}${release}${shared_ext}$major'
8515
 
    ;;
8516
 
  esac
8517
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
8518
 
  postinstall_cmds='chmod 555 $lib'
8519
 
  ;;
8520
 
 
8521
 
interix3*)
8522
 
  version_type=linux
8523
 
  need_lib_prefix=no
8524
 
  need_version=no
8525
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8526
 
  soname_spec='${libname}${release}${shared_ext}$major'
8527
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
8528
 
  shlibpath_var=LD_LIBRARY_PATH
8529
 
  shlibpath_overrides_runpath=no
8530
 
  hardcode_into_libs=yes
8531
 
  ;;
8532
 
 
8533
 
irix5* | irix6* | nonstopux*)
8534
 
  case $host_os in
8535
 
    nonstopux*) version_type=nonstopux ;;
8536
 
    *)
8537
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
8538
 
                version_type=linux
8539
 
        else
8540
 
                version_type=irix
8541
 
        fi ;;
8542
 
  esac
8543
 
  need_lib_prefix=no
8544
 
  need_version=no
8545
 
  soname_spec='${libname}${release}${shared_ext}$major'
8546
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8547
 
  case $host_os in
8548
 
  irix5* | nonstopux*)
8549
 
    libsuff= shlibsuff=
8550
 
    ;;
8551
 
  *)
8552
 
    case $LD in # libtool.m4 will add one of these switches to LD
8553
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8554
 
      libsuff= shlibsuff= libmagic=32-bit;;
8555
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8556
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
8557
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8558
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
8559
 
    *) libsuff= shlibsuff= libmagic=never-match;;
8560
 
    esac
8561
 
    ;;
8562
 
  esac
8563
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
8564
 
  shlibpath_overrides_runpath=no
8565
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8566
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
8567
 
  hardcode_into_libs=yes
8568
 
  ;;
8569
 
 
8570
 
# No shared lib support for Linux oldld, aout, or coff.
8571
 
linux*oldld* | linux*aout* | linux*coff*)
8572
 
  dynamic_linker=no
8573
 
  ;;
8574
 
 
8575
 
# This must be Linux ELF.
8576
 
linux*)
8577
 
  version_type=linux
8578
 
  need_lib_prefix=no
8579
 
  need_version=no
8580
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8581
 
  soname_spec='${libname}${release}${shared_ext}$major'
8582
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8583
 
  shlibpath_var=LD_LIBRARY_PATH
8584
 
  shlibpath_overrides_runpath=no
8585
 
  # This implies no fast_install, which is unacceptable.
8586
 
  # Some rework will be needed to allow for fast_install
8587
 
  # before this can be enabled.
8588
 
  hardcode_into_libs=yes
8589
 
 
8590
 
  # Append ld.so.conf contents to the search path
8591
 
  if test -f /etc/ld.so.conf; then
8592
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8593
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8594
 
  fi
8595
 
 
8596
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
8597
 
  # powerpc, because MkLinux only supported shared libraries with the
8598
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
8599
 
  # most powerpc-linux boxes support dynamic linking these days and
8600
 
  # people can always --disable-shared, the test was removed, and we
8601
 
  # assume the GNU/Linux dynamic linker is in use.
8602
 
  dynamic_linker='GNU/Linux ld.so'
8603
 
  ;;
8604
 
 
8605
 
knetbsd*-gnu)
8606
 
  version_type=linux
8607
 
  need_lib_prefix=no
8608
 
  need_version=no
8609
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8610
 
  soname_spec='${libname}${release}${shared_ext}$major'
8611
 
  shlibpath_var=LD_LIBRARY_PATH
8612
 
  shlibpath_overrides_runpath=no
8613
 
  hardcode_into_libs=yes
8614
 
  dynamic_linker='GNU ld.so'
8615
 
  ;;
8616
 
 
8617
 
netbsd*)
8618
 
  version_type=sunos
8619
 
  need_lib_prefix=no
8620
 
  need_version=no
8621
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8622
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8623
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8624
 
    dynamic_linker='NetBSD (a.out) ld.so'
8625
 
  else
8626
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8627
 
    soname_spec='${libname}${release}${shared_ext}$major'
8628
 
    dynamic_linker='NetBSD ld.elf_so'
8629
 
  fi
8630
 
  shlibpath_var=LD_LIBRARY_PATH
8631
 
  shlibpath_overrides_runpath=yes
8632
 
  hardcode_into_libs=yes
8633
 
  ;;
8634
 
 
8635
 
newsos6)
8636
 
  version_type=linux
8637
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8638
 
  shlibpath_var=LD_LIBRARY_PATH
8639
 
  shlibpath_overrides_runpath=yes
8640
 
  ;;
8641
 
 
8642
 
nto-qnx*)
8643
 
  version_type=linux
8644
 
  need_lib_prefix=no
8645
 
  need_version=no
8646
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8647
 
  soname_spec='${libname}${release}${shared_ext}$major'
8648
 
  shlibpath_var=LD_LIBRARY_PATH
8649
 
  shlibpath_overrides_runpath=yes
8650
 
  ;;
8651
 
 
8652
 
openbsd*)
8653
 
  version_type=sunos
8654
 
  sys_lib_dlsearch_path_spec="/usr/lib"
8655
 
  need_lib_prefix=no
8656
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8657
 
  case $host_os in
8658
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
8659
 
    *)                         need_version=no  ;;
8660
 
  esac
8661
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8662
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8663
 
  shlibpath_var=LD_LIBRARY_PATH
8664
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8665
 
    case $host_os in
8666
 
      openbsd2.[89] | openbsd2.[89].*)
8667
 
        shlibpath_overrides_runpath=no
8668
 
        ;;
8669
 
      *)
8670
 
        shlibpath_overrides_runpath=yes
8671
 
        ;;
8672
 
      esac
8673
 
  else
8674
 
    shlibpath_overrides_runpath=yes
8675
 
  fi
8676
 
  ;;
8677
 
 
8678
 
os2*)
8679
 
  libname_spec='$name'
8680
 
  shrext_cmds=".dll"
8681
 
  need_lib_prefix=no
8682
 
  library_names_spec='$libname${shared_ext} $libname.a'
8683
 
  dynamic_linker='OS/2 ld.exe'
8684
 
  shlibpath_var=LIBPATH
8685
 
  ;;
8686
 
 
8687
 
osf3* | osf4* | osf5*)
8688
 
  version_type=osf
8689
 
  need_lib_prefix=no
8690
 
  need_version=no
8691
 
  soname_spec='${libname}${release}${shared_ext}$major'
8692
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8693
 
  shlibpath_var=LD_LIBRARY_PATH
8694
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8695
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
8696
 
  ;;
8697
 
 
8698
 
solaris*)
8699
 
  version_type=linux
8700
 
  need_lib_prefix=no
8701
 
  need_version=no
8702
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8703
 
  soname_spec='${libname}${release}${shared_ext}$major'
8704
 
  shlibpath_var=LD_LIBRARY_PATH
8705
 
  shlibpath_overrides_runpath=yes
8706
 
  hardcode_into_libs=yes
8707
 
  # ldd complains unless libraries are executable
8708
 
  postinstall_cmds='chmod +x $lib'
8709
 
  ;;
8710
 
 
8711
 
sunos4*)
8712
 
  version_type=sunos
8713
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8714
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8715
 
  shlibpath_var=LD_LIBRARY_PATH
8716
 
  shlibpath_overrides_runpath=yes
8717
 
  if test "$with_gnu_ld" = yes; then
8718
 
    need_lib_prefix=no
8719
 
  fi
8720
 
  need_version=yes
8721
 
  ;;
8722
 
 
8723
 
sysv4 | sysv4.3*)
8724
 
  version_type=linux
8725
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8726
 
  soname_spec='${libname}${release}${shared_ext}$major'
8727
 
  shlibpath_var=LD_LIBRARY_PATH
8728
 
  case $host_vendor in
8729
 
    sni)
8730
 
      shlibpath_overrides_runpath=no
8731
 
      need_lib_prefix=no
8732
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
8733
 
      runpath_var=LD_RUN_PATH
8734
 
      ;;
8735
 
    siemens)
8736
 
      need_lib_prefix=no
8737
 
      ;;
8738
 
    motorola)
8739
 
      need_lib_prefix=no
8740
 
      need_version=no
8741
 
      shlibpath_overrides_runpath=no
8742
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8743
 
      ;;
8744
 
  esac
8745
 
  ;;
8746
 
 
8747
 
sysv4*MP*)
8748
 
  if test -d /usr/nec ;then
8749
 
    version_type=linux
8750
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8751
 
    soname_spec='$libname${shared_ext}.$major'
8752
 
    shlibpath_var=LD_LIBRARY_PATH
8753
 
  fi
8754
 
  ;;
8755
 
 
8756
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8757
 
  version_type=freebsd-elf
8758
 
  need_lib_prefix=no
8759
 
  need_version=no
8760
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8761
 
  soname_spec='${libname}${release}${shared_ext}$major'
8762
 
  shlibpath_var=LD_LIBRARY_PATH
8763
 
  hardcode_into_libs=yes
8764
 
  if test "$with_gnu_ld" = yes; then
8765
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
8766
 
    shlibpath_overrides_runpath=no
8767
 
  else
8768
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
8769
 
    shlibpath_overrides_runpath=yes
8770
 
    case $host_os in
8771
 
      sco3.2v5*)
8772
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
8773
 
        ;;
8774
 
    esac
8775
 
  fi
8776
 
  sys_lib_dlsearch_path_spec='/usr/lib'
8777
 
  ;;
8778
 
 
8779
 
uts4*)
8780
 
  version_type=linux
8781
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8782
 
  soname_spec='${libname}${release}${shared_ext}$major'
8783
 
  shlibpath_var=LD_LIBRARY_PATH
8784
 
  ;;
8785
 
 
8786
 
*)
8787
 
  dynamic_linker=no
8788
 
  ;;
8789
 
esac
8790
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8791
 
echo "${ECHO_T}$dynamic_linker" >&6
8792
 
test "$dynamic_linker" = no && can_build_shared=no
8793
 
 
8794
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
8795
 
if test "$GCC" = yes; then
8796
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8797
 
fi
8798
 
 
8799
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8800
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8801
 
hardcode_action=
8802
 
if test -n "$hardcode_libdir_flag_spec" || \
8803
 
   test -n "$runpath_var" || \
8804
 
   test "X$hardcode_automatic" = "Xyes" ; then
8805
 
 
8806
 
  # We can hardcode non-existant directories.
8807
 
  if test "$hardcode_direct" != no &&
8808
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
8809
 
     # have to relink, otherwise we might link with an installed library
8810
 
     # when we should be linking with a yet-to-be-installed one
8811
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
8812
 
     test "$hardcode_minus_L" != no; then
8813
 
    # Linking always hardcodes the temporary library directory.
8814
 
    hardcode_action=relink
8815
 
  else
8816
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
8817
 
    hardcode_action=immediate
8818
 
  fi
8819
 
else
8820
 
  # We cannot hardcode anything, or else we can only hardcode existing
8821
 
  # directories.
8822
 
  hardcode_action=unsupported
8823
 
fi
8824
 
echo "$as_me:$LINENO: result: $hardcode_action" >&5
8825
 
echo "${ECHO_T}$hardcode_action" >&6
8826
 
 
8827
 
if test "$hardcode_action" = relink; then
8828
 
  # Fast installation is not supported
8829
 
  enable_fast_install=no
8830
 
elif test "$shlibpath_overrides_runpath" = yes ||
8831
 
     test "$enable_shared" = no; then
8832
 
  # Fast installation is not necessary
8833
 
  enable_fast_install=needless
8834
 
fi
8835
 
 
8836
 
striplib=
8837
 
old_striplib=
8838
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8839
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
8840
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
8841
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
8842
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
8843
 
  echo "$as_me:$LINENO: result: yes" >&5
8844
 
echo "${ECHO_T}yes" >&6
8845
 
else
8846
 
# FIXME - insert some real tests, host_os isn't really good enough
8847
 
  case $host_os in
8848
 
   darwin*)
8849
 
       if test -n "$STRIP" ; then
8850
 
         striplib="$STRIP -x"
8851
 
         echo "$as_me:$LINENO: result: yes" >&5
8852
 
echo "${ECHO_T}yes" >&6
8853
 
       else
8854
 
  echo "$as_me:$LINENO: result: no" >&5
8855
 
echo "${ECHO_T}no" >&6
8856
 
fi
8857
 
       ;;
8858
 
   *)
8859
 
  echo "$as_me:$LINENO: result: no" >&5
8860
 
echo "${ECHO_T}no" >&6
8861
 
    ;;
8862
 
  esac
8863
 
fi
8864
 
 
8865
 
if test "x$enable_dlopen" != xyes; then
8866
 
  enable_dlopen=unknown
8867
 
  enable_dlopen_self=unknown
8868
 
  enable_dlopen_self_static=unknown
8869
 
else
8870
 
  lt_cv_dlopen=no
8871
 
  lt_cv_dlopen_libs=
8872
 
 
8873
 
  case $host_os in
8874
 
  beos*)
8875
 
    lt_cv_dlopen="load_add_on"
8876
 
    lt_cv_dlopen_libs=
8877
 
    lt_cv_dlopen_self=yes
8878
 
    ;;
8879
 
 
8880
 
  mingw* | pw32*)
8881
 
    lt_cv_dlopen="LoadLibrary"
8882
 
    lt_cv_dlopen_libs=
8883
 
   ;;
8884
 
 
8885
 
  cygwin*)
8886
 
    lt_cv_dlopen="dlopen"
8887
 
    lt_cv_dlopen_libs=
8888
 
   ;;
8889
 
 
8890
 
  darwin*)
8891
 
  # if libdl is installed we need to link against it
8892
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8893
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8894
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8895
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8896
 
else
8897
 
  ac_check_lib_save_LIBS=$LIBS
8898
 
LIBS="-ldl  $LIBS"
8899
 
cat >conftest.$ac_ext <<_ACEOF
8900
 
/* confdefs.h.  */
8901
 
_ACEOF
8902
 
cat confdefs.h >>conftest.$ac_ext
8903
 
cat >>conftest.$ac_ext <<_ACEOF
8904
 
/* end confdefs.h.  */
8905
 
 
8906
 
/* Override any gcc2 internal prototype to avoid an error.  */
8907
 
#ifdef __cplusplus
8908
 
extern "C"
8909
 
#endif
8910
 
/* We use char because int might match the return type of a gcc2
8911
 
   builtin and then its argument prototype would still apply.  */
8912
 
char dlopen ();
8913
 
int
8914
 
main ()
8915
 
{
8916
 
dlopen ();
8917
 
  ;
8918
 
  return 0;
8919
 
}
8920
 
_ACEOF
8921
 
rm -f conftest.$ac_objext conftest$ac_exeext
8922
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8923
 
  (eval $ac_link) 2>conftest.er1
8924
 
  ac_status=$?
8925
 
  grep -v '^ *+' conftest.er1 >conftest.err
8926
 
  rm -f conftest.er1
8927
 
  cat conftest.err >&5
8928
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8929
 
  (exit $ac_status); } &&
8930
 
         { ac_try='test -z "$ac_c_werror_flag"
8931
 
                         || test ! -s conftest.err'
8932
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8933
 
  (eval $ac_try) 2>&5
8934
 
  ac_status=$?
8935
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8936
 
  (exit $ac_status); }; } &&
8937
 
         { ac_try='test -s conftest$ac_exeext'
8938
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8939
 
  (eval $ac_try) 2>&5
8940
 
  ac_status=$?
8941
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8942
 
  (exit $ac_status); }; }; then
8943
 
  ac_cv_lib_dl_dlopen=yes
8944
 
else
8945
 
  echo "$as_me: failed program was:" >&5
8946
 
sed 's/^/| /' conftest.$ac_ext >&5
8947
 
 
8948
 
ac_cv_lib_dl_dlopen=no
8949
 
fi
8950
 
rm -f conftest.err conftest.$ac_objext \
8951
 
      conftest$ac_exeext conftest.$ac_ext
8952
 
LIBS=$ac_check_lib_save_LIBS
8953
 
fi
8954
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8955
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8956
 
if test $ac_cv_lib_dl_dlopen = yes; then
8957
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8958
 
else
8959
 
 
8960
 
    lt_cv_dlopen="dyld"
8961
 
    lt_cv_dlopen_libs=
8962
 
    lt_cv_dlopen_self=yes
8963
 
 
8964
 
fi
8965
 
 
8966
 
   ;;
8967
 
 
8968
 
  *)
8969
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
8970
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8971
 
if test "${ac_cv_func_shl_load+set}" = set; then
8972
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8973
 
else
8974
 
  cat >conftest.$ac_ext <<_ACEOF
8975
 
/* confdefs.h.  */
8976
 
_ACEOF
8977
 
cat confdefs.h >>conftest.$ac_ext
8978
 
cat >>conftest.$ac_ext <<_ACEOF
8979
 
/* end confdefs.h.  */
8980
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8981
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8982
 
#define shl_load innocuous_shl_load
8983
 
 
8984
 
/* System header to define __stub macros and hopefully few prototypes,
8985
 
    which can conflict with char shl_load (); below.
8986
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8987
 
    <limits.h> exists even on freestanding compilers.  */
8988
 
 
8989
 
#ifdef __STDC__
8990
 
# include <limits.h>
8991
 
#else
8992
 
# include <assert.h>
8993
 
#endif
8994
 
 
8995
 
#undef shl_load
8996
 
 
8997
 
/* Override any gcc2 internal prototype to avoid an error.  */
8998
 
#ifdef __cplusplus
8999
 
extern "C"
9000
 
{
9001
 
#endif
9002
 
/* We use char because int might match the return type of a gcc2
9003
 
   builtin and then its argument prototype would still apply.  */
9004
 
char shl_load ();
9005
 
/* The GNU C library defines this for functions which it implements
9006
 
    to always fail with ENOSYS.  Some functions are actually named
9007
 
    something starting with __ and the normal name is an alias.  */
9008
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
9009
 
choke me
9010
 
#else
9011
 
char (*f) () = shl_load;
9012
 
#endif
9013
 
#ifdef __cplusplus
9014
 
}
9015
 
#endif
9016
 
 
9017
 
int
9018
 
main ()
9019
 
{
9020
 
return f != shl_load;
9021
 
  ;
9022
 
  return 0;
9023
 
}
9024
 
_ACEOF
9025
 
rm -f conftest.$ac_objext conftest$ac_exeext
9026
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9027
 
  (eval $ac_link) 2>conftest.er1
9028
 
  ac_status=$?
9029
 
  grep -v '^ *+' conftest.er1 >conftest.err
9030
 
  rm -f conftest.er1
9031
 
  cat conftest.err >&5
9032
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9033
 
  (exit $ac_status); } &&
9034
 
         { ac_try='test -z "$ac_c_werror_flag"
9035
 
                         || test ! -s conftest.err'
9036
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9037
 
  (eval $ac_try) 2>&5
9038
 
  ac_status=$?
9039
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9040
 
  (exit $ac_status); }; } &&
9041
 
         { ac_try='test -s conftest$ac_exeext'
9042
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9043
 
  (eval $ac_try) 2>&5
9044
 
  ac_status=$?
9045
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9046
 
  (exit $ac_status); }; }; then
9047
 
  ac_cv_func_shl_load=yes
9048
 
else
9049
 
  echo "$as_me: failed program was:" >&5
9050
 
sed 's/^/| /' conftest.$ac_ext >&5
9051
 
 
9052
 
ac_cv_func_shl_load=no
9053
 
fi
9054
 
rm -f conftest.err conftest.$ac_objext \
9055
 
      conftest$ac_exeext conftest.$ac_ext
9056
 
fi
9057
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9058
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9059
 
if test $ac_cv_func_shl_load = yes; then
9060
 
  lt_cv_dlopen="shl_load"
9061
 
else
9062
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9063
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9064
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9065
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9066
 
else
9067
 
  ac_check_lib_save_LIBS=$LIBS
9068
 
LIBS="-ldld  $LIBS"
9069
 
cat >conftest.$ac_ext <<_ACEOF
9070
 
/* confdefs.h.  */
9071
 
_ACEOF
9072
 
cat confdefs.h >>conftest.$ac_ext
9073
 
cat >>conftest.$ac_ext <<_ACEOF
9074
 
/* end confdefs.h.  */
9075
 
 
9076
 
/* Override any gcc2 internal prototype to avoid an error.  */
9077
 
#ifdef __cplusplus
9078
 
extern "C"
9079
 
#endif
9080
 
/* We use char because int might match the return type of a gcc2
9081
 
   builtin and then its argument prototype would still apply.  */
9082
 
char shl_load ();
9083
 
int
9084
 
main ()
9085
 
{
9086
 
shl_load ();
9087
 
  ;
9088
 
  return 0;
9089
 
}
9090
 
_ACEOF
9091
 
rm -f conftest.$ac_objext conftest$ac_exeext
9092
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9093
 
  (eval $ac_link) 2>conftest.er1
9094
 
  ac_status=$?
9095
 
  grep -v '^ *+' conftest.er1 >conftest.err
9096
 
  rm -f conftest.er1
9097
 
  cat conftest.err >&5
9098
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9099
 
  (exit $ac_status); } &&
9100
 
         { ac_try='test -z "$ac_c_werror_flag"
9101
 
                         || test ! -s conftest.err'
9102
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9103
 
  (eval $ac_try) 2>&5
9104
 
  ac_status=$?
9105
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9106
 
  (exit $ac_status); }; } &&
9107
 
         { ac_try='test -s conftest$ac_exeext'
9108
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9109
 
  (eval $ac_try) 2>&5
9110
 
  ac_status=$?
9111
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9112
 
  (exit $ac_status); }; }; then
9113
 
  ac_cv_lib_dld_shl_load=yes
9114
 
else
9115
 
  echo "$as_me: failed program was:" >&5
9116
 
sed 's/^/| /' conftest.$ac_ext >&5
9117
 
 
9118
 
ac_cv_lib_dld_shl_load=no
9119
 
fi
9120
 
rm -f conftest.err conftest.$ac_objext \
9121
 
      conftest$ac_exeext conftest.$ac_ext
9122
 
LIBS=$ac_check_lib_save_LIBS
9123
 
fi
9124
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9125
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9126
 
if test $ac_cv_lib_dld_shl_load = yes; then
9127
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9128
 
else
9129
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
9130
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9131
 
if test "${ac_cv_func_dlopen+set}" = set; then
9132
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9133
 
else
9134
 
  cat >conftest.$ac_ext <<_ACEOF
9135
 
/* confdefs.h.  */
9136
 
_ACEOF
9137
 
cat confdefs.h >>conftest.$ac_ext
9138
 
cat >>conftest.$ac_ext <<_ACEOF
9139
 
/* end confdefs.h.  */
9140
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9141
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9142
 
#define dlopen innocuous_dlopen
9143
 
 
9144
 
/* System header to define __stub macros and hopefully few prototypes,
9145
 
    which can conflict with char dlopen (); below.
9146
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9147
 
    <limits.h> exists even on freestanding compilers.  */
9148
 
 
9149
 
#ifdef __STDC__
9150
 
# include <limits.h>
9151
 
#else
9152
 
# include <assert.h>
9153
 
#endif
9154
 
 
9155
 
#undef dlopen
9156
 
 
9157
 
/* Override any gcc2 internal prototype to avoid an error.  */
9158
 
#ifdef __cplusplus
9159
 
extern "C"
9160
 
{
9161
 
#endif
9162
 
/* We use char because int might match the return type of a gcc2
9163
 
   builtin and then its argument prototype would still apply.  */
9164
 
char dlopen ();
9165
 
/* The GNU C library defines this for functions which it implements
9166
 
    to always fail with ENOSYS.  Some functions are actually named
9167
 
    something starting with __ and the normal name is an alias.  */
9168
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
9169
 
choke me
9170
 
#else
9171
 
char (*f) () = dlopen;
9172
 
#endif
9173
 
#ifdef __cplusplus
9174
 
}
9175
 
#endif
9176
 
 
9177
 
int
9178
 
main ()
9179
 
{
9180
 
return f != dlopen;
9181
 
  ;
9182
 
  return 0;
9183
 
}
9184
 
_ACEOF
9185
 
rm -f conftest.$ac_objext conftest$ac_exeext
9186
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9187
 
  (eval $ac_link) 2>conftest.er1
9188
 
  ac_status=$?
9189
 
  grep -v '^ *+' conftest.er1 >conftest.err
9190
 
  rm -f conftest.er1
9191
 
  cat conftest.err >&5
9192
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9193
 
  (exit $ac_status); } &&
9194
 
         { ac_try='test -z "$ac_c_werror_flag"
9195
 
                         || test ! -s conftest.err'
9196
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9197
 
  (eval $ac_try) 2>&5
9198
 
  ac_status=$?
9199
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9200
 
  (exit $ac_status); }; } &&
9201
 
         { ac_try='test -s conftest$ac_exeext'
9202
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9203
 
  (eval $ac_try) 2>&5
9204
 
  ac_status=$?
9205
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9206
 
  (exit $ac_status); }; }; then
9207
 
  ac_cv_func_dlopen=yes
9208
 
else
9209
 
  echo "$as_me: failed program was:" >&5
9210
 
sed 's/^/| /' conftest.$ac_ext >&5
9211
 
 
9212
 
ac_cv_func_dlopen=no
9213
 
fi
9214
 
rm -f conftest.err conftest.$ac_objext \
9215
 
      conftest$ac_exeext conftest.$ac_ext
9216
 
fi
9217
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9218
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9219
 
if test $ac_cv_func_dlopen = yes; then
9220
 
  lt_cv_dlopen="dlopen"
9221
 
else
9222
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9223
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9224
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9225
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9226
 
else
9227
 
  ac_check_lib_save_LIBS=$LIBS
9228
 
LIBS="-ldl  $LIBS"
9229
 
cat >conftest.$ac_ext <<_ACEOF
9230
 
/* confdefs.h.  */
9231
 
_ACEOF
9232
 
cat confdefs.h >>conftest.$ac_ext
9233
 
cat >>conftest.$ac_ext <<_ACEOF
9234
 
/* end confdefs.h.  */
9235
 
 
9236
 
/* Override any gcc2 internal prototype to avoid an error.  */
9237
 
#ifdef __cplusplus
9238
 
extern "C"
9239
 
#endif
9240
 
/* We use char because int might match the return type of a gcc2
9241
 
   builtin and then its argument prototype would still apply.  */
9242
 
char dlopen ();
9243
 
int
9244
 
main ()
9245
 
{
9246
 
dlopen ();
9247
 
  ;
9248
 
  return 0;
9249
 
}
9250
 
_ACEOF
9251
 
rm -f conftest.$ac_objext conftest$ac_exeext
9252
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9253
 
  (eval $ac_link) 2>conftest.er1
9254
 
  ac_status=$?
9255
 
  grep -v '^ *+' conftest.er1 >conftest.err
9256
 
  rm -f conftest.er1
9257
 
  cat conftest.err >&5
9258
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9259
 
  (exit $ac_status); } &&
9260
 
         { ac_try='test -z "$ac_c_werror_flag"
9261
 
                         || test ! -s conftest.err'
9262
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9263
 
  (eval $ac_try) 2>&5
9264
 
  ac_status=$?
9265
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9266
 
  (exit $ac_status); }; } &&
9267
 
         { ac_try='test -s conftest$ac_exeext'
9268
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9269
 
  (eval $ac_try) 2>&5
9270
 
  ac_status=$?
9271
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9272
 
  (exit $ac_status); }; }; then
9273
 
  ac_cv_lib_dl_dlopen=yes
9274
 
else
9275
 
  echo "$as_me: failed program was:" >&5
9276
 
sed 's/^/| /' conftest.$ac_ext >&5
9277
 
 
9278
 
ac_cv_lib_dl_dlopen=no
9279
 
fi
9280
 
rm -f conftest.err conftest.$ac_objext \
9281
 
      conftest$ac_exeext conftest.$ac_ext
9282
 
LIBS=$ac_check_lib_save_LIBS
9283
 
fi
9284
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9285
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9286
 
if test $ac_cv_lib_dl_dlopen = yes; then
9287
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9288
 
else
9289
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9290
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9291
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9292
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9293
 
else
9294
 
  ac_check_lib_save_LIBS=$LIBS
9295
 
LIBS="-lsvld  $LIBS"
9296
 
cat >conftest.$ac_ext <<_ACEOF
9297
 
/* confdefs.h.  */
9298
 
_ACEOF
9299
 
cat confdefs.h >>conftest.$ac_ext
9300
 
cat >>conftest.$ac_ext <<_ACEOF
9301
 
/* end confdefs.h.  */
9302
 
 
9303
 
/* Override any gcc2 internal prototype to avoid an error.  */
9304
 
#ifdef __cplusplus
9305
 
extern "C"
9306
 
#endif
9307
 
/* We use char because int might match the return type of a gcc2
9308
 
   builtin and then its argument prototype would still apply.  */
9309
 
char dlopen ();
9310
 
int
9311
 
main ()
9312
 
{
9313
 
dlopen ();
9314
 
  ;
9315
 
  return 0;
9316
 
}
9317
 
_ACEOF
9318
 
rm -f conftest.$ac_objext conftest$ac_exeext
9319
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9320
 
  (eval $ac_link) 2>conftest.er1
9321
 
  ac_status=$?
9322
 
  grep -v '^ *+' conftest.er1 >conftest.err
9323
 
  rm -f conftest.er1
9324
 
  cat conftest.err >&5
9325
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9326
 
  (exit $ac_status); } &&
9327
 
         { ac_try='test -z "$ac_c_werror_flag"
9328
 
                         || test ! -s conftest.err'
9329
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9330
 
  (eval $ac_try) 2>&5
9331
 
  ac_status=$?
9332
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9333
 
  (exit $ac_status); }; } &&
9334
 
         { ac_try='test -s conftest$ac_exeext'
9335
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9336
 
  (eval $ac_try) 2>&5
9337
 
  ac_status=$?
9338
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9339
 
  (exit $ac_status); }; }; then
9340
 
  ac_cv_lib_svld_dlopen=yes
9341
 
else
9342
 
  echo "$as_me: failed program was:" >&5
9343
 
sed 's/^/| /' conftest.$ac_ext >&5
9344
 
 
9345
 
ac_cv_lib_svld_dlopen=no
9346
 
fi
9347
 
rm -f conftest.err conftest.$ac_objext \
9348
 
      conftest$ac_exeext conftest.$ac_ext
9349
 
LIBS=$ac_check_lib_save_LIBS
9350
 
fi
9351
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9352
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9353
 
if test $ac_cv_lib_svld_dlopen = yes; then
9354
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9355
 
else
9356
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9357
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9358
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9359
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9360
 
else
9361
 
  ac_check_lib_save_LIBS=$LIBS
9362
 
LIBS="-ldld  $LIBS"
9363
 
cat >conftest.$ac_ext <<_ACEOF
9364
 
/* confdefs.h.  */
9365
 
_ACEOF
9366
 
cat confdefs.h >>conftest.$ac_ext
9367
 
cat >>conftest.$ac_ext <<_ACEOF
9368
 
/* end confdefs.h.  */
9369
 
 
9370
 
/* Override any gcc2 internal prototype to avoid an error.  */
9371
 
#ifdef __cplusplus
9372
 
extern "C"
9373
 
#endif
9374
 
/* We use char because int might match the return type of a gcc2
9375
 
   builtin and then its argument prototype would still apply.  */
9376
 
char dld_link ();
9377
 
int
9378
 
main ()
9379
 
{
9380
 
dld_link ();
9381
 
  ;
9382
 
  return 0;
9383
 
}
9384
 
_ACEOF
9385
 
rm -f conftest.$ac_objext conftest$ac_exeext
9386
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9387
 
  (eval $ac_link) 2>conftest.er1
9388
 
  ac_status=$?
9389
 
  grep -v '^ *+' conftest.er1 >conftest.err
9390
 
  rm -f conftest.er1
9391
 
  cat conftest.err >&5
9392
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9393
 
  (exit $ac_status); } &&
9394
 
         { ac_try='test -z "$ac_c_werror_flag"
9395
 
                         || test ! -s conftest.err'
9396
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9397
 
  (eval $ac_try) 2>&5
9398
 
  ac_status=$?
9399
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9400
 
  (exit $ac_status); }; } &&
9401
 
         { ac_try='test -s conftest$ac_exeext'
9402
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9403
 
  (eval $ac_try) 2>&5
9404
 
  ac_status=$?
9405
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9406
 
  (exit $ac_status); }; }; then
9407
 
  ac_cv_lib_dld_dld_link=yes
9408
 
else
9409
 
  echo "$as_me: failed program was:" >&5
9410
 
sed 's/^/| /' conftest.$ac_ext >&5
9411
 
 
9412
 
ac_cv_lib_dld_dld_link=no
9413
 
fi
9414
 
rm -f conftest.err conftest.$ac_objext \
9415
 
      conftest$ac_exeext conftest.$ac_ext
9416
 
LIBS=$ac_check_lib_save_LIBS
9417
 
fi
9418
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9419
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9420
 
if test $ac_cv_lib_dld_dld_link = yes; then
9421
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9422
 
fi
9423
 
 
9424
 
 
9425
 
fi
9426
 
 
9427
 
 
9428
 
fi
9429
 
 
9430
 
 
9431
 
fi
9432
 
 
9433
 
 
9434
 
fi
9435
 
 
9436
 
 
9437
 
fi
9438
 
 
9439
 
    ;;
9440
 
  esac
9441
 
 
9442
 
  if test "x$lt_cv_dlopen" != xno; then
9443
 
    enable_dlopen=yes
9444
 
  else
9445
 
    enable_dlopen=no
9446
 
  fi
9447
 
 
9448
 
  case $lt_cv_dlopen in
9449
 
  dlopen)
9450
 
    save_CPPFLAGS="$CPPFLAGS"
9451
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9452
 
 
9453
 
    save_LDFLAGS="$LDFLAGS"
9454
 
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9455
 
 
9456
 
    save_LIBS="$LIBS"
9457
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
9458
 
 
9459
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9460
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9461
 
if test "${lt_cv_dlopen_self+set}" = set; then
9462
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9463
 
else
9464
 
          if test "$cross_compiling" = yes; then :
9465
 
  lt_cv_dlopen_self=cross
9466
 
else
9467
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9468
 
  lt_status=$lt_dlunknown
9469
 
  cat > conftest.$ac_ext <<EOF
9470
 
#line 9470 "configure"
9471
 
#include "confdefs.h"
9472
 
 
9473
 
#if HAVE_DLFCN_H
9474
 
#include <dlfcn.h>
9475
 
#endif
9476
 
 
9477
 
#include <stdio.h>
9478
 
 
9479
 
#ifdef RTLD_GLOBAL
9480
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
9481
 
#else
9482
 
#  ifdef DL_GLOBAL
9483
 
#    define LT_DLGLOBAL         DL_GLOBAL
9484
 
#  else
9485
 
#    define LT_DLGLOBAL         0
9486
 
#  endif
9487
 
#endif
9488
 
 
9489
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9490
 
   find out it does not work in some platform. */
9491
 
#ifndef LT_DLLAZY_OR_NOW
9492
 
#  ifdef RTLD_LAZY
9493
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
9494
 
#  else
9495
 
#    ifdef DL_LAZY
9496
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
9497
 
#    else
9498
 
#      ifdef RTLD_NOW
9499
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
9500
 
#      else
9501
 
#        ifdef DL_NOW
9502
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
9503
 
#        else
9504
 
#          define LT_DLLAZY_OR_NOW      0
9505
 
#        endif
9506
 
#      endif
9507
 
#    endif
9508
 
#  endif
9509
 
#endif
9510
 
 
9511
 
#ifdef __cplusplus
9512
 
extern "C" void exit (int);
9513
 
#endif
9514
 
 
9515
 
void fnord() { int i=42;}
9516
 
int main ()
9517
 
{
9518
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9519
 
  int status = $lt_dlunknown;
9520
 
 
9521
 
  if (self)
9522
 
    {
9523
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
9524
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9525
 
      /* dlclose (self); */
9526
 
    }
9527
 
  else
9528
 
    puts (dlerror ());
9529
 
 
9530
 
    exit (status);
9531
 
}
9532
 
EOF
9533
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9534
 
  (eval $ac_link) 2>&5
9535
 
  ac_status=$?
9536
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9537
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9538
 
    (./conftest; exit; ) >&5 2>/dev/null
9539
 
    lt_status=$?
9540
 
    case x$lt_status in
9541
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9542
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9543
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9544
 
    esac
9545
 
  else :
9546
 
    # compilation failed
9547
 
    lt_cv_dlopen_self=no
9548
 
  fi
9549
 
fi
9550
 
rm -fr conftest*
9551
 
 
9552
 
 
9553
 
fi
9554
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9555
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9556
 
 
9557
 
    if test "x$lt_cv_dlopen_self" = xyes; then
9558
 
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9559
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9560
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9561
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
9562
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9563
 
else
9564
 
          if test "$cross_compiling" = yes; then :
9565
 
  lt_cv_dlopen_self_static=cross
9566
 
else
9567
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9568
 
  lt_status=$lt_dlunknown
9569
 
  cat > conftest.$ac_ext <<EOF
9570
 
#line 9570 "configure"
9571
 
#include "confdefs.h"
9572
 
 
9573
 
#if HAVE_DLFCN_H
9574
 
#include <dlfcn.h>
9575
 
#endif
9576
 
 
9577
 
#include <stdio.h>
9578
 
 
9579
 
#ifdef RTLD_GLOBAL
9580
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
9581
 
#else
9582
 
#  ifdef DL_GLOBAL
9583
 
#    define LT_DLGLOBAL         DL_GLOBAL
9584
 
#  else
9585
 
#    define LT_DLGLOBAL         0
9586
 
#  endif
9587
 
#endif
9588
 
 
9589
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9590
 
   find out it does not work in some platform. */
9591
 
#ifndef LT_DLLAZY_OR_NOW
9592
 
#  ifdef RTLD_LAZY
9593
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
9594
 
#  else
9595
 
#    ifdef DL_LAZY
9596
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
9597
 
#    else
9598
 
#      ifdef RTLD_NOW
9599
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
9600
 
#      else
9601
 
#        ifdef DL_NOW
9602
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
9603
 
#        else
9604
 
#          define LT_DLLAZY_OR_NOW      0
9605
 
#        endif
9606
 
#      endif
9607
 
#    endif
9608
 
#  endif
9609
 
#endif
9610
 
 
9611
 
#ifdef __cplusplus
9612
 
extern "C" void exit (int);
9613
 
#endif
9614
 
 
9615
 
void fnord() { int i=42;}
9616
 
int main ()
9617
 
{
9618
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9619
 
  int status = $lt_dlunknown;
9620
 
 
9621
 
  if (self)
9622
 
    {
9623
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
9624
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9625
 
      /* dlclose (self); */
9626
 
    }
9627
 
  else
9628
 
    puts (dlerror ());
9629
 
 
9630
 
    exit (status);
9631
 
}
9632
 
EOF
9633
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9634
 
  (eval $ac_link) 2>&5
9635
 
  ac_status=$?
9636
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9637
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9638
 
    (./conftest; exit; ) >&5 2>/dev/null
9639
 
    lt_status=$?
9640
 
    case x$lt_status in
9641
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
9642
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
9643
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
9644
 
    esac
9645
 
  else :
9646
 
    # compilation failed
9647
 
    lt_cv_dlopen_self_static=no
9648
 
  fi
9649
 
fi
9650
 
rm -fr conftest*
9651
 
 
9652
 
 
9653
 
fi
9654
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9655
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9656
 
    fi
9657
 
 
9658
 
    CPPFLAGS="$save_CPPFLAGS"
9659
 
    LDFLAGS="$save_LDFLAGS"
9660
 
    LIBS="$save_LIBS"
9661
 
    ;;
9662
 
  esac
9663
 
 
9664
 
  case $lt_cv_dlopen_self in
9665
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
9666
 
  *) enable_dlopen_self=unknown ;;
9667
 
  esac
9668
 
 
9669
 
  case $lt_cv_dlopen_self_static in
9670
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
9671
 
  *) enable_dlopen_self_static=unknown ;;
9672
 
  esac
9673
 
fi
9674
 
 
9675
 
 
9676
 
# Report which library types will actually be built
9677
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9678
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9679
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
9680
 
echo "${ECHO_T}$can_build_shared" >&6
9681
 
 
9682
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9683
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9684
 
test "$can_build_shared" = "no" && enable_shared=no
9685
 
 
9686
 
# On AIX, shared libraries and static libraries use the same namespace, and
9687
 
# are all built from PIC.
9688
 
case $host_os in
9689
 
aix3*)
9690
 
  test "$enable_shared" = yes && enable_static=no
9691
 
  if test -n "$RANLIB"; then
9692
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
9693
 
    postinstall_cmds='$RANLIB $lib'
9694
 
  fi
9695
 
  ;;
9696
 
 
9697
 
aix4* | aix5*)
9698
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
9699
 
    test "$enable_shared" = yes && enable_static=no
9700
 
  fi
9701
 
    ;;
9702
 
esac
9703
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
9704
 
echo "${ECHO_T}$enable_shared" >&6
9705
 
 
9706
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9707
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9708
 
# Make sure either enable_shared or enable_static is yes.
9709
 
test "$enable_shared" = yes || enable_static=yes
9710
 
echo "$as_me:$LINENO: result: $enable_static" >&5
9711
 
echo "${ECHO_T}$enable_static" >&6
9712
 
 
9713
 
# The else clause should only fire when bootstrapping the
9714
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
9715
 
# with your package, and you will get complaints that there are
9716
 
# no rules to generate ltmain.sh.
9717
 
if test -f "$ltmain"; then
9718
 
  # See if we are running on zsh, and set the options which allow our commands through
9719
 
  # without removal of \ escapes.
9720
 
  if test -n "${ZSH_VERSION+set}" ; then
9721
 
    setopt NO_GLOB_SUBST
9722
 
  fi
9723
 
  # Now quote all the things that may contain metacharacters while being
9724
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
9725
 
  # variables and quote the copies for generation of the libtool script.
9726
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
9727
 
    SED SHELL STRIP \
9728
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9729
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9730
 
    deplibs_check_method reload_flag reload_cmds need_locks \
9731
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9732
 
    lt_cv_sys_global_symbol_to_c_name_address \
9733
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9734
 
    old_postinstall_cmds old_postuninstall_cmds \
9735
 
    compiler \
9736
 
    CC \
9737
 
    LD \
9738
 
    lt_prog_compiler_wl \
9739
 
    lt_prog_compiler_pic \
9740
 
    lt_prog_compiler_static \
9741
 
    lt_prog_compiler_no_builtin_flag \
9742
 
    export_dynamic_flag_spec \
9743
 
    thread_safe_flag_spec \
9744
 
    whole_archive_flag_spec \
9745
 
    enable_shared_with_static_runtimes \
9746
 
    old_archive_cmds \
9747
 
    old_archive_from_new_cmds \
9748
 
    predep_objects \
9749
 
    postdep_objects \
9750
 
    predeps \
9751
 
    postdeps \
9752
 
    compiler_lib_search_path \
9753
 
    archive_cmds \
9754
 
    archive_expsym_cmds \
9755
 
    postinstall_cmds \
9756
 
    postuninstall_cmds \
9757
 
    old_archive_from_expsyms_cmds \
9758
 
    allow_undefined_flag \
9759
 
    no_undefined_flag \
9760
 
    export_symbols_cmds \
9761
 
    hardcode_libdir_flag_spec \
9762
 
    hardcode_libdir_flag_spec_ld \
9763
 
    hardcode_libdir_separator \
9764
 
    hardcode_automatic \
9765
 
    module_cmds \
9766
 
    module_expsym_cmds \
9767
 
    lt_cv_prog_compiler_c_o \
9768
 
    exclude_expsyms \
9769
 
    include_expsyms; do
9770
 
 
9771
 
    case $var in
9772
 
    old_archive_cmds | \
9773
 
    old_archive_from_new_cmds | \
9774
 
    archive_cmds | \
9775
 
    archive_expsym_cmds | \
9776
 
    module_cmds | \
9777
 
    module_expsym_cmds | \
9778
 
    old_archive_from_expsyms_cmds | \
9779
 
    export_symbols_cmds | \
9780
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
9781
 
    postinstall_cmds | postuninstall_cmds | \
9782
 
    old_postinstall_cmds | old_postuninstall_cmds | \
9783
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
9784
 
      # Double-quote double-evaled strings.
9785
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9786
 
      ;;
9787
 
    *)
9788
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9789
 
      ;;
9790
 
    esac
9791
 
  done
9792
 
 
9793
 
  case $lt_echo in
9794
 
  *'\$0 --fallback-echo"')
9795
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9796
 
    ;;
9797
 
  esac
9798
 
 
9799
 
cfgfile="${ofile}T"
9800
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9801
 
  $rm -f "$cfgfile"
9802
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
9803
 
echo "$as_me: creating $ofile" >&6;}
9804
 
 
9805
 
  cat <<__EOF__ >> "$cfgfile"
9806
 
#! $SHELL
9807
 
 
9808
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
9809
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9810
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
9811
 
#
9812
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9813
 
# Free Software Foundation, Inc.
9814
 
#
9815
 
# This file is part of GNU Libtool:
9816
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9817
 
#
9818
 
# This program is free software; you can redistribute it and/or modify
9819
 
# it under the terms of the GNU General Public License as published by
9820
 
# the Free Software Foundation; either version 2 of the License, or
9821
 
# (at your option) any later version.
9822
 
#
9823
 
# This program is distributed in the hope that it will be useful, but
9824
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
9825
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
9826
 
# General Public License for more details.
9827
 
#
9828
 
# You should have received a copy of the GNU General Public License
9829
 
# along with this program; if not, write to the Free Software
9830
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9831
 
#
9832
 
# As a special exception to the GNU General Public License, if you
9833
 
# distribute this file as part of a program that contains a
9834
 
# configuration script generated by Autoconf, you may include it under
9835
 
# the same distribution terms that you use for the rest of that program.
9836
 
 
9837
 
# A sed program that does not truncate output.
9838
 
SED=$lt_SED
9839
 
 
9840
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
9841
 
Xsed="$SED -e 1s/^X//"
9842
 
 
9843
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
9844
 
# if CDPATH is set.
9845
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9846
 
 
9847
 
# The names of the tagged configurations supported by this script.
9848
 
available_tags=
9849
 
 
9850
 
# ### BEGIN LIBTOOL CONFIG
9851
 
 
9852
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9853
 
 
9854
 
# Shell to use when invoking shell scripts.
9855
 
SHELL=$lt_SHELL
9856
 
 
9857
 
# Whether or not to build shared libraries.
9858
 
build_libtool_libs=$enable_shared
9859
 
 
9860
 
# Whether or not to build static libraries.
9861
 
build_old_libs=$enable_static
9862
 
 
9863
 
# Whether or not to add -lc for building shared libraries.
9864
 
build_libtool_need_lc=$archive_cmds_need_lc
9865
 
 
9866
 
# Whether or not to disallow shared libs when runtime libs are static
9867
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9868
 
 
9869
 
# Whether or not to optimize for fast installation.
9870
 
fast_install=$enable_fast_install
9871
 
 
9872
 
# The host system.
9873
 
host_alias=$host_alias
9874
 
host=$host
9875
 
host_os=$host_os
9876
 
 
9877
 
# The build system.
9878
 
build_alias=$build_alias
9879
 
build=$build
9880
 
build_os=$build_os
9881
 
 
9882
 
# An echo program that does not interpret backslashes.
9883
 
echo=$lt_echo
9884
 
 
9885
 
# The archiver.
9886
 
AR=$lt_AR
9887
 
AR_FLAGS=$lt_AR_FLAGS
9888
 
 
9889
 
# A C compiler.
9890
 
LTCC=$lt_LTCC
9891
 
 
9892
 
# LTCC compiler flags.
9893
 
LTCFLAGS=$lt_LTCFLAGS
9894
 
 
9895
 
# A language-specific compiler.
9896
 
CC=$lt_compiler
9897
 
 
9898
 
# Is the compiler the GNU C compiler?
9899
 
with_gcc=$GCC
9900
 
 
9901
 
# An ERE matcher.
9902
 
EGREP=$lt_EGREP
9903
 
 
9904
 
# The linker used to build libraries.
9905
 
LD=$lt_LD
9906
 
 
9907
 
# Whether we need hard or soft links.
9908
 
LN_S=$lt_LN_S
9909
 
 
9910
 
# A BSD-compatible nm program.
9911
 
NM=$lt_NM
9912
 
 
9913
 
# A symbol stripping program
9914
 
STRIP=$lt_STRIP
9915
 
 
9916
 
# Used to examine libraries when file_magic_cmd begins "file"
9917
 
MAGIC_CMD=$MAGIC_CMD
9918
 
 
9919
 
# Used on cygwin: DLL creation program.
9920
 
DLLTOOL="$DLLTOOL"
9921
 
 
9922
 
# Used on cygwin: object dumper.
9923
 
OBJDUMP="$OBJDUMP"
9924
 
 
9925
 
# Used on cygwin: assembler.
9926
 
AS="$AS"
9927
 
 
9928
 
# The name of the directory that contains temporary libtool files.
9929
 
objdir=$objdir
9930
 
 
9931
 
# How to create reloadable object files.
9932
 
reload_flag=$lt_reload_flag
9933
 
reload_cmds=$lt_reload_cmds
9934
 
 
9935
 
# How to pass a linker flag through the compiler.
9936
 
wl=$lt_lt_prog_compiler_wl
9937
 
 
9938
 
# Object file suffix (normally "o").
9939
 
objext="$ac_objext"
9940
 
 
9941
 
# Old archive suffix (normally "a").
9942
 
libext="$libext"
9943
 
 
9944
 
# Shared library suffix (normally ".so").
9945
 
shrext_cmds='$shrext_cmds'
9946
 
 
9947
 
# Executable file suffix (normally "").
9948
 
exeext="$exeext"
9949
 
 
9950
 
# Additional compiler flags for building library objects.
9951
 
pic_flag=$lt_lt_prog_compiler_pic
9952
 
pic_mode=$pic_mode
9953
 
 
9954
 
# What is the maximum length of a command?
9955
 
max_cmd_len=$lt_cv_sys_max_cmd_len
9956
 
 
9957
 
# Does compiler simultaneously support -c and -o options?
9958
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9959
 
 
9960
 
# Must we lock files when doing compilation?
9961
 
need_locks=$lt_need_locks
9962
 
 
9963
 
# Do we need the lib prefix for modules?
9964
 
need_lib_prefix=$need_lib_prefix
9965
 
 
9966
 
# Do we need a version for libraries?
9967
 
need_version=$need_version
9968
 
 
9969
 
# Whether dlopen is supported.
9970
 
dlopen_support=$enable_dlopen
9971
 
 
9972
 
# Whether dlopen of programs is supported.
9973
 
dlopen_self=$enable_dlopen_self
9974
 
 
9975
 
# Whether dlopen of statically linked programs is supported.
9976
 
dlopen_self_static=$enable_dlopen_self_static
9977
 
 
9978
 
# Compiler flag to prevent dynamic linking.
9979
 
link_static_flag=$lt_lt_prog_compiler_static
9980
 
 
9981
 
# Compiler flag to turn off builtin functions.
9982
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9983
 
 
9984
 
# Compiler flag to allow reflexive dlopens.
9985
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9986
 
 
9987
 
# Compiler flag to generate shared objects directly from archives.
9988
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
9989
 
 
9990
 
# Compiler flag to generate thread-safe objects.
9991
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
9992
 
 
9993
 
# Library versioning type.
9994
 
version_type=$version_type
9995
 
 
9996
 
# Format of library name prefix.
9997
 
libname_spec=$lt_libname_spec
9998
 
 
9999
 
# List of archive names.  First name is the real one, the rest are links.
10000
 
# The last name is the one that the linker finds with -lNAME.
10001
 
library_names_spec=$lt_library_names_spec
10002
 
 
10003
 
# The coded name of the library, if different from the real name.
10004
 
soname_spec=$lt_soname_spec
10005
 
 
10006
 
# Commands used to build and install an old-style archive.
10007
 
RANLIB=$lt_RANLIB
10008
 
old_archive_cmds=$lt_old_archive_cmds
10009
 
old_postinstall_cmds=$lt_old_postinstall_cmds
10010
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
10011
 
 
10012
 
# Create an old-style archive from a shared archive.
10013
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10014
 
 
10015
 
# Create a temporary old-style archive to link instead of a shared archive.
10016
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10017
 
 
10018
 
# Commands used to build and install a shared archive.
10019
 
archive_cmds=$lt_archive_cmds
10020
 
archive_expsym_cmds=$lt_archive_expsym_cmds
10021
 
postinstall_cmds=$lt_postinstall_cmds
10022
 
postuninstall_cmds=$lt_postuninstall_cmds
10023
 
 
10024
 
# Commands used to build a loadable module (assumed same as above if empty)
10025
 
module_cmds=$lt_module_cmds
10026
 
module_expsym_cmds=$lt_module_expsym_cmds
10027
 
 
10028
 
# Commands to strip libraries.
10029
 
old_striplib=$lt_old_striplib
10030
 
striplib=$lt_striplib
10031
 
 
10032
 
# Dependencies to place before the objects being linked to create a
10033
 
# shared library.
10034
 
predep_objects=$lt_predep_objects
10035
 
 
10036
 
# Dependencies to place after the objects being linked to create a
10037
 
# shared library.
10038
 
postdep_objects=$lt_postdep_objects
10039
 
 
10040
 
# Dependencies to place before the objects being linked to create a
10041
 
# shared library.
10042
 
predeps=$lt_predeps
10043
 
 
10044
 
# Dependencies to place after the objects being linked to create a
10045
 
# shared library.
10046
 
postdeps=$lt_postdeps
10047
 
 
10048
 
# The library search path used internally by the compiler when linking
10049
 
# a shared library.
10050
 
compiler_lib_search_path=$lt_compiler_lib_search_path
10051
 
 
10052
 
# Method to check whether dependent libraries are shared objects.
10053
 
deplibs_check_method=$lt_deplibs_check_method
10054
 
 
10055
 
# Command to use when deplibs_check_method == file_magic.
10056
 
file_magic_cmd=$lt_file_magic_cmd
10057
 
 
10058
 
# Flag that allows shared libraries with undefined symbols to be built.
10059
 
allow_undefined_flag=$lt_allow_undefined_flag
10060
 
 
10061
 
# Flag that forces no undefined symbols.
10062
 
no_undefined_flag=$lt_no_undefined_flag
10063
 
 
10064
 
# Commands used to finish a libtool library installation in a directory.
10065
 
finish_cmds=$lt_finish_cmds
10066
 
 
10067
 
# Same as above, but a single script fragment to be evaled but not shown.
10068
 
finish_eval=$lt_finish_eval
10069
 
 
10070
 
# Take the output of nm and produce a listing of raw symbols and C names.
10071
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10072
 
 
10073
 
# Transform the output of nm in a proper C declaration
10074
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10075
 
 
10076
 
# Transform the output of nm in a C name address pair
10077
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10078
 
 
10079
 
# This is the shared library runtime path variable.
10080
 
runpath_var=$runpath_var
10081
 
 
10082
 
# This is the shared library path variable.
10083
 
shlibpath_var=$shlibpath_var
10084
 
 
10085
 
# Is shlibpath searched before the hard-coded library search path?
10086
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10087
 
 
10088
 
# How to hardcode a shared library path into an executable.
10089
 
hardcode_action=$hardcode_action
10090
 
 
10091
 
# Whether we should hardcode library paths into libraries.
10092
 
hardcode_into_libs=$hardcode_into_libs
10093
 
 
10094
 
# Flag to hardcode \$libdir into a binary during linking.
10095
 
# This must work even if \$libdir does not exist.
10096
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10097
 
 
10098
 
# If ld is used when linking, flag to hardcode \$libdir into
10099
 
# a binary during linking. This must work even if \$libdir does
10100
 
# not exist.
10101
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10102
 
 
10103
 
# Whether we need a single -rpath flag with a separated argument.
10104
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
10105
 
 
10106
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10107
 
# resulting binary.
10108
 
hardcode_direct=$hardcode_direct
10109
 
 
10110
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10111
 
# resulting binary.
10112
 
hardcode_minus_L=$hardcode_minus_L
10113
 
 
10114
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10115
 
# the resulting binary.
10116
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
10117
 
 
10118
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
10119
 
# and all subsequent libraries and executables linked against it.
10120
 
hardcode_automatic=$hardcode_automatic
10121
 
 
10122
 
# Variables whose values should be saved in libtool wrapper scripts and
10123
 
# restored at relink time.
10124
 
variables_saved_for_relink="$variables_saved_for_relink"
10125
 
 
10126
 
# Whether libtool must link a program against all its dependency libraries.
10127
 
link_all_deplibs=$link_all_deplibs
10128
 
 
10129
 
# Compile-time system search path for libraries
10130
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10131
 
 
10132
 
# Run-time system search path for libraries
10133
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10134
 
 
10135
 
# Fix the shell variable \$srcfile for the compiler.
10136
 
fix_srcfile_path="$fix_srcfile_path"
10137
 
 
10138
 
# Set to yes if exported symbols are required.
10139
 
always_export_symbols=$always_export_symbols
10140
 
 
10141
 
# The commands to list exported symbols.
10142
 
export_symbols_cmds=$lt_export_symbols_cmds
10143
 
 
10144
 
# The commands to extract the exported symbol list from a shared archive.
10145
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
10146
 
 
10147
 
# Symbols that should not be listed in the preloaded symbols.
10148
 
exclude_expsyms=$lt_exclude_expsyms
10149
 
 
10150
 
# Symbols that must always be exported.
10151
 
include_expsyms=$lt_include_expsyms
10152
 
 
10153
 
# ### END LIBTOOL CONFIG
10154
 
 
10155
 
__EOF__
10156
 
 
10157
 
 
10158
 
  case $host_os in
10159
 
  aix3*)
10160
 
    cat <<\EOF >> "$cfgfile"
10161
 
 
10162
 
# AIX sometimes has problems with the GCC collect2 program.  For some
10163
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
10164
 
# vanish in a puff of smoke.
10165
 
if test "X${COLLECT_NAMES+set}" != Xset; then
10166
 
  COLLECT_NAMES=
10167
 
  export COLLECT_NAMES
10168
 
fi
10169
 
EOF
10170
 
    ;;
10171
 
  esac
10172
 
 
10173
 
  # We use sed instead of cat because bash on DJGPP gets confused if
10174
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
10175
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
10176
 
  # is reportedly fixed, but why not run on old versions too?
10177
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10178
 
 
10179
 
  mv -f "$cfgfile" "$ofile" || \
10180
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10181
 
  chmod +x "$ofile"
10182
 
 
10183
 
else
10184
 
  # If there is no Makefile yet, we rely on a make rule to execute
10185
 
  # `config.status --recheck' to rerun these tests and create the
10186
 
  # libtool script then.
10187
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10188
 
  if test -f "$ltmain_in"; then
10189
 
    test -f Makefile && make "$ltmain"
10190
 
  fi
10191
 
fi
10192
 
 
10193
 
 
10194
 
ac_ext=c
10195
 
ac_cpp='$CPP $CPPFLAGS'
10196
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10197
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10198
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10199
 
 
10200
 
CC="$lt_save_CC"
10201
 
 
10202
 
 
10203
 
# Check whether --with-tags or --without-tags was given.
10204
 
if test "${with_tags+set}" = set; then
10205
 
  withval="$with_tags"
10206
 
  tagnames="$withval"
10207
 
fi;
10208
 
 
10209
 
if test -f "$ltmain" && test -n "$tagnames"; then
10210
 
  if test ! -f "${ofile}"; then
10211
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
10212
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
10213
 
  fi
10214
 
 
10215
 
  if test -z "$LTCC"; then
10216
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
10217
 
    if test -z "$LTCC"; then
10218
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10219
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
10220
 
    else
10221
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
10222
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
10223
 
    fi
10224
 
  fi
10225
 
  if test -z "$LTCFLAGS"; then
10226
 
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
10227
 
  fi
10228
 
 
10229
 
  # Extract list of available tagged configurations in $ofile.
10230
 
  # Note that this assumes the entire list is on one line.
10231
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10232
 
 
10233
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10234
 
  for tagname in $tagnames; do
10235
 
    IFS="$lt_save_ifs"
10236
 
    # Check whether tagname contains only valid characters
10237
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10238
 
    "") ;;
10239
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10240
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
10241
 
   { (exit 1); exit 1; }; }
10242
 
        ;;
10243
 
    esac
10244
 
 
10245
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10246
 
    then
10247
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10248
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10249
 
   { (exit 1); exit 1; }; }
10250
 
    fi
10251
 
 
10252
 
    # Update the list of available tags.
10253
 
    if test -n "$tagname"; then
10254
 
      echo appending configuration tag \"$tagname\" to $ofile
10255
 
 
10256
 
      case $tagname in
10257
 
      CXX)
10258
 
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10259
 
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10260
 
            (test "X$CXX" != "Xg++"))) ; then
10261
 
          ac_ext=cc
10262
 
ac_cpp='$CXXCPP $CPPFLAGS'
10263
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10264
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10265
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10266
 
 
10267
 
 
10268
 
 
10269
 
 
10270
 
archive_cmds_need_lc_CXX=no
10271
 
allow_undefined_flag_CXX=
10272
 
always_export_symbols_CXX=no
10273
 
archive_expsym_cmds_CXX=
10274
 
export_dynamic_flag_spec_CXX=
10275
 
hardcode_direct_CXX=no
10276
 
hardcode_libdir_flag_spec_CXX=
10277
 
hardcode_libdir_flag_spec_ld_CXX=
10278
 
hardcode_libdir_separator_CXX=
10279
 
hardcode_minus_L_CXX=no
10280
 
hardcode_shlibpath_var_CXX=unsupported
10281
 
hardcode_automatic_CXX=no
10282
 
module_cmds_CXX=
10283
 
module_expsym_cmds_CXX=
10284
 
link_all_deplibs_CXX=unknown
10285
 
old_archive_cmds_CXX=$old_archive_cmds
10286
 
no_undefined_flag_CXX=
10287
 
whole_archive_flag_spec_CXX=
10288
 
enable_shared_with_static_runtimes_CXX=no
10289
 
 
10290
 
# Dependencies to place before and after the object being linked:
10291
 
predep_objects_CXX=
10292
 
postdep_objects_CXX=
10293
 
predeps_CXX=
10294
 
postdeps_CXX=
10295
 
compiler_lib_search_path_CXX=
10296
 
 
10297
 
# Source file extension for C++ test sources.
10298
 
ac_ext=cpp
10299
 
 
10300
 
# Object file extension for compiled C++ test sources.
10301
 
objext=o
10302
 
objext_CXX=$objext
10303
 
 
10304
 
# Code to be used in simple compile tests
10305
 
lt_simple_compile_test_code="int some_variable = 0;\n"
10306
 
 
10307
 
# Code to be used in simple link tests
10308
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
10309
 
 
10310
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
10311
 
 
10312
 
# If no C compiler was specified, use CC.
10313
 
LTCC=${LTCC-"$CC"}
10314
 
 
10315
 
# If no C compiler flags were specified, use CFLAGS.
10316
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10317
 
 
10318
 
# Allow CC to be a program name with arguments.
10319
 
compiler=$CC
10320
 
 
10321
 
 
10322
 
# save warnings/boilerplate of simple test code
10323
 
ac_outfile=conftest.$ac_objext
10324
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10325
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10326
 
_lt_compiler_boilerplate=`cat conftest.err`
10327
 
$rm conftest*
10328
 
 
10329
 
ac_outfile=conftest.$ac_objext
10330
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
10331
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10332
 
_lt_linker_boilerplate=`cat conftest.err`
10333
 
$rm conftest*
10334
 
 
10335
 
 
10336
 
# Allow CC to be a program name with arguments.
10337
 
lt_save_CC=$CC
10338
 
lt_save_LD=$LD
10339
 
lt_save_GCC=$GCC
10340
 
GCC=$GXX
10341
 
lt_save_with_gnu_ld=$with_gnu_ld
10342
 
lt_save_path_LD=$lt_cv_path_LD
10343
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10344
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10345
 
else
10346
 
  $as_unset lt_cv_prog_gnu_ld
10347
 
fi
10348
 
if test -n "${lt_cv_path_LDCXX+set}"; then
10349
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
10350
 
else
10351
 
  $as_unset lt_cv_path_LD
10352
 
fi
10353
 
test -z "${LDCXX+set}" || LD=$LDCXX
10354
 
CC=${CXX-"c++"}
10355
 
compiler=$CC
10356
 
compiler_CXX=$CC
10357
 
for cc_temp in $compiler""; do
10358
 
  case $cc_temp in
10359
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10360
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10361
 
    \-*) ;;
10362
 
    *) break;;
10363
 
  esac
10364
 
done
10365
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10366
 
 
10367
 
 
10368
 
# We don't want -fno-exception wen compiling C++ code, so set the
10369
 
# no_builtin_flag separately
10370
 
if test "$GXX" = yes; then
10371
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10372
 
else
10373
 
  lt_prog_compiler_no_builtin_flag_CXX=
10374
 
fi
10375
 
 
10376
 
if test "$GXX" = yes; then
10377
 
  # Set up default GNU C++ configuration
10378
 
 
10379
 
 
10380
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
10381
 
if test "${with_gnu_ld+set}" = set; then
10382
 
  withval="$with_gnu_ld"
10383
 
  test "$withval" = no || with_gnu_ld=yes
10384
 
else
10385
 
  with_gnu_ld=no
10386
 
fi;
10387
 
ac_prog=ld
10388
 
if test "$GCC" = yes; then
10389
 
  # Check if gcc -print-prog-name=ld gives a path.
10390
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10391
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10392
 
  case $host in
10393
 
  *-*-mingw*)
10394
 
    # gcc leaves a trailing carriage return which upsets mingw
10395
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10396
 
  *)
10397
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10398
 
  esac
10399
 
  case $ac_prog in
10400
 
    # Accept absolute paths.
10401
 
    [\\/]* | ?:[\\/]*)
10402
 
      re_direlt='/[^/][^/]*/\.\./'
10403
 
      # Canonicalize the pathname of ld
10404
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
10405
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10406
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10407
 
      done
10408
 
      test -z "$LD" && LD="$ac_prog"
10409
 
      ;;
10410
 
  "")
10411
 
    # If it fails, then pretend we aren't using GCC.
10412
 
    ac_prog=ld
10413
 
    ;;
10414
 
  *)
10415
 
    # If it is relative, then search for the first ld in PATH.
10416
 
    with_gnu_ld=unknown
10417
 
    ;;
10418
 
  esac
10419
 
elif test "$with_gnu_ld" = yes; then
10420
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
10421
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10422
 
else
10423
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10424
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10425
 
fi
10426
 
if test "${lt_cv_path_LD+set}" = set; then
10427
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10428
 
else
10429
 
  if test -z "$LD"; then
10430
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10431
 
  for ac_dir in $PATH; do
10432
 
    IFS="$lt_save_ifs"
10433
 
    test -z "$ac_dir" && ac_dir=.
10434
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10435
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
10436
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
10437
 
      # but apparently some variants of GNU ld only accept -v.
10438
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
10439
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10440
 
      *GNU* | *'with BFD'*)
10441
 
        test "$with_gnu_ld" != no && break
10442
 
        ;;
10443
 
      *)
10444
 
        test "$with_gnu_ld" != yes && break
10445
 
        ;;
10446
 
      esac
10447
 
    fi
10448
 
  done
10449
 
  IFS="$lt_save_ifs"
10450
 
else
10451
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
10452
 
fi
10453
 
fi
10454
 
 
10455
 
LD="$lt_cv_path_LD"
10456
 
if test -n "$LD"; then
10457
 
  echo "$as_me:$LINENO: result: $LD" >&5
10458
 
echo "${ECHO_T}$LD" >&6
10459
 
else
10460
 
  echo "$as_me:$LINENO: result: no" >&5
10461
 
echo "${ECHO_T}no" >&6
10462
 
fi
10463
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10464
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10465
 
   { (exit 1); exit 1; }; }
10466
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10467
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10468
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
10469
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10470
 
else
10471
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
10472
 
case `$LD -v 2>&1 </dev/null` in
10473
 
*GNU* | *'with BFD'*)
10474
 
  lt_cv_prog_gnu_ld=yes
10475
 
  ;;
10476
 
*)
10477
 
  lt_cv_prog_gnu_ld=no
10478
 
  ;;
10479
 
esac
10480
 
fi
10481
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10482
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
10483
 
with_gnu_ld=$lt_cv_prog_gnu_ld
10484
 
 
10485
 
 
10486
 
 
10487
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
10488
 
  # archiving commands below assume that GNU ld is being used.
10489
 
  if test "$with_gnu_ld" = yes; then
10490
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10491
 
    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'
10492
 
 
10493
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10494
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10495
 
 
10496
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
10497
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10498
 
    #     investigate it a little bit more. (MM)
10499
 
    wlarc='${wl}'
10500
 
 
10501
 
    # ancient GNU ld didn't support --whole-archive et. al.
10502
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
10503
 
        grep 'no-whole-archive' > /dev/null; then
10504
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10505
 
    else
10506
 
      whole_archive_flag_spec_CXX=
10507
 
    fi
10508
 
  else
10509
 
    with_gnu_ld=no
10510
 
    wlarc=
10511
 
 
10512
 
    # A generic and very simple default shared library creation
10513
 
    # command for GNU C++ for the case where it uses the native
10514
 
    # linker, instead of GNU ld.  If possible, this setting should
10515
 
    # overridden to take advantage of the native linker features on
10516
 
    # the platform it is being used on.
10517
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10518
 
  fi
10519
 
 
10520
 
  # Commands to make compiler produce verbose output that lists
10521
 
  # what "hidden" libraries, object files and flags are used when
10522
 
  # linking a shared library.
10523
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10524
 
 
10525
 
else
10526
 
  GXX=no
10527
 
  with_gnu_ld=no
10528
 
  wlarc=
10529
 
fi
10530
 
 
10531
 
# PORTME: fill in a description of your system's C++ link characteristics
10532
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10533
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10534
 
ld_shlibs_CXX=yes
10535
 
case $host_os in
10536
 
  aix3*)
10537
 
    # FIXME: insert proper C++ library support
10538
 
    ld_shlibs_CXX=no
10539
 
    ;;
10540
 
  aix4* | aix5*)
10541
 
    if test "$host_cpu" = ia64; then
10542
 
      # On IA64, the linker does run time linking by default, so we don't
10543
 
      # have to do anything special.
10544
 
      aix_use_runtimelinking=no
10545
 
      exp_sym_flag='-Bexport'
10546
 
      no_entry_flag=""
10547
 
    else
10548
 
      aix_use_runtimelinking=no
10549
 
 
10550
 
      # Test if we are trying to use run time linking or normal
10551
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10552
 
      # need to do runtime linking.
10553
 
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10554
 
        for ld_flag in $LDFLAGS; do
10555
 
          case $ld_flag in
10556
 
          *-brtl*)
10557
 
            aix_use_runtimelinking=yes
10558
 
            break
10559
 
            ;;
10560
 
          esac
10561
 
        done
10562
 
        ;;
10563
 
      esac
10564
 
 
10565
 
      exp_sym_flag='-bexport'
10566
 
      no_entry_flag='-bnoentry'
10567
 
    fi
10568
 
 
10569
 
    # When large executables or shared objects are built, AIX ld can
10570
 
    # have problems creating the table of contents.  If linking a library
10571
 
    # or program results in "error TOC overflow" add -mminimal-toc to
10572
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10573
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10574
 
 
10575
 
    archive_cmds_CXX=''
10576
 
    hardcode_direct_CXX=yes
10577
 
    hardcode_libdir_separator_CXX=':'
10578
 
    link_all_deplibs_CXX=yes
10579
 
 
10580
 
    if test "$GXX" = yes; then
10581
 
      case $host_os in aix4.[012]|aix4.[012].*)
10582
 
      # We only want to do this on AIX 4.2 and lower, the check
10583
 
      # below for broken collect2 doesn't work under 4.3+
10584
 
        collect2name=`${CC} -print-prog-name=collect2`
10585
 
        if test -f "$collect2name" && \
10586
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
10587
 
        then
10588
 
          # We have reworked collect2
10589
 
          hardcode_direct_CXX=yes
10590
 
        else
10591
 
          # We have old collect2
10592
 
          hardcode_direct_CXX=unsupported
10593
 
          # It fails to find uninstalled libraries when the uninstalled
10594
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
10595
 
          # to unsupported forces relinking
10596
 
          hardcode_minus_L_CXX=yes
10597
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
10598
 
          hardcode_libdir_separator_CXX=
10599
 
        fi
10600
 
        ;;
10601
 
      esac
10602
 
      shared_flag='-shared'
10603
 
      if test "$aix_use_runtimelinking" = yes; then
10604
 
        shared_flag="$shared_flag "'${wl}-G'
10605
 
      fi
10606
 
    else
10607
 
      # not using gcc
10608
 
      if test "$host_cpu" = ia64; then
10609
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10610
 
        # chokes on -Wl,-G. The following line is correct:
10611
 
        shared_flag='-G'
10612
 
      else
10613
 
        if test "$aix_use_runtimelinking" = yes; then
10614
 
          shared_flag='${wl}-G'
10615
 
        else
10616
 
          shared_flag='${wl}-bM:SRE'
10617
 
        fi
10618
 
      fi
10619
 
    fi
10620
 
 
10621
 
    # It seems that -bexpall does not export symbols beginning with
10622
 
    # underscore (_), so it is better to generate a list of symbols to export.
10623
 
    always_export_symbols_CXX=yes
10624
 
    if test "$aix_use_runtimelinking" = yes; then
10625
 
      # Warning - without using the other runtime loading flags (-brtl),
10626
 
      # -berok will link without error, but may produce a broken library.
10627
 
      allow_undefined_flag_CXX='-berok'
10628
 
      # Determine the default libpath from the value encoded in an empty executable.
10629
 
      cat >conftest.$ac_ext <<_ACEOF
10630
 
/* confdefs.h.  */
10631
 
_ACEOF
10632
 
cat confdefs.h >>conftest.$ac_ext
10633
 
cat >>conftest.$ac_ext <<_ACEOF
10634
 
/* end confdefs.h.  */
10635
 
 
10636
 
int
10637
 
main ()
10638
 
{
10639
 
 
10640
 
  ;
10641
 
  return 0;
10642
 
}
10643
 
_ACEOF
10644
 
rm -f conftest.$ac_objext conftest$ac_exeext
10645
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10646
 
  (eval $ac_link) 2>conftest.er1
10647
 
  ac_status=$?
10648
 
  grep -v '^ *+' conftest.er1 >conftest.err
10649
 
  rm -f conftest.er1
10650
 
  cat conftest.err >&5
10651
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10652
 
  (exit $ac_status); } &&
10653
 
         { ac_try='test -z "$ac_cxx_werror_flag"
10654
 
                         || test ! -s conftest.err'
10655
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10656
 
  (eval $ac_try) 2>&5
10657
 
  ac_status=$?
10658
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10659
 
  (exit $ac_status); }; } &&
10660
 
         { ac_try='test -s conftest$ac_exeext'
10661
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10662
 
  (eval $ac_try) 2>&5
10663
 
  ac_status=$?
10664
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10665
 
  (exit $ac_status); }; }; then
10666
 
 
10667
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10668
 
}'`
10669
 
# Check for a 64-bit object if we didn't find anything.
10670
 
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; }
10671
 
}'`; fi
10672
 
else
10673
 
  echo "$as_me: failed program was:" >&5
10674
 
sed 's/^/| /' conftest.$ac_ext >&5
10675
 
 
10676
 
fi
10677
 
rm -f conftest.err conftest.$ac_objext \
10678
 
      conftest$ac_exeext conftest.$ac_ext
10679
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10680
 
 
10681
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10682
 
 
10683
 
      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10684
 
     else
10685
 
      if test "$host_cpu" = ia64; then
10686
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
10687
 
        allow_undefined_flag_CXX="-z nodefs"
10688
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
10689
 
      else
10690
 
        # Determine the default libpath from the value encoded in an empty executable.
10691
 
        cat >conftest.$ac_ext <<_ACEOF
10692
 
/* confdefs.h.  */
10693
 
_ACEOF
10694
 
cat confdefs.h >>conftest.$ac_ext
10695
 
cat >>conftest.$ac_ext <<_ACEOF
10696
 
/* end confdefs.h.  */
10697
 
 
10698
 
int
10699
 
main ()
10700
 
{
10701
 
 
10702
 
  ;
10703
 
  return 0;
10704
 
}
10705
 
_ACEOF
10706
 
rm -f conftest.$ac_objext conftest$ac_exeext
10707
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10708
 
  (eval $ac_link) 2>conftest.er1
10709
 
  ac_status=$?
10710
 
  grep -v '^ *+' conftest.er1 >conftest.err
10711
 
  rm -f conftest.er1
10712
 
  cat conftest.err >&5
10713
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10714
 
  (exit $ac_status); } &&
10715
 
         { ac_try='test -z "$ac_cxx_werror_flag"
10716
 
                         || test ! -s conftest.err'
10717
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10718
 
  (eval $ac_try) 2>&5
10719
 
  ac_status=$?
10720
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10721
 
  (exit $ac_status); }; } &&
10722
 
         { ac_try='test -s conftest$ac_exeext'
10723
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10724
 
  (eval $ac_try) 2>&5
10725
 
  ac_status=$?
10726
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10727
 
  (exit $ac_status); }; }; then
10728
 
 
10729
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10730
 
}'`
10731
 
# Check for a 64-bit object if we didn't find anything.
10732
 
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; }
10733
 
}'`; fi
10734
 
else
10735
 
  echo "$as_me: failed program was:" >&5
10736
 
sed 's/^/| /' conftest.$ac_ext >&5
10737
 
 
10738
 
fi
10739
 
rm -f conftest.err conftest.$ac_objext \
10740
 
      conftest$ac_exeext conftest.$ac_ext
10741
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10742
 
 
10743
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10744
 
        # Warning - without using the other run time loading flags,
10745
 
        # -berok will link without error, but may produce a broken library.
10746
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
10747
 
        allow_undefined_flag_CXX=' ${wl}-berok'
10748
 
        # Exported symbols can be pulled into shared objects from archives
10749
 
        whole_archive_flag_spec_CXX='$convenience'
10750
 
        archive_cmds_need_lc_CXX=yes
10751
 
        # This is similar to how AIX traditionally builds its shared libraries.
10752
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10753
 
      fi
10754
 
    fi
10755
 
    ;;
10756
 
 
10757
 
  beos*)
10758
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10759
 
      allow_undefined_flag_CXX=unsupported
10760
 
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10761
 
      # support --undefined.  This deserves some investigation.  FIXME
10762
 
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10763
 
    else
10764
 
      ld_shlibs_CXX=no
10765
 
    fi
10766
 
    ;;
10767
 
 
10768
 
  chorus*)
10769
 
    case $cc_basename in
10770
 
      *)
10771
 
        # FIXME: insert proper C++ library support
10772
 
        ld_shlibs_CXX=no
10773
 
        ;;
10774
 
    esac
10775
 
    ;;
10776
 
 
10777
 
  cygwin* | mingw* | pw32*)
10778
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10779
 
    # as there is no search path for DLLs.
10780
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
10781
 
    allow_undefined_flag_CXX=unsupported
10782
 
    always_export_symbols_CXX=no
10783
 
    enable_shared_with_static_runtimes_CXX=yes
10784
 
 
10785
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10786
 
      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10787
 
      # If the export-symbols file already is a .def file (1st line
10788
 
      # is EXPORTS), use it as is; otherwise, prepend...
10789
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10790
 
        cp $export_symbols $output_objdir/$soname.def;
10791
 
      else
10792
 
        echo EXPORTS > $output_objdir/$soname.def;
10793
 
        cat $export_symbols >> $output_objdir/$soname.def;
10794
 
      fi~
10795
 
      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10796
 
    else
10797
 
      ld_shlibs_CXX=no
10798
 
    fi
10799
 
  ;;
10800
 
      darwin* | rhapsody*)
10801
 
        case $host_os in
10802
 
        rhapsody* | darwin1.[012])
10803
 
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
10804
 
         ;;
10805
 
       *) # Darwin 1.3 on
10806
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10807
 
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10808
 
         else
10809
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
10810
 
             10.[012])
10811
 
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10812
 
               ;;
10813
 
             10.*)
10814
 
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
10815
 
               ;;
10816
 
           esac
10817
 
         fi
10818
 
         ;;
10819
 
        esac
10820
 
      archive_cmds_need_lc_CXX=no
10821
 
      hardcode_direct_CXX=no
10822
 
      hardcode_automatic_CXX=yes
10823
 
      hardcode_shlibpath_var_CXX=unsupported
10824
 
      whole_archive_flag_spec_CXX=''
10825
 
      link_all_deplibs_CXX=yes
10826
 
 
10827
 
    if test "$GXX" = yes ; then
10828
 
      lt_int_apple_cc_single_mod=no
10829
 
      output_verbose_link_cmd='echo'
10830
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
10831
 
       lt_int_apple_cc_single_mod=yes
10832
 
      fi
10833
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10834
 
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10835
 
      else
10836
 
          archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10837
 
        fi
10838
 
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10839
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10840
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10841
 
            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}'
10842
 
          else
10843
 
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10844
 
          fi
10845
 
            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}'
10846
 
      else
10847
 
      case $cc_basename in
10848
 
        xlc*)
10849
 
         output_verbose_link_cmd='echo'
10850
 
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
10851
 
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10852
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10853
 
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10854
 
          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}'
10855
 
          ;;
10856
 
       *)
10857
 
         ld_shlibs_CXX=no
10858
 
          ;;
10859
 
      esac
10860
 
      fi
10861
 
        ;;
10862
 
 
10863
 
  dgux*)
10864
 
    case $cc_basename in
10865
 
      ec++*)
10866
 
        # FIXME: insert proper C++ library support
10867
 
        ld_shlibs_CXX=no
10868
 
        ;;
10869
 
      ghcx*)
10870
 
        # Green Hills C++ Compiler
10871
 
        # FIXME: insert proper C++ library support
10872
 
        ld_shlibs_CXX=no
10873
 
        ;;
10874
 
      *)
10875
 
        # FIXME: insert proper C++ library support
10876
 
        ld_shlibs_CXX=no
10877
 
        ;;
10878
 
    esac
10879
 
    ;;
10880
 
  freebsd[12]*)
10881
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
10882
 
    ld_shlibs_CXX=no
10883
 
    ;;
10884
 
  freebsd-elf*)
10885
 
    archive_cmds_need_lc_CXX=no
10886
 
    ;;
10887
 
  freebsd* | kfreebsd*-gnu | dragonfly*)
10888
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10889
 
    # conventions
10890
 
    ld_shlibs_CXX=yes
10891
 
    ;;
10892
 
  gnu*)
10893
 
    ;;
10894
 
  hpux9*)
10895
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10896
 
    hardcode_libdir_separator_CXX=:
10897
 
    export_dynamic_flag_spec_CXX='${wl}-E'
10898
 
    hardcode_direct_CXX=yes
10899
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
10900
 
                                # but as the default
10901
 
                                # location of the library.
10902
 
 
10903
 
    case $cc_basename in
10904
 
    CC*)
10905
 
      # FIXME: insert proper C++ library support
10906
 
      ld_shlibs_CXX=no
10907
 
      ;;
10908
 
    aCC*)
10909
 
      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'
10910
 
      # Commands to make compiler produce verbose output that lists
10911
 
      # what "hidden" libraries, object files and flags are used when
10912
 
      # linking a shared library.
10913
 
      #
10914
 
      # There doesn't appear to be a way to prevent this compiler from
10915
 
      # explicitly linking system object files so we need to strip them
10916
 
      # from the output so that they don't get included in the library
10917
 
      # dependencies.
10918
 
      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'
10919
 
      ;;
10920
 
    *)
10921
 
      if test "$GXX" = yes; then
10922
 
        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'
10923
 
      else
10924
 
        # FIXME: insert proper C++ library support
10925
 
        ld_shlibs_CXX=no
10926
 
      fi
10927
 
      ;;
10928
 
    esac
10929
 
    ;;
10930
 
  hpux10*|hpux11*)
10931
 
    if test $with_gnu_ld = no; then
10932
 
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10933
 
      hardcode_libdir_separator_CXX=:
10934
 
 
10935
 
      case $host_cpu in
10936
 
      hppa*64*|ia64*)
10937
 
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
10938
 
        ;;
10939
 
      *)
10940
 
        export_dynamic_flag_spec_CXX='${wl}-E'
10941
 
        ;;
10942
 
      esac
10943
 
    fi
10944
 
    case $host_cpu in
10945
 
    hppa*64*|ia64*)
10946
 
      hardcode_direct_CXX=no
10947
 
      hardcode_shlibpath_var_CXX=no
10948
 
      ;;
10949
 
    *)
10950
 
      hardcode_direct_CXX=yes
10951
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
10952
 
                                              # but as the default
10953
 
                                              # location of the library.
10954
 
      ;;
10955
 
    esac
10956
 
 
10957
 
    case $cc_basename in
10958
 
      CC*)
10959
 
        # FIXME: insert proper C++ library support
10960
 
        ld_shlibs_CXX=no
10961
 
        ;;
10962
 
      aCC*)
10963
 
        case $host_cpu in
10964
 
        hppa*64*)
10965
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10966
 
          ;;
10967
 
        ia64*)
10968
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10969
 
          ;;
10970
 
        *)
10971
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10972
 
          ;;
10973
 
        esac
10974
 
        # Commands to make compiler produce verbose output that lists
10975
 
        # what "hidden" libraries, object files and flags are used when
10976
 
        # linking a shared library.
10977
 
        #
10978
 
        # There doesn't appear to be a way to prevent this compiler from
10979
 
        # explicitly linking system object files so we need to strip them
10980
 
        # from the output so that they don't get included in the library
10981
 
        # dependencies.
10982
 
        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'
10983
 
        ;;
10984
 
      *)
10985
 
        if test "$GXX" = yes; then
10986
 
          if test $with_gnu_ld = no; then
10987
 
            case $host_cpu in
10988
 
            hppa*64*)
10989
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10990
 
              ;;
10991
 
            ia64*)
10992
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10993
 
              ;;
10994
 
            *)
10995
 
              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'
10996
 
              ;;
10997
 
            esac
10998
 
          fi
10999
 
        else
11000
 
          # FIXME: insert proper C++ library support
11001
 
          ld_shlibs_CXX=no
11002
 
        fi
11003
 
        ;;
11004
 
    esac
11005
 
    ;;
11006
 
  interix3*)
11007
 
    hardcode_direct_CXX=no
11008
 
    hardcode_shlibpath_var_CXX=no
11009
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11010
 
    export_dynamic_flag_spec_CXX='${wl}-E'
11011
 
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11012
 
    # Instead, shared libraries are loaded at an image base (0x10000000 by
11013
 
    # default) and relocated if they conflict, which is a slow very memory
11014
 
    # consuming and fragmenting process.  To avoid this, we pick a random,
11015
 
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11016
 
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11017
 
    archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11018
 
    archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11019
 
    ;;
11020
 
  irix5* | irix6*)
11021
 
    case $cc_basename in
11022
 
      CC*)
11023
 
        # SGI C++
11024
 
        archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11025
 
 
11026
 
        # Archives containing C++ object files must be created using
11027
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
11028
 
        # necessary to make sure instantiated templates are included
11029
 
        # in the archive.
11030
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11031
 
        ;;
11032
 
      *)
11033
 
        if test "$GXX" = yes; then
11034
 
          if test "$with_gnu_ld" = no; then
11035
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11036
 
          else
11037
 
            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'
11038
 
          fi
11039
 
        fi
11040
 
        link_all_deplibs_CXX=yes
11041
 
        ;;
11042
 
    esac
11043
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11044
 
    hardcode_libdir_separator_CXX=:
11045
 
    ;;
11046
 
  linux*)
11047
 
    case $cc_basename in
11048
 
      KCC*)
11049
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11050
 
 
11051
 
        # KCC will only create a shared library if the output file
11052
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11053
 
        # to its proper name (with version) after linking.
11054
 
        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'
11055
 
        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'
11056
 
        # Commands to make compiler produce verbose output that lists
11057
 
        # what "hidden" libraries, object files and flags are used when
11058
 
        # linking a shared library.
11059
 
        #
11060
 
        # There doesn't appear to be a way to prevent this compiler from
11061
 
        # explicitly linking system object files so we need to strip them
11062
 
        # from the output so that they don't get included in the library
11063
 
        # dependencies.
11064
 
        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'
11065
 
 
11066
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
11067
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11068
 
 
11069
 
        # Archives containing C++ object files must be created using
11070
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11071
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11072
 
        ;;
11073
 
      icpc*)
11074
 
        # Intel C++
11075
 
        with_gnu_ld=yes
11076
 
        # version 8.0 and above of icpc choke on multiply defined symbols
11077
 
        # if we add $predep_objects and $postdep_objects, however 7.1 and
11078
 
        # earlier do not add the objects themselves.
11079
 
        case `$CC -V 2>&1` in
11080
 
        *"Version 7."*)
11081
 
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11082
 
          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'
11083
 
          ;;
11084
 
        *)  # Version 8.0 or newer
11085
 
          tmp_idyn=
11086
 
          case $host_cpu in
11087
 
            ia64*) tmp_idyn=' -i_dynamic';;
11088
 
          esac
11089
 
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11090
 
          archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11091
 
          ;;
11092
 
        esac
11093
 
        archive_cmds_need_lc_CXX=no
11094
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11095
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11096
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11097
 
        ;;
11098
 
      pgCC*)
11099
 
        # Portland Group C++ compiler
11100
 
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11101
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11102
 
 
11103
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11104
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11105
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11106
 
        ;;
11107
 
      cxx*)
11108
 
        # Compaq C++
11109
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11110
 
        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'
11111
 
 
11112
 
        runpath_var=LD_RUN_PATH
11113
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11114
 
        hardcode_libdir_separator_CXX=:
11115
 
 
11116
 
        # Commands to make compiler produce verbose output that lists
11117
 
        # what "hidden" libraries, object files and flags are used when
11118
 
        # linking a shared library.
11119
 
        #
11120
 
        # There doesn't appear to be a way to prevent this compiler from
11121
 
        # explicitly linking system object files so we need to strip them
11122
 
        # from the output so that they don't get included in the library
11123
 
        # dependencies.
11124
 
        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'
11125
 
        ;;
11126
 
    esac
11127
 
    ;;
11128
 
  lynxos*)
11129
 
    # FIXME: insert proper C++ library support
11130
 
    ld_shlibs_CXX=no
11131
 
    ;;
11132
 
  m88k*)
11133
 
    # FIXME: insert proper C++ library support
11134
 
    ld_shlibs_CXX=no
11135
 
    ;;
11136
 
  mvs*)
11137
 
    case $cc_basename in
11138
 
      cxx*)
11139
 
        # FIXME: insert proper C++ library support
11140
 
        ld_shlibs_CXX=no
11141
 
        ;;
11142
 
      *)
11143
 
        # FIXME: insert proper C++ library support
11144
 
        ld_shlibs_CXX=no
11145
 
        ;;
11146
 
    esac
11147
 
    ;;
11148
 
  netbsd*)
11149
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11150
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11151
 
      wlarc=
11152
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
11153
 
      hardcode_direct_CXX=yes
11154
 
      hardcode_shlibpath_var_CXX=no
11155
 
    fi
11156
 
    # Workaround some broken pre-1.5 toolchains
11157
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11158
 
    ;;
11159
 
  openbsd2*)
11160
 
    # C++ shared libraries are fairly broken
11161
 
    ld_shlibs_CXX=no
11162
 
    ;;
11163
 
  openbsd*)
11164
 
    hardcode_direct_CXX=yes
11165
 
    hardcode_shlibpath_var_CXX=no
11166
 
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11167
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11168
 
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11169
 
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11170
 
      export_dynamic_flag_spec_CXX='${wl}-E'
11171
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11172
 
    fi
11173
 
    output_verbose_link_cmd='echo'
11174
 
    ;;
11175
 
  osf3*)
11176
 
    case $cc_basename in
11177
 
      KCC*)
11178
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11179
 
 
11180
 
        # KCC will only create a shared library if the output file
11181
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11182
 
        # to its proper name (with version) after linking.
11183
 
        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'
11184
 
 
11185
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11186
 
        hardcode_libdir_separator_CXX=:
11187
 
 
11188
 
        # Archives containing C++ object files must be created using
11189
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11190
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11191
 
 
11192
 
        ;;
11193
 
      RCC*)
11194
 
        # Rational C++ 2.4.1
11195
 
        # FIXME: insert proper C++ library support
11196
 
        ld_shlibs_CXX=no
11197
 
        ;;
11198
 
      cxx*)
11199
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11200
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11201
 
 
11202
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11203
 
        hardcode_libdir_separator_CXX=:
11204
 
 
11205
 
        # Commands to make compiler produce verbose output that lists
11206
 
        # what "hidden" libraries, object files and flags are used when
11207
 
        # linking a shared library.
11208
 
        #
11209
 
        # There doesn't appear to be a way to prevent this compiler from
11210
 
        # explicitly linking system object files so we need to strip them
11211
 
        # from the output so that they don't get included in the library
11212
 
        # dependencies.
11213
 
        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'
11214
 
        ;;
11215
 
      *)
11216
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11217
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11218
 
          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11219
 
 
11220
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11221
 
          hardcode_libdir_separator_CXX=:
11222
 
 
11223
 
          # Commands to make compiler produce verbose output that lists
11224
 
          # what "hidden" libraries, object files and flags are used when
11225
 
          # linking a shared library.
11226
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11227
 
 
11228
 
        else
11229
 
          # FIXME: insert proper C++ library support
11230
 
          ld_shlibs_CXX=no
11231
 
        fi
11232
 
        ;;
11233
 
    esac
11234
 
    ;;
11235
 
  osf4* | osf5*)
11236
 
    case $cc_basename in
11237
 
      KCC*)
11238
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11239
 
 
11240
 
        # KCC will only create a shared library if the output file
11241
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11242
 
        # to its proper name (with version) after linking.
11243
 
        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'
11244
 
 
11245
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11246
 
        hardcode_libdir_separator_CXX=:
11247
 
 
11248
 
        # Archives containing C++ object files must be created using
11249
 
        # the KAI C++ compiler.
11250
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
11251
 
        ;;
11252
 
      RCC*)
11253
 
        # Rational C++ 2.4.1
11254
 
        # FIXME: insert proper C++ library support
11255
 
        ld_shlibs_CXX=no
11256
 
        ;;
11257
 
      cxx*)
11258
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
11259
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11260
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11261
 
          echo "-hidden">> $lib.exp~
11262
 
          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
11263
 
          $rm $lib.exp'
11264
 
 
11265
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11266
 
        hardcode_libdir_separator_CXX=:
11267
 
 
11268
 
        # Commands to make compiler produce verbose output that lists
11269
 
        # what "hidden" libraries, object files and flags are used when
11270
 
        # linking a shared library.
11271
 
        #
11272
 
        # There doesn't appear to be a way to prevent this compiler from
11273
 
        # explicitly linking system object files so we need to strip them
11274
 
        # from the output so that they don't get included in the library
11275
 
        # dependencies.
11276
 
        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'
11277
 
        ;;
11278
 
      *)
11279
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11280
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11281
 
         archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11282
 
 
11283
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11284
 
          hardcode_libdir_separator_CXX=:
11285
 
 
11286
 
          # Commands to make compiler produce verbose output that lists
11287
 
          # what "hidden" libraries, object files and flags are used when
11288
 
          # linking a shared library.
11289
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11290
 
 
11291
 
        else
11292
 
          # FIXME: insert proper C++ library support
11293
 
          ld_shlibs_CXX=no
11294
 
        fi
11295
 
        ;;
11296
 
    esac
11297
 
    ;;
11298
 
  psos*)
11299
 
    # FIXME: insert proper C++ library support
11300
 
    ld_shlibs_CXX=no
11301
 
    ;;
11302
 
  sunos4*)
11303
 
    case $cc_basename in
11304
 
      CC*)
11305
 
        # Sun C++ 4.x
11306
 
        # FIXME: insert proper C++ library support
11307
 
        ld_shlibs_CXX=no
11308
 
        ;;
11309
 
      lcc*)
11310
 
        # Lucid
11311
 
        # FIXME: insert proper C++ library support
11312
 
        ld_shlibs_CXX=no
11313
 
        ;;
11314
 
      *)
11315
 
        # FIXME: insert proper C++ library support
11316
 
        ld_shlibs_CXX=no
11317
 
        ;;
11318
 
    esac
11319
 
    ;;
11320
 
  solaris*)
11321
 
    case $cc_basename in
11322
 
      CC*)
11323
 
        # Sun C++ 4.2, 5.x and Centerline C++
11324
 
        archive_cmds_need_lc_CXX=yes
11325
 
        no_undefined_flag_CXX=' -zdefs'
11326
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11327
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11328
 
        $CC -G${allow_undefined_flag}  ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11329
 
 
11330
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
11331
 
        hardcode_shlibpath_var_CXX=no
11332
 
        case $host_os in
11333
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
11334
 
          *)
11335
 
            # The C++ compiler is used as linker so we must use $wl
11336
 
            # flag to pass the commands to the underlying system
11337
 
            # linker. We must also pass each convience library through
11338
 
            # to the system linker between allextract/defaultextract.
11339
 
            # The C++ compiler will combine linker options so we
11340
 
            # cannot just pass the convience library names through
11341
 
            # without $wl.
11342
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
11343
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
11344
 
            ;;
11345
 
        esac
11346
 
        link_all_deplibs_CXX=yes
11347
 
 
11348
 
        output_verbose_link_cmd='echo'
11349
 
 
11350
 
        # Archives containing C++ object files must be created using
11351
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
11352
 
        # necessary to make sure instantiated templates are included
11353
 
        # in the archive.
11354
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11355
 
        ;;
11356
 
      gcx*)
11357
 
        # Green Hills C++ Compiler
11358
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11359
 
 
11360
 
        # The C++ compiler must be used to create the archive.
11361
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11362
 
        ;;
11363
 
      *)
11364
 
        # GNU C++ compiler with Solaris linker
11365
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11366
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
11367
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
11368
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11369
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11370
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11371
 
 
11372
 
            # Commands to make compiler produce verbose output that lists
11373
 
            # what "hidden" libraries, object files and flags are used when
11374
 
            # linking a shared library.
11375
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11376
 
          else
11377
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
11378
 
            # platform.
11379
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11380
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11381
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11382
 
 
11383
 
            # Commands to make compiler produce verbose output that lists
11384
 
            # what "hidden" libraries, object files and flags are used when
11385
 
            # linking a shared library.
11386
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11387
 
          fi
11388
 
 
11389
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
11390
 
        fi
11391
 
        ;;
11392
 
    esac
11393
 
    ;;
11394
 
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11395
 
    no_undefined_flag_CXX='${wl}-z,text'
11396
 
    archive_cmds_need_lc_CXX=no
11397
 
    hardcode_shlibpath_var_CXX=no
11398
 
    runpath_var='LD_RUN_PATH'
11399
 
 
11400
 
    case $cc_basename in
11401
 
      CC*)
11402
 
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11403
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11404
 
        ;;
11405
 
      *)
11406
 
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11407
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11408
 
        ;;
11409
 
    esac
11410
 
    ;;
11411
 
  sysv5* | sco3.2v5* | sco5v6*)
11412
 
    # Note: We can NOT use -z defs as we might desire, because we do not
11413
 
    # link with -lc, and that would cause any symbols used from libc to
11414
 
    # always be unresolved, which means just about no library would
11415
 
    # ever link correctly.  If we're not using GNU ld we use -z text
11416
 
    # though, which does catch some bad symbols but isn't as heavy-handed
11417
 
    # as -z defs.
11418
 
    # For security reasons, it is highly recommended that you always
11419
 
    # use absolute paths for naming shared libraries, and exclude the
11420
 
    # DT_RUNPATH tag from executables and libraries.  But doing so
11421
 
    # requires that you compile everything twice, which is a pain.
11422
 
    # So that behaviour is only enabled if SCOABSPATH is set to a
11423
 
    # non-empty value in the environment.  Most likely only useful for
11424
 
    # creating official distributions of packages.
11425
 
    # This is a hack until libtool officially supports absolute path
11426
 
    # names for shared libraries.
11427
 
    no_undefined_flag_CXX='${wl}-z,text'
11428
 
    allow_undefined_flag_CXX='${wl}-z,nodefs'
11429
 
    archive_cmds_need_lc_CXX=no
11430
 
    hardcode_shlibpath_var_CXX=no
11431
 
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11432
 
    hardcode_libdir_separator_CXX=':'
11433
 
    link_all_deplibs_CXX=yes
11434
 
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
11435
 
    runpath_var='LD_RUN_PATH'
11436
 
 
11437
 
    case $cc_basename in
11438
 
      CC*)
11439
 
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11440
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11441
 
        ;;
11442
 
      *)
11443
 
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11444
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11445
 
        ;;
11446
 
    esac
11447
 
    ;;
11448
 
  tandem*)
11449
 
    case $cc_basename in
11450
 
      NCC*)
11451
 
        # NonStop-UX NCC 3.20
11452
 
        # FIXME: insert proper C++ library support
11453
 
        ld_shlibs_CXX=no
11454
 
        ;;
11455
 
      *)
11456
 
        # FIXME: insert proper C++ library support
11457
 
        ld_shlibs_CXX=no
11458
 
        ;;
11459
 
    esac
11460
 
    ;;
11461
 
  vxworks*)
11462
 
    # FIXME: insert proper C++ library support
11463
 
    ld_shlibs_CXX=no
11464
 
    ;;
11465
 
  *)
11466
 
    # FIXME: insert proper C++ library support
11467
 
    ld_shlibs_CXX=no
11468
 
    ;;
11469
 
esac
11470
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11471
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
11472
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
11473
 
 
11474
 
GCC_CXX="$GXX"
11475
 
LD_CXX="$LD"
11476
 
 
11477
 
 
11478
 
cat > conftest.$ac_ext <<EOF
11479
 
class Foo
11480
 
{
11481
 
public:
11482
 
  Foo (void) { a = 0; }
11483
 
private:
11484
 
  int a;
11485
 
};
11486
 
EOF
11487
 
 
11488
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11489
 
  (eval $ac_compile) 2>&5
11490
 
  ac_status=$?
11491
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11492
 
  (exit $ac_status); }; then
11493
 
  # Parse the compiler output and extract the necessary
11494
 
  # objects, libraries and library flags.
11495
 
 
11496
 
  # Sentinel used to keep track of whether or not we are before
11497
 
  # the conftest object file.
11498
 
  pre_test_object_deps_done=no
11499
 
 
11500
 
  # The `*' in the case matches for architectures that use `case' in
11501
 
  # $output_verbose_cmd can trigger glob expansion during the loop
11502
 
  # eval without this substitution.
11503
 
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11504
 
 
11505
 
  for p in `eval $output_verbose_link_cmd`; do
11506
 
    case $p in
11507
 
 
11508
 
    -L* | -R* | -l*)
11509
 
       # Some compilers place space between "-{L,R}" and the path.
11510
 
       # Remove the space.
11511
 
       if test $p = "-L" \
11512
 
          || test $p = "-R"; then
11513
 
         prev=$p
11514
 
         continue
11515
 
       else
11516
 
         prev=
11517
 
       fi
11518
 
 
11519
 
       if test "$pre_test_object_deps_done" = no; then
11520
 
         case $p in
11521
 
         -L* | -R*)
11522
 
           # Internal compiler library paths should come after those
11523
 
           # provided the user.  The postdeps already come after the
11524
 
           # user supplied libs so there is no need to process them.
11525
 
           if test -z "$compiler_lib_search_path_CXX"; then
11526
 
             compiler_lib_search_path_CXX="${prev}${p}"
11527
 
           else
11528
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
11529
 
           fi
11530
 
           ;;
11531
 
         # The "-l" case would never come before the object being
11532
 
         # linked, so don't bother handling this case.
11533
 
         esac
11534
 
       else
11535
 
         if test -z "$postdeps_CXX"; then
11536
 
           postdeps_CXX="${prev}${p}"
11537
 
         else
11538
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
11539
 
         fi
11540
 
       fi
11541
 
       ;;
11542
 
 
11543
 
    *.$objext)
11544
 
       # This assumes that the test object file only shows up
11545
 
       # once in the compiler output.
11546
 
       if test "$p" = "conftest.$objext"; then
11547
 
         pre_test_object_deps_done=yes
11548
 
         continue
11549
 
       fi
11550
 
 
11551
 
       if test "$pre_test_object_deps_done" = no; then
11552
 
         if test -z "$predep_objects_CXX"; then
11553
 
           predep_objects_CXX="$p"
11554
 
         else
11555
 
           predep_objects_CXX="$predep_objects_CXX $p"
11556
 
         fi
11557
 
       else
11558
 
         if test -z "$postdep_objects_CXX"; then
11559
 
           postdep_objects_CXX="$p"
11560
 
         else
11561
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
11562
 
         fi
11563
 
       fi
11564
 
       ;;
11565
 
 
11566
 
    *) ;; # Ignore the rest.
11567
 
 
11568
 
    esac
11569
 
  done
11570
 
 
11571
 
  # Clean up.
11572
 
  rm -f a.out a.exe
11573
 
else
11574
 
  echo "libtool.m4: error: problem compiling CXX test program"
11575
 
fi
11576
 
 
11577
 
$rm -f confest.$objext
11578
 
 
11579
 
# PORTME: override above test on systems where it is broken
11580
 
case $host_os in
11581
 
interix3*)
11582
 
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
11583
 
  # hack all around it, let's just trust "g++" to DTRT.
11584
 
  predep_objects_CXX=
11585
 
  postdep_objects_CXX=
11586
 
  postdeps_CXX=
11587
 
  ;;
11588
 
 
11589
 
solaris*)
11590
 
  case $cc_basename in
11591
 
  CC*)
11592
 
    # Adding this requires a known-good setup of shared libraries for
11593
 
    # Sun compiler versions before 5.6, else PIC objects from an old
11594
 
    # archive will be linked into the output, leading to subtle bugs.
11595
 
    postdeps_CXX='-lCstd -lCrun'
11596
 
    ;;
11597
 
  esac
11598
 
  ;;
11599
 
esac
11600
 
 
11601
 
 
11602
 
case " $postdeps_CXX " in
11603
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
11604
 
esac
11605
 
 
11606
 
lt_prog_compiler_wl_CXX=
11607
 
lt_prog_compiler_pic_CXX=
11608
 
lt_prog_compiler_static_CXX=
11609
 
 
11610
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11611
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11612
 
 
11613
 
  # C++ specific cases for pic, static, wl, etc.
11614
 
  if test "$GXX" = yes; then
11615
 
    lt_prog_compiler_wl_CXX='-Wl,'
11616
 
    lt_prog_compiler_static_CXX='-static'
11617
 
 
11618
 
    case $host_os in
11619
 
    aix*)
11620
 
      # All AIX code is PIC.
11621
 
      if test "$host_cpu" = ia64; then
11622
 
        # AIX 5 now supports IA64 processor
11623
 
        lt_prog_compiler_static_CXX='-Bstatic'
11624
 
      fi
11625
 
      ;;
11626
 
    amigaos*)
11627
 
      # FIXME: we need at least 68020 code to build shared libraries, but
11628
 
      # adding the `-m68020' flag to GCC prevents building anything better,
11629
 
      # like `-m68040'.
11630
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
11631
 
      ;;
11632
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11633
 
      # PIC is the default for these OSes.
11634
 
      ;;
11635
 
    mingw* | os2* | pw32*)
11636
 
      # This hack is so that the source file can tell whether it is being
11637
 
      # built for inclusion in a dll (and should export symbols for example).
11638
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
11639
 
      ;;
11640
 
    darwin* | rhapsody*)
11641
 
      # PIC is the default on this platform
11642
 
      # Common symbols not allowed in MH_DYLIB files
11643
 
      lt_prog_compiler_pic_CXX='-fno-common'
11644
 
      ;;
11645
 
    *djgpp*)
11646
 
      # DJGPP does not support shared libraries at all
11647
 
      lt_prog_compiler_pic_CXX=
11648
 
      ;;
11649
 
    interix3*)
11650
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11651
 
      # Instead, we relocate shared libraries at runtime.
11652
 
      ;;
11653
 
    sysv4*MP*)
11654
 
      if test -d /usr/nec; then
11655
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
11656
 
      fi
11657
 
      ;;
11658
 
    hpux*)
11659
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11660
 
      # not for PA HP-UX.
11661
 
      case $host_cpu in
11662
 
      hppa*64*|ia64*)
11663
 
        ;;
11664
 
      *)
11665
 
        lt_prog_compiler_pic_CXX='-fPIC'
11666
 
        ;;
11667
 
      esac
11668
 
      ;;
11669
 
    *)
11670
 
      lt_prog_compiler_pic_CXX='-fPIC'
11671
 
      ;;
11672
 
    esac
11673
 
  else
11674
 
    case $host_os in
11675
 
      aix4* | aix5*)
11676
 
        # All AIX code is PIC.
11677
 
        if test "$host_cpu" = ia64; then
11678
 
          # AIX 5 now supports IA64 processor
11679
 
          lt_prog_compiler_static_CXX='-Bstatic'
11680
 
        else
11681
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
11682
 
        fi
11683
 
        ;;
11684
 
      chorus*)
11685
 
        case $cc_basename in
11686
 
        cxch68*)
11687
 
          # Green Hills C++ Compiler
11688
 
          # _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"
11689
 
          ;;
11690
 
        esac
11691
 
        ;;
11692
 
       darwin*)
11693
 
         # PIC is the default on this platform
11694
 
         # Common symbols not allowed in MH_DYLIB files
11695
 
         case $cc_basename in
11696
 
           xlc*)
11697
 
           lt_prog_compiler_pic_CXX='-qnocommon'
11698
 
           lt_prog_compiler_wl_CXX='-Wl,'
11699
 
           ;;
11700
 
         esac
11701
 
       ;;
11702
 
      dgux*)
11703
 
        case $cc_basename in
11704
 
          ec++*)
11705
 
            lt_prog_compiler_pic_CXX='-KPIC'
11706
 
            ;;
11707
 
          ghcx*)
11708
 
            # Green Hills C++ Compiler
11709
 
            lt_prog_compiler_pic_CXX='-pic'
11710
 
            ;;
11711
 
          *)
11712
 
            ;;
11713
 
        esac
11714
 
        ;;
11715
 
      freebsd* | kfreebsd*-gnu | dragonfly*)
11716
 
        # FreeBSD uses GNU C++
11717
 
        ;;
11718
 
      hpux9* | hpux10* | hpux11*)
11719
 
        case $cc_basename in
11720
 
          CC*)
11721
 
            lt_prog_compiler_wl_CXX='-Wl,'
11722
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
11723
 
            if test "$host_cpu" != ia64; then
11724
 
              lt_prog_compiler_pic_CXX='+Z'
11725
 
            fi
11726
 
            ;;
11727
 
          aCC*)
11728
 
            lt_prog_compiler_wl_CXX='-Wl,'
11729
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
11730
 
            case $host_cpu in
11731
 
            hppa*64*|ia64*)
11732
 
              # +Z the default
11733
 
              ;;
11734
 
            *)
11735
 
              lt_prog_compiler_pic_CXX='+Z'
11736
 
              ;;
11737
 
            esac
11738
 
            ;;
11739
 
          *)
11740
 
            ;;
11741
 
        esac
11742
 
        ;;
11743
 
      interix*)
11744
 
        # This is c89, which is MS Visual C++ (no shared libs)
11745
 
        # Anyone wants to do a port?
11746
 
        ;;
11747
 
      irix5* | irix6* | nonstopux*)
11748
 
        case $cc_basename in
11749
 
          CC*)
11750
 
            lt_prog_compiler_wl_CXX='-Wl,'
11751
 
            lt_prog_compiler_static_CXX='-non_shared'
11752
 
            # CC pic flag -KPIC is the default.
11753
 
            ;;
11754
 
          *)
11755
 
            ;;
11756
 
        esac
11757
 
        ;;
11758
 
      linux*)
11759
 
        case $cc_basename in
11760
 
          KCC*)
11761
 
            # KAI C++ Compiler
11762
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
11763
 
            lt_prog_compiler_pic_CXX='-fPIC'
11764
 
            ;;
11765
 
          icpc* | ecpc*)
11766
 
            # Intel C++
11767
 
            lt_prog_compiler_wl_CXX='-Wl,'
11768
 
            lt_prog_compiler_pic_CXX='-KPIC'
11769
 
            lt_prog_compiler_static_CXX='-static'
11770
 
            ;;
11771
 
          pgCC*)
11772
 
            # Portland Group C++ compiler.
11773
 
            lt_prog_compiler_wl_CXX='-Wl,'
11774
 
            lt_prog_compiler_pic_CXX='-fpic'
11775
 
            lt_prog_compiler_static_CXX='-Bstatic'
11776
 
            ;;
11777
 
          cxx*)
11778
 
            # Compaq C++
11779
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
11780
 
            # Linux and Compaq Tru64 Unix objects are PIC.
11781
 
            lt_prog_compiler_pic_CXX=
11782
 
            lt_prog_compiler_static_CXX='-non_shared'
11783
 
            ;;
11784
 
          *)
11785
 
            ;;
11786
 
        esac
11787
 
        ;;
11788
 
      lynxos*)
11789
 
        ;;
11790
 
      m88k*)
11791
 
        ;;
11792
 
      mvs*)
11793
 
        case $cc_basename in
11794
 
          cxx*)
11795
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
11796
 
            ;;
11797
 
          *)
11798
 
            ;;
11799
 
        esac
11800
 
        ;;
11801
 
      netbsd*)
11802
 
        ;;
11803
 
      osf3* | osf4* | osf5*)
11804
 
        case $cc_basename in
11805
 
          KCC*)
11806
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
11807
 
            ;;
11808
 
          RCC*)
11809
 
            # Rational C++ 2.4.1
11810
 
            lt_prog_compiler_pic_CXX='-pic'
11811
 
            ;;
11812
 
          cxx*)
11813
 
            # Digital/Compaq C++
11814
 
            lt_prog_compiler_wl_CXX='-Wl,'
11815
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
11816
 
            # Linux and Compaq Tru64 Unix objects are PIC.
11817
 
            lt_prog_compiler_pic_CXX=
11818
 
            lt_prog_compiler_static_CXX='-non_shared'
11819
 
            ;;
11820
 
          *)
11821
 
            ;;
11822
 
        esac
11823
 
        ;;
11824
 
      psos*)
11825
 
        ;;
11826
 
      solaris*)
11827
 
        case $cc_basename in
11828
 
          CC*)
11829
 
            # Sun C++ 4.2, 5.x and Centerline C++
11830
 
            lt_prog_compiler_pic_CXX='-KPIC'
11831
 
            lt_prog_compiler_static_CXX='-Bstatic'
11832
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
11833
 
            ;;
11834
 
          gcx*)
11835
 
            # Green Hills C++ Compiler
11836
 
            lt_prog_compiler_pic_CXX='-PIC'
11837
 
            ;;
11838
 
          *)
11839
 
            ;;
11840
 
        esac
11841
 
        ;;
11842
 
      sunos4*)
11843
 
        case $cc_basename in
11844
 
          CC*)
11845
 
            # Sun C++ 4.x
11846
 
            lt_prog_compiler_pic_CXX='-pic'
11847
 
            lt_prog_compiler_static_CXX='-Bstatic'
11848
 
            ;;
11849
 
          lcc*)
11850
 
            # Lucid
11851
 
            lt_prog_compiler_pic_CXX='-pic'
11852
 
            ;;
11853
 
          *)
11854
 
            ;;
11855
 
        esac
11856
 
        ;;
11857
 
      tandem*)
11858
 
        case $cc_basename in
11859
 
          NCC*)
11860
 
            # NonStop-UX NCC 3.20
11861
 
            lt_prog_compiler_pic_CXX='-KPIC'
11862
 
            ;;
11863
 
          *)
11864
 
            ;;
11865
 
        esac
11866
 
        ;;
11867
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11868
 
        case $cc_basename in
11869
 
          CC*)
11870
 
            lt_prog_compiler_wl_CXX='-Wl,'
11871
 
            lt_prog_compiler_pic_CXX='-KPIC'
11872
 
            lt_prog_compiler_static_CXX='-Bstatic'
11873
 
            ;;
11874
 
        esac
11875
 
        ;;
11876
 
      vxworks*)
11877
 
        ;;
11878
 
      *)
11879
 
        lt_prog_compiler_can_build_shared_CXX=no
11880
 
        ;;
11881
 
    esac
11882
 
  fi
11883
 
 
11884
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11885
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
11886
 
 
11887
 
#
11888
 
# Check to make sure the PIC flag actually works.
11889
 
#
11890
 
if test -n "$lt_prog_compiler_pic_CXX"; then
11891
 
 
11892
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11893
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11894
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11895
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11896
 
else
11897
 
  lt_prog_compiler_pic_works_CXX=no
11898
 
  ac_outfile=conftest.$ac_objext
11899
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11900
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
11901
 
   # Insert the option either (1) after the last *FLAGS variable, or
11902
 
   # (2) before a word containing "conftest.", or (3) at the end.
11903
 
   # Note that $ac_compile itself does not contain backslashes and begins
11904
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
11905
 
   # The option is referenced via a variable to avoid confusing sed.
11906
 
   lt_compile=`echo "$ac_compile" | $SED \
11907
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11908
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11909
 
   -e 's:$: $lt_compiler_flag:'`
11910
 
   (eval echo "\"\$as_me:11910: $lt_compile\"" >&5)
11911
 
   (eval "$lt_compile" 2>conftest.err)
11912
 
   ac_status=$?
11913
 
   cat conftest.err >&5
11914
 
   echo "$as_me:11914: \$? = $ac_status" >&5
11915
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
11916
 
     # The compiler can only warn and ignore the option if not recognized
11917
 
     # So say no if there are warnings other than the usual output.
11918
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
11919
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11920
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11921
 
       lt_prog_compiler_pic_works_CXX=yes
11922
 
     fi
11923
 
   fi
11924
 
   $rm conftest*
11925
 
 
11926
 
fi
11927
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11928
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
11929
 
 
11930
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
11931
 
    case $lt_prog_compiler_pic_CXX in
11932
 
     "" | " "*) ;;
11933
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
11934
 
     esac
11935
 
else
11936
 
    lt_prog_compiler_pic_CXX=
11937
 
     lt_prog_compiler_can_build_shared_CXX=no
11938
 
fi
11939
 
 
11940
 
fi
11941
 
case $host_os in
11942
 
  # For platforms which do not support PIC, -DPIC is meaningless:
11943
 
  *djgpp*)
11944
 
    lt_prog_compiler_pic_CXX=
11945
 
    ;;
11946
 
  *)
11947
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
11948
 
    ;;
11949
 
esac
11950
 
 
11951
 
#
11952
 
# Check to make sure the static flag actually works.
11953
 
#
11954
 
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
11955
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11956
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11957
 
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
11958
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11959
 
else
11960
 
  lt_prog_compiler_static_works_CXX=no
11961
 
   save_LDFLAGS="$LDFLAGS"
11962
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11963
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
11964
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11965
 
     # The linker can only warn and ignore the option if not recognized
11966
 
     # So say no if there are warnings
11967
 
     if test -s conftest.err; then
11968
 
       # Append any errors to the config.log.
11969
 
       cat conftest.err 1>&5
11970
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
11971
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11972
 
       if diff conftest.exp conftest.er2 >/dev/null; then
11973
 
         lt_prog_compiler_static_works_CXX=yes
11974
 
       fi
11975
 
     else
11976
 
       lt_prog_compiler_static_works_CXX=yes
11977
 
     fi
11978
 
   fi
11979
 
   $rm conftest*
11980
 
   LDFLAGS="$save_LDFLAGS"
11981
 
 
11982
 
fi
11983
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
11984
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
11985
 
 
11986
 
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
11987
 
    :
11988
 
else
11989
 
    lt_prog_compiler_static_CXX=
11990
 
fi
11991
 
 
11992
 
 
11993
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11994
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11995
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11996
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11997
 
else
11998
 
  lt_cv_prog_compiler_c_o_CXX=no
11999
 
   $rm -r conftest 2>/dev/null
12000
 
   mkdir conftest
12001
 
   cd conftest
12002
 
   mkdir out
12003
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12004
 
 
12005
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
12006
 
   # Insert the option either (1) after the last *FLAGS variable, or
12007
 
   # (2) before a word containing "conftest.", or (3) at the end.
12008
 
   # Note that $ac_compile itself does not contain backslashes and begins
12009
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
12010
 
   lt_compile=`echo "$ac_compile" | $SED \
12011
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12012
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12013
 
   -e 's:$: $lt_compiler_flag:'`
12014
 
   (eval echo "\"\$as_me:12014: $lt_compile\"" >&5)
12015
 
   (eval "$lt_compile" 2>out/conftest.err)
12016
 
   ac_status=$?
12017
 
   cat out/conftest.err >&5
12018
 
   echo "$as_me:12018: \$? = $ac_status" >&5
12019
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12020
 
   then
12021
 
     # The compiler can only warn and ignore the option if not recognized
12022
 
     # So say no if there are warnings
12023
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12024
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12025
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12026
 
       lt_cv_prog_compiler_c_o_CXX=yes
12027
 
     fi
12028
 
   fi
12029
 
   chmod u+w . 2>&5
12030
 
   $rm conftest*
12031
 
   # SGI C++ compiler will create directory out/ii_files/ for
12032
 
   # template instantiation
12033
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
12034
 
   $rm out/* && rmdir out
12035
 
   cd ..
12036
 
   rmdir conftest
12037
 
   $rm conftest*
12038
 
 
12039
 
fi
12040
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12041
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12042
 
 
12043
 
 
12044
 
hard_links="nottested"
12045
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12046
 
  # do not overwrite the value of need_locks provided by the user
12047
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12048
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12049
 
  hard_links=yes
12050
 
  $rm conftest*
12051
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12052
 
  touch conftest.a
12053
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
12054
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12055
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
12056
 
echo "${ECHO_T}$hard_links" >&6
12057
 
  if test "$hard_links" = no; then
12058
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12059
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12060
 
    need_locks=warn
12061
 
  fi
12062
 
else
12063
 
  need_locks=no
12064
 
fi
12065
 
 
12066
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12067
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12068
 
 
12069
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12070
 
  case $host_os in
12071
 
  aix4* | aix5*)
12072
 
    # If we're using GNU nm, then we don't want the "-C" option.
12073
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
12074
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
12075
 
      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'
12076
 
    else
12077
 
      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'
12078
 
    fi
12079
 
    ;;
12080
 
  pw32*)
12081
 
    export_symbols_cmds_CXX="$ltdll_cmds"
12082
 
  ;;
12083
 
  cygwin* | mingw*)
12084
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
12085
 
  ;;
12086
 
  *)
12087
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12088
 
  ;;
12089
 
  esac
12090
 
 
12091
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12092
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
12093
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
12094
 
 
12095
 
#
12096
 
# Do we need to explicitly link libc?
12097
 
#
12098
 
case "x$archive_cmds_need_lc_CXX" in
12099
 
x|xyes)
12100
 
  # Assume -lc should be added
12101
 
  archive_cmds_need_lc_CXX=yes
12102
 
 
12103
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
12104
 
    case $archive_cmds_CXX in
12105
 
    *'~'*)
12106
 
      # FIXME: we may have to deal with multi-command sequences.
12107
 
      ;;
12108
 
    '$CC '*)
12109
 
      # Test whether the compiler implicitly links with -lc since on some
12110
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
12111
 
      # to ld, don't add -lc before -lgcc.
12112
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12113
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12114
 
      $rm conftest*
12115
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12116
 
 
12117
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12118
 
  (eval $ac_compile) 2>&5
12119
 
  ac_status=$?
12120
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12121
 
  (exit $ac_status); } 2>conftest.err; then
12122
 
        soname=conftest
12123
 
        lib=conftest
12124
 
        libobjs=conftest.$ac_objext
12125
 
        deplibs=
12126
 
        wl=$lt_prog_compiler_wl_CXX
12127
 
        pic_flag=$lt_prog_compiler_pic_CXX
12128
 
        compiler_flags=-v
12129
 
        linker_flags=-v
12130
 
        verstring=
12131
 
        output_objdir=.
12132
 
        libname=conftest
12133
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12134
 
        allow_undefined_flag_CXX=
12135
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12136
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
12137
 
  ac_status=$?
12138
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12139
 
  (exit $ac_status); }
12140
 
        then
12141
 
          archive_cmds_need_lc_CXX=no
12142
 
        else
12143
 
          archive_cmds_need_lc_CXX=yes
12144
 
        fi
12145
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12146
 
      else
12147
 
        cat conftest.err 1>&5
12148
 
      fi
12149
 
      $rm conftest*
12150
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12151
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
12152
 
      ;;
12153
 
    esac
12154
 
  fi
12155
 
  ;;
12156
 
esac
12157
 
 
12158
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12159
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
12160
 
library_names_spec=
12161
 
libname_spec='lib$name'
12162
 
soname_spec=
12163
 
shrext_cmds=".so"
12164
 
postinstall_cmds=
12165
 
postuninstall_cmds=
12166
 
finish_cmds=
12167
 
finish_eval=
12168
 
shlibpath_var=
12169
 
shlibpath_overrides_runpath=unknown
12170
 
version_type=none
12171
 
dynamic_linker="$host_os ld.so"
12172
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
12173
 
if test "$GCC" = yes; then
12174
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12175
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
12176
 
    # if the path contains ";" then we assume it to be the separator
12177
 
    # otherwise default to the standard path separator (i.e. ":") - it is
12178
 
    # assumed that no part of a normal pathname contains ";" but that should
12179
 
    # okay in the real world where ";" in dirpaths is itself problematic.
12180
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12181
 
  else
12182
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
12183
 
  fi
12184
 
else
12185
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12186
 
fi
12187
 
need_lib_prefix=unknown
12188
 
hardcode_into_libs=no
12189
 
 
12190
 
# when you set need_version to no, make sure it does not cause -set_version
12191
 
# flags to be left without arguments
12192
 
need_version=unknown
12193
 
 
12194
 
case $host_os in
12195
 
aix3*)
12196
 
  version_type=linux
12197
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12198
 
  shlibpath_var=LIBPATH
12199
 
 
12200
 
  # AIX 3 has no versioning support, so we append a major version to the name.
12201
 
  soname_spec='${libname}${release}${shared_ext}$major'
12202
 
  ;;
12203
 
 
12204
 
aix4* | aix5*)
12205
 
  version_type=linux
12206
 
  need_lib_prefix=no
12207
 
  need_version=no
12208
 
  hardcode_into_libs=yes
12209
 
  if test "$host_cpu" = ia64; then
12210
 
    # AIX 5 supports IA64
12211
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12212
 
    shlibpath_var=LD_LIBRARY_PATH
12213
 
  else
12214
 
    # With GCC up to 2.95.x, collect2 would create an import file
12215
 
    # for dependence libraries.  The import file would start with
12216
 
    # the line `#! .'.  This would cause the generated library to
12217
 
    # depend on `.', always an invalid library.  This was fixed in
12218
 
    # development snapshots of GCC prior to 3.0.
12219
 
    case $host_os in
12220
 
      aix4 | aix4.[01] | aix4.[01].*)
12221
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12222
 
           echo ' yes '
12223
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
12224
 
        :
12225
 
      else
12226
 
        can_build_shared=no
12227
 
      fi
12228
 
      ;;
12229
 
    esac
12230
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12231
 
    # soname into executable. Probably we can add versioning support to
12232
 
    # collect2, so additional links can be useful in future.
12233
 
    if test "$aix_use_runtimelinking" = yes; then
12234
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12235
 
      # instead of lib<name>.a to let people know that these are not
12236
 
      # typical AIX shared libraries.
12237
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12238
 
    else
12239
 
      # We preserve .a as extension for shared libraries through AIX4.2
12240
 
      # and later when we are not doing run time linking.
12241
 
      library_names_spec='${libname}${release}.a $libname.a'
12242
 
      soname_spec='${libname}${release}${shared_ext}$major'
12243
 
    fi
12244
 
    shlibpath_var=LIBPATH
12245
 
  fi
12246
 
  ;;
12247
 
 
12248
 
amigaos*)
12249
 
  library_names_spec='$libname.ixlibrary $libname.a'
12250
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
12251
 
  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'
12252
 
  ;;
12253
 
 
12254
 
beos*)
12255
 
  library_names_spec='${libname}${shared_ext}'
12256
 
  dynamic_linker="$host_os ld.so"
12257
 
  shlibpath_var=LIBRARY_PATH
12258
 
  ;;
12259
 
 
12260
 
bsdi[45]*)
12261
 
  version_type=linux
12262
 
  need_version=no
12263
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12264
 
  soname_spec='${libname}${release}${shared_ext}$major'
12265
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12266
 
  shlibpath_var=LD_LIBRARY_PATH
12267
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12268
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12269
 
  # the default ld.so.conf also contains /usr/contrib/lib and
12270
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12271
 
  # libtool to hard-code these into programs
12272
 
  ;;
12273
 
 
12274
 
cygwin* | mingw* | pw32*)
12275
 
  version_type=windows
12276
 
  shrext_cmds=".dll"
12277
 
  need_version=no
12278
 
  need_lib_prefix=no
12279
 
 
12280
 
  case $GCC,$host_os in
12281
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
12282
 
    library_names_spec='$libname.dll.a'
12283
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12284
 
    postinstall_cmds='base_file=`basename \${file}`~
12285
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12286
 
      dldir=$destdir/`dirname \$dlpath`~
12287
 
      test -d \$dldir || mkdir -p \$dldir~
12288
 
      $install_prog $dir/$dlname \$dldir/$dlname~
12289
 
      chmod a+x \$dldir/$dlname'
12290
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12291
 
      dlpath=$dir/\$dldll~
12292
 
       $rm \$dlpath'
12293
 
    shlibpath_overrides_runpath=yes
12294
 
 
12295
 
    case $host_os in
12296
 
    cygwin*)
12297
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12298
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12299
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
12300
 
      ;;
12301
 
    mingw*)
12302
 
      # MinGW DLLs use traditional 'lib' prefix
12303
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12304
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12305
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
12306
 
        # It is most probably a Windows format PATH printed by
12307
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
12308
 
        # path with ; separators, and with drive letters. We can handle the
12309
 
        # drive letters (cygwin fileutils understands them), so leave them,
12310
 
        # especially as we might pass files found there to a mingw objdump,
12311
 
        # which wouldn't understand a cygwinified path. Ahh.
12312
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12313
 
      else
12314
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
12315
 
      fi
12316
 
      ;;
12317
 
    pw32*)
12318
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
12319
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12320
 
      ;;
12321
 
    esac
12322
 
    ;;
12323
 
 
12324
 
  *)
12325
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12326
 
    ;;
12327
 
  esac
12328
 
  dynamic_linker='Win32 ld.exe'
12329
 
  # FIXME: first we should search . and the directory the executable is in
12330
 
  shlibpath_var=PATH
12331
 
  ;;
12332
 
 
12333
 
darwin* | rhapsody*)
12334
 
  dynamic_linker="$host_os dyld"
12335
 
  version_type=darwin
12336
 
  need_lib_prefix=no
12337
 
  need_version=no
12338
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12339
 
  soname_spec='${libname}${release}${major}$shared_ext'
12340
 
  shlibpath_overrides_runpath=yes
12341
 
  shlibpath_var=DYLD_LIBRARY_PATH
12342
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12343
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12344
 
  if test "$GCC" = yes; then
12345
 
    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"`
12346
 
  else
12347
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
12348
 
  fi
12349
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12350
 
  ;;
12351
 
 
12352
 
dgux*)
12353
 
  version_type=linux
12354
 
  need_lib_prefix=no
12355
 
  need_version=no
12356
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12357
 
  soname_spec='${libname}${release}${shared_ext}$major'
12358
 
  shlibpath_var=LD_LIBRARY_PATH
12359
 
  ;;
12360
 
 
12361
 
freebsd1*)
12362
 
  dynamic_linker=no
12363
 
  ;;
12364
 
 
12365
 
kfreebsd*-gnu)
12366
 
  version_type=linux
12367
 
  need_lib_prefix=no
12368
 
  need_version=no
12369
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12370
 
  soname_spec='${libname}${release}${shared_ext}$major'
12371
 
  shlibpath_var=LD_LIBRARY_PATH
12372
 
  shlibpath_overrides_runpath=no
12373
 
  hardcode_into_libs=yes
12374
 
  dynamic_linker='GNU ld.so'
12375
 
  ;;
12376
 
 
12377
 
freebsd* | dragonfly*)
12378
 
  # DragonFly does not have aout.  When/if they implement a new
12379
 
  # versioning mechanism, adjust this.
12380
 
  if test -x /usr/bin/objformat; then
12381
 
    objformat=`/usr/bin/objformat`
12382
 
  else
12383
 
    case $host_os in
12384
 
    freebsd[123]*) objformat=aout ;;
12385
 
    *) objformat=elf ;;
12386
 
    esac
12387
 
  fi
12388
 
  version_type=freebsd-$objformat
12389
 
  case $version_type in
12390
 
    freebsd-elf*)
12391
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12392
 
      need_version=no
12393
 
      need_lib_prefix=no
12394
 
      ;;
12395
 
    freebsd-*)
12396
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12397
 
      need_version=yes
12398
 
      ;;
12399
 
  esac
12400
 
  shlibpath_var=LD_LIBRARY_PATH
12401
 
  case $host_os in
12402
 
  freebsd2*)
12403
 
    shlibpath_overrides_runpath=yes
12404
 
    ;;
12405
 
  freebsd3.[01]* | freebsdelf3.[01]*)
12406
 
    shlibpath_overrides_runpath=yes
12407
 
    hardcode_into_libs=yes
12408
 
    ;;
12409
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12410
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12411
 
    shlibpath_overrides_runpath=no
12412
 
    hardcode_into_libs=yes
12413
 
    ;;
12414
 
  freebsd*) # from 4.6 on
12415
 
    shlibpath_overrides_runpath=yes
12416
 
    hardcode_into_libs=yes
12417
 
    ;;
12418
 
  esac
12419
 
  ;;
12420
 
 
12421
 
gnu*)
12422
 
  version_type=linux
12423
 
  need_lib_prefix=no
12424
 
  need_version=no
12425
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12426
 
  soname_spec='${libname}${release}${shared_ext}$major'
12427
 
  shlibpath_var=LD_LIBRARY_PATH
12428
 
  hardcode_into_libs=yes
12429
 
  ;;
12430
 
 
12431
 
hpux9* | hpux10* | hpux11*)
12432
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
12433
 
  # link against other versions.
12434
 
  version_type=sunos
12435
 
  need_lib_prefix=no
12436
 
  need_version=no
12437
 
  case $host_cpu in
12438
 
  ia64*)
12439
 
    shrext_cmds='.so'
12440
 
    hardcode_into_libs=yes
12441
 
    dynamic_linker="$host_os dld.so"
12442
 
    shlibpath_var=LD_LIBRARY_PATH
12443
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12444
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12445
 
    soname_spec='${libname}${release}${shared_ext}$major'
12446
 
    if test "X$HPUX_IA64_MODE" = X32; then
12447
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12448
 
    else
12449
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12450
 
    fi
12451
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12452
 
    ;;
12453
 
   hppa*64*)
12454
 
     shrext_cmds='.sl'
12455
 
     hardcode_into_libs=yes
12456
 
     dynamic_linker="$host_os dld.sl"
12457
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12458
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12459
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12460
 
     soname_spec='${libname}${release}${shared_ext}$major'
12461
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12462
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12463
 
     ;;
12464
 
   *)
12465
 
    shrext_cmds='.sl'
12466
 
    dynamic_linker="$host_os dld.sl"
12467
 
    shlibpath_var=SHLIB_PATH
12468
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12469
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12470
 
    soname_spec='${libname}${release}${shared_ext}$major'
12471
 
    ;;
12472
 
  esac
12473
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
12474
 
  postinstall_cmds='chmod 555 $lib'
12475
 
  ;;
12476
 
 
12477
 
interix3*)
12478
 
  version_type=linux
12479
 
  need_lib_prefix=no
12480
 
  need_version=no
12481
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12482
 
  soname_spec='${libname}${release}${shared_ext}$major'
12483
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12484
 
  shlibpath_var=LD_LIBRARY_PATH
12485
 
  shlibpath_overrides_runpath=no
12486
 
  hardcode_into_libs=yes
12487
 
  ;;
12488
 
 
12489
 
irix5* | irix6* | nonstopux*)
12490
 
  case $host_os in
12491
 
    nonstopux*) version_type=nonstopux ;;
12492
 
    *)
12493
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
12494
 
                version_type=linux
12495
 
        else
12496
 
                version_type=irix
12497
 
        fi ;;
12498
 
  esac
12499
 
  need_lib_prefix=no
12500
 
  need_version=no
12501
 
  soname_spec='${libname}${release}${shared_ext}$major'
12502
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12503
 
  case $host_os in
12504
 
  irix5* | nonstopux*)
12505
 
    libsuff= shlibsuff=
12506
 
    ;;
12507
 
  *)
12508
 
    case $LD in # libtool.m4 will add one of these switches to LD
12509
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12510
 
      libsuff= shlibsuff= libmagic=32-bit;;
12511
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12512
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
12513
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12514
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12515
 
    *) libsuff= shlibsuff= libmagic=never-match;;
12516
 
    esac
12517
 
    ;;
12518
 
  esac
12519
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12520
 
  shlibpath_overrides_runpath=no
12521
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12522
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12523
 
  hardcode_into_libs=yes
12524
 
  ;;
12525
 
 
12526
 
# No shared lib support for Linux oldld, aout, or coff.
12527
 
linux*oldld* | linux*aout* | linux*coff*)
12528
 
  dynamic_linker=no
12529
 
  ;;
12530
 
 
12531
 
# This must be Linux ELF.
12532
 
linux*)
12533
 
  version_type=linux
12534
 
  need_lib_prefix=no
12535
 
  need_version=no
12536
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12537
 
  soname_spec='${libname}${release}${shared_ext}$major'
12538
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12539
 
  shlibpath_var=LD_LIBRARY_PATH
12540
 
  shlibpath_overrides_runpath=no
12541
 
  # This implies no fast_install, which is unacceptable.
12542
 
  # Some rework will be needed to allow for fast_install
12543
 
  # before this can be enabled.
12544
 
  hardcode_into_libs=yes
12545
 
 
12546
 
  # Append ld.so.conf contents to the search path
12547
 
  if test -f /etc/ld.so.conf; then
12548
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12549
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12550
 
  fi
12551
 
 
12552
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
12553
 
  # powerpc, because MkLinux only supported shared libraries with the
12554
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
12555
 
  # most powerpc-linux boxes support dynamic linking these days and
12556
 
  # people can always --disable-shared, the test was removed, and we
12557
 
  # assume the GNU/Linux dynamic linker is in use.
12558
 
  dynamic_linker='GNU/Linux ld.so'
12559
 
  ;;
12560
 
 
12561
 
knetbsd*-gnu)
12562
 
  version_type=linux
12563
 
  need_lib_prefix=no
12564
 
  need_version=no
12565
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12566
 
  soname_spec='${libname}${release}${shared_ext}$major'
12567
 
  shlibpath_var=LD_LIBRARY_PATH
12568
 
  shlibpath_overrides_runpath=no
12569
 
  hardcode_into_libs=yes
12570
 
  dynamic_linker='GNU ld.so'
12571
 
  ;;
12572
 
 
12573
 
netbsd*)
12574
 
  version_type=sunos
12575
 
  need_lib_prefix=no
12576
 
  need_version=no
12577
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12578
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12579
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12580
 
    dynamic_linker='NetBSD (a.out) ld.so'
12581
 
  else
12582
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12583
 
    soname_spec='${libname}${release}${shared_ext}$major'
12584
 
    dynamic_linker='NetBSD ld.elf_so'
12585
 
  fi
12586
 
  shlibpath_var=LD_LIBRARY_PATH
12587
 
  shlibpath_overrides_runpath=yes
12588
 
  hardcode_into_libs=yes
12589
 
  ;;
12590
 
 
12591
 
newsos6)
12592
 
  version_type=linux
12593
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12594
 
  shlibpath_var=LD_LIBRARY_PATH
12595
 
  shlibpath_overrides_runpath=yes
12596
 
  ;;
12597
 
 
12598
 
nto-qnx*)
12599
 
  version_type=linux
12600
 
  need_lib_prefix=no
12601
 
  need_version=no
12602
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12603
 
  soname_spec='${libname}${release}${shared_ext}$major'
12604
 
  shlibpath_var=LD_LIBRARY_PATH
12605
 
  shlibpath_overrides_runpath=yes
12606
 
  ;;
12607
 
 
12608
 
openbsd*)
12609
 
  version_type=sunos
12610
 
  sys_lib_dlsearch_path_spec="/usr/lib"
12611
 
  need_lib_prefix=no
12612
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12613
 
  case $host_os in
12614
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12615
 
    *)                         need_version=no  ;;
12616
 
  esac
12617
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12618
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12619
 
  shlibpath_var=LD_LIBRARY_PATH
12620
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12621
 
    case $host_os in
12622
 
      openbsd2.[89] | openbsd2.[89].*)
12623
 
        shlibpath_overrides_runpath=no
12624
 
        ;;
12625
 
      *)
12626
 
        shlibpath_overrides_runpath=yes
12627
 
        ;;
12628
 
      esac
12629
 
  else
12630
 
    shlibpath_overrides_runpath=yes
12631
 
  fi
12632
 
  ;;
12633
 
 
12634
 
os2*)
12635
 
  libname_spec='$name'
12636
 
  shrext_cmds=".dll"
12637
 
  need_lib_prefix=no
12638
 
  library_names_spec='$libname${shared_ext} $libname.a'
12639
 
  dynamic_linker='OS/2 ld.exe'
12640
 
  shlibpath_var=LIBPATH
12641
 
  ;;
12642
 
 
12643
 
osf3* | osf4* | osf5*)
12644
 
  version_type=osf
12645
 
  need_lib_prefix=no
12646
 
  need_version=no
12647
 
  soname_spec='${libname}${release}${shared_ext}$major'
12648
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12649
 
  shlibpath_var=LD_LIBRARY_PATH
12650
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12651
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12652
 
  ;;
12653
 
 
12654
 
solaris*)
12655
 
  version_type=linux
12656
 
  need_lib_prefix=no
12657
 
  need_version=no
12658
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12659
 
  soname_spec='${libname}${release}${shared_ext}$major'
12660
 
  shlibpath_var=LD_LIBRARY_PATH
12661
 
  shlibpath_overrides_runpath=yes
12662
 
  hardcode_into_libs=yes
12663
 
  # ldd complains unless libraries are executable
12664
 
  postinstall_cmds='chmod +x $lib'
12665
 
  ;;
12666
 
 
12667
 
sunos4*)
12668
 
  version_type=sunos
12669
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12670
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12671
 
  shlibpath_var=LD_LIBRARY_PATH
12672
 
  shlibpath_overrides_runpath=yes
12673
 
  if test "$with_gnu_ld" = yes; then
12674
 
    need_lib_prefix=no
12675
 
  fi
12676
 
  need_version=yes
12677
 
  ;;
12678
 
 
12679
 
sysv4 | sysv4.3*)
12680
 
  version_type=linux
12681
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12682
 
  soname_spec='${libname}${release}${shared_ext}$major'
12683
 
  shlibpath_var=LD_LIBRARY_PATH
12684
 
  case $host_vendor in
12685
 
    sni)
12686
 
      shlibpath_overrides_runpath=no
12687
 
      need_lib_prefix=no
12688
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
12689
 
      runpath_var=LD_RUN_PATH
12690
 
      ;;
12691
 
    siemens)
12692
 
      need_lib_prefix=no
12693
 
      ;;
12694
 
    motorola)
12695
 
      need_lib_prefix=no
12696
 
      need_version=no
12697
 
      shlibpath_overrides_runpath=no
12698
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12699
 
      ;;
12700
 
  esac
12701
 
  ;;
12702
 
 
12703
 
sysv4*MP*)
12704
 
  if test -d /usr/nec ;then
12705
 
    version_type=linux
12706
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12707
 
    soname_spec='$libname${shared_ext}.$major'
12708
 
    shlibpath_var=LD_LIBRARY_PATH
12709
 
  fi
12710
 
  ;;
12711
 
 
12712
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12713
 
  version_type=freebsd-elf
12714
 
  need_lib_prefix=no
12715
 
  need_version=no
12716
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12717
 
  soname_spec='${libname}${release}${shared_ext}$major'
12718
 
  shlibpath_var=LD_LIBRARY_PATH
12719
 
  hardcode_into_libs=yes
12720
 
  if test "$with_gnu_ld" = yes; then
12721
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12722
 
    shlibpath_overrides_runpath=no
12723
 
  else
12724
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12725
 
    shlibpath_overrides_runpath=yes
12726
 
    case $host_os in
12727
 
      sco3.2v5*)
12728
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12729
 
        ;;
12730
 
    esac
12731
 
  fi
12732
 
  sys_lib_dlsearch_path_spec='/usr/lib'
12733
 
  ;;
12734
 
 
12735
 
uts4*)
12736
 
  version_type=linux
12737
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12738
 
  soname_spec='${libname}${release}${shared_ext}$major'
12739
 
  shlibpath_var=LD_LIBRARY_PATH
12740
 
  ;;
12741
 
 
12742
 
*)
12743
 
  dynamic_linker=no
12744
 
  ;;
12745
 
esac
12746
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12747
 
echo "${ECHO_T}$dynamic_linker" >&6
12748
 
test "$dynamic_linker" = no && can_build_shared=no
12749
 
 
12750
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12751
 
if test "$GCC" = yes; then
12752
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12753
 
fi
12754
 
 
12755
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12756
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
12757
 
hardcode_action_CXX=
12758
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
12759
 
   test -n "$runpath_var_CXX" || \
12760
 
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
12761
 
 
12762
 
  # We can hardcode non-existant directories.
12763
 
  if test "$hardcode_direct_CXX" != no &&
12764
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12765
 
     # have to relink, otherwise we might link with an installed library
12766
 
     # when we should be linking with a yet-to-be-installed one
12767
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
12768
 
     test "$hardcode_minus_L_CXX" != no; then
12769
 
    # Linking always hardcodes the temporary library directory.
12770
 
    hardcode_action_CXX=relink
12771
 
  else
12772
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12773
 
    hardcode_action_CXX=immediate
12774
 
  fi
12775
 
else
12776
 
  # We cannot hardcode anything, or else we can only hardcode existing
12777
 
  # directories.
12778
 
  hardcode_action_CXX=unsupported
12779
 
fi
12780
 
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12781
 
echo "${ECHO_T}$hardcode_action_CXX" >&6
12782
 
 
12783
 
if test "$hardcode_action_CXX" = relink; then
12784
 
  # Fast installation is not supported
12785
 
  enable_fast_install=no
12786
 
elif test "$shlibpath_overrides_runpath" = yes ||
12787
 
     test "$enable_shared" = no; then
12788
 
  # Fast installation is not necessary
12789
 
  enable_fast_install=needless
12790
 
fi
12791
 
 
12792
 
 
12793
 
# The else clause should only fire when bootstrapping the
12794
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
12795
 
# with your package, and you will get complaints that there are
12796
 
# no rules to generate ltmain.sh.
12797
 
if test -f "$ltmain"; then
12798
 
  # See if we are running on zsh, and set the options which allow our commands through
12799
 
  # without removal of \ escapes.
12800
 
  if test -n "${ZSH_VERSION+set}" ; then
12801
 
    setopt NO_GLOB_SUBST
12802
 
  fi
12803
 
  # Now quote all the things that may contain metacharacters while being
12804
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
12805
 
  # variables and quote the copies for generation of the libtool script.
12806
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12807
 
    SED SHELL STRIP \
12808
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12809
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12810
 
    deplibs_check_method reload_flag reload_cmds need_locks \
12811
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12812
 
    lt_cv_sys_global_symbol_to_c_name_address \
12813
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12814
 
    old_postinstall_cmds old_postuninstall_cmds \
12815
 
    compiler_CXX \
12816
 
    CC_CXX \
12817
 
    LD_CXX \
12818
 
    lt_prog_compiler_wl_CXX \
12819
 
    lt_prog_compiler_pic_CXX \
12820
 
    lt_prog_compiler_static_CXX \
12821
 
    lt_prog_compiler_no_builtin_flag_CXX \
12822
 
    export_dynamic_flag_spec_CXX \
12823
 
    thread_safe_flag_spec_CXX \
12824
 
    whole_archive_flag_spec_CXX \
12825
 
    enable_shared_with_static_runtimes_CXX \
12826
 
    old_archive_cmds_CXX \
12827
 
    old_archive_from_new_cmds_CXX \
12828
 
    predep_objects_CXX \
12829
 
    postdep_objects_CXX \
12830
 
    predeps_CXX \
12831
 
    postdeps_CXX \
12832
 
    compiler_lib_search_path_CXX \
12833
 
    archive_cmds_CXX \
12834
 
    archive_expsym_cmds_CXX \
12835
 
    postinstall_cmds_CXX \
12836
 
    postuninstall_cmds_CXX \
12837
 
    old_archive_from_expsyms_cmds_CXX \
12838
 
    allow_undefined_flag_CXX \
12839
 
    no_undefined_flag_CXX \
12840
 
    export_symbols_cmds_CXX \
12841
 
    hardcode_libdir_flag_spec_CXX \
12842
 
    hardcode_libdir_flag_spec_ld_CXX \
12843
 
    hardcode_libdir_separator_CXX \
12844
 
    hardcode_automatic_CXX \
12845
 
    module_cmds_CXX \
12846
 
    module_expsym_cmds_CXX \
12847
 
    lt_cv_prog_compiler_c_o_CXX \
12848
 
    exclude_expsyms_CXX \
12849
 
    include_expsyms_CXX; do
12850
 
 
12851
 
    case $var in
12852
 
    old_archive_cmds_CXX | \
12853
 
    old_archive_from_new_cmds_CXX | \
12854
 
    archive_cmds_CXX | \
12855
 
    archive_expsym_cmds_CXX | \
12856
 
    module_cmds_CXX | \
12857
 
    module_expsym_cmds_CXX | \
12858
 
    old_archive_from_expsyms_cmds_CXX | \
12859
 
    export_symbols_cmds_CXX | \
12860
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
12861
 
    postinstall_cmds | postuninstall_cmds | \
12862
 
    old_postinstall_cmds | old_postuninstall_cmds | \
12863
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12864
 
      # Double-quote double-evaled strings.
12865
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12866
 
      ;;
12867
 
    *)
12868
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12869
 
      ;;
12870
 
    esac
12871
 
  done
12872
 
 
12873
 
  case $lt_echo in
12874
 
  *'\$0 --fallback-echo"')
12875
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12876
 
    ;;
12877
 
  esac
12878
 
 
12879
 
cfgfile="$ofile"
12880
 
 
12881
 
  cat <<__EOF__ >> "$cfgfile"
12882
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
12883
 
 
12884
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12885
 
 
12886
 
# Shell to use when invoking shell scripts.
12887
 
SHELL=$lt_SHELL
12888
 
 
12889
 
# Whether or not to build shared libraries.
12890
 
build_libtool_libs=$enable_shared
12891
 
 
12892
 
# Whether or not to build static libraries.
12893
 
build_old_libs=$enable_static
12894
 
 
12895
 
# Whether or not to add -lc for building shared libraries.
12896
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
12897
 
 
12898
 
# Whether or not to disallow shared libs when runtime libs are static
12899
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12900
 
 
12901
 
# Whether or not to optimize for fast installation.
12902
 
fast_install=$enable_fast_install
12903
 
 
12904
 
# The host system.
12905
 
host_alias=$host_alias
12906
 
host=$host
12907
 
host_os=$host_os
12908
 
 
12909
 
# The build system.
12910
 
build_alias=$build_alias
12911
 
build=$build
12912
 
build_os=$build_os
12913
 
 
12914
 
# An echo program that does not interpret backslashes.
12915
 
echo=$lt_echo
12916
 
 
12917
 
# The archiver.
12918
 
AR=$lt_AR
12919
 
AR_FLAGS=$lt_AR_FLAGS
12920
 
 
12921
 
# A C compiler.
12922
 
LTCC=$lt_LTCC
12923
 
 
12924
 
# LTCC compiler flags.
12925
 
LTCFLAGS=$lt_LTCFLAGS
12926
 
 
12927
 
# A language-specific compiler.
12928
 
CC=$lt_compiler_CXX
12929
 
 
12930
 
# Is the compiler the GNU C compiler?
12931
 
with_gcc=$GCC_CXX
12932
 
 
12933
 
# An ERE matcher.
12934
 
EGREP=$lt_EGREP
12935
 
 
12936
 
# The linker used to build libraries.
12937
 
LD=$lt_LD_CXX
12938
 
 
12939
 
# Whether we need hard or soft links.
12940
 
LN_S=$lt_LN_S
12941
 
 
12942
 
# A BSD-compatible nm program.
12943
 
NM=$lt_NM
12944
 
 
12945
 
# A symbol stripping program
12946
 
STRIP=$lt_STRIP
12947
 
 
12948
 
# Used to examine libraries when file_magic_cmd begins "file"
12949
 
MAGIC_CMD=$MAGIC_CMD
12950
 
 
12951
 
# Used on cygwin: DLL creation program.
12952
 
DLLTOOL="$DLLTOOL"
12953
 
 
12954
 
# Used on cygwin: object dumper.
12955
 
OBJDUMP="$OBJDUMP"
12956
 
 
12957
 
# Used on cygwin: assembler.
12958
 
AS="$AS"
12959
 
 
12960
 
# The name of the directory that contains temporary libtool files.
12961
 
objdir=$objdir
12962
 
 
12963
 
# How to create reloadable object files.
12964
 
reload_flag=$lt_reload_flag
12965
 
reload_cmds=$lt_reload_cmds
12966
 
 
12967
 
# How to pass a linker flag through the compiler.
12968
 
wl=$lt_lt_prog_compiler_wl_CXX
12969
 
 
12970
 
# Object file suffix (normally "o").
12971
 
objext="$ac_objext"
12972
 
 
12973
 
# Old archive suffix (normally "a").
12974
 
libext="$libext"
12975
 
 
12976
 
# Shared library suffix (normally ".so").
12977
 
shrext_cmds='$shrext_cmds'
12978
 
 
12979
 
# Executable file suffix (normally "").
12980
 
exeext="$exeext"
12981
 
 
12982
 
# Additional compiler flags for building library objects.
12983
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
12984
 
pic_mode=$pic_mode
12985
 
 
12986
 
# What is the maximum length of a command?
12987
 
max_cmd_len=$lt_cv_sys_max_cmd_len
12988
 
 
12989
 
# Does compiler simultaneously support -c and -o options?
12990
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12991
 
 
12992
 
# Must we lock files when doing compilation?
12993
 
need_locks=$lt_need_locks
12994
 
 
12995
 
# Do we need the lib prefix for modules?
12996
 
need_lib_prefix=$need_lib_prefix
12997
 
 
12998
 
# Do we need a version for libraries?
12999
 
need_version=$need_version
13000
 
 
13001
 
# Whether dlopen is supported.
13002
 
dlopen_support=$enable_dlopen
13003
 
 
13004
 
# Whether dlopen of programs is supported.
13005
 
dlopen_self=$enable_dlopen_self
13006
 
 
13007
 
# Whether dlopen of statically linked programs is supported.
13008
 
dlopen_self_static=$enable_dlopen_self_static
13009
 
 
13010
 
# Compiler flag to prevent dynamic linking.
13011
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
13012
 
 
13013
 
# Compiler flag to turn off builtin functions.
13014
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13015
 
 
13016
 
# Compiler flag to allow reflexive dlopens.
13017
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13018
 
 
13019
 
# Compiler flag to generate shared objects directly from archives.
13020
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13021
 
 
13022
 
# Compiler flag to generate thread-safe objects.
13023
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13024
 
 
13025
 
# Library versioning type.
13026
 
version_type=$version_type
13027
 
 
13028
 
# Format of library name prefix.
13029
 
libname_spec=$lt_libname_spec
13030
 
 
13031
 
# List of archive names.  First name is the real one, the rest are links.
13032
 
# The last name is the one that the linker finds with -lNAME.
13033
 
library_names_spec=$lt_library_names_spec
13034
 
 
13035
 
# The coded name of the library, if different from the real name.
13036
 
soname_spec=$lt_soname_spec
13037
 
 
13038
 
# Commands used to build and install an old-style archive.
13039
 
RANLIB=$lt_RANLIB
13040
 
old_archive_cmds=$lt_old_archive_cmds_CXX
13041
 
old_postinstall_cmds=$lt_old_postinstall_cmds
13042
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
13043
 
 
13044
 
# Create an old-style archive from a shared archive.
13045
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13046
 
 
13047
 
# Create a temporary old-style archive to link instead of a shared archive.
13048
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13049
 
 
13050
 
# Commands used to build and install a shared archive.
13051
 
archive_cmds=$lt_archive_cmds_CXX
13052
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13053
 
postinstall_cmds=$lt_postinstall_cmds
13054
 
postuninstall_cmds=$lt_postuninstall_cmds
13055
 
 
13056
 
# Commands used to build a loadable module (assumed same as above if empty)
13057
 
module_cmds=$lt_module_cmds_CXX
13058
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
13059
 
 
13060
 
# Commands to strip libraries.
13061
 
old_striplib=$lt_old_striplib
13062
 
striplib=$lt_striplib
13063
 
 
13064
 
# Dependencies to place before the objects being linked to create a
13065
 
# shared library.
13066
 
predep_objects=$lt_predep_objects_CXX
13067
 
 
13068
 
# Dependencies to place after the objects being linked to create a
13069
 
# shared library.
13070
 
postdep_objects=$lt_postdep_objects_CXX
13071
 
 
13072
 
# Dependencies to place before the objects being linked to create a
13073
 
# shared library.
13074
 
predeps=$lt_predeps_CXX
13075
 
 
13076
 
# Dependencies to place after the objects being linked to create a
13077
 
# shared library.
13078
 
postdeps=$lt_postdeps_CXX
13079
 
 
13080
 
# The library search path used internally by the compiler when linking
13081
 
# a shared library.
13082
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13083
 
 
13084
 
# Method to check whether dependent libraries are shared objects.
13085
 
deplibs_check_method=$lt_deplibs_check_method
13086
 
 
13087
 
# Command to use when deplibs_check_method == file_magic.
13088
 
file_magic_cmd=$lt_file_magic_cmd
13089
 
 
13090
 
# Flag that allows shared libraries with undefined symbols to be built.
13091
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
13092
 
 
13093
 
# Flag that forces no undefined symbols.
13094
 
no_undefined_flag=$lt_no_undefined_flag_CXX
13095
 
 
13096
 
# Commands used to finish a libtool library installation in a directory.
13097
 
finish_cmds=$lt_finish_cmds
13098
 
 
13099
 
# Same as above, but a single script fragment to be evaled but not shown.
13100
 
finish_eval=$lt_finish_eval
13101
 
 
13102
 
# Take the output of nm and produce a listing of raw symbols and C names.
13103
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13104
 
 
13105
 
# Transform the output of nm in a proper C declaration
13106
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13107
 
 
13108
 
# Transform the output of nm in a C name address pair
13109
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13110
 
 
13111
 
# This is the shared library runtime path variable.
13112
 
runpath_var=$runpath_var
13113
 
 
13114
 
# This is the shared library path variable.
13115
 
shlibpath_var=$shlibpath_var
13116
 
 
13117
 
# Is shlibpath searched before the hard-coded library search path?
13118
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13119
 
 
13120
 
# How to hardcode a shared library path into an executable.
13121
 
hardcode_action=$hardcode_action_CXX
13122
 
 
13123
 
# Whether we should hardcode library paths into libraries.
13124
 
hardcode_into_libs=$hardcode_into_libs
13125
 
 
13126
 
# Flag to hardcode \$libdir into a binary during linking.
13127
 
# This must work even if \$libdir does not exist.
13128
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13129
 
 
13130
 
# If ld is used when linking, flag to hardcode \$libdir into
13131
 
# a binary during linking. This must work even if \$libdir does
13132
 
# not exist.
13133
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13134
 
 
13135
 
# Whether we need a single -rpath flag with a separated argument.
13136
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13137
 
 
13138
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13139
 
# resulting binary.
13140
 
hardcode_direct=$hardcode_direct_CXX
13141
 
 
13142
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13143
 
# resulting binary.
13144
 
hardcode_minus_L=$hardcode_minus_L_CXX
13145
 
 
13146
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13147
 
# the resulting binary.
13148
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13149
 
 
13150
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
13151
 
# and all subsequent libraries and executables linked against it.
13152
 
hardcode_automatic=$hardcode_automatic_CXX
13153
 
 
13154
 
# Variables whose values should be saved in libtool wrapper scripts and
13155
 
# restored at relink time.
13156
 
variables_saved_for_relink="$variables_saved_for_relink"
13157
 
 
13158
 
# Whether libtool must link a program against all its dependency libraries.
13159
 
link_all_deplibs=$link_all_deplibs_CXX
13160
 
 
13161
 
# Compile-time system search path for libraries
13162
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13163
 
 
13164
 
# Run-time system search path for libraries
13165
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13166
 
 
13167
 
# Fix the shell variable \$srcfile for the compiler.
13168
 
fix_srcfile_path="$fix_srcfile_path_CXX"
13169
 
 
13170
 
# Set to yes if exported symbols are required.
13171
 
always_export_symbols=$always_export_symbols_CXX
13172
 
 
13173
 
# The commands to list exported symbols.
13174
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
13175
 
 
13176
 
# The commands to extract the exported symbol list from a shared archive.
13177
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
13178
 
 
13179
 
# Symbols that should not be listed in the preloaded symbols.
13180
 
exclude_expsyms=$lt_exclude_expsyms_CXX
13181
 
 
13182
 
# Symbols that must always be exported.
13183
 
include_expsyms=$lt_include_expsyms_CXX
13184
 
 
13185
 
# ### END LIBTOOL TAG CONFIG: $tagname
13186
 
 
13187
 
__EOF__
13188
 
 
13189
 
 
13190
 
else
13191
 
  # If there is no Makefile yet, we rely on a make rule to execute
13192
 
  # `config.status --recheck' to rerun these tests and create the
13193
 
  # libtool script then.
13194
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13195
 
  if test -f "$ltmain_in"; then
13196
 
    test -f Makefile && make "$ltmain"
13197
 
  fi
13198
 
fi
13199
 
 
13200
 
 
13201
 
ac_ext=c
13202
 
ac_cpp='$CPP $CPPFLAGS'
13203
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13204
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13205
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13206
 
 
13207
 
CC=$lt_save_CC
13208
 
LDCXX=$LD
13209
 
LD=$lt_save_LD
13210
 
GCC=$lt_save_GCC
13211
 
with_gnu_ldcxx=$with_gnu_ld
13212
 
with_gnu_ld=$lt_save_with_gnu_ld
13213
 
lt_cv_path_LDCXX=$lt_cv_path_LD
13214
 
lt_cv_path_LD=$lt_save_path_LD
13215
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13216
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13217
 
 
13218
 
        else
13219
 
          tagname=""
13220
 
        fi
13221
 
        ;;
13222
 
 
13223
 
      F77)
13224
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
13225
 
 
13226
 
ac_ext=f
13227
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13228
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13229
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
13230
 
 
13231
 
 
13232
 
archive_cmds_need_lc_F77=no
13233
 
allow_undefined_flag_F77=
13234
 
always_export_symbols_F77=no
13235
 
archive_expsym_cmds_F77=
13236
 
export_dynamic_flag_spec_F77=
13237
 
hardcode_direct_F77=no
13238
 
hardcode_libdir_flag_spec_F77=
13239
 
hardcode_libdir_flag_spec_ld_F77=
13240
 
hardcode_libdir_separator_F77=
13241
 
hardcode_minus_L_F77=no
13242
 
hardcode_automatic_F77=no
13243
 
module_cmds_F77=
13244
 
module_expsym_cmds_F77=
13245
 
link_all_deplibs_F77=unknown
13246
 
old_archive_cmds_F77=$old_archive_cmds
13247
 
no_undefined_flag_F77=
13248
 
whole_archive_flag_spec_F77=
13249
 
enable_shared_with_static_runtimes_F77=no
13250
 
 
13251
 
# Source file extension for f77 test sources.
13252
 
ac_ext=f
13253
 
 
13254
 
# Object file extension for compiled f77 test sources.
13255
 
objext=o
13256
 
objext_F77=$objext
13257
 
 
13258
 
# Code to be used in simple compile tests
13259
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
13260
 
 
13261
 
# Code to be used in simple link tests
13262
 
lt_simple_link_test_code="      program t\n      end\n"
13263
 
 
13264
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13265
 
 
13266
 
# If no C compiler was specified, use CC.
13267
 
LTCC=${LTCC-"$CC"}
13268
 
 
13269
 
# If no C compiler flags were specified, use CFLAGS.
13270
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13271
 
 
13272
 
# Allow CC to be a program name with arguments.
13273
 
compiler=$CC
13274
 
 
13275
 
 
13276
 
# save warnings/boilerplate of simple test code
13277
 
ac_outfile=conftest.$ac_objext
13278
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
13279
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13280
 
_lt_compiler_boilerplate=`cat conftest.err`
13281
 
$rm conftest*
13282
 
 
13283
 
ac_outfile=conftest.$ac_objext
13284
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
13285
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13286
 
_lt_linker_boilerplate=`cat conftest.err`
13287
 
$rm conftest*
13288
 
 
13289
 
 
13290
 
# Allow CC to be a program name with arguments.
13291
 
lt_save_CC="$CC"
13292
 
CC=${F77-"f77"}
13293
 
compiler=$CC
13294
 
compiler_F77=$CC
13295
 
for cc_temp in $compiler""; do
13296
 
  case $cc_temp in
13297
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13298
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13299
 
    \-*) ;;
13300
 
    *) break;;
13301
 
  esac
13302
 
done
13303
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13304
 
 
13305
 
 
13306
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13307
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13308
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
13309
 
echo "${ECHO_T}$can_build_shared" >&6
13310
 
 
13311
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13312
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
13313
 
test "$can_build_shared" = "no" && enable_shared=no
13314
 
 
13315
 
# On AIX, shared libraries and static libraries use the same namespace, and
13316
 
# are all built from PIC.
13317
 
case $host_os in
13318
 
aix3*)
13319
 
  test "$enable_shared" = yes && enable_static=no
13320
 
  if test -n "$RANLIB"; then
13321
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
13322
 
    postinstall_cmds='$RANLIB $lib'
13323
 
  fi
13324
 
  ;;
13325
 
aix4* | aix5*)
13326
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13327
 
    test "$enable_shared" = yes && enable_static=no
13328
 
  fi
13329
 
  ;;
13330
 
esac
13331
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
13332
 
echo "${ECHO_T}$enable_shared" >&6
13333
 
 
13334
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13335
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
13336
 
# Make sure either enable_shared or enable_static is yes.
13337
 
test "$enable_shared" = yes || enable_static=yes
13338
 
echo "$as_me:$LINENO: result: $enable_static" >&5
13339
 
echo "${ECHO_T}$enable_static" >&6
13340
 
 
13341
 
GCC_F77="$G77"
13342
 
LD_F77="$LD"
13343
 
 
13344
 
lt_prog_compiler_wl_F77=
13345
 
lt_prog_compiler_pic_F77=
13346
 
lt_prog_compiler_static_F77=
13347
 
 
13348
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13349
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13350
 
 
13351
 
  if test "$GCC" = yes; then
13352
 
    lt_prog_compiler_wl_F77='-Wl,'
13353
 
    lt_prog_compiler_static_F77='-static'
13354
 
 
13355
 
    case $host_os in
13356
 
      aix*)
13357
 
      # All AIX code is PIC.
13358
 
      if test "$host_cpu" = ia64; then
13359
 
        # AIX 5 now supports IA64 processor
13360
 
        lt_prog_compiler_static_F77='-Bstatic'
13361
 
      fi
13362
 
      ;;
13363
 
 
13364
 
    amigaos*)
13365
 
      # FIXME: we need at least 68020 code to build shared libraries, but
13366
 
      # adding the `-m68020' flag to GCC prevents building anything better,
13367
 
      # like `-m68040'.
13368
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
13369
 
      ;;
13370
 
 
13371
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13372
 
      # PIC is the default for these OSes.
13373
 
      ;;
13374
 
 
13375
 
    mingw* | pw32* | os2*)
13376
 
      # This hack is so that the source file can tell whether it is being
13377
 
      # built for inclusion in a dll (and should export symbols for example).
13378
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13379
 
      ;;
13380
 
 
13381
 
    darwin* | rhapsody*)
13382
 
      # PIC is the default on this platform
13383
 
      # Common symbols not allowed in MH_DYLIB files
13384
 
      lt_prog_compiler_pic_F77='-fno-common'
13385
 
      ;;
13386
 
 
13387
 
    interix3*)
13388
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13389
 
      # Instead, we relocate shared libraries at runtime.
13390
 
      ;;
13391
 
 
13392
 
    msdosdjgpp*)
13393
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
13394
 
      # on systems that don't support them.
13395
 
      lt_prog_compiler_can_build_shared_F77=no
13396
 
      enable_shared=no
13397
 
      ;;
13398
 
 
13399
 
    sysv4*MP*)
13400
 
      if test -d /usr/nec; then
13401
 
        lt_prog_compiler_pic_F77=-Kconform_pic
13402
 
      fi
13403
 
      ;;
13404
 
 
13405
 
    hpux*)
13406
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13407
 
      # not for PA HP-UX.
13408
 
      case $host_cpu in
13409
 
      hppa*64*|ia64*)
13410
 
        # +Z the default
13411
 
        ;;
13412
 
      *)
13413
 
        lt_prog_compiler_pic_F77='-fPIC'
13414
 
        ;;
13415
 
      esac
13416
 
      ;;
13417
 
 
13418
 
    *)
13419
 
      lt_prog_compiler_pic_F77='-fPIC'
13420
 
      ;;
13421
 
    esac
13422
 
  else
13423
 
    # PORTME Check for flag to pass linker flags through the system compiler.
13424
 
    case $host_os in
13425
 
    aix*)
13426
 
      lt_prog_compiler_wl_F77='-Wl,'
13427
 
      if test "$host_cpu" = ia64; then
13428
 
        # AIX 5 now supports IA64 processor
13429
 
        lt_prog_compiler_static_F77='-Bstatic'
13430
 
      else
13431
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
13432
 
      fi
13433
 
      ;;
13434
 
      darwin*)
13435
 
        # PIC is the default on this platform
13436
 
        # Common symbols not allowed in MH_DYLIB files
13437
 
       case $cc_basename in
13438
 
         xlc*)
13439
 
         lt_prog_compiler_pic_F77='-qnocommon'
13440
 
         lt_prog_compiler_wl_F77='-Wl,'
13441
 
         ;;
13442
 
       esac
13443
 
       ;;
13444
 
 
13445
 
    mingw* | pw32* | os2*)
13446
 
      # This hack is so that the source file can tell whether it is being
13447
 
      # built for inclusion in a dll (and should export symbols for example).
13448
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13449
 
      ;;
13450
 
 
13451
 
    hpux9* | hpux10* | hpux11*)
13452
 
      lt_prog_compiler_wl_F77='-Wl,'
13453
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13454
 
      # not for PA HP-UX.
13455
 
      case $host_cpu in
13456
 
      hppa*64*|ia64*)
13457
 
        # +Z the default
13458
 
        ;;
13459
 
      *)
13460
 
        lt_prog_compiler_pic_F77='+Z'
13461
 
        ;;
13462
 
      esac
13463
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
13464
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
13465
 
      ;;
13466
 
 
13467
 
    irix5* | irix6* | nonstopux*)
13468
 
      lt_prog_compiler_wl_F77='-Wl,'
13469
 
      # PIC (with -KPIC) is the default.
13470
 
      lt_prog_compiler_static_F77='-non_shared'
13471
 
      ;;
13472
 
 
13473
 
    newsos6)
13474
 
      lt_prog_compiler_pic_F77='-KPIC'
13475
 
      lt_prog_compiler_static_F77='-Bstatic'
13476
 
      ;;
13477
 
 
13478
 
    linux*)
13479
 
      case $cc_basename in
13480
 
      icc* | ecc*)
13481
 
        lt_prog_compiler_wl_F77='-Wl,'
13482
 
        lt_prog_compiler_pic_F77='-KPIC'
13483
 
        lt_prog_compiler_static_F77='-static'
13484
 
        ;;
13485
 
      pgcc* | pgf77* | pgf90* | pgf95*)
13486
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
13487
 
        # which looks to be a dead project)
13488
 
        lt_prog_compiler_wl_F77='-Wl,'
13489
 
        lt_prog_compiler_pic_F77='-fpic'
13490
 
        lt_prog_compiler_static_F77='-Bstatic'
13491
 
        ;;
13492
 
      ccc*)
13493
 
        lt_prog_compiler_wl_F77='-Wl,'
13494
 
        # All Alpha code is PIC.
13495
 
        lt_prog_compiler_static_F77='-non_shared'
13496
 
        ;;
13497
 
      esac
13498
 
      ;;
13499
 
 
13500
 
    osf3* | osf4* | osf5*)
13501
 
      lt_prog_compiler_wl_F77='-Wl,'
13502
 
      # All OSF/1 code is PIC.
13503
 
      lt_prog_compiler_static_F77='-non_shared'
13504
 
      ;;
13505
 
 
13506
 
    solaris*)
13507
 
      lt_prog_compiler_pic_F77='-KPIC'
13508
 
      lt_prog_compiler_static_F77='-Bstatic'
13509
 
      case $cc_basename in
13510
 
      f77* | f90* | f95*)
13511
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
13512
 
      *)
13513
 
        lt_prog_compiler_wl_F77='-Wl,';;
13514
 
      esac
13515
 
      ;;
13516
 
 
13517
 
    sunos4*)
13518
 
      lt_prog_compiler_wl_F77='-Qoption ld '
13519
 
      lt_prog_compiler_pic_F77='-PIC'
13520
 
      lt_prog_compiler_static_F77='-Bstatic'
13521
 
      ;;
13522
 
 
13523
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
13524
 
      lt_prog_compiler_wl_F77='-Wl,'
13525
 
      lt_prog_compiler_pic_F77='-KPIC'
13526
 
      lt_prog_compiler_static_F77='-Bstatic'
13527
 
      ;;
13528
 
 
13529
 
    sysv4*MP*)
13530
 
      if test -d /usr/nec ;then
13531
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
13532
 
        lt_prog_compiler_static_F77='-Bstatic'
13533
 
      fi
13534
 
      ;;
13535
 
 
13536
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13537
 
      lt_prog_compiler_wl_F77='-Wl,'
13538
 
      lt_prog_compiler_pic_F77='-KPIC'
13539
 
      lt_prog_compiler_static_F77='-Bstatic'
13540
 
      ;;
13541
 
 
13542
 
    unicos*)
13543
 
      lt_prog_compiler_wl_F77='-Wl,'
13544
 
      lt_prog_compiler_can_build_shared_F77=no
13545
 
      ;;
13546
 
 
13547
 
    uts4*)
13548
 
      lt_prog_compiler_pic_F77='-pic'
13549
 
      lt_prog_compiler_static_F77='-Bstatic'
13550
 
      ;;
13551
 
 
13552
 
    *)
13553
 
      lt_prog_compiler_can_build_shared_F77=no
13554
 
      ;;
13555
 
    esac
13556
 
  fi
13557
 
 
13558
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13559
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13560
 
 
13561
 
#
13562
 
# Check to make sure the PIC flag actually works.
13563
 
#
13564
 
if test -n "$lt_prog_compiler_pic_F77"; then
13565
 
 
13566
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13567
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13568
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13569
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13570
 
else
13571
 
  lt_prog_compiler_pic_works_F77=no
13572
 
  ac_outfile=conftest.$ac_objext
13573
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13574
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
13575
 
   # Insert the option either (1) after the last *FLAGS variable, or
13576
 
   # (2) before a word containing "conftest.", or (3) at the end.
13577
 
   # Note that $ac_compile itself does not contain backslashes and begins
13578
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13579
 
   # The option is referenced via a variable to avoid confusing sed.
13580
 
   lt_compile=`echo "$ac_compile" | $SED \
13581
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13582
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13583
 
   -e 's:$: $lt_compiler_flag:'`
13584
 
   (eval echo "\"\$as_me:13584: $lt_compile\"" >&5)
13585
 
   (eval "$lt_compile" 2>conftest.err)
13586
 
   ac_status=$?
13587
 
   cat conftest.err >&5
13588
 
   echo "$as_me:13588: \$? = $ac_status" >&5
13589
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
13590
 
     # The compiler can only warn and ignore the option if not recognized
13591
 
     # So say no if there are warnings other than the usual output.
13592
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13593
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13594
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13595
 
       lt_prog_compiler_pic_works_F77=yes
13596
 
     fi
13597
 
   fi
13598
 
   $rm conftest*
13599
 
 
13600
 
fi
13601
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13602
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13603
 
 
13604
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13605
 
    case $lt_prog_compiler_pic_F77 in
13606
 
     "" | " "*) ;;
13607
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13608
 
     esac
13609
 
else
13610
 
    lt_prog_compiler_pic_F77=
13611
 
     lt_prog_compiler_can_build_shared_F77=no
13612
 
fi
13613
 
 
13614
 
fi
13615
 
case $host_os in
13616
 
  # For platforms which do not support PIC, -DPIC is meaningless:
13617
 
  *djgpp*)
13618
 
    lt_prog_compiler_pic_F77=
13619
 
    ;;
13620
 
  *)
13621
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13622
 
    ;;
13623
 
esac
13624
 
 
13625
 
#
13626
 
# Check to make sure the static flag actually works.
13627
 
#
13628
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
13629
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13630
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13631
 
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13632
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13633
 
else
13634
 
  lt_prog_compiler_static_works_F77=no
13635
 
   save_LDFLAGS="$LDFLAGS"
13636
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13637
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
13638
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13639
 
     # The linker can only warn and ignore the option if not recognized
13640
 
     # So say no if there are warnings
13641
 
     if test -s conftest.err; then
13642
 
       # Append any errors to the config.log.
13643
 
       cat conftest.err 1>&5
13644
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13645
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13646
 
       if diff conftest.exp conftest.er2 >/dev/null; then
13647
 
         lt_prog_compiler_static_works_F77=yes
13648
 
       fi
13649
 
     else
13650
 
       lt_prog_compiler_static_works_F77=yes
13651
 
     fi
13652
 
   fi
13653
 
   $rm conftest*
13654
 
   LDFLAGS="$save_LDFLAGS"
13655
 
 
13656
 
fi
13657
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13658
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
13659
 
 
13660
 
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
13661
 
    :
13662
 
else
13663
 
    lt_prog_compiler_static_F77=
13664
 
fi
13665
 
 
13666
 
 
13667
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13668
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13669
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13670
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13671
 
else
13672
 
  lt_cv_prog_compiler_c_o_F77=no
13673
 
   $rm -r conftest 2>/dev/null
13674
 
   mkdir conftest
13675
 
   cd conftest
13676
 
   mkdir out
13677
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13678
 
 
13679
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
13680
 
   # Insert the option either (1) after the last *FLAGS variable, or
13681
 
   # (2) before a word containing "conftest.", or (3) at the end.
13682
 
   # Note that $ac_compile itself does not contain backslashes and begins
13683
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13684
 
   lt_compile=`echo "$ac_compile" | $SED \
13685
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13686
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13687
 
   -e 's:$: $lt_compiler_flag:'`
13688
 
   (eval echo "\"\$as_me:13688: $lt_compile\"" >&5)
13689
 
   (eval "$lt_compile" 2>out/conftest.err)
13690
 
   ac_status=$?
13691
 
   cat out/conftest.err >&5
13692
 
   echo "$as_me:13692: \$? = $ac_status" >&5
13693
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13694
 
   then
13695
 
     # The compiler can only warn and ignore the option if not recognized
13696
 
     # So say no if there are warnings
13697
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13698
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13699
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13700
 
       lt_cv_prog_compiler_c_o_F77=yes
13701
 
     fi
13702
 
   fi
13703
 
   chmod u+w . 2>&5
13704
 
   $rm conftest*
13705
 
   # SGI C++ compiler will create directory out/ii_files/ for
13706
 
   # template instantiation
13707
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
13708
 
   $rm out/* && rmdir out
13709
 
   cd ..
13710
 
   rmdir conftest
13711
 
   $rm conftest*
13712
 
 
13713
 
fi
13714
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13715
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13716
 
 
13717
 
 
13718
 
hard_links="nottested"
13719
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13720
 
  # do not overwrite the value of need_locks provided by the user
13721
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13722
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13723
 
  hard_links=yes
13724
 
  $rm conftest*
13725
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13726
 
  touch conftest.a
13727
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
13728
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13729
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
13730
 
echo "${ECHO_T}$hard_links" >&6
13731
 
  if test "$hard_links" = no; then
13732
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13733
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13734
 
    need_locks=warn
13735
 
  fi
13736
 
else
13737
 
  need_locks=no
13738
 
fi
13739
 
 
13740
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13741
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13742
 
 
13743
 
  runpath_var=
13744
 
  allow_undefined_flag_F77=
13745
 
  enable_shared_with_static_runtimes_F77=no
13746
 
  archive_cmds_F77=
13747
 
  archive_expsym_cmds_F77=
13748
 
  old_archive_From_new_cmds_F77=
13749
 
  old_archive_from_expsyms_cmds_F77=
13750
 
  export_dynamic_flag_spec_F77=
13751
 
  whole_archive_flag_spec_F77=
13752
 
  thread_safe_flag_spec_F77=
13753
 
  hardcode_libdir_flag_spec_F77=
13754
 
  hardcode_libdir_flag_spec_ld_F77=
13755
 
  hardcode_libdir_separator_F77=
13756
 
  hardcode_direct_F77=no
13757
 
  hardcode_minus_L_F77=no
13758
 
  hardcode_shlibpath_var_F77=unsupported
13759
 
  link_all_deplibs_F77=unknown
13760
 
  hardcode_automatic_F77=no
13761
 
  module_cmds_F77=
13762
 
  module_expsym_cmds_F77=
13763
 
  always_export_symbols_F77=no
13764
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13765
 
  # include_expsyms should be a list of space-separated symbols to be *always*
13766
 
  # included in the symbol list
13767
 
  include_expsyms_F77=
13768
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
13769
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
13770
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13771
 
  # as well as any symbol that contains `d'.
13772
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13773
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13774
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
13775
 
  # the symbol is explicitly referenced.  Since portable code cannot
13776
 
  # rely on this symbol name, it's probably fine to never include it in
13777
 
  # preloaded symbol tables.
13778
 
  extract_expsyms_cmds=
13779
 
  # Just being paranoid about ensuring that cc_basename is set.
13780
 
  for cc_temp in $compiler""; do
13781
 
  case $cc_temp in
13782
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13783
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13784
 
    \-*) ;;
13785
 
    *) break;;
13786
 
  esac
13787
 
done
13788
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13789
 
 
13790
 
  case $host_os in
13791
 
  cygwin* | mingw* | pw32*)
13792
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
13793
 
    # When not using gcc, we currently assume that we are using
13794
 
    # Microsoft Visual C++.
13795
 
    if test "$GCC" != yes; then
13796
 
      with_gnu_ld=no
13797
 
    fi
13798
 
    ;;
13799
 
  interix*)
13800
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
13801
 
    with_gnu_ld=yes
13802
 
    ;;
13803
 
  openbsd*)
13804
 
    with_gnu_ld=no
13805
 
    ;;
13806
 
  esac
13807
 
 
13808
 
  ld_shlibs_F77=yes
13809
 
  if test "$with_gnu_ld" = yes; then
13810
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
13811
 
    wlarc='${wl}'
13812
 
 
13813
 
    # Set some defaults for GNU ld with shared library support. These
13814
 
    # are reset later if shared libraries are not supported. Putting them
13815
 
    # here allows them to be overridden if necessary.
13816
 
    runpath_var=LD_RUN_PATH
13817
 
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13818
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13819
 
    # ancient GNU ld didn't support --whole-archive et. al.
13820
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13821
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13822
 
      else
13823
 
        whole_archive_flag_spec_F77=
13824
 
    fi
13825
 
    supports_anon_versioning=no
13826
 
    case `$LD -v 2>/dev/null` in
13827
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13828
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13829
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13830
 
      *\ 2.11.*) ;; # other 2.11 versions
13831
 
      *) supports_anon_versioning=yes ;;
13832
 
    esac
13833
 
 
13834
 
    # See if GNU ld supports shared libraries.
13835
 
    case $host_os in
13836
 
    aix3* | aix4* | aix5*)
13837
 
      # On AIX/PPC, the GNU linker is very broken
13838
 
      if test "$host_cpu" != ia64; then
13839
 
        ld_shlibs_F77=no
13840
 
        cat <<EOF 1>&2
13841
 
 
13842
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
13843
 
*** to be unable to reliably create shared libraries on AIX.
13844
 
*** Therefore, libtool is disabling shared libraries support.  If you
13845
 
*** really care for shared libraries, you may want to modify your PATH
13846
 
*** so that a non-GNU linker is found, and then restart.
13847
 
 
13848
 
EOF
13849
 
      fi
13850
 
      ;;
13851
 
 
13852
 
    amigaos*)
13853
 
      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)'
13854
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
13855
 
      hardcode_minus_L_F77=yes
13856
 
 
13857
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13858
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
13859
 
      # to version 4, is to share data among multiple programs linked
13860
 
      # with the same dynamic library.  Since this doesn't match the
13861
 
      # behavior of shared libraries on other platforms, we can't use
13862
 
      # them.
13863
 
      ld_shlibs_F77=no
13864
 
      ;;
13865
 
 
13866
 
    beos*)
13867
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13868
 
        allow_undefined_flag_F77=unsupported
13869
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13870
 
        # support --undefined.  This deserves some investigation.  FIXME
13871
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13872
 
      else
13873
 
        ld_shlibs_F77=no
13874
 
      fi
13875
 
      ;;
13876
 
 
13877
 
    cygwin* | mingw* | pw32*)
13878
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13879
 
      # as there is no search path for DLLs.
13880
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
13881
 
      allow_undefined_flag_F77=unsupported
13882
 
      always_export_symbols_F77=no
13883
 
      enable_shared_with_static_runtimes_F77=yes
13884
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13885
 
 
13886
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13887
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13888
 
        # If the export-symbols file already is a .def file (1st line
13889
 
        # is EXPORTS), use it as is; otherwise, prepend...
13890
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13891
 
          cp $export_symbols $output_objdir/$soname.def;
13892
 
        else
13893
 
          echo EXPORTS > $output_objdir/$soname.def;
13894
 
          cat $export_symbols >> $output_objdir/$soname.def;
13895
 
        fi~
13896
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13897
 
      else
13898
 
        ld_shlibs_F77=no
13899
 
      fi
13900
 
      ;;
13901
 
 
13902
 
    interix3*)
13903
 
      hardcode_direct_F77=no
13904
 
      hardcode_shlibpath_var_F77=no
13905
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13906
 
      export_dynamic_flag_spec_F77='${wl}-E'
13907
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13908
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
13909
 
      # default) and relocated if they conflict, which is a slow very memory
13910
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
13911
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13912
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13913
 
      archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13914
 
      archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13915
 
      ;;
13916
 
 
13917
 
    linux*)
13918
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13919
 
        tmp_addflag=
13920
 
        case $cc_basename,$host_cpu in
13921
 
        pgcc*)                          # Portland Group C compiler
13922
 
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
13923
 
          tmp_addflag=' $pic_flag'
13924
 
          ;;
13925
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
13926
 
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
13927
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
13928
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
13929
 
          tmp_addflag=' -i_dynamic' ;;
13930
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
13931
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
13932
 
        ifc* | ifort*)                  # Intel Fortran compiler
13933
 
          tmp_addflag=' -nofor_main' ;;
13934
 
        esac
13935
 
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13936
 
 
13937
 
        if test $supports_anon_versioning = yes; then
13938
 
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
13939
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13940
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
13941
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13942
 
        fi
13943
 
      else
13944
 
        ld_shlibs_F77=no
13945
 
      fi
13946
 
      ;;
13947
 
 
13948
 
    netbsd*)
13949
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13950
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13951
 
        wlarc=
13952
 
      else
13953
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13954
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13955
 
      fi
13956
 
      ;;
13957
 
 
13958
 
    solaris*)
13959
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13960
 
        ld_shlibs_F77=no
13961
 
        cat <<EOF 1>&2
13962
 
 
13963
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
13964
 
*** create shared libraries on Solaris systems.  Therefore, libtool
13965
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
13966
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
13967
 
*** your PATH or compiler configuration so that the native linker is
13968
 
*** used, and then restart.
13969
 
 
13970
 
EOF
13971
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13972
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13973
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13974
 
      else
13975
 
        ld_shlibs_F77=no
13976
 
      fi
13977
 
      ;;
13978
 
 
13979
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
13980
 
      case `$LD -v 2>&1` in
13981
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
13982
 
        ld_shlibs_F77=no
13983
 
        cat <<_LT_EOF 1>&2
13984
 
 
13985
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13986
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
13987
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
13988
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
13989
 
*** your PATH or compiler configuration so that the native linker is
13990
 
*** used, and then restart.
13991
 
 
13992
 
_LT_EOF
13993
 
        ;;
13994
 
        *)
13995
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13996
 
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
13997
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
13998
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
13999
 
          else
14000
 
            ld_shlibs_F77=no
14001
 
          fi
14002
 
        ;;
14003
 
      esac
14004
 
      ;;
14005
 
 
14006
 
    sunos4*)
14007
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14008
 
      wlarc=
14009
 
      hardcode_direct_F77=yes
14010
 
      hardcode_shlibpath_var_F77=no
14011
 
      ;;
14012
 
 
14013
 
    *)
14014
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14015
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14016
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14017
 
      else
14018
 
        ld_shlibs_F77=no
14019
 
      fi
14020
 
      ;;
14021
 
    esac
14022
 
 
14023
 
    if test "$ld_shlibs_F77" = no; then
14024
 
      runpath_var=
14025
 
      hardcode_libdir_flag_spec_F77=
14026
 
      export_dynamic_flag_spec_F77=
14027
 
      whole_archive_flag_spec_F77=
14028
 
    fi
14029
 
  else
14030
 
    # PORTME fill in a description of your system's linker (not GNU ld)
14031
 
    case $host_os in
14032
 
    aix3*)
14033
 
      allow_undefined_flag_F77=unsupported
14034
 
      always_export_symbols_F77=yes
14035
 
      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'
14036
 
      # Note: this linker hardcodes the directories in LIBPATH if there
14037
 
      # are no directories specified by -L.
14038
 
      hardcode_minus_L_F77=yes
14039
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14040
 
        # Neither direct hardcoding nor static linking is supported with a
14041
 
        # broken collect2.
14042
 
        hardcode_direct_F77=unsupported
14043
 
      fi
14044
 
      ;;
14045
 
 
14046
 
    aix4* | aix5*)
14047
 
      if test "$host_cpu" = ia64; then
14048
 
        # On IA64, the linker does run time linking by default, so we don't
14049
 
        # have to do anything special.
14050
 
        aix_use_runtimelinking=no
14051
 
        exp_sym_flag='-Bexport'
14052
 
        no_entry_flag=""
14053
 
      else
14054
 
        # If we're using GNU nm, then we don't want the "-C" option.
14055
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
14056
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14057
 
          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'
14058
 
        else
14059
 
          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'
14060
 
        fi
14061
 
        aix_use_runtimelinking=no
14062
 
 
14063
 
        # Test if we are trying to use run time linking or normal
14064
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14065
 
        # need to do runtime linking.
14066
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
14067
 
          for ld_flag in $LDFLAGS; do
14068
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14069
 
            aix_use_runtimelinking=yes
14070
 
            break
14071
 
          fi
14072
 
          done
14073
 
          ;;
14074
 
        esac
14075
 
 
14076
 
        exp_sym_flag='-bexport'
14077
 
        no_entry_flag='-bnoentry'
14078
 
      fi
14079
 
 
14080
 
      # When large executables or shared objects are built, AIX ld can
14081
 
      # have problems creating the table of contents.  If linking a library
14082
 
      # or program results in "error TOC overflow" add -mminimal-toc to
14083
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14084
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14085
 
 
14086
 
      archive_cmds_F77=''
14087
 
      hardcode_direct_F77=yes
14088
 
      hardcode_libdir_separator_F77=':'
14089
 
      link_all_deplibs_F77=yes
14090
 
 
14091
 
      if test "$GCC" = yes; then
14092
 
        case $host_os in aix4.[012]|aix4.[012].*)
14093
 
        # We only want to do this on AIX 4.2 and lower, the check
14094
 
        # below for broken collect2 doesn't work under 4.3+
14095
 
          collect2name=`${CC} -print-prog-name=collect2`
14096
 
          if test -f "$collect2name" && \
14097
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
14098
 
          then
14099
 
          # We have reworked collect2
14100
 
          hardcode_direct_F77=yes
14101
 
          else
14102
 
          # We have old collect2
14103
 
          hardcode_direct_F77=unsupported
14104
 
          # It fails to find uninstalled libraries when the uninstalled
14105
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
14106
 
          # to unsupported forces relinking
14107
 
          hardcode_minus_L_F77=yes
14108
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
14109
 
          hardcode_libdir_separator_F77=
14110
 
          fi
14111
 
          ;;
14112
 
        esac
14113
 
        shared_flag='-shared'
14114
 
        if test "$aix_use_runtimelinking" = yes; then
14115
 
          shared_flag="$shared_flag "'${wl}-G'
14116
 
        fi
14117
 
      else
14118
 
        # not using gcc
14119
 
        if test "$host_cpu" = ia64; then
14120
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14121
 
        # chokes on -Wl,-G. The following line is correct:
14122
 
          shared_flag='-G'
14123
 
        else
14124
 
          if test "$aix_use_runtimelinking" = yes; then
14125
 
            shared_flag='${wl}-G'
14126
 
          else
14127
 
            shared_flag='${wl}-bM:SRE'
14128
 
          fi
14129
 
        fi
14130
 
      fi
14131
 
 
14132
 
      # It seems that -bexpall does not export symbols beginning with
14133
 
      # underscore (_), so it is better to generate a list of symbols to export.
14134
 
      always_export_symbols_F77=yes
14135
 
      if test "$aix_use_runtimelinking" = yes; then
14136
 
        # Warning - without using the other runtime loading flags (-brtl),
14137
 
        # -berok will link without error, but may produce a broken library.
14138
 
        allow_undefined_flag_F77='-berok'
14139
 
       # Determine the default libpath from the value encoded in an empty executable.
14140
 
       cat >conftest.$ac_ext <<_ACEOF
14141
 
      program main
14142
 
 
14143
 
      end
14144
 
_ACEOF
14145
 
rm -f conftest.$ac_objext conftest$ac_exeext
14146
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14147
 
  (eval $ac_link) 2>conftest.er1
14148
 
  ac_status=$?
14149
 
  grep -v '^ *+' conftest.er1 >conftest.err
14150
 
  rm -f conftest.er1
14151
 
  cat conftest.err >&5
14152
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14153
 
  (exit $ac_status); } &&
14154
 
         { ac_try='test -z "$ac_f77_werror_flag"
14155
 
                         || test ! -s conftest.err'
14156
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14157
 
  (eval $ac_try) 2>&5
14158
 
  ac_status=$?
14159
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14160
 
  (exit $ac_status); }; } &&
14161
 
         { ac_try='test -s conftest$ac_exeext'
14162
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14163
 
  (eval $ac_try) 2>&5
14164
 
  ac_status=$?
14165
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14166
 
  (exit $ac_status); }; }; then
14167
 
 
14168
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14169
 
}'`
14170
 
# Check for a 64-bit object if we didn't find anything.
14171
 
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; }
14172
 
}'`; fi
14173
 
else
14174
 
  echo "$as_me: failed program was:" >&5
14175
 
sed 's/^/| /' conftest.$ac_ext >&5
14176
 
 
14177
 
fi
14178
 
rm -f conftest.err conftest.$ac_objext \
14179
 
      conftest$ac_exeext conftest.$ac_ext
14180
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14181
 
 
14182
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14183
 
        archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14184
 
       else
14185
 
        if test "$host_cpu" = ia64; then
14186
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14187
 
          allow_undefined_flag_F77="-z nodefs"
14188
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
14189
 
        else
14190
 
         # Determine the default libpath from the value encoded in an empty executable.
14191
 
         cat >conftest.$ac_ext <<_ACEOF
14192
 
      program main
14193
 
 
14194
 
      end
14195
 
_ACEOF
14196
 
rm -f conftest.$ac_objext conftest$ac_exeext
14197
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14198
 
  (eval $ac_link) 2>conftest.er1
14199
 
  ac_status=$?
14200
 
  grep -v '^ *+' conftest.er1 >conftest.err
14201
 
  rm -f conftest.er1
14202
 
  cat conftest.err >&5
14203
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14204
 
  (exit $ac_status); } &&
14205
 
         { ac_try='test -z "$ac_f77_werror_flag"
14206
 
                         || test ! -s conftest.err'
14207
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14208
 
  (eval $ac_try) 2>&5
14209
 
  ac_status=$?
14210
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14211
 
  (exit $ac_status); }; } &&
14212
 
         { ac_try='test -s conftest$ac_exeext'
14213
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14214
 
  (eval $ac_try) 2>&5
14215
 
  ac_status=$?
14216
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14217
 
  (exit $ac_status); }; }; then
14218
 
 
14219
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14220
 
}'`
14221
 
# Check for a 64-bit object if we didn't find anything.
14222
 
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; }
14223
 
}'`; fi
14224
 
else
14225
 
  echo "$as_me: failed program was:" >&5
14226
 
sed 's/^/| /' conftest.$ac_ext >&5
14227
 
 
14228
 
fi
14229
 
rm -f conftest.err conftest.$ac_objext \
14230
 
      conftest$ac_exeext conftest.$ac_ext
14231
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14232
 
 
14233
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14234
 
          # Warning - without using the other run time loading flags,
14235
 
          # -berok will link without error, but may produce a broken library.
14236
 
          no_undefined_flag_F77=' ${wl}-bernotok'
14237
 
          allow_undefined_flag_F77=' ${wl}-berok'
14238
 
          # Exported symbols can be pulled into shared objects from archives
14239
 
          whole_archive_flag_spec_F77='$convenience'
14240
 
          archive_cmds_need_lc_F77=yes
14241
 
          # This is similar to how AIX traditionally builds its shared libraries.
14242
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14243
 
        fi
14244
 
      fi
14245
 
      ;;
14246
 
 
14247
 
    amigaos*)
14248
 
      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)'
14249
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14250
 
      hardcode_minus_L_F77=yes
14251
 
      # see comment about different semantics on the GNU ld section
14252
 
      ld_shlibs_F77=no
14253
 
      ;;
14254
 
 
14255
 
    bsdi[45]*)
14256
 
      export_dynamic_flag_spec_F77=-rdynamic
14257
 
      ;;
14258
 
 
14259
 
    cygwin* | mingw* | pw32*)
14260
 
      # When not using gcc, we currently assume that we are using
14261
 
      # Microsoft Visual C++.
14262
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
14263
 
      # no search path for DLLs.
14264
 
      hardcode_libdir_flag_spec_F77=' '
14265
 
      allow_undefined_flag_F77=unsupported
14266
 
      # Tell ltmain to make .lib files, not .a files.
14267
 
      libext=lib
14268
 
      # Tell ltmain to make .dll files, not .so files.
14269
 
      shrext_cmds=".dll"
14270
 
      # FIXME: Setting linknames here is a bad hack.
14271
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14272
 
      # The linker will automatically build a .lib file if we build a DLL.
14273
 
      old_archive_From_new_cmds_F77='true'
14274
 
      # FIXME: Should let the user specify the lib program.
14275
 
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
14276
 
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
14277
 
      enable_shared_with_static_runtimes_F77=yes
14278
 
      ;;
14279
 
 
14280
 
    darwin* | rhapsody*)
14281
 
      case $host_os in
14282
 
        rhapsody* | darwin1.[012])
14283
 
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
14284
 
         ;;
14285
 
       *) # Darwin 1.3 on
14286
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14287
 
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14288
 
         else
14289
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
14290
 
             10.[012])
14291
 
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14292
 
               ;;
14293
 
             10.*)
14294
 
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
14295
 
               ;;
14296
 
           esac
14297
 
         fi
14298
 
         ;;
14299
 
      esac
14300
 
      archive_cmds_need_lc_F77=no
14301
 
      hardcode_direct_F77=no
14302
 
      hardcode_automatic_F77=yes
14303
 
      hardcode_shlibpath_var_F77=unsupported
14304
 
      whole_archive_flag_spec_F77=''
14305
 
      link_all_deplibs_F77=yes
14306
 
    if test "$GCC" = yes ; then
14307
 
        output_verbose_link_cmd='echo'
14308
 
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14309
 
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14310
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14311
 
      archive_expsym_cmds_F77='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}'
14312
 
      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}'
14313
 
    else
14314
 
      case $cc_basename in
14315
 
        xlc*)
14316
 
         output_verbose_link_cmd='echo'
14317
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14318
 
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14319
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14320
 
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14321
 
          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}'
14322
 
          ;;
14323
 
       *)
14324
 
         ld_shlibs_F77=no
14325
 
          ;;
14326
 
      esac
14327
 
    fi
14328
 
      ;;
14329
 
 
14330
 
    dgux*)
14331
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14332
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14333
 
      hardcode_shlibpath_var_F77=no
14334
 
      ;;
14335
 
 
14336
 
    freebsd1*)
14337
 
      ld_shlibs_F77=no
14338
 
      ;;
14339
 
 
14340
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14341
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
14342
 
    # does not break anything, and helps significantly (at the cost of a little
14343
 
    # extra space).
14344
 
    freebsd2.2*)
14345
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14346
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
14347
 
      hardcode_direct_F77=yes
14348
 
      hardcode_shlibpath_var_F77=no
14349
 
      ;;
14350
 
 
14351
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14352
 
    freebsd2*)
14353
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14354
 
      hardcode_direct_F77=yes
14355
 
      hardcode_minus_L_F77=yes
14356
 
      hardcode_shlibpath_var_F77=no
14357
 
      ;;
14358
 
 
14359
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14360
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
14361
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14362
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
14363
 
      hardcode_direct_F77=yes
14364
 
      hardcode_shlibpath_var_F77=no
14365
 
      ;;
14366
 
 
14367
 
    hpux9*)
14368
 
      if test "$GCC" = yes; then
14369
 
        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'
14370
 
      else
14371
 
        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'
14372
 
      fi
14373
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
14374
 
      hardcode_libdir_separator_F77=:
14375
 
      hardcode_direct_F77=yes
14376
 
 
14377
 
      # hardcode_minus_L: Not really in the search PATH,
14378
 
      # but as the default location of the library.
14379
 
      hardcode_minus_L_F77=yes
14380
 
      export_dynamic_flag_spec_F77='${wl}-E'
14381
 
      ;;
14382
 
 
14383
 
    hpux10*)
14384
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
14385
 
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14386
 
      else
14387
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14388
 
      fi
14389
 
      if test "$with_gnu_ld" = no; then
14390
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
14391
 
        hardcode_libdir_separator_F77=:
14392
 
 
14393
 
        hardcode_direct_F77=yes
14394
 
        export_dynamic_flag_spec_F77='${wl}-E'
14395
 
 
14396
 
        # hardcode_minus_L: Not really in the search PATH,
14397
 
        # but as the default location of the library.
14398
 
        hardcode_minus_L_F77=yes
14399
 
      fi
14400
 
      ;;
14401
 
 
14402
 
    hpux11*)
14403
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
14404
 
        case $host_cpu in
14405
 
        hppa*64*)
14406
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14407
 
          ;;
14408
 
        ia64*)
14409
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14410
 
          ;;
14411
 
        *)
14412
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14413
 
          ;;
14414
 
        esac
14415
 
      else
14416
 
        case $host_cpu in
14417
 
        hppa*64*)
14418
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14419
 
          ;;
14420
 
        ia64*)
14421
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14422
 
          ;;
14423
 
        *)
14424
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14425
 
          ;;
14426
 
        esac
14427
 
      fi
14428
 
      if test "$with_gnu_ld" = no; then
14429
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
14430
 
        hardcode_libdir_separator_F77=:
14431
 
 
14432
 
        case $host_cpu in
14433
 
        hppa*64*|ia64*)
14434
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
14435
 
          hardcode_direct_F77=no
14436
 
          hardcode_shlibpath_var_F77=no
14437
 
          ;;
14438
 
        *)
14439
 
          hardcode_direct_F77=yes
14440
 
          export_dynamic_flag_spec_F77='${wl}-E'
14441
 
 
14442
 
          # hardcode_minus_L: Not really in the search PATH,
14443
 
          # but as the default location of the library.
14444
 
          hardcode_minus_L_F77=yes
14445
 
          ;;
14446
 
        esac
14447
 
      fi
14448
 
      ;;
14449
 
 
14450
 
    irix5* | irix6* | nonstopux*)
14451
 
      if test "$GCC" = yes; then
14452
 
        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'
14453
 
      else
14454
 
        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'
14455
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
14456
 
      fi
14457
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
14458
 
      hardcode_libdir_separator_F77=:
14459
 
      link_all_deplibs_F77=yes
14460
 
      ;;
14461
 
 
14462
 
    netbsd*)
14463
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14464
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
14465
 
      else
14466
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
14467
 
      fi
14468
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
14469
 
      hardcode_direct_F77=yes
14470
 
      hardcode_shlibpath_var_F77=no
14471
 
      ;;
14472
 
 
14473
 
    newsos6)
14474
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14475
 
      hardcode_direct_F77=yes
14476
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
14477
 
      hardcode_libdir_separator_F77=:
14478
 
      hardcode_shlibpath_var_F77=no
14479
 
      ;;
14480
 
 
14481
 
    openbsd*)
14482
 
      hardcode_direct_F77=yes
14483
 
      hardcode_shlibpath_var_F77=no
14484
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14485
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14486
 
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14487
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14488
 
        export_dynamic_flag_spec_F77='${wl}-E'
14489
 
      else
14490
 
       case $host_os in
14491
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14492
 
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14493
 
           hardcode_libdir_flag_spec_F77='-R$libdir'
14494
 
           ;;
14495
 
         *)
14496
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14497
 
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14498
 
           ;;
14499
 
       esac
14500
 
      fi
14501
 
      ;;
14502
 
 
14503
 
    os2*)
14504
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14505
 
      hardcode_minus_L_F77=yes
14506
 
      allow_undefined_flag_F77=unsupported
14507
 
      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'
14508
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14509
 
      ;;
14510
 
 
14511
 
    osf3*)
14512
 
      if test "$GCC" = yes; then
14513
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
14514
 
        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'
14515
 
      else
14516
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
14517
 
        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'
14518
 
      fi
14519
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
14520
 
      hardcode_libdir_separator_F77=:
14521
 
      ;;
14522
 
 
14523
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
14524
 
      if test "$GCC" = yes; then
14525
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
14526
 
        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'
14527
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
14528
 
      else
14529
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
14530
 
        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'
14531
 
        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~
14532
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
14533
 
 
14534
 
        # Both c and cxx compiler support -rpath directly
14535
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
14536
 
      fi
14537
 
      hardcode_libdir_separator_F77=:
14538
 
      ;;
14539
 
 
14540
 
    solaris*)
14541
 
      no_undefined_flag_F77=' -z text'
14542
 
      if test "$GCC" = yes; then
14543
 
        wlarc='${wl}'
14544
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14545
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14546
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14547
 
      else
14548
 
        wlarc=''
14549
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14550
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14551
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14552
 
      fi
14553
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
14554
 
      hardcode_shlibpath_var_F77=no
14555
 
      case $host_os in
14556
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
14557
 
      *)
14558
 
        # The compiler driver will combine linker options so we
14559
 
        # cannot just pass the convience library names through
14560
 
        # without $wl, iff we do not link with $LD.
14561
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
14562
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
14563
 
        case $wlarc in
14564
 
        '')
14565
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
14566
 
        *)
14567
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
14568
 
        esac ;;
14569
 
      esac
14570
 
      link_all_deplibs_F77=yes
14571
 
      ;;
14572
 
 
14573
 
    sunos4*)
14574
 
      if test "x$host_vendor" = xsequent; then
14575
 
        # Use $CC to link under sequent, because it throws in some extra .o
14576
 
        # files that make .init and .fini sections work.
14577
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14578
 
      else
14579
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14580
 
      fi
14581
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14582
 
      hardcode_direct_F77=yes
14583
 
      hardcode_minus_L_F77=yes
14584
 
      hardcode_shlibpath_var_F77=no
14585
 
      ;;
14586
 
 
14587
 
    sysv4)
14588
 
      case $host_vendor in
14589
 
        sni)
14590
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14591
 
          hardcode_direct_F77=yes # is this really true???
14592
 
        ;;
14593
 
        siemens)
14594
 
          ## LD is ld it makes a PLAMLIB
14595
 
          ## CC just makes a GrossModule.
14596
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14597
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
14598
 
          hardcode_direct_F77=no
14599
 
        ;;
14600
 
        motorola)
14601
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14602
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
14603
 
        ;;
14604
 
      esac
14605
 
      runpath_var='LD_RUN_PATH'
14606
 
      hardcode_shlibpath_var_F77=no
14607
 
      ;;
14608
 
 
14609
 
    sysv4.3*)
14610
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14611
 
      hardcode_shlibpath_var_F77=no
14612
 
      export_dynamic_flag_spec_F77='-Bexport'
14613
 
      ;;
14614
 
 
14615
 
    sysv4*MP*)
14616
 
      if test -d /usr/nec; then
14617
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14618
 
        hardcode_shlibpath_var_F77=no
14619
 
        runpath_var=LD_RUN_PATH
14620
 
        hardcode_runpath_var=yes
14621
 
        ld_shlibs_F77=yes
14622
 
      fi
14623
 
      ;;
14624
 
 
14625
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
14626
 
      no_undefined_flag_F77='${wl}-z,text'
14627
 
      archive_cmds_need_lc_F77=no
14628
 
      hardcode_shlibpath_var_F77=no
14629
 
      runpath_var='LD_RUN_PATH'
14630
 
 
14631
 
      if test "$GCC" = yes; then
14632
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14633
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14634
 
      else
14635
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14636
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14637
 
      fi
14638
 
      ;;
14639
 
 
14640
 
    sysv5* | sco3.2v5* | sco5v6*)
14641
 
      # Note: We can NOT use -z defs as we might desire, because we do not
14642
 
      # link with -lc, and that would cause any symbols used from libc to
14643
 
      # always be unresolved, which means just about no library would
14644
 
      # ever link correctly.  If we're not using GNU ld we use -z text
14645
 
      # though, which does catch some bad symbols but isn't as heavy-handed
14646
 
      # as -z defs.
14647
 
      no_undefined_flag_F77='${wl}-z,text'
14648
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
14649
 
      archive_cmds_need_lc_F77=no
14650
 
      hardcode_shlibpath_var_F77=no
14651
 
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
14652
 
      hardcode_libdir_separator_F77=':'
14653
 
      link_all_deplibs_F77=yes
14654
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
14655
 
      runpath_var='LD_RUN_PATH'
14656
 
 
14657
 
      if test "$GCC" = yes; then
14658
 
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14659
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14660
 
      else
14661
 
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14662
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14663
 
      fi
14664
 
      ;;
14665
 
 
14666
 
    uts4*)
14667
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14668
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14669
 
      hardcode_shlibpath_var_F77=no
14670
 
      ;;
14671
 
 
14672
 
    *)
14673
 
      ld_shlibs_F77=no
14674
 
      ;;
14675
 
    esac
14676
 
  fi
14677
 
 
14678
 
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14679
 
echo "${ECHO_T}$ld_shlibs_F77" >&6
14680
 
test "$ld_shlibs_F77" = no && can_build_shared=no
14681
 
 
14682
 
#
14683
 
# Do we need to explicitly link libc?
14684
 
#
14685
 
case "x$archive_cmds_need_lc_F77" in
14686
 
x|xyes)
14687
 
  # Assume -lc should be added
14688
 
  archive_cmds_need_lc_F77=yes
14689
 
 
14690
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
14691
 
    case $archive_cmds_F77 in
14692
 
    *'~'*)
14693
 
      # FIXME: we may have to deal with multi-command sequences.
14694
 
      ;;
14695
 
    '$CC '*)
14696
 
      # Test whether the compiler implicitly links with -lc since on some
14697
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14698
 
      # to ld, don't add -lc before -lgcc.
14699
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14700
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14701
 
      $rm conftest*
14702
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14703
 
 
14704
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14705
 
  (eval $ac_compile) 2>&5
14706
 
  ac_status=$?
14707
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14708
 
  (exit $ac_status); } 2>conftest.err; then
14709
 
        soname=conftest
14710
 
        lib=conftest
14711
 
        libobjs=conftest.$ac_objext
14712
 
        deplibs=
14713
 
        wl=$lt_prog_compiler_wl_F77
14714
 
        pic_flag=$lt_prog_compiler_pic_F77
14715
 
        compiler_flags=-v
14716
 
        linker_flags=-v
14717
 
        verstring=
14718
 
        output_objdir=.
14719
 
        libname=conftest
14720
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
14721
 
        allow_undefined_flag_F77=
14722
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14723
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
14724
 
  ac_status=$?
14725
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14726
 
  (exit $ac_status); }
14727
 
        then
14728
 
          archive_cmds_need_lc_F77=no
14729
 
        else
14730
 
          archive_cmds_need_lc_F77=yes
14731
 
        fi
14732
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
14733
 
      else
14734
 
        cat conftest.err 1>&5
14735
 
      fi
14736
 
      $rm conftest*
14737
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14738
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14739
 
      ;;
14740
 
    esac
14741
 
  fi
14742
 
  ;;
14743
 
esac
14744
 
 
14745
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14746
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14747
 
library_names_spec=
14748
 
libname_spec='lib$name'
14749
 
soname_spec=
14750
 
shrext_cmds=".so"
14751
 
postinstall_cmds=
14752
 
postuninstall_cmds=
14753
 
finish_cmds=
14754
 
finish_eval=
14755
 
shlibpath_var=
14756
 
shlibpath_overrides_runpath=unknown
14757
 
version_type=none
14758
 
dynamic_linker="$host_os ld.so"
14759
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14760
 
if test "$GCC" = yes; then
14761
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14762
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14763
 
    # if the path contains ";" then we assume it to be the separator
14764
 
    # otherwise default to the standard path separator (i.e. ":") - it is
14765
 
    # assumed that no part of a normal pathname contains ";" but that should
14766
 
    # okay in the real world where ";" in dirpaths is itself problematic.
14767
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14768
 
  else
14769
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14770
 
  fi
14771
 
else
14772
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14773
 
fi
14774
 
need_lib_prefix=unknown
14775
 
hardcode_into_libs=no
14776
 
 
14777
 
# when you set need_version to no, make sure it does not cause -set_version
14778
 
# flags to be left without arguments
14779
 
need_version=unknown
14780
 
 
14781
 
case $host_os in
14782
 
aix3*)
14783
 
  version_type=linux
14784
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14785
 
  shlibpath_var=LIBPATH
14786
 
 
14787
 
  # AIX 3 has no versioning support, so we append a major version to the name.
14788
 
  soname_spec='${libname}${release}${shared_ext}$major'
14789
 
  ;;
14790
 
 
14791
 
aix4* | aix5*)
14792
 
  version_type=linux
14793
 
  need_lib_prefix=no
14794
 
  need_version=no
14795
 
  hardcode_into_libs=yes
14796
 
  if test "$host_cpu" = ia64; then
14797
 
    # AIX 5 supports IA64
14798
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14799
 
    shlibpath_var=LD_LIBRARY_PATH
14800
 
  else
14801
 
    # With GCC up to 2.95.x, collect2 would create an import file
14802
 
    # for dependence libraries.  The import file would start with
14803
 
    # the line `#! .'.  This would cause the generated library to
14804
 
    # depend on `.', always an invalid library.  This was fixed in
14805
 
    # development snapshots of GCC prior to 3.0.
14806
 
    case $host_os in
14807
 
      aix4 | aix4.[01] | aix4.[01].*)
14808
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14809
 
           echo ' yes '
14810
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14811
 
        :
14812
 
      else
14813
 
        can_build_shared=no
14814
 
      fi
14815
 
      ;;
14816
 
    esac
14817
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14818
 
    # soname into executable. Probably we can add versioning support to
14819
 
    # collect2, so additional links can be useful in future.
14820
 
    if test "$aix_use_runtimelinking" = yes; then
14821
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14822
 
      # instead of lib<name>.a to let people know that these are not
14823
 
      # typical AIX shared libraries.
14824
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14825
 
    else
14826
 
      # We preserve .a as extension for shared libraries through AIX4.2
14827
 
      # and later when we are not doing run time linking.
14828
 
      library_names_spec='${libname}${release}.a $libname.a'
14829
 
      soname_spec='${libname}${release}${shared_ext}$major'
14830
 
    fi
14831
 
    shlibpath_var=LIBPATH
14832
 
  fi
14833
 
  ;;
14834
 
 
14835
 
amigaos*)
14836
 
  library_names_spec='$libname.ixlibrary $libname.a'
14837
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
14838
 
  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'
14839
 
  ;;
14840
 
 
14841
 
beos*)
14842
 
  library_names_spec='${libname}${shared_ext}'
14843
 
  dynamic_linker="$host_os ld.so"
14844
 
  shlibpath_var=LIBRARY_PATH
14845
 
  ;;
14846
 
 
14847
 
bsdi[45]*)
14848
 
  version_type=linux
14849
 
  need_version=no
14850
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14851
 
  soname_spec='${libname}${release}${shared_ext}$major'
14852
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14853
 
  shlibpath_var=LD_LIBRARY_PATH
14854
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14855
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14856
 
  # the default ld.so.conf also contains /usr/contrib/lib and
14857
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14858
 
  # libtool to hard-code these into programs
14859
 
  ;;
14860
 
 
14861
 
cygwin* | mingw* | pw32*)
14862
 
  version_type=windows
14863
 
  shrext_cmds=".dll"
14864
 
  need_version=no
14865
 
  need_lib_prefix=no
14866
 
 
14867
 
  case $GCC,$host_os in
14868
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
14869
 
    library_names_spec='$libname.dll.a'
14870
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14871
 
    postinstall_cmds='base_file=`basename \${file}`~
14872
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14873
 
      dldir=$destdir/`dirname \$dlpath`~
14874
 
      test -d \$dldir || mkdir -p \$dldir~
14875
 
      $install_prog $dir/$dlname \$dldir/$dlname~
14876
 
      chmod a+x \$dldir/$dlname'
14877
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14878
 
      dlpath=$dir/\$dldll~
14879
 
       $rm \$dlpath'
14880
 
    shlibpath_overrides_runpath=yes
14881
 
 
14882
 
    case $host_os in
14883
 
    cygwin*)
14884
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14885
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14886
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14887
 
      ;;
14888
 
    mingw*)
14889
 
      # MinGW DLLs use traditional 'lib' prefix
14890
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14891
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14892
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14893
 
        # It is most probably a Windows format PATH printed by
14894
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
14895
 
        # path with ; separators, and with drive letters. We can handle the
14896
 
        # drive letters (cygwin fileutils understands them), so leave them,
14897
 
        # especially as we might pass files found there to a mingw objdump,
14898
 
        # which wouldn't understand a cygwinified path. Ahh.
14899
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14900
 
      else
14901
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14902
 
      fi
14903
 
      ;;
14904
 
    pw32*)
14905
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
14906
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14907
 
      ;;
14908
 
    esac
14909
 
    ;;
14910
 
 
14911
 
  *)
14912
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14913
 
    ;;
14914
 
  esac
14915
 
  dynamic_linker='Win32 ld.exe'
14916
 
  # FIXME: first we should search . and the directory the executable is in
14917
 
  shlibpath_var=PATH
14918
 
  ;;
14919
 
 
14920
 
darwin* | rhapsody*)
14921
 
  dynamic_linker="$host_os dyld"
14922
 
  version_type=darwin
14923
 
  need_lib_prefix=no
14924
 
  need_version=no
14925
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14926
 
  soname_spec='${libname}${release}${major}$shared_ext'
14927
 
  shlibpath_overrides_runpath=yes
14928
 
  shlibpath_var=DYLD_LIBRARY_PATH
14929
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14930
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14931
 
  if test "$GCC" = yes; then
14932
 
    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"`
14933
 
  else
14934
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
14935
 
  fi
14936
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14937
 
  ;;
14938
 
 
14939
 
dgux*)
14940
 
  version_type=linux
14941
 
  need_lib_prefix=no
14942
 
  need_version=no
14943
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14944
 
  soname_spec='${libname}${release}${shared_ext}$major'
14945
 
  shlibpath_var=LD_LIBRARY_PATH
14946
 
  ;;
14947
 
 
14948
 
freebsd1*)
14949
 
  dynamic_linker=no
14950
 
  ;;
14951
 
 
14952
 
kfreebsd*-gnu)
14953
 
  version_type=linux
14954
 
  need_lib_prefix=no
14955
 
  need_version=no
14956
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14957
 
  soname_spec='${libname}${release}${shared_ext}$major'
14958
 
  shlibpath_var=LD_LIBRARY_PATH
14959
 
  shlibpath_overrides_runpath=no
14960
 
  hardcode_into_libs=yes
14961
 
  dynamic_linker='GNU ld.so'
14962
 
  ;;
14963
 
 
14964
 
freebsd* | dragonfly*)
14965
 
  # DragonFly does not have aout.  When/if they implement a new
14966
 
  # versioning mechanism, adjust this.
14967
 
  if test -x /usr/bin/objformat; then
14968
 
    objformat=`/usr/bin/objformat`
14969
 
  else
14970
 
    case $host_os in
14971
 
    freebsd[123]*) objformat=aout ;;
14972
 
    *) objformat=elf ;;
14973
 
    esac
14974
 
  fi
14975
 
  version_type=freebsd-$objformat
14976
 
  case $version_type in
14977
 
    freebsd-elf*)
14978
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14979
 
      need_version=no
14980
 
      need_lib_prefix=no
14981
 
      ;;
14982
 
    freebsd-*)
14983
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14984
 
      need_version=yes
14985
 
      ;;
14986
 
  esac
14987
 
  shlibpath_var=LD_LIBRARY_PATH
14988
 
  case $host_os in
14989
 
  freebsd2*)
14990
 
    shlibpath_overrides_runpath=yes
14991
 
    ;;
14992
 
  freebsd3.[01]* | freebsdelf3.[01]*)
14993
 
    shlibpath_overrides_runpath=yes
14994
 
    hardcode_into_libs=yes
14995
 
    ;;
14996
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14997
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14998
 
    shlibpath_overrides_runpath=no
14999
 
    hardcode_into_libs=yes
15000
 
    ;;
15001
 
  freebsd*) # from 4.6 on
15002
 
    shlibpath_overrides_runpath=yes
15003
 
    hardcode_into_libs=yes
15004
 
    ;;
15005
 
  esac
15006
 
  ;;
15007
 
 
15008
 
gnu*)
15009
 
  version_type=linux
15010
 
  need_lib_prefix=no
15011
 
  need_version=no
15012
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15013
 
  soname_spec='${libname}${release}${shared_ext}$major'
15014
 
  shlibpath_var=LD_LIBRARY_PATH
15015
 
  hardcode_into_libs=yes
15016
 
  ;;
15017
 
 
15018
 
hpux9* | hpux10* | hpux11*)
15019
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
15020
 
  # link against other versions.
15021
 
  version_type=sunos
15022
 
  need_lib_prefix=no
15023
 
  need_version=no
15024
 
  case $host_cpu in
15025
 
  ia64*)
15026
 
    shrext_cmds='.so'
15027
 
    hardcode_into_libs=yes
15028
 
    dynamic_linker="$host_os dld.so"
15029
 
    shlibpath_var=LD_LIBRARY_PATH
15030
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15031
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15032
 
    soname_spec='${libname}${release}${shared_ext}$major'
15033
 
    if test "X$HPUX_IA64_MODE" = X32; then
15034
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15035
 
    else
15036
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15037
 
    fi
15038
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15039
 
    ;;
15040
 
   hppa*64*)
15041
 
     shrext_cmds='.sl'
15042
 
     hardcode_into_libs=yes
15043
 
     dynamic_linker="$host_os dld.sl"
15044
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15045
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15046
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15047
 
     soname_spec='${libname}${release}${shared_ext}$major'
15048
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15049
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15050
 
     ;;
15051
 
   *)
15052
 
    shrext_cmds='.sl'
15053
 
    dynamic_linker="$host_os dld.sl"
15054
 
    shlibpath_var=SHLIB_PATH
15055
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15056
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15057
 
    soname_spec='${libname}${release}${shared_ext}$major'
15058
 
    ;;
15059
 
  esac
15060
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
15061
 
  postinstall_cmds='chmod 555 $lib'
15062
 
  ;;
15063
 
 
15064
 
interix3*)
15065
 
  version_type=linux
15066
 
  need_lib_prefix=no
15067
 
  need_version=no
15068
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15069
 
  soname_spec='${libname}${release}${shared_ext}$major'
15070
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15071
 
  shlibpath_var=LD_LIBRARY_PATH
15072
 
  shlibpath_overrides_runpath=no
15073
 
  hardcode_into_libs=yes
15074
 
  ;;
15075
 
 
15076
 
irix5* | irix6* | nonstopux*)
15077
 
  case $host_os in
15078
 
    nonstopux*) version_type=nonstopux ;;
15079
 
    *)
15080
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
15081
 
                version_type=linux
15082
 
        else
15083
 
                version_type=irix
15084
 
        fi ;;
15085
 
  esac
15086
 
  need_lib_prefix=no
15087
 
  need_version=no
15088
 
  soname_spec='${libname}${release}${shared_ext}$major'
15089
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15090
 
  case $host_os in
15091
 
  irix5* | nonstopux*)
15092
 
    libsuff= shlibsuff=
15093
 
    ;;
15094
 
  *)
15095
 
    case $LD in # libtool.m4 will add one of these switches to LD
15096
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15097
 
      libsuff= shlibsuff= libmagic=32-bit;;
15098
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15099
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
15100
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15101
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
15102
 
    *) libsuff= shlibsuff= libmagic=never-match;;
15103
 
    esac
15104
 
    ;;
15105
 
  esac
15106
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15107
 
  shlibpath_overrides_runpath=no
15108
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15109
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15110
 
  hardcode_into_libs=yes
15111
 
  ;;
15112
 
 
15113
 
# No shared lib support for Linux oldld, aout, or coff.
15114
 
linux*oldld* | linux*aout* | linux*coff*)
15115
 
  dynamic_linker=no
15116
 
  ;;
15117
 
 
15118
 
# This must be Linux ELF.
15119
 
linux*)
15120
 
  version_type=linux
15121
 
  need_lib_prefix=no
15122
 
  need_version=no
15123
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15124
 
  soname_spec='${libname}${release}${shared_ext}$major'
15125
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15126
 
  shlibpath_var=LD_LIBRARY_PATH
15127
 
  shlibpath_overrides_runpath=no
15128
 
  # This implies no fast_install, which is unacceptable.
15129
 
  # Some rework will be needed to allow for fast_install
15130
 
  # before this can be enabled.
15131
 
  hardcode_into_libs=yes
15132
 
 
15133
 
  # Append ld.so.conf contents to the search path
15134
 
  if test -f /etc/ld.so.conf; then
15135
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15136
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15137
 
  fi
15138
 
 
15139
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
15140
 
  # powerpc, because MkLinux only supported shared libraries with the
15141
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
15142
 
  # most powerpc-linux boxes support dynamic linking these days and
15143
 
  # people can always --disable-shared, the test was removed, and we
15144
 
  # assume the GNU/Linux dynamic linker is in use.
15145
 
  dynamic_linker='GNU/Linux ld.so'
15146
 
  ;;
15147
 
 
15148
 
knetbsd*-gnu)
15149
 
  version_type=linux
15150
 
  need_lib_prefix=no
15151
 
  need_version=no
15152
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15153
 
  soname_spec='${libname}${release}${shared_ext}$major'
15154
 
  shlibpath_var=LD_LIBRARY_PATH
15155
 
  shlibpath_overrides_runpath=no
15156
 
  hardcode_into_libs=yes
15157
 
  dynamic_linker='GNU ld.so'
15158
 
  ;;
15159
 
 
15160
 
netbsd*)
15161
 
  version_type=sunos
15162
 
  need_lib_prefix=no
15163
 
  need_version=no
15164
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15165
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15166
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15167
 
    dynamic_linker='NetBSD (a.out) ld.so'
15168
 
  else
15169
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15170
 
    soname_spec='${libname}${release}${shared_ext}$major'
15171
 
    dynamic_linker='NetBSD ld.elf_so'
15172
 
  fi
15173
 
  shlibpath_var=LD_LIBRARY_PATH
15174
 
  shlibpath_overrides_runpath=yes
15175
 
  hardcode_into_libs=yes
15176
 
  ;;
15177
 
 
15178
 
newsos6)
15179
 
  version_type=linux
15180
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15181
 
  shlibpath_var=LD_LIBRARY_PATH
15182
 
  shlibpath_overrides_runpath=yes
15183
 
  ;;
15184
 
 
15185
 
nto-qnx*)
15186
 
  version_type=linux
15187
 
  need_lib_prefix=no
15188
 
  need_version=no
15189
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15190
 
  soname_spec='${libname}${release}${shared_ext}$major'
15191
 
  shlibpath_var=LD_LIBRARY_PATH
15192
 
  shlibpath_overrides_runpath=yes
15193
 
  ;;
15194
 
 
15195
 
openbsd*)
15196
 
  version_type=sunos
15197
 
  sys_lib_dlsearch_path_spec="/usr/lib"
15198
 
  need_lib_prefix=no
15199
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15200
 
  case $host_os in
15201
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15202
 
    *)                         need_version=no  ;;
15203
 
  esac
15204
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15205
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15206
 
  shlibpath_var=LD_LIBRARY_PATH
15207
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15208
 
    case $host_os in
15209
 
      openbsd2.[89] | openbsd2.[89].*)
15210
 
        shlibpath_overrides_runpath=no
15211
 
        ;;
15212
 
      *)
15213
 
        shlibpath_overrides_runpath=yes
15214
 
        ;;
15215
 
      esac
15216
 
  else
15217
 
    shlibpath_overrides_runpath=yes
15218
 
  fi
15219
 
  ;;
15220
 
 
15221
 
os2*)
15222
 
  libname_spec='$name'
15223
 
  shrext_cmds=".dll"
15224
 
  need_lib_prefix=no
15225
 
  library_names_spec='$libname${shared_ext} $libname.a'
15226
 
  dynamic_linker='OS/2 ld.exe'
15227
 
  shlibpath_var=LIBPATH
15228
 
  ;;
15229
 
 
15230
 
osf3* | osf4* | osf5*)
15231
 
  version_type=osf
15232
 
  need_lib_prefix=no
15233
 
  need_version=no
15234
 
  soname_spec='${libname}${release}${shared_ext}$major'
15235
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15236
 
  shlibpath_var=LD_LIBRARY_PATH
15237
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15238
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15239
 
  ;;
15240
 
 
15241
 
solaris*)
15242
 
  version_type=linux
15243
 
  need_lib_prefix=no
15244
 
  need_version=no
15245
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15246
 
  soname_spec='${libname}${release}${shared_ext}$major'
15247
 
  shlibpath_var=LD_LIBRARY_PATH
15248
 
  shlibpath_overrides_runpath=yes
15249
 
  hardcode_into_libs=yes
15250
 
  # ldd complains unless libraries are executable
15251
 
  postinstall_cmds='chmod +x $lib'
15252
 
  ;;
15253
 
 
15254
 
sunos4*)
15255
 
  version_type=sunos
15256
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15257
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15258
 
  shlibpath_var=LD_LIBRARY_PATH
15259
 
  shlibpath_overrides_runpath=yes
15260
 
  if test "$with_gnu_ld" = yes; then
15261
 
    need_lib_prefix=no
15262
 
  fi
15263
 
  need_version=yes
15264
 
  ;;
15265
 
 
15266
 
sysv4 | sysv4.3*)
15267
 
  version_type=linux
15268
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15269
 
  soname_spec='${libname}${release}${shared_ext}$major'
15270
 
  shlibpath_var=LD_LIBRARY_PATH
15271
 
  case $host_vendor in
15272
 
    sni)
15273
 
      shlibpath_overrides_runpath=no
15274
 
      need_lib_prefix=no
15275
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
15276
 
      runpath_var=LD_RUN_PATH
15277
 
      ;;
15278
 
    siemens)
15279
 
      need_lib_prefix=no
15280
 
      ;;
15281
 
    motorola)
15282
 
      need_lib_prefix=no
15283
 
      need_version=no
15284
 
      shlibpath_overrides_runpath=no
15285
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15286
 
      ;;
15287
 
  esac
15288
 
  ;;
15289
 
 
15290
 
sysv4*MP*)
15291
 
  if test -d /usr/nec ;then
15292
 
    version_type=linux
15293
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15294
 
    soname_spec='$libname${shared_ext}.$major'
15295
 
    shlibpath_var=LD_LIBRARY_PATH
15296
 
  fi
15297
 
  ;;
15298
 
 
15299
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15300
 
  version_type=freebsd-elf
15301
 
  need_lib_prefix=no
15302
 
  need_version=no
15303
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15304
 
  soname_spec='${libname}${release}${shared_ext}$major'
15305
 
  shlibpath_var=LD_LIBRARY_PATH
15306
 
  hardcode_into_libs=yes
15307
 
  if test "$with_gnu_ld" = yes; then
15308
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15309
 
    shlibpath_overrides_runpath=no
15310
 
  else
15311
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15312
 
    shlibpath_overrides_runpath=yes
15313
 
    case $host_os in
15314
 
      sco3.2v5*)
15315
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15316
 
        ;;
15317
 
    esac
15318
 
  fi
15319
 
  sys_lib_dlsearch_path_spec='/usr/lib'
15320
 
  ;;
15321
 
 
15322
 
uts4*)
15323
 
  version_type=linux
15324
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15325
 
  soname_spec='${libname}${release}${shared_ext}$major'
15326
 
  shlibpath_var=LD_LIBRARY_PATH
15327
 
  ;;
15328
 
 
15329
 
*)
15330
 
  dynamic_linker=no
15331
 
  ;;
15332
 
esac
15333
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15334
 
echo "${ECHO_T}$dynamic_linker" >&6
15335
 
test "$dynamic_linker" = no && can_build_shared=no
15336
 
 
15337
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15338
 
if test "$GCC" = yes; then
15339
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15340
 
fi
15341
 
 
15342
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15343
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15344
 
hardcode_action_F77=
15345
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
15346
 
   test -n "$runpath_var_F77" || \
15347
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
15348
 
 
15349
 
  # We can hardcode non-existant directories.
15350
 
  if test "$hardcode_direct_F77" != no &&
15351
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
15352
 
     # have to relink, otherwise we might link with an installed library
15353
 
     # when we should be linking with a yet-to-be-installed one
15354
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15355
 
     test "$hardcode_minus_L_F77" != no; then
15356
 
    # Linking always hardcodes the temporary library directory.
15357
 
    hardcode_action_F77=relink
15358
 
  else
15359
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
15360
 
    hardcode_action_F77=immediate
15361
 
  fi
15362
 
else
15363
 
  # We cannot hardcode anything, or else we can only hardcode existing
15364
 
  # directories.
15365
 
  hardcode_action_F77=unsupported
15366
 
fi
15367
 
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15368
 
echo "${ECHO_T}$hardcode_action_F77" >&6
15369
 
 
15370
 
if test "$hardcode_action_F77" = relink; then
15371
 
  # Fast installation is not supported
15372
 
  enable_fast_install=no
15373
 
elif test "$shlibpath_overrides_runpath" = yes ||
15374
 
     test "$enable_shared" = no; then
15375
 
  # Fast installation is not necessary
15376
 
  enable_fast_install=needless
15377
 
fi
15378
 
 
15379
 
 
15380
 
# The else clause should only fire when bootstrapping the
15381
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
15382
 
# with your package, and you will get complaints that there are
15383
 
# no rules to generate ltmain.sh.
15384
 
if test -f "$ltmain"; then
15385
 
  # See if we are running on zsh, and set the options which allow our commands through
15386
 
  # without removal of \ escapes.
15387
 
  if test -n "${ZSH_VERSION+set}" ; then
15388
 
    setopt NO_GLOB_SUBST
15389
 
  fi
15390
 
  # Now quote all the things that may contain metacharacters while being
15391
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
15392
 
  # variables and quote the copies for generation of the libtool script.
15393
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15394
 
    SED SHELL STRIP \
15395
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15396
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15397
 
    deplibs_check_method reload_flag reload_cmds need_locks \
15398
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15399
 
    lt_cv_sys_global_symbol_to_c_name_address \
15400
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15401
 
    old_postinstall_cmds old_postuninstall_cmds \
15402
 
    compiler_F77 \
15403
 
    CC_F77 \
15404
 
    LD_F77 \
15405
 
    lt_prog_compiler_wl_F77 \
15406
 
    lt_prog_compiler_pic_F77 \
15407
 
    lt_prog_compiler_static_F77 \
15408
 
    lt_prog_compiler_no_builtin_flag_F77 \
15409
 
    export_dynamic_flag_spec_F77 \
15410
 
    thread_safe_flag_spec_F77 \
15411
 
    whole_archive_flag_spec_F77 \
15412
 
    enable_shared_with_static_runtimes_F77 \
15413
 
    old_archive_cmds_F77 \
15414
 
    old_archive_from_new_cmds_F77 \
15415
 
    predep_objects_F77 \
15416
 
    postdep_objects_F77 \
15417
 
    predeps_F77 \
15418
 
    postdeps_F77 \
15419
 
    compiler_lib_search_path_F77 \
15420
 
    archive_cmds_F77 \
15421
 
    archive_expsym_cmds_F77 \
15422
 
    postinstall_cmds_F77 \
15423
 
    postuninstall_cmds_F77 \
15424
 
    old_archive_from_expsyms_cmds_F77 \
15425
 
    allow_undefined_flag_F77 \
15426
 
    no_undefined_flag_F77 \
15427
 
    export_symbols_cmds_F77 \
15428
 
    hardcode_libdir_flag_spec_F77 \
15429
 
    hardcode_libdir_flag_spec_ld_F77 \
15430
 
    hardcode_libdir_separator_F77 \
15431
 
    hardcode_automatic_F77 \
15432
 
    module_cmds_F77 \
15433
 
    module_expsym_cmds_F77 \
15434
 
    lt_cv_prog_compiler_c_o_F77 \
15435
 
    exclude_expsyms_F77 \
15436
 
    include_expsyms_F77; do
15437
 
 
15438
 
    case $var in
15439
 
    old_archive_cmds_F77 | \
15440
 
    old_archive_from_new_cmds_F77 | \
15441
 
    archive_cmds_F77 | \
15442
 
    archive_expsym_cmds_F77 | \
15443
 
    module_cmds_F77 | \
15444
 
    module_expsym_cmds_F77 | \
15445
 
    old_archive_from_expsyms_cmds_F77 | \
15446
 
    export_symbols_cmds_F77 | \
15447
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
15448
 
    postinstall_cmds | postuninstall_cmds | \
15449
 
    old_postinstall_cmds | old_postuninstall_cmds | \
15450
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
15451
 
      # Double-quote double-evaled strings.
15452
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15453
 
      ;;
15454
 
    *)
15455
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15456
 
      ;;
15457
 
    esac
15458
 
  done
15459
 
 
15460
 
  case $lt_echo in
15461
 
  *'\$0 --fallback-echo"')
15462
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15463
 
    ;;
15464
 
  esac
15465
 
 
15466
 
cfgfile="$ofile"
15467
 
 
15468
 
  cat <<__EOF__ >> "$cfgfile"
15469
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
15470
 
 
15471
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15472
 
 
15473
 
# Shell to use when invoking shell scripts.
15474
 
SHELL=$lt_SHELL
15475
 
 
15476
 
# Whether or not to build shared libraries.
15477
 
build_libtool_libs=$enable_shared
15478
 
 
15479
 
# Whether or not to build static libraries.
15480
 
build_old_libs=$enable_static
15481
 
 
15482
 
# Whether or not to add -lc for building shared libraries.
15483
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
15484
 
 
15485
 
# Whether or not to disallow shared libs when runtime libs are static
15486
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15487
 
 
15488
 
# Whether or not to optimize for fast installation.
15489
 
fast_install=$enable_fast_install
15490
 
 
15491
 
# The host system.
15492
 
host_alias=$host_alias
15493
 
host=$host
15494
 
host_os=$host_os
15495
 
 
15496
 
# The build system.
15497
 
build_alias=$build_alias
15498
 
build=$build
15499
 
build_os=$build_os
15500
 
 
15501
 
# An echo program that does not interpret backslashes.
15502
 
echo=$lt_echo
15503
 
 
15504
 
# The archiver.
15505
 
AR=$lt_AR
15506
 
AR_FLAGS=$lt_AR_FLAGS
15507
 
 
15508
 
# A C compiler.
15509
 
LTCC=$lt_LTCC
15510
 
 
15511
 
# LTCC compiler flags.
15512
 
LTCFLAGS=$lt_LTCFLAGS
15513
 
 
15514
 
# A language-specific compiler.
15515
 
CC=$lt_compiler_F77
15516
 
 
15517
 
# Is the compiler the GNU C compiler?
15518
 
with_gcc=$GCC_F77
15519
 
 
15520
 
# An ERE matcher.
15521
 
EGREP=$lt_EGREP
15522
 
 
15523
 
# The linker used to build libraries.
15524
 
LD=$lt_LD_F77
15525
 
 
15526
 
# Whether we need hard or soft links.
15527
 
LN_S=$lt_LN_S
15528
 
 
15529
 
# A BSD-compatible nm program.
15530
 
NM=$lt_NM
15531
 
 
15532
 
# A symbol stripping program
15533
 
STRIP=$lt_STRIP
15534
 
 
15535
 
# Used to examine libraries when file_magic_cmd begins "file"
15536
 
MAGIC_CMD=$MAGIC_CMD
15537
 
 
15538
 
# Used on cygwin: DLL creation program.
15539
 
DLLTOOL="$DLLTOOL"
15540
 
 
15541
 
# Used on cygwin: object dumper.
15542
 
OBJDUMP="$OBJDUMP"
15543
 
 
15544
 
# Used on cygwin: assembler.
15545
 
AS="$AS"
15546
 
 
15547
 
# The name of the directory that contains temporary libtool files.
15548
 
objdir=$objdir
15549
 
 
15550
 
# How to create reloadable object files.
15551
 
reload_flag=$lt_reload_flag
15552
 
reload_cmds=$lt_reload_cmds
15553
 
 
15554
 
# How to pass a linker flag through the compiler.
15555
 
wl=$lt_lt_prog_compiler_wl_F77
15556
 
 
15557
 
# Object file suffix (normally "o").
15558
 
objext="$ac_objext"
15559
 
 
15560
 
# Old archive suffix (normally "a").
15561
 
libext="$libext"
15562
 
 
15563
 
# Shared library suffix (normally ".so").
15564
 
shrext_cmds='$shrext_cmds'
15565
 
 
15566
 
# Executable file suffix (normally "").
15567
 
exeext="$exeext"
15568
 
 
15569
 
# Additional compiler flags for building library objects.
15570
 
pic_flag=$lt_lt_prog_compiler_pic_F77
15571
 
pic_mode=$pic_mode
15572
 
 
15573
 
# What is the maximum length of a command?
15574
 
max_cmd_len=$lt_cv_sys_max_cmd_len
15575
 
 
15576
 
# Does compiler simultaneously support -c and -o options?
15577
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15578
 
 
15579
 
# Must we lock files when doing compilation?
15580
 
need_locks=$lt_need_locks
15581
 
 
15582
 
# Do we need the lib prefix for modules?
15583
 
need_lib_prefix=$need_lib_prefix
15584
 
 
15585
 
# Do we need a version for libraries?
15586
 
need_version=$need_version
15587
 
 
15588
 
# Whether dlopen is supported.
15589
 
dlopen_support=$enable_dlopen
15590
 
 
15591
 
# Whether dlopen of programs is supported.
15592
 
dlopen_self=$enable_dlopen_self
15593
 
 
15594
 
# Whether dlopen of statically linked programs is supported.
15595
 
dlopen_self_static=$enable_dlopen_self_static
15596
 
 
15597
 
# Compiler flag to prevent dynamic linking.
15598
 
link_static_flag=$lt_lt_prog_compiler_static_F77
15599
 
 
15600
 
# Compiler flag to turn off builtin functions.
15601
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15602
 
 
15603
 
# Compiler flag to allow reflexive dlopens.
15604
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15605
 
 
15606
 
# Compiler flag to generate shared objects directly from archives.
15607
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15608
 
 
15609
 
# Compiler flag to generate thread-safe objects.
15610
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15611
 
 
15612
 
# Library versioning type.
15613
 
version_type=$version_type
15614
 
 
15615
 
# Format of library name prefix.
15616
 
libname_spec=$lt_libname_spec
15617
 
 
15618
 
# List of archive names.  First name is the real one, the rest are links.
15619
 
# The last name is the one that the linker finds with -lNAME.
15620
 
library_names_spec=$lt_library_names_spec
15621
 
 
15622
 
# The coded name of the library, if different from the real name.
15623
 
soname_spec=$lt_soname_spec
15624
 
 
15625
 
# Commands used to build and install an old-style archive.
15626
 
RANLIB=$lt_RANLIB
15627
 
old_archive_cmds=$lt_old_archive_cmds_F77
15628
 
old_postinstall_cmds=$lt_old_postinstall_cmds
15629
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
15630
 
 
15631
 
# Create an old-style archive from a shared archive.
15632
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15633
 
 
15634
 
# Create a temporary old-style archive to link instead of a shared archive.
15635
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15636
 
 
15637
 
# Commands used to build and install a shared archive.
15638
 
archive_cmds=$lt_archive_cmds_F77
15639
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15640
 
postinstall_cmds=$lt_postinstall_cmds
15641
 
postuninstall_cmds=$lt_postuninstall_cmds
15642
 
 
15643
 
# Commands used to build a loadable module (assumed same as above if empty)
15644
 
module_cmds=$lt_module_cmds_F77
15645
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
15646
 
 
15647
 
# Commands to strip libraries.
15648
 
old_striplib=$lt_old_striplib
15649
 
striplib=$lt_striplib
15650
 
 
15651
 
# Dependencies to place before the objects being linked to create a
15652
 
# shared library.
15653
 
predep_objects=$lt_predep_objects_F77
15654
 
 
15655
 
# Dependencies to place after the objects being linked to create a
15656
 
# shared library.
15657
 
postdep_objects=$lt_postdep_objects_F77
15658
 
 
15659
 
# Dependencies to place before the objects being linked to create a
15660
 
# shared library.
15661
 
predeps=$lt_predeps_F77
15662
 
 
15663
 
# Dependencies to place after the objects being linked to create a
15664
 
# shared library.
15665
 
postdeps=$lt_postdeps_F77
15666
 
 
15667
 
# The library search path used internally by the compiler when linking
15668
 
# a shared library.
15669
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
15670
 
 
15671
 
# Method to check whether dependent libraries are shared objects.
15672
 
deplibs_check_method=$lt_deplibs_check_method
15673
 
 
15674
 
# Command to use when deplibs_check_method == file_magic.
15675
 
file_magic_cmd=$lt_file_magic_cmd
15676
 
 
15677
 
# Flag that allows shared libraries with undefined symbols to be built.
15678
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
15679
 
 
15680
 
# Flag that forces no undefined symbols.
15681
 
no_undefined_flag=$lt_no_undefined_flag_F77
15682
 
 
15683
 
# Commands used to finish a libtool library installation in a directory.
15684
 
finish_cmds=$lt_finish_cmds
15685
 
 
15686
 
# Same as above, but a single script fragment to be evaled but not shown.
15687
 
finish_eval=$lt_finish_eval
15688
 
 
15689
 
# Take the output of nm and produce a listing of raw symbols and C names.
15690
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15691
 
 
15692
 
# Transform the output of nm in a proper C declaration
15693
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15694
 
 
15695
 
# Transform the output of nm in a C name address pair
15696
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15697
 
 
15698
 
# This is the shared library runtime path variable.
15699
 
runpath_var=$runpath_var
15700
 
 
15701
 
# This is the shared library path variable.
15702
 
shlibpath_var=$shlibpath_var
15703
 
 
15704
 
# Is shlibpath searched before the hard-coded library search path?
15705
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15706
 
 
15707
 
# How to hardcode a shared library path into an executable.
15708
 
hardcode_action=$hardcode_action_F77
15709
 
 
15710
 
# Whether we should hardcode library paths into libraries.
15711
 
hardcode_into_libs=$hardcode_into_libs
15712
 
 
15713
 
# Flag to hardcode \$libdir into a binary during linking.
15714
 
# This must work even if \$libdir does not exist.
15715
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15716
 
 
15717
 
# If ld is used when linking, flag to hardcode \$libdir into
15718
 
# a binary during linking. This must work even if \$libdir does
15719
 
# not exist.
15720
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15721
 
 
15722
 
# Whether we need a single -rpath flag with a separated argument.
15723
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15724
 
 
15725
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15726
 
# resulting binary.
15727
 
hardcode_direct=$hardcode_direct_F77
15728
 
 
15729
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15730
 
# resulting binary.
15731
 
hardcode_minus_L=$hardcode_minus_L_F77
15732
 
 
15733
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15734
 
# the resulting binary.
15735
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15736
 
 
15737
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
15738
 
# and all subsequent libraries and executables linked against it.
15739
 
hardcode_automatic=$hardcode_automatic_F77
15740
 
 
15741
 
# Variables whose values should be saved in libtool wrapper scripts and
15742
 
# restored at relink time.
15743
 
variables_saved_for_relink="$variables_saved_for_relink"
15744
 
 
15745
 
# Whether libtool must link a program against all its dependency libraries.
15746
 
link_all_deplibs=$link_all_deplibs_F77
15747
 
 
15748
 
# Compile-time system search path for libraries
15749
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15750
 
 
15751
 
# Run-time system search path for libraries
15752
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15753
 
 
15754
 
# Fix the shell variable \$srcfile for the compiler.
15755
 
fix_srcfile_path="$fix_srcfile_path_F77"
15756
 
 
15757
 
# Set to yes if exported symbols are required.
15758
 
always_export_symbols=$always_export_symbols_F77
15759
 
 
15760
 
# The commands to list exported symbols.
15761
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
15762
 
 
15763
 
# The commands to extract the exported symbol list from a shared archive.
15764
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
15765
 
 
15766
 
# Symbols that should not be listed in the preloaded symbols.
15767
 
exclude_expsyms=$lt_exclude_expsyms_F77
15768
 
 
15769
 
# Symbols that must always be exported.
15770
 
include_expsyms=$lt_include_expsyms_F77
15771
 
 
15772
 
# ### END LIBTOOL TAG CONFIG: $tagname
15773
 
 
15774
 
__EOF__
15775
 
 
15776
 
 
15777
 
else
15778
 
  # If there is no Makefile yet, we rely on a make rule to execute
15779
 
  # `config.status --recheck' to rerun these tests and create the
15780
 
  # libtool script then.
15781
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15782
 
  if test -f "$ltmain_in"; then
15783
 
    test -f Makefile && make "$ltmain"
15784
 
  fi
15785
 
fi
15786
 
 
15787
 
 
15788
 
ac_ext=c
15789
 
ac_cpp='$CPP $CPPFLAGS'
15790
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15791
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15792
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15793
 
 
15794
 
CC="$lt_save_CC"
15795
 
 
15796
 
        else
15797
 
          tagname=""
15798
 
        fi
15799
 
        ;;
15800
 
 
15801
 
      GCJ)
15802
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15803
 
 
15804
 
 
15805
 
 
15806
 
# Source file extension for Java test sources.
15807
 
ac_ext=java
15808
 
 
15809
 
# Object file extension for compiled Java test sources.
15810
 
objext=o
15811
 
objext_GCJ=$objext
15812
 
 
15813
 
# Code to be used in simple compile tests
15814
 
lt_simple_compile_test_code="class foo {}\n"
15815
 
 
15816
 
# Code to be used in simple link tests
15817
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
15818
 
 
15819
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15820
 
 
15821
 
# If no C compiler was specified, use CC.
15822
 
LTCC=${LTCC-"$CC"}
15823
 
 
15824
 
# If no C compiler flags were specified, use CFLAGS.
15825
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15826
 
 
15827
 
# Allow CC to be a program name with arguments.
15828
 
compiler=$CC
15829
 
 
15830
 
 
15831
 
# save warnings/boilerplate of simple test code
15832
 
ac_outfile=conftest.$ac_objext
15833
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
15834
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15835
 
_lt_compiler_boilerplate=`cat conftest.err`
15836
 
$rm conftest*
15837
 
 
15838
 
ac_outfile=conftest.$ac_objext
15839
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
15840
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15841
 
_lt_linker_boilerplate=`cat conftest.err`
15842
 
$rm conftest*
15843
 
 
15844
 
 
15845
 
# Allow CC to be a program name with arguments.
15846
 
lt_save_CC="$CC"
15847
 
CC=${GCJ-"gcj"}
15848
 
compiler=$CC
15849
 
compiler_GCJ=$CC
15850
 
for cc_temp in $compiler""; do
15851
 
  case $cc_temp in
15852
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15853
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15854
 
    \-*) ;;
15855
 
    *) break;;
15856
 
  esac
15857
 
done
15858
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15859
 
 
15860
 
 
15861
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
15862
 
archive_cmds_need_lc_GCJ=no
15863
 
 
15864
 
old_archive_cmds_GCJ=$old_archive_cmds
15865
 
 
15866
 
 
15867
 
lt_prog_compiler_no_builtin_flag_GCJ=
15868
 
 
15869
 
if test "$GCC" = yes; then
15870
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15871
 
 
15872
 
 
15873
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15874
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15875
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15876
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15877
 
else
15878
 
  lt_cv_prog_compiler_rtti_exceptions=no
15879
 
  ac_outfile=conftest.$ac_objext
15880
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15881
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
15882
 
   # Insert the option either (1) after the last *FLAGS variable, or
15883
 
   # (2) before a word containing "conftest.", or (3) at the end.
15884
 
   # Note that $ac_compile itself does not contain backslashes and begins
15885
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15886
 
   # The option is referenced via a variable to avoid confusing sed.
15887
 
   lt_compile=`echo "$ac_compile" | $SED \
15888
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15889
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15890
 
   -e 's:$: $lt_compiler_flag:'`
15891
 
   (eval echo "\"\$as_me:15891: $lt_compile\"" >&5)
15892
 
   (eval "$lt_compile" 2>conftest.err)
15893
 
   ac_status=$?
15894
 
   cat conftest.err >&5
15895
 
   echo "$as_me:15895: \$? = $ac_status" >&5
15896
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
15897
 
     # The compiler can only warn and ignore the option if not recognized
15898
 
     # So say no if there are warnings other than the usual output.
15899
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15900
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15901
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15902
 
       lt_cv_prog_compiler_rtti_exceptions=yes
15903
 
     fi
15904
 
   fi
15905
 
   $rm conftest*
15906
 
 
15907
 
fi
15908
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15909
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15910
 
 
15911
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15912
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15913
 
else
15914
 
    :
15915
 
fi
15916
 
 
15917
 
fi
15918
 
 
15919
 
lt_prog_compiler_wl_GCJ=
15920
 
lt_prog_compiler_pic_GCJ=
15921
 
lt_prog_compiler_static_GCJ=
15922
 
 
15923
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15924
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15925
 
 
15926
 
  if test "$GCC" = yes; then
15927
 
    lt_prog_compiler_wl_GCJ='-Wl,'
15928
 
    lt_prog_compiler_static_GCJ='-static'
15929
 
 
15930
 
    case $host_os in
15931
 
      aix*)
15932
 
      # All AIX code is PIC.
15933
 
      if test "$host_cpu" = ia64; then
15934
 
        # AIX 5 now supports IA64 processor
15935
 
        lt_prog_compiler_static_GCJ='-Bstatic'
15936
 
      fi
15937
 
      ;;
15938
 
 
15939
 
    amigaos*)
15940
 
      # FIXME: we need at least 68020 code to build shared libraries, but
15941
 
      # adding the `-m68020' flag to GCC prevents building anything better,
15942
 
      # like `-m68040'.
15943
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15944
 
      ;;
15945
 
 
15946
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15947
 
      # PIC is the default for these OSes.
15948
 
      ;;
15949
 
 
15950
 
    mingw* | pw32* | os2*)
15951
 
      # This hack is so that the source file can tell whether it is being
15952
 
      # built for inclusion in a dll (and should export symbols for example).
15953
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15954
 
      ;;
15955
 
 
15956
 
    darwin* | rhapsody*)
15957
 
      # PIC is the default on this platform
15958
 
      # Common symbols not allowed in MH_DYLIB files
15959
 
      lt_prog_compiler_pic_GCJ='-fno-common'
15960
 
      ;;
15961
 
 
15962
 
    interix3*)
15963
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15964
 
      # Instead, we relocate shared libraries at runtime.
15965
 
      ;;
15966
 
 
15967
 
    msdosdjgpp*)
15968
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
15969
 
      # on systems that don't support them.
15970
 
      lt_prog_compiler_can_build_shared_GCJ=no
15971
 
      enable_shared=no
15972
 
      ;;
15973
 
 
15974
 
    sysv4*MP*)
15975
 
      if test -d /usr/nec; then
15976
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
15977
 
      fi
15978
 
      ;;
15979
 
 
15980
 
    hpux*)
15981
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15982
 
      # not for PA HP-UX.
15983
 
      case $host_cpu in
15984
 
      hppa*64*|ia64*)
15985
 
        # +Z the default
15986
 
        ;;
15987
 
      *)
15988
 
        lt_prog_compiler_pic_GCJ='-fPIC'
15989
 
        ;;
15990
 
      esac
15991
 
      ;;
15992
 
 
15993
 
    *)
15994
 
      lt_prog_compiler_pic_GCJ='-fPIC'
15995
 
      ;;
15996
 
    esac
15997
 
  else
15998
 
    # PORTME Check for flag to pass linker flags through the system compiler.
15999
 
    case $host_os in
16000
 
    aix*)
16001
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16002
 
      if test "$host_cpu" = ia64; then
16003
 
        # AIX 5 now supports IA64 processor
16004
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16005
 
      else
16006
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
16007
 
      fi
16008
 
      ;;
16009
 
      darwin*)
16010
 
        # PIC is the default on this platform
16011
 
        # Common symbols not allowed in MH_DYLIB files
16012
 
       case $cc_basename in
16013
 
         xlc*)
16014
 
         lt_prog_compiler_pic_GCJ='-qnocommon'
16015
 
         lt_prog_compiler_wl_GCJ='-Wl,'
16016
 
         ;;
16017
 
       esac
16018
 
       ;;
16019
 
 
16020
 
    mingw* | pw32* | os2*)
16021
 
      # This hack is so that the source file can tell whether it is being
16022
 
      # built for inclusion in a dll (and should export symbols for example).
16023
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16024
 
      ;;
16025
 
 
16026
 
    hpux9* | hpux10* | hpux11*)
16027
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16028
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16029
 
      # not for PA HP-UX.
16030
 
      case $host_cpu in
16031
 
      hppa*64*|ia64*)
16032
 
        # +Z the default
16033
 
        ;;
16034
 
      *)
16035
 
        lt_prog_compiler_pic_GCJ='+Z'
16036
 
        ;;
16037
 
      esac
16038
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
16039
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
16040
 
      ;;
16041
 
 
16042
 
    irix5* | irix6* | nonstopux*)
16043
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16044
 
      # PIC (with -KPIC) is the default.
16045
 
      lt_prog_compiler_static_GCJ='-non_shared'
16046
 
      ;;
16047
 
 
16048
 
    newsos6)
16049
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16050
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16051
 
      ;;
16052
 
 
16053
 
    linux*)
16054
 
      case $cc_basename in
16055
 
      icc* | ecc*)
16056
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16057
 
        lt_prog_compiler_pic_GCJ='-KPIC'
16058
 
        lt_prog_compiler_static_GCJ='-static'
16059
 
        ;;
16060
 
      pgcc* | pgf77* | pgf90* | pgf95*)
16061
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
16062
 
        # which looks to be a dead project)
16063
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16064
 
        lt_prog_compiler_pic_GCJ='-fpic'
16065
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16066
 
        ;;
16067
 
      ccc*)
16068
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16069
 
        # All Alpha code is PIC.
16070
 
        lt_prog_compiler_static_GCJ='-non_shared'
16071
 
        ;;
16072
 
      esac
16073
 
      ;;
16074
 
 
16075
 
    osf3* | osf4* | osf5*)
16076
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16077
 
      # All OSF/1 code is PIC.
16078
 
      lt_prog_compiler_static_GCJ='-non_shared'
16079
 
      ;;
16080
 
 
16081
 
    solaris*)
16082
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16083
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16084
 
      case $cc_basename in
16085
 
      f77* | f90* | f95*)
16086
 
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
16087
 
      *)
16088
 
        lt_prog_compiler_wl_GCJ='-Wl,';;
16089
 
      esac
16090
 
      ;;
16091
 
 
16092
 
    sunos4*)
16093
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
16094
 
      lt_prog_compiler_pic_GCJ='-PIC'
16095
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16096
 
      ;;
16097
 
 
16098
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
16099
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16100
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16101
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16102
 
      ;;
16103
 
 
16104
 
    sysv4*MP*)
16105
 
      if test -d /usr/nec ;then
16106
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
16107
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16108
 
      fi
16109
 
      ;;
16110
 
 
16111
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16112
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16113
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16114
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16115
 
      ;;
16116
 
 
16117
 
    unicos*)
16118
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16119
 
      lt_prog_compiler_can_build_shared_GCJ=no
16120
 
      ;;
16121
 
 
16122
 
    uts4*)
16123
 
      lt_prog_compiler_pic_GCJ='-pic'
16124
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16125
 
      ;;
16126
 
 
16127
 
    *)
16128
 
      lt_prog_compiler_can_build_shared_GCJ=no
16129
 
      ;;
16130
 
    esac
16131
 
  fi
16132
 
 
16133
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16134
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
16135
 
 
16136
 
#
16137
 
# Check to make sure the PIC flag actually works.
16138
 
#
16139
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
16140
 
 
16141
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16142
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
16143
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16144
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16145
 
else
16146
 
  lt_prog_compiler_pic_works_GCJ=no
16147
 
  ac_outfile=conftest.$ac_objext
16148
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16149
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
16150
 
   # Insert the option either (1) after the last *FLAGS variable, or
16151
 
   # (2) before a word containing "conftest.", or (3) at the end.
16152
 
   # Note that $ac_compile itself does not contain backslashes and begins
16153
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16154
 
   # The option is referenced via a variable to avoid confusing sed.
16155
 
   lt_compile=`echo "$ac_compile" | $SED \
16156
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16157
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16158
 
   -e 's:$: $lt_compiler_flag:'`
16159
 
   (eval echo "\"\$as_me:16159: $lt_compile\"" >&5)
16160
 
   (eval "$lt_compile" 2>conftest.err)
16161
 
   ac_status=$?
16162
 
   cat conftest.err >&5
16163
 
   echo "$as_me:16163: \$? = $ac_status" >&5
16164
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
16165
 
     # The compiler can only warn and ignore the option if not recognized
16166
 
     # So say no if there are warnings other than the usual output.
16167
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16168
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16169
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16170
 
       lt_prog_compiler_pic_works_GCJ=yes
16171
 
     fi
16172
 
   fi
16173
 
   $rm conftest*
16174
 
 
16175
 
fi
16176
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16177
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
16178
 
 
16179
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
16180
 
    case $lt_prog_compiler_pic_GCJ in
16181
 
     "" | " "*) ;;
16182
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
16183
 
     esac
16184
 
else
16185
 
    lt_prog_compiler_pic_GCJ=
16186
 
     lt_prog_compiler_can_build_shared_GCJ=no
16187
 
fi
16188
 
 
16189
 
fi
16190
 
case $host_os in
16191
 
  # For platforms which do not support PIC, -DPIC is meaningless:
16192
 
  *djgpp*)
16193
 
    lt_prog_compiler_pic_GCJ=
16194
 
    ;;
16195
 
  *)
16196
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
16197
 
    ;;
16198
 
esac
16199
 
 
16200
 
#
16201
 
# Check to make sure the static flag actually works.
16202
 
#
16203
 
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
16204
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16205
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
16206
 
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16207
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16208
 
else
16209
 
  lt_prog_compiler_static_works_GCJ=no
16210
 
   save_LDFLAGS="$LDFLAGS"
16211
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16212
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
16213
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16214
 
     # The linker can only warn and ignore the option if not recognized
16215
 
     # So say no if there are warnings
16216
 
     if test -s conftest.err; then
16217
 
       # Append any errors to the config.log.
16218
 
       cat conftest.err 1>&5
16219
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
16220
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16221
 
       if diff conftest.exp conftest.er2 >/dev/null; then
16222
 
         lt_prog_compiler_static_works_GCJ=yes
16223
 
       fi
16224
 
     else
16225
 
       lt_prog_compiler_static_works_GCJ=yes
16226
 
     fi
16227
 
   fi
16228
 
   $rm conftest*
16229
 
   LDFLAGS="$save_LDFLAGS"
16230
 
 
16231
 
fi
16232
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16233
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
16234
 
 
16235
 
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
16236
 
    :
16237
 
else
16238
 
    lt_prog_compiler_static_GCJ=
16239
 
fi
16240
 
 
16241
 
 
16242
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16243
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16244
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16245
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16246
 
else
16247
 
  lt_cv_prog_compiler_c_o_GCJ=no
16248
 
   $rm -r conftest 2>/dev/null
16249
 
   mkdir conftest
16250
 
   cd conftest
16251
 
   mkdir out
16252
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16253
 
 
16254
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
16255
 
   # Insert the option either (1) after the last *FLAGS variable, or
16256
 
   # (2) before a word containing "conftest.", or (3) at the end.
16257
 
   # Note that $ac_compile itself does not contain backslashes and begins
16258
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16259
 
   lt_compile=`echo "$ac_compile" | $SED \
16260
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16261
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16262
 
   -e 's:$: $lt_compiler_flag:'`
16263
 
   (eval echo "\"\$as_me:16263: $lt_compile\"" >&5)
16264
 
   (eval "$lt_compile" 2>out/conftest.err)
16265
 
   ac_status=$?
16266
 
   cat out/conftest.err >&5
16267
 
   echo "$as_me:16267: \$? = $ac_status" >&5
16268
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16269
 
   then
16270
 
     # The compiler can only warn and ignore the option if not recognized
16271
 
     # So say no if there are warnings
16272
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16273
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16274
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16275
 
       lt_cv_prog_compiler_c_o_GCJ=yes
16276
 
     fi
16277
 
   fi
16278
 
   chmod u+w . 2>&5
16279
 
   $rm conftest*
16280
 
   # SGI C++ compiler will create directory out/ii_files/ for
16281
 
   # template instantiation
16282
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
16283
 
   $rm out/* && rmdir out
16284
 
   cd ..
16285
 
   rmdir conftest
16286
 
   $rm conftest*
16287
 
 
16288
 
fi
16289
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16290
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16291
 
 
16292
 
 
16293
 
hard_links="nottested"
16294
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
16295
 
  # do not overwrite the value of need_locks provided by the user
16296
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16297
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16298
 
  hard_links=yes
16299
 
  $rm conftest*
16300
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16301
 
  touch conftest.a
16302
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
16303
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16304
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
16305
 
echo "${ECHO_T}$hard_links" >&6
16306
 
  if test "$hard_links" = no; then
16307
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16308
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16309
 
    need_locks=warn
16310
 
  fi
16311
 
else
16312
 
  need_locks=no
16313
 
fi
16314
 
 
16315
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16316
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16317
 
 
16318
 
  runpath_var=
16319
 
  allow_undefined_flag_GCJ=
16320
 
  enable_shared_with_static_runtimes_GCJ=no
16321
 
  archive_cmds_GCJ=
16322
 
  archive_expsym_cmds_GCJ=
16323
 
  old_archive_From_new_cmds_GCJ=
16324
 
  old_archive_from_expsyms_cmds_GCJ=
16325
 
  export_dynamic_flag_spec_GCJ=
16326
 
  whole_archive_flag_spec_GCJ=
16327
 
  thread_safe_flag_spec_GCJ=
16328
 
  hardcode_libdir_flag_spec_GCJ=
16329
 
  hardcode_libdir_flag_spec_ld_GCJ=
16330
 
  hardcode_libdir_separator_GCJ=
16331
 
  hardcode_direct_GCJ=no
16332
 
  hardcode_minus_L_GCJ=no
16333
 
  hardcode_shlibpath_var_GCJ=unsupported
16334
 
  link_all_deplibs_GCJ=unknown
16335
 
  hardcode_automatic_GCJ=no
16336
 
  module_cmds_GCJ=
16337
 
  module_expsym_cmds_GCJ=
16338
 
  always_export_symbols_GCJ=no
16339
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16340
 
  # include_expsyms should be a list of space-separated symbols to be *always*
16341
 
  # included in the symbol list
16342
 
  include_expsyms_GCJ=
16343
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
16344
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
16345
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16346
 
  # as well as any symbol that contains `d'.
16347
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
16348
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16349
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
16350
 
  # the symbol is explicitly referenced.  Since portable code cannot
16351
 
  # rely on this symbol name, it's probably fine to never include it in
16352
 
  # preloaded symbol tables.
16353
 
  extract_expsyms_cmds=
16354
 
  # Just being paranoid about ensuring that cc_basename is set.
16355
 
  for cc_temp in $compiler""; do
16356
 
  case $cc_temp in
16357
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16358
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16359
 
    \-*) ;;
16360
 
    *) break;;
16361
 
  esac
16362
 
done
16363
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16364
 
 
16365
 
  case $host_os in
16366
 
  cygwin* | mingw* | pw32*)
16367
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
16368
 
    # When not using gcc, we currently assume that we are using
16369
 
    # Microsoft Visual C++.
16370
 
    if test "$GCC" != yes; then
16371
 
      with_gnu_ld=no
16372
 
    fi
16373
 
    ;;
16374
 
  interix*)
16375
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
16376
 
    with_gnu_ld=yes
16377
 
    ;;
16378
 
  openbsd*)
16379
 
    with_gnu_ld=no
16380
 
    ;;
16381
 
  esac
16382
 
 
16383
 
  ld_shlibs_GCJ=yes
16384
 
  if test "$with_gnu_ld" = yes; then
16385
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
16386
 
    wlarc='${wl}'
16387
 
 
16388
 
    # Set some defaults for GNU ld with shared library support. These
16389
 
    # are reset later if shared libraries are not supported. Putting them
16390
 
    # here allows them to be overridden if necessary.
16391
 
    runpath_var=LD_RUN_PATH
16392
 
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
16393
 
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
16394
 
    # ancient GNU ld didn't support --whole-archive et. al.
16395
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
16396
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16397
 
      else
16398
 
        whole_archive_flag_spec_GCJ=
16399
 
    fi
16400
 
    supports_anon_versioning=no
16401
 
    case `$LD -v 2>/dev/null` in
16402
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
16403
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
16404
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
16405
 
      *\ 2.11.*) ;; # other 2.11 versions
16406
 
      *) supports_anon_versioning=yes ;;
16407
 
    esac
16408
 
 
16409
 
    # See if GNU ld supports shared libraries.
16410
 
    case $host_os in
16411
 
    aix3* | aix4* | aix5*)
16412
 
      # On AIX/PPC, the GNU linker is very broken
16413
 
      if test "$host_cpu" != ia64; then
16414
 
        ld_shlibs_GCJ=no
16415
 
        cat <<EOF 1>&2
16416
 
 
16417
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
16418
 
*** to be unable to reliably create shared libraries on AIX.
16419
 
*** Therefore, libtool is disabling shared libraries support.  If you
16420
 
*** really care for shared libraries, you may want to modify your PATH
16421
 
*** so that a non-GNU linker is found, and then restart.
16422
 
 
16423
 
EOF
16424
 
      fi
16425
 
      ;;
16426
 
 
16427
 
    amigaos*)
16428
 
      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)'
16429
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
16430
 
      hardcode_minus_L_GCJ=yes
16431
 
 
16432
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16433
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
16434
 
      # to version 4, is to share data among multiple programs linked
16435
 
      # with the same dynamic library.  Since this doesn't match the
16436
 
      # behavior of shared libraries on other platforms, we can't use
16437
 
      # them.
16438
 
      ld_shlibs_GCJ=no
16439
 
      ;;
16440
 
 
16441
 
    beos*)
16442
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16443
 
        allow_undefined_flag_GCJ=unsupported
16444
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16445
 
        # support --undefined.  This deserves some investigation.  FIXME
16446
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16447
 
      else
16448
 
        ld_shlibs_GCJ=no
16449
 
      fi
16450
 
      ;;
16451
 
 
16452
 
    cygwin* | mingw* | pw32*)
16453
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16454
 
      # as there is no search path for DLLs.
16455
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
16456
 
      allow_undefined_flag_GCJ=unsupported
16457
 
      always_export_symbols_GCJ=no
16458
 
      enable_shared_with_static_runtimes_GCJ=yes
16459
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16460
 
 
16461
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16462
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16463
 
        # If the export-symbols file already is a .def file (1st line
16464
 
        # is EXPORTS), use it as is; otherwise, prepend...
16465
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16466
 
          cp $export_symbols $output_objdir/$soname.def;
16467
 
        else
16468
 
          echo EXPORTS > $output_objdir/$soname.def;
16469
 
          cat $export_symbols >> $output_objdir/$soname.def;
16470
 
        fi~
16471
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16472
 
      else
16473
 
        ld_shlibs_GCJ=no
16474
 
      fi
16475
 
      ;;
16476
 
 
16477
 
    interix3*)
16478
 
      hardcode_direct_GCJ=no
16479
 
      hardcode_shlibpath_var_GCJ=no
16480
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16481
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
16482
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16483
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
16484
 
      # default) and relocated if they conflict, which is a slow very memory
16485
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
16486
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16487
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
16488
 
      archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16489
 
      archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16490
 
      ;;
16491
 
 
16492
 
    linux*)
16493
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16494
 
        tmp_addflag=
16495
 
        case $cc_basename,$host_cpu in
16496
 
        pgcc*)                          # Portland Group C compiler
16497
 
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16498
 
          tmp_addflag=' $pic_flag'
16499
 
          ;;
16500
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
16501
 
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16502
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
16503
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
16504
 
          tmp_addflag=' -i_dynamic' ;;
16505
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
16506
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
16507
 
        ifc* | ifort*)                  # Intel Fortran compiler
16508
 
          tmp_addflag=' -nofor_main' ;;
16509
 
        esac
16510
 
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16511
 
 
16512
 
        if test $supports_anon_versioning = yes; then
16513
 
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
16514
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16515
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
16516
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16517
 
        fi
16518
 
      else
16519
 
        ld_shlibs_GCJ=no
16520
 
      fi
16521
 
      ;;
16522
 
 
16523
 
    netbsd*)
16524
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16525
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16526
 
        wlarc=
16527
 
      else
16528
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16529
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16530
 
      fi
16531
 
      ;;
16532
 
 
16533
 
    solaris*)
16534
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
16535
 
        ld_shlibs_GCJ=no
16536
 
        cat <<EOF 1>&2
16537
 
 
16538
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
16539
 
*** create shared libraries on Solaris systems.  Therefore, libtool
16540
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
16541
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
16542
 
*** your PATH or compiler configuration so that the native linker is
16543
 
*** used, and then restart.
16544
 
 
16545
 
EOF
16546
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16547
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16548
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16549
 
      else
16550
 
        ld_shlibs_GCJ=no
16551
 
      fi
16552
 
      ;;
16553
 
 
16554
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
16555
 
      case `$LD -v 2>&1` in
16556
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
16557
 
        ld_shlibs_GCJ=no
16558
 
        cat <<_LT_EOF 1>&2
16559
 
 
16560
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16561
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
16562
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
16563
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
16564
 
*** your PATH or compiler configuration so that the native linker is
16565
 
*** used, and then restart.
16566
 
 
16567
 
_LT_EOF
16568
 
        ;;
16569
 
        *)
16570
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16571
 
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16572
 
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16573
 
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16574
 
          else
16575
 
            ld_shlibs_GCJ=no
16576
 
          fi
16577
 
        ;;
16578
 
      esac
16579
 
      ;;
16580
 
 
16581
 
    sunos4*)
16582
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16583
 
      wlarc=
16584
 
      hardcode_direct_GCJ=yes
16585
 
      hardcode_shlibpath_var_GCJ=no
16586
 
      ;;
16587
 
 
16588
 
    *)
16589
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16590
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16591
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16592
 
      else
16593
 
        ld_shlibs_GCJ=no
16594
 
      fi
16595
 
      ;;
16596
 
    esac
16597
 
 
16598
 
    if test "$ld_shlibs_GCJ" = no; then
16599
 
      runpath_var=
16600
 
      hardcode_libdir_flag_spec_GCJ=
16601
 
      export_dynamic_flag_spec_GCJ=
16602
 
      whole_archive_flag_spec_GCJ=
16603
 
    fi
16604
 
  else
16605
 
    # PORTME fill in a description of your system's linker (not GNU ld)
16606
 
    case $host_os in
16607
 
    aix3*)
16608
 
      allow_undefined_flag_GCJ=unsupported
16609
 
      always_export_symbols_GCJ=yes
16610
 
      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'
16611
 
      # Note: this linker hardcodes the directories in LIBPATH if there
16612
 
      # are no directories specified by -L.
16613
 
      hardcode_minus_L_GCJ=yes
16614
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16615
 
        # Neither direct hardcoding nor static linking is supported with a
16616
 
        # broken collect2.
16617
 
        hardcode_direct_GCJ=unsupported
16618
 
      fi
16619
 
      ;;
16620
 
 
16621
 
    aix4* | aix5*)
16622
 
      if test "$host_cpu" = ia64; then
16623
 
        # On IA64, the linker does run time linking by default, so we don't
16624
 
        # have to do anything special.
16625
 
        aix_use_runtimelinking=no
16626
 
        exp_sym_flag='-Bexport'
16627
 
        no_entry_flag=""
16628
 
      else
16629
 
        # If we're using GNU nm, then we don't want the "-C" option.
16630
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
16631
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
16632
 
          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'
16633
 
        else
16634
 
          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'
16635
 
        fi
16636
 
        aix_use_runtimelinking=no
16637
 
 
16638
 
        # Test if we are trying to use run time linking or normal
16639
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16640
 
        # need to do runtime linking.
16641
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
16642
 
          for ld_flag in $LDFLAGS; do
16643
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
16644
 
            aix_use_runtimelinking=yes
16645
 
            break
16646
 
          fi
16647
 
          done
16648
 
          ;;
16649
 
        esac
16650
 
 
16651
 
        exp_sym_flag='-bexport'
16652
 
        no_entry_flag='-bnoentry'
16653
 
      fi
16654
 
 
16655
 
      # When large executables or shared objects are built, AIX ld can
16656
 
      # have problems creating the table of contents.  If linking a library
16657
 
      # or program results in "error TOC overflow" add -mminimal-toc to
16658
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
16659
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16660
 
 
16661
 
      archive_cmds_GCJ=''
16662
 
      hardcode_direct_GCJ=yes
16663
 
      hardcode_libdir_separator_GCJ=':'
16664
 
      link_all_deplibs_GCJ=yes
16665
 
 
16666
 
      if test "$GCC" = yes; then
16667
 
        case $host_os in aix4.[012]|aix4.[012].*)
16668
 
        # We only want to do this on AIX 4.2 and lower, the check
16669
 
        # below for broken collect2 doesn't work under 4.3+
16670
 
          collect2name=`${CC} -print-prog-name=collect2`
16671
 
          if test -f "$collect2name" && \
16672
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
16673
 
          then
16674
 
          # We have reworked collect2
16675
 
          hardcode_direct_GCJ=yes
16676
 
          else
16677
 
          # We have old collect2
16678
 
          hardcode_direct_GCJ=unsupported
16679
 
          # It fails to find uninstalled libraries when the uninstalled
16680
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
16681
 
          # to unsupported forces relinking
16682
 
          hardcode_minus_L_GCJ=yes
16683
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
16684
 
          hardcode_libdir_separator_GCJ=
16685
 
          fi
16686
 
          ;;
16687
 
        esac
16688
 
        shared_flag='-shared'
16689
 
        if test "$aix_use_runtimelinking" = yes; then
16690
 
          shared_flag="$shared_flag "'${wl}-G'
16691
 
        fi
16692
 
      else
16693
 
        # not using gcc
16694
 
        if test "$host_cpu" = ia64; then
16695
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16696
 
        # chokes on -Wl,-G. The following line is correct:
16697
 
          shared_flag='-G'
16698
 
        else
16699
 
          if test "$aix_use_runtimelinking" = yes; then
16700
 
            shared_flag='${wl}-G'
16701
 
          else
16702
 
            shared_flag='${wl}-bM:SRE'
16703
 
          fi
16704
 
        fi
16705
 
      fi
16706
 
 
16707
 
      # It seems that -bexpall does not export symbols beginning with
16708
 
      # underscore (_), so it is better to generate a list of symbols to export.
16709
 
      always_export_symbols_GCJ=yes
16710
 
      if test "$aix_use_runtimelinking" = yes; then
16711
 
        # Warning - without using the other runtime loading flags (-brtl),
16712
 
        # -berok will link without error, but may produce a broken library.
16713
 
        allow_undefined_flag_GCJ='-berok'
16714
 
       # Determine the default libpath from the value encoded in an empty executable.
16715
 
       cat >conftest.$ac_ext <<_ACEOF
16716
 
/* confdefs.h.  */
16717
 
_ACEOF
16718
 
cat confdefs.h >>conftest.$ac_ext
16719
 
cat >>conftest.$ac_ext <<_ACEOF
16720
 
/* end confdefs.h.  */
16721
 
 
16722
 
int
16723
 
main ()
16724
 
{
16725
 
 
16726
 
  ;
16727
 
  return 0;
16728
 
}
16729
 
_ACEOF
16730
 
rm -f conftest.$ac_objext conftest$ac_exeext
16731
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16732
 
  (eval $ac_link) 2>conftest.er1
16733
 
  ac_status=$?
16734
 
  grep -v '^ *+' conftest.er1 >conftest.err
16735
 
  rm -f conftest.er1
16736
 
  cat conftest.err >&5
16737
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738
 
  (exit $ac_status); } &&
16739
 
         { ac_try='test -z "$ac_c_werror_flag"
16740
 
                         || test ! -s conftest.err'
16741
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16742
 
  (eval $ac_try) 2>&5
16743
 
  ac_status=$?
16744
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16745
 
  (exit $ac_status); }; } &&
16746
 
         { ac_try='test -s conftest$ac_exeext'
16747
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16748
 
  (eval $ac_try) 2>&5
16749
 
  ac_status=$?
16750
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16751
 
  (exit $ac_status); }; }; then
16752
 
 
16753
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16754
 
}'`
16755
 
# Check for a 64-bit object if we didn't find anything.
16756
 
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; }
16757
 
}'`; fi
16758
 
else
16759
 
  echo "$as_me: failed program was:" >&5
16760
 
sed 's/^/| /' conftest.$ac_ext >&5
16761
 
 
16762
 
fi
16763
 
rm -f conftest.err conftest.$ac_objext \
16764
 
      conftest$ac_exeext conftest.$ac_ext
16765
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16766
 
 
16767
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16768
 
        archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16769
 
       else
16770
 
        if test "$host_cpu" = ia64; then
16771
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
16772
 
          allow_undefined_flag_GCJ="-z nodefs"
16773
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
16774
 
        else
16775
 
         # Determine the default libpath from the value encoded in an empty executable.
16776
 
         cat >conftest.$ac_ext <<_ACEOF
16777
 
/* confdefs.h.  */
16778
 
_ACEOF
16779
 
cat confdefs.h >>conftest.$ac_ext
16780
 
cat >>conftest.$ac_ext <<_ACEOF
16781
 
/* end confdefs.h.  */
16782
 
 
16783
 
int
16784
 
main ()
16785
 
{
16786
 
 
16787
 
  ;
16788
 
  return 0;
16789
 
}
16790
 
_ACEOF
16791
 
rm -f conftest.$ac_objext conftest$ac_exeext
16792
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16793
 
  (eval $ac_link) 2>conftest.er1
16794
 
  ac_status=$?
16795
 
  grep -v '^ *+' conftest.er1 >conftest.err
16796
 
  rm -f conftest.er1
16797
 
  cat conftest.err >&5
16798
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16799
 
  (exit $ac_status); } &&
16800
 
         { ac_try='test -z "$ac_c_werror_flag"
16801
 
                         || test ! -s conftest.err'
16802
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16803
 
  (eval $ac_try) 2>&5
16804
 
  ac_status=$?
16805
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16806
 
  (exit $ac_status); }; } &&
16807
 
         { ac_try='test -s conftest$ac_exeext'
16808
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16809
 
  (eval $ac_try) 2>&5
16810
 
  ac_status=$?
16811
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16812
 
  (exit $ac_status); }; }; then
16813
 
 
16814
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16815
 
}'`
16816
 
# Check for a 64-bit object if we didn't find anything.
16817
 
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; }
16818
 
}'`; fi
16819
 
else
16820
 
  echo "$as_me: failed program was:" >&5
16821
 
sed 's/^/| /' conftest.$ac_ext >&5
16822
 
 
16823
 
fi
16824
 
rm -f conftest.err conftest.$ac_objext \
16825
 
      conftest$ac_exeext conftest.$ac_ext
16826
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16827
 
 
16828
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16829
 
          # Warning - without using the other run time loading flags,
16830
 
          # -berok will link without error, but may produce a broken library.
16831
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
16832
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
16833
 
          # Exported symbols can be pulled into shared objects from archives
16834
 
          whole_archive_flag_spec_GCJ='$convenience'
16835
 
          archive_cmds_need_lc_GCJ=yes
16836
 
          # This is similar to how AIX traditionally builds its shared libraries.
16837
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
16838
 
        fi
16839
 
      fi
16840
 
      ;;
16841
 
 
16842
 
    amigaos*)
16843
 
      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)'
16844
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
16845
 
      hardcode_minus_L_GCJ=yes
16846
 
      # see comment about different semantics on the GNU ld section
16847
 
      ld_shlibs_GCJ=no
16848
 
      ;;
16849
 
 
16850
 
    bsdi[45]*)
16851
 
      export_dynamic_flag_spec_GCJ=-rdynamic
16852
 
      ;;
16853
 
 
16854
 
    cygwin* | mingw* | pw32*)
16855
 
      # When not using gcc, we currently assume that we are using
16856
 
      # Microsoft Visual C++.
16857
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
16858
 
      # no search path for DLLs.
16859
 
      hardcode_libdir_flag_spec_GCJ=' '
16860
 
      allow_undefined_flag_GCJ=unsupported
16861
 
      # Tell ltmain to make .lib files, not .a files.
16862
 
      libext=lib
16863
 
      # Tell ltmain to make .dll files, not .so files.
16864
 
      shrext_cmds=".dll"
16865
 
      # FIXME: Setting linknames here is a bad hack.
16866
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16867
 
      # The linker will automatically build a .lib file if we build a DLL.
16868
 
      old_archive_From_new_cmds_GCJ='true'
16869
 
      # FIXME: Should let the user specify the lib program.
16870
 
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
16871
 
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
16872
 
      enable_shared_with_static_runtimes_GCJ=yes
16873
 
      ;;
16874
 
 
16875
 
    darwin* | rhapsody*)
16876
 
      case $host_os in
16877
 
        rhapsody* | darwin1.[012])
16878
 
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
16879
 
         ;;
16880
 
       *) # Darwin 1.3 on
16881
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16882
 
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16883
 
         else
16884
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
16885
 
             10.[012])
16886
 
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16887
 
               ;;
16888
 
             10.*)
16889
 
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
16890
 
               ;;
16891
 
           esac
16892
 
         fi
16893
 
         ;;
16894
 
      esac
16895
 
      archive_cmds_need_lc_GCJ=no
16896
 
      hardcode_direct_GCJ=no
16897
 
      hardcode_automatic_GCJ=yes
16898
 
      hardcode_shlibpath_var_GCJ=unsupported
16899
 
      whole_archive_flag_spec_GCJ=''
16900
 
      link_all_deplibs_GCJ=yes
16901
 
    if test "$GCC" = yes ; then
16902
 
        output_verbose_link_cmd='echo'
16903
 
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16904
 
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16905
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16906
 
      archive_expsym_cmds_GCJ='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}'
16907
 
      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}'
16908
 
    else
16909
 
      case $cc_basename in
16910
 
        xlc*)
16911
 
         output_verbose_link_cmd='echo'
16912
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
16913
 
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16914
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16915
 
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16916
 
          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}'
16917
 
          ;;
16918
 
       *)
16919
 
         ld_shlibs_GCJ=no
16920
 
          ;;
16921
 
      esac
16922
 
    fi
16923
 
      ;;
16924
 
 
16925
 
    dgux*)
16926
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16927
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
16928
 
      hardcode_shlibpath_var_GCJ=no
16929
 
      ;;
16930
 
 
16931
 
    freebsd1*)
16932
 
      ld_shlibs_GCJ=no
16933
 
      ;;
16934
 
 
16935
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16936
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
16937
 
    # does not break anything, and helps significantly (at the cost of a little
16938
 
    # extra space).
16939
 
    freebsd2.2*)
16940
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16941
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
16942
 
      hardcode_direct_GCJ=yes
16943
 
      hardcode_shlibpath_var_GCJ=no
16944
 
      ;;
16945
 
 
16946
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16947
 
    freebsd2*)
16948
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16949
 
      hardcode_direct_GCJ=yes
16950
 
      hardcode_minus_L_GCJ=yes
16951
 
      hardcode_shlibpath_var_GCJ=no
16952
 
      ;;
16953
 
 
16954
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16955
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
16956
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16957
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
16958
 
      hardcode_direct_GCJ=yes
16959
 
      hardcode_shlibpath_var_GCJ=no
16960
 
      ;;
16961
 
 
16962
 
    hpux9*)
16963
 
      if test "$GCC" = yes; then
16964
 
        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'
16965
 
      else
16966
 
        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'
16967
 
      fi
16968
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
16969
 
      hardcode_libdir_separator_GCJ=:
16970
 
      hardcode_direct_GCJ=yes
16971
 
 
16972
 
      # hardcode_minus_L: Not really in the search PATH,
16973
 
      # but as the default location of the library.
16974
 
      hardcode_minus_L_GCJ=yes
16975
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
16976
 
      ;;
16977
 
 
16978
 
    hpux10*)
16979
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16980
 
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16981
 
      else
16982
 
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16983
 
      fi
16984
 
      if test "$with_gnu_ld" = no; then
16985
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
16986
 
        hardcode_libdir_separator_GCJ=:
16987
 
 
16988
 
        hardcode_direct_GCJ=yes
16989
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
16990
 
 
16991
 
        # hardcode_minus_L: Not really in the search PATH,
16992
 
        # but as the default location of the library.
16993
 
        hardcode_minus_L_GCJ=yes
16994
 
      fi
16995
 
      ;;
16996
 
 
16997
 
    hpux11*)
16998
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16999
 
        case $host_cpu in
17000
 
        hppa*64*)
17001
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17002
 
          ;;
17003
 
        ia64*)
17004
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17005
 
          ;;
17006
 
        *)
17007
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17008
 
          ;;
17009
 
        esac
17010
 
      else
17011
 
        case $host_cpu in
17012
 
        hppa*64*)
17013
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17014
 
          ;;
17015
 
        ia64*)
17016
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17017
 
          ;;
17018
 
        *)
17019
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17020
 
          ;;
17021
 
        esac
17022
 
      fi
17023
 
      if test "$with_gnu_ld" = no; then
17024
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17025
 
        hardcode_libdir_separator_GCJ=:
17026
 
 
17027
 
        case $host_cpu in
17028
 
        hppa*64*|ia64*)
17029
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
17030
 
          hardcode_direct_GCJ=no
17031
 
          hardcode_shlibpath_var_GCJ=no
17032
 
          ;;
17033
 
        *)
17034
 
          hardcode_direct_GCJ=yes
17035
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
17036
 
 
17037
 
          # hardcode_minus_L: Not really in the search PATH,
17038
 
          # but as the default location of the library.
17039
 
          hardcode_minus_L_GCJ=yes
17040
 
          ;;
17041
 
        esac
17042
 
      fi
17043
 
      ;;
17044
 
 
17045
 
    irix5* | irix6* | nonstopux*)
17046
 
      if test "$GCC" = yes; then
17047
 
        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'
17048
 
      else
17049
 
        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'
17050
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
17051
 
      fi
17052
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17053
 
      hardcode_libdir_separator_GCJ=:
17054
 
      link_all_deplibs_GCJ=yes
17055
 
      ;;
17056
 
 
17057
 
    netbsd*)
17058
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17059
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
17060
 
      else
17061
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
17062
 
      fi
17063
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17064
 
      hardcode_direct_GCJ=yes
17065
 
      hardcode_shlibpath_var_GCJ=no
17066
 
      ;;
17067
 
 
17068
 
    newsos6)
17069
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17070
 
      hardcode_direct_GCJ=yes
17071
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17072
 
      hardcode_libdir_separator_GCJ=:
17073
 
      hardcode_shlibpath_var_GCJ=no
17074
 
      ;;
17075
 
 
17076
 
    openbsd*)
17077
 
      hardcode_direct_GCJ=yes
17078
 
      hardcode_shlibpath_var_GCJ=no
17079
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17080
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17081
 
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17082
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17083
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
17084
 
      else
17085
 
       case $host_os in
17086
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17087
 
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17088
 
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
17089
 
           ;;
17090
 
         *)
17091
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17092
 
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17093
 
           ;;
17094
 
       esac
17095
 
      fi
17096
 
      ;;
17097
 
 
17098
 
    os2*)
17099
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17100
 
      hardcode_minus_L_GCJ=yes
17101
 
      allow_undefined_flag_GCJ=unsupported
17102
 
      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'
17103
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17104
 
      ;;
17105
 
 
17106
 
    osf3*)
17107
 
      if test "$GCC" = yes; then
17108
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
17109
 
        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'
17110
 
      else
17111
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
17112
 
        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'
17113
 
      fi
17114
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17115
 
      hardcode_libdir_separator_GCJ=:
17116
 
      ;;
17117
 
 
17118
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
17119
 
      if test "$GCC" = yes; then
17120
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
17121
 
        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'
17122
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17123
 
      else
17124
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
17125
 
        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'
17126
 
        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~
17127
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
17128
 
 
17129
 
        # Both c and cxx compiler support -rpath directly
17130
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
17131
 
      fi
17132
 
      hardcode_libdir_separator_GCJ=:
17133
 
      ;;
17134
 
 
17135
 
    solaris*)
17136
 
      no_undefined_flag_GCJ=' -z text'
17137
 
      if test "$GCC" = yes; then
17138
 
        wlarc='${wl}'
17139
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17140
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17141
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17142
 
      else
17143
 
        wlarc=''
17144
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17145
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17146
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17147
 
      fi
17148
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17149
 
      hardcode_shlibpath_var_GCJ=no
17150
 
      case $host_os in
17151
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
17152
 
      *)
17153
 
        # The compiler driver will combine linker options so we
17154
 
        # cannot just pass the convience library names through
17155
 
        # without $wl, iff we do not link with $LD.
17156
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
17157
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
17158
 
        case $wlarc in
17159
 
        '')
17160
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
17161
 
        *)
17162
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17163
 
        esac ;;
17164
 
      esac
17165
 
      link_all_deplibs_GCJ=yes
17166
 
      ;;
17167
 
 
17168
 
    sunos4*)
17169
 
      if test "x$host_vendor" = xsequent; then
17170
 
        # Use $CC to link under sequent, because it throws in some extra .o
17171
 
        # files that make .init and .fini sections work.
17172
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17173
 
      else
17174
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17175
 
      fi
17176
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17177
 
      hardcode_direct_GCJ=yes
17178
 
      hardcode_minus_L_GCJ=yes
17179
 
      hardcode_shlibpath_var_GCJ=no
17180
 
      ;;
17181
 
 
17182
 
    sysv4)
17183
 
      case $host_vendor in
17184
 
        sni)
17185
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17186
 
          hardcode_direct_GCJ=yes # is this really true???
17187
 
        ;;
17188
 
        siemens)
17189
 
          ## LD is ld it makes a PLAMLIB
17190
 
          ## CC just makes a GrossModule.
17191
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17192
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
17193
 
          hardcode_direct_GCJ=no
17194
 
        ;;
17195
 
        motorola)
17196
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17197
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
17198
 
        ;;
17199
 
      esac
17200
 
      runpath_var='LD_RUN_PATH'
17201
 
      hardcode_shlibpath_var_GCJ=no
17202
 
      ;;
17203
 
 
17204
 
    sysv4.3*)
17205
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17206
 
      hardcode_shlibpath_var_GCJ=no
17207
 
      export_dynamic_flag_spec_GCJ='-Bexport'
17208
 
      ;;
17209
 
 
17210
 
    sysv4*MP*)
17211
 
      if test -d /usr/nec; then
17212
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17213
 
        hardcode_shlibpath_var_GCJ=no
17214
 
        runpath_var=LD_RUN_PATH
17215
 
        hardcode_runpath_var=yes
17216
 
        ld_shlibs_GCJ=yes
17217
 
      fi
17218
 
      ;;
17219
 
 
17220
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
17221
 
      no_undefined_flag_GCJ='${wl}-z,text'
17222
 
      archive_cmds_need_lc_GCJ=no
17223
 
      hardcode_shlibpath_var_GCJ=no
17224
 
      runpath_var='LD_RUN_PATH'
17225
 
 
17226
 
      if test "$GCC" = yes; then
17227
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17228
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17229
 
      else
17230
 
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17231
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17232
 
      fi
17233
 
      ;;
17234
 
 
17235
 
    sysv5* | sco3.2v5* | sco5v6*)
17236
 
      # Note: We can NOT use -z defs as we might desire, because we do not
17237
 
      # link with -lc, and that would cause any symbols used from libc to
17238
 
      # always be unresolved, which means just about no library would
17239
 
      # ever link correctly.  If we're not using GNU ld we use -z text
17240
 
      # though, which does catch some bad symbols but isn't as heavy-handed
17241
 
      # as -z defs.
17242
 
      no_undefined_flag_GCJ='${wl}-z,text'
17243
 
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
17244
 
      archive_cmds_need_lc_GCJ=no
17245
 
      hardcode_shlibpath_var_GCJ=no
17246
 
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17247
 
      hardcode_libdir_separator_GCJ=':'
17248
 
      link_all_deplibs_GCJ=yes
17249
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
17250
 
      runpath_var='LD_RUN_PATH'
17251
 
 
17252
 
      if test "$GCC" = yes; then
17253
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17254
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17255
 
      else
17256
 
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17257
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17258
 
      fi
17259
 
      ;;
17260
 
 
17261
 
    uts4*)
17262
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17263
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17264
 
      hardcode_shlibpath_var_GCJ=no
17265
 
      ;;
17266
 
 
17267
 
    *)
17268
 
      ld_shlibs_GCJ=no
17269
 
      ;;
17270
 
    esac
17271
 
  fi
17272
 
 
17273
 
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17274
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
17275
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
17276
 
 
17277
 
#
17278
 
# Do we need to explicitly link libc?
17279
 
#
17280
 
case "x$archive_cmds_need_lc_GCJ" in
17281
 
x|xyes)
17282
 
  # Assume -lc should be added
17283
 
  archive_cmds_need_lc_GCJ=yes
17284
 
 
17285
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
17286
 
    case $archive_cmds_GCJ in
17287
 
    *'~'*)
17288
 
      # FIXME: we may have to deal with multi-command sequences.
17289
 
      ;;
17290
 
    '$CC '*)
17291
 
      # Test whether the compiler implicitly links with -lc since on some
17292
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
17293
 
      # to ld, don't add -lc before -lgcc.
17294
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17295
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17296
 
      $rm conftest*
17297
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17298
 
 
17299
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17300
 
  (eval $ac_compile) 2>&5
17301
 
  ac_status=$?
17302
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17303
 
  (exit $ac_status); } 2>conftest.err; then
17304
 
        soname=conftest
17305
 
        lib=conftest
17306
 
        libobjs=conftest.$ac_objext
17307
 
        deplibs=
17308
 
        wl=$lt_prog_compiler_wl_GCJ
17309
 
        pic_flag=$lt_prog_compiler_pic_GCJ
17310
 
        compiler_flags=-v
17311
 
        linker_flags=-v
17312
 
        verstring=
17313
 
        output_objdir=.
17314
 
        libname=conftest
17315
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
17316
 
        allow_undefined_flag_GCJ=
17317
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17318
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
17319
 
  ac_status=$?
17320
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17321
 
  (exit $ac_status); }
17322
 
        then
17323
 
          archive_cmds_need_lc_GCJ=no
17324
 
        else
17325
 
          archive_cmds_need_lc_GCJ=yes
17326
 
        fi
17327
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
17328
 
      else
17329
 
        cat conftest.err 1>&5
17330
 
      fi
17331
 
      $rm conftest*
17332
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17333
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
17334
 
      ;;
17335
 
    esac
17336
 
  fi
17337
 
  ;;
17338
 
esac
17339
 
 
17340
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17341
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17342
 
library_names_spec=
17343
 
libname_spec='lib$name'
17344
 
soname_spec=
17345
 
shrext_cmds=".so"
17346
 
postinstall_cmds=
17347
 
postuninstall_cmds=
17348
 
finish_cmds=
17349
 
finish_eval=
17350
 
shlibpath_var=
17351
 
shlibpath_overrides_runpath=unknown
17352
 
version_type=none
17353
 
dynamic_linker="$host_os ld.so"
17354
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
17355
 
if test "$GCC" = yes; then
17356
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17357
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
17358
 
    # if the path contains ";" then we assume it to be the separator
17359
 
    # otherwise default to the standard path separator (i.e. ":") - it is
17360
 
    # assumed that no part of a normal pathname contains ";" but that should
17361
 
    # okay in the real world where ";" in dirpaths is itself problematic.
17362
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17363
 
  else
17364
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
17365
 
  fi
17366
 
else
17367
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17368
 
fi
17369
 
need_lib_prefix=unknown
17370
 
hardcode_into_libs=no
17371
 
 
17372
 
# when you set need_version to no, make sure it does not cause -set_version
17373
 
# flags to be left without arguments
17374
 
need_version=unknown
17375
 
 
17376
 
case $host_os in
17377
 
aix3*)
17378
 
  version_type=linux
17379
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17380
 
  shlibpath_var=LIBPATH
17381
 
 
17382
 
  # AIX 3 has no versioning support, so we append a major version to the name.
17383
 
  soname_spec='${libname}${release}${shared_ext}$major'
17384
 
  ;;
17385
 
 
17386
 
aix4* | aix5*)
17387
 
  version_type=linux
17388
 
  need_lib_prefix=no
17389
 
  need_version=no
17390
 
  hardcode_into_libs=yes
17391
 
  if test "$host_cpu" = ia64; then
17392
 
    # AIX 5 supports IA64
17393
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17394
 
    shlibpath_var=LD_LIBRARY_PATH
17395
 
  else
17396
 
    # With GCC up to 2.95.x, collect2 would create an import file
17397
 
    # for dependence libraries.  The import file would start with
17398
 
    # the line `#! .'.  This would cause the generated library to
17399
 
    # depend on `.', always an invalid library.  This was fixed in
17400
 
    # development snapshots of GCC prior to 3.0.
17401
 
    case $host_os in
17402
 
      aix4 | aix4.[01] | aix4.[01].*)
17403
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17404
 
           echo ' yes '
17405
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
17406
 
        :
17407
 
      else
17408
 
        can_build_shared=no
17409
 
      fi
17410
 
      ;;
17411
 
    esac
17412
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17413
 
    # soname into executable. Probably we can add versioning support to
17414
 
    # collect2, so additional links can be useful in future.
17415
 
    if test "$aix_use_runtimelinking" = yes; then
17416
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17417
 
      # instead of lib<name>.a to let people know that these are not
17418
 
      # typical AIX shared libraries.
17419
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17420
 
    else
17421
 
      # We preserve .a as extension for shared libraries through AIX4.2
17422
 
      # and later when we are not doing run time linking.
17423
 
      library_names_spec='${libname}${release}.a $libname.a'
17424
 
      soname_spec='${libname}${release}${shared_ext}$major'
17425
 
    fi
17426
 
    shlibpath_var=LIBPATH
17427
 
  fi
17428
 
  ;;
17429
 
 
17430
 
amigaos*)
17431
 
  library_names_spec='$libname.ixlibrary $libname.a'
17432
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
17433
 
  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'
17434
 
  ;;
17435
 
 
17436
 
beos*)
17437
 
  library_names_spec='${libname}${shared_ext}'
17438
 
  dynamic_linker="$host_os ld.so"
17439
 
  shlibpath_var=LIBRARY_PATH
17440
 
  ;;
17441
 
 
17442
 
bsdi[45]*)
17443
 
  version_type=linux
17444
 
  need_version=no
17445
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17446
 
  soname_spec='${libname}${release}${shared_ext}$major'
17447
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17448
 
  shlibpath_var=LD_LIBRARY_PATH
17449
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17450
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17451
 
  # the default ld.so.conf also contains /usr/contrib/lib and
17452
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17453
 
  # libtool to hard-code these into programs
17454
 
  ;;
17455
 
 
17456
 
cygwin* | mingw* | pw32*)
17457
 
  version_type=windows
17458
 
  shrext_cmds=".dll"
17459
 
  need_version=no
17460
 
  need_lib_prefix=no
17461
 
 
17462
 
  case $GCC,$host_os in
17463
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
17464
 
    library_names_spec='$libname.dll.a'
17465
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
17466
 
    postinstall_cmds='base_file=`basename \${file}`~
17467
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17468
 
      dldir=$destdir/`dirname \$dlpath`~
17469
 
      test -d \$dldir || mkdir -p \$dldir~
17470
 
      $install_prog $dir/$dlname \$dldir/$dlname~
17471
 
      chmod a+x \$dldir/$dlname'
17472
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17473
 
      dlpath=$dir/\$dldll~
17474
 
       $rm \$dlpath'
17475
 
    shlibpath_overrides_runpath=yes
17476
 
 
17477
 
    case $host_os in
17478
 
    cygwin*)
17479
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17480
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17481
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
17482
 
      ;;
17483
 
    mingw*)
17484
 
      # MinGW DLLs use traditional 'lib' prefix
17485
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17486
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17487
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
17488
 
        # It is most probably a Windows format PATH printed by
17489
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
17490
 
        # path with ; separators, and with drive letters. We can handle the
17491
 
        # drive letters (cygwin fileutils understands them), so leave them,
17492
 
        # especially as we might pass files found there to a mingw objdump,
17493
 
        # which wouldn't understand a cygwinified path. Ahh.
17494
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17495
 
      else
17496
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
17497
 
      fi
17498
 
      ;;
17499
 
    pw32*)
17500
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
17501
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17502
 
      ;;
17503
 
    esac
17504
 
    ;;
17505
 
 
17506
 
  *)
17507
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17508
 
    ;;
17509
 
  esac
17510
 
  dynamic_linker='Win32 ld.exe'
17511
 
  # FIXME: first we should search . and the directory the executable is in
17512
 
  shlibpath_var=PATH
17513
 
  ;;
17514
 
 
17515
 
darwin* | rhapsody*)
17516
 
  dynamic_linker="$host_os dyld"
17517
 
  version_type=darwin
17518
 
  need_lib_prefix=no
17519
 
  need_version=no
17520
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17521
 
  soname_spec='${libname}${release}${major}$shared_ext'
17522
 
  shlibpath_overrides_runpath=yes
17523
 
  shlibpath_var=DYLD_LIBRARY_PATH
17524
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17525
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17526
 
  if test "$GCC" = yes; then
17527
 
    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"`
17528
 
  else
17529
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
17530
 
  fi
17531
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17532
 
  ;;
17533
 
 
17534
 
dgux*)
17535
 
  version_type=linux
17536
 
  need_lib_prefix=no
17537
 
  need_version=no
17538
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17539
 
  soname_spec='${libname}${release}${shared_ext}$major'
17540
 
  shlibpath_var=LD_LIBRARY_PATH
17541
 
  ;;
17542
 
 
17543
 
freebsd1*)
17544
 
  dynamic_linker=no
17545
 
  ;;
17546
 
 
17547
 
kfreebsd*-gnu)
17548
 
  version_type=linux
17549
 
  need_lib_prefix=no
17550
 
  need_version=no
17551
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17552
 
  soname_spec='${libname}${release}${shared_ext}$major'
17553
 
  shlibpath_var=LD_LIBRARY_PATH
17554
 
  shlibpath_overrides_runpath=no
17555
 
  hardcode_into_libs=yes
17556
 
  dynamic_linker='GNU ld.so'
17557
 
  ;;
17558
 
 
17559
 
freebsd* | dragonfly*)
17560
 
  # DragonFly does not have aout.  When/if they implement a new
17561
 
  # versioning mechanism, adjust this.
17562
 
  if test -x /usr/bin/objformat; then
17563
 
    objformat=`/usr/bin/objformat`
17564
 
  else
17565
 
    case $host_os in
17566
 
    freebsd[123]*) objformat=aout ;;
17567
 
    *) objformat=elf ;;
17568
 
    esac
17569
 
  fi
17570
 
  version_type=freebsd-$objformat
17571
 
  case $version_type in
17572
 
    freebsd-elf*)
17573
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17574
 
      need_version=no
17575
 
      need_lib_prefix=no
17576
 
      ;;
17577
 
    freebsd-*)
17578
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17579
 
      need_version=yes
17580
 
      ;;
17581
 
  esac
17582
 
  shlibpath_var=LD_LIBRARY_PATH
17583
 
  case $host_os in
17584
 
  freebsd2*)
17585
 
    shlibpath_overrides_runpath=yes
17586
 
    ;;
17587
 
  freebsd3.[01]* | freebsdelf3.[01]*)
17588
 
    shlibpath_overrides_runpath=yes
17589
 
    hardcode_into_libs=yes
17590
 
    ;;
17591
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17592
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17593
 
    shlibpath_overrides_runpath=no
17594
 
    hardcode_into_libs=yes
17595
 
    ;;
17596
 
  freebsd*) # from 4.6 on
17597
 
    shlibpath_overrides_runpath=yes
17598
 
    hardcode_into_libs=yes
17599
 
    ;;
17600
 
  esac
17601
 
  ;;
17602
 
 
17603
 
gnu*)
17604
 
  version_type=linux
17605
 
  need_lib_prefix=no
17606
 
  need_version=no
17607
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17608
 
  soname_spec='${libname}${release}${shared_ext}$major'
17609
 
  shlibpath_var=LD_LIBRARY_PATH
17610
 
  hardcode_into_libs=yes
17611
 
  ;;
17612
 
 
17613
 
hpux9* | hpux10* | hpux11*)
17614
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
17615
 
  # link against other versions.
17616
 
  version_type=sunos
17617
 
  need_lib_prefix=no
17618
 
  need_version=no
17619
 
  case $host_cpu in
17620
 
  ia64*)
17621
 
    shrext_cmds='.so'
17622
 
    hardcode_into_libs=yes
17623
 
    dynamic_linker="$host_os dld.so"
17624
 
    shlibpath_var=LD_LIBRARY_PATH
17625
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17626
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17627
 
    soname_spec='${libname}${release}${shared_ext}$major'
17628
 
    if test "X$HPUX_IA64_MODE" = X32; then
17629
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17630
 
    else
17631
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17632
 
    fi
17633
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17634
 
    ;;
17635
 
   hppa*64*)
17636
 
     shrext_cmds='.sl'
17637
 
     hardcode_into_libs=yes
17638
 
     dynamic_linker="$host_os dld.sl"
17639
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17640
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17641
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17642
 
     soname_spec='${libname}${release}${shared_ext}$major'
17643
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17644
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17645
 
     ;;
17646
 
   *)
17647
 
    shrext_cmds='.sl'
17648
 
    dynamic_linker="$host_os dld.sl"
17649
 
    shlibpath_var=SHLIB_PATH
17650
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17651
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17652
 
    soname_spec='${libname}${release}${shared_ext}$major'
17653
 
    ;;
17654
 
  esac
17655
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
17656
 
  postinstall_cmds='chmod 555 $lib'
17657
 
  ;;
17658
 
 
17659
 
interix3*)
17660
 
  version_type=linux
17661
 
  need_lib_prefix=no
17662
 
  need_version=no
17663
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17664
 
  soname_spec='${libname}${release}${shared_ext}$major'
17665
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17666
 
  shlibpath_var=LD_LIBRARY_PATH
17667
 
  shlibpath_overrides_runpath=no
17668
 
  hardcode_into_libs=yes
17669
 
  ;;
17670
 
 
17671
 
irix5* | irix6* | nonstopux*)
17672
 
  case $host_os in
17673
 
    nonstopux*) version_type=nonstopux ;;
17674
 
    *)
17675
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
17676
 
                version_type=linux
17677
 
        else
17678
 
                version_type=irix
17679
 
        fi ;;
17680
 
  esac
17681
 
  need_lib_prefix=no
17682
 
  need_version=no
17683
 
  soname_spec='${libname}${release}${shared_ext}$major'
17684
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17685
 
  case $host_os in
17686
 
  irix5* | nonstopux*)
17687
 
    libsuff= shlibsuff=
17688
 
    ;;
17689
 
  *)
17690
 
    case $LD in # libtool.m4 will add one of these switches to LD
17691
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17692
 
      libsuff= shlibsuff= libmagic=32-bit;;
17693
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17694
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
17695
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17696
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
17697
 
    *) libsuff= shlibsuff= libmagic=never-match;;
17698
 
    esac
17699
 
    ;;
17700
 
  esac
17701
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17702
 
  shlibpath_overrides_runpath=no
17703
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17704
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17705
 
  hardcode_into_libs=yes
17706
 
  ;;
17707
 
 
17708
 
# No shared lib support for Linux oldld, aout, or coff.
17709
 
linux*oldld* | linux*aout* | linux*coff*)
17710
 
  dynamic_linker=no
17711
 
  ;;
17712
 
 
17713
 
# This must be Linux ELF.
17714
 
linux*)
17715
 
  version_type=linux
17716
 
  need_lib_prefix=no
17717
 
  need_version=no
17718
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17719
 
  soname_spec='${libname}${release}${shared_ext}$major'
17720
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17721
 
  shlibpath_var=LD_LIBRARY_PATH
17722
 
  shlibpath_overrides_runpath=no
17723
 
  # This implies no fast_install, which is unacceptable.
17724
 
  # Some rework will be needed to allow for fast_install
17725
 
  # before this can be enabled.
17726
 
  hardcode_into_libs=yes
17727
 
 
17728
 
  # Append ld.so.conf contents to the search path
17729
 
  if test -f /etc/ld.so.conf; then
17730
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17731
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17732
 
  fi
17733
 
 
17734
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
17735
 
  # powerpc, because MkLinux only supported shared libraries with the
17736
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
17737
 
  # most powerpc-linux boxes support dynamic linking these days and
17738
 
  # people can always --disable-shared, the test was removed, and we
17739
 
  # assume the GNU/Linux dynamic linker is in use.
17740
 
  dynamic_linker='GNU/Linux ld.so'
17741
 
  ;;
17742
 
 
17743
 
knetbsd*-gnu)
17744
 
  version_type=linux
17745
 
  need_lib_prefix=no
17746
 
  need_version=no
17747
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17748
 
  soname_spec='${libname}${release}${shared_ext}$major'
17749
 
  shlibpath_var=LD_LIBRARY_PATH
17750
 
  shlibpath_overrides_runpath=no
17751
 
  hardcode_into_libs=yes
17752
 
  dynamic_linker='GNU ld.so'
17753
 
  ;;
17754
 
 
17755
 
netbsd*)
17756
 
  version_type=sunos
17757
 
  need_lib_prefix=no
17758
 
  need_version=no
17759
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17760
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17761
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17762
 
    dynamic_linker='NetBSD (a.out) ld.so'
17763
 
  else
17764
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17765
 
    soname_spec='${libname}${release}${shared_ext}$major'
17766
 
    dynamic_linker='NetBSD ld.elf_so'
17767
 
  fi
17768
 
  shlibpath_var=LD_LIBRARY_PATH
17769
 
  shlibpath_overrides_runpath=yes
17770
 
  hardcode_into_libs=yes
17771
 
  ;;
17772
 
 
17773
 
newsos6)
17774
 
  version_type=linux
17775
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17776
 
  shlibpath_var=LD_LIBRARY_PATH
17777
 
  shlibpath_overrides_runpath=yes
17778
 
  ;;
17779
 
 
17780
 
nto-qnx*)
17781
 
  version_type=linux
17782
 
  need_lib_prefix=no
17783
 
  need_version=no
17784
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17785
 
  soname_spec='${libname}${release}${shared_ext}$major'
17786
 
  shlibpath_var=LD_LIBRARY_PATH
17787
 
  shlibpath_overrides_runpath=yes
17788
 
  ;;
17789
 
 
17790
 
openbsd*)
17791
 
  version_type=sunos
17792
 
  sys_lib_dlsearch_path_spec="/usr/lib"
17793
 
  need_lib_prefix=no
17794
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17795
 
  case $host_os in
17796
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17797
 
    *)                         need_version=no  ;;
17798
 
  esac
17799
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17800
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17801
 
  shlibpath_var=LD_LIBRARY_PATH
17802
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17803
 
    case $host_os in
17804
 
      openbsd2.[89] | openbsd2.[89].*)
17805
 
        shlibpath_overrides_runpath=no
17806
 
        ;;
17807
 
      *)
17808
 
        shlibpath_overrides_runpath=yes
17809
 
        ;;
17810
 
      esac
17811
 
  else
17812
 
    shlibpath_overrides_runpath=yes
17813
 
  fi
17814
 
  ;;
17815
 
 
17816
 
os2*)
17817
 
  libname_spec='$name'
17818
 
  shrext_cmds=".dll"
17819
 
  need_lib_prefix=no
17820
 
  library_names_spec='$libname${shared_ext} $libname.a'
17821
 
  dynamic_linker='OS/2 ld.exe'
17822
 
  shlibpath_var=LIBPATH
17823
 
  ;;
17824
 
 
17825
 
osf3* | osf4* | osf5*)
17826
 
  version_type=osf
17827
 
  need_lib_prefix=no
17828
 
  need_version=no
17829
 
  soname_spec='${libname}${release}${shared_ext}$major'
17830
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17831
 
  shlibpath_var=LD_LIBRARY_PATH
17832
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17833
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17834
 
  ;;
17835
 
 
17836
 
solaris*)
17837
 
  version_type=linux
17838
 
  need_lib_prefix=no
17839
 
  need_version=no
17840
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17841
 
  soname_spec='${libname}${release}${shared_ext}$major'
17842
 
  shlibpath_var=LD_LIBRARY_PATH
17843
 
  shlibpath_overrides_runpath=yes
17844
 
  hardcode_into_libs=yes
17845
 
  # ldd complains unless libraries are executable
17846
 
  postinstall_cmds='chmod +x $lib'
17847
 
  ;;
17848
 
 
17849
 
sunos4*)
17850
 
  version_type=sunos
17851
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17852
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17853
 
  shlibpath_var=LD_LIBRARY_PATH
17854
 
  shlibpath_overrides_runpath=yes
17855
 
  if test "$with_gnu_ld" = yes; then
17856
 
    need_lib_prefix=no
17857
 
  fi
17858
 
  need_version=yes
17859
 
  ;;
17860
 
 
17861
 
sysv4 | sysv4.3*)
17862
 
  version_type=linux
17863
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17864
 
  soname_spec='${libname}${release}${shared_ext}$major'
17865
 
  shlibpath_var=LD_LIBRARY_PATH
17866
 
  case $host_vendor in
17867
 
    sni)
17868
 
      shlibpath_overrides_runpath=no
17869
 
      need_lib_prefix=no
17870
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
17871
 
      runpath_var=LD_RUN_PATH
17872
 
      ;;
17873
 
    siemens)
17874
 
      need_lib_prefix=no
17875
 
      ;;
17876
 
    motorola)
17877
 
      need_lib_prefix=no
17878
 
      need_version=no
17879
 
      shlibpath_overrides_runpath=no
17880
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17881
 
      ;;
17882
 
  esac
17883
 
  ;;
17884
 
 
17885
 
sysv4*MP*)
17886
 
  if test -d /usr/nec ;then
17887
 
    version_type=linux
17888
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17889
 
    soname_spec='$libname${shared_ext}.$major'
17890
 
    shlibpath_var=LD_LIBRARY_PATH
17891
 
  fi
17892
 
  ;;
17893
 
 
17894
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17895
 
  version_type=freebsd-elf
17896
 
  need_lib_prefix=no
17897
 
  need_version=no
17898
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17899
 
  soname_spec='${libname}${release}${shared_ext}$major'
17900
 
  shlibpath_var=LD_LIBRARY_PATH
17901
 
  hardcode_into_libs=yes
17902
 
  if test "$with_gnu_ld" = yes; then
17903
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17904
 
    shlibpath_overrides_runpath=no
17905
 
  else
17906
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17907
 
    shlibpath_overrides_runpath=yes
17908
 
    case $host_os in
17909
 
      sco3.2v5*)
17910
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17911
 
        ;;
17912
 
    esac
17913
 
  fi
17914
 
  sys_lib_dlsearch_path_spec='/usr/lib'
17915
 
  ;;
17916
 
 
17917
 
uts4*)
17918
 
  version_type=linux
17919
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17920
 
  soname_spec='${libname}${release}${shared_ext}$major'
17921
 
  shlibpath_var=LD_LIBRARY_PATH
17922
 
  ;;
17923
 
 
17924
 
*)
17925
 
  dynamic_linker=no
17926
 
  ;;
17927
 
esac
17928
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17929
 
echo "${ECHO_T}$dynamic_linker" >&6
17930
 
test "$dynamic_linker" = no && can_build_shared=no
17931
 
 
17932
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17933
 
if test "$GCC" = yes; then
17934
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17935
 
fi
17936
 
 
17937
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17938
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17939
 
hardcode_action_GCJ=
17940
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17941
 
   test -n "$runpath_var_GCJ" || \
17942
 
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
17943
 
 
17944
 
  # We can hardcode non-existant directories.
17945
 
  if test "$hardcode_direct_GCJ" != no &&
17946
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
17947
 
     # have to relink, otherwise we might link with an installed library
17948
 
     # when we should be linking with a yet-to-be-installed one
17949
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
17950
 
     test "$hardcode_minus_L_GCJ" != no; then
17951
 
    # Linking always hardcodes the temporary library directory.
17952
 
    hardcode_action_GCJ=relink
17953
 
  else
17954
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
17955
 
    hardcode_action_GCJ=immediate
17956
 
  fi
17957
 
else
17958
 
  # We cannot hardcode anything, or else we can only hardcode existing
17959
 
  # directories.
17960
 
  hardcode_action_GCJ=unsupported
17961
 
fi
17962
 
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17963
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6
17964
 
 
17965
 
if test "$hardcode_action_GCJ" = relink; then
17966
 
  # Fast installation is not supported
17967
 
  enable_fast_install=no
17968
 
elif test "$shlibpath_overrides_runpath" = yes ||
17969
 
     test "$enable_shared" = no; then
17970
 
  # Fast installation is not necessary
17971
 
  enable_fast_install=needless
17972
 
fi
17973
 
 
17974
 
 
17975
 
# The else clause should only fire when bootstrapping the
17976
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
17977
 
# with your package, and you will get complaints that there are
17978
 
# no rules to generate ltmain.sh.
17979
 
if test -f "$ltmain"; then
17980
 
  # See if we are running on zsh, and set the options which allow our commands through
17981
 
  # without removal of \ escapes.
17982
 
  if test -n "${ZSH_VERSION+set}" ; then
17983
 
    setopt NO_GLOB_SUBST
17984
 
  fi
17985
 
  # Now quote all the things that may contain metacharacters while being
17986
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
17987
 
  # variables and quote the copies for generation of the libtool script.
17988
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17989
 
    SED SHELL STRIP \
17990
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17991
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17992
 
    deplibs_check_method reload_flag reload_cmds need_locks \
17993
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17994
 
    lt_cv_sys_global_symbol_to_c_name_address \
17995
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17996
 
    old_postinstall_cmds old_postuninstall_cmds \
17997
 
    compiler_GCJ \
17998
 
    CC_GCJ \
17999
 
    LD_GCJ \
18000
 
    lt_prog_compiler_wl_GCJ \
18001
 
    lt_prog_compiler_pic_GCJ \
18002
 
    lt_prog_compiler_static_GCJ \
18003
 
    lt_prog_compiler_no_builtin_flag_GCJ \
18004
 
    export_dynamic_flag_spec_GCJ \
18005
 
    thread_safe_flag_spec_GCJ \
18006
 
    whole_archive_flag_spec_GCJ \
18007
 
    enable_shared_with_static_runtimes_GCJ \
18008
 
    old_archive_cmds_GCJ \
18009
 
    old_archive_from_new_cmds_GCJ \
18010
 
    predep_objects_GCJ \
18011
 
    postdep_objects_GCJ \
18012
 
    predeps_GCJ \
18013
 
    postdeps_GCJ \
18014
 
    compiler_lib_search_path_GCJ \
18015
 
    archive_cmds_GCJ \
18016
 
    archive_expsym_cmds_GCJ \
18017
 
    postinstall_cmds_GCJ \
18018
 
    postuninstall_cmds_GCJ \
18019
 
    old_archive_from_expsyms_cmds_GCJ \
18020
 
    allow_undefined_flag_GCJ \
18021
 
    no_undefined_flag_GCJ \
18022
 
    export_symbols_cmds_GCJ \
18023
 
    hardcode_libdir_flag_spec_GCJ \
18024
 
    hardcode_libdir_flag_spec_ld_GCJ \
18025
 
    hardcode_libdir_separator_GCJ \
18026
 
    hardcode_automatic_GCJ \
18027
 
    module_cmds_GCJ \
18028
 
    module_expsym_cmds_GCJ \
18029
 
    lt_cv_prog_compiler_c_o_GCJ \
18030
 
    exclude_expsyms_GCJ \
18031
 
    include_expsyms_GCJ; do
18032
 
 
18033
 
    case $var in
18034
 
    old_archive_cmds_GCJ | \
18035
 
    old_archive_from_new_cmds_GCJ | \
18036
 
    archive_cmds_GCJ | \
18037
 
    archive_expsym_cmds_GCJ | \
18038
 
    module_cmds_GCJ | \
18039
 
    module_expsym_cmds_GCJ | \
18040
 
    old_archive_from_expsyms_cmds_GCJ | \
18041
 
    export_symbols_cmds_GCJ | \
18042
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
18043
 
    postinstall_cmds | postuninstall_cmds | \
18044
 
    old_postinstall_cmds | old_postuninstall_cmds | \
18045
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18046
 
      # Double-quote double-evaled strings.
18047
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18048
 
      ;;
18049
 
    *)
18050
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18051
 
      ;;
18052
 
    esac
18053
 
  done
18054
 
 
18055
 
  case $lt_echo in
18056
 
  *'\$0 --fallback-echo"')
18057
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18058
 
    ;;
18059
 
  esac
18060
 
 
18061
 
cfgfile="$ofile"
18062
 
 
18063
 
  cat <<__EOF__ >> "$cfgfile"
18064
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
18065
 
 
18066
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18067
 
 
18068
 
# Shell to use when invoking shell scripts.
18069
 
SHELL=$lt_SHELL
18070
 
 
18071
 
# Whether or not to build shared libraries.
18072
 
build_libtool_libs=$enable_shared
18073
 
 
18074
 
# Whether or not to build static libraries.
18075
 
build_old_libs=$enable_static
18076
 
 
18077
 
# Whether or not to add -lc for building shared libraries.
18078
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18079
 
 
18080
 
# Whether or not to disallow shared libs when runtime libs are static
18081
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18082
 
 
18083
 
# Whether or not to optimize for fast installation.
18084
 
fast_install=$enable_fast_install
18085
 
 
18086
 
# The host system.
18087
 
host_alias=$host_alias
18088
 
host=$host
18089
 
host_os=$host_os
18090
 
 
18091
 
# The build system.
18092
 
build_alias=$build_alias
18093
 
build=$build
18094
 
build_os=$build_os
18095
 
 
18096
 
# An echo program that does not interpret backslashes.
18097
 
echo=$lt_echo
18098
 
 
18099
 
# The archiver.
18100
 
AR=$lt_AR
18101
 
AR_FLAGS=$lt_AR_FLAGS
18102
 
 
18103
 
# A C compiler.
18104
 
LTCC=$lt_LTCC
18105
 
 
18106
 
# LTCC compiler flags.
18107
 
LTCFLAGS=$lt_LTCFLAGS
18108
 
 
18109
 
# A language-specific compiler.
18110
 
CC=$lt_compiler_GCJ
18111
 
 
18112
 
# Is the compiler the GNU C compiler?
18113
 
with_gcc=$GCC_GCJ
18114
 
 
18115
 
# An ERE matcher.
18116
 
EGREP=$lt_EGREP
18117
 
 
18118
 
# The linker used to build libraries.
18119
 
LD=$lt_LD_GCJ
18120
 
 
18121
 
# Whether we need hard or soft links.
18122
 
LN_S=$lt_LN_S
18123
 
 
18124
 
# A BSD-compatible nm program.
18125
 
NM=$lt_NM
18126
 
 
18127
 
# A symbol stripping program
18128
 
STRIP=$lt_STRIP
18129
 
 
18130
 
# Used to examine libraries when file_magic_cmd begins "file"
18131
 
MAGIC_CMD=$MAGIC_CMD
18132
 
 
18133
 
# Used on cygwin: DLL creation program.
18134
 
DLLTOOL="$DLLTOOL"
18135
 
 
18136
 
# Used on cygwin: object dumper.
18137
 
OBJDUMP="$OBJDUMP"
18138
 
 
18139
 
# Used on cygwin: assembler.
18140
 
AS="$AS"
18141
 
 
18142
 
# The name of the directory that contains temporary libtool files.
18143
 
objdir=$objdir
18144
 
 
18145
 
# How to create reloadable object files.
18146
 
reload_flag=$lt_reload_flag
18147
 
reload_cmds=$lt_reload_cmds
18148
 
 
18149
 
# How to pass a linker flag through the compiler.
18150
 
wl=$lt_lt_prog_compiler_wl_GCJ
18151
 
 
18152
 
# Object file suffix (normally "o").
18153
 
objext="$ac_objext"
18154
 
 
18155
 
# Old archive suffix (normally "a").
18156
 
libext="$libext"
18157
 
 
18158
 
# Shared library suffix (normally ".so").
18159
 
shrext_cmds='$shrext_cmds'
18160
 
 
18161
 
# Executable file suffix (normally "").
18162
 
exeext="$exeext"
18163
 
 
18164
 
# Additional compiler flags for building library objects.
18165
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
18166
 
pic_mode=$pic_mode
18167
 
 
18168
 
# What is the maximum length of a command?
18169
 
max_cmd_len=$lt_cv_sys_max_cmd_len
18170
 
 
18171
 
# Does compiler simultaneously support -c and -o options?
18172
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18173
 
 
18174
 
# Must we lock files when doing compilation?
18175
 
need_locks=$lt_need_locks
18176
 
 
18177
 
# Do we need the lib prefix for modules?
18178
 
need_lib_prefix=$need_lib_prefix
18179
 
 
18180
 
# Do we need a version for libraries?
18181
 
need_version=$need_version
18182
 
 
18183
 
# Whether dlopen is supported.
18184
 
dlopen_support=$enable_dlopen
18185
 
 
18186
 
# Whether dlopen of programs is supported.
18187
 
dlopen_self=$enable_dlopen_self
18188
 
 
18189
 
# Whether dlopen of statically linked programs is supported.
18190
 
dlopen_self_static=$enable_dlopen_self_static
18191
 
 
18192
 
# Compiler flag to prevent dynamic linking.
18193
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
18194
 
 
18195
 
# Compiler flag to turn off builtin functions.
18196
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18197
 
 
18198
 
# Compiler flag to allow reflexive dlopens.
18199
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18200
 
 
18201
 
# Compiler flag to generate shared objects directly from archives.
18202
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18203
 
 
18204
 
# Compiler flag to generate thread-safe objects.
18205
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18206
 
 
18207
 
# Library versioning type.
18208
 
version_type=$version_type
18209
 
 
18210
 
# Format of library name prefix.
18211
 
libname_spec=$lt_libname_spec
18212
 
 
18213
 
# List of archive names.  First name is the real one, the rest are links.
18214
 
# The last name is the one that the linker finds with -lNAME.
18215
 
library_names_spec=$lt_library_names_spec
18216
 
 
18217
 
# The coded name of the library, if different from the real name.
18218
 
soname_spec=$lt_soname_spec
18219
 
 
18220
 
# Commands used to build and install an old-style archive.
18221
 
RANLIB=$lt_RANLIB
18222
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
18223
 
old_postinstall_cmds=$lt_old_postinstall_cmds
18224
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
18225
 
 
18226
 
# Create an old-style archive from a shared archive.
18227
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18228
 
 
18229
 
# Create a temporary old-style archive to link instead of a shared archive.
18230
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18231
 
 
18232
 
# Commands used to build and install a shared archive.
18233
 
archive_cmds=$lt_archive_cmds_GCJ
18234
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18235
 
postinstall_cmds=$lt_postinstall_cmds
18236
 
postuninstall_cmds=$lt_postuninstall_cmds
18237
 
 
18238
 
# Commands used to build a loadable module (assumed same as above if empty)
18239
 
module_cmds=$lt_module_cmds_GCJ
18240
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18241
 
 
18242
 
# Commands to strip libraries.
18243
 
old_striplib=$lt_old_striplib
18244
 
striplib=$lt_striplib
18245
 
 
18246
 
# Dependencies to place before the objects being linked to create a
18247
 
# shared library.
18248
 
predep_objects=$lt_predep_objects_GCJ
18249
 
 
18250
 
# Dependencies to place after the objects being linked to create a
18251
 
# shared library.
18252
 
postdep_objects=$lt_postdep_objects_GCJ
18253
 
 
18254
 
# Dependencies to place before the objects being linked to create a
18255
 
# shared library.
18256
 
predeps=$lt_predeps_GCJ
18257
 
 
18258
 
# Dependencies to place after the objects being linked to create a
18259
 
# shared library.
18260
 
postdeps=$lt_postdeps_GCJ
18261
 
 
18262
 
# The library search path used internally by the compiler when linking
18263
 
# a shared library.
18264
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18265
 
 
18266
 
# Method to check whether dependent libraries are shared objects.
18267
 
deplibs_check_method=$lt_deplibs_check_method
18268
 
 
18269
 
# Command to use when deplibs_check_method == file_magic.
18270
 
file_magic_cmd=$lt_file_magic_cmd
18271
 
 
18272
 
# Flag that allows shared libraries with undefined symbols to be built.
18273
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18274
 
 
18275
 
# Flag that forces no undefined symbols.
18276
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
18277
 
 
18278
 
# Commands used to finish a libtool library installation in a directory.
18279
 
finish_cmds=$lt_finish_cmds
18280
 
 
18281
 
# Same as above, but a single script fragment to be evaled but not shown.
18282
 
finish_eval=$lt_finish_eval
18283
 
 
18284
 
# Take the output of nm and produce a listing of raw symbols and C names.
18285
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18286
 
 
18287
 
# Transform the output of nm in a proper C declaration
18288
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18289
 
 
18290
 
# Transform the output of nm in a C name address pair
18291
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18292
 
 
18293
 
# This is the shared library runtime path variable.
18294
 
runpath_var=$runpath_var
18295
 
 
18296
 
# This is the shared library path variable.
18297
 
shlibpath_var=$shlibpath_var
18298
 
 
18299
 
# Is shlibpath searched before the hard-coded library search path?
18300
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18301
 
 
18302
 
# How to hardcode a shared library path into an executable.
18303
 
hardcode_action=$hardcode_action_GCJ
18304
 
 
18305
 
# Whether we should hardcode library paths into libraries.
18306
 
hardcode_into_libs=$hardcode_into_libs
18307
 
 
18308
 
# Flag to hardcode \$libdir into a binary during linking.
18309
 
# This must work even if \$libdir does not exist.
18310
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18311
 
 
18312
 
# If ld is used when linking, flag to hardcode \$libdir into
18313
 
# a binary during linking. This must work even if \$libdir does
18314
 
# not exist.
18315
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18316
 
 
18317
 
# Whether we need a single -rpath flag with a separated argument.
18318
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18319
 
 
18320
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18321
 
# resulting binary.
18322
 
hardcode_direct=$hardcode_direct_GCJ
18323
 
 
18324
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18325
 
# resulting binary.
18326
 
hardcode_minus_L=$hardcode_minus_L_GCJ
18327
 
 
18328
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18329
 
# the resulting binary.
18330
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18331
 
 
18332
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
18333
 
# and all subsequent libraries and executables linked against it.
18334
 
hardcode_automatic=$hardcode_automatic_GCJ
18335
 
 
18336
 
# Variables whose values should be saved in libtool wrapper scripts and
18337
 
# restored at relink time.
18338
 
variables_saved_for_relink="$variables_saved_for_relink"
18339
 
 
18340
 
# Whether libtool must link a program against all its dependency libraries.
18341
 
link_all_deplibs=$link_all_deplibs_GCJ
18342
 
 
18343
 
# Compile-time system search path for libraries
18344
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18345
 
 
18346
 
# Run-time system search path for libraries
18347
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18348
 
 
18349
 
# Fix the shell variable \$srcfile for the compiler.
18350
 
fix_srcfile_path="$fix_srcfile_path_GCJ"
18351
 
 
18352
 
# Set to yes if exported symbols are required.
18353
 
always_export_symbols=$always_export_symbols_GCJ
18354
 
 
18355
 
# The commands to list exported symbols.
18356
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18357
 
 
18358
 
# The commands to extract the exported symbol list from a shared archive.
18359
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
18360
 
 
18361
 
# Symbols that should not be listed in the preloaded symbols.
18362
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
18363
 
 
18364
 
# Symbols that must always be exported.
18365
 
include_expsyms=$lt_include_expsyms_GCJ
18366
 
 
18367
 
# ### END LIBTOOL TAG CONFIG: $tagname
18368
 
 
18369
 
__EOF__
18370
 
 
18371
 
 
18372
 
else
18373
 
  # If there is no Makefile yet, we rely on a make rule to execute
18374
 
  # `config.status --recheck' to rerun these tests and create the
18375
 
  # libtool script then.
18376
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18377
 
  if test -f "$ltmain_in"; then
18378
 
    test -f Makefile && make "$ltmain"
18379
 
  fi
18380
 
fi
18381
 
 
18382
 
 
18383
 
ac_ext=c
18384
 
ac_cpp='$CPP $CPPFLAGS'
18385
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18386
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18387
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
18388
 
 
18389
 
CC="$lt_save_CC"
18390
 
 
18391
 
        else
18392
 
          tagname=""
18393
 
        fi
18394
 
        ;;
18395
 
 
18396
 
      RC)
18397
 
 
18398
 
 
18399
 
 
18400
 
# Source file extension for RC test sources.
18401
 
ac_ext=rc
18402
 
 
18403
 
# Object file extension for compiled RC test sources.
18404
 
objext=o
18405
 
objext_RC=$objext
18406
 
 
18407
 
# Code to be used in simple compile tests
18408
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18409
 
 
18410
 
# Code to be used in simple link tests
18411
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
18412
 
 
18413
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
18414
 
 
18415
 
# If no C compiler was specified, use CC.
18416
 
LTCC=${LTCC-"$CC"}
18417
 
 
18418
 
# If no C compiler flags were specified, use CFLAGS.
18419
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18420
 
 
18421
 
# Allow CC to be a program name with arguments.
18422
 
compiler=$CC
18423
 
 
18424
 
 
18425
 
# save warnings/boilerplate of simple test code
18426
 
ac_outfile=conftest.$ac_objext
18427
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
18428
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18429
 
_lt_compiler_boilerplate=`cat conftest.err`
18430
 
$rm conftest*
18431
 
 
18432
 
ac_outfile=conftest.$ac_objext
18433
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
18434
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18435
 
_lt_linker_boilerplate=`cat conftest.err`
18436
 
$rm conftest*
18437
 
 
18438
 
 
18439
 
# Allow CC to be a program name with arguments.
18440
 
lt_save_CC="$CC"
18441
 
CC=${RC-"windres"}
18442
 
compiler=$CC
18443
 
compiler_RC=$CC
18444
 
for cc_temp in $compiler""; do
18445
 
  case $cc_temp in
18446
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18447
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18448
 
    \-*) ;;
18449
 
    *) break;;
18450
 
  esac
18451
 
done
18452
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18453
 
 
18454
 
lt_cv_prog_compiler_c_o_RC=yes
18455
 
 
18456
 
# The else clause should only fire when bootstrapping the
18457
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
18458
 
# with your package, and you will get complaints that there are
18459
 
# no rules to generate ltmain.sh.
18460
 
if test -f "$ltmain"; then
18461
 
  # See if we are running on zsh, and set the options which allow our commands through
18462
 
  # without removal of \ escapes.
18463
 
  if test -n "${ZSH_VERSION+set}" ; then
18464
 
    setopt NO_GLOB_SUBST
18465
 
  fi
18466
 
  # Now quote all the things that may contain metacharacters while being
18467
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18468
 
  # variables and quote the copies for generation of the libtool script.
18469
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18470
 
    SED SHELL STRIP \
18471
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18472
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18473
 
    deplibs_check_method reload_flag reload_cmds need_locks \
18474
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18475
 
    lt_cv_sys_global_symbol_to_c_name_address \
18476
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18477
 
    old_postinstall_cmds old_postuninstall_cmds \
18478
 
    compiler_RC \
18479
 
    CC_RC \
18480
 
    LD_RC \
18481
 
    lt_prog_compiler_wl_RC \
18482
 
    lt_prog_compiler_pic_RC \
18483
 
    lt_prog_compiler_static_RC \
18484
 
    lt_prog_compiler_no_builtin_flag_RC \
18485
 
    export_dynamic_flag_spec_RC \
18486
 
    thread_safe_flag_spec_RC \
18487
 
    whole_archive_flag_spec_RC \
18488
 
    enable_shared_with_static_runtimes_RC \
18489
 
    old_archive_cmds_RC \
18490
 
    old_archive_from_new_cmds_RC \
18491
 
    predep_objects_RC \
18492
 
    postdep_objects_RC \
18493
 
    predeps_RC \
18494
 
    postdeps_RC \
18495
 
    compiler_lib_search_path_RC \
18496
 
    archive_cmds_RC \
18497
 
    archive_expsym_cmds_RC \
18498
 
    postinstall_cmds_RC \
18499
 
    postuninstall_cmds_RC \
18500
 
    old_archive_from_expsyms_cmds_RC \
18501
 
    allow_undefined_flag_RC \
18502
 
    no_undefined_flag_RC \
18503
 
    export_symbols_cmds_RC \
18504
 
    hardcode_libdir_flag_spec_RC \
18505
 
    hardcode_libdir_flag_spec_ld_RC \
18506
 
    hardcode_libdir_separator_RC \
18507
 
    hardcode_automatic_RC \
18508
 
    module_cmds_RC \
18509
 
    module_expsym_cmds_RC \
18510
 
    lt_cv_prog_compiler_c_o_RC \
18511
 
    exclude_expsyms_RC \
18512
 
    include_expsyms_RC; do
18513
 
 
18514
 
    case $var in
18515
 
    old_archive_cmds_RC | \
18516
 
    old_archive_from_new_cmds_RC | \
18517
 
    archive_cmds_RC | \
18518
 
    archive_expsym_cmds_RC | \
18519
 
    module_cmds_RC | \
18520
 
    module_expsym_cmds_RC | \
18521
 
    old_archive_from_expsyms_cmds_RC | \
18522
 
    export_symbols_cmds_RC | \
18523
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
18524
 
    postinstall_cmds | postuninstall_cmds | \
18525
 
    old_postinstall_cmds | old_postuninstall_cmds | \
18526
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18527
 
      # Double-quote double-evaled strings.
18528
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18529
 
      ;;
18530
 
    *)
18531
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18532
 
      ;;
18533
 
    esac
18534
 
  done
18535
 
 
18536
 
  case $lt_echo in
18537
 
  *'\$0 --fallback-echo"')
18538
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18539
 
    ;;
18540
 
  esac
18541
 
 
18542
 
cfgfile="$ofile"
18543
 
 
18544
 
  cat <<__EOF__ >> "$cfgfile"
18545
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
18546
 
 
18547
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18548
 
 
18549
 
# Shell to use when invoking shell scripts.
18550
 
SHELL=$lt_SHELL
18551
 
 
18552
 
# Whether or not to build shared libraries.
18553
 
build_libtool_libs=$enable_shared
18554
 
 
18555
 
# Whether or not to build static libraries.
18556
 
build_old_libs=$enable_static
18557
 
 
18558
 
# Whether or not to add -lc for building shared libraries.
18559
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
18560
 
 
18561
 
# Whether or not to disallow shared libs when runtime libs are static
18562
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18563
 
 
18564
 
# Whether or not to optimize for fast installation.
18565
 
fast_install=$enable_fast_install
18566
 
 
18567
 
# The host system.
18568
 
host_alias=$host_alias
18569
 
host=$host
18570
 
host_os=$host_os
18571
 
 
18572
 
# The build system.
18573
 
build_alias=$build_alias
18574
 
build=$build
18575
 
build_os=$build_os
18576
 
 
18577
 
# An echo program that does not interpret backslashes.
18578
 
echo=$lt_echo
18579
 
 
18580
 
# The archiver.
18581
 
AR=$lt_AR
18582
 
AR_FLAGS=$lt_AR_FLAGS
18583
 
 
18584
 
# A C compiler.
18585
 
LTCC=$lt_LTCC
18586
 
 
18587
 
# LTCC compiler flags.
18588
 
LTCFLAGS=$lt_LTCFLAGS
18589
 
 
18590
 
# A language-specific compiler.
18591
 
CC=$lt_compiler_RC
18592
 
 
18593
 
# Is the compiler the GNU C compiler?
18594
 
with_gcc=$GCC_RC
18595
 
 
18596
 
# An ERE matcher.
18597
 
EGREP=$lt_EGREP
18598
 
 
18599
 
# The linker used to build libraries.
18600
 
LD=$lt_LD_RC
18601
 
 
18602
 
# Whether we need hard or soft links.
18603
 
LN_S=$lt_LN_S
18604
 
 
18605
 
# A BSD-compatible nm program.
18606
 
NM=$lt_NM
18607
 
 
18608
 
# A symbol stripping program
18609
 
STRIP=$lt_STRIP
18610
 
 
18611
 
# Used to examine libraries when file_magic_cmd begins "file"
18612
 
MAGIC_CMD=$MAGIC_CMD
18613
 
 
18614
 
# Used on cygwin: DLL creation program.
18615
 
DLLTOOL="$DLLTOOL"
18616
 
 
18617
 
# Used on cygwin: object dumper.
18618
 
OBJDUMP="$OBJDUMP"
18619
 
 
18620
 
# Used on cygwin: assembler.
18621
 
AS="$AS"
18622
 
 
18623
 
# The name of the directory that contains temporary libtool files.
18624
 
objdir=$objdir
18625
 
 
18626
 
# How to create reloadable object files.
18627
 
reload_flag=$lt_reload_flag
18628
 
reload_cmds=$lt_reload_cmds
18629
 
 
18630
 
# How to pass a linker flag through the compiler.
18631
 
wl=$lt_lt_prog_compiler_wl_RC
18632
 
 
18633
 
# Object file suffix (normally "o").
18634
 
objext="$ac_objext"
18635
 
 
18636
 
# Old archive suffix (normally "a").
18637
 
libext="$libext"
18638
 
 
18639
 
# Shared library suffix (normally ".so").
18640
 
shrext_cmds='$shrext_cmds'
18641
 
 
18642
 
# Executable file suffix (normally "").
18643
 
exeext="$exeext"
18644
 
 
18645
 
# Additional compiler flags for building library objects.
18646
 
pic_flag=$lt_lt_prog_compiler_pic_RC
18647
 
pic_mode=$pic_mode
18648
 
 
18649
 
# What is the maximum length of a command?
18650
 
max_cmd_len=$lt_cv_sys_max_cmd_len
18651
 
 
18652
 
# Does compiler simultaneously support -c and -o options?
18653
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18654
 
 
18655
 
# Must we lock files when doing compilation?
18656
 
need_locks=$lt_need_locks
18657
 
 
18658
 
# Do we need the lib prefix for modules?
18659
 
need_lib_prefix=$need_lib_prefix
18660
 
 
18661
 
# Do we need a version for libraries?
18662
 
need_version=$need_version
18663
 
 
18664
 
# Whether dlopen is supported.
18665
 
dlopen_support=$enable_dlopen
18666
 
 
18667
 
# Whether dlopen of programs is supported.
18668
 
dlopen_self=$enable_dlopen_self
18669
 
 
18670
 
# Whether dlopen of statically linked programs is supported.
18671
 
dlopen_self_static=$enable_dlopen_self_static
18672
 
 
18673
 
# Compiler flag to prevent dynamic linking.
18674
 
link_static_flag=$lt_lt_prog_compiler_static_RC
18675
 
 
18676
 
# Compiler flag to turn off builtin functions.
18677
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18678
 
 
18679
 
# Compiler flag to allow reflexive dlopens.
18680
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18681
 
 
18682
 
# Compiler flag to generate shared objects directly from archives.
18683
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18684
 
 
18685
 
# Compiler flag to generate thread-safe objects.
18686
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18687
 
 
18688
 
# Library versioning type.
18689
 
version_type=$version_type
18690
 
 
18691
 
# Format of library name prefix.
18692
 
libname_spec=$lt_libname_spec
18693
 
 
18694
 
# List of archive names.  First name is the real one, the rest are links.
18695
 
# The last name is the one that the linker finds with -lNAME.
18696
 
library_names_spec=$lt_library_names_spec
18697
 
 
18698
 
# The coded name of the library, if different from the real name.
18699
 
soname_spec=$lt_soname_spec
18700
 
 
18701
 
# Commands used to build and install an old-style archive.
18702
 
RANLIB=$lt_RANLIB
18703
 
old_archive_cmds=$lt_old_archive_cmds_RC
18704
 
old_postinstall_cmds=$lt_old_postinstall_cmds
18705
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
18706
 
 
18707
 
# Create an old-style archive from a shared archive.
18708
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18709
 
 
18710
 
# Create a temporary old-style archive to link instead of a shared archive.
18711
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18712
 
 
18713
 
# Commands used to build and install a shared archive.
18714
 
archive_cmds=$lt_archive_cmds_RC
18715
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18716
 
postinstall_cmds=$lt_postinstall_cmds
18717
 
postuninstall_cmds=$lt_postuninstall_cmds
18718
 
 
18719
 
# Commands used to build a loadable module (assumed same as above if empty)
18720
 
module_cmds=$lt_module_cmds_RC
18721
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
18722
 
 
18723
 
# Commands to strip libraries.
18724
 
old_striplib=$lt_old_striplib
18725
 
striplib=$lt_striplib
18726
 
 
18727
 
# Dependencies to place before the objects being linked to create a
18728
 
# shared library.
18729
 
predep_objects=$lt_predep_objects_RC
18730
 
 
18731
 
# Dependencies to place after the objects being linked to create a
18732
 
# shared library.
18733
 
postdep_objects=$lt_postdep_objects_RC
18734
 
 
18735
 
# Dependencies to place before the objects being linked to create a
18736
 
# shared library.
18737
 
predeps=$lt_predeps_RC
18738
 
 
18739
 
# Dependencies to place after the objects being linked to create a
18740
 
# shared library.
18741
 
postdeps=$lt_postdeps_RC
18742
 
 
18743
 
# The library search path used internally by the compiler when linking
18744
 
# a shared library.
18745
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18746
 
 
18747
 
# Method to check whether dependent libraries are shared objects.
18748
 
deplibs_check_method=$lt_deplibs_check_method
18749
 
 
18750
 
# Command to use when deplibs_check_method == file_magic.
18751
 
file_magic_cmd=$lt_file_magic_cmd
18752
 
 
18753
 
# Flag that allows shared libraries with undefined symbols to be built.
18754
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
18755
 
 
18756
 
# Flag that forces no undefined symbols.
18757
 
no_undefined_flag=$lt_no_undefined_flag_RC
18758
 
 
18759
 
# Commands used to finish a libtool library installation in a directory.
18760
 
finish_cmds=$lt_finish_cmds
18761
 
 
18762
 
# Same as above, but a single script fragment to be evaled but not shown.
18763
 
finish_eval=$lt_finish_eval
18764
 
 
18765
 
# Take the output of nm and produce a listing of raw symbols and C names.
18766
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18767
 
 
18768
 
# Transform the output of nm in a proper C declaration
18769
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18770
 
 
18771
 
# Transform the output of nm in a C name address pair
18772
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18773
 
 
18774
 
# This is the shared library runtime path variable.
18775
 
runpath_var=$runpath_var
18776
 
 
18777
 
# This is the shared library path variable.
18778
 
shlibpath_var=$shlibpath_var
18779
 
 
18780
 
# Is shlibpath searched before the hard-coded library search path?
18781
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18782
 
 
18783
 
# How to hardcode a shared library path into an executable.
18784
 
hardcode_action=$hardcode_action_RC
18785
 
 
18786
 
# Whether we should hardcode library paths into libraries.
18787
 
hardcode_into_libs=$hardcode_into_libs
18788
 
 
18789
 
# Flag to hardcode \$libdir into a binary during linking.
18790
 
# This must work even if \$libdir does not exist.
18791
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18792
 
 
18793
 
# If ld is used when linking, flag to hardcode \$libdir into
18794
 
# a binary during linking. This must work even if \$libdir does
18795
 
# not exist.
18796
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18797
 
 
18798
 
# Whether we need a single -rpath flag with a separated argument.
18799
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18800
 
 
18801
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18802
 
# resulting binary.
18803
 
hardcode_direct=$hardcode_direct_RC
18804
 
 
18805
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18806
 
# resulting binary.
18807
 
hardcode_minus_L=$hardcode_minus_L_RC
18808
 
 
18809
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18810
 
# the resulting binary.
18811
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18812
 
 
18813
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
18814
 
# and all subsequent libraries and executables linked against it.
18815
 
hardcode_automatic=$hardcode_automatic_RC
18816
 
 
18817
 
# Variables whose values should be saved in libtool wrapper scripts and
18818
 
# restored at relink time.
18819
 
variables_saved_for_relink="$variables_saved_for_relink"
18820
 
 
18821
 
# Whether libtool must link a program against all its dependency libraries.
18822
 
link_all_deplibs=$link_all_deplibs_RC
18823
 
 
18824
 
# Compile-time system search path for libraries
18825
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18826
 
 
18827
 
# Run-time system search path for libraries
18828
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18829
 
 
18830
 
# Fix the shell variable \$srcfile for the compiler.
18831
 
fix_srcfile_path="$fix_srcfile_path_RC"
18832
 
 
18833
 
# Set to yes if exported symbols are required.
18834
 
always_export_symbols=$always_export_symbols_RC
18835
 
 
18836
 
# The commands to list exported symbols.
18837
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
18838
 
 
18839
 
# The commands to extract the exported symbol list from a shared archive.
18840
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
18841
 
 
18842
 
# Symbols that should not be listed in the preloaded symbols.
18843
 
exclude_expsyms=$lt_exclude_expsyms_RC
18844
 
 
18845
 
# Symbols that must always be exported.
18846
 
include_expsyms=$lt_include_expsyms_RC
18847
 
 
18848
 
# ### END LIBTOOL TAG CONFIG: $tagname
18849
 
 
18850
 
__EOF__
18851
 
 
18852
 
 
18853
 
else
18854
 
  # If there is no Makefile yet, we rely on a make rule to execute
18855
 
  # `config.status --recheck' to rerun these tests and create the
18856
 
  # libtool script then.
18857
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18858
 
  if test -f "$ltmain_in"; then
18859
 
    test -f Makefile && make "$ltmain"
18860
 
  fi
18861
 
fi
18862
 
 
18863
 
 
18864
 
ac_ext=c
18865
 
ac_cpp='$CPP $CPPFLAGS'
18866
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18867
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18868
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
18869
 
 
18870
 
CC="$lt_save_CC"
18871
 
 
18872
 
        ;;
18873
 
 
18874
 
      *)
18875
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18876
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18877
 
   { (exit 1); exit 1; }; }
18878
 
        ;;
18879
 
      esac
18880
 
 
18881
 
      # Append the new tag name to the list of available tags.
18882
 
      if test -n "$tagname" ; then
18883
 
      available_tags="$available_tags $tagname"
18884
 
    fi
18885
 
    fi
18886
 
  done
18887
 
  IFS="$lt_save_ifs"
18888
 
 
18889
 
  # Now substitute the updated list of available tags.
18890
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18891
 
    mv "${ofile}T" "$ofile"
18892
 
    chmod +x "$ofile"
18893
 
  else
18894
 
    rm -f "${ofile}T"
18895
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18896
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18897
 
   { (exit 1); exit 1; }; }
18898
 
  fi
18899
 
fi
18900
 
 
18901
 
 
18902
 
 
18903
 
# This can be used to rebuild libtool when needed
18904
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18905
 
 
18906
 
# Always use our own libtool.
18907
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
18908
 
 
18909
 
# Prevent multiple expansion
18910
 
 
18911
 
 
18912
 
 
18913
 
 
18914
 
 
18915
 
 
18916
 
 
18917
 
 
18918
 
 
18919
 
 
18920
 
 
18921
 
 
18922
 
 
18923
 
 
18924
 
 
18925
 
 
18926
 
 
18927
 
 
18928
 
 
18929
 
 
18930
 
 
18931
 
# Check whether --enable-shared or --disable-shared was given.
18932
 
if test "${enable_shared+set}" = set; then
18933
 
  enableval="$enable_shared"
18934
 
  p=${PACKAGE-default}
18935
 
    case $enableval in
18936
 
    yes) enable_shared=yes ;;
18937
 
    no) enable_shared=no ;;
18938
 
    *)
18939
 
      enable_shared=no
18940
 
      # Look at the argument we got.  We use all the common list separators.
18941
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
18942
 
      for pkg in $enableval; do
18943
 
        IFS="$lt_save_ifs"
18944
 
        if test "X$pkg" = "X$p"; then
18945
 
          enable_shared=yes
18946
 
        fi
18947
 
      done
18948
 
      IFS="$lt_save_ifs"
18949
 
      ;;
18950
 
    esac
18951
 
else
18952
 
  enable_shared=yes
18953
 
fi;
18954
 
 
18955
 
# Check whether --enable-static or --disable-static was given.
18956
 
if test "${enable_static+set}" = set; then
18957
 
  enableval="$enable_static"
18958
 
  p=${PACKAGE-default}
18959
 
    case $enableval in
18960
 
    yes) enable_static=yes ;;
18961
 
    no) enable_static=no ;;
18962
 
    *)
18963
 
     enable_static=no
18964
 
      # Look at the argument we got.  We use all the common list separators.
18965
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
18966
 
      for pkg in $enableval; do
18967
 
        IFS="$lt_save_ifs"
18968
 
        if test "X$pkg" = "X$p"; then
18969
 
          enable_static=yes
18970
 
        fi
18971
 
      done
18972
 
      IFS="$lt_save_ifs"
18973
 
      ;;
18974
 
    esac
18975
 
else
18976
 
  enable_static=yes
18977
 
fi;
18978
 
 
18979
 
 
18980
 
 
18981
 
for ac_func in getcwd
18982
 
do
18983
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18984
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
18985
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18986
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
18987
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18988
 
else
18989
 
  cat >conftest.$ac_ext <<_ACEOF
18990
 
/* confdefs.h.  */
18991
 
_ACEOF
18992
 
cat confdefs.h >>conftest.$ac_ext
18993
 
cat >>conftest.$ac_ext <<_ACEOF
18994
 
/* end confdefs.h.  */
18995
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18996
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18997
 
#define $ac_func innocuous_$ac_func
18998
 
 
18999
 
/* System header to define __stub macros and hopefully few prototypes,
19000
 
    which can conflict with char $ac_func (); below.
19001
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19002
 
    <limits.h> exists even on freestanding compilers.  */
19003
 
 
19004
 
#ifdef __STDC__
19005
 
# include <limits.h>
19006
 
#else
19007
 
# include <assert.h>
19008
 
#endif
19009
 
 
19010
 
#undef $ac_func
19011
 
 
19012
 
/* Override any gcc2 internal prototype to avoid an error.  */
19013
 
#ifdef __cplusplus
19014
 
extern "C"
19015
 
{
19016
 
#endif
19017
 
/* We use char because int might match the return type of a gcc2
19018
 
   builtin and then its argument prototype would still apply.  */
19019
 
char $ac_func ();
19020
 
/* The GNU C library defines this for functions which it implements
19021
 
    to always fail with ENOSYS.  Some functions are actually named
19022
 
    something starting with __ and the normal name is an alias.  */
19023
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19024
 
choke me
19025
 
#else
19026
 
char (*f) () = $ac_func;
19027
 
#endif
19028
 
#ifdef __cplusplus
19029
 
}
19030
 
#endif
19031
 
 
19032
 
int
19033
 
main ()
19034
 
{
19035
 
return f != $ac_func;
19036
 
  ;
19037
 
  return 0;
19038
 
}
19039
 
_ACEOF
19040
 
rm -f conftest.$ac_objext conftest$ac_exeext
19041
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19042
 
  (eval $ac_link) 2>conftest.er1
19043
 
  ac_status=$?
19044
 
  grep -v '^ *+' conftest.er1 >conftest.err
19045
 
  rm -f conftest.er1
19046
 
  cat conftest.err >&5
19047
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19048
 
  (exit $ac_status); } &&
19049
 
         { ac_try='test -z "$ac_c_werror_flag"
19050
 
                         || test ! -s conftest.err'
19051
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19052
 
  (eval $ac_try) 2>&5
19053
 
  ac_status=$?
19054
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19055
 
  (exit $ac_status); }; } &&
19056
 
         { ac_try='test -s conftest$ac_exeext'
19057
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19058
 
  (eval $ac_try) 2>&5
19059
 
  ac_status=$?
19060
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19061
 
  (exit $ac_status); }; }; then
19062
 
  eval "$as_ac_var=yes"
19063
 
else
19064
 
  echo "$as_me: failed program was:" >&5
19065
 
sed 's/^/| /' conftest.$ac_ext >&5
19066
 
 
19067
 
eval "$as_ac_var=no"
19068
 
fi
19069
 
rm -f conftest.err conftest.$ac_objext \
19070
 
      conftest$ac_exeext conftest.$ac_ext
19071
 
fi
19072
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19073
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19074
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
19075
 
  cat >>confdefs.h <<_ACEOF
19076
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19077
 
_ACEOF
19078
 
 
19079
 
fi
19080
 
done
19081
 
 
19082
 
 
19083
 
for ac_func in memset
19084
 
do
19085
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19086
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
19087
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19088
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
19089
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19090
 
else
19091
 
  cat >conftest.$ac_ext <<_ACEOF
19092
 
/* confdefs.h.  */
19093
 
_ACEOF
19094
 
cat confdefs.h >>conftest.$ac_ext
19095
 
cat >>conftest.$ac_ext <<_ACEOF
19096
 
/* end confdefs.h.  */
19097
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19098
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19099
 
#define $ac_func innocuous_$ac_func
19100
 
 
19101
 
/* System header to define __stub macros and hopefully few prototypes,
19102
 
    which can conflict with char $ac_func (); below.
19103
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19104
 
    <limits.h> exists even on freestanding compilers.  */
19105
 
 
19106
 
#ifdef __STDC__
19107
 
# include <limits.h>
19108
 
#else
19109
 
# include <assert.h>
19110
 
#endif
19111
 
 
19112
 
#undef $ac_func
19113
 
 
19114
 
/* Override any gcc2 internal prototype to avoid an error.  */
19115
 
#ifdef __cplusplus
19116
 
extern "C"
19117
 
{
19118
 
#endif
19119
 
/* We use char because int might match the return type of a gcc2
19120
 
   builtin and then its argument prototype would still apply.  */
19121
 
char $ac_func ();
19122
 
/* The GNU C library defines this for functions which it implements
19123
 
    to always fail with ENOSYS.  Some functions are actually named
19124
 
    something starting with __ and the normal name is an alias.  */
19125
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19126
 
choke me
19127
 
#else
19128
 
char (*f) () = $ac_func;
19129
 
#endif
19130
 
#ifdef __cplusplus
19131
 
}
19132
 
#endif
19133
 
 
19134
 
int
19135
 
main ()
19136
 
{
19137
 
return f != $ac_func;
19138
 
  ;
19139
 
  return 0;
19140
 
}
19141
 
_ACEOF
19142
 
rm -f conftest.$ac_objext conftest$ac_exeext
19143
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19144
 
  (eval $ac_link) 2>conftest.er1
19145
 
  ac_status=$?
19146
 
  grep -v '^ *+' conftest.er1 >conftest.err
19147
 
  rm -f conftest.er1
19148
 
  cat conftest.err >&5
19149
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19150
 
  (exit $ac_status); } &&
19151
 
         { ac_try='test -z "$ac_c_werror_flag"
19152
 
                         || test ! -s conftest.err'
19153
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19154
 
  (eval $ac_try) 2>&5
19155
 
  ac_status=$?
19156
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19157
 
  (exit $ac_status); }; } &&
19158
 
         { ac_try='test -s conftest$ac_exeext'
19159
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19160
 
  (eval $ac_try) 2>&5
19161
 
  ac_status=$?
19162
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19163
 
  (exit $ac_status); }; }; then
19164
 
  eval "$as_ac_var=yes"
19165
 
else
19166
 
  echo "$as_me: failed program was:" >&5
19167
 
sed 's/^/| /' conftest.$ac_ext >&5
19168
 
 
19169
 
eval "$as_ac_var=no"
19170
 
fi
19171
 
rm -f conftest.err conftest.$ac_objext \
19172
 
      conftest$ac_exeext conftest.$ac_ext
19173
 
fi
19174
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19175
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19176
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
19177
 
  cat >>confdefs.h <<_ACEOF
19178
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19179
 
_ACEOF
19180
 
 
19181
 
fi
19182
 
done
19183
 
 
19184
 
 
19185
 
for ac_prog in gawk mawk nawk awk
19186
 
do
19187
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
19188
 
set dummy $ac_prog; ac_word=$2
19189
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19190
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19191
 
if test "${ac_cv_prog_AWK+set}" = set; then
19192
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19193
 
else
19194
 
  if test -n "$AWK"; then
19195
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
19196
 
else
19197
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19198
 
for as_dir in $PATH
19199
 
do
19200
 
  IFS=$as_save_IFS
19201
 
  test -z "$as_dir" && as_dir=.
19202
 
  for ac_exec_ext in '' $ac_executable_extensions; do
19203
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19204
 
    ac_cv_prog_AWK="$ac_prog"
19205
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19206
 
    break 2
19207
 
  fi
19208
 
done
19209
 
done
19210
 
 
19211
 
fi
19212
 
fi
19213
 
AWK=$ac_cv_prog_AWK
19214
 
if test -n "$AWK"; then
19215
 
  echo "$as_me:$LINENO: result: $AWK" >&5
19216
 
echo "${ECHO_T}$AWK" >&6
19217
 
else
19218
 
  echo "$as_me:$LINENO: result: no" >&5
19219
 
echo "${ECHO_T}no" >&6
19220
 
fi
19221
 
 
19222
 
  test -n "$AWK" && break
19223
 
done
19224
 
 
19225
 
# Find a good install program.  We prefer a C program (faster),
19226
 
# so one script is as good as another.  But avoid the broken or
19227
 
# incompatible versions:
19228
 
# SysV /etc/install, /usr/sbin/install
19229
 
# SunOS /usr/etc/install
19230
 
# IRIX /sbin/install
19231
 
# AIX /bin/install
19232
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
19233
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19234
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
19235
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19236
 
# OS/2's system install, which has a completely different semantic
19237
 
# ./install, which can be erroneously created by make from ./install.sh.
19238
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19239
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
19240
 
if test -z "$INSTALL"; then
19241
 
if test "${ac_cv_path_install+set}" = set; then
19242
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19243
 
else
19244
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19245
 
for as_dir in $PATH
19246
 
do
19247
 
  IFS=$as_save_IFS
19248
 
  test -z "$as_dir" && as_dir=.
19249
 
  # Account for people who put trailing slashes in PATH elements.
19250
 
case $as_dir/ in
19251
 
  ./ | .// | /cC/* | \
19252
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19253
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
19254
 
  /usr/ucb/* ) ;;
19255
 
  *)
19256
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
19257
 
    # Don't use installbsd from OSF since it installs stuff as root
19258
 
    # by default.
19259
 
    for ac_prog in ginstall scoinst install; do
19260
 
      for ac_exec_ext in '' $ac_executable_extensions; do
19261
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
19262
 
          if test $ac_prog = install &&
19263
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19264
 
            # AIX install.  It has an incompatible calling convention.
19265
 
            :
19266
 
          elif test $ac_prog = install &&
19267
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19268
 
            # program-specific install script used by HP pwplus--don't use.
19269
 
            :
19270
 
          else
19271
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19272
 
            break 3
19273
 
          fi
19274
 
        fi
19275
 
      done
19276
 
    done
19277
 
    ;;
19278
 
esac
19279
 
done
19280
 
 
19281
 
 
19282
 
fi
19283
 
  if test "${ac_cv_path_install+set}" = set; then
19284
 
    INSTALL=$ac_cv_path_install
19285
 
  else
19286
 
    # As a last resort, use the slow shell script.  We don't cache a
19287
 
    # path for INSTALL within a source directory, because that will
19288
 
    # break other packages using the cache if that directory is
19289
 
    # removed, or if the path is relative.
19290
 
    INSTALL=$ac_install_sh
19291
 
  fi
19292
 
fi
19293
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
19294
 
echo "${ECHO_T}$INSTALL" >&6
19295
 
 
19296
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19297
 
# It thinks the first close brace ends the variable substitution.
19298
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
19299
 
 
19300
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
19301
 
 
19302
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19303
 
 
19304
 
if test -n "$ac_tool_prefix"; then
19305
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
19306
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
19307
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19308
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19309
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
19310
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19311
 
else
19312
 
  if test -n "$RANLIB"; then
19313
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
19314
 
else
19315
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19316
 
for as_dir in $PATH
19317
 
do
19318
 
  IFS=$as_save_IFS
19319
 
  test -z "$as_dir" && as_dir=.
19320
 
  for ac_exec_ext in '' $ac_executable_extensions; do
19321
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19322
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
19323
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19324
 
    break 2
19325
 
  fi
19326
 
done
19327
 
done
19328
 
 
19329
 
fi
19330
 
fi
19331
 
RANLIB=$ac_cv_prog_RANLIB
19332
 
if test -n "$RANLIB"; then
19333
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
19334
 
echo "${ECHO_T}$RANLIB" >&6
19335
 
else
19336
 
  echo "$as_me:$LINENO: result: no" >&5
19337
 
echo "${ECHO_T}no" >&6
19338
 
fi
19339
 
 
19340
 
fi
19341
 
if test -z "$ac_cv_prog_RANLIB"; then
19342
 
  ac_ct_RANLIB=$RANLIB
19343
 
  # Extract the first word of "ranlib", so it can be a program name with args.
19344
 
set dummy ranlib; ac_word=$2
19345
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19346
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19347
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
19348
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19349
 
else
19350
 
  if test -n "$ac_ct_RANLIB"; then
19351
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
19352
 
else
19353
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19354
 
for as_dir in $PATH
19355
 
do
19356
 
  IFS=$as_save_IFS
19357
 
  test -z "$as_dir" && as_dir=.
19358
 
  for ac_exec_ext in '' $ac_executable_extensions; do
19359
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19360
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
19361
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19362
 
    break 2
19363
 
  fi
19364
 
done
19365
 
done
19366
 
 
19367
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
19368
 
fi
19369
 
fi
19370
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
19371
 
if test -n "$ac_ct_RANLIB"; then
19372
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
19373
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
19374
 
else
19375
 
  echo "$as_me:$LINENO: result: no" >&5
19376
 
echo "${ECHO_T}no" >&6
19377
 
fi
19378
 
 
19379
 
  RANLIB=$ac_ct_RANLIB
19380
 
else
19381
 
  RANLIB="$ac_cv_prog_RANLIB"
19382
 
fi
19383
 
 
19384
 
 
19385
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19386
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19387
 
if test "${ac_cv_header_stdc+set}" = set; then
19388
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19389
 
else
19390
 
  cat >conftest.$ac_ext <<_ACEOF
19391
 
/* confdefs.h.  */
19392
 
_ACEOF
19393
 
cat confdefs.h >>conftest.$ac_ext
19394
 
cat >>conftest.$ac_ext <<_ACEOF
19395
 
/* end confdefs.h.  */
19396
 
#include <stdlib.h>
19397
 
#include <stdarg.h>
19398
 
#include <string.h>
19399
 
#include <float.h>
19400
 
 
19401
 
int
19402
 
main ()
19403
 
{
19404
 
 
19405
 
  ;
19406
 
  return 0;
19407
 
}
19408
 
_ACEOF
19409
 
rm -f conftest.$ac_objext
19410
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19411
 
  (eval $ac_compile) 2>conftest.er1
19412
 
  ac_status=$?
19413
 
  grep -v '^ *+' conftest.er1 >conftest.err
19414
 
  rm -f conftest.er1
19415
 
  cat conftest.err >&5
19416
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19417
 
  (exit $ac_status); } &&
19418
 
         { ac_try='test -z "$ac_c_werror_flag"
19419
 
                         || test ! -s conftest.err'
19420
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19421
 
  (eval $ac_try) 2>&5
19422
 
  ac_status=$?
19423
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19424
 
  (exit $ac_status); }; } &&
19425
 
         { ac_try='test -s conftest.$ac_objext'
19426
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19427
 
  (eval $ac_try) 2>&5
19428
 
  ac_status=$?
19429
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19430
 
  (exit $ac_status); }; }; then
19431
 
  ac_cv_header_stdc=yes
19432
 
else
19433
 
  echo "$as_me: failed program was:" >&5
19434
 
sed 's/^/| /' conftest.$ac_ext >&5
19435
 
 
19436
 
ac_cv_header_stdc=no
19437
 
fi
19438
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19439
 
 
19440
 
if test $ac_cv_header_stdc = yes; then
19441
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19442
 
  cat >conftest.$ac_ext <<_ACEOF
19443
 
/* confdefs.h.  */
19444
 
_ACEOF
19445
 
cat confdefs.h >>conftest.$ac_ext
19446
 
cat >>conftest.$ac_ext <<_ACEOF
19447
 
/* end confdefs.h.  */
19448
 
#include <string.h>
19449
 
 
19450
 
_ACEOF
19451
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19452
 
  $EGREP "memchr" >/dev/null 2>&1; then
19453
 
  :
19454
 
else
19455
 
  ac_cv_header_stdc=no
19456
 
fi
19457
 
rm -f conftest*
19458
 
 
19459
 
fi
19460
 
 
19461
 
if test $ac_cv_header_stdc = yes; then
19462
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19463
 
  cat >conftest.$ac_ext <<_ACEOF
19464
 
/* confdefs.h.  */
19465
 
_ACEOF
19466
 
cat confdefs.h >>conftest.$ac_ext
19467
 
cat >>conftest.$ac_ext <<_ACEOF
19468
 
/* end confdefs.h.  */
19469
 
#include <stdlib.h>
19470
 
 
19471
 
_ACEOF
19472
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19473
 
  $EGREP "free" >/dev/null 2>&1; then
19474
 
  :
19475
 
else
19476
 
  ac_cv_header_stdc=no
19477
 
fi
19478
 
rm -f conftest*
19479
 
 
19480
 
fi
19481
 
 
19482
 
if test $ac_cv_header_stdc = yes; then
19483
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19484
 
  if test "$cross_compiling" = yes; then
19485
 
  :
19486
 
else
19487
 
  cat >conftest.$ac_ext <<_ACEOF
19488
 
/* confdefs.h.  */
19489
 
_ACEOF
19490
 
cat confdefs.h >>conftest.$ac_ext
19491
 
cat >>conftest.$ac_ext <<_ACEOF
19492
 
/* end confdefs.h.  */
19493
 
#include <ctype.h>
19494
 
#if ((' ' & 0x0FF) == 0x020)
19495
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19496
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19497
 
#else
19498
 
# define ISLOWER(c) \
19499
 
                   (('a' <= (c) && (c) <= 'i') \
19500
 
                     || ('j' <= (c) && (c) <= 'r') \
19501
 
                     || ('s' <= (c) && (c) <= 'z'))
19502
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19503
 
#endif
19504
 
 
19505
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19506
 
int
19507
 
main ()
19508
 
{
19509
 
  int i;
19510
 
  for (i = 0; i < 256; i++)
19511
 
    if (XOR (islower (i), ISLOWER (i))
19512
 
        || toupper (i) != TOUPPER (i))
19513
 
      exit(2);
19514
 
  exit (0);
19515
 
}
19516
 
_ACEOF
19517
 
rm -f conftest$ac_exeext
19518
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19519
 
  (eval $ac_link) 2>&5
19520
 
  ac_status=$?
19521
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19522
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19523
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19524
 
  (eval $ac_try) 2>&5
19525
 
  ac_status=$?
19526
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527
 
  (exit $ac_status); }; }; then
19528
 
  :
19529
 
else
19530
 
  echo "$as_me: program exited with status $ac_status" >&5
19531
 
echo "$as_me: failed program was:" >&5
19532
 
sed 's/^/| /' conftest.$ac_ext >&5
19533
 
 
19534
 
( exit $ac_status )
19535
 
ac_cv_header_stdc=no
19536
 
fi
19537
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19538
 
fi
19539
 
fi
19540
 
fi
19541
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19542
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
19543
 
if test $ac_cv_header_stdc = yes; then
19544
 
 
19545
 
cat >>confdefs.h <<\_ACEOF
19546
 
#define STDC_HEADERS 1
19547
 
_ACEOF
19548
 
 
19549
 
fi
19550
 
 
19551
 
 
19552
 
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19553
 
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
19554
 
if test "${ac_cv_c_const+set}" = set; then
19555
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19556
 
else
19557
 
  cat >conftest.$ac_ext <<_ACEOF
19558
 
/* confdefs.h.  */
19559
 
_ACEOF
19560
 
cat confdefs.h >>conftest.$ac_ext
19561
 
cat >>conftest.$ac_ext <<_ACEOF
19562
 
/* end confdefs.h.  */
19563
 
 
19564
 
int
19565
 
main ()
19566
 
{
19567
 
/* FIXME: Include the comments suggested by Paul. */
19568
 
#ifndef __cplusplus
19569
 
  /* Ultrix mips cc rejects this.  */
19570
 
  typedef int charset[2];
19571
 
  const charset x;
19572
 
  /* SunOS 4.1.1 cc rejects this.  */
19573
 
  char const *const *ccp;
19574
 
  char **p;
19575
 
  /* NEC SVR4.0.2 mips cc rejects this.  */
19576
 
  struct point {int x, y;};
19577
 
  static struct point const zero = {0,0};
19578
 
  /* AIX XL C 1.02.0.0 rejects this.
19579
 
     It does not let you subtract one const X* pointer from another in
19580
 
     an arm of an if-expression whose if-part is not a constant
19581
 
     expression */
19582
 
  const char *g = "string";
19583
 
  ccp = &g + (g ? g-g : 0);
19584
 
  /* HPUX 7.0 cc rejects these. */
19585
 
  ++ccp;
19586
 
  p = (char**) ccp;
19587
 
  ccp = (char const *const *) p;
19588
 
  { /* SCO 3.2v4 cc rejects this.  */
19589
 
    char *t;
19590
 
    char const *s = 0 ? (char *) 0 : (char const *) 0;
19591
 
 
19592
 
    *t++ = 0;
19593
 
  }
19594
 
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
19595
 
    int x[] = {25, 17};
19596
 
    const int *foo = &x[0];
19597
 
    ++foo;
19598
 
  }
19599
 
  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19600
 
    typedef const int *iptr;
19601
 
    iptr p = 0;
19602
 
    ++p;
19603
 
  }
19604
 
  { /* AIX XL C 1.02.0.0 rejects this saying
19605
 
       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19606
 
    struct s { int j; const int *ap[3]; };
19607
 
    struct s *b; b->j = 5;
19608
 
  }
19609
 
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19610
 
    const int foo = 10;
19611
 
  }
19612
 
#endif
19613
 
 
19614
 
  ;
19615
 
  return 0;
19616
 
}
19617
 
_ACEOF
19618
 
rm -f conftest.$ac_objext
19619
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19620
 
  (eval $ac_compile) 2>conftest.er1
19621
 
  ac_status=$?
19622
 
  grep -v '^ *+' conftest.er1 >conftest.err
19623
 
  rm -f conftest.er1
19624
 
  cat conftest.err >&5
19625
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19626
 
  (exit $ac_status); } &&
19627
 
         { ac_try='test -z "$ac_c_werror_flag"
19628
 
                         || test ! -s conftest.err'
19629
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19630
 
  (eval $ac_try) 2>&5
19631
 
  ac_status=$?
19632
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19633
 
  (exit $ac_status); }; } &&
19634
 
         { ac_try='test -s conftest.$ac_objext'
19635
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19636
 
  (eval $ac_try) 2>&5
19637
 
  ac_status=$?
19638
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19639
 
  (exit $ac_status); }; }; then
19640
 
  ac_cv_c_const=yes
19641
 
else
19642
 
  echo "$as_me: failed program was:" >&5
19643
 
sed 's/^/| /' conftest.$ac_ext >&5
19644
 
 
19645
 
ac_cv_c_const=no
19646
 
fi
19647
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19648
 
fi
19649
 
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19650
 
echo "${ECHO_T}$ac_cv_c_const" >&6
19651
 
if test $ac_cv_c_const = no; then
19652
 
 
19653
 
cat >>confdefs.h <<\_ACEOF
19654
 
#define const
19655
 
_ACEOF
19656
 
 
19657
 
fi
19658
 
 
19659
 
echo "$as_me:$LINENO: checking for size_t" >&5
19660
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19661
 
if test "${ac_cv_type_size_t+set}" = set; then
19662
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19663
 
else
19664
 
  cat >conftest.$ac_ext <<_ACEOF
19665
 
/* confdefs.h.  */
19666
 
_ACEOF
19667
 
cat confdefs.h >>conftest.$ac_ext
19668
 
cat >>conftest.$ac_ext <<_ACEOF
19669
 
/* end confdefs.h.  */
19670
 
$ac_includes_default
19671
 
int
19672
 
main ()
19673
 
{
19674
 
if ((size_t *) 0)
19675
 
  return 0;
19676
 
if (sizeof (size_t))
19677
 
  return 0;
19678
 
  ;
19679
 
  return 0;
19680
 
}
19681
 
_ACEOF
19682
 
rm -f conftest.$ac_objext
19683
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19684
 
  (eval $ac_compile) 2>conftest.er1
19685
 
  ac_status=$?
19686
 
  grep -v '^ *+' conftest.er1 >conftest.err
19687
 
  rm -f conftest.er1
19688
 
  cat conftest.err >&5
19689
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19690
 
  (exit $ac_status); } &&
19691
 
         { ac_try='test -z "$ac_c_werror_flag"
19692
 
                         || test ! -s conftest.err'
19693
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19694
 
  (eval $ac_try) 2>&5
19695
 
  ac_status=$?
19696
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19697
 
  (exit $ac_status); }; } &&
19698
 
         { ac_try='test -s conftest.$ac_objext'
19699
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19700
 
  (eval $ac_try) 2>&5
19701
 
  ac_status=$?
19702
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19703
 
  (exit $ac_status); }; }; then
19704
 
  ac_cv_type_size_t=yes
19705
 
else
19706
 
  echo "$as_me: failed program was:" >&5
19707
 
sed 's/^/| /' conftest.$ac_ext >&5
19708
 
 
19709
 
ac_cv_type_size_t=no
19710
 
fi
19711
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19712
 
fi
19713
 
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19714
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6
19715
 
if test $ac_cv_type_size_t = yes; then
19716
 
  :
19717
 
else
19718
 
 
19719
 
cat >>confdefs.h <<_ACEOF
19720
 
#define size_t unsigned
19721
 
_ACEOF
19722
 
 
19723
 
fi
19724
 
 
19725
 
 
19726
 
 
19727
 
 
19728
 
 
19729
 
for ac_header in sys/types.h sys/socket.h unistd.h netinet/in.h
19730
 
do
19731
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19732
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
19733
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
19734
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19735
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
19736
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19737
 
fi
19738
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19739
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19740
 
else
19741
 
  # Is the header compilable?
19742
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
19743
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19744
 
cat >conftest.$ac_ext <<_ACEOF
19745
 
/* confdefs.h.  */
19746
 
_ACEOF
19747
 
cat confdefs.h >>conftest.$ac_ext
19748
 
cat >>conftest.$ac_ext <<_ACEOF
19749
 
/* end confdefs.h.  */
19750
 
$ac_includes_default
19751
 
#include <$ac_header>
19752
 
_ACEOF
19753
 
rm -f conftest.$ac_objext
19754
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19755
 
  (eval $ac_compile) 2>conftest.er1
19756
 
  ac_status=$?
19757
 
  grep -v '^ *+' conftest.er1 >conftest.err
19758
 
  rm -f conftest.er1
19759
 
  cat conftest.err >&5
19760
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19761
 
  (exit $ac_status); } &&
19762
 
         { ac_try='test -z "$ac_c_werror_flag"
19763
 
                         || test ! -s conftest.err'
19764
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19765
 
  (eval $ac_try) 2>&5
19766
 
  ac_status=$?
19767
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768
 
  (exit $ac_status); }; } &&
19769
 
         { ac_try='test -s conftest.$ac_objext'
19770
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19771
 
  (eval $ac_try) 2>&5
19772
 
  ac_status=$?
19773
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774
 
  (exit $ac_status); }; }; then
19775
 
  ac_header_compiler=yes
19776
 
else
19777
 
  echo "$as_me: failed program was:" >&5
19778
 
sed 's/^/| /' conftest.$ac_ext >&5
19779
 
 
19780
 
ac_header_compiler=no
19781
 
fi
19782
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19783
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19784
 
echo "${ECHO_T}$ac_header_compiler" >&6
19785
 
 
19786
 
# Is the header present?
19787
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
19788
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19789
 
cat >conftest.$ac_ext <<_ACEOF
19790
 
/* confdefs.h.  */
19791
 
_ACEOF
19792
 
cat confdefs.h >>conftest.$ac_ext
19793
 
cat >>conftest.$ac_ext <<_ACEOF
19794
 
/* end confdefs.h.  */
19795
 
#include <$ac_header>
19796
 
_ACEOF
19797
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19798
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19799
 
  ac_status=$?
19800
 
  grep -v '^ *+' conftest.er1 >conftest.err
19801
 
  rm -f conftest.er1
19802
 
  cat conftest.err >&5
19803
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19804
 
  (exit $ac_status); } >/dev/null; then
19805
 
  if test -s conftest.err; then
19806
 
    ac_cpp_err=$ac_c_preproc_warn_flag
19807
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19808
 
  else
19809
 
    ac_cpp_err=
19810
 
  fi
19811
 
else
19812
 
  ac_cpp_err=yes
19813
 
fi
19814
 
if test -z "$ac_cpp_err"; then
19815
 
  ac_header_preproc=yes
19816
 
else
19817
 
  echo "$as_me: failed program was:" >&5
19818
 
sed 's/^/| /' conftest.$ac_ext >&5
19819
 
 
19820
 
  ac_header_preproc=no
19821
 
fi
19822
 
rm -f conftest.err conftest.$ac_ext
19823
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19824
 
echo "${ECHO_T}$ac_header_preproc" >&6
19825
 
 
19826
 
# So?  What about this header?
19827
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19828
 
  yes:no: )
19829
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19830
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19831
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19832
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19833
 
    ac_header_preproc=yes
19834
 
    ;;
19835
 
  no:yes:* )
19836
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19837
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19838
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
19839
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
19840
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19841
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19842
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
19843
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
19844
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19845
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19846
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19847
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19848
 
    (
19849
 
      cat <<\_ASBOX
19850
 
## ------------------------------------------ ##
19851
 
## Report this to the AC_PACKAGE_NAME lists.  ##
19852
 
## ------------------------------------------ ##
19853
 
_ASBOX
19854
 
    ) |
19855
 
      sed "s/^/$as_me: WARNING:     /" >&2
19856
 
    ;;
19857
 
esac
19858
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
19859
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19860
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
19861
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19862
 
else
19863
 
  eval "$as_ac_Header=\$ac_header_preproc"
19864
 
fi
19865
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19866
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19867
 
 
19868
 
fi
19869
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
19870
 
  cat >>confdefs.h <<_ACEOF
19871
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19872
 
_ACEOF
19873
 
 
19874
 
fi
19875
 
 
19876
 
done
19877
 
 
19878
 
 
19879
 
 
19880
 
 
19881
 
 
19882
 
for ac_header in arpa/inet.h netdb.h sys/ioctl.h errno.h
19883
 
do
19884
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19885
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
19886
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
19887
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19888
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
19889
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19890
 
fi
19891
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19892
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19893
 
else
19894
 
  # Is the header compilable?
19895
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
19896
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19897
 
cat >conftest.$ac_ext <<_ACEOF
19898
 
/* confdefs.h.  */
19899
 
_ACEOF
19900
 
cat confdefs.h >>conftest.$ac_ext
19901
 
cat >>conftest.$ac_ext <<_ACEOF
19902
 
/* end confdefs.h.  */
19903
 
$ac_includes_default
19904
 
#include <$ac_header>
19905
 
_ACEOF
19906
 
rm -f conftest.$ac_objext
19907
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19908
 
  (eval $ac_compile) 2>conftest.er1
19909
 
  ac_status=$?
19910
 
  grep -v '^ *+' conftest.er1 >conftest.err
19911
 
  rm -f conftest.er1
19912
 
  cat conftest.err >&5
19913
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19914
 
  (exit $ac_status); } &&
19915
 
         { ac_try='test -z "$ac_c_werror_flag"
19916
 
                         || test ! -s conftest.err'
19917
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19918
 
  (eval $ac_try) 2>&5
19919
 
  ac_status=$?
19920
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19921
 
  (exit $ac_status); }; } &&
19922
 
         { ac_try='test -s conftest.$ac_objext'
19923
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19924
 
  (eval $ac_try) 2>&5
19925
 
  ac_status=$?
19926
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19927
 
  (exit $ac_status); }; }; then
19928
 
  ac_header_compiler=yes
19929
 
else
19930
 
  echo "$as_me: failed program was:" >&5
19931
 
sed 's/^/| /' conftest.$ac_ext >&5
19932
 
 
19933
 
ac_header_compiler=no
19934
 
fi
19935
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19936
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19937
 
echo "${ECHO_T}$ac_header_compiler" >&6
19938
 
 
19939
 
# Is the header present?
19940
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
19941
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19942
 
cat >conftest.$ac_ext <<_ACEOF
19943
 
/* confdefs.h.  */
19944
 
_ACEOF
19945
 
cat confdefs.h >>conftest.$ac_ext
19946
 
cat >>conftest.$ac_ext <<_ACEOF
19947
 
/* end confdefs.h.  */
19948
 
#include <$ac_header>
19949
 
_ACEOF
19950
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19951
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19952
 
  ac_status=$?
19953
 
  grep -v '^ *+' conftest.er1 >conftest.err
19954
 
  rm -f conftest.er1
19955
 
  cat conftest.err >&5
19956
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19957
 
  (exit $ac_status); } >/dev/null; then
19958
 
  if test -s conftest.err; then
19959
 
    ac_cpp_err=$ac_c_preproc_warn_flag
19960
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19961
 
  else
19962
 
    ac_cpp_err=
19963
 
  fi
19964
 
else
19965
 
  ac_cpp_err=yes
19966
 
fi
19967
 
if test -z "$ac_cpp_err"; then
19968
 
  ac_header_preproc=yes
19969
 
else
19970
 
  echo "$as_me: failed program was:" >&5
19971
 
sed 's/^/| /' conftest.$ac_ext >&5
19972
 
 
19973
 
  ac_header_preproc=no
19974
 
fi
19975
 
rm -f conftest.err conftest.$ac_ext
19976
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19977
 
echo "${ECHO_T}$ac_header_preproc" >&6
19978
 
 
19979
 
# So?  What about this header?
19980
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19981
 
  yes:no: )
19982
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19983
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19984
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19985
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19986
 
    ac_header_preproc=yes
19987
 
    ;;
19988
 
  no:yes:* )
19989
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19990
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19991
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
19992
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
19993
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19994
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19995
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
19996
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
19997
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19998
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19999
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20000
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20001
 
    (
20002
 
      cat <<\_ASBOX
20003
 
## ------------------------------------------ ##
20004
 
## Report this to the AC_PACKAGE_NAME lists.  ##
20005
 
## ------------------------------------------ ##
20006
 
_ASBOX
20007
 
    ) |
20008
 
      sed "s/^/$as_me: WARNING:     /" >&2
20009
 
    ;;
20010
 
esac
20011
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
20012
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20013
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20014
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20015
 
else
20016
 
  eval "$as_ac_Header=\$ac_header_preproc"
20017
 
fi
20018
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20019
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20020
 
 
20021
 
fi
20022
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
20023
 
  cat >>confdefs.h <<_ACEOF
20024
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20025
 
_ACEOF
20026
 
 
20027
 
fi
20028
 
 
20029
 
done
20030
 
 
20031
 
 
20032
 
for ac_header in sys/time.h
20033
 
do
20034
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20035
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20036
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
20037
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20038
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20039
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20040
 
fi
20041
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20042
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20043
 
else
20044
 
  # Is the header compilable?
20045
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
20046
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20047
 
cat >conftest.$ac_ext <<_ACEOF
20048
 
/* confdefs.h.  */
20049
 
_ACEOF
20050
 
cat confdefs.h >>conftest.$ac_ext
20051
 
cat >>conftest.$ac_ext <<_ACEOF
20052
 
/* end confdefs.h.  */
20053
 
$ac_includes_default
20054
 
#include <$ac_header>
20055
 
_ACEOF
20056
 
rm -f conftest.$ac_objext
20057
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20058
 
  (eval $ac_compile) 2>conftest.er1
20059
 
  ac_status=$?
20060
 
  grep -v '^ *+' conftest.er1 >conftest.err
20061
 
  rm -f conftest.er1
20062
 
  cat conftest.err >&5
20063
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20064
 
  (exit $ac_status); } &&
20065
 
         { ac_try='test -z "$ac_c_werror_flag"
20066
 
                         || test ! -s conftest.err'
20067
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20068
 
  (eval $ac_try) 2>&5
20069
 
  ac_status=$?
20070
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20071
 
  (exit $ac_status); }; } &&
20072
 
         { ac_try='test -s conftest.$ac_objext'
20073
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20074
 
  (eval $ac_try) 2>&5
20075
 
  ac_status=$?
20076
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20077
 
  (exit $ac_status); }; }; then
20078
 
  ac_header_compiler=yes
20079
 
else
20080
 
  echo "$as_me: failed program was:" >&5
20081
 
sed 's/^/| /' conftest.$ac_ext >&5
20082
 
 
20083
 
ac_header_compiler=no
20084
 
fi
20085
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20086
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20087
 
echo "${ECHO_T}$ac_header_compiler" >&6
20088
 
 
20089
 
# Is the header present?
20090
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
20091
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20092
 
cat >conftest.$ac_ext <<_ACEOF
20093
 
/* confdefs.h.  */
20094
 
_ACEOF
20095
 
cat confdefs.h >>conftest.$ac_ext
20096
 
cat >>conftest.$ac_ext <<_ACEOF
20097
 
/* end confdefs.h.  */
20098
 
#include <$ac_header>
20099
 
_ACEOF
20100
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20101
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20102
 
  ac_status=$?
20103
 
  grep -v '^ *+' conftest.er1 >conftest.err
20104
 
  rm -f conftest.er1
20105
 
  cat conftest.err >&5
20106
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20107
 
  (exit $ac_status); } >/dev/null; then
20108
 
  if test -s conftest.err; then
20109
 
    ac_cpp_err=$ac_c_preproc_warn_flag
20110
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20111
 
  else
20112
 
    ac_cpp_err=
20113
 
  fi
20114
 
else
20115
 
  ac_cpp_err=yes
20116
 
fi
20117
 
if test -z "$ac_cpp_err"; then
20118
 
  ac_header_preproc=yes
20119
 
else
20120
 
  echo "$as_me: failed program was:" >&5
20121
 
sed 's/^/| /' conftest.$ac_ext >&5
20122
 
 
20123
 
  ac_header_preproc=no
20124
 
fi
20125
 
rm -f conftest.err conftest.$ac_ext
20126
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20127
 
echo "${ECHO_T}$ac_header_preproc" >&6
20128
 
 
20129
 
# So?  What about this header?
20130
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20131
 
  yes:no: )
20132
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20133
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20134
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20135
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20136
 
    ac_header_preproc=yes
20137
 
    ;;
20138
 
  no:yes:* )
20139
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20140
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20141
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
20142
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
20143
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20144
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20145
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
20146
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
20147
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20148
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20149
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20150
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20151
 
    (
20152
 
      cat <<\_ASBOX
20153
 
## ------------------------------------------ ##
20154
 
## Report this to the AC_PACKAGE_NAME lists.  ##
20155
 
## ------------------------------------------ ##
20156
 
_ASBOX
20157
 
    ) |
20158
 
      sed "s/^/$as_me: WARNING:     /" >&2
20159
 
    ;;
20160
 
esac
20161
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
20162
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20163
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20164
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20165
 
else
20166
 
  eval "$as_ac_Header=\$ac_header_preproc"
20167
 
fi
20168
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20169
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20170
 
 
20171
 
fi
20172
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
20173
 
  cat >>confdefs.h <<_ACEOF
20174
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20175
 
_ACEOF
20176
 
 
20177
 
fi
20178
 
 
20179
 
done
20180
 
 
20181
 
 
20182
 
for ac_header in ltdl.h
20183
 
do
20184
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20185
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20186
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
20187
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20188
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20189
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20190
 
fi
20191
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20192
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20193
 
else
20194
 
  # Is the header compilable?
20195
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
20196
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20197
 
cat >conftest.$ac_ext <<_ACEOF
20198
 
/* confdefs.h.  */
20199
 
_ACEOF
20200
 
cat confdefs.h >>conftest.$ac_ext
20201
 
cat >>conftest.$ac_ext <<_ACEOF
20202
 
/* end confdefs.h.  */
20203
 
$ac_includes_default
20204
 
#include <$ac_header>
20205
 
_ACEOF
20206
 
rm -f conftest.$ac_objext
20207
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20208
 
  (eval $ac_compile) 2>conftest.er1
20209
 
  ac_status=$?
20210
 
  grep -v '^ *+' conftest.er1 >conftest.err
20211
 
  rm -f conftest.er1
20212
 
  cat conftest.err >&5
20213
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20214
 
  (exit $ac_status); } &&
20215
 
         { ac_try='test -z "$ac_c_werror_flag"
20216
 
                         || test ! -s conftest.err'
20217
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20218
 
  (eval $ac_try) 2>&5
20219
 
  ac_status=$?
20220
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20221
 
  (exit $ac_status); }; } &&
20222
 
         { ac_try='test -s conftest.$ac_objext'
20223
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20224
 
  (eval $ac_try) 2>&5
20225
 
  ac_status=$?
20226
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20227
 
  (exit $ac_status); }; }; then
20228
 
  ac_header_compiler=yes
20229
 
else
20230
 
  echo "$as_me: failed program was:" >&5
20231
 
sed 's/^/| /' conftest.$ac_ext >&5
20232
 
 
20233
 
ac_header_compiler=no
20234
 
fi
20235
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20236
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20237
 
echo "${ECHO_T}$ac_header_compiler" >&6
20238
 
 
20239
 
# Is the header present?
20240
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
20241
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20242
 
cat >conftest.$ac_ext <<_ACEOF
20243
 
/* confdefs.h.  */
20244
 
_ACEOF
20245
 
cat confdefs.h >>conftest.$ac_ext
20246
 
cat >>conftest.$ac_ext <<_ACEOF
20247
 
/* end confdefs.h.  */
20248
 
#include <$ac_header>
20249
 
_ACEOF
20250
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20251
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20252
 
  ac_status=$?
20253
 
  grep -v '^ *+' conftest.er1 >conftest.err
20254
 
  rm -f conftest.er1
20255
 
  cat conftest.err >&5
20256
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20257
 
  (exit $ac_status); } >/dev/null; then
20258
 
  if test -s conftest.err; then
20259
 
    ac_cpp_err=$ac_c_preproc_warn_flag
20260
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20261
 
  else
20262
 
    ac_cpp_err=
20263
 
  fi
20264
 
else
20265
 
  ac_cpp_err=yes
20266
 
fi
20267
 
if test -z "$ac_cpp_err"; then
20268
 
  ac_header_preproc=yes
20269
 
else
20270
 
  echo "$as_me: failed program was:" >&5
20271
 
sed 's/^/| /' conftest.$ac_ext >&5
20272
 
 
20273
 
  ac_header_preproc=no
20274
 
fi
20275
 
rm -f conftest.err conftest.$ac_ext
20276
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20277
 
echo "${ECHO_T}$ac_header_preproc" >&6
20278
 
 
20279
 
# So?  What about this header?
20280
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20281
 
  yes:no: )
20282
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20283
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20284
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20285
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20286
 
    ac_header_preproc=yes
20287
 
    ;;
20288
 
  no:yes:* )
20289
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20290
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20291
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
20292
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
20293
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20294
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20295
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
20296
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
20297
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20298
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20299
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20300
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20301
 
    (
20302
 
      cat <<\_ASBOX
20303
 
## ------------------------------------------ ##
20304
 
## Report this to the AC_PACKAGE_NAME lists.  ##
20305
 
## ------------------------------------------ ##
20306
 
_ASBOX
20307
 
    ) |
20308
 
      sed "s/^/$as_me: WARNING:     /" >&2
20309
 
    ;;
20310
 
esac
20311
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
20312
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20313
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20314
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20315
 
else
20316
 
  eval "$as_ac_Header=\$ac_header_preproc"
20317
 
fi
20318
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20319
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20320
 
 
20321
 
fi
20322
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
20323
 
  cat >>confdefs.h <<_ACEOF
20324
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20325
 
_ACEOF
20326
 
 
20327
 
fi
20328
 
 
20329
 
done
20330
 
 
20331
 
 
20332
 
for ac_header in stdsoap2.h
20333
 
do
20334
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20335
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20336
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
20337
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20338
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20339
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20340
 
fi
20341
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20342
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20343
 
else
20344
 
  # Is the header compilable?
20345
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
20346
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20347
 
cat >conftest.$ac_ext <<_ACEOF
20348
 
/* confdefs.h.  */
20349
 
_ACEOF
20350
 
cat confdefs.h >>conftest.$ac_ext
20351
 
cat >>conftest.$ac_ext <<_ACEOF
20352
 
/* end confdefs.h.  */
20353
 
$ac_includes_default
20354
 
#include <$ac_header>
20355
 
_ACEOF
20356
 
rm -f conftest.$ac_objext
20357
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20358
 
  (eval $ac_compile) 2>conftest.er1
20359
 
  ac_status=$?
20360
 
  grep -v '^ *+' conftest.er1 >conftest.err
20361
 
  rm -f conftest.er1
20362
 
  cat conftest.err >&5
20363
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20364
 
  (exit $ac_status); } &&
20365
 
         { ac_try='test -z "$ac_c_werror_flag"
20366
 
                         || test ! -s conftest.err'
20367
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20368
 
  (eval $ac_try) 2>&5
20369
 
  ac_status=$?
20370
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20371
 
  (exit $ac_status); }; } &&
20372
 
         { ac_try='test -s conftest.$ac_objext'
20373
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20374
 
  (eval $ac_try) 2>&5
20375
 
  ac_status=$?
20376
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20377
 
  (exit $ac_status); }; }; then
20378
 
  ac_header_compiler=yes
20379
 
else
20380
 
  echo "$as_me: failed program was:" >&5
20381
 
sed 's/^/| /' conftest.$ac_ext >&5
20382
 
 
20383
 
ac_header_compiler=no
20384
 
fi
20385
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20386
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20387
 
echo "${ECHO_T}$ac_header_compiler" >&6
20388
 
 
20389
 
# Is the header present?
20390
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
20391
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20392
 
cat >conftest.$ac_ext <<_ACEOF
20393
 
/* confdefs.h.  */
20394
 
_ACEOF
20395
 
cat confdefs.h >>conftest.$ac_ext
20396
 
cat >>conftest.$ac_ext <<_ACEOF
20397
 
/* end confdefs.h.  */
20398
 
#include <$ac_header>
20399
 
_ACEOF
20400
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20401
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20402
 
  ac_status=$?
20403
 
  grep -v '^ *+' conftest.er1 >conftest.err
20404
 
  rm -f conftest.er1
20405
 
  cat conftest.err >&5
20406
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20407
 
  (exit $ac_status); } >/dev/null; then
20408
 
  if test -s conftest.err; then
20409
 
    ac_cpp_err=$ac_c_preproc_warn_flag
20410
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20411
 
  else
20412
 
    ac_cpp_err=
20413
 
  fi
20414
 
else
20415
 
  ac_cpp_err=yes
20416
 
fi
20417
 
if test -z "$ac_cpp_err"; then
20418
 
  ac_header_preproc=yes
20419
 
else
20420
 
  echo "$as_me: failed program was:" >&5
20421
 
sed 's/^/| /' conftest.$ac_ext >&5
20422
 
 
20423
 
  ac_header_preproc=no
20424
 
fi
20425
 
rm -f conftest.err conftest.$ac_ext
20426
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20427
 
echo "${ECHO_T}$ac_header_preproc" >&6
20428
 
 
20429
 
# So?  What about this header?
20430
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20431
 
  yes:no: )
20432
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20433
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20434
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20435
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20436
 
    ac_header_preproc=yes
20437
 
    ;;
20438
 
  no:yes:* )
20439
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20440
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20441
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
20442
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
20443
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20444
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20445
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
20446
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
20447
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20448
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20449
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20450
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20451
 
    (
20452
 
      cat <<\_ASBOX
20453
 
## ------------------------------------------ ##
20454
 
## Report this to the AC_PACKAGE_NAME lists.  ##
20455
 
## ------------------------------------------ ##
20456
 
_ASBOX
20457
 
    ) |
20458
 
      sed "s/^/$as_me: WARNING:     /" >&2
20459
 
    ;;
20460
 
esac
20461
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
20462
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20463
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20464
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20465
 
else
20466
 
  eval "$as_ac_Header=\$ac_header_preproc"
20467
 
fi
20468
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20469
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20470
 
 
20471
 
fi
20472
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
20473
 
  cat >>confdefs.h <<_ACEOF
20474
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20475
 
_ACEOF
20476
 
 
20477
 
fi
20478
 
 
20479
 
done
20480
 
 
20481
 
 
20482
 
 
20483
 
 
20484
 
                                                            ac_config_files="$ac_config_files Makefile ConsoleServer/Makefile ConsoleServer/foo/Makefile example/Makefile example/calculator/Makefile mod_gsoap/Makefile"
20485
 
cat >confcache <<\_ACEOF
20486
 
# This file is a shell script that caches the results of configure
20487
 
# tests run on this system so they can be shared between configure
20488
 
# scripts and configure runs, see configure's option --config-cache.
20489
 
# It is not useful on other systems.  If it contains results you don't
20490
 
# want to keep, you may remove or edit it.
20491
 
#
20492
 
# config.status only pays attention to the cache file if you give it
20493
 
# the --recheck option to rerun configure.
20494
 
#
20495
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
20496
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
20497
 
# following values.
20498
 
 
20499
 
_ACEOF
20500
 
 
20501
 
# The following way of writing the cache mishandles newlines in values,
20502
 
# but we know of no workaround that is simple, portable, and efficient.
20503
 
# So, don't put newlines in cache variables' values.
20504
 
# Ultrix sh set writes to stderr and can't be redirected directly,
20505
 
# and sets the high bit in the cache file unless we assign to the vars.
20506
 
{
20507
 
  (set) 2>&1 |
20508
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
20509
 
    *ac_space=\ *)
20510
 
      # `set' does not quote correctly, so add quotes (double-quote
20511
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
20512
 
      sed -n \
20513
 
        "s/'/'\\\\''/g;
20514
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20515
 
      ;;
20516
 
    *)
20517
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
20518
 
      sed -n \
20519
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20520
 
      ;;
20521
 
    esac;
20522
 
} |
20523
 
  sed '
20524
 
     t clear
20525
 
     : clear
20526
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20527
 
     t end
20528
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20529
 
     : end' >>confcache
20530
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
20531
 
  if test -w $cache_file; then
20532
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20533
 
    cat confcache >$cache_file
20534
 
  else
20535
 
    echo "not updating unwritable cache $cache_file"
20536
 
  fi
20537
 
fi
20538
 
rm -f confcache
20539
 
 
20540
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
20541
 
# Let make expand exec_prefix.
20542
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20543
 
 
20544
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
20545
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20546
 
# trailing colons and then remove the whole line if VPATH becomes empty
20547
 
# (actually we leave an empty line to preserve line numbers).
20548
 
if test "x$srcdir" = x.; then
20549
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
20550
 
s/:*\$(srcdir):*/:/;
20551
 
s/:*\${srcdir}:*/:/;
20552
 
s/:*@srcdir@:*/:/;
20553
 
s/^\([^=]*=[     ]*\):*/\1/;
20554
 
s/:*$//;
20555
 
s/^[^=]*=[       ]*$//;
20556
 
}'
20557
 
fi
20558
 
 
20559
 
DEFS=-DHAVE_CONFIG_H
20560
 
 
20561
 
ac_libobjs=
20562
 
ac_ltlibobjs=
20563
 
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20564
 
  # 1. Remove the extension, and $U if already installed.
20565
 
  ac_i=`echo "$ac_i" |
20566
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20567
 
  # 2. Add them.
20568
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
20569
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
20570
 
done
20571
 
LIBOBJS=$ac_libobjs
20572
 
 
20573
 
LTLIBOBJS=$ac_ltlibobjs
20574
 
 
20575
 
 
20576
 
if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
20577
 
  { { echo "$as_me:$LINENO: error: conditional \"DEBUG\" was never defined.
20578
 
Usually this means the macro was only invoked conditionally." >&5
20579
 
echo "$as_me: error: conditional \"DEBUG\" was never defined.
20580
 
Usually this means the macro was only invoked conditionally." >&2;}
20581
 
   { (exit 1); exit 1; }; }
20582
 
fi
20583
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20584
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20585
 
Usually this means the macro was only invoked conditionally." >&5
20586
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
20587
 
Usually this means the macro was only invoked conditionally." >&2;}
20588
 
   { (exit 1); exit 1; }; }
20589
 
fi
20590
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20591
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20592
 
Usually this means the macro was only invoked conditionally." >&5
20593
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20594
 
Usually this means the macro was only invoked conditionally." >&2;}
20595
 
   { (exit 1); exit 1; }; }
20596
 
fi
20597
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20598
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20599
 
Usually this means the macro was only invoked conditionally." >&5
20600
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20601
 
Usually this means the macro was only invoked conditionally." >&2;}
20602
 
   { (exit 1); exit 1; }; }
20603
 
fi
20604
 
 
20605
 
: ${CONFIG_STATUS=./config.status}
20606
 
ac_clean_files_save=$ac_clean_files
20607
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20608
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20609
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
20610
 
cat >$CONFIG_STATUS <<_ACEOF
20611
 
#! $SHELL
20612
 
# Generated by $as_me.
20613
 
# Run this file to recreate the current configuration.
20614
 
# Compiler output produced by configure, useful for debugging
20615
 
# configure, is in config.log if it exists.
20616
 
 
20617
 
debug=false
20618
 
ac_cs_recheck=false
20619
 
ac_cs_silent=false
20620
 
SHELL=\${CONFIG_SHELL-$SHELL}
20621
 
_ACEOF
20622
 
 
20623
 
cat >>$CONFIG_STATUS <<\_ACEOF
20624
 
## --------------------- ##
20625
 
## M4sh Initialization.  ##
20626
 
## --------------------- ##
20627
 
 
20628
 
# Be Bourne compatible
20629
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20630
 
  emulate sh
20631
 
  NULLCMD=:
20632
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20633
 
  # is contrary to our usage.  Disable this feature.
20634
 
  alias -g '${1+"$@"}'='"$@"'
20635
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20636
 
  set -o posix
20637
 
fi
20638
 
DUALCASE=1; export DUALCASE # for MKS sh
20639
 
 
20640
 
# Support unset when possible.
20641
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20642
 
  as_unset=unset
20643
 
else
20644
 
  as_unset=false
20645
 
fi
20646
 
 
20647
 
 
20648
 
# Work around bugs in pre-3.0 UWIN ksh.
20649
 
$as_unset ENV MAIL MAILPATH
20650
 
PS1='$ '
20651
 
PS2='> '
20652
 
PS4='+ '
20653
 
 
20654
 
# NLS nuisances.
20655
 
for as_var in \
20656
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20657
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20658
 
  LC_TELEPHONE LC_TIME
20659
 
do
20660
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20661
 
    eval $as_var=C; export $as_var
20662
 
  else
20663
 
    $as_unset $as_var
20664
 
  fi
20665
 
done
20666
 
 
20667
 
# Required to use basename.
20668
 
if expr a : '\(a\)' >/dev/null 2>&1; then
20669
 
  as_expr=expr
20670
 
else
20671
 
  as_expr=false
20672
 
fi
20673
 
 
20674
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
20675
 
  as_basename=basename
20676
 
else
20677
 
  as_basename=false
20678
 
fi
20679
 
 
20680
 
 
20681
 
# Name of the executable.
20682
 
as_me=`$as_basename "$0" ||
20683
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20684
 
         X"$0" : 'X\(//\)$' \| \
20685
 
         X"$0" : 'X\(/\)$' \| \
20686
 
         .     : '\(.\)' 2>/dev/null ||
20687
 
echo X/"$0" |
20688
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20689
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
20690
 
          /^X\/\(\/\).*/{ s//\1/; q; }
20691
 
          s/.*/./; q'`
20692
 
 
20693
 
 
20694
 
# PATH needs CR, and LINENO needs CR and PATH.
20695
 
# Avoid depending upon Character Ranges.
20696
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20697
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20698
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20699
 
as_cr_digits='0123456789'
20700
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
20701
 
 
20702
 
# The user is always right.
20703
 
if test "${PATH_SEPARATOR+set}" != set; then
20704
 
  echo "#! /bin/sh" >conf$$.sh
20705
 
  echo  "exit 0"   >>conf$$.sh
20706
 
  chmod +x conf$$.sh
20707
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20708
 
    PATH_SEPARATOR=';'
20709
 
  else
20710
 
    PATH_SEPARATOR=:
20711
 
  fi
20712
 
  rm -f conf$$.sh
20713
 
fi
20714
 
 
20715
 
 
20716
 
  as_lineno_1=$LINENO
20717
 
  as_lineno_2=$LINENO
20718
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20719
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
20720
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
20721
 
  # Find who we are.  Look in the path if we contain no path at all
20722
 
  # relative or not.
20723
 
  case $0 in
20724
 
    *[\\/]* ) as_myself=$0 ;;
20725
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20726
 
for as_dir in $PATH
20727
 
do
20728
 
  IFS=$as_save_IFS
20729
 
  test -z "$as_dir" && as_dir=.
20730
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20731
 
done
20732
 
 
20733
 
       ;;
20734
 
  esac
20735
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
20736
 
  # in which case we are not to be found in the path.
20737
 
  if test "x$as_myself" = x; then
20738
 
    as_myself=$0
20739
 
  fi
20740
 
  if test ! -f "$as_myself"; then
20741
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20742
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20743
 
   { (exit 1); exit 1; }; }
20744
 
  fi
20745
 
  case $CONFIG_SHELL in
20746
 
  '')
20747
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20748
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
20749
 
do
20750
 
  IFS=$as_save_IFS
20751
 
  test -z "$as_dir" && as_dir=.
20752
 
  for as_base in sh bash ksh sh5; do
20753
 
         case $as_dir in
20754
 
         /*)
20755
 
           if ("$as_dir/$as_base" -c '
20756
 
  as_lineno_1=$LINENO
20757
 
  as_lineno_2=$LINENO
20758
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20759
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
20760
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
20761
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
20762
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
20763
 
             CONFIG_SHELL=$as_dir/$as_base
20764
 
             export CONFIG_SHELL
20765
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20766
 
           fi;;
20767
 
         esac
20768
 
       done
20769
 
done
20770
 
;;
20771
 
  esac
20772
 
 
20773
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20774
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
20775
 
  # line-number line before each line; the second 'sed' does the real
20776
 
  # work.  The second script uses 'N' to pair each line-number line
20777
 
  # with the numbered line, and appends trailing '-' during
20778
 
  # substitution so that $LINENO is not a special case at line end.
20779
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20780
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
20781
 
  sed '=' <$as_myself |
20782
 
    sed '
20783
 
      N
20784
 
      s,$,-,
20785
 
      : loop
20786
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20787
 
      t loop
20788
 
      s,-$,,
20789
 
      s,^['$as_cr_digits']*\n,,
20790
 
    ' >$as_me.lineno &&
20791
 
  chmod +x $as_me.lineno ||
20792
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20793
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20794
 
   { (exit 1); exit 1; }; }
20795
 
 
20796
 
  # Don't try to exec as it changes $[0], causing all sort of problems
20797
 
  # (the dirname of $[0] is not the place where we might find the
20798
 
  # original and so on.  Autoconf is especially sensible to this).
20799
 
  . ./$as_me.lineno
20800
 
  # Exit status is that of the last command.
20801
 
  exit
20802
 
}
20803
 
 
20804
 
 
20805
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20806
 
  *c*,-n*) ECHO_N= ECHO_C='
20807
 
' ECHO_T='      ' ;;
20808
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
20809
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
20810
 
esac
20811
 
 
20812
 
if expr a : '\(a\)' >/dev/null 2>&1; then
20813
 
  as_expr=expr
20814
 
else
20815
 
  as_expr=false
20816
 
fi
20817
 
 
20818
 
rm -f conf$$ conf$$.exe conf$$.file
20819
 
echo >conf$$.file
20820
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
20821
 
  # We could just check for DJGPP; but this test a) works b) is more generic
20822
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20823
 
  if test -f conf$$.exe; then
20824
 
    # Don't use ln at all; we don't have any links
20825
 
    as_ln_s='cp -p'
20826
 
  else
20827
 
    as_ln_s='ln -s'
20828
 
  fi
20829
 
elif ln conf$$.file conf$$ 2>/dev/null; then
20830
 
  as_ln_s=ln
20831
 
else
20832
 
  as_ln_s='cp -p'
20833
 
fi
20834
 
rm -f conf$$ conf$$.exe conf$$.file
20835
 
 
20836
 
if mkdir -p . 2>/dev/null; then
20837
 
  as_mkdir_p=:
20838
 
else
20839
 
  test -d ./-p && rmdir ./-p
20840
 
  as_mkdir_p=false
20841
 
fi
20842
 
 
20843
 
as_executable_p="test -f"
20844
 
 
20845
 
# Sed expression to map a string onto a valid CPP name.
20846
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20847
 
 
20848
 
# Sed expression to map a string onto a valid variable name.
20849
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20850
 
 
20851
 
 
20852
 
# IFS
20853
 
# We need space, tab and new line, in precisely that order.
20854
 
as_nl='
20855
 
'
20856
 
IFS="   $as_nl"
20857
 
 
20858
 
# CDPATH.
20859
 
$as_unset CDPATH
20860
 
 
20861
 
exec 6>&1
20862
 
 
20863
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
20864
 
# report actual input values of CONFIG_FILES etc. instead of their
20865
 
# values after options handling.  Logging --version etc. is OK.
20866
 
exec 5>>config.log
20867
 
{
20868
 
  echo
20869
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20870
 
## Running $as_me. ##
20871
 
_ASBOX
20872
 
} >&5
20873
 
cat >&5 <<_CSEOF
20874
 
 
20875
 
This file was extended by $as_me, which was
20876
 
generated by GNU Autoconf 2.59.  Invocation command line was
20877
 
 
20878
 
  CONFIG_FILES    = $CONFIG_FILES
20879
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
20880
 
  CONFIG_LINKS    = $CONFIG_LINKS
20881
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
20882
 
  $ $0 $@
20883
 
 
20884
 
_CSEOF
20885
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20886
 
echo >&5
20887
 
_ACEOF
20888
 
 
20889
 
# Files that config.status was made for.
20890
 
if test -n "$ac_config_files"; then
20891
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20892
 
fi
20893
 
 
20894
 
if test -n "$ac_config_headers"; then
20895
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20896
 
fi
20897
 
 
20898
 
if test -n "$ac_config_links"; then
20899
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20900
 
fi
20901
 
 
20902
 
if test -n "$ac_config_commands"; then
20903
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20904
 
fi
20905
 
 
20906
 
cat >>$CONFIG_STATUS <<\_ACEOF
20907
 
 
20908
 
ac_cs_usage="\
20909
 
\`$as_me' instantiates files from templates according to the
20910
 
current configuration.
20911
 
 
20912
 
Usage: $0 [OPTIONS] [FILE]...
20913
 
 
20914
 
  -h, --help       print this help, then exit
20915
 
  -V, --version    print version number, then exit
20916
 
  -q, --quiet      do not print progress messages
20917
 
  -d, --debug      don't remove temporary files
20918
 
      --recheck    update $as_me by reconfiguring in the same conditions
20919
 
  --file=FILE[:TEMPLATE]
20920
 
                   instantiate the configuration file FILE
20921
 
  --header=FILE[:TEMPLATE]
20922
 
                   instantiate the configuration header FILE
20923
 
 
20924
 
Configuration files:
20925
 
$config_files
20926
 
 
20927
 
Configuration headers:
20928
 
$config_headers
20929
 
 
20930
 
Configuration commands:
20931
 
$config_commands
20932
 
 
20933
 
Report bugs to <bug-autoconf@gnu.org>."
20934
 
_ACEOF
20935
 
 
20936
 
cat >>$CONFIG_STATUS <<_ACEOF
20937
 
ac_cs_version="\\
20938
 
config.status
20939
 
configured by $0, generated by GNU Autoconf 2.59,
20940
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20941
 
 
20942
 
Copyright (C) 2003 Free Software Foundation, Inc.
20943
 
This config.status script is free software; the Free Software Foundation
20944
 
gives unlimited permission to copy, distribute and modify it."
20945
 
srcdir=$srcdir
20946
 
INSTALL="$INSTALL"
20947
 
_ACEOF
20948
 
 
20949
 
cat >>$CONFIG_STATUS <<\_ACEOF
20950
 
# If no file are specified by the user, then we need to provide default
20951
 
# value.  By we need to know if files were specified by the user.
20952
 
ac_need_defaults=:
20953
 
while test $# != 0
20954
 
do
20955
 
  case $1 in
20956
 
  --*=*)
20957
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
20958
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
20959
 
    ac_shift=:
20960
 
    ;;
20961
 
  -*)
20962
 
    ac_option=$1
20963
 
    ac_optarg=$2
20964
 
    ac_shift=shift
20965
 
    ;;
20966
 
  *) # This is not an option, so the user has probably given explicit
20967
 
     # arguments.
20968
 
     ac_option=$1
20969
 
     ac_need_defaults=false;;
20970
 
  esac
20971
 
 
20972
 
  case $ac_option in
20973
 
  # Handling of the options.
20974
 
_ACEOF
20975
 
cat >>$CONFIG_STATUS <<\_ACEOF
20976
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20977
 
    ac_cs_recheck=: ;;
20978
 
  --version | --vers* | -V )
20979
 
    echo "$ac_cs_version"; exit 0 ;;
20980
 
  --he | --h)
20981
 
    # Conflict between --help and --header
20982
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
20983
 
Try \`$0 --help' for more information." >&5
20984
 
echo "$as_me: error: ambiguous option: $1
20985
 
Try \`$0 --help' for more information." >&2;}
20986
 
   { (exit 1); exit 1; }; };;
20987
 
  --help | --hel | -h )
20988
 
    echo "$ac_cs_usage"; exit 0 ;;
20989
 
  --debug | --d* | -d )
20990
 
    debug=: ;;
20991
 
  --file | --fil | --fi | --f )
20992
 
    $ac_shift
20993
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
20994
 
    ac_need_defaults=false;;
20995
 
  --header | --heade | --head | --hea )
20996
 
    $ac_shift
20997
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
20998
 
    ac_need_defaults=false;;
20999
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21000
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
21001
 
    ac_cs_silent=: ;;
21002
 
 
21003
 
  # This is an error.
21004
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
21005
 
Try \`$0 --help' for more information." >&5
21006
 
echo "$as_me: error: unrecognized option: $1
21007
 
Try \`$0 --help' for more information." >&2;}
21008
 
   { (exit 1); exit 1; }; } ;;
21009
 
 
21010
 
  *) ac_config_targets="$ac_config_targets $1" ;;
21011
 
 
21012
 
  esac
21013
 
  shift
21014
 
done
21015
 
 
21016
 
ac_configure_extra_args=
21017
 
 
21018
 
if $ac_cs_silent; then
21019
 
  exec 6>/dev/null
21020
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
21021
 
fi
21022
 
 
21023
 
_ACEOF
21024
 
cat >>$CONFIG_STATUS <<_ACEOF
21025
 
if \$ac_cs_recheck; then
21026
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21027
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21028
 
fi
21029
 
 
21030
 
_ACEOF
21031
 
 
21032
 
cat >>$CONFIG_STATUS <<_ACEOF
21033
 
#
21034
 
# INIT-COMMANDS section.
21035
 
#
21036
 
 
21037
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21038
 
 
21039
 
_ACEOF
21040
 
 
21041
 
 
21042
 
 
21043
 
cat >>$CONFIG_STATUS <<\_ACEOF
21044
 
for ac_config_target in $ac_config_targets
21045
 
do
21046
 
  case "$ac_config_target" in
21047
 
  # Handling of arguments.
21048
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21049
 
  "ConsoleServer/Makefile" ) CONFIG_FILES="$CONFIG_FILES ConsoleServer/Makefile" ;;
21050
 
  "ConsoleServer/foo/Makefile" ) CONFIG_FILES="$CONFIG_FILES ConsoleServer/foo/Makefile" ;;
21051
 
  "example/Makefile" ) CONFIG_FILES="$CONFIG_FILES example/Makefile" ;;
21052
 
  "example/calculator/Makefile" ) CONFIG_FILES="$CONFIG_FILES example/calculator/Makefile" ;;
21053
 
  "mod_gsoap/Makefile" ) CONFIG_FILES="$CONFIG_FILES mod_gsoap/Makefile" ;;
21054
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
21055
 
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
21056
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21057
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21058
 
   { (exit 1); exit 1; }; };;
21059
 
  esac
21060
 
done
21061
 
 
21062
 
# If the user did not use the arguments to specify the items to instantiate,
21063
 
# then the envvar interface is used.  Set only those that are not.
21064
 
# We use the long form for the default assignment because of an extremely
21065
 
# bizarre bug on SunOS 4.1.3.
21066
 
if $ac_need_defaults; then
21067
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21068
 
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21069
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21070
 
fi
21071
 
 
21072
 
# Have a temporary directory for convenience.  Make it in the build tree
21073
 
# simply because there is no reason to put it here, and in addition,
21074
 
# creating and moving files from /tmp can sometimes cause problems.
21075
 
# Create a temporary directory, and hook for its removal unless debugging.
21076
 
$debug ||
21077
 
{
21078
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
21079
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
21080
 
}
21081
 
 
21082
 
# Create a (secure) tmp directory for tmp files.
21083
 
 
21084
 
{
21085
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
21086
 
  test -n "$tmp" && test -d "$tmp"
21087
 
}  ||
21088
 
{
21089
 
  tmp=./confstat$$-$RANDOM
21090
 
  (umask 077 && mkdir $tmp)
21091
 
} ||
21092
 
{
21093
 
   echo "$me: cannot create a temporary directory in ." >&2
21094
 
   { (exit 1); exit 1; }
21095
 
}
21096
 
 
21097
 
_ACEOF
21098
 
 
21099
 
cat >>$CONFIG_STATUS <<_ACEOF
21100
 
 
21101
 
#
21102
 
# CONFIG_FILES section.
21103
 
#
21104
 
 
21105
 
# No need to generate the scripts if there are no CONFIG_FILES.
21106
 
# This happens for instance when ./config.status config.h
21107
 
if test -n "\$CONFIG_FILES"; then
21108
 
  # Protect against being on the right side of a sed subst in config.status.
21109
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21110
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21111
 
s,@SHELL@,$SHELL,;t t
21112
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21113
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21114
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21115
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21116
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21117
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21118
 
s,@exec_prefix@,$exec_prefix,;t t
21119
 
s,@prefix@,$prefix,;t t
21120
 
s,@program_transform_name@,$program_transform_name,;t t
21121
 
s,@bindir@,$bindir,;t t
21122
 
s,@sbindir@,$sbindir,;t t
21123
 
s,@libexecdir@,$libexecdir,;t t
21124
 
s,@datadir@,$datadir,;t t
21125
 
s,@sysconfdir@,$sysconfdir,;t t
21126
 
s,@sharedstatedir@,$sharedstatedir,;t t
21127
 
s,@localstatedir@,$localstatedir,;t t
21128
 
s,@libdir@,$libdir,;t t
21129
 
s,@includedir@,$includedir,;t t
21130
 
s,@oldincludedir@,$oldincludedir,;t t
21131
 
s,@infodir@,$infodir,;t t
21132
 
s,@mandir@,$mandir,;t t
21133
 
s,@build_alias@,$build_alias,;t t
21134
 
s,@host_alias@,$host_alias,;t t
21135
 
s,@target_alias@,$target_alias,;t t
21136
 
s,@DEFS@,$DEFS,;t t
21137
 
s,@ECHO_C@,$ECHO_C,;t t
21138
 
s,@ECHO_N@,$ECHO_N,;t t
21139
 
s,@ECHO_T@,$ECHO_T,;t t
21140
 
s,@LIBS@,$LIBS,;t t
21141
 
s,@build@,$build,;t t
21142
 
s,@build_cpu@,$build_cpu,;t t
21143
 
s,@build_vendor@,$build_vendor,;t t
21144
 
s,@build_os@,$build_os,;t t
21145
 
s,@host@,$host,;t t
21146
 
s,@host_cpu@,$host_cpu,;t t
21147
 
s,@host_vendor@,$host_vendor,;t t
21148
 
s,@host_os@,$host_os,;t t
21149
 
s,@target@,$target,;t t
21150
 
s,@target_cpu@,$target_cpu,;t t
21151
 
s,@target_vendor@,$target_vendor,;t t
21152
 
s,@target_os@,$target_os,;t t
21153
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21154
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21155
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21156
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
21157
 
s,@PACKAGE@,$PACKAGE,;t t
21158
 
s,@VERSION@,$VERSION,;t t
21159
 
s,@ACLOCAL@,$ACLOCAL,;t t
21160
 
s,@AUTOCONF@,$AUTOCONF,;t t
21161
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
21162
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
21163
 
s,@MAKEINFO@,$MAKEINFO,;t t
21164
 
s,@install_sh@,$install_sh,;t t
21165
 
s,@STRIP@,$STRIP,;t t
21166
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21167
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
21168
 
s,@mkdir_p@,$mkdir_p,;t t
21169
 
s,@AWK@,$AWK,;t t
21170
 
s,@SET_MAKE@,$SET_MAKE,;t t
21171
 
s,@am__leading_dot@,$am__leading_dot,;t t
21172
 
s,@AMTAR@,$AMTAR,;t t
21173
 
s,@am__tar@,$am__tar,;t t
21174
 
s,@am__untar@,$am__untar,;t t
21175
 
s,@EXISTS_GSOAP@,$EXISTS_GSOAP,;t t
21176
 
s,@DEBUG_TRUE@,$DEBUG_TRUE,;t t
21177
 
s,@DEBUG_FALSE@,$DEBUG_FALSE,;t t
21178
 
s,@CXXDEBUGDEFINES@,$CXXDEBUGDEFINES,;t t
21179
 
s,@APXS_CXX_OPTIONS@,$APXS_CXX_OPTIONS,;t t
21180
 
s,@CC@,$CC,;t t
21181
 
s,@CFLAGS@,$CFLAGS,;t t
21182
 
s,@LDFLAGS@,$LDFLAGS,;t t
21183
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
21184
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
21185
 
s,@EXEEXT@,$EXEEXT,;t t
21186
 
s,@OBJEXT@,$OBJEXT,;t t
21187
 
s,@DEPDIR@,$DEPDIR,;t t
21188
 
s,@am__include@,$am__include,;t t
21189
 
s,@am__quote@,$am__quote,;t t
21190
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
21191
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
21192
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
21193
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
21194
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
21195
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
21196
 
s,@CPP@,$CPP,;t t
21197
 
s,@CXX@,$CXX,;t t
21198
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
21199
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21200
 
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
21201
 
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
21202
 
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
21203
 
s,@EXISTS_APXS@,$EXISTS_APXS,;t t
21204
 
s,@EGREP@,$EGREP,;t t
21205
 
s,@LN_S@,$LN_S,;t t
21206
 
s,@ECHO@,$ECHO,;t t
21207
 
s,@AR@,$AR,;t t
21208
 
s,@ac_ct_AR@,$ac_ct_AR,;t t
21209
 
s,@RANLIB@,$RANLIB,;t t
21210
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21211
 
s,@DLLTOOL@,$DLLTOOL,;t t
21212
 
s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
21213
 
s,@AS@,$AS,;t t
21214
 
s,@ac_ct_AS@,$ac_ct_AS,;t t
21215
 
s,@OBJDUMP@,$OBJDUMP,;t t
21216
 
s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
21217
 
s,@CXXCPP@,$CXXCPP,;t t
21218
 
s,@F77@,$F77,;t t
21219
 
s,@FFLAGS@,$FFLAGS,;t t
21220
 
s,@ac_ct_F77@,$ac_ct_F77,;t t
21221
 
s,@LIBTOOL@,$LIBTOOL,;t t
21222
 
s,@LIBTOOL_DEPS@,$LIBTOOL_DEPS,;t t
21223
 
s,@LIBOBJS@,$LIBOBJS,;t t
21224
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21225
 
CEOF
21226
 
 
21227
 
_ACEOF
21228
 
 
21229
 
  cat >>$CONFIG_STATUS <<\_ACEOF
21230
 
  # Split the substitutions into bite-sized pieces for seds with
21231
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
21232
 
  ac_max_sed_lines=48
21233
 
  ac_sed_frag=1 # Number of current file.
21234
 
  ac_beg=1 # First line for current file.
21235
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
21236
 
  ac_more_lines=:
21237
 
  ac_sed_cmds=
21238
 
  while $ac_more_lines; do
21239
 
    if test $ac_beg -gt 1; then
21240
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21241
 
    else
21242
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21243
 
    fi
21244
 
    if test ! -s $tmp/subs.frag; then
21245
 
      ac_more_lines=false
21246
 
    else
21247
 
      # The purpose of the label and of the branching condition is to
21248
 
      # speed up the sed processing (if there are no `@' at all, there
21249
 
      # is no need to browse any of the substitutions).
21250
 
      # These are the two extra sed commands mentioned above.
21251
 
      (echo ':t
21252
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21253
 
      if test -z "$ac_sed_cmds"; then
21254
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21255
 
      else
21256
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21257
 
      fi
21258
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
21259
 
      ac_beg=$ac_end
21260
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
21261
 
    fi
21262
 
  done
21263
 
  if test -z "$ac_sed_cmds"; then
21264
 
    ac_sed_cmds=cat
21265
 
  fi
21266
 
fi # test -n "$CONFIG_FILES"
21267
 
 
21268
 
_ACEOF
21269
 
cat >>$CONFIG_STATUS <<\_ACEOF
21270
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21271
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21272
 
  case $ac_file in
21273
 
  - | *:- | *:-:* ) # input from stdin
21274
 
        cat >$tmp/stdin
21275
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21276
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21277
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21278
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21279
 
  * )   ac_file_in=$ac_file.in ;;
21280
 
  esac
21281
 
 
21282
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21283
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21284
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21285
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
21286
 
         X"$ac_file" : 'X\(//\)$' \| \
21287
 
         X"$ac_file" : 'X\(/\)' \| \
21288
 
         .     : '\(.\)' 2>/dev/null ||
21289
 
echo X"$ac_file" |
21290
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21291
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21292
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21293
 
          /^X\(\/\).*/{ s//\1/; q; }
21294
 
          s/.*/./; q'`
21295
 
  { if $as_mkdir_p; then
21296
 
    mkdir -p "$ac_dir"
21297
 
  else
21298
 
    as_dir="$ac_dir"
21299
 
    as_dirs=
21300
 
    while test ! -d "$as_dir"; do
21301
 
      as_dirs="$as_dir $as_dirs"
21302
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
21303
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21304
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
21305
 
         X"$as_dir" : 'X\(//\)$' \| \
21306
 
         X"$as_dir" : 'X\(/\)' \| \
21307
 
         .     : '\(.\)' 2>/dev/null ||
21308
 
echo X"$as_dir" |
21309
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21310
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21311
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21312
 
          /^X\(\/\).*/{ s//\1/; q; }
21313
 
          s/.*/./; q'`
21314
 
    done
21315
 
    test ! -n "$as_dirs" || mkdir $as_dirs
21316
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21317
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21318
 
   { (exit 1); exit 1; }; }; }
21319
 
 
21320
 
  ac_builddir=.
21321
 
 
21322
 
if test "$ac_dir" != .; then
21323
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21324
 
  # A "../" for each directory in $ac_dir_suffix.
21325
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21326
 
else
21327
 
  ac_dir_suffix= ac_top_builddir=
21328
 
fi
21329
 
 
21330
 
case $srcdir in
21331
 
  .)  # No --srcdir option.  We are building in place.
21332
 
    ac_srcdir=.
21333
 
    if test -z "$ac_top_builddir"; then
21334
 
       ac_top_srcdir=.
21335
 
    else
21336
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21337
 
    fi ;;
21338
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
21339
 
    ac_srcdir=$srcdir$ac_dir_suffix;
21340
 
    ac_top_srcdir=$srcdir ;;
21341
 
  *) # Relative path.
21342
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21343
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
21344
 
esac
21345
 
 
21346
 
# Do not use `cd foo && pwd` to compute absolute paths, because
21347
 
# the directories may not exist.
21348
 
case `pwd` in
21349
 
.) ac_abs_builddir="$ac_dir";;
21350
 
*)
21351
 
  case "$ac_dir" in
21352
 
  .) ac_abs_builddir=`pwd`;;
21353
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21354
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
21355
 
  esac;;
21356
 
esac
21357
 
case $ac_abs_builddir in
21358
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
21359
 
*)
21360
 
  case ${ac_top_builddir}. in
21361
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
21362
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21363
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21364
 
  esac;;
21365
 
esac
21366
 
case $ac_abs_builddir in
21367
 
.) ac_abs_srcdir=$ac_srcdir;;
21368
 
*)
21369
 
  case $ac_srcdir in
21370
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
21371
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21372
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21373
 
  esac;;
21374
 
esac
21375
 
case $ac_abs_builddir in
21376
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
21377
 
*)
21378
 
  case $ac_top_srcdir in
21379
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
21380
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21381
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21382
 
  esac;;
21383
 
esac
21384
 
 
21385
 
 
21386
 
  case $INSTALL in
21387
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21388
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
21389
 
  esac
21390
 
 
21391
 
  if test x"$ac_file" != x-; then
21392
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
21393
 
echo "$as_me: creating $ac_file" >&6;}
21394
 
    rm -f "$ac_file"
21395
 
  fi
21396
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
21397
 
  # use $as_me), people would be surprised to read:
21398
 
  #    /* config.h.  Generated by config.status.  */
21399
 
  if test x"$ac_file" = x-; then
21400
 
    configure_input=
21401
 
  else
21402
 
    configure_input="$ac_file.  "
21403
 
  fi
21404
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
21405
 
                                     sed 's,.*/,,'` by configure."
21406
 
 
21407
 
  # First look for the input files in the build tree, otherwise in the
21408
 
  # src tree.
21409
 
  ac_file_inputs=`IFS=:
21410
 
    for f in $ac_file_in; do
21411
 
      case $f in
21412
 
      -) echo $tmp/stdin ;;
21413
 
      [\\/$]*)
21414
 
         # Absolute (can't be DOS-style, as IFS=:)
21415
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21416
 
echo "$as_me: error: cannot find input file: $f" >&2;}
21417
 
   { (exit 1); exit 1; }; }
21418
 
         echo "$f";;
21419
 
      *) # Relative
21420
 
         if test -f "$f"; then
21421
 
           # Build tree
21422
 
           echo "$f"
21423
 
         elif test -f "$srcdir/$f"; then
21424
 
           # Source tree
21425
 
           echo "$srcdir/$f"
21426
 
         else
21427
 
           # /dev/null tree
21428
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21429
 
echo "$as_me: error: cannot find input file: $f" >&2;}
21430
 
   { (exit 1); exit 1; }; }
21431
 
         fi;;
21432
 
      esac
21433
 
    done` || { (exit 1); exit 1; }
21434
 
_ACEOF
21435
 
cat >>$CONFIG_STATUS <<_ACEOF
21436
 
  sed "$ac_vpsub
21437
 
$extrasub
21438
 
_ACEOF
21439
 
cat >>$CONFIG_STATUS <<\_ACEOF
21440
 
:t
21441
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21442
 
s,@configure_input@,$configure_input,;t t
21443
 
s,@srcdir@,$ac_srcdir,;t t
21444
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
21445
 
s,@top_srcdir@,$ac_top_srcdir,;t t
21446
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21447
 
s,@builddir@,$ac_builddir,;t t
21448
 
s,@abs_builddir@,$ac_abs_builddir,;t t
21449
 
s,@top_builddir@,$ac_top_builddir,;t t
21450
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21451
 
s,@INSTALL@,$ac_INSTALL,;t t
21452
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21453
 
  rm -f $tmp/stdin
21454
 
  if test x"$ac_file" != x-; then
21455
 
    mv $tmp/out $ac_file
21456
 
  else
21457
 
    cat $tmp/out
21458
 
    rm -f $tmp/out
21459
 
  fi
21460
 
 
21461
 
done
21462
 
_ACEOF
21463
 
cat >>$CONFIG_STATUS <<\_ACEOF
21464
 
 
21465
 
#
21466
 
# CONFIG_HEADER section.
21467
 
#
21468
 
 
21469
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21470
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
21471
 
#
21472
 
# ac_d sets the value in "#define NAME VALUE" lines.
21473
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
21474
 
ac_dB='[         ].*$,\1#\2'
21475
 
ac_dC=' '
21476
 
ac_dD=',;t'
21477
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21478
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
21479
 
ac_uB='$,\1#\2define\3'
21480
 
ac_uC=' '
21481
 
ac_uD=',;t'
21482
 
 
21483
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21484
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21485
 
  case $ac_file in
21486
 
  - | *:- | *:-:* ) # input from stdin
21487
 
        cat >$tmp/stdin
21488
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21489
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21490
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21491
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21492
 
  * )   ac_file_in=$ac_file.in ;;
21493
 
  esac
21494
 
 
21495
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21496
 
echo "$as_me: creating $ac_file" >&6;}
21497
 
 
21498
 
  # First look for the input files in the build tree, otherwise in the
21499
 
  # src tree.
21500
 
  ac_file_inputs=`IFS=:
21501
 
    for f in $ac_file_in; do
21502
 
      case $f in
21503
 
      -) echo $tmp/stdin ;;
21504
 
      [\\/$]*)
21505
 
         # Absolute (can't be DOS-style, as IFS=:)
21506
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21507
 
echo "$as_me: error: cannot find input file: $f" >&2;}
21508
 
   { (exit 1); exit 1; }; }
21509
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
21510
 
         echo "$f";;
21511
 
      *) # Relative
21512
 
         if test -f "$f"; then
21513
 
           # Build tree
21514
 
           echo "$f"
21515
 
         elif test -f "$srcdir/$f"; then
21516
 
           # Source tree
21517
 
           echo "$srcdir/$f"
21518
 
         else
21519
 
           # /dev/null tree
21520
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21521
 
echo "$as_me: error: cannot find input file: $f" >&2;}
21522
 
   { (exit 1); exit 1; }; }
21523
 
         fi;;
21524
 
      esac
21525
 
    done` || { (exit 1); exit 1; }
21526
 
  # Remove the trailing spaces.
21527
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
21528
 
 
21529
 
_ACEOF
21530
 
 
21531
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
21532
 
# `conftest.undefs', that substitutes the proper values into
21533
 
# config.h.in to produce config.h.  The first handles `#define'
21534
 
# templates, and the second `#undef' templates.
21535
 
# And first: Protect against being on the right side of a sed subst in
21536
 
# config.status.  Protect against being in an unquoted here document
21537
 
# in config.status.
21538
 
rm -f conftest.defines conftest.undefs
21539
 
# Using a here document instead of a string reduces the quoting nightmare.
21540
 
# Putting comments in sed scripts is not portable.
21541
 
#
21542
 
# `end' is used to avoid that the second main sed command (meant for
21543
 
# 0-ary CPP macros) applies to n-ary macro definitions.
21544
 
# See the Autoconf documentation for `clear'.
21545
 
cat >confdef2sed.sed <<\_ACEOF
21546
 
s/[\\&,]/\\&/g
21547
 
s,[\\$`],\\&,g
21548
 
t clear
21549
 
: clear
21550
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21551
 
t end
21552
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21553
 
: end
21554
 
_ACEOF
21555
 
# If some macros were called several times there might be several times
21556
 
# the same #defines, which is useless.  Nevertheless, we may not want to
21557
 
# sort them, since we want the *last* AC-DEFINE to be honored.
21558
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21559
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21560
 
rm -f confdef2sed.sed
21561
 
 
21562
 
# This sed command replaces #undef with comments.  This is necessary, for
21563
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
21564
 
# on some systems where configure will not decide to define it.
21565
 
cat >>conftest.undefs <<\_ACEOF
21566
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21567
 
_ACEOF
21568
 
 
21569
 
# Break up conftest.defines because some shells have a limit on the size
21570
 
# of here documents, and old seds have small limits too (100 cmds).
21571
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21572
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21573
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21574
 
echo '  :' >>$CONFIG_STATUS
21575
 
rm -f conftest.tail
21576
 
while grep . conftest.defines >/dev/null
21577
 
do
21578
 
  # Write a limited-size here document to $tmp/defines.sed.
21579
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21580
 
  # Speed up: don't consider the non `#define' lines.
21581
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
21582
 
  # Work around the forget-to-reset-the-flag bug.
21583
 
  echo 't clr' >>$CONFIG_STATUS
21584
 
  echo ': clr' >>$CONFIG_STATUS
21585
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
21586
 
  echo 'CEOF
21587
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
21588
 
  rm -f $tmp/in
21589
 
  mv $tmp/out $tmp/in
21590
 
' >>$CONFIG_STATUS
21591
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
21592
 
  rm -f conftest.defines
21593
 
  mv conftest.tail conftest.defines
21594
 
done
21595
 
rm -f conftest.defines
21596
 
echo '  fi # grep' >>$CONFIG_STATUS
21597
 
echo >>$CONFIG_STATUS
21598
 
 
21599
 
# Break up conftest.undefs because some shells have a limit on the size
21600
 
# of here documents, and old seds have small limits too (100 cmds).
21601
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
21602
 
rm -f conftest.tail
21603
 
while grep . conftest.undefs >/dev/null
21604
 
do
21605
 
  # Write a limited-size here document to $tmp/undefs.sed.
21606
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21607
 
  # Speed up: don't consider the non `#undef'
21608
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
21609
 
  # Work around the forget-to-reset-the-flag bug.
21610
 
  echo 't clr' >>$CONFIG_STATUS
21611
 
  echo ': clr' >>$CONFIG_STATUS
21612
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21613
 
  echo 'CEOF
21614
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21615
 
  rm -f $tmp/in
21616
 
  mv $tmp/out $tmp/in
21617
 
' >>$CONFIG_STATUS
21618
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21619
 
  rm -f conftest.undefs
21620
 
  mv conftest.tail conftest.undefs
21621
 
done
21622
 
rm -f conftest.undefs
21623
 
 
21624
 
cat >>$CONFIG_STATUS <<\_ACEOF
21625
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
21626
 
  # use $as_me), people would be surprised to read:
21627
 
  #    /* config.h.  Generated by config.status.  */
21628
 
  if test x"$ac_file" = x-; then
21629
 
    echo "/* Generated by configure.  */" >$tmp/config.h
21630
 
  else
21631
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
21632
 
  fi
21633
 
  cat $tmp/in >>$tmp/config.h
21634
 
  rm -f $tmp/in
21635
 
  if test x"$ac_file" != x-; then
21636
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
21637
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21638
 
echo "$as_me: $ac_file is unchanged" >&6;}
21639
 
    else
21640
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21641
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21642
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
21643
 
         X"$ac_file" : 'X\(//\)$' \| \
21644
 
         X"$ac_file" : 'X\(/\)' \| \
21645
 
         .     : '\(.\)' 2>/dev/null ||
21646
 
echo X"$ac_file" |
21647
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21648
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21649
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21650
 
          /^X\(\/\).*/{ s//\1/; q; }
21651
 
          s/.*/./; q'`
21652
 
      { if $as_mkdir_p; then
21653
 
    mkdir -p "$ac_dir"
21654
 
  else
21655
 
    as_dir="$ac_dir"
21656
 
    as_dirs=
21657
 
    while test ! -d "$as_dir"; do
21658
 
      as_dirs="$as_dir $as_dirs"
21659
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
21660
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21661
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
21662
 
         X"$as_dir" : 'X\(//\)$' \| \
21663
 
         X"$as_dir" : 'X\(/\)' \| \
21664
 
         .     : '\(.\)' 2>/dev/null ||
21665
 
echo X"$as_dir" |
21666
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21667
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21668
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21669
 
          /^X\(\/\).*/{ s//\1/; q; }
21670
 
          s/.*/./; q'`
21671
 
    done
21672
 
    test ! -n "$as_dirs" || mkdir $as_dirs
21673
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21674
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21675
 
   { (exit 1); exit 1; }; }; }
21676
 
 
21677
 
      rm -f $ac_file
21678
 
      mv $tmp/config.h $ac_file
21679
 
    fi
21680
 
  else
21681
 
    cat $tmp/config.h
21682
 
    rm -f $tmp/config.h
21683
 
  fi
21684
 
# Compute $ac_file's index in $config_headers.
21685
 
_am_stamp_count=1
21686
 
for _am_header in $config_headers :; do
21687
 
  case $_am_header in
21688
 
    $ac_file | $ac_file:* )
21689
 
      break ;;
21690
 
    * )
21691
 
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21692
 
  esac
21693
 
done
21694
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
21695
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21696
 
         X$ac_file : 'X\(//\)[^/]' \| \
21697
 
         X$ac_file : 'X\(//\)$' \| \
21698
 
         X$ac_file : 'X\(/\)' \| \
21699
 
         .     : '\(.\)' 2>/dev/null ||
21700
 
echo X$ac_file |
21701
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21702
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21703
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21704
 
          /^X\(\/\).*/{ s//\1/; q; }
21705
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
21706
 
done
21707
 
_ACEOF
21708
 
cat >>$CONFIG_STATUS <<\_ACEOF
21709
 
 
21710
 
#
21711
 
# CONFIG_COMMANDS section.
21712
 
#
21713
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
21714
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
21715
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
21716
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
21717
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21718
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
21719
 
         X"$ac_dest" : 'X\(//\)$' \| \
21720
 
         X"$ac_dest" : 'X\(/\)' \| \
21721
 
         .     : '\(.\)' 2>/dev/null ||
21722
 
echo X"$ac_dest" |
21723
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21724
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21725
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21726
 
          /^X\(\/\).*/{ s//\1/; q; }
21727
 
          s/.*/./; q'`
21728
 
  { if $as_mkdir_p; then
21729
 
    mkdir -p "$ac_dir"
21730
 
  else
21731
 
    as_dir="$ac_dir"
21732
 
    as_dirs=
21733
 
    while test ! -d "$as_dir"; do
21734
 
      as_dirs="$as_dir $as_dirs"
21735
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
21736
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21737
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
21738
 
         X"$as_dir" : 'X\(//\)$' \| \
21739
 
         X"$as_dir" : 'X\(/\)' \| \
21740
 
         .     : '\(.\)' 2>/dev/null ||
21741
 
echo X"$as_dir" |
21742
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21743
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21744
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21745
 
          /^X\(\/\).*/{ s//\1/; q; }
21746
 
          s/.*/./; q'`
21747
 
    done
21748
 
    test ! -n "$as_dirs" || mkdir $as_dirs
21749
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21750
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21751
 
   { (exit 1); exit 1; }; }; }
21752
 
 
21753
 
  ac_builddir=.
21754
 
 
21755
 
if test "$ac_dir" != .; then
21756
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21757
 
  # A "../" for each directory in $ac_dir_suffix.
21758
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21759
 
else
21760
 
  ac_dir_suffix= ac_top_builddir=
21761
 
fi
21762
 
 
21763
 
case $srcdir in
21764
 
  .)  # No --srcdir option.  We are building in place.
21765
 
    ac_srcdir=.
21766
 
    if test -z "$ac_top_builddir"; then
21767
 
       ac_top_srcdir=.
21768
 
    else
21769
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21770
 
    fi ;;
21771
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
21772
 
    ac_srcdir=$srcdir$ac_dir_suffix;
21773
 
    ac_top_srcdir=$srcdir ;;
21774
 
  *) # Relative path.
21775
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21776
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
21777
 
esac
21778
 
 
21779
 
# Do not use `cd foo && pwd` to compute absolute paths, because
21780
 
# the directories may not exist.
21781
 
case `pwd` in
21782
 
.) ac_abs_builddir="$ac_dir";;
21783
 
*)
21784
 
  case "$ac_dir" in
21785
 
  .) ac_abs_builddir=`pwd`;;
21786
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21787
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
21788
 
  esac;;
21789
 
esac
21790
 
case $ac_abs_builddir in
21791
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
21792
 
*)
21793
 
  case ${ac_top_builddir}. in
21794
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
21795
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21796
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21797
 
  esac;;
21798
 
esac
21799
 
case $ac_abs_builddir in
21800
 
.) ac_abs_srcdir=$ac_srcdir;;
21801
 
*)
21802
 
  case $ac_srcdir in
21803
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
21804
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21805
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21806
 
  esac;;
21807
 
esac
21808
 
case $ac_abs_builddir in
21809
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
21810
 
*)
21811
 
  case $ac_top_srcdir in
21812
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
21813
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21814
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21815
 
  esac;;
21816
 
esac
21817
 
 
21818
 
 
21819
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21820
 
echo "$as_me: executing $ac_dest commands" >&6;}
21821
 
  case $ac_dest in
21822
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
21823
 
  # Strip MF so we end up with the name of the file.
21824
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
21825
 
  # Check whether this is an Automake generated Makefile or not.
21826
 
  # We used to match only the files named `Makefile.in', but
21827
 
  # some people rename them; so instead we look at the file content.
21828
 
  # Grep'ing the first line is not enough: some people post-process
21829
 
  # each Makefile.in and add a new line on top of each file to say so.
21830
 
  # So let's grep whole file.
21831
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
21832
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
21833
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21834
 
         X"$mf" : 'X\(//\)[^/]' \| \
21835
 
         X"$mf" : 'X\(//\)$' \| \
21836
 
         X"$mf" : 'X\(/\)' \| \
21837
 
         .     : '\(.\)' 2>/dev/null ||
21838
 
echo X"$mf" |
21839
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21840
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21841
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21842
 
          /^X\(\/\).*/{ s//\1/; q; }
21843
 
          s/.*/./; q'`
21844
 
  else
21845
 
    continue
21846
 
  fi
21847
 
  # Extract the definition of DEPDIR, am__include, and am__quote
21848
 
  # from the Makefile without running `make'.
21849
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21850
 
  test -z "$DEPDIR" && continue
21851
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
21852
 
  test -z "am__include" && continue
21853
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21854
 
  # When using ansi2knr, U may be empty or an underscore; expand it
21855
 
  U=`sed -n 's/^U = //p' < "$mf"`
21856
 
  # Find all dependency output files, they are included files with
21857
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
21858
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
21859
 
  # expansion.
21860
 
  for file in `sed -n "
21861
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21862
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21863
 
    # Make sure the directory exists.
21864
 
    test -f "$dirpart/$file" && continue
21865
 
    fdir=`(dirname "$file") 2>/dev/null ||
21866
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21867
 
         X"$file" : 'X\(//\)[^/]' \| \
21868
 
         X"$file" : 'X\(//\)$' \| \
21869
 
         X"$file" : 'X\(/\)' \| \
21870
 
         .     : '\(.\)' 2>/dev/null ||
21871
 
echo X"$file" |
21872
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21873
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21874
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21875
 
          /^X\(\/\).*/{ s//\1/; q; }
21876
 
          s/.*/./; q'`
21877
 
    { if $as_mkdir_p; then
21878
 
    mkdir -p $dirpart/$fdir
21879
 
  else
21880
 
    as_dir=$dirpart/$fdir
21881
 
    as_dirs=
21882
 
    while test ! -d "$as_dir"; do
21883
 
      as_dirs="$as_dir $as_dirs"
21884
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
21885
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21886
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
21887
 
         X"$as_dir" : 'X\(//\)$' \| \
21888
 
         X"$as_dir" : 'X\(/\)' \| \
21889
 
         .     : '\(.\)' 2>/dev/null ||
21890
 
echo X"$as_dir" |
21891
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21892
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21893
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21894
 
          /^X\(\/\).*/{ s//\1/; q; }
21895
 
          s/.*/./; q'`
21896
 
    done
21897
 
    test ! -n "$as_dirs" || mkdir $as_dirs
21898
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
21899
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
21900
 
   { (exit 1); exit 1; }; }; }
21901
 
 
21902
 
    # echo "creating $dirpart/$file"
21903
 
    echo '# dummy' > "$dirpart/$file"
21904
 
  done
21905
 
done
21906
 
 ;;
21907
 
  esac
21908
 
done
21909
 
_ACEOF
21910
 
 
21911
 
cat >>$CONFIG_STATUS <<\_ACEOF
21912
 
 
21913
 
{ (exit 0); exit 0; }
21914
 
_ACEOF
21915
 
chmod +x $CONFIG_STATUS
21916
 
ac_clean_files=$ac_clean_files_save
21917
 
 
21918
 
 
21919
 
# configure is writing to config.log, and then calls config.status.
21920
 
# config.status does its own redirection, appending to config.log.
21921
 
# Unfortunately, on DOS this fails, as config.log is still kept open
21922
 
# by configure, so config.status won't be able to write to it; its
21923
 
# output is simply discarded.  So we exec the FD to /dev/null,
21924
 
# effectively closing config.log, so it can be properly (re)opened and
21925
 
# appended to by config.status.  When coming back to configure, we
21926
 
# need to make the FD available again.
21927
 
if test "$no_create" != yes; then
21928
 
  ac_cs_success=:
21929
 
  ac_config_status_args=
21930
 
  test "$silent" = yes &&
21931
 
    ac_config_status_args="$ac_config_status_args --quiet"
21932
 
  exec 5>/dev/null
21933
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21934
 
  exec 5>>config.log
21935
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21936
 
  # would make configure fail if this is the last instruction.
21937
 
  $ac_cs_success || { (exit 1); exit 1; }
21938
 
fi
21939