~ubuntu-branches/ubuntu/wily/alltray/wily

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Ignace Mouzannar
  • Date: 2010-11-20 16:16:12 UTC
  • mfrom: (2.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20101120161612-12y0wqt6g86fb7hu
Tags: 0.71b-1
* New upstream release. (Closes: #602233)
  - Fixes no windows hiding when using compiz. (Closes: #579503)
* debian/control:
  - Bumped Standards-Version to 3.9.1.
* debian/patches:
  - Removed 01_minor_type.diff as it has been integrated upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
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.
 
3
# Generated by GNU Autoconf 2.67.
 
4
#
 
5
#
 
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
8
# Foundation, Inc.
 
9
#
 
10
#
6
11
# This configure script is free software; the Free Software Foundation
7
12
# gives unlimited permission to copy, distribute and modify it.
8
 
## --------------------- ##
9
 
## M4sh Initialization.  ##
10
 
## --------------------- ##
 
13
## -------------------- ##
 
14
## M4sh Initialization. ##
 
15
## -------------------- ##
11
16
 
12
 
# Be Bourne compatible
13
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
17
# Be more Bourne compatible
 
18
DUALCASE=1; export DUALCASE # for MKS sh
 
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14
20
  emulate sh
15
21
  NULLCMD=:
16
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
22
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17
23
  # is contrary to our usage.  Disable this feature.
18
24
  alias -g '${1+"$@"}'='"$@"'
19
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20
 
  set -o posix
21
 
fi
22
 
DUALCASE=1; export DUALCASE # for MKS sh
23
 
 
24
 
# Support unset when possible.
25
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26
 
  as_unset=unset
27
 
else
28
 
  as_unset=false
29
 
fi
30
 
 
31
 
 
32
 
# Work around bugs in pre-3.0 UWIN ksh.
33
 
$as_unset ENV MAIL MAILPATH
 
25
  setopt NO_GLOB_SUBST
 
26
else
 
27
  case `(set -o) 2>/dev/null` in #(
 
28
  *posix*) :
 
29
    set -o posix ;; #(
 
30
  *) :
 
31
     ;;
 
32
esac
 
33
fi
 
34
 
 
35
 
 
36
as_nl='
 
37
'
 
38
export as_nl
 
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
44
# but without wasting forks for bash or zsh.
 
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
46
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
47
  as_echo='print -r --'
 
48
  as_echo_n='print -rn --'
 
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
50
  as_echo='printf %s\n'
 
51
  as_echo_n='printf %s'
 
52
else
 
53
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
54
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
55
    as_echo_n='/usr/ucb/echo -n'
 
56
  else
 
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
58
    as_echo_n_body='eval
 
59
      arg=$1;
 
60
      case $arg in #(
 
61
      *"$as_nl"*)
 
62
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
63
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
64
      esac;
 
65
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
66
    '
 
67
    export as_echo_n_body
 
68
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
69
  fi
 
70
  export as_echo_body
 
71
  as_echo='sh -c $as_echo_body as_echo'
 
72
fi
 
73
 
 
74
# The user is always right.
 
75
if test "${PATH_SEPARATOR+set}" != set; then
 
76
  PATH_SEPARATOR=:
 
77
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
78
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
79
      PATH_SEPARATOR=';'
 
80
  }
 
81
fi
 
82
 
 
83
 
 
84
# IFS
 
85
# We need space, tab and new line, in precisely that order.  Quoting is
 
86
# there to prevent editors from complaining about space-tab.
 
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
88
# splitting by setting IFS to empty value.)
 
89
IFS=" ""        $as_nl"
 
90
 
 
91
# Find who we are.  Look in the path if we contain no directory separator.
 
92
case $0 in #((
 
93
  *[\\/]* ) as_myself=$0 ;;
 
94
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
95
for as_dir in $PATH
 
96
do
 
97
  IFS=$as_save_IFS
 
98
  test -z "$as_dir" && as_dir=.
 
99
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
100
  done
 
101
IFS=$as_save_IFS
 
102
 
 
103
     ;;
 
104
esac
 
105
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
106
# in which case we are not to be found in the path.
 
107
if test "x$as_myself" = x; then
 
108
  as_myself=$0
 
109
fi
 
110
if test ! -f "$as_myself"; then
 
111
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
112
  exit 1
 
113
fi
 
114
 
 
115
# Unset variables that we do not need and which cause bugs (e.g. in
 
116
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
117
# suppresses any "Segmentation fault" message there.  '((' could
 
118
# trigger a bug in pdksh 5.2.14.
 
119
for as_var in BASH_ENV ENV MAIL MAILPATH
 
120
do eval test x\${$as_var+set} = xset \
 
121
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
122
done
34
123
PS1='$ '
35
124
PS2='> '
36
125
PS4='+ '
37
126
 
38
127
# NLS nuisances.
39
 
for as_var in \
40
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42
 
  LC_TELEPHONE LC_TIME
 
128
LC_ALL=C
 
129
export LC_ALL
 
130
LANGUAGE=C
 
131
export LANGUAGE
 
132
 
 
133
# CDPATH.
 
134
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
135
 
 
136
if test "x$CONFIG_SHELL" = x; then
 
137
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
138
  emulate sh
 
139
  NULLCMD=:
 
140
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
141
  # is contrary to our usage.  Disable this feature.
 
142
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
143
  setopt NO_GLOB_SUBST
 
144
else
 
145
  case \`(set -o) 2>/dev/null\` in #(
 
146
  *posix*) :
 
147
    set -o posix ;; #(
 
148
  *) :
 
149
     ;;
 
150
esac
 
151
fi
 
152
"
 
153
  as_required="as_fn_return () { (exit \$1); }
 
154
as_fn_success () { as_fn_return 0; }
 
155
as_fn_failure () { as_fn_return 1; }
 
156
as_fn_ret_success () { return 0; }
 
157
as_fn_ret_failure () { return 1; }
 
158
 
 
159
exitcode=0
 
160
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
161
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
162
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
163
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
164
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
165
 
 
166
else
 
167
  exitcode=1; echo positional parameters were not saved.
 
168
fi
 
169
test x\$exitcode = x0 || exit 1"
 
170
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
171
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
172
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
173
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
174
test \$(( 1 + 1 )) = 2 || exit 1"
 
175
  if (eval "$as_required") 2>/dev/null; then :
 
176
  as_have_required=yes
 
177
else
 
178
  as_have_required=no
 
179
fi
 
180
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
181
 
 
182
else
 
183
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
184
as_found=false
 
185
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
43
186
do
44
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
 
    eval $as_var=C; export $as_var
 
187
  IFS=$as_save_IFS
 
188
  test -z "$as_dir" && as_dir=.
 
189
  as_found=:
 
190
  case $as_dir in #(
 
191
         /*)
 
192
           for as_base in sh bash ksh sh5; do
 
193
             # Try only shells that exist, to save several forks.
 
194
             as_shell=$as_dir/$as_base
 
195
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
196
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
197
  CONFIG_SHELL=$as_shell as_have_required=yes
 
198
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
199
  break 2
 
200
fi
 
201
fi
 
202
           done;;
 
203
       esac
 
204
  as_found=false
 
205
done
 
206
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
207
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
208
  CONFIG_SHELL=$SHELL as_have_required=yes
 
209
fi; }
 
210
IFS=$as_save_IFS
 
211
 
 
212
 
 
213
      if test "x$CONFIG_SHELL" != x; then :
 
214
  # We cannot yet assume a decent shell, so we have to provide a
 
215
        # neutralization value for shells without unset; and this also
 
216
        # works around shells that cannot unset nonexistent variables.
 
217
        BASH_ENV=/dev/null
 
218
        ENV=/dev/null
 
219
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
220
        export CONFIG_SHELL
 
221
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
222
fi
 
223
 
 
224
    if test x$as_have_required = xno; then :
 
225
  $as_echo "$0: This script requires a shell more modern than all"
 
226
  $as_echo "$0: the shells that I found on your system."
 
227
  if test x${ZSH_VERSION+set} = xset ; then
 
228
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
229
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
46
230
  else
47
 
    $as_unset $as_var
48
 
  fi
49
 
done
50
 
 
51
 
# Required to use basename.
52
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
231
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
 
232
$0: including any error possibly output before this
 
233
$0: message. Then install a modern shell, or manually run
 
234
$0: the script under such a shell if you do have one."
 
235
  fi
 
236
  exit 1
 
237
fi
 
238
fi
 
239
fi
 
240
SHELL=${CONFIG_SHELL-/bin/sh}
 
241
export SHELL
 
242
# Unset more variables known to interfere with behavior of common tools.
 
243
CLICOLOR_FORCE= GREP_OPTIONS=
 
244
unset CLICOLOR_FORCE GREP_OPTIONS
 
245
 
 
246
## --------------------- ##
 
247
## M4sh Shell Functions. ##
 
248
## --------------------- ##
 
249
# as_fn_unset VAR
 
250
# ---------------
 
251
# Portably unset VAR.
 
252
as_fn_unset ()
 
253
{
 
254
  { eval $1=; unset $1;}
 
255
}
 
256
as_unset=as_fn_unset
 
257
 
 
258
# as_fn_set_status STATUS
 
259
# -----------------------
 
260
# Set $? to STATUS, without forking.
 
261
as_fn_set_status ()
 
262
{
 
263
  return $1
 
264
} # as_fn_set_status
 
265
 
 
266
# as_fn_exit STATUS
 
267
# -----------------
 
268
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
269
as_fn_exit ()
 
270
{
 
271
  set +e
 
272
  as_fn_set_status $1
 
273
  exit $1
 
274
} # as_fn_exit
 
275
 
 
276
# as_fn_mkdir_p
 
277
# -------------
 
278
# Create "$as_dir" as a directory, including parents if necessary.
 
279
as_fn_mkdir_p ()
 
280
{
 
281
 
 
282
  case $as_dir in #(
 
283
  -*) as_dir=./$as_dir;;
 
284
  esac
 
285
  test -d "$as_dir" || eval $as_mkdir_p || {
 
286
    as_dirs=
 
287
    while :; do
 
288
      case $as_dir in #(
 
289
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
290
      *) as_qdir=$as_dir;;
 
291
      esac
 
292
      as_dirs="'$as_qdir' $as_dirs"
 
293
      as_dir=`$as_dirname -- "$as_dir" ||
 
294
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
295
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
296
         X"$as_dir" : 'X\(//\)$' \| \
 
297
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
298
$as_echo X"$as_dir" |
 
299
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
300
            s//\1/
 
301
            q
 
302
          }
 
303
          /^X\(\/\/\)[^/].*/{
 
304
            s//\1/
 
305
            q
 
306
          }
 
307
          /^X\(\/\/\)$/{
 
308
            s//\1/
 
309
            q
 
310
          }
 
311
          /^X\(\/\).*/{
 
312
            s//\1/
 
313
            q
 
314
          }
 
315
          s/.*/./; q'`
 
316
      test -d "$as_dir" && break
 
317
    done
 
318
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
319
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
320
 
 
321
 
 
322
} # as_fn_mkdir_p
 
323
# as_fn_append VAR VALUE
 
324
# ----------------------
 
325
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
326
# advantage of any shell optimizations that allow amortized linear growth over
 
327
# repeated appends, instead of the typical quadratic growth present in naive
 
328
# implementations.
 
329
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
330
  eval 'as_fn_append ()
 
331
  {
 
332
    eval $1+=\$2
 
333
  }'
 
334
else
 
335
  as_fn_append ()
 
336
  {
 
337
    eval $1=\$$1\$2
 
338
  }
 
339
fi # as_fn_append
 
340
 
 
341
# as_fn_arith ARG...
 
342
# ------------------
 
343
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
344
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
345
# must be portable across $(()) and expr.
 
346
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
347
  eval 'as_fn_arith ()
 
348
  {
 
349
    as_val=$(( $* ))
 
350
  }'
 
351
else
 
352
  as_fn_arith ()
 
353
  {
 
354
    as_val=`expr "$@" || test $? -eq 1`
 
355
  }
 
356
fi # as_fn_arith
 
357
 
 
358
 
 
359
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
360
# ----------------------------------------
 
361
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
362
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
363
# script with STATUS, using 1 if that was 0.
 
364
as_fn_error ()
 
365
{
 
366
  as_status=$1; test $as_status -eq 0 && as_status=1
 
367
  if test "$4"; then
 
368
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
369
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
370
  fi
 
371
  $as_echo "$as_me: error: $2" >&2
 
372
  as_fn_exit $as_status
 
373
} # as_fn_error
 
374
 
 
375
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
376
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
53
377
  as_expr=expr
54
378
else
55
379
  as_expr=false
56
380
fi
57
381
 
58
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
382
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59
383
  as_basename=basename
60
384
else
61
385
  as_basename=false
62
386
fi
63
387
 
 
388
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
389
  as_dirname=dirname
 
390
else
 
391
  as_dirname=false
 
392
fi
64
393
 
65
 
# Name of the executable.
66
 
as_me=`$as_basename "$0" ||
 
394
as_me=`$as_basename -- "$0" ||
67
395
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
396
         X"$0" : 'X\(//\)$' \| \
69
 
         X"$0" : 'X\(/\)$' \| \
70
 
         .     : '\(.\)' 2>/dev/null ||
71
 
echo X/"$0" |
72
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
74
 
          /^X\/\(\/\).*/{ s//\1/; q; }
75
 
          s/.*/./; q'`
76
 
 
77
 
 
78
 
# PATH needs CR, and LINENO needs CR and PATH.
 
397
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
398
$as_echo X/"$0" |
 
399
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
400
            s//\1/
 
401
            q
 
402
          }
 
403
          /^X\/\(\/\/\)$/{
 
404
            s//\1/
 
405
            q
 
406
          }
 
407
          /^X\/\(\/\).*/{
 
408
            s//\1/
 
409
            q
 
410
          }
 
411
          s/.*/./; q'`
 
412
 
79
413
# Avoid depending upon Character Ranges.
80
414
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
415
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
83
417
as_cr_digits='0123456789'
84
418
as_cr_alnum=$as_cr_Letters$as_cr_digits
85
419
 
86
 
# The user is always right.
87
 
if test "${PATH_SEPARATOR+set}" != set; then
88
 
  echo "#! /bin/sh" >conf$$.sh
89
 
  echo  "exit 0"   >>conf$$.sh
90
 
  chmod +x conf$$.sh
91
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92
 
    PATH_SEPARATOR=';'
93
 
  else
94
 
    PATH_SEPARATOR=:
95
 
  fi
96
 
  rm -f conf$$.sh
97
 
fi
98
 
 
99
 
 
100
 
  as_lineno_1=$LINENO
101
 
  as_lineno_2=$LINENO
102
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
104
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105
 
  # Find who we are.  Look in the path if we contain no path at all
106
 
  # relative or not.
107
 
  case $0 in
108
 
    *[\\/]* ) as_myself=$0 ;;
109
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110
 
for as_dir in $PATH
111
 
do
112
 
  IFS=$as_save_IFS
113
 
  test -z "$as_dir" && as_dir=.
114
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115
 
done
116
 
 
117
 
       ;;
118
 
  esac
119
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
120
 
  # in which case we are not to be found in the path.
121
 
  if test "x$as_myself" = x; then
122
 
    as_myself=$0
123
 
  fi
124
 
  if test ! -f "$as_myself"; then
125
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
 
   { (exit 1); exit 1; }; }
127
 
  fi
128
 
  case $CONFIG_SHELL in
129
 
  '')
130
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132
 
do
133
 
  IFS=$as_save_IFS
134
 
  test -z "$as_dir" && as_dir=.
135
 
  for as_base in sh bash ksh sh5; do
136
 
         case $as_dir in
137
 
         /*)
138
 
           if ("$as_dir/$as_base" -c '
139
 
  as_lineno_1=$LINENO
140
 
  as_lineno_2=$LINENO
141
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
143
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146
 
             CONFIG_SHELL=$as_dir/$as_base
147
 
             export CONFIG_SHELL
148
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149
 
           fi;;
150
 
         esac
151
 
       done
152
 
done
153
 
;;
154
 
  esac
155
 
 
156
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
158
 
  # line-number line before each line; the second 'sed' does the real
159
 
  # work.  The second script uses 'N' to pair each line-number line
160
 
  # with the numbered line, and appends trailing '-' during
161
 
  # substitution so that $LINENO is not a special case at line end.
162
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164
 
  sed '=' <$as_myself |
 
420
 
 
421
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
422
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
423
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
424
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
425
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
 
426
  sed -n '
 
427
    p
 
428
    /[$]LINENO/=
 
429
  ' <$as_myself |
165
430
    sed '
 
431
      s/[$]LINENO.*/&-/
 
432
      t lineno
 
433
      b
 
434
      :lineno
166
435
      N
167
 
      s,$,-,
168
 
      : loop
169
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
436
      :loop
 
437
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
170
438
      t loop
171
 
      s,-$,,
172
 
      s,^['$as_cr_digits']*\n,,
 
439
      s/-\n.*//
173
440
    ' >$as_me.lineno &&
174
 
  chmod +x $as_me.lineno ||
175
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
 
   { (exit 1); exit 1; }; }
 
441
  chmod +x "$as_me.lineno" ||
 
442
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
177
443
 
178
444
  # Don't try to exec as it changes $[0], causing all sort of problems
179
445
  # (the dirname of $[0] is not the place where we might find the
180
 
  # original and so on.  Autoconf is especially sensible to this).
181
 
  . ./$as_me.lineno
 
446
  # original and so on.  Autoconf is especially sensitive to this).
 
447
  . "./$as_me.lineno"
182
448
  # Exit status is that of the last command.
183
449
  exit
184
450
}
185
451
 
186
 
 
187
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188
 
  *c*,-n*) ECHO_N= ECHO_C='
189
 
' ECHO_T='      ' ;;
190
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
452
ECHO_C= ECHO_N= ECHO_T=
 
453
case `echo -n x` in #(((((
 
454
-n*)
 
455
  case `echo 'xy\c'` in
 
456
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
457
  xy)  ECHO_C='\c';;
 
458
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
459
       ECHO_T=' ';;
 
460
  esac;;
 
461
*)
 
462
  ECHO_N='-n';;
192
463
esac
193
464
 
194
 
if expr a : '\(a\)' >/dev/null 2>&1; then
195
 
  as_expr=expr
 
465
rm -f conf$$ conf$$.exe conf$$.file
 
466
if test -d conf$$.dir; then
 
467
  rm -f conf$$.dir/conf$$.file
196
468
else
197
 
  as_expr=false
 
469
  rm -f conf$$.dir
 
470
  mkdir conf$$.dir 2>/dev/null
198
471
fi
199
 
 
200
 
rm -f conf$$ conf$$.exe conf$$.file
201
 
echo >conf$$.file
202
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
203
 
  # We could just check for DJGPP; but this test a) works b) is more generic
204
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
 
  if test -f conf$$.exe; then
206
 
    # Don't use ln at all; we don't have any links
 
472
if (echo >conf$$.file) 2>/dev/null; then
 
473
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
474
    as_ln_s='ln -s'
 
475
    # ... but there are two gotchas:
 
476
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
477
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
478
    # In both cases, we have to default to `cp -p'.
 
479
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
480
      as_ln_s='cp -p'
 
481
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
482
    as_ln_s=ln
 
483
  else
207
484
    as_ln_s='cp -p'
208
 
  else
209
 
    as_ln_s='ln -s'
210
485
  fi
211
 
elif ln conf$$.file conf$$ 2>/dev/null; then
212
 
  as_ln_s=ln
213
486
else
214
487
  as_ln_s='cp -p'
215
488
fi
216
 
rm -f conf$$ conf$$.exe conf$$.file
 
489
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
490
rmdir conf$$.dir 2>/dev/null
217
491
 
218
492
if mkdir -p . 2>/dev/null; then
219
 
  as_mkdir_p=:
 
493
  as_mkdir_p='mkdir -p "$as_dir"'
220
494
else
221
495
  test -d ./-p && rmdir ./-p
222
496
  as_mkdir_p=false
223
497
fi
224
498
 
225
 
as_executable_p="test -f"
 
499
if test -x / >/dev/null 2>&1; then
 
500
  as_test_x='test -x'
 
501
else
 
502
  if ls -dL / >/dev/null 2>&1; then
 
503
    as_ls_L_option=L
 
504
  else
 
505
    as_ls_L_option=
 
506
  fi
 
507
  as_test_x='
 
508
    eval sh -c '\''
 
509
      if test -d "$1"; then
 
510
        test -d "$1/.";
 
511
      else
 
512
        case $1 in #(
 
513
        -*)set "./$1";;
 
514
        esac;
 
515
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
516
        ???[sx]*):;;*)false;;esac;fi
 
517
    '\'' sh
 
518
  '
 
519
fi
 
520
as_executable_p=$as_test_x
226
521
 
227
522
# Sed expression to map a string onto a valid CPP name.
228
523
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
526
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
527
 
233
528
 
234
 
# IFS
235
 
# We need space, tab and new line, in precisely that order.
236
 
as_nl='
237
 
'
238
 
IFS="   $as_nl"
239
 
 
240
 
# CDPATH.
241
 
$as_unset CDPATH
242
 
 
243
 
 
244
529
 
245
530
# Check that we are running under the correct shell.
246
531
SHELL=${CONFIG_SHELL-/bin/sh}
247
532
 
248
 
case X$ECHO in
 
533
case X$lt_ECHO in
249
534
X*--fallback-echo)
250
535
  # Remove one level of quotation (which was required for Make).
251
 
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
 
536
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
252
537
  ;;
253
538
esac
254
539
 
255
 
echo=${ECHO-echo}
 
540
ECHO=${lt_ECHO-echo}
256
541
if test "X$1" = X--no-reexec; then
257
542
  # Discard the --no-reexec flag, and continue.
258
543
  shift
259
544
elif test "X$1" = X--fallback-echo; then
260
545
  # Avoid inline document here, it may be left over
261
546
  :
262
 
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
263
 
  # Yippee, $echo works!
 
547
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
 
548
  # Yippee, $ECHO works!
264
549
  :
265
550
else
266
551
  # Restart under the correct shell.
270
555
if test "X$1" = X--fallback-echo; then
271
556
  # used as fallback echo
272
557
  shift
273
 
  cat <<EOF
 
558
  cat <<_LT_EOF
274
559
$*
275
 
EOF
 
560
_LT_EOF
276
561
  exit 0
277
562
fi
278
563
 
280
565
# if CDPATH is set.
281
566
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
282
567
 
283
 
if test -z "$ECHO"; then
284
 
if test "X${echo_test_string+set}" != Xset; then
285
 
# find a string as large as possible, as long as the shell can cope with it
286
 
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287
 
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288
 
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
289
 
       echo_test_string=`eval $cmd` &&
290
 
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
291
 
    then
292
 
      break
293
 
    fi
294
 
  done
295
 
fi
296
 
 
297
 
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
298
 
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
299
 
   test "X$echo_testing_string" = "X$echo_test_string"; then
300
 
  :
301
 
else
302
 
  # The Solaris, AIX, and Digital Unix default echo programs unquote
303
 
  # backslashes.  This makes it impossible to quote backslashes using
304
 
  #   echo "$something" | sed 's/\\/\\\\/g'
305
 
  #
306
 
  # So, first we look for a working echo in the user's PATH.
307
 
 
308
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
309
 
  for dir in $PATH /usr/ucb; do
 
568
if test -z "$lt_ECHO"; then
 
569
  if test "X${echo_test_string+set}" != Xset; then
 
570
    # find a string as large as possible, as long as the shell can cope with it
 
571
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
 
572
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
573
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
 
574
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
 
575
      then
 
576
        break
 
577
      fi
 
578
    done
 
579
  fi
 
580
 
 
581
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
582
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
583
     test "X$echo_testing_string" = "X$echo_test_string"; then
 
584
    :
 
585
  else
 
586
    # The Solaris, AIX, and Digital Unix default echo programs unquote
 
587
    # backslashes.  This makes it impossible to quote backslashes using
 
588
    #   echo "$something" | sed 's/\\/\\\\/g'
 
589
    #
 
590
    # So, first we look for a working echo in the user's PATH.
 
591
 
 
592
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
593
    for dir in $PATH /usr/ucb; do
 
594
      IFS="$lt_save_ifs"
 
595
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
596
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
597
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
598
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
599
        ECHO="$dir/echo"
 
600
        break
 
601
      fi
 
602
    done
310
603
    IFS="$lt_save_ifs"
311
 
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
312
 
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
313
 
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
314
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
315
 
      echo="$dir/echo"
316
 
      break
317
 
    fi
318
 
  done
319
 
  IFS="$lt_save_ifs"
320
604
 
321
 
  if test "X$echo" = Xecho; then
322
 
    # We didn't find a better echo, so look for alternatives.
323
 
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
324
 
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
325
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
326
 
      # This shell has a builtin print -r that does the trick.
327
 
      echo='print -r'
328
 
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
329
 
         test "X$CONFIG_SHELL" != X/bin/ksh; then
330
 
      # If we have ksh, try running configure again with it.
331
 
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
332
 
      export ORIGINAL_CONFIG_SHELL
333
 
      CONFIG_SHELL=/bin/ksh
334
 
      export CONFIG_SHELL
335
 
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
336
 
    else
337
 
      # Try using printf.
338
 
      echo='printf %s\n'
339
 
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
340
 
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
341
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
342
 
        # Cool, printf works
343
 
        :
344
 
      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
345
 
           test "X$echo_testing_string" = 'X\t' &&
346
 
           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
347
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
348
 
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
349
 
        export CONFIG_SHELL
350
 
        SHELL="$CONFIG_SHELL"
351
 
        export SHELL
352
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
353
 
      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
354
 
           test "X$echo_testing_string" = 'X\t' &&
355
 
           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
356
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
357
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
 
605
    if test "X$ECHO" = Xecho; then
 
606
      # We didn't find a better echo, so look for alternatives.
 
607
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
 
608
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
 
609
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
610
        # This shell has a builtin print -r that does the trick.
 
611
        ECHO='print -r'
 
612
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
 
613
           test "X$CONFIG_SHELL" != X/bin/ksh; then
 
614
        # If we have ksh, try running configure again with it.
 
615
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
616
        export ORIGINAL_CONFIG_SHELL
 
617
        CONFIG_SHELL=/bin/ksh
 
618
        export CONFIG_SHELL
 
619
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
358
620
      else
359
 
        # maybe with a smaller string...
360
 
        prev=:
361
 
 
362
 
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
363
 
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
364
 
          then
365
 
            break
 
621
        # Try using printf.
 
622
        ECHO='printf %s\n'
 
623
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
624
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
625
           test "X$echo_testing_string" = "X$echo_test_string"; then
 
626
          # Cool, printf works
 
627
          :
 
628
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
629
             test "X$echo_testing_string" = 'X\t' &&
 
630
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
631
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
632
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
633
          export CONFIG_SHELL
 
634
          SHELL="$CONFIG_SHELL"
 
635
          export SHELL
 
636
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
637
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
638
             test "X$echo_testing_string" = 'X\t' &&
 
639
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
640
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
641
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
642
        else
 
643
          # maybe with a smaller string...
 
644
          prev=:
 
645
 
 
646
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
 
647
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
 
648
            then
 
649
              break
 
650
            fi
 
651
            prev="$cmd"
 
652
          done
 
653
 
 
654
          if test "$prev" != 'sed 50q "$0"'; then
 
655
            echo_test_string=`eval $prev`
 
656
            export echo_test_string
 
657
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
 
658
          else
 
659
            # Oops.  We lost completely, so just stick with echo.
 
660
            ECHO=echo
366
661
          fi
367
 
          prev="$cmd"
368
 
        done
369
 
 
370
 
        if test "$prev" != 'sed 50q "$0"'; then
371
 
          echo_test_string=`eval $prev`
372
 
          export echo_test_string
373
 
          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
374
 
        else
375
 
          # Oops.  We lost completely, so just stick with echo.
376
 
          echo=echo
377
 
        fi
 
662
        fi
378
663
      fi
379
664
    fi
380
665
  fi
381
666
fi
382
 
fi
383
667
 
384
668
# Copy echo and quote the copy suitably for passing to libtool from
385
669
# the Makefile, instead of quoting the original, which is used later.
386
 
ECHO=$echo
387
 
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
388
 
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
 
670
lt_ECHO=$ECHO
 
671
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
 
672
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
389
673
fi
390
674
 
391
675
 
392
676
 
393
677
 
394
 
tagnames=${tagnames+${tagnames},}CXX
395
 
 
396
 
tagnames=${tagnames+${tagnames},}F77
 
678
test -n "$DJDIR" || exec 7<&0 </dev/null
 
679
exec 6>&1
397
680
 
398
681
# Name of the host.
399
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
682
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
400
683
# so uname gets run too.
401
684
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
402
685
 
403
 
exec 6>&1
404
 
 
405
686
#
406
687
# Initializations.
407
688
#
408
689
ac_default_prefix=/usr/local
 
690
ac_clean_files=
409
691
ac_config_libobj_dir=.
 
692
LIBOBJS=
410
693
cross_compiling=no
411
694
subdirs=
412
695
MFLAGS=
413
696
MAKEFLAGS=
414
 
SHELL=${CONFIG_SHELL-/bin/sh}
415
 
 
416
 
# Maximum number of lines to put in a shell here document.
417
 
# This variable seems obsolete.  It should probably be removed, and
418
 
# only ac_max_sed_lines should be used.
419
 
: ${ac_max_here_lines=38}
420
697
 
421
698
# Identity of this package.
422
699
PACKAGE_NAME=
424
701
PACKAGE_VERSION=
425
702
PACKAGE_STRING=
426
703
PACKAGE_BUGREPORT=
 
704
PACKAGE_URL=
427
705
 
428
706
ac_unique_file="configure.in"
429
707
ac_default_prefix=/usr
430
708
# Factoring default headers for most tests.
431
709
ac_includes_default="\
432
710
#include <stdio.h>
433
 
#if HAVE_SYS_TYPES_H
 
711
#ifdef HAVE_SYS_TYPES_H
434
712
# include <sys/types.h>
435
713
#endif
436
 
#if HAVE_SYS_STAT_H
 
714
#ifdef HAVE_SYS_STAT_H
437
715
# include <sys/stat.h>
438
716
#endif
439
 
#if STDC_HEADERS
 
717
#ifdef STDC_HEADERS
440
718
# include <stdlib.h>
441
719
# include <stddef.h>
442
720
#else
443
 
# if HAVE_STDLIB_H
 
721
# ifdef HAVE_STDLIB_H
444
722
#  include <stdlib.h>
445
723
# endif
446
724
#endif
447
 
#if HAVE_STRING_H
448
 
# if !STDC_HEADERS && HAVE_MEMORY_H
 
725
#ifdef HAVE_STRING_H
 
726
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
449
727
#  include <memory.h>
450
728
# endif
451
729
# include <string.h>
452
730
#endif
453
 
#if HAVE_STRINGS_H
 
731
#ifdef HAVE_STRINGS_H
454
732
# include <strings.h>
455
733
#endif
456
 
#if HAVE_INTTYPES_H
 
734
#ifdef HAVE_INTTYPES_H
457
735
# include <inttypes.h>
458
 
#else
459
 
# if HAVE_STDINT_H
460
 
#  include <stdint.h>
461
 
# endif
462
 
#endif
463
 
#if HAVE_UNISTD_H
 
736
#endif
 
737
#ifdef HAVE_STDINT_H
 
738
# include <stdint.h>
 
739
#endif
 
740
#ifdef HAVE_UNISTD_H
464
741
# include <unistd.h>
465
742
#endif"
466
743
 
467
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL BINRELOC_CFLAGS BINRELOC_LIBS PKG_CONFIG ac_pt_PKG_CONFIG PACKAGE_CFLAGS PACKAGE_LIBS LIBOBJS LTLIBOBJS'
 
744
ac_subst_vars='am__EXEEXT_FALSE
 
745
am__EXEEXT_TRUE
 
746
LTLIBOBJS
 
747
LIBOBJS
 
748
PACKAGE_LIBS
 
749
PACKAGE_CFLAGS
 
750
PKG_CONFIG_LIBDIR
 
751
PKG_CONFIG_PATH
 
752
PKG_CONFIG
 
753
BINRELOC_LIBS
 
754
BINRELOC_CFLAGS
 
755
OTOOL64
 
756
OTOOL
 
757
LIPO
 
758
NMEDIT
 
759
DSYMUTIL
 
760
lt_ECHO
 
761
RANLIB
 
762
AR
 
763
OBJDUMP
 
764
LN_S
 
765
NM
 
766
ac_ct_DUMPBIN
 
767
DUMPBIN
 
768
LD
 
769
FGREP
 
770
SED
 
771
host_os
 
772
host_vendor
 
773
host_cpu
 
774
host
 
775
build_os
 
776
build_vendor
 
777
build_cpu
 
778
build
 
779
LIBTOOL
 
780
EGREP
 
781
GREP
 
782
CPP
 
783
am__fastdepCC_FALSE
 
784
am__fastdepCC_TRUE
 
785
CCDEPMODE
 
786
AMDEPBACKSLASH
 
787
AMDEP_FALSE
 
788
AMDEP_TRUE
 
789
am__quote
 
790
am__include
 
791
DEPDIR
 
792
OBJEXT
 
793
EXEEXT
 
794
ac_ct_CC
 
795
CPPFLAGS
 
796
LDFLAGS
 
797
CFLAGS
 
798
CC
 
799
am__untar
 
800
am__tar
 
801
AMTAR
 
802
am__leading_dot
 
803
SET_MAKE
 
804
AWK
 
805
mkdir_p
 
806
MKDIR_P
 
807
INSTALL_STRIP_PROGRAM
 
808
STRIP
 
809
install_sh
 
810
MAKEINFO
 
811
AUTOHEADER
 
812
AUTOMAKE
 
813
AUTOCONF
 
814
ACLOCAL
 
815
VERSION
 
816
PACKAGE
 
817
CYGPATH_W
 
818
am__isrc
 
819
INSTALL_DATA
 
820
INSTALL_SCRIPT
 
821
INSTALL_PROGRAM
 
822
target_alias
 
823
host_alias
 
824
build_alias
 
825
LIBS
 
826
ECHO_T
 
827
ECHO_N
 
828
ECHO_C
 
829
DEFS
 
830
mandir
 
831
localedir
 
832
libdir
 
833
psdir
 
834
pdfdir
 
835
dvidir
 
836
htmldir
 
837
infodir
 
838
docdir
 
839
oldincludedir
 
840
includedir
 
841
localstatedir
 
842
sharedstatedir
 
843
sysconfdir
 
844
datadir
 
845
datarootdir
 
846
libexecdir
 
847
sbindir
 
848
bindir
 
849
program_transform_name
 
850
prefix
 
851
exec_prefix
 
852
PACKAGE_URL
 
853
PACKAGE_BUGREPORT
 
854
PACKAGE_STRING
 
855
PACKAGE_VERSION
 
856
PACKAGE_TARNAME
 
857
PACKAGE_NAME
 
858
PATH_SEPARATOR
 
859
SHELL'
468
860
ac_subst_files=''
 
861
ac_user_opts='
 
862
enable_option_checking
 
863
enable_dependency_tracking
 
864
enable_static
 
865
enable_shared
 
866
with_pic
 
867
enable_fast_install
 
868
with_gnu_ld
 
869
enable_libtool_lock
 
870
enable_binreloc
 
871
enable_binreloc_threads
 
872
enable_gconf
 
873
'
 
874
      ac_precious_vars='build_alias
 
875
host_alias
 
876
target_alias
 
877
CC
 
878
CFLAGS
 
879
LDFLAGS
 
880
LIBS
 
881
CPPFLAGS
 
882
CPP
 
883
PKG_CONFIG
 
884
PKG_CONFIG_PATH
 
885
PKG_CONFIG_LIBDIR
 
886
PACKAGE_CFLAGS
 
887
PACKAGE_LIBS'
 
888
 
469
889
 
470
890
# Initialize some variables set by options.
471
891
ac_init_help=
472
892
ac_init_version=false
 
893
ac_unrecognized_opts=
 
894
ac_unrecognized_sep=
473
895
# The variables have the same names as the options, with
474
896
# dashes changed to underlines.
475
897
cache_file=/dev/null
492
914
# and all the variables that are supposed to be based on exec_prefix
493
915
# by default will actually change.
494
916
# Use braces instead of parens because sh, perl, etc. also accept them.
 
917
# (The list follows the same order as the GNU Coding Standards.)
495
918
bindir='${exec_prefix}/bin'
496
919
sbindir='${exec_prefix}/sbin'
497
920
libexecdir='${exec_prefix}/libexec'
498
 
datadir='${prefix}/share'
 
921
datarootdir='${prefix}/share'
 
922
datadir='${datarootdir}'
499
923
sysconfdir='${prefix}/etc'
500
924
sharedstatedir='${prefix}/com'
501
925
localstatedir='${prefix}/var'
502
 
libdir='${exec_prefix}/lib'
503
926
includedir='${prefix}/include'
504
927
oldincludedir='/usr/include'
505
 
infodir='${prefix}/info'
506
 
mandir='${prefix}/man'
 
928
docdir='${datarootdir}/doc/${PACKAGE}'
 
929
infodir='${datarootdir}/info'
 
930
htmldir='${docdir}'
 
931
dvidir='${docdir}'
 
932
pdfdir='${docdir}'
 
933
psdir='${docdir}'
 
934
libdir='${exec_prefix}/lib'
 
935
localedir='${datarootdir}/locale'
 
936
mandir='${datarootdir}/man'
507
937
 
508
938
ac_prev=
 
939
ac_dashdash=
509
940
for ac_option
510
941
do
511
942
  # If the previous option needs an argument, assign it.
512
943
  if test -n "$ac_prev"; then
513
 
    eval "$ac_prev=\$ac_option"
 
944
    eval $ac_prev=\$ac_option
514
945
    ac_prev=
515
946
    continue
516
947
  fi
517
948
 
518
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
949
  case $ac_option in
 
950
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
951
  *=)   ac_optarg= ;;
 
952
  *)    ac_optarg=yes ;;
 
953
  esac
519
954
 
520
955
  # Accept the important Cygnus configure options, so we can diagnose typos.
521
956
 
522
 
  case $ac_option in
 
957
  case $ac_dashdash$ac_option in
 
958
  --)
 
959
    ac_dashdash=yes ;;
523
960
 
524
961
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
525
962
    ac_prev=bindir ;;
541
978
  --config-cache | -C)
542
979
    cache_file=config.cache ;;
543
980
 
544
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
981
  -datadir | --datadir | --datadi | --datad)
545
982
    ac_prev=datadir ;;
546
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
547
 
  | --da=*)
 
983
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
548
984
    datadir=$ac_optarg ;;
549
985
 
 
986
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
987
  | --dataroo | --dataro | --datar)
 
988
    ac_prev=datarootdir ;;
 
989
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
990
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
991
    datarootdir=$ac_optarg ;;
 
992
 
550
993
  -disable-* | --disable-*)
551
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
994
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
552
995
    # Reject names that are not valid shell variable names.
553
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
555
 
   { (exit 1); exit 1; }; }
556
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
557
 
    eval "enable_$ac_feature=no" ;;
 
996
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
997
      as_fn_error $? "invalid feature name: $ac_useropt"
 
998
    ac_useropt_orig=$ac_useropt
 
999
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1000
    case $ac_user_opts in
 
1001
      *"
 
1002
"enable_$ac_useropt"
 
1003
"*) ;;
 
1004
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1005
         ac_unrecognized_sep=', ';;
 
1006
    esac
 
1007
    eval enable_$ac_useropt=no ;;
 
1008
 
 
1009
  -docdir | --docdir | --docdi | --doc | --do)
 
1010
    ac_prev=docdir ;;
 
1011
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1012
    docdir=$ac_optarg ;;
 
1013
 
 
1014
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1015
    ac_prev=dvidir ;;
 
1016
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1017
    dvidir=$ac_optarg ;;
558
1018
 
559
1019
  -enable-* | --enable-*)
560
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1020
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
561
1021
    # Reject names that are not valid shell variable names.
562
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
563
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
564
 
   { (exit 1); exit 1; }; }
565
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
566
 
    case $ac_option in
567
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
568
 
      *) ac_optarg=yes ;;
 
1022
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1023
      as_fn_error $? "invalid feature name: $ac_useropt"
 
1024
    ac_useropt_orig=$ac_useropt
 
1025
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1026
    case $ac_user_opts in
 
1027
      *"
 
1028
"enable_$ac_useropt"
 
1029
"*) ;;
 
1030
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1031
         ac_unrecognized_sep=', ';;
569
1032
    esac
570
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
1033
    eval enable_$ac_useropt=\$ac_optarg ;;
571
1034
 
572
1035
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
573
1036
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
594
1057
  -host=* | --host=* | --hos=* | --ho=*)
595
1058
    host_alias=$ac_optarg ;;
596
1059
 
 
1060
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1061
    ac_prev=htmldir ;;
 
1062
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1063
  | --ht=*)
 
1064
    htmldir=$ac_optarg ;;
 
1065
 
597
1066
  -includedir | --includedir | --includedi | --included | --include \
598
1067
  | --includ | --inclu | --incl | --inc)
599
1068
    ac_prev=includedir ;;
618
1087
  | --libexe=* | --libex=* | --libe=*)
619
1088
    libexecdir=$ac_optarg ;;
620
1089
 
 
1090
  -localedir | --localedir | --localedi | --localed | --locale)
 
1091
    ac_prev=localedir ;;
 
1092
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1093
    localedir=$ac_optarg ;;
 
1094
 
621
1095
  -localstatedir | --localstatedir | --localstatedi | --localstated \
622
 
  | --localstate | --localstat | --localsta | --localst \
623
 
  | --locals | --local | --loca | --loc | --lo)
 
1096
  | --localstate | --localstat | --localsta | --localst | --locals)
624
1097
    ac_prev=localstatedir ;;
625
1098
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
626
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
627
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
1099
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
628
1100
    localstatedir=$ac_optarg ;;
629
1101
 
630
1102
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
689
1161
  | --progr-tra=* | --program-tr=* | --program-t=*)
690
1162
    program_transform_name=$ac_optarg ;;
691
1163
 
 
1164
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1165
    ac_prev=pdfdir ;;
 
1166
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1167
    pdfdir=$ac_optarg ;;
 
1168
 
 
1169
  -psdir | --psdir | --psdi | --psd | --ps)
 
1170
    ac_prev=psdir ;;
 
1171
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1172
    psdir=$ac_optarg ;;
 
1173
 
692
1174
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
693
1175
  | -silent | --silent | --silen | --sile | --sil)
694
1176
    silent=yes ;;
739
1221
    ac_init_version=: ;;
740
1222
 
741
1223
  -with-* | --with-*)
742
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1224
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
743
1225
    # Reject names that are not valid shell variable names.
744
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
745
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
746
 
   { (exit 1); exit 1; }; }
747
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
748
 
    case $ac_option in
749
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
750
 
      *) ac_optarg=yes ;;
 
1226
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1227
      as_fn_error $? "invalid package name: $ac_useropt"
 
1228
    ac_useropt_orig=$ac_useropt
 
1229
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1230
    case $ac_user_opts in
 
1231
      *"
 
1232
"with_$ac_useropt"
 
1233
"*) ;;
 
1234
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1235
         ac_unrecognized_sep=', ';;
751
1236
    esac
752
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1237
    eval with_$ac_useropt=\$ac_optarg ;;
753
1238
 
754
1239
  -without-* | --without-*)
755
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1240
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
756
1241
    # Reject names that are not valid shell variable names.
757
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
758
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
759
 
   { (exit 1); exit 1; }; }
760
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
761
 
    eval "with_$ac_package=no" ;;
 
1242
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1243
      as_fn_error $? "invalid package name: $ac_useropt"
 
1244
    ac_useropt_orig=$ac_useropt
 
1245
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1246
    case $ac_user_opts in
 
1247
      *"
 
1248
"with_$ac_useropt"
 
1249
"*) ;;
 
1250
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1251
         ac_unrecognized_sep=', ';;
 
1252
    esac
 
1253
    eval with_$ac_useropt=no ;;
762
1254
 
763
1255
  --x)
764
1256
    # Obsolete; use --with-x.
778
1270
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
779
1271
    x_libraries=$ac_optarg ;;
780
1272
 
781
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
782
 
Try \`$0 --help' for more information." >&2
783
 
   { (exit 1); exit 1; }; }
 
1273
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1274
Try \`$0 --help' for more information"
784
1275
    ;;
785
1276
 
786
1277
  *=*)
787
1278
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
788
1279
    # Reject names that are not valid shell variable names.
789
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
790
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
791
 
   { (exit 1); exit 1; }; }
792
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
793
 
    eval "$ac_envvar='$ac_optarg'"
 
1280
    case $ac_envvar in #(
 
1281
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1282
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1283
    esac
 
1284
    eval $ac_envvar=\$ac_optarg
794
1285
    export $ac_envvar ;;
795
1286
 
796
1287
  *)
797
1288
    # FIXME: should be removed in autoconf 3.0.
798
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1289
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
799
1290
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
800
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1291
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
801
1292
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
802
1293
    ;;
803
1294
 
806
1297
 
807
1298
if test -n "$ac_prev"; then
808
1299
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
809
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
810
 
   { (exit 1); exit 1; }; }
811
 
fi
812
 
 
813
 
# Be sure to have absolute paths.
814
 
for ac_var in exec_prefix prefix
815
 
do
816
 
  eval ac_val=$`echo $ac_var`
817
 
  case $ac_val in
818
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
819
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
820
 
   { (exit 1); exit 1; }; };;
821
 
  esac
822
 
done
823
 
 
824
 
# Be sure to have absolute paths.
825
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
826
 
              localstatedir libdir includedir oldincludedir infodir mandir
827
 
do
828
 
  eval ac_val=$`echo $ac_var`
829
 
  case $ac_val in
830
 
    [\\/$]* | ?:[\\/]* ) ;;
831
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
832
 
   { (exit 1); exit 1; }; };;
833
 
  esac
 
1300
  as_fn_error $? "missing argument to $ac_option"
 
1301
fi
 
1302
 
 
1303
if test -n "$ac_unrecognized_opts"; then
 
1304
  case $enable_option_checking in
 
1305
    no) ;;
 
1306
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 
1307
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1308
  esac
 
1309
fi
 
1310
 
 
1311
# Check all directory arguments for consistency.
 
1312
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1313
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1314
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1315
                libdir localedir mandir
 
1316
do
 
1317
  eval ac_val=\$$ac_var
 
1318
  # Remove trailing slashes.
 
1319
  case $ac_val in
 
1320
    */ )
 
1321
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1322
      eval $ac_var=\$ac_val;;
 
1323
  esac
 
1324
  # Be sure to have absolute directory names.
 
1325
  case $ac_val in
 
1326
    [\\/$]* | ?:[\\/]* )  continue;;
 
1327
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1328
  esac
 
1329
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
834
1330
done
835
1331
 
836
1332
# There might be people who depend on the old broken behavior: `$host'
844
1340
if test "x$host_alias" != x; then
845
1341
  if test "x$build_alias" = x; then
846
1342
    cross_compiling=maybe
847
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
848
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1343
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1344
    If a cross compiler is detected then cross compile mode will be used" >&2
849
1345
  elif test "x$build_alias" != "x$host_alias"; then
850
1346
    cross_compiling=yes
851
1347
  fi
857
1353
test "$silent" = yes && exec 6>/dev/null
858
1354
 
859
1355
 
 
1356
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1357
ac_ls_di=`ls -di .` &&
 
1358
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1359
  as_fn_error $? "working directory cannot be determined"
 
1360
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1361
  as_fn_error $? "pwd does not report name of working directory"
 
1362
 
 
1363
 
860
1364
# Find the source files, if location was not specified.
861
1365
if test -z "$srcdir"; then
862
1366
  ac_srcdir_defaulted=yes
863
 
  # Try the directory containing this script, then its parent.
864
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
865
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
866
 
         X"$0" : 'X\(//\)[^/]' \| \
867
 
         X"$0" : 'X\(//\)$' \| \
868
 
         X"$0" : 'X\(/\)' \| \
869
 
         .     : '\(.\)' 2>/dev/null ||
870
 
echo X"$0" |
871
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
872
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
873
 
          /^X\(\/\/\)$/{ s//\1/; q; }
874
 
          /^X\(\/\).*/{ s//\1/; q; }
875
 
          s/.*/./; q'`
 
1367
  # Try the directory containing this script, then the parent directory.
 
1368
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1369
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1370
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1371
         X"$as_myself" : 'X\(//\)$' \| \
 
1372
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1373
$as_echo X"$as_myself" |
 
1374
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1375
            s//\1/
 
1376
            q
 
1377
          }
 
1378
          /^X\(\/\/\)[^/].*/{
 
1379
            s//\1/
 
1380
            q
 
1381
          }
 
1382
          /^X\(\/\/\)$/{
 
1383
            s//\1/
 
1384
            q
 
1385
          }
 
1386
          /^X\(\/\).*/{
 
1387
            s//\1/
 
1388
            q
 
1389
          }
 
1390
          s/.*/./; q'`
876
1391
  srcdir=$ac_confdir
877
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1392
  if test ! -r "$srcdir/$ac_unique_file"; then
878
1393
    srcdir=..
879
1394
  fi
880
1395
else
881
1396
  ac_srcdir_defaulted=no
882
1397
fi
883
 
if test ! -r $srcdir/$ac_unique_file; then
884
 
  if test "$ac_srcdir_defaulted" = yes; then
885
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
886
 
   { (exit 1); exit 1; }; }
887
 
  else
888
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
889
 
   { (exit 1); exit 1; }; }
890
 
  fi
891
 
fi
892
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
893
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
894
 
   { (exit 1); exit 1; }; }
895
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
896
 
ac_env_build_alias_set=${build_alias+set}
897
 
ac_env_build_alias_value=$build_alias
898
 
ac_cv_env_build_alias_set=${build_alias+set}
899
 
ac_cv_env_build_alias_value=$build_alias
900
 
ac_env_host_alias_set=${host_alias+set}
901
 
ac_env_host_alias_value=$host_alias
902
 
ac_cv_env_host_alias_set=${host_alias+set}
903
 
ac_cv_env_host_alias_value=$host_alias
904
 
ac_env_target_alias_set=${target_alias+set}
905
 
ac_env_target_alias_value=$target_alias
906
 
ac_cv_env_target_alias_set=${target_alias+set}
907
 
ac_cv_env_target_alias_value=$target_alias
908
 
ac_env_CC_set=${CC+set}
909
 
ac_env_CC_value=$CC
910
 
ac_cv_env_CC_set=${CC+set}
911
 
ac_cv_env_CC_value=$CC
912
 
ac_env_CFLAGS_set=${CFLAGS+set}
913
 
ac_env_CFLAGS_value=$CFLAGS
914
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
915
 
ac_cv_env_CFLAGS_value=$CFLAGS
916
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
917
 
ac_env_LDFLAGS_value=$LDFLAGS
918
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
919
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
920
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
921
 
ac_env_CPPFLAGS_value=$CPPFLAGS
922
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
923
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
924
 
ac_env_CPP_set=${CPP+set}
925
 
ac_env_CPP_value=$CPP
926
 
ac_cv_env_CPP_set=${CPP+set}
927
 
ac_cv_env_CPP_value=$CPP
928
 
ac_env_CXX_set=${CXX+set}
929
 
ac_env_CXX_value=$CXX
930
 
ac_cv_env_CXX_set=${CXX+set}
931
 
ac_cv_env_CXX_value=$CXX
932
 
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
933
 
ac_env_CXXFLAGS_value=$CXXFLAGS
934
 
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
935
 
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
936
 
ac_env_CXXCPP_set=${CXXCPP+set}
937
 
ac_env_CXXCPP_value=$CXXCPP
938
 
ac_cv_env_CXXCPP_set=${CXXCPP+set}
939
 
ac_cv_env_CXXCPP_value=$CXXCPP
940
 
ac_env_F77_set=${F77+set}
941
 
ac_env_F77_value=$F77
942
 
ac_cv_env_F77_set=${F77+set}
943
 
ac_cv_env_F77_value=$F77
944
 
ac_env_FFLAGS_set=${FFLAGS+set}
945
 
ac_env_FFLAGS_value=$FFLAGS
946
 
ac_cv_env_FFLAGS_set=${FFLAGS+set}
947
 
ac_cv_env_FFLAGS_value=$FFLAGS
948
 
ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
949
 
ac_env_PKG_CONFIG_value=$PKG_CONFIG
950
 
ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
951
 
ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
952
 
ac_env_PACKAGE_CFLAGS_set=${PACKAGE_CFLAGS+set}
953
 
ac_env_PACKAGE_CFLAGS_value=$PACKAGE_CFLAGS
954
 
ac_cv_env_PACKAGE_CFLAGS_set=${PACKAGE_CFLAGS+set}
955
 
ac_cv_env_PACKAGE_CFLAGS_value=$PACKAGE_CFLAGS
956
 
ac_env_PACKAGE_LIBS_set=${PACKAGE_LIBS+set}
957
 
ac_env_PACKAGE_LIBS_value=$PACKAGE_LIBS
958
 
ac_cv_env_PACKAGE_LIBS_set=${PACKAGE_LIBS+set}
959
 
ac_cv_env_PACKAGE_LIBS_value=$PACKAGE_LIBS
 
1398
if test ! -r "$srcdir/$ac_unique_file"; then
 
1399
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1400
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 
1401
fi
 
1402
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1403
ac_abs_confdir=`(
 
1404
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 
1405
        pwd)`
 
1406
# When building in place, set srcdir=.
 
1407
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1408
  srcdir=.
 
1409
fi
 
1410
# Remove unnecessary trailing slashes from srcdir.
 
1411
# Double slashes in file names in object file debugging info
 
1412
# mess up M-x gdb in Emacs.
 
1413
case $srcdir in
 
1414
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1415
esac
 
1416
for ac_var in $ac_precious_vars; do
 
1417
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1418
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1419
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1420
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1421
done
960
1422
 
961
1423
#
962
1424
# Report the --help message.
979
1441
      --help=short        display options specific to this package
980
1442
      --help=recursive    display the short help of all the included packages
981
1443
  -V, --version           display version information and exit
982
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1444
  -q, --quiet, --silent   do not print \`checking ...' messages
983
1445
      --cache-file=FILE   cache test results in FILE [disabled]
984
1446
  -C, --config-cache      alias for \`--cache-file=config.cache'
985
1447
  -n, --no-create         do not create output files
986
1448
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
987
1449
 
988
 
_ACEOF
989
 
 
990
 
  cat <<_ACEOF
991
1450
Installation directories:
992
1451
  --prefix=PREFIX         install architecture-independent files in PREFIX
993
 
                          [$ac_default_prefix]
 
1452
                          [$ac_default_prefix]
994
1453
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
995
 
                          [PREFIX]
 
1454
                          [PREFIX]
996
1455
 
997
1456
By default, \`make install' will install all the files in
998
1457
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1002
1461
For better control, use the options below.
1003
1462
 
1004
1463
Fine tuning of the installation directories:
1005
 
  --bindir=DIR           user executables [EPREFIX/bin]
1006
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1007
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1008
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
1009
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1010
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1011
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1012
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1013
 
  --includedir=DIR       C header files [PREFIX/include]
1014
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1015
 
  --infodir=DIR          info documentation [PREFIX/info]
1016
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1464
  --bindir=DIR            user executables [EPREFIX/bin]
 
1465
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1466
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1467
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1468
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1469
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1470
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1471
  --includedir=DIR        C header files [PREFIX/include]
 
1472
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1473
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1474
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1475
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1476
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1477
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1478
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
 
1479
  --htmldir=DIR           html documentation [DOCDIR]
 
1480
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1481
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1482
  --psdir=DIR             ps documentation [DOCDIR]
1017
1483
_ACEOF
1018
1484
 
1019
1485
  cat <<\_ACEOF
1034
1500
  cat <<\_ACEOF
1035
1501
 
1036
1502
Optional Features:
 
1503
  --disable-option-checking  ignore unrecognized --enable/--with options
1037
1504
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1038
1505
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1039
1506
  --disable-dependency-tracking  speeds up one-time build
1040
1507
  --enable-dependency-tracking   do not reject slow dependency extractors
1041
 
  --enable-static[=PKGS]
1042
 
                          build static libraries [default=no]
1043
 
  --enable-shared[=PKGS]
1044
 
                          build shared libraries [default=yes]
 
1508
  --enable-static[=PKGS]  build static libraries [default=no]
 
1509
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1045
1510
  --enable-fast-install[=PKGS]
1046
1511
                          optimize for fast installation [default=yes]
1047
1512
  --disable-libtool-lock  avoid locking (might break parallel builds)
1054
1519
Optional Packages:
1055
1520
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1056
1521
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1057
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1058
1522
  --with-pic              try to use only PIC/non-PIC objects [default=use
1059
1523
                          both]
1060
 
  --with-tags[=TAGS]
1061
 
                          include additional configurations [automatic]
 
1524
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1062
1525
 
1063
1526
Some influential environment variables:
1064
1527
  CC          C compiler command
1065
1528
  CFLAGS      C compiler flags
1066
1529
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1067
1530
              nonstandard directory <lib dir>
1068
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1069
 
              headers in a nonstandard directory <include dir>
 
1531
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1532
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 
1533
              you have headers in a nonstandard directory <include dir>
1070
1534
  CPP         C preprocessor
1071
 
  CXX         C++ compiler command
1072
 
  CXXFLAGS    C++ compiler flags
1073
 
  CXXCPP      C++ preprocessor
1074
 
  F77         Fortran 77 compiler command
1075
 
  FFLAGS      Fortran 77 compiler flags
1076
1535
  PKG_CONFIG  path to pkg-config utility
 
1536
  PKG_CONFIG_PATH
 
1537
              directories to add to pkg-config's search path
 
1538
  PKG_CONFIG_LIBDIR
 
1539
              path overriding pkg-config's built-in search path
1077
1540
  PACKAGE_CFLAGS
1078
1541
              C compiler flags for PACKAGE, overriding pkg-config
1079
1542
  PACKAGE_LIBS
1082
1545
Use these variables to override the choices made by `configure' or to help
1083
1546
it to find libraries and programs with nonstandard names/locations.
1084
1547
 
 
1548
Report bugs to the package provider.
1085
1549
_ACEOF
 
1550
ac_status=$?
1086
1551
fi
1087
1552
 
1088
1553
if test "$ac_init_help" = "recursive"; then
1089
1554
  # If there are subdirs, report their specific --help.
1090
 
  ac_popdir=`pwd`
1091
1555
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1092
 
    test -d $ac_dir || continue
 
1556
    test -d "$ac_dir" ||
 
1557
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1558
      continue
1093
1559
    ac_builddir=.
1094
1560
 
1095
 
if test "$ac_dir" != .; then
1096
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1097
 
  # A "../" for each directory in $ac_dir_suffix.
1098
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1099
 
else
1100
 
  ac_dir_suffix= ac_top_builddir=
1101
 
fi
 
1561
case "$ac_dir" in
 
1562
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1563
*)
 
1564
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1565
  # A ".." for each directory in $ac_dir_suffix.
 
1566
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1567
  case $ac_top_builddir_sub in
 
1568
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1569
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1570
  esac ;;
 
1571
esac
 
1572
ac_abs_top_builddir=$ac_pwd
 
1573
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1574
# for backward compatibility:
 
1575
ac_top_builddir=$ac_top_build_prefix
1102
1576
 
1103
1577
case $srcdir in
1104
 
  .)  # No --srcdir option.  We are building in place.
 
1578
  .)  # We are building in place.
1105
1579
    ac_srcdir=.
1106
 
    if test -z "$ac_top_builddir"; then
1107
 
       ac_top_srcdir=.
1108
 
    else
1109
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1110
 
    fi ;;
1111
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1580
    ac_top_srcdir=$ac_top_builddir_sub
 
1581
    ac_abs_top_srcdir=$ac_pwd ;;
 
1582
  [\\/]* | ?:[\\/]* )  # Absolute name.
1112
1583
    ac_srcdir=$srcdir$ac_dir_suffix;
1113
 
    ac_top_srcdir=$srcdir ;;
1114
 
  *) # Relative path.
1115
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1116
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1117
 
esac
1118
 
 
1119
 
# Do not use `cd foo && pwd` to compute absolute paths, because
1120
 
# the directories may not exist.
1121
 
case `pwd` in
1122
 
.) ac_abs_builddir="$ac_dir";;
1123
 
*)
1124
 
  case "$ac_dir" in
1125
 
  .) ac_abs_builddir=`pwd`;;
1126
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1127
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1128
 
  esac;;
1129
 
esac
1130
 
case $ac_abs_builddir in
1131
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1132
 
*)
1133
 
  case ${ac_top_builddir}. in
1134
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
1135
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1136
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1137
 
  esac;;
1138
 
esac
1139
 
case $ac_abs_builddir in
1140
 
.) ac_abs_srcdir=$ac_srcdir;;
1141
 
*)
1142
 
  case $ac_srcdir in
1143
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
1144
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1145
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1146
 
  esac;;
1147
 
esac
1148
 
case $ac_abs_builddir in
1149
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1150
 
*)
1151
 
  case $ac_top_srcdir in
1152
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1153
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1154
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1155
 
  esac;;
1156
 
esac
1157
 
 
1158
 
    cd $ac_dir
1159
 
    # Check for guested configure; otherwise get Cygnus style configure.
1160
 
    if test -f $ac_srcdir/configure.gnu; then
1161
 
      echo
1162
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1163
 
    elif test -f $ac_srcdir/configure; then
1164
 
      echo
1165
 
      $SHELL $ac_srcdir/configure  --help=recursive
1166
 
    elif test -f $ac_srcdir/configure.ac ||
1167
 
           test -f $ac_srcdir/configure.in; then
1168
 
      echo
1169
 
      $ac_configure --help
 
1584
    ac_top_srcdir=$srcdir
 
1585
    ac_abs_top_srcdir=$srcdir ;;
 
1586
  *) # Relative name.
 
1587
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1588
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1589
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1590
esac
 
1591
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1592
 
 
1593
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1594
    # Check for guested configure.
 
1595
    if test -f "$ac_srcdir/configure.gnu"; then
 
1596
      echo &&
 
1597
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1598
    elif test -f "$ac_srcdir/configure"; then
 
1599
      echo &&
 
1600
      $SHELL "$ac_srcdir/configure" --help=recursive
1170
1601
    else
1171
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1172
 
    fi
1173
 
    cd $ac_popdir
 
1602
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1603
    fi || ac_status=$?
 
1604
    cd "$ac_pwd" || { ac_status=$?; break; }
1174
1605
  done
1175
1606
fi
1176
1607
 
1177
 
test -n "$ac_init_help" && exit 0
 
1608
test -n "$ac_init_help" && exit $ac_status
1178
1609
if $ac_init_version; then
1179
1610
  cat <<\_ACEOF
 
1611
configure
 
1612
generated by GNU Autoconf 2.67
1180
1613
 
1181
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1614
Copyright (C) 2010 Free Software Foundation, Inc.
1182
1615
This configure script is free software; the Free Software Foundation
1183
1616
gives unlimited permission to copy, distribute and modify it.
1184
1617
_ACEOF
1185
 
  exit 0
1186
 
fi
1187
 
exec 5>config.log
1188
 
cat >&5 <<_ACEOF
 
1618
  exit
 
1619
fi
 
1620
 
 
1621
## ------------------------ ##
 
1622
## Autoconf initialization. ##
 
1623
## ------------------------ ##
 
1624
 
 
1625
# ac_fn_c_try_compile LINENO
 
1626
# --------------------------
 
1627
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1628
ac_fn_c_try_compile ()
 
1629
{
 
1630
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1631
  rm -f conftest.$ac_objext
 
1632
  if { { ac_try="$ac_compile"
 
1633
case "(($ac_try" in
 
1634
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1635
  *) ac_try_echo=$ac_try;;
 
1636
esac
 
1637
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1638
$as_echo "$ac_try_echo"; } >&5
 
1639
  (eval "$ac_compile") 2>conftest.err
 
1640
  ac_status=$?
 
1641
  if test -s conftest.err; then
 
1642
    grep -v '^ *+' conftest.err >conftest.er1
 
1643
    cat conftest.er1 >&5
 
1644
    mv -f conftest.er1 conftest.err
 
1645
  fi
 
1646
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1647
  test $ac_status = 0; } && {
 
1648
         test -z "$ac_c_werror_flag" ||
 
1649
         test ! -s conftest.err
 
1650
       } && test -s conftest.$ac_objext; then :
 
1651
  ac_retval=0
 
1652
else
 
1653
  $as_echo "$as_me: failed program was:" >&5
 
1654
sed 's/^/| /' conftest.$ac_ext >&5
 
1655
 
 
1656
        ac_retval=1
 
1657
fi
 
1658
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1659
  as_fn_set_status $ac_retval
 
1660
 
 
1661
} # ac_fn_c_try_compile
 
1662
 
 
1663
# ac_fn_c_try_link LINENO
 
1664
# -----------------------
 
1665
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1666
ac_fn_c_try_link ()
 
1667
{
 
1668
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1669
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1670
  if { { ac_try="$ac_link"
 
1671
case "(($ac_try" in
 
1672
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1673
  *) ac_try_echo=$ac_try;;
 
1674
esac
 
1675
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1676
$as_echo "$ac_try_echo"; } >&5
 
1677
  (eval "$ac_link") 2>conftest.err
 
1678
  ac_status=$?
 
1679
  if test -s conftest.err; then
 
1680
    grep -v '^ *+' conftest.err >conftest.er1
 
1681
    cat conftest.er1 >&5
 
1682
    mv -f conftest.er1 conftest.err
 
1683
  fi
 
1684
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1685
  test $ac_status = 0; } && {
 
1686
         test -z "$ac_c_werror_flag" ||
 
1687
         test ! -s conftest.err
 
1688
       } && test -s conftest$ac_exeext && {
 
1689
         test "$cross_compiling" = yes ||
 
1690
         $as_test_x conftest$ac_exeext
 
1691
       }; then :
 
1692
  ac_retval=0
 
1693
else
 
1694
  $as_echo "$as_me: failed program was:" >&5
 
1695
sed 's/^/| /' conftest.$ac_ext >&5
 
1696
 
 
1697
        ac_retval=1
 
1698
fi
 
1699
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1700
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1701
  # interfere with the next link command; also delete a directory that is
 
1702
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1703
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1704
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1705
  as_fn_set_status $ac_retval
 
1706
 
 
1707
} # ac_fn_c_try_link
 
1708
 
 
1709
# ac_fn_c_try_cpp LINENO
 
1710
# ----------------------
 
1711
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1712
ac_fn_c_try_cpp ()
 
1713
{
 
1714
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1715
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1716
case "(($ac_try" in
 
1717
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1718
  *) ac_try_echo=$ac_try;;
 
1719
esac
 
1720
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1721
$as_echo "$ac_try_echo"; } >&5
 
1722
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1723
  ac_status=$?
 
1724
  if test -s conftest.err; then
 
1725
    grep -v '^ *+' conftest.err >conftest.er1
 
1726
    cat conftest.er1 >&5
 
1727
    mv -f conftest.er1 conftest.err
 
1728
  fi
 
1729
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1730
  test $ac_status = 0; } > conftest.i && {
 
1731
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1732
         test ! -s conftest.err
 
1733
       }; then :
 
1734
  ac_retval=0
 
1735
else
 
1736
  $as_echo "$as_me: failed program was:" >&5
 
1737
sed 's/^/| /' conftest.$ac_ext >&5
 
1738
 
 
1739
    ac_retval=1
 
1740
fi
 
1741
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1742
  as_fn_set_status $ac_retval
 
1743
 
 
1744
} # ac_fn_c_try_cpp
 
1745
 
 
1746
# ac_fn_c_try_run LINENO
 
1747
# ----------------------
 
1748
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1749
# that executables *can* be run.
 
1750
ac_fn_c_try_run ()
 
1751
{
 
1752
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1753
  if { { ac_try="$ac_link"
 
1754
case "(($ac_try" in
 
1755
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1756
  *) ac_try_echo=$ac_try;;
 
1757
esac
 
1758
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1759
$as_echo "$ac_try_echo"; } >&5
 
1760
  (eval "$ac_link") 2>&5
 
1761
  ac_status=$?
 
1762
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1763
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1764
  { { case "(($ac_try" in
 
1765
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1766
  *) ac_try_echo=$ac_try;;
 
1767
esac
 
1768
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1769
$as_echo "$ac_try_echo"; } >&5
 
1770
  (eval "$ac_try") 2>&5
 
1771
  ac_status=$?
 
1772
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1773
  test $ac_status = 0; }; }; then :
 
1774
  ac_retval=0
 
1775
else
 
1776
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1777
       $as_echo "$as_me: failed program was:" >&5
 
1778
sed 's/^/| /' conftest.$ac_ext >&5
 
1779
 
 
1780
       ac_retval=$ac_status
 
1781
fi
 
1782
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1783
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1784
  as_fn_set_status $ac_retval
 
1785
 
 
1786
} # ac_fn_c_try_run
 
1787
 
 
1788
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1789
# -------------------------------------------------------
 
1790
# Tests whether HEADER exists and can be compiled using the include files in
 
1791
# INCLUDES, setting the cache variable VAR accordingly.
 
1792
ac_fn_c_check_header_compile ()
 
1793
{
 
1794
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1795
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1796
$as_echo_n "checking for $2... " >&6; }
 
1797
if eval "test \"\${$3+set}\"" = set; then :
 
1798
  $as_echo_n "(cached) " >&6
 
1799
else
 
1800
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1801
/* end confdefs.h.  */
 
1802
$4
 
1803
#include <$2>
 
1804
_ACEOF
 
1805
if ac_fn_c_try_compile "$LINENO"; then :
 
1806
  eval "$3=yes"
 
1807
else
 
1808
  eval "$3=no"
 
1809
fi
 
1810
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1811
fi
 
1812
eval ac_res=\$$3
 
1813
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1814
$as_echo "$ac_res" >&6; }
 
1815
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1816
 
 
1817
} # ac_fn_c_check_header_compile
 
1818
 
 
1819
# ac_fn_c_check_func LINENO FUNC VAR
 
1820
# ----------------------------------
 
1821
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1822
ac_fn_c_check_func ()
 
1823
{
 
1824
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1825
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1826
$as_echo_n "checking for $2... " >&6; }
 
1827
if eval "test \"\${$3+set}\"" = set; then :
 
1828
  $as_echo_n "(cached) " >&6
 
1829
else
 
1830
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1831
/* end confdefs.h.  */
 
1832
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1833
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1834
#define $2 innocuous_$2
 
1835
 
 
1836
/* System header to define __stub macros and hopefully few prototypes,
 
1837
    which can conflict with char $2 (); below.
 
1838
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1839
    <limits.h> exists even on freestanding compilers.  */
 
1840
 
 
1841
#ifdef __STDC__
 
1842
# include <limits.h>
 
1843
#else
 
1844
# include <assert.h>
 
1845
#endif
 
1846
 
 
1847
#undef $2
 
1848
 
 
1849
/* Override any GCC internal prototype to avoid an error.
 
1850
   Use char because int might match the return type of a GCC
 
1851
   builtin and then its argument prototype would still apply.  */
 
1852
#ifdef __cplusplus
 
1853
extern "C"
 
1854
#endif
 
1855
char $2 ();
 
1856
/* The GNU C library defines this for functions which it implements
 
1857
    to always fail with ENOSYS.  Some functions are actually named
 
1858
    something starting with __ and the normal name is an alias.  */
 
1859
#if defined __stub_$2 || defined __stub___$2
 
1860
choke me
 
1861
#endif
 
1862
 
 
1863
int
 
1864
main ()
 
1865
{
 
1866
return $2 ();
 
1867
  ;
 
1868
  return 0;
 
1869
}
 
1870
_ACEOF
 
1871
if ac_fn_c_try_link "$LINENO"; then :
 
1872
  eval "$3=yes"
 
1873
else
 
1874
  eval "$3=no"
 
1875
fi
 
1876
rm -f core conftest.err conftest.$ac_objext \
 
1877
    conftest$ac_exeext conftest.$ac_ext
 
1878
fi
 
1879
eval ac_res=\$$3
 
1880
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1881
$as_echo "$ac_res" >&6; }
 
1882
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1883
 
 
1884
} # ac_fn_c_check_func
 
1885
cat >config.log <<_ACEOF
1189
1886
This file contains any messages produced by compilers while
1190
1887
running configure, to aid debugging if configure makes a mistake.
1191
1888
 
1192
1889
It was created by $as_me, which was
1193
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1890
generated by GNU Autoconf 2.67.  Invocation command line was
1194
1891
 
1195
1892
  $ $0 $@
1196
1893
 
1197
1894
_ACEOF
 
1895
exec 5>>config.log
1198
1896
{
1199
1897
cat <<_ASUNAME
1200
1898
## --------- ##
1213
1911
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1214
1912
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1215
1913
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1216
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1914
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1217
1915
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1218
1916
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1219
1917
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1225
1923
do
1226
1924
  IFS=$as_save_IFS
1227
1925
  test -z "$as_dir" && as_dir=.
1228
 
  echo "PATH: $as_dir"
1229
 
done
 
1926
    $as_echo "PATH: $as_dir"
 
1927
  done
 
1928
IFS=$as_save_IFS
1230
1929
 
1231
1930
} >&5
1232
1931
 
1248
1947
ac_configure_args=
1249
1948
ac_configure_args0=
1250
1949
ac_configure_args1=
1251
 
ac_sep=
1252
1950
ac_must_keep_next=false
1253
1951
for ac_pass in 1 2
1254
1952
do
1259
1957
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1260
1958
    | -silent | --silent | --silen | --sile | --sil)
1261
1959
      continue ;;
1262
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1263
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1960
    *\'*)
 
1961
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1264
1962
    esac
1265
1963
    case $ac_pass in
1266
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1964
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1267
1965
    2)
1268
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1966
      as_fn_append ac_configure_args1 " '$ac_arg'"
1269
1967
      if test $ac_must_keep_next = true; then
1270
1968
        ac_must_keep_next=false # Got value, back to normal.
1271
1969
      else
1281
1979
          -* ) ac_must_keep_next=true ;;
1282
1980
        esac
1283
1981
      fi
1284
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1285
 
      # Get rid of the leading space.
1286
 
      ac_sep=" "
 
1982
      as_fn_append ac_configure_args " '$ac_arg'"
1287
1983
      ;;
1288
1984
    esac
1289
1985
  done
1290
1986
done
1291
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1292
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1987
{ ac_configure_args0=; unset ac_configure_args0;}
 
1988
{ ac_configure_args1=; unset ac_configure_args1;}
1293
1989
 
1294
1990
# When interrupted or exit'd, cleanup temporary files, and complete
1295
1991
# config.log.  We remove comments because anyway the quotes in there
1296
1992
# would cause problems or look ugly.
1297
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1298
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1993
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1994
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1299
1995
trap 'exit_status=$?
1300
1996
  # Save into config.log some information that might help in debugging.
1301
1997
  {
1302
1998
    echo
1303
1999
 
1304
 
    cat <<\_ASBOX
1305
 
## ---------------- ##
 
2000
    $as_echo "## ---------------- ##
1306
2001
## Cache variables. ##
1307
 
## ---------------- ##
1308
 
_ASBOX
 
2002
## ---------------- ##"
1309
2003
    echo
1310
2004
    # The following way of writing the cache mishandles newlines in values,
1311
 
{
 
2005
(
 
2006
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
2007
    eval ac_val=\$$ac_var
 
2008
    case $ac_val in #(
 
2009
    *${as_nl}*)
 
2010
      case $ac_var in #(
 
2011
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
2012
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
2013
      esac
 
2014
      case $ac_var in #(
 
2015
      _ | IFS | as_nl) ;; #(
 
2016
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
2017
      *) { eval $ac_var=; unset $ac_var;} ;;
 
2018
      esac ;;
 
2019
    esac
 
2020
  done
1312
2021
  (set) 2>&1 |
1313
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1314
 
    *ac_space=\ *)
 
2022
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
2023
    *${as_nl}ac_space=\ *)
1315
2024
      sed -n \
1316
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1317
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1318
 
      ;;
 
2025
        "s/'\''/'\''\\\\'\'''\''/g;
 
2026
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
2027
      ;; #(
1319
2028
    *)
1320
 
      sed -n \
1321
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
2029
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1322
2030
      ;;
1323
 
    esac;
1324
 
}
 
2031
    esac |
 
2032
    sort
 
2033
)
1325
2034
    echo
1326
2035
 
1327
 
    cat <<\_ASBOX
1328
 
## ----------------- ##
 
2036
    $as_echo "## ----------------- ##
1329
2037
## Output variables. ##
1330
 
## ----------------- ##
1331
 
_ASBOX
 
2038
## ----------------- ##"
1332
2039
    echo
1333
2040
    for ac_var in $ac_subst_vars
1334
2041
    do
1335
 
      eval ac_val=$`echo $ac_var`
1336
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
2042
      eval ac_val=\$$ac_var
 
2043
      case $ac_val in
 
2044
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2045
      esac
 
2046
      $as_echo "$ac_var='\''$ac_val'\''"
1337
2047
    done | sort
1338
2048
    echo
1339
2049
 
1340
2050
    if test -n "$ac_subst_files"; then
1341
 
      cat <<\_ASBOX
1342
 
## ------------- ##
1343
 
## Output files. ##
1344
 
## ------------- ##
1345
 
_ASBOX
 
2051
      $as_echo "## ------------------- ##
 
2052
## File substitutions. ##
 
2053
## ------------------- ##"
1346
2054
      echo
1347
2055
      for ac_var in $ac_subst_files
1348
2056
      do
1349
 
        eval ac_val=$`echo $ac_var`
1350
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
2057
        eval ac_val=\$$ac_var
 
2058
        case $ac_val in
 
2059
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2060
        esac
 
2061
        $as_echo "$ac_var='\''$ac_val'\''"
1351
2062
      done | sort
1352
2063
      echo
1353
2064
    fi
1354
2065
 
1355
2066
    if test -s confdefs.h; then
1356
 
      cat <<\_ASBOX
1357
 
## ----------- ##
 
2067
      $as_echo "## ----------- ##
1358
2068
## confdefs.h. ##
1359
 
## ----------- ##
1360
 
_ASBOX
 
2069
## ----------- ##"
1361
2070
      echo
1362
 
      sed "/^$/d" confdefs.h | sort
 
2071
      cat confdefs.h
1363
2072
      echo
1364
2073
    fi
1365
2074
    test "$ac_signal" != 0 &&
1366
 
      echo "$as_me: caught signal $ac_signal"
1367
 
    echo "$as_me: exit $exit_status"
 
2075
      $as_echo "$as_me: caught signal $ac_signal"
 
2076
    $as_echo "$as_me: exit $exit_status"
1368
2077
  } >&5
1369
 
  rm -f core *.core &&
1370
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
2078
  rm -f core *.core core.conftest.* &&
 
2079
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1371
2080
    exit $exit_status
1372
 
     ' 0
 
2081
' 0
1373
2082
for ac_signal in 1 2 13 15; do
1374
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2083
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1375
2084
done
1376
2085
ac_signal=0
1377
2086
 
1378
2087
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1379
 
rm -rf conftest* confdefs.h
1380
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1381
 
echo >confdefs.h
 
2088
rm -f -r conftest* confdefs.h
 
2089
 
 
2090
$as_echo "/* confdefs.h */" > confdefs.h
1382
2091
 
1383
2092
# Predefined preprocessor variables.
1384
2093
 
1386
2095
#define PACKAGE_NAME "$PACKAGE_NAME"
1387
2096
_ACEOF
1388
2097
 
1389
 
 
1390
2098
cat >>confdefs.h <<_ACEOF
1391
2099
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1392
2100
_ACEOF
1393
2101
 
1394
 
 
1395
2102
cat >>confdefs.h <<_ACEOF
1396
2103
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1397
2104
_ACEOF
1398
2105
 
1399
 
 
1400
2106
cat >>confdefs.h <<_ACEOF
1401
2107
#define PACKAGE_STRING "$PACKAGE_STRING"
1402
2108
_ACEOF
1403
2109
 
1404
 
 
1405
2110
cat >>confdefs.h <<_ACEOF
1406
2111
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1407
2112
_ACEOF
1408
2113
 
 
2114
cat >>confdefs.h <<_ACEOF
 
2115
#define PACKAGE_URL "$PACKAGE_URL"
 
2116
_ACEOF
 
2117
 
1409
2118
 
1410
2119
# Let the site file select an alternate cache file if it wants to.
1411
 
# Prefer explicitly selected file to automatically selected ones.
1412
 
if test -z "$CONFIG_SITE"; then
1413
 
  if test "x$prefix" != xNONE; then
1414
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1415
 
  else
1416
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1417
 
  fi
 
2120
# Prefer an explicitly selected file to automatically selected ones.
 
2121
ac_site_file1=NONE
 
2122
ac_site_file2=NONE
 
2123
if test -n "$CONFIG_SITE"; then
 
2124
  # We do not want a PATH search for config.site.
 
2125
  case $CONFIG_SITE in #((
 
2126
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2127
    */*) ac_site_file1=$CONFIG_SITE;;
 
2128
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2129
  esac
 
2130
elif test "x$prefix" != xNONE; then
 
2131
  ac_site_file1=$prefix/share/config.site
 
2132
  ac_site_file2=$prefix/etc/config.site
 
2133
else
 
2134
  ac_site_file1=$ac_default_prefix/share/config.site
 
2135
  ac_site_file2=$ac_default_prefix/etc/config.site
1418
2136
fi
1419
 
for ac_site_file in $CONFIG_SITE; do
1420
 
  if test -r "$ac_site_file"; then
1421
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1422
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
2137
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
2138
do
 
2139
  test "x$ac_site_file" = xNONE && continue
 
2140
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2141
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2142
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1423
2143
    sed 's/^/| /' "$ac_site_file" >&5
1424
 
    . "$ac_site_file"
 
2144
    . "$ac_site_file" \
 
2145
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2146
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2147
as_fn_error $? "failed to load site script $ac_site_file
 
2148
See \`config.log' for more details" "$LINENO" 5 ; }
1425
2149
  fi
1426
2150
done
1427
2151
 
1428
2152
if test -r "$cache_file"; then
1429
 
  # Some versions of bash will fail to source /dev/null (special
1430
 
  # files actually), so we avoid doing that.
1431
 
  if test -f "$cache_file"; then
1432
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1433
 
echo "$as_me: loading cache $cache_file" >&6;}
 
2153
  # Some versions of bash will fail to source /dev/null (special files
 
2154
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2155
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2156
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2157
$as_echo "$as_me: loading cache $cache_file" >&6;}
1434
2158
    case $cache_file in
1435
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1436
 
      *)                      . ./$cache_file;;
 
2159
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
2160
      *)                      . "./$cache_file";;
1437
2161
    esac
1438
2162
  fi
1439
2163
else
1440
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1441
 
echo "$as_me: creating cache $cache_file" >&6;}
 
2164
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2165
$as_echo "$as_me: creating cache $cache_file" >&6;}
1442
2166
  >$cache_file
1443
2167
fi
1444
2168
 
1445
2169
# Check that the precious variables saved in the cache have kept the same
1446
2170
# value.
1447
2171
ac_cache_corrupted=false
1448
 
for ac_var in `(set) 2>&1 |
1449
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
2172
for ac_var in $ac_precious_vars; do
1450
2173
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1451
2174
  eval ac_new_set=\$ac_env_${ac_var}_set
1452
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1453
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
2175
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
2176
  eval ac_new_val=\$ac_env_${ac_var}_value
1454
2177
  case $ac_old_set,$ac_new_set in
1455
2178
    set,)
1456
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1457
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2179
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2180
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1458
2181
      ac_cache_corrupted=: ;;
1459
2182
    ,set)
1460
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1461
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2183
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2184
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1462
2185
      ac_cache_corrupted=: ;;
1463
2186
    ,);;
1464
2187
    *)
1465
2188
      if test "x$ac_old_val" != "x$ac_new_val"; then
1466
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1467
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1468
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1469
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1470
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1471
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1472
 
        ac_cache_corrupted=:
 
2189
        # differences in whitespace do not lead to failure.
 
2190
        ac_old_val_w=`echo x $ac_old_val`
 
2191
        ac_new_val_w=`echo x $ac_new_val`
 
2192
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2193
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2194
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2195
          ac_cache_corrupted=:
 
2196
        else
 
2197
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2198
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2199
          eval $ac_var=\$ac_old_val
 
2200
        fi
 
2201
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2202
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2203
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2204
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1473
2205
      fi;;
1474
2206
  esac
1475
2207
  # Pass precious variables to config.status.
1476
2208
  if test "$ac_new_set" = set; then
1477
2209
    case $ac_new_val in
1478
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1479
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2210
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1480
2211
    *) ac_arg=$ac_var=$ac_new_val ;;
1481
2212
    esac
1482
2213
    case " $ac_configure_args " in
1483
2214
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1484
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2215
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1485
2216
    esac
1486
2217
  fi
1487
2218
done
1488
2219
if $ac_cache_corrupted; then
1489
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1490
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1491
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1492
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1493
 
   { (exit 1); exit 1; }; }
 
2220
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2221
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2222
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2223
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2224
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1494
2225
fi
 
2226
## -------------------- ##
 
2227
## Main body of script. ##
 
2228
## -------------------- ##
1495
2229
 
1496
2230
ac_ext=c
1497
2231
ac_cpp='$CPP $CPPFLAGS'
1501
2235
 
1502
2236
 
1503
2237
 
1504
 
 
1505
 
 
1506
 
 
1507
 
 
1508
 
 
1509
 
 
1510
 
 
1511
 
 
1512
 
 
1513
 
 
1514
 
 
1515
 
 
1516
 
 
1517
 
 
1518
 
 
1519
 
 
1520
 
 
1521
 
am__api_version="1.9"
 
2238
am__api_version='1.11'
 
2239
 
1522
2240
ac_aux_dir=
1523
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1524
 
  if test -f $ac_dir/install-sh; then
 
2241
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2242
  if test -f "$ac_dir/install-sh"; then
1525
2243
    ac_aux_dir=$ac_dir
1526
2244
    ac_install_sh="$ac_aux_dir/install-sh -c"
1527
2245
    break
1528
 
  elif test -f $ac_dir/install.sh; then
 
2246
  elif test -f "$ac_dir/install.sh"; then
1529
2247
    ac_aux_dir=$ac_dir
1530
2248
    ac_install_sh="$ac_aux_dir/install.sh -c"
1531
2249
    break
1532
 
  elif test -f $ac_dir/shtool; then
 
2250
  elif test -f "$ac_dir/shtool"; then
1533
2251
    ac_aux_dir=$ac_dir
1534
2252
    ac_install_sh="$ac_aux_dir/shtool install -c"
1535
2253
    break
1536
2254
  fi
1537
2255
done
1538
2256
if test -z "$ac_aux_dir"; then
1539
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1540
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1541
 
   { (exit 1); exit 1; }; }
 
2257
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1542
2258
fi
1543
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1544
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1545
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
2259
 
 
2260
# These three variables are undocumented and unsupported,
 
2261
# and are intended to be withdrawn in a future Autoconf release.
 
2262
# They can cause serious problems if a builder's source tree is in a directory
 
2263
# whose full name contains unusual characters.
 
2264
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2265
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2266
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2267
 
1546
2268
 
1547
2269
# Find a good install program.  We prefer a C program (faster),
1548
2270
# so one script is as good as another.  But avoid the broken or
1557
2279
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1558
2280
# OS/2's system install, which has a completely different semantic
1559
2281
# ./install, which can be erroneously created by make from ./install.sh.
1560
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1561
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
2282
# Reject install programs that cannot install multiple files.
 
2283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
2284
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1562
2285
if test -z "$INSTALL"; then
1563
 
if test "${ac_cv_path_install+set}" = set; then
1564
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2286
if test "${ac_cv_path_install+set}" = set; then :
 
2287
  $as_echo_n "(cached) " >&6
1565
2288
else
1566
2289
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1567
2290
for as_dir in $PATH
1568
2291
do
1569
2292
  IFS=$as_save_IFS
1570
2293
  test -z "$as_dir" && as_dir=.
1571
 
  # Account for people who put trailing slashes in PATH elements.
1572
 
case $as_dir/ in
1573
 
  ./ | .// | /cC/* | \
 
2294
    # Account for people who put trailing slashes in PATH elements.
 
2295
case $as_dir/ in #((
 
2296
  ./ | .// | /[cC]/* | \
1574
2297
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1575
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2298
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1576
2299
  /usr/ucb/* ) ;;
1577
2300
  *)
1578
2301
    # OSF1 and SCO ODT 3.0 have their own names for install.
1580
2303
    # by default.
1581
2304
    for ac_prog in ginstall scoinst install; do
1582
2305
      for ac_exec_ext in '' $ac_executable_extensions; do
1583
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2306
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1584
2307
          if test $ac_prog = install &&
1585
2308
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1586
2309
            # AIX install.  It has an incompatible calling convention.
1590
2313
            # program-specific install script used by HP pwplus--don't use.
1591
2314
            :
1592
2315
          else
1593
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1594
 
            break 3
 
2316
            rm -rf conftest.one conftest.two conftest.dir
 
2317
            echo one > conftest.one
 
2318
            echo two > conftest.two
 
2319
            mkdir conftest.dir
 
2320
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2321
              test -s conftest.one && test -s conftest.two &&
 
2322
              test -s conftest.dir/conftest.one &&
 
2323
              test -s conftest.dir/conftest.two
 
2324
            then
 
2325
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2326
              break 3
 
2327
            fi
1595
2328
          fi
1596
2329
        fi
1597
2330
      done
1598
2331
    done
1599
2332
    ;;
1600
2333
esac
1601
 
done
1602
 
 
 
2334
 
 
2335
  done
 
2336
IFS=$as_save_IFS
 
2337
 
 
2338
rm -rf conftest.one conftest.two conftest.dir
1603
2339
 
1604
2340
fi
1605
2341
  if test "${ac_cv_path_install+set}" = set; then
1606
2342
    INSTALL=$ac_cv_path_install
1607
2343
  else
1608
 
    # As a last resort, use the slow shell script.  We don't cache a
1609
 
    # path for INSTALL within a source directory, because that will
 
2344
    # As a last resort, use the slow shell script.  Don't cache a
 
2345
    # value for INSTALL within a source directory, because that will
1610
2346
    # break other packages using the cache if that directory is
1611
 
    # removed, or if the path is relative.
 
2347
    # removed, or if the value is a relative name.
1612
2348
    INSTALL=$ac_install_sh
1613
2349
  fi
1614
2350
fi
1615
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1616
 
echo "${ECHO_T}$INSTALL" >&6
 
2351
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
2352
$as_echo "$INSTALL" >&6; }
1617
2353
 
1618
2354
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1619
2355
# It thinks the first close brace ends the variable substitution.
1623
2359
 
1624
2360
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1625
2361
 
1626
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1627
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
2362
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
2363
$as_echo_n "checking whether build environment is sane... " >&6; }
1628
2364
# Just in case
1629
2365
sleep 1
1630
2366
echo timestamp > conftest.file
 
2367
# Reject unsafe characters in $srcdir or the absolute working directory
 
2368
# name.  Accept space and tab only in the latter.
 
2369
am_lf='
 
2370
'
 
2371
case `pwd` in
 
2372
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2373
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
 
2374
esac
 
2375
case $srcdir in
 
2376
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2377
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
 
2378
esac
 
2379
 
1631
2380
# Do `set' in a subshell so we don't clobber the current shell's
1632
2381
# arguments.  Must try -L first in case configure is actually a
1633
2382
# symlink; some systems play weird games with the mod time of symlinks
1634
2383
# (eg FreeBSD returns the mod time of the symlink's containing
1635
2384
# directory).
1636
2385
if (
1637
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
2386
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1638
2387
   if test "$*" = "X"; then
1639
2388
      # -L didn't work.
1640
 
      set X `ls -t $srcdir/configure conftest.file`
 
2389
      set X `ls -t "$srcdir/configure" conftest.file`
1641
2390
   fi
1642
2391
   rm -f conftest.file
1643
2392
   if test "$*" != "X $srcdir/configure conftest.file" \
1647
2396
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1648
2397
      # broken ls alias from the environment.  This has actually
1649
2398
      # happened.  Such a system could not be considered "sane".
1650
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1651
 
alias in your environment" >&5
1652
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1653
 
alias in your environment" >&2;}
1654
 
   { (exit 1); exit 1; }; }
 
2399
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
2400
alias in your environment" "$LINENO" 5
1655
2401
   fi
1656
2402
 
1657
2403
   test "$2" = conftest.file
1660
2406
   # Ok.
1661
2407
   :
1662
2408
else
1663
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1664
 
Check your system clock" >&5
1665
 
echo "$as_me: error: newly created file is older than distributed files!
1666
 
Check your system clock" >&2;}
1667
 
   { (exit 1); exit 1; }; }
 
2409
   as_fn_error $? "newly created file is older than distributed files!
 
2410
Check your system clock" "$LINENO" 5
1668
2411
fi
1669
 
echo "$as_me:$LINENO: result: yes" >&5
1670
 
echo "${ECHO_T}yes" >&6
 
2412
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2413
$as_echo "yes" >&6; }
1671
2414
test "$program_prefix" != NONE &&
1672
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
2415
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1673
2416
# Use a double $ so make ignores it.
1674
2417
test "$program_suffix" != NONE &&
1675
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1676
 
# Double any \ or $.  echo might interpret backslashes.
 
2418
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
2419
# Double any \ or $.
1677
2420
# By default was `s,x,x', remove it if useless.
1678
 
cat <<\_ACEOF >conftest.sed
1679
 
s/[\\$]/&&/g;s/;s,x,x,$//
1680
 
_ACEOF
1681
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1682
 
rm conftest.sed
 
2421
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2422
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1683
2423
 
1684
2424
# expand $ac_aux_dir to an absolute path
1685
2425
am_aux_dir=`cd $ac_aux_dir && pwd`
1686
2426
 
1687
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
2427
if test x"${MISSING+set}" != xset; then
 
2428
  case $am_aux_dir in
 
2429
  *\ * | *\     *)
 
2430
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2431
  *)
 
2432
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2433
  esac
 
2434
fi
1688
2435
# Use eval to expand $SHELL
1689
2436
if eval "$MISSING --run true"; then
1690
2437
  am_missing_run="$MISSING --run "
1691
2438
else
1692
2439
  am_missing_run=
1693
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1694
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1695
 
fi
1696
 
 
1697
 
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1698
 
  # We used to keeping the `.' as first argument, in order to
1699
 
  # allow $(mkdir_p) to be used without argument.  As in
1700
 
  #   $(mkdir_p) $(somedir)
1701
 
  # where $(somedir) is conditionally defined.  However this is wrong
1702
 
  # for two reasons:
1703
 
  #  1. if the package is installed by a user who cannot write `.'
1704
 
  #     make install will fail,
1705
 
  #  2. the above comment should most certainly read
1706
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
1707
 
  #     so it does not work when $(somedir) is undefined and
1708
 
  #     $(DESTDIR) is not.
1709
 
  #  To support the latter case, we have to write
1710
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1711
 
  #  so the `.' trick is pointless.
1712
 
  mkdir_p='mkdir -p --'
1713
 
else
1714
 
  # On NextStep and OpenStep, the `mkdir' command does not
1715
 
  # recognize any option.  It will interpret all options as
1716
 
  # directories to create, and then abort because `.' already
1717
 
  # exists.
1718
 
  for d in ./-p ./--version;
1719
 
  do
1720
 
    test -d $d && rmdir $d
1721
 
  done
1722
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1723
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
1724
 
    mkdir_p='$(mkinstalldirs)'
1725
 
  else
1726
 
    mkdir_p='$(install_sh) -d'
1727
 
  fi
1728
 
fi
 
2440
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 
2441
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2442
fi
 
2443
 
 
2444
if test x"${install_sh}" != xset; then
 
2445
  case $am_aux_dir in
 
2446
  *\ * | *\     *)
 
2447
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2448
  *)
 
2449
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2450
  esac
 
2451
fi
 
2452
 
 
2453
# Installed binaries are usually stripped using `strip' when the user
 
2454
# run `make install-strip'.  However `strip' might not be the right
 
2455
# tool to use in cross-compilation environments, therefore Automake
 
2456
# will honor the `STRIP' environment variable to overrule this program.
 
2457
if test "$cross_compiling" != no; then
 
2458
  if test -n "$ac_tool_prefix"; then
 
2459
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2460
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2461
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2462
$as_echo_n "checking for $ac_word... " >&6; }
 
2463
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2464
  $as_echo_n "(cached) " >&6
 
2465
else
 
2466
  if test -n "$STRIP"; then
 
2467
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2468
else
 
2469
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2470
for as_dir in $PATH
 
2471
do
 
2472
  IFS=$as_save_IFS
 
2473
  test -z "$as_dir" && as_dir=.
 
2474
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2475
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2476
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2477
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2478
    break 2
 
2479
  fi
 
2480
done
 
2481
  done
 
2482
IFS=$as_save_IFS
 
2483
 
 
2484
fi
 
2485
fi
 
2486
STRIP=$ac_cv_prog_STRIP
 
2487
if test -n "$STRIP"; then
 
2488
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2489
$as_echo "$STRIP" >&6; }
 
2490
else
 
2491
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2492
$as_echo "no" >&6; }
 
2493
fi
 
2494
 
 
2495
 
 
2496
fi
 
2497
if test -z "$ac_cv_prog_STRIP"; then
 
2498
  ac_ct_STRIP=$STRIP
 
2499
  # Extract the first word of "strip", so it can be a program name with args.
 
2500
set dummy strip; ac_word=$2
 
2501
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2502
$as_echo_n "checking for $ac_word... " >&6; }
 
2503
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2504
  $as_echo_n "(cached) " >&6
 
2505
else
 
2506
  if test -n "$ac_ct_STRIP"; then
 
2507
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2508
else
 
2509
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2510
for as_dir in $PATH
 
2511
do
 
2512
  IFS=$as_save_IFS
 
2513
  test -z "$as_dir" && as_dir=.
 
2514
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2515
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2516
    ac_cv_prog_ac_ct_STRIP="strip"
 
2517
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2518
    break 2
 
2519
  fi
 
2520
done
 
2521
  done
 
2522
IFS=$as_save_IFS
 
2523
 
 
2524
fi
 
2525
fi
 
2526
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2527
if test -n "$ac_ct_STRIP"; then
 
2528
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2529
$as_echo "$ac_ct_STRIP" >&6; }
 
2530
else
 
2531
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2532
$as_echo "no" >&6; }
 
2533
fi
 
2534
 
 
2535
  if test "x$ac_ct_STRIP" = x; then
 
2536
    STRIP=":"
 
2537
  else
 
2538
    case $cross_compiling:$ac_tool_warned in
 
2539
yes:)
 
2540
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2541
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2542
ac_tool_warned=yes ;;
 
2543
esac
 
2544
    STRIP=$ac_ct_STRIP
 
2545
  fi
 
2546
else
 
2547
  STRIP="$ac_cv_prog_STRIP"
 
2548
fi
 
2549
 
 
2550
fi
 
2551
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2552
 
 
2553
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
2554
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
2555
if test -z "$MKDIR_P"; then
 
2556
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2557
  $as_echo_n "(cached) " >&6
 
2558
else
 
2559
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2560
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2561
do
 
2562
  IFS=$as_save_IFS
 
2563
  test -z "$as_dir" && as_dir=.
 
2564
    for ac_prog in mkdir gmkdir; do
 
2565
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2566
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2567
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2568
             'mkdir (GNU coreutils) '* | \
 
2569
             'mkdir (coreutils) '* | \
 
2570
             'mkdir (fileutils) '4.1*)
 
2571
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2572
               break 3;;
 
2573
           esac
 
2574
         done
 
2575
       done
 
2576
  done
 
2577
IFS=$as_save_IFS
 
2578
 
 
2579
fi
 
2580
 
 
2581
  test -d ./--version && rmdir ./--version
 
2582
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2583
    MKDIR_P="$ac_cv_path_mkdir -p"
 
2584
  else
 
2585
    # As a last resort, use the slow shell script.  Don't cache a
 
2586
    # value for MKDIR_P within a source directory, because that will
 
2587
    # break other packages using the cache if that directory is
 
2588
    # removed, or if the value is a relative name.
 
2589
    MKDIR_P="$ac_install_sh -d"
 
2590
  fi
 
2591
fi
 
2592
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
2593
$as_echo "$MKDIR_P" >&6; }
 
2594
 
 
2595
mkdir_p="$MKDIR_P"
 
2596
case $mkdir_p in
 
2597
  [\\/$]* | ?:[\\/]*) ;;
 
2598
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2599
esac
1729
2600
 
1730
2601
for ac_prog in gawk mawk nawk awk
1731
2602
do
1732
2603
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1733
2604
set dummy $ac_prog; ac_word=$2
1734
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1735
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1736
 
if test "${ac_cv_prog_AWK+set}" = set; then
1737
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2605
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2606
$as_echo_n "checking for $ac_word... " >&6; }
 
2607
if test "${ac_cv_prog_AWK+set}" = set; then :
 
2608
  $as_echo_n "(cached) " >&6
1738
2609
else
1739
2610
  if test -n "$AWK"; then
1740
2611
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1744
2615
do
1745
2616
  IFS=$as_save_IFS
1746
2617
  test -z "$as_dir" && as_dir=.
1747
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1748
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2618
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2619
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1749
2620
    ac_cv_prog_AWK="$ac_prog"
1750
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2621
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1751
2622
    break 2
1752
2623
  fi
1753
2624
done
1754
 
done
 
2625
  done
 
2626
IFS=$as_save_IFS
1755
2627
 
1756
2628
fi
1757
2629
fi
1758
2630
AWK=$ac_cv_prog_AWK
1759
2631
if test -n "$AWK"; then
1760
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1761
 
echo "${ECHO_T}$AWK" >&6
 
2632
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
2633
$as_echo "$AWK" >&6; }
1762
2634
else
1763
 
  echo "$as_me:$LINENO: result: no" >&5
1764
 
echo "${ECHO_T}no" >&6
 
2635
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2636
$as_echo "no" >&6; }
1765
2637
fi
1766
2638
 
 
2639
 
1767
2640
  test -n "$AWK" && break
1768
2641
done
1769
2642
 
1770
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1771
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1772
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1773
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1774
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2643
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2644
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2645
set x ${MAKE-make}
 
2646
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2647
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 
2648
  $as_echo_n "(cached) " >&6
1775
2649
else
1776
2650
  cat >conftest.make <<\_ACEOF
 
2651
SHELL = /bin/sh
1777
2652
all:
1778
 
        @echo 'ac_maketemp="$(MAKE)"'
 
2653
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1779
2654
_ACEOF
1780
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1781
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1782
 
if test -n "$ac_maketemp"; then
1783
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1784
 
else
1785
 
  eval ac_cv_prog_make_${ac_make}_set=no
1786
 
fi
 
2655
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 
2656
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2657
  *@@@%%%=?*=@@@%%%*)
 
2658
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2659
  *)
 
2660
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2661
esac
1787
2662
rm -f conftest.make
1788
2663
fi
1789
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1790
 
  echo "$as_me:$LINENO: result: yes" >&5
1791
 
echo "${ECHO_T}yes" >&6
 
2664
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2665
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2666
$as_echo "yes" >&6; }
1792
2667
  SET_MAKE=
1793
2668
else
1794
 
  echo "$as_me:$LINENO: result: no" >&5
1795
 
echo "${ECHO_T}no" >&6
 
2669
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2670
$as_echo "no" >&6; }
1796
2671
  SET_MAKE="MAKE=${MAKE-make}"
1797
2672
fi
1798
2673
 
1805
2680
fi
1806
2681
rmdir .tst 2>/dev/null
1807
2682
 
1808
 
# test to see if srcdir already configured
1809
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1810
 
   test -f $srcdir/config.status; then
1811
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1812
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1813
 
   { (exit 1); exit 1; }; }
 
2683
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2684
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2685
  # is not polluted with repeated "-I."
 
2686
  am__isrc=' -I$(srcdir)'
 
2687
  # test to see if srcdir already configured
 
2688
  if test -f $srcdir/config.status; then
 
2689
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
2690
  fi
1814
2691
fi
1815
2692
 
1816
2693
# test whether we have cygpath
1825
2702
 
1826
2703
# Define the identity of the package.
1827
2704
 PACKAGE=alltray
1828
 
 VERSION=0.69
 
2705
 VERSION=0.71b
1829
2706
 
1830
2707
 
1831
2708
cat >>confdefs.h <<_ACEOF
1853
2730
 
1854
2731
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1855
2732
 
1856
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1857
 
 
1858
 
# Installed binaries are usually stripped using `strip' when the user
1859
 
# run `make install-strip'.  However `strip' might not be the right
1860
 
# tool to use in cross-compilation environments, therefore Automake
1861
 
# will honor the `STRIP' environment variable to overrule this program.
1862
 
if test "$cross_compiling" != no; then
1863
 
  if test -n "$ac_tool_prefix"; then
1864
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1865
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
1866
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1867
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1868
 
if test "${ac_cv_prog_STRIP+set}" = set; then
1869
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1870
 
else
1871
 
  if test -n "$STRIP"; then
1872
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1873
 
else
1874
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1875
 
for as_dir in $PATH
1876
 
do
1877
 
  IFS=$as_save_IFS
1878
 
  test -z "$as_dir" && as_dir=.
1879
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1880
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1881
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1882
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1883
 
    break 2
1884
 
  fi
1885
 
done
1886
 
done
1887
 
 
1888
 
fi
1889
 
fi
1890
 
STRIP=$ac_cv_prog_STRIP
1891
 
if test -n "$STRIP"; then
1892
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1893
 
echo "${ECHO_T}$STRIP" >&6
1894
 
else
1895
 
  echo "$as_me:$LINENO: result: no" >&5
1896
 
echo "${ECHO_T}no" >&6
1897
 
fi
1898
 
 
1899
 
fi
1900
 
if test -z "$ac_cv_prog_STRIP"; then
1901
 
  ac_ct_STRIP=$STRIP
1902
 
  # Extract the first word of "strip", so it can be a program name with args.
1903
 
set dummy strip; ac_word=$2
1904
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1905
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1906
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1907
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1908
 
else
1909
 
  if test -n "$ac_ct_STRIP"; then
1910
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1911
 
else
1912
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1913
 
for as_dir in $PATH
1914
 
do
1915
 
  IFS=$as_save_IFS
1916
 
  test -z "$as_dir" && as_dir=.
1917
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1918
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1919
 
    ac_cv_prog_ac_ct_STRIP="strip"
1920
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1921
 
    break 2
1922
 
  fi
1923
 
done
1924
 
done
1925
 
 
1926
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1927
 
fi
1928
 
fi
1929
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1930
 
if test -n "$ac_ct_STRIP"; then
1931
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1932
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
1933
 
else
1934
 
  echo "$as_me:$LINENO: result: no" >&5
1935
 
echo "${ECHO_T}no" >&6
1936
 
fi
1937
 
 
1938
 
  STRIP=$ac_ct_STRIP
1939
 
else
1940
 
  STRIP="$ac_cv_prog_STRIP"
1941
 
fi
1942
 
 
1943
 
fi
1944
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1945
 
 
1946
2733
# We need awk for the "check" target.  The system "awk" is bad on
1947
2734
# some platforms.
1948
2735
# Always define AMTAR for backward compatibility.
1955
2742
 
1956
2743
 
1957
2744
 
1958
 
          ac_config_headers="$ac_config_headers config.h"
 
2745
ac_config_headers="$ac_config_headers config.h"
1959
2746
 
1960
2747
 
1961
2748
 
1962
2749
DEPDIR="${am__leading_dot}deps"
1963
2750
 
1964
 
          ac_config_commands="$ac_config_commands depfiles"
 
2751
ac_config_commands="$ac_config_commands depfiles"
1965
2752
 
1966
2753
 
1967
2754
am_make=${MAKE-make}
1968
2755
cat > confinc << 'END'
1969
2756
am__doit:
1970
 
        @echo done
 
2757
        @echo this is the am__doit target
1971
2758
.PHONY: am__doit
1972
2759
END
1973
2760
# If we don't find an include directive, just comment out the code.
1974
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1975
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
2761
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
2762
$as_echo_n "checking for style of include used by $am_make... " >&6; }
1976
2763
am__include="#"
1977
2764
am__quote=
1978
2765
_am_result=none
1979
2766
# First try GNU make style include.
1980
2767
echo "include confinc" > confmf
1981
 
# We grep out `Entering directory' and `Leaving directory'
1982
 
# messages which can occur if `w' ends up in MAKEFLAGS.
1983
 
# In particular we don't look at `^make:' because GNU make might
1984
 
# be invoked under some other name (usually "gmake"), in which
1985
 
# case it prints its new name instead of `make'.
1986
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1987
 
   am__include=include
1988
 
   am__quote=
1989
 
   _am_result=GNU
1990
 
fi
 
2768
# Ignore all kinds of additional output from `make'.
 
2769
case `$am_make -s -f confmf 2> /dev/null` in #(
 
2770
*the\ am__doit\ target*)
 
2771
  am__include=include
 
2772
  am__quote=
 
2773
  _am_result=GNU
 
2774
  ;;
 
2775
esac
1991
2776
# Now try BSD make style include.
1992
2777
if test "$am__include" = "#"; then
1993
2778
   echo '.include "confinc"' > confmf
1994
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1995
 
      am__include=.include
1996
 
      am__quote="\""
1997
 
      _am_result=BSD
1998
 
   fi
 
2779
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
2780
   *the\ am__doit\ target*)
 
2781
     am__include=.include
 
2782
     am__quote="\""
 
2783
     _am_result=BSD
 
2784
     ;;
 
2785
   esac
1999
2786
fi
2000
2787
 
2001
2788
 
2002
 
echo "$as_me:$LINENO: result: $_am_result" >&5
2003
 
echo "${ECHO_T}$_am_result" >&6
 
2789
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
2790
$as_echo "$_am_result" >&6; }
2004
2791
rm -f confinc confmf
2005
2792
 
2006
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2007
 
if test "${enable_dependency_tracking+set}" = set; then
2008
 
  enableval="$enable_dependency_tracking"
 
2793
# Check whether --enable-dependency-tracking was given.
 
2794
if test "${enable_dependency_tracking+set}" = set; then :
 
2795
  enableval=$enable_dependency_tracking;
 
2796
fi
2009
2797
 
2010
 
fi;
2011
2798
if test "x$enable_dependency_tracking" != xno; then
2012
2799
  am_depcomp="$ac_aux_dir/depcomp"
2013
2800
  AMDEPBACKSLASH='\'
2014
2801
fi
2015
 
 
2016
 
 
2017
 
if test "x$enable_dependency_tracking" != xno; then
 
2802
 if test "x$enable_dependency_tracking" != xno; then
2018
2803
  AMDEP_TRUE=
2019
2804
  AMDEP_FALSE='#'
2020
2805
else
2023
2808
fi
2024
2809
 
2025
2810
 
2026
 
 
2027
2811
ac_ext=c
2028
2812
ac_cpp='$CPP $CPPFLAGS'
2029
2813
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2032
2816
if test -n "$ac_tool_prefix"; then
2033
2817
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2034
2818
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2035
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2036
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2037
 
if test "${ac_cv_prog_CC+set}" = set; then
2038
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2819
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2820
$as_echo_n "checking for $ac_word... " >&6; }
 
2821
if test "${ac_cv_prog_CC+set}" = set; then :
 
2822
  $as_echo_n "(cached) " >&6
2039
2823
else
2040
2824
  if test -n "$CC"; then
2041
2825
  ac_cv_prog_CC="$CC" # Let the user override the test.
2045
2829
do
2046
2830
  IFS=$as_save_IFS
2047
2831
  test -z "$as_dir" && as_dir=.
2048
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2049
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2832
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2833
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2050
2834
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2051
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2835
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2052
2836
    break 2
2053
2837
  fi
2054
2838
done
2055
 
done
 
2839
  done
 
2840
IFS=$as_save_IFS
2056
2841
 
2057
2842
fi
2058
2843
fi
2059
2844
CC=$ac_cv_prog_CC
2060
2845
if test -n "$CC"; then
2061
 
  echo "$as_me:$LINENO: result: $CC" >&5
2062
 
echo "${ECHO_T}$CC" >&6
 
2846
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2847
$as_echo "$CC" >&6; }
2063
2848
else
2064
 
  echo "$as_me:$LINENO: result: no" >&5
2065
 
echo "${ECHO_T}no" >&6
 
2849
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2850
$as_echo "no" >&6; }
2066
2851
fi
 
2852
 
2067
2853
 
2068
2854
fi
2069
2855
if test -z "$ac_cv_prog_CC"; then
2070
2856
  ac_ct_CC=$CC
2071
2857
  # Extract the first word of "gcc", so it can be a program name with args.
2072
2858
set dummy gcc; ac_word=$2
2073
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2074
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2075
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2076
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2860
$as_echo_n "checking for $ac_word... " >&6; }
 
2861
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2862
  $as_echo_n "(cached) " >&6
2077
2863
else
2078
2864
  if test -n "$ac_ct_CC"; then
2079
2865
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2083
2869
do
2084
2870
  IFS=$as_save_IFS
2085
2871
  test -z "$as_dir" && as_dir=.
2086
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2087
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2872
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2873
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2088
2874
    ac_cv_prog_ac_ct_CC="gcc"
2089
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2875
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2090
2876
    break 2
2091
2877
  fi
2092
2878
done
2093
 
done
 
2879
  done
 
2880
IFS=$as_save_IFS
2094
2881
 
2095
2882
fi
2096
2883
fi
2097
2884
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2098
2885
if test -n "$ac_ct_CC"; then
2099
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2100
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2886
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
2887
$as_echo "$ac_ct_CC" >&6; }
2101
2888
else
2102
 
  echo "$as_me:$LINENO: result: no" >&5
2103
 
echo "${ECHO_T}no" >&6
 
2889
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2890
$as_echo "no" >&6; }
2104
2891
fi
2105
2892
 
2106
 
  CC=$ac_ct_CC
 
2893
  if test "x$ac_ct_CC" = x; then
 
2894
    CC=""
 
2895
  else
 
2896
    case $cross_compiling:$ac_tool_warned in
 
2897
yes:)
 
2898
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2899
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2900
ac_tool_warned=yes ;;
 
2901
esac
 
2902
    CC=$ac_ct_CC
 
2903
  fi
2107
2904
else
2108
2905
  CC="$ac_cv_prog_CC"
2109
2906
fi
2110
2907
 
2111
2908
if test -z "$CC"; then
2112
 
  if test -n "$ac_tool_prefix"; then
2113
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2909
          if test -n "$ac_tool_prefix"; then
 
2910
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2114
2911
set dummy ${ac_tool_prefix}cc; ac_word=$2
2115
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2116
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2117
 
if test "${ac_cv_prog_CC+set}" = set; then
2118
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2912
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2913
$as_echo_n "checking for $ac_word... " >&6; }
 
2914
if test "${ac_cv_prog_CC+set}" = set; then :
 
2915
  $as_echo_n "(cached) " >&6
2119
2916
else
2120
2917
  if test -n "$CC"; then
2121
2918
  ac_cv_prog_CC="$CC" # Let the user override the test.
2125
2922
do
2126
2923
  IFS=$as_save_IFS
2127
2924
  test -z "$as_dir" && as_dir=.
2128
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2129
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2925
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2926
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2130
2927
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2131
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2928
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2132
2929
    break 2
2133
2930
  fi
2134
2931
done
2135
 
done
 
2932
  done
 
2933
IFS=$as_save_IFS
2136
2934
 
2137
2935
fi
2138
2936
fi
2139
2937
CC=$ac_cv_prog_CC
2140
2938
if test -n "$CC"; then
2141
 
  echo "$as_me:$LINENO: result: $CC" >&5
2142
 
echo "${ECHO_T}$CC" >&6
2143
 
else
2144
 
  echo "$as_me:$LINENO: result: no" >&5
2145
 
echo "${ECHO_T}no" >&6
2146
 
fi
2147
 
 
2148
 
fi
2149
 
if test -z "$ac_cv_prog_CC"; then
2150
 
  ac_ct_CC=$CC
2151
 
  # Extract the first word of "cc", so it can be a program name with args.
2152
 
set dummy cc; ac_word=$2
2153
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2154
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2155
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2156
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2157
 
else
2158
 
  if test -n "$ac_ct_CC"; then
2159
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2160
 
else
2161
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2162
 
for as_dir in $PATH
2163
 
do
2164
 
  IFS=$as_save_IFS
2165
 
  test -z "$as_dir" && as_dir=.
2166
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2167
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2168
 
    ac_cv_prog_ac_ct_CC="cc"
2169
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2170
 
    break 2
 
2939
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2940
$as_echo "$CC" >&6; }
 
2941
else
 
2942
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2943
$as_echo "no" >&6; }
 
2944
fi
 
2945
 
 
2946
 
2171
2947
  fi
2172
 
done
2173
 
done
2174
 
 
2175
 
fi
2176
 
fi
2177
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2178
 
if test -n "$ac_ct_CC"; then
2179
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2180
 
echo "${ECHO_T}$ac_ct_CC" >&6
2181
 
else
2182
 
  echo "$as_me:$LINENO: result: no" >&5
2183
 
echo "${ECHO_T}no" >&6
2184
 
fi
2185
 
 
2186
 
  CC=$ac_ct_CC
2187
 
else
2188
 
  CC="$ac_cv_prog_CC"
2189
 
fi
2190
 
 
2191
2948
fi
2192
2949
if test -z "$CC"; then
2193
2950
  # Extract the first word of "cc", so it can be a program name with args.
2194
2951
set dummy cc; ac_word=$2
2195
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2196
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2197
 
if test "${ac_cv_prog_CC+set}" = set; then
2198
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2952
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2953
$as_echo_n "checking for $ac_word... " >&6; }
 
2954
if test "${ac_cv_prog_CC+set}" = set; then :
 
2955
  $as_echo_n "(cached) " >&6
2199
2956
else
2200
2957
  if test -n "$CC"; then
2201
2958
  ac_cv_prog_CC="$CC" # Let the user override the test.
2206
2963
do
2207
2964
  IFS=$as_save_IFS
2208
2965
  test -z "$as_dir" && as_dir=.
2209
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2210
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2966
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2967
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2211
2968
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2212
2969
       ac_prog_rejected=yes
2213
2970
       continue
2214
2971
     fi
2215
2972
    ac_cv_prog_CC="cc"
2216
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2973
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2217
2974
    break 2
2218
2975
  fi
2219
2976
done
2220
 
done
 
2977
  done
 
2978
IFS=$as_save_IFS
2221
2979
 
2222
2980
if test $ac_prog_rejected = yes; then
2223
2981
  # We found a bogon in the path, so make sure we never use it.
2235
2993
fi
2236
2994
CC=$ac_cv_prog_CC
2237
2995
if test -n "$CC"; then
2238
 
  echo "$as_me:$LINENO: result: $CC" >&5
2239
 
echo "${ECHO_T}$CC" >&6
 
2996
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2997
$as_echo "$CC" >&6; }
2240
2998
else
2241
 
  echo "$as_me:$LINENO: result: no" >&5
2242
 
echo "${ECHO_T}no" >&6
 
2999
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3000
$as_echo "no" >&6; }
2243
3001
fi
 
3002
 
2244
3003
 
2245
3004
fi
2246
3005
if test -z "$CC"; then
2247
3006
  if test -n "$ac_tool_prefix"; then
2248
 
  for ac_prog in cl
 
3007
  for ac_prog in cl.exe
2249
3008
  do
2250
3009
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2251
3010
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2252
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2253
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2254
 
if test "${ac_cv_prog_CC+set}" = set; then
2255
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3011
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3012
$as_echo_n "checking for $ac_word... " >&6; }
 
3013
if test "${ac_cv_prog_CC+set}" = set; then :
 
3014
  $as_echo_n "(cached) " >&6
2256
3015
else
2257
3016
  if test -n "$CC"; then
2258
3017
  ac_cv_prog_CC="$CC" # Let the user override the test.
2262
3021
do
2263
3022
  IFS=$as_save_IFS
2264
3023
  test -z "$as_dir" && as_dir=.
2265
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2266
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3024
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3025
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2267
3026
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2268
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3027
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2269
3028
    break 2
2270
3029
  fi
2271
3030
done
2272
 
done
 
3031
  done
 
3032
IFS=$as_save_IFS
2273
3033
 
2274
3034
fi
2275
3035
fi
2276
3036
CC=$ac_cv_prog_CC
2277
3037
if test -n "$CC"; then
2278
 
  echo "$as_me:$LINENO: result: $CC" >&5
2279
 
echo "${ECHO_T}$CC" >&6
 
3038
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3039
$as_echo "$CC" >&6; }
2280
3040
else
2281
 
  echo "$as_me:$LINENO: result: no" >&5
2282
 
echo "${ECHO_T}no" >&6
 
3041
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3042
$as_echo "no" >&6; }
2283
3043
fi
2284
3044
 
 
3045
 
2285
3046
    test -n "$CC" && break
2286
3047
  done
2287
3048
fi
2288
3049
if test -z "$CC"; then
2289
3050
  ac_ct_CC=$CC
2290
 
  for ac_prog in cl
 
3051
  for ac_prog in cl.exe
2291
3052
do
2292
3053
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2293
3054
set dummy $ac_prog; ac_word=$2
2294
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2295
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2296
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2297
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3055
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3056
$as_echo_n "checking for $ac_word... " >&6; }
 
3057
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3058
  $as_echo_n "(cached) " >&6
2298
3059
else
2299
3060
  if test -n "$ac_ct_CC"; then
2300
3061
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2304
3065
do
2305
3066
  IFS=$as_save_IFS
2306
3067
  test -z "$as_dir" && as_dir=.
2307
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2308
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3068
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3069
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2309
3070
    ac_cv_prog_ac_ct_CC="$ac_prog"
2310
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3071
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2311
3072
    break 2
2312
3073
  fi
2313
3074
done
2314
 
done
 
3075
  done
 
3076
IFS=$as_save_IFS
2315
3077
 
2316
3078
fi
2317
3079
fi
2318
3080
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2319
3081
if test -n "$ac_ct_CC"; then
2320
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2321
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
3082
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3083
$as_echo "$ac_ct_CC" >&6; }
2322
3084
else
2323
 
  echo "$as_me:$LINENO: result: no" >&5
2324
 
echo "${ECHO_T}no" >&6
 
3085
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3086
$as_echo "no" >&6; }
2325
3087
fi
2326
3088
 
 
3089
 
2327
3090
  test -n "$ac_ct_CC" && break
2328
3091
done
2329
3092
 
2330
 
  CC=$ac_ct_CC
2331
 
fi
2332
 
 
2333
 
fi
2334
 
 
2335
 
 
2336
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2337
 
See \`config.log' for more details." >&5
2338
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
2339
 
See \`config.log' for more details." >&2;}
2340
 
   { (exit 1); exit 1; }; }
 
3093
  if test "x$ac_ct_CC" = x; then
 
3094
    CC=""
 
3095
  else
 
3096
    case $cross_compiling:$ac_tool_warned in
 
3097
yes:)
 
3098
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3099
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3100
ac_tool_warned=yes ;;
 
3101
esac
 
3102
    CC=$ac_ct_CC
 
3103
  fi
 
3104
fi
 
3105
 
 
3106
fi
 
3107
 
 
3108
 
 
3109
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3110
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3111
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3112
See \`config.log' for more details" "$LINENO" 5 ; }
2341
3113
 
2342
3114
# Provide some information about the compiler.
2343
 
echo "$as_me:$LINENO:" \
2344
 
     "checking for C compiler version" >&5
2345
 
ac_compiler=`set X $ac_compile; echo $2`
2346
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2347
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2348
 
  ac_status=$?
2349
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350
 
  (exit $ac_status); }
2351
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2352
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2353
 
  ac_status=$?
2354
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355
 
  (exit $ac_status); }
2356
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2357
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
2358
 
  ac_status=$?
2359
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360
 
  (exit $ac_status); }
 
3115
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
3116
set X $ac_compile
 
3117
ac_compiler=$2
 
3118
for ac_option in --version -v -V -qversion; do
 
3119
  { { ac_try="$ac_compiler $ac_option >&5"
 
3120
case "(($ac_try" in
 
3121
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3122
  *) ac_try_echo=$ac_try;;
 
3123
esac
 
3124
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3125
$as_echo "$ac_try_echo"; } >&5
 
3126
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3127
  ac_status=$?
 
3128
  if test -s conftest.err; then
 
3129
    sed '10a\
 
3130
... rest of stderr output deleted ...
 
3131
         10q' conftest.err >conftest.er1
 
3132
    cat conftest.er1 >&5
 
3133
  fi
 
3134
  rm -f conftest.er1 conftest.err
 
3135
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3136
  test $ac_status = 0; }
 
3137
done
2361
3138
 
2362
 
cat >conftest.$ac_ext <<_ACEOF
2363
 
/* confdefs.h.  */
2364
 
_ACEOF
2365
 
cat confdefs.h >>conftest.$ac_ext
2366
 
cat >>conftest.$ac_ext <<_ACEOF
 
3139
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2367
3140
/* end confdefs.h.  */
2368
3141
 
2369
3142
int
2375
3148
}
2376
3149
_ACEOF
2377
3150
ac_clean_files_save=$ac_clean_files
2378
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
3151
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2379
3152
# Try to create an executable without -o first, disregard a.out.
2380
3153
# It will help us diagnose broken compilers, and finding out an intuition
2381
3154
# of exeext.
2382
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2383
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2384
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2385
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2386
 
  (eval $ac_link_default) 2>&5
 
3155
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3156
$as_echo_n "checking whether the C compiler works... " >&6; }
 
3157
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3158
 
 
3159
# The possible output files:
 
3160
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3161
 
 
3162
ac_rmfiles=
 
3163
for ac_file in $ac_files
 
3164
do
 
3165
  case $ac_file in
 
3166
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3167
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3168
  esac
 
3169
done
 
3170
rm -f $ac_rmfiles
 
3171
 
 
3172
if { { ac_try="$ac_link_default"
 
3173
case "(($ac_try" in
 
3174
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3175
  *) ac_try_echo=$ac_try;;
 
3176
esac
 
3177
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3178
$as_echo "$ac_try_echo"; } >&5
 
3179
  (eval "$ac_link_default") 2>&5
2387
3180
  ac_status=$?
2388
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389
 
  (exit $ac_status); }; then
2390
 
  # Find the output, starting from the most likely.  This scheme is
2391
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2392
 
# resort.
2393
 
 
2394
 
# Be careful to initialize this variable, since it used to be cached.
2395
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2396
 
ac_cv_exeext=
2397
 
# b.out is created by i960 compilers.
2398
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
3181
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3182
  test $ac_status = 0; }; then :
 
3183
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3184
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3185
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3186
# so that the user can short-circuit this test for compilers unknown to
 
3187
# Autoconf.
 
3188
for ac_file in $ac_files ''
2399
3189
do
2400
3190
  test -f "$ac_file" || continue
2401
3191
  case $ac_file in
2402
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2403
 
        ;;
2404
 
    conftest.$ac_ext )
2405
 
        # This is the source file.
 
3192
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2406
3193
        ;;
2407
3194
    [ab].out )
2408
3195
        # We found the default executable, but exeext='' is most
2409
3196
        # certainly right.
2410
3197
        break;;
2411
3198
    *.* )
2412
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2413
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2414
 
        # but it would be cool to find out if it's true.  Does anybody
2415
 
        # maintain Libtool? --akim.
2416
 
        export ac_cv_exeext
 
3199
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3200
        then :; else
 
3201
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3202
        fi
 
3203
        # We set ac_cv_exeext here because the later test for it is not
 
3204
        # safe: cross compilers may not add the suffix if given an `-o'
 
3205
        # argument, so we may need to know it at that point already.
 
3206
        # Even if this section looks crufty: it has the advantage of
 
3207
        # actually working.
2417
3208
        break;;
2418
3209
    * )
2419
3210
        break;;
2420
3211
  esac
2421
3212
done
 
3213
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3214
 
2422
3215
else
2423
 
  echo "$as_me: failed program was:" >&5
 
3216
  ac_file=''
 
3217
fi
 
3218
if test -z "$ac_file"; then :
 
3219
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3220
$as_echo "no" >&6; }
 
3221
$as_echo "$as_me: failed program was:" >&5
2424
3222
sed 's/^/| /' conftest.$ac_ext >&5
2425
3223
 
2426
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2427
 
See \`config.log' for more details." >&5
2428
 
echo "$as_me: error: C compiler cannot create executables
2429
 
See \`config.log' for more details." >&2;}
2430
 
   { (exit 77); exit 77; }; }
 
3224
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3225
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3226
as_fn_error 77 "C compiler cannot create executables
 
3227
See \`config.log' for more details" "$LINENO" 5 ; }
 
3228
else
 
3229
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3230
$as_echo "yes" >&6; }
2431
3231
fi
2432
 
 
 
3232
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3233
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3234
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3235
$as_echo "$ac_file" >&6; }
2433
3236
ac_exeext=$ac_cv_exeext
2434
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2435
 
echo "${ECHO_T}$ac_file" >&6
2436
 
 
2437
 
# Check the compiler produces executables we can run.  If not, either
2438
 
# the compiler is broken, or we cross compile.
2439
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2440
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2441
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2442
 
# If not cross compiling, check that we can run a simple program.
2443
 
if test "$cross_compiling" != yes; then
2444
 
  if { ac_try='./$ac_file'
2445
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2446
 
  (eval $ac_try) 2>&5
2447
 
  ac_status=$?
2448
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2449
 
  (exit $ac_status); }; }; then
2450
 
    cross_compiling=no
2451
 
  else
2452
 
    if test "$cross_compiling" = maybe; then
2453
 
        cross_compiling=yes
2454
 
    else
2455
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2456
 
If you meant to cross compile, use \`--host'.
2457
 
See \`config.log' for more details." >&5
2458
 
echo "$as_me: error: cannot run C compiled programs.
2459
 
If you meant to cross compile, use \`--host'.
2460
 
See \`config.log' for more details." >&2;}
2461
 
   { (exit 1); exit 1; }; }
2462
 
    fi
2463
 
  fi
2464
 
fi
2465
 
echo "$as_me:$LINENO: result: yes" >&5
2466
 
echo "${ECHO_T}yes" >&6
2467
 
 
2468
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
3237
 
 
3238
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2469
3239
ac_clean_files=$ac_clean_files_save
2470
 
# Check the compiler produces executables we can run.  If not, either
2471
 
# the compiler is broken, or we cross compile.
2472
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2473
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2474
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2475
 
echo "${ECHO_T}$cross_compiling" >&6
2476
 
 
2477
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2478
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2479
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2480
 
  (eval $ac_link) 2>&5
 
3240
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
3241
$as_echo_n "checking for suffix of executables... " >&6; }
 
3242
if { { ac_try="$ac_link"
 
3243
case "(($ac_try" in
 
3244
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3245
  *) ac_try_echo=$ac_try;;
 
3246
esac
 
3247
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3248
$as_echo "$ac_try_echo"; } >&5
 
3249
  (eval "$ac_link") 2>&5
2481
3250
  ac_status=$?
2482
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2483
 
  (exit $ac_status); }; then
 
3251
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3252
  test $ac_status = 0; }; then :
2484
3253
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2485
3254
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2486
3255
# work properly (i.e., refer to `conftest.exe'), while it won't with
2488
3257
for ac_file in conftest.exe conftest conftest.*; do
2489
3258
  test -f "$ac_file" || continue
2490
3259
  case $ac_file in
2491
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
3260
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2492
3261
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2493
 
          export ac_cv_exeext
2494
3262
          break;;
2495
3263
    * ) break;;
2496
3264
  esac
2497
3265
done
2498
3266
else
2499
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2500
 
See \`config.log' for more details." >&5
2501
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2502
 
See \`config.log' for more details." >&2;}
2503
 
   { (exit 1); exit 1; }; }
 
3267
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3268
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3269
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3270
See \`config.log' for more details" "$LINENO" 5 ; }
2504
3271
fi
2505
 
 
2506
 
rm -f conftest$ac_cv_exeext
2507
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2508
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
3272
rm -f conftest conftest$ac_cv_exeext
 
3273
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
3274
$as_echo "$ac_cv_exeext" >&6; }
2509
3275
 
2510
3276
rm -f conftest.$ac_ext
2511
3277
EXEEXT=$ac_cv_exeext
2512
3278
ac_exeext=$EXEEXT
2513
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2514
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2515
 
if test "${ac_cv_objext+set}" = set; then
2516
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3279
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3280
/* end confdefs.h.  */
 
3281
#include <stdio.h>
 
3282
int
 
3283
main ()
 
3284
{
 
3285
FILE *f = fopen ("conftest.out", "w");
 
3286
 return ferror (f) || fclose (f) != 0;
 
3287
 
 
3288
  ;
 
3289
  return 0;
 
3290
}
 
3291
_ACEOF
 
3292
ac_clean_files="$ac_clean_files conftest.out"
 
3293
# Check that the compiler produces executables we can run.  If not, either
 
3294
# the compiler is broken, or we cross compile.
 
3295
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3296
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3297
if test "$cross_compiling" != yes; then
 
3298
  { { ac_try="$ac_link"
 
3299
case "(($ac_try" in
 
3300
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3301
  *) ac_try_echo=$ac_try;;
 
3302
esac
 
3303
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3304
$as_echo "$ac_try_echo"; } >&5
 
3305
  (eval "$ac_link") 2>&5
 
3306
  ac_status=$?
 
3307
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3308
  test $ac_status = 0; }
 
3309
  if { ac_try='./conftest$ac_cv_exeext'
 
3310
  { { case "(($ac_try" in
 
3311
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3312
  *) ac_try_echo=$ac_try;;
 
3313
esac
 
3314
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3315
$as_echo "$ac_try_echo"; } >&5
 
3316
  (eval "$ac_try") 2>&5
 
3317
  ac_status=$?
 
3318
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3319
  test $ac_status = 0; }; }; then
 
3320
    cross_compiling=no
 
3321
  else
 
3322
    if test "$cross_compiling" = maybe; then
 
3323
        cross_compiling=yes
 
3324
    else
 
3325
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3326
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3327
as_fn_error $? "cannot run C compiled programs.
 
3328
If you meant to cross compile, use \`--host'.
 
3329
See \`config.log' for more details" "$LINENO" 5 ; }
 
3330
    fi
 
3331
  fi
 
3332
fi
 
3333
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3334
$as_echo "$cross_compiling" >&6; }
 
3335
 
 
3336
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3337
ac_clean_files=$ac_clean_files_save
 
3338
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
3339
$as_echo_n "checking for suffix of object files... " >&6; }
 
3340
if test "${ac_cv_objext+set}" = set; then :
 
3341
  $as_echo_n "(cached) " >&6
2517
3342
else
2518
 
  cat >conftest.$ac_ext <<_ACEOF
2519
 
/* confdefs.h.  */
2520
 
_ACEOF
2521
 
cat confdefs.h >>conftest.$ac_ext
2522
 
cat >>conftest.$ac_ext <<_ACEOF
 
3343
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2523
3344
/* end confdefs.h.  */
2524
3345
 
2525
3346
int
2531
3352
}
2532
3353
_ACEOF
2533
3354
rm -f conftest.o conftest.obj
2534
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2535
 
  (eval $ac_compile) 2>&5
 
3355
if { { ac_try="$ac_compile"
 
3356
case "(($ac_try" in
 
3357
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3358
  *) ac_try_echo=$ac_try;;
 
3359
esac
 
3360
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3361
$as_echo "$ac_try_echo"; } >&5
 
3362
  (eval "$ac_compile") 2>&5
2536
3363
  ac_status=$?
2537
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2538
 
  (exit $ac_status); }; then
2539
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
3364
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3365
  test $ac_status = 0; }; then :
 
3366
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3367
  test -f "$ac_file" || continue;
2540
3368
  case $ac_file in
2541
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
3369
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2542
3370
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2543
3371
       break;;
2544
3372
  esac
2545
3373
done
2546
3374
else
2547
 
  echo "$as_me: failed program was:" >&5
 
3375
  $as_echo "$as_me: failed program was:" >&5
2548
3376
sed 's/^/| /' conftest.$ac_ext >&5
2549
3377
 
2550
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2551
 
See \`config.log' for more details." >&5
2552
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2553
 
See \`config.log' for more details." >&2;}
2554
 
   { (exit 1); exit 1; }; }
 
3378
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3379
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3380
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3381
See \`config.log' for more details" "$LINENO" 5 ; }
2555
3382
fi
2556
 
 
2557
3383
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2558
3384
fi
2559
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2560
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
3385
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
3386
$as_echo "$ac_cv_objext" >&6; }
2561
3387
OBJEXT=$ac_cv_objext
2562
3388
ac_objext=$OBJEXT
2563
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2564
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2565
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2566
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3389
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
3390
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
3391
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3392
  $as_echo_n "(cached) " >&6
2567
3393
else
2568
 
  cat >conftest.$ac_ext <<_ACEOF
2569
 
/* confdefs.h.  */
2570
 
_ACEOF
2571
 
cat confdefs.h >>conftest.$ac_ext
2572
 
cat >>conftest.$ac_ext <<_ACEOF
 
3394
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2573
3395
/* end confdefs.h.  */
2574
3396
 
2575
3397
int
2583
3405
  return 0;
2584
3406
}
2585
3407
_ACEOF
2586
 
rm -f conftest.$ac_objext
2587
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2588
 
  (eval $ac_compile) 2>conftest.er1
2589
 
  ac_status=$?
2590
 
  grep -v '^ *+' conftest.er1 >conftest.err
2591
 
  rm -f conftest.er1
2592
 
  cat conftest.err >&5
2593
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2594
 
  (exit $ac_status); } &&
2595
 
         { ac_try='test -z "$ac_c_werror_flag"
2596
 
                         || test ! -s conftest.err'
2597
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2598
 
  (eval $ac_try) 2>&5
2599
 
  ac_status=$?
2600
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601
 
  (exit $ac_status); }; } &&
2602
 
         { ac_try='test -s conftest.$ac_objext'
2603
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2604
 
  (eval $ac_try) 2>&5
2605
 
  ac_status=$?
2606
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607
 
  (exit $ac_status); }; }; then
 
3408
if ac_fn_c_try_compile "$LINENO"; then :
2608
3409
  ac_compiler_gnu=yes
2609
3410
else
2610
 
  echo "$as_me: failed program was:" >&5
2611
 
sed 's/^/| /' conftest.$ac_ext >&5
2612
 
 
2613
 
ac_compiler_gnu=no
 
3411
  ac_compiler_gnu=no
2614
3412
fi
2615
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3413
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2616
3414
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2617
3415
 
2618
3416
fi
2619
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2620
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2621
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
3417
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
3418
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3419
if test $ac_compiler_gnu = yes; then
 
3420
  GCC=yes
 
3421
else
 
3422
  GCC=
 
3423
fi
2622
3424
ac_test_CFLAGS=${CFLAGS+set}
2623
3425
ac_save_CFLAGS=$CFLAGS
2624
 
CFLAGS="-g"
2625
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2626
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2627
 
if test "${ac_cv_prog_cc_g+set}" = set; then
2628
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2629
 
else
2630
 
  cat >conftest.$ac_ext <<_ACEOF
2631
 
/* confdefs.h.  */
2632
 
_ACEOF
2633
 
cat confdefs.h >>conftest.$ac_ext
2634
 
cat >>conftest.$ac_ext <<_ACEOF
2635
 
/* end confdefs.h.  */
2636
 
 
2637
 
int
2638
 
main ()
2639
 
{
2640
 
 
2641
 
  ;
2642
 
  return 0;
2643
 
}
2644
 
_ACEOF
2645
 
rm -f conftest.$ac_objext
2646
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2647
 
  (eval $ac_compile) 2>conftest.er1
2648
 
  ac_status=$?
2649
 
  grep -v '^ *+' conftest.er1 >conftest.err
2650
 
  rm -f conftest.er1
2651
 
  cat conftest.err >&5
2652
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2653
 
  (exit $ac_status); } &&
2654
 
         { ac_try='test -z "$ac_c_werror_flag"
2655
 
                         || test ! -s conftest.err'
2656
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2657
 
  (eval $ac_try) 2>&5
2658
 
  ac_status=$?
2659
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660
 
  (exit $ac_status); }; } &&
2661
 
         { ac_try='test -s conftest.$ac_objext'
2662
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2663
 
  (eval $ac_try) 2>&5
2664
 
  ac_status=$?
2665
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2666
 
  (exit $ac_status); }; }; then
2667
 
  ac_cv_prog_cc_g=yes
2668
 
else
2669
 
  echo "$as_me: failed program was:" >&5
2670
 
sed 's/^/| /' conftest.$ac_ext >&5
2671
 
 
2672
 
ac_cv_prog_cc_g=no
2673
 
fi
2674
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2675
 
fi
2676
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2677
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
3426
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
3427
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
3428
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3429
  $as_echo_n "(cached) " >&6
 
3430
else
 
3431
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3432
   ac_c_werror_flag=yes
 
3433
   ac_cv_prog_cc_g=no
 
3434
   CFLAGS="-g"
 
3435
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3436
/* end confdefs.h.  */
 
3437
 
 
3438
int
 
3439
main ()
 
3440
{
 
3441
 
 
3442
  ;
 
3443
  return 0;
 
3444
}
 
3445
_ACEOF
 
3446
if ac_fn_c_try_compile "$LINENO"; then :
 
3447
  ac_cv_prog_cc_g=yes
 
3448
else
 
3449
  CFLAGS=""
 
3450
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3451
/* end confdefs.h.  */
 
3452
 
 
3453
int
 
3454
main ()
 
3455
{
 
3456
 
 
3457
  ;
 
3458
  return 0;
 
3459
}
 
3460
_ACEOF
 
3461
if ac_fn_c_try_compile "$LINENO"; then :
 
3462
 
 
3463
else
 
3464
  ac_c_werror_flag=$ac_save_c_werror_flag
 
3465
         CFLAGS="-g"
 
3466
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3467
/* end confdefs.h.  */
 
3468
 
 
3469
int
 
3470
main ()
 
3471
{
 
3472
 
 
3473
  ;
 
3474
  return 0;
 
3475
}
 
3476
_ACEOF
 
3477
if ac_fn_c_try_compile "$LINENO"; then :
 
3478
  ac_cv_prog_cc_g=yes
 
3479
fi
 
3480
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3481
fi
 
3482
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3483
fi
 
3484
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3485
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3486
fi
 
3487
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
3488
$as_echo "$ac_cv_prog_cc_g" >&6; }
2678
3489
if test "$ac_test_CFLAGS" = set; then
2679
3490
  CFLAGS=$ac_save_CFLAGS
2680
3491
elif test $ac_cv_prog_cc_g = yes; then
2690
3501
    CFLAGS=
2691
3502
  fi
2692
3503
fi
2693
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2694
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2695
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2696
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3504
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
3505
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
3506
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3507
  $as_echo_n "(cached) " >&6
2697
3508
else
2698
 
  ac_cv_prog_cc_stdc=no
 
3509
  ac_cv_prog_cc_c89=no
2699
3510
ac_save_CC=$CC
2700
 
cat >conftest.$ac_ext <<_ACEOF
2701
 
/* confdefs.h.  */
2702
 
_ACEOF
2703
 
cat confdefs.h >>conftest.$ac_ext
2704
 
cat >>conftest.$ac_ext <<_ACEOF
 
3511
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2705
3512
/* end confdefs.h.  */
2706
3513
#include <stdarg.h>
2707
3514
#include <stdio.h>
2729
3536
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2730
3537
   function prototypes and stuff, but not '\xHH' hex character constants.
2731
3538
   These don't provoke an error unfortunately, instead are silently treated
2732
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
3539
   as 'x'.  The following induces an error, until -std is added to get
2733
3540
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2734
3541
   array size at least.  It's necessary to write '\x00'==0 to get something
2735
 
   that's true only with -std1.  */
 
3542
   that's true only with -std.  */
2736
3543
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2737
3544
 
 
3545
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3546
   inside strings and character constants.  */
 
3547
#define FOO(x) 'x'
 
3548
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3549
 
2738
3550
int test (int i, double x);
2739
3551
struct s1 {int (*f) (int a);};
2740
3552
struct s2 {int (*f) (double a);};
2749
3561
  return 0;
2750
3562
}
2751
3563
_ACEOF
2752
 
# Don't try gcc -ansi; that turns off useful extensions and
2753
 
# breaks some systems' header files.
2754
 
# AIX                   -qlanglvl=ansi
2755
 
# Ultrix and OSF/1      -std1
2756
 
# HP-UX 10.20 and later -Ae
2757
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2758
 
# SVR4                  -Xc -D__EXTENSIONS__
2759
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3564
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3565
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2760
3566
do
2761
3567
  CC="$ac_save_CC $ac_arg"
2762
 
  rm -f conftest.$ac_objext
2763
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2764
 
  (eval $ac_compile) 2>conftest.er1
2765
 
  ac_status=$?
2766
 
  grep -v '^ *+' conftest.er1 >conftest.err
2767
 
  rm -f conftest.er1
2768
 
  cat conftest.err >&5
2769
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2770
 
  (exit $ac_status); } &&
2771
 
         { ac_try='test -z "$ac_c_werror_flag"
2772
 
                         || test ! -s conftest.err'
2773
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2774
 
  (eval $ac_try) 2>&5
2775
 
  ac_status=$?
2776
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777
 
  (exit $ac_status); }; } &&
2778
 
         { ac_try='test -s conftest.$ac_objext'
2779
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2780
 
  (eval $ac_try) 2>&5
2781
 
  ac_status=$?
2782
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783
 
  (exit $ac_status); }; }; then
2784
 
  ac_cv_prog_cc_stdc=$ac_arg
2785
 
break
2786
 
else
2787
 
  echo "$as_me: failed program was:" >&5
2788
 
sed 's/^/| /' conftest.$ac_ext >&5
2789
 
 
 
3568
  if ac_fn_c_try_compile "$LINENO"; then :
 
3569
  ac_cv_prog_cc_c89=$ac_arg
2790
3570
fi
2791
 
rm -f conftest.err conftest.$ac_objext
 
3571
rm -f core conftest.err conftest.$ac_objext
 
3572
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2792
3573
done
2793
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
3574
rm -f conftest.$ac_ext
2794
3575
CC=$ac_save_CC
2795
3576
 
2796
3577
fi
2797
 
 
2798
 
case "x$ac_cv_prog_cc_stdc" in
2799
 
  x|xno)
2800
 
    echo "$as_me:$LINENO: result: none needed" >&5
2801
 
echo "${ECHO_T}none needed" >&6 ;;
 
3578
# AC_CACHE_VAL
 
3579
case "x$ac_cv_prog_cc_c89" in
 
3580
  x)
 
3581
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
3582
$as_echo "none needed" >&6; } ;;
 
3583
  xno)
 
3584
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
3585
$as_echo "unsupported" >&6; } ;;
2802
3586
  *)
2803
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2804
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2805
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3587
    CC="$CC $ac_cv_prog_cc_c89"
 
3588
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
3589
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2806
3590
esac
2807
 
 
2808
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2809
 
# in C++ we need to declare it.  In case someone uses the same compiler
2810
 
# for both compiling C and C++ we need to have the C++ compiler decide
2811
 
# the declaration of exit, since it's the most demanding environment.
2812
 
cat >conftest.$ac_ext <<_ACEOF
2813
 
#ifndef __cplusplus
2814
 
  choke me
2815
 
#endif
2816
 
_ACEOF
2817
 
rm -f conftest.$ac_objext
2818
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2819
 
  (eval $ac_compile) 2>conftest.er1
2820
 
  ac_status=$?
2821
 
  grep -v '^ *+' conftest.er1 >conftest.err
2822
 
  rm -f conftest.er1
2823
 
  cat conftest.err >&5
2824
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2825
 
  (exit $ac_status); } &&
2826
 
         { ac_try='test -z "$ac_c_werror_flag"
2827
 
                         || test ! -s conftest.err'
2828
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2829
 
  (eval $ac_try) 2>&5
2830
 
  ac_status=$?
2831
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832
 
  (exit $ac_status); }; } &&
2833
 
         { ac_try='test -s conftest.$ac_objext'
2834
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2835
 
  (eval $ac_try) 2>&5
2836
 
  ac_status=$?
2837
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838
 
  (exit $ac_status); }; }; then
2839
 
  for ac_declaration in \
2840
 
   '' \
2841
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2842
 
   'extern "C" void std::exit (int); using std::exit;' \
2843
 
   'extern "C" void exit (int) throw ();' \
2844
 
   'extern "C" void exit (int);' \
2845
 
   'void exit (int);'
2846
 
do
2847
 
  cat >conftest.$ac_ext <<_ACEOF
2848
 
/* confdefs.h.  */
2849
 
_ACEOF
2850
 
cat confdefs.h >>conftest.$ac_ext
2851
 
cat >>conftest.$ac_ext <<_ACEOF
2852
 
/* end confdefs.h.  */
2853
 
$ac_declaration
2854
 
#include <stdlib.h>
2855
 
int
2856
 
main ()
2857
 
{
2858
 
exit (42);
2859
 
  ;
2860
 
  return 0;
2861
 
}
2862
 
_ACEOF
2863
 
rm -f conftest.$ac_objext
2864
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2865
 
  (eval $ac_compile) 2>conftest.er1
2866
 
  ac_status=$?
2867
 
  grep -v '^ *+' conftest.er1 >conftest.err
2868
 
  rm -f conftest.er1
2869
 
  cat conftest.err >&5
2870
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2871
 
  (exit $ac_status); } &&
2872
 
         { ac_try='test -z "$ac_c_werror_flag"
2873
 
                         || test ! -s conftest.err'
2874
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2875
 
  (eval $ac_try) 2>&5
2876
 
  ac_status=$?
2877
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2878
 
  (exit $ac_status); }; } &&
2879
 
         { ac_try='test -s conftest.$ac_objext'
2880
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2881
 
  (eval $ac_try) 2>&5
2882
 
  ac_status=$?
2883
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2884
 
  (exit $ac_status); }; }; then
2885
 
  :
2886
 
else
2887
 
  echo "$as_me: failed program was:" >&5
2888
 
sed 's/^/| /' conftest.$ac_ext >&5
2889
 
 
2890
 
continue
2891
 
fi
2892
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2893
 
  cat >conftest.$ac_ext <<_ACEOF
2894
 
/* confdefs.h.  */
2895
 
_ACEOF
2896
 
cat confdefs.h >>conftest.$ac_ext
2897
 
cat >>conftest.$ac_ext <<_ACEOF
2898
 
/* end confdefs.h.  */
2899
 
$ac_declaration
2900
 
int
2901
 
main ()
2902
 
{
2903
 
exit (42);
2904
 
  ;
2905
 
  return 0;
2906
 
}
2907
 
_ACEOF
2908
 
rm -f conftest.$ac_objext
2909
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2910
 
  (eval $ac_compile) 2>conftest.er1
2911
 
  ac_status=$?
2912
 
  grep -v '^ *+' conftest.er1 >conftest.err
2913
 
  rm -f conftest.er1
2914
 
  cat conftest.err >&5
2915
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2916
 
  (exit $ac_status); } &&
2917
 
         { ac_try='test -z "$ac_c_werror_flag"
2918
 
                         || test ! -s conftest.err'
2919
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2920
 
  (eval $ac_try) 2>&5
2921
 
  ac_status=$?
2922
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923
 
  (exit $ac_status); }; } &&
2924
 
         { ac_try='test -s conftest.$ac_objext'
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); }; }; then
2930
 
  break
2931
 
else
2932
 
  echo "$as_me: failed program was:" >&5
2933
 
sed 's/^/| /' conftest.$ac_ext >&5
2934
 
 
2935
 
fi
2936
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2937
 
done
2938
 
rm -f conftest*
2939
 
if test -n "$ac_declaration"; then
2940
 
  echo '#ifdef __cplusplus' >>confdefs.h
2941
 
  echo $ac_declaration      >>confdefs.h
2942
 
  echo '#endif'             >>confdefs.h
2943
 
fi
2944
 
 
2945
 
else
2946
 
  echo "$as_me: failed program was:" >&5
2947
 
sed 's/^/| /' conftest.$ac_ext >&5
2948
 
 
2949
 
fi
2950
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3591
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
3592
 
 
3593
fi
 
3594
 
2951
3595
ac_ext=c
2952
3596
ac_cpp='$CPP $CPPFLAGS'
2953
3597
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2956
3600
 
2957
3601
depcc="$CC"   am_compiler_list=
2958
3602
 
2959
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2960
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2961
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2962
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3603
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
3604
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
3605
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
3606
  $as_echo_n "(cached) " >&6
2963
3607
else
2964
3608
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2965
3609
  # We make a subdir and do the tests there.  Otherwise we can end up
2984
3628
  if test "$am_compiler_list" = ""; then
2985
3629
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2986
3630
  fi
 
3631
  am__universal=false
 
3632
  case " $depcc " in #(
 
3633
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3634
     esac
 
3635
 
2987
3636
  for depmode in $am_compiler_list; do
2988
3637
    # Setup a source with many dependencies, because some compilers
2989
3638
    # like to wrap large dependency lists on column 80 (with \), and
3001
3650
    done
3002
3651
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3003
3652
 
 
3653
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3654
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3655
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3656
    # versions had trouble with output in subdirs
 
3657
    am__obj=sub/conftest.${OBJEXT-o}
 
3658
    am__minus_obj="-o $am__obj"
3004
3659
    case $depmode in
 
3660
    gcc)
 
3661
      # This depmode causes a compiler race in universal mode.
 
3662
      test "$am__universal" = false || continue
 
3663
      ;;
3005
3664
    nosideeffect)
3006
3665
      # after this tag, mechanisms are not by side-effect, so they'll
3007
3666
      # only be used when explicitly requested
3011
3670
        break
3012
3671
      fi
3013
3672
      ;;
 
3673
    msvisualcpp | msvcmsys)
 
3674
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3675
      # not run yet.  These depmodes are late enough in the game, and
 
3676
      # so weak that their functioning should not be impacted.
 
3677
      am__obj=conftest.${OBJEXT-o}
 
3678
      am__minus_obj=
 
3679
      ;;
3014
3680
    none) break ;;
3015
3681
    esac
3016
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3017
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3018
 
    # handle `-M -o', and we need to detect this.
3019
3682
    if depmode=$depmode \
3020
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
3683
       source=sub/conftest.c object=$am__obj \
3021
3684
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3022
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
3685
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3023
3686
         >/dev/null 2>conftest.err &&
 
3687
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3024
3688
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3025
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
3689
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3026
3690
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3027
3691
      # icc doesn't choke on unknown options, it will just issue warnings
3028
3692
      # or remarks (even with -Werror).  So we grep stderr for any message
3046
3710
fi
3047
3711
 
3048
3712
fi
3049
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3050
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
3713
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3714
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3051
3715
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3052
3716
 
3053
 
 
3054
 
 
3055
 
if
 
3717
 if
3056
3718
  test "x$enable_dependency_tracking" != xno \
3057
3719
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3058
3720
  am__fastdepCC_TRUE=
3064
3726
 
3065
3727
 
3066
3728
 
3067
 
echo "$as_me:$LINENO: checking for library containing strerror" >&5
3068
 
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
3069
 
if test "${ac_cv_search_strerror+set}" = set; then
3070
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3729
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
 
3730
$as_echo_n "checking for library containing strerror... " >&6; }
 
3731
if test "${ac_cv_search_strerror+set}" = set; then :
 
3732
  $as_echo_n "(cached) " >&6
3071
3733
else
3072
3734
  ac_func_search_save_LIBS=$LIBS
3073
 
ac_cv_search_strerror=no
3074
 
cat >conftest.$ac_ext <<_ACEOF
3075
 
/* confdefs.h.  */
3076
 
_ACEOF
3077
 
cat confdefs.h >>conftest.$ac_ext
3078
 
cat >>conftest.$ac_ext <<_ACEOF
 
3735
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3079
3736
/* end confdefs.h.  */
3080
3737
 
3081
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
3738
/* Override any GCC internal prototype to avoid an error.
 
3739
   Use char because int might match the return type of a GCC
 
3740
   builtin and then its argument prototype would still apply.  */
3082
3741
#ifdef __cplusplus
3083
3742
extern "C"
3084
3743
#endif
3085
 
/* We use char because int might match the return type of a gcc2
3086
 
   builtin and then its argument prototype would still apply.  */
3087
3744
char strerror ();
3088
3745
int
3089
3746
main ()
3090
3747
{
3091
 
strerror ();
 
3748
return strerror ();
3092
3749
  ;
3093
3750
  return 0;
3094
3751
}
3095
3752
_ACEOF
3096
 
rm -f conftest.$ac_objext conftest$ac_exeext
3097
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3098
 
  (eval $ac_link) 2>conftest.er1
3099
 
  ac_status=$?
3100
 
  grep -v '^ *+' conftest.er1 >conftest.err
3101
 
  rm -f conftest.er1
3102
 
  cat conftest.err >&5
3103
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3104
 
  (exit $ac_status); } &&
3105
 
         { ac_try='test -z "$ac_c_werror_flag"
3106
 
                         || test ! -s conftest.err'
3107
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3108
 
  (eval $ac_try) 2>&5
3109
 
  ac_status=$?
3110
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3111
 
  (exit $ac_status); }; } &&
3112
 
         { ac_try='test -s conftest$ac_exeext'
3113
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3114
 
  (eval $ac_try) 2>&5
3115
 
  ac_status=$?
3116
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3117
 
  (exit $ac_status); }; }; then
3118
 
  ac_cv_search_strerror="none required"
3119
 
else
3120
 
  echo "$as_me: failed program was:" >&5
3121
 
sed 's/^/| /' conftest.$ac_ext >&5
3122
 
 
3123
 
fi
3124
 
rm -f conftest.err conftest.$ac_objext \
3125
 
      conftest$ac_exeext conftest.$ac_ext
3126
 
if test "$ac_cv_search_strerror" = no; then
3127
 
  for ac_lib in cposix; do
 
3753
for ac_lib in '' cposix; do
 
3754
  if test -z "$ac_lib"; then
 
3755
    ac_res="none required"
 
3756
  else
 
3757
    ac_res=-l$ac_lib
3128
3758
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3129
 
    cat >conftest.$ac_ext <<_ACEOF
3130
 
/* confdefs.h.  */
3131
 
_ACEOF
3132
 
cat confdefs.h >>conftest.$ac_ext
3133
 
cat >>conftest.$ac_ext <<_ACEOF
3134
 
/* end confdefs.h.  */
 
3759
  fi
 
3760
  if ac_fn_c_try_link "$LINENO"; then :
 
3761
  ac_cv_search_strerror=$ac_res
 
3762
fi
 
3763
rm -f core conftest.err conftest.$ac_objext \
 
3764
    conftest$ac_exeext
 
3765
  if test "${ac_cv_search_strerror+set}" = set; then :
 
3766
  break
 
3767
fi
 
3768
done
 
3769
if test "${ac_cv_search_strerror+set}" = set; then :
3135
3770
 
3136
 
/* Override any gcc2 internal prototype to avoid an error.  */
3137
 
#ifdef __cplusplus
3138
 
extern "C"
3139
 
#endif
3140
 
/* We use char because int might match the return type of a gcc2
3141
 
   builtin and then its argument prototype would still apply.  */
3142
 
char strerror ();
3143
 
int
3144
 
main ()
3145
 
{
3146
 
strerror ();
3147
 
  ;
3148
 
  return 0;
3149
 
}
3150
 
_ACEOF
3151
 
rm -f conftest.$ac_objext conftest$ac_exeext
3152
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3153
 
  (eval $ac_link) 2>conftest.er1
3154
 
  ac_status=$?
3155
 
  grep -v '^ *+' conftest.er1 >conftest.err
3156
 
  rm -f conftest.er1
3157
 
  cat conftest.err >&5
3158
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3159
 
  (exit $ac_status); } &&
3160
 
         { ac_try='test -z "$ac_c_werror_flag"
3161
 
                         || test ! -s conftest.err'
3162
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3163
 
  (eval $ac_try) 2>&5
3164
 
  ac_status=$?
3165
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3166
 
  (exit $ac_status); }; } &&
3167
 
         { ac_try='test -s conftest$ac_exeext'
3168
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3169
 
  (eval $ac_try) 2>&5
3170
 
  ac_status=$?
3171
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3172
 
  (exit $ac_status); }; }; then
3173
 
  ac_cv_search_strerror="-l$ac_lib"
3174
 
break
3175
3771
else
3176
 
  echo "$as_me: failed program was:" >&5
3177
 
sed 's/^/| /' conftest.$ac_ext >&5
3178
 
 
3179
 
fi
3180
 
rm -f conftest.err conftest.$ac_objext \
3181
 
      conftest$ac_exeext conftest.$ac_ext
3182
 
  done
3183
 
fi
 
3772
  ac_cv_search_strerror=no
 
3773
fi
 
3774
rm conftest.$ac_ext
3184
3775
LIBS=$ac_func_search_save_LIBS
3185
3776
fi
3186
 
echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3187
 
echo "${ECHO_T}$ac_cv_search_strerror" >&6
3188
 
if test "$ac_cv_search_strerror" != no; then
3189
 
  test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
 
3777
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
 
3778
$as_echo "$ac_cv_search_strerror" >&6; }
 
3779
ac_res=$ac_cv_search_strerror
 
3780
if test "$ac_res" != no; then :
 
3781
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3190
3782
 
3191
3783
fi
3192
3784
 
3198
3790
if test -n "$ac_tool_prefix"; then
3199
3791
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3200
3792
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3201
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3202
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3203
 
if test "${ac_cv_prog_CC+set}" = set; then
3204
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3793
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3794
$as_echo_n "checking for $ac_word... " >&6; }
 
3795
if test "${ac_cv_prog_CC+set}" = set; then :
 
3796
  $as_echo_n "(cached) " >&6
3205
3797
else
3206
3798
  if test -n "$CC"; then
3207
3799
  ac_cv_prog_CC="$CC" # Let the user override the test.
3211
3803
do
3212
3804
  IFS=$as_save_IFS
3213
3805
  test -z "$as_dir" && as_dir=.
3214
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3215
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3806
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3807
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3216
3808
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3217
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3809
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3218
3810
    break 2
3219
3811
  fi
3220
3812
done
3221
 
done
 
3813
  done
 
3814
IFS=$as_save_IFS
3222
3815
 
3223
3816
fi
3224
3817
fi
3225
3818
CC=$ac_cv_prog_CC
3226
3819
if test -n "$CC"; then
3227
 
  echo "$as_me:$LINENO: result: $CC" >&5
3228
 
echo "${ECHO_T}$CC" >&6
 
3820
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3821
$as_echo "$CC" >&6; }
3229
3822
else
3230
 
  echo "$as_me:$LINENO: result: no" >&5
3231
 
echo "${ECHO_T}no" >&6
 
3823
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3824
$as_echo "no" >&6; }
3232
3825
fi
 
3826
 
3233
3827
 
3234
3828
fi
3235
3829
if test -z "$ac_cv_prog_CC"; then
3236
3830
  ac_ct_CC=$CC
3237
3831
  # Extract the first word of "gcc", so it can be a program name with args.
3238
3832
set dummy gcc; ac_word=$2
3239
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3240
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3241
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3242
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3833
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3834
$as_echo_n "checking for $ac_word... " >&6; }
 
3835
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3836
  $as_echo_n "(cached) " >&6
3243
3837
else
3244
3838
  if test -n "$ac_ct_CC"; then
3245
3839
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3249
3843
do
3250
3844
  IFS=$as_save_IFS
3251
3845
  test -z "$as_dir" && as_dir=.
3252
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3253
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3846
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3847
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3254
3848
    ac_cv_prog_ac_ct_CC="gcc"
3255
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3849
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3256
3850
    break 2
3257
3851
  fi
3258
3852
done
3259
 
done
 
3853
  done
 
3854
IFS=$as_save_IFS
3260
3855
 
3261
3856
fi
3262
3857
fi
3263
3858
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3264
3859
if test -n "$ac_ct_CC"; then
3265
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3266
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
3860
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3861
$as_echo "$ac_ct_CC" >&6; }
3267
3862
else
3268
 
  echo "$as_me:$LINENO: result: no" >&5
3269
 
echo "${ECHO_T}no" >&6
 
3863
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3864
$as_echo "no" >&6; }
3270
3865
fi
3271
3866
 
3272
 
  CC=$ac_ct_CC
 
3867
  if test "x$ac_ct_CC" = x; then
 
3868
    CC=""
 
3869
  else
 
3870
    case $cross_compiling:$ac_tool_warned in
 
3871
yes:)
 
3872
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3873
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3874
ac_tool_warned=yes ;;
 
3875
esac
 
3876
    CC=$ac_ct_CC
 
3877
  fi
3273
3878
else
3274
3879
  CC="$ac_cv_prog_CC"
3275
3880
fi
3276
3881
 
3277
3882
if test -z "$CC"; then
3278
 
  if test -n "$ac_tool_prefix"; then
3279
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
3883
          if test -n "$ac_tool_prefix"; then
 
3884
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3280
3885
set dummy ${ac_tool_prefix}cc; ac_word=$2
3281
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3282
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3283
 
if test "${ac_cv_prog_CC+set}" = set; then
3284
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3886
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3887
$as_echo_n "checking for $ac_word... " >&6; }
 
3888
if test "${ac_cv_prog_CC+set}" = set; then :
 
3889
  $as_echo_n "(cached) " >&6
3285
3890
else
3286
3891
  if test -n "$CC"; then
3287
3892
  ac_cv_prog_CC="$CC" # Let the user override the test.
3291
3896
do
3292
3897
  IFS=$as_save_IFS
3293
3898
  test -z "$as_dir" && as_dir=.
3294
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3295
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3899
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3900
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3296
3901
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3297
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3902
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3298
3903
    break 2
3299
3904
  fi
3300
3905
done
3301
 
done
 
3906
  done
 
3907
IFS=$as_save_IFS
3302
3908
 
3303
3909
fi
3304
3910
fi
3305
3911
CC=$ac_cv_prog_CC
3306
3912
if test -n "$CC"; then
3307
 
  echo "$as_me:$LINENO: result: $CC" >&5
3308
 
echo "${ECHO_T}$CC" >&6
3309
 
else
3310
 
  echo "$as_me:$LINENO: result: no" >&5
3311
 
echo "${ECHO_T}no" >&6
3312
 
fi
3313
 
 
3314
 
fi
3315
 
if test -z "$ac_cv_prog_CC"; then
3316
 
  ac_ct_CC=$CC
3317
 
  # Extract the first word of "cc", so it can be a program name with args.
3318
 
set dummy cc; ac_word=$2
3319
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3320
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3321
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3322
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3323
 
else
3324
 
  if test -n "$ac_ct_CC"; then
3325
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3326
 
else
3327
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3328
 
for as_dir in $PATH
3329
 
do
3330
 
  IFS=$as_save_IFS
3331
 
  test -z "$as_dir" && as_dir=.
3332
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3333
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3334
 
    ac_cv_prog_ac_ct_CC="cc"
3335
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3336
 
    break 2
 
3913
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3914
$as_echo "$CC" >&6; }
 
3915
else
 
3916
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3917
$as_echo "no" >&6; }
 
3918
fi
 
3919
 
 
3920
 
3337
3921
  fi
3338
 
done
3339
 
done
3340
 
 
3341
 
fi
3342
 
fi
3343
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3344
 
if test -n "$ac_ct_CC"; then
3345
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3346
 
echo "${ECHO_T}$ac_ct_CC" >&6
3347
 
else
3348
 
  echo "$as_me:$LINENO: result: no" >&5
3349
 
echo "${ECHO_T}no" >&6
3350
 
fi
3351
 
 
3352
 
  CC=$ac_ct_CC
3353
 
else
3354
 
  CC="$ac_cv_prog_CC"
3355
 
fi
3356
 
 
3357
3922
fi
3358
3923
if test -z "$CC"; then
3359
3924
  # Extract the first word of "cc", so it can be a program name with args.
3360
3925
set dummy cc; ac_word=$2
3361
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3362
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3363
 
if test "${ac_cv_prog_CC+set}" = set; then
3364
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3926
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3927
$as_echo_n "checking for $ac_word... " >&6; }
 
3928
if test "${ac_cv_prog_CC+set}" = set; then :
 
3929
  $as_echo_n "(cached) " >&6
3365
3930
else
3366
3931
  if test -n "$CC"; then
3367
3932
  ac_cv_prog_CC="$CC" # Let the user override the test.
3372
3937
do
3373
3938
  IFS=$as_save_IFS
3374
3939
  test -z "$as_dir" && as_dir=.
3375
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3376
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3940
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3941
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3377
3942
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3378
3943
       ac_prog_rejected=yes
3379
3944
       continue
3380
3945
     fi
3381
3946
    ac_cv_prog_CC="cc"
3382
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3947
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3383
3948
    break 2
3384
3949
  fi
3385
3950
done
3386
 
done
 
3951
  done
 
3952
IFS=$as_save_IFS
3387
3953
 
3388
3954
if test $ac_prog_rejected = yes; then
3389
3955
  # We found a bogon in the path, so make sure we never use it.
3401
3967
fi
3402
3968
CC=$ac_cv_prog_CC
3403
3969
if test -n "$CC"; then
3404
 
  echo "$as_me:$LINENO: result: $CC" >&5
3405
 
echo "${ECHO_T}$CC" >&6
 
3970
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3971
$as_echo "$CC" >&6; }
3406
3972
else
3407
 
  echo "$as_me:$LINENO: result: no" >&5
3408
 
echo "${ECHO_T}no" >&6
 
3973
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3974
$as_echo "no" >&6; }
3409
3975
fi
 
3976
 
3410
3977
 
3411
3978
fi
3412
3979
if test -z "$CC"; then
3413
3980
  if test -n "$ac_tool_prefix"; then
3414
 
  for ac_prog in cl
 
3981
  for ac_prog in cl.exe
3415
3982
  do
3416
3983
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3417
3984
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3418
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3419
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3420
 
if test "${ac_cv_prog_CC+set}" = set; then
3421
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3985
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3986
$as_echo_n "checking for $ac_word... " >&6; }
 
3987
if test "${ac_cv_prog_CC+set}" = set; then :
 
3988
  $as_echo_n "(cached) " >&6
3422
3989
else
3423
3990
  if test -n "$CC"; then
3424
3991
  ac_cv_prog_CC="$CC" # Let the user override the test.
3428
3995
do
3429
3996
  IFS=$as_save_IFS
3430
3997
  test -z "$as_dir" && as_dir=.
3431
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3432
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3998
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3999
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3433
4000
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3434
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4001
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3435
4002
    break 2
3436
4003
  fi
3437
4004
done
3438
 
done
 
4005
  done
 
4006
IFS=$as_save_IFS
3439
4007
 
3440
4008
fi
3441
4009
fi
3442
4010
CC=$ac_cv_prog_CC
3443
4011
if test -n "$CC"; then
3444
 
  echo "$as_me:$LINENO: result: $CC" >&5
3445
 
echo "${ECHO_T}$CC" >&6
 
4012
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4013
$as_echo "$CC" >&6; }
3446
4014
else
3447
 
  echo "$as_me:$LINENO: result: no" >&5
3448
 
echo "${ECHO_T}no" >&6
 
4015
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4016
$as_echo "no" >&6; }
3449
4017
fi
3450
4018
 
 
4019
 
3451
4020
    test -n "$CC" && break
3452
4021
  done
3453
4022
fi
3454
4023
if test -z "$CC"; then
3455
4024
  ac_ct_CC=$CC
3456
 
  for ac_prog in cl
 
4025
  for ac_prog in cl.exe
3457
4026
do
3458
4027
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3459
4028
set dummy $ac_prog; ac_word=$2
3460
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3461
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3462
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3463
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4029
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4030
$as_echo_n "checking for $ac_word... " >&6; }
 
4031
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
4032
  $as_echo_n "(cached) " >&6
3464
4033
else
3465
4034
  if test -n "$ac_ct_CC"; then
3466
4035
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3470
4039
do
3471
4040
  IFS=$as_save_IFS
3472
4041
  test -z "$as_dir" && as_dir=.
3473
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3474
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4042
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4043
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3475
4044
    ac_cv_prog_ac_ct_CC="$ac_prog"
3476
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4045
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3477
4046
    break 2
3478
4047
  fi
3479
4048
done
3480
 
done
 
4049
  done
 
4050
IFS=$as_save_IFS
3481
4051
 
3482
4052
fi
3483
4053
fi
3484
4054
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3485
4055
if test -n "$ac_ct_CC"; then
3486
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3487
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
4056
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
4057
$as_echo "$ac_ct_CC" >&6; }
3488
4058
else
3489
 
  echo "$as_me:$LINENO: result: no" >&5
3490
 
echo "${ECHO_T}no" >&6
 
4059
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4060
$as_echo "no" >&6; }
3491
4061
fi
3492
4062
 
 
4063
 
3493
4064
  test -n "$ac_ct_CC" && break
3494
4065
done
3495
4066
 
3496
 
  CC=$ac_ct_CC
3497
 
fi
3498
 
 
3499
 
fi
3500
 
 
3501
 
 
3502
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3503
 
See \`config.log' for more details." >&5
3504
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
3505
 
See \`config.log' for more details." >&2;}
3506
 
   { (exit 1); exit 1; }; }
 
4067
  if test "x$ac_ct_CC" = x; then
 
4068
    CC=""
 
4069
  else
 
4070
    case $cross_compiling:$ac_tool_warned in
 
4071
yes:)
 
4072
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4073
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4074
ac_tool_warned=yes ;;
 
4075
esac
 
4076
    CC=$ac_ct_CC
 
4077
  fi
 
4078
fi
 
4079
 
 
4080
fi
 
4081
 
 
4082
 
 
4083
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4084
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4085
as_fn_error $? "no acceptable C compiler found in \$PATH
 
4086
See \`config.log' for more details" "$LINENO" 5 ; }
3507
4087
 
3508
4088
# Provide some information about the compiler.
3509
 
echo "$as_me:$LINENO:" \
3510
 
     "checking for C compiler version" >&5
3511
 
ac_compiler=`set X $ac_compile; echo $2`
3512
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3513
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
3514
 
  ac_status=$?
3515
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3516
 
  (exit $ac_status); }
3517
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3518
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
3519
 
  ac_status=$?
3520
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3521
 
  (exit $ac_status); }
3522
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3523
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
3524
 
  ac_status=$?
3525
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3526
 
  (exit $ac_status); }
 
4089
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
4090
set X $ac_compile
 
4091
ac_compiler=$2
 
4092
for ac_option in --version -v -V -qversion; do
 
4093
  { { ac_try="$ac_compiler $ac_option >&5"
 
4094
case "(($ac_try" in
 
4095
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4096
  *) ac_try_echo=$ac_try;;
 
4097
esac
 
4098
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4099
$as_echo "$ac_try_echo"; } >&5
 
4100
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
4101
  ac_status=$?
 
4102
  if test -s conftest.err; then
 
4103
    sed '10a\
 
4104
... rest of stderr output deleted ...
 
4105
         10q' conftest.err >conftest.er1
 
4106
    cat conftest.er1 >&5
 
4107
  fi
 
4108
  rm -f conftest.er1 conftest.err
 
4109
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4110
  test $ac_status = 0; }
 
4111
done
3527
4112
 
3528
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3529
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3530
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3531
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
4114
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
4115
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
4116
  $as_echo_n "(cached) " >&6
3532
4117
else
3533
 
  cat >conftest.$ac_ext <<_ACEOF
3534
 
/* confdefs.h.  */
3535
 
_ACEOF
3536
 
cat confdefs.h >>conftest.$ac_ext
3537
 
cat >>conftest.$ac_ext <<_ACEOF
 
4118
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3538
4119
/* end confdefs.h.  */
3539
4120
 
3540
4121
int
3548
4129
  return 0;
3549
4130
}
3550
4131
_ACEOF
3551
 
rm -f conftest.$ac_objext
3552
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3553
 
  (eval $ac_compile) 2>conftest.er1
3554
 
  ac_status=$?
3555
 
  grep -v '^ *+' conftest.er1 >conftest.err
3556
 
  rm -f conftest.er1
3557
 
  cat conftest.err >&5
3558
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559
 
  (exit $ac_status); } &&
3560
 
         { ac_try='test -z "$ac_c_werror_flag"
3561
 
                         || test ! -s conftest.err'
3562
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3563
 
  (eval $ac_try) 2>&5
3564
 
  ac_status=$?
3565
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3566
 
  (exit $ac_status); }; } &&
3567
 
         { ac_try='test -s conftest.$ac_objext'
3568
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3569
 
  (eval $ac_try) 2>&5
3570
 
  ac_status=$?
3571
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3572
 
  (exit $ac_status); }; }; then
 
4132
if ac_fn_c_try_compile "$LINENO"; then :
3573
4133
  ac_compiler_gnu=yes
3574
4134
else
3575
 
  echo "$as_me: failed program was:" >&5
3576
 
sed 's/^/| /' conftest.$ac_ext >&5
3577
 
 
3578
 
ac_compiler_gnu=no
 
4135
  ac_compiler_gnu=no
3579
4136
fi
3580
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4137
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3581
4138
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3582
4139
 
3583
4140
fi
3584
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3585
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3586
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
4141
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
4142
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
4143
if test $ac_compiler_gnu = yes; then
 
4144
  GCC=yes
 
4145
else
 
4146
  GCC=
 
4147
fi
3587
4148
ac_test_CFLAGS=${CFLAGS+set}
3588
4149
ac_save_CFLAGS=$CFLAGS
3589
 
CFLAGS="-g"
3590
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3591
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3592
 
if test "${ac_cv_prog_cc_g+set}" = set; then
3593
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3594
 
else
3595
 
  cat >conftest.$ac_ext <<_ACEOF
3596
 
/* confdefs.h.  */
3597
 
_ACEOF
3598
 
cat confdefs.h >>conftest.$ac_ext
3599
 
cat >>conftest.$ac_ext <<_ACEOF
3600
 
/* end confdefs.h.  */
3601
 
 
3602
 
int
3603
 
main ()
3604
 
{
3605
 
 
3606
 
  ;
3607
 
  return 0;
3608
 
}
3609
 
_ACEOF
3610
 
rm -f conftest.$ac_objext
3611
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3612
 
  (eval $ac_compile) 2>conftest.er1
3613
 
  ac_status=$?
3614
 
  grep -v '^ *+' conftest.er1 >conftest.err
3615
 
  rm -f conftest.er1
3616
 
  cat conftest.err >&5
3617
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3618
 
  (exit $ac_status); } &&
3619
 
         { ac_try='test -z "$ac_c_werror_flag"
3620
 
                         || test ! -s conftest.err'
3621
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3622
 
  (eval $ac_try) 2>&5
3623
 
  ac_status=$?
3624
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3625
 
  (exit $ac_status); }; } &&
3626
 
         { ac_try='test -s conftest.$ac_objext'
3627
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3628
 
  (eval $ac_try) 2>&5
3629
 
  ac_status=$?
3630
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3631
 
  (exit $ac_status); }; }; then
3632
 
  ac_cv_prog_cc_g=yes
3633
 
else
3634
 
  echo "$as_me: failed program was:" >&5
3635
 
sed 's/^/| /' conftest.$ac_ext >&5
3636
 
 
3637
 
ac_cv_prog_cc_g=no
3638
 
fi
3639
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3640
 
fi
3641
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3642
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
4150
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
4151
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
4152
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
4153
  $as_echo_n "(cached) " >&6
 
4154
else
 
4155
  ac_save_c_werror_flag=$ac_c_werror_flag
 
4156
   ac_c_werror_flag=yes
 
4157
   ac_cv_prog_cc_g=no
 
4158
   CFLAGS="-g"
 
4159
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4160
/* end confdefs.h.  */
 
4161
 
 
4162
int
 
4163
main ()
 
4164
{
 
4165
 
 
4166
  ;
 
4167
  return 0;
 
4168
}
 
4169
_ACEOF
 
4170
if ac_fn_c_try_compile "$LINENO"; then :
 
4171
  ac_cv_prog_cc_g=yes
 
4172
else
 
4173
  CFLAGS=""
 
4174
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4175
/* end confdefs.h.  */
 
4176
 
 
4177
int
 
4178
main ()
 
4179
{
 
4180
 
 
4181
  ;
 
4182
  return 0;
 
4183
}
 
4184
_ACEOF
 
4185
if ac_fn_c_try_compile "$LINENO"; then :
 
4186
 
 
4187
else
 
4188
  ac_c_werror_flag=$ac_save_c_werror_flag
 
4189
         CFLAGS="-g"
 
4190
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4191
/* end confdefs.h.  */
 
4192
 
 
4193
int
 
4194
main ()
 
4195
{
 
4196
 
 
4197
  ;
 
4198
  return 0;
 
4199
}
 
4200
_ACEOF
 
4201
if ac_fn_c_try_compile "$LINENO"; then :
 
4202
  ac_cv_prog_cc_g=yes
 
4203
fi
 
4204
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4205
fi
 
4206
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4207
fi
 
4208
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4209
   ac_c_werror_flag=$ac_save_c_werror_flag
 
4210
fi
 
4211
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
4212
$as_echo "$ac_cv_prog_cc_g" >&6; }
3643
4213
if test "$ac_test_CFLAGS" = set; then
3644
4214
  CFLAGS=$ac_save_CFLAGS
3645
4215
elif test $ac_cv_prog_cc_g = yes; then
3655
4225
    CFLAGS=
3656
4226
  fi
3657
4227
fi
3658
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3659
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3660
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
3661
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4228
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
4229
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
4230
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
4231
  $as_echo_n "(cached) " >&6
3662
4232
else
3663
 
  ac_cv_prog_cc_stdc=no
 
4233
  ac_cv_prog_cc_c89=no
3664
4234
ac_save_CC=$CC
3665
 
cat >conftest.$ac_ext <<_ACEOF
3666
 
/* confdefs.h.  */
3667
 
_ACEOF
3668
 
cat confdefs.h >>conftest.$ac_ext
3669
 
cat >>conftest.$ac_ext <<_ACEOF
 
4235
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3670
4236
/* end confdefs.h.  */
3671
4237
#include <stdarg.h>
3672
4238
#include <stdio.h>
3694
4260
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3695
4261
   function prototypes and stuff, but not '\xHH' hex character constants.
3696
4262
   These don't provoke an error unfortunately, instead are silently treated
3697
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
4263
   as 'x'.  The following induces an error, until -std is added to get
3698
4264
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3699
4265
   array size at least.  It's necessary to write '\x00'==0 to get something
3700
 
   that's true only with -std1.  */
 
4266
   that's true only with -std.  */
3701
4267
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3702
4268
 
 
4269
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
4270
   inside strings and character constants.  */
 
4271
#define FOO(x) 'x'
 
4272
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
4273
 
3703
4274
int test (int i, double x);
3704
4275
struct s1 {int (*f) (int a);};
3705
4276
struct s2 {int (*f) (double a);};
3714
4285
  return 0;
3715
4286
}
3716
4287
_ACEOF
3717
 
# Don't try gcc -ansi; that turns off useful extensions and
3718
 
# breaks some systems' header files.
3719
 
# AIX                   -qlanglvl=ansi
3720
 
# Ultrix and OSF/1      -std1
3721
 
# HP-UX 10.20 and later -Ae
3722
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
3723
 
# SVR4                  -Xc -D__EXTENSIONS__
3724
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
4288
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
4289
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3725
4290
do
3726
4291
  CC="$ac_save_CC $ac_arg"
3727
 
  rm -f conftest.$ac_objext
3728
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3729
 
  (eval $ac_compile) 2>conftest.er1
3730
 
  ac_status=$?
3731
 
  grep -v '^ *+' conftest.er1 >conftest.err
3732
 
  rm -f conftest.er1
3733
 
  cat conftest.err >&5
3734
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3735
 
  (exit $ac_status); } &&
3736
 
         { ac_try='test -z "$ac_c_werror_flag"
3737
 
                         || test ! -s conftest.err'
3738
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3739
 
  (eval $ac_try) 2>&5
3740
 
  ac_status=$?
3741
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3742
 
  (exit $ac_status); }; } &&
3743
 
         { ac_try='test -s conftest.$ac_objext'
3744
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3745
 
  (eval $ac_try) 2>&5
3746
 
  ac_status=$?
3747
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748
 
  (exit $ac_status); }; }; then
3749
 
  ac_cv_prog_cc_stdc=$ac_arg
3750
 
break
3751
 
else
3752
 
  echo "$as_me: failed program was:" >&5
3753
 
sed 's/^/| /' conftest.$ac_ext >&5
3754
 
 
 
4292
  if ac_fn_c_try_compile "$LINENO"; then :
 
4293
  ac_cv_prog_cc_c89=$ac_arg
3755
4294
fi
3756
 
rm -f conftest.err conftest.$ac_objext
 
4295
rm -f core conftest.err conftest.$ac_objext
 
4296
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3757
4297
done
3758
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
4298
rm -f conftest.$ac_ext
3759
4299
CC=$ac_save_CC
3760
4300
 
3761
4301
fi
3762
 
 
3763
 
case "x$ac_cv_prog_cc_stdc" in
3764
 
  x|xno)
3765
 
    echo "$as_me:$LINENO: result: none needed" >&5
3766
 
echo "${ECHO_T}none needed" >&6 ;;
 
4302
# AC_CACHE_VAL
 
4303
case "x$ac_cv_prog_cc_c89" in
 
4304
  x)
 
4305
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
4306
$as_echo "none needed" >&6; } ;;
 
4307
  xno)
 
4308
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
4309
$as_echo "unsupported" >&6; } ;;
3767
4310
  *)
3768
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3769
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3770
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
4311
    CC="$CC $ac_cv_prog_cc_c89"
 
4312
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
4313
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3771
4314
esac
3772
 
 
3773
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
3774
 
# in C++ we need to declare it.  In case someone uses the same compiler
3775
 
# for both compiling C and C++ we need to have the C++ compiler decide
3776
 
# the declaration of exit, since it's the most demanding environment.
3777
 
cat >conftest.$ac_ext <<_ACEOF
3778
 
#ifndef __cplusplus
3779
 
  choke me
3780
 
#endif
3781
 
_ACEOF
3782
 
rm -f conftest.$ac_objext
3783
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3784
 
  (eval $ac_compile) 2>conftest.er1
3785
 
  ac_status=$?
3786
 
  grep -v '^ *+' conftest.er1 >conftest.err
3787
 
  rm -f conftest.er1
3788
 
  cat conftest.err >&5
3789
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3790
 
  (exit $ac_status); } &&
3791
 
         { ac_try='test -z "$ac_c_werror_flag"
3792
 
                         || test ! -s conftest.err'
3793
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3794
 
  (eval $ac_try) 2>&5
3795
 
  ac_status=$?
3796
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3797
 
  (exit $ac_status); }; } &&
3798
 
         { ac_try='test -s conftest.$ac_objext'
3799
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3800
 
  (eval $ac_try) 2>&5
3801
 
  ac_status=$?
3802
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803
 
  (exit $ac_status); }; }; then
3804
 
  for ac_declaration in \
3805
 
   '' \
3806
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
3807
 
   'extern "C" void std::exit (int); using std::exit;' \
3808
 
   'extern "C" void exit (int) throw ();' \
3809
 
   'extern "C" void exit (int);' \
3810
 
   'void exit (int);'
3811
 
do
3812
 
  cat >conftest.$ac_ext <<_ACEOF
3813
 
/* confdefs.h.  */
3814
 
_ACEOF
3815
 
cat confdefs.h >>conftest.$ac_ext
3816
 
cat >>conftest.$ac_ext <<_ACEOF
3817
 
/* end confdefs.h.  */
3818
 
$ac_declaration
3819
 
#include <stdlib.h>
3820
 
int
3821
 
main ()
3822
 
{
3823
 
exit (42);
3824
 
  ;
3825
 
  return 0;
3826
 
}
3827
 
_ACEOF
3828
 
rm -f conftest.$ac_objext
3829
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3830
 
  (eval $ac_compile) 2>conftest.er1
3831
 
  ac_status=$?
3832
 
  grep -v '^ *+' conftest.er1 >conftest.err
3833
 
  rm -f conftest.er1
3834
 
  cat conftest.err >&5
3835
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3836
 
  (exit $ac_status); } &&
3837
 
         { ac_try='test -z "$ac_c_werror_flag"
3838
 
                         || test ! -s conftest.err'
3839
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3840
 
  (eval $ac_try) 2>&5
3841
 
  ac_status=$?
3842
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3843
 
  (exit $ac_status); }; } &&
3844
 
         { ac_try='test -s conftest.$ac_objext'
3845
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3846
 
  (eval $ac_try) 2>&5
3847
 
  ac_status=$?
3848
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3849
 
  (exit $ac_status); }; }; then
3850
 
  :
3851
 
else
3852
 
  echo "$as_me: failed program was:" >&5
3853
 
sed 's/^/| /' conftest.$ac_ext >&5
3854
 
 
3855
 
continue
3856
 
fi
3857
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3858
 
  cat >conftest.$ac_ext <<_ACEOF
3859
 
/* confdefs.h.  */
3860
 
_ACEOF
3861
 
cat confdefs.h >>conftest.$ac_ext
3862
 
cat >>conftest.$ac_ext <<_ACEOF
3863
 
/* end confdefs.h.  */
3864
 
$ac_declaration
3865
 
int
3866
 
main ()
3867
 
{
3868
 
exit (42);
3869
 
  ;
3870
 
  return 0;
3871
 
}
3872
 
_ACEOF
3873
 
rm -f conftest.$ac_objext
3874
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3875
 
  (eval $ac_compile) 2>conftest.er1
3876
 
  ac_status=$?
3877
 
  grep -v '^ *+' conftest.er1 >conftest.err
3878
 
  rm -f conftest.er1
3879
 
  cat conftest.err >&5
3880
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3881
 
  (exit $ac_status); } &&
3882
 
         { ac_try='test -z "$ac_c_werror_flag"
3883
 
                         || test ! -s conftest.err'
3884
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3885
 
  (eval $ac_try) 2>&5
3886
 
  ac_status=$?
3887
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3888
 
  (exit $ac_status); }; } &&
3889
 
         { ac_try='test -s conftest.$ac_objext'
3890
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3891
 
  (eval $ac_try) 2>&5
3892
 
  ac_status=$?
3893
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3894
 
  (exit $ac_status); }; }; then
3895
 
  break
3896
 
else
3897
 
  echo "$as_me: failed program was:" >&5
3898
 
sed 's/^/| /' conftest.$ac_ext >&5
3899
 
 
3900
 
fi
3901
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3902
 
done
3903
 
rm -f conftest*
3904
 
if test -n "$ac_declaration"; then
3905
 
  echo '#ifdef __cplusplus' >>confdefs.h
3906
 
  echo $ac_declaration      >>confdefs.h
3907
 
  echo '#endif'             >>confdefs.h
3908
 
fi
3909
 
 
3910
 
else
3911
 
  echo "$as_me: failed program was:" >&5
3912
 
sed 's/^/| /' conftest.$ac_ext >&5
3913
 
 
3914
 
fi
3915
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4315
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
4316
 
 
4317
fi
 
4318
 
3916
4319
ac_ext=c
3917
4320
ac_cpp='$CPP $CPPFLAGS'
3918
4321
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3921
4324
 
3922
4325
depcc="$CC"   am_compiler_list=
3923
4326
 
3924
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3925
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3926
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3927
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4327
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
4328
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
4329
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
4330
  $as_echo_n "(cached) " >&6
3928
4331
else
3929
4332
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3930
4333
  # We make a subdir and do the tests there.  Otherwise we can end up
3949
4352
  if test "$am_compiler_list" = ""; then
3950
4353
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3951
4354
  fi
 
4355
  am__universal=false
 
4356
  case " $depcc " in #(
 
4357
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
4358
     esac
 
4359
 
3952
4360
  for depmode in $am_compiler_list; do
3953
4361
    # Setup a source with many dependencies, because some compilers
3954
4362
    # like to wrap large dependency lists on column 80 (with \), and
3966
4374
    done
3967
4375
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3968
4376
 
 
4377
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4378
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4379
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
4380
    # versions had trouble with output in subdirs
 
4381
    am__obj=sub/conftest.${OBJEXT-o}
 
4382
    am__minus_obj="-o $am__obj"
3969
4383
    case $depmode in
 
4384
    gcc)
 
4385
      # This depmode causes a compiler race in universal mode.
 
4386
      test "$am__universal" = false || continue
 
4387
      ;;
3970
4388
    nosideeffect)
3971
4389
      # after this tag, mechanisms are not by side-effect, so they'll
3972
4390
      # only be used when explicitly requested
3976
4394
        break
3977
4395
      fi
3978
4396
      ;;
 
4397
    msvisualcpp | msvcmsys)
 
4398
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4399
      # not run yet.  These depmodes are late enough in the game, and
 
4400
      # so weak that their functioning should not be impacted.
 
4401
      am__obj=conftest.${OBJEXT-o}
 
4402
      am__minus_obj=
 
4403
      ;;
3979
4404
    none) break ;;
3980
4405
    esac
3981
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3982
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3983
 
    # handle `-M -o', and we need to detect this.
3984
4406
    if depmode=$depmode \
3985
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
4407
       source=sub/conftest.c object=$am__obj \
3986
4408
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3987
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
4409
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3988
4410
         >/dev/null 2>conftest.err &&
 
4411
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3989
4412
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3990
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
4413
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3991
4414
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3992
4415
      # icc doesn't choke on unknown options, it will just issue warnings
3993
4416
      # or remarks (even with -Werror).  So we grep stderr for any message
4011
4434
fi
4012
4435
 
4013
4436
fi
4014
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4015
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
4437
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4438
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4016
4439
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4017
4440
 
4018
 
 
4019
 
 
4020
 
if
 
4441
 if
4021
4442
  test "x$enable_dependency_tracking" != xno \
4022
4443
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4023
4444
  am__fastdepCC_TRUE=
4036
4457
if test -n "$ac_tool_prefix"; then
4037
4458
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4038
4459
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4039
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4040
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4041
 
if test "${ac_cv_prog_CC+set}" = set; then
4042
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4460
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4461
$as_echo_n "checking for $ac_word... " >&6; }
 
4462
if test "${ac_cv_prog_CC+set}" = set; then :
 
4463
  $as_echo_n "(cached) " >&6
4043
4464
else
4044
4465
  if test -n "$CC"; then
4045
4466
  ac_cv_prog_CC="$CC" # Let the user override the test.
4049
4470
do
4050
4471
  IFS=$as_save_IFS
4051
4472
  test -z "$as_dir" && as_dir=.
4052
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4053
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4473
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4474
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4054
4475
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4055
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4476
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4056
4477
    break 2
4057
4478
  fi
4058
4479
done
4059
 
done
 
4480
  done
 
4481
IFS=$as_save_IFS
4060
4482
 
4061
4483
fi
4062
4484
fi
4063
4485
CC=$ac_cv_prog_CC
4064
4486
if test -n "$CC"; then
4065
 
  echo "$as_me:$LINENO: result: $CC" >&5
4066
 
echo "${ECHO_T}$CC" >&6
 
4487
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4488
$as_echo "$CC" >&6; }
4067
4489
else
4068
 
  echo "$as_me:$LINENO: result: no" >&5
4069
 
echo "${ECHO_T}no" >&6
 
4490
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4491
$as_echo "no" >&6; }
4070
4492
fi
 
4493
 
4071
4494
 
4072
4495
fi
4073
4496
if test -z "$ac_cv_prog_CC"; then
4074
4497
  ac_ct_CC=$CC
4075
4498
  # Extract the first word of "gcc", so it can be a program name with args.
4076
4499
set dummy gcc; ac_word=$2
4077
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4078
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4079
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4080
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4500
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4501
$as_echo_n "checking for $ac_word... " >&6; }
 
4502
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
4503
  $as_echo_n "(cached) " >&6
4081
4504
else
4082
4505
  if test -n "$ac_ct_CC"; then
4083
4506
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4087
4510
do
4088
4511
  IFS=$as_save_IFS
4089
4512
  test -z "$as_dir" && as_dir=.
4090
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4091
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4513
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4514
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4092
4515
    ac_cv_prog_ac_ct_CC="gcc"
4093
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4516
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4094
4517
    break 2
4095
4518
  fi
4096
4519
done
4097
 
done
 
4520
  done
 
4521
IFS=$as_save_IFS
4098
4522
 
4099
4523
fi
4100
4524
fi
4101
4525
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4102
4526
if test -n "$ac_ct_CC"; then
4103
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4104
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
4527
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
4528
$as_echo "$ac_ct_CC" >&6; }
4105
4529
else
4106
 
  echo "$as_me:$LINENO: result: no" >&5
4107
 
echo "${ECHO_T}no" >&6
 
4530
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4531
$as_echo "no" >&6; }
4108
4532
fi
4109
4533
 
4110
 
  CC=$ac_ct_CC
 
4534
  if test "x$ac_ct_CC" = x; then
 
4535
    CC=""
 
4536
  else
 
4537
    case $cross_compiling:$ac_tool_warned in
 
4538
yes:)
 
4539
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4540
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4541
ac_tool_warned=yes ;;
 
4542
esac
 
4543
    CC=$ac_ct_CC
 
4544
  fi
4111
4545
else
4112
4546
  CC="$ac_cv_prog_CC"
4113
4547
fi
4114
4548
 
4115
4549
if test -z "$CC"; then
4116
 
  if test -n "$ac_tool_prefix"; then
4117
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
4550
          if test -n "$ac_tool_prefix"; then
 
4551
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4118
4552
set dummy ${ac_tool_prefix}cc; ac_word=$2
4119
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4120
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4121
 
if test "${ac_cv_prog_CC+set}" = set; then
4122
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4553
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4554
$as_echo_n "checking for $ac_word... " >&6; }
 
4555
if test "${ac_cv_prog_CC+set}" = set; then :
 
4556
  $as_echo_n "(cached) " >&6
4123
4557
else
4124
4558
  if test -n "$CC"; then
4125
4559
  ac_cv_prog_CC="$CC" # Let the user override the test.
4129
4563
do
4130
4564
  IFS=$as_save_IFS
4131
4565
  test -z "$as_dir" && as_dir=.
4132
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4133
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4566
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4567
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4134
4568
    ac_cv_prog_CC="${ac_tool_prefix}cc"
4135
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4569
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4136
4570
    break 2
4137
4571
  fi
4138
4572
done
4139
 
done
 
4573
  done
 
4574
IFS=$as_save_IFS
4140
4575
 
4141
4576
fi
4142
4577
fi
4143
4578
CC=$ac_cv_prog_CC
4144
4579
if test -n "$CC"; then
4145
 
  echo "$as_me:$LINENO: result: $CC" >&5
4146
 
echo "${ECHO_T}$CC" >&6
4147
 
else
4148
 
  echo "$as_me:$LINENO: result: no" >&5
4149
 
echo "${ECHO_T}no" >&6
4150
 
fi
4151
 
 
4152
 
fi
4153
 
if test -z "$ac_cv_prog_CC"; then
4154
 
  ac_ct_CC=$CC
4155
 
  # Extract the first word of "cc", so it can be a program name with args.
4156
 
set dummy cc; ac_word=$2
4157
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4158
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4159
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4160
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4161
 
else
4162
 
  if test -n "$ac_ct_CC"; then
4163
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4164
 
else
4165
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4166
 
for as_dir in $PATH
4167
 
do
4168
 
  IFS=$as_save_IFS
4169
 
  test -z "$as_dir" && as_dir=.
4170
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4171
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4172
 
    ac_cv_prog_ac_ct_CC="cc"
4173
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4174
 
    break 2
 
4580
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4581
$as_echo "$CC" >&6; }
 
4582
else
 
4583
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4584
$as_echo "no" >&6; }
 
4585
fi
 
4586
 
 
4587
 
4175
4588
  fi
4176
 
done
4177
 
done
4178
 
 
4179
 
fi
4180
 
fi
4181
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4182
 
if test -n "$ac_ct_CC"; then
4183
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4184
 
echo "${ECHO_T}$ac_ct_CC" >&6
4185
 
else
4186
 
  echo "$as_me:$LINENO: result: no" >&5
4187
 
echo "${ECHO_T}no" >&6
4188
 
fi
4189
 
 
4190
 
  CC=$ac_ct_CC
4191
 
else
4192
 
  CC="$ac_cv_prog_CC"
4193
 
fi
4194
 
 
4195
4589
fi
4196
4590
if test -z "$CC"; then
4197
4591
  # Extract the first word of "cc", so it can be a program name with args.
4198
4592
set dummy cc; ac_word=$2
4199
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4200
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4201
 
if test "${ac_cv_prog_CC+set}" = set; then
4202
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4593
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4594
$as_echo_n "checking for $ac_word... " >&6; }
 
4595
if test "${ac_cv_prog_CC+set}" = set; then :
 
4596
  $as_echo_n "(cached) " >&6
4203
4597
else
4204
4598
  if test -n "$CC"; then
4205
4599
  ac_cv_prog_CC="$CC" # Let the user override the test.
4210
4604
do
4211
4605
  IFS=$as_save_IFS
4212
4606
  test -z "$as_dir" && as_dir=.
4213
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4214
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4607
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4608
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4215
4609
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4216
4610
       ac_prog_rejected=yes
4217
4611
       continue
4218
4612
     fi
4219
4613
    ac_cv_prog_CC="cc"
4220
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4614
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4221
4615
    break 2
4222
4616
  fi
4223
4617
done
4224
 
done
 
4618
  done
 
4619
IFS=$as_save_IFS
4225
4620
 
4226
4621
if test $ac_prog_rejected = yes; then
4227
4622
  # We found a bogon in the path, so make sure we never use it.
4239
4634
fi
4240
4635
CC=$ac_cv_prog_CC
4241
4636
if test -n "$CC"; then
4242
 
  echo "$as_me:$LINENO: result: $CC" >&5
4243
 
echo "${ECHO_T}$CC" >&6
 
4637
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4638
$as_echo "$CC" >&6; }
4244
4639
else
4245
 
  echo "$as_me:$LINENO: result: no" >&5
4246
 
echo "${ECHO_T}no" >&6
 
4640
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4641
$as_echo "no" >&6; }
4247
4642
fi
 
4643
 
4248
4644
 
4249
4645
fi
4250
4646
if test -z "$CC"; then
4251
4647
  if test -n "$ac_tool_prefix"; then
4252
 
  for ac_prog in cl
 
4648
  for ac_prog in cl.exe
4253
4649
  do
4254
4650
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4255
4651
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4256
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4257
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4258
 
if test "${ac_cv_prog_CC+set}" = set; then
4259
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4652
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4653
$as_echo_n "checking for $ac_word... " >&6; }
 
4654
if test "${ac_cv_prog_CC+set}" = set; then :
 
4655
  $as_echo_n "(cached) " >&6
4260
4656
else
4261
4657
  if test -n "$CC"; then
4262
4658
  ac_cv_prog_CC="$CC" # Let the user override the test.
4266
4662
do
4267
4663
  IFS=$as_save_IFS
4268
4664
  test -z "$as_dir" && as_dir=.
4269
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4270
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4665
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4666
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4271
4667
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4272
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4668
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4273
4669
    break 2
4274
4670
  fi
4275
4671
done
4276
 
done
 
4672
  done
 
4673
IFS=$as_save_IFS
4277
4674
 
4278
4675
fi
4279
4676
fi
4280
4677
CC=$ac_cv_prog_CC
4281
4678
if test -n "$CC"; then
4282
 
  echo "$as_me:$LINENO: result: $CC" >&5
4283
 
echo "${ECHO_T}$CC" >&6
 
4679
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4680
$as_echo "$CC" >&6; }
4284
4681
else
4285
 
  echo "$as_me:$LINENO: result: no" >&5
4286
 
echo "${ECHO_T}no" >&6
 
4682
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4683
$as_echo "no" >&6; }
4287
4684
fi
4288
4685
 
 
4686
 
4289
4687
    test -n "$CC" && break
4290
4688
  done
4291
4689
fi
4292
4690
if test -z "$CC"; then
4293
4691
  ac_ct_CC=$CC
4294
 
  for ac_prog in cl
 
4692
  for ac_prog in cl.exe
4295
4693
do
4296
4694
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4297
4695
set dummy $ac_prog; ac_word=$2
4298
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4299
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4300
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4301
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4696
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4697
$as_echo_n "checking for $ac_word... " >&6; }
 
4698
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
4699
  $as_echo_n "(cached) " >&6
4302
4700
else
4303
4701
  if test -n "$ac_ct_CC"; then
4304
4702
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4308
4706
do
4309
4707
  IFS=$as_save_IFS
4310
4708
  test -z "$as_dir" && as_dir=.
4311
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4312
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4709
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4710
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4313
4711
    ac_cv_prog_ac_ct_CC="$ac_prog"
4314
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4712
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4315
4713
    break 2
4316
4714
  fi
4317
4715
done
4318
 
done
 
4716
  done
 
4717
IFS=$as_save_IFS
4319
4718
 
4320
4719
fi
4321
4720
fi
4322
4721
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4323
4722
if test -n "$ac_ct_CC"; then
4324
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4325
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
4723
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
4724
$as_echo "$ac_ct_CC" >&6; }
4326
4725
else
4327
 
  echo "$as_me:$LINENO: result: no" >&5
4328
 
echo "${ECHO_T}no" >&6
 
4726
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4727
$as_echo "no" >&6; }
4329
4728
fi
4330
4729
 
 
4730
 
4331
4731
  test -n "$ac_ct_CC" && break
4332
4732
done
4333
4733
 
4334
 
  CC=$ac_ct_CC
4335
 
fi
4336
 
 
4337
 
fi
4338
 
 
4339
 
 
4340
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4341
 
See \`config.log' for more details." >&5
4342
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
4343
 
See \`config.log' for more details." >&2;}
4344
 
   { (exit 1); exit 1; }; }
 
4734
  if test "x$ac_ct_CC" = x; then
 
4735
    CC=""
 
4736
  else
 
4737
    case $cross_compiling:$ac_tool_warned in
 
4738
yes:)
 
4739
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4740
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4741
ac_tool_warned=yes ;;
 
4742
esac
 
4743
    CC=$ac_ct_CC
 
4744
  fi
 
4745
fi
 
4746
 
 
4747
fi
 
4748
 
 
4749
 
 
4750
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4751
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4752
as_fn_error $? "no acceptable C compiler found in \$PATH
 
4753
See \`config.log' for more details" "$LINENO" 5 ; }
4345
4754
 
4346
4755
# Provide some information about the compiler.
4347
 
echo "$as_me:$LINENO:" \
4348
 
     "checking for C compiler version" >&5
4349
 
ac_compiler=`set X $ac_compile; echo $2`
4350
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4351
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
4352
 
  ac_status=$?
4353
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4354
 
  (exit $ac_status); }
4355
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4356
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
4357
 
  ac_status=$?
4358
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4359
 
  (exit $ac_status); }
4360
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4361
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
4362
 
  ac_status=$?
4363
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364
 
  (exit $ac_status); }
 
4756
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
4757
set X $ac_compile
 
4758
ac_compiler=$2
 
4759
for ac_option in --version -v -V -qversion; do
 
4760
  { { ac_try="$ac_compiler $ac_option >&5"
 
4761
case "(($ac_try" in
 
4762
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4763
  *) ac_try_echo=$ac_try;;
 
4764
esac
 
4765
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4766
$as_echo "$ac_try_echo"; } >&5
 
4767
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
4768
  ac_status=$?
 
4769
  if test -s conftest.err; then
 
4770
    sed '10a\
 
4771
... rest of stderr output deleted ...
 
4772
         10q' conftest.err >conftest.er1
 
4773
    cat conftest.er1 >&5
 
4774
  fi
 
4775
  rm -f conftest.er1 conftest.err
 
4776
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4777
  test $ac_status = 0; }
 
4778
done
4365
4779
 
4366
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4367
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4368
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
4369
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4780
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
4781
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
4782
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
4783
  $as_echo_n "(cached) " >&6
4370
4784
else
4371
 
  cat >conftest.$ac_ext <<_ACEOF
4372
 
/* confdefs.h.  */
4373
 
_ACEOF
4374
 
cat confdefs.h >>conftest.$ac_ext
4375
 
cat >>conftest.$ac_ext <<_ACEOF
 
4785
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4376
4786
/* end confdefs.h.  */
4377
4787
 
4378
4788
int
4386
4796
  return 0;
4387
4797
}
4388
4798
_ACEOF
4389
 
rm -f conftest.$ac_objext
4390
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4391
 
  (eval $ac_compile) 2>conftest.er1
4392
 
  ac_status=$?
4393
 
  grep -v '^ *+' conftest.er1 >conftest.err
4394
 
  rm -f conftest.er1
4395
 
  cat conftest.err >&5
4396
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4397
 
  (exit $ac_status); } &&
4398
 
         { ac_try='test -z "$ac_c_werror_flag"
4399
 
                         || test ! -s conftest.err'
4400
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4401
 
  (eval $ac_try) 2>&5
4402
 
  ac_status=$?
4403
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4404
 
  (exit $ac_status); }; } &&
4405
 
         { ac_try='test -s conftest.$ac_objext'
4406
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4407
 
  (eval $ac_try) 2>&5
4408
 
  ac_status=$?
4409
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4410
 
  (exit $ac_status); }; }; then
 
4799
if ac_fn_c_try_compile "$LINENO"; then :
4411
4800
  ac_compiler_gnu=yes
4412
4801
else
4413
 
  echo "$as_me: failed program was:" >&5
4414
 
sed 's/^/| /' conftest.$ac_ext >&5
4415
 
 
4416
 
ac_compiler_gnu=no
 
4802
  ac_compiler_gnu=no
4417
4803
fi
4418
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4804
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4419
4805
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4420
4806
 
4421
4807
fi
4422
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4423
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4424
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
4808
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
4809
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
4810
if test $ac_compiler_gnu = yes; then
 
4811
  GCC=yes
 
4812
else
 
4813
  GCC=
 
4814
fi
4425
4815
ac_test_CFLAGS=${CFLAGS+set}
4426
4816
ac_save_CFLAGS=$CFLAGS
4427
 
CFLAGS="-g"
4428
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4429
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4430
 
if test "${ac_cv_prog_cc_g+set}" = set; then
4431
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4432
 
else
4433
 
  cat >conftest.$ac_ext <<_ACEOF
4434
 
/* confdefs.h.  */
4435
 
_ACEOF
4436
 
cat confdefs.h >>conftest.$ac_ext
4437
 
cat >>conftest.$ac_ext <<_ACEOF
4438
 
/* end confdefs.h.  */
4439
 
 
4440
 
int
4441
 
main ()
4442
 
{
4443
 
 
4444
 
  ;
4445
 
  return 0;
4446
 
}
4447
 
_ACEOF
4448
 
rm -f conftest.$ac_objext
4449
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4450
 
  (eval $ac_compile) 2>conftest.er1
4451
 
  ac_status=$?
4452
 
  grep -v '^ *+' conftest.er1 >conftest.err
4453
 
  rm -f conftest.er1
4454
 
  cat conftest.err >&5
4455
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4456
 
  (exit $ac_status); } &&
4457
 
         { ac_try='test -z "$ac_c_werror_flag"
4458
 
                         || test ! -s conftest.err'
4459
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4460
 
  (eval $ac_try) 2>&5
4461
 
  ac_status=$?
4462
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4463
 
  (exit $ac_status); }; } &&
4464
 
         { ac_try='test -s conftest.$ac_objext'
4465
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4466
 
  (eval $ac_try) 2>&5
4467
 
  ac_status=$?
4468
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4469
 
  (exit $ac_status); }; }; then
4470
 
  ac_cv_prog_cc_g=yes
4471
 
else
4472
 
  echo "$as_me: failed program was:" >&5
4473
 
sed 's/^/| /' conftest.$ac_ext >&5
4474
 
 
4475
 
ac_cv_prog_cc_g=no
4476
 
fi
4477
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4478
 
fi
4479
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4480
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
4817
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
4818
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
4819
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
4820
  $as_echo_n "(cached) " >&6
 
4821
else
 
4822
  ac_save_c_werror_flag=$ac_c_werror_flag
 
4823
   ac_c_werror_flag=yes
 
4824
   ac_cv_prog_cc_g=no
 
4825
   CFLAGS="-g"
 
4826
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4827
/* end confdefs.h.  */
 
4828
 
 
4829
int
 
4830
main ()
 
4831
{
 
4832
 
 
4833
  ;
 
4834
  return 0;
 
4835
}
 
4836
_ACEOF
 
4837
if ac_fn_c_try_compile "$LINENO"; then :
 
4838
  ac_cv_prog_cc_g=yes
 
4839
else
 
4840
  CFLAGS=""
 
4841
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4842
/* end confdefs.h.  */
 
4843
 
 
4844
int
 
4845
main ()
 
4846
{
 
4847
 
 
4848
  ;
 
4849
  return 0;
 
4850
}
 
4851
_ACEOF
 
4852
if ac_fn_c_try_compile "$LINENO"; then :
 
4853
 
 
4854
else
 
4855
  ac_c_werror_flag=$ac_save_c_werror_flag
 
4856
         CFLAGS="-g"
 
4857
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4858
/* end confdefs.h.  */
 
4859
 
 
4860
int
 
4861
main ()
 
4862
{
 
4863
 
 
4864
  ;
 
4865
  return 0;
 
4866
}
 
4867
_ACEOF
 
4868
if ac_fn_c_try_compile "$LINENO"; then :
 
4869
  ac_cv_prog_cc_g=yes
 
4870
fi
 
4871
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4872
fi
 
4873
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4874
fi
 
4875
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4876
   ac_c_werror_flag=$ac_save_c_werror_flag
 
4877
fi
 
4878
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
4879
$as_echo "$ac_cv_prog_cc_g" >&6; }
4481
4880
if test "$ac_test_CFLAGS" = set; then
4482
4881
  CFLAGS=$ac_save_CFLAGS
4483
4882
elif test $ac_cv_prog_cc_g = yes; then
4493
4892
    CFLAGS=
4494
4893
  fi
4495
4894
fi
4496
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4497
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4498
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
4499
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4895
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
4896
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
4897
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
4898
  $as_echo_n "(cached) " >&6
4500
4899
else
4501
 
  ac_cv_prog_cc_stdc=no
 
4900
  ac_cv_prog_cc_c89=no
4502
4901
ac_save_CC=$CC
4503
 
cat >conftest.$ac_ext <<_ACEOF
4504
 
/* confdefs.h.  */
4505
 
_ACEOF
4506
 
cat confdefs.h >>conftest.$ac_ext
4507
 
cat >>conftest.$ac_ext <<_ACEOF
 
4902
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4508
4903
/* end confdefs.h.  */
4509
4904
#include <stdarg.h>
4510
4905
#include <stdio.h>
4532
4927
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4533
4928
   function prototypes and stuff, but not '\xHH' hex character constants.
4534
4929
   These don't provoke an error unfortunately, instead are silently treated
4535
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
4930
   as 'x'.  The following induces an error, until -std is added to get
4536
4931
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4537
4932
   array size at least.  It's necessary to write '\x00'==0 to get something
4538
 
   that's true only with -std1.  */
 
4933
   that's true only with -std.  */
4539
4934
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4540
4935
 
 
4936
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
4937
   inside strings and character constants.  */
 
4938
#define FOO(x) 'x'
 
4939
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
4940
 
4541
4941
int test (int i, double x);
4542
4942
struct s1 {int (*f) (int a);};
4543
4943
struct s2 {int (*f) (double a);};
4552
4952
  return 0;
4553
4953
}
4554
4954
_ACEOF
4555
 
# Don't try gcc -ansi; that turns off useful extensions and
4556
 
# breaks some systems' header files.
4557
 
# AIX                   -qlanglvl=ansi
4558
 
# Ultrix and OSF/1      -std1
4559
 
# HP-UX 10.20 and later -Ae
4560
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
4561
 
# SVR4                  -Xc -D__EXTENSIONS__
4562
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
4955
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
4956
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4563
4957
do
4564
4958
  CC="$ac_save_CC $ac_arg"
4565
 
  rm -f conftest.$ac_objext
4566
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4567
 
  (eval $ac_compile) 2>conftest.er1
4568
 
  ac_status=$?
4569
 
  grep -v '^ *+' conftest.er1 >conftest.err
4570
 
  rm -f conftest.er1
4571
 
  cat conftest.err >&5
4572
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4573
 
  (exit $ac_status); } &&
4574
 
         { ac_try='test -z "$ac_c_werror_flag"
4575
 
                         || test ! -s conftest.err'
4576
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4577
 
  (eval $ac_try) 2>&5
4578
 
  ac_status=$?
4579
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4580
 
  (exit $ac_status); }; } &&
4581
 
         { ac_try='test -s conftest.$ac_objext'
4582
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4583
 
  (eval $ac_try) 2>&5
4584
 
  ac_status=$?
4585
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4586
 
  (exit $ac_status); }; }; then
4587
 
  ac_cv_prog_cc_stdc=$ac_arg
4588
 
break
4589
 
else
4590
 
  echo "$as_me: failed program was:" >&5
4591
 
sed 's/^/| /' conftest.$ac_ext >&5
4592
 
 
 
4959
  if ac_fn_c_try_compile "$LINENO"; then :
 
4960
  ac_cv_prog_cc_c89=$ac_arg
4593
4961
fi
4594
 
rm -f conftest.err conftest.$ac_objext
 
4962
rm -f core conftest.err conftest.$ac_objext
 
4963
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4595
4964
done
4596
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
4965
rm -f conftest.$ac_ext
4597
4966
CC=$ac_save_CC
4598
4967
 
4599
4968
fi
4600
 
 
4601
 
case "x$ac_cv_prog_cc_stdc" in
4602
 
  x|xno)
4603
 
    echo "$as_me:$LINENO: result: none needed" >&5
4604
 
echo "${ECHO_T}none needed" >&6 ;;
 
4969
# AC_CACHE_VAL
 
4970
case "x$ac_cv_prog_cc_c89" in
 
4971
  x)
 
4972
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
4973
$as_echo "none needed" >&6; } ;;
 
4974
  xno)
 
4975
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
4976
$as_echo "unsupported" >&6; } ;;
4605
4977
  *)
4606
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4607
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4608
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
4978
    CC="$CC $ac_cv_prog_cc_c89"
 
4979
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
4980
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4609
4981
esac
4610
 
 
4611
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
4612
 
# in C++ we need to declare it.  In case someone uses the same compiler
4613
 
# for both compiling C and C++ we need to have the C++ compiler decide
4614
 
# the declaration of exit, since it's the most demanding environment.
4615
 
cat >conftest.$ac_ext <<_ACEOF
4616
 
#ifndef __cplusplus
4617
 
  choke me
4618
 
#endif
4619
 
_ACEOF
4620
 
rm -f conftest.$ac_objext
4621
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4622
 
  (eval $ac_compile) 2>conftest.er1
4623
 
  ac_status=$?
4624
 
  grep -v '^ *+' conftest.er1 >conftest.err
4625
 
  rm -f conftest.er1
4626
 
  cat conftest.err >&5
4627
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4628
 
  (exit $ac_status); } &&
4629
 
         { ac_try='test -z "$ac_c_werror_flag"
4630
 
                         || test ! -s conftest.err'
4631
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4632
 
  (eval $ac_try) 2>&5
4633
 
  ac_status=$?
4634
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4635
 
  (exit $ac_status); }; } &&
4636
 
         { ac_try='test -s conftest.$ac_objext'
4637
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4638
 
  (eval $ac_try) 2>&5
4639
 
  ac_status=$?
4640
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4641
 
  (exit $ac_status); }; }; then
4642
 
  for ac_declaration in \
4643
 
   '' \
4644
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
4645
 
   'extern "C" void std::exit (int); using std::exit;' \
4646
 
   'extern "C" void exit (int) throw ();' \
4647
 
   'extern "C" void exit (int);' \
4648
 
   'void exit (int);'
4649
 
do
4650
 
  cat >conftest.$ac_ext <<_ACEOF
4651
 
/* confdefs.h.  */
4652
 
_ACEOF
4653
 
cat confdefs.h >>conftest.$ac_ext
4654
 
cat >>conftest.$ac_ext <<_ACEOF
4655
 
/* end confdefs.h.  */
4656
 
$ac_declaration
4657
 
#include <stdlib.h>
4658
 
int
4659
 
main ()
4660
 
{
4661
 
exit (42);
4662
 
  ;
4663
 
  return 0;
4664
 
}
4665
 
_ACEOF
4666
 
rm -f conftest.$ac_objext
4667
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4668
 
  (eval $ac_compile) 2>conftest.er1
4669
 
  ac_status=$?
4670
 
  grep -v '^ *+' conftest.er1 >conftest.err
4671
 
  rm -f conftest.er1
4672
 
  cat conftest.err >&5
4673
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4674
 
  (exit $ac_status); } &&
4675
 
         { ac_try='test -z "$ac_c_werror_flag"
4676
 
                         || test ! -s conftest.err'
4677
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4678
 
  (eval $ac_try) 2>&5
4679
 
  ac_status=$?
4680
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4681
 
  (exit $ac_status); }; } &&
4682
 
         { ac_try='test -s conftest.$ac_objext'
4683
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4684
 
  (eval $ac_try) 2>&5
4685
 
  ac_status=$?
4686
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4687
 
  (exit $ac_status); }; }; then
4688
 
  :
4689
 
else
4690
 
  echo "$as_me: failed program was:" >&5
4691
 
sed 's/^/| /' conftest.$ac_ext >&5
4692
 
 
4693
 
continue
4694
 
fi
4695
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4696
 
  cat >conftest.$ac_ext <<_ACEOF
4697
 
/* confdefs.h.  */
4698
 
_ACEOF
4699
 
cat confdefs.h >>conftest.$ac_ext
4700
 
cat >>conftest.$ac_ext <<_ACEOF
4701
 
/* end confdefs.h.  */
4702
 
$ac_declaration
4703
 
int
4704
 
main ()
4705
 
{
4706
 
exit (42);
4707
 
  ;
4708
 
  return 0;
4709
 
}
4710
 
_ACEOF
4711
 
rm -f conftest.$ac_objext
4712
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4713
 
  (eval $ac_compile) 2>conftest.er1
4714
 
  ac_status=$?
4715
 
  grep -v '^ *+' conftest.er1 >conftest.err
4716
 
  rm -f conftest.er1
4717
 
  cat conftest.err >&5
4718
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4719
 
  (exit $ac_status); } &&
4720
 
         { ac_try='test -z "$ac_c_werror_flag"
4721
 
                         || test ! -s conftest.err'
4722
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4723
 
  (eval $ac_try) 2>&5
4724
 
  ac_status=$?
4725
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4726
 
  (exit $ac_status); }; } &&
4727
 
         { ac_try='test -s conftest.$ac_objext'
4728
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4729
 
  (eval $ac_try) 2>&5
4730
 
  ac_status=$?
4731
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732
 
  (exit $ac_status); }; }; then
4733
 
  break
4734
 
else
4735
 
  echo "$as_me: failed program was:" >&5
4736
 
sed 's/^/| /' conftest.$ac_ext >&5
4737
 
 
4738
 
fi
4739
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4740
 
done
4741
 
rm -f conftest*
4742
 
if test -n "$ac_declaration"; then
4743
 
  echo '#ifdef __cplusplus' >>confdefs.h
4744
 
  echo $ac_declaration      >>confdefs.h
4745
 
  echo '#endif'             >>confdefs.h
4746
 
fi
4747
 
 
4748
 
else
4749
 
  echo "$as_me: failed program was:" >&5
4750
 
sed 's/^/| /' conftest.$ac_ext >&5
4751
 
 
4752
 
fi
4753
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4982
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
4983
 
 
4984
fi
 
4985
 
4754
4986
ac_ext=c
4755
4987
ac_cpp='$CPP $CPPFLAGS'
4756
4988
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4759
4991
 
4760
4992
depcc="$CC"   am_compiler_list=
4761
4993
 
4762
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4763
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4764
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4765
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4994
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
4995
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
4996
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
4997
  $as_echo_n "(cached) " >&6
4766
4998
else
4767
4999
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4768
5000
  # We make a subdir and do the tests there.  Otherwise we can end up
4787
5019
  if test "$am_compiler_list" = ""; then
4788
5020
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4789
5021
  fi
 
5022
  am__universal=false
 
5023
  case " $depcc " in #(
 
5024
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
5025
     esac
 
5026
 
4790
5027
  for depmode in $am_compiler_list; do
4791
5028
    # Setup a source with many dependencies, because some compilers
4792
5029
    # like to wrap large dependency lists on column 80 (with \), and
4804
5041
    done
4805
5042
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4806
5043
 
 
5044
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
5045
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
5046
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
5047
    # versions had trouble with output in subdirs
 
5048
    am__obj=sub/conftest.${OBJEXT-o}
 
5049
    am__minus_obj="-o $am__obj"
4807
5050
    case $depmode in
 
5051
    gcc)
 
5052
      # This depmode causes a compiler race in universal mode.
 
5053
      test "$am__universal" = false || continue
 
5054
      ;;
4808
5055
    nosideeffect)
4809
5056
      # after this tag, mechanisms are not by side-effect, so they'll
4810
5057
      # only be used when explicitly requested
4814
5061
        break
4815
5062
      fi
4816
5063
      ;;
 
5064
    msvisualcpp | msvcmsys)
 
5065
      # This compiler won't grok `-c -o', but also, the minuso test has
 
5066
      # not run yet.  These depmodes are late enough in the game, and
 
5067
      # so weak that their functioning should not be impacted.
 
5068
      am__obj=conftest.${OBJEXT-o}
 
5069
      am__minus_obj=
 
5070
      ;;
4817
5071
    none) break ;;
4818
5072
    esac
4819
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4820
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4821
 
    # handle `-M -o', and we need to detect this.
4822
5073
    if depmode=$depmode \
4823
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
5074
       source=sub/conftest.c object=$am__obj \
4824
5075
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4825
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
5076
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4826
5077
         >/dev/null 2>conftest.err &&
 
5078
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4827
5079
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4828
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
5080
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4829
5081
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4830
5082
      # icc doesn't choke on unknown options, it will just issue warnings
4831
5083
      # or remarks (even with -Werror).  So we grep stderr for any message
4849
5101
fi
4850
5102
 
4851
5103
fi
4852
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4853
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
5104
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
5105
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4854
5106
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4855
5107
 
4856
 
 
4857
 
 
4858
 
if
 
5108
 if
4859
5109
  test "x$enable_dependency_tracking" != xno \
4860
5110
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4861
5111
  am__fastdepCC_TRUE=
4874
5124
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4875
5125
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4876
5126
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4877
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4878
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
5127
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
5128
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4879
5129
# On Suns, sometimes $CPP names a directory.
4880
5130
if test -n "$CPP" && test -d "$CPP"; then
4881
5131
  CPP=
4882
5132
fi
4883
5133
if test -z "$CPP"; then
4884
 
  if test "${ac_cv_prog_CPP+set}" = set; then
4885
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5134
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
5135
  $as_echo_n "(cached) " >&6
4886
5136
else
4887
5137
      # Double quotes because CPP needs to be expanded
4888
5138
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4896
5146
  # <limits.h> exists even on freestanding compilers.
4897
5147
  # On the NeXT, cc -E runs the code through the compiler's parser,
4898
5148
  # not just through cpp. "Syntax error" is here to catch this case.
4899
 
  cat >conftest.$ac_ext <<_ACEOF
4900
 
/* confdefs.h.  */
4901
 
_ACEOF
4902
 
cat confdefs.h >>conftest.$ac_ext
4903
 
cat >>conftest.$ac_ext <<_ACEOF
 
5149
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4904
5150
/* end confdefs.h.  */
4905
5151
#ifdef __STDC__
4906
5152
# include <limits.h>
4909
5155
#endif
4910
5156
                     Syntax error
4911
5157
_ACEOF
4912
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4913
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4914
 
  ac_status=$?
4915
 
  grep -v '^ *+' conftest.er1 >conftest.err
4916
 
  rm -f conftest.er1
4917
 
  cat conftest.err >&5
4918
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4919
 
  (exit $ac_status); } >/dev/null; then
4920
 
  if test -s conftest.err; then
4921
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4922
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4923
 
  else
4924
 
    ac_cpp_err=
4925
 
  fi
4926
 
else
4927
 
  ac_cpp_err=yes
4928
 
fi
4929
 
if test -z "$ac_cpp_err"; then
4930
 
  :
4931
 
else
4932
 
  echo "$as_me: failed program was:" >&5
4933
 
sed 's/^/| /' conftest.$ac_ext >&5
 
5158
if ac_fn_c_try_cpp "$LINENO"; then :
4934
5159
 
 
5160
else
4935
5161
  # Broken: fails on valid input.
4936
5162
continue
4937
5163
fi
4938
 
rm -f conftest.err conftest.$ac_ext
 
5164
rm -f conftest.err conftest.i conftest.$ac_ext
4939
5165
 
4940
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5166
  # OK, works on sane cases.  Now check whether nonexistent headers
4941
5167
  # can be detected and how.
4942
 
  cat >conftest.$ac_ext <<_ACEOF
4943
 
/* confdefs.h.  */
4944
 
_ACEOF
4945
 
cat confdefs.h >>conftest.$ac_ext
4946
 
cat >>conftest.$ac_ext <<_ACEOF
 
5168
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4947
5169
/* end confdefs.h.  */
4948
5170
#include <ac_nonexistent.h>
4949
5171
_ACEOF
4950
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4951
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4952
 
  ac_status=$?
4953
 
  grep -v '^ *+' conftest.er1 >conftest.err
4954
 
  rm -f conftest.er1
4955
 
  cat conftest.err >&5
4956
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4957
 
  (exit $ac_status); } >/dev/null; then
4958
 
  if test -s conftest.err; then
4959
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4960
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4961
 
  else
4962
 
    ac_cpp_err=
4963
 
  fi
4964
 
else
4965
 
  ac_cpp_err=yes
4966
 
fi
4967
 
if test -z "$ac_cpp_err"; then
 
5172
if ac_fn_c_try_cpp "$LINENO"; then :
4968
5173
  # Broken: success on invalid input.
4969
5174
continue
4970
5175
else
4971
 
  echo "$as_me: failed program was:" >&5
4972
 
sed 's/^/| /' conftest.$ac_ext >&5
4973
 
 
4974
5176
  # Passes both tests.
4975
5177
ac_preproc_ok=:
4976
5178
break
4977
5179
fi
4978
 
rm -f conftest.err conftest.$ac_ext
 
5180
rm -f conftest.err conftest.i conftest.$ac_ext
4979
5181
 
4980
5182
done
4981
5183
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4982
 
rm -f conftest.err conftest.$ac_ext
4983
 
if $ac_preproc_ok; then
 
5184
rm -f conftest.i conftest.err conftest.$ac_ext
 
5185
if $ac_preproc_ok; then :
4984
5186
  break
4985
5187
fi
4986
5188
 
4992
5194
else
4993
5195
  ac_cv_prog_CPP=$CPP
4994
5196
fi
4995
 
echo "$as_me:$LINENO: result: $CPP" >&5
4996
 
echo "${ECHO_T}$CPP" >&6
 
5197
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
5198
$as_echo "$CPP" >&6; }
4997
5199
ac_preproc_ok=false
4998
5200
for ac_c_preproc_warn_flag in '' yes
4999
5201
do
5003
5205
  # <limits.h> exists even on freestanding compilers.
5004
5206
  # On the NeXT, cc -E runs the code through the compiler's parser,
5005
5207
  # not just through cpp. "Syntax error" is here to catch this case.
5006
 
  cat >conftest.$ac_ext <<_ACEOF
5007
 
/* confdefs.h.  */
5008
 
_ACEOF
5009
 
cat confdefs.h >>conftest.$ac_ext
5010
 
cat >>conftest.$ac_ext <<_ACEOF
 
5208
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5011
5209
/* end confdefs.h.  */
5012
5210
#ifdef __STDC__
5013
5211
# include <limits.h>
5016
5214
#endif
5017
5215
                     Syntax error
5018
5216
_ACEOF
5019
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5020
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5021
 
  ac_status=$?
5022
 
  grep -v '^ *+' conftest.er1 >conftest.err
5023
 
  rm -f conftest.er1
5024
 
  cat conftest.err >&5
5025
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5026
 
  (exit $ac_status); } >/dev/null; then
5027
 
  if test -s conftest.err; then
5028
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5029
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5030
 
  else
5031
 
    ac_cpp_err=
5032
 
  fi
5033
 
else
5034
 
  ac_cpp_err=yes
5035
 
fi
5036
 
if test -z "$ac_cpp_err"; then
5037
 
  :
5038
 
else
5039
 
  echo "$as_me: failed program was:" >&5
5040
 
sed 's/^/| /' conftest.$ac_ext >&5
 
5217
if ac_fn_c_try_cpp "$LINENO"; then :
5041
5218
 
 
5219
else
5042
5220
  # Broken: fails on valid input.
5043
5221
continue
5044
5222
fi
5045
 
rm -f conftest.err conftest.$ac_ext
 
5223
rm -f conftest.err conftest.i conftest.$ac_ext
5046
5224
 
5047
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5225
  # OK, works on sane cases.  Now check whether nonexistent headers
5048
5226
  # can be detected and how.
5049
 
  cat >conftest.$ac_ext <<_ACEOF
5050
 
/* confdefs.h.  */
5051
 
_ACEOF
5052
 
cat confdefs.h >>conftest.$ac_ext
5053
 
cat >>conftest.$ac_ext <<_ACEOF
 
5227
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5054
5228
/* end confdefs.h.  */
5055
5229
#include <ac_nonexistent.h>
5056
5230
_ACEOF
5057
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5058
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5059
 
  ac_status=$?
5060
 
  grep -v '^ *+' conftest.er1 >conftest.err
5061
 
  rm -f conftest.er1
5062
 
  cat conftest.err >&5
5063
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5064
 
  (exit $ac_status); } >/dev/null; then
5065
 
  if test -s conftest.err; then
5066
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5067
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5068
 
  else
5069
 
    ac_cpp_err=
5070
 
  fi
5071
 
else
5072
 
  ac_cpp_err=yes
5073
 
fi
5074
 
if test -z "$ac_cpp_err"; then
 
5231
if ac_fn_c_try_cpp "$LINENO"; then :
5075
5232
  # Broken: success on invalid input.
5076
5233
continue
5077
5234
else
5078
 
  echo "$as_me: failed program was:" >&5
5079
 
sed 's/^/| /' conftest.$ac_ext >&5
5080
 
 
5081
5235
  # Passes both tests.
5082
5236
ac_preproc_ok=:
5083
5237
break
5084
5238
fi
5085
 
rm -f conftest.err conftest.$ac_ext
 
5239
rm -f conftest.err conftest.i conftest.$ac_ext
5086
5240
 
5087
5241
done
5088
5242
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5089
 
rm -f conftest.err conftest.$ac_ext
5090
 
if $ac_preproc_ok; then
5091
 
  :
 
5243
rm -f conftest.i conftest.err conftest.$ac_ext
 
5244
if $ac_preproc_ok; then :
 
5245
 
5092
5246
else
5093
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5094
 
See \`config.log' for more details." >&5
5095
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5096
 
See \`config.log' for more details." >&2;}
5097
 
   { (exit 1); exit 1; }; }
 
5247
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
5248
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
5249
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
5250
See \`config.log' for more details" "$LINENO" 5 ; }
5098
5251
fi
5099
5252
 
5100
5253
ac_ext=c
5104
5257
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5105
5258
 
5106
5259
 
5107
 
echo "$as_me:$LINENO: checking for egrep" >&5
5108
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5109
 
if test "${ac_cv_prog_egrep+set}" = set; then
5110
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5111
 
else
5112
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5113
 
    then ac_cv_prog_egrep='grep -E'
5114
 
    else ac_cv_prog_egrep='egrep'
5115
 
    fi
5116
 
fi
5117
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5118
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5119
 
 EGREP=$ac_cv_prog_egrep
5120
 
 
5121
 
 
5122
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5123
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5124
 
if test "${ac_cv_header_stdc+set}" = set; then
5125
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5126
 
else
5127
 
  cat >conftest.$ac_ext <<_ACEOF
5128
 
/* confdefs.h.  */
5129
 
_ACEOF
5130
 
cat confdefs.h >>conftest.$ac_ext
5131
 
cat >>conftest.$ac_ext <<_ACEOF
 
5260
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
5261
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
5262
if test "${ac_cv_path_GREP+set}" = set; then :
 
5263
  $as_echo_n "(cached) " >&6
 
5264
else
 
5265
  if test -z "$GREP"; then
 
5266
  ac_path_GREP_found=false
 
5267
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5268
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5269
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
5270
do
 
5271
  IFS=$as_save_IFS
 
5272
  test -z "$as_dir" && as_dir=.
 
5273
    for ac_prog in grep ggrep; do
 
5274
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5275
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
5276
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
5277
# Check for GNU ac_path_GREP and select it if it is found.
 
5278
  # Check for GNU $ac_path_GREP
 
5279
case `"$ac_path_GREP" --version 2>&1` in
 
5280
*GNU*)
 
5281
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
5282
*)
 
5283
  ac_count=0
 
5284
  $as_echo_n 0123456789 >"conftest.in"
 
5285
  while :
 
5286
  do
 
5287
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5288
    mv "conftest.tmp" "conftest.in"
 
5289
    cp "conftest.in" "conftest.nl"
 
5290
    $as_echo 'GREP' >> "conftest.nl"
 
5291
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5292
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5293
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
5294
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
5295
      # Best one so far, save it but keep looking for a better one
 
5296
      ac_cv_path_GREP="$ac_path_GREP"
 
5297
      ac_path_GREP_max=$ac_count
 
5298
    fi
 
5299
    # 10*(2^10) chars as input seems more than enough
 
5300
    test $ac_count -gt 10 && break
 
5301
  done
 
5302
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5303
esac
 
5304
 
 
5305
      $ac_path_GREP_found && break 3
 
5306
    done
 
5307
  done
 
5308
  done
 
5309
IFS=$as_save_IFS
 
5310
  if test -z "$ac_cv_path_GREP"; then
 
5311
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5312
  fi
 
5313
else
 
5314
  ac_cv_path_GREP=$GREP
 
5315
fi
 
5316
 
 
5317
fi
 
5318
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
5319
$as_echo "$ac_cv_path_GREP" >&6; }
 
5320
 GREP="$ac_cv_path_GREP"
 
5321
 
 
5322
 
 
5323
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
5324
$as_echo_n "checking for egrep... " >&6; }
 
5325
if test "${ac_cv_path_EGREP+set}" = set; then :
 
5326
  $as_echo_n "(cached) " >&6
 
5327
else
 
5328
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
5329
   then ac_cv_path_EGREP="$GREP -E"
 
5330
   else
 
5331
     if test -z "$EGREP"; then
 
5332
  ac_path_EGREP_found=false
 
5333
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5334
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5335
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
5336
do
 
5337
  IFS=$as_save_IFS
 
5338
  test -z "$as_dir" && as_dir=.
 
5339
    for ac_prog in egrep; do
 
5340
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5341
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
5342
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
5343
# Check for GNU ac_path_EGREP and select it if it is found.
 
5344
  # Check for GNU $ac_path_EGREP
 
5345
case `"$ac_path_EGREP" --version 2>&1` in
 
5346
*GNU*)
 
5347
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
5348
*)
 
5349
  ac_count=0
 
5350
  $as_echo_n 0123456789 >"conftest.in"
 
5351
  while :
 
5352
  do
 
5353
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5354
    mv "conftest.tmp" "conftest.in"
 
5355
    cp "conftest.in" "conftest.nl"
 
5356
    $as_echo 'EGREP' >> "conftest.nl"
 
5357
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5358
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5359
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
5360
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
5361
      # Best one so far, save it but keep looking for a better one
 
5362
      ac_cv_path_EGREP="$ac_path_EGREP"
 
5363
      ac_path_EGREP_max=$ac_count
 
5364
    fi
 
5365
    # 10*(2^10) chars as input seems more than enough
 
5366
    test $ac_count -gt 10 && break
 
5367
  done
 
5368
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5369
esac
 
5370
 
 
5371
      $ac_path_EGREP_found && break 3
 
5372
    done
 
5373
  done
 
5374
  done
 
5375
IFS=$as_save_IFS
 
5376
  if test -z "$ac_cv_path_EGREP"; then
 
5377
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5378
  fi
 
5379
else
 
5380
  ac_cv_path_EGREP=$EGREP
 
5381
fi
 
5382
 
 
5383
   fi
 
5384
fi
 
5385
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
5386
$as_echo "$ac_cv_path_EGREP" >&6; }
 
5387
 EGREP="$ac_cv_path_EGREP"
 
5388
 
 
5389
 
 
5390
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
5391
$as_echo_n "checking for ANSI C header files... " >&6; }
 
5392
if test "${ac_cv_header_stdc+set}" = set; then :
 
5393
  $as_echo_n "(cached) " >&6
 
5394
else
 
5395
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5132
5396
/* end confdefs.h.  */
5133
5397
#include <stdlib.h>
5134
5398
#include <stdarg.h>
5143
5407
  return 0;
5144
5408
}
5145
5409
_ACEOF
5146
 
rm -f conftest.$ac_objext
5147
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5148
 
  (eval $ac_compile) 2>conftest.er1
5149
 
  ac_status=$?
5150
 
  grep -v '^ *+' conftest.er1 >conftest.err
5151
 
  rm -f conftest.er1
5152
 
  cat conftest.err >&5
5153
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5154
 
  (exit $ac_status); } &&
5155
 
         { ac_try='test -z "$ac_c_werror_flag"
5156
 
                         || test ! -s conftest.err'
5157
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5158
 
  (eval $ac_try) 2>&5
5159
 
  ac_status=$?
5160
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5161
 
  (exit $ac_status); }; } &&
5162
 
         { ac_try='test -s conftest.$ac_objext'
5163
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5164
 
  (eval $ac_try) 2>&5
5165
 
  ac_status=$?
5166
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5167
 
  (exit $ac_status); }; }; then
 
5410
if ac_fn_c_try_compile "$LINENO"; then :
5168
5411
  ac_cv_header_stdc=yes
5169
5412
else
5170
 
  echo "$as_me: failed program was:" >&5
5171
 
sed 's/^/| /' conftest.$ac_ext >&5
5172
 
 
5173
 
ac_cv_header_stdc=no
 
5413
  ac_cv_header_stdc=no
5174
5414
fi
5175
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5415
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5176
5416
 
5177
5417
if test $ac_cv_header_stdc = yes; then
5178
5418
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5179
 
  cat >conftest.$ac_ext <<_ACEOF
5180
 
/* confdefs.h.  */
5181
 
_ACEOF
5182
 
cat confdefs.h >>conftest.$ac_ext
5183
 
cat >>conftest.$ac_ext <<_ACEOF
 
5419
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5184
5420
/* end confdefs.h.  */
5185
5421
#include <string.h>
5186
5422
 
5187
5423
_ACEOF
5188
5424
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5189
 
  $EGREP "memchr" >/dev/null 2>&1; then
5190
 
  :
 
5425
  $EGREP "memchr" >/dev/null 2>&1; then :
 
5426
 
5191
5427
else
5192
5428
  ac_cv_header_stdc=no
5193
5429
fi
5197
5433
 
5198
5434
if test $ac_cv_header_stdc = yes; then
5199
5435
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5200
 
  cat >conftest.$ac_ext <<_ACEOF
5201
 
/* confdefs.h.  */
5202
 
_ACEOF
5203
 
cat confdefs.h >>conftest.$ac_ext
5204
 
cat >>conftest.$ac_ext <<_ACEOF
 
5436
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5205
5437
/* end confdefs.h.  */
5206
5438
#include <stdlib.h>
5207
5439
 
5208
5440
_ACEOF
5209
5441
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5210
 
  $EGREP "free" >/dev/null 2>&1; then
5211
 
  :
 
5442
  $EGREP "free" >/dev/null 2>&1; then :
 
5443
 
5212
5444
else
5213
5445
  ac_cv_header_stdc=no
5214
5446
fi
5218
5450
 
5219
5451
if test $ac_cv_header_stdc = yes; then
5220
5452
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5221
 
  if test "$cross_compiling" = yes; then
 
5453
  if test "$cross_compiling" = yes; then :
5222
5454
  :
5223
5455
else
5224
 
  cat >conftest.$ac_ext <<_ACEOF
5225
 
/* confdefs.h.  */
5226
 
_ACEOF
5227
 
cat confdefs.h >>conftest.$ac_ext
5228
 
cat >>conftest.$ac_ext <<_ACEOF
 
5456
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5229
5457
/* end confdefs.h.  */
5230
5458
#include <ctype.h>
 
5459
#include <stdlib.h>
5231
5460
#if ((' ' & 0x0FF) == 0x020)
5232
5461
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5233
5462
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5247
5476
  for (i = 0; i < 256; i++)
5248
5477
    if (XOR (islower (i), ISLOWER (i))
5249
5478
        || toupper (i) != TOUPPER (i))
5250
 
      exit(2);
5251
 
  exit (0);
 
5479
      return 2;
 
5480
  return 0;
5252
5481
}
5253
5482
_ACEOF
5254
 
rm -f conftest$ac_exeext
5255
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5256
 
  (eval $ac_link) 2>&5
5257
 
  ac_status=$?
5258
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5259
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5260
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5261
 
  (eval $ac_try) 2>&5
5262
 
  ac_status=$?
5263
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5264
 
  (exit $ac_status); }; }; then
5265
 
  :
 
5483
if ac_fn_c_try_run "$LINENO"; then :
 
5484
 
5266
5485
else
5267
 
  echo "$as_me: program exited with status $ac_status" >&5
5268
 
echo "$as_me: failed program was:" >&5
5269
 
sed 's/^/| /' conftest.$ac_ext >&5
 
5486
  ac_cv_header_stdc=no
 
5487
fi
 
5488
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
5489
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
5490
fi
5270
5491
 
5271
 
( exit $ac_status )
5272
 
ac_cv_header_stdc=no
5273
 
fi
5274
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5275
 
fi
5276
 
fi
5277
 
fi
5278
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5279
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
5492
fi
 
5493
fi
 
5494
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
5495
$as_echo "$ac_cv_header_stdc" >&6; }
5280
5496
if test $ac_cv_header_stdc = yes; then
5281
5497
 
5282
 
cat >>confdefs.h <<\_ACEOF
5283
 
#define STDC_HEADERS 1
5284
 
_ACEOF
 
5498
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5285
5499
 
5286
5500
fi
5287
5501
 
5288
5502
 
5289
 
# Check whether --enable-static or --disable-static was given.
5290
 
if test "${enable_static+set}" = set; then
5291
 
  enableval="$enable_static"
5292
 
  p=${PACKAGE-default}
 
5503
# Check whether --enable-static was given.
 
5504
if test "${enable_static+set}" = set; then :
 
5505
  enableval=$enable_static; p=${PACKAGE-default}
5293
5506
    case $enableval in
5294
5507
    yes) enable_static=yes ;;
5295
5508
    no) enable_static=no ;;
5308
5521
    esac
5309
5522
else
5310
5523
  enable_static=no
5311
 
fi;
5312
 
 
5313
 
 
5314
 
# Check whether --enable-shared or --disable-shared was given.
5315
 
if test "${enable_shared+set}" = set; then
5316
 
  enableval="$enable_shared"
5317
 
  p=${PACKAGE-default}
5318
 
    case $enableval in
5319
 
    yes) enable_shared=yes ;;
5320
 
    no) enable_shared=no ;;
5321
 
    *)
5322
 
      enable_shared=no
5323
 
      # Look at the argument we got.  We use all the common list separators.
5324
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5325
 
      for pkg in $enableval; do
5326
 
        IFS="$lt_save_ifs"
5327
 
        if test "X$pkg" = "X$p"; then
5328
 
          enable_shared=yes
5329
 
        fi
5330
 
      done
5331
 
      IFS="$lt_save_ifs"
5332
 
      ;;
5333
 
    esac
5334
 
else
5335
 
  enable_shared=yes
5336
 
fi;
5337
 
 
5338
 
# Check whether --enable-fast-install or --disable-fast-install was given.
5339
 
if test "${enable_fast_install+set}" = set; then
5340
 
  enableval="$enable_fast_install"
5341
 
  p=${PACKAGE-default}
5342
 
    case $enableval in
5343
 
    yes) enable_fast_install=yes ;;
5344
 
    no) enable_fast_install=no ;;
5345
 
    *)
5346
 
      enable_fast_install=no
5347
 
      # Look at the argument we got.  We use all the common list separators.
5348
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5349
 
      for pkg in $enableval; do
5350
 
        IFS="$lt_save_ifs"
5351
 
        if test "X$pkg" = "X$p"; then
5352
 
          enable_fast_install=yes
5353
 
        fi
5354
 
      done
5355
 
      IFS="$lt_save_ifs"
5356
 
      ;;
5357
 
    esac
5358
 
else
5359
 
  enable_fast_install=yes
5360
 
fi;
 
5524
fi
 
5525
 
 
5526
 
 
5527
 
 
5528
 
 
5529
 
 
5530
 
 
5531
 
 
5532
 
 
5533
 
 
5534
case `pwd` in
 
5535
  *\ * | *\     *)
 
5536
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
5537
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
5538
esac
 
5539
 
 
5540
 
 
5541
 
 
5542
macro_version='2.2.6b'
 
5543
macro_revision='1.3017'
 
5544
 
 
5545
 
 
5546
 
 
5547
 
 
5548
 
 
5549
 
 
5550
 
 
5551
 
 
5552
 
 
5553
 
 
5554
 
 
5555
 
 
5556
 
 
5557
ltmain="$ac_aux_dir/ltmain.sh"
5361
5558
 
5362
5559
# Make sure we can run config.sub.
5363
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
5364
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
5365
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
5366
 
   { (exit 1); exit 1; }; }
 
5560
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
5561
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5367
5562
 
5368
 
echo "$as_me:$LINENO: checking build system type" >&5
5369
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
5370
 
if test "${ac_cv_build+set}" = set; then
5371
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5563
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
5564
$as_echo_n "checking build system type... " >&6; }
 
5565
if test "${ac_cv_build+set}" = set; then :
 
5566
  $as_echo_n "(cached) " >&6
5372
5567
else
5373
 
  ac_cv_build_alias=$build_alias
5374
 
test -z "$ac_cv_build_alias" &&
5375
 
  ac_cv_build_alias=`$ac_config_guess`
5376
 
test -z "$ac_cv_build_alias" &&
5377
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5378
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5379
 
   { (exit 1); exit 1; }; }
5380
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
5381
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
5382
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
5383
 
   { (exit 1); exit 1; }; }
 
5568
  ac_build_alias=$build_alias
 
5569
test "x$ac_build_alias" = x &&
 
5570
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
5571
test "x$ac_build_alias" = x &&
 
5572
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 
5573
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
5574
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5384
5575
 
5385
5576
fi
5386
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5387
 
echo "${ECHO_T}$ac_cv_build" >&6
 
5577
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
5578
$as_echo "$ac_cv_build" >&6; }
 
5579
case $ac_cv_build in
 
5580
*-*-*) ;;
 
5581
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
 
5582
esac
5388
5583
build=$ac_cv_build
5389
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5390
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5391
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5392
 
 
5393
 
 
5394
 
echo "$as_me:$LINENO: checking host system type" >&5
5395
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
5396
 
if test "${ac_cv_host+set}" = set; then
5397
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5398
 
else
5399
 
  ac_cv_host_alias=$host_alias
5400
 
test -z "$ac_cv_host_alias" &&
5401
 
  ac_cv_host_alias=$ac_cv_build_alias
5402
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
5403
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
5404
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
5405
 
   { (exit 1); exit 1; }; }
5406
 
 
5407
 
fi
5408
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5409
 
echo "${ECHO_T}$ac_cv_host" >&6
 
5584
ac_save_IFS=$IFS; IFS='-'
 
5585
set x $ac_cv_build
 
5586
shift
 
5587
build_cpu=$1
 
5588
build_vendor=$2
 
5589
shift; shift
 
5590
# Remember, the first character of IFS is used to create $*,
 
5591
# except with old shells:
 
5592
build_os=$*
 
5593
IFS=$ac_save_IFS
 
5594
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
5595
 
 
5596
 
 
5597
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
5598
$as_echo_n "checking host system type... " >&6; }
 
5599
if test "${ac_cv_host+set}" = set; then :
 
5600
  $as_echo_n "(cached) " >&6
 
5601
else
 
5602
  if test "x$host_alias" = x; then
 
5603
  ac_cv_host=$ac_cv_build
 
5604
else
 
5605
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
5606
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
5607
fi
 
5608
 
 
5609
fi
 
5610
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
5611
$as_echo "$ac_cv_host" >&6; }
 
5612
case $ac_cv_host in
 
5613
*-*-*) ;;
 
5614
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
 
5615
esac
5410
5616
host=$ac_cv_host
5411
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5412
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5413
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5414
 
 
5415
 
 
5416
 
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5417
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
5418
 
if test "${lt_cv_path_SED+set}" = set; then
5419
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5617
ac_save_IFS=$IFS; IFS='-'
 
5618
set x $ac_cv_host
 
5619
shift
 
5620
host_cpu=$1
 
5621
host_vendor=$2
 
5622
shift; shift
 
5623
# Remember, the first character of IFS is used to create $*,
 
5624
# except with old shells:
 
5625
host_os=$*
 
5626
IFS=$ac_save_IFS
 
5627
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
5628
 
 
5629
 
 
5630
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
5631
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
5632
if test "${ac_cv_path_SED+set}" = set; then :
 
5633
  $as_echo_n "(cached) " >&6
5420
5634
else
5421
 
  # Loop through the user's path and test for sed and gsed.
5422
 
# Then use that list of sed's as ones to test for truncation.
5423
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5635
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
5636
     for ac_i in 1 2 3 4 5 6 7; do
 
5637
       ac_script="$ac_script$as_nl$ac_script"
 
5638
     done
 
5639
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
5640
     { ac_script=; unset ac_script;}
 
5641
     if test -z "$SED"; then
 
5642
  ac_path_SED_found=false
 
5643
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5644
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5424
5645
for as_dir in $PATH
5425
5646
do
5426
5647
  IFS=$as_save_IFS
5427
5648
  test -z "$as_dir" && as_dir=.
5428
 
  for lt_ac_prog in sed gsed; do
5429
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5430
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
5431
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5432
 
      fi
5433
 
    done
5434
 
  done
5435
 
done
5436
 
lt_ac_max=0
5437
 
lt_ac_count=0
5438
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
5439
 
# along with /bin/sed that truncates output.
5440
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
5441
 
  test ! -f $lt_ac_sed && continue
5442
 
  cat /dev/null > conftest.in
5443
 
  lt_ac_count=0
5444
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
5445
 
  # Check for GNU sed and select it if it is found.
5446
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
5447
 
    lt_cv_path_SED=$lt_ac_sed
5448
 
    break
5449
 
  fi
5450
 
  while true; do
5451
 
    cat conftest.in conftest.in >conftest.tmp
5452
 
    mv conftest.tmp conftest.in
5453
 
    cp conftest.in conftest.nl
5454
 
    echo >>conftest.nl
5455
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
5456
 
    cmp -s conftest.out conftest.nl || break
5457
 
    # 10000 chars as input seems more than enough
5458
 
    test $lt_ac_count -gt 10 && break
5459
 
    lt_ac_count=`expr $lt_ac_count + 1`
5460
 
    if test $lt_ac_count -gt $lt_ac_max; then
5461
 
      lt_ac_max=$lt_ac_count
5462
 
      lt_cv_path_SED=$lt_ac_sed
5463
 
    fi
5464
 
  done
5465
 
done
5466
 
 
5467
 
fi
5468
 
 
5469
 
SED=$lt_cv_path_SED
5470
 
echo "$as_me:$LINENO: result: $SED" >&5
5471
 
echo "${ECHO_T}$SED" >&6
5472
 
 
5473
 
 
5474
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
5475
 
if test "${with_gnu_ld+set}" = set; then
5476
 
  withval="$with_gnu_ld"
5477
 
  test "$withval" = no || with_gnu_ld=yes
 
5649
    for ac_prog in sed gsed; do
 
5650
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5651
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
5652
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
5653
# Check for GNU ac_path_SED and select it if it is found.
 
5654
  # Check for GNU $ac_path_SED
 
5655
case `"$ac_path_SED" --version 2>&1` in
 
5656
*GNU*)
 
5657
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
5658
*)
 
5659
  ac_count=0
 
5660
  $as_echo_n 0123456789 >"conftest.in"
 
5661
  while :
 
5662
  do
 
5663
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5664
    mv "conftest.tmp" "conftest.in"
 
5665
    cp "conftest.in" "conftest.nl"
 
5666
    $as_echo '' >> "conftest.nl"
 
5667
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5668
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5669
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
5670
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
5671
      # Best one so far, save it but keep looking for a better one
 
5672
      ac_cv_path_SED="$ac_path_SED"
 
5673
      ac_path_SED_max=$ac_count
 
5674
    fi
 
5675
    # 10*(2^10) chars as input seems more than enough
 
5676
    test $ac_count -gt 10 && break
 
5677
  done
 
5678
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5679
esac
 
5680
 
 
5681
      $ac_path_SED_found && break 3
 
5682
    done
 
5683
  done
 
5684
  done
 
5685
IFS=$as_save_IFS
 
5686
  if test -z "$ac_cv_path_SED"; then
 
5687
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
5688
  fi
 
5689
else
 
5690
  ac_cv_path_SED=$SED
 
5691
fi
 
5692
 
 
5693
fi
 
5694
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
5695
$as_echo "$ac_cv_path_SED" >&6; }
 
5696
 SED="$ac_cv_path_SED"
 
5697
  rm -f conftest.sed
 
5698
 
 
5699
test -z "$SED" && SED=sed
 
5700
Xsed="$SED -e 1s/^X//"
 
5701
 
 
5702
 
 
5703
 
 
5704
 
 
5705
 
 
5706
 
 
5707
 
 
5708
 
 
5709
 
 
5710
 
 
5711
 
 
5712
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 
5713
$as_echo_n "checking for fgrep... " >&6; }
 
5714
if test "${ac_cv_path_FGREP+set}" = set; then :
 
5715
  $as_echo_n "(cached) " >&6
 
5716
else
 
5717
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
5718
   then ac_cv_path_FGREP="$GREP -F"
 
5719
   else
 
5720
     if test -z "$FGREP"; then
 
5721
  ac_path_FGREP_found=false
 
5722
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5723
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5724
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
5725
do
 
5726
  IFS=$as_save_IFS
 
5727
  test -z "$as_dir" && as_dir=.
 
5728
    for ac_prog in fgrep; do
 
5729
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5730
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
5731
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
5732
# Check for GNU ac_path_FGREP and select it if it is found.
 
5733
  # Check for GNU $ac_path_FGREP
 
5734
case `"$ac_path_FGREP" --version 2>&1` in
 
5735
*GNU*)
 
5736
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
5737
*)
 
5738
  ac_count=0
 
5739
  $as_echo_n 0123456789 >"conftest.in"
 
5740
  while :
 
5741
  do
 
5742
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5743
    mv "conftest.tmp" "conftest.in"
 
5744
    cp "conftest.in" "conftest.nl"
 
5745
    $as_echo 'FGREP' >> "conftest.nl"
 
5746
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5747
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5748
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
5749
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
5750
      # Best one so far, save it but keep looking for a better one
 
5751
      ac_cv_path_FGREP="$ac_path_FGREP"
 
5752
      ac_path_FGREP_max=$ac_count
 
5753
    fi
 
5754
    # 10*(2^10) chars as input seems more than enough
 
5755
    test $ac_count -gt 10 && break
 
5756
  done
 
5757
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5758
esac
 
5759
 
 
5760
      $ac_path_FGREP_found && break 3
 
5761
    done
 
5762
  done
 
5763
  done
 
5764
IFS=$as_save_IFS
 
5765
  if test -z "$ac_cv_path_FGREP"; then
 
5766
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5767
  fi
 
5768
else
 
5769
  ac_cv_path_FGREP=$FGREP
 
5770
fi
 
5771
 
 
5772
   fi
 
5773
fi
 
5774
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 
5775
$as_echo "$ac_cv_path_FGREP" >&6; }
 
5776
 FGREP="$ac_cv_path_FGREP"
 
5777
 
 
5778
 
 
5779
test -z "$GREP" && GREP=grep
 
5780
 
 
5781
 
 
5782
 
 
5783
 
 
5784
 
 
5785
 
 
5786
 
 
5787
 
 
5788
 
 
5789
 
 
5790
 
 
5791
 
 
5792
 
 
5793
 
 
5794
 
 
5795
 
 
5796
 
 
5797
 
 
5798
 
 
5799
# Check whether --with-gnu-ld was given.
 
5800
if test "${with_gnu_ld+set}" = set; then :
 
5801
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5478
5802
else
5479
5803
  with_gnu_ld=no
5480
 
fi;
 
5804
fi
 
5805
 
5481
5806
ac_prog=ld
5482
5807
if test "$GCC" = yes; then
5483
5808
  # Check if gcc -print-prog-name=ld gives a path.
5484
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5485
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
5809
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
5810
$as_echo_n "checking for ld used by $CC... " >&6; }
5486
5811
  case $host in
5487
5812
  *-*-mingw*)
5488
5813
    # gcc leaves a trailing carriage return which upsets mingw
5495
5820
    [\\/]* | ?:[\\/]*)
5496
5821
      re_direlt='/[^/][^/]*/\.\./'
5497
5822
      # Canonicalize the pathname of ld
5498
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
5499
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5500
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
5823
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
5824
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
5825
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5501
5826
      done
5502
5827
      test -z "$LD" && LD="$ac_prog"
5503
5828
      ;;
5511
5836
    ;;
5512
5837
  esac
5513
5838
elif test "$with_gnu_ld" = yes; then
5514
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
5515
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
5839
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
5840
$as_echo_n "checking for GNU ld... " >&6; }
5516
5841
else
5517
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5518
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
5842
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
5843
$as_echo_n "checking for non-GNU ld... " >&6; }
5519
5844
fi
5520
 
if test "${lt_cv_path_LD+set}" = set; then
5521
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5845
if test "${lt_cv_path_LD+set}" = set; then :
 
5846
  $as_echo_n "(cached) " >&6
5522
5847
else
5523
5848
  if test -z "$LD"; then
5524
5849
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5548
5873
 
5549
5874
LD="$lt_cv_path_LD"
5550
5875
if test -n "$LD"; then
5551
 
  echo "$as_me:$LINENO: result: $LD" >&5
5552
 
echo "${ECHO_T}$LD" >&6
 
5876
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
5877
$as_echo "$LD" >&6; }
5553
5878
else
5554
 
  echo "$as_me:$LINENO: result: no" >&5
5555
 
echo "${ECHO_T}no" >&6
 
5879
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5880
$as_echo "no" >&6; }
5556
5881
fi
5557
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5558
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5559
 
   { (exit 1); exit 1; }; }
5560
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5561
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5562
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
5563
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5882
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
5883
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
5884
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
5885
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
5886
  $as_echo_n "(cached) " >&6
5564
5887
else
5565
5888
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5566
5889
case `$LD -v 2>&1 </dev/null` in
5572
5895
  ;;
5573
5896
esac
5574
5897
fi
5575
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5576
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
5898
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
5899
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5577
5900
with_gnu_ld=$lt_cv_prog_gnu_ld
5578
5901
 
5579
5902
 
5580
 
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5581
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5582
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
5583
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5584
 
else
5585
 
  lt_cv_ld_reload_flag='-r'
5586
 
fi
5587
 
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5588
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5589
 
reload_flag=$lt_cv_ld_reload_flag
5590
 
case $reload_flag in
5591
 
"" | " "*) ;;
5592
 
*) reload_flag=" $reload_flag" ;;
5593
 
esac
5594
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5595
 
case $host_os in
5596
 
  darwin*)
5597
 
    if test "$GCC" = yes; then
5598
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5599
 
    else
5600
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5601
 
    fi
5602
 
    ;;
5603
 
esac
5604
 
 
5605
 
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5606
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
5607
 
if test "${lt_cv_path_NM+set}" = set; then
5608
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5903
 
 
5904
 
 
5905
 
 
5906
 
 
5907
 
 
5908
 
 
5909
 
 
5910
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 
5911
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
5912
if test "${lt_cv_path_NM+set}" = set; then :
 
5913
  $as_echo_n "(cached) " >&6
5609
5914
else
5610
5915
  if test -n "$NM"; then
5611
5916
  # Let the user override the test.
5648
5953
    done
5649
5954
    IFS="$lt_save_ifs"
5650
5955
  done
5651
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
5652
 
fi
5653
 
fi
5654
 
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5655
 
echo "${ECHO_T}$lt_cv_path_NM" >&6
5656
 
NM="$lt_cv_path_NM"
5657
 
 
5658
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
5659
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
5956
  : ${lt_cv_path_NM=no}
 
5957
fi
 
5958
fi
 
5959
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 
5960
$as_echo "$lt_cv_path_NM" >&6; }
 
5961
if test "$lt_cv_path_NM" != "no"; then
 
5962
  NM="$lt_cv_path_NM"
 
5963
else
 
5964
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
5965
  if test -n "$ac_tool_prefix"; then
 
5966
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5967
  do
 
5968
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5969
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5970
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5971
$as_echo_n "checking for $ac_word... " >&6; }
 
5972
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
5973
  $as_echo_n "(cached) " >&6
 
5974
else
 
5975
  if test -n "$DUMPBIN"; then
 
5976
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
5977
else
 
5978
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5979
for as_dir in $PATH
 
5980
do
 
5981
  IFS=$as_save_IFS
 
5982
  test -z "$as_dir" && as_dir=.
 
5983
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5984
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5985
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
5986
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5987
    break 2
 
5988
  fi
 
5989
done
 
5990
  done
 
5991
IFS=$as_save_IFS
 
5992
 
 
5993
fi
 
5994
fi
 
5995
DUMPBIN=$ac_cv_prog_DUMPBIN
 
5996
if test -n "$DUMPBIN"; then
 
5997
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 
5998
$as_echo "$DUMPBIN" >&6; }
 
5999
else
 
6000
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6001
$as_echo "no" >&6; }
 
6002
fi
 
6003
 
 
6004
 
 
6005
    test -n "$DUMPBIN" && break
 
6006
  done
 
6007
fi
 
6008
if test -z "$DUMPBIN"; then
 
6009
  ac_ct_DUMPBIN=$DUMPBIN
 
6010
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
6011
do
 
6012
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
6013
set dummy $ac_prog; ac_word=$2
 
6014
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6015
$as_echo_n "checking for $ac_word... " >&6; }
 
6016
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
6017
  $as_echo_n "(cached) " >&6
 
6018
else
 
6019
  if test -n "$ac_ct_DUMPBIN"; then
 
6020
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
6021
else
 
6022
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6023
for as_dir in $PATH
 
6024
do
 
6025
  IFS=$as_save_IFS
 
6026
  test -z "$as_dir" && as_dir=.
 
6027
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6028
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6029
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
6030
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6031
    break 2
 
6032
  fi
 
6033
done
 
6034
  done
 
6035
IFS=$as_save_IFS
 
6036
 
 
6037
fi
 
6038
fi
 
6039
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
6040
if test -n "$ac_ct_DUMPBIN"; then
 
6041
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 
6042
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
6043
else
 
6044
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6045
$as_echo "no" >&6; }
 
6046
fi
 
6047
 
 
6048
 
 
6049
  test -n "$ac_ct_DUMPBIN" && break
 
6050
done
 
6051
 
 
6052
  if test "x$ac_ct_DUMPBIN" = x; then
 
6053
    DUMPBIN=":"
 
6054
  else
 
6055
    case $cross_compiling:$ac_tool_warned in
 
6056
yes:)
 
6057
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6058
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6059
ac_tool_warned=yes ;;
 
6060
esac
 
6061
    DUMPBIN=$ac_ct_DUMPBIN
 
6062
  fi
 
6063
fi
 
6064
 
 
6065
 
 
6066
  if test "$DUMPBIN" != ":"; then
 
6067
    NM="$DUMPBIN"
 
6068
  fi
 
6069
fi
 
6070
test -z "$NM" && NM=nm
 
6071
 
 
6072
 
 
6073
 
 
6074
 
 
6075
 
 
6076
 
 
6077
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 
6078
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
6079
if test "${lt_cv_nm_interface+set}" = set; then :
 
6080
  $as_echo_n "(cached) " >&6
 
6081
else
 
6082
  lt_cv_nm_interface="BSD nm"
 
6083
  echo "int some_variable = 0;" > conftest.$ac_ext
 
6084
  (eval echo "\"\$as_me:6084: $ac_compile\"" >&5)
 
6085
  (eval "$ac_compile" 2>conftest.err)
 
6086
  cat conftest.err >&5
 
6087
  (eval echo "\"\$as_me:6087: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
6088
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
6089
  cat conftest.err >&5
 
6090
  (eval echo "\"\$as_me:6090: output\"" >&5)
 
6091
  cat conftest.out >&5
 
6092
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
6093
    lt_cv_nm_interface="MS dumpbin"
 
6094
  fi
 
6095
  rm -f conftest*
 
6096
fi
 
6097
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 
6098
$as_echo "$lt_cv_nm_interface" >&6; }
 
6099
 
 
6100
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
6101
$as_echo_n "checking whether ln -s works... " >&6; }
5660
6102
LN_S=$as_ln_s
5661
6103
if test "$LN_S" = "ln -s"; then
5662
 
  echo "$as_me:$LINENO: result: yes" >&5
5663
 
echo "${ECHO_T}yes" >&6
5664
 
else
5665
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5666
 
echo "${ECHO_T}no, using $LN_S" >&6
5667
 
fi
5668
 
 
5669
 
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
5670
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
5671
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
5672
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6104
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
6105
$as_echo "yes" >&6; }
 
6106
else
 
6107
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
6108
$as_echo "no, using $LN_S" >&6; }
 
6109
fi
 
6110
 
 
6111
# find the maximum length of command line arguments
 
6112
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 
6113
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
6114
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
6115
  $as_echo_n "(cached) " >&6
 
6116
else
 
6117
    i=0
 
6118
  teststring="ABCD"
 
6119
 
 
6120
  case $build_os in
 
6121
  msdosdjgpp*)
 
6122
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
6123
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
6124
    # during glob expansion).  Even if it were fixed, the result of this
 
6125
    # check would be larger than it should be.
 
6126
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
6127
    ;;
 
6128
 
 
6129
  gnu*)
 
6130
    # Under GNU Hurd, this test is not required because there is
 
6131
    # no limit to the length of command line arguments.
 
6132
    # Libtool will interpret -1 as no limit whatsoever
 
6133
    lt_cv_sys_max_cmd_len=-1;
 
6134
    ;;
 
6135
 
 
6136
  cygwin* | mingw* | cegcc*)
 
6137
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
6138
    # about 5 minutes as the teststring grows exponentially.
 
6139
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
6140
    # you end up with a "frozen" computer, even though with patience
 
6141
    # the test eventually succeeds (with a max line length of 256k).
 
6142
    # Instead, let's just punt: use the minimum linelength reported by
 
6143
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
6144
    lt_cv_sys_max_cmd_len=8192;
 
6145
    ;;
 
6146
 
 
6147
  amigaos*)
 
6148
    # On AmigaOS with pdksh, this test takes hours, literally.
 
6149
    # So we just punt and use a minimum line length of 8192.
 
6150
    lt_cv_sys_max_cmd_len=8192;
 
6151
    ;;
 
6152
 
 
6153
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
6154
    # This has been around since 386BSD, at least.  Likely further.
 
6155
    if test -x /sbin/sysctl; then
 
6156
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
6157
    elif test -x /usr/sbin/sysctl; then
 
6158
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
6159
    else
 
6160
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
6161
    fi
 
6162
    # And add a safety zone
 
6163
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6164
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6165
    ;;
 
6166
 
 
6167
  interix*)
 
6168
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
6169
    lt_cv_sys_max_cmd_len=196608
 
6170
    ;;
 
6171
 
 
6172
  osf*)
 
6173
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
6174
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
6175
    # nice to cause kernel panics so lets avoid the loop below.
 
6176
    # First set a reasonable default.
 
6177
    lt_cv_sys_max_cmd_len=16384
 
6178
    #
 
6179
    if test -x /sbin/sysconfig; then
 
6180
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
6181
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
6182
      esac
 
6183
    fi
 
6184
    ;;
 
6185
  sco3.2v5*)
 
6186
    lt_cv_sys_max_cmd_len=102400
 
6187
    ;;
 
6188
  sysv5* | sco5v6* | sysv4.2uw2*)
 
6189
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
6190
    if test -n "$kargmax"; then
 
6191
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
6192
    else
 
6193
      lt_cv_sys_max_cmd_len=32768
 
6194
    fi
 
6195
    ;;
 
6196
  *)
 
6197
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
6198
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
6199
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6200
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6201
    else
 
6202
      # Make teststring a little bigger before we do anything with it.
 
6203
      # a 1K string should be a reasonable start.
 
6204
      for i in 1 2 3 4 5 6 7 8 ; do
 
6205
        teststring=$teststring$teststring
 
6206
      done
 
6207
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
6208
      # If test is not a shell built-in, we'll probably end up computing a
 
6209
      # maximum length that is only half of the actual maximum length, but
 
6210
      # we can't tell.
 
6211
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
6212
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
6213
              test $i != 17 # 1/2 MB should be enough
 
6214
      do
 
6215
        i=`expr $i + 1`
 
6216
        teststring=$teststring$teststring
 
6217
      done
 
6218
      # Only check the string length outside the loop.
 
6219
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
6220
      teststring=
 
6221
      # Add a significant safety factor because C++ compilers can tack on
 
6222
      # massive amounts of additional arguments before passing them to the
 
6223
      # linker.  It appears as though 1/2 is a usable value.
 
6224
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6225
    fi
 
6226
    ;;
 
6227
  esac
 
6228
 
 
6229
fi
 
6230
 
 
6231
if test -n $lt_cv_sys_max_cmd_len ; then
 
6232
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 
6233
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
6234
else
 
6235
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 
6236
$as_echo "none" >&6; }
 
6237
fi
 
6238
max_cmd_len=$lt_cv_sys_max_cmd_len
 
6239
 
 
6240
 
 
6241
 
 
6242
 
 
6243
 
 
6244
 
 
6245
: ${CP="cp -f"}
 
6246
: ${MV="mv -f"}
 
6247
: ${RM="rm -f"}
 
6248
 
 
6249
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 
6250
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
6251
# Try some XSI features
 
6252
xsi_shell=no
 
6253
( _lt_dummy="a/b/c"
 
6254
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
6255
      = c,a/b,, \
 
6256
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
6257
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
6258
  && xsi_shell=yes
 
6259
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 
6260
$as_echo "$xsi_shell" >&6; }
 
6261
 
 
6262
 
 
6263
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 
6264
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
6265
lt_shell_append=no
 
6266
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
6267
    >/dev/null 2>&1 \
 
6268
  && lt_shell_append=yes
 
6269
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 
6270
$as_echo "$lt_shell_append" >&6; }
 
6271
 
 
6272
 
 
6273
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
6274
  lt_unset=unset
 
6275
else
 
6276
  lt_unset=false
 
6277
fi
 
6278
 
 
6279
 
 
6280
 
 
6281
 
 
6282
 
 
6283
# test EBCDIC or ASCII
 
6284
case `echo X|tr X '\101'` in
 
6285
 A) # ASCII based system
 
6286
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
6287
  lt_SP2NL='tr \040 \012'
 
6288
  lt_NL2SP='tr \015\012 \040\040'
 
6289
  ;;
 
6290
 *) # EBCDIC based system
 
6291
  lt_SP2NL='tr \100 \n'
 
6292
  lt_NL2SP='tr \r\n \100\100'
 
6293
  ;;
 
6294
esac
 
6295
 
 
6296
 
 
6297
 
 
6298
 
 
6299
 
 
6300
 
 
6301
 
 
6302
 
 
6303
 
 
6304
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 
6305
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
6306
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
6307
  $as_echo_n "(cached) " >&6
 
6308
else
 
6309
  lt_cv_ld_reload_flag='-r'
 
6310
fi
 
6311
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 
6312
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
6313
reload_flag=$lt_cv_ld_reload_flag
 
6314
case $reload_flag in
 
6315
"" | " "*) ;;
 
6316
*) reload_flag=" $reload_flag" ;;
 
6317
esac
 
6318
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
6319
case $host_os in
 
6320
  darwin*)
 
6321
    if test "$GCC" = yes; then
 
6322
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
6323
    else
 
6324
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
6325
    fi
 
6326
    ;;
 
6327
esac
 
6328
 
 
6329
 
 
6330
 
 
6331
 
 
6332
 
 
6333
 
 
6334
 
 
6335
 
 
6336
 
 
6337
if test -n "$ac_tool_prefix"; then
 
6338
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
6339
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
6340
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6341
$as_echo_n "checking for $ac_word... " >&6; }
 
6342
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
6343
  $as_echo_n "(cached) " >&6
 
6344
else
 
6345
  if test -n "$OBJDUMP"; then
 
6346
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
6347
else
 
6348
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6349
for as_dir in $PATH
 
6350
do
 
6351
  IFS=$as_save_IFS
 
6352
  test -z "$as_dir" && as_dir=.
 
6353
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6354
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6355
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
6356
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6357
    break 2
 
6358
  fi
 
6359
done
 
6360
  done
 
6361
IFS=$as_save_IFS
 
6362
 
 
6363
fi
 
6364
fi
 
6365
OBJDUMP=$ac_cv_prog_OBJDUMP
 
6366
if test -n "$OBJDUMP"; then
 
6367
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
6368
$as_echo "$OBJDUMP" >&6; }
 
6369
else
 
6370
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6371
$as_echo "no" >&6; }
 
6372
fi
 
6373
 
 
6374
 
 
6375
fi
 
6376
if test -z "$ac_cv_prog_OBJDUMP"; then
 
6377
  ac_ct_OBJDUMP=$OBJDUMP
 
6378
  # Extract the first word of "objdump", so it can be a program name with args.
 
6379
set dummy objdump; ac_word=$2
 
6380
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6381
$as_echo_n "checking for $ac_word... " >&6; }
 
6382
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
6383
  $as_echo_n "(cached) " >&6
 
6384
else
 
6385
  if test -n "$ac_ct_OBJDUMP"; then
 
6386
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
6387
else
 
6388
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6389
for as_dir in $PATH
 
6390
do
 
6391
  IFS=$as_save_IFS
 
6392
  test -z "$as_dir" && as_dir=.
 
6393
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6394
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6395
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
6396
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6397
    break 2
 
6398
  fi
 
6399
done
 
6400
  done
 
6401
IFS=$as_save_IFS
 
6402
 
 
6403
fi
 
6404
fi
 
6405
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
6406
if test -n "$ac_ct_OBJDUMP"; then
 
6407
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
6408
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
6409
else
 
6410
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6411
$as_echo "no" >&6; }
 
6412
fi
 
6413
 
 
6414
  if test "x$ac_ct_OBJDUMP" = x; then
 
6415
    OBJDUMP="false"
 
6416
  else
 
6417
    case $cross_compiling:$ac_tool_warned in
 
6418
yes:)
 
6419
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6420
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6421
ac_tool_warned=yes ;;
 
6422
esac
 
6423
    OBJDUMP=$ac_ct_OBJDUMP
 
6424
  fi
 
6425
else
 
6426
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
6427
fi
 
6428
 
 
6429
test -z "$OBJDUMP" && OBJDUMP=objdump
 
6430
 
 
6431
 
 
6432
 
 
6433
 
 
6434
 
 
6435
 
 
6436
 
 
6437
 
 
6438
 
 
6439
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 
6440
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 
6441
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
6442
  $as_echo_n "(cached) " >&6
5673
6443
else
5674
6444
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5675
6445
lt_cv_file_magic_test_file=
5686
6456
# whether `pass_all' will *always* work, you probably want this one.
5687
6457
 
5688
6458
case $host_os in
5689
 
aix4* | aix5*)
 
6459
aix[4-9]*)
5690
6460
  lt_cv_deplibs_check_method=pass_all
5691
6461
  ;;
5692
6462
 
5708
6478
 
5709
6479
mingw* | pw32*)
5710
6480
  # Base MSYS/MinGW do not provide the 'file' command needed by
5711
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
5712
 
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
6481
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
6482
  # unless we find 'file', for example because we are cross-compiling.
 
6483
  if ( file / ) >/dev/null 2>&1; then
 
6484
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
6485
    lt_cv_file_magic_cmd='func_win32_libid'
 
6486
  else
 
6487
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
6488
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
6489
  fi
 
6490
  ;;
 
6491
 
 
6492
cegcc)
 
6493
  # use the weaker test based on 'objdump'. See mingw*.
 
6494
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5713
6495
  lt_cv_file_magic_cmd='$OBJDUMP -f'
5714
6496
  ;;
5715
6497
 
5717
6499
  lt_cv_deplibs_check_method=pass_all
5718
6500
  ;;
5719
6501
 
5720
 
freebsd* | kfreebsd*-gnu | dragonfly*)
5721
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
6502
freebsd* | dragonfly*)
 
6503
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5722
6504
    case $host_cpu in
5723
6505
    i*86 )
5724
6506
      # Not sure whether the presence of OpenBSD here was a mistake.
5755
6537
  esac
5756
6538
  ;;
5757
6539
 
5758
 
interix3*)
 
6540
interix[3-9]*)
5759
6541
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5760
6542
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5761
6543
  ;;
5771
6553
  ;;
5772
6554
 
5773
6555
# This must be Linux ELF.
5774
 
linux*)
 
6556
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5775
6557
  lt_cv_deplibs_check_method=pass_all
5776
6558
  ;;
5777
6559
 
5778
 
netbsd*)
5779
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
6560
netbsd* | netbsdelf*-gnu)
 
6561
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5780
6562
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5781
6563
  else
5782
6564
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5789
6571
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5790
6572
  ;;
5791
6573
 
5792
 
nto-qnx*)
5793
 
  lt_cv_deplibs_check_method=unknown
 
6574
*nto* | *qnx*)
 
6575
  lt_cv_deplibs_check_method=pass_all
5794
6576
  ;;
5795
6577
 
5796
6578
openbsd*)
5797
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
6579
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5798
6580
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5799
6581
  else
5800
6582
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5805
6587
  lt_cv_deplibs_check_method=pass_all
5806
6588
  ;;
5807
6589
 
 
6590
rdos*)
 
6591
  lt_cv_deplibs_check_method=pass_all
 
6592
  ;;
 
6593
 
5808
6594
solaris*)
5809
6595
  lt_cv_deplibs_check_method=pass_all
5810
6596
  ;;
5811
6597
 
 
6598
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
6599
  lt_cv_deplibs_check_method=pass_all
 
6600
  ;;
 
6601
 
5812
6602
sysv4 | sysv4.3*)
5813
6603
  case $host_vendor in
5814
6604
  motorola)
5836
6626
  esac
5837
6627
  ;;
5838
6628
 
5839
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
6629
tpf*)
5840
6630
  lt_cv_deplibs_check_method=pass_all
5841
6631
  ;;
5842
6632
esac
5843
6633
 
5844
6634
fi
5845
 
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5846
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 
6635
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 
6636
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5847
6637
file_magic_cmd=$lt_cv_file_magic_cmd
5848
6638
deplibs_check_method=$lt_cv_deplibs_check_method
5849
6639
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5851
6641
 
5852
6642
 
5853
6643
 
 
6644
 
 
6645
 
 
6646
 
 
6647
 
 
6648
 
 
6649
 
 
6650
 
 
6651
 
 
6652
if test -n "$ac_tool_prefix"; then
 
6653
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
6654
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
6655
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6656
$as_echo_n "checking for $ac_word... " >&6; }
 
6657
if test "${ac_cv_prog_AR+set}" = set; then :
 
6658
  $as_echo_n "(cached) " >&6
 
6659
else
 
6660
  if test -n "$AR"; then
 
6661
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
6662
else
 
6663
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6664
for as_dir in $PATH
 
6665
do
 
6666
  IFS=$as_save_IFS
 
6667
  test -z "$as_dir" && as_dir=.
 
6668
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6669
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6670
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
6671
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6672
    break 2
 
6673
  fi
 
6674
done
 
6675
  done
 
6676
IFS=$as_save_IFS
 
6677
 
 
6678
fi
 
6679
fi
 
6680
AR=$ac_cv_prog_AR
 
6681
if test -n "$AR"; then
 
6682
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
6683
$as_echo "$AR" >&6; }
 
6684
else
 
6685
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6686
$as_echo "no" >&6; }
 
6687
fi
 
6688
 
 
6689
 
 
6690
fi
 
6691
if test -z "$ac_cv_prog_AR"; then
 
6692
  ac_ct_AR=$AR
 
6693
  # Extract the first word of "ar", so it can be a program name with args.
 
6694
set dummy ar; ac_word=$2
 
6695
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6696
$as_echo_n "checking for $ac_word... " >&6; }
 
6697
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
6698
  $as_echo_n "(cached) " >&6
 
6699
else
 
6700
  if test -n "$ac_ct_AR"; then
 
6701
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
6702
else
 
6703
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6704
for as_dir in $PATH
 
6705
do
 
6706
  IFS=$as_save_IFS
 
6707
  test -z "$as_dir" && as_dir=.
 
6708
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6709
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6710
    ac_cv_prog_ac_ct_AR="ar"
 
6711
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6712
    break 2
 
6713
  fi
 
6714
done
 
6715
  done
 
6716
IFS=$as_save_IFS
 
6717
 
 
6718
fi
 
6719
fi
 
6720
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
6721
if test -n "$ac_ct_AR"; then
 
6722
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
6723
$as_echo "$ac_ct_AR" >&6; }
 
6724
else
 
6725
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6726
$as_echo "no" >&6; }
 
6727
fi
 
6728
 
 
6729
  if test "x$ac_ct_AR" = x; then
 
6730
    AR="false"
 
6731
  else
 
6732
    case $cross_compiling:$ac_tool_warned in
 
6733
yes:)
 
6734
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6735
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6736
ac_tool_warned=yes ;;
 
6737
esac
 
6738
    AR=$ac_ct_AR
 
6739
  fi
 
6740
else
 
6741
  AR="$ac_cv_prog_AR"
 
6742
fi
 
6743
 
 
6744
test -z "$AR" && AR=ar
 
6745
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
6746
 
 
6747
 
 
6748
 
 
6749
 
 
6750
 
 
6751
 
 
6752
 
 
6753
 
 
6754
 
 
6755
 
 
6756
 
 
6757
if test -n "$ac_tool_prefix"; then
 
6758
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
6759
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
6760
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6761
$as_echo_n "checking for $ac_word... " >&6; }
 
6762
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
6763
  $as_echo_n "(cached) " >&6
 
6764
else
 
6765
  if test -n "$STRIP"; then
 
6766
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
6767
else
 
6768
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6769
for as_dir in $PATH
 
6770
do
 
6771
  IFS=$as_save_IFS
 
6772
  test -z "$as_dir" && as_dir=.
 
6773
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6774
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6775
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
6776
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6777
    break 2
 
6778
  fi
 
6779
done
 
6780
  done
 
6781
IFS=$as_save_IFS
 
6782
 
 
6783
fi
 
6784
fi
 
6785
STRIP=$ac_cv_prog_STRIP
 
6786
if test -n "$STRIP"; then
 
6787
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
6788
$as_echo "$STRIP" >&6; }
 
6789
else
 
6790
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6791
$as_echo "no" >&6; }
 
6792
fi
 
6793
 
 
6794
 
 
6795
fi
 
6796
if test -z "$ac_cv_prog_STRIP"; then
 
6797
  ac_ct_STRIP=$STRIP
 
6798
  # Extract the first word of "strip", so it can be a program name with args.
 
6799
set dummy strip; ac_word=$2
 
6800
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6801
$as_echo_n "checking for $ac_word... " >&6; }
 
6802
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
6803
  $as_echo_n "(cached) " >&6
 
6804
else
 
6805
  if test -n "$ac_ct_STRIP"; then
 
6806
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
6807
else
 
6808
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6809
for as_dir in $PATH
 
6810
do
 
6811
  IFS=$as_save_IFS
 
6812
  test -z "$as_dir" && as_dir=.
 
6813
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6814
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6815
    ac_cv_prog_ac_ct_STRIP="strip"
 
6816
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6817
    break 2
 
6818
  fi
 
6819
done
 
6820
  done
 
6821
IFS=$as_save_IFS
 
6822
 
 
6823
fi
 
6824
fi
 
6825
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
6826
if test -n "$ac_ct_STRIP"; then
 
6827
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
6828
$as_echo "$ac_ct_STRIP" >&6; }
 
6829
else
 
6830
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6831
$as_echo "no" >&6; }
 
6832
fi
 
6833
 
 
6834
  if test "x$ac_ct_STRIP" = x; then
 
6835
    STRIP=":"
 
6836
  else
 
6837
    case $cross_compiling:$ac_tool_warned in
 
6838
yes:)
 
6839
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6840
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6841
ac_tool_warned=yes ;;
 
6842
esac
 
6843
    STRIP=$ac_ct_STRIP
 
6844
  fi
 
6845
else
 
6846
  STRIP="$ac_cv_prog_STRIP"
 
6847
fi
 
6848
 
 
6849
test -z "$STRIP" && STRIP=:
 
6850
 
 
6851
 
 
6852
 
 
6853
 
 
6854
 
 
6855
 
 
6856
if test -n "$ac_tool_prefix"; then
 
6857
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
6858
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
6859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6860
$as_echo_n "checking for $ac_word... " >&6; }
 
6861
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
6862
  $as_echo_n "(cached) " >&6
 
6863
else
 
6864
  if test -n "$RANLIB"; then
 
6865
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
6866
else
 
6867
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6868
for as_dir in $PATH
 
6869
do
 
6870
  IFS=$as_save_IFS
 
6871
  test -z "$as_dir" && as_dir=.
 
6872
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6873
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6874
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
6875
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6876
    break 2
 
6877
  fi
 
6878
done
 
6879
  done
 
6880
IFS=$as_save_IFS
 
6881
 
 
6882
fi
 
6883
fi
 
6884
RANLIB=$ac_cv_prog_RANLIB
 
6885
if test -n "$RANLIB"; then
 
6886
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
6887
$as_echo "$RANLIB" >&6; }
 
6888
else
 
6889
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6890
$as_echo "no" >&6; }
 
6891
fi
 
6892
 
 
6893
 
 
6894
fi
 
6895
if test -z "$ac_cv_prog_RANLIB"; then
 
6896
  ac_ct_RANLIB=$RANLIB
 
6897
  # Extract the first word of "ranlib", so it can be a program name with args.
 
6898
set dummy ranlib; ac_word=$2
 
6899
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6900
$as_echo_n "checking for $ac_word... " >&6; }
 
6901
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
6902
  $as_echo_n "(cached) " >&6
 
6903
else
 
6904
  if test -n "$ac_ct_RANLIB"; then
 
6905
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
6906
else
 
6907
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6908
for as_dir in $PATH
 
6909
do
 
6910
  IFS=$as_save_IFS
 
6911
  test -z "$as_dir" && as_dir=.
 
6912
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6913
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6914
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
6915
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6916
    break 2
 
6917
  fi
 
6918
done
 
6919
  done
 
6920
IFS=$as_save_IFS
 
6921
 
 
6922
fi
 
6923
fi
 
6924
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
6925
if test -n "$ac_ct_RANLIB"; then
 
6926
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
6927
$as_echo "$ac_ct_RANLIB" >&6; }
 
6928
else
 
6929
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6930
$as_echo "no" >&6; }
 
6931
fi
 
6932
 
 
6933
  if test "x$ac_ct_RANLIB" = x; then
 
6934
    RANLIB=":"
 
6935
  else
 
6936
    case $cross_compiling:$ac_tool_warned in
 
6937
yes:)
 
6938
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6939
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6940
ac_tool_warned=yes ;;
 
6941
esac
 
6942
    RANLIB=$ac_ct_RANLIB
 
6943
  fi
 
6944
else
 
6945
  RANLIB="$ac_cv_prog_RANLIB"
 
6946
fi
 
6947
 
 
6948
test -z "$RANLIB" && RANLIB=:
 
6949
 
 
6950
 
 
6951
 
 
6952
 
 
6953
 
 
6954
 
 
6955
# Determine commands to create old-style static archives.
 
6956
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
6957
old_postinstall_cmds='chmod 644 $oldlib'
 
6958
old_postuninstall_cmds=
 
6959
 
 
6960
if test -n "$RANLIB"; then
 
6961
  case $host_os in
 
6962
  openbsd*)
 
6963
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
6964
    ;;
 
6965
  *)
 
6966
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
6967
    ;;
 
6968
  esac
 
6969
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
6970
fi
 
6971
 
 
6972
 
 
6973
 
 
6974
 
 
6975
 
 
6976
 
 
6977
 
 
6978
 
 
6979
 
 
6980
 
 
6981
 
 
6982
 
 
6983
 
 
6984
 
 
6985
 
 
6986
 
 
6987
 
 
6988
 
 
6989
 
 
6990
 
 
6991
 
 
6992
 
 
6993
 
 
6994
 
 
6995
 
 
6996
 
 
6997
 
 
6998
 
 
6999
 
 
7000
 
 
7001
 
 
7002
 
 
7003
 
 
7004
 
5854
7005
# If no C compiler was specified, use CC.
5855
7006
LTCC=${LTCC-"$CC"}
5856
7007
 
5860
7011
# Allow CC to be a program name with arguments.
5861
7012
compiler=$CC
5862
7013
 
5863
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5864
 
if test "${enable_libtool_lock+set}" = set; then
5865
 
  enableval="$enable_libtool_lock"
5866
 
 
5867
 
fi;
5868
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5869
 
 
5870
 
# Some flags need to be propagated to the compiler or linker for good
5871
 
# libtool support.
5872
 
case $host in
5873
 
ia64-*-hpux*)
5874
 
  # Find out which ABI we are using.
5875
 
  echo 'int i;' > conftest.$ac_ext
5876
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5877
 
  (eval $ac_compile) 2>&5
5878
 
  ac_status=$?
5879
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5880
 
  (exit $ac_status); }; then
5881
 
    case `/usr/bin/file conftest.$ac_objext` in
5882
 
    *ELF-32*)
5883
 
      HPUX_IA64_MODE="32"
5884
 
      ;;
5885
 
    *ELF-64*)
5886
 
      HPUX_IA64_MODE="64"
5887
 
      ;;
5888
 
    esac
5889
 
  fi
5890
 
  rm -rf conftest*
5891
 
  ;;
5892
 
*-*-irix6*)
5893
 
  # Find out which ABI we are using.
5894
 
  echo '#line 5894 "configure"' > conftest.$ac_ext
5895
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5896
 
  (eval $ac_compile) 2>&5
5897
 
  ac_status=$?
5898
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5899
 
  (exit $ac_status); }; then
5900
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
5901
 
    case `/usr/bin/file conftest.$ac_objext` in
5902
 
    *32-bit*)
5903
 
      LD="${LD-ld} -melf32bsmip"
5904
 
      ;;
5905
 
    *N32*)
5906
 
      LD="${LD-ld} -melf32bmipn32"
5907
 
      ;;
5908
 
    *64-bit*)
5909
 
      LD="${LD-ld} -melf64bmip"
5910
 
      ;;
5911
 
    esac
5912
 
   else
5913
 
    case `/usr/bin/file conftest.$ac_objext` in
5914
 
    *32-bit*)
5915
 
      LD="${LD-ld} -32"
5916
 
      ;;
5917
 
    *N32*)
5918
 
      LD="${LD-ld} -n32"
5919
 
      ;;
5920
 
    *64-bit*)
5921
 
      LD="${LD-ld} -64"
5922
 
      ;;
5923
 
    esac
5924
 
   fi
5925
 
  fi
5926
 
  rm -rf conftest*
5927
 
  ;;
5928
 
 
5929
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
5930
 
  # Find out which ABI we are using.
5931
 
  echo 'int i;' > conftest.$ac_ext
5932
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5933
 
  (eval $ac_compile) 2>&5
5934
 
  ac_status=$?
5935
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5936
 
  (exit $ac_status); }; then
5937
 
    case `/usr/bin/file conftest.o` in
5938
 
    *32-bit*)
5939
 
      case $host in
5940
 
        x86_64-*linux*)
5941
 
          LD="${LD-ld} -m elf_i386"
5942
 
          ;;
5943
 
        ppc64-*linux*|powerpc64-*linux*)
5944
 
          LD="${LD-ld} -m elf32ppclinux"
5945
 
          ;;
5946
 
        s390x-*linux*)
5947
 
          LD="${LD-ld} -m elf_s390"
5948
 
          ;;
5949
 
        sparc64-*linux*)
5950
 
          LD="${LD-ld} -m elf32_sparc"
5951
 
          ;;
5952
 
      esac
5953
 
      ;;
5954
 
    *64-bit*)
5955
 
      case $host in
5956
 
        x86_64-*linux*)
5957
 
          LD="${LD-ld} -m elf_x86_64"
5958
 
          ;;
5959
 
        ppc*-*linux*|powerpc*-*linux*)
5960
 
          LD="${LD-ld} -m elf64ppc"
5961
 
          ;;
5962
 
        s390*-*linux*)
5963
 
          LD="${LD-ld} -m elf64_s390"
5964
 
          ;;
5965
 
        sparc*-*linux*)
5966
 
          LD="${LD-ld} -m elf64_sparc"
5967
 
          ;;
5968
 
      esac
5969
 
      ;;
5970
 
    esac
5971
 
  fi
5972
 
  rm -rf conftest*
5973
 
  ;;
5974
 
 
5975
 
*-*-sco3.2v5*)
5976
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5977
 
  SAVE_CFLAGS="$CFLAGS"
5978
 
  CFLAGS="$CFLAGS -belf"
5979
 
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5980
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5981
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
5982
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5983
 
else
5984
 
  ac_ext=c
5985
 
ac_cpp='$CPP $CPPFLAGS'
5986
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5987
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5988
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5989
 
 
5990
 
     cat >conftest.$ac_ext <<_ACEOF
5991
 
/* confdefs.h.  */
5992
 
_ACEOF
5993
 
cat confdefs.h >>conftest.$ac_ext
5994
 
cat >>conftest.$ac_ext <<_ACEOF
5995
 
/* end confdefs.h.  */
5996
 
 
5997
 
int
5998
 
main ()
5999
 
{
6000
 
 
6001
 
  ;
6002
 
  return 0;
6003
 
}
6004
 
_ACEOF
6005
 
rm -f conftest.$ac_objext conftest$ac_exeext
6006
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6007
 
  (eval $ac_link) 2>conftest.er1
6008
 
  ac_status=$?
6009
 
  grep -v '^ *+' conftest.er1 >conftest.err
6010
 
  rm -f conftest.er1
6011
 
  cat conftest.err >&5
6012
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6013
 
  (exit $ac_status); } &&
6014
 
         { ac_try='test -z "$ac_c_werror_flag"
6015
 
                         || test ! -s conftest.err'
6016
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6017
 
  (eval $ac_try) 2>&5
6018
 
  ac_status=$?
6019
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6020
 
  (exit $ac_status); }; } &&
6021
 
         { ac_try='test -s conftest$ac_exeext'
6022
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6023
 
  (eval $ac_try) 2>&5
6024
 
  ac_status=$?
6025
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6026
 
  (exit $ac_status); }; }; then
6027
 
  lt_cv_cc_needs_belf=yes
6028
 
else
6029
 
  echo "$as_me: failed program was:" >&5
6030
 
sed 's/^/| /' conftest.$ac_ext >&5
6031
 
 
6032
 
lt_cv_cc_needs_belf=no
6033
 
fi
6034
 
rm -f conftest.err conftest.$ac_objext \
6035
 
      conftest$ac_exeext conftest.$ac_ext
6036
 
     ac_ext=c
6037
 
ac_cpp='$CPP $CPPFLAGS'
6038
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6039
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6040
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6041
 
 
6042
 
fi
6043
 
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6044
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
6045
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6046
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6047
 
    CFLAGS="$SAVE_CFLAGS"
6048
 
  fi
6049
 
  ;;
6050
 
sparc*-*solaris*)
6051
 
  # Find out which ABI we are using.
6052
 
  echo 'int i;' > conftest.$ac_ext
6053
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6054
 
  (eval $ac_compile) 2>&5
6055
 
  ac_status=$?
6056
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6057
 
  (exit $ac_status); }; then
6058
 
    case `/usr/bin/file conftest.o` in
6059
 
    *64-bit*)
6060
 
      case $lt_cv_prog_gnu_ld in
6061
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6062
 
      *)    LD="${LD-ld} -64" ;;
6063
 
      esac
6064
 
      ;;
6065
 
    esac
6066
 
  fi
6067
 
  rm -rf conftest*
6068
 
  ;;
6069
 
 
6070
 
 
6071
 
esac
6072
 
 
6073
 
need_locks="$enable_libtool_lock"
6074
 
 
6075
 
 
6076
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6077
 
 
6078
 
 
6079
 
 
6080
 
 
6081
 
 
6082
 
 
6083
 
 
6084
 
 
6085
 
 
6086
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6087
 
                  inttypes.h stdint.h unistd.h
6088
 
do
6089
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6090
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
6091
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6092
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6093
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6094
 
else
6095
 
  cat >conftest.$ac_ext <<_ACEOF
6096
 
/* confdefs.h.  */
6097
 
_ACEOF
6098
 
cat confdefs.h >>conftest.$ac_ext
6099
 
cat >>conftest.$ac_ext <<_ACEOF
6100
 
/* end confdefs.h.  */
6101
 
$ac_includes_default
6102
 
 
6103
 
#include <$ac_header>
6104
 
_ACEOF
6105
 
rm -f conftest.$ac_objext
6106
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6107
 
  (eval $ac_compile) 2>conftest.er1
6108
 
  ac_status=$?
6109
 
  grep -v '^ *+' conftest.er1 >conftest.err
6110
 
  rm -f conftest.er1
6111
 
  cat conftest.err >&5
6112
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6113
 
  (exit $ac_status); } &&
6114
 
         { ac_try='test -z "$ac_c_werror_flag"
6115
 
                         || test ! -s conftest.err'
6116
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6117
 
  (eval $ac_try) 2>&5
6118
 
  ac_status=$?
6119
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6120
 
  (exit $ac_status); }; } &&
6121
 
         { ac_try='test -s conftest.$ac_objext'
6122
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6123
 
  (eval $ac_try) 2>&5
6124
 
  ac_status=$?
6125
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6126
 
  (exit $ac_status); }; }; then
6127
 
  eval "$as_ac_Header=yes"
6128
 
else
6129
 
  echo "$as_me: failed program was:" >&5
6130
 
sed 's/^/| /' conftest.$ac_ext >&5
6131
 
 
6132
 
eval "$as_ac_Header=no"
6133
 
fi
6134
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6135
 
fi
6136
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6137
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6138
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6139
 
  cat >>confdefs.h <<_ACEOF
6140
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6141
 
_ACEOF
6142
 
 
6143
 
fi
6144
 
 
6145
 
done
6146
 
 
6147
 
 
6148
 
 
6149
 
for ac_header in dlfcn.h
6150
 
do
6151
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6152
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6153
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
6154
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6155
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6156
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6157
 
fi
6158
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6159
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6160
 
else
6161
 
  # Is the header compilable?
6162
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
6163
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6164
 
cat >conftest.$ac_ext <<_ACEOF
6165
 
/* confdefs.h.  */
6166
 
_ACEOF
6167
 
cat confdefs.h >>conftest.$ac_ext
6168
 
cat >>conftest.$ac_ext <<_ACEOF
6169
 
/* end confdefs.h.  */
6170
 
$ac_includes_default
6171
 
#include <$ac_header>
6172
 
_ACEOF
6173
 
rm -f conftest.$ac_objext
6174
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6175
 
  (eval $ac_compile) 2>conftest.er1
6176
 
  ac_status=$?
6177
 
  grep -v '^ *+' conftest.er1 >conftest.err
6178
 
  rm -f conftest.er1
6179
 
  cat conftest.err >&5
6180
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6181
 
  (exit $ac_status); } &&
6182
 
         { ac_try='test -z "$ac_c_werror_flag"
6183
 
                         || test ! -s conftest.err'
6184
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6185
 
  (eval $ac_try) 2>&5
6186
 
  ac_status=$?
6187
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6188
 
  (exit $ac_status); }; } &&
6189
 
         { ac_try='test -s conftest.$ac_objext'
6190
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6191
 
  (eval $ac_try) 2>&5
6192
 
  ac_status=$?
6193
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6194
 
  (exit $ac_status); }; }; then
6195
 
  ac_header_compiler=yes
6196
 
else
6197
 
  echo "$as_me: failed program was:" >&5
6198
 
sed 's/^/| /' conftest.$ac_ext >&5
6199
 
 
6200
 
ac_header_compiler=no
6201
 
fi
6202
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6203
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6204
 
echo "${ECHO_T}$ac_header_compiler" >&6
6205
 
 
6206
 
# Is the header present?
6207
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
6208
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6209
 
cat >conftest.$ac_ext <<_ACEOF
6210
 
/* confdefs.h.  */
6211
 
_ACEOF
6212
 
cat confdefs.h >>conftest.$ac_ext
6213
 
cat >>conftest.$ac_ext <<_ACEOF
6214
 
/* end confdefs.h.  */
6215
 
#include <$ac_header>
6216
 
_ACEOF
6217
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6218
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6219
 
  ac_status=$?
6220
 
  grep -v '^ *+' conftest.er1 >conftest.err
6221
 
  rm -f conftest.er1
6222
 
  cat conftest.err >&5
6223
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6224
 
  (exit $ac_status); } >/dev/null; then
6225
 
  if test -s conftest.err; then
6226
 
    ac_cpp_err=$ac_c_preproc_warn_flag
6227
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6228
 
  else
6229
 
    ac_cpp_err=
6230
 
  fi
6231
 
else
6232
 
  ac_cpp_err=yes
6233
 
fi
6234
 
if test -z "$ac_cpp_err"; then
6235
 
  ac_header_preproc=yes
6236
 
else
6237
 
  echo "$as_me: failed program was:" >&5
6238
 
sed 's/^/| /' conftest.$ac_ext >&5
6239
 
 
6240
 
  ac_header_preproc=no
6241
 
fi
6242
 
rm -f conftest.err conftest.$ac_ext
6243
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6244
 
echo "${ECHO_T}$ac_header_preproc" >&6
6245
 
 
6246
 
# So?  What about this header?
6247
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6248
 
  yes:no: )
6249
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6250
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6251
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6252
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6253
 
    ac_header_preproc=yes
6254
 
    ;;
6255
 
  no:yes:* )
6256
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6257
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6258
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6259
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6260
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6261
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6262
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6263
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6264
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6265
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6266
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6267
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6268
 
    (
6269
 
      cat <<\_ASBOX
6270
 
## ------------------------------------------ ##
6271
 
## Report this to the AC_PACKAGE_NAME lists.  ##
6272
 
## ------------------------------------------ ##
6273
 
_ASBOX
6274
 
    ) |
6275
 
      sed "s/^/$as_me: WARNING:     /" >&2
6276
 
    ;;
6277
 
esac
6278
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
6279
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6280
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6281
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6282
 
else
6283
 
  eval "$as_ac_Header=\$ac_header_preproc"
6284
 
fi
6285
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6286
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6287
 
 
6288
 
fi
6289
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6290
 
  cat >>confdefs.h <<_ACEOF
6291
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6292
 
_ACEOF
6293
 
 
6294
 
fi
6295
 
 
6296
 
done
6297
 
 
6298
 
ac_ext=cc
6299
 
ac_cpp='$CXXCPP $CPPFLAGS'
6300
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6301
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6302
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6303
 
if test -n "$ac_tool_prefix"; then
6304
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6305
 
  do
6306
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6307
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6308
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6309
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6310
 
if test "${ac_cv_prog_CXX+set}" = set; then
6311
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6312
 
else
6313
 
  if test -n "$CXX"; then
6314
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
6315
 
else
6316
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6317
 
for as_dir in $PATH
6318
 
do
6319
 
  IFS=$as_save_IFS
6320
 
  test -z "$as_dir" && as_dir=.
6321
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6322
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6323
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6324
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6325
 
    break 2
6326
 
  fi
6327
 
done
6328
 
done
6329
 
 
6330
 
fi
6331
 
fi
6332
 
CXX=$ac_cv_prog_CXX
6333
 
if test -n "$CXX"; then
6334
 
  echo "$as_me:$LINENO: result: $CXX" >&5
6335
 
echo "${ECHO_T}$CXX" >&6
6336
 
else
6337
 
  echo "$as_me:$LINENO: result: no" >&5
6338
 
echo "${ECHO_T}no" >&6
6339
 
fi
6340
 
 
6341
 
    test -n "$CXX" && break
6342
 
  done
6343
 
fi
6344
 
if test -z "$CXX"; then
6345
 
  ac_ct_CXX=$CXX
6346
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6347
 
do
6348
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6349
 
set dummy $ac_prog; ac_word=$2
6350
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6351
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6352
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6353
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6354
 
else
6355
 
  if test -n "$ac_ct_CXX"; then
6356
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6357
 
else
6358
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6359
 
for as_dir in $PATH
6360
 
do
6361
 
  IFS=$as_save_IFS
6362
 
  test -z "$as_dir" && as_dir=.
6363
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6364
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6365
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
6366
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6367
 
    break 2
6368
 
  fi
6369
 
done
6370
 
done
6371
 
 
6372
 
fi
6373
 
fi
6374
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6375
 
if test -n "$ac_ct_CXX"; then
6376
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6377
 
echo "${ECHO_T}$ac_ct_CXX" >&6
6378
 
else
6379
 
  echo "$as_me:$LINENO: result: no" >&5
6380
 
echo "${ECHO_T}no" >&6
6381
 
fi
6382
 
 
6383
 
  test -n "$ac_ct_CXX" && break
6384
 
done
6385
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6386
 
 
6387
 
  CXX=$ac_ct_CXX
6388
 
fi
6389
 
 
6390
 
 
6391
 
# Provide some information about the compiler.
6392
 
echo "$as_me:$LINENO:" \
6393
 
     "checking for C++ compiler version" >&5
6394
 
ac_compiler=`set X $ac_compile; echo $2`
6395
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6396
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
6397
 
  ac_status=$?
6398
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6399
 
  (exit $ac_status); }
6400
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6401
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
6402
 
  ac_status=$?
6403
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6404
 
  (exit $ac_status); }
6405
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6406
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
6407
 
  ac_status=$?
6408
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6409
 
  (exit $ac_status); }
6410
 
 
6411
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6412
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6413
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6414
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6415
 
else
6416
 
  cat >conftest.$ac_ext <<_ACEOF
6417
 
/* confdefs.h.  */
6418
 
_ACEOF
6419
 
cat confdefs.h >>conftest.$ac_ext
6420
 
cat >>conftest.$ac_ext <<_ACEOF
6421
 
/* end confdefs.h.  */
6422
 
 
6423
 
int
6424
 
main ()
6425
 
{
6426
 
#ifndef __GNUC__
6427
 
       choke me
6428
 
#endif
6429
 
 
6430
 
  ;
6431
 
  return 0;
6432
 
}
6433
 
_ACEOF
6434
 
rm -f conftest.$ac_objext
6435
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6436
 
  (eval $ac_compile) 2>conftest.er1
6437
 
  ac_status=$?
6438
 
  grep -v '^ *+' conftest.er1 >conftest.err
6439
 
  rm -f conftest.er1
6440
 
  cat conftest.err >&5
6441
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6442
 
  (exit $ac_status); } &&
6443
 
         { ac_try='test -z "$ac_cxx_werror_flag"
6444
 
                         || test ! -s conftest.err'
6445
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6446
 
  (eval $ac_try) 2>&5
6447
 
  ac_status=$?
6448
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6449
 
  (exit $ac_status); }; } &&
6450
 
         { ac_try='test -s conftest.$ac_objext'
6451
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6452
 
  (eval $ac_try) 2>&5
6453
 
  ac_status=$?
6454
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6455
 
  (exit $ac_status); }; }; then
6456
 
  ac_compiler_gnu=yes
6457
 
else
6458
 
  echo "$as_me: failed program was:" >&5
6459
 
sed 's/^/| /' conftest.$ac_ext >&5
6460
 
 
6461
 
ac_compiler_gnu=no
6462
 
fi
6463
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6464
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6465
 
 
6466
 
fi
6467
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6468
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6469
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
6470
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
6471
 
ac_save_CXXFLAGS=$CXXFLAGS
6472
 
CXXFLAGS="-g"
6473
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6474
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6475
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
6476
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6477
 
else
6478
 
  cat >conftest.$ac_ext <<_ACEOF
6479
 
/* confdefs.h.  */
6480
 
_ACEOF
6481
 
cat confdefs.h >>conftest.$ac_ext
6482
 
cat >>conftest.$ac_ext <<_ACEOF
6483
 
/* end confdefs.h.  */
6484
 
 
6485
 
int
6486
 
main ()
6487
 
{
6488
 
 
6489
 
  ;
6490
 
  return 0;
6491
 
}
6492
 
_ACEOF
6493
 
rm -f conftest.$ac_objext
6494
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6495
 
  (eval $ac_compile) 2>conftest.er1
6496
 
  ac_status=$?
6497
 
  grep -v '^ *+' conftest.er1 >conftest.err
6498
 
  rm -f conftest.er1
6499
 
  cat conftest.err >&5
6500
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6501
 
  (exit $ac_status); } &&
6502
 
         { ac_try='test -z "$ac_cxx_werror_flag"
6503
 
                         || test ! -s conftest.err'
6504
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6505
 
  (eval $ac_try) 2>&5
6506
 
  ac_status=$?
6507
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508
 
  (exit $ac_status); }; } &&
6509
 
         { ac_try='test -s conftest.$ac_objext'
6510
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6511
 
  (eval $ac_try) 2>&5
6512
 
  ac_status=$?
6513
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6514
 
  (exit $ac_status); }; }; then
6515
 
  ac_cv_prog_cxx_g=yes
6516
 
else
6517
 
  echo "$as_me: failed program was:" >&5
6518
 
sed 's/^/| /' conftest.$ac_ext >&5
6519
 
 
6520
 
ac_cv_prog_cxx_g=no
6521
 
fi
6522
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6523
 
fi
6524
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6525
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6526
 
if test "$ac_test_CXXFLAGS" = set; then
6527
 
  CXXFLAGS=$ac_save_CXXFLAGS
6528
 
elif test $ac_cv_prog_cxx_g = yes; then
6529
 
  if test "$GXX" = yes; then
6530
 
    CXXFLAGS="-g -O2"
6531
 
  else
6532
 
    CXXFLAGS="-g"
6533
 
  fi
6534
 
else
6535
 
  if test "$GXX" = yes; then
6536
 
    CXXFLAGS="-O2"
6537
 
  else
6538
 
    CXXFLAGS=
6539
 
  fi
6540
 
fi
6541
 
for ac_declaration in \
6542
 
   '' \
6543
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
6544
 
   'extern "C" void std::exit (int); using std::exit;' \
6545
 
   'extern "C" void exit (int) throw ();' \
6546
 
   'extern "C" void exit (int);' \
6547
 
   'void exit (int);'
6548
 
do
6549
 
  cat >conftest.$ac_ext <<_ACEOF
6550
 
/* confdefs.h.  */
6551
 
_ACEOF
6552
 
cat confdefs.h >>conftest.$ac_ext
6553
 
cat >>conftest.$ac_ext <<_ACEOF
6554
 
/* end confdefs.h.  */
6555
 
$ac_declaration
6556
 
#include <stdlib.h>
6557
 
int
6558
 
main ()
6559
 
{
6560
 
exit (42);
6561
 
  ;
6562
 
  return 0;
6563
 
}
6564
 
_ACEOF
6565
 
rm -f conftest.$ac_objext
6566
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6567
 
  (eval $ac_compile) 2>conftest.er1
6568
 
  ac_status=$?
6569
 
  grep -v '^ *+' conftest.er1 >conftest.err
6570
 
  rm -f conftest.er1
6571
 
  cat conftest.err >&5
6572
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6573
 
  (exit $ac_status); } &&
6574
 
         { ac_try='test -z "$ac_cxx_werror_flag"
6575
 
                         || test ! -s conftest.err'
6576
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6577
 
  (eval $ac_try) 2>&5
6578
 
  ac_status=$?
6579
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6580
 
  (exit $ac_status); }; } &&
6581
 
         { ac_try='test -s conftest.$ac_objext'
6582
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6583
 
  (eval $ac_try) 2>&5
6584
 
  ac_status=$?
6585
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6586
 
  (exit $ac_status); }; }; then
6587
 
  :
6588
 
else
6589
 
  echo "$as_me: failed program was:" >&5
6590
 
sed 's/^/| /' conftest.$ac_ext >&5
6591
 
 
6592
 
continue
6593
 
fi
6594
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6595
 
  cat >conftest.$ac_ext <<_ACEOF
6596
 
/* confdefs.h.  */
6597
 
_ACEOF
6598
 
cat confdefs.h >>conftest.$ac_ext
6599
 
cat >>conftest.$ac_ext <<_ACEOF
6600
 
/* end confdefs.h.  */
6601
 
$ac_declaration
6602
 
int
6603
 
main ()
6604
 
{
6605
 
exit (42);
6606
 
  ;
6607
 
  return 0;
6608
 
}
6609
 
_ACEOF
6610
 
rm -f conftest.$ac_objext
6611
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6612
 
  (eval $ac_compile) 2>conftest.er1
6613
 
  ac_status=$?
6614
 
  grep -v '^ *+' conftest.er1 >conftest.err
6615
 
  rm -f conftest.er1
6616
 
  cat conftest.err >&5
6617
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618
 
  (exit $ac_status); } &&
6619
 
         { ac_try='test -z "$ac_cxx_werror_flag"
6620
 
                         || test ! -s conftest.err'
6621
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6622
 
  (eval $ac_try) 2>&5
6623
 
  ac_status=$?
6624
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6625
 
  (exit $ac_status); }; } &&
6626
 
         { ac_try='test -s conftest.$ac_objext'
6627
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6628
 
  (eval $ac_try) 2>&5
6629
 
  ac_status=$?
6630
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6631
 
  (exit $ac_status); }; }; then
6632
 
  break
6633
 
else
6634
 
  echo "$as_me: failed program was:" >&5
6635
 
sed 's/^/| /' conftest.$ac_ext >&5
6636
 
 
6637
 
fi
6638
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6639
 
done
6640
 
rm -f conftest*
6641
 
if test -n "$ac_declaration"; then
6642
 
  echo '#ifdef __cplusplus' >>confdefs.h
6643
 
  echo $ac_declaration      >>confdefs.h
6644
 
  echo '#endif'             >>confdefs.h
6645
 
fi
6646
 
 
6647
 
ac_ext=cc
6648
 
ac_cpp='$CXXCPP $CPPFLAGS'
6649
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6650
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6651
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6652
 
 
6653
 
depcc="$CXX"  am_compiler_list=
6654
 
 
6655
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6656
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6657
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6658
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6659
 
else
6660
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6661
 
  # We make a subdir and do the tests there.  Otherwise we can end up
6662
 
  # making bogus files that we don't know about and never remove.  For
6663
 
  # instance it was reported that on HP-UX the gcc test will end up
6664
 
  # making a dummy file named `D' -- because `-MD' means `put the output
6665
 
  # in D'.
6666
 
  mkdir conftest.dir
6667
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
6668
 
  # using a relative directory.
6669
 
  cp "$am_depcomp" conftest.dir
6670
 
  cd conftest.dir
6671
 
  # We will build objects and dependencies in a subdirectory because
6672
 
  # it helps to detect inapplicable dependency modes.  For instance
6673
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
6674
 
  # side effect of compilation, but ICC will put the dependencies in
6675
 
  # the current directory while Tru64 will put them in the object
6676
 
  # directory.
6677
 
  mkdir sub
6678
 
 
6679
 
  am_cv_CXX_dependencies_compiler_type=none
6680
 
  if test "$am_compiler_list" = ""; then
6681
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6682
 
  fi
6683
 
  for depmode in $am_compiler_list; do
6684
 
    # Setup a source with many dependencies, because some compilers
6685
 
    # like to wrap large dependency lists on column 80 (with \), and
6686
 
    # we should not choose a depcomp mode which is confused by this.
6687
 
    #
6688
 
    # We need to recreate these files for each test, as the compiler may
6689
 
    # overwrite some of them when testing with obscure command lines.
6690
 
    # This happens at least with the AIX C compiler.
6691
 
    : > sub/conftest.c
6692
 
    for i in 1 2 3 4 5 6; do
6693
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
6694
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6695
 
      # Solaris 8's {/usr,}/bin/sh.
6696
 
      touch sub/conftst$i.h
6697
 
    done
6698
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6699
 
 
6700
 
    case $depmode in
6701
 
    nosideeffect)
6702
 
      # after this tag, mechanisms are not by side-effect, so they'll
6703
 
      # only be used when explicitly requested
6704
 
      if test "x$enable_dependency_tracking" = xyes; then
6705
 
        continue
6706
 
      else
6707
 
        break
6708
 
      fi
6709
 
      ;;
6710
 
    none) break ;;
6711
 
    esac
6712
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
6713
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
6714
 
    # handle `-M -o', and we need to detect this.
6715
 
    if depmode=$depmode \
6716
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6717
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6718
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6719
 
         >/dev/null 2>conftest.err &&
6720
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6721
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6722
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6723
 
      # icc doesn't choke on unknown options, it will just issue warnings
6724
 
      # or remarks (even with -Werror).  So we grep stderr for any message
6725
 
      # that says an option was ignored or not supported.
6726
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
6727
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
6728
 
      # The diagnosis changed in icc 8.0:
6729
 
      #   icc: Command line remark: option '-MP' not supported
6730
 
      if (grep 'ignoring option' conftest.err ||
6731
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6732
 
        am_cv_CXX_dependencies_compiler_type=$depmode
6733
 
        break
6734
 
      fi
6735
 
    fi
6736
 
  done
6737
 
 
6738
 
  cd ..
6739
 
  rm -rf conftest.dir
6740
 
else
6741
 
  am_cv_CXX_dependencies_compiler_type=none
6742
 
fi
6743
 
 
6744
 
fi
6745
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6746
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
6747
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6748
 
 
6749
 
 
6750
 
 
6751
 
if
6752
 
  test "x$enable_dependency_tracking" != xno \
6753
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6754
 
  am__fastdepCXX_TRUE=
6755
 
  am__fastdepCXX_FALSE='#'
6756
 
else
6757
 
  am__fastdepCXX_TRUE='#'
6758
 
  am__fastdepCXX_FALSE=
6759
 
fi
6760
 
 
6761
 
 
6762
 
 
6763
 
 
6764
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6765
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6766
 
    (test "X$CXX" != "Xg++"))) ; then
6767
 
  ac_ext=cc
6768
 
ac_cpp='$CXXCPP $CPPFLAGS'
6769
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6770
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6771
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6772
 
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6773
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6774
 
if test -z "$CXXCPP"; then
6775
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
6776
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6777
 
else
6778
 
      # Double quotes because CXXCPP needs to be expanded
6779
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
6780
 
    do
6781
 
      ac_preproc_ok=false
6782
 
for ac_cxx_preproc_warn_flag in '' yes
6783
 
do
6784
 
  # Use a header file that comes with gcc, so configuring glibc
6785
 
  # with a fresh cross-compiler works.
6786
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6787
 
  # <limits.h> exists even on freestanding compilers.
6788
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6789
 
  # not just through cpp. "Syntax error" is here to catch this case.
6790
 
  cat >conftest.$ac_ext <<_ACEOF
6791
 
/* confdefs.h.  */
6792
 
_ACEOF
6793
 
cat confdefs.h >>conftest.$ac_ext
6794
 
cat >>conftest.$ac_ext <<_ACEOF
6795
 
/* end confdefs.h.  */
6796
 
#ifdef __STDC__
6797
 
# include <limits.h>
6798
 
#else
6799
 
# include <assert.h>
6800
 
#endif
6801
 
                     Syntax error
6802
 
_ACEOF
6803
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6804
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6805
 
  ac_status=$?
6806
 
  grep -v '^ *+' conftest.er1 >conftest.err
6807
 
  rm -f conftest.er1
6808
 
  cat conftest.err >&5
6809
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6810
 
  (exit $ac_status); } >/dev/null; then
6811
 
  if test -s conftest.err; then
6812
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
6813
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6814
 
  else
6815
 
    ac_cpp_err=
6816
 
  fi
6817
 
else
6818
 
  ac_cpp_err=yes
6819
 
fi
6820
 
if test -z "$ac_cpp_err"; then
6821
 
  :
6822
 
else
6823
 
  echo "$as_me: failed program was:" >&5
6824
 
sed 's/^/| /' conftest.$ac_ext >&5
6825
 
 
6826
 
  # Broken: fails on valid input.
6827
 
continue
6828
 
fi
6829
 
rm -f conftest.err conftest.$ac_ext
6830
 
 
6831
 
  # OK, works on sane cases.  Now check whether non-existent headers
6832
 
  # can be detected and how.
6833
 
  cat >conftest.$ac_ext <<_ACEOF
6834
 
/* confdefs.h.  */
6835
 
_ACEOF
6836
 
cat confdefs.h >>conftest.$ac_ext
6837
 
cat >>conftest.$ac_ext <<_ACEOF
6838
 
/* end confdefs.h.  */
6839
 
#include <ac_nonexistent.h>
6840
 
_ACEOF
6841
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6842
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6843
 
  ac_status=$?
6844
 
  grep -v '^ *+' conftest.er1 >conftest.err
6845
 
  rm -f conftest.er1
6846
 
  cat conftest.err >&5
6847
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6848
 
  (exit $ac_status); } >/dev/null; then
6849
 
  if test -s conftest.err; then
6850
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
6851
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6852
 
  else
6853
 
    ac_cpp_err=
6854
 
  fi
6855
 
else
6856
 
  ac_cpp_err=yes
6857
 
fi
6858
 
if test -z "$ac_cpp_err"; then
6859
 
  # Broken: success on invalid input.
6860
 
continue
6861
 
else
6862
 
  echo "$as_me: failed program was:" >&5
6863
 
sed 's/^/| /' conftest.$ac_ext >&5
6864
 
 
6865
 
  # Passes both tests.
6866
 
ac_preproc_ok=:
6867
 
break
6868
 
fi
6869
 
rm -f conftest.err conftest.$ac_ext
6870
 
 
6871
 
done
6872
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6873
 
rm -f conftest.err conftest.$ac_ext
6874
 
if $ac_preproc_ok; then
6875
 
  break
6876
 
fi
6877
 
 
6878
 
    done
6879
 
    ac_cv_prog_CXXCPP=$CXXCPP
6880
 
 
6881
 
fi
6882
 
  CXXCPP=$ac_cv_prog_CXXCPP
6883
 
else
6884
 
  ac_cv_prog_CXXCPP=$CXXCPP
6885
 
fi
6886
 
echo "$as_me:$LINENO: result: $CXXCPP" >&5
6887
 
echo "${ECHO_T}$CXXCPP" >&6
6888
 
ac_preproc_ok=false
6889
 
for ac_cxx_preproc_warn_flag in '' yes
6890
 
do
6891
 
  # Use a header file that comes with gcc, so configuring glibc
6892
 
  # with a fresh cross-compiler works.
6893
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6894
 
  # <limits.h> exists even on freestanding compilers.
6895
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6896
 
  # not just through cpp. "Syntax error" is here to catch this case.
6897
 
  cat >conftest.$ac_ext <<_ACEOF
6898
 
/* confdefs.h.  */
6899
 
_ACEOF
6900
 
cat confdefs.h >>conftest.$ac_ext
6901
 
cat >>conftest.$ac_ext <<_ACEOF
6902
 
/* end confdefs.h.  */
6903
 
#ifdef __STDC__
6904
 
# include <limits.h>
6905
 
#else
6906
 
# include <assert.h>
6907
 
#endif
6908
 
                     Syntax error
6909
 
_ACEOF
6910
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6911
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6912
 
  ac_status=$?
6913
 
  grep -v '^ *+' conftest.er1 >conftest.err
6914
 
  rm -f conftest.er1
6915
 
  cat conftest.err >&5
6916
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6917
 
  (exit $ac_status); } >/dev/null; then
6918
 
  if test -s conftest.err; then
6919
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
6920
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6921
 
  else
6922
 
    ac_cpp_err=
6923
 
  fi
6924
 
else
6925
 
  ac_cpp_err=yes
6926
 
fi
6927
 
if test -z "$ac_cpp_err"; then
6928
 
  :
6929
 
else
6930
 
  echo "$as_me: failed program was:" >&5
6931
 
sed 's/^/| /' conftest.$ac_ext >&5
6932
 
 
6933
 
  # Broken: fails on valid input.
6934
 
continue
6935
 
fi
6936
 
rm -f conftest.err conftest.$ac_ext
6937
 
 
6938
 
  # OK, works on sane cases.  Now check whether non-existent headers
6939
 
  # can be detected and how.
6940
 
  cat >conftest.$ac_ext <<_ACEOF
6941
 
/* confdefs.h.  */
6942
 
_ACEOF
6943
 
cat confdefs.h >>conftest.$ac_ext
6944
 
cat >>conftest.$ac_ext <<_ACEOF
6945
 
/* end confdefs.h.  */
6946
 
#include <ac_nonexistent.h>
6947
 
_ACEOF
6948
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6949
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6950
 
  ac_status=$?
6951
 
  grep -v '^ *+' conftest.er1 >conftest.err
6952
 
  rm -f conftest.er1
6953
 
  cat conftest.err >&5
6954
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6955
 
  (exit $ac_status); } >/dev/null; then
6956
 
  if test -s conftest.err; then
6957
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
6958
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6959
 
  else
6960
 
    ac_cpp_err=
6961
 
  fi
6962
 
else
6963
 
  ac_cpp_err=yes
6964
 
fi
6965
 
if test -z "$ac_cpp_err"; then
6966
 
  # Broken: success on invalid input.
6967
 
continue
6968
 
else
6969
 
  echo "$as_me: failed program was:" >&5
6970
 
sed 's/^/| /' conftest.$ac_ext >&5
6971
 
 
6972
 
  # Passes both tests.
6973
 
ac_preproc_ok=:
6974
 
break
6975
 
fi
6976
 
rm -f conftest.err conftest.$ac_ext
6977
 
 
6978
 
done
6979
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6980
 
rm -f conftest.err conftest.$ac_ext
6981
 
if $ac_preproc_ok; then
6982
 
  :
6983
 
else
6984
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6985
 
See \`config.log' for more details." >&5
6986
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6987
 
See \`config.log' for more details." >&2;}
6988
 
   { (exit 1); exit 1; }; }
6989
 
fi
6990
 
 
6991
 
ac_ext=cc
6992
 
ac_cpp='$CXXCPP $CPPFLAGS'
6993
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6994
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6995
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6996
 
 
6997
 
fi
6998
 
 
6999
 
 
7000
 
ac_ext=f
7001
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
7002
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7003
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
7004
 
if test -n "$ac_tool_prefix"; then
7005
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
7006
 
  do
7007
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7008
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7009
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7010
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7011
 
if test "${ac_cv_prog_F77+set}" = set; then
7012
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7013
 
else
7014
 
  if test -n "$F77"; then
7015
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
7016
 
else
7017
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7018
 
for as_dir in $PATH
7019
 
do
7020
 
  IFS=$as_save_IFS
7021
 
  test -z "$as_dir" && as_dir=.
7022
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7023
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7024
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
7025
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7026
 
    break 2
7027
 
  fi
7028
 
done
7029
 
done
7030
 
 
7031
 
fi
7032
 
fi
7033
 
F77=$ac_cv_prog_F77
7034
 
if test -n "$F77"; then
7035
 
  echo "$as_me:$LINENO: result: $F77" >&5
7036
 
echo "${ECHO_T}$F77" >&6
7037
 
else
7038
 
  echo "$as_me:$LINENO: result: no" >&5
7039
 
echo "${ECHO_T}no" >&6
7040
 
fi
7041
 
 
7042
 
    test -n "$F77" && break
7043
 
  done
7044
 
fi
7045
 
if test -z "$F77"; then
7046
 
  ac_ct_F77=$F77
7047
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
7048
 
do
7049
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
7050
 
set dummy $ac_prog; ac_word=$2
7051
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7052
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7053
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7054
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7055
 
else
7056
 
  if test -n "$ac_ct_F77"; then
7057
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
7058
 
else
7059
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7060
 
for as_dir in $PATH
7061
 
do
7062
 
  IFS=$as_save_IFS
7063
 
  test -z "$as_dir" && as_dir=.
7064
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7065
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7066
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
7067
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7068
 
    break 2
7069
 
  fi
7070
 
done
7071
 
done
7072
 
 
7073
 
fi
7074
 
fi
7075
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
7076
 
if test -n "$ac_ct_F77"; then
7077
 
  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7078
 
echo "${ECHO_T}$ac_ct_F77" >&6
7079
 
else
7080
 
  echo "$as_me:$LINENO: result: no" >&5
7081
 
echo "${ECHO_T}no" >&6
7082
 
fi
7083
 
 
7084
 
  test -n "$ac_ct_F77" && break
7085
 
done
7086
 
 
7087
 
  F77=$ac_ct_F77
7088
 
fi
7089
 
 
7090
 
 
7091
 
# Provide some information about the compiler.
7092
 
echo "$as_me:7092:" \
7093
 
     "checking for Fortran 77 compiler version" >&5
7094
 
ac_compiler=`set X $ac_compile; echo $2`
7095
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7096
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
7097
 
  ac_status=$?
7098
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7099
 
  (exit $ac_status); }
7100
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7101
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
7102
 
  ac_status=$?
7103
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7104
 
  (exit $ac_status); }
7105
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7106
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
7107
 
  ac_status=$?
7108
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7109
 
  (exit $ac_status); }
7110
 
rm -f a.out
7111
 
 
7112
 
# If we don't use `.F' as extension, the preprocessor is not run on the
7113
 
# input file.  (Note that this only needs to work for GNU compilers.)
7114
 
ac_save_ext=$ac_ext
7115
 
ac_ext=F
7116
 
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
7117
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
7118
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
7119
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7120
 
else
7121
 
  cat >conftest.$ac_ext <<_ACEOF
7122
 
      program main
7123
 
#ifndef __GNUC__
7124
 
       choke me
7125
 
#endif
7126
 
 
7127
 
      end
7128
 
_ACEOF
7129
 
rm -f conftest.$ac_objext
7130
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7131
 
  (eval $ac_compile) 2>conftest.er1
7132
 
  ac_status=$?
7133
 
  grep -v '^ *+' conftest.er1 >conftest.err
7134
 
  rm -f conftest.er1
7135
 
  cat conftest.err >&5
7136
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7137
 
  (exit $ac_status); } &&
7138
 
         { ac_try='test -z "$ac_f77_werror_flag"
7139
 
                         || test ! -s conftest.err'
7140
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7141
 
  (eval $ac_try) 2>&5
7142
 
  ac_status=$?
7143
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7144
 
  (exit $ac_status); }; } &&
7145
 
         { ac_try='test -s conftest.$ac_objext'
7146
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7147
 
  (eval $ac_try) 2>&5
7148
 
  ac_status=$?
7149
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7150
 
  (exit $ac_status); }; }; then
7151
 
  ac_compiler_gnu=yes
7152
 
else
7153
 
  echo "$as_me: failed program was:" >&5
7154
 
sed 's/^/| /' conftest.$ac_ext >&5
7155
 
 
7156
 
ac_compiler_gnu=no
7157
 
fi
7158
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7159
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
7160
 
 
7161
 
fi
7162
 
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
7163
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
7164
 
ac_ext=$ac_save_ext
7165
 
ac_test_FFLAGS=${FFLAGS+set}
7166
 
ac_save_FFLAGS=$FFLAGS
7167
 
FFLAGS=
7168
 
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
7169
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
7170
 
if test "${ac_cv_prog_f77_g+set}" = set; then
7171
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7172
 
else
7173
 
  FFLAGS=-g
7174
 
cat >conftest.$ac_ext <<_ACEOF
7175
 
      program main
7176
 
 
7177
 
      end
7178
 
_ACEOF
7179
 
rm -f conftest.$ac_objext
7180
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7181
 
  (eval $ac_compile) 2>conftest.er1
7182
 
  ac_status=$?
7183
 
  grep -v '^ *+' conftest.er1 >conftest.err
7184
 
  rm -f conftest.er1
7185
 
  cat conftest.err >&5
7186
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7187
 
  (exit $ac_status); } &&
7188
 
         { ac_try='test -z "$ac_f77_werror_flag"
7189
 
                         || test ! -s conftest.err'
7190
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7191
 
  (eval $ac_try) 2>&5
7192
 
  ac_status=$?
7193
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7194
 
  (exit $ac_status); }; } &&
7195
 
         { ac_try='test -s conftest.$ac_objext'
7196
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7197
 
  (eval $ac_try) 2>&5
7198
 
  ac_status=$?
7199
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7200
 
  (exit $ac_status); }; }; then
7201
 
  ac_cv_prog_f77_g=yes
7202
 
else
7203
 
  echo "$as_me: failed program was:" >&5
7204
 
sed 's/^/| /' conftest.$ac_ext >&5
7205
 
 
7206
 
ac_cv_prog_f77_g=no
7207
 
fi
7208
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7209
 
 
7210
 
fi
7211
 
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
7212
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
7213
 
if test "$ac_test_FFLAGS" = set; then
7214
 
  FFLAGS=$ac_save_FFLAGS
7215
 
elif test $ac_cv_prog_f77_g = yes; then
7216
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7217
 
    FFLAGS="-g -O2"
7218
 
  else
7219
 
    FFLAGS="-g"
7220
 
  fi
7221
 
else
7222
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7223
 
    FFLAGS="-O2"
7224
 
  else
7225
 
    FFLAGS=
7226
 
  fi
7227
 
fi
7228
 
 
7229
 
G77=`test $ac_compiler_gnu = yes && echo yes`
7230
 
ac_ext=c
7231
 
ac_cpp='$CPP $CPPFLAGS'
7232
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7233
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7234
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7235
 
 
7236
 
 
7237
 
 
7238
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
7239
 
 
7240
 
# find the maximum length of command line arguments
7241
 
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7242
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
7243
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7244
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7245
 
else
7246
 
    i=0
7247
 
  teststring="ABCD"
7248
 
 
7249
 
  case $build_os in
7250
 
  msdosdjgpp*)
7251
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
7252
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
7253
 
    # during glob expansion).  Even if it were fixed, the result of this
7254
 
    # check would be larger than it should be.
7255
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
7256
 
    ;;
7257
 
 
7258
 
  gnu*)
7259
 
    # Under GNU Hurd, this test is not required because there is
7260
 
    # no limit to the length of command line arguments.
7261
 
    # Libtool will interpret -1 as no limit whatsoever
7262
 
    lt_cv_sys_max_cmd_len=-1;
7263
 
    ;;
7264
 
 
7265
 
  cygwin* | mingw*)
7266
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
7267
 
    # about 5 minutes as the teststring grows exponentially.
7268
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
7269
 
    # you end up with a "frozen" computer, even though with patience
7270
 
    # the test eventually succeeds (with a max line length of 256k).
7271
 
    # Instead, let's just punt: use the minimum linelength reported by
7272
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
7273
 
    lt_cv_sys_max_cmd_len=8192;
7274
 
    ;;
7275
 
 
7276
 
  amigaos*)
7277
 
    # On AmigaOS with pdksh, this test takes hours, literally.
7278
 
    # So we just punt and use a minimum line length of 8192.
7279
 
    lt_cv_sys_max_cmd_len=8192;
7280
 
    ;;
7281
 
 
7282
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7283
 
    # This has been around since 386BSD, at least.  Likely further.
7284
 
    if test -x /sbin/sysctl; then
7285
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7286
 
    elif test -x /usr/sbin/sysctl; then
7287
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7288
 
    else
7289
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
7290
 
    fi
7291
 
    # And add a safety zone
7292
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7293
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7294
 
    ;;
7295
 
 
7296
 
  interix*)
7297
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
7298
 
    lt_cv_sys_max_cmd_len=196608
7299
 
    ;;
7300
 
 
7301
 
  osf*)
7302
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7303
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7304
 
    # nice to cause kernel panics so lets avoid the loop below.
7305
 
    # First set a reasonable default.
7306
 
    lt_cv_sys_max_cmd_len=16384
7307
 
    #
7308
 
    if test -x /sbin/sysconfig; then
7309
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7310
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
7311
 
      esac
7312
 
    fi
7313
 
    ;;
7314
 
  sco3.2v5*)
7315
 
    lt_cv_sys_max_cmd_len=102400
7316
 
    ;;
7317
 
  sysv5* | sco5v6* | sysv4.2uw2*)
7318
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7319
 
    if test -n "$kargmax"; then
7320
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
7321
 
    else
7322
 
      lt_cv_sys_max_cmd_len=32768
7323
 
    fi
7324
 
    ;;
7325
 
  *)
7326
 
    # If test is not a shell built-in, we'll probably end up computing a
7327
 
    # maximum length that is only half of the actual maximum length, but
7328
 
    # we can't tell.
7329
 
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7330
 
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
7331
 
               = "XX$teststring") >/dev/null 2>&1 &&
7332
 
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
7333
 
            lt_cv_sys_max_cmd_len=$new_result &&
7334
 
            test $i != 17 # 1/2 MB should be enough
7335
 
    do
7336
 
      i=`expr $i + 1`
7337
 
      teststring=$teststring$teststring
7338
 
    done
7339
 
    teststring=
7340
 
    # Add a significant safety factor because C++ compilers can tack on massive
7341
 
    # amounts of additional arguments before passing them to the linker.
7342
 
    # It appears as though 1/2 is a usable value.
7343
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7344
 
    ;;
7345
 
  esac
7346
 
 
7347
 
fi
7348
 
 
7349
 
if test -n $lt_cv_sys_max_cmd_len ; then
7350
 
  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
7351
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
7352
 
else
7353
 
  echo "$as_me:$LINENO: result: none" >&5
7354
 
echo "${ECHO_T}none" >&6
7355
 
fi
7356
 
 
7357
 
 
7358
 
 
7359
7014
 
7360
7015
# Check for command to grab the raw symbol name followed by C symbol from nm.
7361
 
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7362
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
7363
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7364
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7016
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 
7017
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 
7018
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
7019
  $as_echo_n "(cached) " >&6
7365
7020
else
7366
7021
 
7367
7022
# These are sane defaults that work on at least a few old systems.
7373
7028
# Regexp to match symbols that can be accessed directly from C.
7374
7029
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7375
7030
 
7376
 
# Transform an extracted symbol line into a proper C declaration
7377
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
7378
 
 
7379
 
# Transform an extracted symbol line into symbol name and symbol address
7380
 
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'"
7381
 
 
7382
7031
# Define system-specific variables.
7383
7032
case $host_os in
7384
7033
aix*)
7385
7034
  symcode='[BCDT]'
7386
7035
  ;;
7387
 
cygwin* | mingw* | pw32*)
 
7036
cygwin* | mingw* | pw32* | cegcc*)
7388
7037
  symcode='[ABCDGISTW]'
7389
7038
  ;;
7390
 
hpux*) # Its linker distinguishes data from code symbols
 
7039
hpux*)
7391
7040
  if test "$host_cpu" = ia64; then
7392
7041
    symcode='[ABCDEGRST]'
7393
7042
  fi
7394
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7395
 
  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'"
7396
 
  ;;
7397
 
linux*)
7398
 
  if test "$host_cpu" = ia64; then
7399
 
    symcode='[ABCDGIRSTW]'
7400
 
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7401
 
    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'"
7402
 
  fi
7403
7043
  ;;
7404
7044
irix* | nonstopux*)
7405
7045
  symcode='[BCDEGRST]'
7424
7064
  ;;
7425
7065
esac
7426
7066
 
 
7067
# If we're using GNU nm, then use its standard symbol codes.
 
7068
case `$NM -V 2>&1` in
 
7069
*GNU* | *'with BFD'*)
 
7070
  symcode='[ABCDGIRSTW]' ;;
 
7071
esac
 
7072
 
 
7073
# Transform an extracted symbol line into a proper C declaration.
 
7074
# Some systems (esp. on ia64) link data and code symbols differently,
 
7075
# so use this general approach.
 
7076
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
7077
 
 
7078
# Transform an extracted symbol line into symbol name and symbol address
 
7079
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
7080
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
 
7081
 
7427
7082
# Handle CRLF in mingw tool chain
7428
7083
opt_cr=
7429
7084
case $build_os in
7430
7085
mingw*)
7431
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
7086
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7432
7087
  ;;
7433
7088
esac
7434
7089
 
7435
 
# If we're using GNU nm, then use its standard symbol codes.
7436
 
case `$NM -V 2>&1` in
7437
 
*GNU* | *'with BFD'*)
7438
 
  symcode='[ABCDGIRSTW]' ;;
7439
 
esac
7440
 
 
7441
 
# Try without a prefix undercore, then with it.
 
7090
# Try without a prefix underscore, then with it.
7442
7091
for ac_symprfx in "" "_"; do
7443
7092
 
7444
7093
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7445
7094
  symxfrm="\\1 $ac_symprfx\\2 \\2"
7446
7095
 
7447
7096
  # Write the raw and C identifiers.
7448
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
7097
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
7098
    # Fake it for dumpbin and say T for any non-static function
 
7099
    # and D for any global variable.
 
7100
    # Also find C++ and __fastcall symbols from MSVC++,
 
7101
    # which start with @ or ?.
 
7102
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
7103
"     {last_section=section; section=\$ 3};"\
 
7104
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
7105
"     \$ 0!~/External *\|/{next};"\
 
7106
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
7107
"     {if(hide[section]) next};"\
 
7108
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
7109
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
7110
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
7111
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
7112
"     ' prfx=^$ac_symprfx"
 
7113
  else
 
7114
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
7115
  fi
7449
7116
 
7450
7117
  # Check to see that the pipe works correctly.
7451
7118
  pipe_works=no
7452
7119
 
7453
7120
  rm -f conftest*
7454
 
  cat > conftest.$ac_ext <<EOF
 
7121
  cat > conftest.$ac_ext <<_LT_EOF
7455
7122
#ifdef __cplusplus
7456
7123
extern "C" {
7457
7124
#endif
7458
7125
char nm_test_var;
7459
 
void nm_test_func(){}
 
7126
void nm_test_func(void);
 
7127
void nm_test_func(void){}
7460
7128
#ifdef __cplusplus
7461
7129
}
7462
7130
#endif
7463
7131
int main(){nm_test_var='a';nm_test_func();return(0);}
7464
 
EOF
 
7132
_LT_EOF
7465
7133
 
7466
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7134
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7467
7135
  (eval $ac_compile) 2>&5
7468
7136
  ac_status=$?
7469
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7470
 
  (exit $ac_status); }; then
 
7137
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7138
  test $ac_status = 0; }; then
7471
7139
    # Now try to grab the symbols.
7472
7140
    nlist=conftest.nm
7473
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 
7141
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
7474
7142
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7475
7143
  ac_status=$?
7476
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7477
 
  (exit $ac_status); } && test -s "$nlist"; then
 
7144
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7145
  test $ac_status = 0; } && test -s "$nlist"; then
7478
7146
      # Try sorting and uniquifying the output.
7479
7147
      if sort "$nlist" | uniq > "$nlist"T; then
7480
7148
        mv -f "$nlist"T "$nlist"
7483
7151
      fi
7484
7152
 
7485
7153
      # Make sure that we snagged all the symbols we need.
7486
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
7487
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
7488
 
          cat <<EOF > conftest.$ac_ext
 
7154
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
7155
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
7156
          cat <<_LT_EOF > conftest.$ac_ext
7489
7157
#ifdef __cplusplus
7490
7158
extern "C" {
7491
7159
#endif
7492
7160
 
7493
 
EOF
 
7161
_LT_EOF
7494
7162
          # Now generate the symbol file.
7495
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
7496
 
 
7497
 
          cat <<EOF >> conftest.$ac_ext
7498
 
#if defined (__STDC__) && __STDC__
7499
 
# define lt_ptr_t void *
7500
 
#else
7501
 
# define lt_ptr_t char *
7502
 
# define const
7503
 
#endif
7504
 
 
7505
 
/* The mapping between symbol names and symbols. */
 
7163
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
7164
 
 
7165
          cat <<_LT_EOF >> conftest.$ac_ext
 
7166
 
 
7167
/* The mapping between symbol names and symbols.  */
7506
7168
const struct {
7507
7169
  const char *name;
7508
 
  lt_ptr_t address;
 
7170
  void       *address;
7509
7171
}
7510
 
lt_preloaded_symbols[] =
 
7172
lt__PROGRAM__LTX_preloaded_symbols[] =
7511
7173
{
7512
 
EOF
7513
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
7514
 
          cat <<\EOF >> conftest.$ac_ext
7515
 
  {0, (lt_ptr_t) 0}
 
7174
  { "@PROGRAM@", (void *) 0 },
 
7175
_LT_EOF
 
7176
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
7177
          cat <<\_LT_EOF >> conftest.$ac_ext
 
7178
  {0, (void *) 0}
7516
7179
};
7517
7180
 
 
7181
/* This works around a problem in FreeBSD linker */
 
7182
#ifdef FREEBSD_WORKAROUND
 
7183
static const void *lt_preloaded_setup() {
 
7184
  return lt__PROGRAM__LTX_preloaded_symbols;
 
7185
}
 
7186
#endif
 
7187
 
7518
7188
#ifdef __cplusplus
7519
7189
}
7520
7190
#endif
7521
 
EOF
 
7191
_LT_EOF
7522
7192
          # Now try linking the two files.
7523
7193
          mv conftest.$ac_objext conftstm.$ac_objext
7524
7194
          lt_save_LIBS="$LIBS"
7525
7195
          lt_save_CFLAGS="$CFLAGS"
7526
7196
          LIBS="conftstm.$ac_objext"
7527
7197
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7528
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
7198
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7529
7199
  (eval $ac_link) 2>&5
7530
7200
  ac_status=$?
7531
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 
7201
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7202
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7533
7203
            pipe_works=yes
7534
7204
          fi
7535
7205
          LIBS="$lt_save_LIBS"
7547
7217
    echo "$progname: failed program was:" >&5
7548
7218
    cat conftest.$ac_ext >&5
7549
7219
  fi
7550
 
  rm -f conftest* conftst*
 
7220
  rm -rf conftest* conftst*
7551
7221
 
7552
7222
  # Do not use the global_symbol_pipe unless it works.
7553
7223
  if test "$pipe_works" = yes; then
7563
7233
  lt_cv_sys_global_symbol_to_cdecl=
7564
7234
fi
7565
7235
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7566
 
  echo "$as_me:$LINENO: result: failed" >&5
7567
 
echo "${ECHO_T}failed" >&6
7568
 
else
7569
 
  echo "$as_me:$LINENO: result: ok" >&5
7570
 
echo "${ECHO_T}ok" >&6
7571
 
fi
7572
 
 
7573
 
echo "$as_me:$LINENO: checking for objdir" >&5
7574
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
7575
 
if test "${lt_cv_objdir+set}" = set; then
7576
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7236
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 
7237
$as_echo "failed" >&6; }
 
7238
else
 
7239
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
7240
$as_echo "ok" >&6; }
 
7241
fi
 
7242
 
 
7243
 
 
7244
 
 
7245
 
 
7246
 
 
7247
 
 
7248
 
 
7249
 
 
7250
 
 
7251
 
 
7252
 
 
7253
 
 
7254
 
 
7255
 
 
7256
 
 
7257
 
 
7258
 
 
7259
 
 
7260
 
 
7261
 
 
7262
 
 
7263
 
 
7264
# Check whether --enable-libtool-lock was given.
 
7265
if test "${enable_libtool_lock+set}" = set; then :
 
7266
  enableval=$enable_libtool_lock;
 
7267
fi
 
7268
 
 
7269
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
7270
 
 
7271
# Some flags need to be propagated to the compiler or linker for good
 
7272
# libtool support.
 
7273
case $host in
 
7274
ia64-*-hpux*)
 
7275
  # Find out which ABI we are using.
 
7276
  echo 'int i;' > conftest.$ac_ext
 
7277
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
7278
  (eval $ac_compile) 2>&5
 
7279
  ac_status=$?
 
7280
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7281
  test $ac_status = 0; }; then
 
7282
    case `/usr/bin/file conftest.$ac_objext` in
 
7283
      *ELF-32*)
 
7284
        HPUX_IA64_MODE="32"
 
7285
        ;;
 
7286
      *ELF-64*)
 
7287
        HPUX_IA64_MODE="64"
 
7288
        ;;
 
7289
    esac
 
7290
  fi
 
7291
  rm -rf conftest*
 
7292
  ;;
 
7293
*-*-irix6*)
 
7294
  # Find out which ABI we are using.
 
7295
  echo '#line 7295 "configure"' > conftest.$ac_ext
 
7296
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
7297
  (eval $ac_compile) 2>&5
 
7298
  ac_status=$?
 
7299
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7300
  test $ac_status = 0; }; then
 
7301
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
7302
      case `/usr/bin/file conftest.$ac_objext` in
 
7303
        *32-bit*)
 
7304
          LD="${LD-ld} -melf32bsmip"
 
7305
          ;;
 
7306
        *N32*)
 
7307
          LD="${LD-ld} -melf32bmipn32"
 
7308
          ;;
 
7309
        *64-bit*)
 
7310
          LD="${LD-ld} -melf64bmip"
 
7311
        ;;
 
7312
      esac
 
7313
    else
 
7314
      case `/usr/bin/file conftest.$ac_objext` in
 
7315
        *32-bit*)
 
7316
          LD="${LD-ld} -32"
 
7317
          ;;
 
7318
        *N32*)
 
7319
          LD="${LD-ld} -n32"
 
7320
          ;;
 
7321
        *64-bit*)
 
7322
          LD="${LD-ld} -64"
 
7323
          ;;
 
7324
      esac
 
7325
    fi
 
7326
  fi
 
7327
  rm -rf conftest*
 
7328
  ;;
 
7329
 
 
7330
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
7331
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
7332
  # Find out which ABI we are using.
 
7333
  echo 'int i;' > conftest.$ac_ext
 
7334
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
7335
  (eval $ac_compile) 2>&5
 
7336
  ac_status=$?
 
7337
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7338
  test $ac_status = 0; }; then
 
7339
    case `/usr/bin/file conftest.o` in
 
7340
      *32-bit*)
 
7341
        case $host in
 
7342
          x86_64-*kfreebsd*-gnu)
 
7343
            LD="${LD-ld} -m elf_i386_fbsd"
 
7344
            ;;
 
7345
          x86_64-*linux*)
 
7346
            LD="${LD-ld} -m elf_i386"
 
7347
            ;;
 
7348
          ppc64-*linux*|powerpc64-*linux*)
 
7349
            LD="${LD-ld} -m elf32ppclinux"
 
7350
            ;;
 
7351
          s390x-*linux*)
 
7352
            LD="${LD-ld} -m elf_s390"
 
7353
            ;;
 
7354
          sparc64-*linux*)
 
7355
            LD="${LD-ld} -m elf32_sparc"
 
7356
            ;;
 
7357
        esac
 
7358
        ;;
 
7359
      *64-bit*)
 
7360
        case $host in
 
7361
          x86_64-*kfreebsd*-gnu)
 
7362
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
7363
            ;;
 
7364
          x86_64-*linux*)
 
7365
            LD="${LD-ld} -m elf_x86_64"
 
7366
            ;;
 
7367
          ppc*-*linux*|powerpc*-*linux*)
 
7368
            LD="${LD-ld} -m elf64ppc"
 
7369
            ;;
 
7370
          s390*-*linux*|s390*-*tpf*)
 
7371
            LD="${LD-ld} -m elf64_s390"
 
7372
            ;;
 
7373
          sparc*-*linux*)
 
7374
            LD="${LD-ld} -m elf64_sparc"
 
7375
            ;;
 
7376
        esac
 
7377
        ;;
 
7378
    esac
 
7379
  fi
 
7380
  rm -rf conftest*
 
7381
  ;;
 
7382
 
 
7383
*-*-sco3.2v5*)
 
7384
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
7385
  SAVE_CFLAGS="$CFLAGS"
 
7386
  CFLAGS="$CFLAGS -belf"
 
7387
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 
7388
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
7389
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
7390
  $as_echo_n "(cached) " >&6
 
7391
else
 
7392
  ac_ext=c
 
7393
ac_cpp='$CPP $CPPFLAGS'
 
7394
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7395
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7396
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7397
 
 
7398
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7399
/* end confdefs.h.  */
 
7400
 
 
7401
int
 
7402
main ()
 
7403
{
 
7404
 
 
7405
  ;
 
7406
  return 0;
 
7407
}
 
7408
_ACEOF
 
7409
if ac_fn_c_try_link "$LINENO"; then :
 
7410
  lt_cv_cc_needs_belf=yes
 
7411
else
 
7412
  lt_cv_cc_needs_belf=no
 
7413
fi
 
7414
rm -f core conftest.err conftest.$ac_objext \
 
7415
    conftest$ac_exeext conftest.$ac_ext
 
7416
     ac_ext=c
 
7417
ac_cpp='$CPP $CPPFLAGS'
 
7418
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7419
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7420
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7421
 
 
7422
fi
 
7423
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 
7424
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
7425
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
7426
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
7427
    CFLAGS="$SAVE_CFLAGS"
 
7428
  fi
 
7429
  ;;
 
7430
sparc*-*solaris*)
 
7431
  # Find out which ABI we are using.
 
7432
  echo 'int i;' > conftest.$ac_ext
 
7433
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
7434
  (eval $ac_compile) 2>&5
 
7435
  ac_status=$?
 
7436
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7437
  test $ac_status = 0; }; then
 
7438
    case `/usr/bin/file conftest.o` in
 
7439
    *64-bit*)
 
7440
      case $lt_cv_prog_gnu_ld in
 
7441
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
7442
      *)
 
7443
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
7444
          LD="${LD-ld} -64"
 
7445
        fi
 
7446
        ;;
 
7447
      esac
 
7448
      ;;
 
7449
    esac
 
7450
  fi
 
7451
  rm -rf conftest*
 
7452
  ;;
 
7453
esac
 
7454
 
 
7455
need_locks="$enable_libtool_lock"
 
7456
 
 
7457
 
 
7458
  case $host_os in
 
7459
    rhapsody* | darwin*)
 
7460
    if test -n "$ac_tool_prefix"; then
 
7461
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
7462
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
7463
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7464
$as_echo_n "checking for $ac_word... " >&6; }
 
7465
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
7466
  $as_echo_n "(cached) " >&6
 
7467
else
 
7468
  if test -n "$DSYMUTIL"; then
 
7469
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
7470
else
 
7471
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7472
for as_dir in $PATH
 
7473
do
 
7474
  IFS=$as_save_IFS
 
7475
  test -z "$as_dir" && as_dir=.
 
7476
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7477
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7478
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
7479
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7480
    break 2
 
7481
  fi
 
7482
done
 
7483
  done
 
7484
IFS=$as_save_IFS
 
7485
 
 
7486
fi
 
7487
fi
 
7488
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
7489
if test -n "$DSYMUTIL"; then
 
7490
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 
7491
$as_echo "$DSYMUTIL" >&6; }
 
7492
else
 
7493
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7494
$as_echo "no" >&6; }
 
7495
fi
 
7496
 
 
7497
 
 
7498
fi
 
7499
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
7500
  ac_ct_DSYMUTIL=$DSYMUTIL
 
7501
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
7502
set dummy dsymutil; ac_word=$2
 
7503
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7504
$as_echo_n "checking for $ac_word... " >&6; }
 
7505
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
7506
  $as_echo_n "(cached) " >&6
 
7507
else
 
7508
  if test -n "$ac_ct_DSYMUTIL"; then
 
7509
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
7510
else
 
7511
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7512
for as_dir in $PATH
 
7513
do
 
7514
  IFS=$as_save_IFS
 
7515
  test -z "$as_dir" && as_dir=.
 
7516
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7517
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7518
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
7519
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7520
    break 2
 
7521
  fi
 
7522
done
 
7523
  done
 
7524
IFS=$as_save_IFS
 
7525
 
 
7526
fi
 
7527
fi
 
7528
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
7529
if test -n "$ac_ct_DSYMUTIL"; then
 
7530
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 
7531
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
7532
else
 
7533
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7534
$as_echo "no" >&6; }
 
7535
fi
 
7536
 
 
7537
  if test "x$ac_ct_DSYMUTIL" = x; then
 
7538
    DSYMUTIL=":"
 
7539
  else
 
7540
    case $cross_compiling:$ac_tool_warned in
 
7541
yes:)
 
7542
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7543
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7544
ac_tool_warned=yes ;;
 
7545
esac
 
7546
    DSYMUTIL=$ac_ct_DSYMUTIL
 
7547
  fi
 
7548
else
 
7549
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
7550
fi
 
7551
 
 
7552
    if test -n "$ac_tool_prefix"; then
 
7553
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
7554
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
7555
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7556
$as_echo_n "checking for $ac_word... " >&6; }
 
7557
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
7558
  $as_echo_n "(cached) " >&6
 
7559
else
 
7560
  if test -n "$NMEDIT"; then
 
7561
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
7562
else
 
7563
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7564
for as_dir in $PATH
 
7565
do
 
7566
  IFS=$as_save_IFS
 
7567
  test -z "$as_dir" && as_dir=.
 
7568
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7569
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7570
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
7571
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7572
    break 2
 
7573
  fi
 
7574
done
 
7575
  done
 
7576
IFS=$as_save_IFS
 
7577
 
 
7578
fi
 
7579
fi
 
7580
NMEDIT=$ac_cv_prog_NMEDIT
 
7581
if test -n "$NMEDIT"; then
 
7582
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 
7583
$as_echo "$NMEDIT" >&6; }
 
7584
else
 
7585
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7586
$as_echo "no" >&6; }
 
7587
fi
 
7588
 
 
7589
 
 
7590
fi
 
7591
if test -z "$ac_cv_prog_NMEDIT"; then
 
7592
  ac_ct_NMEDIT=$NMEDIT
 
7593
  # Extract the first word of "nmedit", so it can be a program name with args.
 
7594
set dummy nmedit; ac_word=$2
 
7595
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7596
$as_echo_n "checking for $ac_word... " >&6; }
 
7597
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
7598
  $as_echo_n "(cached) " >&6
 
7599
else
 
7600
  if test -n "$ac_ct_NMEDIT"; then
 
7601
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
7602
else
 
7603
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7604
for as_dir in $PATH
 
7605
do
 
7606
  IFS=$as_save_IFS
 
7607
  test -z "$as_dir" && as_dir=.
 
7608
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7609
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7610
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
7611
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7612
    break 2
 
7613
  fi
 
7614
done
 
7615
  done
 
7616
IFS=$as_save_IFS
 
7617
 
 
7618
fi
 
7619
fi
 
7620
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
7621
if test -n "$ac_ct_NMEDIT"; then
 
7622
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 
7623
$as_echo "$ac_ct_NMEDIT" >&6; }
 
7624
else
 
7625
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7626
$as_echo "no" >&6; }
 
7627
fi
 
7628
 
 
7629
  if test "x$ac_ct_NMEDIT" = x; then
 
7630
    NMEDIT=":"
 
7631
  else
 
7632
    case $cross_compiling:$ac_tool_warned in
 
7633
yes:)
 
7634
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7635
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7636
ac_tool_warned=yes ;;
 
7637
esac
 
7638
    NMEDIT=$ac_ct_NMEDIT
 
7639
  fi
 
7640
else
 
7641
  NMEDIT="$ac_cv_prog_NMEDIT"
 
7642
fi
 
7643
 
 
7644
    if test -n "$ac_tool_prefix"; then
 
7645
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
7646
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
7647
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7648
$as_echo_n "checking for $ac_word... " >&6; }
 
7649
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
7650
  $as_echo_n "(cached) " >&6
 
7651
else
 
7652
  if test -n "$LIPO"; then
 
7653
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
7654
else
 
7655
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7656
for as_dir in $PATH
 
7657
do
 
7658
  IFS=$as_save_IFS
 
7659
  test -z "$as_dir" && as_dir=.
 
7660
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7661
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7662
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
7663
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7664
    break 2
 
7665
  fi
 
7666
done
 
7667
  done
 
7668
IFS=$as_save_IFS
 
7669
 
 
7670
fi
 
7671
fi
 
7672
LIPO=$ac_cv_prog_LIPO
 
7673
if test -n "$LIPO"; then
 
7674
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
7675
$as_echo "$LIPO" >&6; }
 
7676
else
 
7677
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7678
$as_echo "no" >&6; }
 
7679
fi
 
7680
 
 
7681
 
 
7682
fi
 
7683
if test -z "$ac_cv_prog_LIPO"; then
 
7684
  ac_ct_LIPO=$LIPO
 
7685
  # Extract the first word of "lipo", so it can be a program name with args.
 
7686
set dummy lipo; ac_word=$2
 
7687
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7688
$as_echo_n "checking for $ac_word... " >&6; }
 
7689
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
7690
  $as_echo_n "(cached) " >&6
 
7691
else
 
7692
  if test -n "$ac_ct_LIPO"; then
 
7693
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
7694
else
 
7695
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7696
for as_dir in $PATH
 
7697
do
 
7698
  IFS=$as_save_IFS
 
7699
  test -z "$as_dir" && as_dir=.
 
7700
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7701
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7702
    ac_cv_prog_ac_ct_LIPO="lipo"
 
7703
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7704
    break 2
 
7705
  fi
 
7706
done
 
7707
  done
 
7708
IFS=$as_save_IFS
 
7709
 
 
7710
fi
 
7711
fi
 
7712
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
7713
if test -n "$ac_ct_LIPO"; then
 
7714
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 
7715
$as_echo "$ac_ct_LIPO" >&6; }
 
7716
else
 
7717
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7718
$as_echo "no" >&6; }
 
7719
fi
 
7720
 
 
7721
  if test "x$ac_ct_LIPO" = x; then
 
7722
    LIPO=":"
 
7723
  else
 
7724
    case $cross_compiling:$ac_tool_warned in
 
7725
yes:)
 
7726
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7727
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7728
ac_tool_warned=yes ;;
 
7729
esac
 
7730
    LIPO=$ac_ct_LIPO
 
7731
  fi
 
7732
else
 
7733
  LIPO="$ac_cv_prog_LIPO"
 
7734
fi
 
7735
 
 
7736
    if test -n "$ac_tool_prefix"; then
 
7737
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
7738
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
7739
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7740
$as_echo_n "checking for $ac_word... " >&6; }
 
7741
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
7742
  $as_echo_n "(cached) " >&6
 
7743
else
 
7744
  if test -n "$OTOOL"; then
 
7745
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
7746
else
 
7747
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7748
for as_dir in $PATH
 
7749
do
 
7750
  IFS=$as_save_IFS
 
7751
  test -z "$as_dir" && as_dir=.
 
7752
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7753
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7754
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
7755
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7756
    break 2
 
7757
  fi
 
7758
done
 
7759
  done
 
7760
IFS=$as_save_IFS
 
7761
 
 
7762
fi
 
7763
fi
 
7764
OTOOL=$ac_cv_prog_OTOOL
 
7765
if test -n "$OTOOL"; then
 
7766
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 
7767
$as_echo "$OTOOL" >&6; }
 
7768
else
 
7769
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7770
$as_echo "no" >&6; }
 
7771
fi
 
7772
 
 
7773
 
 
7774
fi
 
7775
if test -z "$ac_cv_prog_OTOOL"; then
 
7776
  ac_ct_OTOOL=$OTOOL
 
7777
  # Extract the first word of "otool", so it can be a program name with args.
 
7778
set dummy otool; ac_word=$2
 
7779
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7780
$as_echo_n "checking for $ac_word... " >&6; }
 
7781
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
7782
  $as_echo_n "(cached) " >&6
 
7783
else
 
7784
  if test -n "$ac_ct_OTOOL"; then
 
7785
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
7786
else
 
7787
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7788
for as_dir in $PATH
 
7789
do
 
7790
  IFS=$as_save_IFS
 
7791
  test -z "$as_dir" && as_dir=.
 
7792
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7793
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7794
    ac_cv_prog_ac_ct_OTOOL="otool"
 
7795
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7796
    break 2
 
7797
  fi
 
7798
done
 
7799
  done
 
7800
IFS=$as_save_IFS
 
7801
 
 
7802
fi
 
7803
fi
 
7804
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
7805
if test -n "$ac_ct_OTOOL"; then
 
7806
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 
7807
$as_echo "$ac_ct_OTOOL" >&6; }
 
7808
else
 
7809
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7810
$as_echo "no" >&6; }
 
7811
fi
 
7812
 
 
7813
  if test "x$ac_ct_OTOOL" = x; then
 
7814
    OTOOL=":"
 
7815
  else
 
7816
    case $cross_compiling:$ac_tool_warned in
 
7817
yes:)
 
7818
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7819
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7820
ac_tool_warned=yes ;;
 
7821
esac
 
7822
    OTOOL=$ac_ct_OTOOL
 
7823
  fi
 
7824
else
 
7825
  OTOOL="$ac_cv_prog_OTOOL"
 
7826
fi
 
7827
 
 
7828
    if test -n "$ac_tool_prefix"; then
 
7829
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
7830
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
7831
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7832
$as_echo_n "checking for $ac_word... " >&6; }
 
7833
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
7834
  $as_echo_n "(cached) " >&6
 
7835
else
 
7836
  if test -n "$OTOOL64"; then
 
7837
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
7838
else
 
7839
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7840
for as_dir in $PATH
 
7841
do
 
7842
  IFS=$as_save_IFS
 
7843
  test -z "$as_dir" && as_dir=.
 
7844
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7845
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7846
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
7847
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7848
    break 2
 
7849
  fi
 
7850
done
 
7851
  done
 
7852
IFS=$as_save_IFS
 
7853
 
 
7854
fi
 
7855
fi
 
7856
OTOOL64=$ac_cv_prog_OTOOL64
 
7857
if test -n "$OTOOL64"; then
 
7858
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 
7859
$as_echo "$OTOOL64" >&6; }
 
7860
else
 
7861
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7862
$as_echo "no" >&6; }
 
7863
fi
 
7864
 
 
7865
 
 
7866
fi
 
7867
if test -z "$ac_cv_prog_OTOOL64"; then
 
7868
  ac_ct_OTOOL64=$OTOOL64
 
7869
  # Extract the first word of "otool64", so it can be a program name with args.
 
7870
set dummy otool64; ac_word=$2
 
7871
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7872
$as_echo_n "checking for $ac_word... " >&6; }
 
7873
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
7874
  $as_echo_n "(cached) " >&6
 
7875
else
 
7876
  if test -n "$ac_ct_OTOOL64"; then
 
7877
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
7878
else
 
7879
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7880
for as_dir in $PATH
 
7881
do
 
7882
  IFS=$as_save_IFS
 
7883
  test -z "$as_dir" && as_dir=.
 
7884
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7885
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7886
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
7887
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7888
    break 2
 
7889
  fi
 
7890
done
 
7891
  done
 
7892
IFS=$as_save_IFS
 
7893
 
 
7894
fi
 
7895
fi
 
7896
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
7897
if test -n "$ac_ct_OTOOL64"; then
 
7898
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 
7899
$as_echo "$ac_ct_OTOOL64" >&6; }
 
7900
else
 
7901
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7902
$as_echo "no" >&6; }
 
7903
fi
 
7904
 
 
7905
  if test "x$ac_ct_OTOOL64" = x; then
 
7906
    OTOOL64=":"
 
7907
  else
 
7908
    case $cross_compiling:$ac_tool_warned in
 
7909
yes:)
 
7910
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7911
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7912
ac_tool_warned=yes ;;
 
7913
esac
 
7914
    OTOOL64=$ac_ct_OTOOL64
 
7915
  fi
 
7916
else
 
7917
  OTOOL64="$ac_cv_prog_OTOOL64"
 
7918
fi
 
7919
 
 
7920
 
 
7921
 
 
7922
 
 
7923
 
 
7924
 
 
7925
 
 
7926
 
 
7927
 
 
7928
 
 
7929
 
 
7930
 
 
7931
 
 
7932
 
 
7933
 
 
7934
 
 
7935
 
 
7936
 
 
7937
 
 
7938
 
 
7939
 
 
7940
 
 
7941
 
 
7942
 
 
7943
 
 
7944
 
 
7945
 
 
7946
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 
7947
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
7948
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
7949
  $as_echo_n "(cached) " >&6
 
7950
else
 
7951
  lt_cv_apple_cc_single_mod=no
 
7952
      if test -z "${LT_MULTI_MODULE}"; then
 
7953
        # By default we will add the -single_module flag. You can override
 
7954
        # by either setting the environment variable LT_MULTI_MODULE
 
7955
        # non-empty at configure time, or by adding -multi_module to the
 
7956
        # link flags.
 
7957
        rm -rf libconftest.dylib*
 
7958
        echo "int foo(void){return 1;}" > conftest.c
 
7959
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7960
-dynamiclib -Wl,-single_module conftest.c" >&5
 
7961
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7962
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
7963
        _lt_result=$?
 
7964
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
7965
          lt_cv_apple_cc_single_mod=yes
 
7966
        else
 
7967
          cat conftest.err >&5
 
7968
        fi
 
7969
        rm -rf libconftest.dylib*
 
7970
        rm -f conftest.*
 
7971
      fi
 
7972
fi
 
7973
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 
7974
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
7975
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 
7976
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
7977
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
7978
  $as_echo_n "(cached) " >&6
 
7979
else
 
7980
  lt_cv_ld_exported_symbols_list=no
 
7981
      save_LDFLAGS=$LDFLAGS
 
7982
      echo "_main" > conftest.sym
 
7983
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
7984
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7985
/* end confdefs.h.  */
 
7986
 
 
7987
int
 
7988
main ()
 
7989
{
 
7990
 
 
7991
  ;
 
7992
  return 0;
 
7993
}
 
7994
_ACEOF
 
7995
if ac_fn_c_try_link "$LINENO"; then :
 
7996
  lt_cv_ld_exported_symbols_list=yes
 
7997
else
 
7998
  lt_cv_ld_exported_symbols_list=no
 
7999
fi
 
8000
rm -f core conftest.err conftest.$ac_objext \
 
8001
    conftest$ac_exeext conftest.$ac_ext
 
8002
        LDFLAGS="$save_LDFLAGS"
 
8003
 
 
8004
fi
 
8005
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 
8006
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
8007
    case $host_os in
 
8008
    rhapsody* | darwin1.[012])
 
8009
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
8010
    darwin1.*)
 
8011
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
8012
    darwin*) # darwin 5.x on
 
8013
      # if running on 10.5 or later, the deployment target defaults
 
8014
      # to the OS version, if on x86, and 10.4, the deployment
 
8015
      # target defaults to 10.4. Don't you love it?
 
8016
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
8017
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
8018
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
8019
        10.[012]*)
 
8020
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
8021
        10.*)
 
8022
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
8023
      esac
 
8024
    ;;
 
8025
  esac
 
8026
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
8027
      _lt_dar_single_mod='$single_module'
 
8028
    fi
 
8029
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
8030
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
8031
    else
 
8032
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
8033
    fi
 
8034
    if test "$DSYMUTIL" != ":"; then
 
8035
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
8036
    else
 
8037
      _lt_dsymutil=
 
8038
    fi
 
8039
    ;;
 
8040
  esac
 
8041
 
 
8042
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
8043
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
8044
                  inttypes.h stdint.h unistd.h
 
8045
do :
 
8046
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
8047
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
8048
"
 
8049
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
8050
  cat >>confdefs.h <<_ACEOF
 
8051
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
8052
_ACEOF
 
8053
 
 
8054
fi
 
8055
 
 
8056
done
 
8057
 
 
8058
 
 
8059
for ac_header in dlfcn.h
 
8060
do :
 
8061
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
8062
"
 
8063
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
8064
  cat >>confdefs.h <<_ACEOF
 
8065
#define HAVE_DLFCN_H 1
 
8066
_ACEOF
 
8067
 
 
8068
fi
 
8069
 
 
8070
done
 
8071
 
 
8072
 
 
8073
 
 
8074
# Set options
 
8075
 
 
8076
 
 
8077
 
 
8078
        enable_dlopen=no
 
8079
 
 
8080
 
 
8081
  enable_win32_dll=no
 
8082
 
 
8083
 
 
8084
            # Check whether --enable-shared was given.
 
8085
if test "${enable_shared+set}" = set; then :
 
8086
  enableval=$enable_shared; p=${PACKAGE-default}
 
8087
    case $enableval in
 
8088
    yes) enable_shared=yes ;;
 
8089
    no) enable_shared=no ;;
 
8090
    *)
 
8091
      enable_shared=no
 
8092
      # Look at the argument we got.  We use all the common list separators.
 
8093
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8094
      for pkg in $enableval; do
 
8095
        IFS="$lt_save_ifs"
 
8096
        if test "X$pkg" = "X$p"; then
 
8097
          enable_shared=yes
 
8098
        fi
 
8099
      done
 
8100
      IFS="$lt_save_ifs"
 
8101
      ;;
 
8102
    esac
 
8103
else
 
8104
  enable_shared=yes
 
8105
fi
 
8106
 
 
8107
 
 
8108
 
 
8109
 
 
8110
 
 
8111
 
 
8112
 
 
8113
 
 
8114
 
 
8115
 
 
8116
 
 
8117
# Check whether --with-pic was given.
 
8118
if test "${with_pic+set}" = set; then :
 
8119
  withval=$with_pic; pic_mode="$withval"
 
8120
else
 
8121
  pic_mode=default
 
8122
fi
 
8123
 
 
8124
 
 
8125
test -z "$pic_mode" && pic_mode=default
 
8126
 
 
8127
 
 
8128
 
 
8129
 
 
8130
 
 
8131
 
 
8132
 
 
8133
  # Check whether --enable-fast-install was given.
 
8134
if test "${enable_fast_install+set}" = set; then :
 
8135
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
8136
    case $enableval in
 
8137
    yes) enable_fast_install=yes ;;
 
8138
    no) enable_fast_install=no ;;
 
8139
    *)
 
8140
      enable_fast_install=no
 
8141
      # Look at the argument we got.  We use all the common list separators.
 
8142
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8143
      for pkg in $enableval; do
 
8144
        IFS="$lt_save_ifs"
 
8145
        if test "X$pkg" = "X$p"; then
 
8146
          enable_fast_install=yes
 
8147
        fi
 
8148
      done
 
8149
      IFS="$lt_save_ifs"
 
8150
      ;;
 
8151
    esac
 
8152
else
 
8153
  enable_fast_install=yes
 
8154
fi
 
8155
 
 
8156
 
 
8157
 
 
8158
 
 
8159
 
 
8160
 
 
8161
 
 
8162
 
 
8163
 
 
8164
 
 
8165
 
 
8166
# This can be used to rebuild libtool when needed
 
8167
LIBTOOL_DEPS="$ltmain"
 
8168
 
 
8169
# Always use our own libtool.
 
8170
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
8171
 
 
8172
 
 
8173
 
 
8174
 
 
8175
 
 
8176
 
 
8177
 
 
8178
 
 
8179
 
 
8180
 
 
8181
 
 
8182
 
 
8183
 
 
8184
 
 
8185
 
 
8186
 
 
8187
 
 
8188
 
 
8189
 
 
8190
 
 
8191
 
 
8192
 
 
8193
 
 
8194
 
 
8195
 
 
8196
test -z "$LN_S" && LN_S="ln -s"
 
8197
 
 
8198
 
 
8199
 
 
8200
 
 
8201
 
 
8202
 
 
8203
 
 
8204
 
 
8205
 
 
8206
 
 
8207
 
 
8208
 
 
8209
 
 
8210
 
 
8211
if test -n "${ZSH_VERSION+set}" ; then
 
8212
   setopt NO_GLOB_SUBST
 
8213
fi
 
8214
 
 
8215
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 
8216
$as_echo_n "checking for objdir... " >&6; }
 
8217
if test "${lt_cv_objdir+set}" = set; then :
 
8218
  $as_echo_n "(cached) " >&6
7577
8219
else
7578
8220
  rm -f .libs 2>/dev/null
7579
8221
mkdir .libs 2>/dev/null
7585
8227
fi
7586
8228
rmdir .libs 2>/dev/null
7587
8229
fi
7588
 
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7589
 
echo "${ECHO_T}$lt_cv_objdir" >&6
 
8230
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 
8231
$as_echo "$lt_cv_objdir" >&6; }
7590
8232
objdir=$lt_cv_objdir
7591
8233
 
7592
8234
 
7593
8235
 
7594
8236
 
7595
8237
 
 
8238
cat >>confdefs.h <<_ACEOF
 
8239
#define LT_OBJDIR "$lt_cv_objdir/"
 
8240
_ACEOF
 
8241
 
 
8242
 
 
8243
 
 
8244
 
 
8245
 
 
8246
 
 
8247
 
 
8248
 
 
8249
 
 
8250
 
 
8251
 
 
8252
 
 
8253
 
 
8254
 
 
8255
 
 
8256
 
 
8257
 
7596
8258
case $host_os in
7597
8259
aix3*)
7598
8260
  # AIX sometimes has problems with the GCC collect2 program.  For some
7607
8269
 
7608
8270
# Sed substitution that helps us do robust quoting.  It backslashifies
7609
8271
# metacharacters that are still active within double-quoted strings.
7610
 
Xsed='sed -e 1s/^X//'
7611
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
 
8272
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7612
8273
 
7613
8274
# Same as above, but do not quote variable references.
7614
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
 
8275
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7615
8276
 
7616
8277
# Sed substitution to delay expansion of an escaped shell variable in a
7617
8278
# double_quote_subst'ed string.
7618
8279
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7619
8280
 
 
8281
# Sed substitution to delay expansion of an escaped single quote.
 
8282
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
8283
 
7620
8284
# Sed substitution to avoid accidental globbing in evaled expressions
7621
8285
no_glob_subst='s/\*/\\\*/g'
7622
8286
 
7623
 
# Constants:
7624
 
rm="rm -f"
7625
 
 
7626
8287
# Global variables:
7627
 
default_ofile=libtool
 
8288
ofile=libtool
7628
8289
can_build_shared=yes
7629
8290
 
7630
8291
# All known linkers require a `.a' archive for static linking (except MSVC,
7631
8292
# which needs '.lib').
7632
8293
libext=a
7633
 
ltmain="$ac_aux_dir/ltmain.sh"
7634
 
ofile="$default_ofile"
 
8294
 
7635
8295
with_gnu_ld="$lt_cv_prog_gnu_ld"
7636
8296
 
7637
 
if test -n "$ac_tool_prefix"; then
7638
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7639
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
7640
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7641
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7642
 
if test "${ac_cv_prog_AR+set}" = set; then
7643
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7644
 
else
7645
 
  if test -n "$AR"; then
7646
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
7647
 
else
7648
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7649
 
for as_dir in $PATH
7650
 
do
7651
 
  IFS=$as_save_IFS
7652
 
  test -z "$as_dir" && as_dir=.
7653
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7654
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7655
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
7656
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7657
 
    break 2
7658
 
  fi
7659
 
done
7660
 
done
7661
 
 
7662
 
fi
7663
 
fi
7664
 
AR=$ac_cv_prog_AR
7665
 
if test -n "$AR"; then
7666
 
  echo "$as_me:$LINENO: result: $AR" >&5
7667
 
echo "${ECHO_T}$AR" >&6
7668
 
else
7669
 
  echo "$as_me:$LINENO: result: no" >&5
7670
 
echo "${ECHO_T}no" >&6
7671
 
fi
7672
 
 
7673
 
fi
7674
 
if test -z "$ac_cv_prog_AR"; then
7675
 
  ac_ct_AR=$AR
7676
 
  # Extract the first word of "ar", so it can be a program name with args.
7677
 
set dummy ar; ac_word=$2
7678
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7679
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7680
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7681
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7682
 
else
7683
 
  if test -n "$ac_ct_AR"; then
7684
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7685
 
else
7686
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7687
 
for as_dir in $PATH
7688
 
do
7689
 
  IFS=$as_save_IFS
7690
 
  test -z "$as_dir" && as_dir=.
7691
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7692
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7693
 
    ac_cv_prog_ac_ct_AR="ar"
7694
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7695
 
    break 2
7696
 
  fi
7697
 
done
7698
 
done
7699
 
 
7700
 
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
7701
 
fi
7702
 
fi
7703
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
7704
 
if test -n "$ac_ct_AR"; then
7705
 
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7706
 
echo "${ECHO_T}$ac_ct_AR" >&6
7707
 
else
7708
 
  echo "$as_me:$LINENO: result: no" >&5
7709
 
echo "${ECHO_T}no" >&6
7710
 
fi
7711
 
 
7712
 
  AR=$ac_ct_AR
7713
 
else
7714
 
  AR="$ac_cv_prog_AR"
7715
 
fi
7716
 
 
7717
 
if test -n "$ac_tool_prefix"; then
7718
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7719
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7720
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7721
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7722
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
7723
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7724
 
else
7725
 
  if test -n "$RANLIB"; then
7726
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7727
 
else
7728
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7729
 
for as_dir in $PATH
7730
 
do
7731
 
  IFS=$as_save_IFS
7732
 
  test -z "$as_dir" && as_dir=.
7733
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7734
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7735
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7736
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7737
 
    break 2
7738
 
  fi
7739
 
done
7740
 
done
7741
 
 
7742
 
fi
7743
 
fi
7744
 
RANLIB=$ac_cv_prog_RANLIB
7745
 
if test -n "$RANLIB"; then
7746
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
7747
 
echo "${ECHO_T}$RANLIB" >&6
7748
 
else
7749
 
  echo "$as_me:$LINENO: result: no" >&5
7750
 
echo "${ECHO_T}no" >&6
7751
 
fi
7752
 
 
7753
 
fi
7754
 
if test -z "$ac_cv_prog_RANLIB"; then
7755
 
  ac_ct_RANLIB=$RANLIB
7756
 
  # Extract the first word of "ranlib", so it can be a program name with args.
7757
 
set dummy ranlib; ac_word=$2
7758
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7759
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7760
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7761
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7762
 
else
7763
 
  if test -n "$ac_ct_RANLIB"; then
7764
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7765
 
else
7766
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7767
 
for as_dir in $PATH
7768
 
do
7769
 
  IFS=$as_save_IFS
7770
 
  test -z "$as_dir" && as_dir=.
7771
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7772
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7773
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
7774
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7775
 
    break 2
7776
 
  fi
7777
 
done
7778
 
done
7779
 
 
7780
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
7781
 
fi
7782
 
fi
7783
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7784
 
if test -n "$ac_ct_RANLIB"; then
7785
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7786
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
7787
 
else
7788
 
  echo "$as_me:$LINENO: result: no" >&5
7789
 
echo "${ECHO_T}no" >&6
7790
 
fi
7791
 
 
7792
 
  RANLIB=$ac_ct_RANLIB
7793
 
else
7794
 
  RANLIB="$ac_cv_prog_RANLIB"
7795
 
fi
7796
 
 
7797
 
if test -n "$ac_tool_prefix"; then
7798
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7799
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
7800
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7801
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7802
 
if test "${ac_cv_prog_STRIP+set}" = set; then
7803
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7804
 
else
7805
 
  if test -n "$STRIP"; then
7806
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7807
 
else
7808
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7809
 
for as_dir in $PATH
7810
 
do
7811
 
  IFS=$as_save_IFS
7812
 
  test -z "$as_dir" && as_dir=.
7813
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7814
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7815
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7816
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7817
 
    break 2
7818
 
  fi
7819
 
done
7820
 
done
7821
 
 
7822
 
fi
7823
 
fi
7824
 
STRIP=$ac_cv_prog_STRIP
7825
 
if test -n "$STRIP"; then
7826
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
7827
 
echo "${ECHO_T}$STRIP" >&6
7828
 
else
7829
 
  echo "$as_me:$LINENO: result: no" >&5
7830
 
echo "${ECHO_T}no" >&6
7831
 
fi
7832
 
 
7833
 
fi
7834
 
if test -z "$ac_cv_prog_STRIP"; then
7835
 
  ac_ct_STRIP=$STRIP
7836
 
  # Extract the first word of "strip", so it can be a program name with args.
7837
 
set dummy strip; ac_word=$2
7838
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7839
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7840
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7841
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7842
 
else
7843
 
  if test -n "$ac_ct_STRIP"; then
7844
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7845
 
else
7846
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7847
 
for as_dir in $PATH
7848
 
do
7849
 
  IFS=$as_save_IFS
7850
 
  test -z "$as_dir" && as_dir=.
7851
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7852
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7853
 
    ac_cv_prog_ac_ct_STRIP="strip"
7854
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7855
 
    break 2
7856
 
  fi
7857
 
done
7858
 
done
7859
 
 
7860
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
7861
 
fi
7862
 
fi
7863
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7864
 
if test -n "$ac_ct_STRIP"; then
7865
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7866
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
7867
 
else
7868
 
  echo "$as_me:$LINENO: result: no" >&5
7869
 
echo "${ECHO_T}no" >&6
7870
 
fi
7871
 
 
7872
 
  STRIP=$ac_ct_STRIP
7873
 
else
7874
 
  STRIP="$ac_cv_prog_STRIP"
7875
 
fi
7876
 
 
7877
 
 
7878
8297
old_CC="$CC"
7879
8298
old_CFLAGS="$CFLAGS"
7880
8299
 
7881
8300
# Set sane defaults for various variables
7882
 
test -z "$AR" && AR=ar
7883
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
7884
 
test -z "$AS" && AS=as
7885
8301
test -z "$CC" && CC=cc
7886
8302
test -z "$LTCC" && LTCC=$CC
7887
8303
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7888
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
7889
8304
test -z "$LD" && LD=ld
7890
 
test -z "$LN_S" && LN_S="ln -s"
7891
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7892
 
test -z "$NM" && NM=nm
7893
 
test -z "$SED" && SED=sed
7894
 
test -z "$OBJDUMP" && OBJDUMP=objdump
7895
 
test -z "$RANLIB" && RANLIB=:
7896
 
test -z "$STRIP" && STRIP=:
7897
8305
test -z "$ac_objext" && ac_objext=o
7898
8306
 
7899
 
# Determine commands to create old-style static archives.
7900
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
7901
 
old_postinstall_cmds='chmod 644 $oldlib'
7902
 
old_postuninstall_cmds=
7903
 
 
7904
 
if test -n "$RANLIB"; then
7905
 
  case $host_os in
7906
 
  openbsd*)
7907
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7908
 
    ;;
7909
 
  *)
7910
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7911
 
    ;;
7912
 
  esac
7913
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7914
 
fi
7915
 
 
7916
8307
for cc_temp in $compiler""; do
7917
8308
  case $cc_temp in
7918
8309
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7921
8312
    *) break;;
7922
8313
  esac
7923
8314
done
7924
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
8315
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7925
8316
 
7926
8317
 
7927
8318
# Only perform the check for file, if the check method requires it
 
8319
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7928
8320
case $deplibs_check_method in
7929
8321
file_magic*)
7930
8322
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7931
 
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7932
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7933
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7934
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8323
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 
8324
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
8325
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
8326
  $as_echo_n "(cached) " >&6
7935
8327
else
7936
8328
  case $MAGIC_CMD in
7937
8329
[\\/*] |  ?:[\\/]*)
7955
8347
            $EGREP "$file_magic_regex" > /dev/null; then
7956
8348
            :
7957
8349
          else
7958
 
            cat <<EOF 1>&2
 
8350
            cat <<_LT_EOF 1>&2
7959
8351
 
7960
8352
*** Warning: the command libtool uses to detect shared libraries,
7961
8353
*** $file_magic_cmd, produces output that libtool cannot recognize.
7966
8358
*** may want to report the problem to your system manager and/or to
7967
8359
*** bug-libtool@gnu.org
7968
8360
 
7969
 
EOF
 
8361
_LT_EOF
7970
8362
          fi ;;
7971
8363
        esac
7972
8364
      fi
7981
8373
 
7982
8374
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7983
8375
if test -n "$MAGIC_CMD"; then
7984
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7985
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
8376
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
8377
$as_echo "$MAGIC_CMD" >&6; }
7986
8378
else
7987
 
  echo "$as_me:$LINENO: result: no" >&5
7988
 
echo "${ECHO_T}no" >&6
 
8379
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8380
$as_echo "no" >&6; }
7989
8381
fi
7990
8382
 
 
8383
 
 
8384
 
 
8385
 
 
8386
 
7991
8387
if test -z "$lt_cv_path_MAGIC_CMD"; then
7992
8388
  if test -n "$ac_tool_prefix"; then
7993
 
    echo "$as_me:$LINENO: checking for file" >&5
7994
 
echo $ECHO_N "checking for file... $ECHO_C" >&6
7995
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7996
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8389
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 
8390
$as_echo_n "checking for file... " >&6; }
 
8391
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
8392
  $as_echo_n "(cached) " >&6
7997
8393
else
7998
8394
  case $MAGIC_CMD in
7999
8395
[\\/*] |  ?:[\\/]*)
8017
8413
            $EGREP "$file_magic_regex" > /dev/null; then
8018
8414
            :
8019
8415
          else
8020
 
            cat <<EOF 1>&2
 
8416
            cat <<_LT_EOF 1>&2
8021
8417
 
8022
8418
*** Warning: the command libtool uses to detect shared libraries,
8023
8419
*** $file_magic_cmd, produces output that libtool cannot recognize.
8028
8424
*** may want to report the problem to your system manager and/or to
8029
8425
*** bug-libtool@gnu.org
8030
8426
 
8031
 
EOF
 
8427
_LT_EOF
8032
8428
          fi ;;
8033
8429
        esac
8034
8430
      fi
8043
8439
 
8044
8440
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8045
8441
if test -n "$MAGIC_CMD"; then
8046
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8047
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
8442
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
8443
$as_echo "$MAGIC_CMD" >&6; }
8048
8444
else
8049
 
  echo "$as_me:$LINENO: result: no" >&5
8050
 
echo "${ECHO_T}no" >&6
 
8445
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8446
$as_echo "no" >&6; }
8051
8447
fi
8052
8448
 
 
8449
 
8053
8450
  else
8054
8451
    MAGIC_CMD=:
8055
8452
  fi
8059
8456
  ;;
8060
8457
esac
8061
8458
 
8062
 
enable_dlopen=no
8063
 
enable_win32_dll=no
8064
 
 
8065
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
8066
 
if test "${enable_libtool_lock+set}" = set; then
8067
 
  enableval="$enable_libtool_lock"
8068
 
 
8069
 
fi;
8070
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8071
 
 
8072
 
 
8073
 
# Check whether --with-pic or --without-pic was given.
8074
 
if test "${with_pic+set}" = set; then
8075
 
  withval="$with_pic"
8076
 
  pic_mode="$withval"
8077
 
else
8078
 
  pic_mode=default
8079
 
fi;
8080
 
test -z "$pic_mode" && pic_mode=default
8081
 
 
8082
8459
# Use C for the default configuration in the libtool script
8083
 
tagname=
 
8460
 
8084
8461
lt_save_CC="$CC"
8085
8462
ac_ext=c
8086
8463
ac_cpp='$CPP $CPPFLAGS'
8097
8474
objext=$objext
8098
8475
 
8099
8476
# Code to be used in simple compile tests
8100
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
8477
lt_simple_compile_test_code="int some_variable = 0;"
8101
8478
 
8102
8479
# Code to be used in simple link tests
8103
 
lt_simple_link_test_code='int main(){return(0);}\n'
 
8480
lt_simple_link_test_code='int main(){return(0);}'
 
8481
 
 
8482
 
 
8483
 
 
8484
 
 
8485
 
8104
8486
 
8105
8487
 
8106
8488
# If no C compiler was specified, use CC.
8112
8494
# Allow CC to be a program name with arguments.
8113
8495
compiler=$CC
8114
8496
 
 
8497
# Save the default compiler, since it gets overwritten when the other
 
8498
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
8499
compiler_DEFAULT=$CC
8115
8500
 
8116
8501
# save warnings/boilerplate of simple test code
8117
8502
ac_outfile=conftest.$ac_objext
8118
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
8503
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8119
8504
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8120
8505
_lt_compiler_boilerplate=`cat conftest.err`
8121
 
$rm conftest*
 
8506
$RM conftest*
8122
8507
 
8123
8508
ac_outfile=conftest.$ac_objext
8124
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
8509
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8125
8510
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8126
8511
_lt_linker_boilerplate=`cat conftest.err`
8127
 
$rm conftest*
8128
 
 
8129
 
 
 
8512
$RM -r conftest*
 
8513
 
 
8514
 
 
8515
if test -n "$compiler"; then
8130
8516
 
8131
8517
lt_prog_compiler_no_builtin_flag=
8132
8518
 
8133
8519
if test "$GCC" = yes; then
8134
8520
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8135
8521
 
8136
 
 
8137
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8138
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
8139
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8140
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8522
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
8523
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
8524
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
8525
  $as_echo_n "(cached) " >&6
8141
8526
else
8142
8527
  lt_cv_prog_compiler_rtti_exceptions=no
8143
 
  ac_outfile=conftest.$ac_objext
8144
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8528
   ac_outfile=conftest.$ac_objext
 
8529
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8145
8530
   lt_compiler_flag="-fno-rtti -fno-exceptions"
8146
8531
   # Insert the option either (1) after the last *FLAGS variable, or
8147
8532
   # (2) before a word containing "conftest.", or (3) at the end.
8152
8537
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8153
8538
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8154
8539
   -e 's:$: $lt_compiler_flag:'`
8155
 
   (eval echo "\"\$as_me:8155: $lt_compile\"" >&5)
 
8540
   (eval echo "\"\$as_me:8540: $lt_compile\"" >&5)
8156
8541
   (eval "$lt_compile" 2>conftest.err)
8157
8542
   ac_status=$?
8158
8543
   cat conftest.err >&5
8159
 
   echo "$as_me:8159: \$? = $ac_status" >&5
 
8544
   echo "$as_me:8544: \$? = $ac_status" >&5
8160
8545
   if (exit $ac_status) && test -s "$ac_outfile"; then
8161
8546
     # The compiler can only warn and ignore the option if not recognized
8162
8547
     # So say no if there are warnings other than the usual output.
8163
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8548
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8164
8549
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8165
8550
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8166
8551
       lt_cv_prog_compiler_rtti_exceptions=yes
8167
8552
     fi
8168
8553
   fi
8169
 
   $rm conftest*
 
8554
   $RM conftest*
8170
8555
 
8171
8556
fi
8172
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8173
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
8557
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
8558
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8174
8559
 
8175
8560
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8176
8561
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8180
8565
 
8181
8566
fi
8182
8567
 
8183
 
lt_prog_compiler_wl=
 
8568
 
 
8569
 
 
8570
 
 
8571
 
 
8572
 
 
8573
  lt_prog_compiler_wl=
8184
8574
lt_prog_compiler_pic=
8185
8575
lt_prog_compiler_static=
8186
8576
 
8187
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8188
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
8577
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
8578
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8189
8579
 
8190
8580
  if test "$GCC" = yes; then
8191
8581
    lt_prog_compiler_wl='-Wl,'
8201
8591
      ;;
8202
8592
 
8203
8593
    amigaos*)
8204
 
      # FIXME: we need at least 68020 code to build shared libraries, but
8205
 
      # adding the `-m68020' flag to GCC prevents building anything better,
8206
 
      # like `-m68040'.
8207
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
8594
      case $host_cpu in
 
8595
      powerpc)
 
8596
            # see comment about AmigaOS4 .so support
 
8597
            lt_prog_compiler_pic='-fPIC'
 
8598
        ;;
 
8599
      m68k)
 
8600
            # FIXME: we need at least 68020 code to build shared libraries, but
 
8601
            # adding the `-m68020' flag to GCC prevents building anything better,
 
8602
            # like `-m68040'.
 
8603
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
8604
        ;;
 
8605
      esac
8208
8606
      ;;
8209
8607
 
8210
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
8608
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8211
8609
      # PIC is the default for these OSes.
8212
8610
      ;;
8213
8611
 
8214
 
    mingw* | pw32* | os2*)
 
8612
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8215
8613
      # This hack is so that the source file can tell whether it is being
8216
8614
      # built for inclusion in a dll (and should export symbols for example).
 
8615
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
8616
      # (--disable-auto-import) libraries
8217
8617
      lt_prog_compiler_pic='-DDLL_EXPORT'
8218
8618
      ;;
8219
8619
 
8223
8623
      lt_prog_compiler_pic='-fno-common'
8224
8624
      ;;
8225
8625
 
8226
 
    interix3*)
 
8626
    hpux*)
 
8627
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
8628
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
8629
      # sets the default TLS model and affects inlining.
 
8630
      case $host_cpu in
 
8631
      hppa*64*)
 
8632
        # +Z the default
 
8633
        ;;
 
8634
      *)
 
8635
        lt_prog_compiler_pic='-fPIC'
 
8636
        ;;
 
8637
      esac
 
8638
      ;;
 
8639
 
 
8640
    interix[3-9]*)
8227
8641
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8228
8642
      # Instead, we relocate shared libraries at runtime.
8229
8643
      ;;
8235
8649
      enable_shared=no
8236
8650
      ;;
8237
8651
 
 
8652
    *nto* | *qnx*)
 
8653
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
8654
      # it will coredump.
 
8655
      lt_prog_compiler_pic='-fPIC -shared'
 
8656
      ;;
 
8657
 
8238
8658
    sysv4*MP*)
8239
8659
      if test -d /usr/nec; then
8240
8660
        lt_prog_compiler_pic=-Kconform_pic
8241
8661
      fi
8242
8662
      ;;
8243
8663
 
8244
 
    hpux*)
8245
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8246
 
      # not for PA HP-UX.
8247
 
      case $host_cpu in
8248
 
      hppa*64*|ia64*)
8249
 
        # +Z the default
8250
 
        ;;
8251
 
      *)
8252
 
        lt_prog_compiler_pic='-fPIC'
8253
 
        ;;
8254
 
      esac
8255
 
      ;;
8256
 
 
8257
8664
    *)
8258
8665
      lt_prog_compiler_pic='-fPIC'
8259
8666
      ;;
8270
8677
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8271
8678
      fi
8272
8679
      ;;
8273
 
      darwin*)
8274
 
        # PIC is the default on this platform
8275
 
        # Common symbols not allowed in MH_DYLIB files
8276
 
       case $cc_basename in
8277
 
         xlc*)
8278
 
         lt_prog_compiler_pic='-qnocommon'
8279
 
         lt_prog_compiler_wl='-Wl,'
8280
 
         ;;
8281
 
       esac
8282
 
       ;;
8283
8680
 
8284
 
    mingw* | pw32* | os2*)
 
8681
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8285
8682
      # This hack is so that the source file can tell whether it is being
8286
8683
      # built for inclusion in a dll (and should export symbols for example).
8287
8684
      lt_prog_compiler_pic='-DDLL_EXPORT'
8309
8706
      lt_prog_compiler_static='-non_shared'
8310
8707
      ;;
8311
8708
 
8312
 
    newsos6)
8313
 
      lt_prog_compiler_pic='-KPIC'
8314
 
      lt_prog_compiler_static='-Bstatic'
8315
 
      ;;
8316
 
 
8317
 
    linux*)
 
8709
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8318
8710
      case $cc_basename in
8319
 
      icc* | ecc*)
 
8711
      # old Intel for x86_64 which still supported -KPIC.
 
8712
      ecc*)
8320
8713
        lt_prog_compiler_wl='-Wl,'
8321
8714
        lt_prog_compiler_pic='-KPIC'
8322
8715
        lt_prog_compiler_static='-static'
8323
8716
        ;;
 
8717
      # icc used to be incompatible with GCC.
 
8718
      # ICC 10 doesn't accept -KPIC any more.
 
8719
      icc* | ifort*)
 
8720
        lt_prog_compiler_wl='-Wl,'
 
8721
        lt_prog_compiler_pic='-fPIC'
 
8722
        lt_prog_compiler_static='-static'
 
8723
        ;;
 
8724
      # Lahey Fortran 8.1.
 
8725
      lf95*)
 
8726
        lt_prog_compiler_wl='-Wl,'
 
8727
        lt_prog_compiler_pic='--shared'
 
8728
        lt_prog_compiler_static='--static'
 
8729
        ;;
8324
8730
      pgcc* | pgf77* | pgf90* | pgf95*)
8325
8731
        # Portland Group compilers (*not* the Pentium gcc compiler,
8326
8732
        # which looks to be a dead project)
8333
8739
        # All Alpha code is PIC.
8334
8740
        lt_prog_compiler_static='-non_shared'
8335
8741
        ;;
 
8742
      xl*)
 
8743
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
8744
        lt_prog_compiler_wl='-Wl,'
 
8745
        lt_prog_compiler_pic='-qpic'
 
8746
        lt_prog_compiler_static='-qstaticlink'
 
8747
        ;;
 
8748
      *)
 
8749
        case `$CC -V 2>&1 | sed 5q` in
 
8750
        *Sun\ C*)
 
8751
          # Sun C 5.9
 
8752
          lt_prog_compiler_pic='-KPIC'
 
8753
          lt_prog_compiler_static='-Bstatic'
 
8754
          lt_prog_compiler_wl='-Wl,'
 
8755
          ;;
 
8756
        *Sun\ F*)
 
8757
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8758
          lt_prog_compiler_pic='-KPIC'
 
8759
          lt_prog_compiler_static='-Bstatic'
 
8760
          lt_prog_compiler_wl=''
 
8761
          ;;
 
8762
        esac
 
8763
        ;;
8336
8764
      esac
8337
8765
      ;;
8338
8766
 
 
8767
    newsos6)
 
8768
      lt_prog_compiler_pic='-KPIC'
 
8769
      lt_prog_compiler_static='-Bstatic'
 
8770
      ;;
 
8771
 
 
8772
    *nto* | *qnx*)
 
8773
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
8774
      # it will coredump.
 
8775
      lt_prog_compiler_pic='-fPIC -shared'
 
8776
      ;;
 
8777
 
8339
8778
    osf3* | osf4* | osf5*)
8340
8779
      lt_prog_compiler_wl='-Wl,'
8341
8780
      # All OSF/1 code is PIC.
8342
8781
      lt_prog_compiler_static='-non_shared'
8343
8782
      ;;
8344
8783
 
 
8784
    rdos*)
 
8785
      lt_prog_compiler_static='-non_shared'
 
8786
      ;;
 
8787
 
8345
8788
    solaris*)
8346
8789
      lt_prog_compiler_pic='-KPIC'
8347
8790
      lt_prog_compiler_static='-Bstatic'
8394
8837
    esac
8395
8838
  fi
8396
8839
 
8397
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8398
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
 
8840
case $host_os in
 
8841
  # For platforms which do not support PIC, -DPIC is meaningless:
 
8842
  *djgpp*)
 
8843
    lt_prog_compiler_pic=
 
8844
    ;;
 
8845
  *)
 
8846
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
8847
    ;;
 
8848
esac
 
8849
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
 
8850
$as_echo "$lt_prog_compiler_pic" >&6; }
 
8851
 
 
8852
 
 
8853
 
 
8854
 
 
8855
 
8399
8856
 
8400
8857
#
8401
8858
# Check to make sure the PIC flag actually works.
8402
8859
#
8403
8860
if test -n "$lt_prog_compiler_pic"; then
8404
 
 
8405
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8406
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
8407
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
8408
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8861
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8862
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
8863
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
8864
  $as_echo_n "(cached) " >&6
8409
8865
else
8410
 
  lt_prog_compiler_pic_works=no
8411
 
  ac_outfile=conftest.$ac_objext
8412
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8866
  lt_cv_prog_compiler_pic_works=no
 
8867
   ac_outfile=conftest.$ac_objext
 
8868
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8413
8869
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8414
8870
   # Insert the option either (1) after the last *FLAGS variable, or
8415
8871
   # (2) before a word containing "conftest.", or (3) at the end.
8420
8876
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8421
8877
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8422
8878
   -e 's:$: $lt_compiler_flag:'`
8423
 
   (eval echo "\"\$as_me:8423: $lt_compile\"" >&5)
 
8879
   (eval echo "\"\$as_me:8879: $lt_compile\"" >&5)
8424
8880
   (eval "$lt_compile" 2>conftest.err)
8425
8881
   ac_status=$?
8426
8882
   cat conftest.err >&5
8427
 
   echo "$as_me:8427: \$? = $ac_status" >&5
 
8883
   echo "$as_me:8883: \$? = $ac_status" >&5
8428
8884
   if (exit $ac_status) && test -s "$ac_outfile"; then
8429
8885
     # The compiler can only warn and ignore the option if not recognized
8430
8886
     # So say no if there are warnings other than the usual output.
8431
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8887
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8432
8888
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8433
8889
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8434
 
       lt_prog_compiler_pic_works=yes
 
8890
       lt_cv_prog_compiler_pic_works=yes
8435
8891
     fi
8436
8892
   fi
8437
 
   $rm conftest*
 
8893
   $RM conftest*
8438
8894
 
8439
8895
fi
8440
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
8441
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
 
8896
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 
8897
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8442
8898
 
8443
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
 
8899
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8444
8900
    case $lt_prog_compiler_pic in
8445
8901
     "" | " "*) ;;
8446
8902
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8451
8907
fi
8452
8908
 
8453
8909
fi
8454
 
case $host_os in
8455
 
  # For platforms which do not support PIC, -DPIC is meaningless:
8456
 
  *djgpp*)
8457
 
    lt_prog_compiler_pic=
8458
 
    ;;
8459
 
  *)
8460
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8461
 
    ;;
8462
 
esac
 
8910
 
 
8911
 
 
8912
 
 
8913
 
 
8914
 
8463
8915
 
8464
8916
#
8465
8917
# Check to make sure the static flag actually works.
8466
8918
#
8467
8919
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8468
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8469
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
8470
 
if test "${lt_prog_compiler_static_works+set}" = set; then
8471
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8920
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8921
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
8922
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
8923
  $as_echo_n "(cached) " >&6
8472
8924
else
8473
 
  lt_prog_compiler_static_works=no
 
8925
  lt_cv_prog_compiler_static_works=no
8474
8926
   save_LDFLAGS="$LDFLAGS"
8475
8927
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8476
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
8928
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8477
8929
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8478
8930
     # The linker can only warn and ignore the option if not recognized
8479
8931
     # So say no if there are warnings
8480
8932
     if test -s conftest.err; then
8481
8933
       # Append any errors to the config.log.
8482
8934
       cat conftest.err 1>&5
8483
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8935
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8484
8936
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8485
8937
       if diff conftest.exp conftest.er2 >/dev/null; then
8486
 
         lt_prog_compiler_static_works=yes
 
8938
         lt_cv_prog_compiler_static_works=yes
8487
8939
       fi
8488
8940
     else
8489
 
       lt_prog_compiler_static_works=yes
 
8941
       lt_cv_prog_compiler_static_works=yes
8490
8942
     fi
8491
8943
   fi
8492
 
   $rm conftest*
 
8944
   $RM -r conftest*
8493
8945
   LDFLAGS="$save_LDFLAGS"
8494
8946
 
8495
8947
fi
8496
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
8497
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
 
8948
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 
8949
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8498
8950
 
8499
 
if test x"$lt_prog_compiler_static_works" = xyes; then
 
8951
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8500
8952
    :
8501
8953
else
8502
8954
    lt_prog_compiler_static=
8503
8955
fi
8504
8956
 
8505
8957
 
8506
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8507
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8508
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8509
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8510
 
else
8511
 
  lt_cv_prog_compiler_c_o=no
8512
 
   $rm -r conftest 2>/dev/null
8513
 
   mkdir conftest
8514
 
   cd conftest
8515
 
   mkdir out
8516
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
8517
 
 
8518
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8519
 
   # Insert the option either (1) after the last *FLAGS variable, or
8520
 
   # (2) before a word containing "conftest.", or (3) at the end.
8521
 
   # Note that $ac_compile itself does not contain backslashes and begins
8522
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8523
 
   lt_compile=`echo "$ac_compile" | $SED \
8524
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8525
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8526
 
   -e 's:$: $lt_compiler_flag:'`
8527
 
   (eval echo "\"\$as_me:8527: $lt_compile\"" >&5)
8528
 
   (eval "$lt_compile" 2>out/conftest.err)
8529
 
   ac_status=$?
8530
 
   cat out/conftest.err >&5
8531
 
   echo "$as_me:8531: \$? = $ac_status" >&5
8532
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8533
 
   then
8534
 
     # The compiler can only warn and ignore the option if not recognized
8535
 
     # So say no if there are warnings
8536
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8537
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8538
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8539
 
       lt_cv_prog_compiler_c_o=yes
8540
 
     fi
8541
 
   fi
8542
 
   chmod u+w . 2>&5
8543
 
   $rm conftest*
8544
 
   # SGI C++ compiler will create directory out/ii_files/ for
8545
 
   # template instantiation
8546
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
8547
 
   $rm out/* && rmdir out
8548
 
   cd ..
8549
 
   rmdir conftest
8550
 
   $rm conftest*
8551
 
 
8552
 
fi
8553
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8554
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 
8958
 
 
8959
 
 
8960
 
 
8961
 
 
8962
 
 
8963
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8964
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
8965
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
8966
  $as_echo_n "(cached) " >&6
 
8967
else
 
8968
  lt_cv_prog_compiler_c_o=no
 
8969
   $RM -r conftest 2>/dev/null
 
8970
   mkdir conftest
 
8971
   cd conftest
 
8972
   mkdir out
 
8973
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8974
 
 
8975
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
8976
   # Insert the option either (1) after the last *FLAGS variable, or
 
8977
   # (2) before a word containing "conftest.", or (3) at the end.
 
8978
   # Note that $ac_compile itself does not contain backslashes and begins
 
8979
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8980
   lt_compile=`echo "$ac_compile" | $SED \
 
8981
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8982
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8983
   -e 's:$: $lt_compiler_flag:'`
 
8984
   (eval echo "\"\$as_me:8984: $lt_compile\"" >&5)
 
8985
   (eval "$lt_compile" 2>out/conftest.err)
 
8986
   ac_status=$?
 
8987
   cat out/conftest.err >&5
 
8988
   echo "$as_me:8988: \$? = $ac_status" >&5
 
8989
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
8990
   then
 
8991
     # The compiler can only warn and ignore the option if not recognized
 
8992
     # So say no if there are warnings
 
8993
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8994
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8995
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
8996
       lt_cv_prog_compiler_c_o=yes
 
8997
     fi
 
8998
   fi
 
8999
   chmod u+w . 2>&5
 
9000
   $RM conftest*
 
9001
   # SGI C++ compiler will create directory out/ii_files/ for
 
9002
   # template instantiation
 
9003
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
9004
   $RM out/* && rmdir out
 
9005
   cd ..
 
9006
   $RM -r conftest
 
9007
   $RM conftest*
 
9008
 
 
9009
fi
 
9010
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
9011
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
9012
 
 
9013
 
 
9014
 
 
9015
 
 
9016
 
 
9017
 
 
9018
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9019
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
9020
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
9021
  $as_echo_n "(cached) " >&6
 
9022
else
 
9023
  lt_cv_prog_compiler_c_o=no
 
9024
   $RM -r conftest 2>/dev/null
 
9025
   mkdir conftest
 
9026
   cd conftest
 
9027
   mkdir out
 
9028
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9029
 
 
9030
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
9031
   # Insert the option either (1) after the last *FLAGS variable, or
 
9032
   # (2) before a word containing "conftest.", or (3) at the end.
 
9033
   # Note that $ac_compile itself does not contain backslashes and begins
 
9034
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9035
   lt_compile=`echo "$ac_compile" | $SED \
 
9036
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9037
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9038
   -e 's:$: $lt_compiler_flag:'`
 
9039
   (eval echo "\"\$as_me:9039: $lt_compile\"" >&5)
 
9040
   (eval "$lt_compile" 2>out/conftest.err)
 
9041
   ac_status=$?
 
9042
   cat out/conftest.err >&5
 
9043
   echo "$as_me:9043: \$? = $ac_status" >&5
 
9044
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
9045
   then
 
9046
     # The compiler can only warn and ignore the option if not recognized
 
9047
     # So say no if there are warnings
 
9048
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9049
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
9050
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
9051
       lt_cv_prog_compiler_c_o=yes
 
9052
     fi
 
9053
   fi
 
9054
   chmod u+w . 2>&5
 
9055
   $RM conftest*
 
9056
   # SGI C++ compiler will create directory out/ii_files/ for
 
9057
   # template instantiation
 
9058
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
9059
   $RM out/* && rmdir out
 
9060
   cd ..
 
9061
   $RM -r conftest
 
9062
   $RM conftest*
 
9063
 
 
9064
fi
 
9065
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
9066
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
9067
 
 
9068
 
8555
9069
 
8556
9070
 
8557
9071
hard_links="nottested"
8558
9072
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8559
9073
  # do not overwrite the value of need_locks provided by the user
8560
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8561
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
9074
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
9075
$as_echo_n "checking if we can lock with hard links... " >&6; }
8562
9076
  hard_links=yes
8563
 
  $rm conftest*
 
9077
  $RM conftest*
8564
9078
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8565
9079
  touch conftest.a
8566
9080
  ln conftest.a conftest.b 2>&5 || hard_links=no
8567
9081
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8568
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
8569
 
echo "${ECHO_T}$hard_links" >&6
 
9082
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
9083
$as_echo "$hard_links" >&6; }
8570
9084
  if test "$hard_links" = no; then
8571
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8572
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
9085
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
9086
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8573
9087
    need_locks=warn
8574
9088
  fi
8575
9089
else
8576
9090
  need_locks=no
8577
9091
fi
8578
9092
 
8579
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8580
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
9093
 
 
9094
 
 
9095
 
 
9096
 
 
9097
 
 
9098
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
9099
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8581
9100
 
8582
9101
  runpath_var=
8583
9102
  allow_undefined_flag=
8584
 
  enable_shared_with_static_runtimes=no
 
9103
  always_export_symbols=no
8585
9104
  archive_cmds=
8586
9105
  archive_expsym_cmds=
8587
 
  old_archive_From_new_cmds=
8588
 
  old_archive_from_expsyms_cmds=
 
9106
  compiler_needs_object=no
 
9107
  enable_shared_with_static_runtimes=no
8589
9108
  export_dynamic_flag_spec=
8590
 
  whole_archive_flag_spec=
8591
 
  thread_safe_flag_spec=
 
9109
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
9110
  hardcode_automatic=no
 
9111
  hardcode_direct=no
 
9112
  hardcode_direct_absolute=no
8592
9113
  hardcode_libdir_flag_spec=
8593
9114
  hardcode_libdir_flag_spec_ld=
8594
9115
  hardcode_libdir_separator=
8595
 
  hardcode_direct=no
8596
9116
  hardcode_minus_L=no
8597
9117
  hardcode_shlibpath_var=unsupported
 
9118
  inherit_rpath=no
8598
9119
  link_all_deplibs=unknown
8599
 
  hardcode_automatic=no
8600
9120
  module_cmds=
8601
9121
  module_expsym_cmds=
8602
 
  always_export_symbols=no
8603
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
9122
  old_archive_from_new_cmds=
 
9123
  old_archive_from_expsyms_cmds=
 
9124
  thread_safe_flag_spec=
 
9125
  whole_archive_flag_spec=
8604
9126
  # include_expsyms should be a list of space-separated symbols to be *always*
8605
9127
  # included in the symbol list
8606
9128
  include_expsyms=
8608
9130
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8609
9131
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8610
9132
  # as well as any symbol that contains `d'.
8611
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
 
9133
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8612
9134
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8613
9135
  # platforms (ab)use it in PIC code, but their linkers get confused if
8614
9136
  # the symbol is explicitly referenced.  Since portable code cannot
8615
9137
  # rely on this symbol name, it's probably fine to never include it in
8616
9138
  # preloaded symbol tables.
 
9139
  # Exclude shared library initialization/finalization symbols.
8617
9140
  extract_expsyms_cmds=
8618
 
  # Just being paranoid about ensuring that cc_basename is set.
8619
 
  for cc_temp in $compiler""; do
8620
 
  case $cc_temp in
8621
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8622
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8623
 
    \-*) ;;
8624
 
    *) break;;
8625
 
  esac
8626
 
done
8627
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8628
9141
 
8629
9142
  case $host_os in
8630
 
  cygwin* | mingw* | pw32*)
 
9143
  cygwin* | mingw* | pw32* | cegcc*)
8631
9144
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8632
9145
    # When not using gcc, we currently assume that we are using
8633
9146
    # Microsoft Visual C++.
8642
9155
  openbsd*)
8643
9156
    with_gnu_ld=no
8644
9157
    ;;
 
9158
  linux* | k*bsd*-gnu)
 
9159
    link_all_deplibs=no
 
9160
    ;;
8645
9161
  esac
8646
9162
 
8647
9163
  ld_shlibs=yes
8653
9169
    # are reset later if shared libraries are not supported. Putting them
8654
9170
    # here allows them to be overridden if necessary.
8655
9171
    runpath_var=LD_RUN_PATH
8656
 
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
9172
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8657
9173
    export_dynamic_flag_spec='${wl}--export-dynamic'
8658
9174
    # ancient GNU ld didn't support --whole-archive et. al.
8659
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
8660
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8661
 
      else
8662
 
        whole_archive_flag_spec=
 
9175
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
9176
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
9177
    else
 
9178
      whole_archive_flag_spec=
8663
9179
    fi
8664
9180
    supports_anon_versioning=no
8665
 
    case `$LD -v 2>/dev/null` in
 
9181
    case `$LD -v 2>&1` in
 
9182
      *GNU\ gold*) supports_anon_versioning=yes ;;
8666
9183
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8667
9184
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8668
9185
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8672
9189
 
8673
9190
    # See if GNU ld supports shared libraries.
8674
9191
    case $host_os in
8675
 
    aix3* | aix4* | aix5*)
 
9192
    aix[3-9]*)
8676
9193
      # On AIX/PPC, the GNU linker is very broken
8677
9194
      if test "$host_cpu" != ia64; then
8678
9195
        ld_shlibs=no
8679
 
        cat <<EOF 1>&2
 
9196
        cat <<_LT_EOF 1>&2
8680
9197
 
8681
9198
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8682
9199
*** to be unable to reliably create shared libraries on AIX.
8684
9201
*** really care for shared libraries, you may want to modify your PATH
8685
9202
*** so that a non-GNU linker is found, and then restart.
8686
9203
 
8687
 
EOF
 
9204
_LT_EOF
8688
9205
      fi
8689
9206
      ;;
8690
9207
 
8691
9208
    amigaos*)
8692
 
      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)'
8693
 
      hardcode_libdir_flag_spec='-L$libdir'
8694
 
      hardcode_minus_L=yes
8695
 
 
8696
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8697
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
8698
 
      # to version 4, is to share data among multiple programs linked
8699
 
      # with the same dynamic library.  Since this doesn't match the
8700
 
      # behavior of shared libraries on other platforms, we can't use
8701
 
      # them.
8702
 
      ld_shlibs=no
 
9209
      case $host_cpu in
 
9210
      powerpc)
 
9211
            # see comment about AmigaOS4 .so support
 
9212
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9213
            archive_expsym_cmds=''
 
9214
        ;;
 
9215
      m68k)
 
9216
            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)'
 
9217
            hardcode_libdir_flag_spec='-L$libdir'
 
9218
            hardcode_minus_L=yes
 
9219
        ;;
 
9220
      esac
8703
9221
      ;;
8704
9222
 
8705
9223
    beos*)
8706
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9224
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8707
9225
        allow_undefined_flag=unsupported
8708
9226
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8709
9227
        # support --undefined.  This deserves some investigation.  FIXME
8713
9231
      fi
8714
9232
      ;;
8715
9233
 
8716
 
    cygwin* | mingw* | pw32*)
8717
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
9234
    cygwin* | mingw* | pw32* | cegcc*)
 
9235
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8718
9236
      # as there is no search path for DLLs.
8719
9237
      hardcode_libdir_flag_spec='-L$libdir'
8720
9238
      allow_undefined_flag=unsupported
8721
9239
      always_export_symbols=no
8722
9240
      enable_shared_with_static_runtimes=yes
8723
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
9241
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8724
9242
 
8725
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
9243
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8726
9244
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8727
9245
        # If the export-symbols file already is a .def file (1st line
8728
9246
        # is EXPORTS), use it as is; otherwise, prepend...
8738
9256
      fi
8739
9257
      ;;
8740
9258
 
8741
 
    interix3*)
 
9259
    interix[3-9]*)
8742
9260
      hardcode_direct=no
8743
9261
      hardcode_shlibpath_var=no
8744
9262
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8753
9271
      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'
8754
9272
      ;;
8755
9273
 
8756
 
    linux*)
8757
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9274
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
 
9275
      tmp_diet=no
 
9276
      if test "$host_os" = linux-dietlibc; then
 
9277
        case $cc_basename in
 
9278
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
9279
        esac
 
9280
      fi
 
9281
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
9282
         && test "$tmp_diet" = no
 
9283
      then
8758
9284
        tmp_addflag=
 
9285
        tmp_sharedflag='-shared'
8759
9286
        case $cc_basename,$host_cpu in
8760
 
        pgcc*)                          # Portland Group C compiler
8761
 
          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'
 
9287
        pgcc*)                          # Portland Group C compiler
 
9288
          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'
8762
9289
          tmp_addflag=' $pic_flag'
8763
9290
          ;;
8764
9291
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8765
 
          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'
 
9292
          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'
8766
9293
          tmp_addflag=' $pic_flag -Mnomain' ;;
8767
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
9294
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8768
9295
          tmp_addflag=' -i_dynamic' ;;
8769
9296
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8770
9297
          tmp_addflag=' -i_dynamic -nofor_main' ;;
8771
9298
        ifc* | ifort*)                  # Intel Fortran compiler
8772
9299
          tmp_addflag=' -nofor_main' ;;
8773
 
        esac
8774
 
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8775
 
 
8776
 
        if test $supports_anon_versioning = yes; then
8777
 
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
8778
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8779
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
8780
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8781
 
        fi
 
9300
        lf95*)                          # Lahey Fortran 8.1
 
9301
          whole_archive_flag_spec=
 
9302
          tmp_sharedflag='--shared' ;;
 
9303
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
9304
          tmp_sharedflag='-qmkshrobj'
 
9305
          tmp_addflag= ;;
 
9306
        esac
 
9307
        case `$CC -V 2>&1 | sed 5q` in
 
9308
        *Sun\ C*)                       # Sun C 5.9
 
9309
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
9310
          compiler_needs_object=yes
 
9311
          tmp_sharedflag='-G' ;;
 
9312
        *Sun\ F*)                       # Sun Fortran 8.3
 
9313
          tmp_sharedflag='-G' ;;
 
9314
        esac
 
9315
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9316
 
 
9317
        if test "x$supports_anon_versioning" = xyes; then
 
9318
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
9319
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9320
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
9321
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
9322
        fi
 
9323
 
 
9324
        case $cc_basename in
 
9325
        xlf*)
 
9326
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
9327
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
9328
          hardcode_libdir_flag_spec=
 
9329
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
9330
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
9331
          if test "x$supports_anon_versioning" = xyes; then
 
9332
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
9333
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9334
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
9335
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
9336
          fi
 
9337
          ;;
 
9338
        esac
8782
9339
      else
8783
 
        ld_shlibs=no
 
9340
        ld_shlibs=no
8784
9341
      fi
8785
9342
      ;;
8786
9343
 
8787
 
    netbsd*)
8788
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
9344
    netbsd* | netbsdelf*-gnu)
 
9345
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8789
9346
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8790
9347
        wlarc=
8791
9348
      else
8795
9352
      ;;
8796
9353
 
8797
9354
    solaris*)
8798
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
9355
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8799
9356
        ld_shlibs=no
8800
 
        cat <<EOF 1>&2
 
9357
        cat <<_LT_EOF 1>&2
8801
9358
 
8802
9359
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8803
9360
*** create shared libraries on Solaris systems.  Therefore, libtool
8806
9363
*** your PATH or compiler configuration so that the native linker is
8807
9364
*** used, and then restart.
8808
9365
 
8809
 
EOF
8810
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9366
_LT_EOF
 
9367
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8811
9368
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8812
9369
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8813
9370
      else
8831
9388
_LT_EOF
8832
9389
        ;;
8833
9390
        *)
8834
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8835
 
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8836
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8837
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
9391
          # For security reasons, it is highly recommended that you always
 
9392
          # use absolute paths for naming shared libraries, and exclude the
 
9393
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
9394
          # requires that you compile everything twice, which is a pain.
 
9395
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9396
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9397
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9398
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8838
9399
          else
8839
9400
            ld_shlibs=no
8840
9401
          fi
8850
9411
      ;;
8851
9412
 
8852
9413
    *)
8853
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9414
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8854
9415
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8855
9416
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8856
9417
      else
8882
9443
      fi
8883
9444
      ;;
8884
9445
 
8885
 
    aix4* | aix5*)
 
9446
    aix[4-9]*)
8886
9447
      if test "$host_cpu" = ia64; then
8887
9448
        # On IA64, the linker does run time linking by default, so we don't
8888
9449
        # have to do anything special.
8892
9453
      else
8893
9454
        # If we're using GNU nm, then we don't want the "-C" option.
8894
9455
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
8895
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
8896
 
          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'
 
9456
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
9457
          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'
8897
9458
        else
8898
 
          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'
 
9459
          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'
8899
9460
        fi
8900
9461
        aix_use_runtimelinking=no
8901
9462
 
8902
9463
        # Test if we are trying to use run time linking or normal
8903
9464
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8904
9465
        # need to do runtime linking.
8905
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
9466
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8906
9467
          for ld_flag in $LDFLAGS; do
8907
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8908
 
            aix_use_runtimelinking=yes
8909
 
            break
8910
 
          fi
 
9468
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
9469
            aix_use_runtimelinking=yes
 
9470
            break
 
9471
          fi
8911
9472
          done
8912
9473
          ;;
8913
9474
        esac
8924
9485
 
8925
9486
      archive_cmds=''
8926
9487
      hardcode_direct=yes
 
9488
      hardcode_direct_absolute=yes
8927
9489
      hardcode_libdir_separator=':'
8928
9490
      link_all_deplibs=yes
 
9491
      file_list_spec='${wl}-f,'
8929
9492
 
8930
9493
      if test "$GCC" = yes; then
8931
9494
        case $host_os in aix4.[012]|aix4.[012].*)
8932
9495
        # We only want to do this on AIX 4.2 and lower, the check
8933
9496
        # below for broken collect2 doesn't work under 4.3+
8934
9497
          collect2name=`${CC} -print-prog-name=collect2`
8935
 
          if test -f "$collect2name" && \
8936
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
 
9498
          if test -f "$collect2name" &&
 
9499
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8937
9500
          then
8938
 
          # We have reworked collect2
8939
 
          hardcode_direct=yes
 
9501
          # We have reworked collect2
 
9502
          :
8940
9503
          else
8941
 
          # We have old collect2
8942
 
          hardcode_direct=unsupported
8943
 
          # It fails to find uninstalled libraries when the uninstalled
8944
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
8945
 
          # to unsupported forces relinking
8946
 
          hardcode_minus_L=yes
8947
 
          hardcode_libdir_flag_spec='-L$libdir'
8948
 
          hardcode_libdir_separator=
 
9504
          # We have old collect2
 
9505
          hardcode_direct=unsupported
 
9506
          # It fails to find uninstalled libraries when the uninstalled
 
9507
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
9508
          # to unsupported forces relinking
 
9509
          hardcode_minus_L=yes
 
9510
          hardcode_libdir_flag_spec='-L$libdir'
 
9511
          hardcode_libdir_separator=
8949
9512
          fi
8950
9513
          ;;
8951
9514
        esac
8953
9516
        if test "$aix_use_runtimelinking" = yes; then
8954
9517
          shared_flag="$shared_flag "'${wl}-G'
8955
9518
        fi
 
9519
        link_all_deplibs=no
8956
9520
      else
8957
9521
        # not using gcc
8958
9522
        if test "$host_cpu" = ia64; then
8959
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8960
 
        # chokes on -Wl,-G. The following line is correct:
 
9523
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
9524
        # chokes on -Wl,-G. The following line is correct:
8961
9525
          shared_flag='-G'
8962
9526
        else
8963
9527
          if test "$aix_use_runtimelinking" = yes; then
8968
9532
        fi
8969
9533
      fi
8970
9534
 
 
9535
      export_dynamic_flag_spec='${wl}-bexpall'
8971
9536
      # It seems that -bexpall does not export symbols beginning with
8972
9537
      # underscore (_), so it is better to generate a list of symbols to export.
8973
9538
      always_export_symbols=yes
8975
9540
        # Warning - without using the other runtime loading flags (-brtl),
8976
9541
        # -berok will link without error, but may produce a broken library.
8977
9542
        allow_undefined_flag='-berok'
8978
 
       # Determine the default libpath from the value encoded in an empty executable.
8979
 
       cat >conftest.$ac_ext <<_ACEOF
8980
 
/* confdefs.h.  */
8981
 
_ACEOF
8982
 
cat confdefs.h >>conftest.$ac_ext
8983
 
cat >>conftest.$ac_ext <<_ACEOF
 
9543
        # Determine the default libpath from the value encoded in an
 
9544
        # empty executable.
 
9545
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8984
9546
/* end confdefs.h.  */
8985
9547
 
8986
9548
int
8991
9553
  return 0;
8992
9554
}
8993
9555
_ACEOF
8994
 
rm -f conftest.$ac_objext conftest$ac_exeext
8995
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8996
 
  (eval $ac_link) 2>conftest.er1
8997
 
  ac_status=$?
8998
 
  grep -v '^ *+' conftest.er1 >conftest.err
8999
 
  rm -f conftest.er1
9000
 
  cat conftest.err >&5
9001
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9002
 
  (exit $ac_status); } &&
9003
 
         { ac_try='test -z "$ac_c_werror_flag"
9004
 
                         || test ! -s conftest.err'
9005
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9006
 
  (eval $ac_try) 2>&5
9007
 
  ac_status=$?
9008
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9009
 
  (exit $ac_status); }; } &&
9010
 
         { ac_try='test -s conftest$ac_exeext'
9011
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9012
 
  (eval $ac_try) 2>&5
9013
 
  ac_status=$?
9014
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9015
 
  (exit $ac_status); }; }; then
 
9556
if ac_fn_c_try_link "$LINENO"; then :
9016
9557
 
9017
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
9018
 
}'`
 
9558
lt_aix_libpath_sed='
 
9559
    /Import File Strings/,/^$/ {
 
9560
        /^0/ {
 
9561
            s/^0  *\(.*\)$/\1/
 
9562
            p
 
9563
        }
 
9564
    }'
 
9565
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9019
9566
# Check for a 64-bit object if we didn't find anything.
9020
 
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; }
9021
 
}'`; fi
9022
 
else
9023
 
  echo "$as_me: failed program was:" >&5
9024
 
sed 's/^/| /' conftest.$ac_ext >&5
9025
 
 
9026
 
fi
9027
 
rm -f conftest.err conftest.$ac_objext \
9028
 
      conftest$ac_exeext conftest.$ac_ext
 
9567
if test -z "$aix_libpath"; then
 
9568
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9569
fi
 
9570
fi
 
9571
rm -f core conftest.err conftest.$ac_objext \
 
9572
    conftest$ac_exeext conftest.$ac_ext
9029
9573
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9030
9574
 
9031
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9032
 
        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"
9033
 
       else
 
9575
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
9576
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
9577
      else
9034
9578
        if test "$host_cpu" = ia64; then
9035
9579
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9036
9580
          allow_undefined_flag="-z nodefs"
9037
9581
          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"
9038
9582
        else
9039
 
         # Determine the default libpath from the value encoded in an empty executable.
9040
 
         cat >conftest.$ac_ext <<_ACEOF
9041
 
/* confdefs.h.  */
9042
 
_ACEOF
9043
 
cat confdefs.h >>conftest.$ac_ext
9044
 
cat >>conftest.$ac_ext <<_ACEOF
 
9583
         # Determine the default libpath from the value encoded in an
 
9584
         # empty executable.
 
9585
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9045
9586
/* end confdefs.h.  */
9046
9587
 
9047
9588
int
9052
9593
  return 0;
9053
9594
}
9054
9595
_ACEOF
9055
 
rm -f conftest.$ac_objext conftest$ac_exeext
9056
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9057
 
  (eval $ac_link) 2>conftest.er1
9058
 
  ac_status=$?
9059
 
  grep -v '^ *+' conftest.er1 >conftest.err
9060
 
  rm -f conftest.er1
9061
 
  cat conftest.err >&5
9062
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9063
 
  (exit $ac_status); } &&
9064
 
         { ac_try='test -z "$ac_c_werror_flag"
9065
 
                         || test ! -s conftest.err'
9066
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9067
 
  (eval $ac_try) 2>&5
9068
 
  ac_status=$?
9069
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9070
 
  (exit $ac_status); }; } &&
9071
 
         { ac_try='test -s conftest$ac_exeext'
9072
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9073
 
  (eval $ac_try) 2>&5
9074
 
  ac_status=$?
9075
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9076
 
  (exit $ac_status); }; }; then
 
9596
if ac_fn_c_try_link "$LINENO"; then :
9077
9597
 
9078
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
9079
 
}'`
 
9598
lt_aix_libpath_sed='
 
9599
    /Import File Strings/,/^$/ {
 
9600
        /^0/ {
 
9601
            s/^0  *\(.*\)$/\1/
 
9602
            p
 
9603
        }
 
9604
    }'
 
9605
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9080
9606
# Check for a 64-bit object if we didn't find anything.
9081
 
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; }
9082
 
}'`; fi
9083
 
else
9084
 
  echo "$as_me: failed program was:" >&5
9085
 
sed 's/^/| /' conftest.$ac_ext >&5
9086
 
 
9087
 
fi
9088
 
rm -f conftest.err conftest.$ac_objext \
9089
 
      conftest$ac_exeext conftest.$ac_ext
 
9607
if test -z "$aix_libpath"; then
 
9608
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9609
fi
 
9610
fi
 
9611
rm -f core conftest.err conftest.$ac_objext \
 
9612
    conftest$ac_exeext conftest.$ac_ext
9090
9613
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9091
9614
 
9092
9615
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9104
9627
      ;;
9105
9628
 
9106
9629
    amigaos*)
9107
 
      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)'
9108
 
      hardcode_libdir_flag_spec='-L$libdir'
9109
 
      hardcode_minus_L=yes
9110
 
      # see comment about different semantics on the GNU ld section
9111
 
      ld_shlibs=no
 
9630
      case $host_cpu in
 
9631
      powerpc)
 
9632
            # see comment about AmigaOS4 .so support
 
9633
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9634
            archive_expsym_cmds=''
 
9635
        ;;
 
9636
      m68k)
 
9637
            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)'
 
9638
            hardcode_libdir_flag_spec='-L$libdir'
 
9639
            hardcode_minus_L=yes
 
9640
        ;;
 
9641
      esac
9112
9642
      ;;
9113
9643
 
9114
9644
    bsdi[45]*)
9115
9645
      export_dynamic_flag_spec=-rdynamic
9116
9646
      ;;
9117
9647
 
9118
 
    cygwin* | mingw* | pw32*)
 
9648
    cygwin* | mingw* | pw32* | cegcc*)
9119
9649
      # When not using gcc, we currently assume that we are using
9120
9650
      # Microsoft Visual C++.
9121
9651
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9127
9657
      # Tell ltmain to make .dll files, not .so files.
9128
9658
      shrext_cmds=".dll"
9129
9659
      # FIXME: Setting linknames here is a bad hack.
9130
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
9660
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9131
9661
      # The linker will automatically build a .lib file if we build a DLL.
9132
 
      old_archive_From_new_cmds='true'
 
9662
      old_archive_from_new_cmds='true'
9133
9663
      # FIXME: Should let the user specify the lib program.
9134
 
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
9664
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9135
9665
      fix_srcfile_path='`cygpath -w "$srcfile"`'
9136
9666
      enable_shared_with_static_runtimes=yes
9137
9667
      ;;
9138
9668
 
9139
9669
    darwin* | rhapsody*)
9140
 
      case $host_os in
9141
 
        rhapsody* | darwin1.[012])
9142
 
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
9143
 
         ;;
9144
 
       *) # Darwin 1.3 on
9145
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9146
 
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9147
 
         else
9148
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
9149
 
             10.[012])
9150
 
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9151
 
               ;;
9152
 
             10.*)
9153
 
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
9154
 
               ;;
9155
 
           esac
9156
 
         fi
9157
 
         ;;
9158
 
      esac
9159
 
      archive_cmds_need_lc=no
9160
 
      hardcode_direct=no
9161
 
      hardcode_automatic=yes
9162
 
      hardcode_shlibpath_var=unsupported
9163
 
      whole_archive_flag_spec=''
9164
 
      link_all_deplibs=yes
9165
 
    if test "$GCC" = yes ; then
9166
 
        output_verbose_link_cmd='echo'
9167
 
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9168
 
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9169
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9170
 
      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}'
9171
 
      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}'
9172
 
    else
9173
 
      case $cc_basename in
9174
 
        xlc*)
9175
 
         output_verbose_link_cmd='echo'
9176
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
9177
 
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9178
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9179
 
         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}'
9180
 
          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}'
9181
 
          ;;
9182
 
       *)
9183
 
         ld_shlibs=no
9184
 
          ;;
9185
 
      esac
9186
 
    fi
 
9670
 
 
9671
 
 
9672
  archive_cmds_need_lc=no
 
9673
  hardcode_direct=no
 
9674
  hardcode_automatic=yes
 
9675
  hardcode_shlibpath_var=unsupported
 
9676
  whole_archive_flag_spec=''
 
9677
  link_all_deplibs=yes
 
9678
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
9679
  case $cc_basename in
 
9680
     ifort*) _lt_dar_can_shared=yes ;;
 
9681
     *) _lt_dar_can_shared=$GCC ;;
 
9682
  esac
 
9683
  if test "$_lt_dar_can_shared" = "yes"; then
 
9684
    output_verbose_link_cmd=echo
 
9685
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
9686
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
9687
    archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
9688
    module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 
9689
 
 
9690
  else
 
9691
  ld_shlibs=no
 
9692
  fi
 
9693
 
9187
9694
      ;;
9188
9695
 
9189
9696
    dgux*)
9216
9723
      ;;
9217
9724
 
9218
9725
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9219
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
9726
    freebsd* | dragonfly*)
9220
9727
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9221
9728
      hardcode_libdir_flag_spec='-R$libdir'
9222
9729
      hardcode_direct=yes
9225
9732
 
9226
9733
    hpux9*)
9227
9734
      if test "$GCC" = yes; then
9228
 
        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'
 
9735
        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'
9229
9736
      else
9230
 
        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'
 
9737
        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'
9231
9738
      fi
9232
9739
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9233
9740
      hardcode_libdir_separator=:
9247
9754
      fi
9248
9755
      if test "$with_gnu_ld" = no; then
9249
9756
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9757
        hardcode_libdir_flag_spec_ld='+b $libdir'
9250
9758
        hardcode_libdir_separator=:
9251
 
 
9252
9759
        hardcode_direct=yes
 
9760
        hardcode_direct_absolute=yes
9253
9761
        export_dynamic_flag_spec='${wl}-E'
9254
 
 
9255
9762
        # hardcode_minus_L: Not really in the search PATH,
9256
9763
        # but as the default location of the library.
9257
9764
        hardcode_minus_L=yes
9265
9772
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9266
9773
          ;;
9267
9774
        ia64*)
9268
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9775
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9269
9776
          ;;
9270
9777
        *)
9271
9778
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9290
9797
 
9291
9798
        case $host_cpu in
9292
9799
        hppa*64*|ia64*)
9293
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
9294
9800
          hardcode_direct=no
9295
9801
          hardcode_shlibpath_var=no
9296
9802
          ;;
9297
9803
        *)
9298
9804
          hardcode_direct=yes
 
9805
          hardcode_direct_absolute=yes
9299
9806
          export_dynamic_flag_spec='${wl}-E'
9300
9807
 
9301
9808
          # hardcode_minus_L: Not really in the search PATH,
9308
9815
 
9309
9816
    irix5* | irix6* | nonstopux*)
9310
9817
      if test "$GCC" = yes; then
9311
 
        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'
 
9818
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9819
        # Try to use the -exported_symbol ld option, if it does not
 
9820
        # work, assume that -exports_file does not work either and
 
9821
        # implicitly export all symbols.
 
9822
        save_LDFLAGS="$LDFLAGS"
 
9823
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
9824
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9825
/* end confdefs.h.  */
 
9826
int foo(void) {}
 
9827
_ACEOF
 
9828
if ac_fn_c_try_link "$LINENO"; then :
 
9829
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
 
9830
 
 
9831
fi
 
9832
rm -f core conftest.err conftest.$ac_objext \
 
9833
    conftest$ac_exeext conftest.$ac_ext
 
9834
        LDFLAGS="$save_LDFLAGS"
9312
9835
      else
9313
 
        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'
9314
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
9836
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
9837
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9315
9838
      fi
 
9839
      archive_cmds_need_lc='no'
9316
9840
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9317
9841
      hardcode_libdir_separator=:
 
9842
      inherit_rpath=yes
9318
9843
      link_all_deplibs=yes
9319
9844
      ;;
9320
9845
 
9321
 
    netbsd*)
9322
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
9846
    netbsd* | netbsdelf*-gnu)
 
9847
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9323
9848
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9324
9849
      else
9325
9850
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9337
9862
      hardcode_shlibpath_var=no
9338
9863
      ;;
9339
9864
 
 
9865
    *nto* | *qnx*)
 
9866
      ;;
 
9867
 
9340
9868
    openbsd*)
9341
 
      hardcode_direct=yes
9342
 
      hardcode_shlibpath_var=no
9343
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9344
 
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9345
 
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9346
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9347
 
        export_dynamic_flag_spec='${wl}-E'
 
9869
      if test -f /usr/libexec/ld.so; then
 
9870
        hardcode_direct=yes
 
9871
        hardcode_shlibpath_var=no
 
9872
        hardcode_direct_absolute=yes
 
9873
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
9874
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9875
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
9876
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9877
          export_dynamic_flag_spec='${wl}-E'
 
9878
        else
 
9879
          case $host_os in
 
9880
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
9881
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
9882
             hardcode_libdir_flag_spec='-R$libdir'
 
9883
             ;;
 
9884
           *)
 
9885
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9886
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9887
             ;;
 
9888
          esac
 
9889
        fi
9348
9890
      else
9349
 
       case $host_os in
9350
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9351
 
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9352
 
           hardcode_libdir_flag_spec='-R$libdir'
9353
 
           ;;
9354
 
         *)
9355
 
           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9356
 
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9357
 
           ;;
9358
 
       esac
 
9891
        ld_shlibs=no
9359
9892
      fi
9360
9893
      ;;
9361
9894
 
9363
9896
      hardcode_libdir_flag_spec='-L$libdir'
9364
9897
      hardcode_minus_L=yes
9365
9898
      allow_undefined_flag=unsupported
9366
 
      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'
9367
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
9899
      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'
 
9900
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9368
9901
      ;;
9369
9902
 
9370
9903
    osf3*)
9371
9904
      if test "$GCC" = yes; then
9372
9905
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9373
 
        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'
 
9906
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9374
9907
      else
9375
9908
        allow_undefined_flag=' -expect_unresolved \*'
9376
 
        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'
 
9909
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9377
9910
      fi
 
9911
      archive_cmds_need_lc='no'
9378
9912
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9379
9913
      hardcode_libdir_separator=:
9380
9914
      ;;
9382
9916
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9383
9917
      if test "$GCC" = yes; then
9384
9918
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9385
 
        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'
 
9919
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9386
9920
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9387
9921
      else
9388
9922
        allow_undefined_flag=' -expect_unresolved \*'
9389
 
        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'
9390
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
9391
 
        $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'
 
9923
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
9924
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
 
9925
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9392
9926
 
9393
9927
        # Both c and cxx compiler support -rpath directly
9394
9928
        hardcode_libdir_flag_spec='-rpath $libdir'
9395
9929
      fi
 
9930
      archive_cmds_need_lc='no'
9396
9931
      hardcode_libdir_separator=:
9397
9932
      ;;
9398
9933
 
9399
9934
    solaris*)
9400
 
      no_undefined_flag=' -z text'
 
9935
      no_undefined_flag=' -z defs'
9401
9936
      if test "$GCC" = yes; then
9402
9937
        wlarc='${wl}'
9403
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9404
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9405
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
9938
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9939
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9940
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9406
9941
      else
9407
 
        wlarc=''
9408
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9409
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9410
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
9942
        case `$CC -V 2>&1` in
 
9943
        *"Compilers 5.0"*)
 
9944
          wlarc=''
 
9945
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9946
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9947
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
9948
          ;;
 
9949
        *)
 
9950
          wlarc='${wl}'
 
9951
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
9952
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9953
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9954
          ;;
 
9955
        esac
9411
9956
      fi
9412
9957
      hardcode_libdir_flag_spec='-R$libdir'
9413
9958
      hardcode_shlibpath_var=no
9414
9959
      case $host_os in
9415
9960
      solaris2.[0-5] | solaris2.[0-5].*) ;;
9416
9961
      *)
9417
 
        # The compiler driver will combine linker options so we
9418
 
        # cannot just pass the convience library names through
9419
 
        # without $wl, iff we do not link with $LD.
9420
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
9421
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
9422
 
        case $wlarc in
9423
 
        '')
9424
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
9425
 
        *)
9426
 
          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' ;;
9427
 
        esac ;;
 
9962
        # The compiler driver will combine and reorder linker options,
 
9963
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
9964
        # but is careful enough not to reorder.
 
9965
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
9966
        if test "$GCC" = yes; then
 
9967
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
9968
        else
 
9969
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
9970
        fi
 
9971
        ;;
9428
9972
      esac
9429
9973
      link_all_deplibs=yes
9430
9974
      ;;
9481
10025
      fi
9482
10026
      ;;
9483
10027
 
9484
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
10028
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9485
10029
      no_undefined_flag='${wl}-z,text'
9486
10030
      archive_cmds_need_lc=no
9487
10031
      hardcode_shlibpath_var=no
9507
10051
      allow_undefined_flag='${wl}-z,nodefs'
9508
10052
      archive_cmds_need_lc=no
9509
10053
      hardcode_shlibpath_var=no
9510
 
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
10054
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
9511
10055
      hardcode_libdir_separator=':'
9512
10056
      link_all_deplibs=yes
9513
10057
      export_dynamic_flag_spec='${wl}-Bexport'
9514
10058
      runpath_var='LD_RUN_PATH'
9515
10059
 
9516
10060
      if test "$GCC" = yes; then
9517
 
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9518
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10061
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10062
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9519
10063
      else
9520
 
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9521
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10064
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10065
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9522
10066
      fi
9523
10067
      ;;
9524
10068
 
9532
10076
      ld_shlibs=no
9533
10077
      ;;
9534
10078
    esac
 
10079
 
 
10080
    if test x$host_vendor = xsni; then
 
10081
      case $host in
 
10082
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
10083
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
10084
        ;;
 
10085
      esac
 
10086
    fi
9535
10087
  fi
9536
10088
 
9537
 
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9538
 
echo "${ECHO_T}$ld_shlibs" >&6
 
10089
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 
10090
$as_echo "$ld_shlibs" >&6; }
9539
10091
test "$ld_shlibs" = no && can_build_shared=no
9540
10092
 
 
10093
with_gnu_ld=$with_gnu_ld
 
10094
 
 
10095
 
 
10096
 
 
10097
 
 
10098
 
 
10099
 
 
10100
 
 
10101
 
 
10102
 
 
10103
 
 
10104
 
 
10105
 
 
10106
 
 
10107
 
 
10108
 
9541
10109
#
9542
10110
# Do we need to explicitly link libc?
9543
10111
#
9555
10123
      # Test whether the compiler implicitly links with -lc since on some
9556
10124
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9557
10125
      # to ld, don't add -lc before -lgcc.
9558
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9559
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9560
 
      $rm conftest*
9561
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10126
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
10127
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
10128
      $RM conftest*
 
10129
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9562
10130
 
9563
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
10131
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9564
10132
  (eval $ac_compile) 2>&5
9565
10133
  ac_status=$?
9566
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9567
 
  (exit $ac_status); } 2>conftest.err; then
 
10134
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10135
  test $ac_status = 0; } 2>conftest.err; then
9568
10136
        soname=conftest
9569
10137
        lib=conftest
9570
10138
        libobjs=conftest.$ac_objext
9578
10146
        libname=conftest
9579
10147
        lt_save_allow_undefined_flag=$allow_undefined_flag
9580
10148
        allow_undefined_flag=
9581
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9582
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
10149
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
10150
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9583
10151
  ac_status=$?
9584
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9585
 
  (exit $ac_status); }
 
10152
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10153
  test $ac_status = 0; }
9586
10154
        then
9587
10155
          archive_cmds_need_lc=no
9588
10156
        else
9592
10160
      else
9593
10161
        cat conftest.err 1>&5
9594
10162
      fi
9595
 
      $rm conftest*
9596
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9597
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6
 
10163
      $RM conftest*
 
10164
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
 
10165
$as_echo "$archive_cmds_need_lc" >&6; }
9598
10166
      ;;
9599
10167
    esac
9600
10168
  fi
9601
10169
  ;;
9602
10170
esac
9603
10171
 
9604
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9605
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
10172
 
 
10173
 
 
10174
 
 
10175
 
 
10176
 
 
10177
 
 
10178
 
 
10179
 
 
10180
 
 
10181
 
 
10182
 
 
10183
 
 
10184
 
 
10185
 
 
10186
 
 
10187
 
 
10188
 
 
10189
 
 
10190
 
 
10191
 
 
10192
 
 
10193
 
 
10194
 
 
10195
 
 
10196
 
 
10197
 
 
10198
 
 
10199
 
 
10200
 
 
10201
 
 
10202
 
 
10203
 
 
10204
 
 
10205
 
 
10206
 
 
10207
 
 
10208
 
 
10209
 
 
10210
 
 
10211
 
 
10212
 
 
10213
 
 
10214
 
 
10215
 
 
10216
 
 
10217
 
 
10218
 
 
10219
 
 
10220
 
 
10221
 
 
10222
 
 
10223
 
 
10224
 
 
10225
 
 
10226
 
 
10227
 
 
10228
 
 
10229
 
 
10230
 
 
10231
 
 
10232
 
 
10233
 
 
10234
 
 
10235
 
 
10236
 
 
10237
 
 
10238
 
 
10239
 
 
10240
 
 
10241
 
 
10242
 
 
10243
 
 
10244
 
 
10245
 
 
10246
 
 
10247
 
 
10248
 
 
10249
 
 
10250
 
 
10251
 
 
10252
 
 
10253
 
 
10254
 
 
10255
 
 
10256
 
 
10257
 
 
10258
 
 
10259
 
 
10260
 
 
10261
 
 
10262
 
 
10263
 
 
10264
 
 
10265
 
 
10266
 
 
10267
 
 
10268
 
 
10269
 
 
10270
 
 
10271
 
 
10272
 
 
10273
 
 
10274
 
 
10275
 
 
10276
 
 
10277
 
 
10278
 
 
10279
 
 
10280
 
 
10281
 
 
10282
 
 
10283
 
 
10284
 
 
10285
 
 
10286
 
 
10287
 
 
10288
 
 
10289
 
 
10290
 
 
10291
 
 
10292
 
 
10293
 
 
10294
 
 
10295
 
 
10296
 
 
10297
 
 
10298
 
 
10299
 
 
10300
 
 
10301
 
 
10302
 
 
10303
 
 
10304
 
 
10305
 
 
10306
 
 
10307
 
 
10308
 
 
10309
 
 
10310
 
 
10311
 
 
10312
 
 
10313
 
 
10314
 
 
10315
 
 
10316
 
 
10317
 
 
10318
 
 
10319
 
 
10320
 
 
10321
 
 
10322
 
 
10323
 
 
10324
 
 
10325
 
 
10326
 
 
10327
 
 
10328
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
10329
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
10330
 
 
10331
if test "$GCC" = yes; then
 
10332
  case $host_os in
 
10333
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
10334
    *) lt_awk_arg="/^libraries:/" ;;
 
10335
  esac
 
10336
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
10337
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
10338
    # if the path contains ";" then we assume it to be the separator
 
10339
    # otherwise default to the standard path separator (i.e. ":") - it is
 
10340
    # assumed that no part of a normal pathname contains ";" but that should
 
10341
    # okay in the real world where ";" in dirpaths is itself problematic.
 
10342
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
10343
  else
 
10344
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
10345
  fi
 
10346
  # Ok, now we have the path, separated by spaces, we can step through it
 
10347
  # and add multilib dir if necessary.
 
10348
  lt_tmp_lt_search_path_spec=
 
10349
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
10350
  for lt_sys_path in $lt_search_path_spec; do
 
10351
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
10352
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
10353
    else
 
10354
      test -d "$lt_sys_path" && \
 
10355
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
10356
    fi
 
10357
  done
 
10358
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
10359
BEGIN {RS=" "; FS="/|\n";} {
 
10360
  lt_foo="";
 
10361
  lt_count=0;
 
10362
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
10363
    if ($lt_i != "" && $lt_i != ".") {
 
10364
      if ($lt_i == "..") {
 
10365
        lt_count++;
 
10366
      } else {
 
10367
        if (lt_count == 0) {
 
10368
          lt_foo="/" $lt_i lt_foo;
 
10369
        } else {
 
10370
          lt_count--;
 
10371
        }
 
10372
      }
 
10373
    }
 
10374
  }
 
10375
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
10376
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
10377
}'`
 
10378
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
10379
else
 
10380
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
10381
fi
9606
10382
library_names_spec=
9607
10383
libname_spec='lib$name'
9608
10384
soname_spec=
9616
10392
version_type=none
9617
10393
dynamic_linker="$host_os ld.so"
9618
10394
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9619
 
if test "$GCC" = yes; then
9620
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9621
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
9622
 
    # if the path contains ";" then we assume it to be the separator
9623
 
    # otherwise default to the standard path separator (i.e. ":") - it is
9624
 
    # assumed that no part of a normal pathname contains ";" but that should
9625
 
    # okay in the real world where ";" in dirpaths is itself problematic.
9626
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9627
 
  else
9628
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9629
 
  fi
9630
 
else
9631
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9632
 
fi
9633
10395
need_lib_prefix=unknown
9634
10396
hardcode_into_libs=no
9635
10397
 
9647
10409
  soname_spec='${libname}${release}${shared_ext}$major'
9648
10410
  ;;
9649
10411
 
9650
 
aix4* | aix5*)
 
10412
aix[4-9]*)
9651
10413
  version_type=linux
9652
10414
  need_lib_prefix=no
9653
10415
  need_version=no
9666
10428
      aix4 | aix4.[01] | aix4.[01].*)
9667
10429
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9668
10430
           echo ' yes '
9669
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
10431
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9670
10432
        :
9671
10433
      else
9672
10434
        can_build_shared=no
9692
10454
  ;;
9693
10455
 
9694
10456
amigaos*)
9695
 
  library_names_spec='$libname.ixlibrary $libname.a'
9696
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
9697
 
  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'
 
10457
  case $host_cpu in
 
10458
  powerpc)
 
10459
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
10460
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
10461
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10462
    ;;
 
10463
  m68k)
 
10464
    library_names_spec='$libname.ixlibrary $libname.a'
 
10465
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
10466
    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'
 
10467
    ;;
 
10468
  esac
9698
10469
  ;;
9699
10470
 
9700
10471
beos*)
9717
10488
  # libtool to hard-code these into programs
9718
10489
  ;;
9719
10490
 
9720
 
cygwin* | mingw* | pw32*)
 
10491
cygwin* | mingw* | pw32* | cegcc*)
9721
10492
  version_type=windows
9722
10493
  shrext_cmds=".dll"
9723
10494
  need_version=no
9724
10495
  need_lib_prefix=no
9725
10496
 
9726
10497
  case $GCC,$host_os in
9727
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
10498
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9728
10499
    library_names_spec='$libname.dll.a'
9729
10500
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9730
10501
    postinstall_cmds='base_file=`basename \${file}`~
9731
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
10502
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9732
10503
      dldir=$destdir/`dirname \$dlpath`~
9733
10504
      test -d \$dldir || mkdir -p \$dldir~
9734
10505
      $install_prog $dir/$dlname \$dldir/$dlname~
9735
 
      chmod a+x \$dldir/$dlname'
 
10506
      chmod a+x \$dldir/$dlname~
 
10507
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
10508
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
10509
      fi'
9736
10510
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9737
10511
      dlpath=$dir/\$dldll~
9738
 
       $rm \$dlpath'
 
10512
       $RM \$dlpath'
9739
10513
    shlibpath_overrides_runpath=yes
9740
10514
 
9741
10515
    case $host_os in
9744
10518
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9745
10519
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9746
10520
      ;;
9747
 
    mingw*)
 
10521
    mingw* | cegcc*)
9748
10522
      # MinGW DLLs use traditional 'lib' prefix
9749
10523
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9750
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9751
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
10524
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
10525
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9752
10526
        # It is most probably a Windows format PATH printed by
9753
10527
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9754
10528
        # path with ; separators, and with drive letters. We can handle the
9755
10529
        # drive letters (cygwin fileutils understands them), so leave them,
9756
10530
        # especially as we might pass files found there to a mingw objdump,
9757
10531
        # which wouldn't understand a cygwinified path. Ahh.
9758
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10532
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9759
10533
      else
9760
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
10534
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9761
10535
      fi
9762
10536
      ;;
9763
10537
    pw32*)
9781
10555
  version_type=darwin
9782
10556
  need_lib_prefix=no
9783
10557
  need_version=no
9784
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
10558
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9785
10559
  soname_spec='${libname}${release}${major}$shared_ext'
9786
10560
  shlibpath_overrides_runpath=yes
9787
10561
  shlibpath_var=DYLD_LIBRARY_PATH
9788
10562
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9789
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
9790
 
  if test "$GCC" = yes; then
9791
 
    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"`
9792
 
  else
9793
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
9794
 
  fi
 
10563
 
 
10564
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9795
10565
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9796
10566
  ;;
9797
10567
 
9808
10578
  dynamic_linker=no
9809
10579
  ;;
9810
10580
 
9811
 
kfreebsd*-gnu)
9812
 
  version_type=linux
9813
 
  need_lib_prefix=no
9814
 
  need_version=no
9815
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9816
 
  soname_spec='${libname}${release}${shared_ext}$major'
9817
 
  shlibpath_var=LD_LIBRARY_PATH
9818
 
  shlibpath_overrides_runpath=no
9819
 
  hardcode_into_libs=yes
9820
 
  dynamic_linker='GNU ld.so'
9821
 
  ;;
9822
 
 
9823
10581
freebsd* | dragonfly*)
9824
10582
  # DragonFly does not have aout.  When/if they implement a new
9825
10583
  # versioning mechanism, adjust this.
9857
10615
    shlibpath_overrides_runpath=no
9858
10616
    hardcode_into_libs=yes
9859
10617
    ;;
9860
 
  freebsd*) # from 4.6 on
 
10618
  *) # from 4.6 on, and DragonFly
9861
10619
    shlibpath_overrides_runpath=yes
9862
10620
    hardcode_into_libs=yes
9863
10621
    ;;
9896
10654
    fi
9897
10655
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9898
10656
    ;;
9899
 
   hppa*64*)
9900
 
     shrext_cmds='.sl'
9901
 
     hardcode_into_libs=yes
9902
 
     dynamic_linker="$host_os dld.sl"
9903
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9904
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9905
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9906
 
     soname_spec='${libname}${release}${shared_ext}$major'
9907
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9908
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9909
 
     ;;
9910
 
   *)
 
10657
  hppa*64*)
 
10658
    shrext_cmds='.sl'
 
10659
    hardcode_into_libs=yes
 
10660
    dynamic_linker="$host_os dld.sl"
 
10661
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
10662
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
10663
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10664
    soname_spec='${libname}${release}${shared_ext}$major'
 
10665
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
10666
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
10667
    ;;
 
10668
  *)
9911
10669
    shrext_cmds='.sl'
9912
10670
    dynamic_linker="$host_os dld.sl"
9913
10671
    shlibpath_var=SHLIB_PATH
9920
10678
  postinstall_cmds='chmod 555 $lib'
9921
10679
  ;;
9922
10680
 
9923
 
interix3*)
 
10681
interix[3-9]*)
9924
10682
  version_type=linux
9925
10683
  need_lib_prefix=no
9926
10684
  need_version=no
9975
10733
  ;;
9976
10734
 
9977
10735
# This must be Linux ELF.
9978
 
linux*)
 
10736
linux* | k*bsd*-gnu | kopensolaris*-gnu)
9979
10737
  version_type=linux
9980
10738
  need_lib_prefix=no
9981
10739
  need_version=no
9984
10742
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9985
10743
  shlibpath_var=LD_LIBRARY_PATH
9986
10744
  shlibpath_overrides_runpath=no
 
10745
  # Some binutils ld are patched to set DT_RUNPATH
 
10746
  save_LDFLAGS=$LDFLAGS
 
10747
  save_libdir=$libdir
 
10748
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
10749
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
10750
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10751
/* end confdefs.h.  */
 
10752
 
 
10753
int
 
10754
main ()
 
10755
{
 
10756
 
 
10757
  ;
 
10758
  return 0;
 
10759
}
 
10760
_ACEOF
 
10761
if ac_fn_c_try_link "$LINENO"; then :
 
10762
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
10763
  shlibpath_overrides_runpath=yes
 
10764
fi
 
10765
fi
 
10766
rm -f core conftest.err conftest.$ac_objext \
 
10767
    conftest$ac_exeext conftest.$ac_ext
 
10768
  LDFLAGS=$save_LDFLAGS
 
10769
  libdir=$save_libdir
 
10770
 
9987
10771
  # This implies no fast_install, which is unacceptable.
9988
10772
  # Some rework will be needed to allow for fast_install
9989
10773
  # before this can be enabled.
9990
10774
  hardcode_into_libs=yes
9991
10775
 
9992
 
  # find out which ABI we are using
9993
 
  libsuff=
9994
 
  case "$host_cpu" in
9995
 
  x86_64*|s390x*|powerpc64*)
9996
 
    echo '#line 9996 "configure"' > conftest.$ac_ext
9997
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9998
 
  (eval $ac_compile) 2>&5
9999
 
  ac_status=$?
10000
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10001
 
  (exit $ac_status); }; then
10002
 
      case `/usr/bin/file conftest.$ac_objext` in
10003
 
      *64-bit*)
10004
 
        libsuff=64
10005
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
10006
 
        ;;
10007
 
      esac
10008
 
    fi
10009
 
    rm -rf conftest*
10010
 
    ;;
10011
 
  esac
10012
 
 
10013
10776
  # Append ld.so.conf contents to the search path
10014
10777
  if test -f /etc/ld.so.conf; then
10015
 
    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' ' '`
10016
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
10778
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
10779
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10017
10780
  fi
10018
10781
 
10019
10782
  # We used to test for /lib/ld.so.1 and disable shared libraries on
10025
10788
  dynamic_linker='GNU/Linux ld.so'
10026
10789
  ;;
10027
10790
 
10028
 
knetbsd*-gnu)
 
10791
netbsdelf*-gnu)
10029
10792
  version_type=linux
10030
10793
  need_lib_prefix=no
10031
10794
  need_version=no
10034
10797
  shlibpath_var=LD_LIBRARY_PATH
10035
10798
  shlibpath_overrides_runpath=no
10036
10799
  hardcode_into_libs=yes
10037
 
  dynamic_linker='GNU ld.so'
 
10800
  dynamic_linker='NetBSD ld.elf_so'
10038
10801
  ;;
10039
10802
 
10040
10803
netbsd*)
10041
10804
  version_type=sunos
10042
10805
  need_lib_prefix=no
10043
10806
  need_version=no
10044
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
10807
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10045
10808
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10046
10809
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10047
10810
    dynamic_linker='NetBSD (a.out) ld.so'
10062
10825
  shlibpath_overrides_runpath=yes
10063
10826
  ;;
10064
10827
 
10065
 
nto-qnx*)
10066
 
  version_type=linux
 
10828
*nto* | *qnx*)
 
10829
  version_type=qnx
10067
10830
  need_lib_prefix=no
10068
10831
  need_version=no
10069
10832
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10070
10833
  soname_spec='${libname}${release}${shared_ext}$major'
10071
10834
  shlibpath_var=LD_LIBRARY_PATH
10072
 
  shlibpath_overrides_runpath=yes
 
10835
  shlibpath_overrides_runpath=no
 
10836
  hardcode_into_libs=yes
 
10837
  dynamic_linker='ldqnx.so'
10073
10838
  ;;
10074
10839
 
10075
10840
openbsd*)
10078
10843
  need_lib_prefix=no
10079
10844
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10080
10845
  case $host_os in
10081
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10082
 
    *)                         need_version=no  ;;
 
10846
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
10847
    *)                          need_version=no  ;;
10083
10848
  esac
10084
10849
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10085
10850
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10086
10851
  shlibpath_var=LD_LIBRARY_PATH
10087
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10852
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10088
10853
    case $host_os in
10089
10854
      openbsd2.[89] | openbsd2.[89].*)
10090
10855
        shlibpath_overrides_runpath=no
10118
10883
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10119
10884
  ;;
10120
10885
 
 
10886
rdos*)
 
10887
  dynamic_linker=no
 
10888
  ;;
 
10889
 
10121
10890
solaris*)
10122
10891
  version_type=linux
10123
10892
  need_lib_prefix=no
10152
10921
    sni)
10153
10922
      shlibpath_overrides_runpath=no
10154
10923
      need_lib_prefix=no
10155
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
10156
10924
      runpath_var=LD_RUN_PATH
10157
10925
      ;;
10158
10926
    siemens)
10183
10951
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10184
10952
  soname_spec='${libname}${release}${shared_ext}$major'
10185
10953
  shlibpath_var=LD_LIBRARY_PATH
 
10954
  shlibpath_overrides_runpath=yes
10186
10955
  hardcode_into_libs=yes
10187
10956
  if test "$with_gnu_ld" = yes; then
10188
10957
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10189
 
    shlibpath_overrides_runpath=no
10190
10958
  else
10191
10959
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10192
 
    shlibpath_overrides_runpath=yes
10193
10960
    case $host_os in
10194
10961
      sco3.2v5*)
10195
10962
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10199
10966
  sys_lib_dlsearch_path_spec='/usr/lib'
10200
10967
  ;;
10201
10968
 
 
10969
tpf*)
 
10970
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
10971
  version_type=linux
 
10972
  need_lib_prefix=no
 
10973
  need_version=no
 
10974
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10975
  shlibpath_var=LD_LIBRARY_PATH
 
10976
  shlibpath_overrides_runpath=no
 
10977
  hardcode_into_libs=yes
 
10978
  ;;
 
10979
 
10202
10980
uts4*)
10203
10981
  version_type=linux
10204
10982
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10210
10988
  dynamic_linker=no
10211
10989
  ;;
10212
10990
esac
10213
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10214
 
echo "${ECHO_T}$dynamic_linker" >&6
 
10991
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
10992
$as_echo "$dynamic_linker" >&6; }
10215
10993
test "$dynamic_linker" = no && can_build_shared=no
10216
10994
 
10217
10995
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10219
10997
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10220
10998
fi
10221
10999
 
10222
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10223
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
11000
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
11001
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
11002
fi
 
11003
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
11004
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
11005
fi
 
11006
 
 
11007
 
 
11008
 
 
11009
 
 
11010
 
 
11011
 
 
11012
 
 
11013
 
 
11014
 
 
11015
 
 
11016
 
 
11017
 
 
11018
 
 
11019
 
 
11020
 
 
11021
 
 
11022
 
 
11023
 
 
11024
 
 
11025
 
 
11026
 
 
11027
 
 
11028
 
 
11029
 
 
11030
 
 
11031
 
 
11032
 
 
11033
 
 
11034
 
 
11035
 
 
11036
 
 
11037
 
 
11038
 
 
11039
 
 
11040
 
 
11041
 
 
11042
 
 
11043
 
 
11044
 
 
11045
 
 
11046
 
 
11047
 
 
11048
 
 
11049
 
 
11050
 
 
11051
 
 
11052
 
 
11053
 
 
11054
 
 
11055
 
 
11056
 
 
11057
 
 
11058
 
 
11059
 
 
11060
 
 
11061
 
 
11062
 
 
11063
 
 
11064
 
 
11065
 
 
11066
 
 
11067
 
 
11068
 
 
11069
 
 
11070
 
 
11071
 
 
11072
 
 
11073
 
 
11074
 
 
11075
 
 
11076
 
 
11077
 
 
11078
 
 
11079
 
 
11080
 
 
11081
 
 
11082
 
 
11083
 
 
11084
 
 
11085
 
 
11086
 
 
11087
 
 
11088
 
 
11089
 
 
11090
 
 
11091
 
 
11092
 
 
11093
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
11094
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10224
11095
hardcode_action=
10225
 
if test -n "$hardcode_libdir_flag_spec" || \
10226
 
   test -n "$runpath_var" || \
 
11096
if test -n "$hardcode_libdir_flag_spec" ||
 
11097
   test -n "$runpath_var" ||
10227
11098
   test "X$hardcode_automatic" = "Xyes" ; then
10228
11099
 
10229
 
  # We can hardcode non-existant directories.
 
11100
  # We can hardcode non-existent directories.
10230
11101
  if test "$hardcode_direct" != no &&
10231
11102
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10232
11103
     # have to relink, otherwise we might link with an installed library
10233
11104
     # when we should be linking with a yet-to-be-installed one
10234
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
11105
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10235
11106
     test "$hardcode_minus_L" != no; then
10236
11107
    # Linking always hardcodes the temporary library directory.
10237
11108
    hardcode_action=relink
10244
11115
  # directories.
10245
11116
  hardcode_action=unsupported
10246
11117
fi
10247
 
echo "$as_me:$LINENO: result: $hardcode_action" >&5
10248
 
echo "${ECHO_T}$hardcode_action" >&6
 
11118
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 
11119
$as_echo "$hardcode_action" >&6; }
10249
11120
 
10250
 
if test "$hardcode_action" = relink; then
 
11121
if test "$hardcode_action" = relink ||
 
11122
   test "$inherit_rpath" = yes; then
10251
11123
  # Fast installation is not supported
10252
11124
  enable_fast_install=no
10253
11125
elif test "$shlibpath_overrides_runpath" = yes ||
10256
11128
  enable_fast_install=needless
10257
11129
fi
10258
11130
 
10259
 
striplib=
10260
 
old_striplib=
10261
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10262
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10263
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10264
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10265
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10266
 
  echo "$as_me:$LINENO: result: yes" >&5
10267
 
echo "${ECHO_T}yes" >&6
10268
 
else
10269
 
# FIXME - insert some real tests, host_os isn't really good enough
10270
 
  case $host_os in
10271
 
   darwin*)
10272
 
       if test -n "$STRIP" ; then
10273
 
         striplib="$STRIP -x"
10274
 
         echo "$as_me:$LINENO: result: yes" >&5
10275
 
echo "${ECHO_T}yes" >&6
10276
 
       else
10277
 
  echo "$as_me:$LINENO: result: no" >&5
10278
 
echo "${ECHO_T}no" >&6
10279
 
fi
10280
 
       ;;
10281
 
   *)
10282
 
  echo "$as_me:$LINENO: result: no" >&5
10283
 
echo "${ECHO_T}no" >&6
10284
 
    ;;
10285
 
  esac
10286
 
fi
10287
 
 
10288
 
if test "x$enable_dlopen" != xyes; then
 
11131
 
 
11132
 
 
11133
 
 
11134
 
 
11135
 
 
11136
  if test "x$enable_dlopen" != xyes; then
10289
11137
  enable_dlopen=unknown
10290
11138
  enable_dlopen_self=unknown
10291
11139
  enable_dlopen_self_static=unknown
10300
11148
    lt_cv_dlopen_self=yes
10301
11149
    ;;
10302
11150
 
10303
 
  mingw* | pw32*)
 
11151
  mingw* | pw32* | cegcc*)
10304
11152
    lt_cv_dlopen="LoadLibrary"
10305
11153
    lt_cv_dlopen_libs=
10306
 
   ;;
 
11154
    ;;
10307
11155
 
10308
11156
  cygwin*)
10309
11157
    lt_cv_dlopen="dlopen"
10310
11158
    lt_cv_dlopen_libs=
10311
 
   ;;
 
11159
    ;;
10312
11160
 
10313
11161
  darwin*)
10314
11162
  # if libdl is installed we need to link against it
10315
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10316
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10317
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10318
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11163
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
11164
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
11165
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11166
  $as_echo_n "(cached) " >&6
10319
11167
else
10320
11168
  ac_check_lib_save_LIBS=$LIBS
10321
11169
LIBS="-ldl  $LIBS"
10322
 
cat >conftest.$ac_ext <<_ACEOF
10323
 
/* confdefs.h.  */
10324
 
_ACEOF
10325
 
cat confdefs.h >>conftest.$ac_ext
10326
 
cat >>conftest.$ac_ext <<_ACEOF
 
11170
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10327
11171
/* end confdefs.h.  */
10328
11172
 
10329
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
11173
/* Override any GCC internal prototype to avoid an error.
 
11174
   Use char because int might match the return type of a GCC
 
11175
   builtin and then its argument prototype would still apply.  */
10330
11176
#ifdef __cplusplus
10331
11177
extern "C"
10332
11178
#endif
10333
 
/* We use char because int might match the return type of a gcc2
10334
 
   builtin and then its argument prototype would still apply.  */
10335
11179
char dlopen ();
10336
11180
int
10337
11181
main ()
10338
11182
{
10339
 
dlopen ();
 
11183
return dlopen ();
10340
11184
  ;
10341
11185
  return 0;
10342
11186
}
10343
11187
_ACEOF
10344
 
rm -f conftest.$ac_objext conftest$ac_exeext
10345
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10346
 
  (eval $ac_link) 2>conftest.er1
10347
 
  ac_status=$?
10348
 
  grep -v '^ *+' conftest.er1 >conftest.err
10349
 
  rm -f conftest.er1
10350
 
  cat conftest.err >&5
10351
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10352
 
  (exit $ac_status); } &&
10353
 
         { ac_try='test -z "$ac_c_werror_flag"
10354
 
                         || test ! -s conftest.err'
10355
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10356
 
  (eval $ac_try) 2>&5
10357
 
  ac_status=$?
10358
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10359
 
  (exit $ac_status); }; } &&
10360
 
         { ac_try='test -s conftest$ac_exeext'
10361
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10362
 
  (eval $ac_try) 2>&5
10363
 
  ac_status=$?
10364
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10365
 
  (exit $ac_status); }; }; then
 
11188
if ac_fn_c_try_link "$LINENO"; then :
10366
11189
  ac_cv_lib_dl_dlopen=yes
10367
11190
else
10368
 
  echo "$as_me: failed program was:" >&5
10369
 
sed 's/^/| /' conftest.$ac_ext >&5
10370
 
 
10371
 
ac_cv_lib_dl_dlopen=no
 
11191
  ac_cv_lib_dl_dlopen=no
10372
11192
fi
10373
 
rm -f conftest.err conftest.$ac_objext \
10374
 
      conftest$ac_exeext conftest.$ac_ext
 
11193
rm -f core conftest.err conftest.$ac_objext \
 
11194
    conftest$ac_exeext conftest.$ac_ext
10375
11195
LIBS=$ac_check_lib_save_LIBS
10376
11196
fi
10377
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10378
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10379
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
11197
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
11198
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11199
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10380
11200
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10381
11201
else
10382
11202
 
10386
11206
 
10387
11207
fi
10388
11208
 
10389
 
   ;;
 
11209
    ;;
10390
11210
 
10391
11211
  *)
10392
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
10393
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10394
 
if test "${ac_cv_func_shl_load+set}" = set; then
10395
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10396
 
else
10397
 
  cat >conftest.$ac_ext <<_ACEOF
10398
 
/* confdefs.h.  */
10399
 
_ACEOF
10400
 
cat confdefs.h >>conftest.$ac_ext
10401
 
cat >>conftest.$ac_ext <<_ACEOF
10402
 
/* end confdefs.h.  */
10403
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10404
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10405
 
#define shl_load innocuous_shl_load
10406
 
 
10407
 
/* System header to define __stub macros and hopefully few prototypes,
10408
 
    which can conflict with char shl_load (); below.
10409
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10410
 
    <limits.h> exists even on freestanding compilers.  */
10411
 
 
10412
 
#ifdef __STDC__
10413
 
# include <limits.h>
10414
 
#else
10415
 
# include <assert.h>
10416
 
#endif
10417
 
 
10418
 
#undef shl_load
10419
 
 
10420
 
/* Override any gcc2 internal prototype to avoid an error.  */
10421
 
#ifdef __cplusplus
10422
 
extern "C"
10423
 
{
10424
 
#endif
10425
 
/* We use char because int might match the return type of a gcc2
10426
 
   builtin and then its argument prototype would still apply.  */
10427
 
char shl_load ();
10428
 
/* The GNU C library defines this for functions which it implements
10429
 
    to always fail with ENOSYS.  Some functions are actually named
10430
 
    something starting with __ and the normal name is an alias.  */
10431
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
10432
 
choke me
10433
 
#else
10434
 
char (*f) () = shl_load;
10435
 
#endif
10436
 
#ifdef __cplusplus
10437
 
}
10438
 
#endif
10439
 
 
10440
 
int
10441
 
main ()
10442
 
{
10443
 
return f != shl_load;
10444
 
  ;
10445
 
  return 0;
10446
 
}
10447
 
_ACEOF
10448
 
rm -f conftest.$ac_objext conftest$ac_exeext
10449
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10450
 
  (eval $ac_link) 2>conftest.er1
10451
 
  ac_status=$?
10452
 
  grep -v '^ *+' conftest.er1 >conftest.err
10453
 
  rm -f conftest.er1
10454
 
  cat conftest.err >&5
10455
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10456
 
  (exit $ac_status); } &&
10457
 
         { ac_try='test -z "$ac_c_werror_flag"
10458
 
                         || test ! -s conftest.err'
10459
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10460
 
  (eval $ac_try) 2>&5
10461
 
  ac_status=$?
10462
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10463
 
  (exit $ac_status); }; } &&
10464
 
         { ac_try='test -s conftest$ac_exeext'
10465
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10466
 
  (eval $ac_try) 2>&5
10467
 
  ac_status=$?
10468
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10469
 
  (exit $ac_status); }; }; then
10470
 
  ac_cv_func_shl_load=yes
10471
 
else
10472
 
  echo "$as_me: failed program was:" >&5
10473
 
sed 's/^/| /' conftest.$ac_ext >&5
10474
 
 
10475
 
ac_cv_func_shl_load=no
10476
 
fi
10477
 
rm -f conftest.err conftest.$ac_objext \
10478
 
      conftest$ac_exeext conftest.$ac_ext
10479
 
fi
10480
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10481
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10482
 
if test $ac_cv_func_shl_load = yes; then
 
11212
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
11213
if test "x$ac_cv_func_shl_load" = x""yes; then :
10483
11214
  lt_cv_dlopen="shl_load"
10484
11215
else
10485
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10486
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10487
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10488
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11216
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 
11217
$as_echo_n "checking for shl_load in -ldld... " >&6; }
 
11218
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
11219
  $as_echo_n "(cached) " >&6
10489
11220
else
10490
11221
  ac_check_lib_save_LIBS=$LIBS
10491
11222
LIBS="-ldld  $LIBS"
10492
 
cat >conftest.$ac_ext <<_ACEOF
10493
 
/* confdefs.h.  */
10494
 
_ACEOF
10495
 
cat confdefs.h >>conftest.$ac_ext
10496
 
cat >>conftest.$ac_ext <<_ACEOF
 
11223
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10497
11224
/* end confdefs.h.  */
10498
11225
 
10499
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
11226
/* Override any GCC internal prototype to avoid an error.
 
11227
   Use char because int might match the return type of a GCC
 
11228
   builtin and then its argument prototype would still apply.  */
10500
11229
#ifdef __cplusplus
10501
11230
extern "C"
10502
11231
#endif
10503
 
/* We use char because int might match the return type of a gcc2
10504
 
   builtin and then its argument prototype would still apply.  */
10505
11232
char shl_load ();
10506
11233
int
10507
11234
main ()
10508
11235
{
10509
 
shl_load ();
 
11236
return shl_load ();
10510
11237
  ;
10511
11238
  return 0;
10512
11239
}
10513
11240
_ACEOF
10514
 
rm -f conftest.$ac_objext conftest$ac_exeext
10515
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10516
 
  (eval $ac_link) 2>conftest.er1
10517
 
  ac_status=$?
10518
 
  grep -v '^ *+' conftest.er1 >conftest.err
10519
 
  rm -f conftest.er1
10520
 
  cat conftest.err >&5
10521
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10522
 
  (exit $ac_status); } &&
10523
 
         { ac_try='test -z "$ac_c_werror_flag"
10524
 
                         || test ! -s conftest.err'
10525
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10526
 
  (eval $ac_try) 2>&5
10527
 
  ac_status=$?
10528
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10529
 
  (exit $ac_status); }; } &&
10530
 
         { ac_try='test -s conftest$ac_exeext'
10531
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10532
 
  (eval $ac_try) 2>&5
10533
 
  ac_status=$?
10534
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10535
 
  (exit $ac_status); }; }; then
 
11241
if ac_fn_c_try_link "$LINENO"; then :
10536
11242
  ac_cv_lib_dld_shl_load=yes
10537
11243
else
10538
 
  echo "$as_me: failed program was:" >&5
10539
 
sed 's/^/| /' conftest.$ac_ext >&5
10540
 
 
10541
 
ac_cv_lib_dld_shl_load=no
 
11244
  ac_cv_lib_dld_shl_load=no
10542
11245
fi
10543
 
rm -f conftest.err conftest.$ac_objext \
10544
 
      conftest$ac_exeext conftest.$ac_ext
 
11246
rm -f core conftest.err conftest.$ac_objext \
 
11247
    conftest$ac_exeext conftest.$ac_ext
10545
11248
LIBS=$ac_check_lib_save_LIBS
10546
11249
fi
10547
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10548
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10549
 
if test $ac_cv_lib_dld_shl_load = yes; then
10550
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10551
 
else
10552
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
10553
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10554
 
if test "${ac_cv_func_dlopen+set}" = set; then
10555
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10556
 
else
10557
 
  cat >conftest.$ac_ext <<_ACEOF
10558
 
/* confdefs.h.  */
10559
 
_ACEOF
10560
 
cat confdefs.h >>conftest.$ac_ext
10561
 
cat >>conftest.$ac_ext <<_ACEOF
10562
 
/* end confdefs.h.  */
10563
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10564
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10565
 
#define dlopen innocuous_dlopen
10566
 
 
10567
 
/* System header to define __stub macros and hopefully few prototypes,
10568
 
    which can conflict with char dlopen (); below.
10569
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10570
 
    <limits.h> exists even on freestanding compilers.  */
10571
 
 
10572
 
#ifdef __STDC__
10573
 
# include <limits.h>
10574
 
#else
10575
 
# include <assert.h>
10576
 
#endif
10577
 
 
10578
 
#undef dlopen
10579
 
 
10580
 
/* Override any gcc2 internal prototype to avoid an error.  */
10581
 
#ifdef __cplusplus
10582
 
extern "C"
10583
 
{
10584
 
#endif
10585
 
/* We use char because int might match the return type of a gcc2
10586
 
   builtin and then its argument prototype would still apply.  */
10587
 
char dlopen ();
10588
 
/* The GNU C library defines this for functions which it implements
10589
 
    to always fail with ENOSYS.  Some functions are actually named
10590
 
    something starting with __ and the normal name is an alias.  */
10591
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
10592
 
choke me
10593
 
#else
10594
 
char (*f) () = dlopen;
10595
 
#endif
10596
 
#ifdef __cplusplus
10597
 
}
10598
 
#endif
10599
 
 
10600
 
int
10601
 
main ()
10602
 
{
10603
 
return f != dlopen;
10604
 
  ;
10605
 
  return 0;
10606
 
}
10607
 
_ACEOF
10608
 
rm -f conftest.$ac_objext conftest$ac_exeext
10609
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10610
 
  (eval $ac_link) 2>conftest.er1
10611
 
  ac_status=$?
10612
 
  grep -v '^ *+' conftest.er1 >conftest.err
10613
 
  rm -f conftest.er1
10614
 
  cat conftest.err >&5
10615
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10616
 
  (exit $ac_status); } &&
10617
 
         { ac_try='test -z "$ac_c_werror_flag"
10618
 
                         || test ! -s conftest.err'
10619
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10620
 
  (eval $ac_try) 2>&5
10621
 
  ac_status=$?
10622
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10623
 
  (exit $ac_status); }; } &&
10624
 
         { ac_try='test -s conftest$ac_exeext'
10625
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10626
 
  (eval $ac_try) 2>&5
10627
 
  ac_status=$?
10628
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10629
 
  (exit $ac_status); }; }; then
10630
 
  ac_cv_func_dlopen=yes
10631
 
else
10632
 
  echo "$as_me: failed program was:" >&5
10633
 
sed 's/^/| /' conftest.$ac_ext >&5
10634
 
 
10635
 
ac_cv_func_dlopen=no
10636
 
fi
10637
 
rm -f conftest.err conftest.$ac_objext \
10638
 
      conftest$ac_exeext conftest.$ac_ext
10639
 
fi
10640
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10641
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10642
 
if test $ac_cv_func_dlopen = yes; then
 
11250
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 
11251
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
11252
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
11253
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 
11254
else
 
11255
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
11256
if test "x$ac_cv_func_dlopen" = x""yes; then :
10643
11257
  lt_cv_dlopen="dlopen"
10644
11258
else
10645
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10646
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10647
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10648
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11259
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
11260
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
11261
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11262
  $as_echo_n "(cached) " >&6
10649
11263
else
10650
11264
  ac_check_lib_save_LIBS=$LIBS
10651
11265
LIBS="-ldl  $LIBS"
10652
 
cat >conftest.$ac_ext <<_ACEOF
10653
 
/* confdefs.h.  */
10654
 
_ACEOF
10655
 
cat confdefs.h >>conftest.$ac_ext
10656
 
cat >>conftest.$ac_ext <<_ACEOF
 
11266
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10657
11267
/* end confdefs.h.  */
10658
11268
 
10659
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
11269
/* Override any GCC internal prototype to avoid an error.
 
11270
   Use char because int might match the return type of a GCC
 
11271
   builtin and then its argument prototype would still apply.  */
10660
11272
#ifdef __cplusplus
10661
11273
extern "C"
10662
11274
#endif
10663
 
/* We use char because int might match the return type of a gcc2
10664
 
   builtin and then its argument prototype would still apply.  */
10665
11275
char dlopen ();
10666
11276
int
10667
11277
main ()
10668
11278
{
10669
 
dlopen ();
 
11279
return dlopen ();
10670
11280
  ;
10671
11281
  return 0;
10672
11282
}
10673
11283
_ACEOF
10674
 
rm -f conftest.$ac_objext conftest$ac_exeext
10675
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10676
 
  (eval $ac_link) 2>conftest.er1
10677
 
  ac_status=$?
10678
 
  grep -v '^ *+' conftest.er1 >conftest.err
10679
 
  rm -f conftest.er1
10680
 
  cat conftest.err >&5
10681
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10682
 
  (exit $ac_status); } &&
10683
 
         { ac_try='test -z "$ac_c_werror_flag"
10684
 
                         || test ! -s conftest.err'
10685
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10686
 
  (eval $ac_try) 2>&5
10687
 
  ac_status=$?
10688
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10689
 
  (exit $ac_status); }; } &&
10690
 
         { ac_try='test -s conftest$ac_exeext'
10691
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10692
 
  (eval $ac_try) 2>&5
10693
 
  ac_status=$?
10694
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10695
 
  (exit $ac_status); }; }; then
 
11284
if ac_fn_c_try_link "$LINENO"; then :
10696
11285
  ac_cv_lib_dl_dlopen=yes
10697
11286
else
10698
 
  echo "$as_me: failed program was:" >&5
10699
 
sed 's/^/| /' conftest.$ac_ext >&5
10700
 
 
10701
 
ac_cv_lib_dl_dlopen=no
 
11287
  ac_cv_lib_dl_dlopen=no
10702
11288
fi
10703
 
rm -f conftest.err conftest.$ac_objext \
10704
 
      conftest$ac_exeext conftest.$ac_ext
 
11289
rm -f core conftest.err conftest.$ac_objext \
 
11290
    conftest$ac_exeext conftest.$ac_ext
10705
11291
LIBS=$ac_check_lib_save_LIBS
10706
11292
fi
10707
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10708
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10709
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
11293
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
11294
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11295
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10710
11296
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10711
11297
else
10712
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10713
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10714
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10715
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11298
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 
11299
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 
11300
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
11301
  $as_echo_n "(cached) " >&6
10716
11302
else
10717
11303
  ac_check_lib_save_LIBS=$LIBS
10718
11304
LIBS="-lsvld  $LIBS"
10719
 
cat >conftest.$ac_ext <<_ACEOF
10720
 
/* confdefs.h.  */
10721
 
_ACEOF
10722
 
cat confdefs.h >>conftest.$ac_ext
10723
 
cat >>conftest.$ac_ext <<_ACEOF
 
11305
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10724
11306
/* end confdefs.h.  */
10725
11307
 
10726
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
11308
/* Override any GCC internal prototype to avoid an error.
 
11309
   Use char because int might match the return type of a GCC
 
11310
   builtin and then its argument prototype would still apply.  */
10727
11311
#ifdef __cplusplus
10728
11312
extern "C"
10729
11313
#endif
10730
 
/* We use char because int might match the return type of a gcc2
10731
 
   builtin and then its argument prototype would still apply.  */
10732
11314
char dlopen ();
10733
11315
int
10734
11316
main ()
10735
11317
{
10736
 
dlopen ();
 
11318
return dlopen ();
10737
11319
  ;
10738
11320
  return 0;
10739
11321
}
10740
11322
_ACEOF
10741
 
rm -f conftest.$ac_objext conftest$ac_exeext
10742
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10743
 
  (eval $ac_link) 2>conftest.er1
10744
 
  ac_status=$?
10745
 
  grep -v '^ *+' conftest.er1 >conftest.err
10746
 
  rm -f conftest.er1
10747
 
  cat conftest.err >&5
10748
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10749
 
  (exit $ac_status); } &&
10750
 
         { ac_try='test -z "$ac_c_werror_flag"
10751
 
                         || test ! -s conftest.err'
10752
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10753
 
  (eval $ac_try) 2>&5
10754
 
  ac_status=$?
10755
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10756
 
  (exit $ac_status); }; } &&
10757
 
         { ac_try='test -s conftest$ac_exeext'
10758
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10759
 
  (eval $ac_try) 2>&5
10760
 
  ac_status=$?
10761
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10762
 
  (exit $ac_status); }; }; then
 
11323
if ac_fn_c_try_link "$LINENO"; then :
10763
11324
  ac_cv_lib_svld_dlopen=yes
10764
11325
else
10765
 
  echo "$as_me: failed program was:" >&5
10766
 
sed 's/^/| /' conftest.$ac_ext >&5
10767
 
 
10768
 
ac_cv_lib_svld_dlopen=no
 
11326
  ac_cv_lib_svld_dlopen=no
10769
11327
fi
10770
 
rm -f conftest.err conftest.$ac_objext \
10771
 
      conftest$ac_exeext conftest.$ac_ext
 
11328
rm -f core conftest.err conftest.$ac_objext \
 
11329
    conftest$ac_exeext conftest.$ac_ext
10772
11330
LIBS=$ac_check_lib_save_LIBS
10773
11331
fi
10774
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10775
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10776
 
if test $ac_cv_lib_svld_dlopen = yes; then
 
11332
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 
11333
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
11334
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10777
11335
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10778
11336
else
10779
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10780
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10781
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10782
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11337
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 
11338
$as_echo_n "checking for dld_link in -ldld... " >&6; }
 
11339
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
11340
  $as_echo_n "(cached) " >&6
10783
11341
else
10784
11342
  ac_check_lib_save_LIBS=$LIBS
10785
11343
LIBS="-ldld  $LIBS"
10786
 
cat >conftest.$ac_ext <<_ACEOF
10787
 
/* confdefs.h.  */
10788
 
_ACEOF
10789
 
cat confdefs.h >>conftest.$ac_ext
10790
 
cat >>conftest.$ac_ext <<_ACEOF
 
11344
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10791
11345
/* end confdefs.h.  */
10792
11346
 
10793
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
11347
/* Override any GCC internal prototype to avoid an error.
 
11348
   Use char because int might match the return type of a GCC
 
11349
   builtin and then its argument prototype would still apply.  */
10794
11350
#ifdef __cplusplus
10795
11351
extern "C"
10796
11352
#endif
10797
 
/* We use char because int might match the return type of a gcc2
10798
 
   builtin and then its argument prototype would still apply.  */
10799
11353
char dld_link ();
10800
11354
int
10801
11355
main ()
10802
11356
{
10803
 
dld_link ();
 
11357
return dld_link ();
10804
11358
  ;
10805
11359
  return 0;
10806
11360
}
10807
11361
_ACEOF
10808
 
rm -f conftest.$ac_objext conftest$ac_exeext
10809
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10810
 
  (eval $ac_link) 2>conftest.er1
10811
 
  ac_status=$?
10812
 
  grep -v '^ *+' conftest.er1 >conftest.err
10813
 
  rm -f conftest.er1
10814
 
  cat conftest.err >&5
10815
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10816
 
  (exit $ac_status); } &&
10817
 
         { ac_try='test -z "$ac_c_werror_flag"
10818
 
                         || test ! -s conftest.err'
10819
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10820
 
  (eval $ac_try) 2>&5
10821
 
  ac_status=$?
10822
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10823
 
  (exit $ac_status); }; } &&
10824
 
         { ac_try='test -s conftest$ac_exeext'
10825
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10826
 
  (eval $ac_try) 2>&5
10827
 
  ac_status=$?
10828
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10829
 
  (exit $ac_status); }; }; then
 
11362
if ac_fn_c_try_link "$LINENO"; then :
10830
11363
  ac_cv_lib_dld_dld_link=yes
10831
11364
else
10832
 
  echo "$as_me: failed program was:" >&5
10833
 
sed 's/^/| /' conftest.$ac_ext >&5
10834
 
 
10835
 
ac_cv_lib_dld_dld_link=no
 
11365
  ac_cv_lib_dld_dld_link=no
10836
11366
fi
10837
 
rm -f conftest.err conftest.$ac_objext \
10838
 
      conftest$ac_exeext conftest.$ac_ext
 
11367
rm -f core conftest.err conftest.$ac_objext \
 
11368
    conftest$ac_exeext conftest.$ac_ext
10839
11369
LIBS=$ac_check_lib_save_LIBS
10840
11370
fi
10841
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10842
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10843
 
if test $ac_cv_lib_dld_dld_link = yes; then
10844
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 
11371
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 
11372
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
11373
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
11374
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10845
11375
fi
10846
11376
 
10847
11377
 
10879
11409
    save_LIBS="$LIBS"
10880
11410
    LIBS="$lt_cv_dlopen_libs $LIBS"
10881
11411
 
10882
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10883
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10884
 
if test "${lt_cv_dlopen_self+set}" = set; then
10885
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11412
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 
11413
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 
11414
if test "${lt_cv_dlopen_self+set}" = set; then :
 
11415
  $as_echo_n "(cached) " >&6
10886
11416
else
10887
11417
          if test "$cross_compiling" = yes; then :
10888
11418
  lt_cv_dlopen_self=cross
10889
11419
else
10890
11420
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10891
11421
  lt_status=$lt_dlunknown
10892
 
  cat > conftest.$ac_ext <<EOF
10893
 
#line 10893 "configure"
 
11422
  cat > conftest.$ac_ext <<_LT_EOF
 
11423
#line 11423 "configure"
10894
11424
#include "confdefs.h"
10895
11425
 
10896
11426
#if HAVE_DLFCN_H
10931
11461
#  endif
10932
11462
#endif
10933
11463
 
10934
 
#ifdef __cplusplus
10935
 
extern "C" void exit (int);
10936
 
#endif
10937
 
 
10938
11464
void fnord() { int i=42;}
10939
11465
int main ()
10940
11466
{
10950
11476
  else
10951
11477
    puts (dlerror ());
10952
11478
 
10953
 
    exit (status);
 
11479
  return status;
10954
11480
}
10955
 
EOF
10956
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
11481
_LT_EOF
 
11482
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10957
11483
  (eval $ac_link) 2>&5
10958
11484
  ac_status=$?
10959
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10960
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11485
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11486
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10961
11487
    (./conftest; exit; ) >&5 2>/dev/null
10962
11488
    lt_status=$?
10963
11489
    case x$lt_status in
10974
11500
 
10975
11501
 
10976
11502
fi
10977
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10978
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
11503
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 
11504
$as_echo "$lt_cv_dlopen_self" >&6; }
10979
11505
 
10980
11506
    if test "x$lt_cv_dlopen_self" = xyes; then
10981
11507
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10982
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10983
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10984
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
10985
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11508
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 
11509
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 
11510
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
11511
  $as_echo_n "(cached) " >&6
10986
11512
else
10987
11513
          if test "$cross_compiling" = yes; then :
10988
11514
  lt_cv_dlopen_self_static=cross
10989
11515
else
10990
11516
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10991
11517
  lt_status=$lt_dlunknown
10992
 
  cat > conftest.$ac_ext <<EOF
10993
 
#line 10993 "configure"
 
11518
  cat > conftest.$ac_ext <<_LT_EOF
 
11519
#line 11519 "configure"
10994
11520
#include "confdefs.h"
10995
11521
 
10996
11522
#if HAVE_DLFCN_H
11031
11557
#  endif
11032
11558
#endif
11033
11559
 
11034
 
#ifdef __cplusplus
11035
 
extern "C" void exit (int);
11036
 
#endif
11037
 
 
11038
11560
void fnord() { int i=42;}
11039
11561
int main ()
11040
11562
{
11050
11572
  else
11051
11573
    puts (dlerror ());
11052
11574
 
11053
 
    exit (status);
 
11575
  return status;
11054
11576
}
11055
 
EOF
11056
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
11577
_LT_EOF
 
11578
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11057
11579
  (eval $ac_link) 2>&5
11058
11580
  ac_status=$?
11059
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11060
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11581
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11582
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11061
11583
    (./conftest; exit; ) >&5 2>/dev/null
11062
11584
    lt_status=$?
11063
11585
    case x$lt_status in
11074
11596
 
11075
11597
 
11076
11598
fi
11077
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11078
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
11599
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 
11600
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11079
11601
    fi
11080
11602
 
11081
11603
    CPPFLAGS="$save_CPPFLAGS"
11096
11618
fi
11097
11619
 
11098
11620
 
11099
 
# Report which library types will actually be built
11100
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11101
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11102
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
11103
 
echo "${ECHO_T}$can_build_shared" >&6
11104
 
 
11105
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11106
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11107
 
test "$can_build_shared" = "no" && enable_shared=no
11108
 
 
11109
 
# On AIX, shared libraries and static libraries use the same namespace, and
11110
 
# are all built from PIC.
11111
 
case $host_os in
11112
 
aix3*)
11113
 
  test "$enable_shared" = yes && enable_static=no
11114
 
  if test -n "$RANLIB"; then
11115
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
11116
 
    postinstall_cmds='$RANLIB $lib'
11117
 
  fi
11118
 
  ;;
11119
 
 
11120
 
aix4* | aix5*)
11121
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11122
 
    test "$enable_shared" = yes && enable_static=no
11123
 
  fi
11124
 
    ;;
11125
 
esac
11126
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
11127
 
echo "${ECHO_T}$enable_shared" >&6
11128
 
 
11129
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11130
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11131
 
# Make sure either enable_shared or enable_static is yes.
11132
 
test "$enable_shared" = yes || enable_static=yes
11133
 
echo "$as_me:$LINENO: result: $enable_static" >&5
11134
 
echo "${ECHO_T}$enable_static" >&6
11135
 
 
11136
 
# The else clause should only fire when bootstrapping the
11137
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
11138
 
# with your package, and you will get complaints that there are
11139
 
# no rules to generate ltmain.sh.
11140
 
if test -f "$ltmain"; then
11141
 
  # See if we are running on zsh, and set the options which allow our commands through
11142
 
  # without removal of \ escapes.
11143
 
  if test -n "${ZSH_VERSION+set}" ; then
11144
 
    setopt NO_GLOB_SUBST
11145
 
  fi
11146
 
  # Now quote all the things that may contain metacharacters while being
11147
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
11148
 
  # variables and quote the copies for generation of the libtool script.
11149
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
11150
 
    SED SHELL STRIP \
11151
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
11152
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11153
 
    deplibs_check_method reload_flag reload_cmds need_locks \
11154
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
11155
 
    lt_cv_sys_global_symbol_to_c_name_address \
11156
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
11157
 
    old_postinstall_cmds old_postuninstall_cmds \
11158
 
    compiler \
11159
 
    CC \
11160
 
    LD \
11161
 
    lt_prog_compiler_wl \
11162
 
    lt_prog_compiler_pic \
11163
 
    lt_prog_compiler_static \
11164
 
    lt_prog_compiler_no_builtin_flag \
11165
 
    export_dynamic_flag_spec \
11166
 
    thread_safe_flag_spec \
11167
 
    whole_archive_flag_spec \
11168
 
    enable_shared_with_static_runtimes \
11169
 
    old_archive_cmds \
11170
 
    old_archive_from_new_cmds \
11171
 
    predep_objects \
11172
 
    postdep_objects \
11173
 
    predeps \
11174
 
    postdeps \
11175
 
    compiler_lib_search_path \
11176
 
    archive_cmds \
11177
 
    archive_expsym_cmds \
11178
 
    postinstall_cmds \
11179
 
    postuninstall_cmds \
11180
 
    old_archive_from_expsyms_cmds \
11181
 
    allow_undefined_flag \
11182
 
    no_undefined_flag \
11183
 
    export_symbols_cmds \
11184
 
    hardcode_libdir_flag_spec \
11185
 
    hardcode_libdir_flag_spec_ld \
11186
 
    hardcode_libdir_separator \
11187
 
    hardcode_automatic \
11188
 
    module_cmds \
11189
 
    module_expsym_cmds \
11190
 
    lt_cv_prog_compiler_c_o \
11191
 
    exclude_expsyms \
11192
 
    include_expsyms; do
11193
 
 
11194
 
    case $var in
11195
 
    old_archive_cmds | \
11196
 
    old_archive_from_new_cmds | \
11197
 
    archive_cmds | \
11198
 
    archive_expsym_cmds | \
11199
 
    module_cmds | \
11200
 
    module_expsym_cmds | \
11201
 
    old_archive_from_expsyms_cmds | \
11202
 
    export_symbols_cmds | \
11203
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
11204
 
    postinstall_cmds | postuninstall_cmds | \
11205
 
    old_postinstall_cmds | old_postuninstall_cmds | \
11206
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
11207
 
      # Double-quote double-evaled strings.
11208
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
11209
 
      ;;
11210
 
    *)
11211
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
11212
 
      ;;
11213
 
    esac
11214
 
  done
11215
 
 
11216
 
  case $lt_echo in
11217
 
  *'\$0 --fallback-echo"')
11218
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11219
 
    ;;
11220
 
  esac
11221
 
 
11222
 
cfgfile="${ofile}T"
11223
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
11224
 
  $rm -f "$cfgfile"
11225
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
11226
 
echo "$as_me: creating $ofile" >&6;}
11227
 
 
11228
 
  cat <<__EOF__ >> "$cfgfile"
11229
 
#! $SHELL
11230
 
 
11231
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
11232
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11233
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
11234
 
#
11235
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
11236
 
# Free Software Foundation, Inc.
11237
 
#
11238
 
# This file is part of GNU Libtool:
11239
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
11240
 
#
11241
 
# This program is free software; you can redistribute it and/or modify
11242
 
# it under the terms of the GNU General Public License as published by
11243
 
# the Free Software Foundation; either version 2 of the License, or
11244
 
# (at your option) any later version.
11245
 
#
11246
 
# This program is distributed in the hope that it will be useful, but
11247
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
11248
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11249
 
# General Public License for more details.
11250
 
#
11251
 
# You should have received a copy of the GNU General Public License
11252
 
# along with this program; if not, write to the Free Software
11253
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
11254
 
#
11255
 
# As a special exception to the GNU General Public License, if you
11256
 
# distribute this file as part of a program that contains a
11257
 
# configuration script generated by Autoconf, you may include it under
11258
 
# the same distribution terms that you use for the rest of that program.
11259
 
 
11260
 
# A sed program that does not truncate output.
11261
 
SED=$lt_SED
11262
 
 
11263
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
11264
 
Xsed="$SED -e 1s/^X//"
11265
 
 
11266
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
11267
 
# if CDPATH is set.
11268
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11269
 
 
11270
 
# The names of the tagged configurations supported by this script.
11271
 
available_tags=
11272
 
 
11273
 
# ### BEGIN LIBTOOL CONFIG
11274
 
 
11275
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11276
 
 
11277
 
# Shell to use when invoking shell scripts.
11278
 
SHELL=$lt_SHELL
11279
 
 
11280
 
# Whether or not to build shared libraries.
11281
 
build_libtool_libs=$enable_shared
11282
 
 
11283
 
# Whether or not to build static libraries.
11284
 
build_old_libs=$enable_static
11285
 
 
11286
 
# Whether or not to add -lc for building shared libraries.
11287
 
build_libtool_need_lc=$archive_cmds_need_lc
11288
 
 
11289
 
# Whether or not to disallow shared libs when runtime libs are static
11290
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
11291
 
 
11292
 
# Whether or not to optimize for fast installation.
11293
 
fast_install=$enable_fast_install
11294
 
 
11295
 
# The host system.
11296
 
host_alias=$host_alias
11297
 
host=$host
11298
 
host_os=$host_os
11299
 
 
11300
 
# The build system.
11301
 
build_alias=$build_alias
11302
 
build=$build
11303
 
build_os=$build_os
11304
 
 
11305
 
# An echo program that does not interpret backslashes.
11306
 
echo=$lt_echo
11307
 
 
11308
 
# The archiver.
11309
 
AR=$lt_AR
11310
 
AR_FLAGS=$lt_AR_FLAGS
11311
 
 
11312
 
# A C compiler.
11313
 
LTCC=$lt_LTCC
11314
 
 
11315
 
# LTCC compiler flags.
11316
 
LTCFLAGS=$lt_LTCFLAGS
11317
 
 
11318
 
# A language-specific compiler.
11319
 
CC=$lt_compiler
11320
 
 
11321
 
# Is the compiler the GNU C compiler?
11322
 
with_gcc=$GCC
11323
 
 
11324
 
# An ERE matcher.
11325
 
EGREP=$lt_EGREP
11326
 
 
11327
 
# The linker used to build libraries.
11328
 
LD=$lt_LD
11329
 
 
11330
 
# Whether we need hard or soft links.
11331
 
LN_S=$lt_LN_S
11332
 
 
11333
 
# A BSD-compatible nm program.
11334
 
NM=$lt_NM
11335
 
 
11336
 
# A symbol stripping program
11337
 
STRIP=$lt_STRIP
11338
 
 
11339
 
# Used to examine libraries when file_magic_cmd begins "file"
11340
 
MAGIC_CMD=$MAGIC_CMD
11341
 
 
11342
 
# Used on cygwin: DLL creation program.
11343
 
DLLTOOL="$DLLTOOL"
11344
 
 
11345
 
# Used on cygwin: object dumper.
11346
 
OBJDUMP="$OBJDUMP"
11347
 
 
11348
 
# Used on cygwin: assembler.
11349
 
AS="$AS"
11350
 
 
11351
 
# The name of the directory that contains temporary libtool files.
11352
 
objdir=$objdir
11353
 
 
11354
 
# How to create reloadable object files.
11355
 
reload_flag=$lt_reload_flag
11356
 
reload_cmds=$lt_reload_cmds
11357
 
 
11358
 
# How to pass a linker flag through the compiler.
11359
 
wl=$lt_lt_prog_compiler_wl
11360
 
 
11361
 
# Object file suffix (normally "o").
11362
 
objext="$ac_objext"
11363
 
 
11364
 
# Old archive suffix (normally "a").
11365
 
libext="$libext"
11366
 
 
11367
 
# Shared library suffix (normally ".so").
11368
 
shrext_cmds='$shrext_cmds'
11369
 
 
11370
 
# Executable file suffix (normally "").
11371
 
exeext="$exeext"
11372
 
 
11373
 
# Additional compiler flags for building library objects.
11374
 
pic_flag=$lt_lt_prog_compiler_pic
11375
 
pic_mode=$pic_mode
11376
 
 
11377
 
# What is the maximum length of a command?
11378
 
max_cmd_len=$lt_cv_sys_max_cmd_len
11379
 
 
11380
 
# Does compiler simultaneously support -c and -o options?
11381
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
11382
 
 
11383
 
# Must we lock files when doing compilation?
11384
 
need_locks=$lt_need_locks
11385
 
 
11386
 
# Do we need the lib prefix for modules?
11387
 
need_lib_prefix=$need_lib_prefix
11388
 
 
11389
 
# Do we need a version for libraries?
11390
 
need_version=$need_version
11391
 
 
11392
 
# Whether dlopen is supported.
11393
 
dlopen_support=$enable_dlopen
11394
 
 
11395
 
# Whether dlopen of programs is supported.
11396
 
dlopen_self=$enable_dlopen_self
11397
 
 
11398
 
# Whether dlopen of statically linked programs is supported.
11399
 
dlopen_self_static=$enable_dlopen_self_static
11400
 
 
11401
 
# Compiler flag to prevent dynamic linking.
11402
 
link_static_flag=$lt_lt_prog_compiler_static
11403
 
 
11404
 
# Compiler flag to turn off builtin functions.
11405
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
11406
 
 
11407
 
# Compiler flag to allow reflexive dlopens.
11408
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
11409
 
 
11410
 
# Compiler flag to generate shared objects directly from archives.
11411
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
11412
 
 
11413
 
# Compiler flag to generate thread-safe objects.
11414
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
11415
 
 
11416
 
# Library versioning type.
11417
 
version_type=$version_type
11418
 
 
11419
 
# Format of library name prefix.
11420
 
libname_spec=$lt_libname_spec
11421
 
 
11422
 
# List of archive names.  First name is the real one, the rest are links.
11423
 
# The last name is the one that the linker finds with -lNAME.
11424
 
library_names_spec=$lt_library_names_spec
11425
 
 
11426
 
# The coded name of the library, if different from the real name.
11427
 
soname_spec=$lt_soname_spec
11428
 
 
11429
 
# Commands used to build and install an old-style archive.
11430
 
RANLIB=$lt_RANLIB
11431
 
old_archive_cmds=$lt_old_archive_cmds
11432
 
old_postinstall_cmds=$lt_old_postinstall_cmds
11433
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
11434
 
 
11435
 
# Create an old-style archive from a shared archive.
11436
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
11437
 
 
11438
 
# Create a temporary old-style archive to link instead of a shared archive.
11439
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
11440
 
 
11441
 
# Commands used to build and install a shared archive.
11442
 
archive_cmds=$lt_archive_cmds
11443
 
archive_expsym_cmds=$lt_archive_expsym_cmds
11444
 
postinstall_cmds=$lt_postinstall_cmds
11445
 
postuninstall_cmds=$lt_postuninstall_cmds
11446
 
 
11447
 
# Commands used to build a loadable module (assumed same as above if empty)
11448
 
module_cmds=$lt_module_cmds
11449
 
module_expsym_cmds=$lt_module_expsym_cmds
11450
 
 
11451
 
# Commands to strip libraries.
11452
 
old_striplib=$lt_old_striplib
11453
 
striplib=$lt_striplib
11454
 
 
11455
 
# Dependencies to place before the objects being linked to create a
11456
 
# shared library.
11457
 
predep_objects=$lt_predep_objects
11458
 
 
11459
 
# Dependencies to place after the objects being linked to create a
11460
 
# shared library.
11461
 
postdep_objects=$lt_postdep_objects
11462
 
 
11463
 
# Dependencies to place before the objects being linked to create a
11464
 
# shared library.
11465
 
predeps=$lt_predeps
11466
 
 
11467
 
# Dependencies to place after the objects being linked to create a
11468
 
# shared library.
11469
 
postdeps=$lt_postdeps
11470
 
 
11471
 
# The library search path used internally by the compiler when linking
11472
 
# a shared library.
11473
 
compiler_lib_search_path=$lt_compiler_lib_search_path
11474
 
 
11475
 
# Method to check whether dependent libraries are shared objects.
11476
 
deplibs_check_method=$lt_deplibs_check_method
11477
 
 
11478
 
# Command to use when deplibs_check_method == file_magic.
11479
 
file_magic_cmd=$lt_file_magic_cmd
11480
 
 
11481
 
# Flag that allows shared libraries with undefined symbols to be built.
11482
 
allow_undefined_flag=$lt_allow_undefined_flag
11483
 
 
11484
 
# Flag that forces no undefined symbols.
11485
 
no_undefined_flag=$lt_no_undefined_flag
11486
 
 
11487
 
# Commands used to finish a libtool library installation in a directory.
11488
 
finish_cmds=$lt_finish_cmds
11489
 
 
11490
 
# Same as above, but a single script fragment to be evaled but not shown.
11491
 
finish_eval=$lt_finish_eval
11492
 
 
11493
 
# Take the output of nm and produce a listing of raw symbols and C names.
11494
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11495
 
 
11496
 
# Transform the output of nm in a proper C declaration
11497
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11498
 
 
11499
 
# Transform the output of nm in a C name address pair
11500
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11501
 
 
11502
 
# This is the shared library runtime path variable.
11503
 
runpath_var=$runpath_var
11504
 
 
11505
 
# This is the shared library path variable.
11506
 
shlibpath_var=$shlibpath_var
11507
 
 
11508
 
# Is shlibpath searched before the hard-coded library search path?
11509
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11510
 
 
11511
 
# How to hardcode a shared library path into an executable.
11512
 
hardcode_action=$hardcode_action
11513
 
 
11514
 
# Whether we should hardcode library paths into libraries.
11515
 
hardcode_into_libs=$hardcode_into_libs
11516
 
 
11517
 
# Flag to hardcode \$libdir into a binary during linking.
11518
 
# This must work even if \$libdir does not exist.
11519
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11520
 
 
11521
 
# If ld is used when linking, flag to hardcode \$libdir into
11522
 
# a binary during linking. This must work even if \$libdir does
11523
 
# not exist.
11524
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11525
 
 
11526
 
# Whether we need a single -rpath flag with a separated argument.
11527
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
11528
 
 
11529
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11530
 
# resulting binary.
11531
 
hardcode_direct=$hardcode_direct
11532
 
 
11533
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11534
 
# resulting binary.
11535
 
hardcode_minus_L=$hardcode_minus_L
11536
 
 
11537
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11538
 
# the resulting binary.
11539
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
11540
 
 
11541
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
11542
 
# and all subsequent libraries and executables linked against it.
11543
 
hardcode_automatic=$hardcode_automatic
11544
 
 
11545
 
# Variables whose values should be saved in libtool wrapper scripts and
11546
 
# restored at relink time.
11547
 
variables_saved_for_relink="$variables_saved_for_relink"
11548
 
 
11549
 
# Whether libtool must link a program against all its dependency libraries.
11550
 
link_all_deplibs=$link_all_deplibs
11551
 
 
11552
 
# Compile-time system search path for libraries
11553
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11554
 
 
11555
 
# Run-time system search path for libraries
11556
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11557
 
 
11558
 
# Fix the shell variable \$srcfile for the compiler.
11559
 
fix_srcfile_path="$fix_srcfile_path"
11560
 
 
11561
 
# Set to yes if exported symbols are required.
11562
 
always_export_symbols=$always_export_symbols
11563
 
 
11564
 
# The commands to list exported symbols.
11565
 
export_symbols_cmds=$lt_export_symbols_cmds
11566
 
 
11567
 
# The commands to extract the exported symbol list from a shared archive.
11568
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
11569
 
 
11570
 
# Symbols that should not be listed in the preloaded symbols.
11571
 
exclude_expsyms=$lt_exclude_expsyms
11572
 
 
11573
 
# Symbols that must always be exported.
11574
 
include_expsyms=$lt_include_expsyms
11575
 
 
11576
 
# ### END LIBTOOL CONFIG
11577
 
 
11578
 
__EOF__
11579
 
 
11580
 
 
11581
 
  case $host_os in
11582
 
  aix3*)
11583
 
    cat <<\EOF >> "$cfgfile"
11584
 
 
11585
 
# AIX sometimes has problems with the GCC collect2 program.  For some
11586
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
11587
 
# vanish in a puff of smoke.
11588
 
if test "X${COLLECT_NAMES+set}" != Xset; then
11589
 
  COLLECT_NAMES=
11590
 
  export COLLECT_NAMES
11591
 
fi
11592
 
EOF
11593
 
    ;;
11594
 
  esac
11595
 
 
11596
 
  # We use sed instead of cat because bash on DJGPP gets confused if
11597
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
11598
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
11599
 
  # is reportedly fixed, but why not run on old versions too?
11600
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11601
 
 
11602
 
  mv -f "$cfgfile" "$ofile" || \
11603
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11604
 
  chmod +x "$ofile"
11605
 
 
11606
 
else
11607
 
  # If there is no Makefile yet, we rely on a make rule to execute
11608
 
  # `config.status --recheck' to rerun these tests and create the
11609
 
  # libtool script then.
11610
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
11611
 
  if test -f "$ltmain_in"; then
11612
 
    test -f Makefile && make "$ltmain"
11613
 
  fi
11614
 
fi
11615
 
 
11616
 
 
11617
 
ac_ext=c
11618
 
ac_cpp='$CPP $CPPFLAGS'
11619
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11620
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11621
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11622
 
 
11623
 
CC="$lt_save_CC"
11624
 
 
11625
 
 
11626
 
# Check whether --with-tags or --without-tags was given.
11627
 
if test "${with_tags+set}" = set; then
11628
 
  withval="$with_tags"
11629
 
  tagnames="$withval"
11630
 
fi;
11631
 
 
11632
 
if test -f "$ltmain" && test -n "$tagnames"; then
11633
 
  if test ! -f "${ofile}"; then
11634
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
11635
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
11636
 
  fi
11637
 
 
11638
 
  if test -z "$LTCC"; then
11639
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
11640
 
    if test -z "$LTCC"; then
11641
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11642
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
11643
 
    else
11644
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
11645
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
11646
 
    fi
11647
 
  fi
11648
 
  if test -z "$LTCFLAGS"; then
11649
 
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
11650
 
  fi
11651
 
 
11652
 
  # Extract list of available tagged configurations in $ofile.
11653
 
  # Note that this assumes the entire list is on one line.
11654
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11655
 
 
11656
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11657
 
  for tagname in $tagnames; do
11658
 
    IFS="$lt_save_ifs"
11659
 
    # Check whether tagname contains only valid characters
11660
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11661
 
    "") ;;
11662
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11663
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
11664
 
   { (exit 1); exit 1; }; }
11665
 
        ;;
11666
 
    esac
11667
 
 
11668
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11669
 
    then
11670
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11671
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11672
 
   { (exit 1); exit 1; }; }
11673
 
    fi
11674
 
 
11675
 
    # Update the list of available tags.
11676
 
    if test -n "$tagname"; then
11677
 
      echo appending configuration tag \"$tagname\" to $ofile
11678
 
 
11679
 
      case $tagname in
11680
 
      CXX)
11681
 
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11682
 
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11683
 
            (test "X$CXX" != "Xg++"))) ; then
11684
 
          ac_ext=cc
11685
 
ac_cpp='$CXXCPP $CPPFLAGS'
11686
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11687
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11688
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11689
 
 
11690
 
 
11691
 
 
11692
 
 
11693
 
archive_cmds_need_lc_CXX=no
11694
 
allow_undefined_flag_CXX=
11695
 
always_export_symbols_CXX=no
11696
 
archive_expsym_cmds_CXX=
11697
 
export_dynamic_flag_spec_CXX=
11698
 
hardcode_direct_CXX=no
11699
 
hardcode_libdir_flag_spec_CXX=
11700
 
hardcode_libdir_flag_spec_ld_CXX=
11701
 
hardcode_libdir_separator_CXX=
11702
 
hardcode_minus_L_CXX=no
11703
 
hardcode_shlibpath_var_CXX=unsupported
11704
 
hardcode_automatic_CXX=no
11705
 
module_cmds_CXX=
11706
 
module_expsym_cmds_CXX=
11707
 
link_all_deplibs_CXX=unknown
11708
 
old_archive_cmds_CXX=$old_archive_cmds
11709
 
no_undefined_flag_CXX=
11710
 
whole_archive_flag_spec_CXX=
11711
 
enable_shared_with_static_runtimes_CXX=no
11712
 
 
11713
 
# Dependencies to place before and after the object being linked:
11714
 
predep_objects_CXX=
11715
 
postdep_objects_CXX=
11716
 
predeps_CXX=
11717
 
postdeps_CXX=
11718
 
compiler_lib_search_path_CXX=
11719
 
 
11720
 
# Source file extension for C++ test sources.
11721
 
ac_ext=cpp
11722
 
 
11723
 
# Object file extension for compiled C++ test sources.
11724
 
objext=o
11725
 
objext_CXX=$objext
11726
 
 
11727
 
# Code to be used in simple compile tests
11728
 
lt_simple_compile_test_code="int some_variable = 0;\n"
11729
 
 
11730
 
# Code to be used in simple link tests
11731
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
11732
 
 
11733
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
11734
 
 
11735
 
# If no C compiler was specified, use CC.
11736
 
LTCC=${LTCC-"$CC"}
11737
 
 
11738
 
# If no C compiler flags were specified, use CFLAGS.
11739
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11740
 
 
11741
 
# Allow CC to be a program name with arguments.
11742
 
compiler=$CC
11743
 
 
11744
 
 
11745
 
# save warnings/boilerplate of simple test code
11746
 
ac_outfile=conftest.$ac_objext
11747
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
11748
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11749
 
_lt_compiler_boilerplate=`cat conftest.err`
11750
 
$rm conftest*
11751
 
 
11752
 
ac_outfile=conftest.$ac_objext
11753
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
11754
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11755
 
_lt_linker_boilerplate=`cat conftest.err`
11756
 
$rm conftest*
11757
 
 
11758
 
 
11759
 
# Allow CC to be a program name with arguments.
11760
 
lt_save_CC=$CC
11761
 
lt_save_LD=$LD
11762
 
lt_save_GCC=$GCC
11763
 
GCC=$GXX
11764
 
lt_save_with_gnu_ld=$with_gnu_ld
11765
 
lt_save_path_LD=$lt_cv_path_LD
11766
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11767
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11768
 
else
11769
 
  $as_unset lt_cv_prog_gnu_ld
11770
 
fi
11771
 
if test -n "${lt_cv_path_LDCXX+set}"; then
11772
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
11773
 
else
11774
 
  $as_unset lt_cv_path_LD
11775
 
fi
11776
 
test -z "${LDCXX+set}" || LD=$LDCXX
11777
 
CC=${CXX-"c++"}
11778
 
compiler=$CC
11779
 
compiler_CXX=$CC
11780
 
for cc_temp in $compiler""; do
11781
 
  case $cc_temp in
11782
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11783
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11784
 
    \-*) ;;
11785
 
    *) break;;
11786
 
  esac
11787
 
done
11788
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11789
 
 
11790
 
 
11791
 
# We don't want -fno-exception wen compiling C++ code, so set the
11792
 
# no_builtin_flag separately
11793
 
if test "$GXX" = yes; then
11794
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11795
 
else
11796
 
  lt_prog_compiler_no_builtin_flag_CXX=
11797
 
fi
11798
 
 
11799
 
if test "$GXX" = yes; then
11800
 
  # Set up default GNU C++ configuration
11801
 
 
11802
 
 
11803
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
11804
 
if test "${with_gnu_ld+set}" = set; then
11805
 
  withval="$with_gnu_ld"
11806
 
  test "$withval" = no || with_gnu_ld=yes
11807
 
else
11808
 
  with_gnu_ld=no
11809
 
fi;
11810
 
ac_prog=ld
11811
 
if test "$GCC" = yes; then
11812
 
  # Check if gcc -print-prog-name=ld gives a path.
11813
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11814
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
11815
 
  case $host in
11816
 
  *-*-mingw*)
11817
 
    # gcc leaves a trailing carriage return which upsets mingw
11818
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11819
 
  *)
11820
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11821
 
  esac
11822
 
  case $ac_prog in
11823
 
    # Accept absolute paths.
11824
 
    [\\/]* | ?:[\\/]*)
11825
 
      re_direlt='/[^/][^/]*/\.\./'
11826
 
      # Canonicalize the pathname of ld
11827
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
11828
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11829
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
11830
 
      done
11831
 
      test -z "$LD" && LD="$ac_prog"
11832
 
      ;;
11833
 
  "")
11834
 
    # If it fails, then pretend we aren't using GCC.
11835
 
    ac_prog=ld
11836
 
    ;;
11837
 
  *)
11838
 
    # If it is relative, then search for the first ld in PATH.
11839
 
    with_gnu_ld=unknown
11840
 
    ;;
11841
 
  esac
11842
 
elif test "$with_gnu_ld" = yes; then
11843
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
11844
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
11845
 
else
11846
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11847
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
11848
 
fi
11849
 
if test "${lt_cv_path_LD+set}" = set; then
11850
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11851
 
else
11852
 
  if test -z "$LD"; then
11853
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11854
 
  for ac_dir in $PATH; do
11855
 
    IFS="$lt_save_ifs"
11856
 
    test -z "$ac_dir" && ac_dir=.
11857
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11858
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
11859
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
11860
 
      # but apparently some variants of GNU ld only accept -v.
11861
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
11862
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11863
 
      *GNU* | *'with BFD'*)
11864
 
        test "$with_gnu_ld" != no && break
11865
 
        ;;
11866
 
      *)
11867
 
        test "$with_gnu_ld" != yes && break
11868
 
        ;;
11869
 
      esac
11870
 
    fi
11871
 
  done
11872
 
  IFS="$lt_save_ifs"
11873
 
else
11874
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
11875
 
fi
11876
 
fi
11877
 
 
11878
 
LD="$lt_cv_path_LD"
11879
 
if test -n "$LD"; then
11880
 
  echo "$as_me:$LINENO: result: $LD" >&5
11881
 
echo "${ECHO_T}$LD" >&6
11882
 
else
11883
 
  echo "$as_me:$LINENO: result: no" >&5
11884
 
echo "${ECHO_T}no" >&6
11885
 
fi
11886
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11887
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11888
 
   { (exit 1); exit 1; }; }
11889
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11890
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11891
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
11892
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11893
 
else
11894
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
11895
 
case `$LD -v 2>&1 </dev/null` in
11896
 
*GNU* | *'with BFD'*)
11897
 
  lt_cv_prog_gnu_ld=yes
11898
 
  ;;
11899
 
*)
11900
 
  lt_cv_prog_gnu_ld=no
11901
 
  ;;
11902
 
esac
11903
 
fi
11904
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11905
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11906
 
with_gnu_ld=$lt_cv_prog_gnu_ld
11907
 
 
11908
 
 
11909
 
 
11910
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
11911
 
  # archiving commands below assume that GNU ld is being used.
11912
 
  if test "$with_gnu_ld" = yes; then
11913
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11914
 
    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'
11915
 
 
11916
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11917
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11918
 
 
11919
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
11920
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11921
 
    #     investigate it a little bit more. (MM)
11922
 
    wlarc='${wl}'
11923
 
 
11924
 
    # ancient GNU ld didn't support --whole-archive et. al.
11925
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
11926
 
        grep 'no-whole-archive' > /dev/null; then
11927
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11928
 
    else
11929
 
      whole_archive_flag_spec_CXX=
11930
 
    fi
11931
 
  else
11932
 
    with_gnu_ld=no
11933
 
    wlarc=
11934
 
 
11935
 
    # A generic and very simple default shared library creation
11936
 
    # command for GNU C++ for the case where it uses the native
11937
 
    # linker, instead of GNU ld.  If possible, this setting should
11938
 
    # overridden to take advantage of the native linker features on
11939
 
    # the platform it is being used on.
11940
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11941
 
  fi
11942
 
 
11943
 
  # Commands to make compiler produce verbose output that lists
11944
 
  # what "hidden" libraries, object files and flags are used when
11945
 
  # linking a shared library.
11946
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11947
 
 
11948
 
else
11949
 
  GXX=no
11950
 
  with_gnu_ld=no
11951
 
  wlarc=
11952
 
fi
11953
 
 
11954
 
# PORTME: fill in a description of your system's C++ link characteristics
11955
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11956
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11957
 
ld_shlibs_CXX=yes
11958
 
case $host_os in
11959
 
  aix3*)
11960
 
    # FIXME: insert proper C++ library support
11961
 
    ld_shlibs_CXX=no
11962
 
    ;;
11963
 
  aix4* | aix5*)
11964
 
    if test "$host_cpu" = ia64; then
11965
 
      # On IA64, the linker does run time linking by default, so we don't
11966
 
      # have to do anything special.
11967
 
      aix_use_runtimelinking=no
11968
 
      exp_sym_flag='-Bexport'
11969
 
      no_entry_flag=""
11970
 
    else
11971
 
      aix_use_runtimelinking=no
11972
 
 
11973
 
      # Test if we are trying to use run time linking or normal
11974
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11975
 
      # need to do runtime linking.
11976
 
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11977
 
        for ld_flag in $LDFLAGS; do
11978
 
          case $ld_flag in
11979
 
          *-brtl*)
11980
 
            aix_use_runtimelinking=yes
11981
 
            break
11982
 
            ;;
11983
 
          esac
11984
 
        done
11985
 
        ;;
11986
 
      esac
11987
 
 
11988
 
      exp_sym_flag='-bexport'
11989
 
      no_entry_flag='-bnoentry'
11990
 
    fi
11991
 
 
11992
 
    # When large executables or shared objects are built, AIX ld can
11993
 
    # have problems creating the table of contents.  If linking a library
11994
 
    # or program results in "error TOC overflow" add -mminimal-toc to
11995
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11996
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11997
 
 
11998
 
    archive_cmds_CXX=''
11999
 
    hardcode_direct_CXX=yes
12000
 
    hardcode_libdir_separator_CXX=':'
12001
 
    link_all_deplibs_CXX=yes
12002
 
 
12003
 
    if test "$GXX" = yes; then
12004
 
      case $host_os in aix4.[012]|aix4.[012].*)
12005
 
      # We only want to do this on AIX 4.2 and lower, the check
12006
 
      # below for broken collect2 doesn't work under 4.3+
12007
 
        collect2name=`${CC} -print-prog-name=collect2`
12008
 
        if test -f "$collect2name" && \
12009
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
12010
 
        then
12011
 
          # We have reworked collect2
12012
 
          hardcode_direct_CXX=yes
12013
 
        else
12014
 
          # We have old collect2
12015
 
          hardcode_direct_CXX=unsupported
12016
 
          # It fails to find uninstalled libraries when the uninstalled
12017
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
12018
 
          # to unsupported forces relinking
12019
 
          hardcode_minus_L_CXX=yes
12020
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
12021
 
          hardcode_libdir_separator_CXX=
12022
 
        fi
12023
 
        ;;
12024
 
      esac
12025
 
      shared_flag='-shared'
12026
 
      if test "$aix_use_runtimelinking" = yes; then
12027
 
        shared_flag="$shared_flag "'${wl}-G'
12028
 
      fi
12029
 
    else
12030
 
      # not using gcc
12031
 
      if test "$host_cpu" = ia64; then
12032
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12033
 
        # chokes on -Wl,-G. The following line is correct:
12034
 
        shared_flag='-G'
12035
 
      else
12036
 
        if test "$aix_use_runtimelinking" = yes; then
12037
 
          shared_flag='${wl}-G'
12038
 
        else
12039
 
          shared_flag='${wl}-bM:SRE'
12040
 
        fi
12041
 
      fi
12042
 
    fi
12043
 
 
12044
 
    # It seems that -bexpall does not export symbols beginning with
12045
 
    # underscore (_), so it is better to generate a list of symbols to export.
12046
 
    always_export_symbols_CXX=yes
12047
 
    if test "$aix_use_runtimelinking" = yes; then
12048
 
      # Warning - without using the other runtime loading flags (-brtl),
12049
 
      # -berok will link without error, but may produce a broken library.
12050
 
      allow_undefined_flag_CXX='-berok'
12051
 
      # Determine the default libpath from the value encoded in an empty executable.
12052
 
      cat >conftest.$ac_ext <<_ACEOF
12053
 
/* confdefs.h.  */
12054
 
_ACEOF
12055
 
cat confdefs.h >>conftest.$ac_ext
12056
 
cat >>conftest.$ac_ext <<_ACEOF
12057
 
/* end confdefs.h.  */
12058
 
 
12059
 
int
12060
 
main ()
12061
 
{
12062
 
 
12063
 
  ;
12064
 
  return 0;
12065
 
}
12066
 
_ACEOF
12067
 
rm -f conftest.$ac_objext conftest$ac_exeext
12068
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12069
 
  (eval $ac_link) 2>conftest.er1
12070
 
  ac_status=$?
12071
 
  grep -v '^ *+' conftest.er1 >conftest.err
12072
 
  rm -f conftest.er1
12073
 
  cat conftest.err >&5
12074
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12075
 
  (exit $ac_status); } &&
12076
 
         { ac_try='test -z "$ac_cxx_werror_flag"
12077
 
                         || test ! -s conftest.err'
12078
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12079
 
  (eval $ac_try) 2>&5
12080
 
  ac_status=$?
12081
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12082
 
  (exit $ac_status); }; } &&
12083
 
         { ac_try='test -s conftest$ac_exeext'
12084
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12085
 
  (eval $ac_try) 2>&5
12086
 
  ac_status=$?
12087
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12088
 
  (exit $ac_status); }; }; then
12089
 
 
12090
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
12091
 
}'`
12092
 
# Check for a 64-bit object if we didn't find anything.
12093
 
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; }
12094
 
}'`; fi
12095
 
else
12096
 
  echo "$as_me: failed program was:" >&5
12097
 
sed 's/^/| /' conftest.$ac_ext >&5
12098
 
 
12099
 
fi
12100
 
rm -f conftest.err conftest.$ac_objext \
12101
 
      conftest$ac_exeext conftest.$ac_ext
12102
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12103
 
 
12104
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12105
 
 
12106
 
      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"
12107
 
     else
12108
 
      if test "$host_cpu" = ia64; then
12109
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12110
 
        allow_undefined_flag_CXX="-z nodefs"
12111
 
        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"
12112
 
      else
12113
 
        # Determine the default libpath from the value encoded in an empty executable.
12114
 
        cat >conftest.$ac_ext <<_ACEOF
12115
 
/* confdefs.h.  */
12116
 
_ACEOF
12117
 
cat confdefs.h >>conftest.$ac_ext
12118
 
cat >>conftest.$ac_ext <<_ACEOF
12119
 
/* end confdefs.h.  */
12120
 
 
12121
 
int
12122
 
main ()
12123
 
{
12124
 
 
12125
 
  ;
12126
 
  return 0;
12127
 
}
12128
 
_ACEOF
12129
 
rm -f conftest.$ac_objext conftest$ac_exeext
12130
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12131
 
  (eval $ac_link) 2>conftest.er1
12132
 
  ac_status=$?
12133
 
  grep -v '^ *+' conftest.er1 >conftest.err
12134
 
  rm -f conftest.er1
12135
 
  cat conftest.err >&5
12136
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12137
 
  (exit $ac_status); } &&
12138
 
         { ac_try='test -z "$ac_cxx_werror_flag"
12139
 
                         || test ! -s conftest.err'
12140
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12141
 
  (eval $ac_try) 2>&5
12142
 
  ac_status=$?
12143
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12144
 
  (exit $ac_status); }; } &&
12145
 
         { ac_try='test -s conftest$ac_exeext'
12146
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12147
 
  (eval $ac_try) 2>&5
12148
 
  ac_status=$?
12149
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12150
 
  (exit $ac_status); }; }; then
12151
 
 
12152
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
12153
 
}'`
12154
 
# Check for a 64-bit object if we didn't find anything.
12155
 
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; }
12156
 
}'`; fi
12157
 
else
12158
 
  echo "$as_me: failed program was:" >&5
12159
 
sed 's/^/| /' conftest.$ac_ext >&5
12160
 
 
12161
 
fi
12162
 
rm -f conftest.err conftest.$ac_objext \
12163
 
      conftest$ac_exeext conftest.$ac_ext
12164
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12165
 
 
12166
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12167
 
        # Warning - without using the other run time loading flags,
12168
 
        # -berok will link without error, but may produce a broken library.
12169
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
12170
 
        allow_undefined_flag_CXX=' ${wl}-berok'
12171
 
        # Exported symbols can be pulled into shared objects from archives
12172
 
        whole_archive_flag_spec_CXX='$convenience'
12173
 
        archive_cmds_need_lc_CXX=yes
12174
 
        # This is similar to how AIX traditionally builds its shared libraries.
12175
 
        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'
12176
 
      fi
12177
 
    fi
12178
 
    ;;
12179
 
 
12180
 
  beos*)
12181
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12182
 
      allow_undefined_flag_CXX=unsupported
12183
 
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12184
 
      # support --undefined.  This deserves some investigation.  FIXME
12185
 
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12186
 
    else
12187
 
      ld_shlibs_CXX=no
12188
 
    fi
12189
 
    ;;
12190
 
 
12191
 
  chorus*)
12192
 
    case $cc_basename in
12193
 
      *)
12194
 
        # FIXME: insert proper C++ library support
12195
 
        ld_shlibs_CXX=no
12196
 
        ;;
12197
 
    esac
12198
 
    ;;
12199
 
 
12200
 
  cygwin* | mingw* | pw32*)
12201
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12202
 
    # as there is no search path for DLLs.
12203
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
12204
 
    allow_undefined_flag_CXX=unsupported
12205
 
    always_export_symbols_CXX=no
12206
 
    enable_shared_with_static_runtimes_CXX=yes
12207
 
 
12208
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12209
 
      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'
12210
 
      # If the export-symbols file already is a .def file (1st line
12211
 
      # is EXPORTS), use it as is; otherwise, prepend...
12212
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12213
 
        cp $export_symbols $output_objdir/$soname.def;
12214
 
      else
12215
 
        echo EXPORTS > $output_objdir/$soname.def;
12216
 
        cat $export_symbols >> $output_objdir/$soname.def;
12217
 
      fi~
12218
 
      $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'
12219
 
    else
12220
 
      ld_shlibs_CXX=no
12221
 
    fi
12222
 
  ;;
12223
 
      darwin* | rhapsody*)
12224
 
        case $host_os in
12225
 
        rhapsody* | darwin1.[012])
12226
 
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
12227
 
         ;;
12228
 
       *) # Darwin 1.3 on
12229
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12230
 
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12231
 
         else
12232
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
12233
 
             10.[012])
12234
 
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12235
 
               ;;
12236
 
             10.*)
12237
 
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
12238
 
               ;;
12239
 
           esac
12240
 
         fi
12241
 
         ;;
12242
 
        esac
12243
 
      archive_cmds_need_lc_CXX=no
12244
 
      hardcode_direct_CXX=no
12245
 
      hardcode_automatic_CXX=yes
12246
 
      hardcode_shlibpath_var_CXX=unsupported
12247
 
      whole_archive_flag_spec_CXX=''
12248
 
      link_all_deplibs_CXX=yes
12249
 
 
12250
 
    if test "$GXX" = yes ; then
12251
 
      lt_int_apple_cc_single_mod=no
12252
 
      output_verbose_link_cmd='echo'
12253
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
12254
 
       lt_int_apple_cc_single_mod=yes
12255
 
      fi
12256
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12257
 
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12258
 
      else
12259
 
          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'
12260
 
        fi
12261
 
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12262
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12263
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12264
 
            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}'
12265
 
          else
12266
 
            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}'
12267
 
          fi
12268
 
            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}'
12269
 
      else
12270
 
      case $cc_basename in
12271
 
        xlc*)
12272
 
         output_verbose_link_cmd='echo'
12273
 
          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'
12274
 
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12275
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12276
 
          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}'
12277
 
          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}'
12278
 
          ;;
12279
 
       *)
12280
 
         ld_shlibs_CXX=no
12281
 
          ;;
12282
 
      esac
12283
 
      fi
12284
 
        ;;
12285
 
 
12286
 
  dgux*)
12287
 
    case $cc_basename in
12288
 
      ec++*)
12289
 
        # FIXME: insert proper C++ library support
12290
 
        ld_shlibs_CXX=no
12291
 
        ;;
12292
 
      ghcx*)
12293
 
        # Green Hills C++ Compiler
12294
 
        # FIXME: insert proper C++ library support
12295
 
        ld_shlibs_CXX=no
12296
 
        ;;
12297
 
      *)
12298
 
        # FIXME: insert proper C++ library support
12299
 
        ld_shlibs_CXX=no
12300
 
        ;;
12301
 
    esac
12302
 
    ;;
12303
 
  freebsd[12]*)
12304
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
12305
 
    ld_shlibs_CXX=no
12306
 
    ;;
12307
 
  freebsd-elf*)
12308
 
    archive_cmds_need_lc_CXX=no
12309
 
    ;;
12310
 
  freebsd* | kfreebsd*-gnu | dragonfly*)
12311
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12312
 
    # conventions
12313
 
    ld_shlibs_CXX=yes
12314
 
    ;;
12315
 
  gnu*)
12316
 
    ;;
12317
 
  hpux9*)
12318
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12319
 
    hardcode_libdir_separator_CXX=:
12320
 
    export_dynamic_flag_spec_CXX='${wl}-E'
12321
 
    hardcode_direct_CXX=yes
12322
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
12323
 
                                # but as the default
12324
 
                                # location of the library.
12325
 
 
12326
 
    case $cc_basename in
12327
 
    CC*)
12328
 
      # FIXME: insert proper C++ library support
12329
 
      ld_shlibs_CXX=no
12330
 
      ;;
12331
 
    aCC*)
12332
 
      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'
12333
 
      # Commands to make compiler produce verbose output that lists
12334
 
      # what "hidden" libraries, object files and flags are used when
12335
 
      # linking a shared library.
12336
 
      #
12337
 
      # There doesn't appear to be a way to prevent this compiler from
12338
 
      # explicitly linking system object files so we need to strip them
12339
 
      # from the output so that they don't get included in the library
12340
 
      # dependencies.
12341
 
      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'
12342
 
      ;;
12343
 
    *)
12344
 
      if test "$GXX" = yes; then
12345
 
        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'
12346
 
      else
12347
 
        # FIXME: insert proper C++ library support
12348
 
        ld_shlibs_CXX=no
12349
 
      fi
12350
 
      ;;
12351
 
    esac
12352
 
    ;;
12353
 
  hpux10*|hpux11*)
12354
 
    if test $with_gnu_ld = no; then
12355
 
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12356
 
      hardcode_libdir_separator_CXX=:
12357
 
 
12358
 
      case $host_cpu in
12359
 
      hppa*64*|ia64*)
12360
 
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
12361
 
        ;;
12362
 
      *)
12363
 
        export_dynamic_flag_spec_CXX='${wl}-E'
12364
 
        ;;
12365
 
      esac
12366
 
    fi
12367
 
    case $host_cpu in
12368
 
    hppa*64*|ia64*)
12369
 
      hardcode_direct_CXX=no
12370
 
      hardcode_shlibpath_var_CXX=no
12371
 
      ;;
12372
 
    *)
12373
 
      hardcode_direct_CXX=yes
12374
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
12375
 
                                              # but as the default
12376
 
                                              # location of the library.
12377
 
      ;;
12378
 
    esac
12379
 
 
12380
 
    case $cc_basename in
12381
 
      CC*)
12382
 
        # FIXME: insert proper C++ library support
12383
 
        ld_shlibs_CXX=no
12384
 
        ;;
12385
 
      aCC*)
12386
 
        case $host_cpu in
12387
 
        hppa*64*)
12388
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12389
 
          ;;
12390
 
        ia64*)
12391
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12392
 
          ;;
12393
 
        *)
12394
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12395
 
          ;;
12396
 
        esac
12397
 
        # Commands to make compiler produce verbose output that lists
12398
 
        # what "hidden" libraries, object files and flags are used when
12399
 
        # linking a shared library.
12400
 
        #
12401
 
        # There doesn't appear to be a way to prevent this compiler from
12402
 
        # explicitly linking system object files so we need to strip them
12403
 
        # from the output so that they don't get included in the library
12404
 
        # dependencies.
12405
 
        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'
12406
 
        ;;
12407
 
      *)
12408
 
        if test "$GXX" = yes; then
12409
 
          if test $with_gnu_ld = no; then
12410
 
            case $host_cpu in
12411
 
            hppa*64*)
12412
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12413
 
              ;;
12414
 
            ia64*)
12415
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12416
 
              ;;
12417
 
            *)
12418
 
              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'
12419
 
              ;;
12420
 
            esac
12421
 
          fi
12422
 
        else
12423
 
          # FIXME: insert proper C++ library support
12424
 
          ld_shlibs_CXX=no
12425
 
        fi
12426
 
        ;;
12427
 
    esac
12428
 
    ;;
12429
 
  interix3*)
12430
 
    hardcode_direct_CXX=no
12431
 
    hardcode_shlibpath_var_CXX=no
12432
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12433
 
    export_dynamic_flag_spec_CXX='${wl}-E'
12434
 
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12435
 
    # Instead, shared libraries are loaded at an image base (0x10000000 by
12436
 
    # default) and relocated if they conflict, which is a slow very memory
12437
 
    # consuming and fragmenting process.  To avoid this, we pick a random,
12438
 
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12439
 
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12440
 
    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'
12441
 
    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'
12442
 
    ;;
12443
 
  irix5* | irix6*)
12444
 
    case $cc_basename in
12445
 
      CC*)
12446
 
        # SGI C++
12447
 
        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'
12448
 
 
12449
 
        # Archives containing C++ object files must be created using
12450
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12451
 
        # necessary to make sure instantiated templates are included
12452
 
        # in the archive.
12453
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12454
 
        ;;
12455
 
      *)
12456
 
        if test "$GXX" = yes; then
12457
 
          if test "$with_gnu_ld" = no; then
12458
 
            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'
12459
 
          else
12460
 
            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'
12461
 
          fi
12462
 
        fi
12463
 
        link_all_deplibs_CXX=yes
12464
 
        ;;
12465
 
    esac
12466
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12467
 
    hardcode_libdir_separator_CXX=:
12468
 
    ;;
12469
 
  linux*)
12470
 
    case $cc_basename in
12471
 
      KCC*)
12472
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
12473
 
 
12474
 
        # KCC will only create a shared library if the output file
12475
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
12476
 
        # to its proper name (with version) after linking.
12477
 
        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'
12478
 
        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'
12479
 
        # Commands to make compiler produce verbose output that lists
12480
 
        # what "hidden" libraries, object files and flags are used when
12481
 
        # linking a shared library.
12482
 
        #
12483
 
        # There doesn't appear to be a way to prevent this compiler from
12484
 
        # explicitly linking system object files so we need to strip them
12485
 
        # from the output so that they don't get included in the library
12486
 
        # dependencies.
12487
 
        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'
12488
 
 
12489
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
12490
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12491
 
 
12492
 
        # Archives containing C++ object files must be created using
12493
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12494
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12495
 
        ;;
12496
 
      icpc*)
12497
 
        # Intel C++
12498
 
        with_gnu_ld=yes
12499
 
        # version 8.0 and above of icpc choke on multiply defined symbols
12500
 
        # if we add $predep_objects and $postdep_objects, however 7.1 and
12501
 
        # earlier do not add the objects themselves.
12502
 
        case `$CC -V 2>&1` in
12503
 
        *"Version 7."*)
12504
 
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12505
 
          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'
12506
 
          ;;
12507
 
        *)  # Version 8.0 or newer
12508
 
          tmp_idyn=
12509
 
          case $host_cpu in
12510
 
            ia64*) tmp_idyn=' -i_dynamic';;
12511
 
          esac
12512
 
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12513
 
          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'
12514
 
          ;;
12515
 
        esac
12516
 
        archive_cmds_need_lc_CXX=no
12517
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12518
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12519
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12520
 
        ;;
12521
 
      pgCC*)
12522
 
        # Portland Group C++ compiler
12523
 
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12524
 
        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'
12525
 
 
12526
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12527
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12528
 
        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'
12529
 
        ;;
12530
 
      cxx*)
12531
 
        # Compaq C++
12532
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12533
 
        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'
12534
 
 
12535
 
        runpath_var=LD_RUN_PATH
12536
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12537
 
        hardcode_libdir_separator_CXX=:
12538
 
 
12539
 
        # Commands to make compiler produce verbose output that lists
12540
 
        # what "hidden" libraries, object files and flags are used when
12541
 
        # linking a shared library.
12542
 
        #
12543
 
        # There doesn't appear to be a way to prevent this compiler from
12544
 
        # explicitly linking system object files so we need to strip them
12545
 
        # from the output so that they don't get included in the library
12546
 
        # dependencies.
12547
 
        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'
12548
 
        ;;
12549
 
    esac
12550
 
    ;;
12551
 
  lynxos*)
12552
 
    # FIXME: insert proper C++ library support
12553
 
    ld_shlibs_CXX=no
12554
 
    ;;
12555
 
  m88k*)
12556
 
    # FIXME: insert proper C++ library support
12557
 
    ld_shlibs_CXX=no
12558
 
    ;;
12559
 
  mvs*)
12560
 
    case $cc_basename in
12561
 
      cxx*)
12562
 
        # FIXME: insert proper C++ library support
12563
 
        ld_shlibs_CXX=no
12564
 
        ;;
12565
 
      *)
12566
 
        # FIXME: insert proper C++ library support
12567
 
        ld_shlibs_CXX=no
12568
 
        ;;
12569
 
    esac
12570
 
    ;;
12571
 
  netbsd*)
12572
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12573
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12574
 
      wlarc=
12575
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
12576
 
      hardcode_direct_CXX=yes
12577
 
      hardcode_shlibpath_var_CXX=no
12578
 
    fi
12579
 
    # Workaround some broken pre-1.5 toolchains
12580
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12581
 
    ;;
12582
 
  openbsd2*)
12583
 
    # C++ shared libraries are fairly broken
12584
 
    ld_shlibs_CXX=no
12585
 
    ;;
12586
 
  openbsd*)
12587
 
    hardcode_direct_CXX=yes
12588
 
    hardcode_shlibpath_var_CXX=no
12589
 
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12590
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12591
 
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12592
 
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12593
 
      export_dynamic_flag_spec_CXX='${wl}-E'
12594
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12595
 
    fi
12596
 
    output_verbose_link_cmd='echo'
12597
 
    ;;
12598
 
  osf3*)
12599
 
    case $cc_basename in
12600
 
      KCC*)
12601
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
12602
 
 
12603
 
        # KCC will only create a shared library if the output file
12604
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
12605
 
        # to its proper name (with version) after linking.
12606
 
        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'
12607
 
 
12608
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12609
 
        hardcode_libdir_separator_CXX=:
12610
 
 
12611
 
        # Archives containing C++ object files must be created using
12612
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12613
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12614
 
 
12615
 
        ;;
12616
 
      RCC*)
12617
 
        # Rational C++ 2.4.1
12618
 
        # FIXME: insert proper C++ library support
12619
 
        ld_shlibs_CXX=no
12620
 
        ;;
12621
 
      cxx*)
12622
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12623
 
        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'
12624
 
 
12625
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12626
 
        hardcode_libdir_separator_CXX=:
12627
 
 
12628
 
        # Commands to make compiler produce verbose output that lists
12629
 
        # what "hidden" libraries, object files and flags are used when
12630
 
        # linking a shared library.
12631
 
        #
12632
 
        # There doesn't appear to be a way to prevent this compiler from
12633
 
        # explicitly linking system object files so we need to strip them
12634
 
        # from the output so that they don't get included in the library
12635
 
        # dependencies.
12636
 
        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'
12637
 
        ;;
12638
 
      *)
12639
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12640
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12641
 
          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'
12642
 
 
12643
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12644
 
          hardcode_libdir_separator_CXX=:
12645
 
 
12646
 
          # Commands to make compiler produce verbose output that lists
12647
 
          # what "hidden" libraries, object files and flags are used when
12648
 
          # linking a shared library.
12649
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12650
 
 
12651
 
        else
12652
 
          # FIXME: insert proper C++ library support
12653
 
          ld_shlibs_CXX=no
12654
 
        fi
12655
 
        ;;
12656
 
    esac
12657
 
    ;;
12658
 
  osf4* | osf5*)
12659
 
    case $cc_basename in
12660
 
      KCC*)
12661
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
12662
 
 
12663
 
        # KCC will only create a shared library if the output file
12664
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
12665
 
        # to its proper name (with version) after linking.
12666
 
        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'
12667
 
 
12668
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12669
 
        hardcode_libdir_separator_CXX=:
12670
 
 
12671
 
        # Archives containing C++ object files must be created using
12672
 
        # the KAI C++ compiler.
12673
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
12674
 
        ;;
12675
 
      RCC*)
12676
 
        # Rational C++ 2.4.1
12677
 
        # FIXME: insert proper C++ library support
12678
 
        ld_shlibs_CXX=no
12679
 
        ;;
12680
 
      cxx*)
12681
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
12682
 
        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'
12683
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12684
 
          echo "-hidden">> $lib.exp~
12685
 
          $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~
12686
 
          $rm $lib.exp'
12687
 
 
12688
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12689
 
        hardcode_libdir_separator_CXX=:
12690
 
 
12691
 
        # Commands to make compiler produce verbose output that lists
12692
 
        # what "hidden" libraries, object files and flags are used when
12693
 
        # linking a shared library.
12694
 
        #
12695
 
        # There doesn't appear to be a way to prevent this compiler from
12696
 
        # explicitly linking system object files so we need to strip them
12697
 
        # from the output so that they don't get included in the library
12698
 
        # dependencies.
12699
 
        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'
12700
 
        ;;
12701
 
      *)
12702
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12703
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12704
 
         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'
12705
 
 
12706
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12707
 
          hardcode_libdir_separator_CXX=:
12708
 
 
12709
 
          # Commands to make compiler produce verbose output that lists
12710
 
          # what "hidden" libraries, object files and flags are used when
12711
 
          # linking a shared library.
12712
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12713
 
 
12714
 
        else
12715
 
          # FIXME: insert proper C++ library support
12716
 
          ld_shlibs_CXX=no
12717
 
        fi
12718
 
        ;;
12719
 
    esac
12720
 
    ;;
12721
 
  psos*)
12722
 
    # FIXME: insert proper C++ library support
12723
 
    ld_shlibs_CXX=no
12724
 
    ;;
12725
 
  sunos4*)
12726
 
    case $cc_basename in
12727
 
      CC*)
12728
 
        # Sun C++ 4.x
12729
 
        # FIXME: insert proper C++ library support
12730
 
        ld_shlibs_CXX=no
12731
 
        ;;
12732
 
      lcc*)
12733
 
        # Lucid
12734
 
        # FIXME: insert proper C++ library support
12735
 
        ld_shlibs_CXX=no
12736
 
        ;;
12737
 
      *)
12738
 
        # FIXME: insert proper C++ library support
12739
 
        ld_shlibs_CXX=no
12740
 
        ;;
12741
 
    esac
12742
 
    ;;
12743
 
  solaris*)
12744
 
    case $cc_basename in
12745
 
      CC*)
12746
 
        # Sun C++ 4.2, 5.x and Centerline C++
12747
 
        archive_cmds_need_lc_CXX=yes
12748
 
        no_undefined_flag_CXX=' -zdefs'
12749
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12750
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12751
 
        $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'
12752
 
 
12753
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
12754
 
        hardcode_shlibpath_var_CXX=no
12755
 
        case $host_os in
12756
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
12757
 
          *)
12758
 
            # The C++ compiler is used as linker so we must use $wl
12759
 
            # flag to pass the commands to the underlying system
12760
 
            # linker. We must also pass each convience library through
12761
 
            # to the system linker between allextract/defaultextract.
12762
 
            # The C++ compiler will combine linker options so we
12763
 
            # cannot just pass the convience library names through
12764
 
            # without $wl.
12765
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
12766
 
            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'
12767
 
            ;;
12768
 
        esac
12769
 
        link_all_deplibs_CXX=yes
12770
 
 
12771
 
        output_verbose_link_cmd='echo'
12772
 
 
12773
 
        # Archives containing C++ object files must be created using
12774
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12775
 
        # necessary to make sure instantiated templates are included
12776
 
        # in the archive.
12777
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12778
 
        ;;
12779
 
      gcx*)
12780
 
        # Green Hills C++ Compiler
12781
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12782
 
 
12783
 
        # The C++ compiler must be used to create the archive.
12784
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12785
 
        ;;
12786
 
      *)
12787
 
        # GNU C++ compiler with Solaris linker
12788
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12789
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12790
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
12791
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12792
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12793
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12794
 
 
12795
 
            # Commands to make compiler produce verbose output that lists
12796
 
            # what "hidden" libraries, object files and flags are used when
12797
 
            # linking a shared library.
12798
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12799
 
          else
12800
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
12801
 
            # platform.
12802
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12803
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12804
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12805
 
 
12806
 
            # Commands to make compiler produce verbose output that lists
12807
 
            # what "hidden" libraries, object files and flags are used when
12808
 
            # linking a shared library.
12809
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12810
 
          fi
12811
 
 
12812
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12813
 
        fi
12814
 
        ;;
12815
 
    esac
12816
 
    ;;
12817
 
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12818
 
    no_undefined_flag_CXX='${wl}-z,text'
12819
 
    archive_cmds_need_lc_CXX=no
12820
 
    hardcode_shlibpath_var_CXX=no
12821
 
    runpath_var='LD_RUN_PATH'
12822
 
 
12823
 
    case $cc_basename in
12824
 
      CC*)
12825
 
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12826
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12827
 
        ;;
12828
 
      *)
12829
 
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12830
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12831
 
        ;;
12832
 
    esac
12833
 
    ;;
12834
 
  sysv5* | sco3.2v5* | sco5v6*)
12835
 
    # Note: We can NOT use -z defs as we might desire, because we do not
12836
 
    # link with -lc, and that would cause any symbols used from libc to
12837
 
    # always be unresolved, which means just about no library would
12838
 
    # ever link correctly.  If we're not using GNU ld we use -z text
12839
 
    # though, which does catch some bad symbols but isn't as heavy-handed
12840
 
    # as -z defs.
12841
 
    # For security reasons, it is highly recommended that you always
12842
 
    # use absolute paths for naming shared libraries, and exclude the
12843
 
    # DT_RUNPATH tag from executables and libraries.  But doing so
12844
 
    # requires that you compile everything twice, which is a pain.
12845
 
    # So that behaviour is only enabled if SCOABSPATH is set to a
12846
 
    # non-empty value in the environment.  Most likely only useful for
12847
 
    # creating official distributions of packages.
12848
 
    # This is a hack until libtool officially supports absolute path
12849
 
    # names for shared libraries.
12850
 
    no_undefined_flag_CXX='${wl}-z,text'
12851
 
    allow_undefined_flag_CXX='${wl}-z,nodefs'
12852
 
    archive_cmds_need_lc_CXX=no
12853
 
    hardcode_shlibpath_var_CXX=no
12854
 
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12855
 
    hardcode_libdir_separator_CXX=':'
12856
 
    link_all_deplibs_CXX=yes
12857
 
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
12858
 
    runpath_var='LD_RUN_PATH'
12859
 
 
12860
 
    case $cc_basename in
12861
 
      CC*)
12862
 
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12863
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12864
 
        ;;
12865
 
      *)
12866
 
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12867
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12868
 
        ;;
12869
 
    esac
12870
 
    ;;
12871
 
  tandem*)
12872
 
    case $cc_basename in
12873
 
      NCC*)
12874
 
        # NonStop-UX NCC 3.20
12875
 
        # FIXME: insert proper C++ library support
12876
 
        ld_shlibs_CXX=no
12877
 
        ;;
12878
 
      *)
12879
 
        # FIXME: insert proper C++ library support
12880
 
        ld_shlibs_CXX=no
12881
 
        ;;
12882
 
    esac
12883
 
    ;;
12884
 
  vxworks*)
12885
 
    # FIXME: insert proper C++ library support
12886
 
    ld_shlibs_CXX=no
12887
 
    ;;
12888
 
  *)
12889
 
    # FIXME: insert proper C++ library support
12890
 
    ld_shlibs_CXX=no
12891
 
    ;;
12892
 
esac
12893
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12894
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
12895
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
12896
 
 
12897
 
GCC_CXX="$GXX"
12898
 
LD_CXX="$LD"
12899
 
 
12900
 
 
12901
 
cat > conftest.$ac_ext <<EOF
12902
 
class Foo
12903
 
{
12904
 
public:
12905
 
  Foo (void) { a = 0; }
12906
 
private:
12907
 
  int a;
12908
 
};
12909
 
EOF
12910
 
 
12911
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12912
 
  (eval $ac_compile) 2>&5
12913
 
  ac_status=$?
12914
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12915
 
  (exit $ac_status); }; then
12916
 
  # Parse the compiler output and extract the necessary
12917
 
  # objects, libraries and library flags.
12918
 
 
12919
 
  # Sentinel used to keep track of whether or not we are before
12920
 
  # the conftest object file.
12921
 
  pre_test_object_deps_done=no
12922
 
 
12923
 
  # The `*' in the case matches for architectures that use `case' in
12924
 
  # $output_verbose_cmd can trigger glob expansion during the loop
12925
 
  # eval without this substitution.
12926
 
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12927
 
 
12928
 
  for p in `eval $output_verbose_link_cmd`; do
12929
 
    case $p in
12930
 
 
12931
 
    -L* | -R* | -l*)
12932
 
       # Some compilers place space between "-{L,R}" and the path.
12933
 
       # Remove the space.
12934
 
       if test $p = "-L" \
12935
 
          || test $p = "-R"; then
12936
 
         prev=$p
12937
 
         continue
12938
 
       else
12939
 
         prev=
12940
 
       fi
12941
 
 
12942
 
       if test "$pre_test_object_deps_done" = no; then
12943
 
         case $p in
12944
 
         -L* | -R*)
12945
 
           # Internal compiler library paths should come after those
12946
 
           # provided the user.  The postdeps already come after the
12947
 
           # user supplied libs so there is no need to process them.
12948
 
           if test -z "$compiler_lib_search_path_CXX"; then
12949
 
             compiler_lib_search_path_CXX="${prev}${p}"
12950
 
           else
12951
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12952
 
           fi
12953
 
           ;;
12954
 
         # The "-l" case would never come before the object being
12955
 
         # linked, so don't bother handling this case.
12956
 
         esac
12957
 
       else
12958
 
         if test -z "$postdeps_CXX"; then
12959
 
           postdeps_CXX="${prev}${p}"
12960
 
         else
12961
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12962
 
         fi
12963
 
       fi
12964
 
       ;;
12965
 
 
12966
 
    *.$objext)
12967
 
       # This assumes that the test object file only shows up
12968
 
       # once in the compiler output.
12969
 
       if test "$p" = "conftest.$objext"; then
12970
 
         pre_test_object_deps_done=yes
12971
 
         continue
12972
 
       fi
12973
 
 
12974
 
       if test "$pre_test_object_deps_done" = no; then
12975
 
         if test -z "$predep_objects_CXX"; then
12976
 
           predep_objects_CXX="$p"
12977
 
         else
12978
 
           predep_objects_CXX="$predep_objects_CXX $p"
12979
 
         fi
12980
 
       else
12981
 
         if test -z "$postdep_objects_CXX"; then
12982
 
           postdep_objects_CXX="$p"
12983
 
         else
12984
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
12985
 
         fi
12986
 
       fi
12987
 
       ;;
12988
 
 
12989
 
    *) ;; # Ignore the rest.
12990
 
 
12991
 
    esac
12992
 
  done
12993
 
 
12994
 
  # Clean up.
12995
 
  rm -f a.out a.exe
12996
 
else
12997
 
  echo "libtool.m4: error: problem compiling CXX test program"
12998
 
fi
12999
 
 
13000
 
$rm -f confest.$objext
13001
 
 
13002
 
# PORTME: override above test on systems where it is broken
13003
 
case $host_os in
13004
 
interix3*)
13005
 
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
13006
 
  # hack all around it, let's just trust "g++" to DTRT.
13007
 
  predep_objects_CXX=
13008
 
  postdep_objects_CXX=
13009
 
  postdeps_CXX=
13010
 
  ;;
13011
 
 
13012
 
solaris*)
13013
 
  case $cc_basename in
13014
 
  CC*)
13015
 
    # Adding this requires a known-good setup of shared libraries for
13016
 
    # Sun compiler versions before 5.6, else PIC objects from an old
13017
 
    # archive will be linked into the output, leading to subtle bugs.
13018
 
    postdeps_CXX='-lCstd -lCrun'
13019
 
    ;;
13020
 
  esac
13021
 
  ;;
13022
 
esac
13023
 
 
13024
 
 
13025
 
case " $postdeps_CXX " in
13026
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13027
 
esac
13028
 
 
13029
 
lt_prog_compiler_wl_CXX=
13030
 
lt_prog_compiler_pic_CXX=
13031
 
lt_prog_compiler_static_CXX=
13032
 
 
13033
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13034
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13035
 
 
13036
 
  # C++ specific cases for pic, static, wl, etc.
13037
 
  if test "$GXX" = yes; then
13038
 
    lt_prog_compiler_wl_CXX='-Wl,'
13039
 
    lt_prog_compiler_static_CXX='-static'
13040
 
 
13041
 
    case $host_os in
13042
 
    aix*)
13043
 
      # All AIX code is PIC.
13044
 
      if test "$host_cpu" = ia64; then
13045
 
        # AIX 5 now supports IA64 processor
13046
 
        lt_prog_compiler_static_CXX='-Bstatic'
13047
 
      fi
13048
 
      ;;
13049
 
    amigaos*)
13050
 
      # FIXME: we need at least 68020 code to build shared libraries, but
13051
 
      # adding the `-m68020' flag to GCC prevents building anything better,
13052
 
      # like `-m68040'.
13053
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13054
 
      ;;
13055
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13056
 
      # PIC is the default for these OSes.
13057
 
      ;;
13058
 
    mingw* | os2* | pw32*)
13059
 
      # This hack is so that the source file can tell whether it is being
13060
 
      # built for inclusion in a dll (and should export symbols for example).
13061
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13062
 
      ;;
13063
 
    darwin* | rhapsody*)
13064
 
      # PIC is the default on this platform
13065
 
      # Common symbols not allowed in MH_DYLIB files
13066
 
      lt_prog_compiler_pic_CXX='-fno-common'
13067
 
      ;;
13068
 
    *djgpp*)
13069
 
      # DJGPP does not support shared libraries at all
13070
 
      lt_prog_compiler_pic_CXX=
13071
 
      ;;
13072
 
    interix3*)
13073
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13074
 
      # Instead, we relocate shared libraries at runtime.
13075
 
      ;;
13076
 
    sysv4*MP*)
13077
 
      if test -d /usr/nec; then
13078
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
13079
 
      fi
13080
 
      ;;
13081
 
    hpux*)
13082
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13083
 
      # not for PA HP-UX.
13084
 
      case $host_cpu in
13085
 
      hppa*64*|ia64*)
13086
 
        ;;
13087
 
      *)
13088
 
        lt_prog_compiler_pic_CXX='-fPIC'
13089
 
        ;;
13090
 
      esac
13091
 
      ;;
13092
 
    *)
13093
 
      lt_prog_compiler_pic_CXX='-fPIC'
13094
 
      ;;
13095
 
    esac
13096
 
  else
13097
 
    case $host_os in
13098
 
      aix4* | aix5*)
13099
 
        # All AIX code is PIC.
13100
 
        if test "$host_cpu" = ia64; then
13101
 
          # AIX 5 now supports IA64 processor
13102
 
          lt_prog_compiler_static_CXX='-Bstatic'
13103
 
        else
13104
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13105
 
        fi
13106
 
        ;;
13107
 
      chorus*)
13108
 
        case $cc_basename in
13109
 
        cxch68*)
13110
 
          # Green Hills C++ Compiler
13111
 
          # _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"
13112
 
          ;;
13113
 
        esac
13114
 
        ;;
13115
 
       darwin*)
13116
 
         # PIC is the default on this platform
13117
 
         # Common symbols not allowed in MH_DYLIB files
13118
 
         case $cc_basename in
13119
 
           xlc*)
13120
 
           lt_prog_compiler_pic_CXX='-qnocommon'
13121
 
           lt_prog_compiler_wl_CXX='-Wl,'
13122
 
           ;;
13123
 
         esac
13124
 
       ;;
13125
 
      dgux*)
13126
 
        case $cc_basename in
13127
 
          ec++*)
13128
 
            lt_prog_compiler_pic_CXX='-KPIC'
13129
 
            ;;
13130
 
          ghcx*)
13131
 
            # Green Hills C++ Compiler
13132
 
            lt_prog_compiler_pic_CXX='-pic'
13133
 
            ;;
13134
 
          *)
13135
 
            ;;
13136
 
        esac
13137
 
        ;;
13138
 
      freebsd* | kfreebsd*-gnu | dragonfly*)
13139
 
        # FreeBSD uses GNU C++
13140
 
        ;;
13141
 
      hpux9* | hpux10* | hpux11*)
13142
 
        case $cc_basename in
13143
 
          CC*)
13144
 
            lt_prog_compiler_wl_CXX='-Wl,'
13145
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13146
 
            if test "$host_cpu" != ia64; then
13147
 
              lt_prog_compiler_pic_CXX='+Z'
13148
 
            fi
13149
 
            ;;
13150
 
          aCC*)
13151
 
            lt_prog_compiler_wl_CXX='-Wl,'
13152
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13153
 
            case $host_cpu in
13154
 
            hppa*64*|ia64*)
13155
 
              # +Z the default
13156
 
              ;;
13157
 
            *)
13158
 
              lt_prog_compiler_pic_CXX='+Z'
13159
 
              ;;
13160
 
            esac
13161
 
            ;;
13162
 
          *)
13163
 
            ;;
13164
 
        esac
13165
 
        ;;
13166
 
      interix*)
13167
 
        # This is c89, which is MS Visual C++ (no shared libs)
13168
 
        # Anyone wants to do a port?
13169
 
        ;;
13170
 
      irix5* | irix6* | nonstopux*)
13171
 
        case $cc_basename in
13172
 
          CC*)
13173
 
            lt_prog_compiler_wl_CXX='-Wl,'
13174
 
            lt_prog_compiler_static_CXX='-non_shared'
13175
 
            # CC pic flag -KPIC is the default.
13176
 
            ;;
13177
 
          *)
13178
 
            ;;
13179
 
        esac
13180
 
        ;;
13181
 
      linux*)
13182
 
        case $cc_basename in
13183
 
          KCC*)
13184
 
            # KAI C++ Compiler
13185
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
13186
 
            lt_prog_compiler_pic_CXX='-fPIC'
13187
 
            ;;
13188
 
          icpc* | ecpc*)
13189
 
            # Intel C++
13190
 
            lt_prog_compiler_wl_CXX='-Wl,'
13191
 
            lt_prog_compiler_pic_CXX='-KPIC'
13192
 
            lt_prog_compiler_static_CXX='-static'
13193
 
            ;;
13194
 
          pgCC*)
13195
 
            # Portland Group C++ compiler.
13196
 
            lt_prog_compiler_wl_CXX='-Wl,'
13197
 
            lt_prog_compiler_pic_CXX='-fpic'
13198
 
            lt_prog_compiler_static_CXX='-Bstatic'
13199
 
            ;;
13200
 
          cxx*)
13201
 
            # Compaq C++
13202
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
13203
 
            # Linux and Compaq Tru64 Unix objects are PIC.
13204
 
            lt_prog_compiler_pic_CXX=
13205
 
            lt_prog_compiler_static_CXX='-non_shared'
13206
 
            ;;
13207
 
          *)
13208
 
            ;;
13209
 
        esac
13210
 
        ;;
13211
 
      lynxos*)
13212
 
        ;;
13213
 
      m88k*)
13214
 
        ;;
13215
 
      mvs*)
13216
 
        case $cc_basename in
13217
 
          cxx*)
13218
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
13219
 
            ;;
13220
 
          *)
13221
 
            ;;
13222
 
        esac
13223
 
        ;;
13224
 
      netbsd*)
13225
 
        ;;
13226
 
      osf3* | osf4* | osf5*)
13227
 
        case $cc_basename in
13228
 
          KCC*)
13229
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
13230
 
            ;;
13231
 
          RCC*)
13232
 
            # Rational C++ 2.4.1
13233
 
            lt_prog_compiler_pic_CXX='-pic'
13234
 
            ;;
13235
 
          cxx*)
13236
 
            # Digital/Compaq C++
13237
 
            lt_prog_compiler_wl_CXX='-Wl,'
13238
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
13239
 
            # Linux and Compaq Tru64 Unix objects are PIC.
13240
 
            lt_prog_compiler_pic_CXX=
13241
 
            lt_prog_compiler_static_CXX='-non_shared'
13242
 
            ;;
13243
 
          *)
13244
 
            ;;
13245
 
        esac
13246
 
        ;;
13247
 
      psos*)
13248
 
        ;;
13249
 
      solaris*)
13250
 
        case $cc_basename in
13251
 
          CC*)
13252
 
            # Sun C++ 4.2, 5.x and Centerline C++
13253
 
            lt_prog_compiler_pic_CXX='-KPIC'
13254
 
            lt_prog_compiler_static_CXX='-Bstatic'
13255
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
13256
 
            ;;
13257
 
          gcx*)
13258
 
            # Green Hills C++ Compiler
13259
 
            lt_prog_compiler_pic_CXX='-PIC'
13260
 
            ;;
13261
 
          *)
13262
 
            ;;
13263
 
        esac
13264
 
        ;;
13265
 
      sunos4*)
13266
 
        case $cc_basename in
13267
 
          CC*)
13268
 
            # Sun C++ 4.x
13269
 
            lt_prog_compiler_pic_CXX='-pic'
13270
 
            lt_prog_compiler_static_CXX='-Bstatic'
13271
 
            ;;
13272
 
          lcc*)
13273
 
            # Lucid
13274
 
            lt_prog_compiler_pic_CXX='-pic'
13275
 
            ;;
13276
 
          *)
13277
 
            ;;
13278
 
        esac
13279
 
        ;;
13280
 
      tandem*)
13281
 
        case $cc_basename in
13282
 
          NCC*)
13283
 
            # NonStop-UX NCC 3.20
13284
 
            lt_prog_compiler_pic_CXX='-KPIC'
13285
 
            ;;
13286
 
          *)
13287
 
            ;;
13288
 
        esac
13289
 
        ;;
13290
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13291
 
        case $cc_basename in
13292
 
          CC*)
13293
 
            lt_prog_compiler_wl_CXX='-Wl,'
13294
 
            lt_prog_compiler_pic_CXX='-KPIC'
13295
 
            lt_prog_compiler_static_CXX='-Bstatic'
13296
 
            ;;
13297
 
        esac
13298
 
        ;;
13299
 
      vxworks*)
13300
 
        ;;
13301
 
      *)
13302
 
        lt_prog_compiler_can_build_shared_CXX=no
13303
 
        ;;
13304
 
    esac
13305
 
  fi
13306
 
 
13307
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13308
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
13309
 
 
13310
 
#
13311
 
# Check to make sure the PIC flag actually works.
13312
 
#
13313
 
if test -n "$lt_prog_compiler_pic_CXX"; then
13314
 
 
13315
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13316
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
13317
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
13318
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13319
 
else
13320
 
  lt_prog_compiler_pic_works_CXX=no
13321
 
  ac_outfile=conftest.$ac_objext
13322
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13323
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13324
 
   # Insert the option either (1) after the last *FLAGS variable, or
13325
 
   # (2) before a word containing "conftest.", or (3) at the end.
13326
 
   # Note that $ac_compile itself does not contain backslashes and begins
13327
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13328
 
   # The option is referenced via a variable to avoid confusing sed.
13329
 
   lt_compile=`echo "$ac_compile" | $SED \
13330
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13331
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13332
 
   -e 's:$: $lt_compiler_flag:'`
13333
 
   (eval echo "\"\$as_me:13333: $lt_compile\"" >&5)
13334
 
   (eval "$lt_compile" 2>conftest.err)
13335
 
   ac_status=$?
13336
 
   cat conftest.err >&5
13337
 
   echo "$as_me:13337: \$? = $ac_status" >&5
13338
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
13339
 
     # The compiler can only warn and ignore the option if not recognized
13340
 
     # So say no if there are warnings other than the usual output.
13341
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13342
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13343
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13344
 
       lt_prog_compiler_pic_works_CXX=yes
13345
 
     fi
13346
 
   fi
13347
 
   $rm conftest*
13348
 
 
13349
 
fi
13350
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
13351
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
13352
 
 
13353
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
13354
 
    case $lt_prog_compiler_pic_CXX in
13355
 
     "" | " "*) ;;
13356
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13357
 
     esac
13358
 
else
13359
 
    lt_prog_compiler_pic_CXX=
13360
 
     lt_prog_compiler_can_build_shared_CXX=no
13361
 
fi
13362
 
 
13363
 
fi
13364
 
case $host_os in
13365
 
  # For platforms which do not support PIC, -DPIC is meaningless:
13366
 
  *djgpp*)
13367
 
    lt_prog_compiler_pic_CXX=
13368
 
    ;;
13369
 
  *)
13370
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13371
 
    ;;
13372
 
esac
13373
 
 
13374
 
#
13375
 
# Check to make sure the static flag actually works.
13376
 
#
13377
 
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13378
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13379
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13380
 
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
13381
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13382
 
else
13383
 
  lt_prog_compiler_static_works_CXX=no
13384
 
   save_LDFLAGS="$LDFLAGS"
13385
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13386
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
13387
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13388
 
     # The linker can only warn and ignore the option if not recognized
13389
 
     # So say no if there are warnings
13390
 
     if test -s conftest.err; then
13391
 
       # Append any errors to the config.log.
13392
 
       cat conftest.err 1>&5
13393
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13394
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13395
 
       if diff conftest.exp conftest.er2 >/dev/null; then
13396
 
         lt_prog_compiler_static_works_CXX=yes
13397
 
       fi
13398
 
     else
13399
 
       lt_prog_compiler_static_works_CXX=yes
13400
 
     fi
13401
 
   fi
13402
 
   $rm conftest*
13403
 
   LDFLAGS="$save_LDFLAGS"
13404
 
 
13405
 
fi
13406
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
13407
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
13408
 
 
13409
 
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
13410
 
    :
13411
 
else
13412
 
    lt_prog_compiler_static_CXX=
13413
 
fi
13414
 
 
13415
 
 
13416
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13417
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13418
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13419
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13420
 
else
13421
 
  lt_cv_prog_compiler_c_o_CXX=no
13422
 
   $rm -r conftest 2>/dev/null
13423
 
   mkdir conftest
13424
 
   cd conftest
13425
 
   mkdir out
13426
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13427
 
 
13428
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
13429
 
   # Insert the option either (1) after the last *FLAGS variable, or
13430
 
   # (2) before a word containing "conftest.", or (3) at the end.
13431
 
   # Note that $ac_compile itself does not contain backslashes and begins
13432
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13433
 
   lt_compile=`echo "$ac_compile" | $SED \
13434
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13435
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13436
 
   -e 's:$: $lt_compiler_flag:'`
13437
 
   (eval echo "\"\$as_me:13437: $lt_compile\"" >&5)
13438
 
   (eval "$lt_compile" 2>out/conftest.err)
13439
 
   ac_status=$?
13440
 
   cat out/conftest.err >&5
13441
 
   echo "$as_me:13441: \$? = $ac_status" >&5
13442
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13443
 
   then
13444
 
     # The compiler can only warn and ignore the option if not recognized
13445
 
     # So say no if there are warnings
13446
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13447
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13448
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13449
 
       lt_cv_prog_compiler_c_o_CXX=yes
13450
 
     fi
13451
 
   fi
13452
 
   chmod u+w . 2>&5
13453
 
   $rm conftest*
13454
 
   # SGI C++ compiler will create directory out/ii_files/ for
13455
 
   # template instantiation
13456
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
13457
 
   $rm out/* && rmdir out
13458
 
   cd ..
13459
 
   rmdir conftest
13460
 
   $rm conftest*
13461
 
 
13462
 
fi
13463
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13464
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
13465
 
 
13466
 
 
13467
 
hard_links="nottested"
13468
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13469
 
  # do not overwrite the value of need_locks provided by the user
13470
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13471
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13472
 
  hard_links=yes
13473
 
  $rm conftest*
13474
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13475
 
  touch conftest.a
13476
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
13477
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13478
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
13479
 
echo "${ECHO_T}$hard_links" >&6
13480
 
  if test "$hard_links" = no; then
13481
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13482
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13483
 
    need_locks=warn
13484
 
  fi
13485
 
else
13486
 
  need_locks=no
13487
 
fi
13488
 
 
13489
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13490
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13491
 
 
13492
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13493
 
  case $host_os in
13494
 
  aix4* | aix5*)
13495
 
    # If we're using GNU nm, then we don't want the "-C" option.
13496
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
13497
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13498
 
      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'
13499
 
    else
13500
 
      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'
13501
 
    fi
13502
 
    ;;
13503
 
  pw32*)
13504
 
    export_symbols_cmds_CXX="$ltdll_cmds"
13505
 
  ;;
13506
 
  cygwin* | mingw*)
13507
 
    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'
13508
 
  ;;
13509
 
  *)
13510
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13511
 
  ;;
13512
 
  esac
13513
 
 
13514
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13515
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
13516
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
13517
 
 
13518
 
#
13519
 
# Do we need to explicitly link libc?
13520
 
#
13521
 
case "x$archive_cmds_need_lc_CXX" in
13522
 
x|xyes)
13523
 
  # Assume -lc should be added
13524
 
  archive_cmds_need_lc_CXX=yes
13525
 
 
13526
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
13527
 
    case $archive_cmds_CXX in
13528
 
    *'~'*)
13529
 
      # FIXME: we may have to deal with multi-command sequences.
13530
 
      ;;
13531
 
    '$CC '*)
13532
 
      # Test whether the compiler implicitly links with -lc since on some
13533
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
13534
 
      # to ld, don't add -lc before -lgcc.
13535
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13536
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13537
 
      $rm conftest*
13538
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13539
 
 
13540
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13541
 
  (eval $ac_compile) 2>&5
13542
 
  ac_status=$?
13543
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13544
 
  (exit $ac_status); } 2>conftest.err; then
13545
 
        soname=conftest
13546
 
        lib=conftest
13547
 
        libobjs=conftest.$ac_objext
13548
 
        deplibs=
13549
 
        wl=$lt_prog_compiler_wl_CXX
13550
 
        pic_flag=$lt_prog_compiler_pic_CXX
13551
 
        compiler_flags=-v
13552
 
        linker_flags=-v
13553
 
        verstring=
13554
 
        output_objdir=.
13555
 
        libname=conftest
13556
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13557
 
        allow_undefined_flag_CXX=
13558
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13559
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13560
 
  ac_status=$?
13561
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13562
 
  (exit $ac_status); }
13563
 
        then
13564
 
          archive_cmds_need_lc_CXX=no
13565
 
        else
13566
 
          archive_cmds_need_lc_CXX=yes
13567
 
        fi
13568
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13569
 
      else
13570
 
        cat conftest.err 1>&5
13571
 
      fi
13572
 
      $rm conftest*
13573
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13574
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
13575
 
      ;;
13576
 
    esac
13577
 
  fi
13578
 
  ;;
13579
 
esac
13580
 
 
13581
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13582
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13583
 
library_names_spec=
13584
 
libname_spec='lib$name'
13585
 
soname_spec=
13586
 
shrext_cmds=".so"
13587
 
postinstall_cmds=
13588
 
postuninstall_cmds=
13589
 
finish_cmds=
13590
 
finish_eval=
13591
 
shlibpath_var=
13592
 
shlibpath_overrides_runpath=unknown
13593
 
version_type=none
13594
 
dynamic_linker="$host_os ld.so"
13595
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
13596
 
if test "$GCC" = yes; then
13597
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13598
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
13599
 
    # if the path contains ";" then we assume it to be the separator
13600
 
    # otherwise default to the standard path separator (i.e. ":") - it is
13601
 
    # assumed that no part of a normal pathname contains ";" but that should
13602
 
    # okay in the real world where ";" in dirpaths is itself problematic.
13603
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13604
 
  else
13605
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13606
 
  fi
13607
 
else
13608
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13609
 
fi
13610
 
need_lib_prefix=unknown
13611
 
hardcode_into_libs=no
13612
 
 
13613
 
# when you set need_version to no, make sure it does not cause -set_version
13614
 
# flags to be left without arguments
13615
 
need_version=unknown
13616
 
 
13617
 
case $host_os in
13618
 
aix3*)
13619
 
  version_type=linux
13620
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13621
 
  shlibpath_var=LIBPATH
13622
 
 
13623
 
  # AIX 3 has no versioning support, so we append a major version to the name.
13624
 
  soname_spec='${libname}${release}${shared_ext}$major'
13625
 
  ;;
13626
 
 
13627
 
aix4* | aix5*)
13628
 
  version_type=linux
13629
 
  need_lib_prefix=no
13630
 
  need_version=no
13631
 
  hardcode_into_libs=yes
13632
 
  if test "$host_cpu" = ia64; then
13633
 
    # AIX 5 supports IA64
13634
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13635
 
    shlibpath_var=LD_LIBRARY_PATH
13636
 
  else
13637
 
    # With GCC up to 2.95.x, collect2 would create an import file
13638
 
    # for dependence libraries.  The import file would start with
13639
 
    # the line `#! .'.  This would cause the generated library to
13640
 
    # depend on `.', always an invalid library.  This was fixed in
13641
 
    # development snapshots of GCC prior to 3.0.
13642
 
    case $host_os in
13643
 
      aix4 | aix4.[01] | aix4.[01].*)
13644
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13645
 
           echo ' yes '
13646
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
13647
 
        :
13648
 
      else
13649
 
        can_build_shared=no
13650
 
      fi
13651
 
      ;;
13652
 
    esac
13653
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13654
 
    # soname into executable. Probably we can add versioning support to
13655
 
    # collect2, so additional links can be useful in future.
13656
 
    if test "$aix_use_runtimelinking" = yes; then
13657
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13658
 
      # instead of lib<name>.a to let people know that these are not
13659
 
      # typical AIX shared libraries.
13660
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13661
 
    else
13662
 
      # We preserve .a as extension for shared libraries through AIX4.2
13663
 
      # and later when we are not doing run time linking.
13664
 
      library_names_spec='${libname}${release}.a $libname.a'
13665
 
      soname_spec='${libname}${release}${shared_ext}$major'
13666
 
    fi
13667
 
    shlibpath_var=LIBPATH
13668
 
  fi
13669
 
  ;;
13670
 
 
13671
 
amigaos*)
13672
 
  library_names_spec='$libname.ixlibrary $libname.a'
13673
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
13674
 
  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'
13675
 
  ;;
13676
 
 
13677
 
beos*)
13678
 
  library_names_spec='${libname}${shared_ext}'
13679
 
  dynamic_linker="$host_os ld.so"
13680
 
  shlibpath_var=LIBRARY_PATH
13681
 
  ;;
13682
 
 
13683
 
bsdi[45]*)
13684
 
  version_type=linux
13685
 
  need_version=no
13686
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13687
 
  soname_spec='${libname}${release}${shared_ext}$major'
13688
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13689
 
  shlibpath_var=LD_LIBRARY_PATH
13690
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13691
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13692
 
  # the default ld.so.conf also contains /usr/contrib/lib and
13693
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13694
 
  # libtool to hard-code these into programs
13695
 
  ;;
13696
 
 
13697
 
cygwin* | mingw* | pw32*)
13698
 
  version_type=windows
13699
 
  shrext_cmds=".dll"
13700
 
  need_version=no
13701
 
  need_lib_prefix=no
13702
 
 
13703
 
  case $GCC,$host_os in
13704
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
13705
 
    library_names_spec='$libname.dll.a'
13706
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
13707
 
    postinstall_cmds='base_file=`basename \${file}`~
13708
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13709
 
      dldir=$destdir/`dirname \$dlpath`~
13710
 
      test -d \$dldir || mkdir -p \$dldir~
13711
 
      $install_prog $dir/$dlname \$dldir/$dlname~
13712
 
      chmod a+x \$dldir/$dlname'
13713
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13714
 
      dlpath=$dir/\$dldll~
13715
 
       $rm \$dlpath'
13716
 
    shlibpath_overrides_runpath=yes
13717
 
 
13718
 
    case $host_os in
13719
 
    cygwin*)
13720
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13721
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13722
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13723
 
      ;;
13724
 
    mingw*)
13725
 
      # MinGW DLLs use traditional 'lib' prefix
13726
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13727
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13728
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
13729
 
        # It is most probably a Windows format PATH printed by
13730
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
13731
 
        # path with ; separators, and with drive letters. We can handle the
13732
 
        # drive letters (cygwin fileutils understands them), so leave them,
13733
 
        # especially as we might pass files found there to a mingw objdump,
13734
 
        # which wouldn't understand a cygwinified path. Ahh.
13735
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13736
 
      else
13737
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13738
 
      fi
13739
 
      ;;
13740
 
    pw32*)
13741
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
13742
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13743
 
      ;;
13744
 
    esac
13745
 
    ;;
13746
 
 
13747
 
  *)
13748
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13749
 
    ;;
13750
 
  esac
13751
 
  dynamic_linker='Win32 ld.exe'
13752
 
  # FIXME: first we should search . and the directory the executable is in
13753
 
  shlibpath_var=PATH
13754
 
  ;;
13755
 
 
13756
 
darwin* | rhapsody*)
13757
 
  dynamic_linker="$host_os dyld"
13758
 
  version_type=darwin
13759
 
  need_lib_prefix=no
13760
 
  need_version=no
13761
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13762
 
  soname_spec='${libname}${release}${major}$shared_ext'
13763
 
  shlibpath_overrides_runpath=yes
13764
 
  shlibpath_var=DYLD_LIBRARY_PATH
13765
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13766
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
13767
 
  if test "$GCC" = yes; then
13768
 
    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"`
13769
 
  else
13770
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
13771
 
  fi
13772
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13773
 
  ;;
13774
 
 
13775
 
dgux*)
13776
 
  version_type=linux
13777
 
  need_lib_prefix=no
13778
 
  need_version=no
13779
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13780
 
  soname_spec='${libname}${release}${shared_ext}$major'
13781
 
  shlibpath_var=LD_LIBRARY_PATH
13782
 
  ;;
13783
 
 
13784
 
freebsd1*)
13785
 
  dynamic_linker=no
13786
 
  ;;
13787
 
 
13788
 
kfreebsd*-gnu)
13789
 
  version_type=linux
13790
 
  need_lib_prefix=no
13791
 
  need_version=no
13792
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13793
 
  soname_spec='${libname}${release}${shared_ext}$major'
13794
 
  shlibpath_var=LD_LIBRARY_PATH
13795
 
  shlibpath_overrides_runpath=no
13796
 
  hardcode_into_libs=yes
13797
 
  dynamic_linker='GNU ld.so'
13798
 
  ;;
13799
 
 
13800
 
freebsd* | dragonfly*)
13801
 
  # DragonFly does not have aout.  When/if they implement a new
13802
 
  # versioning mechanism, adjust this.
13803
 
  if test -x /usr/bin/objformat; then
13804
 
    objformat=`/usr/bin/objformat`
13805
 
  else
13806
 
    case $host_os in
13807
 
    freebsd[123]*) objformat=aout ;;
13808
 
    *) objformat=elf ;;
13809
 
    esac
13810
 
  fi
13811
 
  version_type=freebsd-$objformat
13812
 
  case $version_type in
13813
 
    freebsd-elf*)
13814
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13815
 
      need_version=no
13816
 
      need_lib_prefix=no
13817
 
      ;;
13818
 
    freebsd-*)
13819
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13820
 
      need_version=yes
13821
 
      ;;
13822
 
  esac
13823
 
  shlibpath_var=LD_LIBRARY_PATH
13824
 
  case $host_os in
13825
 
  freebsd2*)
13826
 
    shlibpath_overrides_runpath=yes
13827
 
    ;;
13828
 
  freebsd3.[01]* | freebsdelf3.[01]*)
13829
 
    shlibpath_overrides_runpath=yes
13830
 
    hardcode_into_libs=yes
13831
 
    ;;
13832
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13833
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13834
 
    shlibpath_overrides_runpath=no
13835
 
    hardcode_into_libs=yes
13836
 
    ;;
13837
 
  freebsd*) # from 4.6 on
13838
 
    shlibpath_overrides_runpath=yes
13839
 
    hardcode_into_libs=yes
13840
 
    ;;
13841
 
  esac
13842
 
  ;;
13843
 
 
13844
 
gnu*)
13845
 
  version_type=linux
13846
 
  need_lib_prefix=no
13847
 
  need_version=no
13848
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13849
 
  soname_spec='${libname}${release}${shared_ext}$major'
13850
 
  shlibpath_var=LD_LIBRARY_PATH
13851
 
  hardcode_into_libs=yes
13852
 
  ;;
13853
 
 
13854
 
hpux9* | hpux10* | hpux11*)
13855
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
13856
 
  # link against other versions.
13857
 
  version_type=sunos
13858
 
  need_lib_prefix=no
13859
 
  need_version=no
13860
 
  case $host_cpu in
13861
 
  ia64*)
13862
 
    shrext_cmds='.so'
13863
 
    hardcode_into_libs=yes
13864
 
    dynamic_linker="$host_os dld.so"
13865
 
    shlibpath_var=LD_LIBRARY_PATH
13866
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13867
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13868
 
    soname_spec='${libname}${release}${shared_ext}$major'
13869
 
    if test "X$HPUX_IA64_MODE" = X32; then
13870
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13871
 
    else
13872
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13873
 
    fi
13874
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13875
 
    ;;
13876
 
   hppa*64*)
13877
 
     shrext_cmds='.sl'
13878
 
     hardcode_into_libs=yes
13879
 
     dynamic_linker="$host_os dld.sl"
13880
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13881
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13882
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13883
 
     soname_spec='${libname}${release}${shared_ext}$major'
13884
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13885
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13886
 
     ;;
13887
 
   *)
13888
 
    shrext_cmds='.sl'
13889
 
    dynamic_linker="$host_os dld.sl"
13890
 
    shlibpath_var=SHLIB_PATH
13891
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13892
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13893
 
    soname_spec='${libname}${release}${shared_ext}$major'
13894
 
    ;;
13895
 
  esac
13896
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
13897
 
  postinstall_cmds='chmod 555 $lib'
13898
 
  ;;
13899
 
 
13900
 
interix3*)
13901
 
  version_type=linux
13902
 
  need_lib_prefix=no
13903
 
  need_version=no
13904
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13905
 
  soname_spec='${libname}${release}${shared_ext}$major'
13906
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13907
 
  shlibpath_var=LD_LIBRARY_PATH
13908
 
  shlibpath_overrides_runpath=no
13909
 
  hardcode_into_libs=yes
13910
 
  ;;
13911
 
 
13912
 
irix5* | irix6* | nonstopux*)
13913
 
  case $host_os in
13914
 
    nonstopux*) version_type=nonstopux ;;
13915
 
    *)
13916
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
13917
 
                version_type=linux
13918
 
        else
13919
 
                version_type=irix
13920
 
        fi ;;
13921
 
  esac
13922
 
  need_lib_prefix=no
13923
 
  need_version=no
13924
 
  soname_spec='${libname}${release}${shared_ext}$major'
13925
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13926
 
  case $host_os in
13927
 
  irix5* | nonstopux*)
13928
 
    libsuff= shlibsuff=
13929
 
    ;;
13930
 
  *)
13931
 
    case $LD in # libtool.m4 will add one of these switches to LD
13932
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13933
 
      libsuff= shlibsuff= libmagic=32-bit;;
13934
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13935
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
13936
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13937
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
13938
 
    *) libsuff= shlibsuff= libmagic=never-match;;
13939
 
    esac
13940
 
    ;;
13941
 
  esac
13942
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13943
 
  shlibpath_overrides_runpath=no
13944
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13945
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13946
 
  hardcode_into_libs=yes
13947
 
  ;;
13948
 
 
13949
 
# No shared lib support for Linux oldld, aout, or coff.
13950
 
linux*oldld* | linux*aout* | linux*coff*)
13951
 
  dynamic_linker=no
13952
 
  ;;
13953
 
 
13954
 
# This must be Linux ELF.
13955
 
linux*)
13956
 
  version_type=linux
13957
 
  need_lib_prefix=no
13958
 
  need_version=no
13959
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13960
 
  soname_spec='${libname}${release}${shared_ext}$major'
13961
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13962
 
  shlibpath_var=LD_LIBRARY_PATH
13963
 
  shlibpath_overrides_runpath=no
13964
 
  # This implies no fast_install, which is unacceptable.
13965
 
  # Some rework will be needed to allow for fast_install
13966
 
  # before this can be enabled.
13967
 
  hardcode_into_libs=yes
13968
 
 
13969
 
  # find out which ABI we are using
13970
 
  libsuff=
13971
 
  case "$host_cpu" in
13972
 
  x86_64*|s390x*|powerpc64*)
13973
 
    echo '#line 13973 "configure"' > conftest.$ac_ext
13974
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13975
 
  (eval $ac_compile) 2>&5
13976
 
  ac_status=$?
13977
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13978
 
  (exit $ac_status); }; then
13979
 
      case `/usr/bin/file conftest.$ac_objext` in
13980
 
      *64-bit*)
13981
 
        libsuff=64
13982
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
13983
 
        ;;
13984
 
      esac
13985
 
    fi
13986
 
    rm -rf conftest*
13987
 
    ;;
13988
 
  esac
13989
 
 
13990
 
  # Append ld.so.conf contents to the search path
13991
 
  if test -f /etc/ld.so.conf; then
13992
 
    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' ' '`
13993
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
13994
 
  fi
13995
 
 
13996
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
13997
 
  # powerpc, because MkLinux only supported shared libraries with the
13998
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
13999
 
  # most powerpc-linux boxes support dynamic linking these days and
14000
 
  # people can always --disable-shared, the test was removed, and we
14001
 
  # assume the GNU/Linux dynamic linker is in use.
14002
 
  dynamic_linker='GNU/Linux ld.so'
14003
 
  ;;
14004
 
 
14005
 
knetbsd*-gnu)
14006
 
  version_type=linux
14007
 
  need_lib_prefix=no
14008
 
  need_version=no
14009
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14010
 
  soname_spec='${libname}${release}${shared_ext}$major'
14011
 
  shlibpath_var=LD_LIBRARY_PATH
14012
 
  shlibpath_overrides_runpath=no
14013
 
  hardcode_into_libs=yes
14014
 
  dynamic_linker='GNU ld.so'
14015
 
  ;;
14016
 
 
14017
 
netbsd*)
14018
 
  version_type=sunos
14019
 
  need_lib_prefix=no
14020
 
  need_version=no
14021
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14022
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14023
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14024
 
    dynamic_linker='NetBSD (a.out) ld.so'
14025
 
  else
14026
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14027
 
    soname_spec='${libname}${release}${shared_ext}$major'
14028
 
    dynamic_linker='NetBSD ld.elf_so'
14029
 
  fi
14030
 
  shlibpath_var=LD_LIBRARY_PATH
14031
 
  shlibpath_overrides_runpath=yes
14032
 
  hardcode_into_libs=yes
14033
 
  ;;
14034
 
 
14035
 
newsos6)
14036
 
  version_type=linux
14037
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14038
 
  shlibpath_var=LD_LIBRARY_PATH
14039
 
  shlibpath_overrides_runpath=yes
14040
 
  ;;
14041
 
 
14042
 
nto-qnx*)
14043
 
  version_type=linux
14044
 
  need_lib_prefix=no
14045
 
  need_version=no
14046
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14047
 
  soname_spec='${libname}${release}${shared_ext}$major'
14048
 
  shlibpath_var=LD_LIBRARY_PATH
14049
 
  shlibpath_overrides_runpath=yes
14050
 
  ;;
14051
 
 
14052
 
openbsd*)
14053
 
  version_type=sunos
14054
 
  sys_lib_dlsearch_path_spec="/usr/lib"
14055
 
  need_lib_prefix=no
14056
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14057
 
  case $host_os in
14058
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14059
 
    *)                         need_version=no  ;;
14060
 
  esac
14061
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14062
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14063
 
  shlibpath_var=LD_LIBRARY_PATH
14064
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14065
 
    case $host_os in
14066
 
      openbsd2.[89] | openbsd2.[89].*)
14067
 
        shlibpath_overrides_runpath=no
14068
 
        ;;
14069
 
      *)
14070
 
        shlibpath_overrides_runpath=yes
14071
 
        ;;
14072
 
      esac
14073
 
  else
14074
 
    shlibpath_overrides_runpath=yes
14075
 
  fi
14076
 
  ;;
14077
 
 
14078
 
os2*)
14079
 
  libname_spec='$name'
14080
 
  shrext_cmds=".dll"
14081
 
  need_lib_prefix=no
14082
 
  library_names_spec='$libname${shared_ext} $libname.a'
14083
 
  dynamic_linker='OS/2 ld.exe'
14084
 
  shlibpath_var=LIBPATH
14085
 
  ;;
14086
 
 
14087
 
osf3* | osf4* | osf5*)
14088
 
  version_type=osf
14089
 
  need_lib_prefix=no
14090
 
  need_version=no
14091
 
  soname_spec='${libname}${release}${shared_ext}$major'
14092
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14093
 
  shlibpath_var=LD_LIBRARY_PATH
14094
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14095
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14096
 
  ;;
14097
 
 
14098
 
solaris*)
14099
 
  version_type=linux
14100
 
  need_lib_prefix=no
14101
 
  need_version=no
14102
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14103
 
  soname_spec='${libname}${release}${shared_ext}$major'
14104
 
  shlibpath_var=LD_LIBRARY_PATH
14105
 
  shlibpath_overrides_runpath=yes
14106
 
  hardcode_into_libs=yes
14107
 
  # ldd complains unless libraries are executable
14108
 
  postinstall_cmds='chmod +x $lib'
14109
 
  ;;
14110
 
 
14111
 
sunos4*)
14112
 
  version_type=sunos
14113
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14114
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14115
 
  shlibpath_var=LD_LIBRARY_PATH
14116
 
  shlibpath_overrides_runpath=yes
14117
 
  if test "$with_gnu_ld" = yes; then
14118
 
    need_lib_prefix=no
14119
 
  fi
14120
 
  need_version=yes
14121
 
  ;;
14122
 
 
14123
 
sysv4 | sysv4.3*)
14124
 
  version_type=linux
14125
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14126
 
  soname_spec='${libname}${release}${shared_ext}$major'
14127
 
  shlibpath_var=LD_LIBRARY_PATH
14128
 
  case $host_vendor in
14129
 
    sni)
14130
 
      shlibpath_overrides_runpath=no
14131
 
      need_lib_prefix=no
14132
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
14133
 
      runpath_var=LD_RUN_PATH
14134
 
      ;;
14135
 
    siemens)
14136
 
      need_lib_prefix=no
14137
 
      ;;
14138
 
    motorola)
14139
 
      need_lib_prefix=no
14140
 
      need_version=no
14141
 
      shlibpath_overrides_runpath=no
14142
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14143
 
      ;;
14144
 
  esac
14145
 
  ;;
14146
 
 
14147
 
sysv4*MP*)
14148
 
  if test -d /usr/nec ;then
14149
 
    version_type=linux
14150
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14151
 
    soname_spec='$libname${shared_ext}.$major'
14152
 
    shlibpath_var=LD_LIBRARY_PATH
14153
 
  fi
14154
 
  ;;
14155
 
 
14156
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14157
 
  version_type=freebsd-elf
14158
 
  need_lib_prefix=no
14159
 
  need_version=no
14160
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14161
 
  soname_spec='${libname}${release}${shared_ext}$major'
14162
 
  shlibpath_var=LD_LIBRARY_PATH
14163
 
  hardcode_into_libs=yes
14164
 
  if test "$with_gnu_ld" = yes; then
14165
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14166
 
    shlibpath_overrides_runpath=no
14167
 
  else
14168
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14169
 
    shlibpath_overrides_runpath=yes
14170
 
    case $host_os in
14171
 
      sco3.2v5*)
14172
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14173
 
        ;;
14174
 
    esac
14175
 
  fi
14176
 
  sys_lib_dlsearch_path_spec='/usr/lib'
14177
 
  ;;
14178
 
 
14179
 
uts4*)
14180
 
  version_type=linux
14181
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14182
 
  soname_spec='${libname}${release}${shared_ext}$major'
14183
 
  shlibpath_var=LD_LIBRARY_PATH
14184
 
  ;;
14185
 
 
14186
 
*)
14187
 
  dynamic_linker=no
14188
 
  ;;
14189
 
esac
14190
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14191
 
echo "${ECHO_T}$dynamic_linker" >&6
14192
 
test "$dynamic_linker" = no && can_build_shared=no
14193
 
 
14194
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14195
 
if test "$GCC" = yes; then
14196
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14197
 
fi
14198
 
 
14199
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14200
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14201
 
hardcode_action_CXX=
14202
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
14203
 
   test -n "$runpath_var_CXX" || \
14204
 
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
14205
 
 
14206
 
  # We can hardcode non-existant directories.
14207
 
  if test "$hardcode_direct_CXX" != no &&
14208
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
14209
 
     # have to relink, otherwise we might link with an installed library
14210
 
     # when we should be linking with a yet-to-be-installed one
14211
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14212
 
     test "$hardcode_minus_L_CXX" != no; then
14213
 
    # Linking always hardcodes the temporary library directory.
14214
 
    hardcode_action_CXX=relink
14215
 
  else
14216
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
14217
 
    hardcode_action_CXX=immediate
14218
 
  fi
14219
 
else
14220
 
  # We cannot hardcode anything, or else we can only hardcode existing
14221
 
  # directories.
14222
 
  hardcode_action_CXX=unsupported
14223
 
fi
14224
 
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14225
 
echo "${ECHO_T}$hardcode_action_CXX" >&6
14226
 
 
14227
 
if test "$hardcode_action_CXX" = relink; then
14228
 
  # Fast installation is not supported
14229
 
  enable_fast_install=no
14230
 
elif test "$shlibpath_overrides_runpath" = yes ||
14231
 
     test "$enable_shared" = no; then
14232
 
  # Fast installation is not necessary
14233
 
  enable_fast_install=needless
14234
 
fi
14235
 
 
14236
 
 
14237
 
# The else clause should only fire when bootstrapping the
14238
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
14239
 
# with your package, and you will get complaints that there are
14240
 
# no rules to generate ltmain.sh.
14241
 
if test -f "$ltmain"; then
14242
 
  # See if we are running on zsh, and set the options which allow our commands through
14243
 
  # without removal of \ escapes.
14244
 
  if test -n "${ZSH_VERSION+set}" ; then
14245
 
    setopt NO_GLOB_SUBST
14246
 
  fi
14247
 
  # Now quote all the things that may contain metacharacters while being
14248
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
14249
 
  # variables and quote the copies for generation of the libtool script.
14250
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
14251
 
    SED SHELL STRIP \
14252
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14253
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14254
 
    deplibs_check_method reload_flag reload_cmds need_locks \
14255
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14256
 
    lt_cv_sys_global_symbol_to_c_name_address \
14257
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14258
 
    old_postinstall_cmds old_postuninstall_cmds \
14259
 
    compiler_CXX \
14260
 
    CC_CXX \
14261
 
    LD_CXX \
14262
 
    lt_prog_compiler_wl_CXX \
14263
 
    lt_prog_compiler_pic_CXX \
14264
 
    lt_prog_compiler_static_CXX \
14265
 
    lt_prog_compiler_no_builtin_flag_CXX \
14266
 
    export_dynamic_flag_spec_CXX \
14267
 
    thread_safe_flag_spec_CXX \
14268
 
    whole_archive_flag_spec_CXX \
14269
 
    enable_shared_with_static_runtimes_CXX \
14270
 
    old_archive_cmds_CXX \
14271
 
    old_archive_from_new_cmds_CXX \
14272
 
    predep_objects_CXX \
14273
 
    postdep_objects_CXX \
14274
 
    predeps_CXX \
14275
 
    postdeps_CXX \
14276
 
    compiler_lib_search_path_CXX \
14277
 
    archive_cmds_CXX \
14278
 
    archive_expsym_cmds_CXX \
14279
 
    postinstall_cmds_CXX \
14280
 
    postuninstall_cmds_CXX \
14281
 
    old_archive_from_expsyms_cmds_CXX \
14282
 
    allow_undefined_flag_CXX \
14283
 
    no_undefined_flag_CXX \
14284
 
    export_symbols_cmds_CXX \
14285
 
    hardcode_libdir_flag_spec_CXX \
14286
 
    hardcode_libdir_flag_spec_ld_CXX \
14287
 
    hardcode_libdir_separator_CXX \
14288
 
    hardcode_automatic_CXX \
14289
 
    module_cmds_CXX \
14290
 
    module_expsym_cmds_CXX \
14291
 
    lt_cv_prog_compiler_c_o_CXX \
14292
 
    exclude_expsyms_CXX \
14293
 
    include_expsyms_CXX; do
14294
 
 
14295
 
    case $var in
14296
 
    old_archive_cmds_CXX | \
14297
 
    old_archive_from_new_cmds_CXX | \
14298
 
    archive_cmds_CXX | \
14299
 
    archive_expsym_cmds_CXX | \
14300
 
    module_cmds_CXX | \
14301
 
    module_expsym_cmds_CXX | \
14302
 
    old_archive_from_expsyms_cmds_CXX | \
14303
 
    export_symbols_cmds_CXX | \
14304
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
14305
 
    postinstall_cmds | postuninstall_cmds | \
14306
 
    old_postinstall_cmds | old_postuninstall_cmds | \
14307
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14308
 
      # Double-quote double-evaled strings.
14309
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14310
 
      ;;
14311
 
    *)
14312
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14313
 
      ;;
14314
 
    esac
14315
 
  done
14316
 
 
14317
 
  case $lt_echo in
14318
 
  *'\$0 --fallback-echo"')
14319
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14320
 
    ;;
14321
 
  esac
14322
 
 
14323
 
cfgfile="$ofile"
14324
 
 
14325
 
  cat <<__EOF__ >> "$cfgfile"
14326
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
14327
 
 
14328
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14329
 
 
14330
 
# Shell to use when invoking shell scripts.
14331
 
SHELL=$lt_SHELL
14332
 
 
14333
 
# Whether or not to build shared libraries.
14334
 
build_libtool_libs=$enable_shared
14335
 
 
14336
 
# Whether or not to build static libraries.
14337
 
build_old_libs=$enable_static
14338
 
 
14339
 
# Whether or not to add -lc for building shared libraries.
14340
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
14341
 
 
14342
 
# Whether or not to disallow shared libs when runtime libs are static
14343
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
14344
 
 
14345
 
# Whether or not to optimize for fast installation.
14346
 
fast_install=$enable_fast_install
14347
 
 
14348
 
# The host system.
14349
 
host_alias=$host_alias
14350
 
host=$host
14351
 
host_os=$host_os
14352
 
 
14353
 
# The build system.
14354
 
build_alias=$build_alias
14355
 
build=$build
14356
 
build_os=$build_os
14357
 
 
14358
 
# An echo program that does not interpret backslashes.
14359
 
echo=$lt_echo
14360
 
 
14361
 
# The archiver.
14362
 
AR=$lt_AR
14363
 
AR_FLAGS=$lt_AR_FLAGS
14364
 
 
14365
 
# A C compiler.
14366
 
LTCC=$lt_LTCC
14367
 
 
14368
 
# LTCC compiler flags.
14369
 
LTCFLAGS=$lt_LTCFLAGS
14370
 
 
14371
 
# A language-specific compiler.
14372
 
CC=$lt_compiler_CXX
14373
 
 
14374
 
# Is the compiler the GNU C compiler?
14375
 
with_gcc=$GCC_CXX
14376
 
 
14377
 
# An ERE matcher.
14378
 
EGREP=$lt_EGREP
14379
 
 
14380
 
# The linker used to build libraries.
14381
 
LD=$lt_LD_CXX
14382
 
 
14383
 
# Whether we need hard or soft links.
14384
 
LN_S=$lt_LN_S
14385
 
 
14386
 
# A BSD-compatible nm program.
14387
 
NM=$lt_NM
14388
 
 
14389
 
# A symbol stripping program
14390
 
STRIP=$lt_STRIP
14391
 
 
14392
 
# Used to examine libraries when file_magic_cmd begins "file"
14393
 
MAGIC_CMD=$MAGIC_CMD
14394
 
 
14395
 
# Used on cygwin: DLL creation program.
14396
 
DLLTOOL="$DLLTOOL"
14397
 
 
14398
 
# Used on cygwin: object dumper.
14399
 
OBJDUMP="$OBJDUMP"
14400
 
 
14401
 
# Used on cygwin: assembler.
14402
 
AS="$AS"
14403
 
 
14404
 
# The name of the directory that contains temporary libtool files.
14405
 
objdir=$objdir
14406
 
 
14407
 
# How to create reloadable object files.
14408
 
reload_flag=$lt_reload_flag
14409
 
reload_cmds=$lt_reload_cmds
14410
 
 
14411
 
# How to pass a linker flag through the compiler.
14412
 
wl=$lt_lt_prog_compiler_wl_CXX
14413
 
 
14414
 
# Object file suffix (normally "o").
14415
 
objext="$ac_objext"
14416
 
 
14417
 
# Old archive suffix (normally "a").
14418
 
libext="$libext"
14419
 
 
14420
 
# Shared library suffix (normally ".so").
14421
 
shrext_cmds='$shrext_cmds'
14422
 
 
14423
 
# Executable file suffix (normally "").
14424
 
exeext="$exeext"
14425
 
 
14426
 
# Additional compiler flags for building library objects.
14427
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
14428
 
pic_mode=$pic_mode
14429
 
 
14430
 
# What is the maximum length of a command?
14431
 
max_cmd_len=$lt_cv_sys_max_cmd_len
14432
 
 
14433
 
# Does compiler simultaneously support -c and -o options?
14434
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
14435
 
 
14436
 
# Must we lock files when doing compilation?
14437
 
need_locks=$lt_need_locks
14438
 
 
14439
 
# Do we need the lib prefix for modules?
14440
 
need_lib_prefix=$need_lib_prefix
14441
 
 
14442
 
# Do we need a version for libraries?
14443
 
need_version=$need_version
14444
 
 
14445
 
# Whether dlopen is supported.
14446
 
dlopen_support=$enable_dlopen
14447
 
 
14448
 
# Whether dlopen of programs is supported.
14449
 
dlopen_self=$enable_dlopen_self
14450
 
 
14451
 
# Whether dlopen of statically linked programs is supported.
14452
 
dlopen_self_static=$enable_dlopen_self_static
14453
 
 
14454
 
# Compiler flag to prevent dynamic linking.
14455
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
14456
 
 
14457
 
# Compiler flag to turn off builtin functions.
14458
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
14459
 
 
14460
 
# Compiler flag to allow reflexive dlopens.
14461
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
14462
 
 
14463
 
# Compiler flag to generate shared objects directly from archives.
14464
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
14465
 
 
14466
 
# Compiler flag to generate thread-safe objects.
14467
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
14468
 
 
14469
 
# Library versioning type.
14470
 
version_type=$version_type
14471
 
 
14472
 
# Format of library name prefix.
14473
 
libname_spec=$lt_libname_spec
14474
 
 
14475
 
# List of archive names.  First name is the real one, the rest are links.
14476
 
# The last name is the one that the linker finds with -lNAME.
14477
 
library_names_spec=$lt_library_names_spec
14478
 
 
14479
 
# The coded name of the library, if different from the real name.
14480
 
soname_spec=$lt_soname_spec
14481
 
 
14482
 
# Commands used to build and install an old-style archive.
14483
 
RANLIB=$lt_RANLIB
14484
 
old_archive_cmds=$lt_old_archive_cmds_CXX
14485
 
old_postinstall_cmds=$lt_old_postinstall_cmds
14486
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14487
 
 
14488
 
# Create an old-style archive from a shared archive.
14489
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
14490
 
 
14491
 
# Create a temporary old-style archive to link instead of a shared archive.
14492
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
14493
 
 
14494
 
# Commands used to build and install a shared archive.
14495
 
archive_cmds=$lt_archive_cmds_CXX
14496
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
14497
 
postinstall_cmds=$lt_postinstall_cmds
14498
 
postuninstall_cmds=$lt_postuninstall_cmds
14499
 
 
14500
 
# Commands used to build a loadable module (assumed same as above if empty)
14501
 
module_cmds=$lt_module_cmds_CXX
14502
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
14503
 
 
14504
 
# Commands to strip libraries.
14505
 
old_striplib=$lt_old_striplib
14506
 
striplib=$lt_striplib
14507
 
 
14508
 
# Dependencies to place before the objects being linked to create a
14509
 
# shared library.
14510
 
predep_objects=$lt_predep_objects_CXX
14511
 
 
14512
 
# Dependencies to place after the objects being linked to create a
14513
 
# shared library.
14514
 
postdep_objects=$lt_postdep_objects_CXX
14515
 
 
14516
 
# Dependencies to place before the objects being linked to create a
14517
 
# shared library.
14518
 
predeps=$lt_predeps_CXX
14519
 
 
14520
 
# Dependencies to place after the objects being linked to create a
14521
 
# shared library.
14522
 
postdeps=$lt_postdeps_CXX
14523
 
 
14524
 
# The library search path used internally by the compiler when linking
14525
 
# a shared library.
14526
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14527
 
 
14528
 
# Method to check whether dependent libraries are shared objects.
14529
 
deplibs_check_method=$lt_deplibs_check_method
14530
 
 
14531
 
# Command to use when deplibs_check_method == file_magic.
14532
 
file_magic_cmd=$lt_file_magic_cmd
14533
 
 
14534
 
# Flag that allows shared libraries with undefined symbols to be built.
14535
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
14536
 
 
14537
 
# Flag that forces no undefined symbols.
14538
 
no_undefined_flag=$lt_no_undefined_flag_CXX
14539
 
 
14540
 
# Commands used to finish a libtool library installation in a directory.
14541
 
finish_cmds=$lt_finish_cmds
14542
 
 
14543
 
# Same as above, but a single script fragment to be evaled but not shown.
14544
 
finish_eval=$lt_finish_eval
14545
 
 
14546
 
# Take the output of nm and produce a listing of raw symbols and C names.
14547
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14548
 
 
14549
 
# Transform the output of nm in a proper C declaration
14550
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14551
 
 
14552
 
# Transform the output of nm in a C name address pair
14553
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14554
 
 
14555
 
# This is the shared library runtime path variable.
14556
 
runpath_var=$runpath_var
14557
 
 
14558
 
# This is the shared library path variable.
14559
 
shlibpath_var=$shlibpath_var
14560
 
 
14561
 
# Is shlibpath searched before the hard-coded library search path?
14562
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14563
 
 
14564
 
# How to hardcode a shared library path into an executable.
14565
 
hardcode_action=$hardcode_action_CXX
14566
 
 
14567
 
# Whether we should hardcode library paths into libraries.
14568
 
hardcode_into_libs=$hardcode_into_libs
14569
 
 
14570
 
# Flag to hardcode \$libdir into a binary during linking.
14571
 
# This must work even if \$libdir does not exist.
14572
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14573
 
 
14574
 
# If ld is used when linking, flag to hardcode \$libdir into
14575
 
# a binary during linking. This must work even if \$libdir does
14576
 
# not exist.
14577
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14578
 
 
14579
 
# Whether we need a single -rpath flag with a separated argument.
14580
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14581
 
 
14582
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14583
 
# resulting binary.
14584
 
hardcode_direct=$hardcode_direct_CXX
14585
 
 
14586
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14587
 
# resulting binary.
14588
 
hardcode_minus_L=$hardcode_minus_L_CXX
14589
 
 
14590
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14591
 
# the resulting binary.
14592
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14593
 
 
14594
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
14595
 
# and all subsequent libraries and executables linked against it.
14596
 
hardcode_automatic=$hardcode_automatic_CXX
14597
 
 
14598
 
# Variables whose values should be saved in libtool wrapper scripts and
14599
 
# restored at relink time.
14600
 
variables_saved_for_relink="$variables_saved_for_relink"
14601
 
 
14602
 
# Whether libtool must link a program against all its dependency libraries.
14603
 
link_all_deplibs=$link_all_deplibs_CXX
14604
 
 
14605
 
# Compile-time system search path for libraries
14606
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14607
 
 
14608
 
# Run-time system search path for libraries
14609
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14610
 
 
14611
 
# Fix the shell variable \$srcfile for the compiler.
14612
 
fix_srcfile_path="$fix_srcfile_path_CXX"
14613
 
 
14614
 
# Set to yes if exported symbols are required.
14615
 
always_export_symbols=$always_export_symbols_CXX
14616
 
 
14617
 
# The commands to list exported symbols.
14618
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
14619
 
 
14620
 
# The commands to extract the exported symbol list from a shared archive.
14621
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
14622
 
 
14623
 
# Symbols that should not be listed in the preloaded symbols.
14624
 
exclude_expsyms=$lt_exclude_expsyms_CXX
14625
 
 
14626
 
# Symbols that must always be exported.
14627
 
include_expsyms=$lt_include_expsyms_CXX
14628
 
 
14629
 
# ### END LIBTOOL TAG CONFIG: $tagname
14630
 
 
14631
 
__EOF__
14632
 
 
14633
 
 
14634
 
else
14635
 
  # If there is no Makefile yet, we rely on a make rule to execute
14636
 
  # `config.status --recheck' to rerun these tests and create the
14637
 
  # libtool script then.
14638
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14639
 
  if test -f "$ltmain_in"; then
14640
 
    test -f Makefile && make "$ltmain"
14641
 
  fi
14642
 
fi
14643
 
 
14644
 
 
14645
 
ac_ext=c
14646
 
ac_cpp='$CPP $CPPFLAGS'
14647
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14648
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14649
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14650
 
 
14651
 
CC=$lt_save_CC
14652
 
LDCXX=$LD
14653
 
LD=$lt_save_LD
14654
 
GCC=$lt_save_GCC
14655
 
with_gnu_ldcxx=$with_gnu_ld
14656
 
with_gnu_ld=$lt_save_with_gnu_ld
14657
 
lt_cv_path_LDCXX=$lt_cv_path_LD
14658
 
lt_cv_path_LD=$lt_save_path_LD
14659
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14660
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14661
 
 
14662
 
        else
14663
 
          tagname=""
14664
 
        fi
14665
 
        ;;
14666
 
 
14667
 
      F77)
14668
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
14669
 
 
14670
 
ac_ext=f
14671
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14672
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14673
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
14674
 
 
14675
 
 
14676
 
archive_cmds_need_lc_F77=no
14677
 
allow_undefined_flag_F77=
14678
 
always_export_symbols_F77=no
14679
 
archive_expsym_cmds_F77=
14680
 
export_dynamic_flag_spec_F77=
14681
 
hardcode_direct_F77=no
14682
 
hardcode_libdir_flag_spec_F77=
14683
 
hardcode_libdir_flag_spec_ld_F77=
14684
 
hardcode_libdir_separator_F77=
14685
 
hardcode_minus_L_F77=no
14686
 
hardcode_automatic_F77=no
14687
 
module_cmds_F77=
14688
 
module_expsym_cmds_F77=
14689
 
link_all_deplibs_F77=unknown
14690
 
old_archive_cmds_F77=$old_archive_cmds
14691
 
no_undefined_flag_F77=
14692
 
whole_archive_flag_spec_F77=
14693
 
enable_shared_with_static_runtimes_F77=no
14694
 
 
14695
 
# Source file extension for f77 test sources.
14696
 
ac_ext=f
14697
 
 
14698
 
# Object file extension for compiled f77 test sources.
14699
 
objext=o
14700
 
objext_F77=$objext
14701
 
 
14702
 
# Code to be used in simple compile tests
14703
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
14704
 
 
14705
 
# Code to be used in simple link tests
14706
 
lt_simple_link_test_code="      program t\n      end\n"
14707
 
 
14708
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
14709
 
 
14710
 
# If no C compiler was specified, use CC.
14711
 
LTCC=${LTCC-"$CC"}
14712
 
 
14713
 
# If no C compiler flags were specified, use CFLAGS.
14714
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14715
 
 
14716
 
# Allow CC to be a program name with arguments.
14717
 
compiler=$CC
14718
 
 
14719
 
 
14720
 
# save warnings/boilerplate of simple test code
14721
 
ac_outfile=conftest.$ac_objext
14722
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
14723
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14724
 
_lt_compiler_boilerplate=`cat conftest.err`
14725
 
$rm conftest*
14726
 
 
14727
 
ac_outfile=conftest.$ac_objext
14728
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
14729
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14730
 
_lt_linker_boilerplate=`cat conftest.err`
14731
 
$rm conftest*
14732
 
 
14733
 
 
14734
 
# Allow CC to be a program name with arguments.
14735
 
lt_save_CC="$CC"
14736
 
CC=${F77-"f77"}
14737
 
compiler=$CC
14738
 
compiler_F77=$CC
14739
 
for cc_temp in $compiler""; do
14740
 
  case $cc_temp in
14741
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14742
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14743
 
    \-*) ;;
14744
 
    *) break;;
14745
 
  esac
14746
 
done
14747
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14748
 
 
14749
 
 
14750
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14751
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
14752
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
14753
 
echo "${ECHO_T}$can_build_shared" >&6
14754
 
 
14755
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14756
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
14757
 
test "$can_build_shared" = "no" && enable_shared=no
14758
 
 
14759
 
# On AIX, shared libraries and static libraries use the same namespace, and
14760
 
# are all built from PIC.
14761
 
case $host_os in
14762
 
aix3*)
14763
 
  test "$enable_shared" = yes && enable_static=no
14764
 
  if test -n "$RANLIB"; then
14765
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
14766
 
    postinstall_cmds='$RANLIB $lib'
14767
 
  fi
14768
 
  ;;
14769
 
aix4* | aix5*)
14770
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14771
 
    test "$enable_shared" = yes && enable_static=no
14772
 
  fi
14773
 
  ;;
14774
 
esac
14775
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
14776
 
echo "${ECHO_T}$enable_shared" >&6
14777
 
 
14778
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14779
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
14780
 
# Make sure either enable_shared or enable_static is yes.
14781
 
test "$enable_shared" = yes || enable_static=yes
14782
 
echo "$as_me:$LINENO: result: $enable_static" >&5
14783
 
echo "${ECHO_T}$enable_static" >&6
14784
 
 
14785
 
GCC_F77="$G77"
14786
 
LD_F77="$LD"
14787
 
 
14788
 
lt_prog_compiler_wl_F77=
14789
 
lt_prog_compiler_pic_F77=
14790
 
lt_prog_compiler_static_F77=
14791
 
 
14792
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14793
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
14794
 
 
14795
 
  if test "$GCC" = yes; then
14796
 
    lt_prog_compiler_wl_F77='-Wl,'
14797
 
    lt_prog_compiler_static_F77='-static'
14798
 
 
14799
 
    case $host_os in
14800
 
      aix*)
14801
 
      # All AIX code is PIC.
14802
 
      if test "$host_cpu" = ia64; then
14803
 
        # AIX 5 now supports IA64 processor
14804
 
        lt_prog_compiler_static_F77='-Bstatic'
14805
 
      fi
14806
 
      ;;
14807
 
 
14808
 
    amigaos*)
14809
 
      # FIXME: we need at least 68020 code to build shared libraries, but
14810
 
      # adding the `-m68020' flag to GCC prevents building anything better,
14811
 
      # like `-m68040'.
14812
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
14813
 
      ;;
14814
 
 
14815
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14816
 
      # PIC is the default for these OSes.
14817
 
      ;;
14818
 
 
14819
 
    mingw* | pw32* | os2*)
14820
 
      # This hack is so that the source file can tell whether it is being
14821
 
      # built for inclusion in a dll (and should export symbols for example).
14822
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14823
 
      ;;
14824
 
 
14825
 
    darwin* | rhapsody*)
14826
 
      # PIC is the default on this platform
14827
 
      # Common symbols not allowed in MH_DYLIB files
14828
 
      lt_prog_compiler_pic_F77='-fno-common'
14829
 
      ;;
14830
 
 
14831
 
    interix3*)
14832
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14833
 
      # Instead, we relocate shared libraries at runtime.
14834
 
      ;;
14835
 
 
14836
 
    msdosdjgpp*)
14837
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
14838
 
      # on systems that don't support them.
14839
 
      lt_prog_compiler_can_build_shared_F77=no
14840
 
      enable_shared=no
14841
 
      ;;
14842
 
 
14843
 
    sysv4*MP*)
14844
 
      if test -d /usr/nec; then
14845
 
        lt_prog_compiler_pic_F77=-Kconform_pic
14846
 
      fi
14847
 
      ;;
14848
 
 
14849
 
    hpux*)
14850
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14851
 
      # not for PA HP-UX.
14852
 
      case $host_cpu in
14853
 
      hppa*64*|ia64*)
14854
 
        # +Z the default
14855
 
        ;;
14856
 
      *)
14857
 
        lt_prog_compiler_pic_F77='-fPIC'
14858
 
        ;;
14859
 
      esac
14860
 
      ;;
14861
 
 
14862
 
    *)
14863
 
      lt_prog_compiler_pic_F77='-fPIC'
14864
 
      ;;
14865
 
    esac
14866
 
  else
14867
 
    # PORTME Check for flag to pass linker flags through the system compiler.
14868
 
    case $host_os in
14869
 
    aix*)
14870
 
      lt_prog_compiler_wl_F77='-Wl,'
14871
 
      if test "$host_cpu" = ia64; then
14872
 
        # AIX 5 now supports IA64 processor
14873
 
        lt_prog_compiler_static_F77='-Bstatic'
14874
 
      else
14875
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
14876
 
      fi
14877
 
      ;;
14878
 
      darwin*)
14879
 
        # PIC is the default on this platform
14880
 
        # Common symbols not allowed in MH_DYLIB files
14881
 
       case $cc_basename in
14882
 
         xlc*)
14883
 
         lt_prog_compiler_pic_F77='-qnocommon'
14884
 
         lt_prog_compiler_wl_F77='-Wl,'
14885
 
         ;;
14886
 
       esac
14887
 
       ;;
14888
 
 
14889
 
    mingw* | pw32* | os2*)
14890
 
      # This hack is so that the source file can tell whether it is being
14891
 
      # built for inclusion in a dll (and should export symbols for example).
14892
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14893
 
      ;;
14894
 
 
14895
 
    hpux9* | hpux10* | hpux11*)
14896
 
      lt_prog_compiler_wl_F77='-Wl,'
14897
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14898
 
      # not for PA HP-UX.
14899
 
      case $host_cpu in
14900
 
      hppa*64*|ia64*)
14901
 
        # +Z the default
14902
 
        ;;
14903
 
      *)
14904
 
        lt_prog_compiler_pic_F77='+Z'
14905
 
        ;;
14906
 
      esac
14907
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
14908
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
14909
 
      ;;
14910
 
 
14911
 
    irix5* | irix6* | nonstopux*)
14912
 
      lt_prog_compiler_wl_F77='-Wl,'
14913
 
      # PIC (with -KPIC) is the default.
14914
 
      lt_prog_compiler_static_F77='-non_shared'
14915
 
      ;;
14916
 
 
14917
 
    newsos6)
14918
 
      lt_prog_compiler_pic_F77='-KPIC'
14919
 
      lt_prog_compiler_static_F77='-Bstatic'
14920
 
      ;;
14921
 
 
14922
 
    linux*)
14923
 
      case $cc_basename in
14924
 
      icc* | ecc*)
14925
 
        lt_prog_compiler_wl_F77='-Wl,'
14926
 
        lt_prog_compiler_pic_F77='-KPIC'
14927
 
        lt_prog_compiler_static_F77='-static'
14928
 
        ;;
14929
 
      pgcc* | pgf77* | pgf90* | pgf95*)
14930
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
14931
 
        # which looks to be a dead project)
14932
 
        lt_prog_compiler_wl_F77='-Wl,'
14933
 
        lt_prog_compiler_pic_F77='-fpic'
14934
 
        lt_prog_compiler_static_F77='-Bstatic'
14935
 
        ;;
14936
 
      ccc*)
14937
 
        lt_prog_compiler_wl_F77='-Wl,'
14938
 
        # All Alpha code is PIC.
14939
 
        lt_prog_compiler_static_F77='-non_shared'
14940
 
        ;;
14941
 
      esac
14942
 
      ;;
14943
 
 
14944
 
    osf3* | osf4* | osf5*)
14945
 
      lt_prog_compiler_wl_F77='-Wl,'
14946
 
      # All OSF/1 code is PIC.
14947
 
      lt_prog_compiler_static_F77='-non_shared'
14948
 
      ;;
14949
 
 
14950
 
    solaris*)
14951
 
      lt_prog_compiler_pic_F77='-KPIC'
14952
 
      lt_prog_compiler_static_F77='-Bstatic'
14953
 
      case $cc_basename in
14954
 
      f77* | f90* | f95*)
14955
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
14956
 
      *)
14957
 
        lt_prog_compiler_wl_F77='-Wl,';;
14958
 
      esac
14959
 
      ;;
14960
 
 
14961
 
    sunos4*)
14962
 
      lt_prog_compiler_wl_F77='-Qoption ld '
14963
 
      lt_prog_compiler_pic_F77='-PIC'
14964
 
      lt_prog_compiler_static_F77='-Bstatic'
14965
 
      ;;
14966
 
 
14967
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
14968
 
      lt_prog_compiler_wl_F77='-Wl,'
14969
 
      lt_prog_compiler_pic_F77='-KPIC'
14970
 
      lt_prog_compiler_static_F77='-Bstatic'
14971
 
      ;;
14972
 
 
14973
 
    sysv4*MP*)
14974
 
      if test -d /usr/nec ;then
14975
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
14976
 
        lt_prog_compiler_static_F77='-Bstatic'
14977
 
      fi
14978
 
      ;;
14979
 
 
14980
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14981
 
      lt_prog_compiler_wl_F77='-Wl,'
14982
 
      lt_prog_compiler_pic_F77='-KPIC'
14983
 
      lt_prog_compiler_static_F77='-Bstatic'
14984
 
      ;;
14985
 
 
14986
 
    unicos*)
14987
 
      lt_prog_compiler_wl_F77='-Wl,'
14988
 
      lt_prog_compiler_can_build_shared_F77=no
14989
 
      ;;
14990
 
 
14991
 
    uts4*)
14992
 
      lt_prog_compiler_pic_F77='-pic'
14993
 
      lt_prog_compiler_static_F77='-Bstatic'
14994
 
      ;;
14995
 
 
14996
 
    *)
14997
 
      lt_prog_compiler_can_build_shared_F77=no
14998
 
      ;;
14999
 
    esac
15000
 
  fi
15001
 
 
15002
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
15003
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
15004
 
 
15005
 
#
15006
 
# Check to make sure the PIC flag actually works.
15007
 
#
15008
 
if test -n "$lt_prog_compiler_pic_F77"; then
15009
 
 
15010
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15011
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
15012
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
15013
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15014
 
else
15015
 
  lt_prog_compiler_pic_works_F77=no
15016
 
  ac_outfile=conftest.$ac_objext
15017
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15018
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
15019
 
   # Insert the option either (1) after the last *FLAGS variable, or
15020
 
   # (2) before a word containing "conftest.", or (3) at the end.
15021
 
   # Note that $ac_compile itself does not contain backslashes and begins
15022
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15023
 
   # The option is referenced via a variable to avoid confusing sed.
15024
 
   lt_compile=`echo "$ac_compile" | $SED \
15025
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15026
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15027
 
   -e 's:$: $lt_compiler_flag:'`
15028
 
   (eval echo "\"\$as_me:15028: $lt_compile\"" >&5)
15029
 
   (eval "$lt_compile" 2>conftest.err)
15030
 
   ac_status=$?
15031
 
   cat conftest.err >&5
15032
 
   echo "$as_me:15032: \$? = $ac_status" >&5
15033
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
15034
 
     # The compiler can only warn and ignore the option if not recognized
15035
 
     # So say no if there are warnings other than the usual output.
15036
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15037
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15038
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15039
 
       lt_prog_compiler_pic_works_F77=yes
15040
 
     fi
15041
 
   fi
15042
 
   $rm conftest*
15043
 
 
15044
 
fi
15045
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
15046
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
15047
 
 
15048
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
15049
 
    case $lt_prog_compiler_pic_F77 in
15050
 
     "" | " "*) ;;
15051
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
15052
 
     esac
15053
 
else
15054
 
    lt_prog_compiler_pic_F77=
15055
 
     lt_prog_compiler_can_build_shared_F77=no
15056
 
fi
15057
 
 
15058
 
fi
15059
 
case $host_os in
15060
 
  # For platforms which do not support PIC, -DPIC is meaningless:
15061
 
  *djgpp*)
15062
 
    lt_prog_compiler_pic_F77=
15063
 
    ;;
15064
 
  *)
15065
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
15066
 
    ;;
15067
 
esac
15068
 
 
15069
 
#
15070
 
# Check to make sure the static flag actually works.
15071
 
#
15072
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
15073
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15074
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
15075
 
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
15076
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15077
 
else
15078
 
  lt_prog_compiler_static_works_F77=no
15079
 
   save_LDFLAGS="$LDFLAGS"
15080
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15081
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
15082
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15083
 
     # The linker can only warn and ignore the option if not recognized
15084
 
     # So say no if there are warnings
15085
 
     if test -s conftest.err; then
15086
 
       # Append any errors to the config.log.
15087
 
       cat conftest.err 1>&5
15088
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15089
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15090
 
       if diff conftest.exp conftest.er2 >/dev/null; then
15091
 
         lt_prog_compiler_static_works_F77=yes
15092
 
       fi
15093
 
     else
15094
 
       lt_prog_compiler_static_works_F77=yes
15095
 
     fi
15096
 
   fi
15097
 
   $rm conftest*
15098
 
   LDFLAGS="$save_LDFLAGS"
15099
 
 
15100
 
fi
15101
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
15102
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
15103
 
 
15104
 
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
15105
 
    :
15106
 
else
15107
 
    lt_prog_compiler_static_F77=
15108
 
fi
15109
 
 
15110
 
 
15111
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15112
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15113
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
15114
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15115
 
else
15116
 
  lt_cv_prog_compiler_c_o_F77=no
15117
 
   $rm -r conftest 2>/dev/null
15118
 
   mkdir conftest
15119
 
   cd conftest
15120
 
   mkdir out
15121
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15122
 
 
15123
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
15124
 
   # Insert the option either (1) after the last *FLAGS variable, or
15125
 
   # (2) before a word containing "conftest.", or (3) at the end.
15126
 
   # Note that $ac_compile itself does not contain backslashes and begins
15127
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15128
 
   lt_compile=`echo "$ac_compile" | $SED \
15129
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15130
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15131
 
   -e 's:$: $lt_compiler_flag:'`
15132
 
   (eval echo "\"\$as_me:15132: $lt_compile\"" >&5)
15133
 
   (eval "$lt_compile" 2>out/conftest.err)
15134
 
   ac_status=$?
15135
 
   cat out/conftest.err >&5
15136
 
   echo "$as_me:15136: \$? = $ac_status" >&5
15137
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15138
 
   then
15139
 
     # The compiler can only warn and ignore the option if not recognized
15140
 
     # So say no if there are warnings
15141
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15142
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15143
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15144
 
       lt_cv_prog_compiler_c_o_F77=yes
15145
 
     fi
15146
 
   fi
15147
 
   chmod u+w . 2>&5
15148
 
   $rm conftest*
15149
 
   # SGI C++ compiler will create directory out/ii_files/ for
15150
 
   # template instantiation
15151
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15152
 
   $rm out/* && rmdir out
15153
 
   cd ..
15154
 
   rmdir conftest
15155
 
   $rm conftest*
15156
 
 
15157
 
fi
15158
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15159
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
15160
 
 
15161
 
 
15162
 
hard_links="nottested"
15163
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
15164
 
  # do not overwrite the value of need_locks provided by the user
15165
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15166
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15167
 
  hard_links=yes
15168
 
  $rm conftest*
15169
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15170
 
  touch conftest.a
15171
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
15172
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15173
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
15174
 
echo "${ECHO_T}$hard_links" >&6
15175
 
  if test "$hard_links" = no; then
15176
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15177
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15178
 
    need_locks=warn
15179
 
  fi
15180
 
else
15181
 
  need_locks=no
15182
 
fi
15183
 
 
15184
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15185
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15186
 
 
15187
 
  runpath_var=
15188
 
  allow_undefined_flag_F77=
15189
 
  enable_shared_with_static_runtimes_F77=no
15190
 
  archive_cmds_F77=
15191
 
  archive_expsym_cmds_F77=
15192
 
  old_archive_From_new_cmds_F77=
15193
 
  old_archive_from_expsyms_cmds_F77=
15194
 
  export_dynamic_flag_spec_F77=
15195
 
  whole_archive_flag_spec_F77=
15196
 
  thread_safe_flag_spec_F77=
15197
 
  hardcode_libdir_flag_spec_F77=
15198
 
  hardcode_libdir_flag_spec_ld_F77=
15199
 
  hardcode_libdir_separator_F77=
15200
 
  hardcode_direct_F77=no
15201
 
  hardcode_minus_L_F77=no
15202
 
  hardcode_shlibpath_var_F77=unsupported
15203
 
  link_all_deplibs_F77=unknown
15204
 
  hardcode_automatic_F77=no
15205
 
  module_cmds_F77=
15206
 
  module_expsym_cmds_F77=
15207
 
  always_export_symbols_F77=no
15208
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15209
 
  # include_expsyms should be a list of space-separated symbols to be *always*
15210
 
  # included in the symbol list
15211
 
  include_expsyms_F77=
15212
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
15213
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
15214
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15215
 
  # as well as any symbol that contains `d'.
15216
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
15217
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15218
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
15219
 
  # the symbol is explicitly referenced.  Since portable code cannot
15220
 
  # rely on this symbol name, it's probably fine to never include it in
15221
 
  # preloaded symbol tables.
15222
 
  extract_expsyms_cmds=
15223
 
  # Just being paranoid about ensuring that cc_basename is set.
15224
 
  for cc_temp in $compiler""; do
15225
 
  case $cc_temp in
15226
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15227
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15228
 
    \-*) ;;
15229
 
    *) break;;
15230
 
  esac
15231
 
done
15232
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15233
 
 
15234
 
  case $host_os in
15235
 
  cygwin* | mingw* | pw32*)
15236
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
15237
 
    # When not using gcc, we currently assume that we are using
15238
 
    # Microsoft Visual C++.
15239
 
    if test "$GCC" != yes; then
15240
 
      with_gnu_ld=no
15241
 
    fi
15242
 
    ;;
15243
 
  interix*)
15244
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
15245
 
    with_gnu_ld=yes
15246
 
    ;;
15247
 
  openbsd*)
15248
 
    with_gnu_ld=no
15249
 
    ;;
15250
 
  esac
15251
 
 
15252
 
  ld_shlibs_F77=yes
15253
 
  if test "$with_gnu_ld" = yes; then
15254
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
15255
 
    wlarc='${wl}'
15256
 
 
15257
 
    # Set some defaults for GNU ld with shared library support. These
15258
 
    # are reset later if shared libraries are not supported. Putting them
15259
 
    # here allows them to be overridden if necessary.
15260
 
    runpath_var=LD_RUN_PATH
15261
 
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
15262
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
15263
 
    # ancient GNU ld didn't support --whole-archive et. al.
15264
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15265
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15266
 
      else
15267
 
        whole_archive_flag_spec_F77=
15268
 
    fi
15269
 
    supports_anon_versioning=no
15270
 
    case `$LD -v 2>/dev/null` in
15271
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15272
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15273
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15274
 
      *\ 2.11.*) ;; # other 2.11 versions
15275
 
      *) supports_anon_versioning=yes ;;
15276
 
    esac
15277
 
 
15278
 
    # See if GNU ld supports shared libraries.
15279
 
    case $host_os in
15280
 
    aix3* | aix4* | aix5*)
15281
 
      # On AIX/PPC, the GNU linker is very broken
15282
 
      if test "$host_cpu" != ia64; then
15283
 
        ld_shlibs_F77=no
15284
 
        cat <<EOF 1>&2
15285
 
 
15286
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
15287
 
*** to be unable to reliably create shared libraries on AIX.
15288
 
*** Therefore, libtool is disabling shared libraries support.  If you
15289
 
*** really care for shared libraries, you may want to modify your PATH
15290
 
*** so that a non-GNU linker is found, and then restart.
15291
 
 
15292
 
EOF
15293
 
      fi
15294
 
      ;;
15295
 
 
15296
 
    amigaos*)
15297
 
      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)'
15298
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15299
 
      hardcode_minus_L_F77=yes
15300
 
 
15301
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15302
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
15303
 
      # to version 4, is to share data among multiple programs linked
15304
 
      # with the same dynamic library.  Since this doesn't match the
15305
 
      # behavior of shared libraries on other platforms, we can't use
15306
 
      # them.
15307
 
      ld_shlibs_F77=no
15308
 
      ;;
15309
 
 
15310
 
    beos*)
15311
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15312
 
        allow_undefined_flag_F77=unsupported
15313
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15314
 
        # support --undefined.  This deserves some investigation.  FIXME
15315
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15316
 
      else
15317
 
        ld_shlibs_F77=no
15318
 
      fi
15319
 
      ;;
15320
 
 
15321
 
    cygwin* | mingw* | pw32*)
15322
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
15323
 
      # as there is no search path for DLLs.
15324
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15325
 
      allow_undefined_flag_F77=unsupported
15326
 
      always_export_symbols_F77=no
15327
 
      enable_shared_with_static_runtimes_F77=yes
15328
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15329
 
 
15330
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15331
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15332
 
        # If the export-symbols file already is a .def file (1st line
15333
 
        # is EXPORTS), use it as is; otherwise, prepend...
15334
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15335
 
          cp $export_symbols $output_objdir/$soname.def;
15336
 
        else
15337
 
          echo EXPORTS > $output_objdir/$soname.def;
15338
 
          cat $export_symbols >> $output_objdir/$soname.def;
15339
 
        fi~
15340
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15341
 
      else
15342
 
        ld_shlibs_F77=no
15343
 
      fi
15344
 
      ;;
15345
 
 
15346
 
    interix3*)
15347
 
      hardcode_direct_F77=no
15348
 
      hardcode_shlibpath_var_F77=no
15349
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15350
 
      export_dynamic_flag_spec_F77='${wl}-E'
15351
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15352
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
15353
 
      # default) and relocated if they conflict, which is a slow very memory
15354
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
15355
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15356
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
15357
 
      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'
15358
 
      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'
15359
 
      ;;
15360
 
 
15361
 
    linux*)
15362
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15363
 
        tmp_addflag=
15364
 
        case $cc_basename,$host_cpu in
15365
 
        pgcc*)                          # Portland Group C compiler
15366
 
          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'
15367
 
          tmp_addflag=' $pic_flag'
15368
 
          ;;
15369
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
15370
 
          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'
15371
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
15372
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
15373
 
          tmp_addflag=' -i_dynamic' ;;
15374
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
15375
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
15376
 
        ifc* | ifort*)                  # Intel Fortran compiler
15377
 
          tmp_addflag=' -nofor_main' ;;
15378
 
        esac
15379
 
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15380
 
 
15381
 
        if test $supports_anon_versioning = yes; then
15382
 
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
15383
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15384
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
15385
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15386
 
        fi
15387
 
      else
15388
 
        ld_shlibs_F77=no
15389
 
      fi
15390
 
      ;;
15391
 
 
15392
 
    netbsd*)
15393
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15394
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15395
 
        wlarc=
15396
 
      else
15397
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15398
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15399
 
      fi
15400
 
      ;;
15401
 
 
15402
 
    solaris*)
15403
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15404
 
        ld_shlibs_F77=no
15405
 
        cat <<EOF 1>&2
15406
 
 
15407
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
15408
 
*** create shared libraries on Solaris systems.  Therefore, libtool
15409
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
15410
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
15411
 
*** your PATH or compiler configuration so that the native linker is
15412
 
*** used, and then restart.
15413
 
 
15414
 
EOF
15415
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15416
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15417
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15418
 
      else
15419
 
        ld_shlibs_F77=no
15420
 
      fi
15421
 
      ;;
15422
 
 
15423
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
15424
 
      case `$LD -v 2>&1` in
15425
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
15426
 
        ld_shlibs_F77=no
15427
 
        cat <<_LT_EOF 1>&2
15428
 
 
15429
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15430
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
15431
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
15432
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
15433
 
*** your PATH or compiler configuration so that the native linker is
15434
 
*** used, and then restart.
15435
 
 
15436
 
_LT_EOF
15437
 
        ;;
15438
 
        *)
15439
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15440
 
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15441
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15442
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15443
 
          else
15444
 
            ld_shlibs_F77=no
15445
 
          fi
15446
 
        ;;
15447
 
      esac
15448
 
      ;;
15449
 
 
15450
 
    sunos4*)
15451
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15452
 
      wlarc=
15453
 
      hardcode_direct_F77=yes
15454
 
      hardcode_shlibpath_var_F77=no
15455
 
      ;;
15456
 
 
15457
 
    *)
15458
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15459
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15460
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15461
 
      else
15462
 
        ld_shlibs_F77=no
15463
 
      fi
15464
 
      ;;
15465
 
    esac
15466
 
 
15467
 
    if test "$ld_shlibs_F77" = no; then
15468
 
      runpath_var=
15469
 
      hardcode_libdir_flag_spec_F77=
15470
 
      export_dynamic_flag_spec_F77=
15471
 
      whole_archive_flag_spec_F77=
15472
 
    fi
15473
 
  else
15474
 
    # PORTME fill in a description of your system's linker (not GNU ld)
15475
 
    case $host_os in
15476
 
    aix3*)
15477
 
      allow_undefined_flag_F77=unsupported
15478
 
      always_export_symbols_F77=yes
15479
 
      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'
15480
 
      # Note: this linker hardcodes the directories in LIBPATH if there
15481
 
      # are no directories specified by -L.
15482
 
      hardcode_minus_L_F77=yes
15483
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15484
 
        # Neither direct hardcoding nor static linking is supported with a
15485
 
        # broken collect2.
15486
 
        hardcode_direct_F77=unsupported
15487
 
      fi
15488
 
      ;;
15489
 
 
15490
 
    aix4* | aix5*)
15491
 
      if test "$host_cpu" = ia64; then
15492
 
        # On IA64, the linker does run time linking by default, so we don't
15493
 
        # have to do anything special.
15494
 
        aix_use_runtimelinking=no
15495
 
        exp_sym_flag='-Bexport'
15496
 
        no_entry_flag=""
15497
 
      else
15498
 
        # If we're using GNU nm, then we don't want the "-C" option.
15499
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
15500
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15501
 
          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'
15502
 
        else
15503
 
          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'
15504
 
        fi
15505
 
        aix_use_runtimelinking=no
15506
 
 
15507
 
        # Test if we are trying to use run time linking or normal
15508
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15509
 
        # need to do runtime linking.
15510
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15511
 
          for ld_flag in $LDFLAGS; do
15512
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15513
 
            aix_use_runtimelinking=yes
15514
 
            break
15515
 
          fi
15516
 
          done
15517
 
          ;;
15518
 
        esac
15519
 
 
15520
 
        exp_sym_flag='-bexport'
15521
 
        no_entry_flag='-bnoentry'
15522
 
      fi
15523
 
 
15524
 
      # When large executables or shared objects are built, AIX ld can
15525
 
      # have problems creating the table of contents.  If linking a library
15526
 
      # or program results in "error TOC overflow" add -mminimal-toc to
15527
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
15528
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15529
 
 
15530
 
      archive_cmds_F77=''
15531
 
      hardcode_direct_F77=yes
15532
 
      hardcode_libdir_separator_F77=':'
15533
 
      link_all_deplibs_F77=yes
15534
 
 
15535
 
      if test "$GCC" = yes; then
15536
 
        case $host_os in aix4.[012]|aix4.[012].*)
15537
 
        # We only want to do this on AIX 4.2 and lower, the check
15538
 
        # below for broken collect2 doesn't work under 4.3+
15539
 
          collect2name=`${CC} -print-prog-name=collect2`
15540
 
          if test -f "$collect2name" && \
15541
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
15542
 
          then
15543
 
          # We have reworked collect2
15544
 
          hardcode_direct_F77=yes
15545
 
          else
15546
 
          # We have old collect2
15547
 
          hardcode_direct_F77=unsupported
15548
 
          # It fails to find uninstalled libraries when the uninstalled
15549
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
15550
 
          # to unsupported forces relinking
15551
 
          hardcode_minus_L_F77=yes
15552
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
15553
 
          hardcode_libdir_separator_F77=
15554
 
          fi
15555
 
          ;;
15556
 
        esac
15557
 
        shared_flag='-shared'
15558
 
        if test "$aix_use_runtimelinking" = yes; then
15559
 
          shared_flag="$shared_flag "'${wl}-G'
15560
 
        fi
15561
 
      else
15562
 
        # not using gcc
15563
 
        if test "$host_cpu" = ia64; then
15564
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15565
 
        # chokes on -Wl,-G. The following line is correct:
15566
 
          shared_flag='-G'
15567
 
        else
15568
 
          if test "$aix_use_runtimelinking" = yes; then
15569
 
            shared_flag='${wl}-G'
15570
 
          else
15571
 
            shared_flag='${wl}-bM:SRE'
15572
 
          fi
15573
 
        fi
15574
 
      fi
15575
 
 
15576
 
      # It seems that -bexpall does not export symbols beginning with
15577
 
      # underscore (_), so it is better to generate a list of symbols to export.
15578
 
      always_export_symbols_F77=yes
15579
 
      if test "$aix_use_runtimelinking" = yes; then
15580
 
        # Warning - without using the other runtime loading flags (-brtl),
15581
 
        # -berok will link without error, but may produce a broken library.
15582
 
        allow_undefined_flag_F77='-berok'
15583
 
       # Determine the default libpath from the value encoded in an empty executable.
15584
 
       cat >conftest.$ac_ext <<_ACEOF
15585
 
      program main
15586
 
 
15587
 
      end
15588
 
_ACEOF
15589
 
rm -f conftest.$ac_objext conftest$ac_exeext
15590
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15591
 
  (eval $ac_link) 2>conftest.er1
15592
 
  ac_status=$?
15593
 
  grep -v '^ *+' conftest.er1 >conftest.err
15594
 
  rm -f conftest.er1
15595
 
  cat conftest.err >&5
15596
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15597
 
  (exit $ac_status); } &&
15598
 
         { ac_try='test -z "$ac_f77_werror_flag"
15599
 
                         || test ! -s conftest.err'
15600
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15601
 
  (eval $ac_try) 2>&5
15602
 
  ac_status=$?
15603
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15604
 
  (exit $ac_status); }; } &&
15605
 
         { ac_try='test -s conftest$ac_exeext'
15606
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15607
 
  (eval $ac_try) 2>&5
15608
 
  ac_status=$?
15609
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15610
 
  (exit $ac_status); }; }; then
15611
 
 
15612
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
15613
 
}'`
15614
 
# Check for a 64-bit object if we didn't find anything.
15615
 
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; }
15616
 
}'`; fi
15617
 
else
15618
 
  echo "$as_me: failed program was:" >&5
15619
 
sed 's/^/| /' conftest.$ac_ext >&5
15620
 
 
15621
 
fi
15622
 
rm -f conftest.err conftest.$ac_objext \
15623
 
      conftest$ac_exeext conftest.$ac_ext
15624
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15625
 
 
15626
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15627
 
        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"
15628
 
       else
15629
 
        if test "$host_cpu" = ia64; then
15630
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15631
 
          allow_undefined_flag_F77="-z nodefs"
15632
 
          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"
15633
 
        else
15634
 
         # Determine the default libpath from the value encoded in an empty executable.
15635
 
         cat >conftest.$ac_ext <<_ACEOF
15636
 
      program main
15637
 
 
15638
 
      end
15639
 
_ACEOF
15640
 
rm -f conftest.$ac_objext conftest$ac_exeext
15641
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15642
 
  (eval $ac_link) 2>conftest.er1
15643
 
  ac_status=$?
15644
 
  grep -v '^ *+' conftest.er1 >conftest.err
15645
 
  rm -f conftest.er1
15646
 
  cat conftest.err >&5
15647
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15648
 
  (exit $ac_status); } &&
15649
 
         { ac_try='test -z "$ac_f77_werror_flag"
15650
 
                         || test ! -s conftest.err'
15651
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15652
 
  (eval $ac_try) 2>&5
15653
 
  ac_status=$?
15654
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15655
 
  (exit $ac_status); }; } &&
15656
 
         { ac_try='test -s conftest$ac_exeext'
15657
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15658
 
  (eval $ac_try) 2>&5
15659
 
  ac_status=$?
15660
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15661
 
  (exit $ac_status); }; }; then
15662
 
 
15663
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
15664
 
}'`
15665
 
# Check for a 64-bit object if we didn't find anything.
15666
 
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; }
15667
 
}'`; fi
15668
 
else
15669
 
  echo "$as_me: failed program was:" >&5
15670
 
sed 's/^/| /' conftest.$ac_ext >&5
15671
 
 
15672
 
fi
15673
 
rm -f conftest.err conftest.$ac_objext \
15674
 
      conftest$ac_exeext conftest.$ac_ext
15675
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15676
 
 
15677
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15678
 
          # Warning - without using the other run time loading flags,
15679
 
          # -berok will link without error, but may produce a broken library.
15680
 
          no_undefined_flag_F77=' ${wl}-bernotok'
15681
 
          allow_undefined_flag_F77=' ${wl}-berok'
15682
 
          # Exported symbols can be pulled into shared objects from archives
15683
 
          whole_archive_flag_spec_F77='$convenience'
15684
 
          archive_cmds_need_lc_F77=yes
15685
 
          # This is similar to how AIX traditionally builds its shared libraries.
15686
 
          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'
15687
 
        fi
15688
 
      fi
15689
 
      ;;
15690
 
 
15691
 
    amigaos*)
15692
 
      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)'
15693
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15694
 
      hardcode_minus_L_F77=yes
15695
 
      # see comment about different semantics on the GNU ld section
15696
 
      ld_shlibs_F77=no
15697
 
      ;;
15698
 
 
15699
 
    bsdi[45]*)
15700
 
      export_dynamic_flag_spec_F77=-rdynamic
15701
 
      ;;
15702
 
 
15703
 
    cygwin* | mingw* | pw32*)
15704
 
      # When not using gcc, we currently assume that we are using
15705
 
      # Microsoft Visual C++.
15706
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
15707
 
      # no search path for DLLs.
15708
 
      hardcode_libdir_flag_spec_F77=' '
15709
 
      allow_undefined_flag_F77=unsupported
15710
 
      # Tell ltmain to make .lib files, not .a files.
15711
 
      libext=lib
15712
 
      # Tell ltmain to make .dll files, not .so files.
15713
 
      shrext_cmds=".dll"
15714
 
      # FIXME: Setting linknames here is a bad hack.
15715
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15716
 
      # The linker will automatically build a .lib file if we build a DLL.
15717
 
      old_archive_From_new_cmds_F77='true'
15718
 
      # FIXME: Should let the user specify the lib program.
15719
 
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
15720
 
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
15721
 
      enable_shared_with_static_runtimes_F77=yes
15722
 
      ;;
15723
 
 
15724
 
    darwin* | rhapsody*)
15725
 
      case $host_os in
15726
 
        rhapsody* | darwin1.[012])
15727
 
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
15728
 
         ;;
15729
 
       *) # Darwin 1.3 on
15730
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15731
 
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15732
 
         else
15733
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
15734
 
             10.[012])
15735
 
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15736
 
               ;;
15737
 
             10.*)
15738
 
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
15739
 
               ;;
15740
 
           esac
15741
 
         fi
15742
 
         ;;
15743
 
      esac
15744
 
      archive_cmds_need_lc_F77=no
15745
 
      hardcode_direct_F77=no
15746
 
      hardcode_automatic_F77=yes
15747
 
      hardcode_shlibpath_var_F77=unsupported
15748
 
      whole_archive_flag_spec_F77=''
15749
 
      link_all_deplibs_F77=yes
15750
 
    if test "$GCC" = yes ; then
15751
 
        output_verbose_link_cmd='echo'
15752
 
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15753
 
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15754
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15755
 
      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}'
15756
 
      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}'
15757
 
    else
15758
 
      case $cc_basename in
15759
 
        xlc*)
15760
 
         output_verbose_link_cmd='echo'
15761
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15762
 
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15763
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15764
 
         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}'
15765
 
          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}'
15766
 
          ;;
15767
 
       *)
15768
 
         ld_shlibs_F77=no
15769
 
          ;;
15770
 
      esac
15771
 
    fi
15772
 
      ;;
15773
 
 
15774
 
    dgux*)
15775
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15776
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15777
 
      hardcode_shlibpath_var_F77=no
15778
 
      ;;
15779
 
 
15780
 
    freebsd1*)
15781
 
      ld_shlibs_F77=no
15782
 
      ;;
15783
 
 
15784
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15785
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
15786
 
    # does not break anything, and helps significantly (at the cost of a little
15787
 
    # extra space).
15788
 
    freebsd2.2*)
15789
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15790
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15791
 
      hardcode_direct_F77=yes
15792
 
      hardcode_shlibpath_var_F77=no
15793
 
      ;;
15794
 
 
15795
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15796
 
    freebsd2*)
15797
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15798
 
      hardcode_direct_F77=yes
15799
 
      hardcode_minus_L_F77=yes
15800
 
      hardcode_shlibpath_var_F77=no
15801
 
      ;;
15802
 
 
15803
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15804
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
15805
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15806
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15807
 
      hardcode_direct_F77=yes
15808
 
      hardcode_shlibpath_var_F77=no
15809
 
      ;;
15810
 
 
15811
 
    hpux9*)
15812
 
      if test "$GCC" = yes; then
15813
 
        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'
15814
 
      else
15815
 
        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'
15816
 
      fi
15817
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15818
 
      hardcode_libdir_separator_F77=:
15819
 
      hardcode_direct_F77=yes
15820
 
 
15821
 
      # hardcode_minus_L: Not really in the search PATH,
15822
 
      # but as the default location of the library.
15823
 
      hardcode_minus_L_F77=yes
15824
 
      export_dynamic_flag_spec_F77='${wl}-E'
15825
 
      ;;
15826
 
 
15827
 
    hpux10*)
15828
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15829
 
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15830
 
      else
15831
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15832
 
      fi
15833
 
      if test "$with_gnu_ld" = no; then
15834
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15835
 
        hardcode_libdir_separator_F77=:
15836
 
 
15837
 
        hardcode_direct_F77=yes
15838
 
        export_dynamic_flag_spec_F77='${wl}-E'
15839
 
 
15840
 
        # hardcode_minus_L: Not really in the search PATH,
15841
 
        # but as the default location of the library.
15842
 
        hardcode_minus_L_F77=yes
15843
 
      fi
15844
 
      ;;
15845
 
 
15846
 
    hpux11*)
15847
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15848
 
        case $host_cpu in
15849
 
        hppa*64*)
15850
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15851
 
          ;;
15852
 
        ia64*)
15853
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15854
 
          ;;
15855
 
        *)
15856
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15857
 
          ;;
15858
 
        esac
15859
 
      else
15860
 
        case $host_cpu in
15861
 
        hppa*64*)
15862
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15863
 
          ;;
15864
 
        ia64*)
15865
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15866
 
          ;;
15867
 
        *)
15868
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15869
 
          ;;
15870
 
        esac
15871
 
      fi
15872
 
      if test "$with_gnu_ld" = no; then
15873
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15874
 
        hardcode_libdir_separator_F77=:
15875
 
 
15876
 
        case $host_cpu in
15877
 
        hppa*64*|ia64*)
15878
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
15879
 
          hardcode_direct_F77=no
15880
 
          hardcode_shlibpath_var_F77=no
15881
 
          ;;
15882
 
        *)
15883
 
          hardcode_direct_F77=yes
15884
 
          export_dynamic_flag_spec_F77='${wl}-E'
15885
 
 
15886
 
          # hardcode_minus_L: Not really in the search PATH,
15887
 
          # but as the default location of the library.
15888
 
          hardcode_minus_L_F77=yes
15889
 
          ;;
15890
 
        esac
15891
 
      fi
15892
 
      ;;
15893
 
 
15894
 
    irix5* | irix6* | nonstopux*)
15895
 
      if test "$GCC" = yes; then
15896
 
        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'
15897
 
      else
15898
 
        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'
15899
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
15900
 
      fi
15901
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15902
 
      hardcode_libdir_separator_F77=:
15903
 
      link_all_deplibs_F77=yes
15904
 
      ;;
15905
 
 
15906
 
    netbsd*)
15907
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15908
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
15909
 
      else
15910
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
15911
 
      fi
15912
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15913
 
      hardcode_direct_F77=yes
15914
 
      hardcode_shlibpath_var_F77=no
15915
 
      ;;
15916
 
 
15917
 
    newsos6)
15918
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15919
 
      hardcode_direct_F77=yes
15920
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15921
 
      hardcode_libdir_separator_F77=:
15922
 
      hardcode_shlibpath_var_F77=no
15923
 
      ;;
15924
 
 
15925
 
    openbsd*)
15926
 
      hardcode_direct_F77=yes
15927
 
      hardcode_shlibpath_var_F77=no
15928
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15929
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15930
 
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15931
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15932
 
        export_dynamic_flag_spec_F77='${wl}-E'
15933
 
      else
15934
 
       case $host_os in
15935
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15936
 
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15937
 
           hardcode_libdir_flag_spec_F77='-R$libdir'
15938
 
           ;;
15939
 
         *)
15940
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15941
 
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15942
 
           ;;
15943
 
       esac
15944
 
      fi
15945
 
      ;;
15946
 
 
15947
 
    os2*)
15948
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15949
 
      hardcode_minus_L_F77=yes
15950
 
      allow_undefined_flag_F77=unsupported
15951
 
      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'
15952
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15953
 
      ;;
15954
 
 
15955
 
    osf3*)
15956
 
      if test "$GCC" = yes; then
15957
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15958
 
        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'
15959
 
      else
15960
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
15961
 
        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'
15962
 
      fi
15963
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15964
 
      hardcode_libdir_separator_F77=:
15965
 
      ;;
15966
 
 
15967
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
15968
 
      if test "$GCC" = yes; then
15969
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15970
 
        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'
15971
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15972
 
      else
15973
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
15974
 
        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'
15975
 
        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~
15976
 
        $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'
15977
 
 
15978
 
        # Both c and cxx compiler support -rpath directly
15979
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
15980
 
      fi
15981
 
      hardcode_libdir_separator_F77=:
15982
 
      ;;
15983
 
 
15984
 
    solaris*)
15985
 
      no_undefined_flag_F77=' -z text'
15986
 
      if test "$GCC" = yes; then
15987
 
        wlarc='${wl}'
15988
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15989
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15990
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15991
 
      else
15992
 
        wlarc=''
15993
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15994
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15995
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15996
 
      fi
15997
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15998
 
      hardcode_shlibpath_var_F77=no
15999
 
      case $host_os in
16000
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
16001
 
      *)
16002
 
        # The compiler driver will combine linker options so we
16003
 
        # cannot just pass the convience library names through
16004
 
        # without $wl, iff we do not link with $LD.
16005
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
16006
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
16007
 
        case $wlarc in
16008
 
        '')
16009
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
16010
 
        *)
16011
 
          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' ;;
16012
 
        esac ;;
16013
 
      esac
16014
 
      link_all_deplibs_F77=yes
16015
 
      ;;
16016
 
 
16017
 
    sunos4*)
16018
 
      if test "x$host_vendor" = xsequent; then
16019
 
        # Use $CC to link under sequent, because it throws in some extra .o
16020
 
        # files that make .init and .fini sections work.
16021
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16022
 
      else
16023
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16024
 
      fi
16025
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16026
 
      hardcode_direct_F77=yes
16027
 
      hardcode_minus_L_F77=yes
16028
 
      hardcode_shlibpath_var_F77=no
16029
 
      ;;
16030
 
 
16031
 
    sysv4)
16032
 
      case $host_vendor in
16033
 
        sni)
16034
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16035
 
          hardcode_direct_F77=yes # is this really true???
16036
 
        ;;
16037
 
        siemens)
16038
 
          ## LD is ld it makes a PLAMLIB
16039
 
          ## CC just makes a GrossModule.
16040
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16041
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
16042
 
          hardcode_direct_F77=no
16043
 
        ;;
16044
 
        motorola)
16045
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16046
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
16047
 
        ;;
16048
 
      esac
16049
 
      runpath_var='LD_RUN_PATH'
16050
 
      hardcode_shlibpath_var_F77=no
16051
 
      ;;
16052
 
 
16053
 
    sysv4.3*)
16054
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16055
 
      hardcode_shlibpath_var_F77=no
16056
 
      export_dynamic_flag_spec_F77='-Bexport'
16057
 
      ;;
16058
 
 
16059
 
    sysv4*MP*)
16060
 
      if test -d /usr/nec; then
16061
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16062
 
        hardcode_shlibpath_var_F77=no
16063
 
        runpath_var=LD_RUN_PATH
16064
 
        hardcode_runpath_var=yes
16065
 
        ld_shlibs_F77=yes
16066
 
      fi
16067
 
      ;;
16068
 
 
16069
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
16070
 
      no_undefined_flag_F77='${wl}-z,text'
16071
 
      archive_cmds_need_lc_F77=no
16072
 
      hardcode_shlibpath_var_F77=no
16073
 
      runpath_var='LD_RUN_PATH'
16074
 
 
16075
 
      if test "$GCC" = yes; then
16076
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16077
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16078
 
      else
16079
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16080
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16081
 
      fi
16082
 
      ;;
16083
 
 
16084
 
    sysv5* | sco3.2v5* | sco5v6*)
16085
 
      # Note: We can NOT use -z defs as we might desire, because we do not
16086
 
      # link with -lc, and that would cause any symbols used from libc to
16087
 
      # always be unresolved, which means just about no library would
16088
 
      # ever link correctly.  If we're not using GNU ld we use -z text
16089
 
      # though, which does catch some bad symbols but isn't as heavy-handed
16090
 
      # as -z defs.
16091
 
      no_undefined_flag_F77='${wl}-z,text'
16092
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
16093
 
      archive_cmds_need_lc_F77=no
16094
 
      hardcode_shlibpath_var_F77=no
16095
 
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16096
 
      hardcode_libdir_separator_F77=':'
16097
 
      link_all_deplibs_F77=yes
16098
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
16099
 
      runpath_var='LD_RUN_PATH'
16100
 
 
16101
 
      if test "$GCC" = yes; then
16102
 
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16103
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16104
 
      else
16105
 
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16106
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16107
 
      fi
16108
 
      ;;
16109
 
 
16110
 
    uts4*)
16111
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16112
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16113
 
      hardcode_shlibpath_var_F77=no
16114
 
      ;;
16115
 
 
16116
 
    *)
16117
 
      ld_shlibs_F77=no
16118
 
      ;;
16119
 
    esac
16120
 
  fi
16121
 
 
16122
 
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16123
 
echo "${ECHO_T}$ld_shlibs_F77" >&6
16124
 
test "$ld_shlibs_F77" = no && can_build_shared=no
16125
 
 
16126
 
#
16127
 
# Do we need to explicitly link libc?
16128
 
#
16129
 
case "x$archive_cmds_need_lc_F77" in
16130
 
x|xyes)
16131
 
  # Assume -lc should be added
16132
 
  archive_cmds_need_lc_F77=yes
16133
 
 
16134
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
16135
 
    case $archive_cmds_F77 in
16136
 
    *'~'*)
16137
 
      # FIXME: we may have to deal with multi-command sequences.
16138
 
      ;;
16139
 
    '$CC '*)
16140
 
      # Test whether the compiler implicitly links with -lc since on some
16141
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16142
 
      # to ld, don't add -lc before -lgcc.
16143
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16144
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16145
 
      $rm conftest*
16146
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16147
 
 
16148
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16149
 
  (eval $ac_compile) 2>&5
16150
 
  ac_status=$?
16151
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152
 
  (exit $ac_status); } 2>conftest.err; then
16153
 
        soname=conftest
16154
 
        lib=conftest
16155
 
        libobjs=conftest.$ac_objext
16156
 
        deplibs=
16157
 
        wl=$lt_prog_compiler_wl_F77
16158
 
        pic_flag=$lt_prog_compiler_pic_F77
16159
 
        compiler_flags=-v
16160
 
        linker_flags=-v
16161
 
        verstring=
16162
 
        output_objdir=.
16163
 
        libname=conftest
16164
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
16165
 
        allow_undefined_flag_F77=
16166
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16167
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16168
 
  ac_status=$?
16169
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16170
 
  (exit $ac_status); }
16171
 
        then
16172
 
          archive_cmds_need_lc_F77=no
16173
 
        else
16174
 
          archive_cmds_need_lc_F77=yes
16175
 
        fi
16176
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
16177
 
      else
16178
 
        cat conftest.err 1>&5
16179
 
      fi
16180
 
      $rm conftest*
16181
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16182
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
16183
 
      ;;
16184
 
    esac
16185
 
  fi
16186
 
  ;;
16187
 
esac
16188
 
 
16189
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16190
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16191
 
library_names_spec=
16192
 
libname_spec='lib$name'
16193
 
soname_spec=
16194
 
shrext_cmds=".so"
16195
 
postinstall_cmds=
16196
 
postuninstall_cmds=
16197
 
finish_cmds=
16198
 
finish_eval=
16199
 
shlibpath_var=
16200
 
shlibpath_overrides_runpath=unknown
16201
 
version_type=none
16202
 
dynamic_linker="$host_os ld.so"
16203
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
16204
 
if test "$GCC" = yes; then
16205
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16206
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16207
 
    # if the path contains ";" then we assume it to be the separator
16208
 
    # otherwise default to the standard path separator (i.e. ":") - it is
16209
 
    # assumed that no part of a normal pathname contains ";" but that should
16210
 
    # okay in the real world where ";" in dirpaths is itself problematic.
16211
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16212
 
  else
16213
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
16214
 
  fi
16215
 
else
16216
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16217
 
fi
16218
 
need_lib_prefix=unknown
16219
 
hardcode_into_libs=no
16220
 
 
16221
 
# when you set need_version to no, make sure it does not cause -set_version
16222
 
# flags to be left without arguments
16223
 
need_version=unknown
16224
 
 
16225
 
case $host_os in
16226
 
aix3*)
16227
 
  version_type=linux
16228
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16229
 
  shlibpath_var=LIBPATH
16230
 
 
16231
 
  # AIX 3 has no versioning support, so we append a major version to the name.
16232
 
  soname_spec='${libname}${release}${shared_ext}$major'
16233
 
  ;;
16234
 
 
16235
 
aix4* | aix5*)
16236
 
  version_type=linux
16237
 
  need_lib_prefix=no
16238
 
  need_version=no
16239
 
  hardcode_into_libs=yes
16240
 
  if test "$host_cpu" = ia64; then
16241
 
    # AIX 5 supports IA64
16242
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16243
 
    shlibpath_var=LD_LIBRARY_PATH
16244
 
  else
16245
 
    # With GCC up to 2.95.x, collect2 would create an import file
16246
 
    # for dependence libraries.  The import file would start with
16247
 
    # the line `#! .'.  This would cause the generated library to
16248
 
    # depend on `.', always an invalid library.  This was fixed in
16249
 
    # development snapshots of GCC prior to 3.0.
16250
 
    case $host_os in
16251
 
      aix4 | aix4.[01] | aix4.[01].*)
16252
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16253
 
           echo ' yes '
16254
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16255
 
        :
16256
 
      else
16257
 
        can_build_shared=no
16258
 
      fi
16259
 
      ;;
16260
 
    esac
16261
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16262
 
    # soname into executable. Probably we can add versioning support to
16263
 
    # collect2, so additional links can be useful in future.
16264
 
    if test "$aix_use_runtimelinking" = yes; then
16265
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16266
 
      # instead of lib<name>.a to let people know that these are not
16267
 
      # typical AIX shared libraries.
16268
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16269
 
    else
16270
 
      # We preserve .a as extension for shared libraries through AIX4.2
16271
 
      # and later when we are not doing run time linking.
16272
 
      library_names_spec='${libname}${release}.a $libname.a'
16273
 
      soname_spec='${libname}${release}${shared_ext}$major'
16274
 
    fi
16275
 
    shlibpath_var=LIBPATH
16276
 
  fi
16277
 
  ;;
16278
 
 
16279
 
amigaos*)
16280
 
  library_names_spec='$libname.ixlibrary $libname.a'
16281
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
16282
 
  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'
16283
 
  ;;
16284
 
 
16285
 
beos*)
16286
 
  library_names_spec='${libname}${shared_ext}'
16287
 
  dynamic_linker="$host_os ld.so"
16288
 
  shlibpath_var=LIBRARY_PATH
16289
 
  ;;
16290
 
 
16291
 
bsdi[45]*)
16292
 
  version_type=linux
16293
 
  need_version=no
16294
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16295
 
  soname_spec='${libname}${release}${shared_ext}$major'
16296
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16297
 
  shlibpath_var=LD_LIBRARY_PATH
16298
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16299
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16300
 
  # the default ld.so.conf also contains /usr/contrib/lib and
16301
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16302
 
  # libtool to hard-code these into programs
16303
 
  ;;
16304
 
 
16305
 
cygwin* | mingw* | pw32*)
16306
 
  version_type=windows
16307
 
  shrext_cmds=".dll"
16308
 
  need_version=no
16309
 
  need_lib_prefix=no
16310
 
 
16311
 
  case $GCC,$host_os in
16312
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
16313
 
    library_names_spec='$libname.dll.a'
16314
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16315
 
    postinstall_cmds='base_file=`basename \${file}`~
16316
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16317
 
      dldir=$destdir/`dirname \$dlpath`~
16318
 
      test -d \$dldir || mkdir -p \$dldir~
16319
 
      $install_prog $dir/$dlname \$dldir/$dlname~
16320
 
      chmod a+x \$dldir/$dlname'
16321
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16322
 
      dlpath=$dir/\$dldll~
16323
 
       $rm \$dlpath'
16324
 
    shlibpath_overrides_runpath=yes
16325
 
 
16326
 
    case $host_os in
16327
 
    cygwin*)
16328
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16329
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16330
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16331
 
      ;;
16332
 
    mingw*)
16333
 
      # MinGW DLLs use traditional 'lib' prefix
16334
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16335
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16336
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16337
 
        # It is most probably a Windows format PATH printed by
16338
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
16339
 
        # path with ; separators, and with drive letters. We can handle the
16340
 
        # drive letters (cygwin fileutils understands them), so leave them,
16341
 
        # especially as we might pass files found there to a mingw objdump,
16342
 
        # which wouldn't understand a cygwinified path. Ahh.
16343
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16344
 
      else
16345
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
16346
 
      fi
16347
 
      ;;
16348
 
    pw32*)
16349
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
16350
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16351
 
      ;;
16352
 
    esac
16353
 
    ;;
16354
 
 
16355
 
  *)
16356
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16357
 
    ;;
16358
 
  esac
16359
 
  dynamic_linker='Win32 ld.exe'
16360
 
  # FIXME: first we should search . and the directory the executable is in
16361
 
  shlibpath_var=PATH
16362
 
  ;;
16363
 
 
16364
 
darwin* | rhapsody*)
16365
 
  dynamic_linker="$host_os dyld"
16366
 
  version_type=darwin
16367
 
  need_lib_prefix=no
16368
 
  need_version=no
16369
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16370
 
  soname_spec='${libname}${release}${major}$shared_ext'
16371
 
  shlibpath_overrides_runpath=yes
16372
 
  shlibpath_var=DYLD_LIBRARY_PATH
16373
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16374
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16375
 
  if test "$GCC" = yes; then
16376
 
    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"`
16377
 
  else
16378
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
16379
 
  fi
16380
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16381
 
  ;;
16382
 
 
16383
 
dgux*)
16384
 
  version_type=linux
16385
 
  need_lib_prefix=no
16386
 
  need_version=no
16387
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16388
 
  soname_spec='${libname}${release}${shared_ext}$major'
16389
 
  shlibpath_var=LD_LIBRARY_PATH
16390
 
  ;;
16391
 
 
16392
 
freebsd1*)
16393
 
  dynamic_linker=no
16394
 
  ;;
16395
 
 
16396
 
kfreebsd*-gnu)
16397
 
  version_type=linux
16398
 
  need_lib_prefix=no
16399
 
  need_version=no
16400
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16401
 
  soname_spec='${libname}${release}${shared_ext}$major'
16402
 
  shlibpath_var=LD_LIBRARY_PATH
16403
 
  shlibpath_overrides_runpath=no
16404
 
  hardcode_into_libs=yes
16405
 
  dynamic_linker='GNU ld.so'
16406
 
  ;;
16407
 
 
16408
 
freebsd* | dragonfly*)
16409
 
  # DragonFly does not have aout.  When/if they implement a new
16410
 
  # versioning mechanism, adjust this.
16411
 
  if test -x /usr/bin/objformat; then
16412
 
    objformat=`/usr/bin/objformat`
16413
 
  else
16414
 
    case $host_os in
16415
 
    freebsd[123]*) objformat=aout ;;
16416
 
    *) objformat=elf ;;
16417
 
    esac
16418
 
  fi
16419
 
  version_type=freebsd-$objformat
16420
 
  case $version_type in
16421
 
    freebsd-elf*)
16422
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16423
 
      need_version=no
16424
 
      need_lib_prefix=no
16425
 
      ;;
16426
 
    freebsd-*)
16427
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16428
 
      need_version=yes
16429
 
      ;;
16430
 
  esac
16431
 
  shlibpath_var=LD_LIBRARY_PATH
16432
 
  case $host_os in
16433
 
  freebsd2*)
16434
 
    shlibpath_overrides_runpath=yes
16435
 
    ;;
16436
 
  freebsd3.[01]* | freebsdelf3.[01]*)
16437
 
    shlibpath_overrides_runpath=yes
16438
 
    hardcode_into_libs=yes
16439
 
    ;;
16440
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16441
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16442
 
    shlibpath_overrides_runpath=no
16443
 
    hardcode_into_libs=yes
16444
 
    ;;
16445
 
  freebsd*) # from 4.6 on
16446
 
    shlibpath_overrides_runpath=yes
16447
 
    hardcode_into_libs=yes
16448
 
    ;;
16449
 
  esac
16450
 
  ;;
16451
 
 
16452
 
gnu*)
16453
 
  version_type=linux
16454
 
  need_lib_prefix=no
16455
 
  need_version=no
16456
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16457
 
  soname_spec='${libname}${release}${shared_ext}$major'
16458
 
  shlibpath_var=LD_LIBRARY_PATH
16459
 
  hardcode_into_libs=yes
16460
 
  ;;
16461
 
 
16462
 
hpux9* | hpux10* | hpux11*)
16463
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
16464
 
  # link against other versions.
16465
 
  version_type=sunos
16466
 
  need_lib_prefix=no
16467
 
  need_version=no
16468
 
  case $host_cpu in
16469
 
  ia64*)
16470
 
    shrext_cmds='.so'
16471
 
    hardcode_into_libs=yes
16472
 
    dynamic_linker="$host_os dld.so"
16473
 
    shlibpath_var=LD_LIBRARY_PATH
16474
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16475
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16476
 
    soname_spec='${libname}${release}${shared_ext}$major'
16477
 
    if test "X$HPUX_IA64_MODE" = X32; then
16478
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16479
 
    else
16480
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16481
 
    fi
16482
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16483
 
    ;;
16484
 
   hppa*64*)
16485
 
     shrext_cmds='.sl'
16486
 
     hardcode_into_libs=yes
16487
 
     dynamic_linker="$host_os dld.sl"
16488
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16489
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16490
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16491
 
     soname_spec='${libname}${release}${shared_ext}$major'
16492
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16493
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16494
 
     ;;
16495
 
   *)
16496
 
    shrext_cmds='.sl'
16497
 
    dynamic_linker="$host_os dld.sl"
16498
 
    shlibpath_var=SHLIB_PATH
16499
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16500
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16501
 
    soname_spec='${libname}${release}${shared_ext}$major'
16502
 
    ;;
16503
 
  esac
16504
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
16505
 
  postinstall_cmds='chmod 555 $lib'
16506
 
  ;;
16507
 
 
16508
 
interix3*)
16509
 
  version_type=linux
16510
 
  need_lib_prefix=no
16511
 
  need_version=no
16512
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16513
 
  soname_spec='${libname}${release}${shared_ext}$major'
16514
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16515
 
  shlibpath_var=LD_LIBRARY_PATH
16516
 
  shlibpath_overrides_runpath=no
16517
 
  hardcode_into_libs=yes
16518
 
  ;;
16519
 
 
16520
 
irix5* | irix6* | nonstopux*)
16521
 
  case $host_os in
16522
 
    nonstopux*) version_type=nonstopux ;;
16523
 
    *)
16524
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
16525
 
                version_type=linux
16526
 
        else
16527
 
                version_type=irix
16528
 
        fi ;;
16529
 
  esac
16530
 
  need_lib_prefix=no
16531
 
  need_version=no
16532
 
  soname_spec='${libname}${release}${shared_ext}$major'
16533
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16534
 
  case $host_os in
16535
 
  irix5* | nonstopux*)
16536
 
    libsuff= shlibsuff=
16537
 
    ;;
16538
 
  *)
16539
 
    case $LD in # libtool.m4 will add one of these switches to LD
16540
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16541
 
      libsuff= shlibsuff= libmagic=32-bit;;
16542
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16543
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
16544
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16545
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
16546
 
    *) libsuff= shlibsuff= libmagic=never-match;;
16547
 
    esac
16548
 
    ;;
16549
 
  esac
16550
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16551
 
  shlibpath_overrides_runpath=no
16552
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16553
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16554
 
  hardcode_into_libs=yes
16555
 
  ;;
16556
 
 
16557
 
# No shared lib support for Linux oldld, aout, or coff.
16558
 
linux*oldld* | linux*aout* | linux*coff*)
16559
 
  dynamic_linker=no
16560
 
  ;;
16561
 
 
16562
 
# This must be Linux ELF.
16563
 
linux*)
16564
 
  version_type=linux
16565
 
  need_lib_prefix=no
16566
 
  need_version=no
16567
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16568
 
  soname_spec='${libname}${release}${shared_ext}$major'
16569
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16570
 
  shlibpath_var=LD_LIBRARY_PATH
16571
 
  shlibpath_overrides_runpath=no
16572
 
  # This implies no fast_install, which is unacceptable.
16573
 
  # Some rework will be needed to allow for fast_install
16574
 
  # before this can be enabled.
16575
 
  hardcode_into_libs=yes
16576
 
 
16577
 
  # find out which ABI we are using
16578
 
  libsuff=
16579
 
  case "$host_cpu" in
16580
 
  x86_64*|s390x*|powerpc64*)
16581
 
    echo '#line 16581 "configure"' > conftest.$ac_ext
16582
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16583
 
  (eval $ac_compile) 2>&5
16584
 
  ac_status=$?
16585
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16586
 
  (exit $ac_status); }; then
16587
 
      case `/usr/bin/file conftest.$ac_objext` in
16588
 
      *64-bit*)
16589
 
        libsuff=64
16590
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
16591
 
        ;;
16592
 
      esac
16593
 
    fi
16594
 
    rm -rf conftest*
16595
 
    ;;
16596
 
  esac
16597
 
 
16598
 
  # Append ld.so.conf contents to the search path
16599
 
  if test -f /etc/ld.so.conf; then
16600
 
    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' ' '`
16601
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
16602
 
  fi
16603
 
 
16604
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
16605
 
  # powerpc, because MkLinux only supported shared libraries with the
16606
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
16607
 
  # most powerpc-linux boxes support dynamic linking these days and
16608
 
  # people can always --disable-shared, the test was removed, and we
16609
 
  # assume the GNU/Linux dynamic linker is in use.
16610
 
  dynamic_linker='GNU/Linux ld.so'
16611
 
  ;;
16612
 
 
16613
 
knetbsd*-gnu)
16614
 
  version_type=linux
16615
 
  need_lib_prefix=no
16616
 
  need_version=no
16617
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16618
 
  soname_spec='${libname}${release}${shared_ext}$major'
16619
 
  shlibpath_var=LD_LIBRARY_PATH
16620
 
  shlibpath_overrides_runpath=no
16621
 
  hardcode_into_libs=yes
16622
 
  dynamic_linker='GNU ld.so'
16623
 
  ;;
16624
 
 
16625
 
netbsd*)
16626
 
  version_type=sunos
16627
 
  need_lib_prefix=no
16628
 
  need_version=no
16629
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16630
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16631
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16632
 
    dynamic_linker='NetBSD (a.out) ld.so'
16633
 
  else
16634
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16635
 
    soname_spec='${libname}${release}${shared_ext}$major'
16636
 
    dynamic_linker='NetBSD ld.elf_so'
16637
 
  fi
16638
 
  shlibpath_var=LD_LIBRARY_PATH
16639
 
  shlibpath_overrides_runpath=yes
16640
 
  hardcode_into_libs=yes
16641
 
  ;;
16642
 
 
16643
 
newsos6)
16644
 
  version_type=linux
16645
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16646
 
  shlibpath_var=LD_LIBRARY_PATH
16647
 
  shlibpath_overrides_runpath=yes
16648
 
  ;;
16649
 
 
16650
 
nto-qnx*)
16651
 
  version_type=linux
16652
 
  need_lib_prefix=no
16653
 
  need_version=no
16654
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16655
 
  soname_spec='${libname}${release}${shared_ext}$major'
16656
 
  shlibpath_var=LD_LIBRARY_PATH
16657
 
  shlibpath_overrides_runpath=yes
16658
 
  ;;
16659
 
 
16660
 
openbsd*)
16661
 
  version_type=sunos
16662
 
  sys_lib_dlsearch_path_spec="/usr/lib"
16663
 
  need_lib_prefix=no
16664
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16665
 
  case $host_os in
16666
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16667
 
    *)                         need_version=no  ;;
16668
 
  esac
16669
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16670
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16671
 
  shlibpath_var=LD_LIBRARY_PATH
16672
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16673
 
    case $host_os in
16674
 
      openbsd2.[89] | openbsd2.[89].*)
16675
 
        shlibpath_overrides_runpath=no
16676
 
        ;;
16677
 
      *)
16678
 
        shlibpath_overrides_runpath=yes
16679
 
        ;;
16680
 
      esac
16681
 
  else
16682
 
    shlibpath_overrides_runpath=yes
16683
 
  fi
16684
 
  ;;
16685
 
 
16686
 
os2*)
16687
 
  libname_spec='$name'
16688
 
  shrext_cmds=".dll"
16689
 
  need_lib_prefix=no
16690
 
  library_names_spec='$libname${shared_ext} $libname.a'
16691
 
  dynamic_linker='OS/2 ld.exe'
16692
 
  shlibpath_var=LIBPATH
16693
 
  ;;
16694
 
 
16695
 
osf3* | osf4* | osf5*)
16696
 
  version_type=osf
16697
 
  need_lib_prefix=no
16698
 
  need_version=no
16699
 
  soname_spec='${libname}${release}${shared_ext}$major'
16700
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16701
 
  shlibpath_var=LD_LIBRARY_PATH
16702
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16703
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16704
 
  ;;
16705
 
 
16706
 
solaris*)
16707
 
  version_type=linux
16708
 
  need_lib_prefix=no
16709
 
  need_version=no
16710
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16711
 
  soname_spec='${libname}${release}${shared_ext}$major'
16712
 
  shlibpath_var=LD_LIBRARY_PATH
16713
 
  shlibpath_overrides_runpath=yes
16714
 
  hardcode_into_libs=yes
16715
 
  # ldd complains unless libraries are executable
16716
 
  postinstall_cmds='chmod +x $lib'
16717
 
  ;;
16718
 
 
16719
 
sunos4*)
16720
 
  version_type=sunos
16721
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16722
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16723
 
  shlibpath_var=LD_LIBRARY_PATH
16724
 
  shlibpath_overrides_runpath=yes
16725
 
  if test "$with_gnu_ld" = yes; then
16726
 
    need_lib_prefix=no
16727
 
  fi
16728
 
  need_version=yes
16729
 
  ;;
16730
 
 
16731
 
sysv4 | sysv4.3*)
16732
 
  version_type=linux
16733
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16734
 
  soname_spec='${libname}${release}${shared_ext}$major'
16735
 
  shlibpath_var=LD_LIBRARY_PATH
16736
 
  case $host_vendor in
16737
 
    sni)
16738
 
      shlibpath_overrides_runpath=no
16739
 
      need_lib_prefix=no
16740
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
16741
 
      runpath_var=LD_RUN_PATH
16742
 
      ;;
16743
 
    siemens)
16744
 
      need_lib_prefix=no
16745
 
      ;;
16746
 
    motorola)
16747
 
      need_lib_prefix=no
16748
 
      need_version=no
16749
 
      shlibpath_overrides_runpath=no
16750
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16751
 
      ;;
16752
 
  esac
16753
 
  ;;
16754
 
 
16755
 
sysv4*MP*)
16756
 
  if test -d /usr/nec ;then
16757
 
    version_type=linux
16758
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16759
 
    soname_spec='$libname${shared_ext}.$major'
16760
 
    shlibpath_var=LD_LIBRARY_PATH
16761
 
  fi
16762
 
  ;;
16763
 
 
16764
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16765
 
  version_type=freebsd-elf
16766
 
  need_lib_prefix=no
16767
 
  need_version=no
16768
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16769
 
  soname_spec='${libname}${release}${shared_ext}$major'
16770
 
  shlibpath_var=LD_LIBRARY_PATH
16771
 
  hardcode_into_libs=yes
16772
 
  if test "$with_gnu_ld" = yes; then
16773
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16774
 
    shlibpath_overrides_runpath=no
16775
 
  else
16776
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16777
 
    shlibpath_overrides_runpath=yes
16778
 
    case $host_os in
16779
 
      sco3.2v5*)
16780
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16781
 
        ;;
16782
 
    esac
16783
 
  fi
16784
 
  sys_lib_dlsearch_path_spec='/usr/lib'
16785
 
  ;;
16786
 
 
16787
 
uts4*)
16788
 
  version_type=linux
16789
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16790
 
  soname_spec='${libname}${release}${shared_ext}$major'
16791
 
  shlibpath_var=LD_LIBRARY_PATH
16792
 
  ;;
16793
 
 
16794
 
*)
16795
 
  dynamic_linker=no
16796
 
  ;;
16797
 
esac
16798
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16799
 
echo "${ECHO_T}$dynamic_linker" >&6
16800
 
test "$dynamic_linker" = no && can_build_shared=no
16801
 
 
16802
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16803
 
if test "$GCC" = yes; then
16804
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16805
 
fi
16806
 
 
16807
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16808
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16809
 
hardcode_action_F77=
16810
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
16811
 
   test -n "$runpath_var_F77" || \
16812
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
16813
 
 
16814
 
  # We can hardcode non-existant directories.
16815
 
  if test "$hardcode_direct_F77" != no &&
16816
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
16817
 
     # have to relink, otherwise we might link with an installed library
16818
 
     # when we should be linking with a yet-to-be-installed one
16819
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16820
 
     test "$hardcode_minus_L_F77" != no; then
16821
 
    # Linking always hardcodes the temporary library directory.
16822
 
    hardcode_action_F77=relink
16823
 
  else
16824
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
16825
 
    hardcode_action_F77=immediate
16826
 
  fi
16827
 
else
16828
 
  # We cannot hardcode anything, or else we can only hardcode existing
16829
 
  # directories.
16830
 
  hardcode_action_F77=unsupported
16831
 
fi
16832
 
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16833
 
echo "${ECHO_T}$hardcode_action_F77" >&6
16834
 
 
16835
 
if test "$hardcode_action_F77" = relink; then
16836
 
  # Fast installation is not supported
16837
 
  enable_fast_install=no
16838
 
elif test "$shlibpath_overrides_runpath" = yes ||
16839
 
     test "$enable_shared" = no; then
16840
 
  # Fast installation is not necessary
16841
 
  enable_fast_install=needless
16842
 
fi
16843
 
 
16844
 
 
16845
 
# The else clause should only fire when bootstrapping the
16846
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
16847
 
# with your package, and you will get complaints that there are
16848
 
# no rules to generate ltmain.sh.
16849
 
if test -f "$ltmain"; then
16850
 
  # See if we are running on zsh, and set the options which allow our commands through
16851
 
  # without removal of \ escapes.
16852
 
  if test -n "${ZSH_VERSION+set}" ; then
16853
 
    setopt NO_GLOB_SUBST
16854
 
  fi
16855
 
  # Now quote all the things that may contain metacharacters while being
16856
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
16857
 
  # variables and quote the copies for generation of the libtool script.
16858
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16859
 
    SED SHELL STRIP \
16860
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16861
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16862
 
    deplibs_check_method reload_flag reload_cmds need_locks \
16863
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16864
 
    lt_cv_sys_global_symbol_to_c_name_address \
16865
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16866
 
    old_postinstall_cmds old_postuninstall_cmds \
16867
 
    compiler_F77 \
16868
 
    CC_F77 \
16869
 
    LD_F77 \
16870
 
    lt_prog_compiler_wl_F77 \
16871
 
    lt_prog_compiler_pic_F77 \
16872
 
    lt_prog_compiler_static_F77 \
16873
 
    lt_prog_compiler_no_builtin_flag_F77 \
16874
 
    export_dynamic_flag_spec_F77 \
16875
 
    thread_safe_flag_spec_F77 \
16876
 
    whole_archive_flag_spec_F77 \
16877
 
    enable_shared_with_static_runtimes_F77 \
16878
 
    old_archive_cmds_F77 \
16879
 
    old_archive_from_new_cmds_F77 \
16880
 
    predep_objects_F77 \
16881
 
    postdep_objects_F77 \
16882
 
    predeps_F77 \
16883
 
    postdeps_F77 \
16884
 
    compiler_lib_search_path_F77 \
16885
 
    archive_cmds_F77 \
16886
 
    archive_expsym_cmds_F77 \
16887
 
    postinstall_cmds_F77 \
16888
 
    postuninstall_cmds_F77 \
16889
 
    old_archive_from_expsyms_cmds_F77 \
16890
 
    allow_undefined_flag_F77 \
16891
 
    no_undefined_flag_F77 \
16892
 
    export_symbols_cmds_F77 \
16893
 
    hardcode_libdir_flag_spec_F77 \
16894
 
    hardcode_libdir_flag_spec_ld_F77 \
16895
 
    hardcode_libdir_separator_F77 \
16896
 
    hardcode_automatic_F77 \
16897
 
    module_cmds_F77 \
16898
 
    module_expsym_cmds_F77 \
16899
 
    lt_cv_prog_compiler_c_o_F77 \
16900
 
    exclude_expsyms_F77 \
16901
 
    include_expsyms_F77; do
16902
 
 
16903
 
    case $var in
16904
 
    old_archive_cmds_F77 | \
16905
 
    old_archive_from_new_cmds_F77 | \
16906
 
    archive_cmds_F77 | \
16907
 
    archive_expsym_cmds_F77 | \
16908
 
    module_cmds_F77 | \
16909
 
    module_expsym_cmds_F77 | \
16910
 
    old_archive_from_expsyms_cmds_F77 | \
16911
 
    export_symbols_cmds_F77 | \
16912
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
16913
 
    postinstall_cmds | postuninstall_cmds | \
16914
 
    old_postinstall_cmds | old_postuninstall_cmds | \
16915
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16916
 
      # Double-quote double-evaled strings.
16917
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16918
 
      ;;
16919
 
    *)
16920
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16921
 
      ;;
16922
 
    esac
16923
 
  done
16924
 
 
16925
 
  case $lt_echo in
16926
 
  *'\$0 --fallback-echo"')
16927
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16928
 
    ;;
16929
 
  esac
16930
 
 
16931
 
cfgfile="$ofile"
16932
 
 
16933
 
  cat <<__EOF__ >> "$cfgfile"
16934
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
16935
 
 
16936
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16937
 
 
16938
 
# Shell to use when invoking shell scripts.
16939
 
SHELL=$lt_SHELL
16940
 
 
16941
 
# Whether or not to build shared libraries.
16942
 
build_libtool_libs=$enable_shared
16943
 
 
16944
 
# Whether or not to build static libraries.
16945
 
build_old_libs=$enable_static
16946
 
 
16947
 
# Whether or not to add -lc for building shared libraries.
16948
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
16949
 
 
16950
 
# Whether or not to disallow shared libs when runtime libs are static
16951
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16952
 
 
16953
 
# Whether or not to optimize for fast installation.
16954
 
fast_install=$enable_fast_install
16955
 
 
16956
 
# The host system.
16957
 
host_alias=$host_alias
16958
 
host=$host
16959
 
host_os=$host_os
16960
 
 
16961
 
# The build system.
16962
 
build_alias=$build_alias
16963
 
build=$build
16964
 
build_os=$build_os
16965
 
 
16966
 
# An echo program that does not interpret backslashes.
16967
 
echo=$lt_echo
16968
 
 
16969
 
# The archiver.
16970
 
AR=$lt_AR
16971
 
AR_FLAGS=$lt_AR_FLAGS
16972
 
 
16973
 
# A C compiler.
16974
 
LTCC=$lt_LTCC
16975
 
 
16976
 
# LTCC compiler flags.
16977
 
LTCFLAGS=$lt_LTCFLAGS
16978
 
 
16979
 
# A language-specific compiler.
16980
 
CC=$lt_compiler_F77
16981
 
 
16982
 
# Is the compiler the GNU C compiler?
16983
 
with_gcc=$GCC_F77
16984
 
 
16985
 
# An ERE matcher.
16986
 
EGREP=$lt_EGREP
16987
 
 
16988
 
# The linker used to build libraries.
16989
 
LD=$lt_LD_F77
16990
 
 
16991
 
# Whether we need hard or soft links.
16992
 
LN_S=$lt_LN_S
16993
 
 
16994
 
# A BSD-compatible nm program.
16995
 
NM=$lt_NM
16996
 
 
16997
 
# A symbol stripping program
16998
 
STRIP=$lt_STRIP
16999
 
 
17000
 
# Used to examine libraries when file_magic_cmd begins "file"
17001
 
MAGIC_CMD=$MAGIC_CMD
17002
 
 
17003
 
# Used on cygwin: DLL creation program.
17004
 
DLLTOOL="$DLLTOOL"
17005
 
 
17006
 
# Used on cygwin: object dumper.
17007
 
OBJDUMP="$OBJDUMP"
17008
 
 
17009
 
# Used on cygwin: assembler.
17010
 
AS="$AS"
17011
 
 
17012
 
# The name of the directory that contains temporary libtool files.
17013
 
objdir=$objdir
17014
 
 
17015
 
# How to create reloadable object files.
17016
 
reload_flag=$lt_reload_flag
17017
 
reload_cmds=$lt_reload_cmds
17018
 
 
17019
 
# How to pass a linker flag through the compiler.
17020
 
wl=$lt_lt_prog_compiler_wl_F77
17021
 
 
17022
 
# Object file suffix (normally "o").
17023
 
objext="$ac_objext"
17024
 
 
17025
 
# Old archive suffix (normally "a").
17026
 
libext="$libext"
17027
 
 
17028
 
# Shared library suffix (normally ".so").
17029
 
shrext_cmds='$shrext_cmds'
17030
 
 
17031
 
# Executable file suffix (normally "").
17032
 
exeext="$exeext"
17033
 
 
17034
 
# Additional compiler flags for building library objects.
17035
 
pic_flag=$lt_lt_prog_compiler_pic_F77
17036
 
pic_mode=$pic_mode
17037
 
 
17038
 
# What is the maximum length of a command?
17039
 
max_cmd_len=$lt_cv_sys_max_cmd_len
17040
 
 
17041
 
# Does compiler simultaneously support -c and -o options?
17042
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
17043
 
 
17044
 
# Must we lock files when doing compilation?
17045
 
need_locks=$lt_need_locks
17046
 
 
17047
 
# Do we need the lib prefix for modules?
17048
 
need_lib_prefix=$need_lib_prefix
17049
 
 
17050
 
# Do we need a version for libraries?
17051
 
need_version=$need_version
17052
 
 
17053
 
# Whether dlopen is supported.
17054
 
dlopen_support=$enable_dlopen
17055
 
 
17056
 
# Whether dlopen of programs is supported.
17057
 
dlopen_self=$enable_dlopen_self
17058
 
 
17059
 
# Whether dlopen of statically linked programs is supported.
17060
 
dlopen_self_static=$enable_dlopen_self_static
17061
 
 
17062
 
# Compiler flag to prevent dynamic linking.
17063
 
link_static_flag=$lt_lt_prog_compiler_static_F77
17064
 
 
17065
 
# Compiler flag to turn off builtin functions.
17066
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
17067
 
 
17068
 
# Compiler flag to allow reflexive dlopens.
17069
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
17070
 
 
17071
 
# Compiler flag to generate shared objects directly from archives.
17072
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
17073
 
 
17074
 
# Compiler flag to generate thread-safe objects.
17075
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
17076
 
 
17077
 
# Library versioning type.
17078
 
version_type=$version_type
17079
 
 
17080
 
# Format of library name prefix.
17081
 
libname_spec=$lt_libname_spec
17082
 
 
17083
 
# List of archive names.  First name is the real one, the rest are links.
17084
 
# The last name is the one that the linker finds with -lNAME.
17085
 
library_names_spec=$lt_library_names_spec
17086
 
 
17087
 
# The coded name of the library, if different from the real name.
17088
 
soname_spec=$lt_soname_spec
17089
 
 
17090
 
# Commands used to build and install an old-style archive.
17091
 
RANLIB=$lt_RANLIB
17092
 
old_archive_cmds=$lt_old_archive_cmds_F77
17093
 
old_postinstall_cmds=$lt_old_postinstall_cmds
17094
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17095
 
 
17096
 
# Create an old-style archive from a shared archive.
17097
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
17098
 
 
17099
 
# Create a temporary old-style archive to link instead of a shared archive.
17100
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
17101
 
 
17102
 
# Commands used to build and install a shared archive.
17103
 
archive_cmds=$lt_archive_cmds_F77
17104
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
17105
 
postinstall_cmds=$lt_postinstall_cmds
17106
 
postuninstall_cmds=$lt_postuninstall_cmds
17107
 
 
17108
 
# Commands used to build a loadable module (assumed same as above if empty)
17109
 
module_cmds=$lt_module_cmds_F77
17110
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
17111
 
 
17112
 
# Commands to strip libraries.
17113
 
old_striplib=$lt_old_striplib
17114
 
striplib=$lt_striplib
17115
 
 
17116
 
# Dependencies to place before the objects being linked to create a
17117
 
# shared library.
17118
 
predep_objects=$lt_predep_objects_F77
17119
 
 
17120
 
# Dependencies to place after the objects being linked to create a
17121
 
# shared library.
17122
 
postdep_objects=$lt_postdep_objects_F77
17123
 
 
17124
 
# Dependencies to place before the objects being linked to create a
17125
 
# shared library.
17126
 
predeps=$lt_predeps_F77
17127
 
 
17128
 
# Dependencies to place after the objects being linked to create a
17129
 
# shared library.
17130
 
postdeps=$lt_postdeps_F77
17131
 
 
17132
 
# The library search path used internally by the compiler when linking
17133
 
# a shared library.
17134
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
17135
 
 
17136
 
# Method to check whether dependent libraries are shared objects.
17137
 
deplibs_check_method=$lt_deplibs_check_method
17138
 
 
17139
 
# Command to use when deplibs_check_method == file_magic.
17140
 
file_magic_cmd=$lt_file_magic_cmd
17141
 
 
17142
 
# Flag that allows shared libraries with undefined symbols to be built.
17143
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
17144
 
 
17145
 
# Flag that forces no undefined symbols.
17146
 
no_undefined_flag=$lt_no_undefined_flag_F77
17147
 
 
17148
 
# Commands used to finish a libtool library installation in a directory.
17149
 
finish_cmds=$lt_finish_cmds
17150
 
 
17151
 
# Same as above, but a single script fragment to be evaled but not shown.
17152
 
finish_eval=$lt_finish_eval
17153
 
 
17154
 
# Take the output of nm and produce a listing of raw symbols and C names.
17155
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17156
 
 
17157
 
# Transform the output of nm in a proper C declaration
17158
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17159
 
 
17160
 
# Transform the output of nm in a C name address pair
17161
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17162
 
 
17163
 
# This is the shared library runtime path variable.
17164
 
runpath_var=$runpath_var
17165
 
 
17166
 
# This is the shared library path variable.
17167
 
shlibpath_var=$shlibpath_var
17168
 
 
17169
 
# Is shlibpath searched before the hard-coded library search path?
17170
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17171
 
 
17172
 
# How to hardcode a shared library path into an executable.
17173
 
hardcode_action=$hardcode_action_F77
17174
 
 
17175
 
# Whether we should hardcode library paths into libraries.
17176
 
hardcode_into_libs=$hardcode_into_libs
17177
 
 
17178
 
# Flag to hardcode \$libdir into a binary during linking.
17179
 
# This must work even if \$libdir does not exist.
17180
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
17181
 
 
17182
 
# If ld is used when linking, flag to hardcode \$libdir into
17183
 
# a binary during linking. This must work even if \$libdir does
17184
 
# not exist.
17185
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
17186
 
 
17187
 
# Whether we need a single -rpath flag with a separated argument.
17188
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
17189
 
 
17190
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17191
 
# resulting binary.
17192
 
hardcode_direct=$hardcode_direct_F77
17193
 
 
17194
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17195
 
# resulting binary.
17196
 
hardcode_minus_L=$hardcode_minus_L_F77
17197
 
 
17198
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17199
 
# the resulting binary.
17200
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
17201
 
 
17202
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
17203
 
# and all subsequent libraries and executables linked against it.
17204
 
hardcode_automatic=$hardcode_automatic_F77
17205
 
 
17206
 
# Variables whose values should be saved in libtool wrapper scripts and
17207
 
# restored at relink time.
17208
 
variables_saved_for_relink="$variables_saved_for_relink"
17209
 
 
17210
 
# Whether libtool must link a program against all its dependency libraries.
17211
 
link_all_deplibs=$link_all_deplibs_F77
17212
 
 
17213
 
# Compile-time system search path for libraries
17214
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17215
 
 
17216
 
# Run-time system search path for libraries
17217
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17218
 
 
17219
 
# Fix the shell variable \$srcfile for the compiler.
17220
 
fix_srcfile_path="$fix_srcfile_path_F77"
17221
 
 
17222
 
# Set to yes if exported symbols are required.
17223
 
always_export_symbols=$always_export_symbols_F77
17224
 
 
17225
 
# The commands to list exported symbols.
17226
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
17227
 
 
17228
 
# The commands to extract the exported symbol list from a shared archive.
17229
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17230
 
 
17231
 
# Symbols that should not be listed in the preloaded symbols.
17232
 
exclude_expsyms=$lt_exclude_expsyms_F77
17233
 
 
17234
 
# Symbols that must always be exported.
17235
 
include_expsyms=$lt_include_expsyms_F77
17236
 
 
17237
 
# ### END LIBTOOL TAG CONFIG: $tagname
17238
 
 
17239
 
__EOF__
17240
 
 
17241
 
 
17242
 
else
17243
 
  # If there is no Makefile yet, we rely on a make rule to execute
17244
 
  # `config.status --recheck' to rerun these tests and create the
17245
 
  # libtool script then.
17246
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17247
 
  if test -f "$ltmain_in"; then
17248
 
    test -f Makefile && make "$ltmain"
17249
 
  fi
17250
 
fi
17251
 
 
17252
 
 
17253
 
ac_ext=c
17254
 
ac_cpp='$CPP $CPPFLAGS'
17255
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17256
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17257
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
17258
 
 
17259
 
CC="$lt_save_CC"
17260
 
 
17261
 
        else
17262
 
          tagname=""
17263
 
        fi
17264
 
        ;;
17265
 
 
17266
 
      GCJ)
17267
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17268
 
 
17269
 
 
17270
 
 
17271
 
# Source file extension for Java test sources.
17272
 
ac_ext=java
17273
 
 
17274
 
# Object file extension for compiled Java test sources.
17275
 
objext=o
17276
 
objext_GCJ=$objext
17277
 
 
17278
 
# Code to be used in simple compile tests
17279
 
lt_simple_compile_test_code="class foo {}\n"
17280
 
 
17281
 
# Code to be used in simple link tests
17282
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
17283
 
 
17284
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
17285
 
 
17286
 
# If no C compiler was specified, use CC.
17287
 
LTCC=${LTCC-"$CC"}
17288
 
 
17289
 
# If no C compiler flags were specified, use CFLAGS.
17290
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17291
 
 
17292
 
# Allow CC to be a program name with arguments.
17293
 
compiler=$CC
17294
 
 
17295
 
 
17296
 
# save warnings/boilerplate of simple test code
17297
 
ac_outfile=conftest.$ac_objext
17298
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
17299
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17300
 
_lt_compiler_boilerplate=`cat conftest.err`
17301
 
$rm conftest*
17302
 
 
17303
 
ac_outfile=conftest.$ac_objext
17304
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
17305
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17306
 
_lt_linker_boilerplate=`cat conftest.err`
17307
 
$rm conftest*
17308
 
 
17309
 
 
17310
 
# Allow CC to be a program name with arguments.
17311
 
lt_save_CC="$CC"
17312
 
CC=${GCJ-"gcj"}
17313
 
compiler=$CC
17314
 
compiler_GCJ=$CC
17315
 
for cc_temp in $compiler""; do
17316
 
  case $cc_temp in
17317
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17318
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17319
 
    \-*) ;;
17320
 
    *) break;;
17321
 
  esac
17322
 
done
17323
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17324
 
 
17325
 
 
17326
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
17327
 
archive_cmds_need_lc_GCJ=no
17328
 
 
17329
 
old_archive_cmds_GCJ=$old_archive_cmds
17330
 
 
17331
 
 
17332
 
lt_prog_compiler_no_builtin_flag_GCJ=
17333
 
 
17334
 
if test "$GCC" = yes; then
17335
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
17336
 
 
17337
 
 
17338
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17339
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
17340
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17341
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17342
 
else
17343
 
  lt_cv_prog_compiler_rtti_exceptions=no
17344
 
  ac_outfile=conftest.$ac_objext
17345
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17346
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
17347
 
   # Insert the option either (1) after the last *FLAGS variable, or
17348
 
   # (2) before a word containing "conftest.", or (3) at the end.
17349
 
   # Note that $ac_compile itself does not contain backslashes and begins
17350
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17351
 
   # The option is referenced via a variable to avoid confusing sed.
17352
 
   lt_compile=`echo "$ac_compile" | $SED \
17353
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17354
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17355
 
   -e 's:$: $lt_compiler_flag:'`
17356
 
   (eval echo "\"\$as_me:17356: $lt_compile\"" >&5)
17357
 
   (eval "$lt_compile" 2>conftest.err)
17358
 
   ac_status=$?
17359
 
   cat conftest.err >&5
17360
 
   echo "$as_me:17360: \$? = $ac_status" >&5
17361
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
17362
 
     # The compiler can only warn and ignore the option if not recognized
17363
 
     # So say no if there are warnings other than the usual output.
17364
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17365
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17366
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17367
 
       lt_cv_prog_compiler_rtti_exceptions=yes
17368
 
     fi
17369
 
   fi
17370
 
   $rm conftest*
17371
 
 
17372
 
fi
17373
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17374
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
17375
 
 
17376
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
17377
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17378
 
else
17379
 
    :
17380
 
fi
17381
 
 
17382
 
fi
17383
 
 
17384
 
lt_prog_compiler_wl_GCJ=
17385
 
lt_prog_compiler_pic_GCJ=
17386
 
lt_prog_compiler_static_GCJ=
17387
 
 
17388
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17389
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17390
 
 
17391
 
  if test "$GCC" = yes; then
17392
 
    lt_prog_compiler_wl_GCJ='-Wl,'
17393
 
    lt_prog_compiler_static_GCJ='-static'
17394
 
 
17395
 
    case $host_os in
17396
 
      aix*)
17397
 
      # All AIX code is PIC.
17398
 
      if test "$host_cpu" = ia64; then
17399
 
        # AIX 5 now supports IA64 processor
17400
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17401
 
      fi
17402
 
      ;;
17403
 
 
17404
 
    amigaos*)
17405
 
      # FIXME: we need at least 68020 code to build shared libraries, but
17406
 
      # adding the `-m68020' flag to GCC prevents building anything better,
17407
 
      # like `-m68040'.
17408
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
17409
 
      ;;
17410
 
 
17411
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17412
 
      # PIC is the default for these OSes.
17413
 
      ;;
17414
 
 
17415
 
    mingw* | pw32* | os2*)
17416
 
      # This hack is so that the source file can tell whether it is being
17417
 
      # built for inclusion in a dll (and should export symbols for example).
17418
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
17419
 
      ;;
17420
 
 
17421
 
    darwin* | rhapsody*)
17422
 
      # PIC is the default on this platform
17423
 
      # Common symbols not allowed in MH_DYLIB files
17424
 
      lt_prog_compiler_pic_GCJ='-fno-common'
17425
 
      ;;
17426
 
 
17427
 
    interix3*)
17428
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17429
 
      # Instead, we relocate shared libraries at runtime.
17430
 
      ;;
17431
 
 
17432
 
    msdosdjgpp*)
17433
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
17434
 
      # on systems that don't support them.
17435
 
      lt_prog_compiler_can_build_shared_GCJ=no
17436
 
      enable_shared=no
17437
 
      ;;
17438
 
 
17439
 
    sysv4*MP*)
17440
 
      if test -d /usr/nec; then
17441
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
17442
 
      fi
17443
 
      ;;
17444
 
 
17445
 
    hpux*)
17446
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17447
 
      # not for PA HP-UX.
17448
 
      case $host_cpu in
17449
 
      hppa*64*|ia64*)
17450
 
        # +Z the default
17451
 
        ;;
17452
 
      *)
17453
 
        lt_prog_compiler_pic_GCJ='-fPIC'
17454
 
        ;;
17455
 
      esac
17456
 
      ;;
17457
 
 
17458
 
    *)
17459
 
      lt_prog_compiler_pic_GCJ='-fPIC'
17460
 
      ;;
17461
 
    esac
17462
 
  else
17463
 
    # PORTME Check for flag to pass linker flags through the system compiler.
17464
 
    case $host_os in
17465
 
    aix*)
17466
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17467
 
      if test "$host_cpu" = ia64; then
17468
 
        # AIX 5 now supports IA64 processor
17469
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17470
 
      else
17471
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
17472
 
      fi
17473
 
      ;;
17474
 
      darwin*)
17475
 
        # PIC is the default on this platform
17476
 
        # Common symbols not allowed in MH_DYLIB files
17477
 
       case $cc_basename in
17478
 
         xlc*)
17479
 
         lt_prog_compiler_pic_GCJ='-qnocommon'
17480
 
         lt_prog_compiler_wl_GCJ='-Wl,'
17481
 
         ;;
17482
 
       esac
17483
 
       ;;
17484
 
 
17485
 
    mingw* | pw32* | os2*)
17486
 
      # This hack is so that the source file can tell whether it is being
17487
 
      # built for inclusion in a dll (and should export symbols for example).
17488
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
17489
 
      ;;
17490
 
 
17491
 
    hpux9* | hpux10* | hpux11*)
17492
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17493
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17494
 
      # not for PA HP-UX.
17495
 
      case $host_cpu in
17496
 
      hppa*64*|ia64*)
17497
 
        # +Z the default
17498
 
        ;;
17499
 
      *)
17500
 
        lt_prog_compiler_pic_GCJ='+Z'
17501
 
        ;;
17502
 
      esac
17503
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
17504
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
17505
 
      ;;
17506
 
 
17507
 
    irix5* | irix6* | nonstopux*)
17508
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17509
 
      # PIC (with -KPIC) is the default.
17510
 
      lt_prog_compiler_static_GCJ='-non_shared'
17511
 
      ;;
17512
 
 
17513
 
    newsos6)
17514
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17515
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17516
 
      ;;
17517
 
 
17518
 
    linux*)
17519
 
      case $cc_basename in
17520
 
      icc* | ecc*)
17521
 
        lt_prog_compiler_wl_GCJ='-Wl,'
17522
 
        lt_prog_compiler_pic_GCJ='-KPIC'
17523
 
        lt_prog_compiler_static_GCJ='-static'
17524
 
        ;;
17525
 
      pgcc* | pgf77* | pgf90* | pgf95*)
17526
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
17527
 
        # which looks to be a dead project)
17528
 
        lt_prog_compiler_wl_GCJ='-Wl,'
17529
 
        lt_prog_compiler_pic_GCJ='-fpic'
17530
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17531
 
        ;;
17532
 
      ccc*)
17533
 
        lt_prog_compiler_wl_GCJ='-Wl,'
17534
 
        # All Alpha code is PIC.
17535
 
        lt_prog_compiler_static_GCJ='-non_shared'
17536
 
        ;;
17537
 
      esac
17538
 
      ;;
17539
 
 
17540
 
    osf3* | osf4* | osf5*)
17541
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17542
 
      # All OSF/1 code is PIC.
17543
 
      lt_prog_compiler_static_GCJ='-non_shared'
17544
 
      ;;
17545
 
 
17546
 
    solaris*)
17547
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17548
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17549
 
      case $cc_basename in
17550
 
      f77* | f90* | f95*)
17551
 
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
17552
 
      *)
17553
 
        lt_prog_compiler_wl_GCJ='-Wl,';;
17554
 
      esac
17555
 
      ;;
17556
 
 
17557
 
    sunos4*)
17558
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
17559
 
      lt_prog_compiler_pic_GCJ='-PIC'
17560
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17561
 
      ;;
17562
 
 
17563
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
17564
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17565
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17566
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17567
 
      ;;
17568
 
 
17569
 
    sysv4*MP*)
17570
 
      if test -d /usr/nec ;then
17571
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
17572
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17573
 
      fi
17574
 
      ;;
17575
 
 
17576
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17577
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17578
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17579
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17580
 
      ;;
17581
 
 
17582
 
    unicos*)
17583
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17584
 
      lt_prog_compiler_can_build_shared_GCJ=no
17585
 
      ;;
17586
 
 
17587
 
    uts4*)
17588
 
      lt_prog_compiler_pic_GCJ='-pic'
17589
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17590
 
      ;;
17591
 
 
17592
 
    *)
17593
 
      lt_prog_compiler_can_build_shared_GCJ=no
17594
 
      ;;
17595
 
    esac
17596
 
  fi
17597
 
 
17598
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17599
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
17600
 
 
17601
 
#
17602
 
# Check to make sure the PIC flag actually works.
17603
 
#
17604
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
17605
 
 
17606
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17607
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
17608
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
17609
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17610
 
else
17611
 
  lt_prog_compiler_pic_works_GCJ=no
17612
 
  ac_outfile=conftest.$ac_objext
17613
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17614
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
17615
 
   # Insert the option either (1) after the last *FLAGS variable, or
17616
 
   # (2) before a word containing "conftest.", or (3) at the end.
17617
 
   # Note that $ac_compile itself does not contain backslashes and begins
17618
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17619
 
   # The option is referenced via a variable to avoid confusing sed.
17620
 
   lt_compile=`echo "$ac_compile" | $SED \
17621
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17622
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17623
 
   -e 's:$: $lt_compiler_flag:'`
17624
 
   (eval echo "\"\$as_me:17624: $lt_compile\"" >&5)
17625
 
   (eval "$lt_compile" 2>conftest.err)
17626
 
   ac_status=$?
17627
 
   cat conftest.err >&5
17628
 
   echo "$as_me:17628: \$? = $ac_status" >&5
17629
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
17630
 
     # The compiler can only warn and ignore the option if not recognized
17631
 
     # So say no if there are warnings other than the usual output.
17632
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17633
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17634
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17635
 
       lt_prog_compiler_pic_works_GCJ=yes
17636
 
     fi
17637
 
   fi
17638
 
   $rm conftest*
17639
 
 
17640
 
fi
17641
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
17642
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
17643
 
 
17644
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
17645
 
    case $lt_prog_compiler_pic_GCJ in
17646
 
     "" | " "*) ;;
17647
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
17648
 
     esac
17649
 
else
17650
 
    lt_prog_compiler_pic_GCJ=
17651
 
     lt_prog_compiler_can_build_shared_GCJ=no
17652
 
fi
17653
 
 
17654
 
fi
17655
 
case $host_os in
17656
 
  # For platforms which do not support PIC, -DPIC is meaningless:
17657
 
  *djgpp*)
17658
 
    lt_prog_compiler_pic_GCJ=
17659
 
    ;;
17660
 
  *)
17661
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
17662
 
    ;;
17663
 
esac
17664
 
 
17665
 
#
17666
 
# Check to make sure the static flag actually works.
17667
 
#
17668
 
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
17669
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17670
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
17671
 
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
17672
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17673
 
else
17674
 
  lt_prog_compiler_static_works_GCJ=no
17675
 
   save_LDFLAGS="$LDFLAGS"
17676
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17677
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
17678
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17679
 
     # The linker can only warn and ignore the option if not recognized
17680
 
     # So say no if there are warnings
17681
 
     if test -s conftest.err; then
17682
 
       # Append any errors to the config.log.
17683
 
       cat conftest.err 1>&5
17684
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17685
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17686
 
       if diff conftest.exp conftest.er2 >/dev/null; then
17687
 
         lt_prog_compiler_static_works_GCJ=yes
17688
 
       fi
17689
 
     else
17690
 
       lt_prog_compiler_static_works_GCJ=yes
17691
 
     fi
17692
 
   fi
17693
 
   $rm conftest*
17694
 
   LDFLAGS="$save_LDFLAGS"
17695
 
 
17696
 
fi
17697
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
17698
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
17699
 
 
17700
 
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
17701
 
    :
17702
 
else
17703
 
    lt_prog_compiler_static_GCJ=
17704
 
fi
17705
 
 
17706
 
 
17707
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17708
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
17709
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17710
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17711
 
else
17712
 
  lt_cv_prog_compiler_c_o_GCJ=no
17713
 
   $rm -r conftest 2>/dev/null
17714
 
   mkdir conftest
17715
 
   cd conftest
17716
 
   mkdir out
17717
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17718
 
 
17719
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
17720
 
   # Insert the option either (1) after the last *FLAGS variable, or
17721
 
   # (2) before a word containing "conftest.", or (3) at the end.
17722
 
   # Note that $ac_compile itself does not contain backslashes and begins
17723
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17724
 
   lt_compile=`echo "$ac_compile" | $SED \
17725
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17726
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17727
 
   -e 's:$: $lt_compiler_flag:'`
17728
 
   (eval echo "\"\$as_me:17728: $lt_compile\"" >&5)
17729
 
   (eval "$lt_compile" 2>out/conftest.err)
17730
 
   ac_status=$?
17731
 
   cat out/conftest.err >&5
17732
 
   echo "$as_me:17732: \$? = $ac_status" >&5
17733
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17734
 
   then
17735
 
     # The compiler can only warn and ignore the option if not recognized
17736
 
     # So say no if there are warnings
17737
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17738
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17739
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17740
 
       lt_cv_prog_compiler_c_o_GCJ=yes
17741
 
     fi
17742
 
   fi
17743
 
   chmod u+w . 2>&5
17744
 
   $rm conftest*
17745
 
   # SGI C++ compiler will create directory out/ii_files/ for
17746
 
   # template instantiation
17747
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
17748
 
   $rm out/* && rmdir out
17749
 
   cd ..
17750
 
   rmdir conftest
17751
 
   $rm conftest*
17752
 
 
17753
 
fi
17754
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17755
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
17756
 
 
17757
 
 
17758
 
hard_links="nottested"
17759
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
17760
 
  # do not overwrite the value of need_locks provided by the user
17761
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17762
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
17763
 
  hard_links=yes
17764
 
  $rm conftest*
17765
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17766
 
  touch conftest.a
17767
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
17768
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17769
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
17770
 
echo "${ECHO_T}$hard_links" >&6
17771
 
  if test "$hard_links" = no; then
17772
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17773
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17774
 
    need_locks=warn
17775
 
  fi
17776
 
else
17777
 
  need_locks=no
17778
 
fi
17779
 
 
17780
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17781
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
17782
 
 
17783
 
  runpath_var=
17784
 
  allow_undefined_flag_GCJ=
17785
 
  enable_shared_with_static_runtimes_GCJ=no
17786
 
  archive_cmds_GCJ=
17787
 
  archive_expsym_cmds_GCJ=
17788
 
  old_archive_From_new_cmds_GCJ=
17789
 
  old_archive_from_expsyms_cmds_GCJ=
17790
 
  export_dynamic_flag_spec_GCJ=
17791
 
  whole_archive_flag_spec_GCJ=
17792
 
  thread_safe_flag_spec_GCJ=
17793
 
  hardcode_libdir_flag_spec_GCJ=
17794
 
  hardcode_libdir_flag_spec_ld_GCJ=
17795
 
  hardcode_libdir_separator_GCJ=
17796
 
  hardcode_direct_GCJ=no
17797
 
  hardcode_minus_L_GCJ=no
17798
 
  hardcode_shlibpath_var_GCJ=unsupported
17799
 
  link_all_deplibs_GCJ=unknown
17800
 
  hardcode_automatic_GCJ=no
17801
 
  module_cmds_GCJ=
17802
 
  module_expsym_cmds_GCJ=
17803
 
  always_export_symbols_GCJ=no
17804
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17805
 
  # include_expsyms should be a list of space-separated symbols to be *always*
17806
 
  # included in the symbol list
17807
 
  include_expsyms_GCJ=
17808
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
17809
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
17810
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17811
 
  # as well as any symbol that contains `d'.
17812
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
17813
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17814
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
17815
 
  # the symbol is explicitly referenced.  Since portable code cannot
17816
 
  # rely on this symbol name, it's probably fine to never include it in
17817
 
  # preloaded symbol tables.
17818
 
  extract_expsyms_cmds=
17819
 
  # Just being paranoid about ensuring that cc_basename is set.
17820
 
  for cc_temp in $compiler""; do
17821
 
  case $cc_temp in
17822
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17823
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17824
 
    \-*) ;;
17825
 
    *) break;;
17826
 
  esac
17827
 
done
17828
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17829
 
 
17830
 
  case $host_os in
17831
 
  cygwin* | mingw* | pw32*)
17832
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
17833
 
    # When not using gcc, we currently assume that we are using
17834
 
    # Microsoft Visual C++.
17835
 
    if test "$GCC" != yes; then
17836
 
      with_gnu_ld=no
17837
 
    fi
17838
 
    ;;
17839
 
  interix*)
17840
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
17841
 
    with_gnu_ld=yes
17842
 
    ;;
17843
 
  openbsd*)
17844
 
    with_gnu_ld=no
17845
 
    ;;
17846
 
  esac
17847
 
 
17848
 
  ld_shlibs_GCJ=yes
17849
 
  if test "$with_gnu_ld" = yes; then
17850
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
17851
 
    wlarc='${wl}'
17852
 
 
17853
 
    # Set some defaults for GNU ld with shared library support. These
17854
 
    # are reset later if shared libraries are not supported. Putting them
17855
 
    # here allows them to be overridden if necessary.
17856
 
    runpath_var=LD_RUN_PATH
17857
 
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
17858
 
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
17859
 
    # ancient GNU ld didn't support --whole-archive et. al.
17860
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17861
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17862
 
      else
17863
 
        whole_archive_flag_spec_GCJ=
17864
 
    fi
17865
 
    supports_anon_versioning=no
17866
 
    case `$LD -v 2>/dev/null` in
17867
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17868
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17869
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17870
 
      *\ 2.11.*) ;; # other 2.11 versions
17871
 
      *) supports_anon_versioning=yes ;;
17872
 
    esac
17873
 
 
17874
 
    # See if GNU ld supports shared libraries.
17875
 
    case $host_os in
17876
 
    aix3* | aix4* | aix5*)
17877
 
      # On AIX/PPC, the GNU linker is very broken
17878
 
      if test "$host_cpu" != ia64; then
17879
 
        ld_shlibs_GCJ=no
17880
 
        cat <<EOF 1>&2
17881
 
 
17882
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
17883
 
*** to be unable to reliably create shared libraries on AIX.
17884
 
*** Therefore, libtool is disabling shared libraries support.  If you
17885
 
*** really care for shared libraries, you may want to modify your PATH
17886
 
*** so that a non-GNU linker is found, and then restart.
17887
 
 
17888
 
EOF
17889
 
      fi
17890
 
      ;;
17891
 
 
17892
 
    amigaos*)
17893
 
      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)'
17894
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17895
 
      hardcode_minus_L_GCJ=yes
17896
 
 
17897
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17898
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
17899
 
      # to version 4, is to share data among multiple programs linked
17900
 
      # with the same dynamic library.  Since this doesn't match the
17901
 
      # behavior of shared libraries on other platforms, we can't use
17902
 
      # them.
17903
 
      ld_shlibs_GCJ=no
17904
 
      ;;
17905
 
 
17906
 
    beos*)
17907
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17908
 
        allow_undefined_flag_GCJ=unsupported
17909
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17910
 
        # support --undefined.  This deserves some investigation.  FIXME
17911
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17912
 
      else
17913
 
        ld_shlibs_GCJ=no
17914
 
      fi
17915
 
      ;;
17916
 
 
17917
 
    cygwin* | mingw* | pw32*)
17918
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17919
 
      # as there is no search path for DLLs.
17920
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17921
 
      allow_undefined_flag_GCJ=unsupported
17922
 
      always_export_symbols_GCJ=no
17923
 
      enable_shared_with_static_runtimes_GCJ=yes
17924
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17925
 
 
17926
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17927
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17928
 
        # If the export-symbols file already is a .def file (1st line
17929
 
        # is EXPORTS), use it as is; otherwise, prepend...
17930
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17931
 
          cp $export_symbols $output_objdir/$soname.def;
17932
 
        else
17933
 
          echo EXPORTS > $output_objdir/$soname.def;
17934
 
          cat $export_symbols >> $output_objdir/$soname.def;
17935
 
        fi~
17936
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17937
 
      else
17938
 
        ld_shlibs_GCJ=no
17939
 
      fi
17940
 
      ;;
17941
 
 
17942
 
    interix3*)
17943
 
      hardcode_direct_GCJ=no
17944
 
      hardcode_shlibpath_var_GCJ=no
17945
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17946
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
17947
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17948
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
17949
 
      # default) and relocated if they conflict, which is a slow very memory
17950
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
17951
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17952
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
17953
 
      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'
17954
 
      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'
17955
 
      ;;
17956
 
 
17957
 
    linux*)
17958
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17959
 
        tmp_addflag=
17960
 
        case $cc_basename,$host_cpu in
17961
 
        pgcc*)                          # Portland Group C compiler
17962
 
          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'
17963
 
          tmp_addflag=' $pic_flag'
17964
 
          ;;
17965
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
17966
 
          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'
17967
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
17968
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
17969
 
          tmp_addflag=' -i_dynamic' ;;
17970
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
17971
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
17972
 
        ifc* | ifort*)                  # Intel Fortran compiler
17973
 
          tmp_addflag=' -nofor_main' ;;
17974
 
        esac
17975
 
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17976
 
 
17977
 
        if test $supports_anon_versioning = yes; then
17978
 
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
17979
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17980
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
17981
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17982
 
        fi
17983
 
      else
17984
 
        ld_shlibs_GCJ=no
17985
 
      fi
17986
 
      ;;
17987
 
 
17988
 
    netbsd*)
17989
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17990
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17991
 
        wlarc=
17992
 
      else
17993
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17994
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17995
 
      fi
17996
 
      ;;
17997
 
 
17998
 
    solaris*)
17999
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
18000
 
        ld_shlibs_GCJ=no
18001
 
        cat <<EOF 1>&2
18002
 
 
18003
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
18004
 
*** create shared libraries on Solaris systems.  Therefore, libtool
18005
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
18006
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
18007
 
*** your PATH or compiler configuration so that the native linker is
18008
 
*** used, and then restart.
18009
 
 
18010
 
EOF
18011
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18012
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18013
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18014
 
      else
18015
 
        ld_shlibs_GCJ=no
18016
 
      fi
18017
 
      ;;
18018
 
 
18019
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
18020
 
      case `$LD -v 2>&1` in
18021
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
18022
 
        ld_shlibs_GCJ=no
18023
 
        cat <<_LT_EOF 1>&2
18024
 
 
18025
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
18026
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
18027
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
18028
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
18029
 
*** your PATH or compiler configuration so that the native linker is
18030
 
*** used, and then restart.
18031
 
 
18032
 
_LT_EOF
18033
 
        ;;
18034
 
        *)
18035
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18036
 
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
18037
 
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
18038
 
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
18039
 
          else
18040
 
            ld_shlibs_GCJ=no
18041
 
          fi
18042
 
        ;;
18043
 
      esac
18044
 
      ;;
18045
 
 
18046
 
    sunos4*)
18047
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18048
 
      wlarc=
18049
 
      hardcode_direct_GCJ=yes
18050
 
      hardcode_shlibpath_var_GCJ=no
18051
 
      ;;
18052
 
 
18053
 
    *)
18054
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18055
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18056
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18057
 
      else
18058
 
        ld_shlibs_GCJ=no
18059
 
      fi
18060
 
      ;;
18061
 
    esac
18062
 
 
18063
 
    if test "$ld_shlibs_GCJ" = no; then
18064
 
      runpath_var=
18065
 
      hardcode_libdir_flag_spec_GCJ=
18066
 
      export_dynamic_flag_spec_GCJ=
18067
 
      whole_archive_flag_spec_GCJ=
18068
 
    fi
18069
 
  else
18070
 
    # PORTME fill in a description of your system's linker (not GNU ld)
18071
 
    case $host_os in
18072
 
    aix3*)
18073
 
      allow_undefined_flag_GCJ=unsupported
18074
 
      always_export_symbols_GCJ=yes
18075
 
      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'
18076
 
      # Note: this linker hardcodes the directories in LIBPATH if there
18077
 
      # are no directories specified by -L.
18078
 
      hardcode_minus_L_GCJ=yes
18079
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18080
 
        # Neither direct hardcoding nor static linking is supported with a
18081
 
        # broken collect2.
18082
 
        hardcode_direct_GCJ=unsupported
18083
 
      fi
18084
 
      ;;
18085
 
 
18086
 
    aix4* | aix5*)
18087
 
      if test "$host_cpu" = ia64; then
18088
 
        # On IA64, the linker does run time linking by default, so we don't
18089
 
        # have to do anything special.
18090
 
        aix_use_runtimelinking=no
18091
 
        exp_sym_flag='-Bexport'
18092
 
        no_entry_flag=""
18093
 
      else
18094
 
        # If we're using GNU nm, then we don't want the "-C" option.
18095
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
18096
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
18097
 
          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'
18098
 
        else
18099
 
          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'
18100
 
        fi
18101
 
        aix_use_runtimelinking=no
18102
 
 
18103
 
        # Test if we are trying to use run time linking or normal
18104
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18105
 
        # need to do runtime linking.
18106
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
18107
 
          for ld_flag in $LDFLAGS; do
18108
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
18109
 
            aix_use_runtimelinking=yes
18110
 
            break
18111
 
          fi
18112
 
          done
18113
 
          ;;
18114
 
        esac
18115
 
 
18116
 
        exp_sym_flag='-bexport'
18117
 
        no_entry_flag='-bnoentry'
18118
 
      fi
18119
 
 
18120
 
      # When large executables or shared objects are built, AIX ld can
18121
 
      # have problems creating the table of contents.  If linking a library
18122
 
      # or program results in "error TOC overflow" add -mminimal-toc to
18123
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
18124
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18125
 
 
18126
 
      archive_cmds_GCJ=''
18127
 
      hardcode_direct_GCJ=yes
18128
 
      hardcode_libdir_separator_GCJ=':'
18129
 
      link_all_deplibs_GCJ=yes
18130
 
 
18131
 
      if test "$GCC" = yes; then
18132
 
        case $host_os in aix4.[012]|aix4.[012].*)
18133
 
        # We only want to do this on AIX 4.2 and lower, the check
18134
 
        # below for broken collect2 doesn't work under 4.3+
18135
 
          collect2name=`${CC} -print-prog-name=collect2`
18136
 
          if test -f "$collect2name" && \
18137
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
18138
 
          then
18139
 
          # We have reworked collect2
18140
 
          hardcode_direct_GCJ=yes
18141
 
          else
18142
 
          # We have old collect2
18143
 
          hardcode_direct_GCJ=unsupported
18144
 
          # It fails to find uninstalled libraries when the uninstalled
18145
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
18146
 
          # to unsupported forces relinking
18147
 
          hardcode_minus_L_GCJ=yes
18148
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
18149
 
          hardcode_libdir_separator_GCJ=
18150
 
          fi
18151
 
          ;;
18152
 
        esac
18153
 
        shared_flag='-shared'
18154
 
        if test "$aix_use_runtimelinking" = yes; then
18155
 
          shared_flag="$shared_flag "'${wl}-G'
18156
 
        fi
18157
 
      else
18158
 
        # not using gcc
18159
 
        if test "$host_cpu" = ia64; then
18160
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18161
 
        # chokes on -Wl,-G. The following line is correct:
18162
 
          shared_flag='-G'
18163
 
        else
18164
 
          if test "$aix_use_runtimelinking" = yes; then
18165
 
            shared_flag='${wl}-G'
18166
 
          else
18167
 
            shared_flag='${wl}-bM:SRE'
18168
 
          fi
18169
 
        fi
18170
 
      fi
18171
 
 
18172
 
      # It seems that -bexpall does not export symbols beginning with
18173
 
      # underscore (_), so it is better to generate a list of symbols to export.
18174
 
      always_export_symbols_GCJ=yes
18175
 
      if test "$aix_use_runtimelinking" = yes; then
18176
 
        # Warning - without using the other runtime loading flags (-brtl),
18177
 
        # -berok will link without error, but may produce a broken library.
18178
 
        allow_undefined_flag_GCJ='-berok'
18179
 
       # Determine the default libpath from the value encoded in an empty executable.
18180
 
       cat >conftest.$ac_ext <<_ACEOF
18181
 
/* confdefs.h.  */
18182
 
_ACEOF
18183
 
cat confdefs.h >>conftest.$ac_ext
18184
 
cat >>conftest.$ac_ext <<_ACEOF
18185
 
/* end confdefs.h.  */
18186
 
 
18187
 
int
18188
 
main ()
18189
 
{
18190
 
 
18191
 
  ;
18192
 
  return 0;
18193
 
}
18194
 
_ACEOF
18195
 
rm -f conftest.$ac_objext conftest$ac_exeext
18196
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18197
 
  (eval $ac_link) 2>conftest.er1
18198
 
  ac_status=$?
18199
 
  grep -v '^ *+' conftest.er1 >conftest.err
18200
 
  rm -f conftest.er1
18201
 
  cat conftest.err >&5
18202
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203
 
  (exit $ac_status); } &&
18204
 
         { ac_try='test -z "$ac_c_werror_flag"
18205
 
                         || test ! -s conftest.err'
18206
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18207
 
  (eval $ac_try) 2>&5
18208
 
  ac_status=$?
18209
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18210
 
  (exit $ac_status); }; } &&
18211
 
         { ac_try='test -s conftest$ac_exeext'
18212
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18213
 
  (eval $ac_try) 2>&5
18214
 
  ac_status=$?
18215
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216
 
  (exit $ac_status); }; }; then
18217
 
 
18218
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
18219
 
}'`
18220
 
# Check for a 64-bit object if we didn't find anything.
18221
 
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; }
18222
 
}'`; fi
18223
 
else
18224
 
  echo "$as_me: failed program was:" >&5
18225
 
sed 's/^/| /' conftest.$ac_ext >&5
18226
 
 
18227
 
fi
18228
 
rm -f conftest.err conftest.$ac_objext \
18229
 
      conftest$ac_exeext conftest.$ac_ext
18230
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18231
 
 
18232
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18233
 
        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"
18234
 
       else
18235
 
        if test "$host_cpu" = ia64; then
18236
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
18237
 
          allow_undefined_flag_GCJ="-z nodefs"
18238
 
          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"
18239
 
        else
18240
 
         # Determine the default libpath from the value encoded in an empty executable.
18241
 
         cat >conftest.$ac_ext <<_ACEOF
18242
 
/* confdefs.h.  */
18243
 
_ACEOF
18244
 
cat confdefs.h >>conftest.$ac_ext
18245
 
cat >>conftest.$ac_ext <<_ACEOF
18246
 
/* end confdefs.h.  */
18247
 
 
18248
 
int
18249
 
main ()
18250
 
{
18251
 
 
18252
 
  ;
18253
 
  return 0;
18254
 
}
18255
 
_ACEOF
18256
 
rm -f conftest.$ac_objext conftest$ac_exeext
18257
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18258
 
  (eval $ac_link) 2>conftest.er1
18259
 
  ac_status=$?
18260
 
  grep -v '^ *+' conftest.er1 >conftest.err
18261
 
  rm -f conftest.er1
18262
 
  cat conftest.err >&5
18263
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18264
 
  (exit $ac_status); } &&
18265
 
         { ac_try='test -z "$ac_c_werror_flag"
18266
 
                         || test ! -s conftest.err'
18267
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18268
 
  (eval $ac_try) 2>&5
18269
 
  ac_status=$?
18270
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18271
 
  (exit $ac_status); }; } &&
18272
 
         { ac_try='test -s conftest$ac_exeext'
18273
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18274
 
  (eval $ac_try) 2>&5
18275
 
  ac_status=$?
18276
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277
 
  (exit $ac_status); }; }; then
18278
 
 
18279
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
18280
 
}'`
18281
 
# Check for a 64-bit object if we didn't find anything.
18282
 
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; }
18283
 
}'`; fi
18284
 
else
18285
 
  echo "$as_me: failed program was:" >&5
18286
 
sed 's/^/| /' conftest.$ac_ext >&5
18287
 
 
18288
 
fi
18289
 
rm -f conftest.err conftest.$ac_objext \
18290
 
      conftest$ac_exeext conftest.$ac_ext
18291
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18292
 
 
18293
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18294
 
          # Warning - without using the other run time loading flags,
18295
 
          # -berok will link without error, but may produce a broken library.
18296
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
18297
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
18298
 
          # Exported symbols can be pulled into shared objects from archives
18299
 
          whole_archive_flag_spec_GCJ='$convenience'
18300
 
          archive_cmds_need_lc_GCJ=yes
18301
 
          # This is similar to how AIX traditionally builds its shared libraries.
18302
 
          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'
18303
 
        fi
18304
 
      fi
18305
 
      ;;
18306
 
 
18307
 
    amigaos*)
18308
 
      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)'
18309
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18310
 
      hardcode_minus_L_GCJ=yes
18311
 
      # see comment about different semantics on the GNU ld section
18312
 
      ld_shlibs_GCJ=no
18313
 
      ;;
18314
 
 
18315
 
    bsdi[45]*)
18316
 
      export_dynamic_flag_spec_GCJ=-rdynamic
18317
 
      ;;
18318
 
 
18319
 
    cygwin* | mingw* | pw32*)
18320
 
      # When not using gcc, we currently assume that we are using
18321
 
      # Microsoft Visual C++.
18322
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
18323
 
      # no search path for DLLs.
18324
 
      hardcode_libdir_flag_spec_GCJ=' '
18325
 
      allow_undefined_flag_GCJ=unsupported
18326
 
      # Tell ltmain to make .lib files, not .a files.
18327
 
      libext=lib
18328
 
      # Tell ltmain to make .dll files, not .so files.
18329
 
      shrext_cmds=".dll"
18330
 
      # FIXME: Setting linknames here is a bad hack.
18331
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18332
 
      # The linker will automatically build a .lib file if we build a DLL.
18333
 
      old_archive_From_new_cmds_GCJ='true'
18334
 
      # FIXME: Should let the user specify the lib program.
18335
 
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
18336
 
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
18337
 
      enable_shared_with_static_runtimes_GCJ=yes
18338
 
      ;;
18339
 
 
18340
 
    darwin* | rhapsody*)
18341
 
      case $host_os in
18342
 
        rhapsody* | darwin1.[012])
18343
 
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
18344
 
         ;;
18345
 
       *) # Darwin 1.3 on
18346
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18347
 
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18348
 
         else
18349
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
18350
 
             10.[012])
18351
 
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18352
 
               ;;
18353
 
             10.*)
18354
 
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
18355
 
               ;;
18356
 
           esac
18357
 
         fi
18358
 
         ;;
18359
 
      esac
18360
 
      archive_cmds_need_lc_GCJ=no
18361
 
      hardcode_direct_GCJ=no
18362
 
      hardcode_automatic_GCJ=yes
18363
 
      hardcode_shlibpath_var_GCJ=unsupported
18364
 
      whole_archive_flag_spec_GCJ=''
18365
 
      link_all_deplibs_GCJ=yes
18366
 
    if test "$GCC" = yes ; then
18367
 
        output_verbose_link_cmd='echo'
18368
 
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18369
 
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18370
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18371
 
      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}'
18372
 
      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}'
18373
 
    else
18374
 
      case $cc_basename in
18375
 
        xlc*)
18376
 
         output_verbose_link_cmd='echo'
18377
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
18378
 
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18379
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18380
 
         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}'
18381
 
          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}'
18382
 
          ;;
18383
 
       *)
18384
 
         ld_shlibs_GCJ=no
18385
 
          ;;
18386
 
      esac
18387
 
    fi
18388
 
      ;;
18389
 
 
18390
 
    dgux*)
18391
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18392
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18393
 
      hardcode_shlibpath_var_GCJ=no
18394
 
      ;;
18395
 
 
18396
 
    freebsd1*)
18397
 
      ld_shlibs_GCJ=no
18398
 
      ;;
18399
 
 
18400
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18401
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
18402
 
    # does not break anything, and helps significantly (at the cost of a little
18403
 
    # extra space).
18404
 
    freebsd2.2*)
18405
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18406
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18407
 
      hardcode_direct_GCJ=yes
18408
 
      hardcode_shlibpath_var_GCJ=no
18409
 
      ;;
18410
 
 
18411
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18412
 
    freebsd2*)
18413
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18414
 
      hardcode_direct_GCJ=yes
18415
 
      hardcode_minus_L_GCJ=yes
18416
 
      hardcode_shlibpath_var_GCJ=no
18417
 
      ;;
18418
 
 
18419
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18420
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
18421
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18422
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18423
 
      hardcode_direct_GCJ=yes
18424
 
      hardcode_shlibpath_var_GCJ=no
18425
 
      ;;
18426
 
 
18427
 
    hpux9*)
18428
 
      if test "$GCC" = yes; then
18429
 
        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'
18430
 
      else
18431
 
        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'
18432
 
      fi
18433
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18434
 
      hardcode_libdir_separator_GCJ=:
18435
 
      hardcode_direct_GCJ=yes
18436
 
 
18437
 
      # hardcode_minus_L: Not really in the search PATH,
18438
 
      # but as the default location of the library.
18439
 
      hardcode_minus_L_GCJ=yes
18440
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
18441
 
      ;;
18442
 
 
18443
 
    hpux10*)
18444
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18445
 
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18446
 
      else
18447
 
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18448
 
      fi
18449
 
      if test "$with_gnu_ld" = no; then
18450
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18451
 
        hardcode_libdir_separator_GCJ=:
18452
 
 
18453
 
        hardcode_direct_GCJ=yes
18454
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
18455
 
 
18456
 
        # hardcode_minus_L: Not really in the search PATH,
18457
 
        # but as the default location of the library.
18458
 
        hardcode_minus_L_GCJ=yes
18459
 
      fi
18460
 
      ;;
18461
 
 
18462
 
    hpux11*)
18463
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18464
 
        case $host_cpu in
18465
 
        hppa*64*)
18466
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18467
 
          ;;
18468
 
        ia64*)
18469
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18470
 
          ;;
18471
 
        *)
18472
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18473
 
          ;;
18474
 
        esac
18475
 
      else
18476
 
        case $host_cpu in
18477
 
        hppa*64*)
18478
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18479
 
          ;;
18480
 
        ia64*)
18481
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18482
 
          ;;
18483
 
        *)
18484
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18485
 
          ;;
18486
 
        esac
18487
 
      fi
18488
 
      if test "$with_gnu_ld" = no; then
18489
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18490
 
        hardcode_libdir_separator_GCJ=:
18491
 
 
18492
 
        case $host_cpu in
18493
 
        hppa*64*|ia64*)
18494
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
18495
 
          hardcode_direct_GCJ=no
18496
 
          hardcode_shlibpath_var_GCJ=no
18497
 
          ;;
18498
 
        *)
18499
 
          hardcode_direct_GCJ=yes
18500
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
18501
 
 
18502
 
          # hardcode_minus_L: Not really in the search PATH,
18503
 
          # but as the default location of the library.
18504
 
          hardcode_minus_L_GCJ=yes
18505
 
          ;;
18506
 
        esac
18507
 
      fi
18508
 
      ;;
18509
 
 
18510
 
    irix5* | irix6* | nonstopux*)
18511
 
      if test "$GCC" = yes; then
18512
 
        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'
18513
 
      else
18514
 
        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'
18515
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
18516
 
      fi
18517
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18518
 
      hardcode_libdir_separator_GCJ=:
18519
 
      link_all_deplibs_GCJ=yes
18520
 
      ;;
18521
 
 
18522
 
    netbsd*)
18523
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18524
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
18525
 
      else
18526
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
18527
 
      fi
18528
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18529
 
      hardcode_direct_GCJ=yes
18530
 
      hardcode_shlibpath_var_GCJ=no
18531
 
      ;;
18532
 
 
18533
 
    newsos6)
18534
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18535
 
      hardcode_direct_GCJ=yes
18536
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18537
 
      hardcode_libdir_separator_GCJ=:
18538
 
      hardcode_shlibpath_var_GCJ=no
18539
 
      ;;
18540
 
 
18541
 
    openbsd*)
18542
 
      hardcode_direct_GCJ=yes
18543
 
      hardcode_shlibpath_var_GCJ=no
18544
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18545
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18546
 
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18547
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18548
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
18549
 
      else
18550
 
       case $host_os in
18551
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18552
 
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18553
 
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
18554
 
           ;;
18555
 
         *)
18556
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18557
 
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18558
 
           ;;
18559
 
       esac
18560
 
      fi
18561
 
      ;;
18562
 
 
18563
 
    os2*)
18564
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18565
 
      hardcode_minus_L_GCJ=yes
18566
 
      allow_undefined_flag_GCJ=unsupported
18567
 
      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'
18568
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18569
 
      ;;
18570
 
 
18571
 
    osf3*)
18572
 
      if test "$GCC" = yes; then
18573
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18574
 
        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'
18575
 
      else
18576
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
18577
 
        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'
18578
 
      fi
18579
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18580
 
      hardcode_libdir_separator_GCJ=:
18581
 
      ;;
18582
 
 
18583
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
18584
 
      if test "$GCC" = yes; then
18585
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18586
 
        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'
18587
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18588
 
      else
18589
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
18590
 
        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'
18591
 
        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~
18592
 
        $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'
18593
 
 
18594
 
        # Both c and cxx compiler support -rpath directly
18595
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
18596
 
      fi
18597
 
      hardcode_libdir_separator_GCJ=:
18598
 
      ;;
18599
 
 
18600
 
    solaris*)
18601
 
      no_undefined_flag_GCJ=' -z text'
18602
 
      if test "$GCC" = yes; then
18603
 
        wlarc='${wl}'
18604
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18605
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18606
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18607
 
      else
18608
 
        wlarc=''
18609
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18610
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18611
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18612
 
      fi
18613
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18614
 
      hardcode_shlibpath_var_GCJ=no
18615
 
      case $host_os in
18616
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
18617
 
      *)
18618
 
        # The compiler driver will combine linker options so we
18619
 
        # cannot just pass the convience library names through
18620
 
        # without $wl, iff we do not link with $LD.
18621
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
18622
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
18623
 
        case $wlarc in
18624
 
        '')
18625
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
18626
 
        *)
18627
 
          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' ;;
18628
 
        esac ;;
18629
 
      esac
18630
 
      link_all_deplibs_GCJ=yes
18631
 
      ;;
18632
 
 
18633
 
    sunos4*)
18634
 
      if test "x$host_vendor" = xsequent; then
18635
 
        # Use $CC to link under sequent, because it throws in some extra .o
18636
 
        # files that make .init and .fini sections work.
18637
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18638
 
      else
18639
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18640
 
      fi
18641
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18642
 
      hardcode_direct_GCJ=yes
18643
 
      hardcode_minus_L_GCJ=yes
18644
 
      hardcode_shlibpath_var_GCJ=no
18645
 
      ;;
18646
 
 
18647
 
    sysv4)
18648
 
      case $host_vendor in
18649
 
        sni)
18650
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18651
 
          hardcode_direct_GCJ=yes # is this really true???
18652
 
        ;;
18653
 
        siemens)
18654
 
          ## LD is ld it makes a PLAMLIB
18655
 
          ## CC just makes a GrossModule.
18656
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18657
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
18658
 
          hardcode_direct_GCJ=no
18659
 
        ;;
18660
 
        motorola)
18661
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18662
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
18663
 
        ;;
18664
 
      esac
18665
 
      runpath_var='LD_RUN_PATH'
18666
 
      hardcode_shlibpath_var_GCJ=no
18667
 
      ;;
18668
 
 
18669
 
    sysv4.3*)
18670
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18671
 
      hardcode_shlibpath_var_GCJ=no
18672
 
      export_dynamic_flag_spec_GCJ='-Bexport'
18673
 
      ;;
18674
 
 
18675
 
    sysv4*MP*)
18676
 
      if test -d /usr/nec; then
18677
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18678
 
        hardcode_shlibpath_var_GCJ=no
18679
 
        runpath_var=LD_RUN_PATH
18680
 
        hardcode_runpath_var=yes
18681
 
        ld_shlibs_GCJ=yes
18682
 
      fi
18683
 
      ;;
18684
 
 
18685
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
18686
 
      no_undefined_flag_GCJ='${wl}-z,text'
18687
 
      archive_cmds_need_lc_GCJ=no
18688
 
      hardcode_shlibpath_var_GCJ=no
18689
 
      runpath_var='LD_RUN_PATH'
18690
 
 
18691
 
      if test "$GCC" = yes; then
18692
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18693
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18694
 
      else
18695
 
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18696
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18697
 
      fi
18698
 
      ;;
18699
 
 
18700
 
    sysv5* | sco3.2v5* | sco5v6*)
18701
 
      # Note: We can NOT use -z defs as we might desire, because we do not
18702
 
      # link with -lc, and that would cause any symbols used from libc to
18703
 
      # always be unresolved, which means just about no library would
18704
 
      # ever link correctly.  If we're not using GNU ld we use -z text
18705
 
      # though, which does catch some bad symbols but isn't as heavy-handed
18706
 
      # as -z defs.
18707
 
      no_undefined_flag_GCJ='${wl}-z,text'
18708
 
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
18709
 
      archive_cmds_need_lc_GCJ=no
18710
 
      hardcode_shlibpath_var_GCJ=no
18711
 
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18712
 
      hardcode_libdir_separator_GCJ=':'
18713
 
      link_all_deplibs_GCJ=yes
18714
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
18715
 
      runpath_var='LD_RUN_PATH'
18716
 
 
18717
 
      if test "$GCC" = yes; then
18718
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18719
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18720
 
      else
18721
 
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18722
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18723
 
      fi
18724
 
      ;;
18725
 
 
18726
 
    uts4*)
18727
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18728
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18729
 
      hardcode_shlibpath_var_GCJ=no
18730
 
      ;;
18731
 
 
18732
 
    *)
18733
 
      ld_shlibs_GCJ=no
18734
 
      ;;
18735
 
    esac
18736
 
  fi
18737
 
 
18738
 
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18739
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
18740
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
18741
 
 
18742
 
#
18743
 
# Do we need to explicitly link libc?
18744
 
#
18745
 
case "x$archive_cmds_need_lc_GCJ" in
18746
 
x|xyes)
18747
 
  # Assume -lc should be added
18748
 
  archive_cmds_need_lc_GCJ=yes
18749
 
 
18750
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
18751
 
    case $archive_cmds_GCJ in
18752
 
    *'~'*)
18753
 
      # FIXME: we may have to deal with multi-command sequences.
18754
 
      ;;
18755
 
    '$CC '*)
18756
 
      # Test whether the compiler implicitly links with -lc since on some
18757
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
18758
 
      # to ld, don't add -lc before -lgcc.
18759
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18760
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
18761
 
      $rm conftest*
18762
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18763
 
 
18764
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18765
 
  (eval $ac_compile) 2>&5
18766
 
  ac_status=$?
18767
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18768
 
  (exit $ac_status); } 2>conftest.err; then
18769
 
        soname=conftest
18770
 
        lib=conftest
18771
 
        libobjs=conftest.$ac_objext
18772
 
        deplibs=
18773
 
        wl=$lt_prog_compiler_wl_GCJ
18774
 
        pic_flag=$lt_prog_compiler_pic_GCJ
18775
 
        compiler_flags=-v
18776
 
        linker_flags=-v
18777
 
        verstring=
18778
 
        output_objdir=.
18779
 
        libname=conftest
18780
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
18781
 
        allow_undefined_flag_GCJ=
18782
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18783
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18784
 
  ac_status=$?
18785
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18786
 
  (exit $ac_status); }
18787
 
        then
18788
 
          archive_cmds_need_lc_GCJ=no
18789
 
        else
18790
 
          archive_cmds_need_lc_GCJ=yes
18791
 
        fi
18792
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
18793
 
      else
18794
 
        cat conftest.err 1>&5
18795
 
      fi
18796
 
      $rm conftest*
18797
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18798
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
18799
 
      ;;
18800
 
    esac
18801
 
  fi
18802
 
  ;;
18803
 
esac
18804
 
 
18805
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18806
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
18807
 
library_names_spec=
18808
 
libname_spec='lib$name'
18809
 
soname_spec=
18810
 
shrext_cmds=".so"
18811
 
postinstall_cmds=
18812
 
postuninstall_cmds=
18813
 
finish_cmds=
18814
 
finish_eval=
18815
 
shlibpath_var=
18816
 
shlibpath_overrides_runpath=unknown
18817
 
version_type=none
18818
 
dynamic_linker="$host_os ld.so"
18819
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
18820
 
if test "$GCC" = yes; then
18821
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18822
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
18823
 
    # if the path contains ";" then we assume it to be the separator
18824
 
    # otherwise default to the standard path separator (i.e. ":") - it is
18825
 
    # assumed that no part of a normal pathname contains ";" but that should
18826
 
    # okay in the real world where ";" in dirpaths is itself problematic.
18827
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18828
 
  else
18829
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
18830
 
  fi
18831
 
else
18832
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
18833
 
fi
18834
 
need_lib_prefix=unknown
18835
 
hardcode_into_libs=no
18836
 
 
18837
 
# when you set need_version to no, make sure it does not cause -set_version
18838
 
# flags to be left without arguments
18839
 
need_version=unknown
18840
 
 
18841
 
case $host_os in
18842
 
aix3*)
18843
 
  version_type=linux
18844
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18845
 
  shlibpath_var=LIBPATH
18846
 
 
18847
 
  # AIX 3 has no versioning support, so we append a major version to the name.
18848
 
  soname_spec='${libname}${release}${shared_ext}$major'
18849
 
  ;;
18850
 
 
18851
 
aix4* | aix5*)
18852
 
  version_type=linux
18853
 
  need_lib_prefix=no
18854
 
  need_version=no
18855
 
  hardcode_into_libs=yes
18856
 
  if test "$host_cpu" = ia64; then
18857
 
    # AIX 5 supports IA64
18858
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18859
 
    shlibpath_var=LD_LIBRARY_PATH
18860
 
  else
18861
 
    # With GCC up to 2.95.x, collect2 would create an import file
18862
 
    # for dependence libraries.  The import file would start with
18863
 
    # the line `#! .'.  This would cause the generated library to
18864
 
    # depend on `.', always an invalid library.  This was fixed in
18865
 
    # development snapshots of GCC prior to 3.0.
18866
 
    case $host_os in
18867
 
      aix4 | aix4.[01] | aix4.[01].*)
18868
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18869
 
           echo ' yes '
18870
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18871
 
        :
18872
 
      else
18873
 
        can_build_shared=no
18874
 
      fi
18875
 
      ;;
18876
 
    esac
18877
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18878
 
    # soname into executable. Probably we can add versioning support to
18879
 
    # collect2, so additional links can be useful in future.
18880
 
    if test "$aix_use_runtimelinking" = yes; then
18881
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18882
 
      # instead of lib<name>.a to let people know that these are not
18883
 
      # typical AIX shared libraries.
18884
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18885
 
    else
18886
 
      # We preserve .a as extension for shared libraries through AIX4.2
18887
 
      # and later when we are not doing run time linking.
18888
 
      library_names_spec='${libname}${release}.a $libname.a'
18889
 
      soname_spec='${libname}${release}${shared_ext}$major'
18890
 
    fi
18891
 
    shlibpath_var=LIBPATH
18892
 
  fi
18893
 
  ;;
18894
 
 
18895
 
amigaos*)
18896
 
  library_names_spec='$libname.ixlibrary $libname.a'
18897
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
18898
 
  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'
18899
 
  ;;
18900
 
 
18901
 
beos*)
18902
 
  library_names_spec='${libname}${shared_ext}'
18903
 
  dynamic_linker="$host_os ld.so"
18904
 
  shlibpath_var=LIBRARY_PATH
18905
 
  ;;
18906
 
 
18907
 
bsdi[45]*)
18908
 
  version_type=linux
18909
 
  need_version=no
18910
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18911
 
  soname_spec='${libname}${release}${shared_ext}$major'
18912
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18913
 
  shlibpath_var=LD_LIBRARY_PATH
18914
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18915
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18916
 
  # the default ld.so.conf also contains /usr/contrib/lib and
18917
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18918
 
  # libtool to hard-code these into programs
18919
 
  ;;
18920
 
 
18921
 
cygwin* | mingw* | pw32*)
18922
 
  version_type=windows
18923
 
  shrext_cmds=".dll"
18924
 
  need_version=no
18925
 
  need_lib_prefix=no
18926
 
 
18927
 
  case $GCC,$host_os in
18928
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
18929
 
    library_names_spec='$libname.dll.a'
18930
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
18931
 
    postinstall_cmds='base_file=`basename \${file}`~
18932
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18933
 
      dldir=$destdir/`dirname \$dlpath`~
18934
 
      test -d \$dldir || mkdir -p \$dldir~
18935
 
      $install_prog $dir/$dlname \$dldir/$dlname~
18936
 
      chmod a+x \$dldir/$dlname'
18937
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18938
 
      dlpath=$dir/\$dldll~
18939
 
       $rm \$dlpath'
18940
 
    shlibpath_overrides_runpath=yes
18941
 
 
18942
 
    case $host_os in
18943
 
    cygwin*)
18944
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18945
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18946
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18947
 
      ;;
18948
 
    mingw*)
18949
 
      # MinGW DLLs use traditional 'lib' prefix
18950
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18951
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18952
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18953
 
        # It is most probably a Windows format PATH printed by
18954
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
18955
 
        # path with ; separators, and with drive letters. We can handle the
18956
 
        # drive letters (cygwin fileutils understands them), so leave them,
18957
 
        # especially as we might pass files found there to a mingw objdump,
18958
 
        # which wouldn't understand a cygwinified path. Ahh.
18959
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18960
 
      else
18961
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
18962
 
      fi
18963
 
      ;;
18964
 
    pw32*)
18965
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
18966
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18967
 
      ;;
18968
 
    esac
18969
 
    ;;
18970
 
 
18971
 
  *)
18972
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18973
 
    ;;
18974
 
  esac
18975
 
  dynamic_linker='Win32 ld.exe'
18976
 
  # FIXME: first we should search . and the directory the executable is in
18977
 
  shlibpath_var=PATH
18978
 
  ;;
18979
 
 
18980
 
darwin* | rhapsody*)
18981
 
  dynamic_linker="$host_os dyld"
18982
 
  version_type=darwin
18983
 
  need_lib_prefix=no
18984
 
  need_version=no
18985
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18986
 
  soname_spec='${libname}${release}${major}$shared_ext'
18987
 
  shlibpath_overrides_runpath=yes
18988
 
  shlibpath_var=DYLD_LIBRARY_PATH
18989
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18990
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18991
 
  if test "$GCC" = yes; then
18992
 
    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"`
18993
 
  else
18994
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
18995
 
  fi
18996
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18997
 
  ;;
18998
 
 
18999
 
dgux*)
19000
 
  version_type=linux
19001
 
  need_lib_prefix=no
19002
 
  need_version=no
19003
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19004
 
  soname_spec='${libname}${release}${shared_ext}$major'
19005
 
  shlibpath_var=LD_LIBRARY_PATH
19006
 
  ;;
19007
 
 
19008
 
freebsd1*)
19009
 
  dynamic_linker=no
19010
 
  ;;
19011
 
 
19012
 
kfreebsd*-gnu)
19013
 
  version_type=linux
19014
 
  need_lib_prefix=no
19015
 
  need_version=no
19016
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19017
 
  soname_spec='${libname}${release}${shared_ext}$major'
19018
 
  shlibpath_var=LD_LIBRARY_PATH
19019
 
  shlibpath_overrides_runpath=no
19020
 
  hardcode_into_libs=yes
19021
 
  dynamic_linker='GNU ld.so'
19022
 
  ;;
19023
 
 
19024
 
freebsd* | dragonfly*)
19025
 
  # DragonFly does not have aout.  When/if they implement a new
19026
 
  # versioning mechanism, adjust this.
19027
 
  if test -x /usr/bin/objformat; then
19028
 
    objformat=`/usr/bin/objformat`
19029
 
  else
19030
 
    case $host_os in
19031
 
    freebsd[123]*) objformat=aout ;;
19032
 
    *) objformat=elf ;;
19033
 
    esac
19034
 
  fi
19035
 
  version_type=freebsd-$objformat
19036
 
  case $version_type in
19037
 
    freebsd-elf*)
19038
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19039
 
      need_version=no
19040
 
      need_lib_prefix=no
19041
 
      ;;
19042
 
    freebsd-*)
19043
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19044
 
      need_version=yes
19045
 
      ;;
19046
 
  esac
19047
 
  shlibpath_var=LD_LIBRARY_PATH
19048
 
  case $host_os in
19049
 
  freebsd2*)
19050
 
    shlibpath_overrides_runpath=yes
19051
 
    ;;
19052
 
  freebsd3.[01]* | freebsdelf3.[01]*)
19053
 
    shlibpath_overrides_runpath=yes
19054
 
    hardcode_into_libs=yes
19055
 
    ;;
19056
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
19057
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
19058
 
    shlibpath_overrides_runpath=no
19059
 
    hardcode_into_libs=yes
19060
 
    ;;
19061
 
  freebsd*) # from 4.6 on
19062
 
    shlibpath_overrides_runpath=yes
19063
 
    hardcode_into_libs=yes
19064
 
    ;;
19065
 
  esac
19066
 
  ;;
19067
 
 
19068
 
gnu*)
19069
 
  version_type=linux
19070
 
  need_lib_prefix=no
19071
 
  need_version=no
19072
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19073
 
  soname_spec='${libname}${release}${shared_ext}$major'
19074
 
  shlibpath_var=LD_LIBRARY_PATH
19075
 
  hardcode_into_libs=yes
19076
 
  ;;
19077
 
 
19078
 
hpux9* | hpux10* | hpux11*)
19079
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
19080
 
  # link against other versions.
19081
 
  version_type=sunos
19082
 
  need_lib_prefix=no
19083
 
  need_version=no
19084
 
  case $host_cpu in
19085
 
  ia64*)
19086
 
    shrext_cmds='.so'
19087
 
    hardcode_into_libs=yes
19088
 
    dynamic_linker="$host_os dld.so"
19089
 
    shlibpath_var=LD_LIBRARY_PATH
19090
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19091
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19092
 
    soname_spec='${libname}${release}${shared_ext}$major'
19093
 
    if test "X$HPUX_IA64_MODE" = X32; then
19094
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19095
 
    else
19096
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
19097
 
    fi
19098
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19099
 
    ;;
19100
 
   hppa*64*)
19101
 
     shrext_cmds='.sl'
19102
 
     hardcode_into_libs=yes
19103
 
     dynamic_linker="$host_os dld.sl"
19104
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
19105
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19106
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19107
 
     soname_spec='${libname}${release}${shared_ext}$major'
19108
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19109
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19110
 
     ;;
19111
 
   *)
19112
 
    shrext_cmds='.sl'
19113
 
    dynamic_linker="$host_os dld.sl"
19114
 
    shlibpath_var=SHLIB_PATH
19115
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
19116
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19117
 
    soname_spec='${libname}${release}${shared_ext}$major'
19118
 
    ;;
19119
 
  esac
19120
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
19121
 
  postinstall_cmds='chmod 555 $lib'
19122
 
  ;;
19123
 
 
19124
 
interix3*)
19125
 
  version_type=linux
19126
 
  need_lib_prefix=no
19127
 
  need_version=no
19128
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19129
 
  soname_spec='${libname}${release}${shared_ext}$major'
19130
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
19131
 
  shlibpath_var=LD_LIBRARY_PATH
19132
 
  shlibpath_overrides_runpath=no
19133
 
  hardcode_into_libs=yes
19134
 
  ;;
19135
 
 
19136
 
irix5* | irix6* | nonstopux*)
19137
 
  case $host_os in
19138
 
    nonstopux*) version_type=nonstopux ;;
19139
 
    *)
19140
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
19141
 
                version_type=linux
19142
 
        else
19143
 
                version_type=irix
19144
 
        fi ;;
19145
 
  esac
19146
 
  need_lib_prefix=no
19147
 
  need_version=no
19148
 
  soname_spec='${libname}${release}${shared_ext}$major'
19149
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19150
 
  case $host_os in
19151
 
  irix5* | nonstopux*)
19152
 
    libsuff= shlibsuff=
19153
 
    ;;
19154
 
  *)
19155
 
    case $LD in # libtool.m4 will add one of these switches to LD
19156
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19157
 
      libsuff= shlibsuff= libmagic=32-bit;;
19158
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19159
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
19160
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19161
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
19162
 
    *) libsuff= shlibsuff= libmagic=never-match;;
19163
 
    esac
19164
 
    ;;
19165
 
  esac
19166
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
19167
 
  shlibpath_overrides_runpath=no
19168
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19169
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19170
 
  hardcode_into_libs=yes
19171
 
  ;;
19172
 
 
19173
 
# No shared lib support for Linux oldld, aout, or coff.
19174
 
linux*oldld* | linux*aout* | linux*coff*)
19175
 
  dynamic_linker=no
19176
 
  ;;
19177
 
 
19178
 
# This must be Linux ELF.
19179
 
linux*)
19180
 
  version_type=linux
19181
 
  need_lib_prefix=no
19182
 
  need_version=no
19183
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19184
 
  soname_spec='${libname}${release}${shared_ext}$major'
19185
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19186
 
  shlibpath_var=LD_LIBRARY_PATH
19187
 
  shlibpath_overrides_runpath=no
19188
 
  # This implies no fast_install, which is unacceptable.
19189
 
  # Some rework will be needed to allow for fast_install
19190
 
  # before this can be enabled.
19191
 
  hardcode_into_libs=yes
19192
 
 
19193
 
  # find out which ABI we are using
19194
 
  libsuff=
19195
 
  case "$host_cpu" in
19196
 
  x86_64*|s390x*|powerpc64*)
19197
 
    echo '#line 19197 "configure"' > conftest.$ac_ext
19198
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19199
 
  (eval $ac_compile) 2>&5
19200
 
  ac_status=$?
19201
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19202
 
  (exit $ac_status); }; then
19203
 
      case `/usr/bin/file conftest.$ac_objext` in
19204
 
      *64-bit*)
19205
 
        libsuff=64
19206
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
19207
 
        ;;
19208
 
      esac
19209
 
    fi
19210
 
    rm -rf conftest*
19211
 
    ;;
19212
 
  esac
19213
 
 
19214
 
  # Append ld.so.conf contents to the search path
19215
 
  if test -f /etc/ld.so.conf; then
19216
 
    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' ' '`
19217
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
19218
 
  fi
19219
 
 
19220
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
19221
 
  # powerpc, because MkLinux only supported shared libraries with the
19222
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
19223
 
  # most powerpc-linux boxes support dynamic linking these days and
19224
 
  # people can always --disable-shared, the test was removed, and we
19225
 
  # assume the GNU/Linux dynamic linker is in use.
19226
 
  dynamic_linker='GNU/Linux ld.so'
19227
 
  ;;
19228
 
 
19229
 
knetbsd*-gnu)
19230
 
  version_type=linux
19231
 
  need_lib_prefix=no
19232
 
  need_version=no
19233
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19234
 
  soname_spec='${libname}${release}${shared_ext}$major'
19235
 
  shlibpath_var=LD_LIBRARY_PATH
19236
 
  shlibpath_overrides_runpath=no
19237
 
  hardcode_into_libs=yes
19238
 
  dynamic_linker='GNU ld.so'
19239
 
  ;;
19240
 
 
19241
 
netbsd*)
19242
 
  version_type=sunos
19243
 
  need_lib_prefix=no
19244
 
  need_version=no
19245
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19246
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19247
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19248
 
    dynamic_linker='NetBSD (a.out) ld.so'
19249
 
  else
19250
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19251
 
    soname_spec='${libname}${release}${shared_ext}$major'
19252
 
    dynamic_linker='NetBSD ld.elf_so'
19253
 
  fi
19254
 
  shlibpath_var=LD_LIBRARY_PATH
19255
 
  shlibpath_overrides_runpath=yes
19256
 
  hardcode_into_libs=yes
19257
 
  ;;
19258
 
 
19259
 
newsos6)
19260
 
  version_type=linux
19261
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19262
 
  shlibpath_var=LD_LIBRARY_PATH
19263
 
  shlibpath_overrides_runpath=yes
19264
 
  ;;
19265
 
 
19266
 
nto-qnx*)
19267
 
  version_type=linux
19268
 
  need_lib_prefix=no
19269
 
  need_version=no
19270
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19271
 
  soname_spec='${libname}${release}${shared_ext}$major'
19272
 
  shlibpath_var=LD_LIBRARY_PATH
19273
 
  shlibpath_overrides_runpath=yes
19274
 
  ;;
19275
 
 
19276
 
openbsd*)
19277
 
  version_type=sunos
19278
 
  sys_lib_dlsearch_path_spec="/usr/lib"
19279
 
  need_lib_prefix=no
19280
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19281
 
  case $host_os in
19282
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
19283
 
    *)                         need_version=no  ;;
19284
 
  esac
19285
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19286
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19287
 
  shlibpath_var=LD_LIBRARY_PATH
19288
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19289
 
    case $host_os in
19290
 
      openbsd2.[89] | openbsd2.[89].*)
19291
 
        shlibpath_overrides_runpath=no
19292
 
        ;;
19293
 
      *)
19294
 
        shlibpath_overrides_runpath=yes
19295
 
        ;;
19296
 
      esac
19297
 
  else
19298
 
    shlibpath_overrides_runpath=yes
19299
 
  fi
19300
 
  ;;
19301
 
 
19302
 
os2*)
19303
 
  libname_spec='$name'
19304
 
  shrext_cmds=".dll"
19305
 
  need_lib_prefix=no
19306
 
  library_names_spec='$libname${shared_ext} $libname.a'
19307
 
  dynamic_linker='OS/2 ld.exe'
19308
 
  shlibpath_var=LIBPATH
19309
 
  ;;
19310
 
 
19311
 
osf3* | osf4* | osf5*)
19312
 
  version_type=osf
19313
 
  need_lib_prefix=no
19314
 
  need_version=no
19315
 
  soname_spec='${libname}${release}${shared_ext}$major'
19316
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19317
 
  shlibpath_var=LD_LIBRARY_PATH
19318
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19319
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19320
 
  ;;
19321
 
 
19322
 
solaris*)
19323
 
  version_type=linux
19324
 
  need_lib_prefix=no
19325
 
  need_version=no
19326
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19327
 
  soname_spec='${libname}${release}${shared_ext}$major'
19328
 
  shlibpath_var=LD_LIBRARY_PATH
19329
 
  shlibpath_overrides_runpath=yes
19330
 
  hardcode_into_libs=yes
19331
 
  # ldd complains unless libraries are executable
19332
 
  postinstall_cmds='chmod +x $lib'
19333
 
  ;;
19334
 
 
19335
 
sunos4*)
19336
 
  version_type=sunos
19337
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19338
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19339
 
  shlibpath_var=LD_LIBRARY_PATH
19340
 
  shlibpath_overrides_runpath=yes
19341
 
  if test "$with_gnu_ld" = yes; then
19342
 
    need_lib_prefix=no
19343
 
  fi
19344
 
  need_version=yes
19345
 
  ;;
19346
 
 
19347
 
sysv4 | sysv4.3*)
19348
 
  version_type=linux
19349
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19350
 
  soname_spec='${libname}${release}${shared_ext}$major'
19351
 
  shlibpath_var=LD_LIBRARY_PATH
19352
 
  case $host_vendor in
19353
 
    sni)
19354
 
      shlibpath_overrides_runpath=no
19355
 
      need_lib_prefix=no
19356
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
19357
 
      runpath_var=LD_RUN_PATH
19358
 
      ;;
19359
 
    siemens)
19360
 
      need_lib_prefix=no
19361
 
      ;;
19362
 
    motorola)
19363
 
      need_lib_prefix=no
19364
 
      need_version=no
19365
 
      shlibpath_overrides_runpath=no
19366
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
19367
 
      ;;
19368
 
  esac
19369
 
  ;;
19370
 
 
19371
 
sysv4*MP*)
19372
 
  if test -d /usr/nec ;then
19373
 
    version_type=linux
19374
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19375
 
    soname_spec='$libname${shared_ext}.$major'
19376
 
    shlibpath_var=LD_LIBRARY_PATH
19377
 
  fi
19378
 
  ;;
19379
 
 
19380
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
19381
 
  version_type=freebsd-elf
19382
 
  need_lib_prefix=no
19383
 
  need_version=no
19384
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19385
 
  soname_spec='${libname}${release}${shared_ext}$major'
19386
 
  shlibpath_var=LD_LIBRARY_PATH
19387
 
  hardcode_into_libs=yes
19388
 
  if test "$with_gnu_ld" = yes; then
19389
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19390
 
    shlibpath_overrides_runpath=no
19391
 
  else
19392
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
19393
 
    shlibpath_overrides_runpath=yes
19394
 
    case $host_os in
19395
 
      sco3.2v5*)
19396
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
19397
 
        ;;
19398
 
    esac
19399
 
  fi
19400
 
  sys_lib_dlsearch_path_spec='/usr/lib'
19401
 
  ;;
19402
 
 
19403
 
uts4*)
19404
 
  version_type=linux
19405
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19406
 
  soname_spec='${libname}${release}${shared_ext}$major'
19407
 
  shlibpath_var=LD_LIBRARY_PATH
19408
 
  ;;
19409
 
 
19410
 
*)
19411
 
  dynamic_linker=no
19412
 
  ;;
19413
 
esac
19414
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19415
 
echo "${ECHO_T}$dynamic_linker" >&6
19416
 
test "$dynamic_linker" = no && can_build_shared=no
19417
 
 
19418
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19419
 
if test "$GCC" = yes; then
19420
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19421
 
fi
19422
 
 
19423
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19424
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
19425
 
hardcode_action_GCJ=
19426
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19427
 
   test -n "$runpath_var_GCJ" || \
19428
 
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
19429
 
 
19430
 
  # We can hardcode non-existant directories.
19431
 
  if test "$hardcode_direct_GCJ" != no &&
19432
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
19433
 
     # have to relink, otherwise we might link with an installed library
19434
 
     # when we should be linking with a yet-to-be-installed one
19435
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19436
 
     test "$hardcode_minus_L_GCJ" != no; then
19437
 
    # Linking always hardcodes the temporary library directory.
19438
 
    hardcode_action_GCJ=relink
19439
 
  else
19440
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
19441
 
    hardcode_action_GCJ=immediate
19442
 
  fi
19443
 
else
19444
 
  # We cannot hardcode anything, or else we can only hardcode existing
19445
 
  # directories.
19446
 
  hardcode_action_GCJ=unsupported
19447
 
fi
19448
 
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19449
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6
19450
 
 
19451
 
if test "$hardcode_action_GCJ" = relink; then
19452
 
  # Fast installation is not supported
19453
 
  enable_fast_install=no
19454
 
elif test "$shlibpath_overrides_runpath" = yes ||
19455
 
     test "$enable_shared" = no; then
19456
 
  # Fast installation is not necessary
19457
 
  enable_fast_install=needless
19458
 
fi
19459
 
 
19460
 
 
19461
 
# The else clause should only fire when bootstrapping the
19462
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
19463
 
# with your package, and you will get complaints that there are
19464
 
# no rules to generate ltmain.sh.
19465
 
if test -f "$ltmain"; then
19466
 
  # See if we are running on zsh, and set the options which allow our commands through
19467
 
  # without removal of \ escapes.
19468
 
  if test -n "${ZSH_VERSION+set}" ; then
19469
 
    setopt NO_GLOB_SUBST
19470
 
  fi
19471
 
  # Now quote all the things that may contain metacharacters while being
19472
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19473
 
  # variables and quote the copies for generation of the libtool script.
19474
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19475
 
    SED SHELL STRIP \
19476
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19477
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19478
 
    deplibs_check_method reload_flag reload_cmds need_locks \
19479
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19480
 
    lt_cv_sys_global_symbol_to_c_name_address \
19481
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19482
 
    old_postinstall_cmds old_postuninstall_cmds \
19483
 
    compiler_GCJ \
19484
 
    CC_GCJ \
19485
 
    LD_GCJ \
19486
 
    lt_prog_compiler_wl_GCJ \
19487
 
    lt_prog_compiler_pic_GCJ \
19488
 
    lt_prog_compiler_static_GCJ \
19489
 
    lt_prog_compiler_no_builtin_flag_GCJ \
19490
 
    export_dynamic_flag_spec_GCJ \
19491
 
    thread_safe_flag_spec_GCJ \
19492
 
    whole_archive_flag_spec_GCJ \
19493
 
    enable_shared_with_static_runtimes_GCJ \
19494
 
    old_archive_cmds_GCJ \
19495
 
    old_archive_from_new_cmds_GCJ \
19496
 
    predep_objects_GCJ \
19497
 
    postdep_objects_GCJ \
19498
 
    predeps_GCJ \
19499
 
    postdeps_GCJ \
19500
 
    compiler_lib_search_path_GCJ \
19501
 
    archive_cmds_GCJ \
19502
 
    archive_expsym_cmds_GCJ \
19503
 
    postinstall_cmds_GCJ \
19504
 
    postuninstall_cmds_GCJ \
19505
 
    old_archive_from_expsyms_cmds_GCJ \
19506
 
    allow_undefined_flag_GCJ \
19507
 
    no_undefined_flag_GCJ \
19508
 
    export_symbols_cmds_GCJ \
19509
 
    hardcode_libdir_flag_spec_GCJ \
19510
 
    hardcode_libdir_flag_spec_ld_GCJ \
19511
 
    hardcode_libdir_separator_GCJ \
19512
 
    hardcode_automatic_GCJ \
19513
 
    module_cmds_GCJ \
19514
 
    module_expsym_cmds_GCJ \
19515
 
    lt_cv_prog_compiler_c_o_GCJ \
19516
 
    exclude_expsyms_GCJ \
19517
 
    include_expsyms_GCJ; do
19518
 
 
19519
 
    case $var in
19520
 
    old_archive_cmds_GCJ | \
19521
 
    old_archive_from_new_cmds_GCJ | \
19522
 
    archive_cmds_GCJ | \
19523
 
    archive_expsym_cmds_GCJ | \
19524
 
    module_cmds_GCJ | \
19525
 
    module_expsym_cmds_GCJ | \
19526
 
    old_archive_from_expsyms_cmds_GCJ | \
19527
 
    export_symbols_cmds_GCJ | \
19528
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
19529
 
    postinstall_cmds | postuninstall_cmds | \
19530
 
    old_postinstall_cmds | old_postuninstall_cmds | \
19531
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19532
 
      # Double-quote double-evaled strings.
19533
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19534
 
      ;;
19535
 
    *)
19536
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19537
 
      ;;
19538
 
    esac
19539
 
  done
19540
 
 
19541
 
  case $lt_echo in
19542
 
  *'\$0 --fallback-echo"')
19543
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19544
 
    ;;
19545
 
  esac
19546
 
 
19547
 
cfgfile="$ofile"
19548
 
 
19549
 
  cat <<__EOF__ >> "$cfgfile"
19550
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19551
 
 
19552
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19553
 
 
19554
 
# Shell to use when invoking shell scripts.
19555
 
SHELL=$lt_SHELL
19556
 
 
19557
 
# Whether or not to build shared libraries.
19558
 
build_libtool_libs=$enable_shared
19559
 
 
19560
 
# Whether or not to build static libraries.
19561
 
build_old_libs=$enable_static
19562
 
 
19563
 
# Whether or not to add -lc for building shared libraries.
19564
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19565
 
 
19566
 
# Whether or not to disallow shared libs when runtime libs are static
19567
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19568
 
 
19569
 
# Whether or not to optimize for fast installation.
19570
 
fast_install=$enable_fast_install
19571
 
 
19572
 
# The host system.
19573
 
host_alias=$host_alias
19574
 
host=$host
19575
 
host_os=$host_os
19576
 
 
19577
 
# The build system.
19578
 
build_alias=$build_alias
19579
 
build=$build
19580
 
build_os=$build_os
19581
 
 
19582
 
# An echo program that does not interpret backslashes.
19583
 
echo=$lt_echo
19584
 
 
19585
 
# The archiver.
19586
 
AR=$lt_AR
19587
 
AR_FLAGS=$lt_AR_FLAGS
19588
 
 
19589
 
# A C compiler.
19590
 
LTCC=$lt_LTCC
19591
 
 
19592
 
# LTCC compiler flags.
19593
 
LTCFLAGS=$lt_LTCFLAGS
19594
 
 
19595
 
# A language-specific compiler.
19596
 
CC=$lt_compiler_GCJ
19597
 
 
19598
 
# Is the compiler the GNU C compiler?
19599
 
with_gcc=$GCC_GCJ
19600
 
 
19601
 
# An ERE matcher.
19602
 
EGREP=$lt_EGREP
19603
 
 
19604
 
# The linker used to build libraries.
19605
 
LD=$lt_LD_GCJ
19606
 
 
19607
 
# Whether we need hard or soft links.
19608
 
LN_S=$lt_LN_S
19609
 
 
19610
 
# A BSD-compatible nm program.
19611
 
NM=$lt_NM
19612
 
 
19613
 
# A symbol stripping program
19614
 
STRIP=$lt_STRIP
19615
 
 
19616
 
# Used to examine libraries when file_magic_cmd begins "file"
19617
 
MAGIC_CMD=$MAGIC_CMD
19618
 
 
19619
 
# Used on cygwin: DLL creation program.
19620
 
DLLTOOL="$DLLTOOL"
19621
 
 
19622
 
# Used on cygwin: object dumper.
19623
 
OBJDUMP="$OBJDUMP"
19624
 
 
19625
 
# Used on cygwin: assembler.
19626
 
AS="$AS"
19627
 
 
19628
 
# The name of the directory that contains temporary libtool files.
19629
 
objdir=$objdir
19630
 
 
19631
 
# How to create reloadable object files.
19632
 
reload_flag=$lt_reload_flag
19633
 
reload_cmds=$lt_reload_cmds
19634
 
 
19635
 
# How to pass a linker flag through the compiler.
19636
 
wl=$lt_lt_prog_compiler_wl_GCJ
19637
 
 
19638
 
# Object file suffix (normally "o").
19639
 
objext="$ac_objext"
19640
 
 
19641
 
# Old archive suffix (normally "a").
19642
 
libext="$libext"
19643
 
 
19644
 
# Shared library suffix (normally ".so").
19645
 
shrext_cmds='$shrext_cmds'
19646
 
 
19647
 
# Executable file suffix (normally "").
19648
 
exeext="$exeext"
19649
 
 
19650
 
# Additional compiler flags for building library objects.
19651
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
19652
 
pic_mode=$pic_mode
19653
 
 
19654
 
# What is the maximum length of a command?
19655
 
max_cmd_len=$lt_cv_sys_max_cmd_len
19656
 
 
19657
 
# Does compiler simultaneously support -c and -o options?
19658
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19659
 
 
19660
 
# Must we lock files when doing compilation?
19661
 
need_locks=$lt_need_locks
19662
 
 
19663
 
# Do we need the lib prefix for modules?
19664
 
need_lib_prefix=$need_lib_prefix
19665
 
 
19666
 
# Do we need a version for libraries?
19667
 
need_version=$need_version
19668
 
 
19669
 
# Whether dlopen is supported.
19670
 
dlopen_support=$enable_dlopen
19671
 
 
19672
 
# Whether dlopen of programs is supported.
19673
 
dlopen_self=$enable_dlopen_self
19674
 
 
19675
 
# Whether dlopen of statically linked programs is supported.
19676
 
dlopen_self_static=$enable_dlopen_self_static
19677
 
 
19678
 
# Compiler flag to prevent dynamic linking.
19679
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
19680
 
 
19681
 
# Compiler flag to turn off builtin functions.
19682
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19683
 
 
19684
 
# Compiler flag to allow reflexive dlopens.
19685
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19686
 
 
19687
 
# Compiler flag to generate shared objects directly from archives.
19688
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19689
 
 
19690
 
# Compiler flag to generate thread-safe objects.
19691
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19692
 
 
19693
 
# Library versioning type.
19694
 
version_type=$version_type
19695
 
 
19696
 
# Format of library name prefix.
19697
 
libname_spec=$lt_libname_spec
19698
 
 
19699
 
# List of archive names.  First name is the real one, the rest are links.
19700
 
# The last name is the one that the linker finds with -lNAME.
19701
 
library_names_spec=$lt_library_names_spec
19702
 
 
19703
 
# The coded name of the library, if different from the real name.
19704
 
soname_spec=$lt_soname_spec
19705
 
 
19706
 
# Commands used to build and install an old-style archive.
19707
 
RANLIB=$lt_RANLIB
19708
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
19709
 
old_postinstall_cmds=$lt_old_postinstall_cmds
19710
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19711
 
 
19712
 
# Create an old-style archive from a shared archive.
19713
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19714
 
 
19715
 
# Create a temporary old-style archive to link instead of a shared archive.
19716
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19717
 
 
19718
 
# Commands used to build and install a shared archive.
19719
 
archive_cmds=$lt_archive_cmds_GCJ
19720
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19721
 
postinstall_cmds=$lt_postinstall_cmds
19722
 
postuninstall_cmds=$lt_postuninstall_cmds
19723
 
 
19724
 
# Commands used to build a loadable module (assumed same as above if empty)
19725
 
module_cmds=$lt_module_cmds_GCJ
19726
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19727
 
 
19728
 
# Commands to strip libraries.
19729
 
old_striplib=$lt_old_striplib
19730
 
striplib=$lt_striplib
19731
 
 
19732
 
# Dependencies to place before the objects being linked to create a
19733
 
# shared library.
19734
 
predep_objects=$lt_predep_objects_GCJ
19735
 
 
19736
 
# Dependencies to place after the objects being linked to create a
19737
 
# shared library.
19738
 
postdep_objects=$lt_postdep_objects_GCJ
19739
 
 
19740
 
# Dependencies to place before the objects being linked to create a
19741
 
# shared library.
19742
 
predeps=$lt_predeps_GCJ
19743
 
 
19744
 
# Dependencies to place after the objects being linked to create a
19745
 
# shared library.
19746
 
postdeps=$lt_postdeps_GCJ
19747
 
 
19748
 
# The library search path used internally by the compiler when linking
19749
 
# a shared library.
19750
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19751
 
 
19752
 
# Method to check whether dependent libraries are shared objects.
19753
 
deplibs_check_method=$lt_deplibs_check_method
19754
 
 
19755
 
# Command to use when deplibs_check_method == file_magic.
19756
 
file_magic_cmd=$lt_file_magic_cmd
19757
 
 
19758
 
# Flag that allows shared libraries with undefined symbols to be built.
19759
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19760
 
 
19761
 
# Flag that forces no undefined symbols.
19762
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
19763
 
 
19764
 
# Commands used to finish a libtool library installation in a directory.
19765
 
finish_cmds=$lt_finish_cmds
19766
 
 
19767
 
# Same as above, but a single script fragment to be evaled but not shown.
19768
 
finish_eval=$lt_finish_eval
19769
 
 
19770
 
# Take the output of nm and produce a listing of raw symbols and C names.
19771
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19772
 
 
19773
 
# Transform the output of nm in a proper C declaration
19774
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19775
 
 
19776
 
# Transform the output of nm in a C name address pair
19777
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19778
 
 
19779
 
# This is the shared library runtime path variable.
19780
 
runpath_var=$runpath_var
19781
 
 
19782
 
# This is the shared library path variable.
19783
 
shlibpath_var=$shlibpath_var
19784
 
 
19785
 
# Is shlibpath searched before the hard-coded library search path?
19786
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19787
 
 
19788
 
# How to hardcode a shared library path into an executable.
19789
 
hardcode_action=$hardcode_action_GCJ
19790
 
 
19791
 
# Whether we should hardcode library paths into libraries.
19792
 
hardcode_into_libs=$hardcode_into_libs
19793
 
 
19794
 
# Flag to hardcode \$libdir into a binary during linking.
19795
 
# This must work even if \$libdir does not exist.
19796
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19797
 
 
19798
 
# If ld is used when linking, flag to hardcode \$libdir into
19799
 
# a binary during linking. This must work even if \$libdir does
19800
 
# not exist.
19801
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19802
 
 
19803
 
# Whether we need a single -rpath flag with a separated argument.
19804
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19805
 
 
19806
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19807
 
# resulting binary.
19808
 
hardcode_direct=$hardcode_direct_GCJ
19809
 
 
19810
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19811
 
# resulting binary.
19812
 
hardcode_minus_L=$hardcode_minus_L_GCJ
19813
 
 
19814
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19815
 
# the resulting binary.
19816
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19817
 
 
19818
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
19819
 
# and all subsequent libraries and executables linked against it.
19820
 
hardcode_automatic=$hardcode_automatic_GCJ
19821
 
 
19822
 
# Variables whose values should be saved in libtool wrapper scripts and
19823
 
# restored at relink time.
19824
 
variables_saved_for_relink="$variables_saved_for_relink"
19825
 
 
19826
 
# Whether libtool must link a program against all its dependency libraries.
19827
 
link_all_deplibs=$link_all_deplibs_GCJ
19828
 
 
19829
 
# Compile-time system search path for libraries
19830
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19831
 
 
19832
 
# Run-time system search path for libraries
19833
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19834
 
 
19835
 
# Fix the shell variable \$srcfile for the compiler.
19836
 
fix_srcfile_path="$fix_srcfile_path_GCJ"
19837
 
 
19838
 
# Set to yes if exported symbols are required.
19839
 
always_export_symbols=$always_export_symbols_GCJ
19840
 
 
19841
 
# The commands to list exported symbols.
19842
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19843
 
 
19844
 
# The commands to extract the exported symbol list from a shared archive.
19845
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19846
 
 
19847
 
# Symbols that should not be listed in the preloaded symbols.
19848
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
19849
 
 
19850
 
# Symbols that must always be exported.
19851
 
include_expsyms=$lt_include_expsyms_GCJ
19852
 
 
19853
 
# ### END LIBTOOL TAG CONFIG: $tagname
19854
 
 
19855
 
__EOF__
19856
 
 
19857
 
 
19858
 
else
19859
 
  # If there is no Makefile yet, we rely on a make rule to execute
19860
 
  # `config.status --recheck' to rerun these tests and create the
19861
 
  # libtool script then.
19862
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19863
 
  if test -f "$ltmain_in"; then
19864
 
    test -f Makefile && make "$ltmain"
19865
 
  fi
19866
 
fi
19867
 
 
19868
 
 
19869
 
ac_ext=c
19870
 
ac_cpp='$CPP $CPPFLAGS'
19871
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19872
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19873
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19874
 
 
19875
 
CC="$lt_save_CC"
19876
 
 
19877
 
        else
19878
 
          tagname=""
19879
 
        fi
19880
 
        ;;
19881
 
 
19882
 
      RC)
19883
 
 
19884
 
 
19885
 
 
19886
 
# Source file extension for RC test sources.
19887
 
ac_ext=rc
19888
 
 
19889
 
# Object file extension for compiled RC test sources.
19890
 
objext=o
19891
 
objext_RC=$objext
19892
 
 
19893
 
# Code to be used in simple compile tests
19894
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
19895
 
 
19896
 
# Code to be used in simple link tests
19897
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
19898
 
 
19899
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19900
 
 
19901
 
# If no C compiler was specified, use CC.
19902
 
LTCC=${LTCC-"$CC"}
19903
 
 
19904
 
# If no C compiler flags were specified, use CFLAGS.
19905
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
19906
 
 
19907
 
# Allow CC to be a program name with arguments.
19908
 
compiler=$CC
19909
 
 
19910
 
 
19911
 
# save warnings/boilerplate of simple test code
19912
 
ac_outfile=conftest.$ac_objext
19913
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
19914
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19915
 
_lt_compiler_boilerplate=`cat conftest.err`
19916
 
$rm conftest*
19917
 
 
19918
 
ac_outfile=conftest.$ac_objext
19919
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
19920
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19921
 
_lt_linker_boilerplate=`cat conftest.err`
19922
 
$rm conftest*
19923
 
 
19924
 
 
19925
 
# Allow CC to be a program name with arguments.
19926
 
lt_save_CC="$CC"
19927
 
CC=${RC-"windres"}
19928
 
compiler=$CC
19929
 
compiler_RC=$CC
19930
 
for cc_temp in $compiler""; do
19931
 
  case $cc_temp in
19932
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19933
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19934
 
    \-*) ;;
19935
 
    *) break;;
19936
 
  esac
19937
 
done
19938
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19939
 
 
19940
 
lt_cv_prog_compiler_c_o_RC=yes
19941
 
 
19942
 
# The else clause should only fire when bootstrapping the
19943
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
19944
 
# with your package, and you will get complaints that there are
19945
 
# no rules to generate ltmain.sh.
19946
 
if test -f "$ltmain"; then
19947
 
  # See if we are running on zsh, and set the options which allow our commands through
19948
 
  # without removal of \ escapes.
19949
 
  if test -n "${ZSH_VERSION+set}" ; then
19950
 
    setopt NO_GLOB_SUBST
19951
 
  fi
19952
 
  # Now quote all the things that may contain metacharacters while being
19953
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19954
 
  # variables and quote the copies for generation of the libtool script.
19955
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19956
 
    SED SHELL STRIP \
19957
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19958
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19959
 
    deplibs_check_method reload_flag reload_cmds need_locks \
19960
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19961
 
    lt_cv_sys_global_symbol_to_c_name_address \
19962
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19963
 
    old_postinstall_cmds old_postuninstall_cmds \
19964
 
    compiler_RC \
19965
 
    CC_RC \
19966
 
    LD_RC \
19967
 
    lt_prog_compiler_wl_RC \
19968
 
    lt_prog_compiler_pic_RC \
19969
 
    lt_prog_compiler_static_RC \
19970
 
    lt_prog_compiler_no_builtin_flag_RC \
19971
 
    export_dynamic_flag_spec_RC \
19972
 
    thread_safe_flag_spec_RC \
19973
 
    whole_archive_flag_spec_RC \
19974
 
    enable_shared_with_static_runtimes_RC \
19975
 
    old_archive_cmds_RC \
19976
 
    old_archive_from_new_cmds_RC \
19977
 
    predep_objects_RC \
19978
 
    postdep_objects_RC \
19979
 
    predeps_RC \
19980
 
    postdeps_RC \
19981
 
    compiler_lib_search_path_RC \
19982
 
    archive_cmds_RC \
19983
 
    archive_expsym_cmds_RC \
19984
 
    postinstall_cmds_RC \
19985
 
    postuninstall_cmds_RC \
19986
 
    old_archive_from_expsyms_cmds_RC \
19987
 
    allow_undefined_flag_RC \
19988
 
    no_undefined_flag_RC \
19989
 
    export_symbols_cmds_RC \
19990
 
    hardcode_libdir_flag_spec_RC \
19991
 
    hardcode_libdir_flag_spec_ld_RC \
19992
 
    hardcode_libdir_separator_RC \
19993
 
    hardcode_automatic_RC \
19994
 
    module_cmds_RC \
19995
 
    module_expsym_cmds_RC \
19996
 
    lt_cv_prog_compiler_c_o_RC \
19997
 
    exclude_expsyms_RC \
19998
 
    include_expsyms_RC; do
19999
 
 
20000
 
    case $var in
20001
 
    old_archive_cmds_RC | \
20002
 
    old_archive_from_new_cmds_RC | \
20003
 
    archive_cmds_RC | \
20004
 
    archive_expsym_cmds_RC | \
20005
 
    module_cmds_RC | \
20006
 
    module_expsym_cmds_RC | \
20007
 
    old_archive_from_expsyms_cmds_RC | \
20008
 
    export_symbols_cmds_RC | \
20009
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
20010
 
    postinstall_cmds | postuninstall_cmds | \
20011
 
    old_postinstall_cmds | old_postuninstall_cmds | \
20012
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20013
 
      # Double-quote double-evaled strings.
20014
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20015
 
      ;;
20016
 
    *)
20017
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20018
 
      ;;
20019
 
    esac
20020
 
  done
20021
 
 
20022
 
  case $lt_echo in
20023
 
  *'\$0 --fallback-echo"')
20024
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20025
 
    ;;
20026
 
  esac
20027
 
 
20028
 
cfgfile="$ofile"
20029
 
 
20030
 
  cat <<__EOF__ >> "$cfgfile"
20031
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
20032
 
 
20033
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20034
 
 
20035
 
# Shell to use when invoking shell scripts.
20036
 
SHELL=$lt_SHELL
20037
 
 
20038
 
# Whether or not to build shared libraries.
20039
 
build_libtool_libs=$enable_shared
20040
 
 
20041
 
# Whether or not to build static libraries.
20042
 
build_old_libs=$enable_static
20043
 
 
20044
 
# Whether or not to add -lc for building shared libraries.
20045
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
20046
 
 
20047
 
# Whether or not to disallow shared libs when runtime libs are static
20048
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
20049
 
 
20050
 
# Whether or not to optimize for fast installation.
20051
 
fast_install=$enable_fast_install
20052
 
 
20053
 
# The host system.
20054
 
host_alias=$host_alias
20055
 
host=$host
20056
 
host_os=$host_os
20057
 
 
20058
 
# The build system.
20059
 
build_alias=$build_alias
20060
 
build=$build
20061
 
build_os=$build_os
20062
 
 
20063
 
# An echo program that does not interpret backslashes.
20064
 
echo=$lt_echo
20065
 
 
20066
 
# The archiver.
20067
 
AR=$lt_AR
20068
 
AR_FLAGS=$lt_AR_FLAGS
20069
 
 
20070
 
# A C compiler.
20071
 
LTCC=$lt_LTCC
20072
 
 
20073
 
# LTCC compiler flags.
20074
 
LTCFLAGS=$lt_LTCFLAGS
20075
 
 
20076
 
# A language-specific compiler.
20077
 
CC=$lt_compiler_RC
20078
 
 
20079
 
# Is the compiler the GNU C compiler?
20080
 
with_gcc=$GCC_RC
20081
 
 
20082
 
# An ERE matcher.
20083
 
EGREP=$lt_EGREP
20084
 
 
20085
 
# The linker used to build libraries.
20086
 
LD=$lt_LD_RC
20087
 
 
20088
 
# Whether we need hard or soft links.
20089
 
LN_S=$lt_LN_S
20090
 
 
20091
 
# A BSD-compatible nm program.
20092
 
NM=$lt_NM
20093
 
 
20094
 
# A symbol stripping program
20095
 
STRIP=$lt_STRIP
20096
 
 
20097
 
# Used to examine libraries when file_magic_cmd begins "file"
20098
 
MAGIC_CMD=$MAGIC_CMD
20099
 
 
20100
 
# Used on cygwin: DLL creation program.
20101
 
DLLTOOL="$DLLTOOL"
20102
 
 
20103
 
# Used on cygwin: object dumper.
20104
 
OBJDUMP="$OBJDUMP"
20105
 
 
20106
 
# Used on cygwin: assembler.
20107
 
AS="$AS"
20108
 
 
20109
 
# The name of the directory that contains temporary libtool files.
20110
 
objdir=$objdir
20111
 
 
20112
 
# How to create reloadable object files.
20113
 
reload_flag=$lt_reload_flag
20114
 
reload_cmds=$lt_reload_cmds
20115
 
 
20116
 
# How to pass a linker flag through the compiler.
20117
 
wl=$lt_lt_prog_compiler_wl_RC
20118
 
 
20119
 
# Object file suffix (normally "o").
20120
 
objext="$ac_objext"
20121
 
 
20122
 
# Old archive suffix (normally "a").
20123
 
libext="$libext"
20124
 
 
20125
 
# Shared library suffix (normally ".so").
20126
 
shrext_cmds='$shrext_cmds'
20127
 
 
20128
 
# Executable file suffix (normally "").
20129
 
exeext="$exeext"
20130
 
 
20131
 
# Additional compiler flags for building library objects.
20132
 
pic_flag=$lt_lt_prog_compiler_pic_RC
20133
 
pic_mode=$pic_mode
20134
 
 
20135
 
# What is the maximum length of a command?
20136
 
max_cmd_len=$lt_cv_sys_max_cmd_len
20137
 
 
20138
 
# Does compiler simultaneously support -c and -o options?
20139
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
20140
 
 
20141
 
# Must we lock files when doing compilation?
20142
 
need_locks=$lt_need_locks
20143
 
 
20144
 
# Do we need the lib prefix for modules?
20145
 
need_lib_prefix=$need_lib_prefix
20146
 
 
20147
 
# Do we need a version for libraries?
20148
 
need_version=$need_version
20149
 
 
20150
 
# Whether dlopen is supported.
20151
 
dlopen_support=$enable_dlopen
20152
 
 
20153
 
# Whether dlopen of programs is supported.
20154
 
dlopen_self=$enable_dlopen_self
20155
 
 
20156
 
# Whether dlopen of statically linked programs is supported.
20157
 
dlopen_self_static=$enable_dlopen_self_static
20158
 
 
20159
 
# Compiler flag to prevent dynamic linking.
20160
 
link_static_flag=$lt_lt_prog_compiler_static_RC
20161
 
 
20162
 
# Compiler flag to turn off builtin functions.
20163
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
20164
 
 
20165
 
# Compiler flag to allow reflexive dlopens.
20166
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
20167
 
 
20168
 
# Compiler flag to generate shared objects directly from archives.
20169
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
20170
 
 
20171
 
# Compiler flag to generate thread-safe objects.
20172
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
20173
 
 
20174
 
# Library versioning type.
20175
 
version_type=$version_type
20176
 
 
20177
 
# Format of library name prefix.
20178
 
libname_spec=$lt_libname_spec
20179
 
 
20180
 
# List of archive names.  First name is the real one, the rest are links.
20181
 
# The last name is the one that the linker finds with -lNAME.
20182
 
library_names_spec=$lt_library_names_spec
20183
 
 
20184
 
# The coded name of the library, if different from the real name.
20185
 
soname_spec=$lt_soname_spec
20186
 
 
20187
 
# Commands used to build and install an old-style archive.
20188
 
RANLIB=$lt_RANLIB
20189
 
old_archive_cmds=$lt_old_archive_cmds_RC
20190
 
old_postinstall_cmds=$lt_old_postinstall_cmds
20191
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
20192
 
 
20193
 
# Create an old-style archive from a shared archive.
20194
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
20195
 
 
20196
 
# Create a temporary old-style archive to link instead of a shared archive.
20197
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
20198
 
 
20199
 
# Commands used to build and install a shared archive.
20200
 
archive_cmds=$lt_archive_cmds_RC
20201
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
20202
 
postinstall_cmds=$lt_postinstall_cmds
20203
 
postuninstall_cmds=$lt_postuninstall_cmds
20204
 
 
20205
 
# Commands used to build a loadable module (assumed same as above if empty)
20206
 
module_cmds=$lt_module_cmds_RC
20207
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
20208
 
 
20209
 
# Commands to strip libraries.
20210
 
old_striplib=$lt_old_striplib
20211
 
striplib=$lt_striplib
20212
 
 
20213
 
# Dependencies to place before the objects being linked to create a
20214
 
# shared library.
20215
 
predep_objects=$lt_predep_objects_RC
20216
 
 
20217
 
# Dependencies to place after the objects being linked to create a
20218
 
# shared library.
20219
 
postdep_objects=$lt_postdep_objects_RC
20220
 
 
20221
 
# Dependencies to place before the objects being linked to create a
20222
 
# shared library.
20223
 
predeps=$lt_predeps_RC
20224
 
 
20225
 
# Dependencies to place after the objects being linked to create a
20226
 
# shared library.
20227
 
postdeps=$lt_postdeps_RC
20228
 
 
20229
 
# The library search path used internally by the compiler when linking
20230
 
# a shared library.
20231
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20232
 
 
20233
 
# Method to check whether dependent libraries are shared objects.
20234
 
deplibs_check_method=$lt_deplibs_check_method
20235
 
 
20236
 
# Command to use when deplibs_check_method == file_magic.
20237
 
file_magic_cmd=$lt_file_magic_cmd
20238
 
 
20239
 
# Flag that allows shared libraries with undefined symbols to be built.
20240
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
20241
 
 
20242
 
# Flag that forces no undefined symbols.
20243
 
no_undefined_flag=$lt_no_undefined_flag_RC
20244
 
 
20245
 
# Commands used to finish a libtool library installation in a directory.
20246
 
finish_cmds=$lt_finish_cmds
20247
 
 
20248
 
# Same as above, but a single script fragment to be evaled but not shown.
20249
 
finish_eval=$lt_finish_eval
20250
 
 
20251
 
# Take the output of nm and produce a listing of raw symbols and C names.
20252
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20253
 
 
20254
 
# Transform the output of nm in a proper C declaration
20255
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20256
 
 
20257
 
# Transform the output of nm in a C name address pair
20258
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20259
 
 
20260
 
# This is the shared library runtime path variable.
20261
 
runpath_var=$runpath_var
20262
 
 
20263
 
# This is the shared library path variable.
20264
 
shlibpath_var=$shlibpath_var
20265
 
 
20266
 
# Is shlibpath searched before the hard-coded library search path?
20267
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20268
 
 
20269
 
# How to hardcode a shared library path into an executable.
20270
 
hardcode_action=$hardcode_action_RC
20271
 
 
20272
 
# Whether we should hardcode library paths into libraries.
20273
 
hardcode_into_libs=$hardcode_into_libs
20274
 
 
20275
 
# Flag to hardcode \$libdir into a binary during linking.
20276
 
# This must work even if \$libdir does not exist.
20277
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
20278
 
 
20279
 
# If ld is used when linking, flag to hardcode \$libdir into
20280
 
# a binary during linking. This must work even if \$libdir does
20281
 
# not exist.
20282
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
20283
 
 
20284
 
# Whether we need a single -rpath flag with a separated argument.
20285
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
20286
 
 
20287
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20288
 
# resulting binary.
20289
 
hardcode_direct=$hardcode_direct_RC
20290
 
 
20291
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20292
 
# resulting binary.
20293
 
hardcode_minus_L=$hardcode_minus_L_RC
20294
 
 
20295
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20296
 
# the resulting binary.
20297
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
20298
 
 
20299
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
20300
 
# and all subsequent libraries and executables linked against it.
20301
 
hardcode_automatic=$hardcode_automatic_RC
20302
 
 
20303
 
# Variables whose values should be saved in libtool wrapper scripts and
20304
 
# restored at relink time.
20305
 
variables_saved_for_relink="$variables_saved_for_relink"
20306
 
 
20307
 
# Whether libtool must link a program against all its dependency libraries.
20308
 
link_all_deplibs=$link_all_deplibs_RC
20309
 
 
20310
 
# Compile-time system search path for libraries
20311
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20312
 
 
20313
 
# Run-time system search path for libraries
20314
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20315
 
 
20316
 
# Fix the shell variable \$srcfile for the compiler.
20317
 
fix_srcfile_path="$fix_srcfile_path_RC"
20318
 
 
20319
 
# Set to yes if exported symbols are required.
20320
 
always_export_symbols=$always_export_symbols_RC
20321
 
 
20322
 
# The commands to list exported symbols.
20323
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
20324
 
 
20325
 
# The commands to extract the exported symbol list from a shared archive.
20326
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
20327
 
 
20328
 
# Symbols that should not be listed in the preloaded symbols.
20329
 
exclude_expsyms=$lt_exclude_expsyms_RC
20330
 
 
20331
 
# Symbols that must always be exported.
20332
 
include_expsyms=$lt_include_expsyms_RC
20333
 
 
20334
 
# ### END LIBTOOL TAG CONFIG: $tagname
20335
 
 
20336
 
__EOF__
20337
 
 
20338
 
 
20339
 
else
20340
 
  # If there is no Makefile yet, we rely on a make rule to execute
20341
 
  # `config.status --recheck' to rerun these tests and create the
20342
 
  # libtool script then.
20343
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20344
 
  if test -f "$ltmain_in"; then
20345
 
    test -f Makefile && make "$ltmain"
20346
 
  fi
20347
 
fi
20348
 
 
20349
 
 
20350
 
ac_ext=c
20351
 
ac_cpp='$CPP $CPPFLAGS'
20352
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20353
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20354
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
20355
 
 
20356
 
CC="$lt_save_CC"
20357
 
 
20358
 
        ;;
20359
 
 
20360
 
      *)
20361
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
20362
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
20363
 
   { (exit 1); exit 1; }; }
20364
 
        ;;
20365
 
      esac
20366
 
 
20367
 
      # Append the new tag name to the list of available tags.
20368
 
      if test -n "$tagname" ; then
20369
 
      available_tags="$available_tags $tagname"
20370
 
    fi
20371
 
    fi
20372
 
  done
20373
 
  IFS="$lt_save_ifs"
20374
 
 
20375
 
  # Now substitute the updated list of available tags.
20376
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
20377
 
    mv "${ofile}T" "$ofile"
20378
 
    chmod +x "$ofile"
20379
 
  else
20380
 
    rm -f "${ofile}T"
20381
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
20382
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
20383
 
   { (exit 1); exit 1; }; }
20384
 
  fi
20385
 
fi
20386
 
 
20387
 
 
20388
 
 
20389
 
# This can be used to rebuild libtool when needed
20390
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
20391
 
 
20392
 
# Always use our own libtool.
20393
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
20394
 
 
20395
 
# Prevent multiple expansion
20396
 
 
20397
 
 
20398
 
 
20399
 
 
20400
 
 
20401
 
 
20402
 
 
20403
 
 
20404
 
 
20405
 
 
20406
 
 
20407
 
 
20408
 
 
20409
 
 
20410
 
 
20411
 
 
20412
 
 
20413
 
 
20414
 
 
20415
 
 
20416
 
 
20417
 
 
20418
 
        # Check whether --enable-binreloc or --disable-binreloc was given.
20419
 
if test "${enable_binreloc+set}" = set; then
20420
 
  enableval="$enable_binreloc"
20421
 
  enable_binreloc=$enableval
 
11621
 
 
11622
 
 
11623
 
 
11624
 
 
11625
 
 
11626
 
 
11627
 
 
11628
 
 
11629
 
 
11630
 
 
11631
 
 
11632
 
 
11633
 
 
11634
 
 
11635
 
 
11636
striplib=
 
11637
old_striplib=
 
11638
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 
11639
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
11640
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
11641
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
11642
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
11643
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11644
$as_echo "yes" >&6; }
 
11645
else
 
11646
# FIXME - insert some real tests, host_os isn't really good enough
 
11647
  case $host_os in
 
11648
  darwin*)
 
11649
    if test -n "$STRIP" ; then
 
11650
      striplib="$STRIP -x"
 
11651
      old_striplib="$STRIP -S"
 
11652
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11653
$as_echo "yes" >&6; }
 
11654
    else
 
11655
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11656
$as_echo "no" >&6; }
 
11657
    fi
 
11658
    ;;
 
11659
  *)
 
11660
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11661
$as_echo "no" >&6; }
 
11662
    ;;
 
11663
  esac
 
11664
fi
 
11665
 
 
11666
 
 
11667
 
 
11668
 
 
11669
 
 
11670
 
 
11671
 
 
11672
 
 
11673
 
 
11674
 
 
11675
 
 
11676
 
 
11677
  # Report which library types will actually be built
 
11678
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 
11679
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
11680
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 
11681
$as_echo "$can_build_shared" >&6; }
 
11682
 
 
11683
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 
11684
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
11685
  test "$can_build_shared" = "no" && enable_shared=no
 
11686
 
 
11687
  # On AIX, shared libraries and static libraries use the same namespace, and
 
11688
  # are all built from PIC.
 
11689
  case $host_os in
 
11690
  aix3*)
 
11691
    test "$enable_shared" = yes && enable_static=no
 
11692
    if test -n "$RANLIB"; then
 
11693
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
11694
      postinstall_cmds='$RANLIB $lib'
 
11695
    fi
 
11696
    ;;
 
11697
 
 
11698
  aix[4-9]*)
 
11699
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
11700
      test "$enable_shared" = yes && enable_static=no
 
11701
    fi
 
11702
    ;;
 
11703
  esac
 
11704
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 
11705
$as_echo "$enable_shared" >&6; }
 
11706
 
 
11707
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 
11708
$as_echo_n "checking whether to build static libraries... " >&6; }
 
11709
  # Make sure either enable_shared or enable_static is yes.
 
11710
  test "$enable_shared" = yes || enable_static=yes
 
11711
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 
11712
$as_echo "$enable_static" >&6; }
 
11713
 
 
11714
 
 
11715
 
 
11716
 
 
11717
fi
 
11718
ac_ext=c
 
11719
ac_cpp='$CPP $CPPFLAGS'
 
11720
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
11721
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
11722
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
11723
 
 
11724
CC="$lt_save_CC"
 
11725
 
 
11726
 
 
11727
 
 
11728
 
 
11729
 
 
11730
 
 
11731
 
 
11732
 
 
11733
 
 
11734
 
 
11735
 
 
11736
 
 
11737
 
 
11738
        ac_config_commands="$ac_config_commands libtool"
 
11739
 
 
11740
 
 
11741
 
 
11742
 
 
11743
# Only expand once:
 
11744
 
 
11745
 
 
11746
 
 
11747
 
 
11748
        # Check whether --enable-binreloc was given.
 
11749
if test "${enable_binreloc+set}" = set; then :
 
11750
  enableval=$enable_binreloc; enable_binreloc=$enableval
20422
11751
else
20423
11752
  enable_binreloc=auto
20424
 
fi;
20425
 
 
20426
 
        # Check whether --enable-binreloc-threads or --disable-binreloc-threads was given.
20427
 
if test "${enable_binreloc_threads+set}" = set; then
20428
 
  enableval="$enable_binreloc_threads"
20429
 
  enable_binreloc_threads=$enableval
 
11753
fi
 
11754
 
 
11755
 
 
11756
        # Check whether --enable-binreloc-threads was given.
 
11757
if test "${enable_binreloc_threads+set}" = set; then :
 
11758
  enableval=$enable_binreloc_threads; enable_binreloc_threads=$enableval
20430
11759
else
20431
11760
  enable_binreloc_threads=yes
20432
 
fi;
 
11761
fi
 
11762
 
20433
11763
 
20434
11764
        BINRELOC_CFLAGS=
20435
11765
        BINRELOC_LIBS=
20436
11766
        if test "x$enable_binreloc" = "xauto"; then
20437
 
                echo "$as_me:$LINENO: checking for /proc/self/maps" >&5
20438
 
echo $ECHO_N "checking for /proc/self/maps... $ECHO_C" >&6
20439
 
if test "${ac_cv_file__proc_self_maps+set}" = set; then
20440
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11767
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /proc/self/maps" >&5
 
11768
$as_echo_n "checking for /proc/self/maps... " >&6; }
 
11769
if test "${ac_cv_file__proc_self_maps+set}" = set; then :
 
11770
  $as_echo_n "(cached) " >&6
20441
11771
else
20442
11772
  test "$cross_compiling" = yes &&
20443
 
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
20444
 
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
20445
 
   { (exit 1); exit 1; }; }
 
11773
  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
20446
11774
if test -r "/proc/self/maps"; then
20447
11775
  ac_cv_file__proc_self_maps=yes
20448
11776
else
20449
11777
  ac_cv_file__proc_self_maps=no
20450
11778
fi
20451
11779
fi
20452
 
echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_maps" >&5
20453
 
echo "${ECHO_T}$ac_cv_file__proc_self_maps" >&6
20454
 
 
20455
 
                echo "$as_me:$LINENO: checking whether everything is installed to the same prefix" >&5
20456
 
echo $ECHO_N "checking whether everything is installed to the same prefix... $ECHO_C" >&6
20457
 
if test "${br_cv_valid_prefixes+set}" = set; then
20458
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11780
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__proc_self_maps" >&5
 
11781
$as_echo "$ac_cv_file__proc_self_maps" >&6; }
 
11782
if test "x$ac_cv_file__proc_self_maps" = x""yes; then :
 
11783
 
 
11784
fi
 
11785
 
 
11786
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether everything is installed to the same prefix" >&5
 
11787
$as_echo_n "checking whether everything is installed to the same prefix... " >&6; }
 
11788
if test "${br_cv_valid_prefixes+set}" = set; then :
 
11789
  $as_echo_n "(cached) " >&6
20459
11790
else
20460
11791
 
20461
11792
                                if test "$bindir" = '${exec_prefix}/bin' -a "$sbindir" = '${exec_prefix}/sbin' -a \
20468
11799
                                fi
20469
11800
 
20470
11801
fi
20471
 
echo "$as_me:$LINENO: result: $br_cv_valid_prefixes" >&5
20472
 
echo "${ECHO_T}$br_cv_valid_prefixes" >&6
 
11802
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $br_cv_valid_prefixes" >&5
 
11803
$as_echo "$br_cv_valid_prefixes" >&6; }
20473
11804
        fi
20474
 
        echo "$as_me:$LINENO: checking whether binary relocation support should be enabled" >&5
20475
 
echo $ECHO_N "checking whether binary relocation support should be enabled... $ECHO_C" >&6
20476
 
if test "${br_cv_binreloc+set}" = set; then
20477
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11805
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether binary relocation support should be enabled" >&5
 
11806
$as_echo_n "checking whether binary relocation support should be enabled... " >&6; }
 
11807
if test "${br_cv_binreloc+set}" = set; then :
 
11808
  $as_echo_n "(cached) " >&6
20478
11809
else
20479
11810
  if test "x$enable_binreloc" = "xyes"; then
20480
11811
                               br_cv_binreloc=yes
20489
11820
                               br_cv_binreloc=no
20490
11821
                       fi
20491
11822
fi
20492
 
echo "$as_me:$LINENO: result: $br_cv_binreloc" >&5
20493
 
echo "${ECHO_T}$br_cv_binreloc" >&6
 
11823
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $br_cv_binreloc" >&5
 
11824
$as_echo "$br_cv_binreloc" >&6; }
20494
11825
 
20495
11826
        if test "x$br_cv_binreloc" = "xyes"; then
20496
11827
                BINRELOC_CFLAGS="-DENABLE_BINRELOC"
20497
11828
 
20498
 
cat >>confdefs.h <<\_ACEOF
20499
 
#define ENABLE_BINRELOC
20500
 
_ACEOF
 
11829
$as_echo "#define ENABLE_BINRELOC /**/" >>confdefs.h
20501
11830
 
20502
11831
                if test "x$enable_binreloc_threads" = "xyes"; then
20503
 
 
20504
 
echo "$as_me:$LINENO: checking for pthread_getspecific in -lpthread" >&5
20505
 
echo $ECHO_N "checking for pthread_getspecific in -lpthread... $ECHO_C" >&6
20506
 
if test "${ac_cv_lib_pthread_pthread_getspecific+set}" = set; then
20507
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11832
                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_getspecific in -lpthread" >&5
 
11833
$as_echo_n "checking for pthread_getspecific in -lpthread... " >&6; }
 
11834
if test "${ac_cv_lib_pthread_pthread_getspecific+set}" = set; then :
 
11835
  $as_echo_n "(cached) " >&6
20508
11836
else
20509
11837
  ac_check_lib_save_LIBS=$LIBS
20510
11838
LIBS="-lpthread  $LIBS"
20511
 
cat >conftest.$ac_ext <<_ACEOF
20512
 
/* confdefs.h.  */
20513
 
_ACEOF
20514
 
cat confdefs.h >>conftest.$ac_ext
20515
 
cat >>conftest.$ac_ext <<_ACEOF
 
11839
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20516
11840
/* end confdefs.h.  */
20517
11841
 
20518
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
11842
/* Override any GCC internal prototype to avoid an error.
 
11843
   Use char because int might match the return type of a GCC
 
11844
   builtin and then its argument prototype would still apply.  */
20519
11845
#ifdef __cplusplus
20520
11846
extern "C"
20521
11847
#endif
20522
 
/* We use char because int might match the return type of a gcc2
20523
 
   builtin and then its argument prototype would still apply.  */
20524
11848
char pthread_getspecific ();
20525
11849
int
20526
11850
main ()
20527
11851
{
20528
 
pthread_getspecific ();
 
11852
return pthread_getspecific ();
20529
11853
  ;
20530
11854
  return 0;
20531
11855
}
20532
11856
_ACEOF
20533
 
rm -f conftest.$ac_objext conftest$ac_exeext
20534
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20535
 
  (eval $ac_link) 2>conftest.er1
20536
 
  ac_status=$?
20537
 
  grep -v '^ *+' conftest.er1 >conftest.err
20538
 
  rm -f conftest.er1
20539
 
  cat conftest.err >&5
20540
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20541
 
  (exit $ac_status); } &&
20542
 
         { ac_try='test -z "$ac_c_werror_flag"
20543
 
                         || test ! -s conftest.err'
20544
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20545
 
  (eval $ac_try) 2>&5
20546
 
  ac_status=$?
20547
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20548
 
  (exit $ac_status); }; } &&
20549
 
         { ac_try='test -s conftest$ac_exeext'
20550
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20551
 
  (eval $ac_try) 2>&5
20552
 
  ac_status=$?
20553
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20554
 
  (exit $ac_status); }; }; then
 
11857
if ac_fn_c_try_link "$LINENO"; then :
20555
11858
  ac_cv_lib_pthread_pthread_getspecific=yes
20556
11859
else
20557
 
  echo "$as_me: failed program was:" >&5
20558
 
sed 's/^/| /' conftest.$ac_ext >&5
20559
 
 
20560
 
ac_cv_lib_pthread_pthread_getspecific=no
 
11860
  ac_cv_lib_pthread_pthread_getspecific=no
20561
11861
fi
20562
 
rm -f conftest.err conftest.$ac_objext \
20563
 
      conftest$ac_exeext conftest.$ac_ext
 
11862
rm -f core conftest.err conftest.$ac_objext \
 
11863
    conftest$ac_exeext conftest.$ac_ext
20564
11864
LIBS=$ac_check_lib_save_LIBS
20565
11865
fi
20566
 
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_getspecific" >&5
20567
 
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_getspecific" >&6
20568
 
if test $ac_cv_lib_pthread_pthread_getspecific = yes; then
 
11866
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_getspecific" >&5
 
11867
$as_echo "$ac_cv_lib_pthread_pthread_getspecific" >&6; }
 
11868
if test "x$ac_cv_lib_pthread_pthread_getspecific" = x""yes; then :
20569
11869
  cat >>confdefs.h <<_ACEOF
20570
11870
#define HAVE_LIBPTHREAD 1
20571
11871
_ACEOF
20576
11876
 
20577
11877
                fi
20578
11878
 
20579
 
                echo "$as_me:$LINENO: checking whether binary relocation should use threads" >&5
20580
 
echo $ECHO_N "checking whether binary relocation should use threads... $ECHO_C" >&6
20581
 
if test "${br_cv_binreloc_threads+set}" = set; then
20582
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11879
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether binary relocation should use threads" >&5
 
11880
$as_echo_n "checking whether binary relocation should use threads... " >&6; }
 
11881
if test "${br_cv_binreloc_threads+set}" = set; then :
 
11882
  $as_echo_n "(cached) " >&6
20583
11883
else
20584
11884
  if test "x$enable_binreloc_threads" = "xyes"; then
20585
11885
                                        if test "x$ac_cv_lib_pthread_pthread_getspecific" = "xyes"; then
20591
11891
                                        br_cv_binreloc_threads=no
20592
11892
                                fi
20593
11893
fi
20594
 
echo "$as_me:$LINENO: result: $br_cv_binreloc_threads" >&5
20595
 
echo "${ECHO_T}$br_cv_binreloc_threads" >&6
 
11894
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $br_cv_binreloc_threads" >&5
 
11895
$as_echo "$br_cv_binreloc_threads" >&6; }
20596
11896
 
20597
11897
                if test "x$br_cv_binreloc_threads" = "xyes"; then
20598
11898
                        BINRELOC_LIBS="-lpthread"
20599
11899
 
20600
 
cat >>confdefs.h <<\_ACEOF
20601
 
#define BR_PTHREAD 1
20602
 
_ACEOF
 
11900
$as_echo "#define BR_PTHREAD 1" >>confdefs.h
20603
11901
 
20604
11902
                else
20605
11903
                        BINRELOC_CFLAGS="$BINRELOC_CFLAGS -DBR_PTHREADS=0"
20606
11904
 
20607
 
cat >>confdefs.h <<\_ACEOF
20608
 
#define BR_PTHREAD 0
20609
 
_ACEOF
 
11905
$as_echo "#define BR_PTHREAD 0" >>confdefs.h
20610
11906
 
20611
11907
                fi
20612
11908
        fi
20615
11911
 
20616
11912
 
20617
11913
 
20618
 
# Check whether --enable-gconf or --disable-gconf was given.
20619
 
if test "${enable_gconf+set}" = set; then
20620
 
  enableval="$enable_gconf"
20621
 
   if test "$enableval" = "no"; then
 
11914
# Check whether --enable-gconf was given.
 
11915
if test "${enable_gconf+set}" = set; then :
 
11916
  enableval=$enable_gconf;  if test "$enableval" = "no"; then
20622
11917
                user_disabled_gconf=1
20623
11918
          fi
20624
11919
else
20625
11920
   user_disabled_gconf=0
20626
 
fi;
20627
 
 
20628
 
echo "$as_me:$LINENO: checking if gconf is disabled" >&5
20629
 
echo $ECHO_N "checking if gconf is disabled... $ECHO_C" >&6
 
11921
fi
 
11922
 
 
11923
 
 
11924
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if gconf is disabled" >&5
 
11925
$as_echo_n "checking if gconf is disabled... " >&6; }
20630
11926
if test "$user_disabled_gconf" = 1; then
20631
 
        echo "$as_me:$LINENO: result: yes" >&5
20632
 
echo "${ECHO_T}yes" >&6
 
11927
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11928
$as_echo "yes" >&6; }
20633
11929
  pkg_modules="gtk+-2.0 >= 2.2.0 gdk-2.0 gdk-pixbuf-xlib-2.0"
20634
11930
else
20635
 
        echo "$as_me:$LINENO: result: no" >&5
20636
 
echo "${ECHO_T}no" >&6
 
11931
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11932
$as_echo "no" >&6; }
20637
11933
 
20638
 
cat >>confdefs.h <<\_ACEOF
20639
 
#define GCONF_NOT_DISABLED 1
20640
 
_ACEOF
 
11934
$as_echo "#define GCONF_NOT_DISABLED 1" >>confdefs.h
20641
11935
 
20642
11936
  pkg_modules="gtk+-2.0 >= 2.2.0 gdk-2.0 gconf-2.0 gdk-pixbuf-xlib-2.0"
20643
11937
fi
20645
11939
 
20646
11940
 
20647
11941
 
 
11942
 
 
11943
 
 
11944
 
 
11945
 
20648
11946
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
20649
11947
        if test -n "$ac_tool_prefix"; then
20650
11948
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20651
11949
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
20652
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
20653
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20654
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20655
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11950
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11951
$as_echo_n "checking for $ac_word... " >&6; }
 
11952
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
11953
  $as_echo_n "(cached) " >&6
20656
11954
else
20657
11955
  case $PKG_CONFIG in
20658
11956
  [\\/]* | ?:[\\/]*)
20664
11962
do
20665
11963
  IFS=$as_save_IFS
20666
11964
  test -z "$as_dir" && as_dir=.
20667
 
  for ac_exec_ext in '' $ac_executable_extensions; do
20668
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11965
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11966
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20669
11967
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20670
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11968
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20671
11969
    break 2
20672
11970
  fi
20673
11971
done
20674
 
done
 
11972
  done
 
11973
IFS=$as_save_IFS
20675
11974
 
20676
11975
  ;;
20677
11976
esac
20678
11977
fi
20679
11978
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20680
 
 
20681
11979
if test -n "$PKG_CONFIG"; then
20682
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20683
 
echo "${ECHO_T}$PKG_CONFIG" >&6
 
11980
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
11981
$as_echo "$PKG_CONFIG" >&6; }
20684
11982
else
20685
 
  echo "$as_me:$LINENO: result: no" >&5
20686
 
echo "${ECHO_T}no" >&6
 
11983
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11984
$as_echo "no" >&6; }
20687
11985
fi
 
11986
 
20688
11987
 
20689
11988
fi
20690
11989
if test -z "$ac_cv_path_PKG_CONFIG"; then
20691
11990
  ac_pt_PKG_CONFIG=$PKG_CONFIG
20692
11991
  # Extract the first word of "pkg-config", so it can be a program name with args.
20693
11992
set dummy pkg-config; ac_word=$2
20694
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
20695
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20696
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
20697
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11993
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11994
$as_echo_n "checking for $ac_word... " >&6; }
 
11995
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
11996
  $as_echo_n "(cached) " >&6
20698
11997
else
20699
11998
  case $ac_pt_PKG_CONFIG in
20700
11999
  [\\/]* | ?:[\\/]*)
20706
12005
do
20707
12006
  IFS=$as_save_IFS
20708
12007
  test -z "$as_dir" && as_dir=.
20709
 
  for ac_exec_ext in '' $ac_executable_extensions; do
20710
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12008
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12009
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20711
12010
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20712
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12011
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20713
12012
    break 2
20714
12013
  fi
20715
12014
done
20716
 
done
 
12015
  done
 
12016
IFS=$as_save_IFS
20717
12017
 
20718
12018
  ;;
20719
12019
esac
20720
12020
fi
20721
12021
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
20722
 
 
20723
12022
if test -n "$ac_pt_PKG_CONFIG"; then
20724
 
  echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
20725
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
 
12023
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
12024
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
20726
12025
else
20727
 
  echo "$as_me:$LINENO: result: no" >&5
20728
 
echo "${ECHO_T}no" >&6
 
12026
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12027
$as_echo "no" >&6; }
20729
12028
fi
20730
12029
 
20731
 
  PKG_CONFIG=$ac_pt_PKG_CONFIG
 
12030
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
12031
    PKG_CONFIG=""
 
12032
  else
 
12033
    case $cross_compiling:$ac_tool_warned in
 
12034
yes:)
 
12035
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
12036
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
12037
ac_tool_warned=yes ;;
 
12038
esac
 
12039
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
12040
  fi
20732
12041
else
20733
12042
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
20734
12043
fi
20736
12045
fi
20737
12046
if test -n "$PKG_CONFIG"; then
20738
12047
        _pkg_min_version=0.9.0
20739
 
        echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
20740
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
 
12048
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
12049
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
20741
12050
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
20742
 
                echo "$as_me:$LINENO: result: yes" >&5
20743
 
echo "${ECHO_T}yes" >&6
 
12051
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12052
$as_echo "yes" >&6; }
20744
12053
        else
20745
 
                echo "$as_me:$LINENO: result: no" >&5
20746
 
echo "${ECHO_T}no" >&6
 
12054
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12055
$as_echo "no" >&6; }
20747
12056
                PKG_CONFIG=""
20748
12057
        fi
20749
 
 
20750
12058
fi
20751
12059
 
20752
12060
pkg_failed=no
20753
 
echo "$as_me:$LINENO: checking for PACKAGE" >&5
20754
 
echo $ECHO_N "checking for PACKAGE... $ECHO_C" >&6
 
12061
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PACKAGE" >&5
 
12062
$as_echo_n "checking for PACKAGE... " >&6; }
20755
12063
 
20756
 
if test -n "$PKG_CONFIG"; then
20757
 
    if test -n "$PACKAGE_CFLAGS"; then
20758
 
        pkg_cv_PACKAGE_CFLAGS="$PACKAGE_CFLAGS"
20759
 
    else
20760
 
        if test -n "$PKG_CONFIG" && \
20761
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\"") >&5
 
12064
if test -n "$PACKAGE_CFLAGS"; then
 
12065
    pkg_cv_PACKAGE_CFLAGS="$PACKAGE_CFLAGS"
 
12066
 elif test -n "$PKG_CONFIG"; then
 
12067
    if test -n "$PKG_CONFIG" && \
 
12068
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\""; } >&5
20762
12069
  ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
20763
12070
  ac_status=$?
20764
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20765
 
  (exit $ac_status); }; then
 
12071
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12072
  test $ac_status = 0; }; then
20766
12073
  pkg_cv_PACKAGE_CFLAGS=`$PKG_CONFIG --cflags "$pkg_modules" 2>/dev/null`
20767
12074
else
20768
12075
  pkg_failed=yes
20769
12076
fi
20770
 
    fi
20771
 
else
20772
 
        pkg_failed=untried
 
12077
 else
 
12078
    pkg_failed=untried
20773
12079
fi
20774
 
if test -n "$PKG_CONFIG"; then
20775
 
    if test -n "$PACKAGE_LIBS"; then
20776
 
        pkg_cv_PACKAGE_LIBS="$PACKAGE_LIBS"
20777
 
    else
20778
 
        if test -n "$PKG_CONFIG" && \
20779
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\"") >&5
 
12080
if test -n "$PACKAGE_LIBS"; then
 
12081
    pkg_cv_PACKAGE_LIBS="$PACKAGE_LIBS"
 
12082
 elif test -n "$PKG_CONFIG"; then
 
12083
    if test -n "$PKG_CONFIG" && \
 
12084
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\""; } >&5
20780
12085
  ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
20781
12086
  ac_status=$?
20782
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20783
 
  (exit $ac_status); }; then
 
12087
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12088
  test $ac_status = 0; }; then
20784
12089
  pkg_cv_PACKAGE_LIBS=`$PKG_CONFIG --libs "$pkg_modules" 2>/dev/null`
20785
12090
else
20786
12091
  pkg_failed=yes
20787
12092
fi
20788
 
    fi
20789
 
else
20790
 
        pkg_failed=untried
 
12093
 else
 
12094
    pkg_failed=untried
20791
12095
fi
20792
12096
 
20793
12097
 
20794
12098
 
20795
12099
if test $pkg_failed = yes; then
 
12100
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12101
$as_echo "no" >&6; }
20796
12102
 
20797
12103
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20798
12104
        _pkg_short_errors_supported=yes
20800
12106
        _pkg_short_errors_supported=no
20801
12107
fi
20802
12108
        if test $_pkg_short_errors_supported = yes; then
20803
 
                PACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$pkg_modules"`
 
12109
                PACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$pkg_modules" 2>&1`
20804
12110
        else
20805
 
                PACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$pkg_modules"`
 
12111
                PACKAGE_PKG_ERRORS=`$PKG_CONFIG --print-errors "$pkg_modules" 2>&1`
20806
12112
        fi
20807
12113
        # Put the nasty error message in config.log where it belongs
20808
12114
        echo "$PACKAGE_PKG_ERRORS" >&5
20809
12115
 
20810
 
        { { echo "$as_me:$LINENO: error: Package requirements ($pkg_modules) were not met:
20811
 
 
20812
 
$PACKAGE_PKG_ERRORS
20813
 
 
20814
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
20815
 
installed software in a non-standard prefix.
20816
 
 
20817
 
Alternatively, you may set the environment variables PACKAGE_CFLAGS
20818
 
and PACKAGE_LIBS to avoid the need to call pkg-config.
20819
 
See the pkg-config man page for more details.
20820
 
" >&5
20821
 
echo "$as_me: error: Package requirements ($pkg_modules) were not met:
20822
 
 
20823
 
$PACKAGE_PKG_ERRORS
20824
 
 
20825
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
20826
 
installed software in a non-standard prefix.
20827
 
 
20828
 
Alternatively, you may set the environment variables PACKAGE_CFLAGS
20829
 
and PACKAGE_LIBS to avoid the need to call pkg-config.
20830
 
See the pkg-config man page for more details.
20831
 
" >&2;}
20832
 
   { (exit 1); exit 1; }; }
 
12116
        as_fn_error $? "Package requirements ($pkg_modules) were not met:
 
12117
 
 
12118
$PACKAGE_PKG_ERRORS
 
12119
 
 
12120
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
12121
installed software in a non-standard prefix.
 
12122
 
 
12123
Alternatively, you may set the environment variables PACKAGE_CFLAGS
 
12124
and PACKAGE_LIBS to avoid the need to call pkg-config.
 
12125
See the pkg-config man page for more details." "$LINENO" 5
20833
12126
elif test $pkg_failed = untried; then
20834
 
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
20835
 
is in your PATH or set the PKG_CONFIG environment variable to the full
20836
 
path to pkg-config.
20837
 
 
20838
 
Alternatively, you may set the environment variables PACKAGE_CFLAGS
20839
 
and PACKAGE_LIBS to avoid the need to call pkg-config.
20840
 
See the pkg-config man page for more details.
20841
 
 
20842
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
20843
 
See \`config.log' for more details." >&5
20844
 
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
20845
 
is in your PATH or set the PKG_CONFIG environment variable to the full
20846
 
path to pkg-config.
20847
 
 
20848
 
Alternatively, you may set the environment variables PACKAGE_CFLAGS
20849
 
and PACKAGE_LIBS to avoid the need to call pkg-config.
20850
 
See the pkg-config man page for more details.
20851
 
 
20852
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
20853
 
See \`config.log' for more details." >&2;}
20854
 
   { (exit 1); exit 1; }; }
 
12127
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12128
$as_echo "no" >&6; }
 
12129
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
12130
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
12131
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
12132
is in your PATH or set the PKG_CONFIG environment variable to the full
 
12133
path to pkg-config.
 
12134
 
 
12135
Alternatively, you may set the environment variables PACKAGE_CFLAGS
 
12136
and PACKAGE_LIBS to avoid the need to call pkg-config.
 
12137
See the pkg-config man page for more details.
 
12138
 
 
12139
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
12140
See \`config.log' for more details" "$LINENO" 5 ; }
20855
12141
else
20856
12142
        PACKAGE_CFLAGS=$pkg_cv_PACKAGE_CFLAGS
20857
12143
        PACKAGE_LIBS=$pkg_cv_PACKAGE_LIBS
20858
 
        echo "$as_me:$LINENO: result: yes" >&5
20859
 
echo "${ECHO_T}yes" >&6
20860
 
        :
 
12144
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12145
$as_echo "yes" >&6; }
 
12146
 
20861
12147
fi
20862
12148
 
20863
12149
 
20864
12150
 
20865
 
                                        ac_config_files="$ac_config_files Makefile src/Makefile lib/Makefile autopackage/default.apspec"
 
12151
ac_config_files="$ac_config_files Makefile src/Makefile lib/Makefile autopackage/default.apspec"
 
12152
 
20866
12153
cat >confcache <<\_ACEOF
20867
12154
# This file is a shell script that caches the results of configure
20868
12155
# tests run on this system so they can be shared between configure
20881
12168
 
20882
12169
# The following way of writing the cache mishandles newlines in values,
20883
12170
# but we know of no workaround that is simple, portable, and efficient.
20884
 
# So, don't put newlines in cache variables' values.
 
12171
# So, we kill variables containing newlines.
20885
12172
# Ultrix sh set writes to stderr and can't be redirected directly,
20886
12173
# and sets the high bit in the cache file unless we assign to the vars.
20887
 
{
 
12174
(
 
12175
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
12176
    eval ac_val=\$$ac_var
 
12177
    case $ac_val in #(
 
12178
    *${as_nl}*)
 
12179
      case $ac_var in #(
 
12180
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
12181
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
12182
      esac
 
12183
      case $ac_var in #(
 
12184
      _ | IFS | as_nl) ;; #(
 
12185
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
12186
      *) { eval $ac_var=; unset $ac_var;} ;;
 
12187
      esac ;;
 
12188
    esac
 
12189
  done
 
12190
 
20888
12191
  (set) 2>&1 |
20889
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
20890
 
    *ac_space=\ *)
20891
 
      # `set' does not quote correctly, so add quotes (double-quote
20892
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
12192
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
12193
    *${as_nl}ac_space=\ *)
 
12194
      # `set' does not quote correctly, so add quotes: double-quote
 
12195
      # substitution turns \\\\ into \\, and sed turns \\ into \.
20893
12196
      sed -n \
20894
12197
        "s/'/'\\\\''/g;
20895
12198
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20896
 
      ;;
 
12199
      ;; #(
20897
12200
    *)
20898
12201
      # `set' quotes correctly as required by POSIX, so do not add quotes.
20899
 
      sed -n \
20900
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
12202
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20901
12203
      ;;
20902
 
    esac;
20903
 
} |
 
12204
    esac |
 
12205
    sort
 
12206
) |
20904
12207
  sed '
 
12208
     /^ac_cv_env_/b end
20905
12209
     t clear
20906
 
     : clear
 
12210
     :clear
20907
12211
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20908
12212
     t end
20909
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20910
 
     : end' >>confcache
20911
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
20912
 
  if test -w $cache_file; then
20913
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
12213
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
12214
     :end' >>confcache
 
12215
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
12216
  if test -w "$cache_file"; then
 
12217
    test "x$cache_file" != "x/dev/null" &&
 
12218
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
12219
$as_echo "$as_me: updating cache $cache_file" >&6;}
20914
12220
    cat confcache >$cache_file
20915
12221
  else
20916
 
    echo "not updating unwritable cache $cache_file"
 
12222
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
12223
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20917
12224
  fi
20918
12225
fi
20919
12226
rm -f confcache
20922
12229
# Let make expand exec_prefix.
20923
12230
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20924
12231
 
20925
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
20926
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20927
 
# trailing colons and then remove the whole line if VPATH becomes empty
20928
 
# (actually we leave an empty line to preserve line numbers).
20929
 
if test "x$srcdir" = x.; then
20930
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
20931
 
s/:*\$(srcdir):*/:/;
20932
 
s/:*\${srcdir}:*/:/;
20933
 
s/:*@srcdir@:*/:/;
20934
 
s/^\([^=]*=[     ]*\):*/\1/;
20935
 
s/:*$//;
20936
 
s/^[^=]*=[       ]*$//;
20937
 
}'
20938
 
fi
20939
 
 
20940
12232
DEFS=-DHAVE_CONFIG_H
20941
12233
 
20942
12234
ac_libobjs=
20943
12235
ac_ltlibobjs=
 
12236
U=
20944
12237
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20945
12238
  # 1. Remove the extension, and $U if already installed.
20946
 
  ac_i=`echo "$ac_i" |
20947
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20948
 
  # 2. Add them.
20949
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
20950
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
12239
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
12240
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
12241
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
12242
  #    will be set to the directory where LIBOBJS objects are built.
 
12243
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
12244
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20951
12245
done
20952
12246
LIBOBJS=$ac_libobjs
20953
12247
 
20954
12248
LTLIBOBJS=$ac_ltlibobjs
20955
12249
 
20956
12250
 
 
12251
 if test -n "$EXEEXT"; then
 
12252
  am__EXEEXT_TRUE=
 
12253
  am__EXEEXT_FALSE='#'
 
12254
else
 
12255
  am__EXEEXT_TRUE='#'
 
12256
  am__EXEEXT_FALSE=
 
12257
fi
 
12258
 
20957
12259
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20958
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20959
 
Usually this means the macro was only invoked conditionally." >&5
20960
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
20961
 
Usually this means the macro was only invoked conditionally." >&2;}
20962
 
   { (exit 1); exit 1; }; }
20963
 
fi
20964
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20965
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20966
 
Usually this means the macro was only invoked conditionally." >&5
20967
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20968
 
Usually this means the macro was only invoked conditionally." >&2;}
20969
 
   { (exit 1); exit 1; }; }
20970
 
fi
20971
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20972
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20973
 
Usually this means the macro was only invoked conditionally." >&5
20974
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20975
 
Usually this means the macro was only invoked conditionally." >&2;}
20976
 
   { (exit 1); exit 1; }; }
20977
 
fi
20978
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20979
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20980
 
Usually this means the macro was only invoked conditionally." >&5
20981
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20982
 
Usually this means the macro was only invoked conditionally." >&2;}
20983
 
   { (exit 1); exit 1; }; }
20984
 
fi
20985
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20986
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20987
 
Usually this means the macro was only invoked conditionally." >&5
20988
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20989
 
Usually this means the macro was only invoked conditionally." >&2;}
20990
 
   { (exit 1); exit 1; }; }
 
12260
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
12261
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
12262
fi
 
12263
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
12264
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
12265
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
12266
fi
 
12267
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
12268
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
12269
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
12270
fi
 
12271
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
12272
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
12273
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20991
12274
fi
20992
12275
 
20993
12276
: ${CONFIG_STATUS=./config.status}
 
12277
ac_write_fail=0
20994
12278
ac_clean_files_save=$ac_clean_files
20995
12279
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20996
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20997
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
20998
 
cat >$CONFIG_STATUS <<_ACEOF
 
12280
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
12281
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
12282
as_write_fail=0
 
12283
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20999
12284
#! $SHELL
21000
12285
# Generated by $as_me.
21001
12286
# Run this file to recreate the current configuration.
21005
12290
debug=false
21006
12291
ac_cs_recheck=false
21007
12292
ac_cs_silent=false
 
12293
 
21008
12294
SHELL=\${CONFIG_SHELL-$SHELL}
21009
 
_ACEOF
21010
 
 
21011
 
cat >>$CONFIG_STATUS <<\_ACEOF
21012
 
## --------------------- ##
21013
 
## M4sh Initialization.  ##
21014
 
## --------------------- ##
21015
 
 
21016
 
# Be Bourne compatible
21017
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
12295
export SHELL
 
12296
_ASEOF
 
12297
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
12298
## -------------------- ##
 
12299
## M4sh Initialization. ##
 
12300
## -------------------- ##
 
12301
 
 
12302
# Be more Bourne compatible
 
12303
DUALCASE=1; export DUALCASE # for MKS sh
 
12304
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21018
12305
  emulate sh
21019
12306
  NULLCMD=:
21020
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
12307
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21021
12308
  # is contrary to our usage.  Disable this feature.
21022
12309
  alias -g '${1+"$@"}'='"$@"'
21023
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21024
 
  set -o posix
21025
 
fi
21026
 
DUALCASE=1; export DUALCASE # for MKS sh
21027
 
 
21028
 
# Support unset when possible.
21029
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21030
 
  as_unset=unset
21031
 
else
21032
 
  as_unset=false
21033
 
fi
21034
 
 
21035
 
 
21036
 
# Work around bugs in pre-3.0 UWIN ksh.
21037
 
$as_unset ENV MAIL MAILPATH
 
12310
  setopt NO_GLOB_SUBST
 
12311
else
 
12312
  case `(set -o) 2>/dev/null` in #(
 
12313
  *posix*) :
 
12314
    set -o posix ;; #(
 
12315
  *) :
 
12316
     ;;
 
12317
esac
 
12318
fi
 
12319
 
 
12320
 
 
12321
as_nl='
 
12322
'
 
12323
export as_nl
 
12324
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
12325
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
12326
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
12327
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
12328
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
12329
# but without wasting forks for bash or zsh.
 
12330
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
12331
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
12332
  as_echo='print -r --'
 
12333
  as_echo_n='print -rn --'
 
12334
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
12335
  as_echo='printf %s\n'
 
12336
  as_echo_n='printf %s'
 
12337
else
 
12338
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
12339
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
12340
    as_echo_n='/usr/ucb/echo -n'
 
12341
  else
 
12342
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
12343
    as_echo_n_body='eval
 
12344
      arg=$1;
 
12345
      case $arg in #(
 
12346
      *"$as_nl"*)
 
12347
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
12348
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
12349
      esac;
 
12350
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
12351
    '
 
12352
    export as_echo_n_body
 
12353
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
12354
  fi
 
12355
  export as_echo_body
 
12356
  as_echo='sh -c $as_echo_body as_echo'
 
12357
fi
 
12358
 
 
12359
# The user is always right.
 
12360
if test "${PATH_SEPARATOR+set}" != set; then
 
12361
  PATH_SEPARATOR=:
 
12362
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
12363
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
12364
      PATH_SEPARATOR=';'
 
12365
  }
 
12366
fi
 
12367
 
 
12368
 
 
12369
# IFS
 
12370
# We need space, tab and new line, in precisely that order.  Quoting is
 
12371
# there to prevent editors from complaining about space-tab.
 
12372
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
12373
# splitting by setting IFS to empty value.)
 
12374
IFS=" ""        $as_nl"
 
12375
 
 
12376
# Find who we are.  Look in the path if we contain no directory separator.
 
12377
case $0 in #((
 
12378
  *[\\/]* ) as_myself=$0 ;;
 
12379
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12380
for as_dir in $PATH
 
12381
do
 
12382
  IFS=$as_save_IFS
 
12383
  test -z "$as_dir" && as_dir=.
 
12384
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
12385
  done
 
12386
IFS=$as_save_IFS
 
12387
 
 
12388
     ;;
 
12389
esac
 
12390
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
12391
# in which case we are not to be found in the path.
 
12392
if test "x$as_myself" = x; then
 
12393
  as_myself=$0
 
12394
fi
 
12395
if test ! -f "$as_myself"; then
 
12396
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
12397
  exit 1
 
12398
fi
 
12399
 
 
12400
# Unset variables that we do not need and which cause bugs (e.g. in
 
12401
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
12402
# suppresses any "Segmentation fault" message there.  '((' could
 
12403
# trigger a bug in pdksh 5.2.14.
 
12404
for as_var in BASH_ENV ENV MAIL MAILPATH
 
12405
do eval test x\${$as_var+set} = xset \
 
12406
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
12407
done
21038
12408
PS1='$ '
21039
12409
PS2='> '
21040
12410
PS4='+ '
21041
12411
 
21042
12412
# NLS nuisances.
21043
 
for as_var in \
21044
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21045
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21046
 
  LC_TELEPHONE LC_TIME
21047
 
do
21048
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21049
 
    eval $as_var=C; export $as_var
21050
 
  else
21051
 
    $as_unset $as_var
 
12413
LC_ALL=C
 
12414
export LC_ALL
 
12415
LANGUAGE=C
 
12416
export LANGUAGE
 
12417
 
 
12418
# CDPATH.
 
12419
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
12420
 
 
12421
 
 
12422
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
12423
# ----------------------------------------
 
12424
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
12425
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
12426
# script with STATUS, using 1 if that was 0.
 
12427
as_fn_error ()
 
12428
{
 
12429
  as_status=$1; test $as_status -eq 0 && as_status=1
 
12430
  if test "$4"; then
 
12431
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
12432
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21052
12433
  fi
21053
 
done
21054
 
 
21055
 
# Required to use basename.
21056
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
12434
  $as_echo "$as_me: error: $2" >&2
 
12435
  as_fn_exit $as_status
 
12436
} # as_fn_error
 
12437
 
 
12438
 
 
12439
# as_fn_set_status STATUS
 
12440
# -----------------------
 
12441
# Set $? to STATUS, without forking.
 
12442
as_fn_set_status ()
 
12443
{
 
12444
  return $1
 
12445
} # as_fn_set_status
 
12446
 
 
12447
# as_fn_exit STATUS
 
12448
# -----------------
 
12449
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
12450
as_fn_exit ()
 
12451
{
 
12452
  set +e
 
12453
  as_fn_set_status $1
 
12454
  exit $1
 
12455
} # as_fn_exit
 
12456
 
 
12457
# as_fn_unset VAR
 
12458
# ---------------
 
12459
# Portably unset VAR.
 
12460
as_fn_unset ()
 
12461
{
 
12462
  { eval $1=; unset $1;}
 
12463
}
 
12464
as_unset=as_fn_unset
 
12465
# as_fn_append VAR VALUE
 
12466
# ----------------------
 
12467
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
12468
# advantage of any shell optimizations that allow amortized linear growth over
 
12469
# repeated appends, instead of the typical quadratic growth present in naive
 
12470
# implementations.
 
12471
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
12472
  eval 'as_fn_append ()
 
12473
  {
 
12474
    eval $1+=\$2
 
12475
  }'
 
12476
else
 
12477
  as_fn_append ()
 
12478
  {
 
12479
    eval $1=\$$1\$2
 
12480
  }
 
12481
fi # as_fn_append
 
12482
 
 
12483
# as_fn_arith ARG...
 
12484
# ------------------
 
12485
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
12486
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
12487
# must be portable across $(()) and expr.
 
12488
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
12489
  eval 'as_fn_arith ()
 
12490
  {
 
12491
    as_val=$(( $* ))
 
12492
  }'
 
12493
else
 
12494
  as_fn_arith ()
 
12495
  {
 
12496
    as_val=`expr "$@" || test $? -eq 1`
 
12497
  }
 
12498
fi # as_fn_arith
 
12499
 
 
12500
 
 
12501
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
12502
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
21057
12503
  as_expr=expr
21058
12504
else
21059
12505
  as_expr=false
21060
12506
fi
21061
12507
 
21062
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
12508
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21063
12509
  as_basename=basename
21064
12510
else
21065
12511
  as_basename=false
21066
12512
fi
21067
12513
 
 
12514
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
12515
  as_dirname=dirname
 
12516
else
 
12517
  as_dirname=false
 
12518
fi
21068
12519
 
21069
 
# Name of the executable.
21070
 
as_me=`$as_basename "$0" ||
 
12520
as_me=`$as_basename -- "$0" ||
21071
12521
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21072
12522
         X"$0" : 'X\(//\)$' \| \
21073
 
         X"$0" : 'X\(/\)$' \| \
21074
 
         .     : '\(.\)' 2>/dev/null ||
21075
 
echo X/"$0" |
21076
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
21077
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
21078
 
          /^X\/\(\/\).*/{ s//\1/; q; }
21079
 
          s/.*/./; q'`
21080
 
 
21081
 
 
21082
 
# PATH needs CR, and LINENO needs CR and PATH.
 
12523
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
12524
$as_echo X/"$0" |
 
12525
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
12526
            s//\1/
 
12527
            q
 
12528
          }
 
12529
          /^X\/\(\/\/\)$/{
 
12530
            s//\1/
 
12531
            q
 
12532
          }
 
12533
          /^X\/\(\/\).*/{
 
12534
            s//\1/
 
12535
            q
 
12536
          }
 
12537
          s/.*/./; q'`
 
12538
 
21083
12539
# Avoid depending upon Character Ranges.
21084
12540
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21085
12541
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21087
12543
as_cr_digits='0123456789'
21088
12544
as_cr_alnum=$as_cr_Letters$as_cr_digits
21089
12545
 
21090
 
# The user is always right.
21091
 
if test "${PATH_SEPARATOR+set}" != set; then
21092
 
  echo "#! /bin/sh" >conf$$.sh
21093
 
  echo  "exit 0"   >>conf$$.sh
21094
 
  chmod +x conf$$.sh
21095
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21096
 
    PATH_SEPARATOR=';'
21097
 
  else
21098
 
    PATH_SEPARATOR=:
21099
 
  fi
21100
 
  rm -f conf$$.sh
21101
 
fi
21102
 
 
21103
 
 
21104
 
  as_lineno_1=$LINENO
21105
 
  as_lineno_2=$LINENO
21106
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21107
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
21108
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
21109
 
  # Find who we are.  Look in the path if we contain no path at all
21110
 
  # relative or not.
21111
 
  case $0 in
21112
 
    *[\\/]* ) as_myself=$0 ;;
21113
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21114
 
for as_dir in $PATH
21115
 
do
21116
 
  IFS=$as_save_IFS
21117
 
  test -z "$as_dir" && as_dir=.
21118
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21119
 
done
21120
 
 
21121
 
       ;;
21122
 
  esac
21123
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
21124
 
  # in which case we are not to be found in the path.
21125
 
  if test "x$as_myself" = x; then
21126
 
    as_myself=$0
21127
 
  fi
21128
 
  if test ! -f "$as_myself"; then
21129
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
21130
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
21131
 
   { (exit 1); exit 1; }; }
21132
 
  fi
21133
 
  case $CONFIG_SHELL in
21134
 
  '')
21135
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21136
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
21137
 
do
21138
 
  IFS=$as_save_IFS
21139
 
  test -z "$as_dir" && as_dir=.
21140
 
  for as_base in sh bash ksh sh5; do
21141
 
         case $as_dir in
21142
 
         /*)
21143
 
           if ("$as_dir/$as_base" -c '
21144
 
  as_lineno_1=$LINENO
21145
 
  as_lineno_2=$LINENO
21146
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21147
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
21148
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
21149
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
21150
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
21151
 
             CONFIG_SHELL=$as_dir/$as_base
21152
 
             export CONFIG_SHELL
21153
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
21154
 
           fi;;
21155
 
         esac
21156
 
       done
21157
 
done
21158
 
;;
21159
 
  esac
21160
 
 
21161
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21162
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
21163
 
  # line-number line before each line; the second 'sed' does the real
21164
 
  # work.  The second script uses 'N' to pair each line-number line
21165
 
  # with the numbered line, and appends trailing '-' during
21166
 
  # substitution so that $LINENO is not a special case at line end.
21167
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21168
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
21169
 
  sed '=' <$as_myself |
21170
 
    sed '
21171
 
      N
21172
 
      s,$,-,
21173
 
      : loop
21174
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
21175
 
      t loop
21176
 
      s,-$,,
21177
 
      s,^['$as_cr_digits']*\n,,
21178
 
    ' >$as_me.lineno &&
21179
 
  chmod +x $as_me.lineno ||
21180
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
21181
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
21182
 
   { (exit 1); exit 1; }; }
21183
 
 
21184
 
  # Don't try to exec as it changes $[0], causing all sort of problems
21185
 
  # (the dirname of $[0] is not the place where we might find the
21186
 
  # original and so on.  Autoconf is especially sensible to this).
21187
 
  . ./$as_me.lineno
21188
 
  # Exit status is that of the last command.
21189
 
  exit
21190
 
}
21191
 
 
21192
 
 
21193
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
21194
 
  *c*,-n*) ECHO_N= ECHO_C='
21195
 
' ECHO_T='      ' ;;
21196
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
21197
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
12546
ECHO_C= ECHO_N= ECHO_T=
 
12547
case `echo -n x` in #(((((
 
12548
-n*)
 
12549
  case `echo 'xy\c'` in
 
12550
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
12551
  xy)  ECHO_C='\c';;
 
12552
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
12553
       ECHO_T=' ';;
 
12554
  esac;;
 
12555
*)
 
12556
  ECHO_N='-n';;
21198
12557
esac
21199
12558
 
21200
 
if expr a : '\(a\)' >/dev/null 2>&1; then
21201
 
  as_expr=expr
 
12559
rm -f conf$$ conf$$.exe conf$$.file
 
12560
if test -d conf$$.dir; then
 
12561
  rm -f conf$$.dir/conf$$.file
21202
12562
else
21203
 
  as_expr=false
 
12563
  rm -f conf$$.dir
 
12564
  mkdir conf$$.dir 2>/dev/null
21204
12565
fi
21205
 
 
21206
 
rm -f conf$$ conf$$.exe conf$$.file
21207
 
echo >conf$$.file
21208
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
21209
 
  # We could just check for DJGPP; but this test a) works b) is more generic
21210
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
21211
 
  if test -f conf$$.exe; then
21212
 
    # Don't use ln at all; we don't have any links
 
12566
if (echo >conf$$.file) 2>/dev/null; then
 
12567
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
12568
    as_ln_s='ln -s'
 
12569
    # ... but there are two gotchas:
 
12570
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
12571
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
12572
    # In both cases, we have to default to `cp -p'.
 
12573
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
12574
      as_ln_s='cp -p'
 
12575
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
12576
    as_ln_s=ln
 
12577
  else
21213
12578
    as_ln_s='cp -p'
21214
 
  else
21215
 
    as_ln_s='ln -s'
21216
12579
  fi
21217
 
elif ln conf$$.file conf$$ 2>/dev/null; then
21218
 
  as_ln_s=ln
21219
12580
else
21220
12581
  as_ln_s='cp -p'
21221
12582
fi
21222
 
rm -f conf$$ conf$$.exe conf$$.file
21223
 
 
 
12583
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
12584
rmdir conf$$.dir 2>/dev/null
 
12585
 
 
12586
 
 
12587
# as_fn_mkdir_p
 
12588
# -------------
 
12589
# Create "$as_dir" as a directory, including parents if necessary.
 
12590
as_fn_mkdir_p ()
 
12591
{
 
12592
 
 
12593
  case $as_dir in #(
 
12594
  -*) as_dir=./$as_dir;;
 
12595
  esac
 
12596
  test -d "$as_dir" || eval $as_mkdir_p || {
 
12597
    as_dirs=
 
12598
    while :; do
 
12599
      case $as_dir in #(
 
12600
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
12601
      *) as_qdir=$as_dir;;
 
12602
      esac
 
12603
      as_dirs="'$as_qdir' $as_dirs"
 
12604
      as_dir=`$as_dirname -- "$as_dir" ||
 
12605
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
12606
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
12607
         X"$as_dir" : 'X\(//\)$' \| \
 
12608
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
12609
$as_echo X"$as_dir" |
 
12610
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
12611
            s//\1/
 
12612
            q
 
12613
          }
 
12614
          /^X\(\/\/\)[^/].*/{
 
12615
            s//\1/
 
12616
            q
 
12617
          }
 
12618
          /^X\(\/\/\)$/{
 
12619
            s//\1/
 
12620
            q
 
12621
          }
 
12622
          /^X\(\/\).*/{
 
12623
            s//\1/
 
12624
            q
 
12625
          }
 
12626
          s/.*/./; q'`
 
12627
      test -d "$as_dir" && break
 
12628
    done
 
12629
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
12630
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
12631
 
 
12632
 
 
12633
} # as_fn_mkdir_p
21224
12634
if mkdir -p . 2>/dev/null; then
21225
 
  as_mkdir_p=:
 
12635
  as_mkdir_p='mkdir -p "$as_dir"'
21226
12636
else
21227
12637
  test -d ./-p && rmdir ./-p
21228
12638
  as_mkdir_p=false
21229
12639
fi
21230
12640
 
21231
 
as_executable_p="test -f"
 
12641
if test -x / >/dev/null 2>&1; then
 
12642
  as_test_x='test -x'
 
12643
else
 
12644
  if ls -dL / >/dev/null 2>&1; then
 
12645
    as_ls_L_option=L
 
12646
  else
 
12647
    as_ls_L_option=
 
12648
  fi
 
12649
  as_test_x='
 
12650
    eval sh -c '\''
 
12651
      if test -d "$1"; then
 
12652
        test -d "$1/.";
 
12653
      else
 
12654
        case $1 in #(
 
12655
        -*)set "./$1";;
 
12656
        esac;
 
12657
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
12658
        ???[sx]*):;;*)false;;esac;fi
 
12659
    '\'' sh
 
12660
  '
 
12661
fi
 
12662
as_executable_p=$as_test_x
21232
12663
 
21233
12664
# Sed expression to map a string onto a valid CPP name.
21234
12665
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21237
12668
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21238
12669
 
21239
12670
 
21240
 
# IFS
21241
 
# We need space, tab and new line, in precisely that order.
21242
 
as_nl='
21243
 
'
21244
 
IFS="   $as_nl"
21245
 
 
21246
 
# CDPATH.
21247
 
$as_unset CDPATH
21248
 
 
21249
12671
exec 6>&1
 
12672
## ----------------------------------- ##
 
12673
## Main body of $CONFIG_STATUS script. ##
 
12674
## ----------------------------------- ##
 
12675
_ASEOF
 
12676
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21250
12677
 
21251
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
12678
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
12679
# Save the log message, to keep $0 and so on meaningful, and to
21252
12680
# report actual input values of CONFIG_FILES etc. instead of their
21253
 
# values after options handling.  Logging --version etc. is OK.
21254
 
exec 5>>config.log
21255
 
{
21256
 
  echo
21257
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21258
 
## Running $as_me. ##
21259
 
_ASBOX
21260
 
} >&5
21261
 
cat >&5 <<_CSEOF
21262
 
 
 
12681
# values after options handling.
 
12682
ac_log="
21263
12683
This file was extended by $as_me, which was
21264
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
12684
generated by GNU Autoconf 2.67.  Invocation command line was
21265
12685
 
21266
12686
  CONFIG_FILES    = $CONFIG_FILES
21267
12687
  CONFIG_HEADERS  = $CONFIG_HEADERS
21269
12689
  CONFIG_COMMANDS = $CONFIG_COMMANDS
21270
12690
  $ $0 $@
21271
12691
 
21272
 
_CSEOF
21273
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
21274
 
echo >&5
 
12692
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
12693
"
 
12694
 
21275
12695
_ACEOF
21276
12696
 
 
12697
case $ac_config_files in *"
 
12698
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
12699
esac
 
12700
 
 
12701
case $ac_config_headers in *"
 
12702
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
12703
esac
 
12704
 
 
12705
 
 
12706
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21277
12707
# Files that config.status was made for.
21278
 
if test -n "$ac_config_files"; then
21279
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
21280
 
fi
21281
 
 
21282
 
if test -n "$ac_config_headers"; then
21283
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
21284
 
fi
21285
 
 
21286
 
if test -n "$ac_config_links"; then
21287
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
21288
 
fi
21289
 
 
21290
 
if test -n "$ac_config_commands"; then
21291
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
21292
 
fi
21293
 
 
21294
 
cat >>$CONFIG_STATUS <<\_ACEOF
21295
 
 
 
12708
config_files="$ac_config_files"
 
12709
config_headers="$ac_config_headers"
 
12710
config_commands="$ac_config_commands"
 
12711
 
 
12712
_ACEOF
 
12713
 
 
12714
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21296
12715
ac_cs_usage="\
21297
 
\`$as_me' instantiates files from templates according to the
21298
 
current configuration.
 
12716
\`$as_me' instantiates files and other configuration actions
 
12717
from templates according to the current configuration.  Unless the files
 
12718
and actions are specified as TAGs, all are instantiated by default.
21299
12719
 
21300
 
Usage: $0 [OPTIONS] [FILE]...
 
12720
Usage: $0 [OPTION]... [TAG]...
21301
12721
 
21302
12722
  -h, --help       print this help, then exit
21303
 
  -V, --version    print version number, then exit
21304
 
  -q, --quiet      do not print progress messages
 
12723
  -V, --version    print version number and configuration settings, then exit
 
12724
      --config     print configuration, then exit
 
12725
  -q, --quiet, --silent
 
12726
                   do not print progress messages
21305
12727
  -d, --debug      don't remove temporary files
21306
12728
      --recheck    update $as_me by reconfiguring in the same conditions
21307
 
  --file=FILE[:TEMPLATE]
21308
 
                   instantiate the configuration file FILE
21309
 
  --header=FILE[:TEMPLATE]
21310
 
                   instantiate the configuration header FILE
 
12729
      --file=FILE[:TEMPLATE]
 
12730
                   instantiate the configuration file FILE
 
12731
      --header=FILE[:TEMPLATE]
 
12732
                   instantiate the configuration header FILE
21311
12733
 
21312
12734
Configuration files:
21313
12735
$config_files
21318
12740
Configuration commands:
21319
12741
$config_commands
21320
12742
 
21321
 
Report bugs to <bug-autoconf@gnu.org>."
 
12743
Report bugs to the package provider."
 
12744
 
21322
12745
_ACEOF
21323
 
 
21324
 
cat >>$CONFIG_STATUS <<_ACEOF
 
12746
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
12747
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21325
12748
ac_cs_version="\\
21326
12749
config.status
21327
 
configured by $0, generated by GNU Autoconf 2.59,
21328
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
12750
configured by $0, generated by GNU Autoconf 2.67,
 
12751
  with options \\"\$ac_cs_config\\"
21329
12752
 
21330
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
12753
Copyright (C) 2010 Free Software Foundation, Inc.
21331
12754
This config.status script is free software; the Free Software Foundation
21332
12755
gives unlimited permission to copy, distribute and modify it."
21333
 
srcdir=$srcdir
21334
 
INSTALL="$INSTALL"
 
12756
 
 
12757
ac_pwd='$ac_pwd'
 
12758
srcdir='$srcdir'
 
12759
INSTALL='$INSTALL'
 
12760
MKDIR_P='$MKDIR_P'
 
12761
AWK='$AWK'
 
12762
test -n "\$AWK" || AWK=awk
21335
12763
_ACEOF
21336
12764
 
21337
 
cat >>$CONFIG_STATUS <<\_ACEOF
21338
 
# If no file are specified by the user, then we need to provide default
21339
 
# value.  By we need to know if files were specified by the user.
 
12765
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
12766
# The default lists apply if the user does not specify any file.
21340
12767
ac_need_defaults=:
21341
12768
while test $# != 0
21342
12769
do
21343
12770
  case $1 in
21344
 
  --*=*)
21345
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
21346
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
21347
 
    ac_shift=:
21348
 
    ;;
21349
 
  -*)
 
12771
  --*=?*)
 
12772
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
12773
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
12774
    ac_shift=:
 
12775
    ;;
 
12776
  --*=)
 
12777
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
12778
    ac_optarg=
 
12779
    ac_shift=:
 
12780
    ;;
 
12781
  *)
21350
12782
    ac_option=$1
21351
12783
    ac_optarg=$2
21352
12784
    ac_shift=shift
21353
12785
    ;;
21354
 
  *) # This is not an option, so the user has probably given explicit
21355
 
     # arguments.
21356
 
     ac_option=$1
21357
 
     ac_need_defaults=false;;
21358
12786
  esac
21359
12787
 
21360
12788
  case $ac_option in
21361
12789
  # Handling of the options.
21362
 
_ACEOF
21363
 
cat >>$CONFIG_STATUS <<\_ACEOF
21364
12790
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21365
12791
    ac_cs_recheck=: ;;
21366
 
  --version | --vers* | -V )
21367
 
    echo "$ac_cs_version"; exit 0 ;;
 
12792
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
12793
    $as_echo "$ac_cs_version"; exit ;;
 
12794
  --config | --confi | --conf | --con | --co | --c )
 
12795
    $as_echo "$ac_cs_config"; exit ;;
 
12796
  --debug | --debu | --deb | --de | --d | -d )
 
12797
    debug=: ;;
 
12798
  --file | --fil | --fi | --f )
 
12799
    $ac_shift
 
12800
    case $ac_optarg in
 
12801
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
12802
    '') as_fn_error $? "missing file argument" ;;
 
12803
    esac
 
12804
    as_fn_append CONFIG_FILES " '$ac_optarg'"
 
12805
    ac_need_defaults=false;;
 
12806
  --header | --heade | --head | --hea )
 
12807
    $ac_shift
 
12808
    case $ac_optarg in
 
12809
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
12810
    esac
 
12811
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 
12812
    ac_need_defaults=false;;
21368
12813
  --he | --h)
21369
12814
    # Conflict between --help and --header
21370
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
21371
 
Try \`$0 --help' for more information." >&5
21372
 
echo "$as_me: error: ambiguous option: $1
21373
 
Try \`$0 --help' for more information." >&2;}
21374
 
   { (exit 1); exit 1; }; };;
 
12815
    as_fn_error $? "ambiguous option: \`$1'
 
12816
Try \`$0 --help' for more information.";;
21375
12817
  --help | --hel | -h )
21376
 
    echo "$ac_cs_usage"; exit 0 ;;
21377
 
  --debug | --d* | -d )
21378
 
    debug=: ;;
21379
 
  --file | --fil | --fi | --f )
21380
 
    $ac_shift
21381
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21382
 
    ac_need_defaults=false;;
21383
 
  --header | --heade | --head | --hea )
21384
 
    $ac_shift
21385
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21386
 
    ac_need_defaults=false;;
 
12818
    $as_echo "$ac_cs_usage"; exit ;;
21387
12819
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21388
12820
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
21389
12821
    ac_cs_silent=: ;;
21390
12822
 
21391
12823
  # This is an error.
21392
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
21393
 
Try \`$0 --help' for more information." >&5
21394
 
echo "$as_me: error: unrecognized option: $1
21395
 
Try \`$0 --help' for more information." >&2;}
21396
 
   { (exit 1); exit 1; }; } ;;
 
12824
  -*) as_fn_error $? "unrecognized option: \`$1'
 
12825
Try \`$0 --help' for more information." ;;
21397
12826
 
21398
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
12827
  *) as_fn_append ac_config_targets " $1"
 
12828
     ac_need_defaults=false ;;
21399
12829
 
21400
12830
  esac
21401
12831
  shift
21409
12839
fi
21410
12840
 
21411
12841
_ACEOF
21412
 
cat >>$CONFIG_STATUS <<_ACEOF
 
12842
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21413
12843
if \$ac_cs_recheck; then
21414
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21415
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
12844
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
12845
  shift
 
12846
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
12847
  CONFIG_SHELL='$SHELL'
 
12848
  export CONFIG_SHELL
 
12849
  exec "\$@"
21416
12850
fi
21417
12851
 
21418
12852
_ACEOF
21419
 
 
21420
 
cat >>$CONFIG_STATUS <<_ACEOF
21421
 
#
21422
 
# INIT-COMMANDS section.
21423
 
#
21424
 
 
 
12853
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
12854
exec 5>>config.log
 
12855
{
 
12856
  echo
 
12857
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
12858
## Running $as_me. ##
 
12859
_ASBOX
 
12860
  $as_echo "$ac_log"
 
12861
} >&5
 
12862
 
 
12863
_ACEOF
 
12864
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
12865
#
 
12866
# INIT-COMMANDS
 
12867
#
21425
12868
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21426
12869
 
 
12870
 
 
12871
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
12872
# if CDPATH is set.
 
12873
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
12874
 
 
12875
sed_quote_subst='$sed_quote_subst'
 
12876
double_quote_subst='$double_quote_subst'
 
12877
delay_variable_subst='$delay_variable_subst'
 
12878
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
12879
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
12880
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
12881
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
12882
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
12883
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
12884
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
12885
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
12886
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
12887
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
12888
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
12889
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
12890
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
12891
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
12892
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
12893
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
12894
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
12895
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
12896
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
12897
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
12898
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
12899
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
12900
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
12901
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
12902
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
12903
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
12904
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
12905
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12906
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
12907
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
12908
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
12909
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
12910
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
12911
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
12912
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
12913
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12914
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12915
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12916
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
12917
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
12918
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
12919
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
12920
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
12921
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
12922
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
 
12923
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
12924
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
12925
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
12926
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
12927
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
12928
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
12929
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
12930
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
12931
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
12932
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
12933
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
12934
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
12935
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
12936
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
12937
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
12938
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
12939
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
12940
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12941
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12942
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
12943
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
12944
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
12945
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
12946
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
12947
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12948
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12949
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12950
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12951
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12952
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12953
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
12954
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
12955
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
12956
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
12957
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
12958
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
12959
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
12960
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
12961
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
12962
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
12963
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
12964
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
12965
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
12966
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
12967
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
12968
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12969
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
12970
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
12971
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12972
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
12973
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
12974
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
12975
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
12976
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
12977
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
12978
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
12979
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
12980
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
12981
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
12982
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
12983
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12984
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12985
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
12986
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
12987
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
12988
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
12989
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
12990
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
12991
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
12992
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
12993
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
12994
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
12995
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
12996
 
 
12997
LTCC='$LTCC'
 
12998
LTCFLAGS='$LTCFLAGS'
 
12999
compiler='$compiler_DEFAULT'
 
13000
 
 
13001
# Quote evaled strings.
 
13002
for var in SED \
 
13003
GREP \
 
13004
EGREP \
 
13005
FGREP \
 
13006
LD \
 
13007
NM \
 
13008
LN_S \
 
13009
lt_SP2NL \
 
13010
lt_NL2SP \
 
13011
reload_flag \
 
13012
OBJDUMP \
 
13013
deplibs_check_method \
 
13014
file_magic_cmd \
 
13015
AR \
 
13016
AR_FLAGS \
 
13017
STRIP \
 
13018
RANLIB \
 
13019
CC \
 
13020
CFLAGS \
 
13021
compiler \
 
13022
lt_cv_sys_global_symbol_pipe \
 
13023
lt_cv_sys_global_symbol_to_cdecl \
 
13024
lt_cv_sys_global_symbol_to_c_name_address \
 
13025
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
13026
SHELL \
 
13027
ECHO \
 
13028
lt_prog_compiler_no_builtin_flag \
 
13029
lt_prog_compiler_wl \
 
13030
lt_prog_compiler_pic \
 
13031
lt_prog_compiler_static \
 
13032
lt_cv_prog_compiler_c_o \
 
13033
need_locks \
 
13034
DSYMUTIL \
 
13035
NMEDIT \
 
13036
LIPO \
 
13037
OTOOL \
 
13038
OTOOL64 \
 
13039
shrext_cmds \
 
13040
export_dynamic_flag_spec \
 
13041
whole_archive_flag_spec \
 
13042
compiler_needs_object \
 
13043
with_gnu_ld \
 
13044
allow_undefined_flag \
 
13045
no_undefined_flag \
 
13046
hardcode_libdir_flag_spec \
 
13047
hardcode_libdir_flag_spec_ld \
 
13048
hardcode_libdir_separator \
 
13049
fix_srcfile_path \
 
13050
exclude_expsyms \
 
13051
include_expsyms \
 
13052
file_list_spec \
 
13053
variables_saved_for_relink \
 
13054
libname_spec \
 
13055
library_names_spec \
 
13056
soname_spec \
 
13057
finish_eval \
 
13058
old_striplib \
 
13059
striplib; do
 
13060
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
13061
    *[\\\\\\\`\\"\\\$]*)
 
13062
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
13063
      ;;
 
13064
    *)
 
13065
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
13066
      ;;
 
13067
    esac
 
13068
done
 
13069
 
 
13070
# Double-quote double-evaled strings.
 
13071
for var in reload_cmds \
 
13072
old_postinstall_cmds \
 
13073
old_postuninstall_cmds \
 
13074
old_archive_cmds \
 
13075
extract_expsyms_cmds \
 
13076
old_archive_from_new_cmds \
 
13077
old_archive_from_expsyms_cmds \
 
13078
archive_cmds \
 
13079
archive_expsym_cmds \
 
13080
module_cmds \
 
13081
module_expsym_cmds \
 
13082
export_symbols_cmds \
 
13083
prelink_cmds \
 
13084
postinstall_cmds \
 
13085
postuninstall_cmds \
 
13086
finish_cmds \
 
13087
sys_lib_search_path_spec \
 
13088
sys_lib_dlsearch_path_spec; do
 
13089
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
13090
    *[\\\\\\\`\\"\\\$]*)
 
13091
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
13092
      ;;
 
13093
    *)
 
13094
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
13095
      ;;
 
13096
    esac
 
13097
done
 
13098
 
 
13099
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
13100
case \$lt_ECHO in
 
13101
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
13102
  ;;
 
13103
esac
 
13104
 
 
13105
ac_aux_dir='$ac_aux_dir'
 
13106
xsi_shell='$xsi_shell'
 
13107
lt_shell_append='$lt_shell_append'
 
13108
 
 
13109
# See if we are running on zsh, and set the options which allow our
 
13110
# commands through without removal of \ escapes INIT.
 
13111
if test -n "\${ZSH_VERSION+set}" ; then
 
13112
   setopt NO_GLOB_SUBST
 
13113
fi
 
13114
 
 
13115
 
 
13116
    PACKAGE='$PACKAGE'
 
13117
    VERSION='$VERSION'
 
13118
    TIMESTAMP='$TIMESTAMP'
 
13119
    RM='$RM'
 
13120
    ofile='$ofile'
 
13121
 
 
13122
 
 
13123
 
 
13124
 
21427
13125
_ACEOF
21428
13126
 
21429
 
 
21430
 
 
21431
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
13127
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13128
 
 
13129
# Handling of arguments.
21432
13130
for ac_config_target in $ac_config_targets
21433
13131
do
21434
 
  case "$ac_config_target" in
21435
 
  # Handling of arguments.
21436
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21437
 
  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
21438
 
  "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
21439
 
  "autopackage/default.apspec" ) CONFIG_FILES="$CONFIG_FILES autopackage/default.apspec" ;;
21440
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
21441
 
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
21442
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21443
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21444
 
   { (exit 1); exit 1; }; };;
 
13132
  case $ac_config_target in
 
13133
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
13134
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
13135
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
 
13136
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
13137
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
13138
    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
 
13139
    "autopackage/default.apspec") CONFIG_FILES="$CONFIG_FILES autopackage/default.apspec" ;;
 
13140
 
 
13141
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
21445
13142
  esac
21446
13143
done
21447
13144
 
 
13145
 
21448
13146
# If the user did not use the arguments to specify the items to instantiate,
21449
13147
# then the envvar interface is used.  Set only those that are not.
21450
13148
# We use the long form for the default assignment because of an extremely
21456
13154
fi
21457
13155
 
21458
13156
# Have a temporary directory for convenience.  Make it in the build tree
21459
 
# simply because there is no reason to put it here, and in addition,
 
13157
# simply because there is no reason against having it here, and in addition,
21460
13158
# creating and moving files from /tmp can sometimes cause problems.
21461
 
# Create a temporary directory, and hook for its removal unless debugging.
 
13159
# Hook for its removal unless debugging.
 
13160
# Note that there is a small window in which the directory will not be cleaned:
 
13161
# after its creation but before its name has been assigned to `$tmp'.
21462
13162
$debug ||
21463
13163
{
21464
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
21465
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
13164
  tmp=
 
13165
  trap 'exit_status=$?
 
13166
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
13167
' 0
 
13168
  trap 'as_fn_exit 1' 1 2 13 15
21466
13169
}
21467
 
 
21468
13170
# Create a (secure) tmp directory for tmp files.
21469
13171
 
21470
13172
{
21471
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
13173
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21472
13174
  test -n "$tmp" && test -d "$tmp"
21473
13175
}  ||
21474
13176
{
21475
 
  tmp=./confstat$$-$RANDOM
21476
 
  (umask 077 && mkdir $tmp)
21477
 
} ||
 
13177
  tmp=./conf$$-$RANDOM
 
13178
  (umask 077 && mkdir "$tmp")
 
13179
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
13180
 
 
13181
# Set up the scripts for CONFIG_FILES section.
 
13182
# No need to generate them if there are no CONFIG_FILES.
 
13183
# This happens for instance with `./config.status config.h'.
 
13184
if test -n "$CONFIG_FILES"; then
 
13185
 
 
13186
 
 
13187
ac_cr=`echo X | tr X '\015'`
 
13188
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
13189
# But we know of no other shell where ac_cr would be empty at this
 
13190
# point, so we can use a bashism as a fallback.
 
13191
if test "x$ac_cr" = x; then
 
13192
  eval ac_cr=\$\'\\r\'
 
13193
fi
 
13194
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
13195
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
13196
  ac_cs_awk_cr='\\r'
 
13197
else
 
13198
  ac_cs_awk_cr=$ac_cr
 
13199
fi
 
13200
 
 
13201
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
13202
_ACEOF
 
13203
 
 
13204
 
21478
13205
{
21479
 
   echo "$me: cannot create a temporary directory in ." >&2
21480
 
   { (exit 1); exit 1; }
21481
 
}
21482
 
 
21483
 
_ACEOF
21484
 
 
21485
 
cat >>$CONFIG_STATUS <<_ACEOF
21486
 
 
21487
 
#
21488
 
# CONFIG_FILES section.
21489
 
#
21490
 
 
21491
 
# No need to generate the scripts if there are no CONFIG_FILES.
21492
 
# This happens for instance when ./config.status config.h
21493
 
if test -n "\$CONFIG_FILES"; then
21494
 
  # Protect against being on the right side of a sed subst in config.status.
21495
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21496
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21497
 
s,@SHELL@,$SHELL,;t t
21498
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21499
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21500
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21501
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21502
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21503
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21504
 
s,@exec_prefix@,$exec_prefix,;t t
21505
 
s,@prefix@,$prefix,;t t
21506
 
s,@program_transform_name@,$program_transform_name,;t t
21507
 
s,@bindir@,$bindir,;t t
21508
 
s,@sbindir@,$sbindir,;t t
21509
 
s,@libexecdir@,$libexecdir,;t t
21510
 
s,@datadir@,$datadir,;t t
21511
 
s,@sysconfdir@,$sysconfdir,;t t
21512
 
s,@sharedstatedir@,$sharedstatedir,;t t
21513
 
s,@localstatedir@,$localstatedir,;t t
21514
 
s,@libdir@,$libdir,;t t
21515
 
s,@includedir@,$includedir,;t t
21516
 
s,@oldincludedir@,$oldincludedir,;t t
21517
 
s,@infodir@,$infodir,;t t
21518
 
s,@mandir@,$mandir,;t t
21519
 
s,@build_alias@,$build_alias,;t t
21520
 
s,@host_alias@,$host_alias,;t t
21521
 
s,@target_alias@,$target_alias,;t t
21522
 
s,@DEFS@,$DEFS,;t t
21523
 
s,@ECHO_C@,$ECHO_C,;t t
21524
 
s,@ECHO_N@,$ECHO_N,;t t
21525
 
s,@ECHO_T@,$ECHO_T,;t t
21526
 
s,@LIBS@,$LIBS,;t t
21527
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21528
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21529
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21530
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
21531
 
s,@PACKAGE@,$PACKAGE,;t t
21532
 
s,@VERSION@,$VERSION,;t t
21533
 
s,@ACLOCAL@,$ACLOCAL,;t t
21534
 
s,@AUTOCONF@,$AUTOCONF,;t t
21535
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
21536
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
21537
 
s,@MAKEINFO@,$MAKEINFO,;t t
21538
 
s,@install_sh@,$install_sh,;t t
21539
 
s,@STRIP@,$STRIP,;t t
21540
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21541
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
21542
 
s,@mkdir_p@,$mkdir_p,;t t
21543
 
s,@AWK@,$AWK,;t t
21544
 
s,@SET_MAKE@,$SET_MAKE,;t t
21545
 
s,@am__leading_dot@,$am__leading_dot,;t t
21546
 
s,@AMTAR@,$AMTAR,;t t
21547
 
s,@am__tar@,$am__tar,;t t
21548
 
s,@am__untar@,$am__untar,;t t
21549
 
s,@CC@,$CC,;t t
21550
 
s,@CFLAGS@,$CFLAGS,;t t
21551
 
s,@LDFLAGS@,$LDFLAGS,;t t
21552
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
21553
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
21554
 
s,@EXEEXT@,$EXEEXT,;t t
21555
 
s,@OBJEXT@,$OBJEXT,;t t
21556
 
s,@DEPDIR@,$DEPDIR,;t t
21557
 
s,@am__include@,$am__include,;t t
21558
 
s,@am__quote@,$am__quote,;t t
21559
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
21560
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
21561
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
21562
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
21563
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
21564
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
21565
 
s,@CPP@,$CPP,;t t
21566
 
s,@EGREP@,$EGREP,;t t
21567
 
s,@build@,$build,;t t
21568
 
s,@build_cpu@,$build_cpu,;t t
21569
 
s,@build_vendor@,$build_vendor,;t t
21570
 
s,@build_os@,$build_os,;t t
21571
 
s,@host@,$host,;t t
21572
 
s,@host_cpu@,$host_cpu,;t t
21573
 
s,@host_vendor@,$host_vendor,;t t
21574
 
s,@host_os@,$host_os,;t t
21575
 
s,@LN_S@,$LN_S,;t t
21576
 
s,@ECHO@,$ECHO,;t t
21577
 
s,@AR@,$AR,;t t
21578
 
s,@ac_ct_AR@,$ac_ct_AR,;t t
21579
 
s,@RANLIB@,$RANLIB,;t t
21580
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21581
 
s,@CXX@,$CXX,;t t
21582
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
21583
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21584
 
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
21585
 
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
21586
 
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
21587
 
s,@CXXCPP@,$CXXCPP,;t t
21588
 
s,@F77@,$F77,;t t
21589
 
s,@FFLAGS@,$FFLAGS,;t t
21590
 
s,@ac_ct_F77@,$ac_ct_F77,;t t
21591
 
s,@LIBTOOL@,$LIBTOOL,;t t
21592
 
s,@BINRELOC_CFLAGS@,$BINRELOC_CFLAGS,;t t
21593
 
s,@BINRELOC_LIBS@,$BINRELOC_LIBS,;t t
21594
 
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
21595
 
s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
21596
 
s,@PACKAGE_CFLAGS@,$PACKAGE_CFLAGS,;t t
21597
 
s,@PACKAGE_LIBS@,$PACKAGE_LIBS,;t t
21598
 
s,@LIBOBJS@,$LIBOBJS,;t t
21599
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21600
 
CEOF
21601
 
 
21602
 
_ACEOF
21603
 
 
21604
 
  cat >>$CONFIG_STATUS <<\_ACEOF
21605
 
  # Split the substitutions into bite-sized pieces for seds with
21606
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
21607
 
  ac_max_sed_lines=48
21608
 
  ac_sed_frag=1 # Number of current file.
21609
 
  ac_beg=1 # First line for current file.
21610
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
21611
 
  ac_more_lines=:
21612
 
  ac_sed_cmds=
21613
 
  while $ac_more_lines; do
21614
 
    if test $ac_beg -gt 1; then
21615
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21616
 
    else
21617
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21618
 
    fi
21619
 
    if test ! -s $tmp/subs.frag; then
21620
 
      ac_more_lines=false
21621
 
    else
21622
 
      # The purpose of the label and of the branching condition is to
21623
 
      # speed up the sed processing (if there are no `@' at all, there
21624
 
      # is no need to browse any of the substitutions).
21625
 
      # These are the two extra sed commands mentioned above.
21626
 
      (echo ':t
21627
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21628
 
      if test -z "$ac_sed_cmds"; then
21629
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21630
 
      else
21631
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21632
 
      fi
21633
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
21634
 
      ac_beg=$ac_end
21635
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
21636
 
    fi
21637
 
  done
21638
 
  if test -z "$ac_sed_cmds"; then
21639
 
    ac_sed_cmds=cat
 
13206
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
13207
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
13208
  echo "_ACEOF"
 
13209
} >conf$$subs.sh ||
 
13210
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
13211
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 
13212
ac_delim='%!_!# '
 
13213
for ac_last_try in false false false false false :; do
 
13214
  . ./conf$$subs.sh ||
 
13215
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
13216
 
 
13217
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
13218
  if test $ac_delim_n = $ac_delim_num; then
 
13219
    break
 
13220
  elif $ac_last_try; then
 
13221
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
13222
  else
 
13223
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21640
13224
  fi
 
13225
done
 
13226
rm -f conf$$subs.sh
 
13227
 
 
13228
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13229
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
13230
_ACEOF
 
13231
sed -n '
 
13232
h
 
13233
s/^/S["/; s/!.*/"]=/
 
13234
p
 
13235
g
 
13236
s/^[^!]*!//
 
13237
:repl
 
13238
t repl
 
13239
s/'"$ac_delim"'$//
 
13240
t delim
 
13241
:nl
 
13242
h
 
13243
s/\(.\{148\}\)..*/\1/
 
13244
t more1
 
13245
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
13246
p
 
13247
n
 
13248
b repl
 
13249
:more1
 
13250
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
13251
p
 
13252
g
 
13253
s/.\{148\}//
 
13254
t nl
 
13255
:delim
 
13256
h
 
13257
s/\(.\{148\}\)..*/\1/
 
13258
t more2
 
13259
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
13260
p
 
13261
b
 
13262
:more2
 
13263
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
13264
p
 
13265
g
 
13266
s/.\{148\}//
 
13267
t delim
 
13268
' <conf$$subs.awk | sed '
 
13269
/^[^""]/{
 
13270
  N
 
13271
  s/\n//
 
13272
}
 
13273
' >>$CONFIG_STATUS || ac_write_fail=1
 
13274
rm -f conf$$subs.awk
 
13275
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13276
_ACAWK
 
13277
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
13278
  for (key in S) S_is_set[key] = 1
 
13279
  FS = ""
 
13280
 
 
13281
}
 
13282
{
 
13283
  line = $ 0
 
13284
  nfields = split(line, field, "@")
 
13285
  substed = 0
 
13286
  len = length(field[1])
 
13287
  for (i = 2; i < nfields; i++) {
 
13288
    key = field[i]
 
13289
    keylen = length(key)
 
13290
    if (S_is_set[key]) {
 
13291
      value = S[key]
 
13292
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
13293
      len += length(value) + length(field[++i])
 
13294
      substed = 1
 
13295
    } else
 
13296
      len += 1 + keylen
 
13297
  }
 
13298
 
 
13299
  print line
 
13300
}
 
13301
 
 
13302
_ACAWK
 
13303
_ACEOF
 
13304
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13305
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
13306
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
13307
else
 
13308
  cat
 
13309
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
13310
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 
13311
_ACEOF
 
13312
 
 
13313
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
13314
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 
13315
# trailing colons and then remove the whole line if VPATH becomes empty
 
13316
# (actually we leave an empty line to preserve line numbers).
 
13317
if test "x$srcdir" = x.; then
 
13318
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
13319
h
 
13320
s///
 
13321
s/^/:/
 
13322
s/[      ]*$/:/
 
13323
s/:\$(srcdir):/:/g
 
13324
s/:\${srcdir}:/:/g
 
13325
s/:@srcdir@:/:/g
 
13326
s/^:*//
 
13327
s/:*$//
 
13328
x
 
13329
s/\(=[   ]*\).*/\1/
 
13330
G
 
13331
s/\n//
 
13332
s/^[^=]*=[       ]*$//
 
13333
}'
 
13334
fi
 
13335
 
 
13336
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21641
13337
fi # test -n "$CONFIG_FILES"
21642
13338
 
21643
 
_ACEOF
21644
 
cat >>$CONFIG_STATUS <<\_ACEOF
21645
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21646
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21647
 
  case $ac_file in
21648
 
  - | *:- | *:-:* ) # input from stdin
21649
 
        cat >$tmp/stdin
21650
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21651
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21652
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21653
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21654
 
  * )   ac_file_in=$ac_file.in ;;
21655
 
  esac
21656
 
 
21657
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21658
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
13339
# Set up the scripts for CONFIG_HEADERS section.
 
13340
# No need to generate them if there are no CONFIG_HEADERS.
 
13341
# This happens for instance with `./config.status Makefile'.
 
13342
if test -n "$CONFIG_HEADERS"; then
 
13343
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
13344
BEGIN {
 
13345
_ACEOF
 
13346
 
 
13347
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
13348
# here-document in config.status, that substitutes the proper values into
 
13349
# config.h.in to produce config.h.
 
13350
 
 
13351
# Create a delimiter string that does not exist in confdefs.h, to ease
 
13352
# handling of long lines.
 
13353
ac_delim='%!_!# '
 
13354
for ac_last_try in false false :; do
 
13355
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
13356
  if test -z "$ac_t"; then
 
13357
    break
 
13358
  elif $ac_last_try; then
 
13359
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
 
13360
  else
 
13361
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
13362
  fi
 
13363
done
 
13364
 
 
13365
# For the awk script, D is an array of macro values keyed by name,
 
13366
# likewise P contains macro parameters if any.  Preserve backslash
 
13367
# newline sequences.
 
13368
 
 
13369
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
13370
sed -n '
 
13371
s/.\{148\}/&'"$ac_delim"'/g
 
13372
t rset
 
13373
:rset
 
13374
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
13375
t def
 
13376
d
 
13377
:def
 
13378
s/\\$//
 
13379
t bsnl
 
13380
s/["\\]/\\&/g
 
13381
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
13382
D["\1"]=" \3"/p
 
13383
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
13384
d
 
13385
:bsnl
 
13386
s/["\\]/\\&/g
 
13387
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
13388
D["\1"]=" \3\\\\\\n"\\/p
 
13389
t cont
 
13390
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
13391
t cont
 
13392
d
 
13393
:cont
 
13394
n
 
13395
s/.\{148\}/&'"$ac_delim"'/g
 
13396
t clear
 
13397
:clear
 
13398
s/\\$//
 
13399
t bsnlc
 
13400
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
13401
d
 
13402
:bsnlc
 
13403
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
13404
b cont
 
13405
' <confdefs.h | sed '
 
13406
s/'"$ac_delim"'/"\\\
 
13407
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
13408
 
 
13409
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13410
  for (key in D) D_is_set[key] = 1
 
13411
  FS = ""
 
13412
}
 
13413
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
13414
  line = \$ 0
 
13415
  split(line, arg, " ")
 
13416
  if (arg[1] == "#") {
 
13417
    defundef = arg[2]
 
13418
    mac1 = arg[3]
 
13419
  } else {
 
13420
    defundef = substr(arg[1], 2)
 
13421
    mac1 = arg[2]
 
13422
  }
 
13423
  split(mac1, mac2, "(") #)
 
13424
  macro = mac2[1]
 
13425
  prefix = substr(line, 1, index(line, defundef) - 1)
 
13426
  if (D_is_set[macro]) {
 
13427
    # Preserve the white space surrounding the "#".
 
13428
    print prefix "define", macro P[macro] D[macro]
 
13429
    next
 
13430
  } else {
 
13431
    # Replace #undef with comments.  This is necessary, for example,
 
13432
    # in the case of _POSIX_SOURCE, which is predefined and required
 
13433
    # on some systems where configure will not decide to define it.
 
13434
    if (defundef == "undef") {
 
13435
      print "/*", prefix defundef, macro, "*/"
 
13436
      next
 
13437
    }
 
13438
  }
 
13439
}
 
13440
{ print }
 
13441
_ACAWK
 
13442
_ACEOF
 
13443
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13444
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 
13445
fi # test -n "$CONFIG_HEADERS"
 
13446
 
 
13447
 
 
13448
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
13449
shift
 
13450
for ac_tag
 
13451
do
 
13452
  case $ac_tag in
 
13453
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
13454
  esac
 
13455
  case $ac_mode$ac_tag in
 
13456
  :[FHL]*:*);;
 
13457
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
 
13458
  :[FH]-) ac_tag=-:-;;
 
13459
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
13460
  esac
 
13461
  ac_save_IFS=$IFS
 
13462
  IFS=:
 
13463
  set x $ac_tag
 
13464
  IFS=$ac_save_IFS
 
13465
  shift
 
13466
  ac_file=$1
 
13467
  shift
 
13468
 
 
13469
  case $ac_mode in
 
13470
  :L) ac_source=$1;;
 
13471
  :[FH])
 
13472
    ac_file_inputs=
 
13473
    for ac_f
 
13474
    do
 
13475
      case $ac_f in
 
13476
      -) ac_f="$tmp/stdin";;
 
13477
      *) # Look for the file first in the build tree, then in the source tree
 
13478
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
13479
         # because $ac_f cannot contain `:'.
 
13480
         test -f "$ac_f" ||
 
13481
           case $ac_f in
 
13482
           [\\/$]*) false;;
 
13483
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
13484
           esac ||
 
13485
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
 
13486
      esac
 
13487
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
13488
      as_fn_append ac_file_inputs " '$ac_f'"
 
13489
    done
 
13490
 
 
13491
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
13492
    # use $as_me), people would be surprised to read:
 
13493
    #    /* config.h.  Generated by config.status.  */
 
13494
    configure_input='Generated from '`
 
13495
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
13496
        `' by configure.'
 
13497
    if test x"$ac_file" != x-; then
 
13498
      configure_input="$ac_file.  $configure_input"
 
13499
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
13500
$as_echo "$as_me: creating $ac_file" >&6;}
 
13501
    fi
 
13502
    # Neutralize special characters interpreted by sed in replacement strings.
 
13503
    case $configure_input in #(
 
13504
    *\&* | *\|* | *\\* )
 
13505
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
13506
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
13507
    *) ac_sed_conf_input=$configure_input;;
 
13508
    esac
 
13509
 
 
13510
    case $ac_tag in
 
13511
    *:-:* | *:-) cat >"$tmp/stdin" \
 
13512
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
 
13513
    esac
 
13514
    ;;
 
13515
  esac
 
13516
 
 
13517
  ac_dir=`$as_dirname -- "$ac_file" ||
21659
13518
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21660
13519
         X"$ac_file" : 'X\(//\)[^/]' \| \
21661
13520
         X"$ac_file" : 'X\(//\)$' \| \
21662
 
         X"$ac_file" : 'X\(/\)' \| \
21663
 
         .     : '\(.\)' 2>/dev/null ||
21664
 
echo X"$ac_file" |
21665
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21666
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21667
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21668
 
          /^X\(\/\).*/{ s//\1/; q; }
21669
 
          s/.*/./; q'`
21670
 
  { if $as_mkdir_p; then
21671
 
    mkdir -p "$ac_dir"
21672
 
  else
21673
 
    as_dir="$ac_dir"
21674
 
    as_dirs=
21675
 
    while test ! -d "$as_dir"; do
21676
 
      as_dirs="$as_dir $as_dirs"
21677
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
21678
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21679
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
21680
 
         X"$as_dir" : 'X\(//\)$' \| \
21681
 
         X"$as_dir" : 'X\(/\)' \| \
21682
 
         .     : '\(.\)' 2>/dev/null ||
21683
 
echo X"$as_dir" |
21684
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21685
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21686
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21687
 
          /^X\(\/\).*/{ s//\1/; q; }
21688
 
          s/.*/./; q'`
21689
 
    done
21690
 
    test ! -n "$as_dirs" || mkdir $as_dirs
21691
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21692
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21693
 
   { (exit 1); exit 1; }; }; }
21694
 
 
 
13521
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
13522
$as_echo X"$ac_file" |
 
13523
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
13524
            s//\1/
 
13525
            q
 
13526
          }
 
13527
          /^X\(\/\/\)[^/].*/{
 
13528
            s//\1/
 
13529
            q
 
13530
          }
 
13531
          /^X\(\/\/\)$/{
 
13532
            s//\1/
 
13533
            q
 
13534
          }
 
13535
          /^X\(\/\).*/{
 
13536
            s//\1/
 
13537
            q
 
13538
          }
 
13539
          s/.*/./; q'`
 
13540
  as_dir="$ac_dir"; as_fn_mkdir_p
21695
13541
  ac_builddir=.
21696
13542
 
21697
 
if test "$ac_dir" != .; then
21698
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21699
 
  # A "../" for each directory in $ac_dir_suffix.
21700
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21701
 
else
21702
 
  ac_dir_suffix= ac_top_builddir=
21703
 
fi
 
13543
case "$ac_dir" in
 
13544
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
13545
*)
 
13546
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
13547
  # A ".." for each directory in $ac_dir_suffix.
 
13548
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
13549
  case $ac_top_builddir_sub in
 
13550
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
13551
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
13552
  esac ;;
 
13553
esac
 
13554
ac_abs_top_builddir=$ac_pwd
 
13555
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
13556
# for backward compatibility:
 
13557
ac_top_builddir=$ac_top_build_prefix
21704
13558
 
21705
13559
case $srcdir in
21706
 
  .)  # No --srcdir option.  We are building in place.
 
13560
  .)  # We are building in place.
21707
13561
    ac_srcdir=.
21708
 
    if test -z "$ac_top_builddir"; then
21709
 
       ac_top_srcdir=.
21710
 
    else
21711
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21712
 
    fi ;;
21713
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
13562
    ac_top_srcdir=$ac_top_builddir_sub
 
13563
    ac_abs_top_srcdir=$ac_pwd ;;
 
13564
  [\\/]* | ?:[\\/]* )  # Absolute name.
21714
13565
    ac_srcdir=$srcdir$ac_dir_suffix;
21715
 
    ac_top_srcdir=$srcdir ;;
21716
 
  *) # Relative path.
21717
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21718
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
21719
 
esac
21720
 
 
21721
 
# Do not use `cd foo && pwd` to compute absolute paths, because
21722
 
# the directories may not exist.
21723
 
case `pwd` in
21724
 
.) ac_abs_builddir="$ac_dir";;
21725
 
*)
21726
 
  case "$ac_dir" in
21727
 
  .) ac_abs_builddir=`pwd`;;
21728
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21729
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
21730
 
  esac;;
21731
 
esac
21732
 
case $ac_abs_builddir in
21733
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
21734
 
*)
21735
 
  case ${ac_top_builddir}. in
21736
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
21737
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21738
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21739
 
  esac;;
21740
 
esac
21741
 
case $ac_abs_builddir in
21742
 
.) ac_abs_srcdir=$ac_srcdir;;
21743
 
*)
21744
 
  case $ac_srcdir in
21745
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
21746
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21747
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21748
 
  esac;;
21749
 
esac
21750
 
case $ac_abs_builddir in
21751
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
21752
 
*)
21753
 
  case $ac_top_srcdir in
21754
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
21755
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21756
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21757
 
  esac;;
21758
 
esac
21759
 
 
 
13566
    ac_top_srcdir=$srcdir
 
13567
    ac_abs_top_srcdir=$srcdir ;;
 
13568
  *) # Relative name.
 
13569
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
13570
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
13571
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
13572
esac
 
13573
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
13574
 
 
13575
 
 
13576
  case $ac_mode in
 
13577
  :F)
 
13578
  #
 
13579
  # CONFIG_FILE
 
13580
  #
21760
13581
 
21761
13582
  case $INSTALL in
21762
13583
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21763
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
21764
 
  esac
21765
 
 
21766
 
  if test x"$ac_file" != x-; then
21767
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
21768
 
echo "$as_me: creating $ac_file" >&6;}
21769
 
    rm -f "$ac_file"
21770
 
  fi
21771
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
21772
 
  # use $as_me), people would be surprised to read:
21773
 
  #    /* config.h.  Generated by config.status.  */
21774
 
  if test x"$ac_file" = x-; then
21775
 
    configure_input=
21776
 
  else
21777
 
    configure_input="$ac_file.  "
21778
 
  fi
21779
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
21780
 
                                     sed 's,.*/,,'` by configure."
21781
 
 
21782
 
  # First look for the input files in the build tree, otherwise in the
21783
 
  # src tree.
21784
 
  ac_file_inputs=`IFS=:
21785
 
    for f in $ac_file_in; do
21786
 
      case $f in
21787
 
      -) echo $tmp/stdin ;;
21788
 
      [\\/$]*)
21789
 
         # Absolute (can't be DOS-style, as IFS=:)
21790
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21791
 
echo "$as_me: error: cannot find input file: $f" >&2;}
21792
 
   { (exit 1); exit 1; }; }
21793
 
         echo "$f";;
21794
 
      *) # Relative
21795
 
         if test -f "$f"; then
21796
 
           # Build tree
21797
 
           echo "$f"
21798
 
         elif test -f "$srcdir/$f"; then
21799
 
           # Source tree
21800
 
           echo "$srcdir/$f"
21801
 
         else
21802
 
           # /dev/null tree
21803
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21804
 
echo "$as_me: error: cannot find input file: $f" >&2;}
21805
 
   { (exit 1); exit 1; }; }
21806
 
         fi;;
21807
 
      esac
21808
 
    done` || { (exit 1); exit 1; }
21809
 
_ACEOF
21810
 
cat >>$CONFIG_STATUS <<_ACEOF
21811
 
  sed "$ac_vpsub
 
13584
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
13585
  esac
 
13586
  ac_MKDIR_P=$MKDIR_P
 
13587
  case $MKDIR_P in
 
13588
  [\\/$]* | ?:[\\/]* ) ;;
 
13589
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
13590
  esac
 
13591
_ACEOF
 
13592
 
 
13593
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13594
# If the template does not know about datarootdir, expand it.
 
13595
# FIXME: This hack should be removed a few years after 2.60.
 
13596
ac_datarootdir_hack=; ac_datarootdir_seen=
 
13597
ac_sed_dataroot='
 
13598
/datarootdir/ {
 
13599
  p
 
13600
  q
 
13601
}
 
13602
/@datadir@/p
 
13603
/@docdir@/p
 
13604
/@infodir@/p
 
13605
/@localedir@/p
 
13606
/@mandir@/p'
 
13607
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
13608
*datarootdir*) ac_datarootdir_seen=yes;;
 
13609
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
13610
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
13611
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
13612
_ACEOF
 
13613
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13614
  ac_datarootdir_hack='
 
13615
  s&@datadir@&$datadir&g
 
13616
  s&@docdir@&$docdir&g
 
13617
  s&@infodir@&$infodir&g
 
13618
  s&@localedir@&$localedir&g
 
13619
  s&@mandir@&$mandir&g
 
13620
  s&\\\${datarootdir}&$datarootdir&g' ;;
 
13621
esac
 
13622
_ACEOF
 
13623
 
 
13624
# Neutralize VPATH when `$srcdir' = `.'.
 
13625
# Shell code in configure.ac might set extrasub.
 
13626
# FIXME: do we really want to maintain this feature?
 
13627
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13628
ac_sed_extra="$ac_vpsub
21812
13629
$extrasub
21813
13630
_ACEOF
21814
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
13631
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21815
13632
:t
21816
13633
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21817
 
s,@configure_input@,$configure_input,;t t
21818
 
s,@srcdir@,$ac_srcdir,;t t
21819
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
21820
 
s,@top_srcdir@,$ac_top_srcdir,;t t
21821
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21822
 
s,@builddir@,$ac_builddir,;t t
21823
 
s,@abs_builddir@,$ac_abs_builddir,;t t
21824
 
s,@top_builddir@,$ac_top_builddir,;t t
21825
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21826
 
s,@INSTALL@,$ac_INSTALL,;t t
21827
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21828
 
  rm -f $tmp/stdin
21829
 
  if test x"$ac_file" != x-; then
21830
 
    mv $tmp/out $ac_file
21831
 
  else
21832
 
    cat $tmp/out
21833
 
    rm -f $tmp/out
21834
 
  fi
21835
 
 
21836
 
done
21837
 
_ACEOF
21838
 
cat >>$CONFIG_STATUS <<\_ACEOF
21839
 
 
21840
 
#
21841
 
# CONFIG_HEADER section.
21842
 
#
21843
 
 
21844
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21845
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
21846
 
#
21847
 
# ac_d sets the value in "#define NAME VALUE" lines.
21848
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
21849
 
ac_dB='[         ].*$,\1#\2'
21850
 
ac_dC=' '
21851
 
ac_dD=',;t'
21852
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21853
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
21854
 
ac_uB='$,\1#\2define\3'
21855
 
ac_uC=' '
21856
 
ac_uD=',;t'
21857
 
 
21858
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21859
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 
13634
s|@configure_input@|$ac_sed_conf_input|;t t
 
13635
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
13636
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
13637
s&@srcdir@&$ac_srcdir&;t t
 
13638
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
13639
s&@top_srcdir@&$ac_top_srcdir&;t t
 
13640
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
13641
s&@builddir@&$ac_builddir&;t t
 
13642
s&@abs_builddir@&$ac_abs_builddir&;t t
 
13643
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
13644
s&@INSTALL@&$ac_INSTALL&;t t
 
13645
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
13646
$ac_datarootdir_hack
 
13647
"
 
13648
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
13649
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
13650
 
 
13651
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
13652
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
13653
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
13654
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
13655
which seems to be undefined.  Please make sure it is defined" >&5
 
13656
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
13657
which seems to be undefined.  Please make sure it is defined" >&2;}
 
13658
 
 
13659
  rm -f "$tmp/stdin"
21860
13660
  case $ac_file in
21861
 
  - | *:- | *:-:* ) # input from stdin
21862
 
        cat >$tmp/stdin
21863
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21864
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21865
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21866
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21867
 
  * )   ac_file_in=$ac_file.in ;;
21868
 
  esac
21869
 
 
21870
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21871
 
echo "$as_me: creating $ac_file" >&6;}
21872
 
 
21873
 
  # First look for the input files in the build tree, otherwise in the
21874
 
  # src tree.
21875
 
  ac_file_inputs=`IFS=:
21876
 
    for f in $ac_file_in; do
21877
 
      case $f in
21878
 
      -) echo $tmp/stdin ;;
21879
 
      [\\/$]*)
21880
 
         # Absolute (can't be DOS-style, as IFS=:)
21881
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21882
 
echo "$as_me: error: cannot find input file: $f" >&2;}
21883
 
   { (exit 1); exit 1; }; }
21884
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
21885
 
         echo "$f";;
21886
 
      *) # Relative
21887
 
         if test -f "$f"; then
21888
 
           # Build tree
21889
 
           echo "$f"
21890
 
         elif test -f "$srcdir/$f"; then
21891
 
           # Source tree
21892
 
           echo "$srcdir/$f"
21893
 
         else
21894
 
           # /dev/null tree
21895
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21896
 
echo "$as_me: error: cannot find input file: $f" >&2;}
21897
 
   { (exit 1); exit 1; }; }
21898
 
         fi;;
21899
 
      esac
21900
 
    done` || { (exit 1); exit 1; }
21901
 
  # Remove the trailing spaces.
21902
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
21903
 
 
21904
 
_ACEOF
21905
 
 
21906
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
21907
 
# `conftest.undefs', that substitutes the proper values into
21908
 
# config.h.in to produce config.h.  The first handles `#define'
21909
 
# templates, and the second `#undef' templates.
21910
 
# And first: Protect against being on the right side of a sed subst in
21911
 
# config.status.  Protect against being in an unquoted here document
21912
 
# in config.status.
21913
 
rm -f conftest.defines conftest.undefs
21914
 
# Using a here document instead of a string reduces the quoting nightmare.
21915
 
# Putting comments in sed scripts is not portable.
21916
 
#
21917
 
# `end' is used to avoid that the second main sed command (meant for
21918
 
# 0-ary CPP macros) applies to n-ary macro definitions.
21919
 
# See the Autoconf documentation for `clear'.
21920
 
cat >confdef2sed.sed <<\_ACEOF
21921
 
s/[\\&,]/\\&/g
21922
 
s,[\\$`],\\&,g
21923
 
t clear
21924
 
: clear
21925
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21926
 
t end
21927
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21928
 
: end
21929
 
_ACEOF
21930
 
# If some macros were called several times there might be several times
21931
 
# the same #defines, which is useless.  Nevertheless, we may not want to
21932
 
# sort them, since we want the *last* AC-DEFINE to be honored.
21933
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21934
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21935
 
rm -f confdef2sed.sed
21936
 
 
21937
 
# This sed command replaces #undef with comments.  This is necessary, for
21938
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
21939
 
# on some systems where configure will not decide to define it.
21940
 
cat >>conftest.undefs <<\_ACEOF
21941
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21942
 
_ACEOF
21943
 
 
21944
 
# Break up conftest.defines because some shells have a limit on the size
21945
 
# of here documents, and old seds have small limits too (100 cmds).
21946
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21947
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21948
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21949
 
echo '  :' >>$CONFIG_STATUS
21950
 
rm -f conftest.tail
21951
 
while grep . conftest.defines >/dev/null
21952
 
do
21953
 
  # Write a limited-size here document to $tmp/defines.sed.
21954
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21955
 
  # Speed up: don't consider the non `#define' lines.
21956
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
21957
 
  # Work around the forget-to-reset-the-flag bug.
21958
 
  echo 't clr' >>$CONFIG_STATUS
21959
 
  echo ': clr' >>$CONFIG_STATUS
21960
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
21961
 
  echo 'CEOF
21962
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
21963
 
  rm -f $tmp/in
21964
 
  mv $tmp/out $tmp/in
21965
 
' >>$CONFIG_STATUS
21966
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
21967
 
  rm -f conftest.defines
21968
 
  mv conftest.tail conftest.defines
21969
 
done
21970
 
rm -f conftest.defines
21971
 
echo '  fi # grep' >>$CONFIG_STATUS
21972
 
echo >>$CONFIG_STATUS
21973
 
 
21974
 
# Break up conftest.undefs because some shells have a limit on the size
21975
 
# of here documents, and old seds have small limits too (100 cmds).
21976
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
21977
 
rm -f conftest.tail
21978
 
while grep . conftest.undefs >/dev/null
21979
 
do
21980
 
  # Write a limited-size here document to $tmp/undefs.sed.
21981
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21982
 
  # Speed up: don't consider the non `#undef'
21983
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
21984
 
  # Work around the forget-to-reset-the-flag bug.
21985
 
  echo 't clr' >>$CONFIG_STATUS
21986
 
  echo ': clr' >>$CONFIG_STATUS
21987
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21988
 
  echo 'CEOF
21989
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21990
 
  rm -f $tmp/in
21991
 
  mv $tmp/out $tmp/in
21992
 
' >>$CONFIG_STATUS
21993
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21994
 
  rm -f conftest.undefs
21995
 
  mv conftest.tail conftest.undefs
21996
 
done
21997
 
rm -f conftest.undefs
21998
 
 
21999
 
cat >>$CONFIG_STATUS <<\_ACEOF
22000
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
22001
 
  # use $as_me), people would be surprised to read:
22002
 
  #    /* config.h.  Generated by config.status.  */
22003
 
  if test x"$ac_file" = x-; then
22004
 
    echo "/* Generated by configure.  */" >$tmp/config.h
22005
 
  else
22006
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
22007
 
  fi
22008
 
  cat $tmp/in >>$tmp/config.h
22009
 
  rm -f $tmp/in
 
13661
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
13662
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
13663
  esac \
 
13664
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
13665
 ;;
 
13666
  :H)
 
13667
  #
 
13668
  # CONFIG_HEADER
 
13669
  #
22010
13670
  if test x"$ac_file" != x-; then
22011
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
22012
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22013
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
13671
    {
 
13672
      $as_echo "/* $configure_input  */" \
 
13673
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
13674
    } >"$tmp/config.h" \
 
13675
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
13676
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
13677
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
13678
$as_echo "$as_me: $ac_file is unchanged" >&6;}
22014
13679
    else
22015
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
22016
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22017
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
22018
 
         X"$ac_file" : 'X\(//\)$' \| \
22019
 
         X"$ac_file" : 'X\(/\)' \| \
22020
 
         .     : '\(.\)' 2>/dev/null ||
22021
 
echo X"$ac_file" |
22022
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22023
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22024
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22025
 
          /^X\(\/\).*/{ s//\1/; q; }
22026
 
          s/.*/./; q'`
22027
 
      { if $as_mkdir_p; then
22028
 
    mkdir -p "$ac_dir"
22029
 
  else
22030
 
    as_dir="$ac_dir"
22031
 
    as_dirs=
22032
 
    while test ! -d "$as_dir"; do
22033
 
      as_dirs="$as_dir $as_dirs"
22034
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
22035
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22036
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
22037
 
         X"$as_dir" : 'X\(//\)$' \| \
22038
 
         X"$as_dir" : 'X\(/\)' \| \
22039
 
         .     : '\(.\)' 2>/dev/null ||
22040
 
echo X"$as_dir" |
22041
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22042
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22043
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22044
 
          /^X\(\/\).*/{ s//\1/; q; }
22045
 
          s/.*/./; q'`
22046
 
    done
22047
 
    test ! -n "$as_dirs" || mkdir $as_dirs
22048
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22049
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22050
 
   { (exit 1); exit 1; }; }; }
22051
 
 
22052
 
      rm -f $ac_file
22053
 
      mv $tmp/config.h $ac_file
 
13680
      rm -f "$ac_file"
 
13681
      mv "$tmp/config.h" "$ac_file" \
 
13682
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22054
13683
    fi
22055
13684
  else
22056
 
    cat $tmp/config.h
22057
 
    rm -f $tmp/config.h
 
13685
    $as_echo "/* $configure_input  */" \
 
13686
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
13687
      || as_fn_error $? "could not create -" "$LINENO" 5
22058
13688
  fi
22059
 
# Compute $ac_file's index in $config_headers.
 
13689
# Compute "$ac_file"'s index in $config_headers.
 
13690
_am_arg="$ac_file"
22060
13691
_am_stamp_count=1
22061
13692
for _am_header in $config_headers :; do
22062
13693
  case $_am_header in
22063
 
    $ac_file | $ac_file:* )
 
13694
    $_am_arg | $_am_arg:* )
22064
13695
      break ;;
22065
13696
    * )
22066
13697
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
22067
13698
  esac
22068
13699
done
22069
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
22070
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22071
 
         X$ac_file : 'X\(//\)[^/]' \| \
22072
 
         X$ac_file : 'X\(//\)$' \| \
22073
 
         X$ac_file : 'X\(/\)' \| \
22074
 
         .     : '\(.\)' 2>/dev/null ||
22075
 
echo X$ac_file |
22076
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22077
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22078
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22079
 
          /^X\(\/\).*/{ s//\1/; q; }
22080
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
22081
 
done
22082
 
_ACEOF
22083
 
cat >>$CONFIG_STATUS <<\_ACEOF
22084
 
 
22085
 
#
22086
 
# CONFIG_COMMANDS section.
22087
 
#
22088
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
22089
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
22090
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
22091
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
22092
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22093
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
22094
 
         X"$ac_dest" : 'X\(//\)$' \| \
22095
 
         X"$ac_dest" : 'X\(/\)' \| \
22096
 
         .     : '\(.\)' 2>/dev/null ||
22097
 
echo X"$ac_dest" |
22098
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22099
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22100
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22101
 
          /^X\(\/\).*/{ s//\1/; q; }
22102
 
          s/.*/./; q'`
22103
 
  { if $as_mkdir_p; then
22104
 
    mkdir -p "$ac_dir"
22105
 
  else
22106
 
    as_dir="$ac_dir"
22107
 
    as_dirs=
22108
 
    while test ! -d "$as_dir"; do
22109
 
      as_dirs="$as_dir $as_dirs"
22110
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
22111
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22112
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
22113
 
         X"$as_dir" : 'X\(//\)$' \| \
22114
 
         X"$as_dir" : 'X\(/\)' \| \
22115
 
         .     : '\(.\)' 2>/dev/null ||
22116
 
echo X"$as_dir" |
22117
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22118
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22119
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22120
 
          /^X\(\/\).*/{ s//\1/; q; }
22121
 
          s/.*/./; q'`
22122
 
    done
22123
 
    test ! -n "$as_dirs" || mkdir $as_dirs
22124
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22125
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22126
 
   { (exit 1); exit 1; }; }; }
22127
 
 
22128
 
  ac_builddir=.
22129
 
 
22130
 
if test "$ac_dir" != .; then
22131
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22132
 
  # A "../" for each directory in $ac_dir_suffix.
22133
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22134
 
else
22135
 
  ac_dir_suffix= ac_top_builddir=
22136
 
fi
22137
 
 
22138
 
case $srcdir in
22139
 
  .)  # No --srcdir option.  We are building in place.
22140
 
    ac_srcdir=.
22141
 
    if test -z "$ac_top_builddir"; then
22142
 
       ac_top_srcdir=.
22143
 
    else
22144
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
22145
 
    fi ;;
22146
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
22147
 
    ac_srcdir=$srcdir$ac_dir_suffix;
22148
 
    ac_top_srcdir=$srcdir ;;
22149
 
  *) # Relative path.
22150
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
22151
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
22152
 
esac
22153
 
 
22154
 
# Do not use `cd foo && pwd` to compute absolute paths, because
22155
 
# the directories may not exist.
22156
 
case `pwd` in
22157
 
.) ac_abs_builddir="$ac_dir";;
22158
 
*)
22159
 
  case "$ac_dir" in
22160
 
  .) ac_abs_builddir=`pwd`;;
22161
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
22162
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
22163
 
  esac;;
22164
 
esac
22165
 
case $ac_abs_builddir in
22166
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
22167
 
*)
22168
 
  case ${ac_top_builddir}. in
22169
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
22170
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
22171
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
22172
 
  esac;;
22173
 
esac
22174
 
case $ac_abs_builddir in
22175
 
.) ac_abs_srcdir=$ac_srcdir;;
22176
 
*)
22177
 
  case $ac_srcdir in
22178
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
22179
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
22180
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
22181
 
  esac;;
22182
 
esac
22183
 
case $ac_abs_builddir in
22184
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
22185
 
*)
22186
 
  case $ac_top_srcdir in
22187
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
22188
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
22189
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
22190
 
  esac;;
22191
 
esac
22192
 
 
22193
 
 
22194
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
22195
 
echo "$as_me: executing $ac_dest commands" >&6;}
22196
 
  case $ac_dest in
22197
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
22198
 
  # Strip MF so we end up with the name of the file.
22199
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
22200
 
  # Check whether this is an Automake generated Makefile or not.
22201
 
  # We used to match only the files named `Makefile.in', but
22202
 
  # some people rename them; so instead we look at the file content.
22203
 
  # Grep'ing the first line is not enough: some people post-process
22204
 
  # each Makefile.in and add a new line on top of each file to say so.
22205
 
  # So let's grep whole file.
22206
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
22207
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
13700
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
13701
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
13702
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
13703
         X"$_am_arg" : 'X\(//\)$' \| \
 
13704
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
13705
$as_echo X"$_am_arg" |
 
13706
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
13707
            s//\1/
 
13708
            q
 
13709
          }
 
13710
          /^X\(\/\/\)[^/].*/{
 
13711
            s//\1/
 
13712
            q
 
13713
          }
 
13714
          /^X\(\/\/\)$/{
 
13715
            s//\1/
 
13716
            q
 
13717
          }
 
13718
          /^X\(\/\).*/{
 
13719
            s//\1/
 
13720
            q
 
13721
          }
 
13722
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
13723
 ;;
 
13724
 
 
13725
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
13726
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
13727
 ;;
 
13728
  esac
 
13729
 
 
13730
 
 
13731
  case $ac_file$ac_mode in
 
13732
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
13733
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
13734
  # are listed without --file.  Let's play safe and only enable the eval
 
13735
  # if we detect the quoting.
 
13736
  case $CONFIG_FILES in
 
13737
  *\'*) eval set x "$CONFIG_FILES" ;;
 
13738
  *)   set x $CONFIG_FILES ;;
 
13739
  esac
 
13740
  shift
 
13741
  for mf
 
13742
  do
 
13743
    # Strip MF so we end up with the name of the file.
 
13744
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
13745
    # Check whether this is an Automake generated Makefile or not.
 
13746
    # We used to match only the files named `Makefile.in', but
 
13747
    # some people rename them; so instead we look at the file content.
 
13748
    # Grep'ing the first line is not enough: some people post-process
 
13749
    # each Makefile.in and add a new line on top of each file to say so.
 
13750
    # Grep'ing the whole file is not good either: AIX grep has a line
 
13751
    # limit of 2048, but all sed's we know have understand at least 4000.
 
13752
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
13753
      dirpart=`$as_dirname -- "$mf" ||
22208
13754
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22209
13755
         X"$mf" : 'X\(//\)[^/]' \| \
22210
13756
         X"$mf" : 'X\(//\)$' \| \
22211
 
         X"$mf" : 'X\(/\)' \| \
22212
 
         .     : '\(.\)' 2>/dev/null ||
22213
 
echo X"$mf" |
22214
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22215
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22216
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22217
 
          /^X\(\/\).*/{ s//\1/; q; }
22218
 
          s/.*/./; q'`
22219
 
  else
22220
 
    continue
22221
 
  fi
22222
 
  # Extract the definition of DEPDIR, am__include, and am__quote
22223
 
  # from the Makefile without running `make'.
22224
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
22225
 
  test -z "$DEPDIR" && continue
22226
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
22227
 
  test -z "am__include" && continue
22228
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
22229
 
  # When using ansi2knr, U may be empty or an underscore; expand it
22230
 
  U=`sed -n 's/^U = //p' < "$mf"`
22231
 
  # Find all dependency output files, they are included files with
22232
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
22233
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
22234
 
  # expansion.
22235
 
  for file in `sed -n "
22236
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22237
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22238
 
    # Make sure the directory exists.
22239
 
    test -f "$dirpart/$file" && continue
22240
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
13757
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
13758
$as_echo X"$mf" |
 
13759
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
13760
            s//\1/
 
13761
            q
 
13762
          }
 
13763
          /^X\(\/\/\)[^/].*/{
 
13764
            s//\1/
 
13765
            q
 
13766
          }
 
13767
          /^X\(\/\/\)$/{
 
13768
            s//\1/
 
13769
            q
 
13770
          }
 
13771
          /^X\(\/\).*/{
 
13772
            s//\1/
 
13773
            q
 
13774
          }
 
13775
          s/.*/./; q'`
 
13776
    else
 
13777
      continue
 
13778
    fi
 
13779
    # Extract the definition of DEPDIR, am__include, and am__quote
 
13780
    # from the Makefile without running `make'.
 
13781
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
13782
    test -z "$DEPDIR" && continue
 
13783
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
13784
    test -z "am__include" && continue
 
13785
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
13786
    # When using ansi2knr, U may be empty or an underscore; expand it
 
13787
    U=`sed -n 's/^U = //p' < "$mf"`
 
13788
    # Find all dependency output files, they are included files with
 
13789
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
13790
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
13791
    # expansion.
 
13792
    for file in `sed -n "
 
13793
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
13794
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
13795
      # Make sure the directory exists.
 
13796
      test -f "$dirpart/$file" && continue
 
13797
      fdir=`$as_dirname -- "$file" ||
22241
13798
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22242
13799
         X"$file" : 'X\(//\)[^/]' \| \
22243
13800
         X"$file" : 'X\(//\)$' \| \
22244
 
         X"$file" : 'X\(/\)' \| \
22245
 
         .     : '\(.\)' 2>/dev/null ||
22246
 
echo X"$file" |
22247
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22248
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22249
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22250
 
          /^X\(\/\).*/{ s//\1/; q; }
22251
 
          s/.*/./; q'`
22252
 
    { if $as_mkdir_p; then
22253
 
    mkdir -p $dirpart/$fdir
22254
 
  else
22255
 
    as_dir=$dirpart/$fdir
22256
 
    as_dirs=
22257
 
    while test ! -d "$as_dir"; do
22258
 
      as_dirs="$as_dir $as_dirs"
22259
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
22260
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22261
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
22262
 
         X"$as_dir" : 'X\(//\)$' \| \
22263
 
         X"$as_dir" : 'X\(/\)' \| \
22264
 
         .     : '\(.\)' 2>/dev/null ||
22265
 
echo X"$as_dir" |
22266
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22267
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22268
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22269
 
          /^X\(\/\).*/{ s//\1/; q; }
22270
 
          s/.*/./; q'`
 
13801
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
13802
$as_echo X"$file" |
 
13803
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
13804
            s//\1/
 
13805
            q
 
13806
          }
 
13807
          /^X\(\/\/\)[^/].*/{
 
13808
            s//\1/
 
13809
            q
 
13810
          }
 
13811
          /^X\(\/\/\)$/{
 
13812
            s//\1/
 
13813
            q
 
13814
          }
 
13815
          /^X\(\/\).*/{
 
13816
            s//\1/
 
13817
            q
 
13818
          }
 
13819
          s/.*/./; q'`
 
13820
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
13821
      # echo "creating $dirpart/$file"
 
13822
      echo '# dummy' > "$dirpart/$file"
22271
13823
    done
22272
 
    test ! -n "$as_dirs" || mkdir $as_dirs
22273
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
22274
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
22275
 
   { (exit 1); exit 1; }; }; }
22276
 
 
22277
 
    # echo "creating $dirpart/$file"
22278
 
    echo '# dummy' > "$dirpart/$file"
22279
13824
  done
22280
 
done
22281
 
 ;;
22282
 
  esac
22283
 
done
22284
 
_ACEOF
22285
 
 
22286
 
cat >>$CONFIG_STATUS <<\_ACEOF
22287
 
 
22288
 
{ (exit 0); exit 0; }
22289
 
_ACEOF
22290
 
chmod +x $CONFIG_STATUS
 
13825
}
 
13826
 ;;
 
13827
    "libtool":C)
 
13828
 
 
13829
    # See if we are running on zsh, and set the options which allow our
 
13830
    # commands through without removal of \ escapes.
 
13831
    if test -n "${ZSH_VERSION+set}" ; then
 
13832
      setopt NO_GLOB_SUBST
 
13833
    fi
 
13834
 
 
13835
    cfgfile="${ofile}T"
 
13836
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
13837
    $RM "$cfgfile"
 
13838
 
 
13839
    cat <<_LT_EOF >> "$cfgfile"
 
13840
#! $SHELL
 
13841
 
 
13842
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
13843
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
13844
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
13845
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
13846
#
 
13847
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
13848
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
13849
#   Written by Gordon Matzigkeit, 1996
 
13850
#
 
13851
#   This file is part of GNU Libtool.
 
13852
#
 
13853
# GNU Libtool is free software; you can redistribute it and/or
 
13854
# modify it under the terms of the GNU General Public License as
 
13855
# published by the Free Software Foundation; either version 2 of
 
13856
# the License, or (at your option) any later version.
 
13857
#
 
13858
# As a special exception to the GNU General Public License,
 
13859
# if you distribute this file as part of a program or library that
 
13860
# is built using GNU Libtool, you may include this file under the
 
13861
# same distribution terms that you use for the rest of that program.
 
13862
#
 
13863
# GNU Libtool is distributed in the hope that it will be useful,
 
13864
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13865
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13866
# GNU General Public License for more details.
 
13867
#
 
13868
# You should have received a copy of the GNU General Public License
 
13869
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
13870
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
13871
# obtained by writing to the Free Software Foundation, Inc.,
 
13872
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
13873
 
 
13874
 
 
13875
# The names of the tagged configurations supported by this script.
 
13876
available_tags=""
 
13877
 
 
13878
# ### BEGIN LIBTOOL CONFIG
 
13879
 
 
13880
# Whether or not to build static libraries.
 
13881
build_old_libs=$enable_static
 
13882
 
 
13883
# Which release of libtool.m4 was used?
 
13884
macro_version=$macro_version
 
13885
macro_revision=$macro_revision
 
13886
 
 
13887
# Whether or not to build shared libraries.
 
13888
build_libtool_libs=$enable_shared
 
13889
 
 
13890
# What type of objects to build.
 
13891
pic_mode=$pic_mode
 
13892
 
 
13893
# Whether or not to optimize for fast installation.
 
13894
fast_install=$enable_fast_install
 
13895
 
 
13896
# The host system.
 
13897
host_alias=$host_alias
 
13898
host=$host
 
13899
host_os=$host_os
 
13900
 
 
13901
# The build system.
 
13902
build_alias=$build_alias
 
13903
build=$build
 
13904
build_os=$build_os
 
13905
 
 
13906
# A sed program that does not truncate output.
 
13907
SED=$lt_SED
 
13908
 
 
13909
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
13910
Xsed="\$SED -e 1s/^X//"
 
13911
 
 
13912
# A grep program that handles long lines.
 
13913
GREP=$lt_GREP
 
13914
 
 
13915
# An ERE matcher.
 
13916
EGREP=$lt_EGREP
 
13917
 
 
13918
# A literal string matcher.
 
13919
FGREP=$lt_FGREP
 
13920
 
 
13921
# A BSD- or MS-compatible name lister.
 
13922
NM=$lt_NM
 
13923
 
 
13924
# Whether we need soft or hard links.
 
13925
LN_S=$lt_LN_S
 
13926
 
 
13927
# What is the maximum length of a command?
 
13928
max_cmd_len=$max_cmd_len
 
13929
 
 
13930
# Object file suffix (normally "o").
 
13931
objext=$ac_objext
 
13932
 
 
13933
# Executable file suffix (normally "").
 
13934
exeext=$exeext
 
13935
 
 
13936
# whether the shell understands "unset".
 
13937
lt_unset=$lt_unset
 
13938
 
 
13939
# turn spaces into newlines.
 
13940
SP2NL=$lt_lt_SP2NL
 
13941
 
 
13942
# turn newlines into spaces.
 
13943
NL2SP=$lt_lt_NL2SP
 
13944
 
 
13945
# How to create reloadable object files.
 
13946
reload_flag=$lt_reload_flag
 
13947
reload_cmds=$lt_reload_cmds
 
13948
 
 
13949
# An object symbol dumper.
 
13950
OBJDUMP=$lt_OBJDUMP
 
13951
 
 
13952
# Method to check whether dependent libraries are shared objects.
 
13953
deplibs_check_method=$lt_deplibs_check_method
 
13954
 
 
13955
# Command to use when deplibs_check_method == "file_magic".
 
13956
file_magic_cmd=$lt_file_magic_cmd
 
13957
 
 
13958
# The archiver.
 
13959
AR=$lt_AR
 
13960
AR_FLAGS=$lt_AR_FLAGS
 
13961
 
 
13962
# A symbol stripping program.
 
13963
STRIP=$lt_STRIP
 
13964
 
 
13965
# Commands used to install an old-style archive.
 
13966
RANLIB=$lt_RANLIB
 
13967
old_postinstall_cmds=$lt_old_postinstall_cmds
 
13968
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
13969
 
 
13970
# A C compiler.
 
13971
LTCC=$lt_CC
 
13972
 
 
13973
# LTCC compiler flags.
 
13974
LTCFLAGS=$lt_CFLAGS
 
13975
 
 
13976
# Take the output of nm and produce a listing of raw symbols and C names.
 
13977
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
13978
 
 
13979
# Transform the output of nm in a proper C declaration.
 
13980
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
13981
 
 
13982
# Transform the output of nm in a C name address pair.
 
13983
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
13984
 
 
13985
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
13986
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
13987
 
 
13988
# The name of the directory that contains temporary libtool files.
 
13989
objdir=$objdir
 
13990
 
 
13991
# Shell to use when invoking shell scripts.
 
13992
SHELL=$lt_SHELL
 
13993
 
 
13994
# An echo program that does not interpret backslashes.
 
13995
ECHO=$lt_ECHO
 
13996
 
 
13997
# Used to examine libraries when file_magic_cmd begins with "file".
 
13998
MAGIC_CMD=$MAGIC_CMD
 
13999
 
 
14000
# Must we lock files when doing compilation?
 
14001
need_locks=$lt_need_locks
 
14002
 
 
14003
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
14004
DSYMUTIL=$lt_DSYMUTIL
 
14005
 
 
14006
# Tool to change global to local symbols on Mac OS X.
 
14007
NMEDIT=$lt_NMEDIT
 
14008
 
 
14009
# Tool to manipulate fat objects and archives on Mac OS X.
 
14010
LIPO=$lt_LIPO
 
14011
 
 
14012
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
14013
OTOOL=$lt_OTOOL
 
14014
 
 
14015
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
14016
OTOOL64=$lt_OTOOL64
 
14017
 
 
14018
# Old archive suffix (normally "a").
 
14019
libext=$libext
 
14020
 
 
14021
# Shared library suffix (normally ".so").
 
14022
shrext_cmds=$lt_shrext_cmds
 
14023
 
 
14024
# The commands to extract the exported symbol list from a shared archive.
 
14025
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
14026
 
 
14027
# Variables whose values should be saved in libtool wrapper scripts and
 
14028
# restored at link time.
 
14029
variables_saved_for_relink=$lt_variables_saved_for_relink
 
14030
 
 
14031
# Do we need the "lib" prefix for modules?
 
14032
need_lib_prefix=$need_lib_prefix
 
14033
 
 
14034
# Do we need a version for libraries?
 
14035
need_version=$need_version
 
14036
 
 
14037
# Library versioning type.
 
14038
version_type=$version_type
 
14039
 
 
14040
# Shared library runtime path variable.
 
14041
runpath_var=$runpath_var
 
14042
 
 
14043
# Shared library path variable.
 
14044
shlibpath_var=$shlibpath_var
 
14045
 
 
14046
# Is shlibpath searched before the hard-coded library search path?
 
14047
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
14048
 
 
14049
# Format of library name prefix.
 
14050
libname_spec=$lt_libname_spec
 
14051
 
 
14052
# List of archive names.  First name is the real one, the rest are links.
 
14053
# The last name is the one that the linker finds with -lNAME
 
14054
library_names_spec=$lt_library_names_spec
 
14055
 
 
14056
# The coded name of the library, if different from the real name.
 
14057
soname_spec=$lt_soname_spec
 
14058
 
 
14059
# Command to use after installation of a shared archive.
 
14060
postinstall_cmds=$lt_postinstall_cmds
 
14061
 
 
14062
# Command to use after uninstallation of a shared archive.
 
14063
postuninstall_cmds=$lt_postuninstall_cmds
 
14064
 
 
14065
# Commands used to finish a libtool library installation in a directory.
 
14066
finish_cmds=$lt_finish_cmds
 
14067
 
 
14068
# As "finish_cmds", except a single script fragment to be evaled but
 
14069
# not shown.
 
14070
finish_eval=$lt_finish_eval
 
14071
 
 
14072
# Whether we should hardcode library paths into libraries.
 
14073
hardcode_into_libs=$hardcode_into_libs
 
14074
 
 
14075
# Compile-time system search path for libraries.
 
14076
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
14077
 
 
14078
# Run-time system search path for libraries.
 
14079
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
14080
 
 
14081
# Whether dlopen is supported.
 
14082
dlopen_support=$enable_dlopen
 
14083
 
 
14084
# Whether dlopen of programs is supported.
 
14085
dlopen_self=$enable_dlopen_self
 
14086
 
 
14087
# Whether dlopen of statically linked programs is supported.
 
14088
dlopen_self_static=$enable_dlopen_self_static
 
14089
 
 
14090
# Commands to strip libraries.
 
14091
old_striplib=$lt_old_striplib
 
14092
striplib=$lt_striplib
 
14093
 
 
14094
 
 
14095
# The linker used to build libraries.
 
14096
LD=$lt_LD
 
14097
 
 
14098
# Commands used to build an old-style archive.
 
14099
old_archive_cmds=$lt_old_archive_cmds
 
14100
 
 
14101
# A language specific compiler.
 
14102
CC=$lt_compiler
 
14103
 
 
14104
# Is the compiler the GNU compiler?
 
14105
with_gcc=$GCC
 
14106
 
 
14107
# Compiler flag to turn off builtin functions.
 
14108
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
14109
 
 
14110
# How to pass a linker flag through the compiler.
 
14111
wl=$lt_lt_prog_compiler_wl
 
14112
 
 
14113
# Additional compiler flags for building library objects.
 
14114
pic_flag=$lt_lt_prog_compiler_pic
 
14115
 
 
14116
# Compiler flag to prevent dynamic linking.
 
14117
link_static_flag=$lt_lt_prog_compiler_static
 
14118
 
 
14119
# Does compiler simultaneously support -c and -o options?
 
14120
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
14121
 
 
14122
# Whether or not to add -lc for building shared libraries.
 
14123
build_libtool_need_lc=$archive_cmds_need_lc
 
14124
 
 
14125
# Whether or not to disallow shared libs when runtime libs are static.
 
14126
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
14127
 
 
14128
# Compiler flag to allow reflexive dlopens.
 
14129
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
14130
 
 
14131
# Compiler flag to generate shared objects directly from archives.
 
14132
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
14133
 
 
14134
# Whether the compiler copes with passing no objects directly.
 
14135
compiler_needs_object=$lt_compiler_needs_object
 
14136
 
 
14137
# Create an old-style archive from a shared archive.
 
14138
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
14139
 
 
14140
# Create a temporary old-style archive to link instead of a shared archive.
 
14141
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
14142
 
 
14143
# Commands used to build a shared archive.
 
14144
archive_cmds=$lt_archive_cmds
 
14145
archive_expsym_cmds=$lt_archive_expsym_cmds
 
14146
 
 
14147
# Commands used to build a loadable module if different from building
 
14148
# a shared archive.
 
14149
module_cmds=$lt_module_cmds
 
14150
module_expsym_cmds=$lt_module_expsym_cmds
 
14151
 
 
14152
# Whether we are building with GNU ld or not.
 
14153
with_gnu_ld=$lt_with_gnu_ld
 
14154
 
 
14155
# Flag that allows shared libraries with undefined symbols to be built.
 
14156
allow_undefined_flag=$lt_allow_undefined_flag
 
14157
 
 
14158
# Flag that enforces no undefined symbols.
 
14159
no_undefined_flag=$lt_no_undefined_flag
 
14160
 
 
14161
# Flag to hardcode \$libdir into a binary during linking.
 
14162
# This must work even if \$libdir does not exist
 
14163
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
14164
 
 
14165
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
14166
# during linking.  This must work even if \$libdir does not exist.
 
14167
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
14168
 
 
14169
# Whether we need a single "-rpath" flag with a separated argument.
 
14170
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
14171
 
 
14172
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
14173
# DIR into the resulting binary.
 
14174
hardcode_direct=$hardcode_direct
 
14175
 
 
14176
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
14177
# DIR into the resulting binary and the resulting library dependency is
 
14178
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
14179
# library is relocated.
 
14180
hardcode_direct_absolute=$hardcode_direct_absolute
 
14181
 
 
14182
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
14183
# into the resulting binary.
 
14184
hardcode_minus_L=$hardcode_minus_L
 
14185
 
 
14186
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
14187
# into the resulting binary.
 
14188
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
14189
 
 
14190
# Set to "yes" if building a shared library automatically hardcodes DIR
 
14191
# into the library and all subsequent libraries and executables linked
 
14192
# against it.
 
14193
hardcode_automatic=$hardcode_automatic
 
14194
 
 
14195
# Set to yes if linker adds runtime paths of dependent libraries
 
14196
# to runtime path list.
 
14197
inherit_rpath=$inherit_rpath
 
14198
 
 
14199
# Whether libtool must link a program against all its dependency libraries.
 
14200
link_all_deplibs=$link_all_deplibs
 
14201
 
 
14202
# Fix the shell variable \$srcfile for the compiler.
 
14203
fix_srcfile_path=$lt_fix_srcfile_path
 
14204
 
 
14205
# Set to "yes" if exported symbols are required.
 
14206
always_export_symbols=$always_export_symbols
 
14207
 
 
14208
# The commands to list exported symbols.
 
14209
export_symbols_cmds=$lt_export_symbols_cmds
 
14210
 
 
14211
# Symbols that should not be listed in the preloaded symbols.
 
14212
exclude_expsyms=$lt_exclude_expsyms
 
14213
 
 
14214
# Symbols that must always be exported.
 
14215
include_expsyms=$lt_include_expsyms
 
14216
 
 
14217
# Commands necessary for linking programs (against libraries) with templates.
 
14218
prelink_cmds=$lt_prelink_cmds
 
14219
 
 
14220
# Specify filename containing input files.
 
14221
file_list_spec=$lt_file_list_spec
 
14222
 
 
14223
# How to hardcode a shared library path into an executable.
 
14224
hardcode_action=$hardcode_action
 
14225
 
 
14226
# ### END LIBTOOL CONFIG
 
14227
 
 
14228
_LT_EOF
 
14229
 
 
14230
  case $host_os in
 
14231
  aix3*)
 
14232
    cat <<\_LT_EOF >> "$cfgfile"
 
14233
# AIX sometimes has problems with the GCC collect2 program.  For some
 
14234
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
14235
# vanish in a puff of smoke.
 
14236
if test "X${COLLECT_NAMES+set}" != Xset; then
 
14237
  COLLECT_NAMES=
 
14238
  export COLLECT_NAMES
 
14239
fi
 
14240
_LT_EOF
 
14241
    ;;
 
14242
  esac
 
14243
 
 
14244
 
 
14245
ltmain="$ac_aux_dir/ltmain.sh"
 
14246
 
 
14247
 
 
14248
  # We use sed instead of cat because bash on DJGPP gets confused if
 
14249
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
14250
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
14251
  # is reportedly fixed, but why not run on old versions too?
 
14252
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
14253
    || (rm -f "$cfgfile"; exit 1)
 
14254
 
 
14255
  case $xsi_shell in
 
14256
  yes)
 
14257
    cat << \_LT_EOF >> "$cfgfile"
 
14258
 
 
14259
# func_dirname file append nondir_replacement
 
14260
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
14261
# otherwise set result to NONDIR_REPLACEMENT.
 
14262
func_dirname ()
 
14263
{
 
14264
  case ${1} in
 
14265
    */*) func_dirname_result="${1%/*}${2}" ;;
 
14266
    *  ) func_dirname_result="${3}" ;;
 
14267
  esac
 
14268
}
 
14269
 
 
14270
# func_basename file
 
14271
func_basename ()
 
14272
{
 
14273
  func_basename_result="${1##*/}"
 
14274
}
 
14275
 
 
14276
# func_dirname_and_basename file append nondir_replacement
 
14277
# perform func_basename and func_dirname in a single function
 
14278
# call:
 
14279
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
14280
#             add APPEND to the result, otherwise set result
 
14281
#             to NONDIR_REPLACEMENT.
 
14282
#             value returned in "$func_dirname_result"
 
14283
#   basename: Compute filename of FILE.
 
14284
#             value retuned in "$func_basename_result"
 
14285
# Implementation must be kept synchronized with func_dirname
 
14286
# and func_basename. For efficiency, we do not delegate to
 
14287
# those functions but instead duplicate the functionality here.
 
14288
func_dirname_and_basename ()
 
14289
{
 
14290
  case ${1} in
 
14291
    */*) func_dirname_result="${1%/*}${2}" ;;
 
14292
    *  ) func_dirname_result="${3}" ;;
 
14293
  esac
 
14294
  func_basename_result="${1##*/}"
 
14295
}
 
14296
 
 
14297
# func_stripname prefix suffix name
 
14298
# strip PREFIX and SUFFIX off of NAME.
 
14299
# PREFIX and SUFFIX must not contain globbing or regex special
 
14300
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
14301
# dot (in which case that matches only a dot).
 
14302
func_stripname ()
 
14303
{
 
14304
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
14305
  # positional parameters, so assign one to ordinary parameter first.
 
14306
  func_stripname_result=${3}
 
14307
  func_stripname_result=${func_stripname_result#"${1}"}
 
14308
  func_stripname_result=${func_stripname_result%"${2}"}
 
14309
}
 
14310
 
 
14311
# func_opt_split
 
14312
func_opt_split ()
 
14313
{
 
14314
  func_opt_split_opt=${1%%=*}
 
14315
  func_opt_split_arg=${1#*=}
 
14316
}
 
14317
 
 
14318
# func_lo2o object
 
14319
func_lo2o ()
 
14320
{
 
14321
  case ${1} in
 
14322
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
14323
    *)    func_lo2o_result=${1} ;;
 
14324
  esac
 
14325
}
 
14326
 
 
14327
# func_xform libobj-or-source
 
14328
func_xform ()
 
14329
{
 
14330
  func_xform_result=${1%.*}.lo
 
14331
}
 
14332
 
 
14333
# func_arith arithmetic-term...
 
14334
func_arith ()
 
14335
{
 
14336
  func_arith_result=$(( $* ))
 
14337
}
 
14338
 
 
14339
# func_len string
 
14340
# STRING may not start with a hyphen.
 
14341
func_len ()
 
14342
{
 
14343
  func_len_result=${#1}
 
14344
}
 
14345
 
 
14346
_LT_EOF
 
14347
    ;;
 
14348
  *) # Bourne compatible functions.
 
14349
    cat << \_LT_EOF >> "$cfgfile"
 
14350
 
 
14351
# func_dirname file append nondir_replacement
 
14352
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
14353
# otherwise set result to NONDIR_REPLACEMENT.
 
14354
func_dirname ()
 
14355
{
 
14356
  # Extract subdirectory from the argument.
 
14357
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
14358
  if test "X$func_dirname_result" = "X${1}"; then
 
14359
    func_dirname_result="${3}"
 
14360
  else
 
14361
    func_dirname_result="$func_dirname_result${2}"
 
14362
  fi
 
14363
}
 
14364
 
 
14365
# func_basename file
 
14366
func_basename ()
 
14367
{
 
14368
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
14369
}
 
14370
 
 
14371
 
 
14372
# func_stripname prefix suffix name
 
14373
# strip PREFIX and SUFFIX off of NAME.
 
14374
# PREFIX and SUFFIX must not contain globbing or regex special
 
14375
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
14376
# dot (in which case that matches only a dot).
 
14377
# func_strip_suffix prefix name
 
14378
func_stripname ()
 
14379
{
 
14380
  case ${2} in
 
14381
    .*) func_stripname_result=`$ECHO "X${3}" \
 
14382
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
14383
    *)  func_stripname_result=`$ECHO "X${3}" \
 
14384
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
14385
  esac
 
14386
}
 
14387
 
 
14388
# sed scripts:
 
14389
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
14390
my_sed_long_arg='1s/^-[^=]*=//'
 
14391
 
 
14392
# func_opt_split
 
14393
func_opt_split ()
 
14394
{
 
14395
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
14396
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
14397
}
 
14398
 
 
14399
# func_lo2o object
 
14400
func_lo2o ()
 
14401
{
 
14402
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
14403
}
 
14404
 
 
14405
# func_xform libobj-or-source
 
14406
func_xform ()
 
14407
{
 
14408
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
14409
}
 
14410
 
 
14411
# func_arith arithmetic-term...
 
14412
func_arith ()
 
14413
{
 
14414
  func_arith_result=`expr "$@"`
 
14415
}
 
14416
 
 
14417
# func_len string
 
14418
# STRING may not start with a hyphen.
 
14419
func_len ()
 
14420
{
 
14421
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
14422
}
 
14423
 
 
14424
_LT_EOF
 
14425
esac
 
14426
 
 
14427
case $lt_shell_append in
 
14428
  yes)
 
14429
    cat << \_LT_EOF >> "$cfgfile"
 
14430
 
 
14431
# func_append var value
 
14432
# Append VALUE to the end of shell variable VAR.
 
14433
func_append ()
 
14434
{
 
14435
  eval "$1+=\$2"
 
14436
}
 
14437
_LT_EOF
 
14438
    ;;
 
14439
  *)
 
14440
    cat << \_LT_EOF >> "$cfgfile"
 
14441
 
 
14442
# func_append var value
 
14443
# Append VALUE to the end of shell variable VAR.
 
14444
func_append ()
 
14445
{
 
14446
  eval "$1=\$$1\$2"
 
14447
}
 
14448
 
 
14449
_LT_EOF
 
14450
    ;;
 
14451
  esac
 
14452
 
 
14453
 
 
14454
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
14455
    || (rm -f "$cfgfile"; exit 1)
 
14456
 
 
14457
  mv -f "$cfgfile" "$ofile" ||
 
14458
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
14459
  chmod +x "$ofile"
 
14460
 
 
14461
 ;;
 
14462
 
 
14463
  esac
 
14464
done # for ac_tag
 
14465
 
 
14466
 
 
14467
as_fn_exit 0
 
14468
_ACEOF
22291
14469
ac_clean_files=$ac_clean_files_save
22292
14470
 
 
14471
test $ac_write_fail = 0 ||
 
14472
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
14473
 
22293
14474
 
22294
14475
# configure is writing to config.log, and then calls config.status.
22295
14476
# config.status does its own redirection, appending to config.log.
22309
14490
  exec 5>>config.log
22310
14491
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22311
14492
  # would make configure fail if this is the last instruction.
22312
 
  $ac_cs_success || { (exit 1); exit 1; }
 
14493
  $ac_cs_success || as_fn_exit 1
 
14494
fi
 
14495
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
14496
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
14497
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22313
14498
fi
22314
14499