~ubuntu-branches/ubuntu/hardy/lasso/hardy

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Michael Bienia
  • Date: 2007-07-31 21:35:26 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070731213526-oc6jw5mprcd5tjyy
Tags: 2.0.0-1ubuntu1
* Merge from debian unstable. Remaining changes:
  + debian/control:
    - Modify Maintainer value to match DebianMaintainerField spec.
* debian/rules:
  + Add CC=gcc-4.2 to the configure call else configure won't find jni.h
    from libgcj8-dev.
* configure{,.ac}:
  + Add missing quotes around the value for PHP[45]_LIBS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
 
# From configure.ac Revision: 1.145 .
 
2
# From configure.ac Revision: 1.153 .
3
3
# Guess values for system-dependent variables and create Makefiles.
4
 
# Generated by GNU Autoconf 2.59 for Liberty Alliance Single Sign On 0.6.5.
 
4
# Generated by GNU Autoconf 2.61 for Liberty Alliance Single Sign On 2.0.0.
5
5
#
6
6
# Report bugs to <lasso-devel@lists.labs.libre-entreprise.org>.
7
7
#
8
 
# Copyright (C) 2003 Free Software Foundation, Inc.
 
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
9
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9
10
# This configure script is free software; the Free Software Foundation
10
11
# gives unlimited permission to copy, distribute and modify it.
11
12
## --------------------- ##
12
13
## M4sh Initialization.  ##
13
14
## --------------------- ##
14
15
 
15
 
# Be Bourne compatible
16
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17
 
  emulate sh
18
 
  NULLCMD=:
19
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20
 
  # is contrary to our usage.  Disable this feature.
21
 
  alias -g '${1+"$@"}'='"$@"'
22
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23
 
  set -o posix
24
 
fi
 
16
# Be more Bourne compatible
25
17
DUALCASE=1; export DUALCASE # for MKS sh
 
18
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
19
  emulate sh
 
20
  NULLCMD=:
 
21
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
22
  # is contrary to our usage.  Disable this feature.
 
23
  alias -g '${1+"$@"}'='"$@"'
 
24
  setopt NO_GLOB_SUBST
 
25
else
 
26
  case `(set -o) 2>/dev/null` in
 
27
  *posix*) set -o posix ;;
 
28
esac
 
29
 
 
30
fi
 
31
 
 
32
 
 
33
 
 
34
 
 
35
# PATH needs CR
 
36
# Avoid depending upon Character Ranges.
 
37
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
38
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
39
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
40
as_cr_digits='0123456789'
 
41
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
42
 
 
43
# The user is always right.
 
44
if test "${PATH_SEPARATOR+set}" != set; then
 
45
  echo "#! /bin/sh" >conf$$.sh
 
46
  echo  "exit 0"   >>conf$$.sh
 
47
  chmod +x conf$$.sh
 
48
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
49
    PATH_SEPARATOR=';'
 
50
  else
 
51
    PATH_SEPARATOR=:
 
52
  fi
 
53
  rm -f conf$$.sh
 
54
fi
26
55
 
27
56
# Support unset when possible.
28
57
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32
61
fi
33
62
 
34
63
 
 
64
# IFS
 
65
# We need space, tab and new line, in precisely that order.  Quoting is
 
66
# there to prevent editors from complaining about space-tab.
 
67
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
68
# splitting by setting IFS to empty value.)
 
69
as_nl='
 
70
'
 
71
IFS=" ""        $as_nl"
 
72
 
 
73
# Find who we are.  Look in the path if we contain no directory separator.
 
74
case $0 in
 
75
  *[\\/]* ) as_myself=$0 ;;
 
76
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
77
for as_dir in $PATH
 
78
do
 
79
  IFS=$as_save_IFS
 
80
  test -z "$as_dir" && as_dir=.
 
81
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
82
done
 
83
IFS=$as_save_IFS
 
84
 
 
85
     ;;
 
86
esac
 
87
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
88
# in which case we are not to be found in the path.
 
89
if test "x$as_myself" = x; then
 
90
  as_myself=$0
 
91
fi
 
92
if test ! -f "$as_myself"; then
 
93
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
94
  { (exit 1); exit 1; }
 
95
fi
 
96
 
35
97
# Work around bugs in pre-3.0 UWIN ksh.
36
 
$as_unset ENV MAIL MAILPATH
 
98
for as_var in ENV MAIL MAILPATH
 
99
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
100
done
37
101
PS1='$ '
38
102
PS2='> '
39
103
PS4='+ '
47
111
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48
112
    eval $as_var=C; export $as_var
49
113
  else
50
 
    $as_unset $as_var
 
114
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51
115
  fi
52
116
done
53
117
 
54
118
# Required to use basename.
55
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
119
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
120
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
56
121
  as_expr=expr
57
122
else
58
123
  as_expr=false
59
124
fi
60
125
 
61
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
126
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
62
127
  as_basename=basename
63
128
else
64
129
  as_basename=false
66
131
 
67
132
 
68
133
# Name of the executable.
69
 
as_me=`$as_basename "$0" ||
 
134
as_me=`$as_basename -- "$0" ||
70
135
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71
136
         X"$0" : 'X\(//\)$' \| \
72
 
         X"$0" : 'X\(/\)$' \| \
73
 
         .     : '\(.\)' 2>/dev/null ||
 
137
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
74
138
echo X/"$0" |
75
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
77
 
          /^X\/\(\/\).*/{ s//\1/; q; }
78
 
          s/.*/./; q'`
79
 
 
80
 
 
81
 
# PATH needs CR, and LINENO needs CR and PATH.
82
 
# Avoid depending upon Character Ranges.
83
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86
 
as_cr_digits='0123456789'
87
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
88
 
 
89
 
# The user is always right.
90
 
if test "${PATH_SEPARATOR+set}" != set; then
91
 
  echo "#! /bin/sh" >conf$$.sh
92
 
  echo  "exit 0"   >>conf$$.sh
93
 
  chmod +x conf$$.sh
94
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95
 
    PATH_SEPARATOR=';'
96
 
  else
97
 
    PATH_SEPARATOR=:
98
 
  fi
99
 
  rm -f conf$$.sh
100
 
fi
101
 
 
102
 
 
103
 
  as_lineno_1=$LINENO
104
 
  as_lineno_2=$LINENO
105
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
107
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
108
 
  # Find who we are.  Look in the path if we contain no path at all
109
 
  # relative or not.
110
 
  case $0 in
111
 
    *[\\/]* ) as_myself=$0 ;;
112
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113
 
for as_dir in $PATH
114
 
do
115
 
  IFS=$as_save_IFS
116
 
  test -z "$as_dir" && as_dir=.
117
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118
 
done
119
 
 
120
 
       ;;
121
 
  esac
122
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
123
 
  # in which case we are not to be found in the path.
124
 
  if test "x$as_myself" = x; then
125
 
    as_myself=$0
126
 
  fi
127
 
  if test ! -f "$as_myself"; then
128
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129
 
   { (exit 1); exit 1; }; }
130
 
  fi
131
 
  case $CONFIG_SHELL in
132
 
  '')
 
139
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
140
            s//\1/
 
141
            q
 
142
          }
 
143
          /^X\/\(\/\/\)$/{
 
144
            s//\1/
 
145
            q
 
146
          }
 
147
          /^X\/\(\/\).*/{
 
148
            s//\1/
 
149
            q
 
150
          }
 
151
          s/.*/./; q'`
 
152
 
 
153
# CDPATH.
 
154
$as_unset CDPATH
 
155
 
 
156
 
 
157
if test "x$CONFIG_SHELL" = x; then
 
158
  if (eval ":") 2>/dev/null; then
 
159
  as_have_required=yes
 
160
else
 
161
  as_have_required=no
 
162
fi
 
163
 
 
164
  if test $as_have_required = yes &&     (eval ":
 
165
(as_func_return () {
 
166
  (exit \$1)
 
167
}
 
168
as_func_success () {
 
169
  as_func_return 0
 
170
}
 
171
as_func_failure () {
 
172
  as_func_return 1
 
173
}
 
174
as_func_ret_success () {
 
175
  return 0
 
176
}
 
177
as_func_ret_failure () {
 
178
  return 1
 
179
}
 
180
 
 
181
exitcode=0
 
182
if as_func_success; then
 
183
  :
 
184
else
 
185
  exitcode=1
 
186
  echo as_func_success failed.
 
187
fi
 
188
 
 
189
if as_func_failure; then
 
190
  exitcode=1
 
191
  echo as_func_failure succeeded.
 
192
fi
 
193
 
 
194
if as_func_ret_success; then
 
195
  :
 
196
else
 
197
  exitcode=1
 
198
  echo as_func_ret_success failed.
 
199
fi
 
200
 
 
201
if as_func_ret_failure; then
 
202
  exitcode=1
 
203
  echo as_func_ret_failure succeeded.
 
204
fi
 
205
 
 
206
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
207
  :
 
208
else
 
209
  exitcode=1
 
210
  echo positional parameters were not saved.
 
211
fi
 
212
 
 
213
test \$exitcode = 0) || { (exit 1); exit 1; }
 
214
 
 
215
(
 
216
  as_lineno_1=\$LINENO
 
217
  as_lineno_2=\$LINENO
 
218
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
219
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
220
") 2> /dev/null; then
 
221
  :
 
222
else
 
223
  as_candidate_shells=
133
224
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134
225
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135
226
do
136
227
  IFS=$as_save_IFS
137
228
  test -z "$as_dir" && as_dir=.
138
 
  for as_base in sh bash ksh sh5; do
139
 
         case $as_dir in
 
229
  case $as_dir in
140
230
         /*)
141
 
           if ("$as_dir/$as_base" -c '
142
 
  as_lineno_1=$LINENO
143
 
  as_lineno_2=$LINENO
144
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
146
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
147
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149
 
             CONFIG_SHELL=$as_dir/$as_base
150
 
             export CONFIG_SHELL
151
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152
 
           fi;;
153
 
         esac
154
 
       done
 
231
           for as_base in sh bash ksh sh5; do
 
232
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
233
           done;;
 
234
       esac
155
235
done
156
 
;;
157
 
  esac
 
236
IFS=$as_save_IFS
 
237
 
 
238
 
 
239
      for as_shell in $as_candidate_shells $SHELL; do
 
240
         # Try only shells that exist, to save several forks.
 
241
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
242
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
243
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
244
  emulate sh
 
245
  NULLCMD=:
 
246
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
247
  # is contrary to our usage.  Disable this feature.
 
248
  alias -g '${1+"$@"}'='"$@"'
 
249
  setopt NO_GLOB_SUBST
 
250
else
 
251
  case `(set -o) 2>/dev/null` in
 
252
  *posix*) set -o posix ;;
 
253
esac
 
254
 
 
255
fi
 
256
 
 
257
 
 
258
:
 
259
_ASEOF
 
260
}; then
 
261
  CONFIG_SHELL=$as_shell
 
262
               as_have_required=yes
 
263
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
264
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
265
  emulate sh
 
266
  NULLCMD=:
 
267
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
268
  # is contrary to our usage.  Disable this feature.
 
269
  alias -g '${1+"$@"}'='"$@"'
 
270
  setopt NO_GLOB_SUBST
 
271
else
 
272
  case `(set -o) 2>/dev/null` in
 
273
  *posix*) set -o posix ;;
 
274
esac
 
275
 
 
276
fi
 
277
 
 
278
 
 
279
:
 
280
(as_func_return () {
 
281
  (exit $1)
 
282
}
 
283
as_func_success () {
 
284
  as_func_return 0
 
285
}
 
286
as_func_failure () {
 
287
  as_func_return 1
 
288
}
 
289
as_func_ret_success () {
 
290
  return 0
 
291
}
 
292
as_func_ret_failure () {
 
293
  return 1
 
294
}
 
295
 
 
296
exitcode=0
 
297
if as_func_success; then
 
298
  :
 
299
else
 
300
  exitcode=1
 
301
  echo as_func_success failed.
 
302
fi
 
303
 
 
304
if as_func_failure; then
 
305
  exitcode=1
 
306
  echo as_func_failure succeeded.
 
307
fi
 
308
 
 
309
if as_func_ret_success; then
 
310
  :
 
311
else
 
312
  exitcode=1
 
313
  echo as_func_ret_success failed.
 
314
fi
 
315
 
 
316
if as_func_ret_failure; then
 
317
  exitcode=1
 
318
  echo as_func_ret_failure succeeded.
 
319
fi
 
320
 
 
321
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
322
  :
 
323
else
 
324
  exitcode=1
 
325
  echo positional parameters were not saved.
 
326
fi
 
327
 
 
328
test $exitcode = 0) || { (exit 1); exit 1; }
 
329
 
 
330
(
 
331
  as_lineno_1=$LINENO
 
332
  as_lineno_2=$LINENO
 
333
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
334
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
335
 
 
336
_ASEOF
 
337
}; then
 
338
  break
 
339
fi
 
340
 
 
341
fi
 
342
 
 
343
      done
 
344
 
 
345
      if test "x$CONFIG_SHELL" != x; then
 
346
  for as_var in BASH_ENV ENV
 
347
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
348
        done
 
349
        export CONFIG_SHELL
 
350
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
351
fi
 
352
 
 
353
 
 
354
    if test $as_have_required = no; then
 
355
  echo This script requires a shell more modern than all the
 
356
      echo shells that I found on your system.  Please install a
 
357
      echo modern shell, or manually run the script under such a
 
358
      echo shell if you do have one.
 
359
      { (exit 1); exit 1; }
 
360
fi
 
361
 
 
362
 
 
363
fi
 
364
 
 
365
fi
 
366
 
 
367
 
 
368
 
 
369
(eval "as_func_return () {
 
370
  (exit \$1)
 
371
}
 
372
as_func_success () {
 
373
  as_func_return 0
 
374
}
 
375
as_func_failure () {
 
376
  as_func_return 1
 
377
}
 
378
as_func_ret_success () {
 
379
  return 0
 
380
}
 
381
as_func_ret_failure () {
 
382
  return 1
 
383
}
 
384
 
 
385
exitcode=0
 
386
if as_func_success; then
 
387
  :
 
388
else
 
389
  exitcode=1
 
390
  echo as_func_success failed.
 
391
fi
 
392
 
 
393
if as_func_failure; then
 
394
  exitcode=1
 
395
  echo as_func_failure succeeded.
 
396
fi
 
397
 
 
398
if as_func_ret_success; then
 
399
  :
 
400
else
 
401
  exitcode=1
 
402
  echo as_func_ret_success failed.
 
403
fi
 
404
 
 
405
if as_func_ret_failure; then
 
406
  exitcode=1
 
407
  echo as_func_ret_failure succeeded.
 
408
fi
 
409
 
 
410
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
411
  :
 
412
else
 
413
  exitcode=1
 
414
  echo positional parameters were not saved.
 
415
fi
 
416
 
 
417
test \$exitcode = 0") || {
 
418
  echo No shell found that supports shell functions.
 
419
  echo Please tell autoconf@gnu.org about your system,
 
420
  echo including any error possibly output before this
 
421
  echo message
 
422
}
 
423
 
 
424
 
 
425
 
 
426
  as_lineno_1=$LINENO
 
427
  as_lineno_2=$LINENO
 
428
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
429
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
158
430
 
159
431
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160
432
  # uniformly replaced by the line number.  The first 'sed' inserts a
161
 
  # line-number line before each line; the second 'sed' does the real
162
 
  # work.  The second script uses 'N' to pair each line-number line
163
 
  # with the numbered line, and appends trailing '-' during
164
 
  # substitution so that $LINENO is not a special case at line end.
 
433
  # line-number line after each line using $LINENO; the second 'sed'
 
434
  # does the real work.  The second script uses 'N' to pair each
 
435
  # line-number line with the line containing $LINENO, and appends
 
436
  # trailing '-' during substitution so that $LINENO is not a special
 
437
  # case at line end.
165
438
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
167
 
  sed '=' <$as_myself |
 
439
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
440
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
441
  sed -n '
 
442
    p
 
443
    /[$]LINENO/=
 
444
  ' <$as_myself |
168
445
    sed '
 
446
      s/[$]LINENO.*/&-/
 
447
      t lineno
 
448
      b
 
449
      :lineno
169
450
      N
170
 
      s,$,-,
171
 
      : loop
172
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
451
      :loop
 
452
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
173
453
      t loop
174
 
      s,-$,,
175
 
      s,^['$as_cr_digits']*\n,,
 
454
      s/-\n.*//
176
455
    ' >$as_me.lineno &&
177
 
  chmod +x $as_me.lineno ||
 
456
  chmod +x "$as_me.lineno" ||
178
457
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179
458
   { (exit 1); exit 1; }; }
180
459
 
181
460
  # Don't try to exec as it changes $[0], causing all sort of problems
182
461
  # (the dirname of $[0] is not the place where we might find the
183
 
  # original and so on.  Autoconf is especially sensible to this).
184
 
  . ./$as_me.lineno
 
462
  # original and so on.  Autoconf is especially sensitive to this).
 
463
  . "./$as_me.lineno"
185
464
  # Exit status is that of the last command.
186
465
  exit
187
466
}
188
467
 
189
468
 
190
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191
 
  *c*,-n*) ECHO_N= ECHO_C='
192
 
' ECHO_T='      ' ;;
193
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
469
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
470
  as_dirname=dirname
 
471
else
 
472
  as_dirname=false
 
473
fi
 
474
 
 
475
ECHO_C= ECHO_N= ECHO_T=
 
476
case `echo -n x` in
 
477
-n*)
 
478
  case `echo 'x\c'` in
 
479
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
480
  *)   ECHO_C='\c';;
 
481
  esac;;
 
482
*)
 
483
  ECHO_N='-n';;
195
484
esac
196
485
 
197
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
486
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
487
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
198
488
  as_expr=expr
199
489
else
200
490
  as_expr=false
201
491
fi
202
492
 
203
493
rm -f conf$$ conf$$.exe conf$$.file
 
494
if test -d conf$$.dir; then
 
495
  rm -f conf$$.dir/conf$$.file
 
496
else
 
497
  rm -f conf$$.dir
 
498
  mkdir conf$$.dir
 
499
fi
204
500
echo >conf$$.file
205
501
if ln -s conf$$.file conf$$ 2>/dev/null; then
206
 
  # We could just check for DJGPP; but this test a) works b) is more generic
207
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208
 
  if test -f conf$$.exe; then
209
 
    # Don't use ln at all; we don't have any links
 
502
  as_ln_s='ln -s'
 
503
  # ... but there are two gotchas:
 
504
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
505
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
506
  # In both cases, we have to default to `cp -p'.
 
507
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
210
508
    as_ln_s='cp -p'
211
 
  else
212
 
    as_ln_s='ln -s'
213
 
  fi
214
509
elif ln conf$$.file conf$$ 2>/dev/null; then
215
510
  as_ln_s=ln
216
511
else
217
512
  as_ln_s='cp -p'
218
513
fi
219
 
rm -f conf$$ conf$$.exe conf$$.file
 
514
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
515
rmdir conf$$.dir 2>/dev/null
220
516
 
221
517
if mkdir -p . 2>/dev/null; then
222
518
  as_mkdir_p=:
225
521
  as_mkdir_p=false
226
522
fi
227
523
 
228
 
as_executable_p="test -f"
 
524
if test -x / >/dev/null 2>&1; then
 
525
  as_test_x='test -x'
 
526
else
 
527
  if ls -dL / >/dev/null 2>&1; then
 
528
    as_ls_L_option=L
 
529
  else
 
530
    as_ls_L_option=
 
531
  fi
 
532
  as_test_x='
 
533
    eval sh -c '\''
 
534
      if test -d "$1"; then
 
535
        test -d "$1/.";
 
536
      else
 
537
        case $1 in
 
538
        -*)set "./$1";;
 
539
        esac;
 
540
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
541
        ???[sx]*):;;*)false;;esac;fi
 
542
    '\'' sh
 
543
  '
 
544
fi
 
545
as_executable_p=$as_test_x
229
546
 
230
547
# Sed expression to map a string onto a valid CPP name.
231
548
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
234
551
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
552
 
236
553
 
237
 
# IFS
238
 
# We need space, tab and new line, in precisely that order.
239
 
as_nl='
240
 
'
241
 
IFS="   $as_nl"
242
 
 
243
 
# CDPATH.
244
 
$as_unset CDPATH
245
 
 
246
554
 
247
555
 
248
556
# Check that we are running under the correct shell.
281
589
 
282
590
# The HP-UX ksh and POSIX shell print the target directory to stdout
283
591
# if CDPATH is set.
284
 
if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
 
592
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
285
593
 
286
594
if test -z "$ECHO"; then
287
595
if test "X${echo_test_string+set}" != Xset; then
288
596
# find a string as large as possible, as long as the shell can cope with it
289
597
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
290
598
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
291
 
    if (echo_test_string="`eval $cmd`") 2>/dev/null &&
292
 
       echo_test_string="`eval $cmd`" &&
 
599
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
 
600
       echo_test_string=`eval $cmd` &&
293
601
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
294
602
    then
295
603
      break
400
708
 
401
709
tagnames=${tagnames+${tagnames},}GCJ
402
710
 
 
711
exec 7<&0 </dev/null 6>&1
 
712
 
403
713
# Name of the host.
404
714
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
405
715
# so uname gets run too.
406
716
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
407
717
 
408
 
exec 6>&1
409
 
 
410
718
#
411
719
# Initializations.
412
720
#
413
721
ac_default_prefix=/usr/local
 
722
ac_clean_files=
414
723
ac_config_libobj_dir=.
 
724
LIBOBJS=
415
725
cross_compiling=no
416
726
subdirs=
417
727
MFLAGS=
418
728
MAKEFLAGS=
419
729
SHELL=${CONFIG_SHELL-/bin/sh}
420
730
 
421
 
# Maximum number of lines to put in a shell here document.
422
 
# This variable seems obsolete.  It should probably be removed, and
423
 
# only ac_max_sed_lines should be used.
424
 
: ${ac_max_here_lines=38}
425
 
 
426
731
# Identity of this package.
427
732
PACKAGE_NAME='Liberty Alliance Single Sign On'
428
733
PACKAGE_TARNAME='liberty-alliance-single-sign-on'
429
 
PACKAGE_VERSION='0.6.5'
430
 
PACKAGE_STRING='Liberty Alliance Single Sign On 0.6.5'
 
734
PACKAGE_VERSION='2.0.0'
 
735
PACKAGE_STRING='Liberty Alliance Single Sign On 2.0.0'
431
736
PACKAGE_BUGREPORT='lasso-devel@lists.labs.libre-entreprise.org'
432
737
 
433
738
ac_unique_file="lasso/lasso.c"
434
739
# Factoring default headers for most tests.
435
740
ac_includes_default="\
436
741
#include <stdio.h>
437
 
#if HAVE_SYS_TYPES_H
 
742
#ifdef HAVE_SYS_TYPES_H
438
743
# include <sys/types.h>
439
744
#endif
440
 
#if HAVE_SYS_STAT_H
 
745
#ifdef HAVE_SYS_STAT_H
441
746
# include <sys/stat.h>
442
747
#endif
443
 
#if STDC_HEADERS
 
748
#ifdef STDC_HEADERS
444
749
# include <stdlib.h>
445
750
# include <stddef.h>
446
751
#else
447
 
# if HAVE_STDLIB_H
 
752
# ifdef HAVE_STDLIB_H
448
753
#  include <stdlib.h>
449
754
# endif
450
755
#endif
451
 
#if HAVE_STRING_H
452
 
# if !STDC_HEADERS && HAVE_MEMORY_H
 
756
#ifdef HAVE_STRING_H
 
757
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
453
758
#  include <memory.h>
454
759
# endif
455
760
# include <string.h>
456
761
#endif
457
 
#if HAVE_STRINGS_H
 
762
#ifdef HAVE_STRINGS_H
458
763
# include <strings.h>
459
764
#endif
460
 
#if HAVE_INTTYPES_H
 
765
#ifdef HAVE_INTTYPES_H
461
766
# include <inttypes.h>
462
 
#else
463
 
# if HAVE_STDINT_H
464
 
#  include <stdint.h>
465
 
# endif
466
 
#endif
467
 
#if HAVE_UNISTD_H
 
767
#endif
 
768
#ifdef HAVE_STDINT_H
 
769
# include <stdint.h>
 
770
#endif
 
771
#ifdef HAVE_UNISTD_H
468
772
# include <unistd.h>
469
773
#endif"
470
774
 
471
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os 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 RC ac_ct_RC GCJ GCJFLAGS GCJDEPMODE am__fastdepGCJ_TRUE am__fastdepGCJ_FALSE LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBTOOL_DEPS TAR JAVA JAVAC JAR PERL PHP PHP_CONFIG PHP_PATH PYTHON SWIG U ANSI2KNR VERSION_UNDERSCORED WINDOWS_VERSION LASSO_VERSION_INFO UPCASED_DLL_FILENAME DLL_FILENAME SWIG_PYTHON_ARGS JAVA_ENABLED_TRUE JAVA_ENABLED_FALSE JAVA_VERSION JAVAC_FLAGS JDK_INCLUDE PY_LIB_LOC PY_CFLAGS PY_EXTRA_LIBS PY_DYNLOAD PY_LIB_A PY_SITE_PACKAGES PYTHON_ENABLED_TRUE PYTHON_ENABLED_FALSE PYTHON_VERSION PHP_INCLUDES PHP_LDFLAGS PHP_LIBS PHP_UNPREFIXED_EXTENSION_DIR PHP_EXTENSION_DIR PHP_PREFIX PHP_ENABLED_TRUE PHP_ENABLED_FALSE PHP_VERSION GACUTIL CSHARPCILINTERPRETER CSHARPCYGPATH_W CSHARPCOMPILER CSHARPDYNAMICLINKING CSHARPLIBRARYPREFIX CSHARP_ENABLED_TRUE CSHARP_ENABLED_FALSE PERLINSTALLSITEARCH PERLMAN3DIR PERL_ENABLED_TRUE PERL_ENABLED_FALSE PERL_VERSION Z_CFLAGS Z_LIBS CHECK_CFLAGS CHECK_LIBS WITH_TESTS_TRUE WITH_TESTS_FALSE WSF_ENABLED_TRUE WSF_ENABLED_FALSE LASSO_WSF_SUPPORT LASSO_DOCDIR HTML_DIR PKG_CONFIG ac_pt_PKG_CONFIG LASSO_CFLAGS LASSO_LIBS GTK_DOC_CFLAGS GTK_DOC_LIBS GTK_DOC_ENABLED_TRUE GTK_DOC_ENABLED_FALSE REST2HTML HAVE_REST2HTML_TRUE HAVE_REST2HTML_FALSE XSLTPROC HAVE_XSLTPROC_TRUE HAVE_XSLTPROC_FALSE INKSCAPE HAVE_INKSCAPE_TRUE HAVE_INKSCAPE_FALSE LASSO_STATIC_BINARIES LASSO_CORE_CFLAGS LASSO_CORE_LIBS LASSO_PUB_CFLAGS LASSO_DEFINES LASSO_APP_DEFINES MINGW_TRUE MINGW_FALSE DARWIN_TRUE DARWIN_FALSE LIBOBJS LTLIBOBJS'
 
775
ac_subst_vars='SHELL
 
776
PATH_SEPARATOR
 
777
PACKAGE_NAME
 
778
PACKAGE_TARNAME
 
779
PACKAGE_VERSION
 
780
PACKAGE_STRING
 
781
PACKAGE_BUGREPORT
 
782
exec_prefix
 
783
prefix
 
784
program_transform_name
 
785
bindir
 
786
sbindir
 
787
libexecdir
 
788
datarootdir
 
789
datadir
 
790
sysconfdir
 
791
sharedstatedir
 
792
localstatedir
 
793
includedir
 
794
oldincludedir
 
795
docdir
 
796
infodir
 
797
htmldir
 
798
dvidir
 
799
pdfdir
 
800
psdir
 
801
libdir
 
802
localedir
 
803
mandir
 
804
DEFS
 
805
ECHO_C
 
806
ECHO_N
 
807
ECHO_T
 
808
LIBS
 
809
build_alias
 
810
host_alias
 
811
target_alias
 
812
INSTALL_PROGRAM
 
813
INSTALL_SCRIPT
 
814
INSTALL_DATA
 
815
CYGPATH_W
 
816
PACKAGE
 
817
VERSION
 
818
ACLOCAL
 
819
AUTOCONF
 
820
AUTOMAKE
 
821
AUTOHEADER
 
822
MAKEINFO
 
823
install_sh
 
824
STRIP
 
825
INSTALL_STRIP_PROGRAM
 
826
mkdir_p
 
827
AWK
 
828
SET_MAKE
 
829
am__leading_dot
 
830
AMTAR
 
831
am__tar
 
832
am__untar
 
833
MAINTAINER_MODE_TRUE
 
834
MAINTAINER_MODE_FALSE
 
835
MAINT
 
836
build
 
837
build_cpu
 
838
build_vendor
 
839
build_os
 
840
host
 
841
host_cpu
 
842
host_vendor
 
843
host_os
 
844
CC
 
845
CFLAGS
 
846
LDFLAGS
 
847
CPPFLAGS
 
848
ac_ct_CC
 
849
EXEEXT
 
850
OBJEXT
 
851
DEPDIR
 
852
am__include
 
853
am__quote
 
854
AMDEP_TRUE
 
855
AMDEP_FALSE
 
856
AMDEPBACKSLASH
 
857
CCDEPMODE
 
858
am__fastdepCC_TRUE
 
859
am__fastdepCC_FALSE
 
860
CPP
 
861
GREP
 
862
EGREP
 
863
RC
 
864
GCJ
 
865
GCJFLAGS
 
866
GCJDEPMODE
 
867
am__fastdepGCJ_TRUE
 
868
am__fastdepGCJ_FALSE
 
869
LN_S
 
870
ECHO
 
871
AR
 
872
RANLIB
 
873
DLLTOOL
 
874
AS
 
875
OBJDUMP
 
876
CXX
 
877
CXXFLAGS
 
878
ac_ct_CXX
 
879
CXXDEPMODE
 
880
am__fastdepCXX_TRUE
 
881
am__fastdepCXX_FALSE
 
882
CXXCPP
 
883
F77
 
884
FFLAGS
 
885
ac_ct_F77
 
886
LIBTOOL
 
887
LIBTOOL_DEPS
 
888
TAR
 
889
JAVA
 
890
JAVAC
 
891
JAR
 
892
PERL
 
893
PHP4
 
894
PHP5
 
895
PHP4_CONFIG
 
896
PHP5_CONFIG
 
897
PYTHON
 
898
SWIG
 
899
U
 
900
ANSI2KNR
 
901
VERSION_UNDERSCORED
 
902
WINDOWS_VERSION
 
903
LASSO_VERSION_INFO
 
904
UPCASED_DLL_FILENAME
 
905
DLL_FILENAME
 
906
SWIG_PYTHON_ARGS
 
907
JAVA_ENABLED_TRUE
 
908
JAVA_ENABLED_FALSE
 
909
JAVA_VERSION
 
910
JAVAC_FLAGS
 
911
JDK_INCLUDE
 
912
PY_LIB_LOC
 
913
PY_CFLAGS
 
914
PY_EXTRA_LIBS
 
915
PY_DYNLOAD
 
916
PY_LIB_A
 
917
PY_SITE_PACKAGES
 
918
PYTHON_ENABLED_TRUE
 
919
PYTHON_ENABLED_FALSE
 
920
PYTHON_VERSION
 
921
PHP4_INCLUDES
 
922
PHP4_LDFLAGS
 
923
PHP4_LIBS
 
924
PHP4_UNPREFIXED_EXTENSION_DIR
 
925
PHP4_EXTENSION_DIR
 
926
PHP4_PREFIX
 
927
PHP4_ENABLED_TRUE
 
928
PHP4_ENABLED_FALSE
 
929
PHP4_VERSION
 
930
PHP5_INCLUDES
 
931
PHP5_LDFLAGS
 
932
PHP5_LIBS
 
933
PHP5_UNPREFIXED_EXTENSION_DIR
 
934
PHP5_EXTENSION_DIR
 
935
PHP5_PREFIX
 
936
PHP5_ENABLED_TRUE
 
937
PHP5_ENABLED_FALSE
 
938
PHP5_VERSION
 
939
GACUTIL
 
940
CSHARPCILINTERPRETER
 
941
CSHARPCYGPATH_W
 
942
CSHARPCOMPILER
 
943
CSHARPDYNAMICLINKING
 
944
CSHARPLIBRARYPREFIX
 
945
CSHARP_ENABLED_TRUE
 
946
CSHARP_ENABLED_FALSE
 
947
PERLINSTALLSITEARCH
 
948
PERLMAN3DIR
 
949
PERL_ENABLED_TRUE
 
950
PERL_ENABLED_FALSE
 
951
PERL_VERSION
 
952
Z_CFLAGS
 
953
Z_LIBS
 
954
CHECK_CFLAGS
 
955
CHECK_LIBS
 
956
WITH_TESTS_TRUE
 
957
WITH_TESTS_FALSE
 
958
WSF_ENABLED_TRUE
 
959
WSF_ENABLED_FALSE
 
960
LASSO_WSF_SUPPORT
 
961
LASSO_DOCDIR
 
962
HTML_DIR
 
963
PKG_CONFIG
 
964
LASSO_CFLAGS
 
965
LASSO_LIBS
 
966
GTK_DOC_CFLAGS
 
967
GTK_DOC_LIBS
 
968
GTK_DOC_ENABLED_TRUE
 
969
GTK_DOC_ENABLED_FALSE
 
970
REST2HTML
 
971
HAVE_REST2HTML_TRUE
 
972
HAVE_REST2HTML_FALSE
 
973
XSLTPROC
 
974
HAVE_XSLTPROC_TRUE
 
975
HAVE_XSLTPROC_FALSE
 
976
INKSCAPE
 
977
HAVE_INKSCAPE_TRUE
 
978
HAVE_INKSCAPE_FALSE
 
979
LASSO_STATIC_BINARIES
 
980
LASSO_CORE_CFLAGS
 
981
LASSO_CORE_LIBS
 
982
LASSO_PUB_CFLAGS
 
983
LASSO_DEFINES
 
984
LASSO_APP_DEFINES
 
985
MINGW_TRUE
 
986
MINGW_FALSE
 
987
DARWIN_TRUE
 
988
DARWIN_FALSE
 
989
LIBOBJS
 
990
LTLIBOBJS'
472
991
ac_subst_files=''
 
992
      ac_precious_vars='build_alias
 
993
host_alias
 
994
target_alias
 
995
CC
 
996
CFLAGS
 
997
LDFLAGS
 
998
LIBS
 
999
CPPFLAGS
 
1000
CPP
 
1001
CXX
 
1002
CXXFLAGS
 
1003
CCC
 
1004
CXXCPP
 
1005
F77
 
1006
FFLAGS
 
1007
PKG_CONFIG
 
1008
LASSO_CFLAGS
 
1009
LASSO_LIBS
 
1010
GTK_DOC_CFLAGS
 
1011
GTK_DOC_LIBS'
 
1012
 
473
1013
 
474
1014
# Initialize some variables set by options.
475
1015
ac_init_help=
496
1036
# and all the variables that are supposed to be based on exec_prefix
497
1037
# by default will actually change.
498
1038
# Use braces instead of parens because sh, perl, etc. also accept them.
 
1039
# (The list follows the same order as the GNU Coding Standards.)
499
1040
bindir='${exec_prefix}/bin'
500
1041
sbindir='${exec_prefix}/sbin'
501
1042
libexecdir='${exec_prefix}/libexec'
502
 
datadir='${prefix}/share'
 
1043
datarootdir='${prefix}/share'
 
1044
datadir='${datarootdir}'
503
1045
sysconfdir='${prefix}/etc'
504
1046
sharedstatedir='${prefix}/com'
505
1047
localstatedir='${prefix}/var'
506
 
libdir='${exec_prefix}/lib'
507
1048
includedir='${prefix}/include'
508
1049
oldincludedir='/usr/include'
509
 
infodir='${prefix}/info'
510
 
mandir='${prefix}/man'
 
1050
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
1051
infodir='${datarootdir}/info'
 
1052
htmldir='${docdir}'
 
1053
dvidir='${docdir}'
 
1054
pdfdir='${docdir}'
 
1055
psdir='${docdir}'
 
1056
libdir='${exec_prefix}/lib'
 
1057
localedir='${datarootdir}/locale'
 
1058
mandir='${datarootdir}/man'
511
1059
 
512
1060
ac_prev=
 
1061
ac_dashdash=
513
1062
for ac_option
514
1063
do
515
1064
  # If the previous option needs an argument, assign it.
516
1065
  if test -n "$ac_prev"; then
517
 
    eval "$ac_prev=\$ac_option"
 
1066
    eval $ac_prev=\$ac_option
518
1067
    ac_prev=
519
1068
    continue
520
1069
  fi
521
1070
 
522
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
1071
  case $ac_option in
 
1072
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
1073
  *)    ac_optarg=yes ;;
 
1074
  esac
523
1075
 
524
1076
  # Accept the important Cygnus configure options, so we can diagnose typos.
525
1077
 
526
 
  case $ac_option in
 
1078
  case $ac_dashdash$ac_option in
 
1079
  --)
 
1080
    ac_dashdash=yes ;;
527
1081
 
528
1082
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
529
1083
    ac_prev=bindir ;;
545
1099
  --config-cache | -C)
546
1100
    cache_file=config.cache ;;
547
1101
 
548
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
1102
  -datadir | --datadir | --datadi | --datad)
549
1103
    ac_prev=datadir ;;
550
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
551
 
  | --da=*)
 
1104
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
552
1105
    datadir=$ac_optarg ;;
553
1106
 
 
1107
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1108
  | --dataroo | --dataro | --datar)
 
1109
    ac_prev=datarootdir ;;
 
1110
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1111
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1112
    datarootdir=$ac_optarg ;;
 
1113
 
554
1114
  -disable-* | --disable-*)
555
1115
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
556
1116
    # Reject names that are not valid shell variable names.
557
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1117
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
558
1118
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
559
1119
   { (exit 1); exit 1; }; }
560
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
561
 
    eval "enable_$ac_feature=no" ;;
 
1120
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
1121
    eval enable_$ac_feature=no ;;
 
1122
 
 
1123
  -docdir | --docdir | --docdi | --doc | --do)
 
1124
    ac_prev=docdir ;;
 
1125
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1126
    docdir=$ac_optarg ;;
 
1127
 
 
1128
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1129
    ac_prev=dvidir ;;
 
1130
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1131
    dvidir=$ac_optarg ;;
562
1132
 
563
1133
  -enable-* | --enable-*)
564
1134
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
565
1135
    # Reject names that are not valid shell variable names.
566
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1136
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
567
1137
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
568
1138
   { (exit 1); exit 1; }; }
569
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
570
 
    case $ac_option in
571
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
572
 
      *) ac_optarg=yes ;;
573
 
    esac
574
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
1139
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
1140
    eval enable_$ac_feature=\$ac_optarg ;;
575
1141
 
576
1142
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
577
1143
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
598
1164
  -host=* | --host=* | --hos=* | --ho=*)
599
1165
    host_alias=$ac_optarg ;;
600
1166
 
 
1167
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1168
    ac_prev=htmldir ;;
 
1169
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1170
  | --ht=*)
 
1171
    htmldir=$ac_optarg ;;
 
1172
 
601
1173
  -includedir | --includedir | --includedi | --included | --include \
602
1174
  | --includ | --inclu | --incl | --inc)
603
1175
    ac_prev=includedir ;;
622
1194
  | --libexe=* | --libex=* | --libe=*)
623
1195
    libexecdir=$ac_optarg ;;
624
1196
 
 
1197
  -localedir | --localedir | --localedi | --localed | --locale)
 
1198
    ac_prev=localedir ;;
 
1199
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1200
    localedir=$ac_optarg ;;
 
1201
 
625
1202
  -localstatedir | --localstatedir | --localstatedi | --localstated \
626
 
  | --localstate | --localstat | --localsta | --localst \
627
 
  | --locals | --local | --loca | --loc | --lo)
 
1203
  | --localstate | --localstat | --localsta | --localst | --locals)
628
1204
    ac_prev=localstatedir ;;
629
1205
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
630
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
631
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
1206
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
632
1207
    localstatedir=$ac_optarg ;;
633
1208
 
634
1209
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
693
1268
  | --progr-tra=* | --program-tr=* | --program-t=*)
694
1269
    program_transform_name=$ac_optarg ;;
695
1270
 
 
1271
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1272
    ac_prev=pdfdir ;;
 
1273
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1274
    pdfdir=$ac_optarg ;;
 
1275
 
 
1276
  -psdir | --psdir | --psdi | --psd | --ps)
 
1277
    ac_prev=psdir ;;
 
1278
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1279
    psdir=$ac_optarg ;;
 
1280
 
696
1281
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
697
1282
  | -silent | --silent | --silen | --sile | --sil)
698
1283
    silent=yes ;;
745
1330
  -with-* | --with-*)
746
1331
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
747
1332
    # Reject names that are not valid shell variable names.
748
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1333
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
749
1334
      { echo "$as_me: error: invalid package name: $ac_package" >&2
750
1335
   { (exit 1); exit 1; }; }
751
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
752
 
    case $ac_option in
753
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
754
 
      *) ac_optarg=yes ;;
755
 
    esac
756
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1336
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1337
    eval with_$ac_package=\$ac_optarg ;;
757
1338
 
758
1339
  -without-* | --without-*)
759
1340
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
760
1341
    # Reject names that are not valid shell variable names.
761
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1342
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
762
1343
      { echo "$as_me: error: invalid package name: $ac_package" >&2
763
1344
   { (exit 1); exit 1; }; }
764
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
765
 
    eval "with_$ac_package=no" ;;
 
1345
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1346
    eval with_$ac_package=no ;;
766
1347
 
767
1348
  --x)
768
1349
    # Obsolete; use --with-x.
793
1374
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
794
1375
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
795
1376
   { (exit 1); exit 1; }; }
796
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
797
 
    eval "$ac_envvar='$ac_optarg'"
 
1377
    eval $ac_envvar=\$ac_optarg
798
1378
    export $ac_envvar ;;
799
1379
 
800
1380
  *)
814
1394
   { (exit 1); exit 1; }; }
815
1395
fi
816
1396
 
817
 
# Be sure to have absolute paths.
818
 
for ac_var in exec_prefix prefix
819
 
do
820
 
  eval ac_val=$`echo $ac_var`
821
 
  case $ac_val in
822
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
823
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
824
 
   { (exit 1); exit 1; }; };;
825
 
  esac
826
 
done
827
 
 
828
 
# Be sure to have absolute paths.
829
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
830
 
              localstatedir libdir includedir oldincludedir infodir mandir
831
 
do
832
 
  eval ac_val=$`echo $ac_var`
833
 
  case $ac_val in
834
 
    [\\/$]* | ?:[\\/]* ) ;;
835
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
836
 
   { (exit 1); exit 1; }; };;
837
 
  esac
 
1397
# Be sure to have absolute directory names.
 
1398
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1399
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1400
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1401
                libdir localedir mandir
 
1402
do
 
1403
  eval ac_val=\$$ac_var
 
1404
  case $ac_val in
 
1405
    [\\/$]* | ?:[\\/]* )  continue;;
 
1406
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1407
  esac
 
1408
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1409
   { (exit 1); exit 1; }; }
838
1410
done
839
1411
 
840
1412
# There might be people who depend on the old broken behavior: `$host'
861
1433
test "$silent" = yes && exec 6>/dev/null
862
1434
 
863
1435
 
 
1436
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1437
ac_ls_di=`ls -di .` &&
 
1438
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1439
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1440
   { (exit 1); exit 1; }; }
 
1441
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1442
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1443
   { (exit 1); exit 1; }; }
 
1444
 
 
1445
 
864
1446
# Find the source files, if location was not specified.
865
1447
if test -z "$srcdir"; then
866
1448
  ac_srcdir_defaulted=yes
867
 
  # Try the directory containing this script, then its parent.
868
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1449
  # Try the directory containing this script, then the parent directory.
 
1450
  ac_confdir=`$as_dirname -- "$0" ||
869
1451
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
870
1452
         X"$0" : 'X\(//\)[^/]' \| \
871
1453
         X"$0" : 'X\(//\)$' \| \
872
 
         X"$0" : 'X\(/\)' \| \
873
 
         .     : '\(.\)' 2>/dev/null ||
 
1454
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
874
1455
echo X"$0" |
875
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
876
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
877
 
          /^X\(\/\/\)$/{ s//\1/; q; }
878
 
          /^X\(\/\).*/{ s//\1/; q; }
879
 
          s/.*/./; q'`
 
1456
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1457
            s//\1/
 
1458
            q
 
1459
          }
 
1460
          /^X\(\/\/\)[^/].*/{
 
1461
            s//\1/
 
1462
            q
 
1463
          }
 
1464
          /^X\(\/\/\)$/{
 
1465
            s//\1/
 
1466
            q
 
1467
          }
 
1468
          /^X\(\/\).*/{
 
1469
            s//\1/
 
1470
            q
 
1471
          }
 
1472
          s/.*/./; q'`
880
1473
  srcdir=$ac_confdir
881
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1474
  if test ! -r "$srcdir/$ac_unique_file"; then
882
1475
    srcdir=..
883
1476
  fi
884
1477
else
885
1478
  ac_srcdir_defaulted=no
886
1479
fi
887
 
if test ! -r $srcdir/$ac_unique_file; then
888
 
  if test "$ac_srcdir_defaulted" = yes; then
889
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
890
 
   { (exit 1); exit 1; }; }
891
 
  else
892
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
893
 
   { (exit 1); exit 1; }; }
894
 
  fi
895
 
fi
896
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
897
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
898
 
   { (exit 1); exit 1; }; }
899
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
900
 
ac_env_build_alias_set=${build_alias+set}
901
 
ac_env_build_alias_value=$build_alias
902
 
ac_cv_env_build_alias_set=${build_alias+set}
903
 
ac_cv_env_build_alias_value=$build_alias
904
 
ac_env_host_alias_set=${host_alias+set}
905
 
ac_env_host_alias_value=$host_alias
906
 
ac_cv_env_host_alias_set=${host_alias+set}
907
 
ac_cv_env_host_alias_value=$host_alias
908
 
ac_env_target_alias_set=${target_alias+set}
909
 
ac_env_target_alias_value=$target_alias
910
 
ac_cv_env_target_alias_set=${target_alias+set}
911
 
ac_cv_env_target_alias_value=$target_alias
912
 
ac_env_CC_set=${CC+set}
913
 
ac_env_CC_value=$CC
914
 
ac_cv_env_CC_set=${CC+set}
915
 
ac_cv_env_CC_value=$CC
916
 
ac_env_CFLAGS_set=${CFLAGS+set}
917
 
ac_env_CFLAGS_value=$CFLAGS
918
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
919
 
ac_cv_env_CFLAGS_value=$CFLAGS
920
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
921
 
ac_env_LDFLAGS_value=$LDFLAGS
922
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
923
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
924
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
925
 
ac_env_CPPFLAGS_value=$CPPFLAGS
926
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
927
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
928
 
ac_env_CPP_set=${CPP+set}
929
 
ac_env_CPP_value=$CPP
930
 
ac_cv_env_CPP_set=${CPP+set}
931
 
ac_cv_env_CPP_value=$CPP
932
 
ac_env_CXX_set=${CXX+set}
933
 
ac_env_CXX_value=$CXX
934
 
ac_cv_env_CXX_set=${CXX+set}
935
 
ac_cv_env_CXX_value=$CXX
936
 
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
937
 
ac_env_CXXFLAGS_value=$CXXFLAGS
938
 
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
939
 
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
940
 
ac_env_CXXCPP_set=${CXXCPP+set}
941
 
ac_env_CXXCPP_value=$CXXCPP
942
 
ac_cv_env_CXXCPP_set=${CXXCPP+set}
943
 
ac_cv_env_CXXCPP_value=$CXXCPP
944
 
ac_env_F77_set=${F77+set}
945
 
ac_env_F77_value=$F77
946
 
ac_cv_env_F77_set=${F77+set}
947
 
ac_cv_env_F77_value=$F77
948
 
ac_env_FFLAGS_set=${FFLAGS+set}
949
 
ac_env_FFLAGS_value=$FFLAGS
950
 
ac_cv_env_FFLAGS_set=${FFLAGS+set}
951
 
ac_cv_env_FFLAGS_value=$FFLAGS
952
 
ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
953
 
ac_env_PKG_CONFIG_value=$PKG_CONFIG
954
 
ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
955
 
ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
956
 
ac_env_LASSO_CFLAGS_set=${LASSO_CFLAGS+set}
957
 
ac_env_LASSO_CFLAGS_value=$LASSO_CFLAGS
958
 
ac_cv_env_LASSO_CFLAGS_set=${LASSO_CFLAGS+set}
959
 
ac_cv_env_LASSO_CFLAGS_value=$LASSO_CFLAGS
960
 
ac_env_LASSO_LIBS_set=${LASSO_LIBS+set}
961
 
ac_env_LASSO_LIBS_value=$LASSO_LIBS
962
 
ac_cv_env_LASSO_LIBS_set=${LASSO_LIBS+set}
963
 
ac_cv_env_LASSO_LIBS_value=$LASSO_LIBS
964
 
ac_env_GTK_DOC_CFLAGS_set=${GTK_DOC_CFLAGS+set}
965
 
ac_env_GTK_DOC_CFLAGS_value=$GTK_DOC_CFLAGS
966
 
ac_cv_env_GTK_DOC_CFLAGS_set=${GTK_DOC_CFLAGS+set}
967
 
ac_cv_env_GTK_DOC_CFLAGS_value=$GTK_DOC_CFLAGS
968
 
ac_env_GTK_DOC_LIBS_set=${GTK_DOC_LIBS+set}
969
 
ac_env_GTK_DOC_LIBS_value=$GTK_DOC_LIBS
970
 
ac_cv_env_GTK_DOC_LIBS_set=${GTK_DOC_LIBS+set}
971
 
ac_cv_env_GTK_DOC_LIBS_value=$GTK_DOC_LIBS
 
1480
if test ! -r "$srcdir/$ac_unique_file"; then
 
1481
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1482
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1483
   { (exit 1); exit 1; }; }
 
1484
fi
 
1485
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1486
ac_abs_confdir=`(
 
1487
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1488
   { (exit 1); exit 1; }; }
 
1489
        pwd)`
 
1490
# When building in place, set srcdir=.
 
1491
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1492
  srcdir=.
 
1493
fi
 
1494
# Remove unnecessary trailing slashes from srcdir.
 
1495
# Double slashes in file names in object file debugging info
 
1496
# mess up M-x gdb in Emacs.
 
1497
case $srcdir in
 
1498
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1499
esac
 
1500
for ac_var in $ac_precious_vars; do
 
1501
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1502
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1503
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1504
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1505
done
972
1506
 
973
1507
#
974
1508
# Report the --help message.
977
1511
  # Omit some internal or obsolete options to make the list less imposing.
978
1512
  # This message is too long to be a string in the A/UX 3.1 sh.
979
1513
  cat <<_ACEOF
980
 
\`configure' configures Liberty Alliance Single Sign On 0.6.5 to adapt to many kinds of systems.
 
1514
\`configure' configures Liberty Alliance Single Sign On 2.0.0 to adapt to many kinds of systems.
981
1515
 
982
1516
Usage: $0 [OPTION]... [VAR=VALUE]...
983
1517
 
997
1531
  -n, --no-create         do not create output files
998
1532
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
999
1533
 
1000
 
_ACEOF
1001
 
 
1002
 
  cat <<_ACEOF
1003
1534
Installation directories:
1004
1535
  --prefix=PREFIX         install architecture-independent files in PREFIX
1005
1536
                          [$ac_default_prefix]
1017
1548
  --bindir=DIR           user executables [EPREFIX/bin]
1018
1549
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1019
1550
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1020
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
1021
1551
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1022
1552
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1023
1553
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1024
1554
  --libdir=DIR           object code libraries [EPREFIX/lib]
1025
1555
  --includedir=DIR       C header files [PREFIX/include]
1026
1556
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1027
 
  --infodir=DIR          info documentation [PREFIX/info]
1028
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1557
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1558
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1559
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1560
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1561
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1562
  --docdir=DIR           documentation root [DATAROOTDIR/doc/liberty-alliance-single-sign-on]
 
1563
  --htmldir=DIR          html documentation [DOCDIR]
 
1564
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1565
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1566
  --psdir=DIR            ps documentation [DOCDIR]
1029
1567
_ACEOF
1030
1568
 
1031
1569
  cat <<\_ACEOF
1043
1581
 
1044
1582
if test -n "$ac_init_help"; then
1045
1583
  case $ac_init_help in
1046
 
     short | recursive ) echo "Configuration of Liberty Alliance Single Sign On 0.6.5:";;
 
1584
     short | recursive ) echo "Configuration of Liberty Alliance Single Sign On 2.0.0:";;
1047
1585
   esac
1048
1586
  cat <<\_ACEOF
1049
1587
 
1054
1592
                          (and sometimes confusing) to the casual installer
1055
1593
  --disable-dependency-tracking  speeds up one-time build
1056
1594
  --enable-dependency-tracking   do not reject slow dependency extractors
1057
 
  --enable-shared[=PKGS]
1058
 
                          build shared libraries [default=yes]
1059
 
  --enable-static[=PKGS]
1060
 
                          build static libraries [default=yes]
 
1595
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1596
  --enable-static[=PKGS]  build static libraries [default=yes]
1061
1597
  --enable-fast-install[=PKGS]
1062
1598
                          optimize for fast installation [default=yes]
1063
1599
  --disable-libtool-lock  avoid locking (might break parallel builds)
1064
1600
  --disable-java          disable the Java binding
1065
1601
  --disable-python        disable the Python binding
1066
 
  --disable-php           disable the PHP binding
1067
 
  --enable-php-force      always enable of the PHP binding (win32)
 
1602
  --disable-php4          disable the PHP 4 binding
 
1603
  --enable-php4-force     always enable of the PHP 4 binding (win32)
 
1604
  --enable-php5          enable the PHP 5 binding
 
1605
  --enable-php5-force     always enable of the PHP 5 binding (win32)
1068
1606
  --disable-perl          disable the Perl binding
1069
1607
  --disable-tests         disable the test suite
1070
1608
  --enable-wsf            enable experimental ID-WSF
1080
1618
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1081
1619
  --with-pic              try to use only PIC/non-PIC objects [default=use
1082
1620
                          both]
1083
 
  --with-tags[=TAGS]
1084
 
                          include additional configurations [automatic]
 
1621
  --with-tags[=TAGS]      include additional configurations [automatic]
1085
1622
  --with-java-home=(JAVA_HOME)  set the full path to the java home directory.
1086
1623
  --with-python=(PYTHON)  set the full path to the python program to use.
1087
 
  --with-php-config=(PHP_CONFIG)      Specify full path to php-config.
1088
 
  --with-php-extension-dir=(PHP_EXTENSION_DIR)      Specify full path to php extension dir.
 
1624
  --with-php4-config=(PHP4_CONFIG)      Specify full path to php-config4.
 
1625
  --with-php4-extension-dir=(PHP4_EXTENSION_DIR)      Specify full path to php 4 extension dir.
 
1626
  --with-php5-config=(PHP5_CONFIG)      Specify full path to php-config5.
 
1627
  --with-php5-extension-dir=(PHP5_EXTENSION_DIR)      Specify full path to php 5 extension dir.
1089
1628
  --with-zlib[=DIR]       use libz in DIR
1090
1629
  --with-html-dir=PATH    path to installed docs
1091
1630
  --with-html-dir=PATH path to installed docs
1097
1636
  CFLAGS      C compiler flags
1098
1637
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1099
1638
              nonstandard directory <lib dir>
1100
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1101
 
              headers in a nonstandard directory <include dir>
 
1639
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1640
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1641
              you have headers in a nonstandard directory <include dir>
1102
1642
  CPP         C preprocessor
1103
1643
  CXX         C++ compiler command
1104
1644
  CXXFLAGS    C++ compiler flags
1119
1659
 
1120
1660
Report bugs to <lasso-devel@lists.labs.libre-entreprise.org>.
1121
1661
_ACEOF
 
1662
ac_status=$?
1122
1663
fi
1123
1664
 
1124
1665
if test "$ac_init_help" = "recursive"; then
1125
1666
  # If there are subdirs, report their specific --help.
1126
 
  ac_popdir=`pwd`
1127
1667
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1128
 
    test -d $ac_dir || continue
 
1668
    test -d "$ac_dir" || continue
1129
1669
    ac_builddir=.
1130
1670
 
1131
 
if test "$ac_dir" != .; then
 
1671
case "$ac_dir" in
 
1672
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1673
*)
1132
1674
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1133
 
  # A "../" for each directory in $ac_dir_suffix.
1134
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1135
 
else
1136
 
  ac_dir_suffix= ac_top_builddir=
1137
 
fi
 
1675
  # A ".." for each directory in $ac_dir_suffix.
 
1676
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1677
  case $ac_top_builddir_sub in
 
1678
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1679
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1680
  esac ;;
 
1681
esac
 
1682
ac_abs_top_builddir=$ac_pwd
 
1683
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1684
# for backward compatibility:
 
1685
ac_top_builddir=$ac_top_build_prefix
1138
1686
 
1139
1687
case $srcdir in
1140
 
  .)  # No --srcdir option.  We are building in place.
 
1688
  .)  # We are building in place.
1141
1689
    ac_srcdir=.
1142
 
    if test -z "$ac_top_builddir"; then
1143
 
       ac_top_srcdir=.
1144
 
    else
1145
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1146
 
    fi ;;
1147
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1690
    ac_top_srcdir=$ac_top_builddir_sub
 
1691
    ac_abs_top_srcdir=$ac_pwd ;;
 
1692
  [\\/]* | ?:[\\/]* )  # Absolute name.
1148
1693
    ac_srcdir=$srcdir$ac_dir_suffix;
1149
 
    ac_top_srcdir=$srcdir ;;
1150
 
  *) # Relative path.
1151
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1152
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1153
 
esac
1154
 
 
1155
 
# Do not use `cd foo && pwd` to compute absolute paths, because
1156
 
# the directories may not exist.
1157
 
case `pwd` in
1158
 
.) ac_abs_builddir="$ac_dir";;
1159
 
*)
1160
 
  case "$ac_dir" in
1161
 
  .) ac_abs_builddir=`pwd`;;
1162
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1163
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1164
 
  esac;;
1165
 
esac
1166
 
case $ac_abs_builddir in
1167
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1168
 
*)
1169
 
  case ${ac_top_builddir}. in
1170
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
1171
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1172
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1173
 
  esac;;
1174
 
esac
1175
 
case $ac_abs_builddir in
1176
 
.) ac_abs_srcdir=$ac_srcdir;;
1177
 
*)
1178
 
  case $ac_srcdir in
1179
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
1180
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1181
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1182
 
  esac;;
1183
 
esac
1184
 
case $ac_abs_builddir in
1185
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1186
 
*)
1187
 
  case $ac_top_srcdir in
1188
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1189
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1190
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1191
 
  esac;;
1192
 
esac
1193
 
 
1194
 
    cd $ac_dir
1195
 
    # Check for guested configure; otherwise get Cygnus style configure.
1196
 
    if test -f $ac_srcdir/configure.gnu; then
1197
 
      echo
1198
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1199
 
    elif test -f $ac_srcdir/configure; then
1200
 
      echo
1201
 
      $SHELL $ac_srcdir/configure  --help=recursive
1202
 
    elif test -f $ac_srcdir/configure.ac ||
1203
 
           test -f $ac_srcdir/configure.in; then
1204
 
      echo
1205
 
      $ac_configure --help
 
1694
    ac_top_srcdir=$srcdir
 
1695
    ac_abs_top_srcdir=$srcdir ;;
 
1696
  *) # Relative name.
 
1697
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1698
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1699
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1700
esac
 
1701
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1702
 
 
1703
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1704
    # Check for guested configure.
 
1705
    if test -f "$ac_srcdir/configure.gnu"; then
 
1706
      echo &&
 
1707
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1708
    elif test -f "$ac_srcdir/configure"; then
 
1709
      echo &&
 
1710
      $SHELL "$ac_srcdir/configure" --help=recursive
1206
1711
    else
1207
1712
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1208
 
    fi
1209
 
    cd "$ac_popdir"
 
1713
    fi || ac_status=$?
 
1714
    cd "$ac_pwd" || { ac_status=$?; break; }
1210
1715
  done
1211
1716
fi
1212
1717
 
1213
 
test -n "$ac_init_help" && exit 0
 
1718
test -n "$ac_init_help" && exit $ac_status
1214
1719
if $ac_init_version; then
1215
1720
  cat <<\_ACEOF
1216
 
Liberty Alliance Single Sign On configure 0.6.5
1217
 
generated by GNU Autoconf 2.59
 
1721
Liberty Alliance Single Sign On configure 2.0.0
 
1722
generated by GNU Autoconf 2.61
1218
1723
 
1219
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1724
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1725
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1220
1726
This configure script is free software; the Free Software Foundation
1221
1727
gives unlimited permission to copy, distribute and modify it.
1222
1728
_ACEOF
1223
 
  exit 0
 
1729
  exit
1224
1730
fi
1225
 
exec 5>config.log
1226
 
cat >&5 <<_ACEOF
 
1731
cat >config.log <<_ACEOF
1227
1732
This file contains any messages produced by compilers while
1228
1733
running configure, to aid debugging if configure makes a mistake.
1229
1734
 
1230
 
It was created by Liberty Alliance Single Sign On $as_me 0.6.5, which was
1231
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1735
It was created by Liberty Alliance Single Sign On $as_me 2.0.0, which was
 
1736
generated by GNU Autoconf 2.61.  Invocation command line was
1232
1737
 
1233
1738
  $ $0 $@
1234
1739
 
1235
1740
_ACEOF
 
1741
exec 5>>config.log
1236
1742
{
1237
1743
cat <<_ASUNAME
1238
1744
## --------- ##
1251
1757
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1252
1758
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1253
1759
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1254
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1760
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1255
1761
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1256
1762
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1257
1763
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1265
1771
  test -z "$as_dir" && as_dir=.
1266
1772
  echo "PATH: $as_dir"
1267
1773
done
 
1774
IFS=$as_save_IFS
1268
1775
 
1269
1776
} >&5
1270
1777
 
1286
1793
ac_configure_args=
1287
1794
ac_configure_args0=
1288
1795
ac_configure_args1=
1289
 
ac_sep=
1290
1796
ac_must_keep_next=false
1291
1797
for ac_pass in 1 2
1292
1798
do
1297
1803
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1298
1804
    | -silent | --silent | --silen | --sile | --sil)
1299
1805
      continue ;;
1300
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1806
    *\'*)
1301
1807
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1302
1808
    esac
1303
1809
    case $ac_pass in
1319
1825
          -* ) ac_must_keep_next=true ;;
1320
1826
        esac
1321
1827
      fi
1322
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1323
 
      # Get rid of the leading space.
1324
 
      ac_sep=" "
 
1828
      ac_configure_args="$ac_configure_args '$ac_arg'"
1325
1829
      ;;
1326
1830
    esac
1327
1831
  done
1332
1836
# When interrupted or exit'd, cleanup temporary files, and complete
1333
1837
# config.log.  We remove comments because anyway the quotes in there
1334
1838
# would cause problems or look ugly.
1335
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1336
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1839
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1840
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1337
1841
trap 'exit_status=$?
1338
1842
  # Save into config.log some information that might help in debugging.
1339
1843
  {
1346
1850
_ASBOX
1347
1851
    echo
1348
1852
    # The following way of writing the cache mishandles newlines in values,
1349
 
{
 
1853
(
 
1854
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1855
    eval ac_val=\$$ac_var
 
1856
    case $ac_val in #(
 
1857
    *${as_nl}*)
 
1858
      case $ac_var in #(
 
1859
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1860
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1861
      esac
 
1862
      case $ac_var in #(
 
1863
      _ | IFS | as_nl) ;; #(
 
1864
      *) $as_unset $ac_var ;;
 
1865
      esac ;;
 
1866
    esac
 
1867
  done
1350
1868
  (set) 2>&1 |
1351
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1352
 
    *ac_space=\ *)
 
1869
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1870
    *${as_nl}ac_space=\ *)
1353
1871
      sed -n \
1354
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1355
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1356
 
      ;;
 
1872
        "s/'\''/'\''\\\\'\'''\''/g;
 
1873
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1874
      ;; #(
1357
1875
    *)
1358
 
      sed -n \
1359
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1876
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1360
1877
      ;;
1361
 
    esac;
1362
 
}
 
1878
    esac |
 
1879
    sort
 
1880
)
1363
1881
    echo
1364
1882
 
1365
1883
    cat <<\_ASBOX
1370
1888
    echo
1371
1889
    for ac_var in $ac_subst_vars
1372
1890
    do
1373
 
      eval ac_val=$`echo $ac_var`
1374
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1891
      eval ac_val=\$$ac_var
 
1892
      case $ac_val in
 
1893
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1894
      esac
 
1895
      echo "$ac_var='\''$ac_val'\''"
1375
1896
    done | sort
1376
1897
    echo
1377
1898
 
1378
1899
    if test -n "$ac_subst_files"; then
1379
1900
      cat <<\_ASBOX
1380
 
## ------------- ##
1381
 
## Output files. ##
1382
 
## ------------- ##
 
1901
## ------------------- ##
 
1902
## File substitutions. ##
 
1903
## ------------------- ##
1383
1904
_ASBOX
1384
1905
      echo
1385
1906
      for ac_var in $ac_subst_files
1386
1907
      do
1387
 
        eval ac_val=$`echo $ac_var`
1388
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1908
        eval ac_val=\$$ac_var
 
1909
        case $ac_val in
 
1910
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1911
        esac
 
1912
        echo "$ac_var='\''$ac_val'\''"
1389
1913
      done | sort
1390
1914
      echo
1391
1915
    fi
1397
1921
## ----------- ##
1398
1922
_ASBOX
1399
1923
      echo
1400
 
      sed "/^$/d" confdefs.h | sort
 
1924
      cat confdefs.h
1401
1925
      echo
1402
1926
    fi
1403
1927
    test "$ac_signal" != 0 &&
1404
1928
      echo "$as_me: caught signal $ac_signal"
1405
1929
    echo "$as_me: exit $exit_status"
1406
1930
  } >&5
1407
 
  rm -f core *.core &&
1408
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1931
  rm -f core *.core core.conftest.* &&
 
1932
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1409
1933
    exit $exit_status
1410
 
     ' 0
 
1934
' 0
1411
1935
for ac_signal in 1 2 13 15; do
1412
1936
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1413
1937
done
1414
1938
ac_signal=0
1415
1939
 
1416
1940
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1417
 
rm -rf conftest* confdefs.h
1418
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1419
 
echo >confdefs.h
 
1941
rm -f -r conftest* confdefs.h
1420
1942
 
1421
1943
# Predefined preprocessor variables.
1422
1944
 
1447
1969
 
1448
1970
# Let the site file select an alternate cache file if it wants to.
1449
1971
# Prefer explicitly selected file to automatically selected ones.
1450
 
if test -z "$CONFIG_SITE"; then
1451
 
  if test "x$prefix" != xNONE; then
1452
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1453
 
  else
1454
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1455
 
  fi
 
1972
if test -n "$CONFIG_SITE"; then
 
1973
  set x "$CONFIG_SITE"
 
1974
elif test "x$prefix" != xNONE; then
 
1975
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1976
else
 
1977
  set x "$ac_default_prefix/share/config.site" \
 
1978
        "$ac_default_prefix/etc/config.site"
1456
1979
fi
1457
 
for ac_site_file in $CONFIG_SITE; do
 
1980
shift
 
1981
for ac_site_file
 
1982
do
1458
1983
  if test -r "$ac_site_file"; then
1459
1984
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1460
1985
echo "$as_me: loading site script $ac_site_file" >&6;}
1470
1995
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1471
1996
echo "$as_me: loading cache $cache_file" >&6;}
1472
1997
    case $cache_file in
1473
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1474
 
      *)                      . ./$cache_file;;
 
1998
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1999
      *)                      . "./$cache_file";;
1475
2000
    esac
1476
2001
  fi
1477
2002
else
1483
2008
# Check that the precious variables saved in the cache have kept the same
1484
2009
# value.
1485
2010
ac_cache_corrupted=false
1486
 
for ac_var in `(set) 2>&1 |
1487
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
2011
for ac_var in $ac_precious_vars; do
1488
2012
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1489
2013
  eval ac_new_set=\$ac_env_${ac_var}_set
1490
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1491
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
2014
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
2015
  eval ac_new_val=\$ac_env_${ac_var}_value
1492
2016
  case $ac_old_set,$ac_new_set in
1493
2017
    set,)
1494
2018
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1513
2037
  # Pass precious variables to config.status.
1514
2038
  if test "$ac_new_set" = set; then
1515
2039
    case $ac_new_val in
1516
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1517
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2040
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1518
2041
    *) ac_arg=$ac_var=$ac_new_val ;;
1519
2042
    esac
1520
2043
    case " $ac_configure_args " in
1531
2054
   { (exit 1); exit 1; }; }
1532
2055
fi
1533
2056
 
 
2057
 
 
2058
 
 
2059
 
 
2060
 
 
2061
 
 
2062
 
 
2063
 
 
2064
 
 
2065
 
 
2066
 
 
2067
 
 
2068
 
 
2069
 
 
2070
 
 
2071
 
 
2072
 
 
2073
 
 
2074
 
 
2075
 
 
2076
 
 
2077
 
 
2078
 
 
2079
 
 
2080
 
1534
2081
ac_ext=c
1535
2082
ac_cpp='$CPP $CPPFLAGS'
1536
2083
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1542
2089
 
1543
2090
 
1544
2091
 
1545
 
 
1546
 
 
1547
 
 
1548
 
 
1549
 
 
1550
 
 
1551
 
 
1552
 
 
1553
 
 
1554
 
 
1555
 
 
1556
 
 
1557
 
 
1558
 
 
1559
 
 
1560
 
 
1561
 
 
1562
 
 
1563
 
 
1564
 
 
1565
 
 
1566
 
 
1567
 
 
1568
 
 
1569
 
 
1570
 
am__api_version="1.8"
 
2092
am__api_version="1.9"
1571
2093
ac_aux_dir=
1572
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1573
 
  if test -f $ac_dir/install-sh; then
 
2094
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2095
  if test -f "$ac_dir/install-sh"; then
1574
2096
    ac_aux_dir=$ac_dir
1575
2097
    ac_install_sh="$ac_aux_dir/install-sh -c"
1576
2098
    break
1577
 
  elif test -f $ac_dir/install.sh; then
 
2099
  elif test -f "$ac_dir/install.sh"; then
1578
2100
    ac_aux_dir=$ac_dir
1579
2101
    ac_install_sh="$ac_aux_dir/install.sh -c"
1580
2102
    break
1581
 
  elif test -f $ac_dir/shtool; then
 
2103
  elif test -f "$ac_dir/shtool"; then
1582
2104
    ac_aux_dir=$ac_dir
1583
2105
    ac_install_sh="$ac_aux_dir/shtool install -c"
1584
2106
    break
1585
2107
  fi
1586
2108
done
1587
2109
if test -z "$ac_aux_dir"; then
1588
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1589
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
2110
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
2111
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1590
2112
   { (exit 1); exit 1; }; }
1591
2113
fi
1592
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1593
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1594
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
2114
 
 
2115
# These three variables are undocumented and unsupported,
 
2116
# and are intended to be withdrawn in a future Autoconf release.
 
2117
# They can cause serious problems if a builder's source tree is in a directory
 
2118
# whose full name contains unusual characters.
 
2119
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2120
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2121
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2122
 
1595
2123
 
1596
2124
# Find a good install program.  We prefer a C program (faster),
1597
2125
# so one script is as good as another.  But avoid the broken or
1606
2134
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1607
2135
# OS/2's system install, which has a completely different semantic
1608
2136
# ./install, which can be erroneously created by make from ./install.sh.
1609
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1610
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
2137
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2138
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1611
2139
if test -z "$INSTALL"; then
1612
2140
if test "${ac_cv_path_install+set}" = set; then
1613
2141
  echo $ECHO_N "(cached) $ECHO_C" >&6
1629
2157
    # by default.
1630
2158
    for ac_prog in ginstall scoinst install; do
1631
2159
      for ac_exec_ext in '' $ac_executable_extensions; do
1632
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2160
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1633
2161
          if test $ac_prog = install &&
1634
2162
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1635
2163
            # AIX install.  It has an incompatible calling convention.
1648
2176
    ;;
1649
2177
esac
1650
2178
done
 
2179
IFS=$as_save_IFS
1651
2180
 
1652
2181
 
1653
2182
fi
1654
2183
  if test "${ac_cv_path_install+set}" = set; then
1655
2184
    INSTALL=$ac_cv_path_install
1656
2185
  else
1657
 
    # As a last resort, use the slow shell script.  We don't cache a
1658
 
    # path for INSTALL within a source directory, because that will
 
2186
    # As a last resort, use the slow shell script.  Don't cache a
 
2187
    # value for INSTALL within a source directory, because that will
1659
2188
    # break other packages using the cache if that directory is
1660
 
    # removed, or if the path is relative.
 
2189
    # removed, or if the value is a relative name.
1661
2190
    INSTALL=$ac_install_sh
1662
2191
  fi
1663
2192
fi
1664
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1665
 
echo "${ECHO_T}$INSTALL" >&6
 
2193
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2194
echo "${ECHO_T}$INSTALL" >&6; }
1666
2195
 
1667
2196
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1668
2197
# It thinks the first close brace ends the variable substitution.
1672
2201
 
1673
2202
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1674
2203
 
1675
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1676
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
2204
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2205
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1677
2206
# Just in case
1678
2207
sleep 1
1679
2208
echo timestamp > conftest.file
1715
2244
Check your system clock" >&2;}
1716
2245
   { (exit 1); exit 1; }; }
1717
2246
fi
1718
 
echo "$as_me:$LINENO: result: yes" >&5
1719
 
echo "${ECHO_T}yes" >&6
 
2247
{ echo "$as_me:$LINENO: result: yes" >&5
 
2248
echo "${ECHO_T}yes" >&6; }
1720
2249
test "$program_prefix" != NONE &&
1721
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
2250
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1722
2251
# Use a double $ so make ignores it.
1723
2252
test "$program_suffix" != NONE &&
1724
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
2253
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1725
2254
# Double any \ or $.  echo might interpret backslashes.
1726
2255
# By default was `s,x,x', remove it if useless.
1727
2256
cat <<\_ACEOF >conftest.sed
1728
2257
s/[\\$]/&&/g;s/;s,x,x,$//
1729
2258
_ACEOF
1730
2259
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1731
 
rm conftest.sed
 
2260
rm -f conftest.sed
1732
2261
 
1733
2262
# expand $ac_aux_dir to an absolute path
1734
2263
am_aux_dir=`cd $ac_aux_dir && pwd`
1744
2273
fi
1745
2274
 
1746
2275
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1747
 
  # Keeping the `.' argument allows $(mkdir_p) to be used without
1748
 
  # argument.  Indeed, we sometimes output rules like
 
2276
  # We used to keeping the `.' as first argument, in order to
 
2277
  # allow $(mkdir_p) to be used without argument.  As in
1749
2278
  #   $(mkdir_p) $(somedir)
1750
 
  # where $(somedir) is conditionally defined.
1751
 
  # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1752
 
  # expensive solution, as it forces Make to start a sub-shell.)
1753
 
  mkdir_p='mkdir -p -- .'
 
2279
  # where $(somedir) is conditionally defined.  However this is wrong
 
2280
  # for two reasons:
 
2281
  #  1. if the package is installed by a user who cannot write `.'
 
2282
  #     make install will fail,
 
2283
  #  2. the above comment should most certainly read
 
2284
  #     $(mkdir_p) $(DESTDIR)$(somedir)
 
2285
  #     so it does not work when $(somedir) is undefined and
 
2286
  #     $(DESTDIR) is not.
 
2287
  #  To support the latter case, we have to write
 
2288
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
 
2289
  #  so the `.' trick is pointless.
 
2290
  mkdir_p='mkdir -p --'
1754
2291
else
1755
2292
  # On NextStep and OpenStep, the `mkdir' command does not
1756
2293
  # recognize any option.  It will interpret all options as
1772
2309
do
1773
2310
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1774
2311
set dummy $ac_prog; ac_word=$2
1775
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1776
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2312
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2313
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1777
2314
if test "${ac_cv_prog_AWK+set}" = set; then
1778
2315
  echo $ECHO_N "(cached) $ECHO_C" >&6
1779
2316
else
1786
2323
  IFS=$as_save_IFS
1787
2324
  test -z "$as_dir" && as_dir=.
1788
2325
  for ac_exec_ext in '' $ac_executable_extensions; do
1789
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2326
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1790
2327
    ac_cv_prog_AWK="$ac_prog"
1791
2328
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1792
2329
    break 2
1793
2330
  fi
1794
2331
done
1795
2332
done
 
2333
IFS=$as_save_IFS
1796
2334
 
1797
2335
fi
1798
2336
fi
1799
2337
AWK=$ac_cv_prog_AWK
1800
2338
if test -n "$AWK"; then
1801
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1802
 
echo "${ECHO_T}$AWK" >&6
 
2339
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
2340
echo "${ECHO_T}$AWK" >&6; }
1803
2341
else
1804
 
  echo "$as_me:$LINENO: result: no" >&5
1805
 
echo "${ECHO_T}no" >&6
 
2342
  { echo "$as_me:$LINENO: result: no" >&5
 
2343
echo "${ECHO_T}no" >&6; }
1806
2344
fi
1807
2345
 
 
2346
 
1808
2347
  test -n "$AWK" && break
1809
2348
done
1810
2349
 
1811
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1812
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1813
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1814
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
2350
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2351
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
2352
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2353
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1815
2354
  echo $ECHO_N "(cached) $ECHO_C" >&6
1816
2355
else
1817
2356
  cat >conftest.make <<\_ACEOF
 
2357
SHELL = /bin/sh
1818
2358
all:
1819
 
        @echo 'ac_maketemp="$(MAKE)"'
 
2359
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1820
2360
_ACEOF
1821
2361
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1822
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1823
 
if test -n "$ac_maketemp"; then
1824
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1825
 
else
1826
 
  eval ac_cv_prog_make_${ac_make}_set=no
1827
 
fi
 
2362
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2363
  *@@@%%%=?*=@@@%%%*)
 
2364
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2365
  *)
 
2366
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2367
esac
1828
2368
rm -f conftest.make
1829
2369
fi
1830
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1831
 
  echo "$as_me:$LINENO: result: yes" >&5
1832
 
echo "${ECHO_T}yes" >&6
 
2370
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2371
  { echo "$as_me:$LINENO: result: yes" >&5
 
2372
echo "${ECHO_T}yes" >&6; }
1833
2373
  SET_MAKE=
1834
2374
else
1835
 
  echo "$as_me:$LINENO: result: no" >&5
1836
 
echo "${ECHO_T}no" >&6
 
2375
  { echo "$as_me:$LINENO: result: no" >&5
 
2376
echo "${ECHO_T}no" >&6; }
1837
2377
  SET_MAKE="MAKE=${MAKE-make}"
1838
2378
fi
1839
2379
 
1866
2406
 
1867
2407
# Define the identity of the package.
1868
2408
 PACKAGE=lasso
1869
 
 VERSION=0.6.5
 
2409
 VERSION=2.0.0
1870
2410
 
1871
2411
 
1872
2412
cat >>confdefs.h <<_ACEOF
1894
2434
 
1895
2435
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1896
2436
 
1897
 
 
1898
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
1899
 
 
1900
2437
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1901
2438
 
1902
2439
# Installed binaries are usually stripped using `strip' when the user
1907
2444
  if test -n "$ac_tool_prefix"; then
1908
2445
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1909
2446
set dummy ${ac_tool_prefix}strip; ac_word=$2
1910
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1911
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2447
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2448
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1912
2449
if test "${ac_cv_prog_STRIP+set}" = set; then
1913
2450
  echo $ECHO_N "(cached) $ECHO_C" >&6
1914
2451
else
1921
2458
  IFS=$as_save_IFS
1922
2459
  test -z "$as_dir" && as_dir=.
1923
2460
  for ac_exec_ext in '' $ac_executable_extensions; do
1924
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2461
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1925
2462
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1926
2463
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1927
2464
    break 2
1928
2465
  fi
1929
2466
done
1930
2467
done
 
2468
IFS=$as_save_IFS
1931
2469
 
1932
2470
fi
1933
2471
fi
1934
2472
STRIP=$ac_cv_prog_STRIP
1935
2473
if test -n "$STRIP"; then
1936
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1937
 
echo "${ECHO_T}$STRIP" >&6
 
2474
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
2475
echo "${ECHO_T}$STRIP" >&6; }
1938
2476
else
1939
 
  echo "$as_me:$LINENO: result: no" >&5
1940
 
echo "${ECHO_T}no" >&6
 
2477
  { echo "$as_me:$LINENO: result: no" >&5
 
2478
echo "${ECHO_T}no" >&6; }
1941
2479
fi
 
2480
 
1942
2481
 
1943
2482
fi
1944
2483
if test -z "$ac_cv_prog_STRIP"; then
1945
2484
  ac_ct_STRIP=$STRIP
1946
2485
  # Extract the first word of "strip", so it can be a program name with args.
1947
2486
set dummy strip; ac_word=$2
1948
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1949
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2487
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2488
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1950
2489
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1951
2490
  echo $ECHO_N "(cached) $ECHO_C" >&6
1952
2491
else
1959
2498
  IFS=$as_save_IFS
1960
2499
  test -z "$as_dir" && as_dir=.
1961
2500
  for ac_exec_ext in '' $ac_executable_extensions; do
1962
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2501
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1963
2502
    ac_cv_prog_ac_ct_STRIP="strip"
1964
2503
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1965
2504
    break 2
1966
2505
  fi
1967
2506
done
1968
2507
done
 
2508
IFS=$as_save_IFS
1969
2509
 
1970
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1971
2510
fi
1972
2511
fi
1973
2512
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1974
2513
if test -n "$ac_ct_STRIP"; then
1975
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1976
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
2514
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2515
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
1977
2516
else
1978
 
  echo "$as_me:$LINENO: result: no" >&5
1979
 
echo "${ECHO_T}no" >&6
 
2517
  { echo "$as_me:$LINENO: result: no" >&5
 
2518
echo "${ECHO_T}no" >&6; }
1980
2519
fi
1981
2520
 
1982
 
  STRIP=$ac_ct_STRIP
 
2521
  if test "x$ac_ct_STRIP" = x; then
 
2522
    STRIP=":"
 
2523
  else
 
2524
    case $cross_compiling:$ac_tool_warned in
 
2525
yes:)
 
2526
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2527
whose name does not start with the host triplet.  If you think this
 
2528
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2529
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2530
whose name does not start with the host triplet.  If you think this
 
2531
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2532
ac_tool_warned=yes ;;
 
2533
esac
 
2534
    STRIP=$ac_ct_STRIP
 
2535
  fi
1983
2536
else
1984
2537
  STRIP="$ac_cv_prog_STRIP"
1985
2538
fi
1989
2542
 
1990
2543
# We need awk for the "check" target.  The system "awk" is bad on
1991
2544
# some platforms.
1992
 
 
1993
 
 
1994
 
 
1995
 
          ac_config_headers="$ac_config_headers lasso/lasso_config.h"
1996
 
 
1997
 
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1998
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1999
 
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
 
2545
# Always define AMTAR for backward compatibility.
 
2546
 
 
2547
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
2548
 
 
2549
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
2550
 
 
2551
 
 
2552
 
 
2553
 
 
2554
 
 
2555
ac_config_headers="$ac_config_headers lasso/lasso_config.h"
 
2556
 
 
2557
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2558
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
 
2559
    # Check whether --enable-maintainer-mode was given.
2000
2560
if test "${enable_maintainer_mode+set}" = set; then
2001
 
  enableval="$enable_maintainer_mode"
2002
 
  USE_MAINTAINER_MODE=$enableval
 
2561
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2003
2562
else
2004
2563
  USE_MAINTAINER_MODE=no
2005
 
fi;
2006
 
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2007
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
 
2564
fi
 
2565
 
 
2566
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2567
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2008
2568
 
2009
2569
 
2010
2570
if test $USE_MAINTAINER_MODE = yes; then
2020
2580
 
2021
2581
 
2022
2582
# Make sure we can run config.sub.
2023
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
2024
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2025
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
2583
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
2584
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
2585
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2026
2586
   { (exit 1); exit 1; }; }
2027
2587
 
2028
 
echo "$as_me:$LINENO: checking build system type" >&5
2029
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
2588
{ echo "$as_me:$LINENO: checking build system type" >&5
 
2589
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2030
2590
if test "${ac_cv_build+set}" = set; then
2031
2591
  echo $ECHO_N "(cached) $ECHO_C" >&6
2032
2592
else
2033
 
  ac_cv_build_alias=$build_alias
2034
 
test -z "$ac_cv_build_alias" &&
2035
 
  ac_cv_build_alias=`$ac_config_guess`
2036
 
test -z "$ac_cv_build_alias" &&
 
2593
  ac_build_alias=$build_alias
 
2594
test "x$ac_build_alias" = x &&
 
2595
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
2596
test "x$ac_build_alias" = x &&
2037
2597
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2038
2598
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2039
2599
   { (exit 1); exit 1; }; }
2040
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2041
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2042
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
2600
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
2601
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
2602
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2043
2603
   { (exit 1); exit 1; }; }
2044
2604
 
2045
2605
fi
2046
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2047
 
echo "${ECHO_T}$ac_cv_build" >&6
 
2606
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
2607
echo "${ECHO_T}$ac_cv_build" >&6; }
 
2608
case $ac_cv_build in
 
2609
*-*-*) ;;
 
2610
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
2611
echo "$as_me: error: invalid value of canonical build" >&2;}
 
2612
   { (exit 1); exit 1; }; };;
 
2613
esac
2048
2614
build=$ac_cv_build
2049
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2050
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2051
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2052
 
 
2053
 
 
2054
 
echo "$as_me:$LINENO: checking host system type" >&5
2055
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
2615
ac_save_IFS=$IFS; IFS='-'
 
2616
set x $ac_cv_build
 
2617
shift
 
2618
build_cpu=$1
 
2619
build_vendor=$2
 
2620
shift; shift
 
2621
# Remember, the first character of IFS is used to create $*,
 
2622
# except with old shells:
 
2623
build_os=$*
 
2624
IFS=$ac_save_IFS
 
2625
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
2626
 
 
2627
 
 
2628
{ echo "$as_me:$LINENO: checking host system type" >&5
 
2629
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2056
2630
if test "${ac_cv_host+set}" = set; then
2057
2631
  echo $ECHO_N "(cached) $ECHO_C" >&6
2058
2632
else
2059
 
  ac_cv_host_alias=$host_alias
2060
 
test -z "$ac_cv_host_alias" &&
2061
 
  ac_cv_host_alias=$ac_cv_build_alias
2062
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2063
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2064
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
2633
  if test "x$host_alias" = x; then
 
2634
  ac_cv_host=$ac_cv_build
 
2635
else
 
2636
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
2637
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
2638
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2065
2639
   { (exit 1); exit 1; }; }
 
2640
fi
2066
2641
 
2067
2642
fi
2068
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2069
 
echo "${ECHO_T}$ac_cv_host" >&6
 
2643
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
2644
echo "${ECHO_T}$ac_cv_host" >&6; }
 
2645
case $ac_cv_host in
 
2646
*-*-*) ;;
 
2647
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
2648
echo "$as_me: error: invalid value of canonical host" >&2;}
 
2649
   { (exit 1); exit 1; }; };;
 
2650
esac
2070
2651
host=$ac_cv_host
2071
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2072
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2073
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
2652
ac_save_IFS=$IFS; IFS='-'
 
2653
set x $ac_cv_host
 
2654
shift
 
2655
host_cpu=$1
 
2656
host_vendor=$2
 
2657
shift; shift
 
2658
# Remember, the first character of IFS is used to create $*,
 
2659
# except with old shells:
 
2660
host_os=$*
 
2661
IFS=$ac_save_IFS
 
2662
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2074
2663
 
2075
2664
 
2076
2665
NULL=
2124
2713
if test -n "$ac_tool_prefix"; then
2125
2714
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2126
2715
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2127
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2128
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2716
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2717
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2129
2718
if test "${ac_cv_prog_CC+set}" = set; then
2130
2719
  echo $ECHO_N "(cached) $ECHO_C" >&6
2131
2720
else
2138
2727
  IFS=$as_save_IFS
2139
2728
  test -z "$as_dir" && as_dir=.
2140
2729
  for ac_exec_ext in '' $ac_executable_extensions; do
2141
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2730
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2142
2731
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2143
2732
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2144
2733
    break 2
2145
2734
  fi
2146
2735
done
2147
2736
done
 
2737
IFS=$as_save_IFS
2148
2738
 
2149
2739
fi
2150
2740
fi
2151
2741
CC=$ac_cv_prog_CC
2152
2742
if test -n "$CC"; then
2153
 
  echo "$as_me:$LINENO: result: $CC" >&5
2154
 
echo "${ECHO_T}$CC" >&6
 
2743
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2744
echo "${ECHO_T}$CC" >&6; }
2155
2745
else
2156
 
  echo "$as_me:$LINENO: result: no" >&5
2157
 
echo "${ECHO_T}no" >&6
 
2746
  { echo "$as_me:$LINENO: result: no" >&5
 
2747
echo "${ECHO_T}no" >&6; }
2158
2748
fi
 
2749
 
2159
2750
 
2160
2751
fi
2161
2752
if test -z "$ac_cv_prog_CC"; then
2162
2753
  ac_ct_CC=$CC
2163
2754
  # Extract the first word of "gcc", so it can be a program name with args.
2164
2755
set dummy gcc; ac_word=$2
2165
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2166
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2756
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2757
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2167
2758
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2168
2759
  echo $ECHO_N "(cached) $ECHO_C" >&6
2169
2760
else
2176
2767
  IFS=$as_save_IFS
2177
2768
  test -z "$as_dir" && as_dir=.
2178
2769
  for ac_exec_ext in '' $ac_executable_extensions; do
2179
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2770
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2180
2771
    ac_cv_prog_ac_ct_CC="gcc"
2181
2772
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2182
2773
    break 2
2183
2774
  fi
2184
2775
done
2185
2776
done
 
2777
IFS=$as_save_IFS
2186
2778
 
2187
2779
fi
2188
2780
fi
2189
2781
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2190
2782
if test -n "$ac_ct_CC"; then
2191
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2192
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2783
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2784
echo "${ECHO_T}$ac_ct_CC" >&6; }
2193
2785
else
2194
 
  echo "$as_me:$LINENO: result: no" >&5
2195
 
echo "${ECHO_T}no" >&6
 
2786
  { echo "$as_me:$LINENO: result: no" >&5
 
2787
echo "${ECHO_T}no" >&6; }
2196
2788
fi
2197
2789
 
2198
 
  CC=$ac_ct_CC
 
2790
  if test "x$ac_ct_CC" = x; then
 
2791
    CC=""
 
2792
  else
 
2793
    case $cross_compiling:$ac_tool_warned in
 
2794
yes:)
 
2795
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2796
whose name does not start with the host triplet.  If you think this
 
2797
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2798
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2799
whose name does not start with the host triplet.  If you think this
 
2800
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2801
ac_tool_warned=yes ;;
 
2802
esac
 
2803
    CC=$ac_ct_CC
 
2804
  fi
2199
2805
else
2200
2806
  CC="$ac_cv_prog_CC"
2201
2807
fi
2202
2808
 
2203
2809
if test -z "$CC"; then
2204
 
  if test -n "$ac_tool_prefix"; then
2205
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2810
          if test -n "$ac_tool_prefix"; then
 
2811
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2206
2812
set dummy ${ac_tool_prefix}cc; ac_word=$2
2207
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2208
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2813
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2814
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2209
2815
if test "${ac_cv_prog_CC+set}" = set; then
2210
2816
  echo $ECHO_N "(cached) $ECHO_C" >&6
2211
2817
else
2218
2824
  IFS=$as_save_IFS
2219
2825
  test -z "$as_dir" && as_dir=.
2220
2826
  for ac_exec_ext in '' $ac_executable_extensions; do
2221
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2827
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2222
2828
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2223
2829
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2224
2830
    break 2
2225
2831
  fi
2226
2832
done
2227
2833
done
 
2834
IFS=$as_save_IFS
2228
2835
 
2229
2836
fi
2230
2837
fi
2231
2838
CC=$ac_cv_prog_CC
2232
2839
if test -n "$CC"; then
2233
 
  echo "$as_me:$LINENO: result: $CC" >&5
2234
 
echo "${ECHO_T}$CC" >&6
2235
 
else
2236
 
  echo "$as_me:$LINENO: result: no" >&5
2237
 
echo "${ECHO_T}no" >&6
2238
 
fi
2239
 
 
2240
 
fi
2241
 
if test -z "$ac_cv_prog_CC"; then
2242
 
  ac_ct_CC=$CC
2243
 
  # Extract the first word of "cc", so it can be a program name with args.
2244
 
set dummy cc; ac_word=$2
2245
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2246
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2247
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2248
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2249
 
else
2250
 
  if test -n "$ac_ct_CC"; then
2251
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2252
 
else
2253
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2254
 
for as_dir in $PATH
2255
 
do
2256
 
  IFS=$as_save_IFS
2257
 
  test -z "$as_dir" && as_dir=.
2258
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2259
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2260
 
    ac_cv_prog_ac_ct_CC="cc"
2261
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2262
 
    break 2
 
2840
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2841
echo "${ECHO_T}$CC" >&6; }
 
2842
else
 
2843
  { echo "$as_me:$LINENO: result: no" >&5
 
2844
echo "${ECHO_T}no" >&6; }
 
2845
fi
 
2846
 
 
2847
 
2263
2848
  fi
2264
 
done
2265
 
done
2266
 
 
2267
 
fi
2268
 
fi
2269
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2270
 
if test -n "$ac_ct_CC"; then
2271
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2272
 
echo "${ECHO_T}$ac_ct_CC" >&6
2273
 
else
2274
 
  echo "$as_me:$LINENO: result: no" >&5
2275
 
echo "${ECHO_T}no" >&6
2276
 
fi
2277
 
 
2278
 
  CC=$ac_ct_CC
2279
 
else
2280
 
  CC="$ac_cv_prog_CC"
2281
 
fi
2282
 
 
2283
2849
fi
2284
2850
if test -z "$CC"; then
2285
2851
  # Extract the first word of "cc", so it can be a program name with args.
2286
2852
set dummy cc; ac_word=$2
2287
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2288
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2853
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2854
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2289
2855
if test "${ac_cv_prog_CC+set}" = set; then
2290
2856
  echo $ECHO_N "(cached) $ECHO_C" >&6
2291
2857
else
2299
2865
  IFS=$as_save_IFS
2300
2866
  test -z "$as_dir" && as_dir=.
2301
2867
  for ac_exec_ext in '' $ac_executable_extensions; do
2302
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2868
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2303
2869
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2304
2870
       ac_prog_rejected=yes
2305
2871
       continue
2310
2876
  fi
2311
2877
done
2312
2878
done
 
2879
IFS=$as_save_IFS
2313
2880
 
2314
2881
if test $ac_prog_rejected = yes; then
2315
2882
  # We found a bogon in the path, so make sure we never use it.
2327
2894
fi
2328
2895
CC=$ac_cv_prog_CC
2329
2896
if test -n "$CC"; then
2330
 
  echo "$as_me:$LINENO: result: $CC" >&5
2331
 
echo "${ECHO_T}$CC" >&6
 
2897
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2898
echo "${ECHO_T}$CC" >&6; }
2332
2899
else
2333
 
  echo "$as_me:$LINENO: result: no" >&5
2334
 
echo "${ECHO_T}no" >&6
 
2900
  { echo "$as_me:$LINENO: result: no" >&5
 
2901
echo "${ECHO_T}no" >&6; }
2335
2902
fi
 
2903
 
2336
2904
 
2337
2905
fi
2338
2906
if test -z "$CC"; then
2339
2907
  if test -n "$ac_tool_prefix"; then
2340
 
  for ac_prog in cl
 
2908
  for ac_prog in cl.exe
2341
2909
  do
2342
2910
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2343
2911
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2344
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2345
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2912
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2913
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2346
2914
if test "${ac_cv_prog_CC+set}" = set; then
2347
2915
  echo $ECHO_N "(cached) $ECHO_C" >&6
2348
2916
else
2355
2923
  IFS=$as_save_IFS
2356
2924
  test -z "$as_dir" && as_dir=.
2357
2925
  for ac_exec_ext in '' $ac_executable_extensions; do
2358
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2926
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2359
2927
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2360
2928
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2361
2929
    break 2
2362
2930
  fi
2363
2931
done
2364
2932
done
 
2933
IFS=$as_save_IFS
2365
2934
 
2366
2935
fi
2367
2936
fi
2368
2937
CC=$ac_cv_prog_CC
2369
2938
if test -n "$CC"; then
2370
 
  echo "$as_me:$LINENO: result: $CC" >&5
2371
 
echo "${ECHO_T}$CC" >&6
 
2939
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2940
echo "${ECHO_T}$CC" >&6; }
2372
2941
else
2373
 
  echo "$as_me:$LINENO: result: no" >&5
2374
 
echo "${ECHO_T}no" >&6
 
2942
  { echo "$as_me:$LINENO: result: no" >&5
 
2943
echo "${ECHO_T}no" >&6; }
2375
2944
fi
2376
2945
 
 
2946
 
2377
2947
    test -n "$CC" && break
2378
2948
  done
2379
2949
fi
2380
2950
if test -z "$CC"; then
2381
2951
  ac_ct_CC=$CC
2382
 
  for ac_prog in cl
 
2952
  for ac_prog in cl.exe
2383
2953
do
2384
2954
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2385
2955
set dummy $ac_prog; ac_word=$2
2386
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2387
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2956
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2957
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2388
2958
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2389
2959
  echo $ECHO_N "(cached) $ECHO_C" >&6
2390
2960
else
2397
2967
  IFS=$as_save_IFS
2398
2968
  test -z "$as_dir" && as_dir=.
2399
2969
  for ac_exec_ext in '' $ac_executable_extensions; do
2400
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2970
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2401
2971
    ac_cv_prog_ac_ct_CC="$ac_prog"
2402
2972
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2403
2973
    break 2
2404
2974
  fi
2405
2975
done
2406
2976
done
 
2977
IFS=$as_save_IFS
2407
2978
 
2408
2979
fi
2409
2980
fi
2410
2981
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2411
2982
if test -n "$ac_ct_CC"; then
2412
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2413
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2983
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2984
echo "${ECHO_T}$ac_ct_CC" >&6; }
2414
2985
else
2415
 
  echo "$as_me:$LINENO: result: no" >&5
2416
 
echo "${ECHO_T}no" >&6
 
2986
  { echo "$as_me:$LINENO: result: no" >&5
 
2987
echo "${ECHO_T}no" >&6; }
2417
2988
fi
2418
2989
 
 
2990
 
2419
2991
  test -n "$ac_ct_CC" && break
2420
2992
done
2421
2993
 
2422
 
  CC=$ac_ct_CC
 
2994
  if test "x$ac_ct_CC" = x; then
 
2995
    CC=""
 
2996
  else
 
2997
    case $cross_compiling:$ac_tool_warned in
 
2998
yes:)
 
2999
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
3000
whose name does not start with the host triplet.  If you think this
 
3001
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
3002
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
3003
whose name does not start with the host triplet.  If you think this
 
3004
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3005
ac_tool_warned=yes ;;
 
3006
esac
 
3007
    CC=$ac_ct_CC
 
3008
  fi
2423
3009
fi
2424
3010
 
2425
3011
fi
2432
3018
   { (exit 1); exit 1; }; }
2433
3019
 
2434
3020
# Provide some information about the compiler.
2435
 
echo "$as_me:$LINENO:" \
2436
 
     "checking for C compiler version" >&5
 
3021
echo "$as_me:$LINENO: checking for C compiler version" >&5
2437
3022
ac_compiler=`set X $ac_compile; echo $2`
2438
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2439
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2440
 
  ac_status=$?
2441
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2442
 
  (exit $ac_status); }
2443
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2444
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2445
 
  ac_status=$?
2446
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2447
 
  (exit $ac_status); }
2448
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2449
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
3023
{ (ac_try="$ac_compiler --version >&5"
 
3024
case "(($ac_try" in
 
3025
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3026
  *) ac_try_echo=$ac_try;;
 
3027
esac
 
3028
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3029
  (eval "$ac_compiler --version >&5") 2>&5
 
3030
  ac_status=$?
 
3031
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3032
  (exit $ac_status); }
 
3033
{ (ac_try="$ac_compiler -v >&5"
 
3034
case "(($ac_try" in
 
3035
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3036
  *) ac_try_echo=$ac_try;;
 
3037
esac
 
3038
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3039
  (eval "$ac_compiler -v >&5") 2>&5
 
3040
  ac_status=$?
 
3041
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3042
  (exit $ac_status); }
 
3043
{ (ac_try="$ac_compiler -V >&5"
 
3044
case "(($ac_try" in
 
3045
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3046
  *) ac_try_echo=$ac_try;;
 
3047
esac
 
3048
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3049
  (eval "$ac_compiler -V >&5") 2>&5
2450
3050
  ac_status=$?
2451
3051
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2452
3052
  (exit $ac_status); }
2471
3071
# Try to create an executable without -o first, disregard a.out.
2472
3072
# It will help us diagnose broken compilers, and finding out an intuition
2473
3073
# of exeext.
2474
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2475
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
3074
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
3075
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2476
3076
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2477
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2478
 
  (eval $ac_link_default) 2>&5
 
3077
#
 
3078
# List of possible output files, starting from the most likely.
 
3079
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
3080
# only as a last resort.  b.out is created by i960 compilers.
 
3081
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
3082
#
 
3083
# The IRIX 6 linker writes into existing files which may not be
 
3084
# executable, retaining their permissions.  Remove them first so a
 
3085
# subsequent execution test works.
 
3086
ac_rmfiles=
 
3087
for ac_file in $ac_files
 
3088
do
 
3089
  case $ac_file in
 
3090
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3091
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3092
  esac
 
3093
done
 
3094
rm -f $ac_rmfiles
 
3095
 
 
3096
if { (ac_try="$ac_link_default"
 
3097
case "(($ac_try" in
 
3098
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3099
  *) ac_try_echo=$ac_try;;
 
3100
esac
 
3101
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3102
  (eval "$ac_link_default") 2>&5
2479
3103
  ac_status=$?
2480
3104
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2481
3105
  (exit $ac_status); }; then
2482
 
  # Find the output, starting from the most likely.  This scheme is
2483
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2484
 
# resort.
2485
 
 
2486
 
# Be careful to initialize this variable, since it used to be cached.
2487
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2488
 
ac_cv_exeext=
2489
 
# b.out is created by i960 compilers.
2490
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
3106
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3107
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3108
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3109
# so that the user can short-circuit this test for compilers unknown to
 
3110
# Autoconf.
 
3111
for ac_file in $ac_files ''
2491
3112
do
2492
3113
  test -f "$ac_file" || continue
2493
3114
  case $ac_file in
2494
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2495
 
        ;;
2496
 
    conftest.$ac_ext )
2497
 
        # This is the source file.
 
3115
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2498
3116
        ;;
2499
3117
    [ab].out )
2500
3118
        # We found the default executable, but exeext='' is most
2501
3119
        # certainly right.
2502
3120
        break;;
2503
3121
    *.* )
2504
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2505
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2506
 
        # but it would be cool to find out if it's true.  Does anybody
2507
 
        # maintain Libtool? --akim.
2508
 
        export ac_cv_exeext
 
3122
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3123
        then :; else
 
3124
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3125
        fi
 
3126
        # We set ac_cv_exeext here because the later test for it is not
 
3127
        # safe: cross compilers may not add the suffix if given an `-o'
 
3128
        # argument, so we may need to know it at that point already.
 
3129
        # Even if this section looks crufty: it has the advantage of
 
3130
        # actually working.
2509
3131
        break;;
2510
3132
    * )
2511
3133
        break;;
2512
3134
  esac
2513
3135
done
 
3136
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3137
 
2514
3138
else
 
3139
  ac_file=''
 
3140
fi
 
3141
 
 
3142
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
3143
echo "${ECHO_T}$ac_file" >&6; }
 
3144
if test -z "$ac_file"; then
2515
3145
  echo "$as_me: failed program was:" >&5
2516
3146
sed 's/^/| /' conftest.$ac_ext >&5
2517
3147
 
2523
3153
fi
2524
3154
 
2525
3155
ac_exeext=$ac_cv_exeext
2526
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2527
 
echo "${ECHO_T}$ac_file" >&6
2528
3156
 
2529
 
# Check the compiler produces executables we can run.  If not, either
 
3157
# Check that the compiler produces executables we can run.  If not, either
2530
3158
# the compiler is broken, or we cross compile.
2531
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2532
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
3159
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3160
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2533
3161
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2534
3162
# If not cross compiling, check that we can run a simple program.
2535
3163
if test "$cross_compiling" != yes; then
2536
3164
  if { ac_try='./$ac_file'
2537
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2538
 
  (eval $ac_try) 2>&5
 
3165
  { (case "(($ac_try" in
 
3166
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3167
  *) ac_try_echo=$ac_try;;
 
3168
esac
 
3169
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3170
  (eval "$ac_try") 2>&5
2539
3171
  ac_status=$?
2540
3172
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541
3173
  (exit $ac_status); }; }; then
2554
3186
    fi
2555
3187
  fi
2556
3188
fi
2557
 
echo "$as_me:$LINENO: result: yes" >&5
2558
 
echo "${ECHO_T}yes" >&6
 
3189
{ echo "$as_me:$LINENO: result: yes" >&5
 
3190
echo "${ECHO_T}yes" >&6; }
2559
3191
 
2560
3192
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2561
3193
ac_clean_files=$ac_clean_files_save
2562
 
# Check the compiler produces executables we can run.  If not, either
 
3194
# Check that the compiler produces executables we can run.  If not, either
2563
3195
# the compiler is broken, or we cross compile.
2564
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2565
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2566
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2567
 
echo "${ECHO_T}$cross_compiling" >&6
 
3196
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3197
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
3198
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3199
echo "${ECHO_T}$cross_compiling" >&6; }
2568
3200
 
2569
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2570
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2571
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2572
 
  (eval $ac_link) 2>&5
 
3201
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3202
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
3203
if { (ac_try="$ac_link"
 
3204
case "(($ac_try" in
 
3205
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3206
  *) ac_try_echo=$ac_try;;
 
3207
esac
 
3208
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3209
  (eval "$ac_link") 2>&5
2573
3210
  ac_status=$?
2574
3211
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2575
3212
  (exit $ac_status); }; then
2580
3217
for ac_file in conftest.exe conftest conftest.*; do
2581
3218
  test -f "$ac_file" || continue
2582
3219
  case $ac_file in
2583
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
3220
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2584
3221
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2585
 
          export ac_cv_exeext
2586
3222
          break;;
2587
3223
    * ) break;;
2588
3224
  esac
2596
3232
fi
2597
3233
 
2598
3234
rm -f conftest$ac_cv_exeext
2599
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2600
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
3235
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3236
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2601
3237
 
2602
3238
rm -f conftest.$ac_ext
2603
3239
EXEEXT=$ac_cv_exeext
2604
3240
ac_exeext=$EXEEXT
2605
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2606
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
3241
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3242
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2607
3243
if test "${ac_cv_objext+set}" = set; then
2608
3244
  echo $ECHO_N "(cached) $ECHO_C" >&6
2609
3245
else
2623
3259
}
2624
3260
_ACEOF
2625
3261
rm -f conftest.o conftest.obj
2626
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2627
 
  (eval $ac_compile) 2>&5
 
3262
if { (ac_try="$ac_compile"
 
3263
case "(($ac_try" in
 
3264
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3265
  *) ac_try_echo=$ac_try;;
 
3266
esac
 
3267
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3268
  (eval "$ac_compile") 2>&5
2628
3269
  ac_status=$?
2629
3270
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630
3271
  (exit $ac_status); }; then
2631
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
3272
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3273
  test -f "$ac_file" || continue;
2632
3274
  case $ac_file in
2633
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
3275
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2634
3276
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2635
3277
       break;;
2636
3278
  esac
2648
3290
 
2649
3291
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2650
3292
fi
2651
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2652
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
3293
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3294
echo "${ECHO_T}$ac_cv_objext" >&6; }
2653
3295
OBJEXT=$ac_cv_objext
2654
3296
ac_objext=$OBJEXT
2655
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2656
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
3297
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3298
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2657
3299
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2658
3300
  echo $ECHO_N "(cached) $ECHO_C" >&6
2659
3301
else
2676
3318
}
2677
3319
_ACEOF
2678
3320
rm -f conftest.$ac_objext
2679
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2680
 
  (eval $ac_compile) 2>conftest.er1
 
3321
if { (ac_try="$ac_compile"
 
3322
case "(($ac_try" in
 
3323
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3324
  *) ac_try_echo=$ac_try;;
 
3325
esac
 
3326
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3327
  (eval "$ac_compile") 2>conftest.er1
2681
3328
  ac_status=$?
2682
3329
  grep -v '^ *+' conftest.er1 >conftest.err
2683
3330
  rm -f conftest.er1
2684
3331
  cat conftest.err >&5
2685
3332
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2686
 
  (exit $ac_status); } &&
2687
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2688
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2689
 
  (eval $ac_try) 2>&5
2690
 
  ac_status=$?
2691
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692
 
  (exit $ac_status); }; } &&
2693
 
         { ac_try='test -s conftest.$ac_objext'
2694
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2695
 
  (eval $ac_try) 2>&5
2696
 
  ac_status=$?
2697
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2698
 
  (exit $ac_status); }; }; then
 
3333
  (exit $ac_status); } && {
 
3334
         test -z "$ac_c_werror_flag" ||
 
3335
         test ! -s conftest.err
 
3336
       } && test -s conftest.$ac_objext; then
2699
3337
  ac_compiler_gnu=yes
2700
3338
else
2701
3339
  echo "$as_me: failed program was:" >&5
2702
3340
sed 's/^/| /' conftest.$ac_ext >&5
2703
3341
 
2704
 
ac_compiler_gnu=no
 
3342
        ac_compiler_gnu=no
2705
3343
fi
2706
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3344
 
 
3345
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2707
3346
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2708
3347
 
2709
3348
fi
2710
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2711
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
3349
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3350
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2712
3351
GCC=`test $ac_compiler_gnu = yes && echo yes`
2713
3352
ac_test_CFLAGS=${CFLAGS+set}
2714
3353
ac_save_CFLAGS=$CFLAGS
2715
 
CFLAGS="-g"
2716
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2717
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
3354
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3355
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2718
3356
if test "${ac_cv_prog_cc_g+set}" = set; then
2719
3357
  echo $ECHO_N "(cached) $ECHO_C" >&6
2720
3358
else
2721
 
  cat >conftest.$ac_ext <<_ACEOF
2722
 
/* confdefs.h.  */
2723
 
_ACEOF
2724
 
cat confdefs.h >>conftest.$ac_ext
2725
 
cat >>conftest.$ac_ext <<_ACEOF
2726
 
/* end confdefs.h.  */
2727
 
 
2728
 
int
2729
 
main ()
2730
 
{
2731
 
 
2732
 
  ;
2733
 
  return 0;
2734
 
}
2735
 
_ACEOF
2736
 
rm -f conftest.$ac_objext
2737
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2738
 
  (eval $ac_compile) 2>conftest.er1
2739
 
  ac_status=$?
2740
 
  grep -v '^ *+' conftest.er1 >conftest.err
2741
 
  rm -f conftest.er1
2742
 
  cat conftest.err >&5
2743
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2744
 
  (exit $ac_status); } &&
2745
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2746
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2747
 
  (eval $ac_try) 2>&5
2748
 
  ac_status=$?
2749
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750
 
  (exit $ac_status); }; } &&
2751
 
         { ac_try='test -s conftest.$ac_objext'
2752
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2753
 
  (eval $ac_try) 2>&5
2754
 
  ac_status=$?
2755
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2756
 
  (exit $ac_status); }; }; then
2757
 
  ac_cv_prog_cc_g=yes
2758
 
else
2759
 
  echo "$as_me: failed program was:" >&5
2760
 
sed 's/^/| /' conftest.$ac_ext >&5
2761
 
 
2762
 
ac_cv_prog_cc_g=no
2763
 
fi
2764
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2765
 
fi
2766
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2767
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
3359
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3360
   ac_c_werror_flag=yes
 
3361
   ac_cv_prog_cc_g=no
 
3362
   CFLAGS="-g"
 
3363
   cat >conftest.$ac_ext <<_ACEOF
 
3364
/* confdefs.h.  */
 
3365
_ACEOF
 
3366
cat confdefs.h >>conftest.$ac_ext
 
3367
cat >>conftest.$ac_ext <<_ACEOF
 
3368
/* end confdefs.h.  */
 
3369
 
 
3370
int
 
3371
main ()
 
3372
{
 
3373
 
 
3374
  ;
 
3375
  return 0;
 
3376
}
 
3377
_ACEOF
 
3378
rm -f conftest.$ac_objext
 
3379
if { (ac_try="$ac_compile"
 
3380
case "(($ac_try" in
 
3381
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3382
  *) ac_try_echo=$ac_try;;
 
3383
esac
 
3384
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3385
  (eval "$ac_compile") 2>conftest.er1
 
3386
  ac_status=$?
 
3387
  grep -v '^ *+' conftest.er1 >conftest.err
 
3388
  rm -f conftest.er1
 
3389
  cat conftest.err >&5
 
3390
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3391
  (exit $ac_status); } && {
 
3392
         test -z "$ac_c_werror_flag" ||
 
3393
         test ! -s conftest.err
 
3394
       } && test -s conftest.$ac_objext; then
 
3395
  ac_cv_prog_cc_g=yes
 
3396
else
 
3397
  echo "$as_me: failed program was:" >&5
 
3398
sed 's/^/| /' conftest.$ac_ext >&5
 
3399
 
 
3400
        CFLAGS=""
 
3401
      cat >conftest.$ac_ext <<_ACEOF
 
3402
/* confdefs.h.  */
 
3403
_ACEOF
 
3404
cat confdefs.h >>conftest.$ac_ext
 
3405
cat >>conftest.$ac_ext <<_ACEOF
 
3406
/* end confdefs.h.  */
 
3407
 
 
3408
int
 
3409
main ()
 
3410
{
 
3411
 
 
3412
  ;
 
3413
  return 0;
 
3414
}
 
3415
_ACEOF
 
3416
rm -f conftest.$ac_objext
 
3417
if { (ac_try="$ac_compile"
 
3418
case "(($ac_try" in
 
3419
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3420
  *) ac_try_echo=$ac_try;;
 
3421
esac
 
3422
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3423
  (eval "$ac_compile") 2>conftest.er1
 
3424
  ac_status=$?
 
3425
  grep -v '^ *+' conftest.er1 >conftest.err
 
3426
  rm -f conftest.er1
 
3427
  cat conftest.err >&5
 
3428
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3429
  (exit $ac_status); } && {
 
3430
         test -z "$ac_c_werror_flag" ||
 
3431
         test ! -s conftest.err
 
3432
       } && test -s conftest.$ac_objext; then
 
3433
  :
 
3434
else
 
3435
  echo "$as_me: failed program was:" >&5
 
3436
sed 's/^/| /' conftest.$ac_ext >&5
 
3437
 
 
3438
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3439
         CFLAGS="-g"
 
3440
         cat >conftest.$ac_ext <<_ACEOF
 
3441
/* confdefs.h.  */
 
3442
_ACEOF
 
3443
cat confdefs.h >>conftest.$ac_ext
 
3444
cat >>conftest.$ac_ext <<_ACEOF
 
3445
/* end confdefs.h.  */
 
3446
 
 
3447
int
 
3448
main ()
 
3449
{
 
3450
 
 
3451
  ;
 
3452
  return 0;
 
3453
}
 
3454
_ACEOF
 
3455
rm -f conftest.$ac_objext
 
3456
if { (ac_try="$ac_compile"
 
3457
case "(($ac_try" in
 
3458
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3459
  *) ac_try_echo=$ac_try;;
 
3460
esac
 
3461
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3462
  (eval "$ac_compile") 2>conftest.er1
 
3463
  ac_status=$?
 
3464
  grep -v '^ *+' conftest.er1 >conftest.err
 
3465
  rm -f conftest.er1
 
3466
  cat conftest.err >&5
 
3467
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3468
  (exit $ac_status); } && {
 
3469
         test -z "$ac_c_werror_flag" ||
 
3470
         test ! -s conftest.err
 
3471
       } && test -s conftest.$ac_objext; then
 
3472
  ac_cv_prog_cc_g=yes
 
3473
else
 
3474
  echo "$as_me: failed program was:" >&5
 
3475
sed 's/^/| /' conftest.$ac_ext >&5
 
3476
 
 
3477
 
 
3478
fi
 
3479
 
 
3480
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3481
fi
 
3482
 
 
3483
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3484
fi
 
3485
 
 
3486
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3487
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3488
fi
 
3489
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3490
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2768
3491
if test "$ac_test_CFLAGS" = set; then
2769
3492
  CFLAGS=$ac_save_CFLAGS
2770
3493
elif test $ac_cv_prog_cc_g = yes; then
2780
3503
    CFLAGS=
2781
3504
  fi
2782
3505
fi
2783
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2784
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2785
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
3506
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3507
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3508
if test "${ac_cv_prog_cc_c89+set}" = set; then
2786
3509
  echo $ECHO_N "(cached) $ECHO_C" >&6
2787
3510
else
2788
 
  ac_cv_prog_cc_stdc=no
 
3511
  ac_cv_prog_cc_c89=no
2789
3512
ac_save_CC=$CC
2790
3513
cat >conftest.$ac_ext <<_ACEOF
2791
3514
/* confdefs.h.  */
2819
3542
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2820
3543
   function prototypes and stuff, but not '\xHH' hex character constants.
2821
3544
   These don't provoke an error unfortunately, instead are silently treated
2822
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
3545
   as 'x'.  The following induces an error, until -std is added to get
2823
3546
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2824
3547
   array size at least.  It's necessary to write '\x00'==0 to get something
2825
 
   that's true only with -std1.  */
 
3548
   that's true only with -std.  */
2826
3549
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2827
3550
 
 
3551
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3552
   inside strings and character constants.  */
 
3553
#define FOO(x) 'x'
 
3554
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3555
 
2828
3556
int test (int i, double x);
2829
3557
struct s1 {int (*f) (int a);};
2830
3558
struct s2 {int (*f) (double a);};
2839
3567
  return 0;
2840
3568
}
2841
3569
_ACEOF
2842
 
# Don't try gcc -ansi; that turns off useful extensions and
2843
 
# breaks some systems' header files.
2844
 
# AIX                   -qlanglvl=ansi
2845
 
# Ultrix and OSF/1      -std1
2846
 
# HP-UX 10.20 and later -Ae
2847
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2848
 
# SVR4                  -Xc -D__EXTENSIONS__
2849
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3570
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3571
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2850
3572
do
2851
3573
  CC="$ac_save_CC $ac_arg"
2852
3574
  rm -f conftest.$ac_objext
2853
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2854
 
  (eval $ac_compile) 2>conftest.er1
 
3575
if { (ac_try="$ac_compile"
 
3576
case "(($ac_try" in
 
3577
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3578
  *) ac_try_echo=$ac_try;;
 
3579
esac
 
3580
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3581
  (eval "$ac_compile") 2>conftest.er1
2855
3582
  ac_status=$?
2856
3583
  grep -v '^ *+' conftest.er1 >conftest.err
2857
3584
  rm -f conftest.er1
2858
3585
  cat conftest.err >&5
2859
3586
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2860
 
  (exit $ac_status); } &&
2861
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2862
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2863
 
  (eval $ac_try) 2>&5
2864
 
  ac_status=$?
2865
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2866
 
  (exit $ac_status); }; } &&
2867
 
         { ac_try='test -s conftest.$ac_objext'
2868
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2869
 
  (eval $ac_try) 2>&5
2870
 
  ac_status=$?
2871
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872
 
  (exit $ac_status); }; }; then
2873
 
  ac_cv_prog_cc_stdc=$ac_arg
2874
 
break
 
3587
  (exit $ac_status); } && {
 
3588
         test -z "$ac_c_werror_flag" ||
 
3589
         test ! -s conftest.err
 
3590
       } && test -s conftest.$ac_objext; then
 
3591
  ac_cv_prog_cc_c89=$ac_arg
2875
3592
else
2876
3593
  echo "$as_me: failed program was:" >&5
2877
3594
sed 's/^/| /' conftest.$ac_ext >&5
2878
3595
 
 
3596
 
2879
3597
fi
2880
 
rm -f conftest.err conftest.$ac_objext
 
3598
 
 
3599
rm -f core conftest.err conftest.$ac_objext
 
3600
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2881
3601
done
2882
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
3602
rm -f conftest.$ac_ext
2883
3603
CC=$ac_save_CC
2884
3604
 
2885
3605
fi
2886
 
 
2887
 
case "x$ac_cv_prog_cc_stdc" in
2888
 
  x|xno)
2889
 
    echo "$as_me:$LINENO: result: none needed" >&5
2890
 
echo "${ECHO_T}none needed" >&6 ;;
 
3606
# AC_CACHE_VAL
 
3607
case "x$ac_cv_prog_cc_c89" in
 
3608
  x)
 
3609
    { echo "$as_me:$LINENO: result: none needed" >&5
 
3610
echo "${ECHO_T}none needed" >&6; } ;;
 
3611
  xno)
 
3612
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
3613
echo "${ECHO_T}unsupported" >&6; } ;;
2891
3614
  *)
2892
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2893
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2894
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3615
    CC="$CC $ac_cv_prog_cc_c89"
 
3616
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3617
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2895
3618
esac
2896
3619
 
2897
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2898
 
# in C++ we need to declare it.  In case someone uses the same compiler
2899
 
# for both compiling C and C++ we need to have the C++ compiler decide
2900
 
# the declaration of exit, since it's the most demanding environment.
2901
 
cat >conftest.$ac_ext <<_ACEOF
2902
 
#ifndef __cplusplus
2903
 
  choke me
2904
 
#endif
2905
 
_ACEOF
2906
 
rm -f conftest.$ac_objext
2907
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2908
 
  (eval $ac_compile) 2>conftest.er1
2909
 
  ac_status=$?
2910
 
  grep -v '^ *+' conftest.er1 >conftest.err
2911
 
  rm -f conftest.er1
2912
 
  cat conftest.err >&5
2913
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914
 
  (exit $ac_status); } &&
2915
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2916
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2917
 
  (eval $ac_try) 2>&5
2918
 
  ac_status=$?
2919
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2920
 
  (exit $ac_status); }; } &&
2921
 
         { ac_try='test -s conftest.$ac_objext'
2922
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2923
 
  (eval $ac_try) 2>&5
2924
 
  ac_status=$?
2925
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2926
 
  (exit $ac_status); }; }; then
2927
 
  for ac_declaration in \
2928
 
   '' \
2929
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2930
 
   'extern "C" void std::exit (int); using std::exit;' \
2931
 
   'extern "C" void exit (int) throw ();' \
2932
 
   'extern "C" void exit (int);' \
2933
 
   'void exit (int);'
2934
 
do
2935
 
  cat >conftest.$ac_ext <<_ACEOF
2936
 
/* confdefs.h.  */
2937
 
_ACEOF
2938
 
cat confdefs.h >>conftest.$ac_ext
2939
 
cat >>conftest.$ac_ext <<_ACEOF
2940
 
/* end confdefs.h.  */
2941
 
$ac_declaration
2942
 
#include <stdlib.h>
2943
 
int
2944
 
main ()
2945
 
{
2946
 
exit (42);
2947
 
  ;
2948
 
  return 0;
2949
 
}
2950
 
_ACEOF
2951
 
rm -f conftest.$ac_objext
2952
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2953
 
  (eval $ac_compile) 2>conftest.er1
2954
 
  ac_status=$?
2955
 
  grep -v '^ *+' conftest.er1 >conftest.err
2956
 
  rm -f conftest.er1
2957
 
  cat conftest.err >&5
2958
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2959
 
  (exit $ac_status); } &&
2960
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2961
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2962
 
  (eval $ac_try) 2>&5
2963
 
  ac_status=$?
2964
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965
 
  (exit $ac_status); }; } &&
2966
 
         { ac_try='test -s conftest.$ac_objext'
2967
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2968
 
  (eval $ac_try) 2>&5
2969
 
  ac_status=$?
2970
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971
 
  (exit $ac_status); }; }; then
2972
 
  :
2973
 
else
2974
 
  echo "$as_me: failed program was:" >&5
2975
 
sed 's/^/| /' conftest.$ac_ext >&5
2976
 
 
2977
 
continue
2978
 
fi
2979
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2980
 
  cat >conftest.$ac_ext <<_ACEOF
2981
 
/* confdefs.h.  */
2982
 
_ACEOF
2983
 
cat confdefs.h >>conftest.$ac_ext
2984
 
cat >>conftest.$ac_ext <<_ACEOF
2985
 
/* end confdefs.h.  */
2986
 
$ac_declaration
2987
 
int
2988
 
main ()
2989
 
{
2990
 
exit (42);
2991
 
  ;
2992
 
  return 0;
2993
 
}
2994
 
_ACEOF
2995
 
rm -f conftest.$ac_objext
2996
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2997
 
  (eval $ac_compile) 2>conftest.er1
2998
 
  ac_status=$?
2999
 
  grep -v '^ *+' conftest.er1 >conftest.err
3000
 
  rm -f conftest.er1
3001
 
  cat conftest.err >&5
3002
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3003
 
  (exit $ac_status); } &&
3004
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3005
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3006
 
  (eval $ac_try) 2>&5
3007
 
  ac_status=$?
3008
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3009
 
  (exit $ac_status); }; } &&
3010
 
         { ac_try='test -s conftest.$ac_objext'
3011
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3012
 
  (eval $ac_try) 2>&5
3013
 
  ac_status=$?
3014
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3015
 
  (exit $ac_status); }; }; then
3016
 
  break
3017
 
else
3018
 
  echo "$as_me: failed program was:" >&5
3019
 
sed 's/^/| /' conftest.$ac_ext >&5
3020
 
 
3021
 
fi
3022
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3023
 
done
3024
 
rm -f conftest*
3025
 
if test -n "$ac_declaration"; then
3026
 
  echo '#ifdef __cplusplus' >>confdefs.h
3027
 
  echo $ac_declaration      >>confdefs.h
3028
 
  echo '#endif'             >>confdefs.h
3029
 
fi
3030
 
 
3031
 
else
3032
 
  echo "$as_me: failed program was:" >&5
3033
 
sed 's/^/| /' conftest.$ac_ext >&5
3034
 
 
3035
 
fi
3036
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3620
 
3037
3621
ac_ext=c
3038
3622
ac_cpp='$CPP $CPPFLAGS'
3039
3623
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3041
3625
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3042
3626
DEPDIR="${am__leading_dot}deps"
3043
3627
 
3044
 
          ac_config_commands="$ac_config_commands depfiles"
 
3628
ac_config_commands="$ac_config_commands depfiles"
3045
3629
 
3046
3630
 
3047
3631
am_make=${MAKE-make}
3051
3635
.PHONY: am__doit
3052
3636
END
3053
3637
# If we don't find an include directive, just comment out the code.
3054
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3055
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
3638
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3639
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3056
3640
am__include="#"
3057
3641
am__quote=
3058
3642
_am_result=none
3079
3663
fi
3080
3664
 
3081
3665
 
3082
 
echo "$as_me:$LINENO: result: $_am_result" >&5
3083
 
echo "${ECHO_T}$_am_result" >&6
 
3666
{ echo "$as_me:$LINENO: result: $_am_result" >&5
 
3667
echo "${ECHO_T}$_am_result" >&6; }
3084
3668
rm -f confinc confmf
3085
3669
 
3086
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
3670
# Check whether --enable-dependency-tracking was given.
3087
3671
if test "${enable_dependency_tracking+set}" = set; then
3088
 
  enableval="$enable_dependency_tracking"
 
3672
  enableval=$enable_dependency_tracking;
 
3673
fi
3089
3674
 
3090
 
fi;
3091
3675
if test "x$enable_dependency_tracking" != xno; then
3092
3676
  am_depcomp="$ac_aux_dir/depcomp"
3093
3677
  AMDEPBACKSLASH='\'
3107
3691
 
3108
3692
depcc="$CC"   am_compiler_list=
3109
3693
 
3110
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3111
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
3694
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3695
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3112
3696
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3113
3697
  echo $ECHO_N "(cached) $ECHO_C" >&6
3114
3698
else
3197
3781
fi
3198
3782
 
3199
3783
fi
3200
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3201
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
3784
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3785
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3202
3786
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3203
3787
 
3204
3788
 
3220
3804
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3221
3805
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3222
3806
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3223
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3224
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
3807
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3808
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3225
3809
# On Suns, sometimes $CPP names a directory.
3226
3810
if test -n "$CPP" && test -d "$CPP"; then
3227
3811
  CPP=
3255
3839
#endif
3256
3840
                     Syntax error
3257
3841
_ACEOF
3258
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3259
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3842
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3843
case "(($ac_try" in
 
3844
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3845
  *) ac_try_echo=$ac_try;;
 
3846
esac
 
3847
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3848
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3260
3849
  ac_status=$?
3261
3850
  grep -v '^ *+' conftest.er1 >conftest.err
3262
3851
  rm -f conftest.er1
3263
3852
  cat conftest.err >&5
3264
3853
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3265
 
  (exit $ac_status); } >/dev/null; then
3266
 
  if test -s conftest.err; then
3267
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3268
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3269
 
  else
3270
 
    ac_cpp_err=
3271
 
  fi
3272
 
else
3273
 
  ac_cpp_err=yes
3274
 
fi
3275
 
if test -z "$ac_cpp_err"; then
 
3854
  (exit $ac_status); } >/dev/null && {
 
3855
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3856
         test ! -s conftest.err
 
3857
       }; then
3276
3858
  :
3277
3859
else
3278
3860
  echo "$as_me: failed program was:" >&5
3281
3863
  # Broken: fails on valid input.
3282
3864
continue
3283
3865
fi
 
3866
 
3284
3867
rm -f conftest.err conftest.$ac_ext
3285
3868
 
3286
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
3869
  # OK, works on sane cases.  Now check whether nonexistent headers
3287
3870
  # can be detected and how.
3288
3871
  cat >conftest.$ac_ext <<_ACEOF
3289
3872
/* confdefs.h.  */
3293
3876
/* end confdefs.h.  */
3294
3877
#include <ac_nonexistent.h>
3295
3878
_ACEOF
3296
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3297
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3879
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3880
case "(($ac_try" in
 
3881
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3882
  *) ac_try_echo=$ac_try;;
 
3883
esac
 
3884
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3885
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3298
3886
  ac_status=$?
3299
3887
  grep -v '^ *+' conftest.er1 >conftest.err
3300
3888
  rm -f conftest.er1
3301
3889
  cat conftest.err >&5
3302
3890
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3303
 
  (exit $ac_status); } >/dev/null; then
3304
 
  if test -s conftest.err; then
3305
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3306
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3307
 
  else
3308
 
    ac_cpp_err=
3309
 
  fi
3310
 
else
3311
 
  ac_cpp_err=yes
3312
 
fi
3313
 
if test -z "$ac_cpp_err"; then
 
3891
  (exit $ac_status); } >/dev/null && {
 
3892
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3893
         test ! -s conftest.err
 
3894
       }; then
3314
3895
  # Broken: success on invalid input.
3315
3896
continue
3316
3897
else
3321
3902
ac_preproc_ok=:
3322
3903
break
3323
3904
fi
 
3905
 
3324
3906
rm -f conftest.err conftest.$ac_ext
3325
3907
 
3326
3908
done
3338
3920
else
3339
3921
  ac_cv_prog_CPP=$CPP
3340
3922
fi
3341
 
echo "$as_me:$LINENO: result: $CPP" >&5
3342
 
echo "${ECHO_T}$CPP" >&6
 
3923
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
3924
echo "${ECHO_T}$CPP" >&6; }
3343
3925
ac_preproc_ok=false
3344
3926
for ac_c_preproc_warn_flag in '' yes
3345
3927
do
3362
3944
#endif
3363
3945
                     Syntax error
3364
3946
_ACEOF
3365
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3366
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3947
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3948
case "(($ac_try" in
 
3949
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3950
  *) ac_try_echo=$ac_try;;
 
3951
esac
 
3952
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3953
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3367
3954
  ac_status=$?
3368
3955
  grep -v '^ *+' conftest.er1 >conftest.err
3369
3956
  rm -f conftest.er1
3370
3957
  cat conftest.err >&5
3371
3958
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3372
 
  (exit $ac_status); } >/dev/null; then
3373
 
  if test -s conftest.err; then
3374
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3375
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3376
 
  else
3377
 
    ac_cpp_err=
3378
 
  fi
3379
 
else
3380
 
  ac_cpp_err=yes
3381
 
fi
3382
 
if test -z "$ac_cpp_err"; then
 
3959
  (exit $ac_status); } >/dev/null && {
 
3960
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3961
         test ! -s conftest.err
 
3962
       }; then
3383
3963
  :
3384
3964
else
3385
3965
  echo "$as_me: failed program was:" >&5
3388
3968
  # Broken: fails on valid input.
3389
3969
continue
3390
3970
fi
 
3971
 
3391
3972
rm -f conftest.err conftest.$ac_ext
3392
3973
 
3393
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
3974
  # OK, works on sane cases.  Now check whether nonexistent headers
3394
3975
  # can be detected and how.
3395
3976
  cat >conftest.$ac_ext <<_ACEOF
3396
3977
/* confdefs.h.  */
3400
3981
/* end confdefs.h.  */
3401
3982
#include <ac_nonexistent.h>
3402
3983
_ACEOF
3403
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3404
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3984
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3985
case "(($ac_try" in
 
3986
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3987
  *) ac_try_echo=$ac_try;;
 
3988
esac
 
3989
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3990
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3405
3991
  ac_status=$?
3406
3992
  grep -v '^ *+' conftest.er1 >conftest.err
3407
3993
  rm -f conftest.er1
3408
3994
  cat conftest.err >&5
3409
3995
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410
 
  (exit $ac_status); } >/dev/null; then
3411
 
  if test -s conftest.err; then
3412
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3413
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3414
 
  else
3415
 
    ac_cpp_err=
3416
 
  fi
3417
 
else
3418
 
  ac_cpp_err=yes
3419
 
fi
3420
 
if test -z "$ac_cpp_err"; then
 
3996
  (exit $ac_status); } >/dev/null && {
 
3997
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3998
         test ! -s conftest.err
 
3999
       }; then
3421
4000
  # Broken: success on invalid input.
3422
4001
continue
3423
4002
else
3428
4007
ac_preproc_ok=:
3429
4008
break
3430
4009
fi
 
4010
 
3431
4011
rm -f conftest.err conftest.$ac_ext
3432
4012
 
3433
4013
done
3450
4030
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3451
4031
 
3452
4032
 
3453
 
echo "$as_me:$LINENO: checking for egrep" >&5
3454
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3455
 
if test "${ac_cv_prog_egrep+set}" = set; then
3456
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3457
 
else
3458
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3459
 
    then ac_cv_prog_egrep='grep -E'
3460
 
    else ac_cv_prog_egrep='egrep'
3461
 
    fi
3462
 
fi
3463
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3464
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3465
 
 EGREP=$ac_cv_prog_egrep
3466
 
 
3467
 
 
3468
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3469
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
4033
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4034
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 
4035
if test "${ac_cv_path_GREP+set}" = set; then
 
4036
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4037
else
 
4038
  # Extract the first word of "grep ggrep" to use in msg output
 
4039
if test -z "$GREP"; then
 
4040
set dummy grep ggrep; ac_prog_name=$2
 
4041
if test "${ac_cv_path_GREP+set}" = set; then
 
4042
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4043
else
 
4044
  ac_path_GREP_found=false
 
4045
# Loop through the user's path and test for each of PROGNAME-LIST
 
4046
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4047
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4048
do
 
4049
  IFS=$as_save_IFS
 
4050
  test -z "$as_dir" && as_dir=.
 
4051
  for ac_prog in grep ggrep; do
 
4052
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4053
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4054
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4055
    # Check for GNU ac_path_GREP and select it if it is found.
 
4056
  # Check for GNU $ac_path_GREP
 
4057
case `"$ac_path_GREP" --version 2>&1` in
 
4058
*GNU*)
 
4059
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4060
*)
 
4061
  ac_count=0
 
4062
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4063
  while :
 
4064
  do
 
4065
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4066
    mv "conftest.tmp" "conftest.in"
 
4067
    cp "conftest.in" "conftest.nl"
 
4068
    echo 'GREP' >> "conftest.nl"
 
4069
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4070
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4071
    ac_count=`expr $ac_count + 1`
 
4072
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4073
      # Best one so far, save it but keep looking for a better one
 
4074
      ac_cv_path_GREP="$ac_path_GREP"
 
4075
      ac_path_GREP_max=$ac_count
 
4076
    fi
 
4077
    # 10*(2^10) chars as input seems more than enough
 
4078
    test $ac_count -gt 10 && break
 
4079
  done
 
4080
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4081
esac
 
4082
 
 
4083
 
 
4084
    $ac_path_GREP_found && break 3
 
4085
  done
 
4086
done
 
4087
 
 
4088
done
 
4089
IFS=$as_save_IFS
 
4090
 
 
4091
 
 
4092
fi
 
4093
 
 
4094
GREP="$ac_cv_path_GREP"
 
4095
if test -z "$GREP"; then
 
4096
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4097
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4098
   { (exit 1); exit 1; }; }
 
4099
fi
 
4100
 
 
4101
else
 
4102
  ac_cv_path_GREP=$GREP
 
4103
fi
 
4104
 
 
4105
 
 
4106
fi
 
4107
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4108
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
4109
 GREP="$ac_cv_path_GREP"
 
4110
 
 
4111
 
 
4112
{ echo "$as_me:$LINENO: checking for egrep" >&5
 
4113
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
4114
if test "${ac_cv_path_EGREP+set}" = set; then
 
4115
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4116
else
 
4117
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4118
   then ac_cv_path_EGREP="$GREP -E"
 
4119
   else
 
4120
     # Extract the first word of "egrep" to use in msg output
 
4121
if test -z "$EGREP"; then
 
4122
set dummy egrep; ac_prog_name=$2
 
4123
if test "${ac_cv_path_EGREP+set}" = set; then
 
4124
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4125
else
 
4126
  ac_path_EGREP_found=false
 
4127
# Loop through the user's path and test for each of PROGNAME-LIST
 
4128
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4129
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4130
do
 
4131
  IFS=$as_save_IFS
 
4132
  test -z "$as_dir" && as_dir=.
 
4133
  for ac_prog in egrep; do
 
4134
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4135
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4136
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4137
    # Check for GNU ac_path_EGREP and select it if it is found.
 
4138
  # Check for GNU $ac_path_EGREP
 
4139
case `"$ac_path_EGREP" --version 2>&1` in
 
4140
*GNU*)
 
4141
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4142
*)
 
4143
  ac_count=0
 
4144
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4145
  while :
 
4146
  do
 
4147
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4148
    mv "conftest.tmp" "conftest.in"
 
4149
    cp "conftest.in" "conftest.nl"
 
4150
    echo 'EGREP' >> "conftest.nl"
 
4151
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4152
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4153
    ac_count=`expr $ac_count + 1`
 
4154
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4155
      # Best one so far, save it but keep looking for a better one
 
4156
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4157
      ac_path_EGREP_max=$ac_count
 
4158
    fi
 
4159
    # 10*(2^10) chars as input seems more than enough
 
4160
    test $ac_count -gt 10 && break
 
4161
  done
 
4162
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4163
esac
 
4164
 
 
4165
 
 
4166
    $ac_path_EGREP_found && break 3
 
4167
  done
 
4168
done
 
4169
 
 
4170
done
 
4171
IFS=$as_save_IFS
 
4172
 
 
4173
 
 
4174
fi
 
4175
 
 
4176
EGREP="$ac_cv_path_EGREP"
 
4177
if test -z "$EGREP"; then
 
4178
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4179
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4180
   { (exit 1); exit 1; }; }
 
4181
fi
 
4182
 
 
4183
else
 
4184
  ac_cv_path_EGREP=$EGREP
 
4185
fi
 
4186
 
 
4187
 
 
4188
   fi
 
4189
fi
 
4190
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4191
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
4192
 EGREP="$ac_cv_path_EGREP"
 
4193
 
 
4194
 
 
4195
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
4196
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3470
4197
if test "${ac_cv_header_stdc+set}" = set; then
3471
4198
  echo $ECHO_N "(cached) $ECHO_C" >&6
3472
4199
else
3490
4217
}
3491
4218
_ACEOF
3492
4219
rm -f conftest.$ac_objext
3493
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3494
 
  (eval $ac_compile) 2>conftest.er1
 
4220
if { (ac_try="$ac_compile"
 
4221
case "(($ac_try" in
 
4222
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4223
  *) ac_try_echo=$ac_try;;
 
4224
esac
 
4225
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4226
  (eval "$ac_compile") 2>conftest.er1
3495
4227
  ac_status=$?
3496
4228
  grep -v '^ *+' conftest.er1 >conftest.err
3497
4229
  rm -f conftest.er1
3498
4230
  cat conftest.err >&5
3499
4231
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500
 
  (exit $ac_status); } &&
3501
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3502
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3503
 
  (eval $ac_try) 2>&5
3504
 
  ac_status=$?
3505
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3506
 
  (exit $ac_status); }; } &&
3507
 
         { ac_try='test -s conftest.$ac_objext'
3508
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3509
 
  (eval $ac_try) 2>&5
3510
 
  ac_status=$?
3511
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3512
 
  (exit $ac_status); }; }; then
 
4232
  (exit $ac_status); } && {
 
4233
         test -z "$ac_c_werror_flag" ||
 
4234
         test ! -s conftest.err
 
4235
       } && test -s conftest.$ac_objext; then
3513
4236
  ac_cv_header_stdc=yes
3514
4237
else
3515
4238
  echo "$as_me: failed program was:" >&5
3516
4239
sed 's/^/| /' conftest.$ac_ext >&5
3517
4240
 
3518
 
ac_cv_header_stdc=no
 
4241
        ac_cv_header_stdc=no
3519
4242
fi
3520
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4243
 
 
4244
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3521
4245
 
3522
4246
if test $ac_cv_header_stdc = yes; then
3523
4247
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3573
4297
cat >>conftest.$ac_ext <<_ACEOF
3574
4298
/* end confdefs.h.  */
3575
4299
#include <ctype.h>
 
4300
#include <stdlib.h>
3576
4301
#if ((' ' & 0x0FF) == 0x020)
3577
4302
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3578
4303
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3592
4317
  for (i = 0; i < 256; i++)
3593
4318
    if (XOR (islower (i), ISLOWER (i))
3594
4319
        || toupper (i) != TOUPPER (i))
3595
 
      exit(2);
3596
 
  exit (0);
 
4320
      return 2;
 
4321
  return 0;
3597
4322
}
3598
4323
_ACEOF
3599
4324
rm -f conftest$ac_exeext
3600
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3601
 
  (eval $ac_link) 2>&5
 
4325
if { (ac_try="$ac_link"
 
4326
case "(($ac_try" in
 
4327
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4328
  *) ac_try_echo=$ac_try;;
 
4329
esac
 
4330
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4331
  (eval "$ac_link") 2>&5
3602
4332
  ac_status=$?
3603
4333
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3604
4334
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3605
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3606
 
  (eval $ac_try) 2>&5
 
4335
  { (case "(($ac_try" in
 
4336
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4337
  *) ac_try_echo=$ac_try;;
 
4338
esac
 
4339
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4340
  (eval "$ac_try") 2>&5
3607
4341
  ac_status=$?
3608
4342
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3609
4343
  (exit $ac_status); }; }; then
3616
4350
( exit $ac_status )
3617
4351
ac_cv_header_stdc=no
3618
4352
fi
3619
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3620
 
fi
3621
 
fi
3622
 
fi
3623
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3624
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
4353
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4354
fi
 
4355
 
 
4356
 
 
4357
fi
 
4358
fi
 
4359
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
4360
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3625
4361
if test $ac_cv_header_stdc = yes; then
3626
4362
 
3627
4363
cat >>confdefs.h <<\_ACEOF
3633
4369
if test -n "$ac_tool_prefix"; then
3634
4370
  # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
3635
4371
set dummy ${ac_tool_prefix}windres; ac_word=$2
3636
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3637
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4372
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4373
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3638
4374
if test "${ac_cv_prog_RC+set}" = set; then
3639
4375
  echo $ECHO_N "(cached) $ECHO_C" >&6
3640
4376
else
3647
4383
  IFS=$as_save_IFS
3648
4384
  test -z "$as_dir" && as_dir=.
3649
4385
  for ac_exec_ext in '' $ac_executable_extensions; do
3650
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4386
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3651
4387
    ac_cv_prog_RC="${ac_tool_prefix}windres"
3652
4388
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3653
4389
    break 2
3654
4390
  fi
3655
4391
done
3656
4392
done
 
4393
IFS=$as_save_IFS
3657
4394
 
3658
4395
fi
3659
4396
fi
3660
4397
RC=$ac_cv_prog_RC
3661
4398
if test -n "$RC"; then
3662
 
  echo "$as_me:$LINENO: result: $RC" >&5
3663
 
echo "${ECHO_T}$RC" >&6
 
4399
  { echo "$as_me:$LINENO: result: $RC" >&5
 
4400
echo "${ECHO_T}$RC" >&6; }
3664
4401
else
3665
 
  echo "$as_me:$LINENO: result: no" >&5
3666
 
echo "${ECHO_T}no" >&6
 
4402
  { echo "$as_me:$LINENO: result: no" >&5
 
4403
echo "${ECHO_T}no" >&6; }
3667
4404
fi
 
4405
 
3668
4406
 
3669
4407
fi
3670
4408
if test -z "$ac_cv_prog_RC"; then
3671
4409
  ac_ct_RC=$RC
3672
4410
  # Extract the first word of "windres", so it can be a program name with args.
3673
4411
set dummy windres; ac_word=$2
3674
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3675
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4412
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4413
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3676
4414
if test "${ac_cv_prog_ac_ct_RC+set}" = set; then
3677
4415
  echo $ECHO_N "(cached) $ECHO_C" >&6
3678
4416
else
3685
4423
  IFS=$as_save_IFS
3686
4424
  test -z "$as_dir" && as_dir=.
3687
4425
  for ac_exec_ext in '' $ac_executable_extensions; do
3688
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4426
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3689
4427
    ac_cv_prog_ac_ct_RC="windres"
3690
4428
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3691
4429
    break 2
3692
4430
  fi
3693
4431
done
3694
4432
done
 
4433
IFS=$as_save_IFS
3695
4434
 
3696
 
  test -z "$ac_cv_prog_ac_ct_RC" && ac_cv_prog_ac_ct_RC="no"
3697
4435
fi
3698
4436
fi
3699
4437
ac_ct_RC=$ac_cv_prog_ac_ct_RC
3700
4438
if test -n "$ac_ct_RC"; then
3701
 
  echo "$as_me:$LINENO: result: $ac_ct_RC" >&5
3702
 
echo "${ECHO_T}$ac_ct_RC" >&6
 
4439
  { echo "$as_me:$LINENO: result: $ac_ct_RC" >&5
 
4440
echo "${ECHO_T}$ac_ct_RC" >&6; }
3703
4441
else
3704
 
  echo "$as_me:$LINENO: result: no" >&5
3705
 
echo "${ECHO_T}no" >&6
 
4442
  { echo "$as_me:$LINENO: result: no" >&5
 
4443
echo "${ECHO_T}no" >&6; }
3706
4444
fi
3707
4445
 
3708
 
  RC=$ac_ct_RC
 
4446
  if test "x$ac_ct_RC" = x; then
 
4447
    RC="no"
 
4448
  else
 
4449
    case $cross_compiling:$ac_tool_warned in
 
4450
yes:)
 
4451
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
4452
whose name does not start with the host triplet.  If you think this
 
4453
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
4454
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
4455
whose name does not start with the host triplet.  If you think this
 
4456
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4457
ac_tool_warned=yes ;;
 
4458
esac
 
4459
    RC=$ac_ct_RC
 
4460
  fi
3709
4461
else
3710
4462
  RC="$ac_cv_prog_RC"
3711
4463
fi
3716
4468
do
3717
4469
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3718
4470
set dummy $ac_prog; ac_word=$2
3719
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3720
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4471
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4472
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3721
4473
if test "${ac_cv_prog_GCJ+set}" = set; then
3722
4474
  echo $ECHO_N "(cached) $ECHO_C" >&6
3723
4475
else
3730
4482
  IFS=$as_save_IFS
3731
4483
  test -z "$as_dir" && as_dir=.
3732
4484
  for ac_exec_ext in '' $ac_executable_extensions; do
3733
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4485
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3734
4486
    ac_cv_prog_GCJ="$ac_prog"
3735
4487
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3736
4488
    break 2
3737
4489
  fi
3738
4490
done
3739
4491
done
 
4492
IFS=$as_save_IFS
3740
4493
 
3741
4494
fi
3742
4495
fi
3743
4496
GCJ=$ac_cv_prog_GCJ
3744
4497
if test -n "$GCJ"; then
3745
 
  echo "$as_me:$LINENO: result: $GCJ" >&5
3746
 
echo "${ECHO_T}$GCJ" >&6
 
4498
  { echo "$as_me:$LINENO: result: $GCJ" >&5
 
4499
echo "${ECHO_T}$GCJ" >&6; }
3747
4500
else
3748
 
  echo "$as_me:$LINENO: result: no" >&5
3749
 
echo "${ECHO_T}no" >&6
 
4501
  { echo "$as_me:$LINENO: result: no" >&5
 
4502
echo "${ECHO_T}no" >&6; }
3750
4503
fi
3751
4504
 
 
4505
 
3752
4506
  test -n "$GCJ" && break
3753
4507
done
3754
4508
test -n "$GCJ" || GCJ="gcj"
3763
4517
 
3764
4518
depcc="$GCJ"  am_compiler_list='gcc3 gcc'
3765
4519
 
3766
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3767
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
4520
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
4521
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3768
4522
if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
3769
4523
  echo $ECHO_N "(cached) $ECHO_C" >&6
3770
4524
else
3853
4607
fi
3854
4608
 
3855
4609
fi
3856
 
echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
3857
 
echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
 
4610
{ echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
 
4611
echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6; }
3858
4612
GCJDEPMODE=depmode=$am_cv_GCJ_dependencies_compiler_type
3859
4613
 
3860
4614
 
3873
4627
 
3874
4628
 
3875
4629
if test "x$CC" != xcc; then
3876
 
  echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3877
 
echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
 
4630
  { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
 
4631
echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
3878
4632
else
3879
 
  echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3880
 
echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
 
4633
  { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
 
4634
echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
3881
4635
fi
3882
4636
set dummy $CC; ac_cc=`echo $2 |
3883
4637
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3884
 
if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
 
4638
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
3885
4639
  echo $ECHO_N "(cached) $ECHO_C" >&6
3886
4640
else
3887
4641
  cat >conftest.$ac_ext <<_ACEOF
3902
4656
# Make sure it works both with $CC and with simple cc.
3903
4657
# We do the test twice because some compilers refuse to overwrite an
3904
4658
# existing .o file with -o, though they will create one.
3905
 
ac_try='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3906
 
if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3907
 
  (eval $ac_try) 2>&5
 
4659
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 
4660
rm -f conftest2.*
 
4661
if { (case "(($ac_try" in
 
4662
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4663
  *) ac_try_echo=$ac_try;;
 
4664
esac
 
4665
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4666
  (eval "$ac_try") 2>&5
3908
4667
  ac_status=$?
3909
4668
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3910
4669
  (exit $ac_status); } &&
3911
 
   test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3912
 
  (eval $ac_try) 2>&5
 
4670
   test -f conftest2.$ac_objext && { (case "(($ac_try" in
 
4671
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4672
  *) ac_try_echo=$ac_try;;
 
4673
esac
 
4674
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4675
  (eval "$ac_try") 2>&5
3913
4676
  ac_status=$?
3914
4677
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3915
4678
  (exit $ac_status); };
3918
4681
  if test "x$CC" != xcc; then
3919
4682
    # Test first that cc exists at all.
3920
4683
    if { ac_try='cc -c conftest.$ac_ext >&5'
3921
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3922
 
  (eval $ac_try) 2>&5
 
4684
  { (case "(($ac_try" in
 
4685
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4686
  *) ac_try_echo=$ac_try;;
 
4687
esac
 
4688
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4689
  (eval "$ac_try") 2>&5
3923
4690
  ac_status=$?
3924
4691
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3925
4692
  (exit $ac_status); }; }; then
3926
 
      ac_try='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3927
 
      if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3928
 
  (eval $ac_try) 2>&5
 
4693
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 
4694
      rm -f conftest2.*
 
4695
      if { (case "(($ac_try" in
 
4696
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4697
  *) ac_try_echo=$ac_try;;
 
4698
esac
 
4699
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4700
  (eval "$ac_try") 2>&5
3929
4701
  ac_status=$?
3930
4702
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931
4703
  (exit $ac_status); } &&
3932
 
         test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3933
 
  (eval $ac_try) 2>&5
 
4704
         test -f conftest2.$ac_objext && { (case "(($ac_try" in
 
4705
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4706
  *) ac_try_echo=$ac_try;;
 
4707
esac
 
4708
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4709
  (eval "$ac_try") 2>&5
3934
4710
  ac_status=$?
3935
4711
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3936
4712
  (exit $ac_status); };
3946
4722
else
3947
4723
  eval ac_cv_prog_cc_${ac_cc}_c_o=no
3948
4724
fi
3949
 
rm -f conftest*
 
4725
rm -f core conftest*
3950
4726
 
3951
4727
fi
3952
 
if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
3953
 
  echo "$as_me:$LINENO: result: yes" >&5
3954
 
echo "${ECHO_T}yes" >&6
 
4728
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
 
4729
  { echo "$as_me:$LINENO: result: yes" >&5
 
4730
echo "${ECHO_T}yes" >&6; }
3955
4731
else
3956
 
  echo "$as_me:$LINENO: result: no" >&5
3957
 
echo "${ECHO_T}no" >&6
 
4732
  { echo "$as_me:$LINENO: result: no" >&5
 
4733
echo "${ECHO_T}no" >&6; }
3958
4734
 
3959
4735
cat >>confdefs.h <<\_ACEOF
3960
4736
#define NO_MINUS_C_MINUS_O 1
3962
4738
 
3963
4739
fi
3964
4740
 
3965
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3966
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
4741
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
4742
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
3967
4743
# Just in case
3968
4744
sleep 1
3969
4745
echo timestamp > conftest.file
4005
4781
Check your system clock" >&2;}
4006
4782
   { (exit 1); exit 1; }; }
4007
4783
fi
4008
 
echo "$as_me:$LINENO: result: yes" >&5
4009
 
echo "${ECHO_T}yes" >&6
 
4784
{ echo "$as_me:$LINENO: result: yes" >&5
 
4785
echo "${ECHO_T}yes" >&6; }
4010
4786
for ac_prog in gawk mawk nawk awk
4011
4787
do
4012
4788
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4013
4789
set dummy $ac_prog; ac_word=$2
4014
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4015
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4790
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4791
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4016
4792
if test "${ac_cv_prog_AWK+set}" = set; then
4017
4793
  echo $ECHO_N "(cached) $ECHO_C" >&6
4018
4794
else
4025
4801
  IFS=$as_save_IFS
4026
4802
  test -z "$as_dir" && as_dir=.
4027
4803
  for ac_exec_ext in '' $ac_executable_extensions; do
4028
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4804
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4029
4805
    ac_cv_prog_AWK="$ac_prog"
4030
4806
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4031
4807
    break 2
4032
4808
  fi
4033
4809
done
4034
4810
done
 
4811
IFS=$as_save_IFS
4035
4812
 
4036
4813
fi
4037
4814
fi
4038
4815
AWK=$ac_cv_prog_AWK
4039
4816
if test -n "$AWK"; then
4040
 
  echo "$as_me:$LINENO: result: $AWK" >&5
4041
 
echo "${ECHO_T}$AWK" >&6
 
4817
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
4818
echo "${ECHO_T}$AWK" >&6; }
4042
4819
else
4043
 
  echo "$as_me:$LINENO: result: no" >&5
4044
 
echo "${ECHO_T}no" >&6
 
4820
  { echo "$as_me:$LINENO: result: no" >&5
 
4821
echo "${ECHO_T}no" >&6; }
4045
4822
fi
4046
4823
 
 
4824
 
4047
4825
  test -n "$AWK" && break
4048
4826
done
4049
4827
 
4050
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
4051
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
4828
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
4829
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4052
4830
LN_S=$as_ln_s
4053
4831
if test "$LN_S" = "ln -s"; then
4054
 
  echo "$as_me:$LINENO: result: yes" >&5
4055
 
echo "${ECHO_T}yes" >&6
 
4832
  { echo "$as_me:$LINENO: result: yes" >&5
 
4833
echo "${ECHO_T}yes" >&6; }
4056
4834
else
4057
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4058
 
echo "${ECHO_T}no, using $LN_S" >&6
 
4835
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
4836
echo "${ECHO_T}no, using $LN_S" >&6; }
4059
4837
fi
4060
4838
 
4061
4839
 
4062
4840
 
4063
 
# Check whether --enable-shared or --disable-shared was given.
 
4841
# Check whether --enable-shared was given.
4064
4842
if test "${enable_shared+set}" = set; then
4065
 
  enableval="$enable_shared"
4066
 
  p=${PACKAGE-default}
 
4843
  enableval=$enable_shared; p=${PACKAGE-default}
4067
4844
    case $enableval in
4068
4845
    yes) enable_shared=yes ;;
4069
4846
    no) enable_shared=no ;;
4082
4859
    esac
4083
4860
else
4084
4861
  enable_shared=yes
4085
 
fi;
4086
 
 
4087
 
# Check whether --enable-static or --disable-static was given.
 
4862
fi
 
4863
 
 
4864
 
 
4865
# Check whether --enable-static was given.
4088
4866
if test "${enable_static+set}" = set; then
4089
 
  enableval="$enable_static"
4090
 
  p=${PACKAGE-default}
 
4867
  enableval=$enable_static; p=${PACKAGE-default}
4091
4868
    case $enableval in
4092
4869
    yes) enable_static=yes ;;
4093
4870
    no) enable_static=no ;;
4106
4883
    esac
4107
4884
else
4108
4885
  enable_static=yes
4109
 
fi;
4110
 
 
4111
 
# Check whether --enable-fast-install or --disable-fast-install was given.
 
4886
fi
 
4887
 
 
4888
 
 
4889
# Check whether --enable-fast-install was given.
4112
4890
if test "${enable_fast_install+set}" = set; then
4113
 
  enableval="$enable_fast_install"
4114
 
  p=${PACKAGE-default}
 
4891
  enableval=$enable_fast_install; p=${PACKAGE-default}
4115
4892
    case $enableval in
4116
4893
    yes) enable_fast_install=yes ;;
4117
4894
    no) enable_fast_install=no ;;
4130
4907
    esac
4131
4908
else
4132
4909
  enable_fast_install=yes
4133
 
fi;
4134
 
 
4135
 
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4136
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 
4910
fi
 
4911
 
 
4912
 
 
4913
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
4914
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4137
4915
if test "${lt_cv_path_SED+set}" = set; then
4138
4916
  echo $ECHO_N "(cached) $ECHO_C" >&6
4139
4917
else
4157
4935
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
4158
4936
# along with /bin/sed that truncates output.
4159
4937
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4160
 
  test ! -f $lt_ac_sed && break
 
4938
  test ! -f $lt_ac_sed && continue
4161
4939
  cat /dev/null > conftest.in
4162
4940
  lt_ac_count=0
4163
4941
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4182
4960
    fi
4183
4961
  done
4184
4962
done
 
4963
 
 
4964
fi
 
4965
 
4185
4966
SED=$lt_cv_path_SED
4186
 
 
4187
 
fi
4188
 
 
4189
 
echo "$as_me:$LINENO: result: $SED" >&5
4190
 
echo "${ECHO_T}$SED" >&6
4191
 
 
4192
 
 
4193
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
4967
{ echo "$as_me:$LINENO: result: $SED" >&5
 
4968
echo "${ECHO_T}$SED" >&6; }
 
4969
 
 
4970
 
 
4971
# Check whether --with-gnu-ld was given.
4194
4972
if test "${with_gnu_ld+set}" = set; then
4195
 
  withval="$with_gnu_ld"
4196
 
  test "$withval" = no || with_gnu_ld=yes
 
4973
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4197
4974
else
4198
4975
  with_gnu_ld=no
4199
 
fi;
 
4976
fi
 
4977
 
4200
4978
ac_prog=ld
4201
4979
if test "$GCC" = yes; then
4202
4980
  # Check if gcc -print-prog-name=ld gives a path.
4203
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4204
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
4981
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
4982
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4205
4983
  case $host in
4206
4984
  *-*-mingw*)
4207
4985
    # gcc leaves a trailing carriage return which upsets mingw
4230
5008
    ;;
4231
5009
  esac
4232
5010
elif test "$with_gnu_ld" = yes; then
4233
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
4234
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
5011
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
5012
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4235
5013
else
4236
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4237
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
5014
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
5015
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4238
5016
fi
4239
5017
if test "${lt_cv_path_LD+set}" = set; then
4240
5018
  echo $ECHO_N "(cached) $ECHO_C" >&6
4247
5025
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4248
5026
      lt_cv_path_LD="$ac_dir/$ac_prog"
4249
5027
      # Check to see if the program is GNU ld.  I'd rather use --version,
4250
 
      # but apparently some GNU ld's only accept -v.
 
5028
      # but apparently some variants of GNU ld only accept -v.
4251
5029
      # Break only if it was the GNU/non-GNU ld that we prefer.
4252
5030
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4253
5031
      *GNU* | *'with BFD'*)
4267
5045
 
4268
5046
LD="$lt_cv_path_LD"
4269
5047
if test -n "$LD"; then
4270
 
  echo "$as_me:$LINENO: result: $LD" >&5
4271
 
echo "${ECHO_T}$LD" >&6
 
5048
  { echo "$as_me:$LINENO: result: $LD" >&5
 
5049
echo "${ECHO_T}$LD" >&6; }
4272
5050
else
4273
 
  echo "$as_me:$LINENO: result: no" >&5
4274
 
echo "${ECHO_T}no" >&6
 
5051
  { echo "$as_me:$LINENO: result: no" >&5
 
5052
echo "${ECHO_T}no" >&6; }
4275
5053
fi
4276
5054
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4277
5055
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4278
5056
   { (exit 1); exit 1; }; }
4279
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4280
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
5057
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
5058
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4281
5059
if test "${lt_cv_prog_gnu_ld+set}" = set; then
4282
5060
  echo $ECHO_N "(cached) $ECHO_C" >&6
4283
5061
else
4284
 
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
5062
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4285
5063
case `$LD -v 2>&1 </dev/null` in
4286
5064
*GNU* | *'with BFD'*)
4287
5065
  lt_cv_prog_gnu_ld=yes
4291
5069
  ;;
4292
5070
esac
4293
5071
fi
4294
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4295
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
5072
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
5073
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4296
5074
with_gnu_ld=$lt_cv_prog_gnu_ld
4297
5075
 
4298
5076
 
4299
 
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4300
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 
5077
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
5078
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4301
5079
if test "${lt_cv_ld_reload_flag+set}" = set; then
4302
5080
  echo $ECHO_N "(cached) $ECHO_C" >&6
4303
5081
else
4304
5082
  lt_cv_ld_reload_flag='-r'
4305
5083
fi
4306
 
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4307
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 
5084
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
5085
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4308
5086
reload_flag=$lt_cv_ld_reload_flag
4309
5087
case $reload_flag in
4310
5088
"" | " "*) ;;
4311
5089
*) reload_flag=" $reload_flag" ;;
4312
5090
esac
4313
5091
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5092
case $host_os in
 
5093
  darwin*)
 
5094
    if test "$GCC" = yes; then
 
5095
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
5096
    else
 
5097
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5098
    fi
 
5099
    ;;
 
5100
esac
4314
5101
 
4315
 
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4316
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 
5102
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
5103
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4317
5104
if test "${lt_cv_path_NM+set}" = set; then
4318
5105
  echo $ECHO_N "(cached) $ECHO_C" >&6
4319
5106
else
4321
5108
  # Let the user override the test.
4322
5109
  lt_cv_path_NM="$NM"
4323
5110
else
4324
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4325
 
  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4326
 
    IFS="$lt_save_ifs"
4327
 
    test -z "$ac_dir" && ac_dir=.
4328
 
    tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4329
 
    if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4330
 
      # Check to see if the nm accepts a BSD-compat flag.
4331
 
      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4332
 
      #   nm: unknown option "B" ignored
4333
 
      # Tru64's nm complains that /dev/null is an invalid object file
4334
 
      case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4335
 
      */dev/null* | *'Invalid file or object type'*)
4336
 
        lt_cv_path_NM="$tmp_nm -B"
4337
 
        break
4338
 
        ;;
4339
 
      *)
4340
 
        case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4341
 
        */dev/null*)
4342
 
          lt_cv_path_NM="$tmp_nm -p"
 
5111
  lt_nm_to_check="${ac_tool_prefix}nm"
 
5112
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
5113
    lt_nm_to_check="$lt_nm_to_check nm"
 
5114
  fi
 
5115
  for lt_tmp_nm in $lt_nm_to_check; do
 
5116
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
5117
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
5118
      IFS="$lt_save_ifs"
 
5119
      test -z "$ac_dir" && ac_dir=.
 
5120
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
5121
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
5122
        # Check to see if the nm accepts a BSD-compat flag.
 
5123
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
5124
        #   nm: unknown option "B" ignored
 
5125
        # Tru64's nm complains that /dev/null is an invalid object file
 
5126
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
5127
        */dev/null* | *'Invalid file or object type'*)
 
5128
          lt_cv_path_NM="$tmp_nm -B"
4343
5129
          break
4344
5130
          ;;
4345
5131
        *)
4346
 
          lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4347
 
          continue # so that we can try to find one that supports BSD flags
 
5132
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
5133
          */dev/null*)
 
5134
            lt_cv_path_NM="$tmp_nm -p"
 
5135
            break
 
5136
            ;;
 
5137
          *)
 
5138
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
5139
            continue # so that we can try to find one that supports BSD flags
 
5140
            ;;
 
5141
          esac
4348
5142
          ;;
4349
5143
        esac
4350
 
      esac
4351
 
    fi
 
5144
      fi
 
5145
    done
 
5146
    IFS="$lt_save_ifs"
4352
5147
  done
4353
 
  IFS="$lt_save_ifs"
4354
5148
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4355
5149
fi
4356
5150
fi
4357
 
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4358
 
echo "${ECHO_T}$lt_cv_path_NM" >&6
 
5151
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
5152
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4359
5153
NM="$lt_cv_path_NM"
4360
5154
 
4361
 
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4362
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
 
5155
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
 
5156
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4363
5157
if test "${lt_cv_deplibs_check_method+set}" = set; then
4364
5158
  echo $ECHO_N "(cached) $ECHO_C" >&6
4365
5159
else
4386
5180
  lt_cv_deplibs_check_method=pass_all
4387
5181
  ;;
4388
5182
 
4389
 
bsdi4*)
 
5183
bsdi[45]*)
4390
5184
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4391
5185
  lt_cv_file_magic_cmd='/usr/bin/file -L'
4392
5186
  lt_cv_file_magic_test_file=/shlib/libc.so
4409
5203
  lt_cv_deplibs_check_method=pass_all
4410
5204
  ;;
4411
5205
 
4412
 
freebsd* | kfreebsd*-gnu)
 
5206
freebsd* | dragonfly*)
4413
5207
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4414
5208
    case $host_cpu in
4415
5209
    i*86 )
4416
5210
      # Not sure whether the presence of OpenBSD here was a mistake.
4417
5211
      # Let's accept both of them until this is cleared up.
4418
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
 
5212
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4419
5213
      lt_cv_file_magic_cmd=/usr/bin/file
4420
5214
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4421
5215
      ;;
4431
5225
 
4432
5226
hpux10.20* | hpux11*)
4433
5227
  lt_cv_file_magic_cmd=/usr/bin/file
4434
 
  case "$host_cpu" in
 
5228
  case $host_cpu in
4435
5229
  ia64*)
4436
5230
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4437
5231
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4447
5241
  esac
4448
5242
  ;;
4449
5243
 
 
5244
interix3*)
 
5245
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
5246
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
5247
  ;;
 
5248
 
4450
5249
irix5* | irix6* | nonstopux*)
4451
5250
  case $LD in
4452
5251
  *-32|*"-32 ") libmagic=32-bit;;
4458
5257
  ;;
4459
5258
 
4460
5259
# This must be Linux ELF.
4461
 
linux*)
 
5260
linux* | k*bsd*-gnu)
4462
5261
  lt_cv_deplibs_check_method=pass_all
4463
5262
  ;;
4464
5263
 
4465
 
netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
5264
netbsd* | netbsdelf*-gnu)
4466
5265
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4467
5266
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4468
5267
  else
4481
5280
  ;;
4482
5281
 
4483
5282
openbsd*)
4484
 
  lt_cv_file_magic_cmd=/usr/bin/file
4485
 
  lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4486
5283
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4487
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
 
5284
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4488
5285
  else
4489
 
    lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
 
5286
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4490
5287
  fi
4491
5288
  ;;
4492
5289
 
4494
5291
  lt_cv_deplibs_check_method=pass_all
4495
5292
  ;;
4496
5293
 
4497
 
sco3.2v5*)
4498
 
  lt_cv_deplibs_check_method=pass_all
4499
 
  ;;
4500
 
 
4501
5294
solaris*)
4502
5295
  lt_cv_deplibs_check_method=pass_all
4503
5296
  ;;
4504
5297
 
4505
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
5298
sysv4 | sysv4.3*)
4506
5299
  case $host_vendor in
4507
5300
  motorola)
4508
5301
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4523
5316
  siemens)
4524
5317
    lt_cv_deplibs_check_method=pass_all
4525
5318
    ;;
 
5319
  pc)
 
5320
    lt_cv_deplibs_check_method=pass_all
 
5321
    ;;
4526
5322
  esac
4527
5323
  ;;
4528
5324
 
4529
 
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
 
5325
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4530
5326
  lt_cv_deplibs_check_method=pass_all
4531
5327
  ;;
4532
5328
esac
4533
5329
 
4534
5330
fi
4535
 
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4536
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 
5331
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
5332
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4537
5333
file_magic_cmd=$lt_cv_file_magic_cmd
4538
5334
deplibs_check_method=$lt_cv_deplibs_check_method
4539
5335
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4543
5339
# If no C compiler was specified, use CC.
4544
5340
LTCC=${LTCC-"$CC"}
4545
5341
 
 
5342
# If no C compiler flags were specified, use CFLAGS.
 
5343
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
5344
 
4546
5345
# Allow CC to be a program name with arguments.
4547
5346
compiler=$CC
4548
5347
 
4549
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
5348
# Check whether --enable-libtool-lock was given.
4550
5349
if test "${enable_libtool_lock+set}" = set; then
4551
 
  enableval="$enable_libtool_lock"
 
5350
  enableval=$enable_libtool_lock;
 
5351
fi
4552
5352
 
4553
 
fi;
4554
5353
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4555
5354
 
4556
5355
# Some flags need to be propagated to the compiler or linker for good
4577
5376
  ;;
4578
5377
*-*-irix6*)
4579
5378
  # Find out which ABI we are using.
4580
 
  echo '#line 4580 "configure"' > conftest.$ac_ext
 
5379
  echo '#line 5379 "configure"' > conftest.$ac_ext
4581
5380
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4582
5381
  (eval $ac_compile) 2>&5
4583
5382
  ac_status=$?
4620
5419
  ac_status=$?
4621
5420
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4622
5421
  (exit $ac_status); }; then
4623
 
    case "`/usr/bin/file conftest.o`" in
 
5422
    case `/usr/bin/file conftest.o` in
4624
5423
    *32-bit*)
4625
5424
      case $host in
4626
5425
        x86_64-*linux*)
4662
5461
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4663
5462
  SAVE_CFLAGS="$CFLAGS"
4664
5463
  CFLAGS="$CFLAGS -belf"
4665
 
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4666
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 
5464
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
5465
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4667
5466
if test "${lt_cv_cc_needs_belf+set}" = set; then
4668
5467
  echo $ECHO_N "(cached) $ECHO_C" >&6
4669
5468
else
4689
5488
}
4690
5489
_ACEOF
4691
5490
rm -f conftest.$ac_objext conftest$ac_exeext
4692
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4693
 
  (eval $ac_link) 2>conftest.er1
 
5491
if { (ac_try="$ac_link"
 
5492
case "(($ac_try" in
 
5493
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5494
  *) ac_try_echo=$ac_try;;
 
5495
esac
 
5496
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5497
  (eval "$ac_link") 2>conftest.er1
4694
5498
  ac_status=$?
4695
5499
  grep -v '^ *+' conftest.er1 >conftest.err
4696
5500
  rm -f conftest.er1
4697
5501
  cat conftest.err >&5
4698
5502
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4699
 
  (exit $ac_status); } &&
4700
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4701
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4702
 
  (eval $ac_try) 2>&5
4703
 
  ac_status=$?
4704
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4705
 
  (exit $ac_status); }; } &&
4706
 
         { ac_try='test -s conftest$ac_exeext'
4707
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4708
 
  (eval $ac_try) 2>&5
4709
 
  ac_status=$?
4710
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4711
 
  (exit $ac_status); }; }; then
 
5503
  (exit $ac_status); } && {
 
5504
         test -z "$ac_c_werror_flag" ||
 
5505
         test ! -s conftest.err
 
5506
       } && test -s conftest$ac_exeext &&
 
5507
       $as_test_x conftest$ac_exeext; then
4712
5508
  lt_cv_cc_needs_belf=yes
4713
5509
else
4714
5510
  echo "$as_me: failed program was:" >&5
4715
5511
sed 's/^/| /' conftest.$ac_ext >&5
4716
5512
 
4717
 
lt_cv_cc_needs_belf=no
 
5513
        lt_cv_cc_needs_belf=no
4718
5514
fi
4719
 
rm -f conftest.err conftest.$ac_objext \
 
5515
 
 
5516
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4720
5517
      conftest$ac_exeext conftest.$ac_ext
4721
5518
     ac_ext=c
4722
5519
ac_cpp='$CPP $CPPFLAGS'
4725
5522
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4726
5523
 
4727
5524
fi
4728
 
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4729
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 
5525
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
5526
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4730
5527
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4731
5528
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4732
5529
    CFLAGS="$SAVE_CFLAGS"
4733
5530
  fi
4734
5531
  ;;
 
5532
sparc*-*solaris*)
 
5533
  # Find out which ABI we are using.
 
5534
  echo 'int i;' > conftest.$ac_ext
 
5535
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5536
  (eval $ac_compile) 2>&5
 
5537
  ac_status=$?
 
5538
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5539
  (exit $ac_status); }; then
 
5540
    case `/usr/bin/file conftest.o` in
 
5541
    *64-bit*)
 
5542
      case $lt_cv_prog_gnu_ld in
 
5543
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
5544
      *)    LD="${LD-ld} -64" ;;
 
5545
      esac
 
5546
      ;;
 
5547
    esac
 
5548
  fi
 
5549
  rm -rf conftest*
 
5550
  ;;
 
5551
 
4735
5552
*-*-cygwin* | *-*-mingw* | *-*-pw32*)
4736
5553
  if test -n "$ac_tool_prefix"; then
4737
5554
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4738
5555
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4739
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4740
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5556
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5557
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4741
5558
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4742
5559
  echo $ECHO_N "(cached) $ECHO_C" >&6
4743
5560
else
4750
5567
  IFS=$as_save_IFS
4751
5568
  test -z "$as_dir" && as_dir=.
4752
5569
  for ac_exec_ext in '' $ac_executable_extensions; do
4753
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5570
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4754
5571
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4755
5572
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4756
5573
    break 2
4757
5574
  fi
4758
5575
done
4759
5576
done
 
5577
IFS=$as_save_IFS
4760
5578
 
4761
5579
fi
4762
5580
fi
4763
5581
DLLTOOL=$ac_cv_prog_DLLTOOL
4764
5582
if test -n "$DLLTOOL"; then
4765
 
  echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4766
 
echo "${ECHO_T}$DLLTOOL" >&6
 
5583
  { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
 
5584
echo "${ECHO_T}$DLLTOOL" >&6; }
4767
5585
else
4768
 
  echo "$as_me:$LINENO: result: no" >&5
4769
 
echo "${ECHO_T}no" >&6
 
5586
  { echo "$as_me:$LINENO: result: no" >&5
 
5587
echo "${ECHO_T}no" >&6; }
4770
5588
fi
 
5589
 
4771
5590
 
4772
5591
fi
4773
5592
if test -z "$ac_cv_prog_DLLTOOL"; then
4774
5593
  ac_ct_DLLTOOL=$DLLTOOL
4775
5594
  # Extract the first word of "dlltool", so it can be a program name with args.
4776
5595
set dummy dlltool; ac_word=$2
4777
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4778
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5596
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5597
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4779
5598
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4780
5599
  echo $ECHO_N "(cached) $ECHO_C" >&6
4781
5600
else
4788
5607
  IFS=$as_save_IFS
4789
5608
  test -z "$as_dir" && as_dir=.
4790
5609
  for ac_exec_ext in '' $ac_executable_extensions; do
4791
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5610
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4792
5611
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4793
5612
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4794
5613
    break 2
4795
5614
  fi
4796
5615
done
4797
5616
done
 
5617
IFS=$as_save_IFS
4798
5618
 
4799
 
  test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
4800
5619
fi
4801
5620
fi
4802
5621
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4803
5622
if test -n "$ac_ct_DLLTOOL"; then
4804
 
  echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4805
 
echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
 
5623
  { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
 
5624
echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
4806
5625
else
4807
 
  echo "$as_me:$LINENO: result: no" >&5
4808
 
echo "${ECHO_T}no" >&6
 
5626
  { echo "$as_me:$LINENO: result: no" >&5
 
5627
echo "${ECHO_T}no" >&6; }
4809
5628
fi
4810
5629
 
4811
 
  DLLTOOL=$ac_ct_DLLTOOL
 
5630
  if test "x$ac_ct_DLLTOOL" = x; then
 
5631
    DLLTOOL="false"
 
5632
  else
 
5633
    case $cross_compiling:$ac_tool_warned in
 
5634
yes:)
 
5635
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
5636
whose name does not start with the host triplet.  If you think this
 
5637
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
5638
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
5639
whose name does not start with the host triplet.  If you think this
 
5640
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5641
ac_tool_warned=yes ;;
 
5642
esac
 
5643
    DLLTOOL=$ac_ct_DLLTOOL
 
5644
  fi
4812
5645
else
4813
5646
  DLLTOOL="$ac_cv_prog_DLLTOOL"
4814
5647
fi
4816
5649
  if test -n "$ac_tool_prefix"; then
4817
5650
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4818
5651
set dummy ${ac_tool_prefix}as; ac_word=$2
4819
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4820
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5652
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5653
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4821
5654
if test "${ac_cv_prog_AS+set}" = set; then
4822
5655
  echo $ECHO_N "(cached) $ECHO_C" >&6
4823
5656
else
4830
5663
  IFS=$as_save_IFS
4831
5664
  test -z "$as_dir" && as_dir=.
4832
5665
  for ac_exec_ext in '' $ac_executable_extensions; do
4833
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5666
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4834
5667
    ac_cv_prog_AS="${ac_tool_prefix}as"
4835
5668
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4836
5669
    break 2
4837
5670
  fi
4838
5671
done
4839
5672
done
 
5673
IFS=$as_save_IFS
4840
5674
 
4841
5675
fi
4842
5676
fi
4843
5677
AS=$ac_cv_prog_AS
4844
5678
if test -n "$AS"; then
4845
 
  echo "$as_me:$LINENO: result: $AS" >&5
4846
 
echo "${ECHO_T}$AS" >&6
 
5679
  { echo "$as_me:$LINENO: result: $AS" >&5
 
5680
echo "${ECHO_T}$AS" >&6; }
4847
5681
else
4848
 
  echo "$as_me:$LINENO: result: no" >&5
4849
 
echo "${ECHO_T}no" >&6
 
5682
  { echo "$as_me:$LINENO: result: no" >&5
 
5683
echo "${ECHO_T}no" >&6; }
4850
5684
fi
 
5685
 
4851
5686
 
4852
5687
fi
4853
5688
if test -z "$ac_cv_prog_AS"; then
4854
5689
  ac_ct_AS=$AS
4855
5690
  # Extract the first word of "as", so it can be a program name with args.
4856
5691
set dummy as; ac_word=$2
4857
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4858
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5692
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5693
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4859
5694
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4860
5695
  echo $ECHO_N "(cached) $ECHO_C" >&6
4861
5696
else
4868
5703
  IFS=$as_save_IFS
4869
5704
  test -z "$as_dir" && as_dir=.
4870
5705
  for ac_exec_ext in '' $ac_executable_extensions; do
4871
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5706
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4872
5707
    ac_cv_prog_ac_ct_AS="as"
4873
5708
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4874
5709
    break 2
4875
5710
  fi
4876
5711
done
4877
5712
done
 
5713
IFS=$as_save_IFS
4878
5714
 
4879
 
  test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
4880
5715
fi
4881
5716
fi
4882
5717
ac_ct_AS=$ac_cv_prog_ac_ct_AS
4883
5718
if test -n "$ac_ct_AS"; then
4884
 
  echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4885
 
echo "${ECHO_T}$ac_ct_AS" >&6
 
5719
  { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
 
5720
echo "${ECHO_T}$ac_ct_AS" >&6; }
4886
5721
else
4887
 
  echo "$as_me:$LINENO: result: no" >&5
4888
 
echo "${ECHO_T}no" >&6
 
5722
  { echo "$as_me:$LINENO: result: no" >&5
 
5723
echo "${ECHO_T}no" >&6; }
4889
5724
fi
4890
5725
 
4891
 
  AS=$ac_ct_AS
 
5726
  if test "x$ac_ct_AS" = x; then
 
5727
    AS="false"
 
5728
  else
 
5729
    case $cross_compiling:$ac_tool_warned in
 
5730
yes:)
 
5731
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
5732
whose name does not start with the host triplet.  If you think this
 
5733
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
5734
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
5735
whose name does not start with the host triplet.  If you think this
 
5736
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5737
ac_tool_warned=yes ;;
 
5738
esac
 
5739
    AS=$ac_ct_AS
 
5740
  fi
4892
5741
else
4893
5742
  AS="$ac_cv_prog_AS"
4894
5743
fi
4896
5745
  if test -n "$ac_tool_prefix"; then
4897
5746
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4898
5747
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4899
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4900
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5748
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5749
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4901
5750
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4902
5751
  echo $ECHO_N "(cached) $ECHO_C" >&6
4903
5752
else
4910
5759
  IFS=$as_save_IFS
4911
5760
  test -z "$as_dir" && as_dir=.
4912
5761
  for ac_exec_ext in '' $ac_executable_extensions; do
4913
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5762
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4914
5763
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4915
5764
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4916
5765
    break 2
4917
5766
  fi
4918
5767
done
4919
5768
done
 
5769
IFS=$as_save_IFS
4920
5770
 
4921
5771
fi
4922
5772
fi
4923
5773
OBJDUMP=$ac_cv_prog_OBJDUMP
4924
5774
if test -n "$OBJDUMP"; then
4925
 
  echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4926
 
echo "${ECHO_T}$OBJDUMP" >&6
 
5775
  { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
5776
echo "${ECHO_T}$OBJDUMP" >&6; }
4927
5777
else
4928
 
  echo "$as_me:$LINENO: result: no" >&5
4929
 
echo "${ECHO_T}no" >&6
 
5778
  { echo "$as_me:$LINENO: result: no" >&5
 
5779
echo "${ECHO_T}no" >&6; }
4930
5780
fi
 
5781
 
4931
5782
 
4932
5783
fi
4933
5784
if test -z "$ac_cv_prog_OBJDUMP"; then
4934
5785
  ac_ct_OBJDUMP=$OBJDUMP
4935
5786
  # Extract the first word of "objdump", so it can be a program name with args.
4936
5787
set dummy objdump; ac_word=$2
4937
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4938
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5788
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5789
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4939
5790
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4940
5791
  echo $ECHO_N "(cached) $ECHO_C" >&6
4941
5792
else
4948
5799
  IFS=$as_save_IFS
4949
5800
  test -z "$as_dir" && as_dir=.
4950
5801
  for ac_exec_ext in '' $ac_executable_extensions; do
4951
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5802
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4952
5803
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4953
5804
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4954
5805
    break 2
4955
5806
  fi
4956
5807
done
4957
5808
done
 
5809
IFS=$as_save_IFS
4958
5810
 
4959
 
  test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
4960
5811
fi
4961
5812
fi
4962
5813
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4963
5814
if test -n "$ac_ct_OBJDUMP"; then
4964
 
  echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4965
 
echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
 
5815
  { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
5816
echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
4966
5817
else
4967
 
  echo "$as_me:$LINENO: result: no" >&5
4968
 
echo "${ECHO_T}no" >&6
 
5818
  { echo "$as_me:$LINENO: result: no" >&5
 
5819
echo "${ECHO_T}no" >&6; }
4969
5820
fi
4970
5821
 
4971
 
  OBJDUMP=$ac_ct_OBJDUMP
 
5822
  if test "x$ac_ct_OBJDUMP" = x; then
 
5823
    OBJDUMP="false"
 
5824
  else
 
5825
    case $cross_compiling:$ac_tool_warned in
 
5826
yes:)
 
5827
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
5828
whose name does not start with the host triplet.  If you think this
 
5829
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
5830
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
5831
whose name does not start with the host triplet.  If you think this
 
5832
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5833
ac_tool_warned=yes ;;
 
5834
esac
 
5835
    OBJDUMP=$ac_ct_OBJDUMP
 
5836
  fi
4972
5837
else
4973
5838
  OBJDUMP="$ac_cv_prog_OBJDUMP"
4974
5839
fi
4994
5859
                  inttypes.h stdint.h unistd.h
4995
5860
do
4996
5861
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4997
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4998
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4999
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5862
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5863
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5864
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5000
5865
  echo $ECHO_N "(cached) $ECHO_C" >&6
5001
5866
else
5002
5867
  cat >conftest.$ac_ext <<_ACEOF
5010
5875
#include <$ac_header>
5011
5876
_ACEOF
5012
5877
rm -f conftest.$ac_objext
5013
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5014
 
  (eval $ac_compile) 2>conftest.er1
 
5878
if { (ac_try="$ac_compile"
 
5879
case "(($ac_try" in
 
5880
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5881
  *) ac_try_echo=$ac_try;;
 
5882
esac
 
5883
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5884
  (eval "$ac_compile") 2>conftest.er1
5015
5885
  ac_status=$?
5016
5886
  grep -v '^ *+' conftest.er1 >conftest.err
5017
5887
  rm -f conftest.er1
5018
5888
  cat conftest.err >&5
5019
5889
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5020
 
  (exit $ac_status); } &&
5021
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5022
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5023
 
  (eval $ac_try) 2>&5
5024
 
  ac_status=$?
5025
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5026
 
  (exit $ac_status); }; } &&
5027
 
         { ac_try='test -s conftest.$ac_objext'
5028
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5029
 
  (eval $ac_try) 2>&5
5030
 
  ac_status=$?
5031
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5032
 
  (exit $ac_status); }; }; then
 
5890
  (exit $ac_status); } && {
 
5891
         test -z "$ac_c_werror_flag" ||
 
5892
         test ! -s conftest.err
 
5893
       } && test -s conftest.$ac_objext; then
5033
5894
  eval "$as_ac_Header=yes"
5034
5895
else
5035
5896
  echo "$as_me: failed program was:" >&5
5036
5897
sed 's/^/| /' conftest.$ac_ext >&5
5037
5898
 
5038
 
eval "$as_ac_Header=no"
5039
 
fi
5040
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5041
 
fi
5042
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5043
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5899
        eval "$as_ac_Header=no"
 
5900
fi
 
5901
 
 
5902
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5903
fi
 
5904
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5905
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5906
echo "${ECHO_T}$ac_res" >&6; }
5044
5907
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5045
5908
  cat >>confdefs.h <<_ACEOF
5046
5909
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5055
5918
for ac_header in dlfcn.h
5056
5919
do
5057
5920
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5058
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5059
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
5060
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5061
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5921
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5922
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5923
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5924
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5062
5925
  echo $ECHO_N "(cached) $ECHO_C" >&6
5063
5926
fi
5064
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5065
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5927
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5928
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5929
echo "${ECHO_T}$ac_res" >&6; }
5066
5930
else
5067
5931
  # Is the header compilable?
5068
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5069
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
5932
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
5933
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5070
5934
cat >conftest.$ac_ext <<_ACEOF
5071
5935
/* confdefs.h.  */
5072
5936
_ACEOF
5077
5941
#include <$ac_header>
5078
5942
_ACEOF
5079
5943
rm -f conftest.$ac_objext
5080
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5081
 
  (eval $ac_compile) 2>conftest.er1
 
5944
if { (ac_try="$ac_compile"
 
5945
case "(($ac_try" in
 
5946
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5947
  *) ac_try_echo=$ac_try;;
 
5948
esac
 
5949
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5950
  (eval "$ac_compile") 2>conftest.er1
5082
5951
  ac_status=$?
5083
5952
  grep -v '^ *+' conftest.er1 >conftest.err
5084
5953
  rm -f conftest.er1
5085
5954
  cat conftest.err >&5
5086
5955
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5087
 
  (exit $ac_status); } &&
5088
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5089
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5090
 
  (eval $ac_try) 2>&5
5091
 
  ac_status=$?
5092
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5093
 
  (exit $ac_status); }; } &&
5094
 
         { ac_try='test -s conftest.$ac_objext'
5095
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5096
 
  (eval $ac_try) 2>&5
5097
 
  ac_status=$?
5098
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5099
 
  (exit $ac_status); }; }; then
 
5956
  (exit $ac_status); } && {
 
5957
         test -z "$ac_c_werror_flag" ||
 
5958
         test ! -s conftest.err
 
5959
       } && test -s conftest.$ac_objext; then
5100
5960
  ac_header_compiler=yes
5101
5961
else
5102
5962
  echo "$as_me: failed program was:" >&5
5103
5963
sed 's/^/| /' conftest.$ac_ext >&5
5104
5964
 
5105
 
ac_header_compiler=no
 
5965
        ac_header_compiler=no
5106
5966
fi
5107
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5108
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5109
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
5967
 
 
5968
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5969
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5970
echo "${ECHO_T}$ac_header_compiler" >&6; }
5110
5971
 
5111
5972
# Is the header present?
5112
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5113
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
5973
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
5974
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5114
5975
cat >conftest.$ac_ext <<_ACEOF
5115
5976
/* confdefs.h.  */
5116
5977
_ACEOF
5119
5980
/* end confdefs.h.  */
5120
5981
#include <$ac_header>
5121
5982
_ACEOF
5122
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5123
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5983
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5984
case "(($ac_try" in
 
5985
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5986
  *) ac_try_echo=$ac_try;;
 
5987
esac
 
5988
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5989
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5124
5990
  ac_status=$?
5125
5991
  grep -v '^ *+' conftest.er1 >conftest.err
5126
5992
  rm -f conftest.er1
5127
5993
  cat conftest.err >&5
5128
5994
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5129
 
  (exit $ac_status); } >/dev/null; then
5130
 
  if test -s conftest.err; then
5131
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5132
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5133
 
  else
5134
 
    ac_cpp_err=
5135
 
  fi
5136
 
else
5137
 
  ac_cpp_err=yes
5138
 
fi
5139
 
if test -z "$ac_cpp_err"; then
 
5995
  (exit $ac_status); } >/dev/null && {
 
5996
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5997
         test ! -s conftest.err
 
5998
       }; then
5140
5999
  ac_header_preproc=yes
5141
6000
else
5142
6001
  echo "$as_me: failed program was:" >&5
5144
6003
 
5145
6004
  ac_header_preproc=no
5146
6005
fi
 
6006
 
5147
6007
rm -f conftest.err conftest.$ac_ext
5148
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5149
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
6008
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
6009
echo "${ECHO_T}$ac_header_preproc" >&6; }
5150
6010
 
5151
6011
# So?  What about this header?
5152
6012
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5170
6030
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5171
6031
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5172
6032
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5173
 
    (
5174
 
      cat <<\_ASBOX
 
6033
    ( cat <<\_ASBOX
5175
6034
## ---------------------------------------------------------- ##
5176
6035
## Report this to lasso-devel@lists.labs.libre-entreprise.org ##
5177
6036
## ---------------------------------------------------------- ##
5178
6037
_ASBOX
5179
 
    ) |
5180
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
6038
     ) | sed "s/^/$as_me: WARNING:     /" >&2
5181
6039
    ;;
5182
6040
esac
5183
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
5184
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5185
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
6041
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6042
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
6043
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5186
6044
  echo $ECHO_N "(cached) $ECHO_C" >&6
5187
6045
else
5188
6046
  eval "$as_ac_Header=\$ac_header_preproc"
5189
6047
fi
5190
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5191
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
6048
ac_res=`eval echo '${'$as_ac_Header'}'`
 
6049
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
6050
echo "${ECHO_T}$ac_res" >&6; }
5192
6051
 
5193
6052
fi
5194
6053
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5200
6059
 
5201
6060
done
5202
6061
 
5203
 
ac_ext=cc
 
6062
ac_ext=cpp
5204
6063
ac_cpp='$CXXCPP $CPPFLAGS'
5205
6064
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5206
6065
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5207
6066
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5208
 
if test -n "$ac_tool_prefix"; then
5209
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
6067
if test -z "$CXX"; then
 
6068
  if test -n "$CCC"; then
 
6069
    CXX=$CCC
 
6070
  else
 
6071
    if test -n "$ac_tool_prefix"; then
 
6072
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5210
6073
  do
5211
6074
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5212
6075
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5213
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5214
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6076
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6077
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5215
6078
if test "${ac_cv_prog_CXX+set}" = set; then
5216
6079
  echo $ECHO_N "(cached) $ECHO_C" >&6
5217
6080
else
5224
6087
  IFS=$as_save_IFS
5225
6088
  test -z "$as_dir" && as_dir=.
5226
6089
  for ac_exec_ext in '' $ac_executable_extensions; do
5227
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6090
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5228
6091
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5229
6092
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5230
6093
    break 2
5231
6094
  fi
5232
6095
done
5233
6096
done
 
6097
IFS=$as_save_IFS
5234
6098
 
5235
6099
fi
5236
6100
fi
5237
6101
CXX=$ac_cv_prog_CXX
5238
6102
if test -n "$CXX"; then
5239
 
  echo "$as_me:$LINENO: result: $CXX" >&5
5240
 
echo "${ECHO_T}$CXX" >&6
 
6103
  { echo "$as_me:$LINENO: result: $CXX" >&5
 
6104
echo "${ECHO_T}$CXX" >&6; }
5241
6105
else
5242
 
  echo "$as_me:$LINENO: result: no" >&5
5243
 
echo "${ECHO_T}no" >&6
 
6106
  { echo "$as_me:$LINENO: result: no" >&5
 
6107
echo "${ECHO_T}no" >&6; }
5244
6108
fi
5245
6109
 
 
6110
 
5246
6111
    test -n "$CXX" && break
5247
6112
  done
5248
6113
fi
5249
6114
if test -z "$CXX"; then
5250
6115
  ac_ct_CXX=$CXX
5251
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
6116
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5252
6117
do
5253
6118
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5254
6119
set dummy $ac_prog; ac_word=$2
5255
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5256
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6120
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6121
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5257
6122
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5258
6123
  echo $ECHO_N "(cached) $ECHO_C" >&6
5259
6124
else
5266
6131
  IFS=$as_save_IFS
5267
6132
  test -z "$as_dir" && as_dir=.
5268
6133
  for ac_exec_ext in '' $ac_executable_extensions; do
5269
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6134
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5270
6135
    ac_cv_prog_ac_ct_CXX="$ac_prog"
5271
6136
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5272
6137
    break 2
5273
6138
  fi
5274
6139
done
5275
6140
done
 
6141
IFS=$as_save_IFS
5276
6142
 
5277
6143
fi
5278
6144
fi
5279
6145
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5280
6146
if test -n "$ac_ct_CXX"; then
5281
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5282
 
echo "${ECHO_T}$ac_ct_CXX" >&6
 
6147
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
6148
echo "${ECHO_T}$ac_ct_CXX" >&6; }
5283
6149
else
5284
 
  echo "$as_me:$LINENO: result: no" >&5
5285
 
echo "${ECHO_T}no" >&6
 
6150
  { echo "$as_me:$LINENO: result: no" >&5
 
6151
echo "${ECHO_T}no" >&6; }
5286
6152
fi
5287
6153
 
 
6154
 
5288
6155
  test -n "$ac_ct_CXX" && break
5289
6156
done
5290
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
5291
 
 
5292
 
  CXX=$ac_ct_CXX
5293
 
fi
5294
 
 
5295
 
 
 
6157
 
 
6158
  if test "x$ac_ct_CXX" = x; then
 
6159
    CXX="g++"
 
6160
  else
 
6161
    case $cross_compiling:$ac_tool_warned in
 
6162
yes:)
 
6163
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6164
whose name does not start with the host triplet.  If you think this
 
6165
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6166
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6167
whose name does not start with the host triplet.  If you think this
 
6168
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6169
ac_tool_warned=yes ;;
 
6170
esac
 
6171
    CXX=$ac_ct_CXX
 
6172
  fi
 
6173
fi
 
6174
 
 
6175
  fi
 
6176
fi
5296
6177
# Provide some information about the compiler.
5297
 
echo "$as_me:$LINENO:" \
5298
 
     "checking for C++ compiler version" >&5
 
6178
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5299
6179
ac_compiler=`set X $ac_compile; echo $2`
5300
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5301
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
5302
 
  ac_status=$?
5303
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5304
 
  (exit $ac_status); }
5305
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5306
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
5307
 
  ac_status=$?
5308
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5309
 
  (exit $ac_status); }
5310
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5311
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
6180
{ (ac_try="$ac_compiler --version >&5"
 
6181
case "(($ac_try" in
 
6182
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6183
  *) ac_try_echo=$ac_try;;
 
6184
esac
 
6185
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6186
  (eval "$ac_compiler --version >&5") 2>&5
 
6187
  ac_status=$?
 
6188
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6189
  (exit $ac_status); }
 
6190
{ (ac_try="$ac_compiler -v >&5"
 
6191
case "(($ac_try" in
 
6192
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6193
  *) ac_try_echo=$ac_try;;
 
6194
esac
 
6195
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6196
  (eval "$ac_compiler -v >&5") 2>&5
 
6197
  ac_status=$?
 
6198
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6199
  (exit $ac_status); }
 
6200
{ (ac_try="$ac_compiler -V >&5"
 
6201
case "(($ac_try" in
 
6202
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6203
  *) ac_try_echo=$ac_try;;
 
6204
esac
 
6205
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6206
  (eval "$ac_compiler -V >&5") 2>&5
5312
6207
  ac_status=$?
5313
6208
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5314
6209
  (exit $ac_status); }
5315
6210
 
5316
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5317
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 
6211
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
6212
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5318
6213
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5319
6214
  echo $ECHO_N "(cached) $ECHO_C" >&6
5320
6215
else
5337
6232
}
5338
6233
_ACEOF
5339
6234
rm -f conftest.$ac_objext
5340
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5341
 
  (eval $ac_compile) 2>conftest.er1
 
6235
if { (ac_try="$ac_compile"
 
6236
case "(($ac_try" in
 
6237
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6238
  *) ac_try_echo=$ac_try;;
 
6239
esac
 
6240
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6241
  (eval "$ac_compile") 2>conftest.er1
5342
6242
  ac_status=$?
5343
6243
  grep -v '^ *+' conftest.er1 >conftest.err
5344
6244
  rm -f conftest.er1
5345
6245
  cat conftest.err >&5
5346
6246
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5347
 
  (exit $ac_status); } &&
5348
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
5349
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5350
 
  (eval $ac_try) 2>&5
5351
 
  ac_status=$?
5352
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5353
 
  (exit $ac_status); }; } &&
5354
 
         { ac_try='test -s conftest.$ac_objext'
5355
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5356
 
  (eval $ac_try) 2>&5
5357
 
  ac_status=$?
5358
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5359
 
  (exit $ac_status); }; }; then
 
6247
  (exit $ac_status); } && {
 
6248
         test -z "$ac_cxx_werror_flag" ||
 
6249
         test ! -s conftest.err
 
6250
       } && test -s conftest.$ac_objext; then
5360
6251
  ac_compiler_gnu=yes
5361
6252
else
5362
6253
  echo "$as_me: failed program was:" >&5
5363
6254
sed 's/^/| /' conftest.$ac_ext >&5
5364
6255
 
5365
 
ac_compiler_gnu=no
 
6256
        ac_compiler_gnu=no
5366
6257
fi
5367
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
6258
 
 
6259
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5368
6260
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5369
6261
 
5370
6262
fi
5371
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5372
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 
6263
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
6264
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5373
6265
GXX=`test $ac_compiler_gnu = yes && echo yes`
5374
6266
ac_test_CXXFLAGS=${CXXFLAGS+set}
5375
6267
ac_save_CXXFLAGS=$CXXFLAGS
5376
 
CXXFLAGS="-g"
5377
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5378
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 
6268
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
6269
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5379
6270
if test "${ac_cv_prog_cxx_g+set}" = set; then
5380
6271
  echo $ECHO_N "(cached) $ECHO_C" >&6
5381
6272
else
5382
 
  cat >conftest.$ac_ext <<_ACEOF
5383
 
/* confdefs.h.  */
5384
 
_ACEOF
5385
 
cat confdefs.h >>conftest.$ac_ext
5386
 
cat >>conftest.$ac_ext <<_ACEOF
5387
 
/* end confdefs.h.  */
5388
 
 
5389
 
int
5390
 
main ()
5391
 
{
5392
 
 
5393
 
  ;
5394
 
  return 0;
5395
 
}
5396
 
_ACEOF
5397
 
rm -f conftest.$ac_objext
5398
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5399
 
  (eval $ac_compile) 2>conftest.er1
5400
 
  ac_status=$?
5401
 
  grep -v '^ *+' conftest.er1 >conftest.err
5402
 
  rm -f conftest.er1
5403
 
  cat conftest.err >&5
5404
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5405
 
  (exit $ac_status); } &&
5406
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
5407
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5408
 
  (eval $ac_try) 2>&5
5409
 
  ac_status=$?
5410
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5411
 
  (exit $ac_status); }; } &&
5412
 
         { ac_try='test -s conftest.$ac_objext'
5413
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5414
 
  (eval $ac_try) 2>&5
5415
 
  ac_status=$?
5416
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5417
 
  (exit $ac_status); }; }; then
5418
 
  ac_cv_prog_cxx_g=yes
5419
 
else
5420
 
  echo "$as_me: failed program was:" >&5
5421
 
sed 's/^/| /' conftest.$ac_ext >&5
5422
 
 
5423
 
ac_cv_prog_cxx_g=no
5424
 
fi
5425
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5426
 
fi
5427
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5428
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 
6273
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
6274
   ac_cxx_werror_flag=yes
 
6275
   ac_cv_prog_cxx_g=no
 
6276
   CXXFLAGS="-g"
 
6277
   cat >conftest.$ac_ext <<_ACEOF
 
6278
/* confdefs.h.  */
 
6279
_ACEOF
 
6280
cat confdefs.h >>conftest.$ac_ext
 
6281
cat >>conftest.$ac_ext <<_ACEOF
 
6282
/* end confdefs.h.  */
 
6283
 
 
6284
int
 
6285
main ()
 
6286
{
 
6287
 
 
6288
  ;
 
6289
  return 0;
 
6290
}
 
6291
_ACEOF
 
6292
rm -f conftest.$ac_objext
 
6293
if { (ac_try="$ac_compile"
 
6294
case "(($ac_try" in
 
6295
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6296
  *) ac_try_echo=$ac_try;;
 
6297
esac
 
6298
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6299
  (eval "$ac_compile") 2>conftest.er1
 
6300
  ac_status=$?
 
6301
  grep -v '^ *+' conftest.er1 >conftest.err
 
6302
  rm -f conftest.er1
 
6303
  cat conftest.err >&5
 
6304
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6305
  (exit $ac_status); } && {
 
6306
         test -z "$ac_cxx_werror_flag" ||
 
6307
         test ! -s conftest.err
 
6308
       } && test -s conftest.$ac_objext; then
 
6309
  ac_cv_prog_cxx_g=yes
 
6310
else
 
6311
  echo "$as_me: failed program was:" >&5
 
6312
sed 's/^/| /' conftest.$ac_ext >&5
 
6313
 
 
6314
        CXXFLAGS=""
 
6315
      cat >conftest.$ac_ext <<_ACEOF
 
6316
/* confdefs.h.  */
 
6317
_ACEOF
 
6318
cat confdefs.h >>conftest.$ac_ext
 
6319
cat >>conftest.$ac_ext <<_ACEOF
 
6320
/* end confdefs.h.  */
 
6321
 
 
6322
int
 
6323
main ()
 
6324
{
 
6325
 
 
6326
  ;
 
6327
  return 0;
 
6328
}
 
6329
_ACEOF
 
6330
rm -f conftest.$ac_objext
 
6331
if { (ac_try="$ac_compile"
 
6332
case "(($ac_try" in
 
6333
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6334
  *) ac_try_echo=$ac_try;;
 
6335
esac
 
6336
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6337
  (eval "$ac_compile") 2>conftest.er1
 
6338
  ac_status=$?
 
6339
  grep -v '^ *+' conftest.er1 >conftest.err
 
6340
  rm -f conftest.er1
 
6341
  cat conftest.err >&5
 
6342
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6343
  (exit $ac_status); } && {
 
6344
         test -z "$ac_cxx_werror_flag" ||
 
6345
         test ! -s conftest.err
 
6346
       } && test -s conftest.$ac_objext; then
 
6347
  :
 
6348
else
 
6349
  echo "$as_me: failed program was:" >&5
 
6350
sed 's/^/| /' conftest.$ac_ext >&5
 
6351
 
 
6352
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
6353
         CXXFLAGS="-g"
 
6354
         cat >conftest.$ac_ext <<_ACEOF
 
6355
/* confdefs.h.  */
 
6356
_ACEOF
 
6357
cat confdefs.h >>conftest.$ac_ext
 
6358
cat >>conftest.$ac_ext <<_ACEOF
 
6359
/* end confdefs.h.  */
 
6360
 
 
6361
int
 
6362
main ()
 
6363
{
 
6364
 
 
6365
  ;
 
6366
  return 0;
 
6367
}
 
6368
_ACEOF
 
6369
rm -f conftest.$ac_objext
 
6370
if { (ac_try="$ac_compile"
 
6371
case "(($ac_try" in
 
6372
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6373
  *) ac_try_echo=$ac_try;;
 
6374
esac
 
6375
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6376
  (eval "$ac_compile") 2>conftest.er1
 
6377
  ac_status=$?
 
6378
  grep -v '^ *+' conftest.er1 >conftest.err
 
6379
  rm -f conftest.er1
 
6380
  cat conftest.err >&5
 
6381
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6382
  (exit $ac_status); } && {
 
6383
         test -z "$ac_cxx_werror_flag" ||
 
6384
         test ! -s conftest.err
 
6385
       } && test -s conftest.$ac_objext; then
 
6386
  ac_cv_prog_cxx_g=yes
 
6387
else
 
6388
  echo "$as_me: failed program was:" >&5
 
6389
sed 's/^/| /' conftest.$ac_ext >&5
 
6390
 
 
6391
 
 
6392
fi
 
6393
 
 
6394
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6395
fi
 
6396
 
 
6397
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6398
fi
 
6399
 
 
6400
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6401
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
6402
fi
 
6403
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
6404
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5429
6405
if test "$ac_test_CXXFLAGS" = set; then
5430
6406
  CXXFLAGS=$ac_save_CXXFLAGS
5431
6407
elif test $ac_cv_prog_cxx_g = yes; then
5441
6417
    CXXFLAGS=
5442
6418
  fi
5443
6419
fi
5444
 
for ac_declaration in \
5445
 
   '' \
5446
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
5447
 
   'extern "C" void std::exit (int); using std::exit;' \
5448
 
   'extern "C" void exit (int) throw ();' \
5449
 
   'extern "C" void exit (int);' \
5450
 
   'void exit (int);'
5451
 
do
5452
 
  cat >conftest.$ac_ext <<_ACEOF
5453
 
/* confdefs.h.  */
5454
 
_ACEOF
5455
 
cat confdefs.h >>conftest.$ac_ext
5456
 
cat >>conftest.$ac_ext <<_ACEOF
5457
 
/* end confdefs.h.  */
5458
 
$ac_declaration
5459
 
#include <stdlib.h>
5460
 
int
5461
 
main ()
5462
 
{
5463
 
exit (42);
5464
 
  ;
5465
 
  return 0;
5466
 
}
5467
 
_ACEOF
5468
 
rm -f conftest.$ac_objext
5469
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5470
 
  (eval $ac_compile) 2>conftest.er1
5471
 
  ac_status=$?
5472
 
  grep -v '^ *+' conftest.er1 >conftest.err
5473
 
  rm -f conftest.er1
5474
 
  cat conftest.err >&5
5475
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5476
 
  (exit $ac_status); } &&
5477
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
5478
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5479
 
  (eval $ac_try) 2>&5
5480
 
  ac_status=$?
5481
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5482
 
  (exit $ac_status); }; } &&
5483
 
         { ac_try='test -s conftest.$ac_objext'
5484
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5485
 
  (eval $ac_try) 2>&5
5486
 
  ac_status=$?
5487
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5488
 
  (exit $ac_status); }; }; then
5489
 
  :
5490
 
else
5491
 
  echo "$as_me: failed program was:" >&5
5492
 
sed 's/^/| /' conftest.$ac_ext >&5
5493
 
 
5494
 
continue
5495
 
fi
5496
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5497
 
  cat >conftest.$ac_ext <<_ACEOF
5498
 
/* confdefs.h.  */
5499
 
_ACEOF
5500
 
cat confdefs.h >>conftest.$ac_ext
5501
 
cat >>conftest.$ac_ext <<_ACEOF
5502
 
/* end confdefs.h.  */
5503
 
$ac_declaration
5504
 
int
5505
 
main ()
5506
 
{
5507
 
exit (42);
5508
 
  ;
5509
 
  return 0;
5510
 
}
5511
 
_ACEOF
5512
 
rm -f conftest.$ac_objext
5513
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5514
 
  (eval $ac_compile) 2>conftest.er1
5515
 
  ac_status=$?
5516
 
  grep -v '^ *+' conftest.er1 >conftest.err
5517
 
  rm -f conftest.er1
5518
 
  cat conftest.err >&5
5519
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5520
 
  (exit $ac_status); } &&
5521
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
5522
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5523
 
  (eval $ac_try) 2>&5
5524
 
  ac_status=$?
5525
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5526
 
  (exit $ac_status); }; } &&
5527
 
         { ac_try='test -s conftest.$ac_objext'
5528
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5529
 
  (eval $ac_try) 2>&5
5530
 
  ac_status=$?
5531
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5532
 
  (exit $ac_status); }; }; then
5533
 
  break
5534
 
else
5535
 
  echo "$as_me: failed program was:" >&5
5536
 
sed 's/^/| /' conftest.$ac_ext >&5
5537
 
 
5538
 
fi
5539
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5540
 
done
5541
 
rm -f conftest*
5542
 
if test -n "$ac_declaration"; then
5543
 
  echo '#ifdef __cplusplus' >>confdefs.h
5544
 
  echo $ac_declaration      >>confdefs.h
5545
 
  echo '#endif'             >>confdefs.h
5546
 
fi
5547
 
 
5548
 
ac_ext=cc
 
6420
ac_ext=cpp
5549
6421
ac_cpp='$CXXCPP $CPPFLAGS'
5550
6422
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5551
6423
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5553
6425
 
5554
6426
depcc="$CXX"  am_compiler_list=
5555
6427
 
5556
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5557
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
6428
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
6429
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5558
6430
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5559
6431
  echo $ECHO_N "(cached) $ECHO_C" >&6
5560
6432
else
5643
6515
fi
5644
6516
 
5645
6517
fi
5646
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5647
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 
6518
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
6519
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5648
6520
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5649
6521
 
5650
6522
 
5660
6532
fi
5661
6533
 
5662
6534
 
5663
 
ac_ext=cc
 
6535
 
 
6536
 
 
6537
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
6538
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
6539
    (test "X$CXX" != "Xg++"))) ; then
 
6540
  ac_ext=cpp
5664
6541
ac_cpp='$CXXCPP $CPPFLAGS'
5665
6542
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5666
6543
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5667
6544
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5668
 
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5669
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 
6545
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
6546
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5670
6547
if test -z "$CXXCPP"; then
5671
6548
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5672
6549
  echo $ECHO_N "(cached) $ECHO_C" >&6
5696
6573
#endif
5697
6574
                     Syntax error
5698
6575
_ACEOF
5699
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5700
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6576
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6577
case "(($ac_try" in
 
6578
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6579
  *) ac_try_echo=$ac_try;;
 
6580
esac
 
6581
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6582
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5701
6583
  ac_status=$?
5702
6584
  grep -v '^ *+' conftest.er1 >conftest.err
5703
6585
  rm -f conftest.er1
5704
6586
  cat conftest.err >&5
5705
6587
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5706
 
  (exit $ac_status); } >/dev/null; then
5707
 
  if test -s conftest.err; then
5708
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5709
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5710
 
  else
5711
 
    ac_cpp_err=
5712
 
  fi
5713
 
else
5714
 
  ac_cpp_err=yes
5715
 
fi
5716
 
if test -z "$ac_cpp_err"; then
 
6588
  (exit $ac_status); } >/dev/null && {
 
6589
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6590
         test ! -s conftest.err
 
6591
       }; then
5717
6592
  :
5718
6593
else
5719
6594
  echo "$as_me: failed program was:" >&5
5722
6597
  # Broken: fails on valid input.
5723
6598
continue
5724
6599
fi
 
6600
 
5725
6601
rm -f conftest.err conftest.$ac_ext
5726
6602
 
5727
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
6603
  # OK, works on sane cases.  Now check whether nonexistent headers
5728
6604
  # can be detected and how.
5729
6605
  cat >conftest.$ac_ext <<_ACEOF
5730
6606
/* confdefs.h.  */
5734
6610
/* end confdefs.h.  */
5735
6611
#include <ac_nonexistent.h>
5736
6612
_ACEOF
5737
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5738
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6613
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6614
case "(($ac_try" in
 
6615
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6616
  *) ac_try_echo=$ac_try;;
 
6617
esac
 
6618
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6619
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5739
6620
  ac_status=$?
5740
6621
  grep -v '^ *+' conftest.er1 >conftest.err
5741
6622
  rm -f conftest.er1
5742
6623
  cat conftest.err >&5
5743
6624
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5744
 
  (exit $ac_status); } >/dev/null; then
5745
 
  if test -s conftest.err; then
5746
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5747
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5748
 
  else
5749
 
    ac_cpp_err=
5750
 
  fi
5751
 
else
5752
 
  ac_cpp_err=yes
5753
 
fi
5754
 
if test -z "$ac_cpp_err"; then
 
6625
  (exit $ac_status); } >/dev/null && {
 
6626
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6627
         test ! -s conftest.err
 
6628
       }; then
5755
6629
  # Broken: success on invalid input.
5756
6630
continue
5757
6631
else
5762
6636
ac_preproc_ok=:
5763
6637
break
5764
6638
fi
 
6639
 
5765
6640
rm -f conftest.err conftest.$ac_ext
5766
6641
 
5767
6642
done
5779
6654
else
5780
6655
  ac_cv_prog_CXXCPP=$CXXCPP
5781
6656
fi
5782
 
echo "$as_me:$LINENO: result: $CXXCPP" >&5
5783
 
echo "${ECHO_T}$CXXCPP" >&6
 
6657
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
6658
echo "${ECHO_T}$CXXCPP" >&6; }
5784
6659
ac_preproc_ok=false
5785
6660
for ac_cxx_preproc_warn_flag in '' yes
5786
6661
do
5803
6678
#endif
5804
6679
                     Syntax error
5805
6680
_ACEOF
5806
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5807
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6681
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6682
case "(($ac_try" in
 
6683
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6684
  *) ac_try_echo=$ac_try;;
 
6685
esac
 
6686
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6687
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5808
6688
  ac_status=$?
5809
6689
  grep -v '^ *+' conftest.er1 >conftest.err
5810
6690
  rm -f conftest.er1
5811
6691
  cat conftest.err >&5
5812
6692
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5813
 
  (exit $ac_status); } >/dev/null; then
5814
 
  if test -s conftest.err; then
5815
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5816
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5817
 
  else
5818
 
    ac_cpp_err=
5819
 
  fi
5820
 
else
5821
 
  ac_cpp_err=yes
5822
 
fi
5823
 
if test -z "$ac_cpp_err"; then
 
6693
  (exit $ac_status); } >/dev/null && {
 
6694
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6695
         test ! -s conftest.err
 
6696
       }; then
5824
6697
  :
5825
6698
else
5826
6699
  echo "$as_me: failed program was:" >&5
5829
6702
  # Broken: fails on valid input.
5830
6703
continue
5831
6704
fi
 
6705
 
5832
6706
rm -f conftest.err conftest.$ac_ext
5833
6707
 
5834
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
6708
  # OK, works on sane cases.  Now check whether nonexistent headers
5835
6709
  # can be detected and how.
5836
6710
  cat >conftest.$ac_ext <<_ACEOF
5837
6711
/* confdefs.h.  */
5841
6715
/* end confdefs.h.  */
5842
6716
#include <ac_nonexistent.h>
5843
6717
_ACEOF
5844
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5845
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6718
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6719
case "(($ac_try" in
 
6720
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6721
  *) ac_try_echo=$ac_try;;
 
6722
esac
 
6723
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6724
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5846
6725
  ac_status=$?
5847
6726
  grep -v '^ *+' conftest.er1 >conftest.err
5848
6727
  rm -f conftest.er1
5849
6728
  cat conftest.err >&5
5850
6729
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5851
 
  (exit $ac_status); } >/dev/null; then
5852
 
  if test -s conftest.err; then
5853
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5854
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5855
 
  else
5856
 
    ac_cpp_err=
5857
 
  fi
5858
 
else
5859
 
  ac_cpp_err=yes
5860
 
fi
5861
 
if test -z "$ac_cpp_err"; then
 
6730
  (exit $ac_status); } >/dev/null && {
 
6731
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6732
         test ! -s conftest.err
 
6733
       }; then
5862
6734
  # Broken: success on invalid input.
5863
6735
continue
5864
6736
else
5869
6741
ac_preproc_ok=:
5870
6742
break
5871
6743
fi
 
6744
 
5872
6745
rm -f conftest.err conftest.$ac_ext
5873
6746
 
5874
6747
done
5884
6757
   { (exit 1); exit 1; }; }
5885
6758
fi
5886
6759
 
5887
 
ac_ext=cc
 
6760
ac_ext=cpp
5888
6761
ac_cpp='$CXXCPP $CPPFLAGS'
5889
6762
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5890
6763
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5891
6764
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5892
6765
 
 
6766
fi
 
6767
 
5893
6768
 
5894
6769
ac_ext=f
5895
6770
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5896
6771
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5897
6772
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5898
6773
if test -n "$ac_tool_prefix"; then
5899
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
6774
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
5900
6775
  do
5901
6776
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5902
6777
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5903
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5904
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6778
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6779
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5905
6780
if test "${ac_cv_prog_F77+set}" = set; then
5906
6781
  echo $ECHO_N "(cached) $ECHO_C" >&6
5907
6782
else
5914
6789
  IFS=$as_save_IFS
5915
6790
  test -z "$as_dir" && as_dir=.
5916
6791
  for ac_exec_ext in '' $ac_executable_extensions; do
5917
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6792
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5918
6793
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5919
6794
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5920
6795
    break 2
5921
6796
  fi
5922
6797
done
5923
6798
done
 
6799
IFS=$as_save_IFS
5924
6800
 
5925
6801
fi
5926
6802
fi
5927
6803
F77=$ac_cv_prog_F77
5928
6804
if test -n "$F77"; then
5929
 
  echo "$as_me:$LINENO: result: $F77" >&5
5930
 
echo "${ECHO_T}$F77" >&6
 
6805
  { echo "$as_me:$LINENO: result: $F77" >&5
 
6806
echo "${ECHO_T}$F77" >&6; }
5931
6807
else
5932
 
  echo "$as_me:$LINENO: result: no" >&5
5933
 
echo "${ECHO_T}no" >&6
 
6808
  { echo "$as_me:$LINENO: result: no" >&5
 
6809
echo "${ECHO_T}no" >&6; }
5934
6810
fi
5935
6811
 
 
6812
 
5936
6813
    test -n "$F77" && break
5937
6814
  done
5938
6815
fi
5939
6816
if test -z "$F77"; then
5940
6817
  ac_ct_F77=$F77
5941
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
6818
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
5942
6819
do
5943
6820
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5944
6821
set dummy $ac_prog; ac_word=$2
5945
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5946
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6822
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6823
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5947
6824
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5948
6825
  echo $ECHO_N "(cached) $ECHO_C" >&6
5949
6826
else
5956
6833
  IFS=$as_save_IFS
5957
6834
  test -z "$as_dir" && as_dir=.
5958
6835
  for ac_exec_ext in '' $ac_executable_extensions; do
5959
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6836
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5960
6837
    ac_cv_prog_ac_ct_F77="$ac_prog"
5961
6838
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5962
6839
    break 2
5963
6840
  fi
5964
6841
done
5965
6842
done
 
6843
IFS=$as_save_IFS
5966
6844
 
5967
6845
fi
5968
6846
fi
5969
6847
ac_ct_F77=$ac_cv_prog_ac_ct_F77
5970
6848
if test -n "$ac_ct_F77"; then
5971
 
  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5972
 
echo "${ECHO_T}$ac_ct_F77" >&6
 
6849
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
6850
echo "${ECHO_T}$ac_ct_F77" >&6; }
5973
6851
else
5974
 
  echo "$as_me:$LINENO: result: no" >&5
5975
 
echo "${ECHO_T}no" >&6
 
6852
  { echo "$as_me:$LINENO: result: no" >&5
 
6853
echo "${ECHO_T}no" >&6; }
5976
6854
fi
5977
6855
 
 
6856
 
5978
6857
  test -n "$ac_ct_F77" && break
5979
6858
done
5980
6859
 
5981
 
  F77=$ac_ct_F77
 
6860
  if test "x$ac_ct_F77" = x; then
 
6861
    F77=""
 
6862
  else
 
6863
    case $cross_compiling:$ac_tool_warned in
 
6864
yes:)
 
6865
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6866
whose name does not start with the host triplet.  If you think this
 
6867
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6868
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6869
whose name does not start with the host triplet.  If you think this
 
6870
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6871
ac_tool_warned=yes ;;
 
6872
esac
 
6873
    F77=$ac_ct_F77
 
6874
  fi
5982
6875
fi
5983
6876
 
5984
6877
 
5985
6878
# Provide some information about the compiler.
5986
 
echo "$as_me:5986:" \
5987
 
     "checking for Fortran 77 compiler version" >&5
 
6879
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5988
6880
ac_compiler=`set X $ac_compile; echo $2`
5989
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5990
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
5991
 
  ac_status=$?
5992
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5993
 
  (exit $ac_status); }
5994
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5995
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
5996
 
  ac_status=$?
5997
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5998
 
  (exit $ac_status); }
5999
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6000
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
6881
{ (ac_try="$ac_compiler --version >&5"
 
6882
case "(($ac_try" in
 
6883
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6884
  *) ac_try_echo=$ac_try;;
 
6885
esac
 
6886
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6887
  (eval "$ac_compiler --version >&5") 2>&5
 
6888
  ac_status=$?
 
6889
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6890
  (exit $ac_status); }
 
6891
{ (ac_try="$ac_compiler -v >&5"
 
6892
case "(($ac_try" in
 
6893
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6894
  *) ac_try_echo=$ac_try;;
 
6895
esac
 
6896
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6897
  (eval "$ac_compiler -v >&5") 2>&5
 
6898
  ac_status=$?
 
6899
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6900
  (exit $ac_status); }
 
6901
{ (ac_try="$ac_compiler -V >&5"
 
6902
case "(($ac_try" in
 
6903
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6904
  *) ac_try_echo=$ac_try;;
 
6905
esac
 
6906
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6907
  (eval "$ac_compiler -V >&5") 2>&5
6001
6908
  ac_status=$?
6002
6909
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6003
6910
  (exit $ac_status); }
6007
6914
# input file.  (Note that this only needs to work for GNU compilers.)
6008
6915
ac_save_ext=$ac_ext
6009
6916
ac_ext=F
6010
 
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6011
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
 
6917
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
6918
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6012
6919
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6013
6920
  echo $ECHO_N "(cached) $ECHO_C" >&6
6014
6921
else
6021
6928
      end
6022
6929
_ACEOF
6023
6930
rm -f conftest.$ac_objext
6024
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6025
 
  (eval $ac_compile) 2>conftest.er1
 
6931
if { (ac_try="$ac_compile"
 
6932
case "(($ac_try" in
 
6933
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6934
  *) ac_try_echo=$ac_try;;
 
6935
esac
 
6936
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6937
  (eval "$ac_compile") 2>conftest.er1
6026
6938
  ac_status=$?
6027
6939
  grep -v '^ *+' conftest.er1 >conftest.err
6028
6940
  rm -f conftest.er1
6029
6941
  cat conftest.err >&5
6030
6942
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031
 
  (exit $ac_status); } &&
6032
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
6033
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6034
 
  (eval $ac_try) 2>&5
6035
 
  ac_status=$?
6036
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6037
 
  (exit $ac_status); }; } &&
6038
 
         { ac_try='test -s conftest.$ac_objext'
6039
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6040
 
  (eval $ac_try) 2>&5
6041
 
  ac_status=$?
6042
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6043
 
  (exit $ac_status); }; }; then
 
6943
  (exit $ac_status); } && {
 
6944
         test -z "$ac_f77_werror_flag" ||
 
6945
         test ! -s conftest.err
 
6946
       } && test -s conftest.$ac_objext; then
6044
6947
  ac_compiler_gnu=yes
6045
6948
else
6046
6949
  echo "$as_me: failed program was:" >&5
6047
6950
sed 's/^/| /' conftest.$ac_ext >&5
6048
6951
 
6049
 
ac_compiler_gnu=no
 
6952
        ac_compiler_gnu=no
6050
6953
fi
6051
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
6954
 
 
6955
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6052
6956
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6053
6957
 
6054
6958
fi
6055
 
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6056
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
 
6959
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
6960
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6057
6961
ac_ext=$ac_save_ext
6058
6962
ac_test_FFLAGS=${FFLAGS+set}
6059
6963
ac_save_FFLAGS=$FFLAGS
6060
6964
FFLAGS=
6061
 
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6062
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
 
6965
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
6966
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6063
6967
if test "${ac_cv_prog_f77_g+set}" = set; then
6064
6968
  echo $ECHO_N "(cached) $ECHO_C" >&6
6065
6969
else
6070
6974
      end
6071
6975
_ACEOF
6072
6976
rm -f conftest.$ac_objext
6073
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6074
 
  (eval $ac_compile) 2>conftest.er1
 
6977
if { (ac_try="$ac_compile"
 
6978
case "(($ac_try" in
 
6979
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6980
  *) ac_try_echo=$ac_try;;
 
6981
esac
 
6982
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6983
  (eval "$ac_compile") 2>conftest.er1
6075
6984
  ac_status=$?
6076
6985
  grep -v '^ *+' conftest.er1 >conftest.err
6077
6986
  rm -f conftest.er1
6078
6987
  cat conftest.err >&5
6079
6988
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6080
 
  (exit $ac_status); } &&
6081
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
6082
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6083
 
  (eval $ac_try) 2>&5
6084
 
  ac_status=$?
6085
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6086
 
  (exit $ac_status); }; } &&
6087
 
         { ac_try='test -s conftest.$ac_objext'
6088
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6089
 
  (eval $ac_try) 2>&5
6090
 
  ac_status=$?
6091
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6092
 
  (exit $ac_status); }; }; then
 
6989
  (exit $ac_status); } && {
 
6990
         test -z "$ac_f77_werror_flag" ||
 
6991
         test ! -s conftest.err
 
6992
       } && test -s conftest.$ac_objext; then
6093
6993
  ac_cv_prog_f77_g=yes
6094
6994
else
6095
6995
  echo "$as_me: failed program was:" >&5
6096
6996
sed 's/^/| /' conftest.$ac_ext >&5
6097
6997
 
6098
 
ac_cv_prog_f77_g=no
6099
 
fi
6100
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6101
 
 
6102
 
fi
6103
 
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6104
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
 
6998
        ac_cv_prog_f77_g=no
 
6999
fi
 
7000
 
 
7001
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7002
 
 
7003
fi
 
7004
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
7005
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6105
7006
if test "$ac_test_FFLAGS" = set; then
6106
7007
  FFLAGS=$ac_save_FFLAGS
6107
7008
elif test $ac_cv_prog_f77_g = yes; then
6130
7031
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6131
7032
 
6132
7033
# find the maximum length of command line arguments
6133
 
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6134
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
 
7034
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
7035
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6135
7036
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6136
7037
  echo $ECHO_N "(cached) $ECHO_C" >&6
6137
7038
else
6171
7072
    lt_cv_sys_max_cmd_len=8192;
6172
7073
    ;;
6173
7074
 
6174
 
 *)
 
7075
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
7076
    # This has been around since 386BSD, at least.  Likely further.
 
7077
    if test -x /sbin/sysctl; then
 
7078
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
7079
    elif test -x /usr/sbin/sysctl; then
 
7080
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
7081
    else
 
7082
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
7083
    fi
 
7084
    # And add a safety zone
 
7085
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
7086
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
7087
    ;;
 
7088
 
 
7089
  interix*)
 
7090
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
7091
    lt_cv_sys_max_cmd_len=196608
 
7092
    ;;
 
7093
 
 
7094
  osf*)
 
7095
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
7096
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
7097
    # nice to cause kernel panics so lets avoid the loop below.
 
7098
    # First set a reasonable default.
 
7099
    lt_cv_sys_max_cmd_len=16384
 
7100
    #
 
7101
    if test -x /sbin/sysconfig; then
 
7102
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
7103
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
7104
      esac
 
7105
    fi
 
7106
    ;;
 
7107
  sco3.2v5*)
 
7108
    lt_cv_sys_max_cmd_len=102400
 
7109
    ;;
 
7110
  sysv5* | sco5v6* | sysv4.2uw2*)
 
7111
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
7112
    if test -n "$kargmax"; then
 
7113
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
 
7114
    else
 
7115
      lt_cv_sys_max_cmd_len=32768
 
7116
    fi
 
7117
    ;;
 
7118
  *)
6175
7119
    # If test is not a shell built-in, we'll probably end up computing a
6176
7120
    # maximum length that is only half of the actual maximum length, but
6177
7121
    # we can't tell.
6178
 
    while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 
7122
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
7123
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6179
7124
               = "XX$teststring") >/dev/null 2>&1 &&
6180
7125
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
6181
7126
            lt_cv_sys_max_cmd_len=$new_result &&
6195
7140
fi
6196
7141
 
6197
7142
if test -n $lt_cv_sys_max_cmd_len ; then
6198
 
  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6199
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
 
7143
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
7144
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6200
7145
else
6201
 
  echo "$as_me:$LINENO: result: none" >&5
6202
 
echo "${ECHO_T}none" >&6
 
7146
  { echo "$as_me:$LINENO: result: none" >&5
 
7147
echo "${ECHO_T}none" >&6; }
6203
7148
fi
6204
7149
 
6205
7150
 
6206
7151
 
6207
7152
 
6208
7153
# Check for command to grab the raw symbol name followed by C symbol from nm.
6209
 
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6210
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
 
7154
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
7155
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6211
7156
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6212
7157
  echo $ECHO_N "(cached) $ECHO_C" >&6
6213
7158
else
6221
7166
# Regexp to match symbols that can be accessed directly from C.
6222
7167
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6223
7168
 
6224
 
# Transform the above into a raw symbol and a C symbol.
6225
 
symxfrm='\1 \2\3 \3'
6226
 
 
6227
7169
# Transform an extracted symbol line into a proper C declaration
6228
7170
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6229
7171
 
6245
7187
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6246
7188
  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'"
6247
7189
  ;;
 
7190
linux* | k*bsd*-gnu)
 
7191
  if test "$host_cpu" = ia64; then
 
7192
    symcode='[ABCDGIRSTW]'
 
7193
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
7194
    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'"
 
7195
  fi
 
7196
  ;;
6248
7197
irix* | nonstopux*)
6249
7198
  symcode='[BCDEGRST]'
6250
7199
  ;;
6251
7200
osf*)
6252
7201
  symcode='[BCDEGQRST]'
6253
7202
  ;;
6254
 
solaris* | sysv5*)
 
7203
solaris*)
6255
7204
  symcode='[BDRT]'
6256
7205
  ;;
 
7206
sco3.2v5*)
 
7207
  symcode='[DT]'
 
7208
  ;;
 
7209
sysv4.2uw2*)
 
7210
  symcode='[DT]'
 
7211
  ;;
 
7212
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
7213
  symcode='[ABDT]'
 
7214
  ;;
6257
7215
sysv4)
6258
7216
  symcode='[DFNSTU]'
6259
7217
  ;;
6276
7234
# Try without a prefix undercore, then with it.
6277
7235
for ac_symprfx in "" "_"; do
6278
7236
 
 
7237
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
7238
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
7239
 
6279
7240
  # Write the raw and C identifiers.
6280
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
 
7241
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6281
7242
 
6282
7243
  # Check to see that the pipe works correctly.
6283
7244
  pipe_works=no
6395
7356
  lt_cv_sys_global_symbol_to_cdecl=
6396
7357
fi
6397
7358
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6398
 
  echo "$as_me:$LINENO: result: failed" >&5
6399
 
echo "${ECHO_T}failed" >&6
 
7359
  { echo "$as_me:$LINENO: result: failed" >&5
 
7360
echo "${ECHO_T}failed" >&6; }
6400
7361
else
6401
 
  echo "$as_me:$LINENO: result: ok" >&5
6402
 
echo "${ECHO_T}ok" >&6
 
7362
  { echo "$as_me:$LINENO: result: ok" >&5
 
7363
echo "${ECHO_T}ok" >&6; }
6403
7364
fi
6404
7365
 
6405
 
echo "$as_me:$LINENO: checking for objdir" >&5
6406
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 
7366
{ echo "$as_me:$LINENO: checking for objdir" >&5
 
7367
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6407
7368
if test "${lt_cv_objdir+set}" = set; then
6408
7369
  echo $ECHO_N "(cached) $ECHO_C" >&6
6409
7370
else
6417
7378
fi
6418
7379
rmdir .libs 2>/dev/null
6419
7380
fi
6420
 
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6421
 
echo "${ECHO_T}$lt_cv_objdir" >&6
 
7381
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
7382
echo "${ECHO_T}$lt_cv_objdir" >&6; }
6422
7383
objdir=$lt_cv_objdir
6423
7384
 
6424
7385
 
6439
7400
 
6440
7401
# Sed substitution that helps us do robust quoting.  It backslashifies
6441
7402
# metacharacters that are still active within double-quoted strings.
6442
 
Xsed='sed -e s/^X//'
 
7403
Xsed='sed -e 1s/^X//'
6443
7404
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
6444
7405
 
6445
7406
# Same as above, but do not quote variable references.
6459
7420
default_ofile=libtool
6460
7421
can_build_shared=yes
6461
7422
 
6462
 
# All known linkers require a `.a' archive for static linking (except M$VC,
 
7423
# All known linkers require a `.a' archive for static linking (except MSVC,
6463
7424
# which needs '.lib').
6464
7425
libext=a
6465
7426
ltmain="$ac_aux_dir/ltmain.sh"
6469
7430
if test -n "$ac_tool_prefix"; then
6470
7431
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6471
7432
set dummy ${ac_tool_prefix}ar; ac_word=$2
6472
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6473
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7433
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7434
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6474
7435
if test "${ac_cv_prog_AR+set}" = set; then
6475
7436
  echo $ECHO_N "(cached) $ECHO_C" >&6
6476
7437
else
6483
7444
  IFS=$as_save_IFS
6484
7445
  test -z "$as_dir" && as_dir=.
6485
7446
  for ac_exec_ext in '' $ac_executable_extensions; do
6486
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7447
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6487
7448
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6488
7449
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6489
7450
    break 2
6490
7451
  fi
6491
7452
done
6492
7453
done
 
7454
IFS=$as_save_IFS
6493
7455
 
6494
7456
fi
6495
7457
fi
6496
7458
AR=$ac_cv_prog_AR
6497
7459
if test -n "$AR"; then
6498
 
  echo "$as_me:$LINENO: result: $AR" >&5
6499
 
echo "${ECHO_T}$AR" >&6
 
7460
  { echo "$as_me:$LINENO: result: $AR" >&5
 
7461
echo "${ECHO_T}$AR" >&6; }
6500
7462
else
6501
 
  echo "$as_me:$LINENO: result: no" >&5
6502
 
echo "${ECHO_T}no" >&6
 
7463
  { echo "$as_me:$LINENO: result: no" >&5
 
7464
echo "${ECHO_T}no" >&6; }
6503
7465
fi
 
7466
 
6504
7467
 
6505
7468
fi
6506
7469
if test -z "$ac_cv_prog_AR"; then
6507
7470
  ac_ct_AR=$AR
6508
7471
  # Extract the first word of "ar", so it can be a program name with args.
6509
7472
set dummy ar; ac_word=$2
6510
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6511
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7473
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7474
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6512
7475
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6513
7476
  echo $ECHO_N "(cached) $ECHO_C" >&6
6514
7477
else
6521
7484
  IFS=$as_save_IFS
6522
7485
  test -z "$as_dir" && as_dir=.
6523
7486
  for ac_exec_ext in '' $ac_executable_extensions; do
6524
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7487
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6525
7488
    ac_cv_prog_ac_ct_AR="ar"
6526
7489
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6527
7490
    break 2
6528
7491
  fi
6529
7492
done
6530
7493
done
 
7494
IFS=$as_save_IFS
6531
7495
 
6532
 
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
6533
7496
fi
6534
7497
fi
6535
7498
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6536
7499
if test -n "$ac_ct_AR"; then
6537
 
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6538
 
echo "${ECHO_T}$ac_ct_AR" >&6
 
7500
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
7501
echo "${ECHO_T}$ac_ct_AR" >&6; }
6539
7502
else
6540
 
  echo "$as_me:$LINENO: result: no" >&5
6541
 
echo "${ECHO_T}no" >&6
 
7503
  { echo "$as_me:$LINENO: result: no" >&5
 
7504
echo "${ECHO_T}no" >&6; }
6542
7505
fi
6543
7506
 
6544
 
  AR=$ac_ct_AR
 
7507
  if test "x$ac_ct_AR" = x; then
 
7508
    AR="false"
 
7509
  else
 
7510
    case $cross_compiling:$ac_tool_warned in
 
7511
yes:)
 
7512
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7513
whose name does not start with the host triplet.  If you think this
 
7514
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7515
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7516
whose name does not start with the host triplet.  If you think this
 
7517
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7518
ac_tool_warned=yes ;;
 
7519
esac
 
7520
    AR=$ac_ct_AR
 
7521
  fi
6545
7522
else
6546
7523
  AR="$ac_cv_prog_AR"
6547
7524
fi
6549
7526
if test -n "$ac_tool_prefix"; then
6550
7527
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6551
7528
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6552
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6553
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7529
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7530
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6554
7531
if test "${ac_cv_prog_RANLIB+set}" = set; then
6555
7532
  echo $ECHO_N "(cached) $ECHO_C" >&6
6556
7533
else
6563
7540
  IFS=$as_save_IFS
6564
7541
  test -z "$as_dir" && as_dir=.
6565
7542
  for ac_exec_ext in '' $ac_executable_extensions; do
6566
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7543
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6567
7544
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6568
7545
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6569
7546
    break 2
6570
7547
  fi
6571
7548
done
6572
7549
done
 
7550
IFS=$as_save_IFS
6573
7551
 
6574
7552
fi
6575
7553
fi
6576
7554
RANLIB=$ac_cv_prog_RANLIB
6577
7555
if test -n "$RANLIB"; then
6578
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
6579
 
echo "${ECHO_T}$RANLIB" >&6
 
7556
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
7557
echo "${ECHO_T}$RANLIB" >&6; }
6580
7558
else
6581
 
  echo "$as_me:$LINENO: result: no" >&5
6582
 
echo "${ECHO_T}no" >&6
 
7559
  { echo "$as_me:$LINENO: result: no" >&5
 
7560
echo "${ECHO_T}no" >&6; }
6583
7561
fi
 
7562
 
6584
7563
 
6585
7564
fi
6586
7565
if test -z "$ac_cv_prog_RANLIB"; then
6587
7566
  ac_ct_RANLIB=$RANLIB
6588
7567
  # Extract the first word of "ranlib", so it can be a program name with args.
6589
7568
set dummy ranlib; ac_word=$2
6590
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6591
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7569
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7570
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6592
7571
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6593
7572
  echo $ECHO_N "(cached) $ECHO_C" >&6
6594
7573
else
6601
7580
  IFS=$as_save_IFS
6602
7581
  test -z "$as_dir" && as_dir=.
6603
7582
  for ac_exec_ext in '' $ac_executable_extensions; do
6604
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7583
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6605
7584
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6606
7585
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6607
7586
    break 2
6608
7587
  fi
6609
7588
done
6610
7589
done
 
7590
IFS=$as_save_IFS
6611
7591
 
6612
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6613
7592
fi
6614
7593
fi
6615
7594
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6616
7595
if test -n "$ac_ct_RANLIB"; then
6617
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6618
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
7596
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
7597
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6619
7598
else
6620
 
  echo "$as_me:$LINENO: result: no" >&5
6621
 
echo "${ECHO_T}no" >&6
 
7599
  { echo "$as_me:$LINENO: result: no" >&5
 
7600
echo "${ECHO_T}no" >&6; }
6622
7601
fi
6623
7602
 
6624
 
  RANLIB=$ac_ct_RANLIB
 
7603
  if test "x$ac_ct_RANLIB" = x; then
 
7604
    RANLIB=":"
 
7605
  else
 
7606
    case $cross_compiling:$ac_tool_warned in
 
7607
yes:)
 
7608
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7609
whose name does not start with the host triplet.  If you think this
 
7610
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7611
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7612
whose name does not start with the host triplet.  If you think this
 
7613
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7614
ac_tool_warned=yes ;;
 
7615
esac
 
7616
    RANLIB=$ac_ct_RANLIB
 
7617
  fi
6625
7618
else
6626
7619
  RANLIB="$ac_cv_prog_RANLIB"
6627
7620
fi
6629
7622
if test -n "$ac_tool_prefix"; then
6630
7623
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6631
7624
set dummy ${ac_tool_prefix}strip; ac_word=$2
6632
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6633
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7625
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7626
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6634
7627
if test "${ac_cv_prog_STRIP+set}" = set; then
6635
7628
  echo $ECHO_N "(cached) $ECHO_C" >&6
6636
7629
else
6643
7636
  IFS=$as_save_IFS
6644
7637
  test -z "$as_dir" && as_dir=.
6645
7638
  for ac_exec_ext in '' $ac_executable_extensions; do
6646
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7639
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6647
7640
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6648
7641
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6649
7642
    break 2
6650
7643
  fi
6651
7644
done
6652
7645
done
 
7646
IFS=$as_save_IFS
6653
7647
 
6654
7648
fi
6655
7649
fi
6656
7650
STRIP=$ac_cv_prog_STRIP
6657
7651
if test -n "$STRIP"; then
6658
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
6659
 
echo "${ECHO_T}$STRIP" >&6
 
7652
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
7653
echo "${ECHO_T}$STRIP" >&6; }
6660
7654
else
6661
 
  echo "$as_me:$LINENO: result: no" >&5
6662
 
echo "${ECHO_T}no" >&6
 
7655
  { echo "$as_me:$LINENO: result: no" >&5
 
7656
echo "${ECHO_T}no" >&6; }
6663
7657
fi
 
7658
 
6664
7659
 
6665
7660
fi
6666
7661
if test -z "$ac_cv_prog_STRIP"; then
6667
7662
  ac_ct_STRIP=$STRIP
6668
7663
  # Extract the first word of "strip", so it can be a program name with args.
6669
7664
set dummy strip; ac_word=$2
6670
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6671
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7665
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7666
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6672
7667
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6673
7668
  echo $ECHO_N "(cached) $ECHO_C" >&6
6674
7669
else
6681
7676
  IFS=$as_save_IFS
6682
7677
  test -z "$as_dir" && as_dir=.
6683
7678
  for ac_exec_ext in '' $ac_executable_extensions; do
6684
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7679
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6685
7680
    ac_cv_prog_ac_ct_STRIP="strip"
6686
7681
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6687
7682
    break 2
6688
7683
  fi
6689
7684
done
6690
7685
done
 
7686
IFS=$as_save_IFS
6691
7687
 
6692
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6693
7688
fi
6694
7689
fi
6695
7690
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6696
7691
if test -n "$ac_ct_STRIP"; then
6697
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6698
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
7692
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
7693
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6699
7694
else
6700
 
  echo "$as_me:$LINENO: result: no" >&5
6701
 
echo "${ECHO_T}no" >&6
 
7695
  { echo "$as_me:$LINENO: result: no" >&5
 
7696
echo "${ECHO_T}no" >&6; }
6702
7697
fi
6703
7698
 
6704
 
  STRIP=$ac_ct_STRIP
 
7699
  if test "x$ac_ct_STRIP" = x; then
 
7700
    STRIP=":"
 
7701
  else
 
7702
    case $cross_compiling:$ac_tool_warned in
 
7703
yes:)
 
7704
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7705
whose name does not start with the host triplet.  If you think this
 
7706
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7707
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7708
whose name does not start with the host triplet.  If you think this
 
7709
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7710
ac_tool_warned=yes ;;
 
7711
esac
 
7712
    STRIP=$ac_ct_STRIP
 
7713
  fi
6705
7714
else
6706
7715
  STRIP="$ac_cv_prog_STRIP"
6707
7716
fi
6716
7725
test -z "$AS" && AS=as
6717
7726
test -z "$CC" && CC=cc
6718
7727
test -z "$LTCC" && LTCC=$CC
 
7728
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6719
7729
test -z "$DLLTOOL" && DLLTOOL=dlltool
6720
7730
test -z "$LD" && LD=ld
6721
7731
test -z "$LN_S" && LN_S="ln -s"
6735
7745
if test -n "$RANLIB"; then
6736
7746
  case $host_os in
6737
7747
  openbsd*)
6738
 
    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
 
7748
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6739
7749
    ;;
6740
7750
  *)
6741
 
    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
 
7751
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6742
7752
    ;;
6743
7753
  esac
6744
7754
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6745
7755
fi
6746
7756
 
 
7757
for cc_temp in $compiler""; do
 
7758
  case $cc_temp in
 
7759
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
7760
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
7761
    \-*) ;;
 
7762
    *) break;;
 
7763
  esac
 
7764
done
 
7765
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
7766
 
 
7767
 
6747
7768
# Only perform the check for file, if the check method requires it
6748
7769
case $deplibs_check_method in
6749
7770
file_magic*)
6750
7771
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6751
 
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6752
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 
7772
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
7773
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6753
7774
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6754
7775
  echo $ECHO_N "(cached) $ECHO_C" >&6
6755
7776
else
6769
7790
      if test -n "$file_magic_test_file"; then
6770
7791
        case $deplibs_check_method in
6771
7792
        "file_magic "*)
6772
 
          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
 
7793
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6773
7794
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6774
7795
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6775
7796
            $EGREP "$file_magic_regex" > /dev/null; then
6801
7822
 
6802
7823
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6803
7824
if test -n "$MAGIC_CMD"; then
6804
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6805
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
7825
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7826
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6806
7827
else
6807
 
  echo "$as_me:$LINENO: result: no" >&5
6808
 
echo "${ECHO_T}no" >&6
 
7828
  { echo "$as_me:$LINENO: result: no" >&5
 
7829
echo "${ECHO_T}no" >&6; }
6809
7830
fi
6810
7831
 
6811
7832
if test -z "$lt_cv_path_MAGIC_CMD"; then
6812
7833
  if test -n "$ac_tool_prefix"; then
6813
 
    echo "$as_me:$LINENO: checking for file" >&5
6814
 
echo $ECHO_N "checking for file... $ECHO_C" >&6
 
7834
    { echo "$as_me:$LINENO: checking for file" >&5
 
7835
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6815
7836
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6816
7837
  echo $ECHO_N "(cached) $ECHO_C" >&6
6817
7838
else
6831
7852
      if test -n "$file_magic_test_file"; then
6832
7853
        case $deplibs_check_method in
6833
7854
        "file_magic "*)
6834
 
          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
 
7855
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6835
7856
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6836
7857
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6837
7858
            $EGREP "$file_magic_regex" > /dev/null; then
6863
7884
 
6864
7885
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6865
7886
if test -n "$MAGIC_CMD"; then
6866
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6867
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
7887
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7888
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6868
7889
else
6869
 
  echo "$as_me:$LINENO: result: no" >&5
6870
 
echo "${ECHO_T}no" >&6
 
7890
  { echo "$as_me:$LINENO: result: no" >&5
 
7891
echo "${ECHO_T}no" >&6; }
6871
7892
fi
6872
7893
 
6873
7894
  else
6882
7903
enable_dlopen=no
6883
7904
enable_win32_dll=yes
6884
7905
 
6885
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
7906
# Check whether --enable-libtool-lock was given.
6886
7907
if test "${enable_libtool_lock+set}" = set; then
6887
 
  enableval="$enable_libtool_lock"
 
7908
  enableval=$enable_libtool_lock;
 
7909
fi
6888
7910
 
6889
 
fi;
6890
7911
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6891
7912
 
6892
7913
 
6893
 
# Check whether --with-pic or --without-pic was given.
 
7914
# Check whether --with-pic was given.
6894
7915
if test "${with_pic+set}" = set; then
6895
 
  withval="$with_pic"
6896
 
  pic_mode="$withval"
 
7916
  withval=$with_pic; pic_mode="$withval"
6897
7917
else
6898
7918
  pic_mode=default
6899
 
fi;
 
7919
fi
 
7920
 
6900
7921
test -z "$pic_mode" && pic_mode=default
6901
7922
 
6902
7923
# Use C for the default configuration in the libtool script
6926
7947
# If no C compiler was specified, use CC.
6927
7948
LTCC=${LTCC-"$CC"}
6928
7949
 
 
7950
# If no C compiler flags were specified, use CFLAGS.
 
7951
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
7952
 
6929
7953
# Allow CC to be a program name with arguments.
6930
7954
compiler=$CC
6931
7955
 
6932
7956
 
6933
 
#
6934
 
# Check for any special shared library compilation flags.
6935
 
#
6936
 
lt_prog_cc_shlib=
6937
 
if test "$GCC" = no; then
6938
 
  case $host_os in
6939
 
  sco3.2v5*)
6940
 
    lt_prog_cc_shlib='-belf'
6941
 
    ;;
6942
 
  esac
6943
 
fi
6944
 
if test -n "$lt_prog_cc_shlib"; then
6945
 
  { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6946
 
echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6947
 
  if echo "$old_CC $old_CFLAGS " | grep "[      ]$lt_prog_cc_shlib[     ]" >/dev/null; then :
6948
 
  else
6949
 
    { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6950
 
echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6951
 
    lt_cv_prog_cc_can_build_shared=no
6952
 
  fi
6953
 
fi
6954
 
 
6955
 
 
6956
 
#
6957
 
# Check to make sure the static flag actually works.
6958
 
#
6959
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6960
 
echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6961
 
if test "${lt_prog_compiler_static_works+set}" = set; then
6962
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6963
 
else
6964
 
  lt_prog_compiler_static_works=no
6965
 
   save_LDFLAGS="$LDFLAGS"
6966
 
   LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6967
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
6968
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6969
 
     # The compiler can only warn and ignore the option if not recognized
6970
 
     # So say no if there are warnings
6971
 
     if test -s conftest.err; then
6972
 
       # Append any errors to the config.log.
6973
 
       cat conftest.err 1>&5
6974
 
     else
6975
 
       lt_prog_compiler_static_works=yes
6976
 
     fi
6977
 
   fi
6978
 
   $rm conftest*
6979
 
   LDFLAGS="$save_LDFLAGS"
6980
 
 
6981
 
fi
6982
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6983
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6984
 
 
6985
 
if test x"$lt_prog_compiler_static_works" = xyes; then
6986
 
    :
6987
 
else
6988
 
    lt_prog_compiler_static=
6989
 
fi
6990
 
 
 
7957
# save warnings/boilerplate of simple test code
 
7958
ac_outfile=conftest.$ac_objext
 
7959
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
7960
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
7961
_lt_compiler_boilerplate=`cat conftest.err`
 
7962
$rm conftest*
 
7963
 
 
7964
ac_outfile=conftest.$ac_objext
 
7965
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
7966
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
7967
_lt_linker_boilerplate=`cat conftest.err`
 
7968
$rm conftest*
6991
7969
 
6992
7970
 
6993
7971
 
6997
7975
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6998
7976
 
6999
7977
 
7000
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7001
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
7978
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7979
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7002
7980
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7003
7981
  echo $ECHO_N "(cached) $ECHO_C" >&6
7004
7982
else
7012
7990
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7013
7991
   # The option is referenced via a variable to avoid confusing sed.
7014
7992
   lt_compile=`echo "$ac_compile" | $SED \
7015
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
7993
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7016
7994
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7017
7995
   -e 's:$: $lt_compiler_flag:'`
7018
 
   (eval echo "\"\$as_me:7018: $lt_compile\"" >&5)
 
7996
   (eval echo "\"\$as_me:7996: $lt_compile\"" >&5)
7019
7997
   (eval "$lt_compile" 2>conftest.err)
7020
7998
   ac_status=$?
7021
7999
   cat conftest.err >&5
7022
 
   echo "$as_me:7022: \$? = $ac_status" >&5
 
8000
   echo "$as_me:8000: \$? = $ac_status" >&5
7023
8001
   if (exit $ac_status) && test -s "$ac_outfile"; then
7024
8002
     # The compiler can only warn and ignore the option if not recognized
7025
 
     # So say no if there are warnings
7026
 
     if test ! -s conftest.err; then
 
8003
     # So say no if there are warnings other than the usual output.
 
8004
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8005
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8006
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7027
8007
       lt_cv_prog_compiler_rtti_exceptions=yes
7028
8008
     fi
7029
8009
   fi
7030
8010
   $rm conftest*
7031
8011
 
7032
8012
fi
7033
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7034
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
8013
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
8014
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7035
8015
 
7036
8016
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7037
8017
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7045
8025
lt_prog_compiler_pic=
7046
8026
lt_prog_compiler_static=
7047
8027
 
7048
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7049
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
8028
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
8029
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7050
8030
 
7051
8031
  if test "$GCC" = yes; then
7052
8032
    lt_prog_compiler_wl='-Wl,'
7084
8064
      lt_prog_compiler_pic='-fno-common'
7085
8065
      ;;
7086
8066
 
 
8067
    interix3*)
 
8068
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
8069
      # Instead, we relocate shared libraries at runtime.
 
8070
      ;;
 
8071
 
7087
8072
    msdosdjgpp*)
7088
8073
      # Just because we use GCC doesn't mean we suddenly get shared libraries
7089
8074
      # on systems that don't support them.
7100
8085
    hpux*)
7101
8086
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7102
8087
      # not for PA HP-UX.
7103
 
      case "$host_cpu" in
 
8088
      case $host_cpu in
7104
8089
      hppa*64*|ia64*)
7105
8090
        # +Z the default
7106
8091
        ;;
7126
8111
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7127
8112
      fi
7128
8113
      ;;
 
8114
      darwin*)
 
8115
        # PIC is the default on this platform
 
8116
        # Common symbols not allowed in MH_DYLIB files
 
8117
       case $cc_basename in
 
8118
         xlc*)
 
8119
         lt_prog_compiler_pic='-qnocommon'
 
8120
         lt_prog_compiler_wl='-Wl,'
 
8121
         ;;
 
8122
       esac
 
8123
       ;;
7129
8124
 
7130
8125
    mingw* | pw32* | os2*)
7131
8126
      # This hack is so that the source file can tell whether it is being
7137
8132
      lt_prog_compiler_wl='-Wl,'
7138
8133
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7139
8134
      # not for PA HP-UX.
7140
 
      case "$host_cpu" in
 
8135
      case $host_cpu in
7141
8136
      hppa*64*|ia64*)
7142
8137
        # +Z the default
7143
8138
        ;;
7160
8155
      lt_prog_compiler_static='-Bstatic'
7161
8156
      ;;
7162
8157
 
7163
 
    linux*)
7164
 
      case $CC in
 
8158
    linux* | k*bsd*-gnu)
 
8159
      case $cc_basename in
7165
8160
      icc* | ecc*)
7166
8161
        lt_prog_compiler_wl='-Wl,'
7167
8162
        lt_prog_compiler_pic='-KPIC'
7168
8163
        lt_prog_compiler_static='-static'
7169
8164
        ;;
 
8165
      pgcc* | pgf77* | pgf90* | pgf95*)
 
8166
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
8167
        # which looks to be a dead project)
 
8168
        lt_prog_compiler_wl='-Wl,'
 
8169
        lt_prog_compiler_pic='-fpic'
 
8170
        lt_prog_compiler_static='-Bstatic'
 
8171
        ;;
7170
8172
      ccc*)
7171
8173
        lt_prog_compiler_wl='-Wl,'
7172
8174
        # All Alpha code is PIC.
7181
8183
      lt_prog_compiler_static='-non_shared'
7182
8184
      ;;
7183
8185
 
7184
 
    sco3.2v5*)
7185
 
      lt_prog_compiler_pic='-Kpic'
7186
 
      lt_prog_compiler_static='-dn'
7187
 
      ;;
7188
 
 
7189
8186
    solaris*)
7190
 
      lt_prog_compiler_wl='-Wl,'
7191
8187
      lt_prog_compiler_pic='-KPIC'
7192
8188
      lt_prog_compiler_static='-Bstatic'
 
8189
      case $cc_basename in
 
8190
      f77* | f90* | f95*)
 
8191
        lt_prog_compiler_wl='-Qoption ld ';;
 
8192
      *)
 
8193
        lt_prog_compiler_wl='-Wl,';;
 
8194
      esac
7193
8195
      ;;
7194
8196
 
7195
8197
    sunos4*)
7198
8200
      lt_prog_compiler_static='-Bstatic'
7199
8201
      ;;
7200
8202
 
7201
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
8203
    sysv4 | sysv4.2uw2* | sysv4.3*)
7202
8204
      lt_prog_compiler_wl='-Wl,'
7203
8205
      lt_prog_compiler_pic='-KPIC'
7204
8206
      lt_prog_compiler_static='-Bstatic'
7211
8213
      fi
7212
8214
      ;;
7213
8215
 
 
8216
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
8217
      lt_prog_compiler_wl='-Wl,'
 
8218
      lt_prog_compiler_pic='-KPIC'
 
8219
      lt_prog_compiler_static='-Bstatic'
 
8220
      ;;
 
8221
 
 
8222
    unicos*)
 
8223
      lt_prog_compiler_wl='-Wl,'
 
8224
      lt_prog_compiler_can_build_shared=no
 
8225
      ;;
 
8226
 
7214
8227
    uts4*)
7215
8228
      lt_prog_compiler_pic='-pic'
7216
8229
      lt_prog_compiler_static='-Bstatic'
7222
8235
    esac
7223
8236
  fi
7224
8237
 
7225
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7226
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
 
8238
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
8239
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7227
8240
 
7228
8241
#
7229
8242
# Check to make sure the PIC flag actually works.
7230
8243
#
7231
8244
if test -n "$lt_prog_compiler_pic"; then
7232
8245
 
7233
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7234
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
 
8246
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8247
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7235
8248
if test "${lt_prog_compiler_pic_works+set}" = set; then
7236
8249
  echo $ECHO_N "(cached) $ECHO_C" >&6
7237
8250
else
7245
8258
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7246
8259
   # The option is referenced via a variable to avoid confusing sed.
7247
8260
   lt_compile=`echo "$ac_compile" | $SED \
7248
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
8261
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7249
8262
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7250
8263
   -e 's:$: $lt_compiler_flag:'`
7251
 
   (eval echo "\"\$as_me:7251: $lt_compile\"" >&5)
 
8264
   (eval echo "\"\$as_me:8264: $lt_compile\"" >&5)
7252
8265
   (eval "$lt_compile" 2>conftest.err)
7253
8266
   ac_status=$?
7254
8267
   cat conftest.err >&5
7255
 
   echo "$as_me:7255: \$? = $ac_status" >&5
 
8268
   echo "$as_me:8268: \$? = $ac_status" >&5
7256
8269
   if (exit $ac_status) && test -s "$ac_outfile"; then
7257
8270
     # The compiler can only warn and ignore the option if not recognized
7258
 
     # So say no if there are warnings
7259
 
     if test ! -s conftest.err; then
 
8271
     # So say no if there are warnings other than the usual output.
 
8272
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8273
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8274
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7260
8275
       lt_prog_compiler_pic_works=yes
7261
8276
     fi
7262
8277
   fi
7263
8278
   $rm conftest*
7264
8279
 
7265
8280
fi
7266
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7267
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
 
8281
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
 
8282
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7268
8283
 
7269
8284
if test x"$lt_prog_compiler_pic_works" = xyes; then
7270
8285
    case $lt_prog_compiler_pic in
7277
8292
fi
7278
8293
 
7279
8294
fi
7280
 
case "$host_os" in
 
8295
case $host_os in
7281
8296
  # For platforms which do not support PIC, -DPIC is meaningless:
7282
8297
  *djgpp*)
7283
8298
    lt_prog_compiler_pic=
7287
8302
    ;;
7288
8303
esac
7289
8304
 
7290
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7291
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
8305
#
 
8306
# Check to make sure the static flag actually works.
 
8307
#
 
8308
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
8309
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8310
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
8311
if test "${lt_prog_compiler_static_works+set}" = set; then
 
8312
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8313
else
 
8314
  lt_prog_compiler_static_works=no
 
8315
   save_LDFLAGS="$LDFLAGS"
 
8316
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
8317
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
8318
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
8319
     # The linker can only warn and ignore the option if not recognized
 
8320
     # So say no if there are warnings
 
8321
     if test -s conftest.err; then
 
8322
       # Append any errors to the config.log.
 
8323
       cat conftest.err 1>&5
 
8324
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8325
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8326
       if diff conftest.exp conftest.er2 >/dev/null; then
 
8327
         lt_prog_compiler_static_works=yes
 
8328
       fi
 
8329
     else
 
8330
       lt_prog_compiler_static_works=yes
 
8331
     fi
 
8332
   fi
 
8333
   $rm conftest*
 
8334
   LDFLAGS="$save_LDFLAGS"
 
8335
 
 
8336
fi
 
8337
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
 
8338
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
 
8339
 
 
8340
if test x"$lt_prog_compiler_static_works" = xyes; then
 
8341
    :
 
8342
else
 
8343
    lt_prog_compiler_static=
 
8344
fi
 
8345
 
 
8346
 
 
8347
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8348
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7292
8349
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7293
8350
  echo $ECHO_N "(cached) $ECHO_C" >&6
7294
8351
else
7305
8362
   # Note that $ac_compile itself does not contain backslashes and begins
7306
8363
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7307
8364
   lt_compile=`echo "$ac_compile" | $SED \
7308
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
8365
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7309
8366
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7310
8367
   -e 's:$: $lt_compiler_flag:'`
7311
 
   (eval echo "\"\$as_me:7311: $lt_compile\"" >&5)
 
8368
   (eval echo "\"\$as_me:8368: $lt_compile\"" >&5)
7312
8369
   (eval "$lt_compile" 2>out/conftest.err)
7313
8370
   ac_status=$?
7314
8371
   cat out/conftest.err >&5
7315
 
   echo "$as_me:7315: \$? = $ac_status" >&5
 
8372
   echo "$as_me:8372: \$? = $ac_status" >&5
7316
8373
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7317
8374
   then
7318
8375
     # The compiler can only warn and ignore the option if not recognized
7319
8376
     # So say no if there are warnings
7320
 
     if test ! -s out/conftest.err; then
 
8377
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8378
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8379
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7321
8380
       lt_cv_prog_compiler_c_o=yes
7322
8381
     fi
7323
8382
   fi
7324
 
   chmod u+w .
 
8383
   chmod u+w . 2>&5
7325
8384
   $rm conftest*
7326
8385
   # SGI C++ compiler will create directory out/ii_files/ for
7327
8386
   # template instantiation
7332
8391
   $rm conftest*
7333
8392
 
7334
8393
fi
7335
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7336
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 
8394
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8395
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7337
8396
 
7338
8397
 
7339
8398
hard_links="nottested"
7340
8399
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7341
8400
  # do not overwrite the value of need_locks provided by the user
7342
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7343
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
8401
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
8402
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7344
8403
  hard_links=yes
7345
8404
  $rm conftest*
7346
8405
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7347
8406
  touch conftest.a
7348
8407
  ln conftest.a conftest.b 2>&5 || hard_links=no
7349
8408
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7350
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
7351
 
echo "${ECHO_T}$hard_links" >&6
 
8409
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
8410
echo "${ECHO_T}$hard_links" >&6; }
7352
8411
  if test "$hard_links" = no; then
7353
8412
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7354
8413
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7358
8417
  need_locks=no
7359
8418
fi
7360
8419
 
7361
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7362
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
8420
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
8421
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7363
8422
 
7364
8423
  runpath_var=
7365
8424
  allow_undefined_flag=
7397
8456
  # rely on this symbol name, it's probably fine to never include it in
7398
8457
  # preloaded symbol tables.
7399
8458
  extract_expsyms_cmds=
 
8459
  # Just being paranoid about ensuring that cc_basename is set.
 
8460
  for cc_temp in $compiler""; do
 
8461
  case $cc_temp in
 
8462
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
8463
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
8464
    \-*) ;;
 
8465
    *) break;;
 
8466
  esac
 
8467
done
 
8468
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7400
8469
 
7401
8470
  case $host_os in
7402
8471
  cygwin* | mingw* | pw32*)
7407
8476
      with_gnu_ld=no
7408
8477
    fi
7409
8478
    ;;
 
8479
  interix*)
 
8480
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
8481
    with_gnu_ld=yes
 
8482
    ;;
7410
8483
  openbsd*)
7411
8484
    with_gnu_ld=no
7412
8485
    ;;
7417
8490
    # If archive_cmds runs LD, not CC, wlarc should be empty
7418
8491
    wlarc='${wl}'
7419
8492
 
 
8493
    # Set some defaults for GNU ld with shared library support. These
 
8494
    # are reset later if shared libraries are not supported. Putting them
 
8495
    # here allows them to be overridden if necessary.
 
8496
    runpath_var=LD_RUN_PATH
 
8497
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
8498
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
8499
    # ancient GNU ld didn't support --whole-archive et. al.
 
8500
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
8501
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
8502
      else
 
8503
        whole_archive_flag_spec=
 
8504
    fi
 
8505
    supports_anon_versioning=no
 
8506
    case `$LD -v 2>/dev/null` in
 
8507
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
8508
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
8509
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
8510
      *\ 2.11.*) ;; # other 2.11 versions
 
8511
      *) supports_anon_versioning=yes ;;
 
8512
    esac
 
8513
 
7420
8514
    # See if GNU ld supports shared libraries.
7421
8515
    case $host_os in
7422
8516
    aix3* | aix4* | aix5*)
7467
8561
      allow_undefined_flag=unsupported
7468
8562
      always_export_symbols=no
7469
8563
      enable_shared_with_static_runtimes=yes
7470
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
8564
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7471
8565
 
7472
8566
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7473
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
8567
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7474
8568
        # If the export-symbols file already is a .def file (1st line
7475
8569
        # is EXPORTS), use it as is; otherwise, prepend...
7476
8570
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7479
8573
          echo EXPORTS > $output_objdir/$soname.def;
7480
8574
          cat $export_symbols >> $output_objdir/$soname.def;
7481
8575
        fi~
7482
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
7483
 
      else
7484
 
        ld_shlibs=no
7485
 
      fi
7486
 
      ;;
7487
 
 
7488
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
8576
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
8577
      else
 
8578
        ld_shlibs=no
 
8579
      fi
 
8580
      ;;
 
8581
 
 
8582
    interix3*)
 
8583
      hardcode_direct=no
 
8584
      hardcode_shlibpath_var=no
 
8585
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8586
      export_dynamic_flag_spec='${wl}-E'
 
8587
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
8588
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
8589
      # default) and relocated if they conflict, which is a slow very memory
 
8590
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
8591
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
8592
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
8593
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
8594
      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'
 
8595
      ;;
 
8596
 
 
8597
    linux* | k*bsd*-gnu)
 
8598
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8599
        tmp_addflag=
 
8600
        case $cc_basename,$host_cpu in
 
8601
        pgcc*)                          # Portland Group C compiler
 
8602
          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'
 
8603
          tmp_addflag=' $pic_flag'
 
8604
          ;;
 
8605
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
8606
          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'
 
8607
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
8608
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
8609
          tmp_addflag=' -i_dynamic' ;;
 
8610
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
8611
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
8612
        ifc* | ifort*)                  # Intel Fortran compiler
 
8613
          tmp_addflag=' -nofor_main' ;;
 
8614
        esac
 
8615
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8616
 
 
8617
        if test $supports_anon_versioning = yes; then
 
8618
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
 
8619
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8620
  $echo "local: *; };" >> $output_objdir/$libname.ver~
 
8621
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
8622
        fi
 
8623
        link_all_deplibs=no
 
8624
      else
 
8625
        ld_shlibs=no
 
8626
      fi
 
8627
      ;;
 
8628
 
 
8629
    netbsd* | netbsdelf*-gnu)
7489
8630
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7490
8631
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7491
8632
        wlarc=
7495
8636
      fi
7496
8637
      ;;
7497
8638
 
7498
 
    solaris* | sysv5*)
 
8639
    solaris*)
7499
8640
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
7500
8641
        ld_shlibs=no
7501
8642
        cat <<EOF 1>&2
7516
8657
      fi
7517
8658
      ;;
7518
8659
 
 
8660
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
8661
      case `$LD -v 2>&1` in
 
8662
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
8663
        ld_shlibs=no
 
8664
        cat <<_LT_EOF 1>&2
 
8665
 
 
8666
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
8667
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
8668
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
8669
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
8670
*** your PATH or compiler configuration so that the native linker is
 
8671
*** used, and then restart.
 
8672
 
 
8673
_LT_EOF
 
8674
        ;;
 
8675
        *)
 
8676
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8677
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
8678
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
8679
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
8680
          else
 
8681
            ld_shlibs=no
 
8682
          fi
 
8683
        ;;
 
8684
      esac
 
8685
      ;;
 
8686
 
7519
8687
    sunos4*)
7520
8688
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7521
8689
      wlarc=
7523
8691
      hardcode_shlibpath_var=no
7524
8692
      ;;
7525
8693
 
7526
 
  linux*)
7527
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7528
 
        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7529
 
        archive_cmds="$tmp_archive_cmds"
7530
 
      supports_anon_versioning=no
7531
 
      case `$LD -v 2>/dev/null` in
7532
 
        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7533
 
        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7534
 
        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7535
 
        *\ 2.11.*) ;; # other 2.11 versions
7536
 
        *) supports_anon_versioning=yes ;;
7537
 
      esac
7538
 
      if test $supports_anon_versioning = yes; then
7539
 
        archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
7540
 
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7541
 
$echo "local: *; };" >> $output_objdir/$libname.ver~
7542
 
        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7543
 
      else
7544
 
        archive_expsym_cmds="$tmp_archive_cmds"
7545
 
      fi
7546
 
      link_all_deplibs=no
7547
 
    else
7548
 
      ld_shlibs=no
7549
 
    fi
7550
 
    ;;
7551
 
 
7552
8694
    *)
7553
8695
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7554
8696
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7559
8701
      ;;
7560
8702
    esac
7561
8703
 
7562
 
    if test "$ld_shlibs" = yes; then
7563
 
      runpath_var=LD_RUN_PATH
7564
 
      hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
7565
 
      export_dynamic_flag_spec='${wl}--export-dynamic'
7566
 
      # ancient GNU ld didn't support --whole-archive et. al.
7567
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
7568
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7569
 
      else
7570
 
        whole_archive_flag_spec=
7571
 
      fi
 
8704
    if test "$ld_shlibs" = no; then
 
8705
      runpath_var=
 
8706
      hardcode_libdir_flag_spec=
 
8707
      export_dynamic_flag_spec=
 
8708
      whole_archive_flag_spec=
7572
8709
    fi
7573
8710
  else
7574
8711
    # PORTME fill in a description of your system's linker (not GNU ld)
7580
8717
      # Note: this linker hardcodes the directories in LIBPATH if there
7581
8718
      # are no directories specified by -L.
7582
8719
      hardcode_minus_L=yes
7583
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
8720
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7584
8721
        # Neither direct hardcoding nor static linking is supported with a
7585
8722
        # broken collect2.
7586
8723
        hardcode_direct=unsupported
7614
8751
            break
7615
8752
          fi
7616
8753
          done
 
8754
          ;;
7617
8755
        esac
7618
8756
 
7619
8757
        exp_sym_flag='-bexport'
7632
8770
      link_all_deplibs=yes
7633
8771
 
7634
8772
      if test "$GCC" = yes; then
7635
 
        case $host_os in aix4.012|aix4.012.*)
 
8773
        case $host_os in aix4.[012]|aix4.[012].*)
7636
8774
        # We only want to do this on AIX 4.2 and lower, the check
7637
8775
        # below for broken collect2 doesn't work under 4.3+
7638
8776
          collect2name=`${CC} -print-prog-name=collect2`
7651
8789
          hardcode_libdir_flag_spec='-L$libdir'
7652
8790
          hardcode_libdir_separator=
7653
8791
          fi
 
8792
          ;;
7654
8793
        esac
7655
8794
        shared_flag='-shared'
 
8795
        if test "$aix_use_runtimelinking" = yes; then
 
8796
          shared_flag="$shared_flag "'${wl}-G'
 
8797
        fi
7656
8798
      else
7657
8799
        # not using gcc
7658
8800
        if test "$host_cpu" = ia64; then
7660
8802
        # chokes on -Wl,-G. The following line is correct:
7661
8803
          shared_flag='-G'
7662
8804
        else
7663
 
        if test "$aix_use_runtimelinking" = yes; then
 
8805
          if test "$aix_use_runtimelinking" = yes; then
7664
8806
            shared_flag='${wl}-G'
7665
8807
          else
7666
8808
            shared_flag='${wl}-bM:SRE'
7667
 
        fi
 
8809
          fi
7668
8810
        fi
7669
8811
      fi
7670
8812
 
7692
8834
}
7693
8835
_ACEOF
7694
8836
rm -f conftest.$ac_objext conftest$ac_exeext
7695
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7696
 
  (eval $ac_link) 2>conftest.er1
 
8837
if { (ac_try="$ac_link"
 
8838
case "(($ac_try" in
 
8839
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8840
  *) ac_try_echo=$ac_try;;
 
8841
esac
 
8842
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8843
  (eval "$ac_link") 2>conftest.er1
7697
8844
  ac_status=$?
7698
8845
  grep -v '^ *+' conftest.er1 >conftest.err
7699
8846
  rm -f conftest.er1
7700
8847
  cat conftest.err >&5
7701
8848
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7702
 
  (exit $ac_status); } &&
7703
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7704
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7705
 
  (eval $ac_try) 2>&5
7706
 
  ac_status=$?
7707
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7708
 
  (exit $ac_status); }; } &&
7709
 
         { ac_try='test -s conftest$ac_exeext'
7710
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7711
 
  (eval $ac_try) 2>&5
7712
 
  ac_status=$?
7713
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7714
 
  (exit $ac_status); }; }; then
 
8849
  (exit $ac_status); } && {
 
8850
         test -z "$ac_c_werror_flag" ||
 
8851
         test ! -s conftest.err
 
8852
       } && test -s conftest$ac_exeext &&
 
8853
       $as_test_x conftest$ac_exeext; then
7715
8854
 
7716
8855
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7717
8856
}'`
7722
8861
  echo "$as_me: failed program was:" >&5
7723
8862
sed 's/^/| /' conftest.$ac_ext >&5
7724
8863
 
 
8864
 
7725
8865
fi
7726
 
rm -f conftest.err conftest.$ac_objext \
 
8866
 
 
8867
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7727
8868
      conftest$ac_exeext conftest.$ac_ext
7728
8869
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7729
8870
 
7730
8871
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7731
 
        archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
8872
        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"
7732
8873
       else
7733
8874
        if test "$host_cpu" = ia64; then
7734
8875
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7735
8876
          allow_undefined_flag="-z nodefs"
7736
 
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
8877
          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"
7737
8878
        else
7738
8879
         # Determine the default libpath from the value encoded in an empty executable.
7739
8880
         cat >conftest.$ac_ext <<_ACEOF
7752
8893
}
7753
8894
_ACEOF
7754
8895
rm -f conftest.$ac_objext conftest$ac_exeext
7755
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7756
 
  (eval $ac_link) 2>conftest.er1
 
8896
if { (ac_try="$ac_link"
 
8897
case "(($ac_try" in
 
8898
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8899
  *) ac_try_echo=$ac_try;;
 
8900
esac
 
8901
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8902
  (eval "$ac_link") 2>conftest.er1
7757
8903
  ac_status=$?
7758
8904
  grep -v '^ *+' conftest.er1 >conftest.err
7759
8905
  rm -f conftest.er1
7760
8906
  cat conftest.err >&5
7761
8907
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7762
 
  (exit $ac_status); } &&
7763
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7764
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7765
 
  (eval $ac_try) 2>&5
7766
 
  ac_status=$?
7767
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7768
 
  (exit $ac_status); }; } &&
7769
 
         { ac_try='test -s conftest$ac_exeext'
7770
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7771
 
  (eval $ac_try) 2>&5
7772
 
  ac_status=$?
7773
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7774
 
  (exit $ac_status); }; }; then
 
8908
  (exit $ac_status); } && {
 
8909
         test -z "$ac_c_werror_flag" ||
 
8910
         test ! -s conftest.err
 
8911
       } && test -s conftest$ac_exeext &&
 
8912
       $as_test_x conftest$ac_exeext; then
7775
8913
 
7776
8914
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7777
8915
}'`
7782
8920
  echo "$as_me: failed program was:" >&5
7783
8921
sed 's/^/| /' conftest.$ac_ext >&5
7784
8922
 
 
8923
 
7785
8924
fi
7786
 
rm -f conftest.err conftest.$ac_objext \
 
8925
 
 
8926
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7787
8927
      conftest$ac_exeext conftest.$ac_ext
7788
8928
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7789
8929
 
7792
8932
          # -berok will link without error, but may produce a broken library.
7793
8933
          no_undefined_flag=' ${wl}-bernotok'
7794
8934
          allow_undefined_flag=' ${wl}-berok'
7795
 
          # -bexpall does not export symbols beginning with underscore (_)
7796
 
          always_export_symbols=yes
7797
8935
          # Exported symbols can be pulled into shared objects from archives
7798
 
          whole_archive_flag_spec=' '
 
8936
          whole_archive_flag_spec='$convenience'
7799
8937
          archive_cmds_need_lc=yes
7800
 
          # This is similar to how AIX traditionally builds it's shared libraries.
7801
 
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
8938
          # This is similar to how AIX traditionally builds its shared libraries.
 
8939
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7802
8940
        fi
7803
8941
      fi
7804
8942
      ;;
7811
8949
      ld_shlibs=no
7812
8950
      ;;
7813
8951
 
7814
 
    bsdi4*)
 
8952
    bsdi[45]*)
7815
8953
      export_dynamic_flag_spec=-rdynamic
7816
8954
      ;;
7817
8955
 
7837
8975
      ;;
7838
8976
 
7839
8977
    darwin* | rhapsody*)
7840
 
    if test "$GXX" = yes ; then
 
8978
      case $host_os in
 
8979
        rhapsody* | darwin1.[012])
 
8980
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
 
8981
         ;;
 
8982
       *) # Darwin 1.3 on
 
8983
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
8984
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
8985
         else
 
8986
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
8987
             10.[012])
 
8988
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
8989
               ;;
 
8990
             10.*)
 
8991
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
 
8992
               ;;
 
8993
           esac
 
8994
         fi
 
8995
         ;;
 
8996
      esac
7841
8997
      archive_cmds_need_lc=no
7842
 
      case "$host_os" in
7843
 
      rhapsody* | darwin1.[012])
7844
 
        allow_undefined_flag='-undefined suppress'
7845
 
        ;;
7846
 
      *) # Darwin 1.3 on
7847
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7848
 
        allow_undefined_flag='-flat_namespace -undefined suppress'
7849
 
      else
7850
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
7851
 
          10.[012])
7852
 
            allow_undefined_flag='-flat_namespace -undefined suppress'
7853
 
            ;;
7854
 
          10.*)
7855
 
            allow_undefined_flag='-undefined dynamic_lookup'
7856
 
            ;;
7857
 
        esac
7858
 
      fi
7859
 
        ;;
7860
 
      esac
7861
 
        lt_int_apple_cc_single_mod=no
7862
 
        output_verbose_link_cmd='echo'
7863
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7864
 
          lt_int_apple_cc_single_mod=yes
7865
 
        fi
7866
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7867
 
          archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7868
 
        else
7869
 
        archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7870
 
      fi
7871
 
      module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7872
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7873
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7874
 
          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7875
 
        else
7876
 
          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7877
 
        fi
7878
 
          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}'
7879
8998
      hardcode_direct=no
7880
8999
      hardcode_automatic=yes
7881
9000
      hardcode_shlibpath_var=unsupported
7882
 
      whole_archive_flag_spec='-all_load $convenience'
 
9001
      whole_archive_flag_spec=''
7883
9002
      link_all_deplibs=yes
 
9003
    if test "$GCC" = yes ; then
 
9004
        output_verbose_link_cmd='echo'
 
9005
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
9006
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
9007
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
9008
      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}'
 
9009
      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}'
7884
9010
    else
7885
 
      ld_shlibs=no
 
9011
      case $cc_basename in
 
9012
        xlc*)
 
9013
         output_verbose_link_cmd='echo'
 
9014
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
9015
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
9016
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
9017
         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}'
 
9018
          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}'
 
9019
          ;;
 
9020
       *)
 
9021
         ld_shlibs=no
 
9022
          ;;
 
9023
      esac
7886
9024
    fi
7887
9025
      ;;
7888
9026
 
7916
9054
      ;;
7917
9055
 
7918
9056
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7919
 
    freebsd* | kfreebsd*-gnu)
 
9057
    freebsd* | dragonfly*)
7920
9058
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7921
9059
      hardcode_libdir_flag_spec='-R$libdir'
7922
9060
      hardcode_direct=yes
7939
9077
      export_dynamic_flag_spec='${wl}-E'
7940
9078
      ;;
7941
9079
 
7942
 
    hpux10* | hpux11*)
7943
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7944
 
        case "$host_cpu" in
7945
 
        hppa*64*|ia64*)
 
9080
    hpux10*)
 
9081
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9082
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9083
      else
 
9084
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9085
      fi
 
9086
      if test "$with_gnu_ld" = no; then
 
9087
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9088
        hardcode_libdir_separator=:
 
9089
 
 
9090
        hardcode_direct=yes
 
9091
        export_dynamic_flag_spec='${wl}-E'
 
9092
 
 
9093
        # hardcode_minus_L: Not really in the search PATH,
 
9094
        # but as the default location of the library.
 
9095
        hardcode_minus_L=yes
 
9096
      fi
 
9097
      ;;
 
9098
 
 
9099
    hpux11*)
 
9100
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9101
        case $host_cpu in
 
9102
        hppa*64*)
7946
9103
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7947
9104
          ;;
 
9105
        ia64*)
 
9106
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9107
          ;;
7948
9108
        *)
7949
9109
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7950
9110
          ;;
7951
9111
        esac
7952
9112
      else
7953
 
        case "$host_cpu" in
7954
 
        hppa*64*|ia64*)
7955
 
          archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9113
        case $host_cpu in
 
9114
        hppa*64*)
 
9115
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9116
          ;;
 
9117
        ia64*)
 
9118
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7956
9119
          ;;
7957
9120
        *)
7958
 
          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9121
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7959
9122
          ;;
7960
9123
        esac
7961
9124
      fi
7962
9125
      if test "$with_gnu_ld" = no; then
7963
 
        case "$host_cpu" in
7964
 
        hppa*64*)
7965
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9126
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9127
        hardcode_libdir_separator=:
 
9128
 
 
9129
        case $host_cpu in
 
9130
        hppa*64*|ia64*)
7966
9131
          hardcode_libdir_flag_spec_ld='+b $libdir'
7967
 
          hardcode_libdir_separator=:
7968
 
          hardcode_direct=no
7969
 
          hardcode_shlibpath_var=no
7970
 
          ;;
7971
 
        ia64*)
7972
 
          hardcode_libdir_flag_spec='-L$libdir'
7973
 
          hardcode_direct=no
7974
 
          hardcode_shlibpath_var=no
7975
 
 
7976
 
          # hardcode_minus_L: Not really in the search PATH,
7977
 
          # but as the default location of the library.
7978
 
          hardcode_minus_L=yes
 
9132
          hardcode_direct=no
 
9133
          hardcode_shlibpath_var=no
7979
9134
          ;;
7980
9135
        *)
7981
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7982
 
          hardcode_libdir_separator=:
7983
9136
          hardcode_direct=yes
7984
9137
          export_dynamic_flag_spec='${wl}-E'
7985
9138
 
8003
9156
      link_all_deplibs=yes
8004
9157
      ;;
8005
9158
 
8006
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
9159
    netbsd* | netbsdelf*-gnu)
8007
9160
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8008
9161
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8009
9162
      else
8027
9180
      hardcode_shlibpath_var=no
8028
9181
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8029
9182
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9183
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8030
9184
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8031
9185
        export_dynamic_flag_spec='${wl}-E'
8032
9186
      else
8072
9226
        allow_undefined_flag=' -expect_unresolved \*'
8073
9227
        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'
8074
9228
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8075
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
 
9229
        $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'
8076
9230
 
8077
9231
        # Both c and cxx compiler support -rpath directly
8078
9232
        hardcode_libdir_flag_spec='-rpath $libdir'
8080
9234
      hardcode_libdir_separator=:
8081
9235
      ;;
8082
9236
 
8083
 
    sco3.2v5*)
8084
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8085
 
      hardcode_shlibpath_var=no
8086
 
      export_dynamic_flag_spec='${wl}-Bexport'
8087
 
      runpath_var=LD_RUN_PATH
8088
 
      hardcode_runpath_var=yes
8089
 
      ;;
8090
 
 
8091
9237
    solaris*)
8092
9238
      no_undefined_flag=' -z text'
8093
9239
      if test "$GCC" = yes; then
 
9240
        wlarc='${wl}'
8094
9241
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8095
9242
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8096
9243
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8097
9244
      else
 
9245
        wlarc=''
8098
9246
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8099
9247
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8100
9248
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8103
9251
      hardcode_shlibpath_var=no
8104
9252
      case $host_os in
8105
9253
      solaris2.[0-5] | solaris2.[0-5].*) ;;
8106
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
8107
 
        whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
 
9254
      *)
 
9255
        # The compiler driver will combine linker options so we
 
9256
        # cannot just pass the convience library names through
 
9257
        # without $wl, iff we do not link with $LD.
 
9258
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
9259
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
9260
        case $wlarc in
 
9261
        '')
 
9262
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
 
9263
        *)
 
9264
          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' ;;
 
9265
        esac ;;
8108
9266
      esac
8109
9267
      link_all_deplibs=yes
8110
9268
      ;;
8161
9319
      fi
8162
9320
      ;;
8163
9321
 
8164
 
    sysv4.2uw2*)
8165
 
      archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8166
 
      hardcode_direct=yes
8167
 
      hardcode_minus_L=no
8168
 
      hardcode_shlibpath_var=no
8169
 
      hardcode_runpath_var=yes
8170
 
      runpath_var=LD_RUN_PATH
8171
 
      ;;
8172
 
 
8173
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
8174
 
      no_undefined_flag='${wl}-z ${wl}text'
8175
 
      if test "$GCC" = yes; then
8176
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8177
 
      else
8178
 
        archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8179
 
      fi
8180
 
      runpath_var='LD_RUN_PATH'
8181
 
      hardcode_shlibpath_var=no
8182
 
      ;;
8183
 
 
8184
 
    sysv5*)
8185
 
      no_undefined_flag=' -z text'
8186
 
      # $CC -shared without GNU ld will not create a library from C++
8187
 
      # object files and a static libstdc++, better avoid it by now
8188
 
      archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8189
 
      archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8190
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8191
 
      hardcode_libdir_flag_spec=
8192
 
      hardcode_shlibpath_var=no
8193
 
      runpath_var='LD_RUN_PATH'
 
9322
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
9323
      no_undefined_flag='${wl}-z,text'
 
9324
      archive_cmds_need_lc=no
 
9325
      hardcode_shlibpath_var=no
 
9326
      runpath_var='LD_RUN_PATH'
 
9327
 
 
9328
      if test "$GCC" = yes; then
 
9329
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9330
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9331
      else
 
9332
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9333
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9334
      fi
 
9335
      ;;
 
9336
 
 
9337
    sysv5* | sco3.2v5* | sco5v6*)
 
9338
      # Note: We can NOT use -z defs as we might desire, because we do not
 
9339
      # link with -lc, and that would cause any symbols used from libc to
 
9340
      # always be unresolved, which means just about no library would
 
9341
      # ever link correctly.  If we're not using GNU ld we use -z text
 
9342
      # though, which does catch some bad symbols but isn't as heavy-handed
 
9343
      # as -z defs.
 
9344
      no_undefined_flag='${wl}-z,text'
 
9345
      allow_undefined_flag='${wl}-z,nodefs'
 
9346
      archive_cmds_need_lc=no
 
9347
      hardcode_shlibpath_var=no
 
9348
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
9349
      hardcode_libdir_separator=':'
 
9350
      link_all_deplibs=yes
 
9351
      export_dynamic_flag_spec='${wl}-Bexport'
 
9352
      runpath_var='LD_RUN_PATH'
 
9353
 
 
9354
      if test "$GCC" = yes; then
 
9355
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9356
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9357
      else
 
9358
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9359
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9360
      fi
8194
9361
      ;;
8195
9362
 
8196
9363
    uts4*)
8205
9372
    esac
8206
9373
  fi
8207
9374
 
8208
 
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8209
 
echo "${ECHO_T}$ld_shlibs" >&6
 
9375
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
9376
echo "${ECHO_T}$ld_shlibs" >&6; }
8210
9377
test "$ld_shlibs" = no && can_build_shared=no
8211
9378
 
8212
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
8213
 
if test "$GCC" = yes; then
8214
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8215
 
fi
8216
 
 
8217
9379
#
8218
9380
# Do we need to explicitly link libc?
8219
9381
#
8231
9393
      # Test whether the compiler implicitly links with -lc since on some
8232
9394
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
8233
9395
      # to ld, don't add -lc before -lgcc.
8234
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8235
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
9396
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
9397
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8236
9398
      $rm conftest*
8237
9399
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
8238
9400
 
8246
9408
        libobjs=conftest.$ac_objext
8247
9409
        deplibs=
8248
9410
        wl=$lt_prog_compiler_wl
 
9411
        pic_flag=$lt_prog_compiler_pic
8249
9412
        compiler_flags=-v
8250
9413
        linker_flags=-v
8251
9414
        verstring=
8268
9431
        cat conftest.err 1>&5
8269
9432
      fi
8270
9433
      $rm conftest*
8271
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8272
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6
 
9434
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
9435
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8273
9436
      ;;
8274
9437
    esac
8275
9438
  fi
8276
9439
  ;;
8277
9440
esac
8278
9441
 
8279
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8280
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
9442
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
9443
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8281
9444
library_names_spec=
8282
9445
libname_spec='lib$name'
8283
9446
soname_spec=
8378
9541
  shlibpath_var=LIBRARY_PATH
8379
9542
  ;;
8380
9543
 
8381
 
bsdi4*)
 
9544
bsdi[45]*)
8382
9545
  version_type=linux
8383
9546
  need_version=no
8384
9547
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8406
9569
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8407
9570
      dldir=$destdir/`dirname \$dlpath`~
8408
9571
      test -d \$dldir || mkdir -p \$dldir~
8409
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
9572
      $install_prog $dir/$dlname \$dldir/$dlname~
 
9573
      chmod a+x \$dldir/$dlname'
8410
9574
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8411
9575
      dlpath=$dir/\$dldll~
8412
9576
       $rm \$dlpath'
8436
9600
      ;;
8437
9601
    pw32*)
8438
9602
      # pw32 DLLs use 'pw' prefix rather than 'lib'
8439
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
9603
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8440
9604
      ;;
8441
9605
    esac
8442
9606
    ;;
8459
9623
  soname_spec='${libname}${release}${major}$shared_ext'
8460
9624
  shlibpath_overrides_runpath=yes
8461
9625
  shlibpath_var=DYLD_LIBRARY_PATH
8462
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
 
9626
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8463
9627
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8464
9628
  if test "$GCC" = yes; then
8465
9629
    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"`
8482
9646
  dynamic_linker=no
8483
9647
  ;;
8484
9648
 
8485
 
kfreebsd*-gnu)
8486
 
  version_type=linux
8487
 
  need_lib_prefix=no
8488
 
  need_version=no
8489
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8490
 
  soname_spec='${libname}${release}${shared_ext}$major'
8491
 
  shlibpath_var=LD_LIBRARY_PATH
8492
 
  shlibpath_overrides_runpath=no
8493
 
  hardcode_into_libs=yes
8494
 
  dynamic_linker='GNU ld.so'
8495
 
  ;;
8496
 
 
8497
 
freebsd*)
8498
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
9649
freebsd* | dragonfly*)
 
9650
  # DragonFly does not have aout.  When/if they implement a new
 
9651
  # versioning mechanism, adjust this.
 
9652
  if test -x /usr/bin/objformat; then
 
9653
    objformat=`/usr/bin/objformat`
 
9654
  else
 
9655
    case $host_os in
 
9656
    freebsd[123]*) objformat=aout ;;
 
9657
    *) objformat=elf ;;
 
9658
    esac
 
9659
  fi
8499
9660
  version_type=freebsd-$objformat
8500
9661
  case $version_type in
8501
9662
    freebsd-elf*)
8513
9674
  freebsd2*)
8514
9675
    shlibpath_overrides_runpath=yes
8515
9676
    ;;
8516
 
  freebsd3.01* | freebsdelf3.01*)
 
9677
  freebsd3.[01]* | freebsdelf3.[01]*)
8517
9678
    shlibpath_overrides_runpath=yes
8518
9679
    hardcode_into_libs=yes
8519
9680
    ;;
8520
 
  *) # from 3.2 on
 
9681
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
9682
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
8521
9683
    shlibpath_overrides_runpath=no
8522
9684
    hardcode_into_libs=yes
8523
9685
    ;;
 
9686
  freebsd*) # from 4.6 on
 
9687
    shlibpath_overrides_runpath=yes
 
9688
    hardcode_into_libs=yes
 
9689
    ;;
8524
9690
  esac
8525
9691
  ;;
8526
9692
 
8540
9706
  version_type=sunos
8541
9707
  need_lib_prefix=no
8542
9708
  need_version=no
8543
 
  case "$host_cpu" in
 
9709
  case $host_cpu in
8544
9710
  ia64*)
8545
9711
    shrext_cmds='.so'
8546
9712
    hardcode_into_libs=yes
8580
9746
  postinstall_cmds='chmod 555 $lib'
8581
9747
  ;;
8582
9748
 
 
9749
interix3*)
 
9750
  version_type=linux
 
9751
  need_lib_prefix=no
 
9752
  need_version=no
 
9753
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
9754
  soname_spec='${libname}${release}${shared_ext}$major'
 
9755
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
9756
  shlibpath_var=LD_LIBRARY_PATH
 
9757
  shlibpath_overrides_runpath=no
 
9758
  hardcode_into_libs=yes
 
9759
  ;;
 
9760
 
8583
9761
irix5* | irix6* | nonstopux*)
8584
9762
  case $host_os in
8585
9763
    nonstopux*) version_type=nonstopux ;;
8623
9801
  ;;
8624
9802
 
8625
9803
# This must be Linux ELF.
8626
 
linux*)
 
9804
linux* | k*bsd*-gnu)
8627
9805
  version_type=linux
8628
9806
  need_lib_prefix=no
8629
9807
  need_version=no
8639
9817
 
8640
9818
  # Append ld.so.conf contents to the search path
8641
9819
  if test -f /etc/ld.so.conf; then
8642
 
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
 
9820
    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' ' '`
8643
9821
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8644
9822
  fi
8645
9823
 
8664
9842
  dynamic_linker='NetBSD ld.elf_so'
8665
9843
  ;;
8666
9844
 
8667
 
knetbsd*-gnu)
8668
 
  version_type=linux
8669
 
  need_lib_prefix=no
8670
 
  need_version=no
8671
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8672
 
  soname_spec='${libname}${release}${shared_ext}$major'
8673
 
  shlibpath_var=LD_LIBRARY_PATH
8674
 
  shlibpath_overrides_runpath=no
8675
 
  hardcode_into_libs=yes
8676
 
  dynamic_linker='GNU ld.so'
8677
 
  ;;
8678
 
 
8679
9845
netbsd*)
8680
9846
  version_type=sunos
8681
9847
  need_lib_prefix=no
8713
9879
 
8714
9880
openbsd*)
8715
9881
  version_type=sunos
 
9882
  sys_lib_dlsearch_path_spec="/usr/lib"
8716
9883
  need_lib_prefix=no
8717
 
  need_version=yes
 
9884
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
9885
  case $host_os in
 
9886
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
9887
    *)                         need_version=no  ;;
 
9888
  esac
8718
9889
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8719
9890
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8720
9891
  shlibpath_var=LD_LIBRARY_PATH
8752
9923
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
8753
9924
  ;;
8754
9925
 
8755
 
sco3.2v5*)
8756
 
  version_type=osf
8757
 
  soname_spec='${libname}${release}${shared_ext}$major'
8758
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8759
 
  shlibpath_var=LD_LIBRARY_PATH
8760
 
  ;;
8761
 
 
8762
9926
solaris*)
8763
9927
  version_type=linux
8764
9928
  need_lib_prefix=no
8784
9948
  need_version=yes
8785
9949
  ;;
8786
9950
 
8787
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
9951
sysv4 | sysv4.3*)
8788
9952
  version_type=linux
8789
9953
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8790
9954
  soname_spec='${libname}${release}${shared_ext}$major'
8817
9981
  fi
8818
9982
  ;;
8819
9983
 
 
9984
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
9985
  version_type=freebsd-elf
 
9986
  need_lib_prefix=no
 
9987
  need_version=no
 
9988
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
9989
  soname_spec='${libname}${release}${shared_ext}$major'
 
9990
  shlibpath_var=LD_LIBRARY_PATH
 
9991
  hardcode_into_libs=yes
 
9992
  if test "$with_gnu_ld" = yes; then
 
9993
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
9994
    shlibpath_overrides_runpath=no
 
9995
  else
 
9996
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
9997
    shlibpath_overrides_runpath=yes
 
9998
    case $host_os in
 
9999
      sco3.2v5*)
 
10000
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
10001
        ;;
 
10002
    esac
 
10003
  fi
 
10004
  sys_lib_dlsearch_path_spec='/usr/lib'
 
10005
  ;;
 
10006
 
8820
10007
uts4*)
8821
10008
  version_type=linux
8822
10009
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8828
10015
  dynamic_linker=no
8829
10016
  ;;
8830
10017
esac
8831
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8832
 
echo "${ECHO_T}$dynamic_linker" >&6
 
10018
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
10019
echo "${ECHO_T}$dynamic_linker" >&6; }
8833
10020
test "$dynamic_linker" = no && can_build_shared=no
8834
10021
 
8835
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8836
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
10022
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
10023
if test "$GCC" = yes; then
 
10024
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
10025
fi
 
10026
 
 
10027
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
10028
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
8837
10029
hardcode_action=
8838
10030
if test -n "$hardcode_libdir_flag_spec" || \
8839
 
   test -n "$runpath_var " || \
8840
 
   test "X$hardcode_automatic"="Xyes" ; then
 
10031
   test -n "$runpath_var" || \
 
10032
   test "X$hardcode_automatic" = "Xyes" ; then
8841
10033
 
8842
10034
  # We can hardcode non-existant directories.
8843
10035
  if test "$hardcode_direct" != no &&
8857
10049
  # directories.
8858
10050
  hardcode_action=unsupported
8859
10051
fi
8860
 
echo "$as_me:$LINENO: result: $hardcode_action" >&5
8861
 
echo "${ECHO_T}$hardcode_action" >&6
 
10052
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
10053
echo "${ECHO_T}$hardcode_action" >&6; }
8862
10054
 
8863
10055
if test "$hardcode_action" = relink; then
8864
10056
  # Fast installation is not supported
8871
10063
 
8872
10064
striplib=
8873
10065
old_striplib=
8874
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8875
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
10066
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
10067
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
8876
10068
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
8877
10069
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
8878
10070
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
8879
 
  echo "$as_me:$LINENO: result: yes" >&5
8880
 
echo "${ECHO_T}yes" >&6
 
10071
  { echo "$as_me:$LINENO: result: yes" >&5
 
10072
echo "${ECHO_T}yes" >&6; }
8881
10073
else
8882
10074
# FIXME - insert some real tests, host_os isn't really good enough
8883
10075
  case $host_os in
8884
10076
   darwin*)
8885
10077
       if test -n "$STRIP" ; then
8886
10078
         striplib="$STRIP -x"
8887
 
         echo "$as_me:$LINENO: result: yes" >&5
8888
 
echo "${ECHO_T}yes" >&6
 
10079
         { echo "$as_me:$LINENO: result: yes" >&5
 
10080
echo "${ECHO_T}yes" >&6; }
8889
10081
       else
8890
 
  echo "$as_me:$LINENO: result: no" >&5
8891
 
echo "${ECHO_T}no" >&6
 
10082
  { echo "$as_me:$LINENO: result: no" >&5
 
10083
echo "${ECHO_T}no" >&6; }
8892
10084
fi
8893
10085
       ;;
8894
10086
   *)
8895
 
  echo "$as_me:$LINENO: result: no" >&5
8896
 
echo "${ECHO_T}no" >&6
 
10087
  { echo "$as_me:$LINENO: result: no" >&5
 
10088
echo "${ECHO_T}no" >&6; }
8897
10089
    ;;
8898
10090
  esac
8899
10091
fi
8925
10117
 
8926
10118
  darwin*)
8927
10119
  # if libdl is installed we need to link against it
8928
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8929
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
10120
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10121
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8930
10122
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8931
10123
  echo $ECHO_N "(cached) $ECHO_C" >&6
8932
10124
else
8939
10131
cat >>conftest.$ac_ext <<_ACEOF
8940
10132
/* end confdefs.h.  */
8941
10133
 
8942
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10134
/* Override any GCC internal prototype to avoid an error.
 
10135
   Use char because int might match the return type of a GCC
 
10136
   builtin and then its argument prototype would still apply.  */
8943
10137
#ifdef __cplusplus
8944
10138
extern "C"
8945
10139
#endif
8946
 
/* We use char because int might match the return type of a gcc2
8947
 
   builtin and then its argument prototype would still apply.  */
8948
10140
char dlopen ();
8949
10141
int
8950
10142
main ()
8951
10143
{
8952
 
dlopen ();
 
10144
return dlopen ();
8953
10145
  ;
8954
10146
  return 0;
8955
10147
}
8956
10148
_ACEOF
8957
10149
rm -f conftest.$ac_objext conftest$ac_exeext
8958
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8959
 
  (eval $ac_link) 2>conftest.er1
 
10150
if { (ac_try="$ac_link"
 
10151
case "(($ac_try" in
 
10152
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10153
  *) ac_try_echo=$ac_try;;
 
10154
esac
 
10155
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10156
  (eval "$ac_link") 2>conftest.er1
8960
10157
  ac_status=$?
8961
10158
  grep -v '^ *+' conftest.er1 >conftest.err
8962
10159
  rm -f conftest.er1
8963
10160
  cat conftest.err >&5
8964
10161
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8965
 
  (exit $ac_status); } &&
8966
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8967
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8968
 
  (eval $ac_try) 2>&5
8969
 
  ac_status=$?
8970
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8971
 
  (exit $ac_status); }; } &&
8972
 
         { ac_try='test -s conftest$ac_exeext'
8973
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8974
 
  (eval $ac_try) 2>&5
8975
 
  ac_status=$?
8976
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8977
 
  (exit $ac_status); }; }; then
 
10162
  (exit $ac_status); } && {
 
10163
         test -z "$ac_c_werror_flag" ||
 
10164
         test ! -s conftest.err
 
10165
       } && test -s conftest$ac_exeext &&
 
10166
       $as_test_x conftest$ac_exeext; then
8978
10167
  ac_cv_lib_dl_dlopen=yes
8979
10168
else
8980
10169
  echo "$as_me: failed program was:" >&5
8981
10170
sed 's/^/| /' conftest.$ac_ext >&5
8982
10171
 
8983
 
ac_cv_lib_dl_dlopen=no
 
10172
        ac_cv_lib_dl_dlopen=no
8984
10173
fi
8985
 
rm -f conftest.err conftest.$ac_objext \
 
10174
 
 
10175
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8986
10176
      conftest$ac_exeext conftest.$ac_ext
8987
10177
LIBS=$ac_check_lib_save_LIBS
8988
10178
fi
8989
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8990
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
10179
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10180
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8991
10181
if test $ac_cv_lib_dl_dlopen = yes; then
8992
10182
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8993
10183
else
9001
10191
   ;;
9002
10192
 
9003
10193
  *)
9004
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
9005
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
10194
    { echo "$as_me:$LINENO: checking for shl_load" >&5
 
10195
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9006
10196
if test "${ac_cv_func_shl_load+set}" = set; then
9007
10197
  echo $ECHO_N "(cached) $ECHO_C" >&6
9008
10198
else
9029
10219
 
9030
10220
#undef shl_load
9031
10221
 
9032
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10222
/* Override any GCC internal prototype to avoid an error.
 
10223
   Use char because int might match the return type of a GCC
 
10224
   builtin and then its argument prototype would still apply.  */
9033
10225
#ifdef __cplusplus
9034
10226
extern "C"
9035
 
{
9036
10227
#endif
9037
 
/* We use char because int might match the return type of a gcc2
9038
 
   builtin and then its argument prototype would still apply.  */
9039
10228
char shl_load ();
9040
10229
/* The GNU C library defines this for functions which it implements
9041
10230
    to always fail with ENOSYS.  Some functions are actually named
9042
10231
    something starting with __ and the normal name is an alias.  */
9043
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
10232
#if defined __stub_shl_load || defined __stub___shl_load
9044
10233
choke me
9045
 
#else
9046
 
char (*f) () = shl_load;
9047
 
#endif
9048
 
#ifdef __cplusplus
9049
 
}
9050
10234
#endif
9051
10235
 
9052
10236
int
9053
10237
main ()
9054
10238
{
9055
 
return f != shl_load;
 
10239
return shl_load ();
9056
10240
  ;
9057
10241
  return 0;
9058
10242
}
9059
10243
_ACEOF
9060
10244
rm -f conftest.$ac_objext conftest$ac_exeext
9061
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9062
 
  (eval $ac_link) 2>conftest.er1
 
10245
if { (ac_try="$ac_link"
 
10246
case "(($ac_try" in
 
10247
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10248
  *) ac_try_echo=$ac_try;;
 
10249
esac
 
10250
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10251
  (eval "$ac_link") 2>conftest.er1
9063
10252
  ac_status=$?
9064
10253
  grep -v '^ *+' conftest.er1 >conftest.err
9065
10254
  rm -f conftest.er1
9066
10255
  cat conftest.err >&5
9067
10256
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9068
 
  (exit $ac_status); } &&
9069
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9070
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9071
 
  (eval $ac_try) 2>&5
9072
 
  ac_status=$?
9073
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074
 
  (exit $ac_status); }; } &&
9075
 
         { ac_try='test -s conftest$ac_exeext'
9076
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9077
 
  (eval $ac_try) 2>&5
9078
 
  ac_status=$?
9079
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9080
 
  (exit $ac_status); }; }; then
 
10257
  (exit $ac_status); } && {
 
10258
         test -z "$ac_c_werror_flag" ||
 
10259
         test ! -s conftest.err
 
10260
       } && test -s conftest$ac_exeext &&
 
10261
       $as_test_x conftest$ac_exeext; then
9081
10262
  ac_cv_func_shl_load=yes
9082
10263
else
9083
10264
  echo "$as_me: failed program was:" >&5
9084
10265
sed 's/^/| /' conftest.$ac_ext >&5
9085
10266
 
9086
 
ac_cv_func_shl_load=no
 
10267
        ac_cv_func_shl_load=no
9087
10268
fi
9088
 
rm -f conftest.err conftest.$ac_objext \
 
10269
 
 
10270
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9089
10271
      conftest$ac_exeext conftest.$ac_ext
9090
10272
fi
9091
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9092
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
10273
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
10274
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9093
10275
if test $ac_cv_func_shl_load = yes; then
9094
10276
  lt_cv_dlopen="shl_load"
9095
10277
else
9096
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9097
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
10278
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
10279
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9098
10280
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9099
10281
  echo $ECHO_N "(cached) $ECHO_C" >&6
9100
10282
else
9107
10289
cat >>conftest.$ac_ext <<_ACEOF
9108
10290
/* end confdefs.h.  */
9109
10291
 
9110
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10292
/* Override any GCC internal prototype to avoid an error.
 
10293
   Use char because int might match the return type of a GCC
 
10294
   builtin and then its argument prototype would still apply.  */
9111
10295
#ifdef __cplusplus
9112
10296
extern "C"
9113
10297
#endif
9114
 
/* We use char because int might match the return type of a gcc2
9115
 
   builtin and then its argument prototype would still apply.  */
9116
10298
char shl_load ();
9117
10299
int
9118
10300
main ()
9119
10301
{
9120
 
shl_load ();
 
10302
return shl_load ();
9121
10303
  ;
9122
10304
  return 0;
9123
10305
}
9124
10306
_ACEOF
9125
10307
rm -f conftest.$ac_objext conftest$ac_exeext
9126
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9127
 
  (eval $ac_link) 2>conftest.er1
 
10308
if { (ac_try="$ac_link"
 
10309
case "(($ac_try" in
 
10310
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10311
  *) ac_try_echo=$ac_try;;
 
10312
esac
 
10313
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10314
  (eval "$ac_link") 2>conftest.er1
9128
10315
  ac_status=$?
9129
10316
  grep -v '^ *+' conftest.er1 >conftest.err
9130
10317
  rm -f conftest.er1
9131
10318
  cat conftest.err >&5
9132
10319
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9133
 
  (exit $ac_status); } &&
9134
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9135
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9136
 
  (eval $ac_try) 2>&5
9137
 
  ac_status=$?
9138
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9139
 
  (exit $ac_status); }; } &&
9140
 
         { ac_try='test -s conftest$ac_exeext'
9141
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9142
 
  (eval $ac_try) 2>&5
9143
 
  ac_status=$?
9144
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9145
 
  (exit $ac_status); }; }; then
 
10320
  (exit $ac_status); } && {
 
10321
         test -z "$ac_c_werror_flag" ||
 
10322
         test ! -s conftest.err
 
10323
       } && test -s conftest$ac_exeext &&
 
10324
       $as_test_x conftest$ac_exeext; then
9146
10325
  ac_cv_lib_dld_shl_load=yes
9147
10326
else
9148
10327
  echo "$as_me: failed program was:" >&5
9149
10328
sed 's/^/| /' conftest.$ac_ext >&5
9150
10329
 
9151
 
ac_cv_lib_dld_shl_load=no
 
10330
        ac_cv_lib_dld_shl_load=no
9152
10331
fi
9153
 
rm -f conftest.err conftest.$ac_objext \
 
10332
 
 
10333
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9154
10334
      conftest$ac_exeext conftest.$ac_ext
9155
10335
LIBS=$ac_check_lib_save_LIBS
9156
10336
fi
9157
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9158
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
10337
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
10338
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9159
10339
if test $ac_cv_lib_dld_shl_load = yes; then
9160
10340
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9161
10341
else
9162
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
9163
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
10342
  { echo "$as_me:$LINENO: checking for dlopen" >&5
 
10343
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9164
10344
if test "${ac_cv_func_dlopen+set}" = set; then
9165
10345
  echo $ECHO_N "(cached) $ECHO_C" >&6
9166
10346
else
9187
10367
 
9188
10368
#undef dlopen
9189
10369
 
9190
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10370
/* Override any GCC internal prototype to avoid an error.
 
10371
   Use char because int might match the return type of a GCC
 
10372
   builtin and then its argument prototype would still apply.  */
9191
10373
#ifdef __cplusplus
9192
10374
extern "C"
9193
 
{
9194
10375
#endif
9195
 
/* We use char because int might match the return type of a gcc2
9196
 
   builtin and then its argument prototype would still apply.  */
9197
10376
char dlopen ();
9198
10377
/* The GNU C library defines this for functions which it implements
9199
10378
    to always fail with ENOSYS.  Some functions are actually named
9200
10379
    something starting with __ and the normal name is an alias.  */
9201
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
10380
#if defined __stub_dlopen || defined __stub___dlopen
9202
10381
choke me
9203
 
#else
9204
 
char (*f) () = dlopen;
9205
 
#endif
9206
 
#ifdef __cplusplus
9207
 
}
9208
10382
#endif
9209
10383
 
9210
10384
int
9211
10385
main ()
9212
10386
{
9213
 
return f != dlopen;
 
10387
return dlopen ();
9214
10388
  ;
9215
10389
  return 0;
9216
10390
}
9217
10391
_ACEOF
9218
10392
rm -f conftest.$ac_objext conftest$ac_exeext
9219
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9220
 
  (eval $ac_link) 2>conftest.er1
 
10393
if { (ac_try="$ac_link"
 
10394
case "(($ac_try" in
 
10395
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10396
  *) ac_try_echo=$ac_try;;
 
10397
esac
 
10398
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10399
  (eval "$ac_link") 2>conftest.er1
9221
10400
  ac_status=$?
9222
10401
  grep -v '^ *+' conftest.er1 >conftest.err
9223
10402
  rm -f conftest.er1
9224
10403
  cat conftest.err >&5
9225
10404
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9226
 
  (exit $ac_status); } &&
9227
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9228
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9229
 
  (eval $ac_try) 2>&5
9230
 
  ac_status=$?
9231
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9232
 
  (exit $ac_status); }; } &&
9233
 
         { ac_try='test -s conftest$ac_exeext'
9234
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9235
 
  (eval $ac_try) 2>&5
9236
 
  ac_status=$?
9237
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9238
 
  (exit $ac_status); }; }; then
 
10405
  (exit $ac_status); } && {
 
10406
         test -z "$ac_c_werror_flag" ||
 
10407
         test ! -s conftest.err
 
10408
       } && test -s conftest$ac_exeext &&
 
10409
       $as_test_x conftest$ac_exeext; then
9239
10410
  ac_cv_func_dlopen=yes
9240
10411
else
9241
10412
  echo "$as_me: failed program was:" >&5
9242
10413
sed 's/^/| /' conftest.$ac_ext >&5
9243
10414
 
9244
 
ac_cv_func_dlopen=no
 
10415
        ac_cv_func_dlopen=no
9245
10416
fi
9246
 
rm -f conftest.err conftest.$ac_objext \
 
10417
 
 
10418
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9247
10419
      conftest$ac_exeext conftest.$ac_ext
9248
10420
fi
9249
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9250
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
10421
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
10422
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9251
10423
if test $ac_cv_func_dlopen = yes; then
9252
10424
  lt_cv_dlopen="dlopen"
9253
10425
else
9254
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9255
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
10426
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10427
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9256
10428
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9257
10429
  echo $ECHO_N "(cached) $ECHO_C" >&6
9258
10430
else
9265
10437
cat >>conftest.$ac_ext <<_ACEOF
9266
10438
/* end confdefs.h.  */
9267
10439
 
9268
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10440
/* Override any GCC internal prototype to avoid an error.
 
10441
   Use char because int might match the return type of a GCC
 
10442
   builtin and then its argument prototype would still apply.  */
9269
10443
#ifdef __cplusplus
9270
10444
extern "C"
9271
10445
#endif
9272
 
/* We use char because int might match the return type of a gcc2
9273
 
   builtin and then its argument prototype would still apply.  */
9274
10446
char dlopen ();
9275
10447
int
9276
10448
main ()
9277
10449
{
9278
 
dlopen ();
 
10450
return dlopen ();
9279
10451
  ;
9280
10452
  return 0;
9281
10453
}
9282
10454
_ACEOF
9283
10455
rm -f conftest.$ac_objext conftest$ac_exeext
9284
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9285
 
  (eval $ac_link) 2>conftest.er1
 
10456
if { (ac_try="$ac_link"
 
10457
case "(($ac_try" in
 
10458
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10459
  *) ac_try_echo=$ac_try;;
 
10460
esac
 
10461
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10462
  (eval "$ac_link") 2>conftest.er1
9286
10463
  ac_status=$?
9287
10464
  grep -v '^ *+' conftest.er1 >conftest.err
9288
10465
  rm -f conftest.er1
9289
10466
  cat conftest.err >&5
9290
10467
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9291
 
  (exit $ac_status); } &&
9292
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9293
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9294
 
  (eval $ac_try) 2>&5
9295
 
  ac_status=$?
9296
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9297
 
  (exit $ac_status); }; } &&
9298
 
         { ac_try='test -s conftest$ac_exeext'
9299
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9300
 
  (eval $ac_try) 2>&5
9301
 
  ac_status=$?
9302
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9303
 
  (exit $ac_status); }; }; then
 
10468
  (exit $ac_status); } && {
 
10469
         test -z "$ac_c_werror_flag" ||
 
10470
         test ! -s conftest.err
 
10471
       } && test -s conftest$ac_exeext &&
 
10472
       $as_test_x conftest$ac_exeext; then
9304
10473
  ac_cv_lib_dl_dlopen=yes
9305
10474
else
9306
10475
  echo "$as_me: failed program was:" >&5
9307
10476
sed 's/^/| /' conftest.$ac_ext >&5
9308
10477
 
9309
 
ac_cv_lib_dl_dlopen=no
 
10478
        ac_cv_lib_dl_dlopen=no
9310
10479
fi
9311
 
rm -f conftest.err conftest.$ac_objext \
 
10480
 
 
10481
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9312
10482
      conftest$ac_exeext conftest.$ac_ext
9313
10483
LIBS=$ac_check_lib_save_LIBS
9314
10484
fi
9315
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9316
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
10485
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10486
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9317
10487
if test $ac_cv_lib_dl_dlopen = yes; then
9318
10488
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9319
10489
else
9320
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9321
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
10490
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
10491
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9322
10492
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9323
10493
  echo $ECHO_N "(cached) $ECHO_C" >&6
9324
10494
else
9331
10501
cat >>conftest.$ac_ext <<_ACEOF
9332
10502
/* end confdefs.h.  */
9333
10503
 
9334
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10504
/* Override any GCC internal prototype to avoid an error.
 
10505
   Use char because int might match the return type of a GCC
 
10506
   builtin and then its argument prototype would still apply.  */
9335
10507
#ifdef __cplusplus
9336
10508
extern "C"
9337
10509
#endif
9338
 
/* We use char because int might match the return type of a gcc2
9339
 
   builtin and then its argument prototype would still apply.  */
9340
10510
char dlopen ();
9341
10511
int
9342
10512
main ()
9343
10513
{
9344
 
dlopen ();
 
10514
return dlopen ();
9345
10515
  ;
9346
10516
  return 0;
9347
10517
}
9348
10518
_ACEOF
9349
10519
rm -f conftest.$ac_objext conftest$ac_exeext
9350
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9351
 
  (eval $ac_link) 2>conftest.er1
 
10520
if { (ac_try="$ac_link"
 
10521
case "(($ac_try" in
 
10522
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10523
  *) ac_try_echo=$ac_try;;
 
10524
esac
 
10525
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10526
  (eval "$ac_link") 2>conftest.er1
9352
10527
  ac_status=$?
9353
10528
  grep -v '^ *+' conftest.er1 >conftest.err
9354
10529
  rm -f conftest.er1
9355
10530
  cat conftest.err >&5
9356
10531
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9357
 
  (exit $ac_status); } &&
9358
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9359
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9360
 
  (eval $ac_try) 2>&5
9361
 
  ac_status=$?
9362
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9363
 
  (exit $ac_status); }; } &&
9364
 
         { ac_try='test -s conftest$ac_exeext'
9365
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9366
 
  (eval $ac_try) 2>&5
9367
 
  ac_status=$?
9368
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9369
 
  (exit $ac_status); }; }; then
 
10532
  (exit $ac_status); } && {
 
10533
         test -z "$ac_c_werror_flag" ||
 
10534
         test ! -s conftest.err
 
10535
       } && test -s conftest$ac_exeext &&
 
10536
       $as_test_x conftest$ac_exeext; then
9370
10537
  ac_cv_lib_svld_dlopen=yes
9371
10538
else
9372
10539
  echo "$as_me: failed program was:" >&5
9373
10540
sed 's/^/| /' conftest.$ac_ext >&5
9374
10541
 
9375
 
ac_cv_lib_svld_dlopen=no
 
10542
        ac_cv_lib_svld_dlopen=no
9376
10543
fi
9377
 
rm -f conftest.err conftest.$ac_objext \
 
10544
 
 
10545
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9378
10546
      conftest$ac_exeext conftest.$ac_ext
9379
10547
LIBS=$ac_check_lib_save_LIBS
9380
10548
fi
9381
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9382
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
10549
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
10550
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9383
10551
if test $ac_cv_lib_svld_dlopen = yes; then
9384
10552
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9385
10553
else
9386
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9387
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
10554
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
10555
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9388
10556
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9389
10557
  echo $ECHO_N "(cached) $ECHO_C" >&6
9390
10558
else
9397
10565
cat >>conftest.$ac_ext <<_ACEOF
9398
10566
/* end confdefs.h.  */
9399
10567
 
9400
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10568
/* Override any GCC internal prototype to avoid an error.
 
10569
   Use char because int might match the return type of a GCC
 
10570
   builtin and then its argument prototype would still apply.  */
9401
10571
#ifdef __cplusplus
9402
10572
extern "C"
9403
10573
#endif
9404
 
/* We use char because int might match the return type of a gcc2
9405
 
   builtin and then its argument prototype would still apply.  */
9406
10574
char dld_link ();
9407
10575
int
9408
10576
main ()
9409
10577
{
9410
 
dld_link ();
 
10578
return dld_link ();
9411
10579
  ;
9412
10580
  return 0;
9413
10581
}
9414
10582
_ACEOF
9415
10583
rm -f conftest.$ac_objext conftest$ac_exeext
9416
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9417
 
  (eval $ac_link) 2>conftest.er1
 
10584
if { (ac_try="$ac_link"
 
10585
case "(($ac_try" in
 
10586
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10587
  *) ac_try_echo=$ac_try;;
 
10588
esac
 
10589
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10590
  (eval "$ac_link") 2>conftest.er1
9418
10591
  ac_status=$?
9419
10592
  grep -v '^ *+' conftest.er1 >conftest.err
9420
10593
  rm -f conftest.er1
9421
10594
  cat conftest.err >&5
9422
10595
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9423
 
  (exit $ac_status); } &&
9424
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9425
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9426
 
  (eval $ac_try) 2>&5
9427
 
  ac_status=$?
9428
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9429
 
  (exit $ac_status); }; } &&
9430
 
         { ac_try='test -s conftest$ac_exeext'
9431
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9432
 
  (eval $ac_try) 2>&5
9433
 
  ac_status=$?
9434
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9435
 
  (exit $ac_status); }; }; then
 
10596
  (exit $ac_status); } && {
 
10597
         test -z "$ac_c_werror_flag" ||
 
10598
         test ! -s conftest.err
 
10599
       } && test -s conftest$ac_exeext &&
 
10600
       $as_test_x conftest$ac_exeext; then
9436
10601
  ac_cv_lib_dld_dld_link=yes
9437
10602
else
9438
10603
  echo "$as_me: failed program was:" >&5
9439
10604
sed 's/^/| /' conftest.$ac_ext >&5
9440
10605
 
9441
 
ac_cv_lib_dld_dld_link=no
 
10606
        ac_cv_lib_dld_dld_link=no
9442
10607
fi
9443
 
rm -f conftest.err conftest.$ac_objext \
 
10608
 
 
10609
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9444
10610
      conftest$ac_exeext conftest.$ac_ext
9445
10611
LIBS=$ac_check_lib_save_LIBS
9446
10612
fi
9447
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9448
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
10613
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
10614
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9449
10615
if test $ac_cv_lib_dld_dld_link = yes; then
9450
10616
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9451
10617
fi
9480
10646
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9481
10647
 
9482
10648
    save_LDFLAGS="$LDFLAGS"
9483
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
10649
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9484
10650
 
9485
10651
    save_LIBS="$LIBS"
9486
10652
    LIBS="$lt_cv_dlopen_libs $LIBS"
9487
10653
 
9488
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9489
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
10654
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
10655
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9490
10656
if test "${lt_cv_dlopen_self+set}" = set; then
9491
10657
  echo $ECHO_N "(cached) $ECHO_C" >&6
9492
10658
else
9496
10662
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9497
10663
  lt_status=$lt_dlunknown
9498
10664
  cat > conftest.$ac_ext <<EOF
9499
 
#line 9499 "configure"
 
10665
#line 10665 "configure"
9500
10666
#include "confdefs.h"
9501
10667
 
9502
10668
#if HAVE_DLFCN_H
9553
10719
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9554
10720
      /* dlclose (self); */
9555
10721
    }
 
10722
  else
 
10723
    puts (dlerror ());
9556
10724
 
9557
10725
    exit (status);
9558
10726
}
9562
10730
  ac_status=$?
9563
10731
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9564
10732
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9565
 
    (./conftest; exit; ) 2>/dev/null
 
10733
    (./conftest; exit; ) >&5 2>/dev/null
9566
10734
    lt_status=$?
9567
10735
    case x$lt_status in
9568
10736
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9569
10737
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9570
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
 
10738
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9571
10739
    esac
9572
10740
  else :
9573
10741
    # compilation failed
9578
10746
 
9579
10747
 
9580
10748
fi
9581
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9582
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
10749
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
10750
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9583
10751
 
9584
10752
    if test "x$lt_cv_dlopen_self" = xyes; then
9585
 
      LDFLAGS="$LDFLAGS $link_static_flag"
9586
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9587
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
10753
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
10754
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
10755
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9588
10756
if test "${lt_cv_dlopen_self_static+set}" = set; then
9589
10757
  echo $ECHO_N "(cached) $ECHO_C" >&6
9590
10758
else
9594
10762
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9595
10763
  lt_status=$lt_dlunknown
9596
10764
  cat > conftest.$ac_ext <<EOF
9597
 
#line 9597 "configure"
 
10765
#line 10765 "configure"
9598
10766
#include "confdefs.h"
9599
10767
 
9600
10768
#if HAVE_DLFCN_H
9651
10819
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9652
10820
      /* dlclose (self); */
9653
10821
    }
 
10822
  else
 
10823
    puts (dlerror ());
9654
10824
 
9655
10825
    exit (status);
9656
10826
}
9660
10830
  ac_status=$?
9661
10831
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9662
10832
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9663
 
    (./conftest; exit; ) 2>/dev/null
 
10833
    (./conftest; exit; ) >&5 2>/dev/null
9664
10834
    lt_status=$?
9665
10835
    case x$lt_status in
9666
10836
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
9667
10837
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
9668
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
 
10838
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
9669
10839
    esac
9670
10840
  else :
9671
10841
    # compilation failed
9676
10846
 
9677
10847
 
9678
10848
fi
9679
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9680
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
10849
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
10850
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
9681
10851
    fi
9682
10852
 
9683
10853
    CPPFLAGS="$save_CPPFLAGS"
9698
10868
fi
9699
10869
 
9700
10870
 
9701
 
# Report which librarie types wil actually be built
9702
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9703
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9704
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
9705
 
echo "${ECHO_T}$can_build_shared" >&6
 
10871
# Report which library types will actually be built
 
10872
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
10873
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
10874
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
10875
echo "${ECHO_T}$can_build_shared" >&6; }
9706
10876
 
9707
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9708
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
10877
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
10878
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
9709
10879
test "$can_build_shared" = "no" && enable_shared=no
9710
10880
 
9711
10881
# On AIX, shared libraries and static libraries use the same namespace, and
9712
10882
# are all built from PIC.
9713
 
case "$host_os" in
 
10883
case $host_os in
9714
10884
aix3*)
9715
10885
  test "$enable_shared" = yes && enable_static=no
9716
10886
  if test -n "$RANLIB"; then
9723
10893
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
9724
10894
    test "$enable_shared" = yes && enable_static=no
9725
10895
  fi
9726
 
  ;;
9727
 
  darwin* | rhapsody*)
9728
 
  if test "$GCC" = yes; then
9729
 
    archive_cmds_need_lc=no
9730
 
    case "$host_os" in
9731
 
    rhapsody* | darwin1.[012])
9732
 
      allow_undefined_flag='-undefined suppress'
9733
 
      ;;
9734
 
    *) # Darwin 1.3 on
9735
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9736
 
        allow_undefined_flag='-flat_namespace -undefined suppress'
9737
 
      else
9738
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
9739
 
          10.[012])
9740
 
            allow_undefined_flag='-flat_namespace -undefined suppress'
9741
 
            ;;
9742
 
          10.*)
9743
 
            allow_undefined_flag='-undefined dynamic_lookup'
9744
 
            ;;
9745
 
        esac
9746
 
      fi
9747
 
      ;;
9748
 
    esac
9749
 
    output_verbose_link_cmd='echo'
9750
 
    archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
9751
 
    module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9752
 
    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9753
 
    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}'
9754
 
    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}'
9755
 
    hardcode_direct=no
9756
 
    hardcode_automatic=yes
9757
 
    hardcode_shlibpath_var=unsupported
9758
 
    whole_archive_flag_spec='-all_load $convenience'
9759
 
    link_all_deplibs=yes
9760
 
  else
9761
 
    ld_shlibs=no
9762
 
  fi
9763
10896
    ;;
9764
10897
esac
9765
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
9766
 
echo "${ECHO_T}$enable_shared" >&6
 
10898
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
10899
echo "${ECHO_T}$enable_shared" >&6; }
9767
10900
 
9768
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9769
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
10901
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
10902
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
9770
10903
# Make sure either enable_shared or enable_static is yes.
9771
10904
test "$enable_shared" = yes || enable_static=yes
9772
 
echo "$as_me:$LINENO: result: $enable_static" >&5
9773
 
echo "${ECHO_T}$enable_static" >&6
 
10905
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
10906
echo "${ECHO_T}$enable_static" >&6; }
9774
10907
 
9775
10908
# The else clause should only fire when bootstrapping the
9776
10909
# libtool distribution, otherwise you forgot to ship ltmain.sh
9785
10918
  # Now quote all the things that may contain metacharacters while being
9786
10919
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
9787
10920
  # variables and quote the copies for generation of the libtool script.
9788
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
10921
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
9789
10922
    SED SHELL STRIP \
9790
10923
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9791
10924
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9889
11022
#
9890
11023
# You should have received a copy of the GNU General Public License
9891
11024
# along with this program; if not, write to the Free Software
9892
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
11025
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9893
11026
#
9894
11027
# As a special exception to the GNU General Public License, if you
9895
11028
# distribute this file as part of a program that contains a
9900
11033
SED=$lt_SED
9901
11034
 
9902
11035
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
9903
 
Xsed="$SED -e s/^X//"
 
11036
Xsed="$SED -e 1s/^X//"
9904
11037
 
9905
11038
# The HP-UX ksh and POSIX shell print the target directory to stdout
9906
11039
# if CDPATH is set.
9907
 
if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
 
11040
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9908
11041
 
9909
11042
# The names of the tagged configurations supported by this script.
9910
11043
available_tags=
9934
11067
# The host system.
9935
11068
host_alias=$host_alias
9936
11069
host=$host
 
11070
host_os=$host_os
 
11071
 
 
11072
# The build system.
 
11073
build_alias=$build_alias
 
11074
build=$build
 
11075
build_os=$build_os
9937
11076
 
9938
11077
# An echo program that does not interpret backslashes.
9939
11078
echo=$lt_echo
9945
11084
# A C compiler.
9946
11085
LTCC=$lt_LTCC
9947
11086
 
 
11087
# LTCC compiler flags.
 
11088
LTCFLAGS=$lt_LTCFLAGS
 
11089
 
9948
11090
# A language-specific compiler.
9949
11091
CC=$lt_compiler
9950
11092
 
10010
11152
# Does compiler simultaneously support -c and -o options?
10011
11153
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10012
11154
 
10013
 
# Must we lock files when doing compilation ?
 
11155
# Must we lock files when doing compilation?
10014
11156
need_locks=$lt_need_locks
10015
11157
 
10016
11158
# Do we need the lib prefix for modules?
10253
11395
CC="$lt_save_CC"
10254
11396
 
10255
11397
 
10256
 
# Check whether --with-tags or --without-tags was given.
 
11398
# Check whether --with-tags was given.
10257
11399
if test "${with_tags+set}" = set; then
10258
 
  withval="$with_tags"
10259
 
  tagnames="$withval"
10260
 
fi;
 
11400
  withval=$with_tags; tagnames="$withval"
 
11401
fi
 
11402
 
10261
11403
 
10262
11404
if test -f "$ltmain" && test -n "$tagnames"; then
10263
11405
  if test ! -f "${ofile}"; then
10275
11417
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
10276
11418
    fi
10277
11419
  fi
 
11420
  if test -z "$LTCFLAGS"; then
 
11421
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
 
11422
  fi
10278
11423
 
10279
11424
  # Extract list of available tagged configurations in $ofile.
10280
11425
  # Note that this assumes the entire list is on one line.
10305
11450
 
10306
11451
      case $tagname in
10307
11452
      CXX)
10308
 
        if test -n "$CXX" && test "X$CXX" != "Xno"; then
10309
 
          ac_ext=cc
 
11453
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
11454
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
11455
            (test "X$CXX" != "Xg++"))) ; then
 
11456
          ac_ext=cpp
10310
11457
ac_cpp='$CXXCPP $CPPFLAGS'
10311
11458
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10312
11459
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10325
11472
hardcode_libdir_flag_spec_ld_CXX=
10326
11473
hardcode_libdir_separator_CXX=
10327
11474
hardcode_minus_L_CXX=no
 
11475
hardcode_shlibpath_var_CXX=unsupported
10328
11476
hardcode_automatic_CXX=no
10329
11477
module_cmds_CXX=
10330
11478
module_expsym_cmds_CXX=
10342
11490
compiler_lib_search_path_CXX=
10343
11491
 
10344
11492
# Source file extension for C++ test sources.
10345
 
ac_ext=cc
 
11493
ac_ext=cpp
10346
11494
 
10347
11495
# Object file extension for compiled C++ test sources.
10348
11496
objext=o
10352
11500
lt_simple_compile_test_code="int some_variable = 0;\n"
10353
11501
 
10354
11502
# Code to be used in simple link tests
10355
 
lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
 
11503
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
10356
11504
 
10357
11505
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
10358
11506
 
10359
11507
# If no C compiler was specified, use CC.
10360
11508
LTCC=${LTCC-"$CC"}
10361
11509
 
 
11510
# If no C compiler flags were specified, use CFLAGS.
 
11511
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
11512
 
10362
11513
# Allow CC to be a program name with arguments.
10363
11514
compiler=$CC
10364
11515
 
10365
11516
 
 
11517
# save warnings/boilerplate of simple test code
 
11518
ac_outfile=conftest.$ac_objext
 
11519
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
11520
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
11521
_lt_compiler_boilerplate=`cat conftest.err`
 
11522
$rm conftest*
 
11523
 
 
11524
ac_outfile=conftest.$ac_objext
 
11525
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
11526
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
11527
_lt_linker_boilerplate=`cat conftest.err`
 
11528
$rm conftest*
 
11529
 
 
11530
 
10366
11531
# Allow CC to be a program name with arguments.
10367
11532
lt_save_CC=$CC
10368
11533
lt_save_LD=$LD
10373
11538
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10374
11539
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10375
11540
else
10376
 
  unset lt_cv_prog_gnu_ld
 
11541
  $as_unset lt_cv_prog_gnu_ld
10377
11542
fi
10378
11543
if test -n "${lt_cv_path_LDCXX+set}"; then
10379
11544
  lt_cv_path_LD=$lt_cv_path_LDCXX
10380
11545
else
10381
 
  unset lt_cv_path_LD
 
11546
  $as_unset lt_cv_path_LD
10382
11547
fi
10383
11548
test -z "${LDCXX+set}" || LD=$LDCXX
10384
11549
CC=${CXX-"c++"}
10385
11550
compiler=$CC
10386
11551
compiler_CXX=$CC
10387
 
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
 
11552
for cc_temp in $compiler""; do
 
11553
  case $cc_temp in
 
11554
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
11555
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
11556
    \-*) ;;
 
11557
    *) break;;
 
11558
  esac
 
11559
done
 
11560
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
11561
 
10388
11562
 
10389
11563
# We don't want -fno-exception wen compiling C++ code, so set the
10390
11564
# no_builtin_flag separately
10398
11572
  # Set up default GNU C++ configuration
10399
11573
 
10400
11574
 
10401
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
11575
# Check whether --with-gnu-ld was given.
10402
11576
if test "${with_gnu_ld+set}" = set; then
10403
 
  withval="$with_gnu_ld"
10404
 
  test "$withval" = no || with_gnu_ld=yes
 
11577
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10405
11578
else
10406
11579
  with_gnu_ld=no
10407
 
fi;
 
11580
fi
 
11581
 
10408
11582
ac_prog=ld
10409
11583
if test "$GCC" = yes; then
10410
11584
  # Check if gcc -print-prog-name=ld gives a path.
10411
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10412
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
11585
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
11586
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10413
11587
  case $host in
10414
11588
  *-*-mingw*)
10415
11589
    # gcc leaves a trailing carriage return which upsets mingw
10438
11612
    ;;
10439
11613
  esac
10440
11614
elif test "$with_gnu_ld" = yes; then
10441
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
10442
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
11615
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
11616
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10443
11617
else
10444
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10445
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
11618
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
11619
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10446
11620
fi
10447
11621
if test "${lt_cv_path_LD+set}" = set; then
10448
11622
  echo $ECHO_N "(cached) $ECHO_C" >&6
10455
11629
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10456
11630
      lt_cv_path_LD="$ac_dir/$ac_prog"
10457
11631
      # Check to see if the program is GNU ld.  I'd rather use --version,
10458
 
      # but apparently some GNU ld's only accept -v.
 
11632
      # but apparently some variants of GNU ld only accept -v.
10459
11633
      # Break only if it was the GNU/non-GNU ld that we prefer.
10460
11634
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10461
11635
      *GNU* | *'with BFD'*)
10475
11649
 
10476
11650
LD="$lt_cv_path_LD"
10477
11651
if test -n "$LD"; then
10478
 
  echo "$as_me:$LINENO: result: $LD" >&5
10479
 
echo "${ECHO_T}$LD" >&6
 
11652
  { echo "$as_me:$LINENO: result: $LD" >&5
 
11653
echo "${ECHO_T}$LD" >&6; }
10480
11654
else
10481
 
  echo "$as_me:$LINENO: result: no" >&5
10482
 
echo "${ECHO_T}no" >&6
 
11655
  { echo "$as_me:$LINENO: result: no" >&5
 
11656
echo "${ECHO_T}no" >&6; }
10483
11657
fi
10484
11658
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10485
11659
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10486
11660
   { (exit 1); exit 1; }; }
10487
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10488
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
11661
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
11662
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10489
11663
if test "${lt_cv_prog_gnu_ld+set}" = set; then
10490
11664
  echo $ECHO_N "(cached) $ECHO_C" >&6
10491
11665
else
10492
 
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
11666
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
10493
11667
case `$LD -v 2>&1 </dev/null` in
10494
11668
*GNU* | *'with BFD'*)
10495
11669
  lt_cv_prog_gnu_ld=yes
10499
11673
  ;;
10500
11674
esac
10501
11675
fi
10502
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10503
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
11676
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
11677
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10504
11678
with_gnu_ld=$lt_cv_prog_gnu_ld
10505
11679
 
10506
11680
 
10550
11724
fi
10551
11725
 
10552
11726
# PORTME: fill in a description of your system's C++ link characteristics
10553
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10554
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
11727
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
11728
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10555
11729
ld_shlibs_CXX=yes
10556
11730
case $host_os in
10557
11731
  aix3*)
10580
11754
            ;;
10581
11755
          esac
10582
11756
        done
 
11757
        ;;
10583
11758
      esac
10584
11759
 
10585
11760
      exp_sym_flag='-bexport'
10598
11773
    link_all_deplibs_CXX=yes
10599
11774
 
10600
11775
    if test "$GXX" = yes; then
10601
 
      case $host_os in aix4.012|aix4.012.*)
 
11776
      case $host_os in aix4.[012]|aix4.[012].*)
10602
11777
      # We only want to do this on AIX 4.2 and lower, the check
10603
11778
      # below for broken collect2 doesn't work under 4.3+
10604
11779
        collect2name=`${CC} -print-prog-name=collect2`
10617
11792
          hardcode_libdir_flag_spec_CXX='-L$libdir'
10618
11793
          hardcode_libdir_separator_CXX=
10619
11794
        fi
 
11795
        ;;
10620
11796
      esac
10621
11797
      shared_flag='-shared'
 
11798
      if test "$aix_use_runtimelinking" = yes; then
 
11799
        shared_flag="$shared_flag "'${wl}-G'
 
11800
      fi
10622
11801
    else
10623
11802
      # not using gcc
10624
11803
      if test "$host_cpu" = ia64; then
10658
11837
}
10659
11838
_ACEOF
10660
11839
rm -f conftest.$ac_objext conftest$ac_exeext
10661
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10662
 
  (eval $ac_link) 2>conftest.er1
 
11840
if { (ac_try="$ac_link"
 
11841
case "(($ac_try" in
 
11842
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11843
  *) ac_try_echo=$ac_try;;
 
11844
esac
 
11845
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11846
  (eval "$ac_link") 2>conftest.er1
10663
11847
  ac_status=$?
10664
11848
  grep -v '^ *+' conftest.er1 >conftest.err
10665
11849
  rm -f conftest.er1
10666
11850
  cat conftest.err >&5
10667
11851
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10668
 
  (exit $ac_status); } &&
10669
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
10670
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10671
 
  (eval $ac_try) 2>&5
10672
 
  ac_status=$?
10673
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10674
 
  (exit $ac_status); }; } &&
10675
 
         { ac_try='test -s conftest$ac_exeext'
10676
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10677
 
  (eval $ac_try) 2>&5
10678
 
  ac_status=$?
10679
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10680
 
  (exit $ac_status); }; }; then
 
11852
  (exit $ac_status); } && {
 
11853
         test -z "$ac_cxx_werror_flag" ||
 
11854
         test ! -s conftest.err
 
11855
       } && test -s conftest$ac_exeext &&
 
11856
       $as_test_x conftest$ac_exeext; then
10681
11857
 
10682
11858
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10683
11859
}'`
10688
11864
  echo "$as_me: failed program was:" >&5
10689
11865
sed 's/^/| /' conftest.$ac_ext >&5
10690
11866
 
 
11867
 
10691
11868
fi
10692
 
rm -f conftest.err conftest.$ac_objext \
 
11869
 
 
11870
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10693
11871
      conftest$ac_exeext conftest.$ac_ext
10694
11872
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10695
11873
 
10696
11874
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10697
11875
 
10698
 
      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
11876
      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"
10699
11877
     else
10700
11878
      if test "$host_cpu" = ia64; then
10701
11879
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
10702
11880
        allow_undefined_flag_CXX="-z nodefs"
10703
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
11881
        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"
10704
11882
      else
10705
11883
        # Determine the default libpath from the value encoded in an empty executable.
10706
11884
        cat >conftest.$ac_ext <<_ACEOF
10719
11897
}
10720
11898
_ACEOF
10721
11899
rm -f conftest.$ac_objext conftest$ac_exeext
10722
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10723
 
  (eval $ac_link) 2>conftest.er1
 
11900
if { (ac_try="$ac_link"
 
11901
case "(($ac_try" in
 
11902
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11903
  *) ac_try_echo=$ac_try;;
 
11904
esac
 
11905
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11906
  (eval "$ac_link") 2>conftest.er1
10724
11907
  ac_status=$?
10725
11908
  grep -v '^ *+' conftest.er1 >conftest.err
10726
11909
  rm -f conftest.er1
10727
11910
  cat conftest.err >&5
10728
11911
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10729
 
  (exit $ac_status); } &&
10730
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
10731
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10732
 
  (eval $ac_try) 2>&5
10733
 
  ac_status=$?
10734
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10735
 
  (exit $ac_status); }; } &&
10736
 
         { ac_try='test -s conftest$ac_exeext'
10737
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10738
 
  (eval $ac_try) 2>&5
10739
 
  ac_status=$?
10740
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10741
 
  (exit $ac_status); }; }; then
 
11912
  (exit $ac_status); } && {
 
11913
         test -z "$ac_cxx_werror_flag" ||
 
11914
         test ! -s conftest.err
 
11915
       } && test -s conftest$ac_exeext &&
 
11916
       $as_test_x conftest$ac_exeext; then
10742
11917
 
10743
11918
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10744
11919
}'`
10749
11924
  echo "$as_me: failed program was:" >&5
10750
11925
sed 's/^/| /' conftest.$ac_ext >&5
10751
11926
 
 
11927
 
10752
11928
fi
10753
 
rm -f conftest.err conftest.$ac_objext \
 
11929
 
 
11930
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10754
11931
      conftest$ac_exeext conftest.$ac_ext
10755
11932
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10756
11933
 
10759
11936
        # -berok will link without error, but may produce a broken library.
10760
11937
        no_undefined_flag_CXX=' ${wl}-bernotok'
10761
11938
        allow_undefined_flag_CXX=' ${wl}-berok'
10762
 
        # -bexpall does not export symbols beginning with underscore (_)
10763
 
        always_export_symbols_CXX=yes
10764
11939
        # Exported symbols can be pulled into shared objects from archives
10765
 
        whole_archive_flag_spec_CXX=' '
 
11940
        whole_archive_flag_spec_CXX='$convenience'
10766
11941
        archive_cmds_need_lc_CXX=yes
10767
 
        # This is similar to how AIX traditionally builds it's shared libraries.
10768
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
11942
        # This is similar to how AIX traditionally builds its shared libraries.
 
11943
        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'
10769
11944
      fi
10770
11945
    fi
10771
11946
    ;;
 
11947
 
 
11948
  beos*)
 
11949
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
11950
      allow_undefined_flag_CXX=unsupported
 
11951
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
11952
      # support --undefined.  This deserves some investigation.  FIXME
 
11953
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11954
    else
 
11955
      ld_shlibs_CXX=no
 
11956
    fi
 
11957
    ;;
 
11958
 
10772
11959
  chorus*)
10773
11960
    case $cc_basename in
10774
11961
      *)
10787
11974
    enable_shared_with_static_runtimes_CXX=yes
10788
11975
 
10789
11976
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10790
 
      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
11977
      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'
10791
11978
      # If the export-symbols file already is a .def file (1st line
10792
11979
      # is EXPORTS), use it as is; otherwise, prepend...
10793
11980
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10796
11983
        echo EXPORTS > $output_objdir/$soname.def;
10797
11984
        cat $export_symbols >> $output_objdir/$soname.def;
10798
11985
      fi~
10799
 
      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
11986
      $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'
10800
11987
    else
10801
11988
      ld_shlibs_CXX=no
10802
11989
    fi
10803
11990
  ;;
10804
 
 
10805
 
  darwin* | rhapsody*)
10806
 
  if test "$GXX" = yes; then
10807
 
    archive_cmds_need_lc_CXX=no
10808
 
    case "$host_os" in
10809
 
    rhapsody* | darwin1.[012])
10810
 
      allow_undefined_flag_CXX='-undefined suppress'
10811
 
      ;;
10812
 
    *) # Darwin 1.3 on
10813
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10814
 
        allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10815
 
      else
10816
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
10817
 
          10.[012])
10818
 
            allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10819
 
            ;;
10820
 
          10.*)
10821
 
            allow_undefined_flag_CXX='-undefined dynamic_lookup'
10822
 
            ;;
 
11991
      darwin* | rhapsody*)
 
11992
        case $host_os in
 
11993
        rhapsody* | darwin1.[012])
 
11994
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
 
11995
         ;;
 
11996
       *) # Darwin 1.3 on
 
11997
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
11998
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
11999
         else
 
12000
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
12001
             10.[012])
 
12002
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
12003
               ;;
 
12004
             10.*)
 
12005
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
 
12006
               ;;
 
12007
           esac
 
12008
         fi
 
12009
         ;;
10823
12010
        esac
10824
 
      fi
10825
 
      ;;
10826
 
    esac
10827
 
    lt_int_apple_cc_single_mod=no
10828
 
    output_verbose_link_cmd='echo'
10829
 
    if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
10830
 
      lt_int_apple_cc_single_mod=yes
10831
 
    fi
10832
 
    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10833
 
      archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10834
 
    else
10835
 
      archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10836
 
    fi
10837
 
    module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
12011
      archive_cmds_need_lc_CXX=no
 
12012
      hardcode_direct_CXX=no
 
12013
      hardcode_automatic_CXX=yes
 
12014
      hardcode_shlibpath_var_CXX=unsupported
 
12015
      whole_archive_flag_spec_CXX=''
 
12016
      link_all_deplibs_CXX=yes
10838
12017
 
10839
 
    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10840
 
    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10841
 
      archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10842
 
    else
10843
 
      archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10844
 
    fi
10845
 
    module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10846
 
    hardcode_direct_CXX=no
10847
 
    hardcode_automatic_CXX=yes
10848
 
    hardcode_shlibpath_var_CXX=unsupported
10849
 
    whole_archive_flag_spec_CXX='-all_load $convenience'
10850
 
    link_all_deplibs_CXX=yes
10851
 
  else
10852
 
    ld_shlibs_CXX=no
10853
 
  fi
10854
 
    ;;
 
12018
    if test "$GXX" = yes ; then
 
12019
      lt_int_apple_cc_single_mod=no
 
12020
      output_verbose_link_cmd='echo'
 
12021
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
 
12022
       lt_int_apple_cc_single_mod=yes
 
12023
      fi
 
12024
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 
12025
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
12026
      else
 
12027
          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'
 
12028
        fi
 
12029
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
12030
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
12031
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 
12032
            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}'
 
12033
          else
 
12034
            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}'
 
12035
          fi
 
12036
            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}'
 
12037
      else
 
12038
      case $cc_basename in
 
12039
        xlc*)
 
12040
         output_verbose_link_cmd='echo'
 
12041
          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'
 
12042
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
12043
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
12044
          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}'
 
12045
          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}'
 
12046
          ;;
 
12047
       *)
 
12048
         ld_shlibs_CXX=no
 
12049
          ;;
 
12050
      esac
 
12051
      fi
 
12052
        ;;
10855
12053
 
10856
12054
  dgux*)
10857
12055
    case $cc_basename in
10858
 
      ec++)
 
12056
      ec++*)
10859
12057
        # FIXME: insert proper C++ library support
10860
12058
        ld_shlibs_CXX=no
10861
12059
        ;;
10862
 
      ghcx)
 
12060
      ghcx*)
10863
12061
        # Green Hills C++ Compiler
10864
12062
        # FIXME: insert proper C++ library support
10865
12063
        ld_shlibs_CXX=no
10870
12068
        ;;
10871
12069
    esac
10872
12070
    ;;
10873
 
  freebsd12*)
 
12071
  freebsd[12]*)
10874
12072
    # C++ shared libraries reported to be fairly broken before switch to ELF
10875
12073
    ld_shlibs_CXX=no
10876
12074
    ;;
10877
12075
  freebsd-elf*)
10878
12076
    archive_cmds_need_lc_CXX=no
10879
12077
    ;;
10880
 
  freebsd* | kfreebsd*-gnu)
 
12078
  freebsd* | dragonfly*)
10881
12079
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10882
12080
    # conventions
10883
12081
    ld_shlibs_CXX=yes
10894
12092
                                # location of the library.
10895
12093
 
10896
12094
    case $cc_basename in
10897
 
    CC)
 
12095
    CC*)
10898
12096
      # FIXME: insert proper C++ library support
10899
12097
      ld_shlibs_CXX=no
10900
12098
      ;;
10901
 
    aCC)
 
12099
    aCC*)
10902
12100
      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'
10903
12101
      # Commands to make compiler produce verbose output that lists
10904
12102
      # what "hidden" libraries, object files and flags are used when
10908
12106
      # explicitly linking system object files so we need to strip them
10909
12107
      # from the output so that they don't get included in the library
10910
12108
      # dependencies.
10911
 
      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'
 
12109
      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'
10912
12110
      ;;
10913
12111
    *)
10914
12112
      if test "$GXX" = yes; then
10922
12120
    ;;
10923
12121
  hpux10*|hpux11*)
10924
12122
    if test $with_gnu_ld = no; then
10925
 
      case "$host_cpu" in
10926
 
      hppa*64*)
10927
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
12123
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
12124
      hardcode_libdir_separator_CXX=:
 
12125
 
 
12126
      case $host_cpu in
 
12127
      hppa*64*|ia64*)
10928
12128
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
10929
 
        hardcode_libdir_separator_CXX=:
10930
 
        ;;
10931
 
      ia64*)
10932
 
        hardcode_libdir_flag_spec_CXX='-L$libdir'
10933
12129
        ;;
10934
12130
      *)
10935
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10936
 
        hardcode_libdir_separator_CXX=:
10937
12131
        export_dynamic_flag_spec_CXX='${wl}-E'
10938
12132
        ;;
10939
12133
      esac
10940
12134
    fi
10941
 
    case "$host_cpu" in
10942
 
    hppa*64*)
10943
 
      hardcode_direct_CXX=no
10944
 
      hardcode_shlibpath_var_CXX=no
10945
 
      ;;
10946
 
    ia64*)
10947
 
      hardcode_direct_CXX=no
10948
 
      hardcode_shlibpath_var_CXX=no
10949
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
10950
 
                                              # but as the default
10951
 
                                              # location of the library.
 
12135
    case $host_cpu in
 
12136
    hppa*64*|ia64*)
 
12137
      hardcode_direct_CXX=no
 
12138
      hardcode_shlibpath_var_CXX=no
10952
12139
      ;;
10953
12140
    *)
10954
12141
      hardcode_direct_CXX=yes
10959
12146
    esac
10960
12147
 
10961
12148
    case $cc_basename in
10962
 
      CC)
 
12149
      CC*)
10963
12150
        # FIXME: insert proper C++ library support
10964
12151
        ld_shlibs_CXX=no
10965
12152
        ;;
10966
 
      aCC)
10967
 
        case "$host_cpu" in
10968
 
        hppa*64*|ia64*)
10969
 
          archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
 
12153
      aCC*)
 
12154
        case $host_cpu in
 
12155
        hppa*64*)
 
12156
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12157
          ;;
 
12158
        ia64*)
 
12159
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10970
12160
          ;;
10971
12161
        *)
10972
12162
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10985
12175
      *)
10986
12176
        if test "$GXX" = yes; then
10987
12177
          if test $with_gnu_ld = no; then
10988
 
            case "$host_cpu" in
10989
 
            ia64*|hppa*64*)
10990
 
              archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
 
12178
            case $host_cpu in
 
12179
            hppa*64*)
 
12180
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12181
              ;;
 
12182
            ia64*)
 
12183
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10991
12184
              ;;
10992
12185
            *)
10993
12186
              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'
11001
12194
        ;;
11002
12195
    esac
11003
12196
    ;;
 
12197
  interix3*)
 
12198
    hardcode_direct_CXX=no
 
12199
    hardcode_shlibpath_var_CXX=no
 
12200
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
12201
    export_dynamic_flag_spec_CXX='${wl}-E'
 
12202
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
12203
    # Instead, shared libraries are loaded at an image base (0x10000000 by
 
12204
    # default) and relocated if they conflict, which is a slow very memory
 
12205
    # consuming and fragmenting process.  To avoid this, we pick a random,
 
12206
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
12207
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
12208
    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'
 
12209
    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'
 
12210
    ;;
11004
12211
  irix5* | irix6*)
11005
12212
    case $cc_basename in
11006
 
      CC)
 
12213
      CC*)
11007
12214
        # SGI C++
11008
 
        archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
 
12215
        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'
11009
12216
 
11010
12217
        # Archives containing C++ object files must be created using
11011
12218
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
11016
12223
      *)
11017
12224
        if test "$GXX" = yes; then
11018
12225
          if test "$with_gnu_ld" = no; then
11019
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
 
12226
            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'
11020
12227
          else
11021
12228
            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'
11022
12229
          fi
11027
12234
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11028
12235
    hardcode_libdir_separator_CXX=:
11029
12236
    ;;
11030
 
  linux*)
 
12237
  linux* | k*bsd*-gnu)
11031
12238
    case $cc_basename in
11032
 
      KCC)
 
12239
      KCC*)
11033
12240
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11034
12241
 
11035
12242
        # KCC will only create a shared library if the output file
11054
12261
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11055
12262
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11056
12263
        ;;
11057
 
      icpc)
 
12264
      icpc*)
11058
12265
        # Intel C++
11059
12266
        with_gnu_ld=yes
 
12267
        # version 8.0 and above of icpc choke on multiply defined symbols
 
12268
        # if we add $predep_objects and $postdep_objects, however 7.1 and
 
12269
        # earlier do not add the objects themselves.
 
12270
        case `$CC -V 2>&1` in
 
12271
        *"Version 7."*)
 
12272
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12273
          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'
 
12274
          ;;
 
12275
        *)  # Version 8.0 or newer
 
12276
          tmp_idyn=
 
12277
          case $host_cpu in
 
12278
            ia64*) tmp_idyn=' -i_dynamic';;
 
12279
          esac
 
12280
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12281
          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'
 
12282
          ;;
 
12283
        esac
11060
12284
        archive_cmds_need_lc_CXX=no
11061
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11062
 
        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'
11063
12285
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11064
12286
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11065
12287
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11066
12288
        ;;
11067
 
      cxx)
 
12289
      pgCC*)
 
12290
        # Portland Group C++ compiler
 
12291
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
12292
        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'
 
12293
 
 
12294
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 
12295
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
12296
        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'
 
12297
        ;;
 
12298
      cxx*)
11068
12299
        # Compaq C++
11069
12300
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11070
12301
        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'
11095
12326
    ;;
11096
12327
  mvs*)
11097
12328
    case $cc_basename in
11098
 
      cxx)
 
12329
      cxx*)
11099
12330
        # FIXME: insert proper C++ library support
11100
12331
        ld_shlibs_CXX=no
11101
12332
        ;;
11105
12336
        ;;
11106
12337
    esac
11107
12338
    ;;
11108
 
  netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
12339
  netbsd* | netbsdelf*-gnu)
11109
12340
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11110
12341
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11111
12342
      wlarc=
11116
12347
    # Workaround some broken pre-1.5 toolchains
11117
12348
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11118
12349
    ;;
 
12350
  openbsd2*)
 
12351
    # C++ shared libraries are fairly broken
 
12352
    ld_shlibs_CXX=no
 
12353
    ;;
 
12354
  openbsd*)
 
12355
    hardcode_direct_CXX=yes
 
12356
    hardcode_shlibpath_var_CXX=no
 
12357
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
12358
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
12359
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
12360
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
12361
      export_dynamic_flag_spec_CXX='${wl}-E'
 
12362
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
12363
    fi
 
12364
    output_verbose_link_cmd='echo'
 
12365
    ;;
11119
12366
  osf3*)
11120
12367
    case $cc_basename in
11121
 
      KCC)
 
12368
      KCC*)
11122
12369
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11123
12370
 
11124
12371
        # KCC will only create a shared library if the output file
11134
12381
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11135
12382
 
11136
12383
        ;;
11137
 
      RCC)
 
12384
      RCC*)
11138
12385
        # Rational C++ 2.4.1
11139
12386
        # FIXME: insert proper C++ library support
11140
12387
        ld_shlibs_CXX=no
11141
12388
        ;;
11142
 
      cxx)
 
12389
      cxx*)
11143
12390
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11144
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
 
12391
        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'
11145
12392
 
11146
12393
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11147
12394
        hardcode_libdir_separator_CXX=:
11159
12406
      *)
11160
12407
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11161
12408
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11162
 
          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
 
12409
          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'
11163
12410
 
11164
12411
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11165
12412
          hardcode_libdir_separator_CXX=:
11178
12425
    ;;
11179
12426
  osf4* | osf5*)
11180
12427
    case $cc_basename in
11181
 
      KCC)
 
12428
      KCC*)
11182
12429
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11183
12430
 
11184
12431
        # KCC will only create a shared library if the output file
11193
12440
        # the KAI C++ compiler.
11194
12441
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
11195
12442
        ;;
11196
 
      RCC)
 
12443
      RCC*)
11197
12444
        # Rational C++ 2.4.1
11198
12445
        # FIXME: insert proper C++ library support
11199
12446
        ld_shlibs_CXX=no
11200
12447
        ;;
11201
 
      cxx)
 
12448
      cxx*)
11202
12449
        allow_undefined_flag_CXX=' -expect_unresolved \*'
11203
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
 
12450
        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'
11204
12451
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11205
12452
          echo "-hidden">> $lib.exp~
11206
 
          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
 
12453
          $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~
11207
12454
          $rm $lib.exp'
11208
12455
 
11209
12456
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11222
12469
      *)
11223
12470
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11224
12471
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11225
 
         archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
 
12472
         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'
11226
12473
 
11227
12474
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11228
12475
          hardcode_libdir_separator_CXX=:
11243
12490
    # FIXME: insert proper C++ library support
11244
12491
    ld_shlibs_CXX=no
11245
12492
    ;;
11246
 
  sco*)
11247
 
    archive_cmds_need_lc_CXX=no
11248
 
    case $cc_basename in
11249
 
      CC)
11250
 
        # FIXME: insert proper C++ library support
11251
 
        ld_shlibs_CXX=no
11252
 
        ;;
11253
 
      *)
11254
 
        # FIXME: insert proper C++ library support
11255
 
        ld_shlibs_CXX=no
11256
 
        ;;
11257
 
    esac
11258
 
    ;;
11259
12493
  sunos4*)
11260
12494
    case $cc_basename in
11261
 
      CC)
 
12495
      CC*)
11262
12496
        # Sun C++ 4.x
11263
12497
        # FIXME: insert proper C++ library support
11264
12498
        ld_shlibs_CXX=no
11265
12499
        ;;
11266
 
      lcc)
 
12500
      lcc*)
11267
12501
        # Lucid
11268
12502
        # FIXME: insert proper C++ library support
11269
12503
        ld_shlibs_CXX=no
11276
12510
    ;;
11277
12511
  solaris*)
11278
12512
    case $cc_basename in
11279
 
      CC)
 
12513
      CC*)
11280
12514
        # Sun C++ 4.2, 5.x and Centerline C++
 
12515
        archive_cmds_need_lc_CXX=yes
11281
12516
        no_undefined_flag_CXX=' -zdefs'
11282
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12517
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11283
12518
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11284
 
        $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
 
12519
        $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'
11285
12520
 
11286
12521
        hardcode_libdir_flag_spec_CXX='-R$libdir'
11287
12522
        hardcode_shlibpath_var_CXX=no
11288
12523
        case $host_os in
11289
 
          solaris2.0-5 | solaris2.0-5.*) ;;
 
12524
          solaris2.[0-5] | solaris2.[0-5].*) ;;
11290
12525
          *)
11291
12526
            # The C++ compiler is used as linker so we must use $wl
11292
12527
            # flag to pass the commands to the underlying system
11293
 
            # linker.
 
12528
            # linker. We must also pass each convience library through
 
12529
            # to the system linker between allextract/defaultextract.
 
12530
            # The C++ compiler will combine linker options so we
 
12531
            # cannot just pass the convience library names through
 
12532
            # without $wl.
11294
12533
            # Supported since Solaris 2.6 (maybe 2.5.1?)
11295
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
12534
            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'
11296
12535
            ;;
11297
12536
        esac
11298
12537
        link_all_deplibs_CXX=yes
11299
12538
 
11300
 
        # Commands to make compiler produce verbose output that lists
11301
 
        # what "hidden" libraries, object files and flags are used when
11302
 
        # linking a shared library.
11303
 
        #
11304
 
        # There doesn't appear to be a way to prevent this compiler from
11305
 
        # explicitly linking system object files so we need to strip them
11306
 
        # from the output so that they don't get included in the library
11307
 
        # dependencies.
11308
 
        output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
 
12539
        output_verbose_link_cmd='echo'
11309
12540
 
11310
12541
        # Archives containing C++ object files must be created using
11311
12542
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
11313
12544
        # in the archive.
11314
12545
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11315
12546
        ;;
11316
 
      gcx)
 
12547
      gcx*)
11317
12548
        # Green Hills C++ Compiler
11318
12549
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11319
12550
 
11351
12582
        ;;
11352
12583
    esac
11353
12584
    ;;
11354
 
  sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
11355
 
    archive_cmds_need_lc_CXX=no
 
12585
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
12586
    no_undefined_flag_CXX='${wl}-z,text'
 
12587
    archive_cmds_need_lc_CXX=no
 
12588
    hardcode_shlibpath_var_CXX=no
 
12589
    runpath_var='LD_RUN_PATH'
 
12590
 
 
12591
    case $cc_basename in
 
12592
      CC*)
 
12593
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12594
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12595
        ;;
 
12596
      *)
 
12597
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12598
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12599
        ;;
 
12600
    esac
 
12601
    ;;
 
12602
  sysv5* | sco3.2v5* | sco5v6*)
 
12603
    # Note: We can NOT use -z defs as we might desire, because we do not
 
12604
    # link with -lc, and that would cause any symbols used from libc to
 
12605
    # always be unresolved, which means just about no library would
 
12606
    # ever link correctly.  If we're not using GNU ld we use -z text
 
12607
    # though, which does catch some bad symbols but isn't as heavy-handed
 
12608
    # as -z defs.
 
12609
    # For security reasons, it is highly recommended that you always
 
12610
    # use absolute paths for naming shared libraries, and exclude the
 
12611
    # DT_RUNPATH tag from executables and libraries.  But doing so
 
12612
    # requires that you compile everything twice, which is a pain.
 
12613
    # So that behaviour is only enabled if SCOABSPATH is set to a
 
12614
    # non-empty value in the environment.  Most likely only useful for
 
12615
    # creating official distributions of packages.
 
12616
    # This is a hack until libtool officially supports absolute path
 
12617
    # names for shared libraries.
 
12618
    no_undefined_flag_CXX='${wl}-z,text'
 
12619
    allow_undefined_flag_CXX='${wl}-z,nodefs'
 
12620
    archive_cmds_need_lc_CXX=no
 
12621
    hardcode_shlibpath_var_CXX=no
 
12622
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
12623
    hardcode_libdir_separator_CXX=':'
 
12624
    link_all_deplibs_CXX=yes
 
12625
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
 
12626
    runpath_var='LD_RUN_PATH'
 
12627
 
 
12628
    case $cc_basename in
 
12629
      CC*)
 
12630
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12631
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12632
        ;;
 
12633
      *)
 
12634
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12635
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12636
        ;;
 
12637
    esac
11356
12638
    ;;
11357
12639
  tandem*)
11358
12640
    case $cc_basename in
11359
 
      NCC)
 
12641
      NCC*)
11360
12642
        # NonStop-UX NCC 3.20
11361
12643
        # FIXME: insert proper C++ library support
11362
12644
        ld_shlibs_CXX=no
11376
12658
    ld_shlibs_CXX=no
11377
12659
    ;;
11378
12660
esac
11379
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11380
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
12661
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
12662
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11381
12663
test "$ld_shlibs_CXX" = no && can_build_shared=no
11382
12664
 
11383
12665
GCC_CXX="$GXX"
11409
12691
  # The `*' in the case matches for architectures that use `case' in
11410
12692
  # $output_verbose_cmd can trigger glob expansion during the loop
11411
12693
  # eval without this substitution.
11412
 
  output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
 
12694
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11413
12695
 
11414
12696
  for p in `eval $output_verbose_link_cmd`; do
11415
12697
    case $p in
11485
12767
 
11486
12768
$rm -f confest.$objext
11487
12769
 
 
12770
# PORTME: override above test on systems where it is broken
 
12771
case $host_os in
 
12772
interix3*)
 
12773
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
 
12774
  # hack all around it, let's just trust "g++" to DTRT.
 
12775
  predep_objects_CXX=
 
12776
  postdep_objects_CXX=
 
12777
  postdeps_CXX=
 
12778
  ;;
 
12779
 
 
12780
solaris*)
 
12781
  case $cc_basename in
 
12782
  CC*)
 
12783
    # Adding this requires a known-good setup of shared libraries for
 
12784
    # Sun compiler versions before 5.6, else PIC objects from an old
 
12785
    # archive will be linked into the output, leading to subtle bugs.
 
12786
    postdeps_CXX='-lCstd -lCrun'
 
12787
    ;;
 
12788
  esac
 
12789
  ;;
 
12790
esac
 
12791
 
 
12792
 
11488
12793
case " $postdeps_CXX " in
11489
12794
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
11490
12795
esac
11493
12798
lt_prog_compiler_pic_CXX=
11494
12799
lt_prog_compiler_static_CXX=
11495
12800
 
11496
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11497
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
12801
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
12802
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11498
12803
 
11499
12804
  # C++ specific cases for pic, static, wl, etc.
11500
12805
  if test "$GXX" = yes; then
11532
12837
      # DJGPP does not support shared libraries at all
11533
12838
      lt_prog_compiler_pic_CXX=
11534
12839
      ;;
 
12840
    interix3*)
 
12841
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
12842
      # Instead, we relocate shared libraries at runtime.
 
12843
      ;;
11535
12844
    sysv4*MP*)
11536
12845
      if test -d /usr/nec; then
11537
12846
        lt_prog_compiler_pic_CXX=-Kconform_pic
11540
12849
    hpux*)
11541
12850
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11542
12851
      # not for PA HP-UX.
11543
 
      case "$host_cpu" in
 
12852
      case $host_cpu in
11544
12853
      hppa*64*|ia64*)
11545
12854
        ;;
11546
12855
      *)
11565
12874
        ;;
11566
12875
      chorus*)
11567
12876
        case $cc_basename in
11568
 
        cxch68)
 
12877
        cxch68*)
11569
12878
          # Green Hills C++ Compiler
11570
12879
          # _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"
11571
12880
          ;;
11572
12881
        esac
11573
12882
        ;;
 
12883
       darwin*)
 
12884
         # PIC is the default on this platform
 
12885
         # Common symbols not allowed in MH_DYLIB files
 
12886
         case $cc_basename in
 
12887
           xlc*)
 
12888
           lt_prog_compiler_pic_CXX='-qnocommon'
 
12889
           lt_prog_compiler_wl_CXX='-Wl,'
 
12890
           ;;
 
12891
         esac
 
12892
       ;;
11574
12893
      dgux*)
11575
12894
        case $cc_basename in
11576
 
          ec++)
 
12895
          ec++*)
11577
12896
            lt_prog_compiler_pic_CXX='-KPIC'
11578
12897
            ;;
11579
 
          ghcx)
 
12898
          ghcx*)
11580
12899
            # Green Hills C++ Compiler
11581
12900
            lt_prog_compiler_pic_CXX='-pic'
11582
12901
            ;;
11584
12903
            ;;
11585
12904
        esac
11586
12905
        ;;
11587
 
      freebsd* | kfreebsd*-gnu)
 
12906
      freebsd* | dragonfly*)
11588
12907
        # FreeBSD uses GNU C++
11589
12908
        ;;
11590
12909
      hpux9* | hpux10* | hpux11*)
11591
12910
        case $cc_basename in
11592
 
          CC)
 
12911
          CC*)
11593
12912
            lt_prog_compiler_wl_CXX='-Wl,'
11594
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
 
12913
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
11595
12914
            if test "$host_cpu" != ia64; then
11596
12915
              lt_prog_compiler_pic_CXX='+Z'
11597
12916
            fi
11598
12917
            ;;
11599
 
          aCC)
 
12918
          aCC*)
11600
12919
            lt_prog_compiler_wl_CXX='-Wl,'
11601
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11602
 
            case "$host_cpu" in
 
12920
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
 
12921
            case $host_cpu in
11603
12922
            hppa*64*|ia64*)
11604
12923
              # +Z the default
11605
12924
              ;;
11612
12931
            ;;
11613
12932
        esac
11614
12933
        ;;
 
12934
      interix*)
 
12935
        # This is c89, which is MS Visual C++ (no shared libs)
 
12936
        # Anyone wants to do a port?
 
12937
        ;;
11615
12938
      irix5* | irix6* | nonstopux*)
11616
12939
        case $cc_basename in
11617
 
          CC)
 
12940
          CC*)
11618
12941
            lt_prog_compiler_wl_CXX='-Wl,'
11619
12942
            lt_prog_compiler_static_CXX='-non_shared'
11620
12943
            # CC pic flag -KPIC is the default.
11623
12946
            ;;
11624
12947
        esac
11625
12948
        ;;
11626
 
      linux*)
 
12949
      linux* | k*bsd*-gnu)
11627
12950
        case $cc_basename in
11628
 
          KCC)
 
12951
          KCC*)
11629
12952
            # KAI C++ Compiler
11630
12953
            lt_prog_compiler_wl_CXX='--backend -Wl,'
11631
12954
            lt_prog_compiler_pic_CXX='-fPIC'
11632
12955
            ;;
11633
 
          icpc)
 
12956
          icpc* | ecpc*)
11634
12957
            # Intel C++
11635
12958
            lt_prog_compiler_wl_CXX='-Wl,'
11636
12959
            lt_prog_compiler_pic_CXX='-KPIC'
11637
12960
            lt_prog_compiler_static_CXX='-static'
11638
12961
            ;;
11639
 
          cxx)
 
12962
          pgCC*)
 
12963
            # Portland Group C++ compiler.
 
12964
            lt_prog_compiler_wl_CXX='-Wl,'
 
12965
            lt_prog_compiler_pic_CXX='-fpic'
 
12966
            lt_prog_compiler_static_CXX='-Bstatic'
 
12967
            ;;
 
12968
          cxx*)
11640
12969
            # Compaq C++
11641
12970
            # Make sure the PIC flag is empty.  It appears that all Alpha
11642
12971
            # Linux and Compaq Tru64 Unix objects are PIC.
11653
12982
        ;;
11654
12983
      mvs*)
11655
12984
        case $cc_basename in
11656
 
          cxx)
 
12985
          cxx*)
11657
12986
            lt_prog_compiler_pic_CXX='-W c,exportall'
11658
12987
            ;;
11659
12988
          *)
11660
12989
            ;;
11661
12990
        esac
11662
12991
        ;;
11663
 
      netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
12992
      netbsd* | netbsdelf*-gnu)
11664
12993
        ;;
11665
12994
      osf3* | osf4* | osf5*)
11666
12995
        case $cc_basename in
11667
 
          KCC)
 
12996
          KCC*)
11668
12997
            lt_prog_compiler_wl_CXX='--backend -Wl,'
11669
12998
            ;;
11670
 
          RCC)
 
12999
          RCC*)
11671
13000
            # Rational C++ 2.4.1
11672
13001
            lt_prog_compiler_pic_CXX='-pic'
11673
13002
            ;;
11674
 
          cxx)
 
13003
          cxx*)
11675
13004
            # Digital/Compaq C++
11676
13005
            lt_prog_compiler_wl_CXX='-Wl,'
11677
13006
            # Make sure the PIC flag is empty.  It appears that all Alpha
11685
13014
        ;;
11686
13015
      psos*)
11687
13016
        ;;
11688
 
      sco*)
11689
 
        case $cc_basename in
11690
 
          CC)
11691
 
            lt_prog_compiler_pic_CXX='-fPIC'
11692
 
            ;;
11693
 
          *)
11694
 
            ;;
11695
 
        esac
11696
 
        ;;
11697
13017
      solaris*)
11698
13018
        case $cc_basename in
11699
 
          CC)
 
13019
          CC*)
11700
13020
            # Sun C++ 4.2, 5.x and Centerline C++
11701
13021
            lt_prog_compiler_pic_CXX='-KPIC'
11702
13022
            lt_prog_compiler_static_CXX='-Bstatic'
11703
13023
            lt_prog_compiler_wl_CXX='-Qoption ld '
11704
13024
            ;;
11705
 
          gcx)
 
13025
          gcx*)
11706
13026
            # Green Hills C++ Compiler
11707
13027
            lt_prog_compiler_pic_CXX='-PIC'
11708
13028
            ;;
11712
13032
        ;;
11713
13033
      sunos4*)
11714
13034
        case $cc_basename in
11715
 
          CC)
 
13035
          CC*)
11716
13036
            # Sun C++ 4.x
11717
13037
            lt_prog_compiler_pic_CXX='-pic'
11718
13038
            lt_prog_compiler_static_CXX='-Bstatic'
11719
13039
            ;;
11720
 
          lcc)
 
13040
          lcc*)
11721
13041
            # Lucid
11722
13042
            lt_prog_compiler_pic_CXX='-pic'
11723
13043
            ;;
11727
13047
        ;;
11728
13048
      tandem*)
11729
13049
        case $cc_basename in
11730
 
          NCC)
 
13050
          NCC*)
11731
13051
            # NonStop-UX NCC 3.20
11732
13052
            lt_prog_compiler_pic_CXX='-KPIC'
11733
13053
            ;;
11735
13055
            ;;
11736
13056
        esac
11737
13057
        ;;
11738
 
      unixware*)
 
13058
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
13059
        case $cc_basename in
 
13060
          CC*)
 
13061
            lt_prog_compiler_wl_CXX='-Wl,'
 
13062
            lt_prog_compiler_pic_CXX='-KPIC'
 
13063
            lt_prog_compiler_static_CXX='-Bstatic'
 
13064
            ;;
 
13065
        esac
11739
13066
        ;;
11740
13067
      vxworks*)
11741
13068
        ;;
11745
13072
    esac
11746
13073
  fi
11747
13074
 
11748
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11749
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
 
13075
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
13076
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
11750
13077
 
11751
13078
#
11752
13079
# Check to make sure the PIC flag actually works.
11753
13080
#
11754
13081
if test -n "$lt_prog_compiler_pic_CXX"; then
11755
13082
 
11756
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11757
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
 
13083
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
13084
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
11758
13085
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11759
13086
  echo $ECHO_N "(cached) $ECHO_C" >&6
11760
13087
else
11768
13095
   # with a dollar sign (not a hyphen), so the echo should work correctly.
11769
13096
   # The option is referenced via a variable to avoid confusing sed.
11770
13097
   lt_compile=`echo "$ac_compile" | $SED \
11771
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
13098
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11772
13099
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11773
13100
   -e 's:$: $lt_compiler_flag:'`
11774
 
   (eval echo "\"\$as_me:11774: $lt_compile\"" >&5)
 
13101
   (eval echo "\"\$as_me:13101: $lt_compile\"" >&5)
11775
13102
   (eval "$lt_compile" 2>conftest.err)
11776
13103
   ac_status=$?
11777
13104
   cat conftest.err >&5
11778
 
   echo "$as_me:11778: \$? = $ac_status" >&5
 
13105
   echo "$as_me:13105: \$? = $ac_status" >&5
11779
13106
   if (exit $ac_status) && test -s "$ac_outfile"; then
11780
13107
     # The compiler can only warn and ignore the option if not recognized
11781
 
     # So say no if there are warnings
11782
 
     if test ! -s conftest.err; then
 
13108
     # So say no if there are warnings other than the usual output.
 
13109
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
13110
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
13111
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11783
13112
       lt_prog_compiler_pic_works_CXX=yes
11784
13113
     fi
11785
13114
   fi
11786
13115
   $rm conftest*
11787
13116
 
11788
13117
fi
11789
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11790
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
 
13118
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
 
13119
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
11791
13120
 
11792
13121
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
11793
13122
    case $lt_prog_compiler_pic_CXX in
11800
13129
fi
11801
13130
 
11802
13131
fi
11803
 
case "$host_os" in
 
13132
case $host_os in
11804
13133
  # For platforms which do not support PIC, -DPIC is meaningless:
11805
13134
  *djgpp*)
11806
13135
    lt_prog_compiler_pic_CXX=
11810
13139
    ;;
11811
13140
esac
11812
13141
 
11813
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11814
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
13142
#
 
13143
# Check to make sure the static flag actually works.
 
13144
#
 
13145
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
 
13146
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
13147
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
13148
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
 
13149
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13150
else
 
13151
  lt_prog_compiler_static_works_CXX=no
 
13152
   save_LDFLAGS="$LDFLAGS"
 
13153
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
13154
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
13155
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
13156
     # The linker can only warn and ignore the option if not recognized
 
13157
     # So say no if there are warnings
 
13158
     if test -s conftest.err; then
 
13159
       # Append any errors to the config.log.
 
13160
       cat conftest.err 1>&5
 
13161
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
13162
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
13163
       if diff conftest.exp conftest.er2 >/dev/null; then
 
13164
         lt_prog_compiler_static_works_CXX=yes
 
13165
       fi
 
13166
     else
 
13167
       lt_prog_compiler_static_works_CXX=yes
 
13168
     fi
 
13169
   fi
 
13170
   $rm conftest*
 
13171
   LDFLAGS="$save_LDFLAGS"
 
13172
 
 
13173
fi
 
13174
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
 
13175
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
 
13176
 
 
13177
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
 
13178
    :
 
13179
else
 
13180
    lt_prog_compiler_static_CXX=
 
13181
fi
 
13182
 
 
13183
 
 
13184
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
13185
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11815
13186
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11816
13187
  echo $ECHO_N "(cached) $ECHO_C" >&6
11817
13188
else
11828
13199
   # Note that $ac_compile itself does not contain backslashes and begins
11829
13200
   # with a dollar sign (not a hyphen), so the echo should work correctly.
11830
13201
   lt_compile=`echo "$ac_compile" | $SED \
11831
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
13202
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11832
13203
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11833
13204
   -e 's:$: $lt_compiler_flag:'`
11834
 
   (eval echo "\"\$as_me:11834: $lt_compile\"" >&5)
 
13205
   (eval echo "\"\$as_me:13205: $lt_compile\"" >&5)
11835
13206
   (eval "$lt_compile" 2>out/conftest.err)
11836
13207
   ac_status=$?
11837
13208
   cat out/conftest.err >&5
11838
 
   echo "$as_me:11838: \$? = $ac_status" >&5
 
13209
   echo "$as_me:13209: \$? = $ac_status" >&5
11839
13210
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
11840
13211
   then
11841
13212
     # The compiler can only warn and ignore the option if not recognized
11842
13213
     # So say no if there are warnings
11843
 
     if test ! -s out/conftest.err; then
 
13214
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
13215
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
13216
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11844
13217
       lt_cv_prog_compiler_c_o_CXX=yes
11845
13218
     fi
11846
13219
   fi
11847
 
   chmod u+w .
 
13220
   chmod u+w . 2>&5
11848
13221
   $rm conftest*
11849
13222
   # SGI C++ compiler will create directory out/ii_files/ for
11850
13223
   # template instantiation
11855
13228
   $rm conftest*
11856
13229
 
11857
13230
fi
11858
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11859
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
 
13231
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
13232
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
11860
13233
 
11861
13234
 
11862
13235
hard_links="nottested"
11863
13236
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
11864
13237
  # do not overwrite the value of need_locks provided by the user
11865
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11866
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
13238
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
13239
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
11867
13240
  hard_links=yes
11868
13241
  $rm conftest*
11869
13242
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11870
13243
  touch conftest.a
11871
13244
  ln conftest.a conftest.b 2>&5 || hard_links=no
11872
13245
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11873
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
11874
 
echo "${ECHO_T}$hard_links" >&6
 
13246
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
13247
echo "${ECHO_T}$hard_links" >&6; }
11875
13248
  if test "$hard_links" = no; then
11876
13249
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11877
13250
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11881
13254
  need_locks=no
11882
13255
fi
11883
13256
 
11884
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11885
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
13257
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
13258
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11886
13259
 
11887
13260
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11888
13261
  case $host_os in
11899
13272
    export_symbols_cmds_CXX="$ltdll_cmds"
11900
13273
  ;;
11901
13274
  cygwin* | mingw*)
11902
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
13275
    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'
11903
13276
  ;;
11904
 
  linux*)
 
13277
  linux* | k*bsd*-gnu)
11905
13278
    link_all_deplibs_CXX=no
11906
13279
  ;;
11907
13280
  *)
11909
13282
  ;;
11910
13283
  esac
11911
13284
 
11912
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11913
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
13285
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
13286
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11914
13287
test "$ld_shlibs_CXX" = no && can_build_shared=no
11915
13288
 
11916
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11917
 
if test "$GCC" = yes; then
11918
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11919
 
fi
11920
 
 
11921
13289
#
11922
13290
# Do we need to explicitly link libc?
11923
13291
#
11935
13303
      # Test whether the compiler implicitly links with -lc since on some
11936
13304
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11937
13305
      # to ld, don't add -lc before -lgcc.
11938
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11939
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
13306
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
13307
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11940
13308
      $rm conftest*
11941
13309
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11942
13310
 
11950
13318
        libobjs=conftest.$ac_objext
11951
13319
        deplibs=
11952
13320
        wl=$lt_prog_compiler_wl_CXX
 
13321
        pic_flag=$lt_prog_compiler_pic_CXX
11953
13322
        compiler_flags=-v
11954
13323
        linker_flags=-v
11955
13324
        verstring=
11972
13341
        cat conftest.err 1>&5
11973
13342
      fi
11974
13343
      $rm conftest*
11975
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11976
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
 
13344
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
13345
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
11977
13346
      ;;
11978
13347
    esac
11979
13348
  fi
11980
13349
  ;;
11981
13350
esac
11982
13351
 
11983
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11984
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
13352
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
13353
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11985
13354
library_names_spec=
11986
13355
libname_spec='lib$name'
11987
13356
soname_spec=
12082
13451
  shlibpath_var=LIBRARY_PATH
12083
13452
  ;;
12084
13453
 
12085
 
bsdi4*)
 
13454
bsdi[45]*)
12086
13455
  version_type=linux
12087
13456
  need_version=no
12088
13457
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12110
13479
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12111
13480
      dldir=$destdir/`dirname \$dlpath`~
12112
13481
      test -d \$dldir || mkdir -p \$dldir~
12113
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
13482
      $install_prog $dir/$dlname \$dldir/$dlname~
 
13483
      chmod a+x \$dldir/$dlname'
12114
13484
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12115
13485
      dlpath=$dir/\$dldll~
12116
13486
       $rm \$dlpath'
12140
13510
      ;;
12141
13511
    pw32*)
12142
13512
      # pw32 DLLs use 'pw' prefix rather than 'lib'
12143
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
13513
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12144
13514
      ;;
12145
13515
    esac
12146
13516
    ;;
12163
13533
  soname_spec='${libname}${release}${major}$shared_ext'
12164
13534
  shlibpath_overrides_runpath=yes
12165
13535
  shlibpath_var=DYLD_LIBRARY_PATH
12166
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
 
13536
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12167
13537
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12168
13538
  if test "$GCC" = yes; then
12169
13539
    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"`
12186
13556
  dynamic_linker=no
12187
13557
  ;;
12188
13558
 
12189
 
kfreebsd*-gnu)
12190
 
  version_type=linux
12191
 
  need_lib_prefix=no
12192
 
  need_version=no
12193
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12194
 
  soname_spec='${libname}${release}${shared_ext}$major'
12195
 
  shlibpath_var=LD_LIBRARY_PATH
12196
 
  shlibpath_overrides_runpath=no
12197
 
  hardcode_into_libs=yes
12198
 
  dynamic_linker='GNU ld.so'
12199
 
  ;;
12200
 
 
12201
 
freebsd*)
12202
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
13559
freebsd* | dragonfly*)
 
13560
  # DragonFly does not have aout.  When/if they implement a new
 
13561
  # versioning mechanism, adjust this.
 
13562
  if test -x /usr/bin/objformat; then
 
13563
    objformat=`/usr/bin/objformat`
 
13564
  else
 
13565
    case $host_os in
 
13566
    freebsd[123]*) objformat=aout ;;
 
13567
    *) objformat=elf ;;
 
13568
    esac
 
13569
  fi
12203
13570
  version_type=freebsd-$objformat
12204
13571
  case $version_type in
12205
13572
    freebsd-elf*)
12217
13584
  freebsd2*)
12218
13585
    shlibpath_overrides_runpath=yes
12219
13586
    ;;
12220
 
  freebsd3.01* | freebsdelf3.01*)
 
13587
  freebsd3.[01]* | freebsdelf3.[01]*)
12221
13588
    shlibpath_overrides_runpath=yes
12222
13589
    hardcode_into_libs=yes
12223
13590
    ;;
12224
 
  *) # from 3.2 on
 
13591
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
13592
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12225
13593
    shlibpath_overrides_runpath=no
12226
13594
    hardcode_into_libs=yes
12227
13595
    ;;
 
13596
  freebsd*) # from 4.6 on
 
13597
    shlibpath_overrides_runpath=yes
 
13598
    hardcode_into_libs=yes
 
13599
    ;;
12228
13600
  esac
12229
13601
  ;;
12230
13602
 
12244
13616
  version_type=sunos
12245
13617
  need_lib_prefix=no
12246
13618
  need_version=no
12247
 
  case "$host_cpu" in
 
13619
  case $host_cpu in
12248
13620
  ia64*)
12249
13621
    shrext_cmds='.so'
12250
13622
    hardcode_into_libs=yes
12284
13656
  postinstall_cmds='chmod 555 $lib'
12285
13657
  ;;
12286
13658
 
 
13659
interix3*)
 
13660
  version_type=linux
 
13661
  need_lib_prefix=no
 
13662
  need_version=no
 
13663
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
13664
  soname_spec='${libname}${release}${shared_ext}$major'
 
13665
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
13666
  shlibpath_var=LD_LIBRARY_PATH
 
13667
  shlibpath_overrides_runpath=no
 
13668
  hardcode_into_libs=yes
 
13669
  ;;
 
13670
 
12287
13671
irix5* | irix6* | nonstopux*)
12288
13672
  case $host_os in
12289
13673
    nonstopux*) version_type=nonstopux ;;
12327
13711
  ;;
12328
13712
 
12329
13713
# This must be Linux ELF.
12330
 
linux*)
 
13714
linux* | k*bsd*-gnu)
12331
13715
  version_type=linux
12332
13716
  need_lib_prefix=no
12333
13717
  need_version=no
12343
13727
 
12344
13728
  # Append ld.so.conf contents to the search path
12345
13729
  if test -f /etc/ld.so.conf; then
12346
 
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
 
13730
    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' ' '`
12347
13731
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12348
13732
  fi
12349
13733
 
12368
13752
  dynamic_linker='NetBSD ld.elf_so'
12369
13753
  ;;
12370
13754
 
12371
 
knetbsd*-gnu)
12372
 
  version_type=linux
12373
 
  need_lib_prefix=no
12374
 
  need_version=no
12375
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12376
 
  soname_spec='${libname}${release}${shared_ext}$major'
12377
 
  shlibpath_var=LD_LIBRARY_PATH
12378
 
  shlibpath_overrides_runpath=no
12379
 
  hardcode_into_libs=yes
12380
 
  dynamic_linker='GNU ld.so'
12381
 
  ;;
12382
 
 
12383
13755
netbsd*)
12384
13756
  version_type=sunos
12385
13757
  need_lib_prefix=no
12417
13789
 
12418
13790
openbsd*)
12419
13791
  version_type=sunos
 
13792
  sys_lib_dlsearch_path_spec="/usr/lib"
12420
13793
  need_lib_prefix=no
12421
 
  need_version=yes
 
13794
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
13795
  case $host_os in
 
13796
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
13797
    *)                         need_version=no  ;;
 
13798
  esac
12422
13799
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12423
13800
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12424
13801
  shlibpath_var=LD_LIBRARY_PATH
12456
13833
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12457
13834
  ;;
12458
13835
 
12459
 
sco3.2v5*)
12460
 
  version_type=osf
12461
 
  soname_spec='${libname}${release}${shared_ext}$major'
12462
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12463
 
  shlibpath_var=LD_LIBRARY_PATH
12464
 
  ;;
12465
 
 
12466
13836
solaris*)
12467
13837
  version_type=linux
12468
13838
  need_lib_prefix=no
12488
13858
  need_version=yes
12489
13859
  ;;
12490
13860
 
12491
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
13861
sysv4 | sysv4.3*)
12492
13862
  version_type=linux
12493
13863
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12494
13864
  soname_spec='${libname}${release}${shared_ext}$major'
12521
13891
  fi
12522
13892
  ;;
12523
13893
 
 
13894
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
13895
  version_type=freebsd-elf
 
13896
  need_lib_prefix=no
 
13897
  need_version=no
 
13898
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
13899
  soname_spec='${libname}${release}${shared_ext}$major'
 
13900
  shlibpath_var=LD_LIBRARY_PATH
 
13901
  hardcode_into_libs=yes
 
13902
  if test "$with_gnu_ld" = yes; then
 
13903
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
13904
    shlibpath_overrides_runpath=no
 
13905
  else
 
13906
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
13907
    shlibpath_overrides_runpath=yes
 
13908
    case $host_os in
 
13909
      sco3.2v5*)
 
13910
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
13911
        ;;
 
13912
    esac
 
13913
  fi
 
13914
  sys_lib_dlsearch_path_spec='/usr/lib'
 
13915
  ;;
 
13916
 
12524
13917
uts4*)
12525
13918
  version_type=linux
12526
13919
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12532
13925
  dynamic_linker=no
12533
13926
  ;;
12534
13927
esac
12535
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12536
 
echo "${ECHO_T}$dynamic_linker" >&6
 
13928
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
13929
echo "${ECHO_T}$dynamic_linker" >&6; }
12537
13930
test "$dynamic_linker" = no && can_build_shared=no
12538
13931
 
12539
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12540
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
13932
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
13933
if test "$GCC" = yes; then
 
13934
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
13935
fi
 
13936
 
 
13937
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
13938
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12541
13939
hardcode_action_CXX=
12542
13940
if test -n "$hardcode_libdir_flag_spec_CXX" || \
12543
 
   test -n "$runpath_var CXX" || \
12544
 
   test "X$hardcode_automatic_CXX"="Xyes" ; then
 
13941
   test -n "$runpath_var_CXX" || \
 
13942
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
12545
13943
 
12546
13944
  # We can hardcode non-existant directories.
12547
13945
  if test "$hardcode_direct_CXX" != no &&
12561
13959
  # directories.
12562
13960
  hardcode_action_CXX=unsupported
12563
13961
fi
12564
 
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12565
 
echo "${ECHO_T}$hardcode_action_CXX" >&6
 
13962
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
13963
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
12566
13964
 
12567
13965
if test "$hardcode_action_CXX" = relink; then
12568
13966
  # Fast installation is not supported
12573
13971
  enable_fast_install=needless
12574
13972
fi
12575
13973
 
12576
 
striplib=
12577
 
old_striplib=
12578
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12579
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
12580
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
12581
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12582
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12583
 
  echo "$as_me:$LINENO: result: yes" >&5
12584
 
echo "${ECHO_T}yes" >&6
12585
 
else
12586
 
# FIXME - insert some real tests, host_os isn't really good enough
12587
 
  case $host_os in
12588
 
   darwin*)
12589
 
       if test -n "$STRIP" ; then
12590
 
         striplib="$STRIP -x"
12591
 
         echo "$as_me:$LINENO: result: yes" >&5
12592
 
echo "${ECHO_T}yes" >&6
12593
 
       else
12594
 
  echo "$as_me:$LINENO: result: no" >&5
12595
 
echo "${ECHO_T}no" >&6
12596
 
fi
12597
 
       ;;
12598
 
   *)
12599
 
  echo "$as_me:$LINENO: result: no" >&5
12600
 
echo "${ECHO_T}no" >&6
12601
 
    ;;
12602
 
  esac
12603
 
fi
12604
 
 
12605
 
if test "x$enable_dlopen" != xyes; then
12606
 
  enable_dlopen=unknown
12607
 
  enable_dlopen_self=unknown
12608
 
  enable_dlopen_self_static=unknown
12609
 
else
12610
 
  lt_cv_dlopen=no
12611
 
  lt_cv_dlopen_libs=
12612
 
 
12613
 
  case $host_os in
12614
 
  beos*)
12615
 
    lt_cv_dlopen="load_add_on"
12616
 
    lt_cv_dlopen_libs=
12617
 
    lt_cv_dlopen_self=yes
12618
 
    ;;
12619
 
 
12620
 
  mingw* | pw32*)
12621
 
    lt_cv_dlopen="LoadLibrary"
12622
 
    lt_cv_dlopen_libs=
12623
 
   ;;
12624
 
 
12625
 
  cygwin*)
12626
 
    lt_cv_dlopen="dlopen"
12627
 
    lt_cv_dlopen_libs=
12628
 
   ;;
12629
 
 
12630
 
  darwin*)
12631
 
  # if libdl is installed we need to link against it
12632
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12633
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12634
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12635
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12636
 
else
12637
 
  ac_check_lib_save_LIBS=$LIBS
12638
 
LIBS="-ldl  $LIBS"
12639
 
cat >conftest.$ac_ext <<_ACEOF
12640
 
/* confdefs.h.  */
12641
 
_ACEOF
12642
 
cat confdefs.h >>conftest.$ac_ext
12643
 
cat >>conftest.$ac_ext <<_ACEOF
12644
 
/* end confdefs.h.  */
12645
 
 
12646
 
/* Override any gcc2 internal prototype to avoid an error.  */
12647
 
#ifdef __cplusplus
12648
 
extern "C"
12649
 
#endif
12650
 
/* We use char because int might match the return type of a gcc2
12651
 
   builtin and then its argument prototype would still apply.  */
12652
 
char dlopen ();
12653
 
int
12654
 
main ()
12655
 
{
12656
 
dlopen ();
12657
 
  ;
12658
 
  return 0;
12659
 
}
12660
 
_ACEOF
12661
 
rm -f conftest.$ac_objext conftest$ac_exeext
12662
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12663
 
  (eval $ac_link) 2>conftest.er1
12664
 
  ac_status=$?
12665
 
  grep -v '^ *+' conftest.er1 >conftest.err
12666
 
  rm -f conftest.er1
12667
 
  cat conftest.err >&5
12668
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12669
 
  (exit $ac_status); } &&
12670
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12671
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12672
 
  (eval $ac_try) 2>&5
12673
 
  ac_status=$?
12674
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12675
 
  (exit $ac_status); }; } &&
12676
 
         { ac_try='test -s conftest$ac_exeext'
12677
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12678
 
  (eval $ac_try) 2>&5
12679
 
  ac_status=$?
12680
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12681
 
  (exit $ac_status); }; }; then
12682
 
  ac_cv_lib_dl_dlopen=yes
12683
 
else
12684
 
  echo "$as_me: failed program was:" >&5
12685
 
sed 's/^/| /' conftest.$ac_ext >&5
12686
 
 
12687
 
ac_cv_lib_dl_dlopen=no
12688
 
fi
12689
 
rm -f conftest.err conftest.$ac_objext \
12690
 
      conftest$ac_exeext conftest.$ac_ext
12691
 
LIBS=$ac_check_lib_save_LIBS
12692
 
fi
12693
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12694
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12695
 
if test $ac_cv_lib_dl_dlopen = yes; then
12696
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12697
 
else
12698
 
 
12699
 
    lt_cv_dlopen="dyld"
12700
 
    lt_cv_dlopen_libs=
12701
 
    lt_cv_dlopen_self=yes
12702
 
 
12703
 
fi
12704
 
 
12705
 
   ;;
12706
 
 
12707
 
  *)
12708
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
12709
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
12710
 
if test "${ac_cv_func_shl_load+set}" = set; then
12711
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12712
 
else
12713
 
  cat >conftest.$ac_ext <<_ACEOF
12714
 
/* confdefs.h.  */
12715
 
_ACEOF
12716
 
cat confdefs.h >>conftest.$ac_ext
12717
 
cat >>conftest.$ac_ext <<_ACEOF
12718
 
/* end confdefs.h.  */
12719
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12720
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12721
 
#define shl_load innocuous_shl_load
12722
 
 
12723
 
/* System header to define __stub macros and hopefully few prototypes,
12724
 
    which can conflict with char shl_load (); below.
12725
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12726
 
    <limits.h> exists even on freestanding compilers.  */
12727
 
 
12728
 
#ifdef __STDC__
12729
 
# include <limits.h>
12730
 
#else
12731
 
# include <assert.h>
12732
 
#endif
12733
 
 
12734
 
#undef shl_load
12735
 
 
12736
 
/* Override any gcc2 internal prototype to avoid an error.  */
12737
 
#ifdef __cplusplus
12738
 
extern "C"
12739
 
{
12740
 
#endif
12741
 
/* We use char because int might match the return type of a gcc2
12742
 
   builtin and then its argument prototype would still apply.  */
12743
 
char shl_load ();
12744
 
/* The GNU C library defines this for functions which it implements
12745
 
    to always fail with ENOSYS.  Some functions are actually named
12746
 
    something starting with __ and the normal name is an alias.  */
12747
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
12748
 
choke me
12749
 
#else
12750
 
char (*f) () = shl_load;
12751
 
#endif
12752
 
#ifdef __cplusplus
12753
 
}
12754
 
#endif
12755
 
 
12756
 
int
12757
 
main ()
12758
 
{
12759
 
return f != shl_load;
12760
 
  ;
12761
 
  return 0;
12762
 
}
12763
 
_ACEOF
12764
 
rm -f conftest.$ac_objext conftest$ac_exeext
12765
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12766
 
  (eval $ac_link) 2>conftest.er1
12767
 
  ac_status=$?
12768
 
  grep -v '^ *+' conftest.er1 >conftest.err
12769
 
  rm -f conftest.er1
12770
 
  cat conftest.err >&5
12771
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12772
 
  (exit $ac_status); } &&
12773
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12774
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12775
 
  (eval $ac_try) 2>&5
12776
 
  ac_status=$?
12777
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12778
 
  (exit $ac_status); }; } &&
12779
 
         { ac_try='test -s conftest$ac_exeext'
12780
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12781
 
  (eval $ac_try) 2>&5
12782
 
  ac_status=$?
12783
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12784
 
  (exit $ac_status); }; }; then
12785
 
  ac_cv_func_shl_load=yes
12786
 
else
12787
 
  echo "$as_me: failed program was:" >&5
12788
 
sed 's/^/| /' conftest.$ac_ext >&5
12789
 
 
12790
 
ac_cv_func_shl_load=no
12791
 
fi
12792
 
rm -f conftest.err conftest.$ac_objext \
12793
 
      conftest$ac_exeext conftest.$ac_ext
12794
 
fi
12795
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12796
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
12797
 
if test $ac_cv_func_shl_load = yes; then
12798
 
  lt_cv_dlopen="shl_load"
12799
 
else
12800
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12801
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
12802
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12803
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12804
 
else
12805
 
  ac_check_lib_save_LIBS=$LIBS
12806
 
LIBS="-ldld  $LIBS"
12807
 
cat >conftest.$ac_ext <<_ACEOF
12808
 
/* confdefs.h.  */
12809
 
_ACEOF
12810
 
cat confdefs.h >>conftest.$ac_ext
12811
 
cat >>conftest.$ac_ext <<_ACEOF
12812
 
/* end confdefs.h.  */
12813
 
 
12814
 
/* Override any gcc2 internal prototype to avoid an error.  */
12815
 
#ifdef __cplusplus
12816
 
extern "C"
12817
 
#endif
12818
 
/* We use char because int might match the return type of a gcc2
12819
 
   builtin and then its argument prototype would still apply.  */
12820
 
char shl_load ();
12821
 
int
12822
 
main ()
12823
 
{
12824
 
shl_load ();
12825
 
  ;
12826
 
  return 0;
12827
 
}
12828
 
_ACEOF
12829
 
rm -f conftest.$ac_objext conftest$ac_exeext
12830
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12831
 
  (eval $ac_link) 2>conftest.er1
12832
 
  ac_status=$?
12833
 
  grep -v '^ *+' conftest.er1 >conftest.err
12834
 
  rm -f conftest.er1
12835
 
  cat conftest.err >&5
12836
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12837
 
  (exit $ac_status); } &&
12838
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12839
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12840
 
  (eval $ac_try) 2>&5
12841
 
  ac_status=$?
12842
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843
 
  (exit $ac_status); }; } &&
12844
 
         { ac_try='test -s conftest$ac_exeext'
12845
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12846
 
  (eval $ac_try) 2>&5
12847
 
  ac_status=$?
12848
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12849
 
  (exit $ac_status); }; }; then
12850
 
  ac_cv_lib_dld_shl_load=yes
12851
 
else
12852
 
  echo "$as_me: failed program was:" >&5
12853
 
sed 's/^/| /' conftest.$ac_ext >&5
12854
 
 
12855
 
ac_cv_lib_dld_shl_load=no
12856
 
fi
12857
 
rm -f conftest.err conftest.$ac_objext \
12858
 
      conftest$ac_exeext conftest.$ac_ext
12859
 
LIBS=$ac_check_lib_save_LIBS
12860
 
fi
12861
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12862
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
12863
 
if test $ac_cv_lib_dld_shl_load = yes; then
12864
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12865
 
else
12866
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
12867
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
12868
 
if test "${ac_cv_func_dlopen+set}" = set; then
12869
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12870
 
else
12871
 
  cat >conftest.$ac_ext <<_ACEOF
12872
 
/* confdefs.h.  */
12873
 
_ACEOF
12874
 
cat confdefs.h >>conftest.$ac_ext
12875
 
cat >>conftest.$ac_ext <<_ACEOF
12876
 
/* end confdefs.h.  */
12877
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12878
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12879
 
#define dlopen innocuous_dlopen
12880
 
 
12881
 
/* System header to define __stub macros and hopefully few prototypes,
12882
 
    which can conflict with char dlopen (); below.
12883
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12884
 
    <limits.h> exists even on freestanding compilers.  */
12885
 
 
12886
 
#ifdef __STDC__
12887
 
# include <limits.h>
12888
 
#else
12889
 
# include <assert.h>
12890
 
#endif
12891
 
 
12892
 
#undef dlopen
12893
 
 
12894
 
/* Override any gcc2 internal prototype to avoid an error.  */
12895
 
#ifdef __cplusplus
12896
 
extern "C"
12897
 
{
12898
 
#endif
12899
 
/* We use char because int might match the return type of a gcc2
12900
 
   builtin and then its argument prototype would still apply.  */
12901
 
char dlopen ();
12902
 
/* The GNU C library defines this for functions which it implements
12903
 
    to always fail with ENOSYS.  Some functions are actually named
12904
 
    something starting with __ and the normal name is an alias.  */
12905
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
12906
 
choke me
12907
 
#else
12908
 
char (*f) () = dlopen;
12909
 
#endif
12910
 
#ifdef __cplusplus
12911
 
}
12912
 
#endif
12913
 
 
12914
 
int
12915
 
main ()
12916
 
{
12917
 
return f != dlopen;
12918
 
  ;
12919
 
  return 0;
12920
 
}
12921
 
_ACEOF
12922
 
rm -f conftest.$ac_objext conftest$ac_exeext
12923
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12924
 
  (eval $ac_link) 2>conftest.er1
12925
 
  ac_status=$?
12926
 
  grep -v '^ *+' conftest.er1 >conftest.err
12927
 
  rm -f conftest.er1
12928
 
  cat conftest.err >&5
12929
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12930
 
  (exit $ac_status); } &&
12931
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12932
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12933
 
  (eval $ac_try) 2>&5
12934
 
  ac_status=$?
12935
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12936
 
  (exit $ac_status); }; } &&
12937
 
         { ac_try='test -s conftest$ac_exeext'
12938
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12939
 
  (eval $ac_try) 2>&5
12940
 
  ac_status=$?
12941
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12942
 
  (exit $ac_status); }; }; then
12943
 
  ac_cv_func_dlopen=yes
12944
 
else
12945
 
  echo "$as_me: failed program was:" >&5
12946
 
sed 's/^/| /' conftest.$ac_ext >&5
12947
 
 
12948
 
ac_cv_func_dlopen=no
12949
 
fi
12950
 
rm -f conftest.err conftest.$ac_objext \
12951
 
      conftest$ac_exeext conftest.$ac_ext
12952
 
fi
12953
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12954
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
12955
 
if test $ac_cv_func_dlopen = yes; then
12956
 
  lt_cv_dlopen="dlopen"
12957
 
else
12958
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12959
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12960
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12961
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12962
 
else
12963
 
  ac_check_lib_save_LIBS=$LIBS
12964
 
LIBS="-ldl  $LIBS"
12965
 
cat >conftest.$ac_ext <<_ACEOF
12966
 
/* confdefs.h.  */
12967
 
_ACEOF
12968
 
cat confdefs.h >>conftest.$ac_ext
12969
 
cat >>conftest.$ac_ext <<_ACEOF
12970
 
/* end confdefs.h.  */
12971
 
 
12972
 
/* Override any gcc2 internal prototype to avoid an error.  */
12973
 
#ifdef __cplusplus
12974
 
extern "C"
12975
 
#endif
12976
 
/* We use char because int might match the return type of a gcc2
12977
 
   builtin and then its argument prototype would still apply.  */
12978
 
char dlopen ();
12979
 
int
12980
 
main ()
12981
 
{
12982
 
dlopen ();
12983
 
  ;
12984
 
  return 0;
12985
 
}
12986
 
_ACEOF
12987
 
rm -f conftest.$ac_objext conftest$ac_exeext
12988
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12989
 
  (eval $ac_link) 2>conftest.er1
12990
 
  ac_status=$?
12991
 
  grep -v '^ *+' conftest.er1 >conftest.err
12992
 
  rm -f conftest.er1
12993
 
  cat conftest.err >&5
12994
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12995
 
  (exit $ac_status); } &&
12996
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12997
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12998
 
  (eval $ac_try) 2>&5
12999
 
  ac_status=$?
13000
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13001
 
  (exit $ac_status); }; } &&
13002
 
         { ac_try='test -s conftest$ac_exeext'
13003
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13004
 
  (eval $ac_try) 2>&5
13005
 
  ac_status=$?
13006
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13007
 
  (exit $ac_status); }; }; then
13008
 
  ac_cv_lib_dl_dlopen=yes
13009
 
else
13010
 
  echo "$as_me: failed program was:" >&5
13011
 
sed 's/^/| /' conftest.$ac_ext >&5
13012
 
 
13013
 
ac_cv_lib_dl_dlopen=no
13014
 
fi
13015
 
rm -f conftest.err conftest.$ac_objext \
13016
 
      conftest$ac_exeext conftest.$ac_ext
13017
 
LIBS=$ac_check_lib_save_LIBS
13018
 
fi
13019
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13020
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13021
 
if test $ac_cv_lib_dl_dlopen = yes; then
13022
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13023
 
else
13024
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
13025
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
13026
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
13027
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13028
 
else
13029
 
  ac_check_lib_save_LIBS=$LIBS
13030
 
LIBS="-lsvld  $LIBS"
13031
 
cat >conftest.$ac_ext <<_ACEOF
13032
 
/* confdefs.h.  */
13033
 
_ACEOF
13034
 
cat confdefs.h >>conftest.$ac_ext
13035
 
cat >>conftest.$ac_ext <<_ACEOF
13036
 
/* end confdefs.h.  */
13037
 
 
13038
 
/* Override any gcc2 internal prototype to avoid an error.  */
13039
 
#ifdef __cplusplus
13040
 
extern "C"
13041
 
#endif
13042
 
/* We use char because int might match the return type of a gcc2
13043
 
   builtin and then its argument prototype would still apply.  */
13044
 
char dlopen ();
13045
 
int
13046
 
main ()
13047
 
{
13048
 
dlopen ();
13049
 
  ;
13050
 
  return 0;
13051
 
}
13052
 
_ACEOF
13053
 
rm -f conftest.$ac_objext conftest$ac_exeext
13054
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13055
 
  (eval $ac_link) 2>conftest.er1
13056
 
  ac_status=$?
13057
 
  grep -v '^ *+' conftest.er1 >conftest.err
13058
 
  rm -f conftest.er1
13059
 
  cat conftest.err >&5
13060
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13061
 
  (exit $ac_status); } &&
13062
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
13063
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13064
 
  (eval $ac_try) 2>&5
13065
 
  ac_status=$?
13066
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13067
 
  (exit $ac_status); }; } &&
13068
 
         { ac_try='test -s conftest$ac_exeext'
13069
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13070
 
  (eval $ac_try) 2>&5
13071
 
  ac_status=$?
13072
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13073
 
  (exit $ac_status); }; }; then
13074
 
  ac_cv_lib_svld_dlopen=yes
13075
 
else
13076
 
  echo "$as_me: failed program was:" >&5
13077
 
sed 's/^/| /' conftest.$ac_ext >&5
13078
 
 
13079
 
ac_cv_lib_svld_dlopen=no
13080
 
fi
13081
 
rm -f conftest.err conftest.$ac_objext \
13082
 
      conftest$ac_exeext conftest.$ac_ext
13083
 
LIBS=$ac_check_lib_save_LIBS
13084
 
fi
13085
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
13086
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
13087
 
if test $ac_cv_lib_svld_dlopen = yes; then
13088
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13089
 
else
13090
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
13091
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
13092
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
13093
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13094
 
else
13095
 
  ac_check_lib_save_LIBS=$LIBS
13096
 
LIBS="-ldld  $LIBS"
13097
 
cat >conftest.$ac_ext <<_ACEOF
13098
 
/* confdefs.h.  */
13099
 
_ACEOF
13100
 
cat confdefs.h >>conftest.$ac_ext
13101
 
cat >>conftest.$ac_ext <<_ACEOF
13102
 
/* end confdefs.h.  */
13103
 
 
13104
 
/* Override any gcc2 internal prototype to avoid an error.  */
13105
 
#ifdef __cplusplus
13106
 
extern "C"
13107
 
#endif
13108
 
/* We use char because int might match the return type of a gcc2
13109
 
   builtin and then its argument prototype would still apply.  */
13110
 
char dld_link ();
13111
 
int
13112
 
main ()
13113
 
{
13114
 
dld_link ();
13115
 
  ;
13116
 
  return 0;
13117
 
}
13118
 
_ACEOF
13119
 
rm -f conftest.$ac_objext conftest$ac_exeext
13120
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13121
 
  (eval $ac_link) 2>conftest.er1
13122
 
  ac_status=$?
13123
 
  grep -v '^ *+' conftest.er1 >conftest.err
13124
 
  rm -f conftest.er1
13125
 
  cat conftest.err >&5
13126
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13127
 
  (exit $ac_status); } &&
13128
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
13129
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13130
 
  (eval $ac_try) 2>&5
13131
 
  ac_status=$?
13132
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13133
 
  (exit $ac_status); }; } &&
13134
 
         { ac_try='test -s conftest$ac_exeext'
13135
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13136
 
  (eval $ac_try) 2>&5
13137
 
  ac_status=$?
13138
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13139
 
  (exit $ac_status); }; }; then
13140
 
  ac_cv_lib_dld_dld_link=yes
13141
 
else
13142
 
  echo "$as_me: failed program was:" >&5
13143
 
sed 's/^/| /' conftest.$ac_ext >&5
13144
 
 
13145
 
ac_cv_lib_dld_dld_link=no
13146
 
fi
13147
 
rm -f conftest.err conftest.$ac_objext \
13148
 
      conftest$ac_exeext conftest.$ac_ext
13149
 
LIBS=$ac_check_lib_save_LIBS
13150
 
fi
13151
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
13152
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
13153
 
if test $ac_cv_lib_dld_dld_link = yes; then
13154
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
13155
 
fi
13156
 
 
13157
 
 
13158
 
fi
13159
 
 
13160
 
 
13161
 
fi
13162
 
 
13163
 
 
13164
 
fi
13165
 
 
13166
 
 
13167
 
fi
13168
 
 
13169
 
 
13170
 
fi
13171
 
 
13172
 
    ;;
13173
 
  esac
13174
 
 
13175
 
  if test "x$lt_cv_dlopen" != xno; then
13176
 
    enable_dlopen=yes
13177
 
  else
13178
 
    enable_dlopen=no
13179
 
  fi
13180
 
 
13181
 
  case $lt_cv_dlopen in
13182
 
  dlopen)
13183
 
    save_CPPFLAGS="$CPPFLAGS"
13184
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13185
 
 
13186
 
    save_LDFLAGS="$LDFLAGS"
13187
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13188
 
 
13189
 
    save_LIBS="$LIBS"
13190
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
13191
 
 
13192
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
13193
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
13194
 
if test "${lt_cv_dlopen_self+set}" = set; then
13195
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13196
 
else
13197
 
          if test "$cross_compiling" = yes; then :
13198
 
  lt_cv_dlopen_self=cross
13199
 
else
13200
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13201
 
  lt_status=$lt_dlunknown
13202
 
  cat > conftest.$ac_ext <<EOF
13203
 
#line 13203 "configure"
13204
 
#include "confdefs.h"
13205
 
 
13206
 
#if HAVE_DLFCN_H
13207
 
#include <dlfcn.h>
13208
 
#endif
13209
 
 
13210
 
#include <stdio.h>
13211
 
 
13212
 
#ifdef RTLD_GLOBAL
13213
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
13214
 
#else
13215
 
#  ifdef DL_GLOBAL
13216
 
#    define LT_DLGLOBAL         DL_GLOBAL
13217
 
#  else
13218
 
#    define LT_DLGLOBAL         0
13219
 
#  endif
13220
 
#endif
13221
 
 
13222
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13223
 
   find out it does not work in some platform. */
13224
 
#ifndef LT_DLLAZY_OR_NOW
13225
 
#  ifdef RTLD_LAZY
13226
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13227
 
#  else
13228
 
#    ifdef DL_LAZY
13229
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
13230
 
#    else
13231
 
#      ifdef RTLD_NOW
13232
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
13233
 
#      else
13234
 
#        ifdef DL_NOW
13235
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
13236
 
#        else
13237
 
#          define LT_DLLAZY_OR_NOW      0
13238
 
#        endif
13239
 
#      endif
13240
 
#    endif
13241
 
#  endif
13242
 
#endif
13243
 
 
13244
 
#ifdef __cplusplus
13245
 
extern "C" void exit (int);
13246
 
#endif
13247
 
 
13248
 
void fnord() { int i=42;}
13249
 
int main ()
13250
 
{
13251
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13252
 
  int status = $lt_dlunknown;
13253
 
 
13254
 
  if (self)
13255
 
    {
13256
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13257
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13258
 
      /* dlclose (self); */
13259
 
    }
13260
 
 
13261
 
    exit (status);
13262
 
}
13263
 
EOF
13264
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13265
 
  (eval $ac_link) 2>&5
13266
 
  ac_status=$?
13267
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13268
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13269
 
    (./conftest; exit; ) 2>/dev/null
13270
 
    lt_status=$?
13271
 
    case x$lt_status in
13272
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13273
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13274
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
13275
 
    esac
13276
 
  else :
13277
 
    # compilation failed
13278
 
    lt_cv_dlopen_self=no
13279
 
  fi
13280
 
fi
13281
 
rm -fr conftest*
13282
 
 
13283
 
 
13284
 
fi
13285
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
13286
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
13287
 
 
13288
 
    if test "x$lt_cv_dlopen_self" = xyes; then
13289
 
      LDFLAGS="$LDFLAGS $link_static_flag"
13290
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
13291
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
13292
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
13293
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13294
 
else
13295
 
          if test "$cross_compiling" = yes; then :
13296
 
  lt_cv_dlopen_self_static=cross
13297
 
else
13298
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13299
 
  lt_status=$lt_dlunknown
13300
 
  cat > conftest.$ac_ext <<EOF
13301
 
#line 13301 "configure"
13302
 
#include "confdefs.h"
13303
 
 
13304
 
#if HAVE_DLFCN_H
13305
 
#include <dlfcn.h>
13306
 
#endif
13307
 
 
13308
 
#include <stdio.h>
13309
 
 
13310
 
#ifdef RTLD_GLOBAL
13311
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
13312
 
#else
13313
 
#  ifdef DL_GLOBAL
13314
 
#    define LT_DLGLOBAL         DL_GLOBAL
13315
 
#  else
13316
 
#    define LT_DLGLOBAL         0
13317
 
#  endif
13318
 
#endif
13319
 
 
13320
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13321
 
   find out it does not work in some platform. */
13322
 
#ifndef LT_DLLAZY_OR_NOW
13323
 
#  ifdef RTLD_LAZY
13324
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13325
 
#  else
13326
 
#    ifdef DL_LAZY
13327
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
13328
 
#    else
13329
 
#      ifdef RTLD_NOW
13330
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
13331
 
#      else
13332
 
#        ifdef DL_NOW
13333
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
13334
 
#        else
13335
 
#          define LT_DLLAZY_OR_NOW      0
13336
 
#        endif
13337
 
#      endif
13338
 
#    endif
13339
 
#  endif
13340
 
#endif
13341
 
 
13342
 
#ifdef __cplusplus
13343
 
extern "C" void exit (int);
13344
 
#endif
13345
 
 
13346
 
void fnord() { int i=42;}
13347
 
int main ()
13348
 
{
13349
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13350
 
  int status = $lt_dlunknown;
13351
 
 
13352
 
  if (self)
13353
 
    {
13354
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13355
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13356
 
      /* dlclose (self); */
13357
 
    }
13358
 
 
13359
 
    exit (status);
13360
 
}
13361
 
EOF
13362
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13363
 
  (eval $ac_link) 2>&5
13364
 
  ac_status=$?
13365
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13366
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13367
 
    (./conftest; exit; ) 2>/dev/null
13368
 
    lt_status=$?
13369
 
    case x$lt_status in
13370
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13371
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13372
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
13373
 
    esac
13374
 
  else :
13375
 
    # compilation failed
13376
 
    lt_cv_dlopen_self_static=no
13377
 
  fi
13378
 
fi
13379
 
rm -fr conftest*
13380
 
 
13381
 
 
13382
 
fi
13383
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13384
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
13385
 
    fi
13386
 
 
13387
 
    CPPFLAGS="$save_CPPFLAGS"
13388
 
    LDFLAGS="$save_LDFLAGS"
13389
 
    LIBS="$save_LIBS"
13390
 
    ;;
13391
 
  esac
13392
 
 
13393
 
  case $lt_cv_dlopen_self in
13394
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13395
 
  *) enable_dlopen_self=unknown ;;
13396
 
  esac
13397
 
 
13398
 
  case $lt_cv_dlopen_self_static in
13399
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13400
 
  *) enable_dlopen_self_static=unknown ;;
13401
 
  esac
13402
 
fi
13403
 
 
13404
13974
 
13405
13975
# The else clause should only fire when bootstrapping the
13406
13976
# libtool distribution, otherwise you forgot to ship ltmain.sh
13415
13985
  # Now quote all the things that may contain metacharacters while being
13416
13986
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
13417
13987
  # variables and quote the copies for generation of the libtool script.
13418
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
13988
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13419
13989
    SED SHELL STRIP \
13420
13990
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13421
13991
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13516
14086
# The host system.
13517
14087
host_alias=$host_alias
13518
14088
host=$host
 
14089
host_os=$host_os
 
14090
 
 
14091
# The build system.
 
14092
build_alias=$build_alias
 
14093
build=$build
 
14094
build_os=$build_os
13519
14095
 
13520
14096
# An echo program that does not interpret backslashes.
13521
14097
echo=$lt_echo
13527
14103
# A C compiler.
13528
14104
LTCC=$lt_LTCC
13529
14105
 
 
14106
# LTCC compiler flags.
 
14107
LTCFLAGS=$lt_LTCFLAGS
 
14108
 
13530
14109
# A language-specific compiler.
13531
14110
CC=$lt_compiler_CXX
13532
14111
 
13592
14171
# Does compiler simultaneously support -c and -o options?
13593
14172
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13594
14173
 
13595
 
# Must we lock files when doing compilation ?
 
14174
# Must we lock files when doing compilation?
13596
14175
need_locks=$lt_need_locks
13597
14176
 
13598
14177
# Do we need the lib prefix for modules?
13869
14448
# If no C compiler was specified, use CC.
13870
14449
LTCC=${LTCC-"$CC"}
13871
14450
 
 
14451
# If no C compiler flags were specified, use CFLAGS.
 
14452
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
14453
 
13872
14454
# Allow CC to be a program name with arguments.
13873
14455
compiler=$CC
13874
14456
 
13875
14457
 
 
14458
# save warnings/boilerplate of simple test code
 
14459
ac_outfile=conftest.$ac_objext
 
14460
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
14461
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
14462
_lt_compiler_boilerplate=`cat conftest.err`
 
14463
$rm conftest*
 
14464
 
 
14465
ac_outfile=conftest.$ac_objext
 
14466
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
14467
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
14468
_lt_linker_boilerplate=`cat conftest.err`
 
14469
$rm conftest*
 
14470
 
 
14471
 
13876
14472
# Allow CC to be a program name with arguments.
13877
14473
lt_save_CC="$CC"
13878
14474
CC=${F77-"f77"}
13879
14475
compiler=$CC
13880
14476
compiler_F77=$CC
13881
 
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
13882
 
 
13883
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13884
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13885
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
13886
 
echo "${ECHO_T}$can_build_shared" >&6
13887
 
 
13888
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13889
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
14477
for cc_temp in $compiler""; do
 
14478
  case $cc_temp in
 
14479
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
14480
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
14481
    \-*) ;;
 
14482
    *) break;;
 
14483
  esac
 
14484
done
 
14485
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
14486
 
 
14487
 
 
14488
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
14489
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
14490
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
14491
echo "${ECHO_T}$can_build_shared" >&6; }
 
14492
 
 
14493
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
14494
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13890
14495
test "$can_build_shared" = "no" && enable_shared=no
13891
14496
 
13892
14497
# On AIX, shared libraries and static libraries use the same namespace, and
13893
14498
# are all built from PIC.
13894
 
case "$host_os" in
 
14499
case $host_os in
13895
14500
aix3*)
13896
14501
  test "$enable_shared" = yes && enable_static=no
13897
14502
  if test -n "$RANLIB"; then
13900
14505
  fi
13901
14506
  ;;
13902
14507
aix4* | aix5*)
13903
 
  test "$enable_shared" = yes && enable_static=no
 
14508
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
14509
    test "$enable_shared" = yes && enable_static=no
 
14510
  fi
13904
14511
  ;;
13905
14512
esac
13906
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
13907
 
echo "${ECHO_T}$enable_shared" >&6
 
14513
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
14514
echo "${ECHO_T}$enable_shared" >&6; }
13908
14515
 
13909
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13910
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
14516
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
14517
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13911
14518
# Make sure either enable_shared or enable_static is yes.
13912
14519
test "$enable_shared" = yes || enable_static=yes
13913
 
echo "$as_me:$LINENO: result: $enable_static" >&5
13914
 
echo "${ECHO_T}$enable_static" >&6
13915
 
 
13916
 
test "$ld_shlibs_F77" = no && can_build_shared=no
 
14520
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
14521
echo "${ECHO_T}$enable_static" >&6; }
13917
14522
 
13918
14523
GCC_F77="$G77"
13919
14524
LD_F77="$LD"
13922
14527
lt_prog_compiler_pic_F77=
13923
14528
lt_prog_compiler_static_F77=
13924
14529
 
13925
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13926
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
14530
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
14531
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13927
14532
 
13928
14533
  if test "$GCC" = yes; then
13929
14534
    lt_prog_compiler_wl_F77='-Wl,'
13961
14566
      lt_prog_compiler_pic_F77='-fno-common'
13962
14567
      ;;
13963
14568
 
 
14569
    interix3*)
 
14570
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
14571
      # Instead, we relocate shared libraries at runtime.
 
14572
      ;;
 
14573
 
13964
14574
    msdosdjgpp*)
13965
14575
      # Just because we use GCC doesn't mean we suddenly get shared libraries
13966
14576
      # on systems that don't support them.
13977
14587
    hpux*)
13978
14588
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13979
14589
      # not for PA HP-UX.
13980
 
      case "$host_cpu" in
 
14590
      case $host_cpu in
13981
14591
      hppa*64*|ia64*)
13982
14592
        # +Z the default
13983
14593
        ;;
14003
14613
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
14004
14614
      fi
14005
14615
      ;;
 
14616
      darwin*)
 
14617
        # PIC is the default on this platform
 
14618
        # Common symbols not allowed in MH_DYLIB files
 
14619
       case $cc_basename in
 
14620
         xlc*)
 
14621
         lt_prog_compiler_pic_F77='-qnocommon'
 
14622
         lt_prog_compiler_wl_F77='-Wl,'
 
14623
         ;;
 
14624
       esac
 
14625
       ;;
14006
14626
 
14007
14627
    mingw* | pw32* | os2*)
14008
14628
      # This hack is so that the source file can tell whether it is being
14014
14634
      lt_prog_compiler_wl_F77='-Wl,'
14015
14635
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14016
14636
      # not for PA HP-UX.
14017
 
      case "$host_cpu" in
 
14637
      case $host_cpu in
14018
14638
      hppa*64*|ia64*)
14019
14639
        # +Z the default
14020
14640
        ;;
14037
14657
      lt_prog_compiler_static_F77='-Bstatic'
14038
14658
      ;;
14039
14659
 
14040
 
    linux*)
14041
 
      case $CC in
 
14660
    linux* | k*bsd*-gnu)
 
14661
      case $cc_basename in
14042
14662
      icc* | ecc*)
14043
14663
        lt_prog_compiler_wl_F77='-Wl,'
14044
14664
        lt_prog_compiler_pic_F77='-KPIC'
14045
14665
        lt_prog_compiler_static_F77='-static'
14046
14666
        ;;
 
14667
      pgcc* | pgf77* | pgf90* | pgf95*)
 
14668
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
14669
        # which looks to be a dead project)
 
14670
        lt_prog_compiler_wl_F77='-Wl,'
 
14671
        lt_prog_compiler_pic_F77='-fpic'
 
14672
        lt_prog_compiler_static_F77='-Bstatic'
 
14673
        ;;
14047
14674
      ccc*)
14048
14675
        lt_prog_compiler_wl_F77='-Wl,'
14049
14676
        # All Alpha code is PIC.
14058
14685
      lt_prog_compiler_static_F77='-non_shared'
14059
14686
      ;;
14060
14687
 
14061
 
    sco3.2v5*)
14062
 
      lt_prog_compiler_pic_F77='-Kpic'
14063
 
      lt_prog_compiler_static_F77='-dn'
14064
 
      ;;
14065
 
 
14066
14688
    solaris*)
14067
 
      lt_prog_compiler_wl_F77='-Wl,'
14068
14689
      lt_prog_compiler_pic_F77='-KPIC'
14069
14690
      lt_prog_compiler_static_F77='-Bstatic'
 
14691
      case $cc_basename in
 
14692
      f77* | f90* | f95*)
 
14693
        lt_prog_compiler_wl_F77='-Qoption ld ';;
 
14694
      *)
 
14695
        lt_prog_compiler_wl_F77='-Wl,';;
 
14696
      esac
14070
14697
      ;;
14071
14698
 
14072
14699
    sunos4*)
14075
14702
      lt_prog_compiler_static_F77='-Bstatic'
14076
14703
      ;;
14077
14704
 
14078
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
14705
    sysv4 | sysv4.2uw2* | sysv4.3*)
14079
14706
      lt_prog_compiler_wl_F77='-Wl,'
14080
14707
      lt_prog_compiler_pic_F77='-KPIC'
14081
14708
      lt_prog_compiler_static_F77='-Bstatic'
14088
14715
      fi
14089
14716
      ;;
14090
14717
 
 
14718
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
14719
      lt_prog_compiler_wl_F77='-Wl,'
 
14720
      lt_prog_compiler_pic_F77='-KPIC'
 
14721
      lt_prog_compiler_static_F77='-Bstatic'
 
14722
      ;;
 
14723
 
 
14724
    unicos*)
 
14725
      lt_prog_compiler_wl_F77='-Wl,'
 
14726
      lt_prog_compiler_can_build_shared_F77=no
 
14727
      ;;
 
14728
 
14091
14729
    uts4*)
14092
14730
      lt_prog_compiler_pic_F77='-pic'
14093
14731
      lt_prog_compiler_static_F77='-Bstatic'
14099
14737
    esac
14100
14738
  fi
14101
14739
 
14102
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14103
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
 
14740
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
14741
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14104
14742
 
14105
14743
#
14106
14744
# Check to make sure the PIC flag actually works.
14107
14745
#
14108
14746
if test -n "$lt_prog_compiler_pic_F77"; then
14109
14747
 
14110
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14111
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
 
14748
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
14749
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14112
14750
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14113
14751
  echo $ECHO_N "(cached) $ECHO_C" >&6
14114
14752
else
14122
14760
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14123
14761
   # The option is referenced via a variable to avoid confusing sed.
14124
14762
   lt_compile=`echo "$ac_compile" | $SED \
14125
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
14763
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14126
14764
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14127
14765
   -e 's:$: $lt_compiler_flag:'`
14128
 
   (eval echo "\"\$as_me:14128: $lt_compile\"" >&5)
 
14766
   (eval echo "\"\$as_me:14766: $lt_compile\"" >&5)
14129
14767
   (eval "$lt_compile" 2>conftest.err)
14130
14768
   ac_status=$?
14131
14769
   cat conftest.err >&5
14132
 
   echo "$as_me:14132: \$? = $ac_status" >&5
 
14770
   echo "$as_me:14770: \$? = $ac_status" >&5
14133
14771
   if (exit $ac_status) && test -s "$ac_outfile"; then
14134
14772
     # The compiler can only warn and ignore the option if not recognized
14135
 
     # So say no if there are warnings
14136
 
     if test ! -s conftest.err; then
 
14773
     # So say no if there are warnings other than the usual output.
 
14774
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
14775
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
14776
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14137
14777
       lt_prog_compiler_pic_works_F77=yes
14138
14778
     fi
14139
14779
   fi
14140
14780
   $rm conftest*
14141
14781
 
14142
14782
fi
14143
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14144
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
 
14783
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
 
14784
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14145
14785
 
14146
14786
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
14147
14787
    case $lt_prog_compiler_pic_F77 in
14154
14794
fi
14155
14795
 
14156
14796
fi
14157
 
case "$host_os" in
 
14797
case $host_os in
14158
14798
  # For platforms which do not support PIC, -DPIC is meaningless:
14159
14799
  *djgpp*)
14160
14800
    lt_prog_compiler_pic_F77=
14164
14804
    ;;
14165
14805
esac
14166
14806
 
14167
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14168
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
14807
#
 
14808
# Check to make sure the static flag actually works.
 
14809
#
 
14810
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
 
14811
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
14812
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
14813
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
 
14814
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14815
else
 
14816
  lt_prog_compiler_static_works_F77=no
 
14817
   save_LDFLAGS="$LDFLAGS"
 
14818
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
14819
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
14820
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
14821
     # The linker can only warn and ignore the option if not recognized
 
14822
     # So say no if there are warnings
 
14823
     if test -s conftest.err; then
 
14824
       # Append any errors to the config.log.
 
14825
       cat conftest.err 1>&5
 
14826
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
14827
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
14828
       if diff conftest.exp conftest.er2 >/dev/null; then
 
14829
         lt_prog_compiler_static_works_F77=yes
 
14830
       fi
 
14831
     else
 
14832
       lt_prog_compiler_static_works_F77=yes
 
14833
     fi
 
14834
   fi
 
14835
   $rm conftest*
 
14836
   LDFLAGS="$save_LDFLAGS"
 
14837
 
 
14838
fi
 
14839
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
 
14840
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
 
14841
 
 
14842
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
 
14843
    :
 
14844
else
 
14845
    lt_prog_compiler_static_F77=
 
14846
fi
 
14847
 
 
14848
 
 
14849
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14850
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14169
14851
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14170
14852
  echo $ECHO_N "(cached) $ECHO_C" >&6
14171
14853
else
14182
14864
   # Note that $ac_compile itself does not contain backslashes and begins
14183
14865
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14184
14866
   lt_compile=`echo "$ac_compile" | $SED \
14185
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
14867
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14186
14868
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14187
14869
   -e 's:$: $lt_compiler_flag:'`
14188
 
   (eval echo "\"\$as_me:14188: $lt_compile\"" >&5)
 
14870
   (eval echo "\"\$as_me:14870: $lt_compile\"" >&5)
14189
14871
   (eval "$lt_compile" 2>out/conftest.err)
14190
14872
   ac_status=$?
14191
14873
   cat out/conftest.err >&5
14192
 
   echo "$as_me:14192: \$? = $ac_status" >&5
 
14874
   echo "$as_me:14874: \$? = $ac_status" >&5
14193
14875
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14194
14876
   then
14195
14877
     # The compiler can only warn and ignore the option if not recognized
14196
14878
     # So say no if there are warnings
14197
 
     if test ! -s out/conftest.err; then
 
14879
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
14880
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
14881
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14198
14882
       lt_cv_prog_compiler_c_o_F77=yes
14199
14883
     fi
14200
14884
   fi
14201
 
   chmod u+w .
 
14885
   chmod u+w . 2>&5
14202
14886
   $rm conftest*
14203
14887
   # SGI C++ compiler will create directory out/ii_files/ for
14204
14888
   # template instantiation
14209
14893
   $rm conftest*
14210
14894
 
14211
14895
fi
14212
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14213
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
 
14896
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
14897
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14214
14898
 
14215
14899
 
14216
14900
hard_links="nottested"
14217
14901
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
14218
14902
  # do not overwrite the value of need_locks provided by the user
14219
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14220
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
14903
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
14904
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14221
14905
  hard_links=yes
14222
14906
  $rm conftest*
14223
14907
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14224
14908
  touch conftest.a
14225
14909
  ln conftest.a conftest.b 2>&5 || hard_links=no
14226
14910
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14227
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
14228
 
echo "${ECHO_T}$hard_links" >&6
 
14911
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
14912
echo "${ECHO_T}$hard_links" >&6; }
14229
14913
  if test "$hard_links" = no; then
14230
14914
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14231
14915
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14235
14919
  need_locks=no
14236
14920
fi
14237
14921
 
14238
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14239
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
14922
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14923
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14240
14924
 
14241
14925
  runpath_var=
14242
14926
  allow_undefined_flag_F77=
14274
14958
  # rely on this symbol name, it's probably fine to never include it in
14275
14959
  # preloaded symbol tables.
14276
14960
  extract_expsyms_cmds=
 
14961
  # Just being paranoid about ensuring that cc_basename is set.
 
14962
  for cc_temp in $compiler""; do
 
14963
  case $cc_temp in
 
14964
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
14965
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
14966
    \-*) ;;
 
14967
    *) break;;
 
14968
  esac
 
14969
done
 
14970
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14277
14971
 
14278
14972
  case $host_os in
14279
14973
  cygwin* | mingw* | pw32*)
14284
14978
      with_gnu_ld=no
14285
14979
    fi
14286
14980
    ;;
 
14981
  interix*)
 
14982
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
14983
    with_gnu_ld=yes
 
14984
    ;;
14287
14985
  openbsd*)
14288
14986
    with_gnu_ld=no
14289
14987
    ;;
14294
14992
    # If archive_cmds runs LD, not CC, wlarc should be empty
14295
14993
    wlarc='${wl}'
14296
14994
 
 
14995
    # Set some defaults for GNU ld with shared library support. These
 
14996
    # are reset later if shared libraries are not supported. Putting them
 
14997
    # here allows them to be overridden if necessary.
 
14998
    runpath_var=LD_RUN_PATH
 
14999
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
 
15000
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
 
15001
    # ancient GNU ld didn't support --whole-archive et. al.
 
15002
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
15003
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
15004
      else
 
15005
        whole_archive_flag_spec_F77=
 
15006
    fi
 
15007
    supports_anon_versioning=no
 
15008
    case `$LD -v 2>/dev/null` in
 
15009
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
15010
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
15011
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
15012
      *\ 2.11.*) ;; # other 2.11 versions
 
15013
      *) supports_anon_versioning=yes ;;
 
15014
    esac
 
15015
 
14297
15016
    # See if GNU ld supports shared libraries.
14298
15017
    case $host_os in
14299
15018
    aix3* | aix4* | aix5*)
14344
15063
      allow_undefined_flag_F77=unsupported
14345
15064
      always_export_symbols_F77=no
14346
15065
      enable_shared_with_static_runtimes_F77=yes
14347
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
15066
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14348
15067
 
14349
15068
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14350
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
15069
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14351
15070
        # If the export-symbols file already is a .def file (1st line
14352
15071
        # is EXPORTS), use it as is; otherwise, prepend...
14353
15072
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14356
15075
          echo EXPORTS > $output_objdir/$soname.def;
14357
15076
          cat $export_symbols >> $output_objdir/$soname.def;
14358
15077
        fi~
14359
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
14360
 
      else
14361
 
        ld_shlibs=no
14362
 
      fi
14363
 
      ;;
14364
 
 
14365
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
15078
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
15079
      else
 
15080
        ld_shlibs_F77=no
 
15081
      fi
 
15082
      ;;
 
15083
 
 
15084
    interix3*)
 
15085
      hardcode_direct_F77=no
 
15086
      hardcode_shlibpath_var_F77=no
 
15087
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
15088
      export_dynamic_flag_spec_F77='${wl}-E'
 
15089
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
15090
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
15091
      # default) and relocated if they conflict, which is a slow very memory
 
15092
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
15093
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
15094
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
15095
      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'
 
15096
      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'
 
15097
      ;;
 
15098
 
 
15099
    linux* | k*bsd*-gnu)
 
15100
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
15101
        tmp_addflag=
 
15102
        case $cc_basename,$host_cpu in
 
15103
        pgcc*)                          # Portland Group C compiler
 
15104
          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'
 
15105
          tmp_addflag=' $pic_flag'
 
15106
          ;;
 
15107
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
15108
          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'
 
15109
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
15110
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
15111
          tmp_addflag=' -i_dynamic' ;;
 
15112
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
15113
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
15114
        ifc* | ifort*)                  # Intel Fortran compiler
 
15115
          tmp_addflag=' -nofor_main' ;;
 
15116
        esac
 
15117
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15118
 
 
15119
        if test $supports_anon_versioning = yes; then
 
15120
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
 
15121
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
15122
  $echo "local: *; };" >> $output_objdir/$libname.ver~
 
15123
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
15124
        fi
 
15125
        link_all_deplibs_F77=no
 
15126
      else
 
15127
        ld_shlibs_F77=no
 
15128
      fi
 
15129
      ;;
 
15130
 
 
15131
    netbsd* | netbsdelf*-gnu)
14366
15132
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14367
15133
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14368
15134
        wlarc=
14372
15138
      fi
14373
15139
      ;;
14374
15140
 
14375
 
    solaris* | sysv5*)
 
15141
    solaris*)
14376
15142
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
14377
15143
        ld_shlibs_F77=no
14378
15144
        cat <<EOF 1>&2
14393
15159
      fi
14394
15160
      ;;
14395
15161
 
 
15162
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
15163
      case `$LD -v 2>&1` in
 
15164
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
15165
        ld_shlibs_F77=no
 
15166
        cat <<_LT_EOF 1>&2
 
15167
 
 
15168
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
15169
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
15170
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
15171
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
15172
*** your PATH or compiler configuration so that the native linker is
 
15173
*** used, and then restart.
 
15174
 
 
15175
_LT_EOF
 
15176
        ;;
 
15177
        *)
 
15178
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
15179
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
15180
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
15181
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
15182
          else
 
15183
            ld_shlibs_F77=no
 
15184
          fi
 
15185
        ;;
 
15186
      esac
 
15187
      ;;
 
15188
 
14396
15189
    sunos4*)
14397
15190
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14398
15191
      wlarc=
14400
15193
      hardcode_shlibpath_var_F77=no
14401
15194
      ;;
14402
15195
 
14403
 
  linux*)
14404
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14405
 
        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14406
 
        archive_cmds_F77="$tmp_archive_cmds"
14407
 
      supports_anon_versioning=no
14408
 
      case `$LD -v 2>/dev/null` in
14409
 
        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14410
 
        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14411
 
        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14412
 
        *\ 2.11.*) ;; # other 2.11 versions
14413
 
        *) supports_anon_versioning=yes ;;
14414
 
      esac
14415
 
      if test $supports_anon_versioning = yes; then
14416
 
        archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
14417
 
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14418
 
$echo "local: *; };" >> $output_objdir/$libname.ver~
14419
 
        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14420
 
      else
14421
 
        archive_expsym_cmds_F77="$tmp_archive_cmds"
14422
 
      fi
14423
 
      link_all_deplibs_F77=no
14424
 
    else
14425
 
      ld_shlibs_F77=no
14426
 
    fi
14427
 
    ;;
14428
 
 
14429
15196
    *)
14430
15197
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14431
15198
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14436
15203
      ;;
14437
15204
    esac
14438
15205
 
14439
 
    if test "$ld_shlibs_F77" = yes; then
14440
 
      runpath_var=LD_RUN_PATH
14441
 
      hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
14442
 
      export_dynamic_flag_spec_F77='${wl}--export-dynamic'
14443
 
      # ancient GNU ld didn't support --whole-archive et. al.
14444
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14445
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14446
 
      else
14447
 
        whole_archive_flag_spec_F77=
14448
 
      fi
 
15206
    if test "$ld_shlibs_F77" = no; then
 
15207
      runpath_var=
 
15208
      hardcode_libdir_flag_spec_F77=
 
15209
      export_dynamic_flag_spec_F77=
 
15210
      whole_archive_flag_spec_F77=
14449
15211
    fi
14450
15212
  else
14451
15213
    # PORTME fill in a description of your system's linker (not GNU ld)
14457
15219
      # Note: this linker hardcodes the directories in LIBPATH if there
14458
15220
      # are no directories specified by -L.
14459
15221
      hardcode_minus_L_F77=yes
14460
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
15222
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14461
15223
        # Neither direct hardcoding nor static linking is supported with a
14462
15224
        # broken collect2.
14463
15225
        hardcode_direct_F77=unsupported
14491
15253
            break
14492
15254
          fi
14493
15255
          done
 
15256
          ;;
14494
15257
        esac
14495
15258
 
14496
15259
        exp_sym_flag='-bexport'
14509
15272
      link_all_deplibs_F77=yes
14510
15273
 
14511
15274
      if test "$GCC" = yes; then
14512
 
        case $host_os in aix4.012|aix4.012.*)
 
15275
        case $host_os in aix4.[012]|aix4.[012].*)
14513
15276
        # We only want to do this on AIX 4.2 and lower, the check
14514
15277
        # below for broken collect2 doesn't work under 4.3+
14515
15278
          collect2name=`${CC} -print-prog-name=collect2`
14528
15291
          hardcode_libdir_flag_spec_F77='-L$libdir'
14529
15292
          hardcode_libdir_separator_F77=
14530
15293
          fi
 
15294
          ;;
14531
15295
        esac
14532
15296
        shared_flag='-shared'
 
15297
        if test "$aix_use_runtimelinking" = yes; then
 
15298
          shared_flag="$shared_flag "'${wl}-G'
 
15299
        fi
14533
15300
      else
14534
15301
        # not using gcc
14535
15302
        if test "$host_cpu" = ia64; then
14537
15304
        # chokes on -Wl,-G. The following line is correct:
14538
15305
          shared_flag='-G'
14539
15306
        else
14540
 
        if test "$aix_use_runtimelinking" = yes; then
 
15307
          if test "$aix_use_runtimelinking" = yes; then
14541
15308
            shared_flag='${wl}-G'
14542
15309
          else
14543
15310
            shared_flag='${wl}-bM:SRE'
14544
 
        fi
 
15311
          fi
14545
15312
        fi
14546
15313
      fi
14547
15314
 
14559
15326
      end
14560
15327
_ACEOF
14561
15328
rm -f conftest.$ac_objext conftest$ac_exeext
14562
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14563
 
  (eval $ac_link) 2>conftest.er1
 
15329
if { (ac_try="$ac_link"
 
15330
case "(($ac_try" in
 
15331
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15332
  *) ac_try_echo=$ac_try;;
 
15333
esac
 
15334
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15335
  (eval "$ac_link") 2>conftest.er1
14564
15336
  ac_status=$?
14565
15337
  grep -v '^ *+' conftest.er1 >conftest.err
14566
15338
  rm -f conftest.er1
14567
15339
  cat conftest.err >&5
14568
15340
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14569
 
  (exit $ac_status); } &&
14570
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
14571
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14572
 
  (eval $ac_try) 2>&5
14573
 
  ac_status=$?
14574
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14575
 
  (exit $ac_status); }; } &&
14576
 
         { ac_try='test -s conftest$ac_exeext'
14577
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14578
 
  (eval $ac_try) 2>&5
14579
 
  ac_status=$?
14580
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14581
 
  (exit $ac_status); }; }; then
 
15341
  (exit $ac_status); } && {
 
15342
         test -z "$ac_f77_werror_flag" ||
 
15343
         test ! -s conftest.err
 
15344
       } && test -s conftest$ac_exeext &&
 
15345
       $as_test_x conftest$ac_exeext; then
14582
15346
 
14583
15347
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14584
15348
}'`
14589
15353
  echo "$as_me: failed program was:" >&5
14590
15354
sed 's/^/| /' conftest.$ac_ext >&5
14591
15355
 
 
15356
 
14592
15357
fi
14593
 
rm -f conftest.err conftest.$ac_objext \
 
15358
 
 
15359
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14594
15360
      conftest$ac_exeext conftest.$ac_ext
14595
15361
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14596
15362
 
14597
15363
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14598
 
        archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
15364
        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"
14599
15365
       else
14600
15366
        if test "$host_cpu" = ia64; then
14601
15367
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14602
15368
          allow_undefined_flag_F77="-z nodefs"
14603
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
15369
          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"
14604
15370
        else
14605
15371
         # Determine the default libpath from the value encoded in an empty executable.
14606
15372
         cat >conftest.$ac_ext <<_ACEOF
14609
15375
      end
14610
15376
_ACEOF
14611
15377
rm -f conftest.$ac_objext conftest$ac_exeext
14612
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14613
 
  (eval $ac_link) 2>conftest.er1
 
15378
if { (ac_try="$ac_link"
 
15379
case "(($ac_try" in
 
15380
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15381
  *) ac_try_echo=$ac_try;;
 
15382
esac
 
15383
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15384
  (eval "$ac_link") 2>conftest.er1
14614
15385
  ac_status=$?
14615
15386
  grep -v '^ *+' conftest.er1 >conftest.err
14616
15387
  rm -f conftest.er1
14617
15388
  cat conftest.err >&5
14618
15389
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14619
 
  (exit $ac_status); } &&
14620
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
14621
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14622
 
  (eval $ac_try) 2>&5
14623
 
  ac_status=$?
14624
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14625
 
  (exit $ac_status); }; } &&
14626
 
         { ac_try='test -s conftest$ac_exeext'
14627
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14628
 
  (eval $ac_try) 2>&5
14629
 
  ac_status=$?
14630
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14631
 
  (exit $ac_status); }; }; then
 
15390
  (exit $ac_status); } && {
 
15391
         test -z "$ac_f77_werror_flag" ||
 
15392
         test ! -s conftest.err
 
15393
       } && test -s conftest$ac_exeext &&
 
15394
       $as_test_x conftest$ac_exeext; then
14632
15395
 
14633
15396
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14634
15397
}'`
14639
15402
  echo "$as_me: failed program was:" >&5
14640
15403
sed 's/^/| /' conftest.$ac_ext >&5
14641
15404
 
 
15405
 
14642
15406
fi
14643
 
rm -f conftest.err conftest.$ac_objext \
 
15407
 
 
15408
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14644
15409
      conftest$ac_exeext conftest.$ac_ext
14645
15410
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14646
15411
 
14649
15414
          # -berok will link without error, but may produce a broken library.
14650
15415
          no_undefined_flag_F77=' ${wl}-bernotok'
14651
15416
          allow_undefined_flag_F77=' ${wl}-berok'
14652
 
          # -bexpall does not export symbols beginning with underscore (_)
14653
 
          always_export_symbols_F77=yes
14654
15417
          # Exported symbols can be pulled into shared objects from archives
14655
 
          whole_archive_flag_spec_F77=' '
 
15418
          whole_archive_flag_spec_F77='$convenience'
14656
15419
          archive_cmds_need_lc_F77=yes
14657
 
          # This is similar to how AIX traditionally builds it's shared libraries.
14658
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
15420
          # This is similar to how AIX traditionally builds its shared libraries.
 
15421
          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'
14659
15422
        fi
14660
15423
      fi
14661
15424
      ;;
14668
15431
      ld_shlibs_F77=no
14669
15432
      ;;
14670
15433
 
14671
 
    bsdi4*)
 
15434
    bsdi[45]*)
14672
15435
      export_dynamic_flag_spec_F77=-rdynamic
14673
15436
      ;;
14674
15437
 
14689
15452
      old_archive_From_new_cmds_F77='true'
14690
15453
      # FIXME: Should let the user specify the lib program.
14691
15454
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
14692
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
 
15455
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
14693
15456
      enable_shared_with_static_runtimes_F77=yes
14694
15457
      ;;
14695
15458
 
14696
15459
    darwin* | rhapsody*)
14697
 
    if test "$GXX" = yes ; then
 
15460
      case $host_os in
 
15461
        rhapsody* | darwin1.[012])
 
15462
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
 
15463
         ;;
 
15464
       *) # Darwin 1.3 on
 
15465
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
15466
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
15467
         else
 
15468
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
15469
             10.[012])
 
15470
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
15471
               ;;
 
15472
             10.*)
 
15473
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
 
15474
               ;;
 
15475
           esac
 
15476
         fi
 
15477
         ;;
 
15478
      esac
14698
15479
      archive_cmds_need_lc_F77=no
14699
 
      case "$host_os" in
14700
 
      rhapsody* | darwin1.[012])
14701
 
        allow_undefined_flag_F77='-undefined suppress'
14702
 
        ;;
14703
 
      *) # Darwin 1.3 on
14704
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14705
 
        allow_undefined_flag_F77='-flat_namespace -undefined suppress'
14706
 
      else
14707
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
14708
 
          10.[012])
14709
 
            allow_undefined_flag_F77='-flat_namespace -undefined suppress'
14710
 
            ;;
14711
 
          10.*)
14712
 
            allow_undefined_flag_F77='-undefined dynamic_lookup'
14713
 
            ;;
14714
 
        esac
14715
 
      fi
14716
 
        ;;
14717
 
      esac
14718
 
        lt_int_apple_cc_single_mod=no
14719
 
        output_verbose_link_cmd='echo'
14720
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
14721
 
          lt_int_apple_cc_single_mod=yes
14722
 
        fi
14723
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
14724
 
          archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14725
 
        else
14726
 
        archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14727
 
      fi
14728
 
      module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14729
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14730
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
14731
 
          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14732
 
        else
14733
 
          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14734
 
        fi
14735
 
          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}'
14736
15480
      hardcode_direct_F77=no
14737
15481
      hardcode_automatic_F77=yes
14738
15482
      hardcode_shlibpath_var_F77=unsupported
14739
 
      whole_archive_flag_spec_F77='-all_load $convenience'
 
15483
      whole_archive_flag_spec_F77=''
14740
15484
      link_all_deplibs_F77=yes
 
15485
    if test "$GCC" = yes ; then
 
15486
        output_verbose_link_cmd='echo'
 
15487
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
15488
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
15489
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
15490
      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}'
 
15491
      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}'
14741
15492
    else
14742
 
      ld_shlibs_F77=no
 
15493
      case $cc_basename in
 
15494
        xlc*)
 
15495
         output_verbose_link_cmd='echo'
 
15496
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
15497
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
15498
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
15499
         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}'
 
15500
          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}'
 
15501
          ;;
 
15502
       *)
 
15503
         ld_shlibs_F77=no
 
15504
          ;;
 
15505
      esac
14743
15506
    fi
14744
15507
      ;;
14745
15508
 
14773
15536
      ;;
14774
15537
 
14775
15538
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14776
 
    freebsd* | kfreebsd*-gnu)
 
15539
    freebsd* | dragonfly*)
14777
15540
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14778
15541
      hardcode_libdir_flag_spec_F77='-R$libdir'
14779
15542
      hardcode_direct_F77=yes
14796
15559
      export_dynamic_flag_spec_F77='${wl}-E'
14797
15560
      ;;
14798
15561
 
14799
 
    hpux10* | hpux11*)
14800
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
14801
 
        case "$host_cpu" in
14802
 
        hppa*64*|ia64*)
 
15562
    hpux10*)
 
15563
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
15564
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
15565
      else
 
15566
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
15567
      fi
 
15568
      if test "$with_gnu_ld" = no; then
 
15569
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
15570
        hardcode_libdir_separator_F77=:
 
15571
 
 
15572
        hardcode_direct_F77=yes
 
15573
        export_dynamic_flag_spec_F77='${wl}-E'
 
15574
 
 
15575
        # hardcode_minus_L: Not really in the search PATH,
 
15576
        # but as the default location of the library.
 
15577
        hardcode_minus_L_F77=yes
 
15578
      fi
 
15579
      ;;
 
15580
 
 
15581
    hpux11*)
 
15582
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
15583
        case $host_cpu in
 
15584
        hppa*64*)
14803
15585
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14804
15586
          ;;
 
15587
        ia64*)
 
15588
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
15589
          ;;
14805
15590
        *)
14806
15591
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14807
15592
          ;;
14808
15593
        esac
14809
15594
      else
14810
 
        case "$host_cpu" in
14811
 
        hppa*64*|ia64*)
14812
 
          archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
15595
        case $host_cpu in
 
15596
        hppa*64*)
 
15597
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15598
          ;;
 
15599
        ia64*)
 
15600
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14813
15601
          ;;
14814
15602
        *)
14815
 
          archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
15603
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14816
15604
          ;;
14817
15605
        esac
14818
15606
      fi
14819
15607
      if test "$with_gnu_ld" = no; then
14820
 
        case "$host_cpu" in
14821
 
        hppa*64*)
14822
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
15608
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
15609
        hardcode_libdir_separator_F77=:
 
15610
 
 
15611
        case $host_cpu in
 
15612
        hppa*64*|ia64*)
14823
15613
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
14824
 
          hardcode_libdir_separator_F77=:
14825
 
          hardcode_direct_F77=no
14826
 
          hardcode_shlibpath_var_F77=no
14827
 
          ;;
14828
 
        ia64*)
14829
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
14830
 
          hardcode_direct_F77=no
14831
 
          hardcode_shlibpath_var_F77=no
14832
 
 
14833
 
          # hardcode_minus_L: Not really in the search PATH,
14834
 
          # but as the default location of the library.
14835
 
          hardcode_minus_L_F77=yes
 
15614
          hardcode_direct_F77=no
 
15615
          hardcode_shlibpath_var_F77=no
14836
15616
          ;;
14837
15617
        *)
14838
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
14839
 
          hardcode_libdir_separator_F77=:
14840
15618
          hardcode_direct_F77=yes
14841
15619
          export_dynamic_flag_spec_F77='${wl}-E'
14842
15620
 
14860
15638
      link_all_deplibs_F77=yes
14861
15639
      ;;
14862
15640
 
14863
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
15641
    netbsd* | netbsdelf*-gnu)
14864
15642
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14865
15643
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
14866
15644
      else
14884
15662
      hardcode_shlibpath_var_F77=no
14885
15663
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14886
15664
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
15665
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14887
15666
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14888
15667
        export_dynamic_flag_spec_F77='${wl}-E'
14889
15668
      else
14929
15708
        allow_undefined_flag_F77=' -expect_unresolved \*'
14930
15709
        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'
14931
15710
        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~
14932
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
 
15711
        $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'
14933
15712
 
14934
15713
        # Both c and cxx compiler support -rpath directly
14935
15714
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
14937
15716
      hardcode_libdir_separator_F77=:
14938
15717
      ;;
14939
15718
 
14940
 
    sco3.2v5*)
14941
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14942
 
      hardcode_shlibpath_var_F77=no
14943
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
14944
 
      runpath_var=LD_RUN_PATH
14945
 
      hardcode_runpath_var=yes
14946
 
      ;;
14947
 
 
14948
15719
    solaris*)
14949
15720
      no_undefined_flag_F77=' -z text'
14950
15721
      if test "$GCC" = yes; then
 
15722
        wlarc='${wl}'
14951
15723
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14952
15724
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14953
15725
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14954
15726
      else
 
15727
        wlarc=''
14955
15728
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14956
15729
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14957
15730
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14960
15733
      hardcode_shlibpath_var_F77=no
14961
15734
      case $host_os in
14962
15735
      solaris2.[0-5] | solaris2.[0-5].*) ;;
14963
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
14964
 
        whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
 
15736
      *)
 
15737
        # The compiler driver will combine linker options so we
 
15738
        # cannot just pass the convience library names through
 
15739
        # without $wl, iff we do not link with $LD.
 
15740
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
15741
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
15742
        case $wlarc in
 
15743
        '')
 
15744
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
 
15745
        *)
 
15746
          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' ;;
 
15747
        esac ;;
14965
15748
      esac
14966
15749
      link_all_deplibs_F77=yes
14967
15750
      ;;
15018
15801
      fi
15019
15802
      ;;
15020
15803
 
15021
 
    sysv4.2uw2*)
15022
 
      archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15023
 
      hardcode_direct_F77=yes
15024
 
      hardcode_minus_L_F77=no
15025
 
      hardcode_shlibpath_var_F77=no
15026
 
      hardcode_runpath_var=yes
15027
 
      runpath_var=LD_RUN_PATH
15028
 
      ;;
15029
 
 
15030
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
15031
 
      no_undefined_flag_F77='${wl}-z ${wl}text'
15032
 
      if test "$GCC" = yes; then
15033
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15034
 
      else
15035
 
        archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15036
 
      fi
15037
 
      runpath_var='LD_RUN_PATH'
15038
 
      hardcode_shlibpath_var_F77=no
15039
 
      ;;
15040
 
 
15041
 
    sysv5*)
15042
 
      no_undefined_flag_F77=' -z text'
15043
 
      # $CC -shared without GNU ld will not create a library from C++
15044
 
      # object files and a static libstdc++, better avoid it by now
15045
 
      archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15046
 
      archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15047
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15048
 
      hardcode_libdir_flag_spec_F77=
15049
 
      hardcode_shlibpath_var_F77=no
15050
 
      runpath_var='LD_RUN_PATH'
 
15804
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
15805
      no_undefined_flag_F77='${wl}-z,text'
 
15806
      archive_cmds_need_lc_F77=no
 
15807
      hardcode_shlibpath_var_F77=no
 
15808
      runpath_var='LD_RUN_PATH'
 
15809
 
 
15810
      if test "$GCC" = yes; then
 
15811
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15812
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15813
      else
 
15814
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15815
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15816
      fi
 
15817
      ;;
 
15818
 
 
15819
    sysv5* | sco3.2v5* | sco5v6*)
 
15820
      # Note: We can NOT use -z defs as we might desire, because we do not
 
15821
      # link with -lc, and that would cause any symbols used from libc to
 
15822
      # always be unresolved, which means just about no library would
 
15823
      # ever link correctly.  If we're not using GNU ld we use -z text
 
15824
      # though, which does catch some bad symbols but isn't as heavy-handed
 
15825
      # as -z defs.
 
15826
      no_undefined_flag_F77='${wl}-z,text'
 
15827
      allow_undefined_flag_F77='${wl}-z,nodefs'
 
15828
      archive_cmds_need_lc_F77=no
 
15829
      hardcode_shlibpath_var_F77=no
 
15830
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
15831
      hardcode_libdir_separator_F77=':'
 
15832
      link_all_deplibs_F77=yes
 
15833
      export_dynamic_flag_spec_F77='${wl}-Bexport'
 
15834
      runpath_var='LD_RUN_PATH'
 
15835
 
 
15836
      if test "$GCC" = yes; then
 
15837
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15838
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15839
      else
 
15840
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15841
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15842
      fi
15051
15843
      ;;
15052
15844
 
15053
15845
    uts4*)
15062
15854
    esac
15063
15855
  fi
15064
15856
 
15065
 
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15066
 
echo "${ECHO_T}$ld_shlibs_F77" >&6
 
15857
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
15858
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15067
15859
test "$ld_shlibs_F77" = no && can_build_shared=no
15068
15860
 
15069
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15070
 
if test "$GCC" = yes; then
15071
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15072
 
fi
15073
 
 
15074
15861
#
15075
15862
# Do we need to explicitly link libc?
15076
15863
#
15088
15875
      # Test whether the compiler implicitly links with -lc since on some
15089
15876
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15090
15877
      # to ld, don't add -lc before -lgcc.
15091
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15092
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
15878
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
15879
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15093
15880
      $rm conftest*
15094
15881
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15095
15882
 
15103
15890
        libobjs=conftest.$ac_objext
15104
15891
        deplibs=
15105
15892
        wl=$lt_prog_compiler_wl_F77
 
15893
        pic_flag=$lt_prog_compiler_pic_F77
15106
15894
        compiler_flags=-v
15107
15895
        linker_flags=-v
15108
15896
        verstring=
15125
15913
        cat conftest.err 1>&5
15126
15914
      fi
15127
15915
      $rm conftest*
15128
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15129
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
 
15916
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
15917
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15130
15918
      ;;
15131
15919
    esac
15132
15920
  fi
15133
15921
  ;;
15134
15922
esac
15135
15923
 
15136
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15137
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
15924
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
15925
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15138
15926
library_names_spec=
15139
15927
libname_spec='lib$name'
15140
15928
soname_spec=
15235
16023
  shlibpath_var=LIBRARY_PATH
15236
16024
  ;;
15237
16025
 
15238
 
bsdi4*)
 
16026
bsdi[45]*)
15239
16027
  version_type=linux
15240
16028
  need_version=no
15241
16029
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15263
16051
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15264
16052
      dldir=$destdir/`dirname \$dlpath`~
15265
16053
      test -d \$dldir || mkdir -p \$dldir~
15266
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
16054
      $install_prog $dir/$dlname \$dldir/$dlname~
 
16055
      chmod a+x \$dldir/$dlname'
15267
16056
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15268
16057
      dlpath=$dir/\$dldll~
15269
16058
       $rm \$dlpath'
15293
16082
      ;;
15294
16083
    pw32*)
15295
16084
      # pw32 DLLs use 'pw' prefix rather than 'lib'
15296
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
16085
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15297
16086
      ;;
15298
16087
    esac
15299
16088
    ;;
15316
16105
  soname_spec='${libname}${release}${major}$shared_ext'
15317
16106
  shlibpath_overrides_runpath=yes
15318
16107
  shlibpath_var=DYLD_LIBRARY_PATH
15319
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
 
16108
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15320
16109
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15321
16110
  if test "$GCC" = yes; then
15322
16111
    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"`
15339
16128
  dynamic_linker=no
15340
16129
  ;;
15341
16130
 
15342
 
kfreebsd*-gnu)
15343
 
  version_type=linux
15344
 
  need_lib_prefix=no
15345
 
  need_version=no
15346
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15347
 
  soname_spec='${libname}${release}${shared_ext}$major'
15348
 
  shlibpath_var=LD_LIBRARY_PATH
15349
 
  shlibpath_overrides_runpath=no
15350
 
  hardcode_into_libs=yes
15351
 
  dynamic_linker='GNU ld.so'
15352
 
  ;;
15353
 
 
15354
 
freebsd*)
15355
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
16131
freebsd* | dragonfly*)
 
16132
  # DragonFly does not have aout.  When/if they implement a new
 
16133
  # versioning mechanism, adjust this.
 
16134
  if test -x /usr/bin/objformat; then
 
16135
    objformat=`/usr/bin/objformat`
 
16136
  else
 
16137
    case $host_os in
 
16138
    freebsd[123]*) objformat=aout ;;
 
16139
    *) objformat=elf ;;
 
16140
    esac
 
16141
  fi
15356
16142
  version_type=freebsd-$objformat
15357
16143
  case $version_type in
15358
16144
    freebsd-elf*)
15370
16156
  freebsd2*)
15371
16157
    shlibpath_overrides_runpath=yes
15372
16158
    ;;
15373
 
  freebsd3.01* | freebsdelf3.01*)
 
16159
  freebsd3.[01]* | freebsdelf3.[01]*)
15374
16160
    shlibpath_overrides_runpath=yes
15375
16161
    hardcode_into_libs=yes
15376
16162
    ;;
15377
 
  *) # from 3.2 on
 
16163
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
16164
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15378
16165
    shlibpath_overrides_runpath=no
15379
16166
    hardcode_into_libs=yes
15380
16167
    ;;
 
16168
  freebsd*) # from 4.6 on
 
16169
    shlibpath_overrides_runpath=yes
 
16170
    hardcode_into_libs=yes
 
16171
    ;;
15381
16172
  esac
15382
16173
  ;;
15383
16174
 
15397
16188
  version_type=sunos
15398
16189
  need_lib_prefix=no
15399
16190
  need_version=no
15400
 
  case "$host_cpu" in
 
16191
  case $host_cpu in
15401
16192
  ia64*)
15402
16193
    shrext_cmds='.so'
15403
16194
    hardcode_into_libs=yes
15437
16228
  postinstall_cmds='chmod 555 $lib'
15438
16229
  ;;
15439
16230
 
 
16231
interix3*)
 
16232
  version_type=linux
 
16233
  need_lib_prefix=no
 
16234
  need_version=no
 
16235
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
16236
  soname_spec='${libname}${release}${shared_ext}$major'
 
16237
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
16238
  shlibpath_var=LD_LIBRARY_PATH
 
16239
  shlibpath_overrides_runpath=no
 
16240
  hardcode_into_libs=yes
 
16241
  ;;
 
16242
 
15440
16243
irix5* | irix6* | nonstopux*)
15441
16244
  case $host_os in
15442
16245
    nonstopux*) version_type=nonstopux ;;
15480
16283
  ;;
15481
16284
 
15482
16285
# This must be Linux ELF.
15483
 
linux*)
 
16286
linux* | k*bsd*-gnu)
15484
16287
  version_type=linux
15485
16288
  need_lib_prefix=no
15486
16289
  need_version=no
15496
16299
 
15497
16300
  # Append ld.so.conf contents to the search path
15498
16301
  if test -f /etc/ld.so.conf; then
15499
 
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
 
16302
    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' ' '`
15500
16303
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15501
16304
  fi
15502
16305
 
15521
16324
  dynamic_linker='NetBSD ld.elf_so'
15522
16325
  ;;
15523
16326
 
15524
 
knetbsd*-gnu)
15525
 
  version_type=linux
15526
 
  need_lib_prefix=no
15527
 
  need_version=no
15528
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15529
 
  soname_spec='${libname}${release}${shared_ext}$major'
15530
 
  shlibpath_var=LD_LIBRARY_PATH
15531
 
  shlibpath_overrides_runpath=no
15532
 
  hardcode_into_libs=yes
15533
 
  dynamic_linker='GNU ld.so'
15534
 
  ;;
15535
 
 
15536
16327
netbsd*)
15537
16328
  version_type=sunos
15538
16329
  need_lib_prefix=no
15570
16361
 
15571
16362
openbsd*)
15572
16363
  version_type=sunos
 
16364
  sys_lib_dlsearch_path_spec="/usr/lib"
15573
16365
  need_lib_prefix=no
15574
 
  need_version=yes
 
16366
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
16367
  case $host_os in
 
16368
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
16369
    *)                         need_version=no  ;;
 
16370
  esac
15575
16371
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15576
16372
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15577
16373
  shlibpath_var=LD_LIBRARY_PATH
15609
16405
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15610
16406
  ;;
15611
16407
 
15612
 
sco3.2v5*)
15613
 
  version_type=osf
15614
 
  soname_spec='${libname}${release}${shared_ext}$major'
15615
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15616
 
  shlibpath_var=LD_LIBRARY_PATH
15617
 
  ;;
15618
 
 
15619
16408
solaris*)
15620
16409
  version_type=linux
15621
16410
  need_lib_prefix=no
15641
16430
  need_version=yes
15642
16431
  ;;
15643
16432
 
15644
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
16433
sysv4 | sysv4.3*)
15645
16434
  version_type=linux
15646
16435
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15647
16436
  soname_spec='${libname}${release}${shared_ext}$major'
15674
16463
  fi
15675
16464
  ;;
15676
16465
 
 
16466
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
16467
  version_type=freebsd-elf
 
16468
  need_lib_prefix=no
 
16469
  need_version=no
 
16470
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
16471
  soname_spec='${libname}${release}${shared_ext}$major'
 
16472
  shlibpath_var=LD_LIBRARY_PATH
 
16473
  hardcode_into_libs=yes
 
16474
  if test "$with_gnu_ld" = yes; then
 
16475
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
16476
    shlibpath_overrides_runpath=no
 
16477
  else
 
16478
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
16479
    shlibpath_overrides_runpath=yes
 
16480
    case $host_os in
 
16481
      sco3.2v5*)
 
16482
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
16483
        ;;
 
16484
    esac
 
16485
  fi
 
16486
  sys_lib_dlsearch_path_spec='/usr/lib'
 
16487
  ;;
 
16488
 
15677
16489
uts4*)
15678
16490
  version_type=linux
15679
16491
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15685
16497
  dynamic_linker=no
15686
16498
  ;;
15687
16499
esac
15688
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15689
 
echo "${ECHO_T}$dynamic_linker" >&6
 
16500
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
16501
echo "${ECHO_T}$dynamic_linker" >&6; }
15690
16502
test "$dynamic_linker" = no && can_build_shared=no
15691
16503
 
15692
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15693
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
16504
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
16505
if test "$GCC" = yes; then
 
16506
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
16507
fi
 
16508
 
 
16509
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
16510
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15694
16511
hardcode_action_F77=
15695
16512
if test -n "$hardcode_libdir_flag_spec_F77" || \
15696
 
   test -n "$runpath_var F77" || \
15697
 
   test "X$hardcode_automatic_F77"="Xyes" ; then
 
16513
   test -n "$runpath_var_F77" || \
 
16514
   test "X$hardcode_automatic_F77" = "Xyes" ; then
15698
16515
 
15699
16516
  # We can hardcode non-existant directories.
15700
16517
  if test "$hardcode_direct_F77" != no &&
15714
16531
  # directories.
15715
16532
  hardcode_action_F77=unsupported
15716
16533
fi
15717
 
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15718
 
echo "${ECHO_T}$hardcode_action_F77" >&6
 
16534
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
16535
echo "${ECHO_T}$hardcode_action_F77" >&6; }
15719
16536
 
15720
16537
if test "$hardcode_action_F77" = relink; then
15721
16538
  # Fast installation is not supported
15726
16543
  enable_fast_install=needless
15727
16544
fi
15728
16545
 
15729
 
striplib=
15730
 
old_striplib=
15731
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15732
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
15733
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
15734
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15735
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15736
 
  echo "$as_me:$LINENO: result: yes" >&5
15737
 
echo "${ECHO_T}yes" >&6
15738
 
else
15739
 
# FIXME - insert some real tests, host_os isn't really good enough
15740
 
  case $host_os in
15741
 
   darwin*)
15742
 
       if test -n "$STRIP" ; then
15743
 
         striplib="$STRIP -x"
15744
 
         echo "$as_me:$LINENO: result: yes" >&5
15745
 
echo "${ECHO_T}yes" >&6
15746
 
       else
15747
 
  echo "$as_me:$LINENO: result: no" >&5
15748
 
echo "${ECHO_T}no" >&6
15749
 
fi
15750
 
       ;;
15751
 
   *)
15752
 
  echo "$as_me:$LINENO: result: no" >&5
15753
 
echo "${ECHO_T}no" >&6
15754
 
    ;;
15755
 
  esac
15756
 
fi
15757
 
 
15758
 
 
15759
16546
 
15760
16547
# The else clause should only fire when bootstrapping the
15761
16548
# libtool distribution, otherwise you forgot to ship ltmain.sh
15770
16557
  # Now quote all the things that may contain metacharacters while being
15771
16558
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
15772
16559
  # variables and quote the copies for generation of the libtool script.
15773
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
16560
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15774
16561
    SED SHELL STRIP \
15775
16562
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15776
16563
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15871
16658
# The host system.
15872
16659
host_alias=$host_alias
15873
16660
host=$host
 
16661
host_os=$host_os
 
16662
 
 
16663
# The build system.
 
16664
build_alias=$build_alias
 
16665
build=$build
 
16666
build_os=$build_os
15874
16667
 
15875
16668
# An echo program that does not interpret backslashes.
15876
16669
echo=$lt_echo
15882
16675
# A C compiler.
15883
16676
LTCC=$lt_LTCC
15884
16677
 
 
16678
# LTCC compiler flags.
 
16679
LTCFLAGS=$lt_LTCFLAGS
 
16680
 
15885
16681
# A language-specific compiler.
15886
16682
CC=$lt_compiler_F77
15887
16683
 
15947
16743
# Does compiler simultaneously support -c and -o options?
15948
16744
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15949
16745
 
15950
 
# Must we lock files when doing compilation ?
 
16746
# Must we lock files when doing compilation?
15951
16747
need_locks=$lt_need_locks
15952
16748
 
15953
16749
# Do we need the lib prefix for modules?
16173
16969
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16174
16970
 
16175
16971
 
16176
 
 
16177
16972
# Source file extension for Java test sources.
16178
16973
ac_ext=java
16179
16974
 
16185
16980
lt_simple_compile_test_code="class foo {}\n"
16186
16981
 
16187
16982
# Code to be used in simple link tests
16188
 
lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
 
16983
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
16189
16984
 
16190
16985
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16191
16986
 
16192
16987
# If no C compiler was specified, use CC.
16193
16988
LTCC=${LTCC-"$CC"}
16194
16989
 
 
16990
# If no C compiler flags were specified, use CFLAGS.
 
16991
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
16992
 
16195
16993
# Allow CC to be a program name with arguments.
16196
16994
compiler=$CC
16197
16995
 
16198
16996
 
 
16997
# save warnings/boilerplate of simple test code
 
16998
ac_outfile=conftest.$ac_objext
 
16999
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
17000
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
17001
_lt_compiler_boilerplate=`cat conftest.err`
 
17002
$rm conftest*
 
17003
 
 
17004
ac_outfile=conftest.$ac_objext
 
17005
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
17006
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
17007
_lt_linker_boilerplate=`cat conftest.err`
 
17008
$rm conftest*
 
17009
 
 
17010
 
16199
17011
# Allow CC to be a program name with arguments.
16200
17012
lt_save_CC="$CC"
16201
17013
CC=${GCJ-"gcj"}
16202
17014
compiler=$CC
16203
17015
compiler_GCJ=$CC
 
17016
for cc_temp in $compiler""; do
 
17017
  case $cc_temp in
 
17018
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
17019
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
17020
    \-*) ;;
 
17021
    *) break;;
 
17022
  esac
 
17023
done
 
17024
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
17025
 
16204
17026
 
16205
17027
# GCJ did not exist at the time GCC didn't implicitly link libc in.
16206
17028
archive_cmds_need_lc_GCJ=no
16207
17029
 
 
17030
old_archive_cmds_GCJ=$old_archive_cmds
 
17031
 
16208
17032
 
16209
17033
lt_prog_compiler_no_builtin_flag_GCJ=
16210
17034
 
16212
17036
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
16213
17037
 
16214
17038
 
16215
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16216
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
17039
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
17040
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16217
17041
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16218
17042
  echo $ECHO_N "(cached) $ECHO_C" >&6
16219
17043
else
16227
17051
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16228
17052
   # The option is referenced via a variable to avoid confusing sed.
16229
17053
   lt_compile=`echo "$ac_compile" | $SED \
16230
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
17054
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16231
17055
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16232
17056
   -e 's:$: $lt_compiler_flag:'`
16233
 
   (eval echo "\"\$as_me:16233: $lt_compile\"" >&5)
 
17057
   (eval echo "\"\$as_me:17057: $lt_compile\"" >&5)
16234
17058
   (eval "$lt_compile" 2>conftest.err)
16235
17059
   ac_status=$?
16236
17060
   cat conftest.err >&5
16237
 
   echo "$as_me:16237: \$? = $ac_status" >&5
 
17061
   echo "$as_me:17061: \$? = $ac_status" >&5
16238
17062
   if (exit $ac_status) && test -s "$ac_outfile"; then
16239
17063
     # The compiler can only warn and ignore the option if not recognized
16240
 
     # So say no if there are warnings
16241
 
     if test ! -s conftest.err; then
 
17064
     # So say no if there are warnings other than the usual output.
 
17065
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
17066
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
17067
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16242
17068
       lt_cv_prog_compiler_rtti_exceptions=yes
16243
17069
     fi
16244
17070
   fi
16245
17071
   $rm conftest*
16246
17072
 
16247
17073
fi
16248
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16249
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
17074
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
17075
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16250
17076
 
16251
17077
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
16252
17078
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16260
17086
lt_prog_compiler_pic_GCJ=
16261
17087
lt_prog_compiler_static_GCJ=
16262
17088
 
16263
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16264
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
17089
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
17090
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16265
17091
 
16266
17092
  if test "$GCC" = yes; then
16267
17093
    lt_prog_compiler_wl_GCJ='-Wl,'
16299
17125
      lt_prog_compiler_pic_GCJ='-fno-common'
16300
17126
      ;;
16301
17127
 
 
17128
    interix3*)
 
17129
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
17130
      # Instead, we relocate shared libraries at runtime.
 
17131
      ;;
 
17132
 
16302
17133
    msdosdjgpp*)
16303
17134
      # Just because we use GCC doesn't mean we suddenly get shared libraries
16304
17135
      # on systems that don't support them.
16315
17146
    hpux*)
16316
17147
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16317
17148
      # not for PA HP-UX.
16318
 
      case "$host_cpu" in
 
17149
      case $host_cpu in
16319
17150
      hppa*64*|ia64*)
16320
17151
        # +Z the default
16321
17152
        ;;
16341
17172
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
16342
17173
      fi
16343
17174
      ;;
 
17175
      darwin*)
 
17176
        # PIC is the default on this platform
 
17177
        # Common symbols not allowed in MH_DYLIB files
 
17178
       case $cc_basename in
 
17179
         xlc*)
 
17180
         lt_prog_compiler_pic_GCJ='-qnocommon'
 
17181
         lt_prog_compiler_wl_GCJ='-Wl,'
 
17182
         ;;
 
17183
       esac
 
17184
       ;;
16344
17185
 
16345
17186
    mingw* | pw32* | os2*)
16346
17187
      # This hack is so that the source file can tell whether it is being
16352
17193
      lt_prog_compiler_wl_GCJ='-Wl,'
16353
17194
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16354
17195
      # not for PA HP-UX.
16355
 
      case "$host_cpu" in
 
17196
      case $host_cpu in
16356
17197
      hppa*64*|ia64*)
16357
17198
        # +Z the default
16358
17199
        ;;
16375
17216
      lt_prog_compiler_static_GCJ='-Bstatic'
16376
17217
      ;;
16377
17218
 
16378
 
    linux*)
16379
 
      case $CC in
 
17219
    linux* | k*bsd*-gnu)
 
17220
      case $cc_basename in
16380
17221
      icc* | ecc*)
16381
17222
        lt_prog_compiler_wl_GCJ='-Wl,'
16382
17223
        lt_prog_compiler_pic_GCJ='-KPIC'
16383
17224
        lt_prog_compiler_static_GCJ='-static'
16384
17225
        ;;
 
17226
      pgcc* | pgf77* | pgf90* | pgf95*)
 
17227
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
17228
        # which looks to be a dead project)
 
17229
        lt_prog_compiler_wl_GCJ='-Wl,'
 
17230
        lt_prog_compiler_pic_GCJ='-fpic'
 
17231
        lt_prog_compiler_static_GCJ='-Bstatic'
 
17232
        ;;
16385
17233
      ccc*)
16386
17234
        lt_prog_compiler_wl_GCJ='-Wl,'
16387
17235
        # All Alpha code is PIC.
16396
17244
      lt_prog_compiler_static_GCJ='-non_shared'
16397
17245
      ;;
16398
17246
 
16399
 
    sco3.2v5*)
16400
 
      lt_prog_compiler_pic_GCJ='-Kpic'
16401
 
      lt_prog_compiler_static_GCJ='-dn'
16402
 
      ;;
16403
 
 
16404
17247
    solaris*)
16405
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16406
17248
      lt_prog_compiler_pic_GCJ='-KPIC'
16407
17249
      lt_prog_compiler_static_GCJ='-Bstatic'
 
17250
      case $cc_basename in
 
17251
      f77* | f90* | f95*)
 
17252
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
 
17253
      *)
 
17254
        lt_prog_compiler_wl_GCJ='-Wl,';;
 
17255
      esac
16408
17256
      ;;
16409
17257
 
16410
17258
    sunos4*)
16413
17261
      lt_prog_compiler_static_GCJ='-Bstatic'
16414
17262
      ;;
16415
17263
 
16416
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
17264
    sysv4 | sysv4.2uw2* | sysv4.3*)
16417
17265
      lt_prog_compiler_wl_GCJ='-Wl,'
16418
17266
      lt_prog_compiler_pic_GCJ='-KPIC'
16419
17267
      lt_prog_compiler_static_GCJ='-Bstatic'
16426
17274
      fi
16427
17275
      ;;
16428
17276
 
 
17277
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
17278
      lt_prog_compiler_wl_GCJ='-Wl,'
 
17279
      lt_prog_compiler_pic_GCJ='-KPIC'
 
17280
      lt_prog_compiler_static_GCJ='-Bstatic'
 
17281
      ;;
 
17282
 
 
17283
    unicos*)
 
17284
      lt_prog_compiler_wl_GCJ='-Wl,'
 
17285
      lt_prog_compiler_can_build_shared_GCJ=no
 
17286
      ;;
 
17287
 
16429
17288
    uts4*)
16430
17289
      lt_prog_compiler_pic_GCJ='-pic'
16431
17290
      lt_prog_compiler_static_GCJ='-Bstatic'
16437
17296
    esac
16438
17297
  fi
16439
17298
 
16440
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16441
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
 
17299
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
17300
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16442
17301
 
16443
17302
#
16444
17303
# Check to make sure the PIC flag actually works.
16445
17304
#
16446
17305
if test -n "$lt_prog_compiler_pic_GCJ"; then
16447
17306
 
16448
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16449
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
 
17307
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
17308
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16450
17309
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16451
17310
  echo $ECHO_N "(cached) $ECHO_C" >&6
16452
17311
else
16460
17319
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16461
17320
   # The option is referenced via a variable to avoid confusing sed.
16462
17321
   lt_compile=`echo "$ac_compile" | $SED \
16463
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
17322
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16464
17323
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16465
17324
   -e 's:$: $lt_compiler_flag:'`
16466
 
   (eval echo "\"\$as_me:16466: $lt_compile\"" >&5)
 
17325
   (eval echo "\"\$as_me:17325: $lt_compile\"" >&5)
16467
17326
   (eval "$lt_compile" 2>conftest.err)
16468
17327
   ac_status=$?
16469
17328
   cat conftest.err >&5
16470
 
   echo "$as_me:16470: \$? = $ac_status" >&5
 
17329
   echo "$as_me:17329: \$? = $ac_status" >&5
16471
17330
   if (exit $ac_status) && test -s "$ac_outfile"; then
16472
17331
     # The compiler can only warn and ignore the option if not recognized
16473
 
     # So say no if there are warnings
16474
 
     if test ! -s conftest.err; then
 
17332
     # So say no if there are warnings other than the usual output.
 
17333
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
17334
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
17335
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16475
17336
       lt_prog_compiler_pic_works_GCJ=yes
16476
17337
     fi
16477
17338
   fi
16478
17339
   $rm conftest*
16479
17340
 
16480
17341
fi
16481
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16482
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
 
17342
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
 
17343
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16483
17344
 
16484
17345
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
16485
17346
    case $lt_prog_compiler_pic_GCJ in
16492
17353
fi
16493
17354
 
16494
17355
fi
16495
 
case "$host_os" in
 
17356
case $host_os in
16496
17357
  # For platforms which do not support PIC, -DPIC is meaningless:
16497
17358
  *djgpp*)
16498
17359
    lt_prog_compiler_pic_GCJ=
16502
17363
    ;;
16503
17364
esac
16504
17365
 
16505
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16506
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
17366
#
 
17367
# Check to make sure the static flag actually works.
 
17368
#
 
17369
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
 
17370
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
17371
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
17372
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
 
17373
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17374
else
 
17375
  lt_prog_compiler_static_works_GCJ=no
 
17376
   save_LDFLAGS="$LDFLAGS"
 
17377
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
17378
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
17379
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
17380
     # The linker can only warn and ignore the option if not recognized
 
17381
     # So say no if there are warnings
 
17382
     if test -s conftest.err; then
 
17383
       # Append any errors to the config.log.
 
17384
       cat conftest.err 1>&5
 
17385
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
17386
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
17387
       if diff conftest.exp conftest.er2 >/dev/null; then
 
17388
         lt_prog_compiler_static_works_GCJ=yes
 
17389
       fi
 
17390
     else
 
17391
       lt_prog_compiler_static_works_GCJ=yes
 
17392
     fi
 
17393
   fi
 
17394
   $rm conftest*
 
17395
   LDFLAGS="$save_LDFLAGS"
 
17396
 
 
17397
fi
 
17398
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
 
17399
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
 
17400
 
 
17401
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
 
17402
    :
 
17403
else
 
17404
    lt_prog_compiler_static_GCJ=
 
17405
fi
 
17406
 
 
17407
 
 
17408
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
17409
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16507
17410
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16508
17411
  echo $ECHO_N "(cached) $ECHO_C" >&6
16509
17412
else
16520
17423
   # Note that $ac_compile itself does not contain backslashes and begins
16521
17424
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16522
17425
   lt_compile=`echo "$ac_compile" | $SED \
16523
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
17426
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16524
17427
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16525
17428
   -e 's:$: $lt_compiler_flag:'`
16526
 
   (eval echo "\"\$as_me:16526: $lt_compile\"" >&5)
 
17429
   (eval echo "\"\$as_me:17429: $lt_compile\"" >&5)
16527
17430
   (eval "$lt_compile" 2>out/conftest.err)
16528
17431
   ac_status=$?
16529
17432
   cat out/conftest.err >&5
16530
 
   echo "$as_me:16530: \$? = $ac_status" >&5
 
17433
   echo "$as_me:17433: \$? = $ac_status" >&5
16531
17434
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16532
17435
   then
16533
17436
     # The compiler can only warn and ignore the option if not recognized
16534
17437
     # So say no if there are warnings
16535
 
     if test ! -s out/conftest.err; then
 
17438
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
17439
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
17440
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16536
17441
       lt_cv_prog_compiler_c_o_GCJ=yes
16537
17442
     fi
16538
17443
   fi
16539
 
   chmod u+w .
 
17444
   chmod u+w . 2>&5
16540
17445
   $rm conftest*
16541
17446
   # SGI C++ compiler will create directory out/ii_files/ for
16542
17447
   # template instantiation
16547
17452
   $rm conftest*
16548
17453
 
16549
17454
fi
16550
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16551
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
 
17455
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
17456
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16552
17457
 
16553
17458
 
16554
17459
hard_links="nottested"
16555
17460
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
16556
17461
  # do not overwrite the value of need_locks provided by the user
16557
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16558
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
17462
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
17463
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16559
17464
  hard_links=yes
16560
17465
  $rm conftest*
16561
17466
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16562
17467
  touch conftest.a
16563
17468
  ln conftest.a conftest.b 2>&5 || hard_links=no
16564
17469
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16565
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
16566
 
echo "${ECHO_T}$hard_links" >&6
 
17470
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
17471
echo "${ECHO_T}$hard_links" >&6; }
16567
17472
  if test "$hard_links" = no; then
16568
17473
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16569
17474
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16573
17478
  need_locks=no
16574
17479
fi
16575
17480
 
16576
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16577
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
17481
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
17482
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16578
17483
 
16579
17484
  runpath_var=
16580
17485
  allow_undefined_flag_GCJ=
16612
17517
  # rely on this symbol name, it's probably fine to never include it in
16613
17518
  # preloaded symbol tables.
16614
17519
  extract_expsyms_cmds=
 
17520
  # Just being paranoid about ensuring that cc_basename is set.
 
17521
  for cc_temp in $compiler""; do
 
17522
  case $cc_temp in
 
17523
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
17524
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
17525
    \-*) ;;
 
17526
    *) break;;
 
17527
  esac
 
17528
done
 
17529
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16615
17530
 
16616
17531
  case $host_os in
16617
17532
  cygwin* | mingw* | pw32*)
16622
17537
      with_gnu_ld=no
16623
17538
    fi
16624
17539
    ;;
 
17540
  interix*)
 
17541
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
17542
    with_gnu_ld=yes
 
17543
    ;;
16625
17544
  openbsd*)
16626
17545
    with_gnu_ld=no
16627
17546
    ;;
16632
17551
    # If archive_cmds runs LD, not CC, wlarc should be empty
16633
17552
    wlarc='${wl}'
16634
17553
 
 
17554
    # Set some defaults for GNU ld with shared library support. These
 
17555
    # are reset later if shared libraries are not supported. Putting them
 
17556
    # here allows them to be overridden if necessary.
 
17557
    runpath_var=LD_RUN_PATH
 
17558
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
 
17559
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
 
17560
    # ancient GNU ld didn't support --whole-archive et. al.
 
17561
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
17562
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
17563
      else
 
17564
        whole_archive_flag_spec_GCJ=
 
17565
    fi
 
17566
    supports_anon_versioning=no
 
17567
    case `$LD -v 2>/dev/null` in
 
17568
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
17569
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
17570
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
17571
      *\ 2.11.*) ;; # other 2.11 versions
 
17572
      *) supports_anon_versioning=yes ;;
 
17573
    esac
 
17574
 
16635
17575
    # See if GNU ld supports shared libraries.
16636
17576
    case $host_os in
16637
17577
    aix3* | aix4* | aix5*)
16682
17622
      allow_undefined_flag_GCJ=unsupported
16683
17623
      always_export_symbols_GCJ=no
16684
17624
      enable_shared_with_static_runtimes_GCJ=yes
16685
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
17625
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16686
17626
 
16687
17627
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16688
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
17628
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16689
17629
        # If the export-symbols file already is a .def file (1st line
16690
17630
        # is EXPORTS), use it as is; otherwise, prepend...
16691
17631
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16694
17634
          echo EXPORTS > $output_objdir/$soname.def;
16695
17635
          cat $export_symbols >> $output_objdir/$soname.def;
16696
17636
        fi~
16697
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
16698
 
      else
16699
 
        ld_shlibs=no
16700
 
      fi
16701
 
      ;;
16702
 
 
16703
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
17637
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
17638
      else
 
17639
        ld_shlibs_GCJ=no
 
17640
      fi
 
17641
      ;;
 
17642
 
 
17643
    interix3*)
 
17644
      hardcode_direct_GCJ=no
 
17645
      hardcode_shlibpath_var_GCJ=no
 
17646
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
17647
      export_dynamic_flag_spec_GCJ='${wl}-E'
 
17648
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
17649
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
17650
      # default) and relocated if they conflict, which is a slow very memory
 
17651
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
17652
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
17653
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
17654
      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'
 
17655
      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'
 
17656
      ;;
 
17657
 
 
17658
    linux* | k*bsd*-gnu)
 
17659
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
17660
        tmp_addflag=
 
17661
        case $cc_basename,$host_cpu in
 
17662
        pgcc*)                          # Portland Group C compiler
 
17663
          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'
 
17664
          tmp_addflag=' $pic_flag'
 
17665
          ;;
 
17666
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
17667
          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'
 
17668
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
17669
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
17670
          tmp_addflag=' -i_dynamic' ;;
 
17671
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
17672
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
17673
        ifc* | ifort*)                  # Intel Fortran compiler
 
17674
          tmp_addflag=' -nofor_main' ;;
 
17675
        esac
 
17676
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
17677
 
 
17678
        if test $supports_anon_versioning = yes; then
 
17679
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
 
17680
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
17681
  $echo "local: *; };" >> $output_objdir/$libname.ver~
 
17682
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
17683
        fi
 
17684
        link_all_deplibs_GCJ=no
 
17685
      else
 
17686
        ld_shlibs_GCJ=no
 
17687
      fi
 
17688
      ;;
 
17689
 
 
17690
    netbsd* | netbsdelf*-gnu)
16704
17691
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16705
17692
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16706
17693
        wlarc=
16710
17697
      fi
16711
17698
      ;;
16712
17699
 
16713
 
    solaris* | sysv5*)
 
17700
    solaris*)
16714
17701
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
16715
17702
        ld_shlibs_GCJ=no
16716
17703
        cat <<EOF 1>&2
16731
17718
      fi
16732
17719
      ;;
16733
17720
 
 
17721
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
17722
      case `$LD -v 2>&1` in
 
17723
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
17724
        ld_shlibs_GCJ=no
 
17725
        cat <<_LT_EOF 1>&2
 
17726
 
 
17727
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
17728
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
17729
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
17730
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
17731
*** your PATH or compiler configuration so that the native linker is
 
17732
*** used, and then restart.
 
17733
 
 
17734
_LT_EOF
 
17735
        ;;
 
17736
        *)
 
17737
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
17738
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
17739
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
17740
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
17741
          else
 
17742
            ld_shlibs_GCJ=no
 
17743
          fi
 
17744
        ;;
 
17745
      esac
 
17746
      ;;
 
17747
 
16734
17748
    sunos4*)
16735
17749
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16736
17750
      wlarc=
16738
17752
      hardcode_shlibpath_var_GCJ=no
16739
17753
      ;;
16740
17754
 
16741
 
  linux*)
16742
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16743
 
        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16744
 
        archive_cmds_GCJ="$tmp_archive_cmds"
16745
 
      supports_anon_versioning=no
16746
 
      case `$LD -v 2>/dev/null` in
16747
 
        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
16748
 
        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
16749
 
        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
16750
 
        *\ 2.11.*) ;; # other 2.11 versions
16751
 
        *) supports_anon_versioning=yes ;;
16752
 
      esac
16753
 
      if test $supports_anon_versioning = yes; then
16754
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
16755
 
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16756
 
$echo "local: *; };" >> $output_objdir/$libname.ver~
16757
 
        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16758
 
      else
16759
 
        archive_expsym_cmds_GCJ="$tmp_archive_cmds"
16760
 
      fi
16761
 
      link_all_deplibs_GCJ=no
16762
 
    else
16763
 
      ld_shlibs_GCJ=no
16764
 
    fi
16765
 
    ;;
16766
 
 
16767
17755
    *)
16768
17756
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16769
17757
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16774
17762
      ;;
16775
17763
    esac
16776
17764
 
16777
 
    if test "$ld_shlibs_GCJ" = yes; then
16778
 
      runpath_var=LD_RUN_PATH
16779
 
      hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
16780
 
      export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
16781
 
      # ancient GNU ld didn't support --whole-archive et. al.
16782
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
16783
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16784
 
      else
16785
 
        whole_archive_flag_spec_GCJ=
16786
 
      fi
 
17765
    if test "$ld_shlibs_GCJ" = no; then
 
17766
      runpath_var=
 
17767
      hardcode_libdir_flag_spec_GCJ=
 
17768
      export_dynamic_flag_spec_GCJ=
 
17769
      whole_archive_flag_spec_GCJ=
16787
17770
    fi
16788
17771
  else
16789
17772
    # PORTME fill in a description of your system's linker (not GNU ld)
16795
17778
      # Note: this linker hardcodes the directories in LIBPATH if there
16796
17779
      # are no directories specified by -L.
16797
17780
      hardcode_minus_L_GCJ=yes
16798
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
17781
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16799
17782
        # Neither direct hardcoding nor static linking is supported with a
16800
17783
        # broken collect2.
16801
17784
        hardcode_direct_GCJ=unsupported
16829
17812
            break
16830
17813
          fi
16831
17814
          done
 
17815
          ;;
16832
17816
        esac
16833
17817
 
16834
17818
        exp_sym_flag='-bexport'
16847
17831
      link_all_deplibs_GCJ=yes
16848
17832
 
16849
17833
      if test "$GCC" = yes; then
16850
 
        case $host_os in aix4.012|aix4.012.*)
 
17834
        case $host_os in aix4.[012]|aix4.[012].*)
16851
17835
        # We only want to do this on AIX 4.2 and lower, the check
16852
17836
        # below for broken collect2 doesn't work under 4.3+
16853
17837
          collect2name=`${CC} -print-prog-name=collect2`
16866
17850
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
16867
17851
          hardcode_libdir_separator_GCJ=
16868
17852
          fi
 
17853
          ;;
16869
17854
        esac
16870
17855
        shared_flag='-shared'
 
17856
        if test "$aix_use_runtimelinking" = yes; then
 
17857
          shared_flag="$shared_flag "'${wl}-G'
 
17858
        fi
16871
17859
      else
16872
17860
        # not using gcc
16873
17861
        if test "$host_cpu" = ia64; then
16875
17863
        # chokes on -Wl,-G. The following line is correct:
16876
17864
          shared_flag='-G'
16877
17865
        else
16878
 
        if test "$aix_use_runtimelinking" = yes; then
 
17866
          if test "$aix_use_runtimelinking" = yes; then
16879
17867
            shared_flag='${wl}-G'
16880
17868
          else
16881
17869
            shared_flag='${wl}-bM:SRE'
16882
 
        fi
 
17870
          fi
16883
17871
        fi
16884
17872
      fi
16885
17873
 
16907
17895
}
16908
17896
_ACEOF
16909
17897
rm -f conftest.$ac_objext conftest$ac_exeext
16910
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16911
 
  (eval $ac_link) 2>conftest.er1
 
17898
if { (ac_try="$ac_link"
 
17899
case "(($ac_try" in
 
17900
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17901
  *) ac_try_echo=$ac_try;;
 
17902
esac
 
17903
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17904
  (eval "$ac_link") 2>conftest.er1
16912
17905
  ac_status=$?
16913
17906
  grep -v '^ *+' conftest.er1 >conftest.err
16914
17907
  rm -f conftest.er1
16915
17908
  cat conftest.err >&5
16916
17909
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16917
 
  (exit $ac_status); } &&
16918
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16919
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16920
 
  (eval $ac_try) 2>&5
16921
 
  ac_status=$?
16922
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16923
 
  (exit $ac_status); }; } &&
16924
 
         { ac_try='test -s conftest$ac_exeext'
16925
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16926
 
  (eval $ac_try) 2>&5
16927
 
  ac_status=$?
16928
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16929
 
  (exit $ac_status); }; }; then
 
17910
  (exit $ac_status); } && {
 
17911
         test -z "$ac_c_werror_flag" ||
 
17912
         test ! -s conftest.err
 
17913
       } && test -s conftest$ac_exeext &&
 
17914
       $as_test_x conftest$ac_exeext; then
16930
17915
 
16931
17916
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16932
17917
}'`
16937
17922
  echo "$as_me: failed program was:" >&5
16938
17923
sed 's/^/| /' conftest.$ac_ext >&5
16939
17924
 
 
17925
 
16940
17926
fi
16941
 
rm -f conftest.err conftest.$ac_objext \
 
17927
 
 
17928
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16942
17929
      conftest$ac_exeext conftest.$ac_ext
16943
17930
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16944
17931
 
16945
17932
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16946
 
        archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
17933
        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"
16947
17934
       else
16948
17935
        if test "$host_cpu" = ia64; then
16949
17936
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
16950
17937
          allow_undefined_flag_GCJ="-z nodefs"
16951
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
17938
          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"
16952
17939
        else
16953
17940
         # Determine the default libpath from the value encoded in an empty executable.
16954
17941
         cat >conftest.$ac_ext <<_ACEOF
16967
17954
}
16968
17955
_ACEOF
16969
17956
rm -f conftest.$ac_objext conftest$ac_exeext
16970
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16971
 
  (eval $ac_link) 2>conftest.er1
 
17957
if { (ac_try="$ac_link"
 
17958
case "(($ac_try" in
 
17959
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17960
  *) ac_try_echo=$ac_try;;
 
17961
esac
 
17962
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17963
  (eval "$ac_link") 2>conftest.er1
16972
17964
  ac_status=$?
16973
17965
  grep -v '^ *+' conftest.er1 >conftest.err
16974
17966
  rm -f conftest.er1
16975
17967
  cat conftest.err >&5
16976
17968
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16977
 
  (exit $ac_status); } &&
16978
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16979
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16980
 
  (eval $ac_try) 2>&5
16981
 
  ac_status=$?
16982
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983
 
  (exit $ac_status); }; } &&
16984
 
         { ac_try='test -s conftest$ac_exeext'
16985
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16986
 
  (eval $ac_try) 2>&5
16987
 
  ac_status=$?
16988
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16989
 
  (exit $ac_status); }; }; then
 
17969
  (exit $ac_status); } && {
 
17970
         test -z "$ac_c_werror_flag" ||
 
17971
         test ! -s conftest.err
 
17972
       } && test -s conftest$ac_exeext &&
 
17973
       $as_test_x conftest$ac_exeext; then
16990
17974
 
16991
17975
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16992
17976
}'`
16997
17981
  echo "$as_me: failed program was:" >&5
16998
17982
sed 's/^/| /' conftest.$ac_ext >&5
16999
17983
 
 
17984
 
17000
17985
fi
17001
 
rm -f conftest.err conftest.$ac_objext \
 
17986
 
 
17987
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17002
17988
      conftest$ac_exeext conftest.$ac_ext
17003
17989
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17004
17990
 
17007
17993
          # -berok will link without error, but may produce a broken library.
17008
17994
          no_undefined_flag_GCJ=' ${wl}-bernotok'
17009
17995
          allow_undefined_flag_GCJ=' ${wl}-berok'
17010
 
          # -bexpall does not export symbols beginning with underscore (_)
17011
 
          always_export_symbols_GCJ=yes
17012
17996
          # Exported symbols can be pulled into shared objects from archives
17013
 
          whole_archive_flag_spec_GCJ=' '
 
17997
          whole_archive_flag_spec_GCJ='$convenience'
17014
17998
          archive_cmds_need_lc_GCJ=yes
17015
 
          # This is similar to how AIX traditionally builds it's shared libraries.
17016
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
17999
          # This is similar to how AIX traditionally builds its shared libraries.
 
18000
          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'
17017
18001
        fi
17018
18002
      fi
17019
18003
      ;;
17026
18010
      ld_shlibs_GCJ=no
17027
18011
      ;;
17028
18012
 
17029
 
    bsdi4*)
 
18013
    bsdi[45]*)
17030
18014
      export_dynamic_flag_spec_GCJ=-rdynamic
17031
18015
      ;;
17032
18016
 
17047
18031
      old_archive_From_new_cmds_GCJ='true'
17048
18032
      # FIXME: Should let the user specify the lib program.
17049
18033
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
17050
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
 
18034
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
17051
18035
      enable_shared_with_static_runtimes_GCJ=yes
17052
18036
      ;;
17053
18037
 
17054
18038
    darwin* | rhapsody*)
17055
 
    if test "$GXX" = yes ; then
 
18039
      case $host_os in
 
18040
        rhapsody* | darwin1.[012])
 
18041
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
 
18042
         ;;
 
18043
       *) # Darwin 1.3 on
 
18044
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
18045
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
18046
         else
 
18047
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
18048
             10.[012])
 
18049
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
18050
               ;;
 
18051
             10.*)
 
18052
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
 
18053
               ;;
 
18054
           esac
 
18055
         fi
 
18056
         ;;
 
18057
      esac
17056
18058
      archive_cmds_need_lc_GCJ=no
17057
 
      case "$host_os" in
17058
 
      rhapsody* | darwin1.[012])
17059
 
        allow_undefined_flag_GCJ='-undefined suppress'
17060
 
        ;;
17061
 
      *) # Darwin 1.3 on
17062
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17063
 
        allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
17064
 
      else
17065
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
17066
 
          10.[012])
17067
 
            allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
17068
 
            ;;
17069
 
          10.*)
17070
 
            allow_undefined_flag_GCJ='-undefined dynamic_lookup'
17071
 
            ;;
17072
 
        esac
17073
 
      fi
17074
 
        ;;
17075
 
      esac
17076
 
        lt_int_apple_cc_single_mod=no
17077
 
        output_verbose_link_cmd='echo'
17078
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
17079
 
          lt_int_apple_cc_single_mod=yes
17080
 
        fi
17081
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
17082
 
          archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17083
 
        else
17084
 
        archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17085
 
      fi
17086
 
      module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17087
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
17088
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
17089
 
          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17090
 
        else
17091
 
          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17092
 
        fi
17093
 
          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}'
17094
18059
      hardcode_direct_GCJ=no
17095
18060
      hardcode_automatic_GCJ=yes
17096
18061
      hardcode_shlibpath_var_GCJ=unsupported
17097
 
      whole_archive_flag_spec_GCJ='-all_load $convenience'
 
18062
      whole_archive_flag_spec_GCJ=''
17098
18063
      link_all_deplibs_GCJ=yes
 
18064
    if test "$GCC" = yes ; then
 
18065
        output_verbose_link_cmd='echo'
 
18066
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
18067
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
18068
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
18069
      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}'
 
18070
      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}'
17099
18071
    else
17100
 
      ld_shlibs_GCJ=no
 
18072
      case $cc_basename in
 
18073
        xlc*)
 
18074
         output_verbose_link_cmd='echo'
 
18075
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
18076
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
18077
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
18078
         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}'
 
18079
          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}'
 
18080
          ;;
 
18081
       *)
 
18082
         ld_shlibs_GCJ=no
 
18083
          ;;
 
18084
      esac
17101
18085
    fi
17102
18086
      ;;
17103
18087
 
17131
18115
      ;;
17132
18116
 
17133
18117
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17134
 
    freebsd* | kfreebsd*-gnu)
 
18118
    freebsd* | dragonfly*)
17135
18119
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17136
18120
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17137
18121
      hardcode_direct_GCJ=yes
17154
18138
      export_dynamic_flag_spec_GCJ='${wl}-E'
17155
18139
      ;;
17156
18140
 
17157
 
    hpux10* | hpux11*)
17158
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17159
 
        case "$host_cpu" in
17160
 
        hppa*64*|ia64*)
 
18141
    hpux10*)
 
18142
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
18143
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
18144
      else
 
18145
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
18146
      fi
 
18147
      if test "$with_gnu_ld" = no; then
 
18148
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
18149
        hardcode_libdir_separator_GCJ=:
 
18150
 
 
18151
        hardcode_direct_GCJ=yes
 
18152
        export_dynamic_flag_spec_GCJ='${wl}-E'
 
18153
 
 
18154
        # hardcode_minus_L: Not really in the search PATH,
 
18155
        # but as the default location of the library.
 
18156
        hardcode_minus_L_GCJ=yes
 
18157
      fi
 
18158
      ;;
 
18159
 
 
18160
    hpux11*)
 
18161
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
18162
        case $host_cpu in
 
18163
        hppa*64*)
17161
18164
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17162
18165
          ;;
 
18166
        ia64*)
 
18167
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
18168
          ;;
17163
18169
        *)
17164
18170
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17165
18171
          ;;
17166
18172
        esac
17167
18173
      else
17168
 
        case "$host_cpu" in
17169
 
        hppa*64*|ia64*)
17170
 
          archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
18174
        case $host_cpu in
 
18175
        hppa*64*)
 
18176
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18177
          ;;
 
18178
        ia64*)
 
18179
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17171
18180
          ;;
17172
18181
        *)
17173
 
          archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
18182
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17174
18183
          ;;
17175
18184
        esac
17176
18185
      fi
17177
18186
      if test "$with_gnu_ld" = no; then
17178
 
        case "$host_cpu" in
17179
 
        hppa*64*)
17180
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
18187
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
18188
        hardcode_libdir_separator_GCJ=:
 
18189
 
 
18190
        case $host_cpu in
 
18191
        hppa*64*|ia64*)
17181
18192
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
17182
 
          hardcode_libdir_separator_GCJ=:
17183
 
          hardcode_direct_GCJ=no
17184
 
          hardcode_shlibpath_var_GCJ=no
17185
 
          ;;
17186
 
        ia64*)
17187
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
17188
 
          hardcode_direct_GCJ=no
17189
 
          hardcode_shlibpath_var_GCJ=no
17190
 
 
17191
 
          # hardcode_minus_L: Not really in the search PATH,
17192
 
          # but as the default location of the library.
17193
 
          hardcode_minus_L_GCJ=yes
 
18193
          hardcode_direct_GCJ=no
 
18194
          hardcode_shlibpath_var_GCJ=no
17194
18195
          ;;
17195
18196
        *)
17196
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17197
 
          hardcode_libdir_separator_GCJ=:
17198
18197
          hardcode_direct_GCJ=yes
17199
18198
          export_dynamic_flag_spec_GCJ='${wl}-E'
17200
18199
 
17218
18217
      link_all_deplibs_GCJ=yes
17219
18218
      ;;
17220
18219
 
17221
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
18220
    netbsd* | netbsdelf*-gnu)
17222
18221
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17223
18222
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
17224
18223
      else
17242
18241
      hardcode_shlibpath_var_GCJ=no
17243
18242
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17244
18243
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
18244
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17245
18245
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17246
18246
        export_dynamic_flag_spec_GCJ='${wl}-E'
17247
18247
      else
17287
18287
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
17288
18288
        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'
17289
18289
        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~
17290
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
 
18290
        $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'
17291
18291
 
17292
18292
        # Both c and cxx compiler support -rpath directly
17293
18293
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
17295
18295
      hardcode_libdir_separator_GCJ=:
17296
18296
      ;;
17297
18297
 
17298
 
    sco3.2v5*)
17299
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17300
 
      hardcode_shlibpath_var_GCJ=no
17301
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
17302
 
      runpath_var=LD_RUN_PATH
17303
 
      hardcode_runpath_var=yes
17304
 
      ;;
17305
 
 
17306
18298
    solaris*)
17307
18299
      no_undefined_flag_GCJ=' -z text'
17308
18300
      if test "$GCC" = yes; then
 
18301
        wlarc='${wl}'
17309
18302
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17310
18303
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17311
18304
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17312
18305
      else
 
18306
        wlarc=''
17313
18307
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17314
18308
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17315
18309
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17318
18312
      hardcode_shlibpath_var_GCJ=no
17319
18313
      case $host_os in
17320
18314
      solaris2.[0-5] | solaris2.[0-5].*) ;;
17321
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
17322
 
        whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
 
18315
      *)
 
18316
        # The compiler driver will combine linker options so we
 
18317
        # cannot just pass the convience library names through
 
18318
        # without $wl, iff we do not link with $LD.
 
18319
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
18320
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
18321
        case $wlarc in
 
18322
        '')
 
18323
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
 
18324
        *)
 
18325
          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' ;;
 
18326
        esac ;;
17323
18327
      esac
17324
18328
      link_all_deplibs_GCJ=yes
17325
18329
      ;;
17376
18380
      fi
17377
18381
      ;;
17378
18382
 
17379
 
    sysv4.2uw2*)
17380
 
      archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17381
 
      hardcode_direct_GCJ=yes
17382
 
      hardcode_minus_L_GCJ=no
17383
 
      hardcode_shlibpath_var_GCJ=no
17384
 
      hardcode_runpath_var=yes
17385
 
      runpath_var=LD_RUN_PATH
17386
 
      ;;
17387
 
 
17388
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
17389
 
      no_undefined_flag_GCJ='${wl}-z ${wl}text'
17390
 
      if test "$GCC" = yes; then
17391
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17392
 
      else
17393
 
        archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17394
 
      fi
17395
 
      runpath_var='LD_RUN_PATH'
17396
 
      hardcode_shlibpath_var_GCJ=no
17397
 
      ;;
17398
 
 
17399
 
    sysv5*)
17400
 
      no_undefined_flag_GCJ=' -z text'
17401
 
      # $CC -shared without GNU ld will not create a library from C++
17402
 
      # object files and a static libstdc++, better avoid it by now
17403
 
      archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17404
 
      archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17405
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17406
 
      hardcode_libdir_flag_spec_GCJ=
17407
 
      hardcode_shlibpath_var_GCJ=no
17408
 
      runpath_var='LD_RUN_PATH'
 
18383
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
18384
      no_undefined_flag_GCJ='${wl}-z,text'
 
18385
      archive_cmds_need_lc_GCJ=no
 
18386
      hardcode_shlibpath_var_GCJ=no
 
18387
      runpath_var='LD_RUN_PATH'
 
18388
 
 
18389
      if test "$GCC" = yes; then
 
18390
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18391
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18392
      else
 
18393
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18394
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18395
      fi
 
18396
      ;;
 
18397
 
 
18398
    sysv5* | sco3.2v5* | sco5v6*)
 
18399
      # Note: We can NOT use -z defs as we might desire, because we do not
 
18400
      # link with -lc, and that would cause any symbols used from libc to
 
18401
      # always be unresolved, which means just about no library would
 
18402
      # ever link correctly.  If we're not using GNU ld we use -z text
 
18403
      # though, which does catch some bad symbols but isn't as heavy-handed
 
18404
      # as -z defs.
 
18405
      no_undefined_flag_GCJ='${wl}-z,text'
 
18406
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
 
18407
      archive_cmds_need_lc_GCJ=no
 
18408
      hardcode_shlibpath_var_GCJ=no
 
18409
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
18410
      hardcode_libdir_separator_GCJ=':'
 
18411
      link_all_deplibs_GCJ=yes
 
18412
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
 
18413
      runpath_var='LD_RUN_PATH'
 
18414
 
 
18415
      if test "$GCC" = yes; then
 
18416
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18417
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18418
      else
 
18419
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18420
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18421
      fi
17409
18422
      ;;
17410
18423
 
17411
18424
    uts4*)
17420
18433
    esac
17421
18434
  fi
17422
18435
 
17423
 
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17424
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
 
18436
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
18437
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17425
18438
test "$ld_shlibs_GCJ" = no && can_build_shared=no
17426
18439
 
17427
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17428
 
if test "$GCC" = yes; then
17429
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17430
 
fi
17431
 
 
17432
18440
#
17433
18441
# Do we need to explicitly link libc?
17434
18442
#
17446
18454
      # Test whether the compiler implicitly links with -lc since on some
17447
18455
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
17448
18456
      # to ld, don't add -lc before -lgcc.
17449
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17450
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
18457
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
18458
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17451
18459
      $rm conftest*
17452
18460
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17453
18461
 
17461
18469
        libobjs=conftest.$ac_objext
17462
18470
        deplibs=
17463
18471
        wl=$lt_prog_compiler_wl_GCJ
 
18472
        pic_flag=$lt_prog_compiler_pic_GCJ
17464
18473
        compiler_flags=-v
17465
18474
        linker_flags=-v
17466
18475
        verstring=
17483
18492
        cat conftest.err 1>&5
17484
18493
      fi
17485
18494
      $rm conftest*
17486
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17487
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
 
18495
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
18496
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17488
18497
      ;;
17489
18498
    esac
17490
18499
  fi
17491
18500
  ;;
17492
18501
esac
17493
18502
 
17494
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17495
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
18503
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
18504
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17496
18505
library_names_spec=
17497
18506
libname_spec='lib$name'
17498
18507
soname_spec=
17593
18602
  shlibpath_var=LIBRARY_PATH
17594
18603
  ;;
17595
18604
 
17596
 
bsdi4*)
 
18605
bsdi[45]*)
17597
18606
  version_type=linux
17598
18607
  need_version=no
17599
18608
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17621
18630
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17622
18631
      dldir=$destdir/`dirname \$dlpath`~
17623
18632
      test -d \$dldir || mkdir -p \$dldir~
17624
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
18633
      $install_prog $dir/$dlname \$dldir/$dlname~
 
18634
      chmod a+x \$dldir/$dlname'
17625
18635
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17626
18636
      dlpath=$dir/\$dldll~
17627
18637
       $rm \$dlpath'
17651
18661
      ;;
17652
18662
    pw32*)
17653
18663
      # pw32 DLLs use 'pw' prefix rather than 'lib'
17654
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
18664
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17655
18665
      ;;
17656
18666
    esac
17657
18667
    ;;
17674
18684
  soname_spec='${libname}${release}${major}$shared_ext'
17675
18685
  shlibpath_overrides_runpath=yes
17676
18686
  shlibpath_var=DYLD_LIBRARY_PATH
17677
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
 
18687
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17678
18688
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17679
18689
  if test "$GCC" = yes; then
17680
18690
    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"`
17697
18707
  dynamic_linker=no
17698
18708
  ;;
17699
18709
 
17700
 
kfreebsd*-gnu)
17701
 
  version_type=linux
17702
 
  need_lib_prefix=no
17703
 
  need_version=no
17704
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17705
 
  soname_spec='${libname}${release}${shared_ext}$major'
17706
 
  shlibpath_var=LD_LIBRARY_PATH
17707
 
  shlibpath_overrides_runpath=no
17708
 
  hardcode_into_libs=yes
17709
 
  dynamic_linker='GNU ld.so'
17710
 
  ;;
17711
 
 
17712
 
freebsd*)
17713
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
18710
freebsd* | dragonfly*)
 
18711
  # DragonFly does not have aout.  When/if they implement a new
 
18712
  # versioning mechanism, adjust this.
 
18713
  if test -x /usr/bin/objformat; then
 
18714
    objformat=`/usr/bin/objformat`
 
18715
  else
 
18716
    case $host_os in
 
18717
    freebsd[123]*) objformat=aout ;;
 
18718
    *) objformat=elf ;;
 
18719
    esac
 
18720
  fi
17714
18721
  version_type=freebsd-$objformat
17715
18722
  case $version_type in
17716
18723
    freebsd-elf*)
17728
18735
  freebsd2*)
17729
18736
    shlibpath_overrides_runpath=yes
17730
18737
    ;;
17731
 
  freebsd3.01* | freebsdelf3.01*)
 
18738
  freebsd3.[01]* | freebsdelf3.[01]*)
17732
18739
    shlibpath_overrides_runpath=yes
17733
18740
    hardcode_into_libs=yes
17734
18741
    ;;
17735
 
  *) # from 3.2 on
 
18742
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
18743
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17736
18744
    shlibpath_overrides_runpath=no
17737
18745
    hardcode_into_libs=yes
17738
18746
    ;;
 
18747
  freebsd*) # from 4.6 on
 
18748
    shlibpath_overrides_runpath=yes
 
18749
    hardcode_into_libs=yes
 
18750
    ;;
17739
18751
  esac
17740
18752
  ;;
17741
18753
 
17755
18767
  version_type=sunos
17756
18768
  need_lib_prefix=no
17757
18769
  need_version=no
17758
 
  case "$host_cpu" in
 
18770
  case $host_cpu in
17759
18771
  ia64*)
17760
18772
    shrext_cmds='.so'
17761
18773
    hardcode_into_libs=yes
17795
18807
  postinstall_cmds='chmod 555 $lib'
17796
18808
  ;;
17797
18809
 
 
18810
interix3*)
 
18811
  version_type=linux
 
18812
  need_lib_prefix=no
 
18813
  need_version=no
 
18814
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
18815
  soname_spec='${libname}${release}${shared_ext}$major'
 
18816
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
18817
  shlibpath_var=LD_LIBRARY_PATH
 
18818
  shlibpath_overrides_runpath=no
 
18819
  hardcode_into_libs=yes
 
18820
  ;;
 
18821
 
17798
18822
irix5* | irix6* | nonstopux*)
17799
18823
  case $host_os in
17800
18824
    nonstopux*) version_type=nonstopux ;;
17838
18862
  ;;
17839
18863
 
17840
18864
# This must be Linux ELF.
17841
 
linux*)
 
18865
linux* | k*bsd*-gnu)
17842
18866
  version_type=linux
17843
18867
  need_lib_prefix=no
17844
18868
  need_version=no
17854
18878
 
17855
18879
  # Append ld.so.conf contents to the search path
17856
18880
  if test -f /etc/ld.so.conf; then
17857
 
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
 
18881
    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' ' '`
17858
18882
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17859
18883
  fi
17860
18884
 
17879
18903
  dynamic_linker='NetBSD ld.elf_so'
17880
18904
  ;;
17881
18905
 
17882
 
knetbsd*-gnu)
17883
 
  version_type=linux
17884
 
  need_lib_prefix=no
17885
 
  need_version=no
17886
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17887
 
  soname_spec='${libname}${release}${shared_ext}$major'
17888
 
  shlibpath_var=LD_LIBRARY_PATH
17889
 
  shlibpath_overrides_runpath=no
17890
 
  hardcode_into_libs=yes
17891
 
  dynamic_linker='GNU ld.so'
17892
 
  ;;
17893
 
 
17894
18906
netbsd*)
17895
18907
  version_type=sunos
17896
18908
  need_lib_prefix=no
17928
18940
 
17929
18941
openbsd*)
17930
18942
  version_type=sunos
 
18943
  sys_lib_dlsearch_path_spec="/usr/lib"
17931
18944
  need_lib_prefix=no
17932
 
  need_version=yes
 
18945
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
18946
  case $host_os in
 
18947
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
18948
    *)                         need_version=no  ;;
 
18949
  esac
17933
18950
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17934
18951
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17935
18952
  shlibpath_var=LD_LIBRARY_PATH
17967
18984
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17968
18985
  ;;
17969
18986
 
17970
 
sco3.2v5*)
17971
 
  version_type=osf
17972
 
  soname_spec='${libname}${release}${shared_ext}$major'
17973
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17974
 
  shlibpath_var=LD_LIBRARY_PATH
17975
 
  ;;
17976
 
 
17977
18987
solaris*)
17978
18988
  version_type=linux
17979
18989
  need_lib_prefix=no
17999
19009
  need_version=yes
18000
19010
  ;;
18001
19011
 
18002
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
19012
sysv4 | sysv4.3*)
18003
19013
  version_type=linux
18004
19014
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18005
19015
  soname_spec='${libname}${release}${shared_ext}$major'
18032
19042
  fi
18033
19043
  ;;
18034
19044
 
 
19045
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
19046
  version_type=freebsd-elf
 
19047
  need_lib_prefix=no
 
19048
  need_version=no
 
19049
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
19050
  soname_spec='${libname}${release}${shared_ext}$major'
 
19051
  shlibpath_var=LD_LIBRARY_PATH
 
19052
  hardcode_into_libs=yes
 
19053
  if test "$with_gnu_ld" = yes; then
 
19054
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
19055
    shlibpath_overrides_runpath=no
 
19056
  else
 
19057
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
19058
    shlibpath_overrides_runpath=yes
 
19059
    case $host_os in
 
19060
      sco3.2v5*)
 
19061
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
19062
        ;;
 
19063
    esac
 
19064
  fi
 
19065
  sys_lib_dlsearch_path_spec='/usr/lib'
 
19066
  ;;
 
19067
 
18035
19068
uts4*)
18036
19069
  version_type=linux
18037
19070
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18043
19076
  dynamic_linker=no
18044
19077
  ;;
18045
19078
esac
18046
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18047
 
echo "${ECHO_T}$dynamic_linker" >&6
 
19079
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
19080
echo "${ECHO_T}$dynamic_linker" >&6; }
18048
19081
test "$dynamic_linker" = no && can_build_shared=no
18049
19082
 
18050
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18051
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
19083
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
19084
if test "$GCC" = yes; then
 
19085
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
19086
fi
 
19087
 
 
19088
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
19089
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18052
19090
hardcode_action_GCJ=
18053
19091
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18054
 
   test -n "$runpath_var GCJ" || \
18055
 
   test "X$hardcode_automatic_GCJ"="Xyes" ; then
 
19092
   test -n "$runpath_var_GCJ" || \
 
19093
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18056
19094
 
18057
19095
  # We can hardcode non-existant directories.
18058
19096
  if test "$hardcode_direct_GCJ" != no &&
18072
19110
  # directories.
18073
19111
  hardcode_action_GCJ=unsupported
18074
19112
fi
18075
 
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18076
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6
 
19113
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
19114
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18077
19115
 
18078
19116
if test "$hardcode_action_GCJ" = relink; then
18079
19117
  # Fast installation is not supported
18084
19122
  enable_fast_install=needless
18085
19123
fi
18086
19124
 
18087
 
striplib=
18088
 
old_striplib=
18089
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
18090
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
18091
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
18092
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
18093
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
18094
 
  echo "$as_me:$LINENO: result: yes" >&5
18095
 
echo "${ECHO_T}yes" >&6
18096
 
else
18097
 
# FIXME - insert some real tests, host_os isn't really good enough
18098
 
  case $host_os in
18099
 
   darwin*)
18100
 
       if test -n "$STRIP" ; then
18101
 
         striplib="$STRIP -x"
18102
 
         echo "$as_me:$LINENO: result: yes" >&5
18103
 
echo "${ECHO_T}yes" >&6
18104
 
       else
18105
 
  echo "$as_me:$LINENO: result: no" >&5
18106
 
echo "${ECHO_T}no" >&6
18107
 
fi
18108
 
       ;;
18109
 
   *)
18110
 
  echo "$as_me:$LINENO: result: no" >&5
18111
 
echo "${ECHO_T}no" >&6
18112
 
    ;;
18113
 
  esac
18114
 
fi
18115
 
 
18116
 
if test "x$enable_dlopen" != xyes; then
18117
 
  enable_dlopen=unknown
18118
 
  enable_dlopen_self=unknown
18119
 
  enable_dlopen_self_static=unknown
18120
 
else
18121
 
  lt_cv_dlopen=no
18122
 
  lt_cv_dlopen_libs=
18123
 
 
18124
 
  case $host_os in
18125
 
  beos*)
18126
 
    lt_cv_dlopen="load_add_on"
18127
 
    lt_cv_dlopen_libs=
18128
 
    lt_cv_dlopen_self=yes
18129
 
    ;;
18130
 
 
18131
 
  mingw* | pw32*)
18132
 
    lt_cv_dlopen="LoadLibrary"
18133
 
    lt_cv_dlopen_libs=
18134
 
   ;;
18135
 
 
18136
 
  cygwin*)
18137
 
    lt_cv_dlopen="dlopen"
18138
 
    lt_cv_dlopen_libs=
18139
 
   ;;
18140
 
 
18141
 
  darwin*)
18142
 
  # if libdl is installed we need to link against it
18143
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18144
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
18145
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18146
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18147
 
else
18148
 
  ac_check_lib_save_LIBS=$LIBS
18149
 
LIBS="-ldl  $LIBS"
18150
 
cat >conftest.$ac_ext <<_ACEOF
18151
 
/* confdefs.h.  */
18152
 
_ACEOF
18153
 
cat confdefs.h >>conftest.$ac_ext
18154
 
cat >>conftest.$ac_ext <<_ACEOF
18155
 
/* end confdefs.h.  */
18156
 
 
18157
 
/* Override any gcc2 internal prototype to avoid an error.  */
18158
 
#ifdef __cplusplus
18159
 
extern "C"
18160
 
#endif
18161
 
/* We use char because int might match the return type of a gcc2
18162
 
   builtin and then its argument prototype would still apply.  */
18163
 
char dlopen ();
18164
 
int
18165
 
main ()
18166
 
{
18167
 
dlopen ();
18168
 
  ;
18169
 
  return 0;
18170
 
}
18171
 
_ACEOF
18172
 
rm -f conftest.$ac_objext conftest$ac_exeext
18173
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18174
 
  (eval $ac_link) 2>conftest.er1
18175
 
  ac_status=$?
18176
 
  grep -v '^ *+' conftest.er1 >conftest.err
18177
 
  rm -f conftest.er1
18178
 
  cat conftest.err >&5
18179
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18180
 
  (exit $ac_status); } &&
18181
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18182
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18183
 
  (eval $ac_try) 2>&5
18184
 
  ac_status=$?
18185
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18186
 
  (exit $ac_status); }; } &&
18187
 
         { ac_try='test -s conftest$ac_exeext'
18188
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18189
 
  (eval $ac_try) 2>&5
18190
 
  ac_status=$?
18191
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18192
 
  (exit $ac_status); }; }; then
18193
 
  ac_cv_lib_dl_dlopen=yes
18194
 
else
18195
 
  echo "$as_me: failed program was:" >&5
18196
 
sed 's/^/| /' conftest.$ac_ext >&5
18197
 
 
18198
 
ac_cv_lib_dl_dlopen=no
18199
 
fi
18200
 
rm -f conftest.err conftest.$ac_objext \
18201
 
      conftest$ac_exeext conftest.$ac_ext
18202
 
LIBS=$ac_check_lib_save_LIBS
18203
 
fi
18204
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18205
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18206
 
if test $ac_cv_lib_dl_dlopen = yes; then
18207
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18208
 
else
18209
 
 
18210
 
    lt_cv_dlopen="dyld"
18211
 
    lt_cv_dlopen_libs=
18212
 
    lt_cv_dlopen_self=yes
18213
 
 
18214
 
fi
18215
 
 
18216
 
   ;;
18217
 
 
18218
 
  *)
18219
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
18220
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
18221
 
if test "${ac_cv_func_shl_load+set}" = set; then
18222
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18223
 
else
18224
 
  cat >conftest.$ac_ext <<_ACEOF
18225
 
/* confdefs.h.  */
18226
 
_ACEOF
18227
 
cat confdefs.h >>conftest.$ac_ext
18228
 
cat >>conftest.$ac_ext <<_ACEOF
18229
 
/* end confdefs.h.  */
18230
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
18231
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18232
 
#define shl_load innocuous_shl_load
18233
 
 
18234
 
/* System header to define __stub macros and hopefully few prototypes,
18235
 
    which can conflict with char shl_load (); below.
18236
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18237
 
    <limits.h> exists even on freestanding compilers.  */
18238
 
 
18239
 
#ifdef __STDC__
18240
 
# include <limits.h>
18241
 
#else
18242
 
# include <assert.h>
18243
 
#endif
18244
 
 
18245
 
#undef shl_load
18246
 
 
18247
 
/* Override any gcc2 internal prototype to avoid an error.  */
18248
 
#ifdef __cplusplus
18249
 
extern "C"
18250
 
{
18251
 
#endif
18252
 
/* We use char because int might match the return type of a gcc2
18253
 
   builtin and then its argument prototype would still apply.  */
18254
 
char shl_load ();
18255
 
/* The GNU C library defines this for functions which it implements
18256
 
    to always fail with ENOSYS.  Some functions are actually named
18257
 
    something starting with __ and the normal name is an alias.  */
18258
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
18259
 
choke me
18260
 
#else
18261
 
char (*f) () = shl_load;
18262
 
#endif
18263
 
#ifdef __cplusplus
18264
 
}
18265
 
#endif
18266
 
 
18267
 
int
18268
 
main ()
18269
 
{
18270
 
return f != shl_load;
18271
 
  ;
18272
 
  return 0;
18273
 
}
18274
 
_ACEOF
18275
 
rm -f conftest.$ac_objext conftest$ac_exeext
18276
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18277
 
  (eval $ac_link) 2>conftest.er1
18278
 
  ac_status=$?
18279
 
  grep -v '^ *+' conftest.er1 >conftest.err
18280
 
  rm -f conftest.er1
18281
 
  cat conftest.err >&5
18282
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283
 
  (exit $ac_status); } &&
18284
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18285
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18286
 
  (eval $ac_try) 2>&5
18287
 
  ac_status=$?
18288
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18289
 
  (exit $ac_status); }; } &&
18290
 
         { ac_try='test -s conftest$ac_exeext'
18291
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18292
 
  (eval $ac_try) 2>&5
18293
 
  ac_status=$?
18294
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18295
 
  (exit $ac_status); }; }; then
18296
 
  ac_cv_func_shl_load=yes
18297
 
else
18298
 
  echo "$as_me: failed program was:" >&5
18299
 
sed 's/^/| /' conftest.$ac_ext >&5
18300
 
 
18301
 
ac_cv_func_shl_load=no
18302
 
fi
18303
 
rm -f conftest.err conftest.$ac_objext \
18304
 
      conftest$ac_exeext conftest.$ac_ext
18305
 
fi
18306
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
18307
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
18308
 
if test $ac_cv_func_shl_load = yes; then
18309
 
  lt_cv_dlopen="shl_load"
18310
 
else
18311
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
18312
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
18313
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
18314
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18315
 
else
18316
 
  ac_check_lib_save_LIBS=$LIBS
18317
 
LIBS="-ldld  $LIBS"
18318
 
cat >conftest.$ac_ext <<_ACEOF
18319
 
/* confdefs.h.  */
18320
 
_ACEOF
18321
 
cat confdefs.h >>conftest.$ac_ext
18322
 
cat >>conftest.$ac_ext <<_ACEOF
18323
 
/* end confdefs.h.  */
18324
 
 
18325
 
/* Override any gcc2 internal prototype to avoid an error.  */
18326
 
#ifdef __cplusplus
18327
 
extern "C"
18328
 
#endif
18329
 
/* We use char because int might match the return type of a gcc2
18330
 
   builtin and then its argument prototype would still apply.  */
18331
 
char shl_load ();
18332
 
int
18333
 
main ()
18334
 
{
18335
 
shl_load ();
18336
 
  ;
18337
 
  return 0;
18338
 
}
18339
 
_ACEOF
18340
 
rm -f conftest.$ac_objext conftest$ac_exeext
18341
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18342
 
  (eval $ac_link) 2>conftest.er1
18343
 
  ac_status=$?
18344
 
  grep -v '^ *+' conftest.er1 >conftest.err
18345
 
  rm -f conftest.er1
18346
 
  cat conftest.err >&5
18347
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18348
 
  (exit $ac_status); } &&
18349
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18350
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18351
 
  (eval $ac_try) 2>&5
18352
 
  ac_status=$?
18353
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354
 
  (exit $ac_status); }; } &&
18355
 
         { ac_try='test -s conftest$ac_exeext'
18356
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18357
 
  (eval $ac_try) 2>&5
18358
 
  ac_status=$?
18359
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18360
 
  (exit $ac_status); }; }; then
18361
 
  ac_cv_lib_dld_shl_load=yes
18362
 
else
18363
 
  echo "$as_me: failed program was:" >&5
18364
 
sed 's/^/| /' conftest.$ac_ext >&5
18365
 
 
18366
 
ac_cv_lib_dld_shl_load=no
18367
 
fi
18368
 
rm -f conftest.err conftest.$ac_objext \
18369
 
      conftest$ac_exeext conftest.$ac_ext
18370
 
LIBS=$ac_check_lib_save_LIBS
18371
 
fi
18372
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
18373
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
18374
 
if test $ac_cv_lib_dld_shl_load = yes; then
18375
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
18376
 
else
18377
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
18378
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
18379
 
if test "${ac_cv_func_dlopen+set}" = set; then
18380
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18381
 
else
18382
 
  cat >conftest.$ac_ext <<_ACEOF
18383
 
/* confdefs.h.  */
18384
 
_ACEOF
18385
 
cat confdefs.h >>conftest.$ac_ext
18386
 
cat >>conftest.$ac_ext <<_ACEOF
18387
 
/* end confdefs.h.  */
18388
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
18389
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18390
 
#define dlopen innocuous_dlopen
18391
 
 
18392
 
/* System header to define __stub macros and hopefully few prototypes,
18393
 
    which can conflict with char dlopen (); below.
18394
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18395
 
    <limits.h> exists even on freestanding compilers.  */
18396
 
 
18397
 
#ifdef __STDC__
18398
 
# include <limits.h>
18399
 
#else
18400
 
# include <assert.h>
18401
 
#endif
18402
 
 
18403
 
#undef dlopen
18404
 
 
18405
 
/* Override any gcc2 internal prototype to avoid an error.  */
18406
 
#ifdef __cplusplus
18407
 
extern "C"
18408
 
{
18409
 
#endif
18410
 
/* We use char because int might match the return type of a gcc2
18411
 
   builtin and then its argument prototype would still apply.  */
18412
 
char dlopen ();
18413
 
/* The GNU C library defines this for functions which it implements
18414
 
    to always fail with ENOSYS.  Some functions are actually named
18415
 
    something starting with __ and the normal name is an alias.  */
18416
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
18417
 
choke me
18418
 
#else
18419
 
char (*f) () = dlopen;
18420
 
#endif
18421
 
#ifdef __cplusplus
18422
 
}
18423
 
#endif
18424
 
 
18425
 
int
18426
 
main ()
18427
 
{
18428
 
return f != dlopen;
18429
 
  ;
18430
 
  return 0;
18431
 
}
18432
 
_ACEOF
18433
 
rm -f conftest.$ac_objext conftest$ac_exeext
18434
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18435
 
  (eval $ac_link) 2>conftest.er1
18436
 
  ac_status=$?
18437
 
  grep -v '^ *+' conftest.er1 >conftest.err
18438
 
  rm -f conftest.er1
18439
 
  cat conftest.err >&5
18440
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18441
 
  (exit $ac_status); } &&
18442
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18443
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18444
 
  (eval $ac_try) 2>&5
18445
 
  ac_status=$?
18446
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18447
 
  (exit $ac_status); }; } &&
18448
 
         { ac_try='test -s conftest$ac_exeext'
18449
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18450
 
  (eval $ac_try) 2>&5
18451
 
  ac_status=$?
18452
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18453
 
  (exit $ac_status); }; }; then
18454
 
  ac_cv_func_dlopen=yes
18455
 
else
18456
 
  echo "$as_me: failed program was:" >&5
18457
 
sed 's/^/| /' conftest.$ac_ext >&5
18458
 
 
18459
 
ac_cv_func_dlopen=no
18460
 
fi
18461
 
rm -f conftest.err conftest.$ac_objext \
18462
 
      conftest$ac_exeext conftest.$ac_ext
18463
 
fi
18464
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
18465
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
18466
 
if test $ac_cv_func_dlopen = yes; then
18467
 
  lt_cv_dlopen="dlopen"
18468
 
else
18469
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18470
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
18471
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18472
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18473
 
else
18474
 
  ac_check_lib_save_LIBS=$LIBS
18475
 
LIBS="-ldl  $LIBS"
18476
 
cat >conftest.$ac_ext <<_ACEOF
18477
 
/* confdefs.h.  */
18478
 
_ACEOF
18479
 
cat confdefs.h >>conftest.$ac_ext
18480
 
cat >>conftest.$ac_ext <<_ACEOF
18481
 
/* end confdefs.h.  */
18482
 
 
18483
 
/* Override any gcc2 internal prototype to avoid an error.  */
18484
 
#ifdef __cplusplus
18485
 
extern "C"
18486
 
#endif
18487
 
/* We use char because int might match the return type of a gcc2
18488
 
   builtin and then its argument prototype would still apply.  */
18489
 
char dlopen ();
18490
 
int
18491
 
main ()
18492
 
{
18493
 
dlopen ();
18494
 
  ;
18495
 
  return 0;
18496
 
}
18497
 
_ACEOF
18498
 
rm -f conftest.$ac_objext conftest$ac_exeext
18499
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18500
 
  (eval $ac_link) 2>conftest.er1
18501
 
  ac_status=$?
18502
 
  grep -v '^ *+' conftest.er1 >conftest.err
18503
 
  rm -f conftest.er1
18504
 
  cat conftest.err >&5
18505
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18506
 
  (exit $ac_status); } &&
18507
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18508
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18509
 
  (eval $ac_try) 2>&5
18510
 
  ac_status=$?
18511
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18512
 
  (exit $ac_status); }; } &&
18513
 
         { ac_try='test -s conftest$ac_exeext'
18514
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18515
 
  (eval $ac_try) 2>&5
18516
 
  ac_status=$?
18517
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18518
 
  (exit $ac_status); }; }; then
18519
 
  ac_cv_lib_dl_dlopen=yes
18520
 
else
18521
 
  echo "$as_me: failed program was:" >&5
18522
 
sed 's/^/| /' conftest.$ac_ext >&5
18523
 
 
18524
 
ac_cv_lib_dl_dlopen=no
18525
 
fi
18526
 
rm -f conftest.err conftest.$ac_objext \
18527
 
      conftest$ac_exeext conftest.$ac_ext
18528
 
LIBS=$ac_check_lib_save_LIBS
18529
 
fi
18530
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18531
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18532
 
if test $ac_cv_lib_dl_dlopen = yes; then
18533
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18534
 
else
18535
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
18536
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
18537
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
18538
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18539
 
else
18540
 
  ac_check_lib_save_LIBS=$LIBS
18541
 
LIBS="-lsvld  $LIBS"
18542
 
cat >conftest.$ac_ext <<_ACEOF
18543
 
/* confdefs.h.  */
18544
 
_ACEOF
18545
 
cat confdefs.h >>conftest.$ac_ext
18546
 
cat >>conftest.$ac_ext <<_ACEOF
18547
 
/* end confdefs.h.  */
18548
 
 
18549
 
/* Override any gcc2 internal prototype to avoid an error.  */
18550
 
#ifdef __cplusplus
18551
 
extern "C"
18552
 
#endif
18553
 
/* We use char because int might match the return type of a gcc2
18554
 
   builtin and then its argument prototype would still apply.  */
18555
 
char dlopen ();
18556
 
int
18557
 
main ()
18558
 
{
18559
 
dlopen ();
18560
 
  ;
18561
 
  return 0;
18562
 
}
18563
 
_ACEOF
18564
 
rm -f conftest.$ac_objext conftest$ac_exeext
18565
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18566
 
  (eval $ac_link) 2>conftest.er1
18567
 
  ac_status=$?
18568
 
  grep -v '^ *+' conftest.er1 >conftest.err
18569
 
  rm -f conftest.er1
18570
 
  cat conftest.err >&5
18571
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18572
 
  (exit $ac_status); } &&
18573
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18574
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18575
 
  (eval $ac_try) 2>&5
18576
 
  ac_status=$?
18577
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18578
 
  (exit $ac_status); }; } &&
18579
 
         { ac_try='test -s conftest$ac_exeext'
18580
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18581
 
  (eval $ac_try) 2>&5
18582
 
  ac_status=$?
18583
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18584
 
  (exit $ac_status); }; }; then
18585
 
  ac_cv_lib_svld_dlopen=yes
18586
 
else
18587
 
  echo "$as_me: failed program was:" >&5
18588
 
sed 's/^/| /' conftest.$ac_ext >&5
18589
 
 
18590
 
ac_cv_lib_svld_dlopen=no
18591
 
fi
18592
 
rm -f conftest.err conftest.$ac_objext \
18593
 
      conftest$ac_exeext conftest.$ac_ext
18594
 
LIBS=$ac_check_lib_save_LIBS
18595
 
fi
18596
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
18597
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
18598
 
if test $ac_cv_lib_svld_dlopen = yes; then
18599
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
18600
 
else
18601
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
18602
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
18603
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
18604
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18605
 
else
18606
 
  ac_check_lib_save_LIBS=$LIBS
18607
 
LIBS="-ldld  $LIBS"
18608
 
cat >conftest.$ac_ext <<_ACEOF
18609
 
/* confdefs.h.  */
18610
 
_ACEOF
18611
 
cat confdefs.h >>conftest.$ac_ext
18612
 
cat >>conftest.$ac_ext <<_ACEOF
18613
 
/* end confdefs.h.  */
18614
 
 
18615
 
/* Override any gcc2 internal prototype to avoid an error.  */
18616
 
#ifdef __cplusplus
18617
 
extern "C"
18618
 
#endif
18619
 
/* We use char because int might match the return type of a gcc2
18620
 
   builtin and then its argument prototype would still apply.  */
18621
 
char dld_link ();
18622
 
int
18623
 
main ()
18624
 
{
18625
 
dld_link ();
18626
 
  ;
18627
 
  return 0;
18628
 
}
18629
 
_ACEOF
18630
 
rm -f conftest.$ac_objext conftest$ac_exeext
18631
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18632
 
  (eval $ac_link) 2>conftest.er1
18633
 
  ac_status=$?
18634
 
  grep -v '^ *+' conftest.er1 >conftest.err
18635
 
  rm -f conftest.er1
18636
 
  cat conftest.err >&5
18637
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18638
 
  (exit $ac_status); } &&
18639
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18640
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18641
 
  (eval $ac_try) 2>&5
18642
 
  ac_status=$?
18643
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18644
 
  (exit $ac_status); }; } &&
18645
 
         { ac_try='test -s conftest$ac_exeext'
18646
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18647
 
  (eval $ac_try) 2>&5
18648
 
  ac_status=$?
18649
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650
 
  (exit $ac_status); }; }; then
18651
 
  ac_cv_lib_dld_dld_link=yes
18652
 
else
18653
 
  echo "$as_me: failed program was:" >&5
18654
 
sed 's/^/| /' conftest.$ac_ext >&5
18655
 
 
18656
 
ac_cv_lib_dld_dld_link=no
18657
 
fi
18658
 
rm -f conftest.err conftest.$ac_objext \
18659
 
      conftest$ac_exeext conftest.$ac_ext
18660
 
LIBS=$ac_check_lib_save_LIBS
18661
 
fi
18662
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18663
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
18664
 
if test $ac_cv_lib_dld_dld_link = yes; then
18665
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
18666
 
fi
18667
 
 
18668
 
 
18669
 
fi
18670
 
 
18671
 
 
18672
 
fi
18673
 
 
18674
 
 
18675
 
fi
18676
 
 
18677
 
 
18678
 
fi
18679
 
 
18680
 
 
18681
 
fi
18682
 
 
18683
 
    ;;
18684
 
  esac
18685
 
 
18686
 
  if test "x$lt_cv_dlopen" != xno; then
18687
 
    enable_dlopen=yes
18688
 
  else
18689
 
    enable_dlopen=no
18690
 
  fi
18691
 
 
18692
 
  case $lt_cv_dlopen in
18693
 
  dlopen)
18694
 
    save_CPPFLAGS="$CPPFLAGS"
18695
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
18696
 
 
18697
 
    save_LDFLAGS="$LDFLAGS"
18698
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
18699
 
 
18700
 
    save_LIBS="$LIBS"
18701
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
18702
 
 
18703
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18704
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
18705
 
if test "${lt_cv_dlopen_self+set}" = set; then
18706
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18707
 
else
18708
 
          if test "$cross_compiling" = yes; then :
18709
 
  lt_cv_dlopen_self=cross
18710
 
else
18711
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18712
 
  lt_status=$lt_dlunknown
18713
 
  cat > conftest.$ac_ext <<EOF
18714
 
#line 18714 "configure"
18715
 
#include "confdefs.h"
18716
 
 
18717
 
#if HAVE_DLFCN_H
18718
 
#include <dlfcn.h>
18719
 
#endif
18720
 
 
18721
 
#include <stdio.h>
18722
 
 
18723
 
#ifdef RTLD_GLOBAL
18724
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
18725
 
#else
18726
 
#  ifdef DL_GLOBAL
18727
 
#    define LT_DLGLOBAL         DL_GLOBAL
18728
 
#  else
18729
 
#    define LT_DLGLOBAL         0
18730
 
#  endif
18731
 
#endif
18732
 
 
18733
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18734
 
   find out it does not work in some platform. */
18735
 
#ifndef LT_DLLAZY_OR_NOW
18736
 
#  ifdef RTLD_LAZY
18737
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
18738
 
#  else
18739
 
#    ifdef DL_LAZY
18740
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
18741
 
#    else
18742
 
#      ifdef RTLD_NOW
18743
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
18744
 
#      else
18745
 
#        ifdef DL_NOW
18746
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
18747
 
#        else
18748
 
#          define LT_DLLAZY_OR_NOW      0
18749
 
#        endif
18750
 
#      endif
18751
 
#    endif
18752
 
#  endif
18753
 
#endif
18754
 
 
18755
 
#ifdef __cplusplus
18756
 
extern "C" void exit (int);
18757
 
#endif
18758
 
 
18759
 
void fnord() { int i=42;}
18760
 
int main ()
18761
 
{
18762
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18763
 
  int status = $lt_dlunknown;
18764
 
 
18765
 
  if (self)
18766
 
    {
18767
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
18768
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18769
 
      /* dlclose (self); */
18770
 
    }
18771
 
 
18772
 
    exit (status);
18773
 
}
18774
 
EOF
18775
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18776
 
  (eval $ac_link) 2>&5
18777
 
  ac_status=$?
18778
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18779
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18780
 
    (./conftest; exit; ) 2>/dev/null
18781
 
    lt_status=$?
18782
 
    case x$lt_status in
18783
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
18784
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
18785
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
18786
 
    esac
18787
 
  else :
18788
 
    # compilation failed
18789
 
    lt_cv_dlopen_self=no
18790
 
  fi
18791
 
fi
18792
 
rm -fr conftest*
18793
 
 
18794
 
 
18795
 
fi
18796
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18797
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
18798
 
 
18799
 
    if test "x$lt_cv_dlopen_self" = xyes; then
18800
 
      LDFLAGS="$LDFLAGS $link_static_flag"
18801
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18802
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
18803
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
18804
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18805
 
else
18806
 
          if test "$cross_compiling" = yes; then :
18807
 
  lt_cv_dlopen_self_static=cross
18808
 
else
18809
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18810
 
  lt_status=$lt_dlunknown
18811
 
  cat > conftest.$ac_ext <<EOF
18812
 
#line 18812 "configure"
18813
 
#include "confdefs.h"
18814
 
 
18815
 
#if HAVE_DLFCN_H
18816
 
#include <dlfcn.h>
18817
 
#endif
18818
 
 
18819
 
#include <stdio.h>
18820
 
 
18821
 
#ifdef RTLD_GLOBAL
18822
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
18823
 
#else
18824
 
#  ifdef DL_GLOBAL
18825
 
#    define LT_DLGLOBAL         DL_GLOBAL
18826
 
#  else
18827
 
#    define LT_DLGLOBAL         0
18828
 
#  endif
18829
 
#endif
18830
 
 
18831
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18832
 
   find out it does not work in some platform. */
18833
 
#ifndef LT_DLLAZY_OR_NOW
18834
 
#  ifdef RTLD_LAZY
18835
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
18836
 
#  else
18837
 
#    ifdef DL_LAZY
18838
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
18839
 
#    else
18840
 
#      ifdef RTLD_NOW
18841
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
18842
 
#      else
18843
 
#        ifdef DL_NOW
18844
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
18845
 
#        else
18846
 
#          define LT_DLLAZY_OR_NOW      0
18847
 
#        endif
18848
 
#      endif
18849
 
#    endif
18850
 
#  endif
18851
 
#endif
18852
 
 
18853
 
#ifdef __cplusplus
18854
 
extern "C" void exit (int);
18855
 
#endif
18856
 
 
18857
 
void fnord() { int i=42;}
18858
 
int main ()
18859
 
{
18860
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18861
 
  int status = $lt_dlunknown;
18862
 
 
18863
 
  if (self)
18864
 
    {
18865
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
18866
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18867
 
      /* dlclose (self); */
18868
 
    }
18869
 
 
18870
 
    exit (status);
18871
 
}
18872
 
EOF
18873
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18874
 
  (eval $ac_link) 2>&5
18875
 
  ac_status=$?
18876
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18877
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18878
 
    (./conftest; exit; ) 2>/dev/null
18879
 
    lt_status=$?
18880
 
    case x$lt_status in
18881
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
18882
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
18883
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
18884
 
    esac
18885
 
  else :
18886
 
    # compilation failed
18887
 
    lt_cv_dlopen_self_static=no
18888
 
  fi
18889
 
fi
18890
 
rm -fr conftest*
18891
 
 
18892
 
 
18893
 
fi
18894
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18895
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
18896
 
    fi
18897
 
 
18898
 
    CPPFLAGS="$save_CPPFLAGS"
18899
 
    LDFLAGS="$save_LDFLAGS"
18900
 
    LIBS="$save_LIBS"
18901
 
    ;;
18902
 
  esac
18903
 
 
18904
 
  case $lt_cv_dlopen_self in
18905
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
18906
 
  *) enable_dlopen_self=unknown ;;
18907
 
  esac
18908
 
 
18909
 
  case $lt_cv_dlopen_self_static in
18910
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
18911
 
  *) enable_dlopen_self_static=unknown ;;
18912
 
  esac
18913
 
fi
18914
 
 
18915
19125
 
18916
19126
# The else clause should only fire when bootstrapping the
18917
19127
# libtool distribution, otherwise you forgot to ship ltmain.sh
18926
19136
  # Now quote all the things that may contain metacharacters while being
18927
19137
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18928
19138
  # variables and quote the copies for generation of the libtool script.
18929
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
19139
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18930
19140
    SED SHELL STRIP \
18931
19141
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18932
19142
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19027
19237
# The host system.
19028
19238
host_alias=$host_alias
19029
19239
host=$host
 
19240
host_os=$host_os
 
19241
 
 
19242
# The build system.
 
19243
build_alias=$build_alias
 
19244
build=$build
 
19245
build_os=$build_os
19030
19246
 
19031
19247
# An echo program that does not interpret backslashes.
19032
19248
echo=$lt_echo
19038
19254
# A C compiler.
19039
19255
LTCC=$lt_LTCC
19040
19256
 
 
19257
# LTCC compiler flags.
 
19258
LTCFLAGS=$lt_LTCFLAGS
 
19259
 
19041
19260
# A language-specific compiler.
19042
19261
CC=$lt_compiler_GCJ
19043
19262
 
19103
19322
# Does compiler simultaneously support -c and -o options?
19104
19323
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19105
19324
 
19106
 
# Must we lock files when doing compilation ?
 
19325
# Must we lock files when doing compilation?
19107
19326
need_locks=$lt_need_locks
19108
19327
 
19109
19328
# Do we need the lib prefix for modules?
19328
19547
      RC)
19329
19548
 
19330
19549
 
19331
 
 
19332
19550
# Source file extension for RC test sources.
19333
19551
ac_ext=rc
19334
19552
 
19347
19565
# If no C compiler was specified, use CC.
19348
19566
LTCC=${LTCC-"$CC"}
19349
19567
 
 
19568
# If no C compiler flags were specified, use CFLAGS.
 
19569
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
19570
 
19350
19571
# Allow CC to be a program name with arguments.
19351
19572
compiler=$CC
19352
19573
 
19353
19574
 
 
19575
# save warnings/boilerplate of simple test code
 
19576
ac_outfile=conftest.$ac_objext
 
19577
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
19578
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
19579
_lt_compiler_boilerplate=`cat conftest.err`
 
19580
$rm conftest*
 
19581
 
 
19582
ac_outfile=conftest.$ac_objext
 
19583
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
19584
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
19585
_lt_linker_boilerplate=`cat conftest.err`
 
19586
$rm conftest*
 
19587
 
 
19588
 
19354
19589
# Allow CC to be a program name with arguments.
19355
19590
lt_save_CC="$CC"
19356
19591
CC=${RC-"windres"}
19357
19592
compiler=$CC
19358
19593
compiler_RC=$CC
 
19594
for cc_temp in $compiler""; do
 
19595
  case $cc_temp in
 
19596
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
19597
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
19598
    \-*) ;;
 
19599
    *) break;;
 
19600
  esac
 
19601
done
 
19602
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
19603
 
19359
19604
lt_cv_prog_compiler_c_o_RC=yes
19360
19605
 
19361
19606
# The else clause should only fire when bootstrapping the
19371
19616
  # Now quote all the things that may contain metacharacters while being
19372
19617
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19373
19618
  # variables and quote the copies for generation of the libtool script.
19374
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
19619
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19375
19620
    SED SHELL STRIP \
19376
19621
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19377
19622
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19472
19717
# The host system.
19473
19718
host_alias=$host_alias
19474
19719
host=$host
 
19720
host_os=$host_os
 
19721
 
 
19722
# The build system.
 
19723
build_alias=$build_alias
 
19724
build=$build
 
19725
build_os=$build_os
19475
19726
 
19476
19727
# An echo program that does not interpret backslashes.
19477
19728
echo=$lt_echo
19483
19734
# A C compiler.
19484
19735
LTCC=$lt_LTCC
19485
19736
 
 
19737
# LTCC compiler flags.
 
19738
LTCFLAGS=$lt_LTCFLAGS
 
19739
 
19486
19740
# A language-specific compiler.
19487
19741
CC=$lt_compiler_RC
19488
19742
 
19548
19802
# Does compiler simultaneously support -c and -o options?
19549
19803
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19550
19804
 
19551
 
# Must we lock files when doing compilation ?
 
19805
# Must we lock files when doing compilation?
19552
19806
need_locks=$lt_need_locks
19553
19807
 
19554
19808
# Do we need the lib prefix for modules?
19832
20086
do
19833
20087
  # Extract the first word of "$ac_prog", so it can be a program name with args.
19834
20088
set dummy $ac_prog; ac_word=$2
19835
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19836
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20089
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20090
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19837
20091
if test "${ac_cv_prog_TAR+set}" = set; then
19838
20092
  echo $ECHO_N "(cached) $ECHO_C" >&6
19839
20093
else
19846
20100
  IFS=$as_save_IFS
19847
20101
  test -z "$as_dir" && as_dir=.
19848
20102
  for ac_exec_ext in '' $ac_executable_extensions; do
19849
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20103
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19850
20104
    ac_cv_prog_TAR="$ac_prog"
19851
20105
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19852
20106
    break 2
19853
20107
  fi
19854
20108
done
19855
20109
done
 
20110
IFS=$as_save_IFS
19856
20111
 
19857
20112
fi
19858
20113
fi
19859
20114
TAR=$ac_cv_prog_TAR
19860
20115
if test -n "$TAR"; then
19861
 
  echo "$as_me:$LINENO: result: $TAR" >&5
19862
 
echo "${ECHO_T}$TAR" >&6
 
20116
  { echo "$as_me:$LINENO: result: $TAR" >&5
 
20117
echo "${ECHO_T}$TAR" >&6; }
19863
20118
else
19864
 
  echo "$as_me:$LINENO: result: no" >&5
19865
 
echo "${ECHO_T}no" >&6
 
20119
  { echo "$as_me:$LINENO: result: no" >&5
 
20120
echo "${ECHO_T}no" >&6; }
19866
20121
fi
19867
20122
 
 
20123
 
19868
20124
  test -n "$TAR" && break
19869
20125
done
19870
20126
 
19873
20129
do
19874
20130
  # Extract the first word of "$ac_prog", so it can be a program name with args.
19875
20131
set dummy $ac_prog; ac_word=$2
19876
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19877
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20132
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20133
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19878
20134
if test "${ac_cv_prog_JAVA+set}" = set; then
19879
20135
  echo $ECHO_N "(cached) $ECHO_C" >&6
19880
20136
else
19887
20143
  IFS=$as_save_IFS
19888
20144
  test -z "$as_dir" && as_dir=.
19889
20145
  for ac_exec_ext in '' $ac_executable_extensions; do
19890
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20146
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19891
20147
    ac_cv_prog_JAVA="$ac_prog"
19892
20148
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19893
20149
    break 2
19894
20150
  fi
19895
20151
done
19896
20152
done
 
20153
IFS=$as_save_IFS
19897
20154
 
19898
20155
fi
19899
20156
fi
19900
20157
JAVA=$ac_cv_prog_JAVA
19901
20158
if test -n "$JAVA"; then
19902
 
  echo "$as_me:$LINENO: result: $JAVA" >&5
19903
 
echo "${ECHO_T}$JAVA" >&6
 
20159
  { echo "$as_me:$LINENO: result: $JAVA" >&5
 
20160
echo "${ECHO_T}$JAVA" >&6; }
19904
20161
else
19905
 
  echo "$as_me:$LINENO: result: no" >&5
19906
 
echo "${ECHO_T}no" >&6
 
20162
  { echo "$as_me:$LINENO: result: no" >&5
 
20163
echo "${ECHO_T}no" >&6; }
19907
20164
fi
19908
20165
 
 
20166
 
19909
20167
  test -n "$JAVA" && break
19910
20168
done
19911
20169
 
19913
20171
do
19914
20172
  # Extract the first word of "$ac_prog", so it can be a program name with args.
19915
20173
set dummy $ac_prog; ac_word=$2
19916
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19917
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20174
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20175
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19918
20176
if test "${ac_cv_prog_JAVAC+set}" = set; then
19919
20177
  echo $ECHO_N "(cached) $ECHO_C" >&6
19920
20178
else
19927
20185
  IFS=$as_save_IFS
19928
20186
  test -z "$as_dir" && as_dir=.
19929
20187
  for ac_exec_ext in '' $ac_executable_extensions; do
19930
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20188
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19931
20189
    ac_cv_prog_JAVAC="$ac_prog"
19932
20190
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19933
20191
    break 2
19934
20192
  fi
19935
20193
done
19936
20194
done
 
20195
IFS=$as_save_IFS
19937
20196
 
19938
20197
fi
19939
20198
fi
19940
20199
JAVAC=$ac_cv_prog_JAVAC
19941
20200
if test -n "$JAVAC"; then
19942
 
  echo "$as_me:$LINENO: result: $JAVAC" >&5
19943
 
echo "${ECHO_T}$JAVAC" >&6
 
20201
  { echo "$as_me:$LINENO: result: $JAVAC" >&5
 
20202
echo "${ECHO_T}$JAVAC" >&6; }
19944
20203
else
19945
 
  echo "$as_me:$LINENO: result: no" >&5
19946
 
echo "${ECHO_T}no" >&6
 
20204
  { echo "$as_me:$LINENO: result: no" >&5
 
20205
echo "${ECHO_T}no" >&6; }
19947
20206
fi
19948
20207
 
 
20208
 
19949
20209
  test -n "$JAVAC" && break
19950
20210
done
19951
20211
 
19953
20213
do
19954
20214
  # Extract the first word of "$ac_prog", so it can be a program name with args.
19955
20215
set dummy $ac_prog; ac_word=$2
19956
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19957
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20216
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20217
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19958
20218
if test "${ac_cv_prog_JAR+set}" = set; then
19959
20219
  echo $ECHO_N "(cached) $ECHO_C" >&6
19960
20220
else
19967
20227
  IFS=$as_save_IFS
19968
20228
  test -z "$as_dir" && as_dir=.
19969
20229
  for ac_exec_ext in '' $ac_executable_extensions; do
19970
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20230
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19971
20231
    ac_cv_prog_JAR="$ac_prog"
19972
20232
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19973
20233
    break 2
19974
20234
  fi
19975
20235
done
19976
20236
done
 
20237
IFS=$as_save_IFS
19977
20238
 
19978
20239
fi
19979
20240
fi
19980
20241
JAR=$ac_cv_prog_JAR
19981
20242
if test -n "$JAR"; then
19982
 
  echo "$as_me:$LINENO: result: $JAR" >&5
19983
 
echo "${ECHO_T}$JAR" >&6
 
20243
  { echo "$as_me:$LINENO: result: $JAR" >&5
 
20244
echo "${ECHO_T}$JAR" >&6; }
19984
20245
else
19985
 
  echo "$as_me:$LINENO: result: no" >&5
19986
 
echo "${ECHO_T}no" >&6
 
20246
  { echo "$as_me:$LINENO: result: no" >&5
 
20247
echo "${ECHO_T}no" >&6; }
19987
20248
fi
19988
20249
 
 
20250
 
19989
20251
  test -n "$JAR" && break
19990
20252
done
19991
20253
 
19993
20255
do
19994
20256
  # Extract the first word of "$ac_prog", so it can be a program name with args.
19995
20257
set dummy $ac_prog; ac_word=$2
19996
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19997
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20258
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20259
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19998
20260
if test "${ac_cv_prog_PERL+set}" = set; then
19999
20261
  echo $ECHO_N "(cached) $ECHO_C" >&6
20000
20262
else
20007
20269
  IFS=$as_save_IFS
20008
20270
  test -z "$as_dir" && as_dir=.
20009
20271
  for ac_exec_ext in '' $ac_executable_extensions; do
20010
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20272
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20011
20273
    ac_cv_prog_PERL="$ac_prog"
20012
20274
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20013
20275
    break 2
20014
20276
  fi
20015
20277
done
20016
20278
done
 
20279
IFS=$as_save_IFS
20017
20280
 
20018
20281
fi
20019
20282
fi
20020
20283
PERL=$ac_cv_prog_PERL
20021
20284
if test -n "$PERL"; then
20022
 
  echo "$as_me:$LINENO: result: $PERL" >&5
20023
 
echo "${ECHO_T}$PERL" >&6
 
20285
  { echo "$as_me:$LINENO: result: $PERL" >&5
 
20286
echo "${ECHO_T}$PERL" >&6; }
20024
20287
else
20025
 
  echo "$as_me:$LINENO: result: no" >&5
20026
 
echo "${ECHO_T}no" >&6
 
20288
  { echo "$as_me:$LINENO: result: no" >&5
 
20289
echo "${ECHO_T}no" >&6; }
20027
20290
fi
20028
20291
 
 
20292
 
20029
20293
  test -n "$PERL" && break
20030
20294
done
20031
20295
 
20032
 
for ac_prog in php
20033
 
do
20034
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
20035
 
set dummy $ac_prog; ac_word=$2
20036
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
20037
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20038
 
if test "${ac_cv_prog_PHP+set}" = set; then
20039
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20040
 
else
20041
 
  if test -n "$PHP"; then
20042
 
  ac_cv_prog_PHP="$PHP" # Let the user override the test.
20043
 
else
20044
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20045
 
for as_dir in $PATH
20046
 
do
20047
 
  IFS=$as_save_IFS
20048
 
  test -z "$as_dir" && as_dir=.
20049
 
  for ac_exec_ext in '' $ac_executable_extensions; do
20050
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20051
 
    ac_cv_prog_PHP="$ac_prog"
20052
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20053
 
    break 2
20054
 
  fi
20055
 
done
20056
 
done
20057
 
 
20058
 
fi
20059
 
fi
20060
 
PHP=$ac_cv_prog_PHP
20061
 
if test -n "$PHP"; then
20062
 
  echo "$as_me:$LINENO: result: $PHP" >&5
20063
 
echo "${ECHO_T}$PHP" >&6
20064
 
else
20065
 
  echo "$as_me:$LINENO: result: no" >&5
20066
 
echo "${ECHO_T}no" >&6
20067
 
fi
20068
 
 
20069
 
  test -n "$PHP" && break
20070
 
done
20071
 
 
20072
 
# Extract the first word of "php-config", so it can be a program name with args.
20073
 
set dummy php-config; ac_word=$2
20074
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
20075
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20076
 
if test "${ac_cv_prog_PHP_CONFIG+set}" = set; then
20077
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20078
 
else
20079
 
  if test -n "$PHP_CONFIG"; then
20080
 
  ac_cv_prog_PHP_CONFIG="$PHP_CONFIG" # Let the user override the test.
20081
 
else
20082
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20083
 
for as_dir in $PATH
20084
 
do
20085
 
  IFS=$as_save_IFS
20086
 
  test -z "$as_dir" && as_dir=.
20087
 
  for ac_exec_ext in '' $ac_executable_extensions; do
20088
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20089
 
    ac_cv_prog_PHP_CONFIG="php-config"
20090
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20091
 
    break 2
20092
 
  fi
20093
 
done
20094
 
done
20095
 
 
20096
 
fi
20097
 
fi
20098
 
PHP_CONFIG=$ac_cv_prog_PHP_CONFIG
20099
 
if test -n "$PHP_CONFIG"; then
20100
 
  echo "$as_me:$LINENO: result: $PHP_CONFIG" >&5
20101
 
echo "${ECHO_T}$PHP_CONFIG" >&6
20102
 
else
20103
 
  echo "$as_me:$LINENO: result: no" >&5
20104
 
echo "${ECHO_T}no" >&6
20105
 
fi
20106
 
 
20107
 
for ac_prog in php
20108
 
do
20109
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
20110
 
set dummy $ac_prog; ac_word=$2
20111
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
20112
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20113
 
if test "${ac_cv_path_PHP_PATH+set}" = set; then
20114
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20115
 
else
20116
 
  case $PHP_PATH in
20117
 
  [\\/]* | ?:[\\/]*)
20118
 
  ac_cv_path_PHP_PATH="$PHP_PATH" # Let the user override the test with a path.
20119
 
  ;;
20120
 
  *)
20121
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20122
 
for as_dir in $PATH
20123
 
do
20124
 
  IFS=$as_save_IFS
20125
 
  test -z "$as_dir" && as_dir=.
20126
 
  for ac_exec_ext in '' $ac_executable_extensions; do
20127
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20128
 
    ac_cv_path_PHP_PATH="$as_dir/$ac_word$ac_exec_ext"
20129
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20130
 
    break 2
20131
 
  fi
20132
 
done
20133
 
done
20134
 
 
20135
 
  ;;
20136
 
esac
20137
 
fi
20138
 
PHP_PATH=$ac_cv_path_PHP_PATH
20139
 
 
20140
 
if test -n "$PHP_PATH"; then
20141
 
  echo "$as_me:$LINENO: result: $PHP_PATH" >&5
20142
 
echo "${ECHO_T}$PHP_PATH" >&6
20143
 
else
20144
 
  echo "$as_me:$LINENO: result: no" >&5
20145
 
echo "${ECHO_T}no" >&6
20146
 
fi
20147
 
 
20148
 
  test -n "$PHP_PATH" && break
 
20296
for ac_prog in php4 php
 
20297
do
 
20298
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
20299
set dummy $ac_prog; ac_word=$2
 
20300
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20301
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
20302
if test "${ac_cv_prog_PHP4+set}" = set; then
 
20303
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20304
else
 
20305
  if test -n "$PHP4"; then
 
20306
  ac_cv_prog_PHP4="$PHP4" # Let the user override the test.
 
20307
else
 
20308
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
20309
for as_dir in $PATH
 
20310
do
 
20311
  IFS=$as_save_IFS
 
20312
  test -z "$as_dir" && as_dir=.
 
20313
  for ac_exec_ext in '' $ac_executable_extensions; do
 
20314
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
20315
    ac_cv_prog_PHP4="$ac_prog"
 
20316
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20317
    break 2
 
20318
  fi
 
20319
done
 
20320
done
 
20321
IFS=$as_save_IFS
 
20322
 
 
20323
fi
 
20324
fi
 
20325
PHP4=$ac_cv_prog_PHP4
 
20326
if test -n "$PHP4"; then
 
20327
  { echo "$as_me:$LINENO: result: $PHP4" >&5
 
20328
echo "${ECHO_T}$PHP4" >&6; }
 
20329
else
 
20330
  { echo "$as_me:$LINENO: result: no" >&5
 
20331
echo "${ECHO_T}no" >&6; }
 
20332
fi
 
20333
 
 
20334
 
 
20335
  test -n "$PHP4" && break
 
20336
done
 
20337
 
 
20338
for ac_prog in php5 php
 
20339
do
 
20340
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
20341
set dummy $ac_prog; ac_word=$2
 
20342
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20343
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
20344
if test "${ac_cv_prog_PHP5+set}" = set; then
 
20345
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20346
else
 
20347
  if test -n "$PHP5"; then
 
20348
  ac_cv_prog_PHP5="$PHP5" # Let the user override the test.
 
20349
else
 
20350
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
20351
for as_dir in $PATH
 
20352
do
 
20353
  IFS=$as_save_IFS
 
20354
  test -z "$as_dir" && as_dir=.
 
20355
  for ac_exec_ext in '' $ac_executable_extensions; do
 
20356
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
20357
    ac_cv_prog_PHP5="$ac_prog"
 
20358
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20359
    break 2
 
20360
  fi
 
20361
done
 
20362
done
 
20363
IFS=$as_save_IFS
 
20364
 
 
20365
fi
 
20366
fi
 
20367
PHP5=$ac_cv_prog_PHP5
 
20368
if test -n "$PHP5"; then
 
20369
  { echo "$as_me:$LINENO: result: $PHP5" >&5
 
20370
echo "${ECHO_T}$PHP5" >&6; }
 
20371
else
 
20372
  { echo "$as_me:$LINENO: result: no" >&5
 
20373
echo "${ECHO_T}no" >&6; }
 
20374
fi
 
20375
 
 
20376
 
 
20377
  test -n "$PHP5" && break
 
20378
done
 
20379
 
 
20380
for ac_prog in php-config4 php-config
 
20381
do
 
20382
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
20383
set dummy $ac_prog; ac_word=$2
 
20384
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20385
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
20386
if test "${ac_cv_prog_PHP4_CONFIG+set}" = set; then
 
20387
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20388
else
 
20389
  if test -n "$PHP4_CONFIG"; then
 
20390
  ac_cv_prog_PHP4_CONFIG="$PHP4_CONFIG" # Let the user override the test.
 
20391
else
 
20392
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
20393
for as_dir in $PATH
 
20394
do
 
20395
  IFS=$as_save_IFS
 
20396
  test -z "$as_dir" && as_dir=.
 
20397
  for ac_exec_ext in '' $ac_executable_extensions; do
 
20398
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
20399
    ac_cv_prog_PHP4_CONFIG="$ac_prog"
 
20400
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20401
    break 2
 
20402
  fi
 
20403
done
 
20404
done
 
20405
IFS=$as_save_IFS
 
20406
 
 
20407
fi
 
20408
fi
 
20409
PHP4_CONFIG=$ac_cv_prog_PHP4_CONFIG
 
20410
if test -n "$PHP4_CONFIG"; then
 
20411
  { echo "$as_me:$LINENO: result: $PHP4_CONFIG" >&5
 
20412
echo "${ECHO_T}$PHP4_CONFIG" >&6; }
 
20413
else
 
20414
  { echo "$as_me:$LINENO: result: no" >&5
 
20415
echo "${ECHO_T}no" >&6; }
 
20416
fi
 
20417
 
 
20418
 
 
20419
  test -n "$PHP4_CONFIG" && break
 
20420
done
 
20421
 
 
20422
for ac_prog in php-config5 php-config
 
20423
do
 
20424
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
20425
set dummy $ac_prog; ac_word=$2
 
20426
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20427
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
20428
if test "${ac_cv_prog_PHP5_CONFIG+set}" = set; then
 
20429
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20430
else
 
20431
  if test -n "$PHP5_CONFIG"; then
 
20432
  ac_cv_prog_PHP5_CONFIG="$PHP5_CONFIG" # Let the user override the test.
 
20433
else
 
20434
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
20435
for as_dir in $PATH
 
20436
do
 
20437
  IFS=$as_save_IFS
 
20438
  test -z "$as_dir" && as_dir=.
 
20439
  for ac_exec_ext in '' $ac_executable_extensions; do
 
20440
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
20441
    ac_cv_prog_PHP5_CONFIG="$ac_prog"
 
20442
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20443
    break 2
 
20444
  fi
 
20445
done
 
20446
done
 
20447
IFS=$as_save_IFS
 
20448
 
 
20449
fi
 
20450
fi
 
20451
PHP5_CONFIG=$ac_cv_prog_PHP5_CONFIG
 
20452
if test -n "$PHP5_CONFIG"; then
 
20453
  { echo "$as_me:$LINENO: result: $PHP5_CONFIG" >&5
 
20454
echo "${ECHO_T}$PHP5_CONFIG" >&6; }
 
20455
else
 
20456
  { echo "$as_me:$LINENO: result: no" >&5
 
20457
echo "${ECHO_T}no" >&6; }
 
20458
fi
 
20459
 
 
20460
 
 
20461
  test -n "$PHP5_CONFIG" && break
20149
20462
done
20150
20463
 
20151
20464
for ac_prog in python
20152
20465
do
20153
20466
  # Extract the first word of "$ac_prog", so it can be a program name with args.
20154
20467
set dummy $ac_prog; ac_word=$2
20155
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
20156
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20468
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20469
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20157
20470
if test "${ac_cv_prog_PYTHON+set}" = set; then
20158
20471
  echo $ECHO_N "(cached) $ECHO_C" >&6
20159
20472
else
20166
20479
  IFS=$as_save_IFS
20167
20480
  test -z "$as_dir" && as_dir=.
20168
20481
  for ac_exec_ext in '' $ac_executable_extensions; do
20169
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20482
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20170
20483
    ac_cv_prog_PYTHON="$ac_prog"
20171
20484
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20172
20485
    break 2
20173
20486
  fi
20174
20487
done
20175
20488
done
 
20489
IFS=$as_save_IFS
20176
20490
 
20177
20491
fi
20178
20492
fi
20179
20493
PYTHON=$ac_cv_prog_PYTHON
20180
20494
if test -n "$PYTHON"; then
20181
 
  echo "$as_me:$LINENO: result: $PYTHON" >&5
20182
 
echo "${ECHO_T}$PYTHON" >&6
 
20495
  { echo "$as_me:$LINENO: result: $PYTHON" >&5
 
20496
echo "${ECHO_T}$PYTHON" >&6; }
20183
20497
else
20184
 
  echo "$as_me:$LINENO: result: no" >&5
20185
 
echo "${ECHO_T}no" >&6
 
20498
  { echo "$as_me:$LINENO: result: no" >&5
 
20499
echo "${ECHO_T}no" >&6; }
20186
20500
fi
20187
20501
 
 
20502
 
20188
20503
  test -n "$PYTHON" && break
20189
20504
done
20190
20505
 
20192
20507
do
20193
20508
  # Extract the first word of "$ac_prog", so it can be a program name with args.
20194
20509
set dummy $ac_prog; ac_word=$2
20195
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
20196
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20510
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20511
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20197
20512
if test "${ac_cv_prog_SWIG+set}" = set; then
20198
20513
  echo $ECHO_N "(cached) $ECHO_C" >&6
20199
20514
else
20206
20521
  IFS=$as_save_IFS
20207
20522
  test -z "$as_dir" && as_dir=.
20208
20523
  for ac_exec_ext in '' $ac_executable_extensions; do
20209
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20524
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20210
20525
    ac_cv_prog_SWIG="$ac_prog"
20211
20526
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20212
20527
    break 2
20213
20528
  fi
20214
20529
done
20215
20530
done
 
20531
IFS=$as_save_IFS
20216
20532
 
20217
20533
fi
20218
20534
fi
20219
20535
SWIG=$ac_cv_prog_SWIG
20220
20536
if test -n "$SWIG"; then
20221
 
  echo "$as_me:$LINENO: result: $SWIG" >&5
20222
 
echo "${ECHO_T}$SWIG" >&6
 
20537
  { echo "$as_me:$LINENO: result: $SWIG" >&5
 
20538
echo "${ECHO_T}$SWIG" >&6; }
20223
20539
else
20224
 
  echo "$as_me:$LINENO: result: no" >&5
20225
 
echo "${ECHO_T}no" >&6
 
20540
  { echo "$as_me:$LINENO: result: no" >&5
 
20541
echo "${ECHO_T}no" >&6; }
20226
20542
fi
20227
20543
 
 
20544
 
20228
20545
  test -n "$SWIG" && break
20229
20546
done
20230
20547
 
20231
20548
 
20232
 
echo "$as_me:$LINENO: checking for function prototypes" >&5
20233
 
echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
20234
 
if test "$ac_cv_prog_cc_stdc" != no; then
20235
 
  echo "$as_me:$LINENO: result: yes" >&5
20236
 
echo "${ECHO_T}yes" >&6
 
20549
{ echo "$as_me:$LINENO: checking for function prototypes" >&5
 
20550
echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; }
 
20551
if test "$ac_cv_prog_cc_c89" != no; then
 
20552
  { echo "$as_me:$LINENO: result: yes" >&5
 
20553
echo "${ECHO_T}yes" >&6; }
20237
20554
 
20238
20555
cat >>confdefs.h <<\_ACEOF
20239
20556
#define PROTOTYPES 1
20245
20562
_ACEOF
20246
20563
 
20247
20564
else
20248
 
  echo "$as_me:$LINENO: result: no" >&5
20249
 
echo "${ECHO_T}no" >&6
 
20565
  { echo "$as_me:$LINENO: result: no" >&5
 
20566
echo "${ECHO_T}no" >&6; }
20250
20567
fi
20251
20568
 
20252
20569
 
20261
20578
for ac_header in string.h
20262
20579
do
20263
20580
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20264
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20265
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
20266
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20267
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
20581
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
20582
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20583
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
20584
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20268
20585
  echo $ECHO_N "(cached) $ECHO_C" >&6
20269
20586
fi
20270
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20271
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
20587
ac_res=`eval echo '${'$as_ac_Header'}'`
 
20588
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
20589
echo "${ECHO_T}$ac_res" >&6; }
20272
20590
else
20273
20591
  # Is the header compilable?
20274
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
20275
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
20592
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
20593
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20276
20594
cat >conftest.$ac_ext <<_ACEOF
20277
20595
/* confdefs.h.  */
20278
20596
_ACEOF
20283
20601
#include <$ac_header>
20284
20602
_ACEOF
20285
20603
rm -f conftest.$ac_objext
20286
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20287
 
  (eval $ac_compile) 2>conftest.er1
 
20604
if { (ac_try="$ac_compile"
 
20605
case "(($ac_try" in
 
20606
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20607
  *) ac_try_echo=$ac_try;;
 
20608
esac
 
20609
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20610
  (eval "$ac_compile") 2>conftest.er1
20288
20611
  ac_status=$?
20289
20612
  grep -v '^ *+' conftest.er1 >conftest.err
20290
20613
  rm -f conftest.er1
20291
20614
  cat conftest.err >&5
20292
20615
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293
 
  (exit $ac_status); } &&
20294
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20295
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20296
 
  (eval $ac_try) 2>&5
20297
 
  ac_status=$?
20298
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299
 
  (exit $ac_status); }; } &&
20300
 
         { ac_try='test -s conftest.$ac_objext'
20301
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20302
 
  (eval $ac_try) 2>&5
20303
 
  ac_status=$?
20304
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20305
 
  (exit $ac_status); }; }; then
 
20616
  (exit $ac_status); } && {
 
20617
         test -z "$ac_c_werror_flag" ||
 
20618
         test ! -s conftest.err
 
20619
       } && test -s conftest.$ac_objext; then
20306
20620
  ac_header_compiler=yes
20307
20621
else
20308
20622
  echo "$as_me: failed program was:" >&5
20309
20623
sed 's/^/| /' conftest.$ac_ext >&5
20310
20624
 
20311
 
ac_header_compiler=no
 
20625
        ac_header_compiler=no
20312
20626
fi
20313
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20314
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20315
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
20627
 
 
20628
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20629
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
20630
echo "${ECHO_T}$ac_header_compiler" >&6; }
20316
20631
 
20317
20632
# Is the header present?
20318
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
20319
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
20633
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
20634
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20320
20635
cat >conftest.$ac_ext <<_ACEOF
20321
20636
/* confdefs.h.  */
20322
20637
_ACEOF
20325
20640
/* end confdefs.h.  */
20326
20641
#include <$ac_header>
20327
20642
_ACEOF
20328
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20329
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
20643
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
20644
case "(($ac_try" in
 
20645
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20646
  *) ac_try_echo=$ac_try;;
 
20647
esac
 
20648
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20649
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20330
20650
  ac_status=$?
20331
20651
  grep -v '^ *+' conftest.er1 >conftest.err
20332
20652
  rm -f conftest.er1
20333
20653
  cat conftest.err >&5
20334
20654
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20335
 
  (exit $ac_status); } >/dev/null; then
20336
 
  if test -s conftest.err; then
20337
 
    ac_cpp_err=$ac_c_preproc_warn_flag
20338
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20339
 
  else
20340
 
    ac_cpp_err=
20341
 
  fi
20342
 
else
20343
 
  ac_cpp_err=yes
20344
 
fi
20345
 
if test -z "$ac_cpp_err"; then
 
20655
  (exit $ac_status); } >/dev/null && {
 
20656
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
20657
         test ! -s conftest.err
 
20658
       }; then
20346
20659
  ac_header_preproc=yes
20347
20660
else
20348
20661
  echo "$as_me: failed program was:" >&5
20350
20663
 
20351
20664
  ac_header_preproc=no
20352
20665
fi
 
20666
 
20353
20667
rm -f conftest.err conftest.$ac_ext
20354
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20355
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
20668
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
20669
echo "${ECHO_T}$ac_header_preproc" >&6; }
20356
20670
 
20357
20671
# So?  What about this header?
20358
20672
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20376
20690
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20377
20691
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20378
20692
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20379
 
    (
20380
 
      cat <<\_ASBOX
 
20693
    ( cat <<\_ASBOX
20381
20694
## ---------------------------------------------------------- ##
20382
20695
## Report this to lasso-devel@lists.labs.libre-entreprise.org ##
20383
20696
## ---------------------------------------------------------- ##
20384
20697
_ASBOX
20385
 
    ) |
20386
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
20698
     ) | sed "s/^/$as_me: WARNING:     /" >&2
20387
20699
    ;;
20388
20700
esac
20389
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
20390
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20391
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
20701
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20702
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
20703
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20392
20704
  echo $ECHO_N "(cached) $ECHO_C" >&6
20393
20705
else
20394
20706
  eval "$as_ac_Header=\$ac_header_preproc"
20395
20707
fi
20396
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20397
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
20708
ac_res=`eval echo '${'$as_ac_Header'}'`
 
20709
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
20710
echo "${ECHO_T}$ac_res" >&6; }
20398
20711
 
20399
20712
fi
20400
20713
if test `eval echo '${'$as_ac_Header'}'` = yes; then
20411
20724
echo "$as_me: error: Compiler not ANSI compliant" >&2;}
20412
20725
   { (exit 1); exit 1; }; }
20413
20726
 
20414
 
echo "$as_me:$LINENO: checking for variadic cpp macros" >&5
20415
 
echo $ECHO_N "checking for variadic cpp macros... $ECHO_C" >&6
 
20727
{ echo "$as_me:$LINENO: checking for variadic cpp macros" >&5
 
20728
echo $ECHO_N "checking for variadic cpp macros... $ECHO_C" >&6; }
20416
20729
if test "${ac_cv_cpp_variadic_macros+set}" = set; then
20417
20730
  echo $ECHO_N "(cached) $ECHO_C" >&6
20418
20731
else
20433
20746
}
20434
20747
_ACEOF
20435
20748
rm -f conftest.$ac_objext
20436
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20437
 
  (eval $ac_compile) 2>conftest.er1
 
20749
if { (ac_try="$ac_compile"
 
20750
case "(($ac_try" in
 
20751
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20752
  *) ac_try_echo=$ac_try;;
 
20753
esac
 
20754
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20755
  (eval "$ac_compile") 2>conftest.er1
20438
20756
  ac_status=$?
20439
20757
  grep -v '^ *+' conftest.er1 >conftest.err
20440
20758
  rm -f conftest.er1
20441
20759
  cat conftest.err >&5
20442
20760
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20443
 
  (exit $ac_status); } &&
20444
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20445
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20446
 
  (eval $ac_try) 2>&5
20447
 
  ac_status=$?
20448
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449
 
  (exit $ac_status); }; } &&
20450
 
         { ac_try='test -s conftest.$ac_objext'
20451
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20452
 
  (eval $ac_try) 2>&5
20453
 
  ac_status=$?
20454
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20455
 
  (exit $ac_status); }; }; then
 
20761
  (exit $ac_status); } && {
 
20762
         test -z "$ac_c_werror_flag" ||
 
20763
         test ! -s conftest.err
 
20764
       } && test -s conftest.$ac_objext; then
20456
20765
  ac_cv_cpp_variadic_macros=yes
20457
20766
else
20458
20767
  echo "$as_me: failed program was:" >&5
20459
20768
sed 's/^/| /' conftest.$ac_ext >&5
20460
20769
 
20461
 
ac_cv_cpp_variadic_macros=no
20462
 
fi
20463
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20464
 
fi
20465
 
echo "$as_me:$LINENO: result: $ac_cv_cpp_variadic_macros" >&5
20466
 
echo "${ECHO_T}$ac_cv_cpp_variadic_macros" >&6
 
20770
        ac_cv_cpp_variadic_macros=no
 
20771
fi
 
20772
 
 
20773
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20774
fi
 
20775
{ echo "$as_me:$LINENO: result: $ac_cv_cpp_variadic_macros" >&5
 
20776
echo "${ECHO_T}$ac_cv_cpp_variadic_macros" >&6; }
20467
20777
if test "x${ac_cv_cpp_variadic_macros}" != "xno"; then
20468
20778
 
20469
20779
cat >>confdefs.h <<\_ACEOF
20507
20817
# m = a
20508
20818
# r = r
20509
20819
current=`expr $VERSION_MAJOR + $VERSION_MINOR`
20510
 
LASSO_VERSION_INFO="6:0:3"
 
20820
LASSO_VERSION_INFO="7:0:4"
20511
20821
 
20512
20822
 
20513
20823
minimal_version=`echo $LASSO_VERSION_INFO | $AWK -F: '{printf("%d\n",$1-$3)};'`
20516
20826
 
20517
20827
 
20518
20828
 
20519
 
SWIG_MIN_VERSION=1.3.27
20520
 
echo "$as_me:$LINENO: checking SWIG support" >&5
20521
 
echo $ECHO_N "checking SWIG support... $ECHO_C" >&6
 
20829
SWIG_MIN_VERSION=1.3.28
 
20830
{ echo "$as_me:$LINENO: checking SWIG support" >&5
 
20831
echo $ECHO_N "checking SWIG support... $ECHO_C" >&6; }
20522
20832
if test "X$SWIG" != "X"; then
20523
20833
  SWIG_VERSION=`$SWIG -version 2>&1 | $SED -ne 's/^SWIG Version //p'`
20524
20834
  SWIG_VERSION_DEC=`echo $SWIG_VERSION | $AWK -F. '{printf("%d\n", 10000*$1 + 100*$2 + $3)};'`
20530
20840
  SWIG_MIN_VERSION_DEC=`echo $SWIG_MIN_VERSION | $AWK -F. '{printf("%d\n", 10000*$1 + 100*$2 + $3)};'`
20531
20841
 
20532
20842
  if test $SWIG_VERSION_DEC -ge $SWIG_MIN_VERSION_DEC; then
20533
 
    echo "$as_me:$LINENO: result: $SWIG_VERSION - OK" >&5
20534
 
echo "${ECHO_T}$SWIG_VERSION - OK" >&6
 
20843
    { echo "$as_me:$LINENO: result: $SWIG_VERSION - OK" >&5
 
20844
echo "${ECHO_T}$SWIG_VERSION - OK" >&6; }
20535
20845
  else
20536
 
    echo "$as_me:$LINENO: result: $SWIG_VERSION - too old to generate language interfaces" >&5
20537
 
echo "${ECHO_T}$SWIG_VERSION - too old to generate language interfaces" >&6
 
20846
    { echo "$as_me:$LINENO: result: $SWIG_VERSION - too old to generate language interfaces" >&5
 
20847
echo "${ECHO_T}$SWIG_VERSION - too old to generate language interfaces" >&6; }
20538
20848
    if test -r $srcdir/python/lasso_wrap.c ; then
20539
20849
      { echo "$as_me:$LINENO: WARNING: Pre-generated language interface files are present" >&5
20540
20850
echo "$as_me: WARNING: Pre-generated language interface files are present" >&2;}
20558
20868
    fi
20559
20869
  fi
20560
20870
else
20561
 
  echo "$as_me:$LINENO: result: not present - using pre-generated interface files" >&5
20562
 
echo "${ECHO_T}not present - using pre-generated interface files" >&6
 
20871
  { echo "$as_me:$LINENO: result: not present - using pre-generated interface files" >&5
 
20872
echo "${ECHO_T}not present - using pre-generated interface files" >&6; }
20563
20873
  SWIG="echo"
20564
20874
fi
20565
20875
 
20571
20881
# JAVA binding
20572
20882
# ------------
20573
20883
 
20574
 
# Check whether --enable-java or --disable-java was given.
 
20884
# Check whether --enable-java was given.
20575
20885
if test "${enable_java+set}" = set; then
20576
 
  enableval="$enable_java"
20577
 
 
 
20886
  enableval=$enable_java;
20578
20887
else
20579
20888
  enable_java="yes"
20580
 
fi;
20581
 
 
20582
 
# Check whether --with-java-home or --without-java-home was given.
 
20889
fi
 
20890
 
 
20891
 
 
20892
# Check whether --with-java-home was given.
20583
20893
if test "${with_java_home+set}" = set; then
20584
 
  withval="$with_java_home"
 
20894
  withval=$with_java_home;
 
20895
fi
20585
20896
 
20586
 
fi;
20587
20897
JAVAC_FLAGS=
20588
20898
JDK_INCLUDE=
20589
20899
SUN=no
20614
20924
for ac_header in jni.h
20615
20925
do
20616
20926
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20617
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20618
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
20619
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20620
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
20927
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
20928
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20929
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
20930
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20621
20931
  echo $ECHO_N "(cached) $ECHO_C" >&6
20622
20932
fi
20623
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20624
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
20933
ac_res=`eval echo '${'$as_ac_Header'}'`
 
20934
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
20935
echo "${ECHO_T}$ac_res" >&6; }
20625
20936
else
20626
20937
  # Is the header compilable?
20627
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
20628
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
20938
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
20939
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20629
20940
cat >conftest.$ac_ext <<_ACEOF
20630
20941
/* confdefs.h.  */
20631
20942
_ACEOF
20636
20947
#include <$ac_header>
20637
20948
_ACEOF
20638
20949
rm -f conftest.$ac_objext
20639
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20640
 
  (eval $ac_compile) 2>conftest.er1
 
20950
if { (ac_try="$ac_compile"
 
20951
case "(($ac_try" in
 
20952
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20953
  *) ac_try_echo=$ac_try;;
 
20954
esac
 
20955
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20956
  (eval "$ac_compile") 2>conftest.er1
20641
20957
  ac_status=$?
20642
20958
  grep -v '^ *+' conftest.er1 >conftest.err
20643
20959
  rm -f conftest.er1
20644
20960
  cat conftest.err >&5
20645
20961
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20646
 
  (exit $ac_status); } &&
20647
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20648
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20649
 
  (eval $ac_try) 2>&5
20650
 
  ac_status=$?
20651
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20652
 
  (exit $ac_status); }; } &&
20653
 
         { ac_try='test -s conftest.$ac_objext'
20654
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20655
 
  (eval $ac_try) 2>&5
20656
 
  ac_status=$?
20657
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20658
 
  (exit $ac_status); }; }; then
 
20962
  (exit $ac_status); } && {
 
20963
         test -z "$ac_c_werror_flag" ||
 
20964
         test ! -s conftest.err
 
20965
       } && test -s conftest.$ac_objext; then
20659
20966
  ac_header_compiler=yes
20660
20967
else
20661
20968
  echo "$as_me: failed program was:" >&5
20662
20969
sed 's/^/| /' conftest.$ac_ext >&5
20663
20970
 
20664
 
ac_header_compiler=no
 
20971
        ac_header_compiler=no
20665
20972
fi
20666
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20667
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20668
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
20973
 
 
20974
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20975
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
20976
echo "${ECHO_T}$ac_header_compiler" >&6; }
20669
20977
 
20670
20978
# Is the header present?
20671
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
20672
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
20979
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
20980
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20673
20981
cat >conftest.$ac_ext <<_ACEOF
20674
20982
/* confdefs.h.  */
20675
20983
_ACEOF
20678
20986
/* end confdefs.h.  */
20679
20987
#include <$ac_header>
20680
20988
_ACEOF
20681
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20682
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
20989
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
20990
case "(($ac_try" in
 
20991
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20992
  *) ac_try_echo=$ac_try;;
 
20993
esac
 
20994
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20995
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20683
20996
  ac_status=$?
20684
20997
  grep -v '^ *+' conftest.er1 >conftest.err
20685
20998
  rm -f conftest.er1
20686
20999
  cat conftest.err >&5
20687
21000
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20688
 
  (exit $ac_status); } >/dev/null; then
20689
 
  if test -s conftest.err; then
20690
 
    ac_cpp_err=$ac_c_preproc_warn_flag
20691
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20692
 
  else
20693
 
    ac_cpp_err=
20694
 
  fi
20695
 
else
20696
 
  ac_cpp_err=yes
20697
 
fi
20698
 
if test -z "$ac_cpp_err"; then
 
21001
  (exit $ac_status); } >/dev/null && {
 
21002
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
21003
         test ! -s conftest.err
 
21004
       }; then
20699
21005
  ac_header_preproc=yes
20700
21006
else
20701
21007
  echo "$as_me: failed program was:" >&5
20703
21009
 
20704
21010
  ac_header_preproc=no
20705
21011
fi
 
21012
 
20706
21013
rm -f conftest.err conftest.$ac_ext
20707
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20708
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
21014
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
21015
echo "${ECHO_T}$ac_header_preproc" >&6; }
20709
21016
 
20710
21017
# So?  What about this header?
20711
21018
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20729
21036
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20730
21037
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20731
21038
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20732
 
    (
20733
 
      cat <<\_ASBOX
 
21039
    ( cat <<\_ASBOX
20734
21040
## ---------------------------------------------------------- ##
20735
21041
## Report this to lasso-devel@lists.labs.libre-entreprise.org ##
20736
21042
## ---------------------------------------------------------- ##
20737
21043
_ASBOX
20738
 
    ) |
20739
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
21044
     ) | sed "s/^/$as_me: WARNING:     /" >&2
20740
21045
    ;;
20741
21046
esac
20742
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
20743
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20744
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
21047
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21048
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
21049
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20745
21050
  echo $ECHO_N "(cached) $ECHO_C" >&6
20746
21051
else
20747
21052
  eval "$as_ac_Header=\$ac_header_preproc"
20748
21053
fi
20749
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20750
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
21054
ac_res=`eval echo '${'$as_ac_Header'}'`
 
21055
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21056
echo "${ECHO_T}$ac_res" >&6; }
20751
21057
 
20752
21058
fi
20753
21059
if test `eval echo '${'$as_ac_Header'}'` = yes; then
20796
21102
# Python binding
20797
21103
# --------------
20798
21104
 
20799
 
# Check whether --enable-python or --disable-python was given.
 
21105
# Check whether --enable-python was given.
20800
21106
if test "${enable_python+set}" = set; then
20801
 
  enableval="$enable_python"
20802
 
 
 
21107
  enableval=$enable_python;
20803
21108
else
20804
21109
  enable_python="yes"
20805
 
fi;
20806
 
 
20807
 
 
20808
 
# Check whether --with-python or --without-python was given.
 
21110
fi
 
21111
 
 
21112
 
 
21113
 
 
21114
# Check whether --with-python was given.
20809
21115
if test "${with_python+set}" = set; then
20810
 
  withval="$with_python"
 
21116
  withval=$with_python;
 
21117
fi
20811
21118
 
20812
 
fi;
20813
21119
 
20814
21120
if test "X$with_python" != "X"; then
20815
21121
    PYTHON=$with_python
20822
21128
echo "$as_me: error: Python must be installed to compile lasso" >&2;}
20823
21129
   { (exit 1); exit 1; }; }
20824
21130
 
20825
 
echo "$as_me:$LINENO: checking for Python development files" >&5
20826
 
echo $ECHO_N "checking for Python development files... $ECHO_C" >&6
 
21131
{ echo "$as_me:$LINENO: checking for Python development files" >&5
 
21132
echo $ECHO_N "checking for Python development files... $ECHO_C" >&6; }
20827
21133
if test "X$PYTHON_VERSION" != "X"; then
20828
21134
    PY_PREFIX=`$PYTHON -c 'import sys ; print sys.prefix'`
20829
21135
    PY_EXEC_PREFIX=`$PYTHON -c 'import sys ; print sys.exec_prefix'`
20861
21167
  PYTHON_ENABLED_FALSE=
20862
21168
fi
20863
21169
 
20864
 
echo "$as_me:$LINENO: result: $enable_python" >&5
20865
 
echo "${ECHO_T}$enable_python" >&6
20866
 
 
20867
 
 
20868
 
# -----------
20869
 
# PHP binding
20870
 
# -----------
20871
 
 
20872
 
# Check whether --enable-php or --disable-php was given.
20873
 
if test "${enable_php+set}" = set; then
20874
 
  enableval="$enable_php"
20875
 
 
20876
 
else
20877
 
  enable_php="yes"
20878
 
fi;
20879
 
 
20880
 
# Check whether --enable-php-force or --disable-php-force was given.
20881
 
if test "${enable_php_force+set}" = set; then
20882
 
  enableval="$enable_php_force"
20883
 
  ENABLE_PHP_FORCE="yes"
20884
 
else
20885
 
  ENABLE_PHP_FORCE="no"
20886
 
fi;
20887
 
 
20888
 
 
20889
 
# Check whether --with-php-config or --without-php-config was given.
20890
 
if test "${with_php_config+set}" = set; then
20891
 
  withval="$with_php_config"
20892
 
 
20893
 
fi;
20894
 
 
20895
 
 
20896
 
# Check whether --with-php-extension-dir or --without-php-extension-dir was given.
20897
 
if test "${with_php_extension_dir+set}" = set; then
20898
 
  withval="$with_php_extension_dir"
20899
 
  PHP_EXTENSION_DIR="$withval"
20900
 
else
20901
 
  PHP_EXTENSION_DIR=
20902
 
fi;
20903
 
 
20904
 
if test "X$with_php_config" != "X" ; then
20905
 
    PHP_CONFIG=$with_php_config
20906
 
fi
20907
 
 
20908
 
if test "X$PHP_CONFIG" != "X" ; then
20909
 
  PHP_INCLUDES=`$PHP_CONFIG --includes`
20910
 
  PHP_LDFLAGS=`$PHP_CONFIG --ldflags`
20911
 
  PHP_LIBS=`$PHP_CONFIG --libs`
20912
 
  PHP_UNPREFIXED_EXTENSION_DIR=`$PHP_CONFIG --extension-dir | $SED 's/\/usr//g'`
20913
 
  PHP_PREFIX=`$PHP_CONFIG --prefix`
20914
 
else
20915
 
  # We assumes PHP are in /usr/local directory.
20916
 
  if test $MINGW -eq 1; then
20917
 
    CFLAGS="$CFLAGS -DZTS -DZEND_WIN32 -DWIN32 -D_MBCS"
20918
 
  fi
20919
 
  PHP_INCLUDES="-I/usr/local/include/php4 -I/usr/local/include/php4/main -I/usr/local/include/php4/Zend -I/usr/local/include/php4/TSRM -I/usr/local/include/php4/win32"
20920
 
  PHP_LDFLAGS=
20921
 
  PHP_LIBS=-lphp4ts -lxmlparse -lxmltok
20922
 
  PHP_UNPREFIXED_EXTENSION_DIR=
20923
 
  PHP_PREFIX=
20924
 
fi
20925
 
 
20926
 
 
20927
 
 
20928
 
 
20929
 
 
20930
 
 
20931
 
 
20932
 
have_expat_include=no
20933
 
if test $MINGW -eq 1; then
20934
 
    echo "$as_me:$LINENO: checking for XML_ParserCreate in -lxmlparse" >&5
20935
 
echo $ECHO_N "checking for XML_ParserCreate in -lxmlparse... $ECHO_C" >&6
20936
 
if test "${ac_cv_lib_xmlparse_XML_ParserCreate+set}" = set; then
20937
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20938
 
else
20939
 
  ac_check_lib_save_LIBS=$LIBS
20940
 
LIBS="-lxmlparse  $LIBS"
20941
 
cat >conftest.$ac_ext <<_ACEOF
20942
 
/* confdefs.h.  */
20943
 
_ACEOF
20944
 
cat confdefs.h >>conftest.$ac_ext
20945
 
cat >>conftest.$ac_ext <<_ACEOF
20946
 
/* end confdefs.h.  */
20947
 
 
20948
 
/* Override any gcc2 internal prototype to avoid an error.  */
20949
 
#ifdef __cplusplus
20950
 
extern "C"
20951
 
#endif
20952
 
/* We use char because int might match the return type of a gcc2
20953
 
   builtin and then its argument prototype would still apply.  */
20954
 
char XML_ParserCreate ();
20955
 
int
20956
 
main ()
20957
 
{
20958
 
XML_ParserCreate ();
20959
 
  ;
20960
 
  return 0;
20961
 
}
20962
 
_ACEOF
20963
 
rm -f conftest.$ac_objext conftest$ac_exeext
20964
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20965
 
  (eval $ac_link) 2>conftest.er1
20966
 
  ac_status=$?
20967
 
  grep -v '^ *+' conftest.er1 >conftest.err
20968
 
  rm -f conftest.er1
20969
 
  cat conftest.err >&5
20970
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20971
 
  (exit $ac_status); } &&
20972
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20973
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20974
 
  (eval $ac_try) 2>&5
20975
 
  ac_status=$?
20976
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20977
 
  (exit $ac_status); }; } &&
20978
 
         { ac_try='test -s conftest$ac_exeext'
20979
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20980
 
  (eval $ac_try) 2>&5
20981
 
  ac_status=$?
20982
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20983
 
  (exit $ac_status); }; }; then
20984
 
  ac_cv_lib_xmlparse_XML_ParserCreate=yes
20985
 
else
20986
 
  echo "$as_me: failed program was:" >&5
20987
 
sed 's/^/| /' conftest.$ac_ext >&5
20988
 
 
20989
 
ac_cv_lib_xmlparse_XML_ParserCreate=no
20990
 
fi
20991
 
rm -f conftest.err conftest.$ac_objext \
20992
 
      conftest$ac_exeext conftest.$ac_ext
20993
 
LIBS=$ac_check_lib_save_LIBS
20994
 
fi
20995
 
echo "$as_me:$LINENO: result: $ac_cv_lib_xmlparse_XML_ParserCreate" >&5
20996
 
echo "${ECHO_T}$ac_cv_lib_xmlparse_XML_ParserCreate" >&6
20997
 
if test $ac_cv_lib_xmlparse_XML_ParserCreate = yes; then
20998
 
  have_expat_lib=yes
20999
 
else
21000
 
  have_expat_lib=no
21001
 
fi
21002
 
 
21003
 
else
21004
 
    echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21005
 
echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21006
 
if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21007
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21008
 
else
21009
 
  ac_check_lib_save_LIBS=$LIBS
21010
 
LIBS="-lexpat  $LIBS"
21011
 
cat >conftest.$ac_ext <<_ACEOF
21012
 
/* confdefs.h.  */
21013
 
_ACEOF
21014
 
cat confdefs.h >>conftest.$ac_ext
21015
 
cat >>conftest.$ac_ext <<_ACEOF
21016
 
/* end confdefs.h.  */
21017
 
 
21018
 
/* Override any gcc2 internal prototype to avoid an error.  */
21019
 
#ifdef __cplusplus
21020
 
extern "C"
21021
 
#endif
21022
 
/* We use char because int might match the return type of a gcc2
21023
 
   builtin and then its argument prototype would still apply.  */
21024
 
char XML_ParserCreate ();
21025
 
int
21026
 
main ()
21027
 
{
21028
 
XML_ParserCreate ();
21029
 
  ;
21030
 
  return 0;
21031
 
}
21032
 
_ACEOF
21033
 
rm -f conftest.$ac_objext conftest$ac_exeext
21034
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21035
 
  (eval $ac_link) 2>conftest.er1
21036
 
  ac_status=$?
21037
 
  grep -v '^ *+' conftest.er1 >conftest.err
21038
 
  rm -f conftest.er1
21039
 
  cat conftest.err >&5
21040
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21041
 
  (exit $ac_status); } &&
21042
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21043
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21044
 
  (eval $ac_try) 2>&5
21045
 
  ac_status=$?
21046
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21047
 
  (exit $ac_status); }; } &&
21048
 
         { ac_try='test -s conftest$ac_exeext'
21049
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21050
 
  (eval $ac_try) 2>&5
21051
 
  ac_status=$?
21052
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21053
 
  (exit $ac_status); }; }; then
21054
 
  ac_cv_lib_expat_XML_ParserCreate=yes
21055
 
else
21056
 
  echo "$as_me: failed program was:" >&5
21057
 
sed 's/^/| /' conftest.$ac_ext >&5
21058
 
 
21059
 
ac_cv_lib_expat_XML_ParserCreate=no
21060
 
fi
21061
 
rm -f conftest.err conftest.$ac_objext \
21062
 
      conftest$ac_exeext conftest.$ac_ext
21063
 
LIBS=$ac_check_lib_save_LIBS
21064
 
fi
21065
 
echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21066
 
echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21067
 
if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21068
 
  have_expat_lib=yes
21069
 
else
21070
 
  have_expat_lib=no
21071
 
fi
21072
 
 
21073
 
fi
21074
 
 
21075
 
if test x$have_expat_lib = xno; then
21076
 
    enable_php=no
21077
 
fi
21078
 
 
21079
 
echo "$as_me:$LINENO: checking for PHP development files" >&5
21080
 
echo $ECHO_N "checking for PHP development files... $ECHO_C" >&6
21081
 
PHP_VERSION=`$PHP_CONFIG --version 2>/dev/null`
21082
 
if test "X$PHP_VERSION" != "X" || test "X$ENABLE_PHP_FORCE" == "Xyes"; then
21083
 
    languages_available="$languages_available php($PHP_VERSION)"
21084
 
else
21085
 
    enable_php=no
21086
 
fi
21087
 
echo "$as_me:$LINENO: result: $enable_php" >&5
21088
 
echo "${ECHO_T}$enable_php" >&6
21089
 
 
21090
 
 
21091
 
if test "x$enable_php" = "xyes"; then
21092
 
  PHP_ENABLED_TRUE=
21093
 
  PHP_ENABLED_FALSE='#'
21094
 
else
21095
 
  PHP_ENABLED_TRUE='#'
21096
 
  PHP_ENABLED_FALSE=
21097
 
fi
21098
 
 
 
21170
{ echo "$as_me:$LINENO: result: $enable_python" >&5
 
21171
echo "${ECHO_T}$enable_python" >&6; }
 
21172
 
 
21173
 
 
21174
# -----------
 
21175
# PHP 4 binding
 
21176
# -----------
 
21177
 
 
21178
# Check whether --enable-php4 was given.
 
21179
if test "${enable_php4+set}" = set; then
 
21180
  enableval=$enable_php4;
 
21181
else
 
21182
  enable_php4="yes"
 
21183
fi
 
21184
 
 
21185
 
 
21186
# Check whether --enable-php4-force was given.
 
21187
if test "${enable_php4_force+set}" = set; then
 
21188
  enableval=$enable_php4_force; ENABLE_PHP4_FORCE="yes"
 
21189
else
 
21190
  ENABLE_PHP4_FORCE="no"
 
21191
fi
 
21192
 
 
21193
 
 
21194
 
 
21195
# Check whether --with-php4-config was given.
 
21196
if test "${with_php4_config+set}" = set; then
 
21197
  withval=$with_php4_config;
 
21198
fi
 
21199
 
 
21200
 
 
21201
 
 
21202
# Check whether --with-php4-extension-dir was given.
 
21203
if test "${with_php4_extension_dir+set}" = set; then
 
21204
  withval=$with_php4_extension_dir; PHP4_EXTENSION_DIR="$withval"
 
21205
else
 
21206
  PHP4_EXTENSION_DIR=
 
21207
fi
 
21208
 
 
21209
 
 
21210
if test "X$with_php4_config" != "X" ; then
 
21211
    PHP4_CONFIG=$with_php4_config
 
21212
fi
 
21213
 
 
21214
if test "X$PHP4_CONFIG" != "X" ; then
 
21215
  PHP4_INCLUDES=`$PHP4_CONFIG --includes`
 
21216
  PHP4_LDFLAGS=`$PHP4_CONFIG --ldflags`
 
21217
  PHP4_LIBS=`$PHP4_CONFIG --libs`
 
21218
  PHP4_UNPREFIXED_EXTENSION_DIR=`$PHP4_CONFIG --extension-dir | $SED 's/\/usr//g'`
 
21219
  PHP4_PREFIX=`$PHP4_CONFIG --prefix`
 
21220
else
 
21221
  # We assume PHP are in /usr/local directory.
 
21222
  if test $MINGW -eq 1; then
 
21223
    CFLAGS="$CFLAGS -DZTS -DZEND_WIN32 -DWIN32 -D_MBCS"
 
21224
  fi
 
21225
  PHP4_INCLUDES="-I/usr/local/include/php4 -I/usr/local/include/php4/main -I/usr/local/include/php4/Zend -I/usr/local/include/php4/TSRM -I/usr/local/include/php4/win32"
 
21226
  PHP4_LDFLAGS=
 
21227
  PHP4_LIBS="-lphp4ts -lxmlparse -lxmltok"
 
21228
  PHP4_UNPREFIXED_EXTENSION_DIR=
 
21229
  PHP4_PREFIX=
 
21230
fi
 
21231
 
 
21232
 
 
21233
 
 
21234
 
 
21235
 
 
21236
 
 
21237
 
 
21238
have_expat_include=no
 
21239
if test $MINGW -eq 1; then
 
21240
    { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lxmlparse" >&5
 
21241
echo $ECHO_N "checking for XML_ParserCreate in -lxmlparse... $ECHO_C" >&6; }
 
21242
if test "${ac_cv_lib_xmlparse_XML_ParserCreate+set}" = set; then
 
21243
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21244
else
 
21245
  ac_check_lib_save_LIBS=$LIBS
 
21246
LIBS="-lxmlparse  $LIBS"
 
21247
cat >conftest.$ac_ext <<_ACEOF
 
21248
/* confdefs.h.  */
 
21249
_ACEOF
 
21250
cat confdefs.h >>conftest.$ac_ext
 
21251
cat >>conftest.$ac_ext <<_ACEOF
 
21252
/* end confdefs.h.  */
 
21253
 
 
21254
/* Override any GCC internal prototype to avoid an error.
 
21255
   Use char because int might match the return type of a GCC
 
21256
   builtin and then its argument prototype would still apply.  */
 
21257
#ifdef __cplusplus
 
21258
extern "C"
 
21259
#endif
 
21260
char XML_ParserCreate ();
 
21261
int
 
21262
main ()
 
21263
{
 
21264
return XML_ParserCreate ();
 
21265
  ;
 
21266
  return 0;
 
21267
}
 
21268
_ACEOF
 
21269
rm -f conftest.$ac_objext conftest$ac_exeext
 
21270
if { (ac_try="$ac_link"
 
21271
case "(($ac_try" in
 
21272
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21273
  *) ac_try_echo=$ac_try;;
 
21274
esac
 
21275
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21276
  (eval "$ac_link") 2>conftest.er1
 
21277
  ac_status=$?
 
21278
  grep -v '^ *+' conftest.er1 >conftest.err
 
21279
  rm -f conftest.er1
 
21280
  cat conftest.err >&5
 
21281
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21282
  (exit $ac_status); } && {
 
21283
         test -z "$ac_c_werror_flag" ||
 
21284
         test ! -s conftest.err
 
21285
       } && test -s conftest$ac_exeext &&
 
21286
       $as_test_x conftest$ac_exeext; then
 
21287
  ac_cv_lib_xmlparse_XML_ParserCreate=yes
 
21288
else
 
21289
  echo "$as_me: failed program was:" >&5
 
21290
sed 's/^/| /' conftest.$ac_ext >&5
 
21291
 
 
21292
        ac_cv_lib_xmlparse_XML_ParserCreate=no
 
21293
fi
 
21294
 
 
21295
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
21296
      conftest$ac_exeext conftest.$ac_ext
 
21297
LIBS=$ac_check_lib_save_LIBS
 
21298
fi
 
21299
{ echo "$as_me:$LINENO: result: $ac_cv_lib_xmlparse_XML_ParserCreate" >&5
 
21300
echo "${ECHO_T}$ac_cv_lib_xmlparse_XML_ParserCreate" >&6; }
 
21301
if test $ac_cv_lib_xmlparse_XML_ParserCreate = yes; then
 
21302
  have_expat_lib=yes
 
21303
else
 
21304
  have_expat_lib=no
 
21305
fi
 
21306
 
 
21307
else
 
21308
    { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
 
21309
echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
 
21310
if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
 
21311
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21312
else
 
21313
  ac_check_lib_save_LIBS=$LIBS
 
21314
LIBS="-lexpat  $LIBS"
 
21315
cat >conftest.$ac_ext <<_ACEOF
 
21316
/* confdefs.h.  */
 
21317
_ACEOF
 
21318
cat confdefs.h >>conftest.$ac_ext
 
21319
cat >>conftest.$ac_ext <<_ACEOF
 
21320
/* end confdefs.h.  */
 
21321
 
 
21322
/* Override any GCC internal prototype to avoid an error.
 
21323
   Use char because int might match the return type of a GCC
 
21324
   builtin and then its argument prototype would still apply.  */
 
21325
#ifdef __cplusplus
 
21326
extern "C"
 
21327
#endif
 
21328
char XML_ParserCreate ();
 
21329
int
 
21330
main ()
 
21331
{
 
21332
return XML_ParserCreate ();
 
21333
  ;
 
21334
  return 0;
 
21335
}
 
21336
_ACEOF
 
21337
rm -f conftest.$ac_objext conftest$ac_exeext
 
21338
if { (ac_try="$ac_link"
 
21339
case "(($ac_try" in
 
21340
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21341
  *) ac_try_echo=$ac_try;;
 
21342
esac
 
21343
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21344
  (eval "$ac_link") 2>conftest.er1
 
21345
  ac_status=$?
 
21346
  grep -v '^ *+' conftest.er1 >conftest.err
 
21347
  rm -f conftest.er1
 
21348
  cat conftest.err >&5
 
21349
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21350
  (exit $ac_status); } && {
 
21351
         test -z "$ac_c_werror_flag" ||
 
21352
         test ! -s conftest.err
 
21353
       } && test -s conftest$ac_exeext &&
 
21354
       $as_test_x conftest$ac_exeext; then
 
21355
  ac_cv_lib_expat_XML_ParserCreate=yes
 
21356
else
 
21357
  echo "$as_me: failed program was:" >&5
 
21358
sed 's/^/| /' conftest.$ac_ext >&5
 
21359
 
 
21360
        ac_cv_lib_expat_XML_ParserCreate=no
 
21361
fi
 
21362
 
 
21363
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
21364
      conftest$ac_exeext conftest.$ac_ext
 
21365
LIBS=$ac_check_lib_save_LIBS
 
21366
fi
 
21367
{ echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
 
21368
echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
 
21369
if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
 
21370
  have_expat_lib=yes
 
21371
else
 
21372
  have_expat_lib=no
 
21373
fi
 
21374
 
 
21375
fi
 
21376
 
 
21377
if test x$have_expat_lib = xno; then
 
21378
    enable_php4=no
 
21379
fi
 
21380
 
 
21381
{ echo "$as_me:$LINENO: checking for PHP 4 development files" >&5
 
21382
echo $ECHO_N "checking for PHP 4 development files... $ECHO_C" >&6; }
 
21383
if $PHP4_CONFIG --version | grep -q 4 || test "x$ENABLE_PHP4_FORCE" == "xyes"
 
21384
then
 
21385
        PHP4_VERSION=`$PHP4_CONFIG --version 2> /dev/null`
 
21386
        languages_available="$languages_available php4($PHP4_VERSION)"
 
21387
else
 
21388
        enable_php4=no
 
21389
fi
 
21390
 
 
21391
{ echo "$as_me:$LINENO: result: $enable_php4" >&5
 
21392
echo "${ECHO_T}$enable_php4" >&6; }
 
21393
 
 
21394
 
 
21395
if test "x$enable_php4" = "xyes"; then
 
21396
  PHP4_ENABLED_TRUE=
 
21397
  PHP4_ENABLED_FALSE='#'
 
21398
else
 
21399
  PHP4_ENABLED_TRUE='#'
 
21400
  PHP4_ENABLED_FALSE=
 
21401
fi
 
21402
 
 
21403
 
 
21404
 
 
21405
# -----------
 
21406
# PHP 5 binding
 
21407
# -----------
 
21408
 
 
21409
# Check whether --enable-php5 was given.
 
21410
if test "${enable_php5+set}" = set; then
 
21411
  enableval=$enable_php5;
 
21412
else
 
21413
  enable_php5="no"
 
21414
fi
 
21415
 
 
21416
 
 
21417
# Check whether --enable-php5-force was given.
 
21418
if test "${enable_php5_force+set}" = set; then
 
21419
  enableval=$enable_php5_force; ENABLE_PHP5_FORCE="yes"
 
21420
else
 
21421
  ENABLE_PHP5_FORCE="no"
 
21422
fi
 
21423
 
 
21424
 
 
21425
 
 
21426
# Check whether --with-php5-config was given.
 
21427
if test "${with_php5_config+set}" = set; then
 
21428
  withval=$with_php5_config;
 
21429
fi
 
21430
 
 
21431
 
 
21432
 
 
21433
# Check whether --with-php5-extension-dir was given.
 
21434
if test "${with_php5_extension_dir+set}" = set; then
 
21435
  withval=$with_php5_extension_dir; PHP5_EXTENSION_DIR="$withval"
 
21436
else
 
21437
  PHP5_EXTENSION_DIR=
 
21438
fi
 
21439
 
 
21440
 
 
21441
if test "X$with_php5_config" != "X" ; then
 
21442
    PHP5_CONFIG=$with_php5_config
 
21443
fi
 
21444
 
 
21445
if test "X$PHP5_CONFIG" != "X" ; then
 
21446
  PHP5_INCLUDES=`$PHP5_CONFIG --includes`
 
21447
  PHP5_LDFLAGS=`$PHP5_CONFIG --ldflags`
 
21448
  PHP5_LIBS=`$PHP5_CONFIG --libs`
 
21449
  PHP5_UNPREFIXED_EXTENSION_DIR=`$PHP5_CONFIG --extension-dir | $SED 's/\/usr//g'`
 
21450
  PHP5_PREFIX=`$PHP5_CONFIG --prefix`
 
21451
else
 
21452
  # We assume PHP are in /usr/local directory.
 
21453
  if test $MINGW -eq 1; then
 
21454
    CFLAGS="$CFLAGS -DZTS -DZEND_WIN32 -DWIN32 -D_MBCS"
 
21455
  fi
 
21456
  PHP5_INCLUDES="-I/usr/local/include/php5 -I/usr/local/include/php5/main -I/usr/local/include/php5/Zend -I/usr/local/include/php5/TSRM -I/usr/local/include/php5/win32"
 
21457
  PHP5_LDFLAGS=
 
21458
  PHP5_LIBS="-lphp5ts -lxmlparse -lxmltok"
 
21459
  PHP5_UNPREFIXED_EXTENSION_DIR=
 
21460
  PHP5_PREFIX=
 
21461
fi
 
21462
 
 
21463
 
 
21464
 
 
21465
 
 
21466
 
 
21467
 
 
21468
 
 
21469
have_expat_include=no
 
21470
if test $MINGW -eq 1; then
 
21471
    { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lxmlparse" >&5
 
21472
echo $ECHO_N "checking for XML_ParserCreate in -lxmlparse... $ECHO_C" >&6; }
 
21473
if test "${ac_cv_lib_xmlparse_XML_ParserCreate+set}" = set; then
 
21474
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21475
else
 
21476
  ac_check_lib_save_LIBS=$LIBS
 
21477
LIBS="-lxmlparse  $LIBS"
 
21478
cat >conftest.$ac_ext <<_ACEOF
 
21479
/* confdefs.h.  */
 
21480
_ACEOF
 
21481
cat confdefs.h >>conftest.$ac_ext
 
21482
cat >>conftest.$ac_ext <<_ACEOF
 
21483
/* end confdefs.h.  */
 
21484
 
 
21485
/* Override any GCC internal prototype to avoid an error.
 
21486
   Use char because int might match the return type of a GCC
 
21487
   builtin and then its argument prototype would still apply.  */
 
21488
#ifdef __cplusplus
 
21489
extern "C"
 
21490
#endif
 
21491
char XML_ParserCreate ();
 
21492
int
 
21493
main ()
 
21494
{
 
21495
return XML_ParserCreate ();
 
21496
  ;
 
21497
  return 0;
 
21498
}
 
21499
_ACEOF
 
21500
rm -f conftest.$ac_objext conftest$ac_exeext
 
21501
if { (ac_try="$ac_link"
 
21502
case "(($ac_try" in
 
21503
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21504
  *) ac_try_echo=$ac_try;;
 
21505
esac
 
21506
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21507
  (eval "$ac_link") 2>conftest.er1
 
21508
  ac_status=$?
 
21509
  grep -v '^ *+' conftest.er1 >conftest.err
 
21510
  rm -f conftest.er1
 
21511
  cat conftest.err >&5
 
21512
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21513
  (exit $ac_status); } && {
 
21514
         test -z "$ac_c_werror_flag" ||
 
21515
         test ! -s conftest.err
 
21516
       } && test -s conftest$ac_exeext &&
 
21517
       $as_test_x conftest$ac_exeext; then
 
21518
  ac_cv_lib_xmlparse_XML_ParserCreate=yes
 
21519
else
 
21520
  echo "$as_me: failed program was:" >&5
 
21521
sed 's/^/| /' conftest.$ac_ext >&5
 
21522
 
 
21523
        ac_cv_lib_xmlparse_XML_ParserCreate=no
 
21524
fi
 
21525
 
 
21526
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
21527
      conftest$ac_exeext conftest.$ac_ext
 
21528
LIBS=$ac_check_lib_save_LIBS
 
21529
fi
 
21530
{ echo "$as_me:$LINENO: result: $ac_cv_lib_xmlparse_XML_ParserCreate" >&5
 
21531
echo "${ECHO_T}$ac_cv_lib_xmlparse_XML_ParserCreate" >&6; }
 
21532
if test $ac_cv_lib_xmlparse_XML_ParserCreate = yes; then
 
21533
  have_expat_lib=yes
 
21534
else
 
21535
  have_expat_lib=no
 
21536
fi
 
21537
 
 
21538
else
 
21539
    { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
 
21540
echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
 
21541
if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
 
21542
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21543
else
 
21544
  ac_check_lib_save_LIBS=$LIBS
 
21545
LIBS="-lexpat  $LIBS"
 
21546
cat >conftest.$ac_ext <<_ACEOF
 
21547
/* confdefs.h.  */
 
21548
_ACEOF
 
21549
cat confdefs.h >>conftest.$ac_ext
 
21550
cat >>conftest.$ac_ext <<_ACEOF
 
21551
/* end confdefs.h.  */
 
21552
 
 
21553
/* Override any GCC internal prototype to avoid an error.
 
21554
   Use char because int might match the return type of a GCC
 
21555
   builtin and then its argument prototype would still apply.  */
 
21556
#ifdef __cplusplus
 
21557
extern "C"
 
21558
#endif
 
21559
char XML_ParserCreate ();
 
21560
int
 
21561
main ()
 
21562
{
 
21563
return XML_ParserCreate ();
 
21564
  ;
 
21565
  return 0;
 
21566
}
 
21567
_ACEOF
 
21568
rm -f conftest.$ac_objext conftest$ac_exeext
 
21569
if { (ac_try="$ac_link"
 
21570
case "(($ac_try" in
 
21571
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21572
  *) ac_try_echo=$ac_try;;
 
21573
esac
 
21574
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21575
  (eval "$ac_link") 2>conftest.er1
 
21576
  ac_status=$?
 
21577
  grep -v '^ *+' conftest.er1 >conftest.err
 
21578
  rm -f conftest.er1
 
21579
  cat conftest.err >&5
 
21580
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21581
  (exit $ac_status); } && {
 
21582
         test -z "$ac_c_werror_flag" ||
 
21583
         test ! -s conftest.err
 
21584
       } && test -s conftest$ac_exeext &&
 
21585
       $as_test_x conftest$ac_exeext; then
 
21586
  ac_cv_lib_expat_XML_ParserCreate=yes
 
21587
else
 
21588
  echo "$as_me: failed program was:" >&5
 
21589
sed 's/^/| /' conftest.$ac_ext >&5
 
21590
 
 
21591
        ac_cv_lib_expat_XML_ParserCreate=no
 
21592
fi
 
21593
 
 
21594
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
21595
      conftest$ac_exeext conftest.$ac_ext
 
21596
LIBS=$ac_check_lib_save_LIBS
 
21597
fi
 
21598
{ echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
 
21599
echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
 
21600
if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
 
21601
  have_expat_lib=yes
 
21602
else
 
21603
  have_expat_lib=no
 
21604
fi
 
21605
 
 
21606
fi
 
21607
 
 
21608
if test x$have_expat_lib = xno; then
 
21609
    enable_php5=no
 
21610
fi
 
21611
 
 
21612
{ echo "$as_me:$LINENO: checking for PHP 5 development files" >&5
 
21613
echo $ECHO_N "checking for PHP 5 development files... $ECHO_C" >&6; }
 
21614
if $PHP5_CONFIG --version | grep -q 5 || test "x$ENABLE_PHP5_FORCE" == "xyes"
 
21615
then
 
21616
        PHP5_VERSION=`$PHP5_CONFIG --version 2> /dev/null`
 
21617
        languages_available="$languages_available php5($PHP5_VERSION)"
 
21618
else
 
21619
        enable_php5=no
 
21620
fi
 
21621
 
 
21622
{ echo "$as_me:$LINENO: result: $enable_php5" >&5
 
21623
echo "${ECHO_T}$enable_php5" >&6; }
 
21624
 
 
21625
 
 
21626
if test "x$enable_php5" = "xyes"; then
 
21627
  PHP5_ENABLED_TRUE=
 
21628
  PHP5_ENABLED_FALSE='#'
 
21629
else
 
21630
  PHP5_ENABLED_TRUE='#'
 
21631
  PHP5_ENABLED_FALSE=
 
21632
fi
21099
21633
 
21100
21634
 
21101
21635
 
21172
21706
do
21173
21707
  # Extract the first word of "$ac_prog", so it can be a program name with args.
21174
21708
set dummy $ac_prog; ac_word=$2
21175
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
21176
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
21709
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21710
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21177
21711
if test "${ac_cv_prog_GACUTIL+set}" = set; then
21178
21712
  echo $ECHO_N "(cached) $ECHO_C" >&6
21179
21713
else
21186
21720
  IFS=$as_save_IFS
21187
21721
  test -z "$as_dir" && as_dir=.
21188
21722
  for ac_exec_ext in '' $ac_executable_extensions; do
21189
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
21723
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21190
21724
    ac_cv_prog_GACUTIL="$ac_prog"
21191
21725
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21192
21726
    break 2
21193
21727
  fi
21194
21728
done
21195
21729
done
 
21730
IFS=$as_save_IFS
21196
21731
 
21197
21732
fi
21198
21733
fi
21199
21734
GACUTIL=$ac_cv_prog_GACUTIL
21200
21735
if test -n "$GACUTIL"; then
21201
 
  echo "$as_me:$LINENO: result: $GACUTIL" >&5
21202
 
echo "${ECHO_T}$GACUTIL" >&6
 
21736
  { echo "$as_me:$LINENO: result: $GACUTIL" >&5
 
21737
echo "${ECHO_T}$GACUTIL" >&6; }
21203
21738
else
21204
 
  echo "$as_me:$LINENO: result: no" >&5
21205
 
echo "${ECHO_T}no" >&6
 
21739
  { echo "$as_me:$LINENO: result: no" >&5
 
21740
echo "${ECHO_T}no" >&6; }
21206
21741
fi
21207
21742
 
 
21743
 
21208
21744
  test -n "$GACUTIL" && break
21209
21745
done
21210
21746
 
21238
21774
# Perl binding
21239
21775
# ------------
21240
21776
 
21241
 
# Check whether --enable-perl or --disable-perl was given.
 
21777
# Check whether --enable-perl was given.
21242
21778
if test "${enable_perl+set}" = set; then
21243
 
  enableval="$enable_perl"
21244
 
 
 
21779
  enableval=$enable_perl;
21245
21780
else
21246
21781
  enable_perl="yes"
21247
 
fi;
 
21782
fi
 
21783
 
21248
21784
 
21249
21785
if test "X$PERL" != "X"; then
21250
21786
  PERLINSTALLSITEARCH=`$PERL -MConfig -e 'print $Config{installsitearch};'`
21256
21792
 
21257
21793
 
21258
21794
 
21259
 
echo "$as_me:$LINENO: checking for Perl API" >&5
21260
 
echo $ECHO_N "checking for Perl API... $ECHO_C" >&6
 
21795
{ echo "$as_me:$LINENO: checking for Perl API" >&5
 
21796
echo $ECHO_N "checking for Perl API... $ECHO_C" >&6; }
21261
21797
if test "X$enable_perl" != "Xno" ; then
21262
21798
  if test "X$enable_perl" != "Xyes"; then
21263
21799
    PERL=$enable_perl
21282
21818
  PERL_ENABLED_FALSE=
21283
21819
fi
21284
21820
 
21285
 
echo "$as_me:$LINENO: result: $enable_perl" >&5
21286
 
echo "${ECHO_T}$enable_perl" >&6
 
21821
{ echo "$as_me:$LINENO: result: $enable_perl" >&5
 
21822
echo "${ECHO_T}$enable_perl" >&6; }
21287
21823
 
21288
21824
 
21289
21825
 
21291
21827
_ldflags="${LDFLAGS}"
21292
21828
 
21293
21829
 
21294
 
# Check whether --with-zlib or --without-zlib was given.
 
21830
# Check whether --with-zlib was given.
21295
21831
if test "${with_zlib+set}" = set; then
21296
 
  withval="$with_zlib"
21297
 
 
 
21832
  withval=$with_zlib;
21298
21833
  if test "$withval" != "no" -a "$withval" != "yes"; then
21299
21834
    Z_DIR=$withval
21300
21835
    CPPFLAGS="${CPPFLAGS} -I$withval/include"
21301
21836
    LDFLAGS="${LDFLAGS} -L$withval/lib"
21302
21837
  fi
21303
21838
 
21304
 
fi;
 
21839
fi
 
21840
 
21305
21841
 
21306
21842
for ac_header in zlib.h
21307
21843
do
21308
21844
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21309
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
21310
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
21311
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21312
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
21845
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21846
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21847
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
21848
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21313
21849
  echo $ECHO_N "(cached) $ECHO_C" >&6
21314
21850
fi
21315
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21316
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
21851
ac_res=`eval echo '${'$as_ac_Header'}'`
 
21852
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21853
echo "${ECHO_T}$ac_res" >&6; }
21317
21854
else
21318
21855
  # Is the header compilable?
21319
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
21320
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
21856
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
21857
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21321
21858
cat >conftest.$ac_ext <<_ACEOF
21322
21859
/* confdefs.h.  */
21323
21860
_ACEOF
21328
21865
#include <$ac_header>
21329
21866
_ACEOF
21330
21867
rm -f conftest.$ac_objext
21331
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21332
 
  (eval $ac_compile) 2>conftest.er1
 
21868
if { (ac_try="$ac_compile"
 
21869
case "(($ac_try" in
 
21870
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21871
  *) ac_try_echo=$ac_try;;
 
21872
esac
 
21873
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21874
  (eval "$ac_compile") 2>conftest.er1
21333
21875
  ac_status=$?
21334
21876
  grep -v '^ *+' conftest.er1 >conftest.err
21335
21877
  rm -f conftest.er1
21336
21878
  cat conftest.err >&5
21337
21879
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21338
 
  (exit $ac_status); } &&
21339
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21340
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21341
 
  (eval $ac_try) 2>&5
21342
 
  ac_status=$?
21343
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21344
 
  (exit $ac_status); }; } &&
21345
 
         { ac_try='test -s conftest.$ac_objext'
21346
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21347
 
  (eval $ac_try) 2>&5
21348
 
  ac_status=$?
21349
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21350
 
  (exit $ac_status); }; }; then
 
21880
  (exit $ac_status); } && {
 
21881
         test -z "$ac_c_werror_flag" ||
 
21882
         test ! -s conftest.err
 
21883
       } && test -s conftest.$ac_objext; then
21351
21884
  ac_header_compiler=yes
21352
21885
else
21353
21886
  echo "$as_me: failed program was:" >&5
21354
21887
sed 's/^/| /' conftest.$ac_ext >&5
21355
21888
 
21356
 
ac_header_compiler=no
 
21889
        ac_header_compiler=no
21357
21890
fi
21358
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21359
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21360
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
21891
 
 
21892
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21893
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
21894
echo "${ECHO_T}$ac_header_compiler" >&6; }
21361
21895
 
21362
21896
# Is the header present?
21363
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
21364
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
21897
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
21898
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21365
21899
cat >conftest.$ac_ext <<_ACEOF
21366
21900
/* confdefs.h.  */
21367
21901
_ACEOF
21370
21904
/* end confdefs.h.  */
21371
21905
#include <$ac_header>
21372
21906
_ACEOF
21373
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21374
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
21907
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
21908
case "(($ac_try" in
 
21909
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21910
  *) ac_try_echo=$ac_try;;
 
21911
esac
 
21912
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21913
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21375
21914
  ac_status=$?
21376
21915
  grep -v '^ *+' conftest.er1 >conftest.err
21377
21916
  rm -f conftest.er1
21378
21917
  cat conftest.err >&5
21379
21918
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21380
 
  (exit $ac_status); } >/dev/null; then
21381
 
  if test -s conftest.err; then
21382
 
    ac_cpp_err=$ac_c_preproc_warn_flag
21383
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21384
 
  else
21385
 
    ac_cpp_err=
21386
 
  fi
21387
 
else
21388
 
  ac_cpp_err=yes
21389
 
fi
21390
 
if test -z "$ac_cpp_err"; then
 
21919
  (exit $ac_status); } >/dev/null && {
 
21920
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
21921
         test ! -s conftest.err
 
21922
       }; then
21391
21923
  ac_header_preproc=yes
21392
21924
else
21393
21925
  echo "$as_me: failed program was:" >&5
21395
21927
 
21396
21928
  ac_header_preproc=no
21397
21929
fi
 
21930
 
21398
21931
rm -f conftest.err conftest.$ac_ext
21399
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21400
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
21932
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
21933
echo "${ECHO_T}$ac_header_preproc" >&6; }
21401
21934
 
21402
21935
# So?  What about this header?
21403
21936
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21421
21954
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21422
21955
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21423
21956
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21424
 
    (
21425
 
      cat <<\_ASBOX
 
21957
    ( cat <<\_ASBOX
21426
21958
## ---------------------------------------------------------- ##
21427
21959
## Report this to lasso-devel@lists.labs.libre-entreprise.org ##
21428
21960
## ---------------------------------------------------------- ##
21429
21961
_ASBOX
21430
 
    ) |
21431
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
21962
     ) | sed "s/^/$as_me: WARNING:     /" >&2
21432
21963
    ;;
21433
21964
esac
21434
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
21435
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21436
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
21965
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21966
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
21967
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21437
21968
  echo $ECHO_N "(cached) $ECHO_C" >&6
21438
21969
else
21439
21970
  eval "$as_ac_Header=\$ac_header_preproc"
21440
21971
fi
21441
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21442
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
21972
ac_res=`eval echo '${'$as_ac_Header'}'`
 
21973
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21974
echo "${ECHO_T}$ac_res" >&6; }
21443
21975
 
21444
21976
fi
21445
21977
if test `eval echo '${'$as_ac_Header'}'` = yes; then
21446
21978
  cat >>confdefs.h <<_ACEOF
21447
21979
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21448
21980
_ACEOF
21449
 
 echo "$as_me:$LINENO: checking for gzread in -lz" >&5
21450
 
echo $ECHO_N "checking for gzread in -lz... $ECHO_C" >&6
 
21981
 { echo "$as_me:$LINENO: checking for gzread in -lz" >&5
 
21982
echo $ECHO_N "checking for gzread in -lz... $ECHO_C" >&6; }
21451
21983
if test "${ac_cv_lib_z_gzread+set}" = set; then
21452
21984
  echo $ECHO_N "(cached) $ECHO_C" >&6
21453
21985
else
21460
21992
cat >>conftest.$ac_ext <<_ACEOF
21461
21993
/* end confdefs.h.  */
21462
21994
 
21463
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21995
/* Override any GCC internal prototype to avoid an error.
 
21996
   Use char because int might match the return type of a GCC
 
21997
   builtin and then its argument prototype would still apply.  */
21464
21998
#ifdef __cplusplus
21465
21999
extern "C"
21466
22000
#endif
21467
 
/* We use char because int might match the return type of a gcc2
21468
 
   builtin and then its argument prototype would still apply.  */
21469
22001
char gzread ();
21470
22002
int
21471
22003
main ()
21472
22004
{
21473
 
gzread ();
 
22005
return gzread ();
21474
22006
  ;
21475
22007
  return 0;
21476
22008
}
21477
22009
_ACEOF
21478
22010
rm -f conftest.$ac_objext conftest$ac_exeext
21479
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21480
 
  (eval $ac_link) 2>conftest.er1
 
22011
if { (ac_try="$ac_link"
 
22012
case "(($ac_try" in
 
22013
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22014
  *) ac_try_echo=$ac_try;;
 
22015
esac
 
22016
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22017
  (eval "$ac_link") 2>conftest.er1
21481
22018
  ac_status=$?
21482
22019
  grep -v '^ *+' conftest.er1 >conftest.err
21483
22020
  rm -f conftest.er1
21484
22021
  cat conftest.err >&5
21485
22022
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21486
 
  (exit $ac_status); } &&
21487
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21488
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21489
 
  (eval $ac_try) 2>&5
21490
 
  ac_status=$?
21491
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21492
 
  (exit $ac_status); }; } &&
21493
 
         { ac_try='test -s conftest$ac_exeext'
21494
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21495
 
  (eval $ac_try) 2>&5
21496
 
  ac_status=$?
21497
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21498
 
  (exit $ac_status); }; }; then
 
22023
  (exit $ac_status); } && {
 
22024
         test -z "$ac_c_werror_flag" ||
 
22025
         test ! -s conftest.err
 
22026
       } && test -s conftest$ac_exeext &&
 
22027
       $as_test_x conftest$ac_exeext; then
21499
22028
  ac_cv_lib_z_gzread=yes
21500
22029
else
21501
22030
  echo "$as_me: failed program was:" >&5
21502
22031
sed 's/^/| /' conftest.$ac_ext >&5
21503
22032
 
21504
 
ac_cv_lib_z_gzread=no
 
22033
        ac_cv_lib_z_gzread=no
21505
22034
fi
21506
 
rm -f conftest.err conftest.$ac_objext \
 
22035
 
 
22036
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21507
22037
      conftest$ac_exeext conftest.$ac_ext
21508
22038
LIBS=$ac_check_lib_save_LIBS
21509
22039
fi
21510
 
echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzread" >&5
21511
 
echo "${ECHO_T}$ac_cv_lib_z_gzread" >&6
 
22040
{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzread" >&5
 
22041
echo "${ECHO_T}$ac_cv_lib_z_gzread" >&6; }
21512
22042
if test $ac_cv_lib_z_gzread = yes; then
21513
22043
 
21514
22044
 
21544
22074
CPPFLAGS=${_cppflags}
21545
22075
LDFLAGS=${_ldflags}
21546
22076
 
21547
 
# Check whether --enable-tests or --disable-tests was given.
 
22077
# Check whether --enable-tests was given.
21548
22078
if test "${enable_tests+set}" = set; then
21549
 
  enableval="$enable_tests"
21550
 
 
 
22079
  enableval=$enable_tests;
21551
22080
else
21552
22081
  enable_tests="yes"
21553
 
fi;
 
22082
fi
 
22083
 
21554
22084
if test "x$enable_tests" = xyes ; then
21555
 
  echo "$as_me:$LINENO: checking for srunner_set_log in -lcheck" >&5
21556
 
echo $ECHO_N "checking for srunner_set_log in -lcheck... $ECHO_C" >&6
 
22085
  { echo "$as_me:$LINENO: checking for srunner_set_log in -lcheck" >&5
 
22086
echo $ECHO_N "checking for srunner_set_log in -lcheck... $ECHO_C" >&6; }
21557
22087
if test "${ac_cv_lib_check_srunner_set_log+set}" = set; then
21558
22088
  echo $ECHO_N "(cached) $ECHO_C" >&6
21559
22089
else
21566
22096
cat >>conftest.$ac_ext <<_ACEOF
21567
22097
/* end confdefs.h.  */
21568
22098
 
21569
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22099
/* Override any GCC internal prototype to avoid an error.
 
22100
   Use char because int might match the return type of a GCC
 
22101
   builtin and then its argument prototype would still apply.  */
21570
22102
#ifdef __cplusplus
21571
22103
extern "C"
21572
22104
#endif
21573
 
/* We use char because int might match the return type of a gcc2
21574
 
   builtin and then its argument prototype would still apply.  */
21575
22105
char srunner_set_log ();
21576
22106
int
21577
22107
main ()
21578
22108
{
21579
 
srunner_set_log ();
 
22109
return srunner_set_log ();
21580
22110
  ;
21581
22111
  return 0;
21582
22112
}
21583
22113
_ACEOF
21584
22114
rm -f conftest.$ac_objext conftest$ac_exeext
21585
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21586
 
  (eval $ac_link) 2>conftest.er1
 
22115
if { (ac_try="$ac_link"
 
22116
case "(($ac_try" in
 
22117
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22118
  *) ac_try_echo=$ac_try;;
 
22119
esac
 
22120
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22121
  (eval "$ac_link") 2>conftest.er1
21587
22122
  ac_status=$?
21588
22123
  grep -v '^ *+' conftest.er1 >conftest.err
21589
22124
  rm -f conftest.er1
21590
22125
  cat conftest.err >&5
21591
22126
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21592
 
  (exit $ac_status); } &&
21593
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21594
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21595
 
  (eval $ac_try) 2>&5
21596
 
  ac_status=$?
21597
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598
 
  (exit $ac_status); }; } &&
21599
 
         { ac_try='test -s conftest$ac_exeext'
21600
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21601
 
  (eval $ac_try) 2>&5
21602
 
  ac_status=$?
21603
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604
 
  (exit $ac_status); }; }; then
 
22127
  (exit $ac_status); } && {
 
22128
         test -z "$ac_c_werror_flag" ||
 
22129
         test ! -s conftest.err
 
22130
       } && test -s conftest$ac_exeext &&
 
22131
       $as_test_x conftest$ac_exeext; then
21605
22132
  ac_cv_lib_check_srunner_set_log=yes
21606
22133
else
21607
22134
  echo "$as_me: failed program was:" >&5
21608
22135
sed 's/^/| /' conftest.$ac_ext >&5
21609
22136
 
21610
 
ac_cv_lib_check_srunner_set_log=no
 
22137
        ac_cv_lib_check_srunner_set_log=no
21611
22138
fi
21612
 
rm -f conftest.err conftest.$ac_objext \
 
22139
 
 
22140
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21613
22141
      conftest$ac_exeext conftest.$ac_ext
21614
22142
LIBS=$ac_check_lib_save_LIBS
21615
22143
fi
21616
 
echo "$as_me:$LINENO: result: $ac_cv_lib_check_srunner_set_log" >&5
21617
 
echo "${ECHO_T}$ac_cv_lib_check_srunner_set_log" >&6
 
22144
{ echo "$as_me:$LINENO: result: $ac_cv_lib_check_srunner_set_log" >&5
 
22145
echo "${ECHO_T}$ac_cv_lib_check_srunner_set_log" >&6; }
21618
22146
if test $ac_cv_lib_check_srunner_set_log = yes; then
21619
22147
  enable_tests="yes"
21620
22148
else
21625
22153
  CHECK_LIBS="-lcheck"
21626
22154
 
21627
22155
 
21628
 
  echo "$as_me:$LINENO: checking for srunner_set_xml in -lcheck" >&5
21629
 
echo $ECHO_N "checking for srunner_set_xml in -lcheck... $ECHO_C" >&6
 
22156
  { echo "$as_me:$LINENO: checking for srunner_set_xml in -lcheck" >&5
 
22157
echo $ECHO_N "checking for srunner_set_xml in -lcheck... $ECHO_C" >&6; }
21630
22158
if test "${ac_cv_lib_check_srunner_set_xml+set}" = set; then
21631
22159
  echo $ECHO_N "(cached) $ECHO_C" >&6
21632
22160
else
21639
22167
cat >>conftest.$ac_ext <<_ACEOF
21640
22168
/* end confdefs.h.  */
21641
22169
 
21642
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22170
/* Override any GCC internal prototype to avoid an error.
 
22171
   Use char because int might match the return type of a GCC
 
22172
   builtin and then its argument prototype would still apply.  */
21643
22173
#ifdef __cplusplus
21644
22174
extern "C"
21645
22175
#endif
21646
 
/* We use char because int might match the return type of a gcc2
21647
 
   builtin and then its argument prototype would still apply.  */
21648
22176
char srunner_set_xml ();
21649
22177
int
21650
22178
main ()
21651
22179
{
21652
 
srunner_set_xml ();
 
22180
return srunner_set_xml ();
21653
22181
  ;
21654
22182
  return 0;
21655
22183
}
21656
22184
_ACEOF
21657
22185
rm -f conftest.$ac_objext conftest$ac_exeext
21658
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21659
 
  (eval $ac_link) 2>conftest.er1
 
22186
if { (ac_try="$ac_link"
 
22187
case "(($ac_try" in
 
22188
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22189
  *) ac_try_echo=$ac_try;;
 
22190
esac
 
22191
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22192
  (eval "$ac_link") 2>conftest.er1
21660
22193
  ac_status=$?
21661
22194
  grep -v '^ *+' conftest.er1 >conftest.err
21662
22195
  rm -f conftest.er1
21663
22196
  cat conftest.err >&5
21664
22197
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21665
 
  (exit $ac_status); } &&
21666
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21667
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21668
 
  (eval $ac_try) 2>&5
21669
 
  ac_status=$?
21670
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21671
 
  (exit $ac_status); }; } &&
21672
 
         { ac_try='test -s conftest$ac_exeext'
21673
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21674
 
  (eval $ac_try) 2>&5
21675
 
  ac_status=$?
21676
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21677
 
  (exit $ac_status); }; }; then
 
22198
  (exit $ac_status); } && {
 
22199
         test -z "$ac_c_werror_flag" ||
 
22200
         test ! -s conftest.err
 
22201
       } && test -s conftest$ac_exeext &&
 
22202
       $as_test_x conftest$ac_exeext; then
21678
22203
  ac_cv_lib_check_srunner_set_xml=yes
21679
22204
else
21680
22205
  echo "$as_me: failed program was:" >&5
21681
22206
sed 's/^/| /' conftest.$ac_ext >&5
21682
22207
 
21683
 
ac_cv_lib_check_srunner_set_xml=no
 
22208
        ac_cv_lib_check_srunner_set_xml=no
21684
22209
fi
21685
 
rm -f conftest.err conftest.$ac_objext \
 
22210
 
 
22211
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21686
22212
      conftest$ac_exeext conftest.$ac_ext
21687
22213
LIBS=$ac_check_lib_save_LIBS
21688
22214
fi
21689
 
echo "$as_me:$LINENO: result: $ac_cv_lib_check_srunner_set_xml" >&5
21690
 
echo "${ECHO_T}$ac_cv_lib_check_srunner_set_xml" >&6
 
22215
{ echo "$as_me:$LINENO: result: $ac_cv_lib_check_srunner_set_xml" >&5
 
22216
echo "${ECHO_T}$ac_cv_lib_check_srunner_set_xml" >&6; }
21691
22217
if test $ac_cv_lib_check_srunner_set_xml = yes; then
21692
22218
 
21693
22219
cat >>confdefs.h <<\_ACEOF
21722
22248
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
21723
22249
 
21724
22250
 
21725
 
# Check whether --enable-wsf or --disable-wsf was given.
 
22251
# Check whether --enable-wsf was given.
21726
22252
if test "${enable_wsf+set}" = set; then
21727
 
  enableval="$enable_wsf"
21728
 
  enable_wsf="yes"
 
22253
  enableval=$enable_wsf; enable_wsf="yes"
21729
22254
else
21730
22255
  enable_wsf="no"
21731
 
fi;
 
22256
fi
 
22257
 
21732
22258
 
21733
22259
 
21734
22260
 
21777
22303
 
21778
22304
 
21779
22305
 
21780
 
echo "$as_me:$LINENO: checking for docs folder" >&5
21781
 
echo $ECHO_N "checking for docs folder... $ECHO_C" >&6
 
22306
{ echo "$as_me:$LINENO: checking for docs folder" >&5
 
22307
echo $ECHO_N "checking for docs folder... $ECHO_C" >&6; }
21782
22308
 
21783
 
# Check whether --with-html-dir or --without-html-dir was given.
 
22309
# Check whether --with-html-dir was given.
21784
22310
if test "${with_html_dir+set}" = set; then
21785
 
  withval="$with_html_dir"
 
22311
  withval=$with_html_dir;
 
22312
fi
21786
22313
 
21787
 
fi;
21788
22314
if test "z$with_html_dir" != "z" ; then
21789
22315
    LASSO_DOCDIR=$with_html_dir
21790
22316
else
21791
22317
    LASSO_DOCDIR='$(datadir)/doc/lasso'
21792
22318
fi
21793
 
echo "$as_me:$LINENO: result: $LASSO_DOCDIR" >&5
21794
 
echo "${ECHO_T}$LASSO_DOCDIR" >&6
21795
 
 
21796
 
 
21797
 
 
21798
 
# Check whether --with-html-dir or --without-html-dir was given.
 
22319
{ echo "$as_me:$LINENO: result: $LASSO_DOCDIR" >&5
 
22320
echo "${ECHO_T}$LASSO_DOCDIR" >&6; }
 
22321
 
 
22322
 
 
22323
 
 
22324
# Check whether --with-html-dir was given.
21799
22325
if test "${with_html_dir+set}" = set; then
21800
 
  withval="$with_html_dir"
 
22326
  withval=$with_html_dir;
 
22327
fi
21801
22328
 
21802
 
fi;
21803
22329
 
21804
22330
if test "x$with_html_dir" = "x" ; then
21805
22331
  HTML_DIR='${datadir}/gtk-doc/html'
21810
22336
 
21811
22337
 
21812
22338
 
21813
 
# Check whether --with-pkg-config or --without-pkg-config was given.
 
22339
# Check whether --with-pkg-config was given.
21814
22340
if test "${with_pkg_config+set}" = set; then
21815
 
  withval="$with_pkg_config"
21816
 
  PKG_CONFIG_PATH="${withval}"
 
22341
  withval=$with_pkg_config; PKG_CONFIG_PATH="${withval}"
21817
22342
else
21818
22343
  PKG_CONFIG_PATH=""
21819
 
fi;
 
22344
fi
 
22345
 
21820
22346
if test "z$PKG_CONFIG_PATH" != "z"; then
21821
22347
    export PKG_CONFIG_PATH
21822
22348
fi
21827
22353
        if test -n "$ac_tool_prefix"; then
21828
22354
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21829
22355
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
21830
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
21831
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
22356
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
22357
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21832
22358
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21833
22359
  echo $ECHO_N "(cached) $ECHO_C" >&6
21834
22360
else
21843
22369
  IFS=$as_save_IFS
21844
22370
  test -z "$as_dir" && as_dir=.
21845
22371
  for ac_exec_ext in '' $ac_executable_extensions; do
21846
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
22372
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21847
22373
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21848
22374
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21849
22375
    break 2
21850
22376
  fi
21851
22377
done
21852
22378
done
 
22379
IFS=$as_save_IFS
21853
22380
 
21854
22381
  ;;
21855
22382
esac
21856
22383
fi
21857
22384
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21858
 
 
21859
22385
if test -n "$PKG_CONFIG"; then
21860
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21861
 
echo "${ECHO_T}$PKG_CONFIG" >&6
 
22386
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
22387
echo "${ECHO_T}$PKG_CONFIG" >&6; }
21862
22388
else
21863
 
  echo "$as_me:$LINENO: result: no" >&5
21864
 
echo "${ECHO_T}no" >&6
 
22389
  { echo "$as_me:$LINENO: result: no" >&5
 
22390
echo "${ECHO_T}no" >&6; }
21865
22391
fi
 
22392
 
21866
22393
 
21867
22394
fi
21868
22395
if test -z "$ac_cv_path_PKG_CONFIG"; then
21869
22396
  ac_pt_PKG_CONFIG=$PKG_CONFIG
21870
22397
  # Extract the first word of "pkg-config", so it can be a program name with args.
21871
22398
set dummy pkg-config; ac_word=$2
21872
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
21873
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
22399
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
22400
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21874
22401
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
21875
22402
  echo $ECHO_N "(cached) $ECHO_C" >&6
21876
22403
else
21885
22412
  IFS=$as_save_IFS
21886
22413
  test -z "$as_dir" && as_dir=.
21887
22414
  for ac_exec_ext in '' $ac_executable_extensions; do
21888
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
22415
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21889
22416
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21890
22417
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21891
22418
    break 2
21892
22419
  fi
21893
22420
done
21894
22421
done
 
22422
IFS=$as_save_IFS
21895
22423
 
21896
22424
  ;;
21897
22425
esac
21898
22426
fi
21899
22427
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
21900
 
 
21901
22428
if test -n "$ac_pt_PKG_CONFIG"; then
21902
 
  echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
21903
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
 
22429
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
22430
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
21904
22431
else
21905
 
  echo "$as_me:$LINENO: result: no" >&5
21906
 
echo "${ECHO_T}no" >&6
 
22432
  { echo "$as_me:$LINENO: result: no" >&5
 
22433
echo "${ECHO_T}no" >&6; }
21907
22434
fi
21908
22435
 
21909
 
  PKG_CONFIG=$ac_pt_PKG_CONFIG
 
22436
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
22437
    PKG_CONFIG=""
 
22438
  else
 
22439
    case $cross_compiling:$ac_tool_warned in
 
22440
yes:)
 
22441
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
22442
whose name does not start with the host triplet.  If you think this
 
22443
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
22444
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
22445
whose name does not start with the host triplet.  If you think this
 
22446
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
22447
ac_tool_warned=yes ;;
 
22448
esac
 
22449
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
22450
  fi
21910
22451
else
21911
22452
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
21912
22453
fi
21914
22455
fi
21915
22456
if test -n "$PKG_CONFIG"; then
21916
22457
        _pkg_min_version=0.9.0
21917
 
        echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
21918
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
 
22458
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
22459
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
21919
22460
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
21920
 
                echo "$as_me:$LINENO: result: yes" >&5
21921
 
echo "${ECHO_T}yes" >&6
 
22461
                { echo "$as_me:$LINENO: result: yes" >&5
 
22462
echo "${ECHO_T}yes" >&6; }
21922
22463
        else
21923
 
                echo "$as_me:$LINENO: result: no" >&5
21924
 
echo "${ECHO_T}no" >&6
 
22464
                { echo "$as_me:$LINENO: result: no" >&5
 
22465
echo "${ECHO_T}no" >&6; }
21925
22466
                PKG_CONFIG=""
21926
22467
        fi
21927
22468
 
21928
22469
fi
21929
22470
 
21930
22471
pkg_failed=no
21931
 
echo "$as_me:$LINENO: checking for LASSO" >&5
21932
 
echo $ECHO_N "checking for LASSO... $ECHO_C" >&6
 
22472
{ echo "$as_me:$LINENO: checking for LASSO" >&5
 
22473
echo $ECHO_N "checking for LASSO... $ECHO_C" >&6; }
21933
22474
 
21934
22475
if test -n "$PKG_CONFIG"; then
 
22476
    if test -n "$LASSO_CFLAGS"; then
 
22477
        pkg_cv_LASSO_CFLAGS="$LASSO_CFLAGS"
 
22478
    else
21935
22479
        if test -n "$PKG_CONFIG" && \
21936
22480
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.4.0 gobject-2.0 >= 2.4.0 libxml-2.0 libxslt xmlsec1 >= 1.2.6 xmlsec1-openssl >= 1.2.6 openssl\"") >&5
21937
22481
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.4.0 gobject-2.0 >= 2.4.0 libxml-2.0 libxslt xmlsec1 >= 1.2.6 xmlsec1-openssl >= 1.2.6 openssl") 2>&5
21942
22486
else
21943
22487
  pkg_failed=yes
21944
22488
fi
 
22489
    fi
21945
22490
else
21946
22491
        pkg_failed=untried
21947
22492
fi
21948
22493
if test -n "$PKG_CONFIG"; then
 
22494
    if test -n "$LASSO_LIBS"; then
 
22495
        pkg_cv_LASSO_LIBS="$LASSO_LIBS"
 
22496
    else
21949
22497
        if test -n "$PKG_CONFIG" && \
21950
22498
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.4.0 gobject-2.0 >= 2.4.0 libxml-2.0 libxslt xmlsec1 >= 1.2.6 xmlsec1-openssl >= 1.2.6 openssl\"") >&5
21951
22499
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.4.0 gobject-2.0 >= 2.4.0 libxml-2.0 libxslt xmlsec1 >= 1.2.6 xmlsec1-openssl >= 1.2.6 openssl") 2>&5
21956
22504
else
21957
22505
  pkg_failed=yes
21958
22506
fi
 
22507
    fi
21959
22508
else
21960
22509
        pkg_failed=untried
21961
22510
fi
21962
22511
 
 
22512
 
 
22513
 
21963
22514
if test $pkg_failed = yes; then
21964
 
        LASSO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4.0 gobject-2.0 >= 2.4.0 libxml-2.0 libxslt xmlsec1 >= 1.2.6 xmlsec1-openssl >= 1.2.6 openssl"`
 
22515
 
 
22516
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
22517
        _pkg_short_errors_supported=yes
 
22518
else
 
22519
        _pkg_short_errors_supported=no
 
22520
fi
 
22521
        if test $_pkg_short_errors_supported = yes; then
 
22522
                LASSO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.4.0 gobject-2.0 >= 2.4.0 libxml-2.0 libxslt xmlsec1 >= 1.2.6 xmlsec1-openssl >= 1.2.6 openssl"`
 
22523
        else
 
22524
                LASSO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4.0 gobject-2.0 >= 2.4.0 libxml-2.0 libxslt xmlsec1 >= 1.2.6 xmlsec1-openssl >= 1.2.6 openssl"`
 
22525
        fi
21965
22526
        # Put the nasty error message in config.log where it belongs
21966
 
        echo "$LASSO_PKG_ERRORS" 1>&5
21967
 
 
21968
 
        { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= 2.4.0 gobject-2.0 >= 2.4.0 libxml-2.0 libxslt xmlsec1 >= 1.2.6 xmlsec1-openssl >= 1.2.6 openssl) were not met.
21969
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
21970
 
installed software in a non-standard prefix.
21971
 
 
21972
 
Alternatively you may set the LASSO_CFLAGS and LASSO_LIBS environment variables
21973
 
to avoid the need to call pkg-config.  See the pkg-config man page for
21974
 
more details." >&5
21975
 
echo "$as_me: error: Package requirements (glib-2.0 >= 2.4.0 gobject-2.0 >= 2.4.0 libxml-2.0 libxslt xmlsec1 >= 1.2.6 xmlsec1-openssl >= 1.2.6 openssl) were not met.
21976
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
21977
 
installed software in a non-standard prefix.
21978
 
 
21979
 
Alternatively you may set the LASSO_CFLAGS and LASSO_LIBS environment variables
21980
 
to avoid the need to call pkg-config.  See the pkg-config man page for
21981
 
more details." >&2;}
 
22527
        echo "$LASSO_PKG_ERRORS" >&5
 
22528
 
 
22529
        { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= 2.4.0 gobject-2.0 >= 2.4.0 libxml-2.0 libxslt xmlsec1 >= 1.2.6 xmlsec1-openssl >= 1.2.6 openssl) were not met:
 
22530
 
 
22531
$LASSO_PKG_ERRORS
 
22532
 
 
22533
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
22534
installed software in a non-standard prefix.
 
22535
 
 
22536
Alternatively, you may set the environment variables LASSO_CFLAGS
 
22537
and LASSO_LIBS to avoid the need to call pkg-config.
 
22538
See the pkg-config man page for more details.
 
22539
" >&5
 
22540
echo "$as_me: error: Package requirements (glib-2.0 >= 2.4.0 gobject-2.0 >= 2.4.0 libxml-2.0 libxslt xmlsec1 >= 1.2.6 xmlsec1-openssl >= 1.2.6 openssl) were not met:
 
22541
 
 
22542
$LASSO_PKG_ERRORS
 
22543
 
 
22544
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
22545
installed software in a non-standard prefix.
 
22546
 
 
22547
Alternatively, you may set the environment variables LASSO_CFLAGS
 
22548
and LASSO_LIBS to avoid the need to call pkg-config.
 
22549
See the pkg-config man page for more details.
 
22550
" >&2;}
21982
22551
   { (exit 1); exit 1; }; }
21983
22552
elif test $pkg_failed = untried; then
21984
22553
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
21985
22554
is in your PATH or set the PKG_CONFIG environment variable to the full
21986
22555
path to pkg-config.
21987
22556
 
21988
 
Alternatively you may set the LASSO_CFLAGS and LASSO_LIBS environment variables
21989
 
to avoid the need to call pkg-config.  See the pkg-config man page for
21990
 
more details.
 
22557
Alternatively, you may set the environment variables LASSO_CFLAGS
 
22558
and LASSO_LIBS to avoid the need to call pkg-config.
 
22559
See the pkg-config man page for more details.
21991
22560
 
21992
22561
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
21993
22562
See \`config.log' for more details." >&5
21995
22564
is in your PATH or set the PKG_CONFIG environment variable to the full
21996
22565
path to pkg-config.
21997
22566
 
21998
 
Alternatively you may set the LASSO_CFLAGS and LASSO_LIBS environment variables
21999
 
to avoid the need to call pkg-config.  See the pkg-config man page for
22000
 
more details.
 
22567
Alternatively, you may set the environment variables LASSO_CFLAGS
 
22568
and LASSO_LIBS to avoid the need to call pkg-config.
 
22569
See the pkg-config man page for more details.
22001
22570
 
22002
22571
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
22003
22572
See \`config.log' for more details." >&2;}
22005
22574
else
22006
22575
        LASSO_CFLAGS=$pkg_cv_LASSO_CFLAGS
22007
22576
        LASSO_LIBS=$pkg_cv_LASSO_LIBS
22008
 
        echo "$as_me:$LINENO: result: yes" >&5
22009
 
echo "${ECHO_T}yes" >&6
 
22577
        { echo "$as_me:$LINENO: result: yes" >&5
 
22578
echo "${ECHO_T}yes" >&6; }
22010
22579
        :
22011
22580
fi
22012
22581
 
22013
22582
 
22014
 
# Check whether --with-sasl2 or --without-sasl2 was given.
 
22583
# Check whether --with-sasl2 was given.
22015
22584
if test "${with_sasl2+set}" = set; then
22016
 
  withval="$with_sasl2"
 
22585
  withval=$with_sasl2;
 
22586
fi
22017
22587
 
22018
 
fi;
22019
22588
if test "x$enable_wsf" = "xyes"; then
22020
22589
        if test "$with_sasl2" != "no" && test "$with_sasl2" != "yes"
22021
22590
        then
22025
22594
 
22026
22595
        saved_LIBS="$LIBS"
22027
22596
 
22028
 
echo "$as_me:$LINENO: checking for sasl_server_init in -lsasl2" >&5
22029
 
echo $ECHO_N "checking for sasl_server_init in -lsasl2... $ECHO_C" >&6
 
22597
{ echo "$as_me:$LINENO: checking for sasl_server_init in -lsasl2" >&5
 
22598
echo $ECHO_N "checking for sasl_server_init in -lsasl2... $ECHO_C" >&6; }
22030
22599
if test "${ac_cv_lib_sasl2_sasl_server_init+set}" = set; then
22031
22600
  echo $ECHO_N "(cached) $ECHO_C" >&6
22032
22601
else
22039
22608
cat >>conftest.$ac_ext <<_ACEOF
22040
22609
/* end confdefs.h.  */
22041
22610
 
22042
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22611
/* Override any GCC internal prototype to avoid an error.
 
22612
   Use char because int might match the return type of a GCC
 
22613
   builtin and then its argument prototype would still apply.  */
22043
22614
#ifdef __cplusplus
22044
22615
extern "C"
22045
22616
#endif
22046
 
/* We use char because int might match the return type of a gcc2
22047
 
   builtin and then its argument prototype would still apply.  */
22048
22617
char sasl_server_init ();
22049
22618
int
22050
22619
main ()
22051
22620
{
22052
 
sasl_server_init ();
 
22621
return sasl_server_init ();
22053
22622
  ;
22054
22623
  return 0;
22055
22624
}
22056
22625
_ACEOF
22057
22626
rm -f conftest.$ac_objext conftest$ac_exeext
22058
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22059
 
  (eval $ac_link) 2>conftest.er1
 
22627
if { (ac_try="$ac_link"
 
22628
case "(($ac_try" in
 
22629
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22630
  *) ac_try_echo=$ac_try;;
 
22631
esac
 
22632
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22633
  (eval "$ac_link") 2>conftest.er1
22060
22634
  ac_status=$?
22061
22635
  grep -v '^ *+' conftest.er1 >conftest.err
22062
22636
  rm -f conftest.er1
22063
22637
  cat conftest.err >&5
22064
22638
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22065
 
  (exit $ac_status); } &&
22066
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22067
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22068
 
  (eval $ac_try) 2>&5
22069
 
  ac_status=$?
22070
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22071
 
  (exit $ac_status); }; } &&
22072
 
         { ac_try='test -s conftest$ac_exeext'
22073
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22074
 
  (eval $ac_try) 2>&5
22075
 
  ac_status=$?
22076
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22077
 
  (exit $ac_status); }; }; then
 
22639
  (exit $ac_status); } && {
 
22640
         test -z "$ac_c_werror_flag" ||
 
22641
         test ! -s conftest.err
 
22642
       } && test -s conftest$ac_exeext &&
 
22643
       $as_test_x conftest$ac_exeext; then
22078
22644
  ac_cv_lib_sasl2_sasl_server_init=yes
22079
22645
else
22080
22646
  echo "$as_me: failed program was:" >&5
22081
22647
sed 's/^/| /' conftest.$ac_ext >&5
22082
22648
 
22083
 
ac_cv_lib_sasl2_sasl_server_init=no
 
22649
        ac_cv_lib_sasl2_sasl_server_init=no
22084
22650
fi
22085
 
rm -f conftest.err conftest.$ac_objext \
 
22651
 
 
22652
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22086
22653
      conftest$ac_exeext conftest.$ac_ext
22087
22654
LIBS=$ac_check_lib_save_LIBS
22088
22655
fi
22089
 
echo "$as_me:$LINENO: result: $ac_cv_lib_sasl2_sasl_server_init" >&5
22090
 
echo "${ECHO_T}$ac_cv_lib_sasl2_sasl_server_init" >&6
 
22656
{ echo "$as_me:$LINENO: result: $ac_cv_lib_sasl2_sasl_server_init" >&5
 
22657
echo "${ECHO_T}$ac_cv_lib_sasl2_sasl_server_init" >&6; }
22091
22658
if test $ac_cv_lib_sasl2_sasl_server_init = yes; then
22092
22659
  cat >>confdefs.h <<_ACEOF
22093
22660
#define HAVE_LIBSASL2 1
22105
22672
        LASSO_LIBS="$LASSO_LIBS -lsasl2"
22106
22673
fi
22107
22674
 
22108
 
# Check whether --enable-gtk-doc or --disable-gtk-doc was given.
 
22675
# Check whether --enable-gtk-doc was given.
22109
22676
if test "${enable_gtk_doc+set}" = set; then
22110
 
  enableval="$enable_gtk_doc"
22111
 
 
 
22677
  enableval=$enable_gtk_doc;
22112
22678
else
22113
22679
  enable_gtk_doc="yes"
22114
 
fi;
 
22680
fi
 
22681
 
22115
22682
 
22116
22683
if test "x$enable_gtk_doc" = "xyes" ; then
22117
22684
    GTK_DOC_MIN_VERSION=1.0
22118
22685
 
22119
22686
pkg_failed=no
22120
 
echo "$as_me:$LINENO: checking for GTK_DOC" >&5
22121
 
echo $ECHO_N "checking for GTK_DOC... $ECHO_C" >&6
 
22687
{ echo "$as_me:$LINENO: checking for GTK_DOC" >&5
 
22688
echo $ECHO_N "checking for GTK_DOC... $ECHO_C" >&6; }
22122
22689
 
22123
22690
if test -n "$PKG_CONFIG"; then
 
22691
    if test -n "$GTK_DOC_CFLAGS"; then
 
22692
        pkg_cv_GTK_DOC_CFLAGS="$GTK_DOC_CFLAGS"
 
22693
    else
22124
22694
        if test -n "$PKG_CONFIG" && \
22125
22695
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= \$GTK_DOC_MIN_VERSION\"") >&5
22126
22696
  ($PKG_CONFIG --exists --print-errors "gtk-doc >= $GTK_DOC_MIN_VERSION") 2>&5
22131
22701
else
22132
22702
  pkg_failed=yes
22133
22703
fi
 
22704
    fi
22134
22705
else
22135
22706
        pkg_failed=untried
22136
22707
fi
22137
22708
if test -n "$PKG_CONFIG"; then
 
22709
    if test -n "$GTK_DOC_LIBS"; then
 
22710
        pkg_cv_GTK_DOC_LIBS="$GTK_DOC_LIBS"
 
22711
    else
22138
22712
        if test -n "$PKG_CONFIG" && \
22139
22713
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= \$GTK_DOC_MIN_VERSION\"") >&5
22140
22714
  ($PKG_CONFIG --exists --print-errors "gtk-doc >= $GTK_DOC_MIN_VERSION") 2>&5
22145
22719
else
22146
22720
  pkg_failed=yes
22147
22721
fi
 
22722
    fi
22148
22723
else
22149
22724
        pkg_failed=untried
22150
22725
fi
22151
22726
 
 
22727
 
 
22728
 
22152
22729
if test $pkg_failed = yes; then
22153
 
        GTK_DOC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk-doc >= $GTK_DOC_MIN_VERSION"`
 
22730
 
 
22731
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
22732
        _pkg_short_errors_supported=yes
 
22733
else
 
22734
        _pkg_short_errors_supported=no
 
22735
fi
 
22736
        if test $_pkg_short_errors_supported = yes; then
 
22737
                GTK_DOC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk-doc >= $GTK_DOC_MIN_VERSION"`
 
22738
        else
 
22739
                GTK_DOC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk-doc >= $GTK_DOC_MIN_VERSION"`
 
22740
        fi
22154
22741
        # Put the nasty error message in config.log where it belongs
22155
 
        echo "$GTK_DOC_PKG_ERRORS" 1>&5
 
22742
        echo "$GTK_DOC_PKG_ERRORS" >&5
22156
22743
 
22157
 
        enable_gtk_doc="no"
 
22744
        { echo "$as_me:$LINENO: result: no" >&5
 
22745
echo "${ECHO_T}no" >&6; }
 
22746
                enable_gtk_doc="no"
22158
22747
elif test $pkg_failed = untried; then
22159
22748
        enable_gtk_doc="no"
22160
22749
else
22161
22750
        GTK_DOC_CFLAGS=$pkg_cv_GTK_DOC_CFLAGS
22162
22751
        GTK_DOC_LIBS=$pkg_cv_GTK_DOC_LIBS
22163
 
        echo "$as_me:$LINENO: result: yes" >&5
22164
 
echo "${ECHO_T}yes" >&6
 
22752
        { echo "$as_me:$LINENO: result: yes" >&5
 
22753
echo "${ECHO_T}yes" >&6; }
22165
22754
        enable_gtk_doc="yes"
22166
22755
fi
22167
22756
fi
22177
22766
 
22178
22767
 
22179
22768
 
22180
 
for ac_prog in rest2html
 
22769
for ac_prog in rest2html rst2html
22181
22770
do
22182
22771
  # Extract the first word of "$ac_prog", so it can be a program name with args.
22183
22772
set dummy $ac_prog; ac_word=$2
22184
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
22185
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
22773
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
22774
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22186
22775
if test "${ac_cv_prog_REST2HTML+set}" = set; then
22187
22776
  echo $ECHO_N "(cached) $ECHO_C" >&6
22188
22777
else
22195
22784
  IFS=$as_save_IFS
22196
22785
  test -z "$as_dir" && as_dir=.
22197
22786
  for ac_exec_ext in '' $ac_executable_extensions; do
22198
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
22787
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22199
22788
    ac_cv_prog_REST2HTML="$ac_prog"
22200
22789
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22201
22790
    break 2
22202
22791
  fi
22203
22792
done
22204
22793
done
 
22794
IFS=$as_save_IFS
22205
22795
 
22206
22796
fi
22207
22797
fi
22208
22798
REST2HTML=$ac_cv_prog_REST2HTML
22209
22799
if test -n "$REST2HTML"; then
22210
 
  echo "$as_me:$LINENO: result: $REST2HTML" >&5
22211
 
echo "${ECHO_T}$REST2HTML" >&6
 
22800
  { echo "$as_me:$LINENO: result: $REST2HTML" >&5
 
22801
echo "${ECHO_T}$REST2HTML" >&6; }
22212
22802
else
22213
 
  echo "$as_me:$LINENO: result: no" >&5
22214
 
echo "${ECHO_T}no" >&6
 
22803
  { echo "$as_me:$LINENO: result: no" >&5
 
22804
echo "${ECHO_T}no" >&6; }
22215
22805
fi
22216
22806
 
 
22807
 
22217
22808
  test -n "$REST2HTML" && break
22218
22809
done
22219
22810
 
22232
22823
do
22233
22824
  # Extract the first word of "$ac_prog", so it can be a program name with args.
22234
22825
set dummy $ac_prog; ac_word=$2
22235
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
22236
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
22826
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
22827
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22237
22828
if test "${ac_cv_prog_XSLTPROC+set}" = set; then
22238
22829
  echo $ECHO_N "(cached) $ECHO_C" >&6
22239
22830
else
22246
22837
  IFS=$as_save_IFS
22247
22838
  test -z "$as_dir" && as_dir=.
22248
22839
  for ac_exec_ext in '' $ac_executable_extensions; do
22249
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
22840
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22250
22841
    ac_cv_prog_XSLTPROC="$ac_prog"
22251
22842
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22252
22843
    break 2
22253
22844
  fi
22254
22845
done
22255
22846
done
 
22847
IFS=$as_save_IFS
22256
22848
 
22257
22849
fi
22258
22850
fi
22259
22851
XSLTPROC=$ac_cv_prog_XSLTPROC
22260
22852
if test -n "$XSLTPROC"; then
22261
 
  echo "$as_me:$LINENO: result: $XSLTPROC" >&5
22262
 
echo "${ECHO_T}$XSLTPROC" >&6
 
22853
  { echo "$as_me:$LINENO: result: $XSLTPROC" >&5
 
22854
echo "${ECHO_T}$XSLTPROC" >&6; }
22263
22855
else
22264
 
  echo "$as_me:$LINENO: result: no" >&5
22265
 
echo "${ECHO_T}no" >&6
 
22856
  { echo "$as_me:$LINENO: result: no" >&5
 
22857
echo "${ECHO_T}no" >&6; }
22266
22858
fi
22267
22859
 
 
22860
 
22268
22861
  test -n "$XSLTPROC" && break
22269
22862
done
22270
22863
 
22283
22876
do
22284
22877
  # Extract the first word of "$ac_prog", so it can be a program name with args.
22285
22878
set dummy $ac_prog; ac_word=$2
22286
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
22287
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
22879
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
22880
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22288
22881
if test "${ac_cv_prog_INKSCAPE+set}" = set; then
22289
22882
  echo $ECHO_N "(cached) $ECHO_C" >&6
22290
22883
else
22297
22890
  IFS=$as_save_IFS
22298
22891
  test -z "$as_dir" && as_dir=.
22299
22892
  for ac_exec_ext in '' $ac_executable_extensions; do
22300
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
22893
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22301
22894
    ac_cv_prog_INKSCAPE="$ac_prog"
22302
22895
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22303
22896
    break 2
22304
22897
  fi
22305
22898
done
22306
22899
done
 
22900
IFS=$as_save_IFS
22307
22901
 
22308
22902
fi
22309
22903
fi
22310
22904
INKSCAPE=$ac_cv_prog_INKSCAPE
22311
22905
if test -n "$INKSCAPE"; then
22312
 
  echo "$as_me:$LINENO: result: $INKSCAPE" >&5
22313
 
echo "${ECHO_T}$INKSCAPE" >&6
 
22906
  { echo "$as_me:$LINENO: result: $INKSCAPE" >&5
 
22907
echo "${ECHO_T}$INKSCAPE" >&6; }
22314
22908
else
22315
 
  echo "$as_me:$LINENO: result: no" >&5
22316
 
echo "${ECHO_T}no" >&6
 
22909
  { echo "$as_me:$LINENO: result: no" >&5
 
22910
echo "${ECHO_T}no" >&6; }
22317
22911
fi
22318
22912
 
 
22913
 
22319
22914
  test -n "$INKSCAPE" && break
22320
22915
done
22321
22916
 
22331
22926
 
22332
22927
 
22333
22928
 
22334
 
echo "$as_me:$LINENO: checking for debugging" >&5
22335
 
echo $ECHO_N "checking for debugging... $ECHO_C" >&6
22336
 
# Check whether --enable-debugging or --disable-debugging was given.
 
22929
{ echo "$as_me:$LINENO: checking for debugging" >&5
 
22930
echo $ECHO_N "checking for debugging... $ECHO_C" >&6; }
 
22931
# Check whether --enable-debugging was given.
22337
22932
if test "${enable_debugging+set}" = set; then
22338
 
  enableval="$enable_debugging"
 
22933
  enableval=$enable_debugging;
 
22934
fi
22339
22935
 
22340
 
fi;
22341
22936
if test "z$enable_debugging" = "zyes" ; then
22342
22937
    enable_debugging=yes
22343
22938
    LASSO_DEFINES="$LASSO_DEFINES -DLASSO_DEBUG"
22344
22939
else
22345
22940
    enable_debugging=no
22346
22941
fi
22347
 
echo "$as_me:$LINENO: result: $enable_debugging" >&5
22348
 
echo "${ECHO_T}$enable_debugging" >&6
 
22942
{ echo "$as_me:$LINENO: result: $enable_debugging" >&5
 
22943
echo "${ECHO_T}$enable_debugging" >&6; }
22349
22944
 
22350
 
echo "$as_me:$LINENO: checking for profiling" >&5
22351
 
echo $ECHO_N "checking for profiling... $ECHO_C" >&6
22352
 
# Check whether --enable-profiling or --disable-profiling was given.
 
22945
{ echo "$as_me:$LINENO: checking for profiling" >&5
 
22946
echo $ECHO_N "checking for profiling... $ECHO_C" >&6; }
 
22947
# Check whether --enable-profiling was given.
22353
22948
if test "${enable_profiling+set}" = set; then
22354
 
  enableval="$enable_profiling"
 
22949
  enableval=$enable_profiling;
 
22950
fi
22355
22951
 
22356
 
fi;
22357
22952
if test "z$enable_profiling" = "zyes" ; then
22358
22953
    CFLAGS="$CFLAGS -pg"
22359
 
    echo "$as_me:$LINENO: result: yes" >&5
22360
 
echo "${ECHO_T}yes" >&6
 
22954
    { echo "$as_me:$LINENO: result: yes" >&5
 
22955
echo "${ECHO_T}yes" >&6; }
22361
22956
else
22362
 
    echo "$as_me:$LINENO: result: no" >&5
22363
 
echo "${ECHO_T}no" >&6
 
22957
    { echo "$as_me:$LINENO: result: no" >&5
 
22958
echo "${ECHO_T}no" >&6; }
22364
22959
fi
22365
22960
 
22366
 
echo "$as_me:$LINENO: checking for pedantic" >&5
22367
 
echo $ECHO_N "checking for pedantic... $ECHO_C" >&6
22368
 
# Check whether --enable-pedantic or --disable-pedantic was given.
 
22961
{ echo "$as_me:$LINENO: checking for pedantic" >&5
 
22962
echo $ECHO_N "checking for pedantic... $ECHO_C" >&6; }
 
22963
# Check whether --enable-pedantic was given.
22369
22964
if test "${enable_pedantic+set}" = set; then
22370
 
  enableval="$enable_pedantic"
 
22965
  enableval=$enable_pedantic;
 
22966
fi
22371
22967
 
22372
 
fi;
22373
22968
if test "z$enable_pedantic" = "zyes" ; then
22374
22969
    CFLAGS="$CFLAGS -O -pedantic -Wall -ansi -fno-inline -W -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls"
22375
 
    echo "$as_me:$LINENO: result: yes" >&5
22376
 
echo "${ECHO_T}yes" >&6
 
22970
    { echo "$as_me:$LINENO: result: yes" >&5
 
22971
echo "${ECHO_T}yes" >&6; }
22377
22972
else
22378
 
    echo "$as_me:$LINENO: result: no" >&5
22379
 
echo "${ECHO_T}no" >&6
 
22973
    { echo "$as_me:$LINENO: result: no" >&5
 
22974
echo "${ECHO_T}no" >&6; }
22380
22975
fi
22381
22976
 
22382
22977
LASSO_STATIC_BINARIES=""
22383
 
echo "$as_me:$LINENO: checking for static linking" >&5
22384
 
echo $ECHO_N "checking for static linking... $ECHO_C" >&6
22385
 
# Check whether --enable-static_linking or --disable-static_linking was given.
 
22978
{ echo "$as_me:$LINENO: checking for static linking" >&5
 
22979
echo $ECHO_N "checking for static linking... $ECHO_C" >&6; }
 
22980
# Check whether --enable-static_linking was given.
22386
22981
if test "${enable_static_linking+set}" = set; then
22387
 
  enableval="$enable_static_linking"
 
22982
  enableval=$enable_static_linking;
 
22983
fi
22388
22984
 
22389
 
fi;
22390
22985
if test "z$enable_static_linking" = "zyes" ; then
22391
22986
    LASSO_STATIC_BINARIES="-static"
22392
 
    echo "$as_me:$LINENO: result: yes" >&5
22393
 
echo "${ECHO_T}yes" >&6
 
22987
    { echo "$as_me:$LINENO: result: yes" >&5
 
22988
echo "${ECHO_T}yes" >&6; }
22394
22989
else
22395
 
    echo "$as_me:$LINENO: result: no" >&5
22396
 
echo "${ECHO_T}no" >&6
 
22990
    { echo "$as_me:$LINENO: result: no" >&5
 
22991
echo "${ECHO_T}no" >&6; }
22397
22992
fi
22398
22993
 
22399
22994
 
22441
23036
 
22442
23037
 
22443
23038
 
22444
 
          ac_config_files="$ac_config_files lasso-src-config"
22445
 
 
22446
 
                                                                                                                                                                                                                                                                                                                                                                                                                ac_config_files="$ac_config_files Makefile docs/Makefile docs/lasso-book/Makefile docs/lasso-book/figures/Makefile docs/reference/Makefile docs/reference/version.xml java/Makefile lasso/Makefile lasso/id-ff/Makefile lasso/id-wsf/Makefile lasso/saml-2.0/Makefile lasso/xml/Makefile lasso/xml/saml-2.0/Makefile perl/Makefile php/Makefile python/Makefile swig/Makefile swig/wsf-support.i swig/saml-2.0/Makefile tests/Makefile tests/data/Makefile tests/data/ca1-la/Makefile tests/data/idp1-la/Makefile tests/data/lecp1-la/Makefile tests/data/sp1-la/Makefile lasso.pc win32/Makefile win32/lasso.rc win32/msvc/Makefile win32/msvc/lasso.dsp win32/msvc/lasso_config.h win32/msvc/java/Makefile win32/msvc/php/Makefile win32/msvc/python/Makefile win32/nsis/Makefile win32/nsis/jlasso-lite.nsi win32/nsis/lasso-deps.nsi win32/nsis/lasso-full.nsi win32/nsis/lasso-lite.nsi win32/nsis/python.nsi"
 
23039
ac_config_files="$ac_config_files lasso-src-config"
 
23040
 
 
23041
ac_config_files="$ac_config_files Makefile docs/Makefile docs/lasso-book/Makefile docs/lasso-book/figures/Makefile docs/reference/Makefile docs/reference/version.xml java/Makefile lasso/Makefile lasso/id-ff/Makefile lasso/id-wsf/Makefile lasso/saml-2.0/Makefile lasso/xml/Makefile lasso/xml/saml-2.0/Makefile perl/Makefile php/Makefile php5/Makefile python/Makefile swig/Makefile swig/wsf-support.i swig/saml-2.0/Makefile tests/Makefile tests/data/Makefile tests/data/ca1-la/Makefile tests/data/idp1-la/Makefile tests/data/lecp1-la/Makefile tests/data/sp1-la/Makefile tests/metadata/Makefile lasso.pc win32/Makefile win32/lasso.rc win32/msvc/Makefile win32/msvc/lasso.dsp win32/msvc/lasso_config.h win32/msvc/java/Makefile win32/msvc/php/Makefile win32/msvc/python/Makefile win32/nsis/Makefile win32/nsis/jlasso-lite.nsi win32/nsis/lasso-deps.nsi win32/nsis/lasso-full.nsi win32/nsis/lasso-lite.nsi win32/nsis/python.nsi"
 
23042
 
22447
23043
cat >confcache <<\_ACEOF
22448
23044
# This file is a shell script that caches the results of configure
22449
23045
# tests run on this system so they can be shared between configure
22462
23058
 
22463
23059
# The following way of writing the cache mishandles newlines in values,
22464
23060
# but we know of no workaround that is simple, portable, and efficient.
22465
 
# So, don't put newlines in cache variables' values.
 
23061
# So, we kill variables containing newlines.
22466
23062
# Ultrix sh set writes to stderr and can't be redirected directly,
22467
23063
# and sets the high bit in the cache file unless we assign to the vars.
22468
 
{
 
23064
(
 
23065
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
23066
    eval ac_val=\$$ac_var
 
23067
    case $ac_val in #(
 
23068
    *${as_nl}*)
 
23069
      case $ac_var in #(
 
23070
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
23071
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
23072
      esac
 
23073
      case $ac_var in #(
 
23074
      _ | IFS | as_nl) ;; #(
 
23075
      *) $as_unset $ac_var ;;
 
23076
      esac ;;
 
23077
    esac
 
23078
  done
 
23079
 
22469
23080
  (set) 2>&1 |
22470
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
22471
 
    *ac_space=\ *)
 
23081
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
23082
    *${as_nl}ac_space=\ *)
22472
23083
      # `set' does not quote correctly, so add quotes (double-quote
22473
23084
      # substitution turns \\\\ into \\, and sed turns \\ into \).
22474
23085
      sed -n \
22475
23086
        "s/'/'\\\\''/g;
22476
23087
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22477
 
      ;;
 
23088
      ;; #(
22478
23089
    *)
22479
23090
      # `set' quotes correctly as required by POSIX, so do not add quotes.
22480
 
      sed -n \
22481
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
23091
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22482
23092
      ;;
22483
 
    esac;
22484
 
} |
 
23093
    esac |
 
23094
    sort
 
23095
) |
22485
23096
  sed '
 
23097
     /^ac_cv_env_/b end
22486
23098
     t clear
22487
 
     : clear
 
23099
     :clear
22488
23100
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22489
23101
     t end
22490
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22491
 
     : end' >>confcache
22492
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
22493
 
  if test -w $cache_file; then
22494
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
23102
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
23103
     :end' >>confcache
 
23104
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
23105
  if test -w "$cache_file"; then
 
23106
    test "x$cache_file" != "x/dev/null" &&
 
23107
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
23108
echo "$as_me: updating cache $cache_file" >&6;}
22495
23109
    cat confcache >$cache_file
22496
23110
  else
22497
 
    echo "not updating unwritable cache $cache_file"
 
23111
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
23112
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22498
23113
  fi
22499
23114
fi
22500
23115
rm -f confcache
22503
23118
# Let make expand exec_prefix.
22504
23119
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22505
23120
 
22506
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
22507
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22508
 
# trailing colons and then remove the whole line if VPATH becomes empty
22509
 
# (actually we leave an empty line to preserve line numbers).
22510
 
if test "x$srcdir" = x.; then
22511
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
22512
 
s/:*\$(srcdir):*/:/;
22513
 
s/:*\${srcdir}:*/:/;
22514
 
s/:*@srcdir@:*/:/;
22515
 
s/^\([^=]*=[     ]*\):*/\1/;
22516
 
s/:*$//;
22517
 
s/^[^=]*=[       ]*$//;
22518
 
}'
22519
 
fi
22520
 
 
22521
23121
DEFS=-DHAVE_CONFIG_H
22522
23122
 
22523
23123
ac_libobjs=
22524
23124
ac_ltlibobjs=
22525
23125
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22526
23126
  # 1. Remove the extension, and $U if already installed.
22527
 
  ac_i=`echo "$ac_i" |
22528
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22529
 
  # 2. Add them.
22530
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
22531
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
23127
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
23128
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
23129
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
23130
  #    will be set to the directory where LIBOBJS objects are built.
 
23131
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
23132
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22532
23133
done
22533
23134
LIBOBJS=$ac_libobjs
22534
23135
 
22584
23185
Usually this means the macro was only invoked conditionally." >&2;}
22585
23186
   { (exit 1); exit 1; }; }
22586
23187
fi
22587
 
if test -z "${PHP_ENABLED_TRUE}" && test -z "${PHP_ENABLED_FALSE}"; then
22588
 
  { { echo "$as_me:$LINENO: error: conditional \"PHP_ENABLED\" was never defined.
22589
 
Usually this means the macro was only invoked conditionally." >&5
22590
 
echo "$as_me: error: conditional \"PHP_ENABLED\" was never defined.
 
23188
if test -z "${PHP4_ENABLED_TRUE}" && test -z "${PHP4_ENABLED_FALSE}"; then
 
23189
  { { echo "$as_me:$LINENO: error: conditional \"PHP4_ENABLED\" was never defined.
 
23190
Usually this means the macro was only invoked conditionally." >&5
 
23191
echo "$as_me: error: conditional \"PHP4_ENABLED\" was never defined.
 
23192
Usually this means the macro was only invoked conditionally." >&2;}
 
23193
   { (exit 1); exit 1; }; }
 
23194
fi
 
23195
if test -z "${PHP5_ENABLED_TRUE}" && test -z "${PHP5_ENABLED_FALSE}"; then
 
23196
  { { echo "$as_me:$LINENO: error: conditional \"PHP5_ENABLED\" was never defined.
 
23197
Usually this means the macro was only invoked conditionally." >&5
 
23198
echo "$as_me: error: conditional \"PHP5_ENABLED\" was never defined.
22591
23199
Usually this means the macro was only invoked conditionally." >&2;}
22592
23200
   { (exit 1); exit 1; }; }
22593
23201
fi
22685
23293
## M4sh Initialization.  ##
22686
23294
## --------------------- ##
22687
23295
 
22688
 
# Be Bourne compatible
 
23296
# Be more Bourne compatible
 
23297
DUALCASE=1; export DUALCASE # for MKS sh
22689
23298
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22690
23299
  emulate sh
22691
23300
  NULLCMD=:
22692
23301
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22693
23302
  # is contrary to our usage.  Disable this feature.
22694
23303
  alias -g '${1+"$@"}'='"$@"'
22695
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22696
 
  set -o posix
22697
 
fi
22698
 
DUALCASE=1; export DUALCASE # for MKS sh
 
23304
  setopt NO_GLOB_SUBST
 
23305
else
 
23306
  case `(set -o) 2>/dev/null` in
 
23307
  *posix*) set -o posix ;;
 
23308
esac
 
23309
 
 
23310
fi
 
23311
 
 
23312
 
 
23313
 
 
23314
 
 
23315
# PATH needs CR
 
23316
# Avoid depending upon Character Ranges.
 
23317
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
23318
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
23319
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
23320
as_cr_digits='0123456789'
 
23321
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
23322
 
 
23323
# The user is always right.
 
23324
if test "${PATH_SEPARATOR+set}" != set; then
 
23325
  echo "#! /bin/sh" >conf$$.sh
 
23326
  echo  "exit 0"   >>conf$$.sh
 
23327
  chmod +x conf$$.sh
 
23328
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
23329
    PATH_SEPARATOR=';'
 
23330
  else
 
23331
    PATH_SEPARATOR=:
 
23332
  fi
 
23333
  rm -f conf$$.sh
 
23334
fi
22699
23335
 
22700
23336
# Support unset when possible.
22701
23337
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22705
23341
fi
22706
23342
 
22707
23343
 
 
23344
# IFS
 
23345
# We need space, tab and new line, in precisely that order.  Quoting is
 
23346
# there to prevent editors from complaining about space-tab.
 
23347
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
23348
# splitting by setting IFS to empty value.)
 
23349
as_nl='
 
23350
'
 
23351
IFS=" ""        $as_nl"
 
23352
 
 
23353
# Find who we are.  Look in the path if we contain no directory separator.
 
23354
case $0 in
 
23355
  *[\\/]* ) as_myself=$0 ;;
 
23356
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
23357
for as_dir in $PATH
 
23358
do
 
23359
  IFS=$as_save_IFS
 
23360
  test -z "$as_dir" && as_dir=.
 
23361
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
23362
done
 
23363
IFS=$as_save_IFS
 
23364
 
 
23365
     ;;
 
23366
esac
 
23367
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
23368
# in which case we are not to be found in the path.
 
23369
if test "x$as_myself" = x; then
 
23370
  as_myself=$0
 
23371
fi
 
23372
if test ! -f "$as_myself"; then
 
23373
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
23374
  { (exit 1); exit 1; }
 
23375
fi
 
23376
 
22708
23377
# Work around bugs in pre-3.0 UWIN ksh.
22709
 
$as_unset ENV MAIL MAILPATH
 
23378
for as_var in ENV MAIL MAILPATH
 
23379
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
23380
done
22710
23381
PS1='$ '
22711
23382
PS2='> '
22712
23383
PS4='+ '
22720
23391
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22721
23392
    eval $as_var=C; export $as_var
22722
23393
  else
22723
 
    $as_unset $as_var
 
23394
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22724
23395
  fi
22725
23396
done
22726
23397
 
22727
23398
# Required to use basename.
22728
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
23399
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
23400
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
22729
23401
  as_expr=expr
22730
23402
else
22731
23403
  as_expr=false
22732
23404
fi
22733
23405
 
22734
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
23406
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22735
23407
  as_basename=basename
22736
23408
else
22737
23409
  as_basename=false
22739
23411
 
22740
23412
 
22741
23413
# Name of the executable.
22742
 
as_me=`$as_basename "$0" ||
 
23414
as_me=`$as_basename -- "$0" ||
22743
23415
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22744
23416
         X"$0" : 'X\(//\)$' \| \
22745
 
         X"$0" : 'X\(/\)$' \| \
22746
 
         .     : '\(.\)' 2>/dev/null ||
 
23417
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22747
23418
echo X/"$0" |
22748
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22749
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
22750
 
          /^X\/\(\/\).*/{ s//\1/; q; }
22751
 
          s/.*/./; q'`
22752
 
 
22753
 
 
22754
 
# PATH needs CR, and LINENO needs CR and PATH.
22755
 
# Avoid depending upon Character Ranges.
22756
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22757
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22758
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22759
 
as_cr_digits='0123456789'
22760
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
22761
 
 
22762
 
# The user is always right.
22763
 
if test "${PATH_SEPARATOR+set}" != set; then
22764
 
  echo "#! /bin/sh" >conf$$.sh
22765
 
  echo  "exit 0"   >>conf$$.sh
22766
 
  chmod +x conf$$.sh
22767
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22768
 
    PATH_SEPARATOR=';'
22769
 
  else
22770
 
    PATH_SEPARATOR=:
22771
 
  fi
22772
 
  rm -f conf$$.sh
22773
 
fi
22774
 
 
22775
 
 
22776
 
  as_lineno_1=$LINENO
22777
 
  as_lineno_2=$LINENO
22778
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22779
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
22780
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
22781
 
  # Find who we are.  Look in the path if we contain no path at all
22782
 
  # relative or not.
22783
 
  case $0 in
22784
 
    *[\\/]* ) as_myself=$0 ;;
22785
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22786
 
for as_dir in $PATH
22787
 
do
22788
 
  IFS=$as_save_IFS
22789
 
  test -z "$as_dir" && as_dir=.
22790
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22791
 
done
22792
 
 
22793
 
       ;;
22794
 
  esac
22795
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
22796
 
  # in which case we are not to be found in the path.
22797
 
  if test "x$as_myself" = x; then
22798
 
    as_myself=$0
22799
 
  fi
22800
 
  if test ! -f "$as_myself"; then
22801
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22802
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22803
 
   { (exit 1); exit 1; }; }
22804
 
  fi
22805
 
  case $CONFIG_SHELL in
22806
 
  '')
22807
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22808
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
22809
 
do
22810
 
  IFS=$as_save_IFS
22811
 
  test -z "$as_dir" && as_dir=.
22812
 
  for as_base in sh bash ksh sh5; do
22813
 
         case $as_dir in
22814
 
         /*)
22815
 
           if ("$as_dir/$as_base" -c '
22816
 
  as_lineno_1=$LINENO
22817
 
  as_lineno_2=$LINENO
22818
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22819
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
22820
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
22821
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
22822
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
22823
 
             CONFIG_SHELL=$as_dir/$as_base
22824
 
             export CONFIG_SHELL
22825
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
22826
 
           fi;;
22827
 
         esac
22828
 
       done
22829
 
done
22830
 
;;
22831
 
  esac
 
23419
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
23420
            s//\1/
 
23421
            q
 
23422
          }
 
23423
          /^X\/\(\/\/\)$/{
 
23424
            s//\1/
 
23425
            q
 
23426
          }
 
23427
          /^X\/\(\/\).*/{
 
23428
            s//\1/
 
23429
            q
 
23430
          }
 
23431
          s/.*/./; q'`
 
23432
 
 
23433
# CDPATH.
 
23434
$as_unset CDPATH
 
23435
 
 
23436
 
 
23437
 
 
23438
  as_lineno_1=$LINENO
 
23439
  as_lineno_2=$LINENO
 
23440
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
23441
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22832
23442
 
22833
23443
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22834
23444
  # uniformly replaced by the line number.  The first 'sed' inserts a
22835
 
  # line-number line before each line; the second 'sed' does the real
22836
 
  # work.  The second script uses 'N' to pair each line-number line
22837
 
  # with the numbered line, and appends trailing '-' during
22838
 
  # substitution so that $LINENO is not a special case at line end.
 
23445
  # line-number line after each line using $LINENO; the second 'sed'
 
23446
  # does the real work.  The second script uses 'N' to pair each
 
23447
  # line-number line with the line containing $LINENO, and appends
 
23448
  # trailing '-' during substitution so that $LINENO is not a special
 
23449
  # case at line end.
22839
23450
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22840
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
22841
 
  sed '=' <$as_myself |
 
23451
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
23452
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
23453
  sed -n '
 
23454
    p
 
23455
    /[$]LINENO/=
 
23456
  ' <$as_myself |
22842
23457
    sed '
 
23458
      s/[$]LINENO.*/&-/
 
23459
      t lineno
 
23460
      b
 
23461
      :lineno
22843
23462
      N
22844
 
      s,$,-,
22845
 
      : loop
22846
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
23463
      :loop
 
23464
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22847
23465
      t loop
22848
 
      s,-$,,
22849
 
      s,^['$as_cr_digits']*\n,,
 
23466
      s/-\n.*//
22850
23467
    ' >$as_me.lineno &&
22851
 
  chmod +x $as_me.lineno ||
22852
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
22853
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
23468
  chmod +x "$as_me.lineno" ||
 
23469
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22854
23470
   { (exit 1); exit 1; }; }
22855
23471
 
22856
23472
  # Don't try to exec as it changes $[0], causing all sort of problems
22857
23473
  # (the dirname of $[0] is not the place where we might find the
22858
 
  # original and so on.  Autoconf is especially sensible to this).
22859
 
  . ./$as_me.lineno
 
23474
  # original and so on.  Autoconf is especially sensitive to this).
 
23475
  . "./$as_me.lineno"
22860
23476
  # Exit status is that of the last command.
22861
23477
  exit
22862
23478
}
22863
23479
 
22864
23480
 
22865
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
22866
 
  *c*,-n*) ECHO_N= ECHO_C='
22867
 
' ECHO_T='      ' ;;
22868
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
22869
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
23481
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
23482
  as_dirname=dirname
 
23483
else
 
23484
  as_dirname=false
 
23485
fi
 
23486
 
 
23487
ECHO_C= ECHO_N= ECHO_T=
 
23488
case `echo -n x` in
 
23489
-n*)
 
23490
  case `echo 'x\c'` in
 
23491
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
23492
  *)   ECHO_C='\c';;
 
23493
  esac;;
 
23494
*)
 
23495
  ECHO_N='-n';;
22870
23496
esac
22871
23497
 
22872
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
23498
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
23499
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
22873
23500
  as_expr=expr
22874
23501
else
22875
23502
  as_expr=false
22876
23503
fi
22877
23504
 
22878
23505
rm -f conf$$ conf$$.exe conf$$.file
 
23506
if test -d conf$$.dir; then
 
23507
  rm -f conf$$.dir/conf$$.file
 
23508
else
 
23509
  rm -f conf$$.dir
 
23510
  mkdir conf$$.dir
 
23511
fi
22879
23512
echo >conf$$.file
22880
23513
if ln -s conf$$.file conf$$ 2>/dev/null; then
22881
 
  # We could just check for DJGPP; but this test a) works b) is more generic
22882
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
22883
 
  if test -f conf$$.exe; then
22884
 
    # Don't use ln at all; we don't have any links
 
23514
  as_ln_s='ln -s'
 
23515
  # ... but there are two gotchas:
 
23516
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
23517
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
23518
  # In both cases, we have to default to `cp -p'.
 
23519
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22885
23520
    as_ln_s='cp -p'
22886
 
  else
22887
 
    as_ln_s='ln -s'
22888
 
  fi
22889
23521
elif ln conf$$.file conf$$ 2>/dev/null; then
22890
23522
  as_ln_s=ln
22891
23523
else
22892
23524
  as_ln_s='cp -p'
22893
23525
fi
22894
 
rm -f conf$$ conf$$.exe conf$$.file
 
23526
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
23527
rmdir conf$$.dir 2>/dev/null
22895
23528
 
22896
23529
if mkdir -p . 2>/dev/null; then
22897
23530
  as_mkdir_p=:
22900
23533
  as_mkdir_p=false
22901
23534
fi
22902
23535
 
22903
 
as_executable_p="test -f"
 
23536
if test -x / >/dev/null 2>&1; then
 
23537
  as_test_x='test -x'
 
23538
else
 
23539
  if ls -dL / >/dev/null 2>&1; then
 
23540
    as_ls_L_option=L
 
23541
  else
 
23542
    as_ls_L_option=
 
23543
  fi
 
23544
  as_test_x='
 
23545
    eval sh -c '\''
 
23546
      if test -d "$1"; then
 
23547
        test -d "$1/.";
 
23548
      else
 
23549
        case $1 in
 
23550
        -*)set "./$1";;
 
23551
        esac;
 
23552
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
23553
        ???[sx]*):;;*)false;;esac;fi
 
23554
    '\'' sh
 
23555
  '
 
23556
fi
 
23557
as_executable_p=$as_test_x
22904
23558
 
22905
23559
# Sed expression to map a string onto a valid CPP name.
22906
23560
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22909
23563
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22910
23564
 
22911
23565
 
22912
 
# IFS
22913
 
# We need space, tab and new line, in precisely that order.
22914
 
as_nl='
22915
 
'
22916
 
IFS="   $as_nl"
22917
 
 
22918
 
# CDPATH.
22919
 
$as_unset CDPATH
22920
 
 
22921
23566
exec 6>&1
22922
23567
 
22923
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
23568
# Save the log message, to keep $[0] and so on meaningful, and to
22924
23569
# report actual input values of CONFIG_FILES etc. instead of their
22925
 
# values after options handling.  Logging --version etc. is OK.
22926
 
exec 5>>config.log
22927
 
{
22928
 
  echo
22929
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22930
 
## Running $as_me. ##
22931
 
_ASBOX
22932
 
} >&5
22933
 
cat >&5 <<_CSEOF
22934
 
 
22935
 
This file was extended by Liberty Alliance Single Sign On $as_me 0.6.5, which was
22936
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
23570
# values after options handling.
 
23571
ac_log="
 
23572
This file was extended by Liberty Alliance Single Sign On $as_me 2.0.0, which was
 
23573
generated by GNU Autoconf 2.61.  Invocation command line was
22937
23574
 
22938
23575
  CONFIG_FILES    = $CONFIG_FILES
22939
23576
  CONFIG_HEADERS  = $CONFIG_HEADERS
22941
23578
  CONFIG_COMMANDS = $CONFIG_COMMANDS
22942
23579
  $ $0 $@
22943
23580
 
22944
 
_CSEOF
22945
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
22946
 
echo >&5
 
23581
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
23582
"
 
23583
 
22947
23584
_ACEOF
22948
23585
 
 
23586
cat >>$CONFIG_STATUS <<_ACEOF
22949
23587
# Files that config.status was made for.
22950
 
if test -n "$ac_config_files"; then
22951
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
22952
 
fi
22953
 
 
22954
 
if test -n "$ac_config_headers"; then
22955
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
22956
 
fi
22957
 
 
22958
 
if test -n "$ac_config_links"; then
22959
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
22960
 
fi
22961
 
 
22962
 
if test -n "$ac_config_commands"; then
22963
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
22964
 
fi
 
23588
config_files="$ac_config_files"
 
23589
config_headers="$ac_config_headers"
 
23590
config_commands="$ac_config_commands"
 
23591
 
 
23592
_ACEOF
22965
23593
 
22966
23594
cat >>$CONFIG_STATUS <<\_ACEOF
22967
 
 
22968
23595
ac_cs_usage="\
22969
23596
\`$as_me' instantiates files from templates according to the
22970
23597
current configuration.
22972
23599
Usage: $0 [OPTIONS] [FILE]...
22973
23600
 
22974
23601
  -h, --help       print this help, then exit
22975
 
  -V, --version    print version number, then exit
 
23602
  -V, --version    print version number and configuration settings, then exit
22976
23603
  -q, --quiet      do not print progress messages
22977
23604
  -d, --debug      don't remove temporary files
22978
23605
      --recheck    update $as_me by reconfiguring in the same conditions
22991
23618
$config_commands
22992
23619
 
22993
23620
Report bugs to <bug-autoconf@gnu.org>."
 
23621
 
22994
23622
_ACEOF
22995
 
 
22996
23623
cat >>$CONFIG_STATUS <<_ACEOF
22997
23624
ac_cs_version="\\
22998
 
Liberty Alliance Single Sign On config.status 0.6.5
22999
 
configured by $0, generated by GNU Autoconf 2.59,
23000
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
23625
Liberty Alliance Single Sign On config.status 2.0.0
 
23626
configured by $0, generated by GNU Autoconf 2.61,
 
23627
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
23001
23628
 
23002
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
23629
Copyright (C) 2006 Free Software Foundation, Inc.
23003
23630
This config.status script is free software; the Free Software Foundation
23004
23631
gives unlimited permission to copy, distribute and modify it."
23005
 
srcdir=$srcdir
23006
 
INSTALL="$INSTALL"
 
23632
 
 
23633
ac_pwd='$ac_pwd'
 
23634
srcdir='$srcdir'
 
23635
INSTALL='$INSTALL'
23007
23636
_ACEOF
23008
23637
 
23009
23638
cat >>$CONFIG_STATUS <<\_ACEOF
23014
23643
do
23015
23644
  case $1 in
23016
23645
  --*=*)
23017
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
23018
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
23646
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
23647
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23019
23648
    ac_shift=:
23020
23649
    ;;
23021
 
  -*)
 
23650
  *)
23022
23651
    ac_option=$1
23023
23652
    ac_optarg=$2
23024
23653
    ac_shift=shift
23025
23654
    ;;
23026
 
  *) # This is not an option, so the user has probably given explicit
23027
 
     # arguments.
23028
 
     ac_option=$1
23029
 
     ac_need_defaults=false;;
23030
23655
  esac
23031
23656
 
23032
23657
  case $ac_option in
23033
23658
  # Handling of the options.
23034
 
_ACEOF
23035
 
cat >>$CONFIG_STATUS <<\_ACEOF
23036
23659
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23037
23660
    ac_cs_recheck=: ;;
23038
 
  --version | --vers* | -V )
23039
 
    echo "$ac_cs_version"; exit 0 ;;
23040
 
  --he | --h)
23041
 
    # Conflict between --help and --header
23042
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
23043
 
Try \`$0 --help' for more information." >&5
23044
 
echo "$as_me: error: ambiguous option: $1
23045
 
Try \`$0 --help' for more information." >&2;}
23046
 
   { (exit 1); exit 1; }; };;
23047
 
  --help | --hel | -h )
23048
 
    echo "$ac_cs_usage"; exit 0 ;;
23049
 
  --debug | --d* | -d )
 
23661
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
23662
    echo "$ac_cs_version"; exit ;;
 
23663
  --debug | --debu | --deb | --de | --d | -d )
23050
23664
    debug=: ;;
23051
23665
  --file | --fil | --fi | --f )
23052
23666
    $ac_shift
23056
23670
    $ac_shift
23057
23671
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23058
23672
    ac_need_defaults=false;;
 
23673
  --he | --h)
 
23674
    # Conflict between --help and --header
 
23675
    { echo "$as_me: error: ambiguous option: $1
 
23676
Try \`$0 --help' for more information." >&2
 
23677
   { (exit 1); exit 1; }; };;
 
23678
  --help | --hel | -h )
 
23679
    echo "$ac_cs_usage"; exit ;;
23059
23680
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23060
23681
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
23061
23682
    ac_cs_silent=: ;;
23062
23683
 
23063
23684
  # This is an error.
23064
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23065
 
Try \`$0 --help' for more information." >&5
23066
 
echo "$as_me: error: unrecognized option: $1
23067
 
Try \`$0 --help' for more information." >&2;}
 
23685
  -*) { echo "$as_me: error: unrecognized option: $1
 
23686
Try \`$0 --help' for more information." >&2
23068
23687
   { (exit 1); exit 1; }; } ;;
23069
23688
 
23070
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
23689
  *) ac_config_targets="$ac_config_targets $1"
 
23690
     ac_need_defaults=false ;;
23071
23691
 
23072
23692
  esac
23073
23693
  shift
23083
23703
_ACEOF
23084
23704
cat >>$CONFIG_STATUS <<_ACEOF
23085
23705
if \$ac_cs_recheck; then
23086
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23087
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
23706
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
23707
  CONFIG_SHELL=$SHELL
 
23708
  export CONFIG_SHELL
 
23709
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23088
23710
fi
23089
23711
 
23090
23712
_ACEOF
 
23713
cat >>$CONFIG_STATUS <<\_ACEOF
 
23714
exec 5>>config.log
 
23715
{
 
23716
  echo
 
23717
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
23718
## Running $as_me. ##
 
23719
_ASBOX
 
23720
  echo "$ac_log"
 
23721
} >&5
23091
23722
 
 
23723
_ACEOF
23092
23724
cat >>$CONFIG_STATUS <<_ACEOF
23093
23725
#
23094
 
# INIT-COMMANDS section.
 
23726
# INIT-COMMANDS
23095
23727
#
23096
 
 
23097
23728
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23098
23729
 
23099
23730
_ACEOF
23100
23731
 
23101
 
 
23102
 
 
23103
23732
cat >>$CONFIG_STATUS <<\_ACEOF
 
23733
 
 
23734
# Handling of arguments.
23104
23735
for ac_config_target in $ac_config_targets
23105
23736
do
23106
 
  case "$ac_config_target" in
23107
 
  # Handling of arguments.
23108
 
  "lasso-src-config" ) CONFIG_FILES="$CONFIG_FILES lasso-src-config" ;;
23109
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
23110
 
  "docs/Makefile" ) CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
23111
 
  "docs/lasso-book/Makefile" ) CONFIG_FILES="$CONFIG_FILES docs/lasso-book/Makefile" ;;
23112
 
  "docs/lasso-book/figures/Makefile" ) CONFIG_FILES="$CONFIG_FILES docs/lasso-book/figures/Makefile" ;;
23113
 
  "docs/reference/Makefile" ) CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
23114
 
  "docs/reference/version.xml" ) CONFIG_FILES="$CONFIG_FILES docs/reference/version.xml" ;;
23115
 
  "java/Makefile" ) CONFIG_FILES="$CONFIG_FILES java/Makefile" ;;
23116
 
  "lasso/Makefile" ) CONFIG_FILES="$CONFIG_FILES lasso/Makefile" ;;
23117
 
  "lasso/id-ff/Makefile" ) CONFIG_FILES="$CONFIG_FILES lasso/id-ff/Makefile" ;;
23118
 
  "lasso/id-wsf/Makefile" ) CONFIG_FILES="$CONFIG_FILES lasso/id-wsf/Makefile" ;;
23119
 
  "lasso/saml-2.0/Makefile" ) CONFIG_FILES="$CONFIG_FILES lasso/saml-2.0/Makefile" ;;
23120
 
  "lasso/xml/Makefile" ) CONFIG_FILES="$CONFIG_FILES lasso/xml/Makefile" ;;
23121
 
  "lasso/xml/saml-2.0/Makefile" ) CONFIG_FILES="$CONFIG_FILES lasso/xml/saml-2.0/Makefile" ;;
23122
 
  "perl/Makefile" ) CONFIG_FILES="$CONFIG_FILES perl/Makefile" ;;
23123
 
  "php/Makefile" ) CONFIG_FILES="$CONFIG_FILES php/Makefile" ;;
23124
 
  "python/Makefile" ) CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
23125
 
  "swig/Makefile" ) CONFIG_FILES="$CONFIG_FILES swig/Makefile" ;;
23126
 
  "swig/wsf-support.i" ) CONFIG_FILES="$CONFIG_FILES swig/wsf-support.i" ;;
23127
 
  "swig/saml-2.0/Makefile" ) CONFIG_FILES="$CONFIG_FILES swig/saml-2.0/Makefile" ;;
23128
 
  "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
23129
 
  "tests/data/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/data/Makefile" ;;
23130
 
  "tests/data/ca1-la/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/data/ca1-la/Makefile" ;;
23131
 
  "tests/data/idp1-la/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/data/idp1-la/Makefile" ;;
23132
 
  "tests/data/lecp1-la/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/data/lecp1-la/Makefile" ;;
23133
 
  "tests/data/sp1-la/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/data/sp1-la/Makefile" ;;
23134
 
  "lasso.pc" ) CONFIG_FILES="$CONFIG_FILES lasso.pc" ;;
23135
 
  "win32/Makefile" ) CONFIG_FILES="$CONFIG_FILES win32/Makefile" ;;
23136
 
  "win32/lasso.rc" ) CONFIG_FILES="$CONFIG_FILES win32/lasso.rc" ;;
23137
 
  "win32/msvc/Makefile" ) CONFIG_FILES="$CONFIG_FILES win32/msvc/Makefile" ;;
23138
 
  "win32/msvc/lasso.dsp" ) CONFIG_FILES="$CONFIG_FILES win32/msvc/lasso.dsp" ;;
23139
 
  "win32/msvc/lasso_config.h" ) CONFIG_FILES="$CONFIG_FILES win32/msvc/lasso_config.h" ;;
23140
 
  "win32/msvc/java/Makefile" ) CONFIG_FILES="$CONFIG_FILES win32/msvc/java/Makefile" ;;
23141
 
  "win32/msvc/php/Makefile" ) CONFIG_FILES="$CONFIG_FILES win32/msvc/php/Makefile" ;;
23142
 
  "win32/msvc/python/Makefile" ) CONFIG_FILES="$CONFIG_FILES win32/msvc/python/Makefile" ;;
23143
 
  "win32/nsis/Makefile" ) CONFIG_FILES="$CONFIG_FILES win32/nsis/Makefile" ;;
23144
 
  "win32/nsis/jlasso-lite.nsi" ) CONFIG_FILES="$CONFIG_FILES win32/nsis/jlasso-lite.nsi" ;;
23145
 
  "win32/nsis/lasso-deps.nsi" ) CONFIG_FILES="$CONFIG_FILES win32/nsis/lasso-deps.nsi" ;;
23146
 
  "win32/nsis/lasso-full.nsi" ) CONFIG_FILES="$CONFIG_FILES win32/nsis/lasso-full.nsi" ;;
23147
 
  "win32/nsis/lasso-lite.nsi" ) CONFIG_FILES="$CONFIG_FILES win32/nsis/lasso-lite.nsi" ;;
23148
 
  "win32/nsis/python.nsi" ) CONFIG_FILES="$CONFIG_FILES win32/nsis/python.nsi" ;;
23149
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
23150
 
  "lasso/lasso_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lasso/lasso_config.h" ;;
 
23737
  case $ac_config_target in
 
23738
    "lasso/lasso_config.h") CONFIG_HEADERS="$CONFIG_HEADERS lasso/lasso_config.h" ;;
 
23739
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
23740
    "lasso-src-config") CONFIG_FILES="$CONFIG_FILES lasso-src-config" ;;
 
23741
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
23742
    "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
 
23743
    "docs/lasso-book/Makefile") CONFIG_FILES="$CONFIG_FILES docs/lasso-book/Makefile" ;;
 
23744
    "docs/lasso-book/figures/Makefile") CONFIG_FILES="$CONFIG_FILES docs/lasso-book/figures/Makefile" ;;
 
23745
    "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
 
23746
    "docs/reference/version.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/version.xml" ;;
 
23747
    "java/Makefile") CONFIG_FILES="$CONFIG_FILES java/Makefile" ;;
 
23748
    "lasso/Makefile") CONFIG_FILES="$CONFIG_FILES lasso/Makefile" ;;
 
23749
    "lasso/id-ff/Makefile") CONFIG_FILES="$CONFIG_FILES lasso/id-ff/Makefile" ;;
 
23750
    "lasso/id-wsf/Makefile") CONFIG_FILES="$CONFIG_FILES lasso/id-wsf/Makefile" ;;
 
23751
    "lasso/saml-2.0/Makefile") CONFIG_FILES="$CONFIG_FILES lasso/saml-2.0/Makefile" ;;
 
23752
    "lasso/xml/Makefile") CONFIG_FILES="$CONFIG_FILES lasso/xml/Makefile" ;;
 
23753
    "lasso/xml/saml-2.0/Makefile") CONFIG_FILES="$CONFIG_FILES lasso/xml/saml-2.0/Makefile" ;;
 
23754
    "perl/Makefile") CONFIG_FILES="$CONFIG_FILES perl/Makefile" ;;
 
23755
    "php/Makefile") CONFIG_FILES="$CONFIG_FILES php/Makefile" ;;
 
23756
    "php5/Makefile") CONFIG_FILES="$CONFIG_FILES php5/Makefile" ;;
 
23757
    "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
 
23758
    "swig/Makefile") CONFIG_FILES="$CONFIG_FILES swig/Makefile" ;;
 
23759
    "swig/wsf-support.i") CONFIG_FILES="$CONFIG_FILES swig/wsf-support.i" ;;
 
23760
    "swig/saml-2.0/Makefile") CONFIG_FILES="$CONFIG_FILES swig/saml-2.0/Makefile" ;;
 
23761
    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
 
23762
    "tests/data/Makefile") CONFIG_FILES="$CONFIG_FILES tests/data/Makefile" ;;
 
23763
    "tests/data/ca1-la/Makefile") CONFIG_FILES="$CONFIG_FILES tests/data/ca1-la/Makefile" ;;
 
23764
    "tests/data/idp1-la/Makefile") CONFIG_FILES="$CONFIG_FILES tests/data/idp1-la/Makefile" ;;
 
23765
    "tests/data/lecp1-la/Makefile") CONFIG_FILES="$CONFIG_FILES tests/data/lecp1-la/Makefile" ;;
 
23766
    "tests/data/sp1-la/Makefile") CONFIG_FILES="$CONFIG_FILES tests/data/sp1-la/Makefile" ;;
 
23767
    "tests/metadata/Makefile") CONFIG_FILES="$CONFIG_FILES tests/metadata/Makefile" ;;
 
23768
    "lasso.pc") CONFIG_FILES="$CONFIG_FILES lasso.pc" ;;
 
23769
    "win32/Makefile") CONFIG_FILES="$CONFIG_FILES win32/Makefile" ;;
 
23770
    "win32/lasso.rc") CONFIG_FILES="$CONFIG_FILES win32/lasso.rc" ;;
 
23771
    "win32/msvc/Makefile") CONFIG_FILES="$CONFIG_FILES win32/msvc/Makefile" ;;
 
23772
    "win32/msvc/lasso.dsp") CONFIG_FILES="$CONFIG_FILES win32/msvc/lasso.dsp" ;;
 
23773
    "win32/msvc/lasso_config.h") CONFIG_FILES="$CONFIG_FILES win32/msvc/lasso_config.h" ;;
 
23774
    "win32/msvc/java/Makefile") CONFIG_FILES="$CONFIG_FILES win32/msvc/java/Makefile" ;;
 
23775
    "win32/msvc/php/Makefile") CONFIG_FILES="$CONFIG_FILES win32/msvc/php/Makefile" ;;
 
23776
    "win32/msvc/python/Makefile") CONFIG_FILES="$CONFIG_FILES win32/msvc/python/Makefile" ;;
 
23777
    "win32/nsis/Makefile") CONFIG_FILES="$CONFIG_FILES win32/nsis/Makefile" ;;
 
23778
    "win32/nsis/jlasso-lite.nsi") CONFIG_FILES="$CONFIG_FILES win32/nsis/jlasso-lite.nsi" ;;
 
23779
    "win32/nsis/lasso-deps.nsi") CONFIG_FILES="$CONFIG_FILES win32/nsis/lasso-deps.nsi" ;;
 
23780
    "win32/nsis/lasso-full.nsi") CONFIG_FILES="$CONFIG_FILES win32/nsis/lasso-full.nsi" ;;
 
23781
    "win32/nsis/lasso-lite.nsi") CONFIG_FILES="$CONFIG_FILES win32/nsis/lasso-lite.nsi" ;;
 
23782
    "win32/nsis/python.nsi") CONFIG_FILES="$CONFIG_FILES win32/nsis/python.nsi" ;;
 
23783
 
23151
23784
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23152
23785
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23153
23786
   { (exit 1); exit 1; }; };;
23154
23787
  esac
23155
23788
done
23156
23789
 
 
23790
 
23157
23791
# If the user did not use the arguments to specify the items to instantiate,
23158
23792
# then the envvar interface is used.  Set only those that are not.
23159
23793
# We use the long form for the default assignment because of an extremely
23165
23799
fi
23166
23800
 
23167
23801
# Have a temporary directory for convenience.  Make it in the build tree
23168
 
# simply because there is no reason to put it here, and in addition,
 
23802
# simply because there is no reason against having it here, and in addition,
23169
23803
# creating and moving files from /tmp can sometimes cause problems.
23170
 
# Create a temporary directory, and hook for its removal unless debugging.
 
23804
# Hook for its removal unless debugging.
 
23805
# Note that there is a small window in which the directory will not be cleaned:
 
23806
# after its creation but before its name has been assigned to `$tmp'.
23171
23807
$debug ||
23172
23808
{
23173
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
23809
  tmp=
 
23810
  trap 'exit_status=$?
 
23811
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
23812
' 0
23174
23813
  trap '{ (exit 1); exit 1; }' 1 2 13 15
23175
23814
}
23176
 
 
23177
23815
# Create a (secure) tmp directory for tmp files.
23178
23816
 
23179
23817
{
23180
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
23818
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23181
23819
  test -n "$tmp" && test -d "$tmp"
23182
23820
}  ||
23183
23821
{
23184
 
  tmp=./confstat$$-$RANDOM
23185
 
  (umask 077 && mkdir $tmp)
 
23822
  tmp=./conf$$-$RANDOM
 
23823
  (umask 077 && mkdir "$tmp")
23186
23824
} ||
23187
23825
{
23188
23826
   echo "$me: cannot create a temporary directory in ." >&2
23189
23827
   { (exit 1); exit 1; }
23190
23828
}
23191
23829
 
23192
 
_ACEOF
23193
 
 
23194
 
cat >>$CONFIG_STATUS <<_ACEOF
23195
 
 
23196
23830
#
23197
 
# CONFIG_FILES section.
 
23831
# Set up the sed scripts for CONFIG_FILES section.
23198
23832
#
23199
23833
 
23200
23834
# No need to generate the scripts if there are no CONFIG_FILES.
23201
23835
# This happens for instance when ./config.status config.h
23202
 
if test -n "\$CONFIG_FILES"; then
23203
 
  # Protect against being on the right side of a sed subst in config.status.
23204
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23205
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23206
 
s,@SHELL@,$SHELL,;t t
23207
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23208
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23209
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23210
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23211
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23212
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23213
 
s,@exec_prefix@,$exec_prefix,;t t
23214
 
s,@prefix@,$prefix,;t t
23215
 
s,@program_transform_name@,$program_transform_name,;t t
23216
 
s,@bindir@,$bindir,;t t
23217
 
s,@sbindir@,$sbindir,;t t
23218
 
s,@libexecdir@,$libexecdir,;t t
23219
 
s,@datadir@,$datadir,;t t
23220
 
s,@sysconfdir@,$sysconfdir,;t t
23221
 
s,@sharedstatedir@,$sharedstatedir,;t t
23222
 
s,@localstatedir@,$localstatedir,;t t
23223
 
s,@libdir@,$libdir,;t t
23224
 
s,@includedir@,$includedir,;t t
23225
 
s,@oldincludedir@,$oldincludedir,;t t
23226
 
s,@infodir@,$infodir,;t t
23227
 
s,@mandir@,$mandir,;t t
23228
 
s,@build_alias@,$build_alias,;t t
23229
 
s,@host_alias@,$host_alias,;t t
23230
 
s,@target_alias@,$target_alias,;t t
23231
 
s,@DEFS@,$DEFS,;t t
23232
 
s,@ECHO_C@,$ECHO_C,;t t
23233
 
s,@ECHO_N@,$ECHO_N,;t t
23234
 
s,@ECHO_T@,$ECHO_T,;t t
23235
 
s,@LIBS@,$LIBS,;t t
23236
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23237
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23238
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23239
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
23240
 
s,@PACKAGE@,$PACKAGE,;t t
23241
 
s,@VERSION@,$VERSION,;t t
23242
 
s,@ACLOCAL@,$ACLOCAL,;t t
23243
 
s,@AUTOCONF@,$AUTOCONF,;t t
23244
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
23245
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
23246
 
s,@MAKEINFO@,$MAKEINFO,;t t
23247
 
s,@AMTAR@,$AMTAR,;t t
23248
 
s,@install_sh@,$install_sh,;t t
23249
 
s,@STRIP@,$STRIP,;t t
23250
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23251
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
23252
 
s,@mkdir_p@,$mkdir_p,;t t
23253
 
s,@AWK@,$AWK,;t t
23254
 
s,@SET_MAKE@,$SET_MAKE,;t t
23255
 
s,@am__leading_dot@,$am__leading_dot,;t t
23256
 
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
23257
 
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
23258
 
s,@MAINT@,$MAINT,;t t
23259
 
s,@build@,$build,;t t
23260
 
s,@build_cpu@,$build_cpu,;t t
23261
 
s,@build_vendor@,$build_vendor,;t t
23262
 
s,@build_os@,$build_os,;t t
23263
 
s,@host@,$host,;t t
23264
 
s,@host_cpu@,$host_cpu,;t t
23265
 
s,@host_vendor@,$host_vendor,;t t
23266
 
s,@host_os@,$host_os,;t t
23267
 
s,@CC@,$CC,;t t
23268
 
s,@CFLAGS@,$CFLAGS,;t t
23269
 
s,@LDFLAGS@,$LDFLAGS,;t t
23270
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
23271
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
23272
 
s,@EXEEXT@,$EXEEXT,;t t
23273
 
s,@OBJEXT@,$OBJEXT,;t t
23274
 
s,@DEPDIR@,$DEPDIR,;t t
23275
 
s,@am__include@,$am__include,;t t
23276
 
s,@am__quote@,$am__quote,;t t
23277
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
23278
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
23279
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
23280
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
23281
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
23282
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
23283
 
s,@CPP@,$CPP,;t t
23284
 
s,@EGREP@,$EGREP,;t t
23285
 
s,@RC@,$RC,;t t
23286
 
s,@ac_ct_RC@,$ac_ct_RC,;t t
23287
 
s,@GCJ@,$GCJ,;t t
23288
 
s,@GCJFLAGS@,$GCJFLAGS,;t t
23289
 
s,@GCJDEPMODE@,$GCJDEPMODE,;t t
23290
 
s,@am__fastdepGCJ_TRUE@,$am__fastdepGCJ_TRUE,;t t
23291
 
s,@am__fastdepGCJ_FALSE@,$am__fastdepGCJ_FALSE,;t t
23292
 
s,@LN_S@,$LN_S,;t t
23293
 
s,@ECHO@,$ECHO,;t t
23294
 
s,@AR@,$AR,;t t
23295
 
s,@ac_ct_AR@,$ac_ct_AR,;t t
23296
 
s,@RANLIB@,$RANLIB,;t t
23297
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23298
 
s,@DLLTOOL@,$DLLTOOL,;t t
23299
 
s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
23300
 
s,@AS@,$AS,;t t
23301
 
s,@ac_ct_AS@,$ac_ct_AS,;t t
23302
 
s,@OBJDUMP@,$OBJDUMP,;t t
23303
 
s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
23304
 
s,@CXX@,$CXX,;t t
23305
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
23306
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
23307
 
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
23308
 
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
23309
 
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
23310
 
s,@CXXCPP@,$CXXCPP,;t t
23311
 
s,@F77@,$F77,;t t
23312
 
s,@FFLAGS@,$FFLAGS,;t t
23313
 
s,@ac_ct_F77@,$ac_ct_F77,;t t
23314
 
s,@LIBTOOL@,$LIBTOOL,;t t
23315
 
s,@LIBTOOL_DEPS@,$LIBTOOL_DEPS,;t t
23316
 
s,@TAR@,$TAR,;t t
23317
 
s,@JAVA@,$JAVA,;t t
23318
 
s,@JAVAC@,$JAVAC,;t t
23319
 
s,@JAR@,$JAR,;t t
23320
 
s,@PERL@,$PERL,;t t
23321
 
s,@PHP@,$PHP,;t t
23322
 
s,@PHP_CONFIG@,$PHP_CONFIG,;t t
23323
 
s,@PHP_PATH@,$PHP_PATH,;t t
23324
 
s,@PYTHON@,$PYTHON,;t t
23325
 
s,@SWIG@,$SWIG,;t t
23326
 
s,@U@,$U,;t t
23327
 
s,@ANSI2KNR@,$ANSI2KNR,;t t
23328
 
s,@VERSION_UNDERSCORED@,$VERSION_UNDERSCORED,;t t
23329
 
s,@WINDOWS_VERSION@,$WINDOWS_VERSION,;t t
23330
 
s,@LASSO_VERSION_INFO@,$LASSO_VERSION_INFO,;t t
23331
 
s,@UPCASED_DLL_FILENAME@,$UPCASED_DLL_FILENAME,;t t
23332
 
s,@DLL_FILENAME@,$DLL_FILENAME,;t t
23333
 
s,@SWIG_PYTHON_ARGS@,$SWIG_PYTHON_ARGS,;t t
23334
 
s,@JAVA_ENABLED_TRUE@,$JAVA_ENABLED_TRUE,;t t
23335
 
s,@JAVA_ENABLED_FALSE@,$JAVA_ENABLED_FALSE,;t t
23336
 
s,@JAVA_VERSION@,$JAVA_VERSION,;t t
23337
 
s,@JAVAC_FLAGS@,$JAVAC_FLAGS,;t t
23338
 
s,@JDK_INCLUDE@,$JDK_INCLUDE,;t t
23339
 
s,@PY_LIB_LOC@,$PY_LIB_LOC,;t t
23340
 
s,@PY_CFLAGS@,$PY_CFLAGS,;t t
23341
 
s,@PY_EXTRA_LIBS@,$PY_EXTRA_LIBS,;t t
23342
 
s,@PY_DYNLOAD@,$PY_DYNLOAD,;t t
23343
 
s,@PY_LIB_A@,$PY_LIB_A,;t t
23344
 
s,@PY_SITE_PACKAGES@,$PY_SITE_PACKAGES,;t t
23345
 
s,@PYTHON_ENABLED_TRUE@,$PYTHON_ENABLED_TRUE,;t t
23346
 
s,@PYTHON_ENABLED_FALSE@,$PYTHON_ENABLED_FALSE,;t t
23347
 
s,@PYTHON_VERSION@,$PYTHON_VERSION,;t t
23348
 
s,@PHP_INCLUDES@,$PHP_INCLUDES,;t t
23349
 
s,@PHP_LDFLAGS@,$PHP_LDFLAGS,;t t
23350
 
s,@PHP_LIBS@,$PHP_LIBS,;t t
23351
 
s,@PHP_UNPREFIXED_EXTENSION_DIR@,$PHP_UNPREFIXED_EXTENSION_DIR,;t t
23352
 
s,@PHP_EXTENSION_DIR@,$PHP_EXTENSION_DIR,;t t
23353
 
s,@PHP_PREFIX@,$PHP_PREFIX,;t t
23354
 
s,@PHP_ENABLED_TRUE@,$PHP_ENABLED_TRUE,;t t
23355
 
s,@PHP_ENABLED_FALSE@,$PHP_ENABLED_FALSE,;t t
23356
 
s,@PHP_VERSION@,$PHP_VERSION,;t t
23357
 
s,@GACUTIL@,$GACUTIL,;t t
23358
 
s,@CSHARPCILINTERPRETER@,$CSHARPCILINTERPRETER,;t t
23359
 
s,@CSHARPCYGPATH_W@,$CSHARPCYGPATH_W,;t t
23360
 
s,@CSHARPCOMPILER@,$CSHARPCOMPILER,;t t
23361
 
s,@CSHARPDYNAMICLINKING@,$CSHARPDYNAMICLINKING,;t t
23362
 
s,@CSHARPLIBRARYPREFIX@,$CSHARPLIBRARYPREFIX,;t t
23363
 
s,@CSHARP_ENABLED_TRUE@,$CSHARP_ENABLED_TRUE,;t t
23364
 
s,@CSHARP_ENABLED_FALSE@,$CSHARP_ENABLED_FALSE,;t t
23365
 
s,@PERLINSTALLSITEARCH@,$PERLINSTALLSITEARCH,;t t
23366
 
s,@PERLMAN3DIR@,$PERLMAN3DIR,;t t
23367
 
s,@PERL_ENABLED_TRUE@,$PERL_ENABLED_TRUE,;t t
23368
 
s,@PERL_ENABLED_FALSE@,$PERL_ENABLED_FALSE,;t t
23369
 
s,@PERL_VERSION@,$PERL_VERSION,;t t
23370
 
s,@Z_CFLAGS@,$Z_CFLAGS,;t t
23371
 
s,@Z_LIBS@,$Z_LIBS,;t t
23372
 
s,@CHECK_CFLAGS@,$CHECK_CFLAGS,;t t
23373
 
s,@CHECK_LIBS@,$CHECK_LIBS,;t t
23374
 
s,@WITH_TESTS_TRUE@,$WITH_TESTS_TRUE,;t t
23375
 
s,@WITH_TESTS_FALSE@,$WITH_TESTS_FALSE,;t t
23376
 
s,@WSF_ENABLED_TRUE@,$WSF_ENABLED_TRUE,;t t
23377
 
s,@WSF_ENABLED_FALSE@,$WSF_ENABLED_FALSE,;t t
23378
 
s,@LASSO_WSF_SUPPORT@,$LASSO_WSF_SUPPORT,;t t
23379
 
s,@LASSO_DOCDIR@,$LASSO_DOCDIR,;t t
23380
 
s,@HTML_DIR@,$HTML_DIR,;t t
23381
 
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
23382
 
s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
23383
 
s,@LASSO_CFLAGS@,$LASSO_CFLAGS,;t t
23384
 
s,@LASSO_LIBS@,$LASSO_LIBS,;t t
23385
 
s,@GTK_DOC_CFLAGS@,$GTK_DOC_CFLAGS,;t t
23386
 
s,@GTK_DOC_LIBS@,$GTK_DOC_LIBS,;t t
23387
 
s,@GTK_DOC_ENABLED_TRUE@,$GTK_DOC_ENABLED_TRUE,;t t
23388
 
s,@GTK_DOC_ENABLED_FALSE@,$GTK_DOC_ENABLED_FALSE,;t t
23389
 
s,@REST2HTML@,$REST2HTML,;t t
23390
 
s,@HAVE_REST2HTML_TRUE@,$HAVE_REST2HTML_TRUE,;t t
23391
 
s,@HAVE_REST2HTML_FALSE@,$HAVE_REST2HTML_FALSE,;t t
23392
 
s,@XSLTPROC@,$XSLTPROC,;t t
23393
 
s,@HAVE_XSLTPROC_TRUE@,$HAVE_XSLTPROC_TRUE,;t t
23394
 
s,@HAVE_XSLTPROC_FALSE@,$HAVE_XSLTPROC_FALSE,;t t
23395
 
s,@INKSCAPE@,$INKSCAPE,;t t
23396
 
s,@HAVE_INKSCAPE_TRUE@,$HAVE_INKSCAPE_TRUE,;t t
23397
 
s,@HAVE_INKSCAPE_FALSE@,$HAVE_INKSCAPE_FALSE,;t t
23398
 
s,@LASSO_STATIC_BINARIES@,$LASSO_STATIC_BINARIES,;t t
23399
 
s,@LASSO_CORE_CFLAGS@,$LASSO_CORE_CFLAGS,;t t
23400
 
s,@LASSO_CORE_LIBS@,$LASSO_CORE_LIBS,;t t
23401
 
s,@LASSO_PUB_CFLAGS@,$LASSO_PUB_CFLAGS,;t t
23402
 
s,@LASSO_DEFINES@,$LASSO_DEFINES,;t t
23403
 
s,@LASSO_APP_DEFINES@,$LASSO_APP_DEFINES,;t t
23404
 
s,@MINGW_TRUE@,$MINGW_TRUE,;t t
23405
 
s,@MINGW_FALSE@,$MINGW_FALSE,;t t
23406
 
s,@DARWIN_TRUE@,$DARWIN_TRUE,;t t
23407
 
s,@DARWIN_FALSE@,$DARWIN_FALSE,;t t
23408
 
s,@LIBOBJS@,$LIBOBJS,;t t
23409
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23410
 
CEOF
23411
 
 
23412
 
_ACEOF
23413
 
 
23414
 
  cat >>$CONFIG_STATUS <<\_ACEOF
23415
 
  # Split the substitutions into bite-sized pieces for seds with
23416
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
23417
 
  ac_max_sed_lines=48
23418
 
  ac_sed_frag=1 # Number of current file.
23419
 
  ac_beg=1 # First line for current file.
23420
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
23421
 
  ac_more_lines=:
23422
 
  ac_sed_cmds=
23423
 
  while $ac_more_lines; do
23424
 
    if test $ac_beg -gt 1; then
23425
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23426
 
    else
23427
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23428
 
    fi
23429
 
    if test ! -s $tmp/subs.frag; then
23430
 
      ac_more_lines=false
23431
 
    else
23432
 
      # The purpose of the label and of the branching condition is to
23433
 
      # speed up the sed processing (if there are no `@' at all, there
23434
 
      # is no need to browse any of the substitutions).
23435
 
      # These are the two extra sed commands mentioned above.
23436
 
      (echo ':t
23437
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
23438
 
      if test -z "$ac_sed_cmds"; then
23439
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
23440
 
      else
23441
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23442
 
      fi
23443
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
23444
 
      ac_beg=$ac_end
23445
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
23446
 
    fi
23447
 
  done
23448
 
  if test -z "$ac_sed_cmds"; then
23449
 
    ac_sed_cmds=cat
23450
 
  fi
 
23836
if test -n "$CONFIG_FILES"; then
 
23837
 
 
23838
_ACEOF
 
23839
 
 
23840
 
 
23841
 
 
23842
ac_delim='%!_!# '
 
23843
for ac_last_try in false false false false false :; do
 
23844
  cat >conf$$subs.sed <<_ACEOF
 
23845
SHELL!$SHELL$ac_delim
 
23846
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
23847
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
23848
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
23849
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
23850
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
23851
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
23852
exec_prefix!$exec_prefix$ac_delim
 
23853
prefix!$prefix$ac_delim
 
23854
program_transform_name!$program_transform_name$ac_delim
 
23855
bindir!$bindir$ac_delim
 
23856
sbindir!$sbindir$ac_delim
 
23857
libexecdir!$libexecdir$ac_delim
 
23858
datarootdir!$datarootdir$ac_delim
 
23859
datadir!$datadir$ac_delim
 
23860
sysconfdir!$sysconfdir$ac_delim
 
23861
sharedstatedir!$sharedstatedir$ac_delim
 
23862
localstatedir!$localstatedir$ac_delim
 
23863
includedir!$includedir$ac_delim
 
23864
oldincludedir!$oldincludedir$ac_delim
 
23865
docdir!$docdir$ac_delim
 
23866
infodir!$infodir$ac_delim
 
23867
htmldir!$htmldir$ac_delim
 
23868
dvidir!$dvidir$ac_delim
 
23869
pdfdir!$pdfdir$ac_delim
 
23870
psdir!$psdir$ac_delim
 
23871
libdir!$libdir$ac_delim
 
23872
localedir!$localedir$ac_delim
 
23873
mandir!$mandir$ac_delim
 
23874
DEFS!$DEFS$ac_delim
 
23875
ECHO_C!$ECHO_C$ac_delim
 
23876
ECHO_N!$ECHO_N$ac_delim
 
23877
ECHO_T!$ECHO_T$ac_delim
 
23878
LIBS!$LIBS$ac_delim
 
23879
build_alias!$build_alias$ac_delim
 
23880
host_alias!$host_alias$ac_delim
 
23881
target_alias!$target_alias$ac_delim
 
23882
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
23883
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
23884
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
23885
CYGPATH_W!$CYGPATH_W$ac_delim
 
23886
PACKAGE!$PACKAGE$ac_delim
 
23887
VERSION!$VERSION$ac_delim
 
23888
ACLOCAL!$ACLOCAL$ac_delim
 
23889
AUTOCONF!$AUTOCONF$ac_delim
 
23890
AUTOMAKE!$AUTOMAKE$ac_delim
 
23891
AUTOHEADER!$AUTOHEADER$ac_delim
 
23892
MAKEINFO!$MAKEINFO$ac_delim
 
23893
install_sh!$install_sh$ac_delim
 
23894
STRIP!$STRIP$ac_delim
 
23895
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
23896
mkdir_p!$mkdir_p$ac_delim
 
23897
AWK!$AWK$ac_delim
 
23898
SET_MAKE!$SET_MAKE$ac_delim
 
23899
am__leading_dot!$am__leading_dot$ac_delim
 
23900
AMTAR!$AMTAR$ac_delim
 
23901
am__tar!$am__tar$ac_delim
 
23902
am__untar!$am__untar$ac_delim
 
23903
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
 
23904
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
 
23905
MAINT!$MAINT$ac_delim
 
23906
build!$build$ac_delim
 
23907
build_cpu!$build_cpu$ac_delim
 
23908
build_vendor!$build_vendor$ac_delim
 
23909
build_os!$build_os$ac_delim
 
23910
host!$host$ac_delim
 
23911
host_cpu!$host_cpu$ac_delim
 
23912
host_vendor!$host_vendor$ac_delim
 
23913
host_os!$host_os$ac_delim
 
23914
CC!$CC$ac_delim
 
23915
CFLAGS!$CFLAGS$ac_delim
 
23916
LDFLAGS!$LDFLAGS$ac_delim
 
23917
CPPFLAGS!$CPPFLAGS$ac_delim
 
23918
ac_ct_CC!$ac_ct_CC$ac_delim
 
23919
EXEEXT!$EXEEXT$ac_delim
 
23920
OBJEXT!$OBJEXT$ac_delim
 
23921
DEPDIR!$DEPDIR$ac_delim
 
23922
am__include!$am__include$ac_delim
 
23923
am__quote!$am__quote$ac_delim
 
23924
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 
23925
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 
23926
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 
23927
CCDEPMODE!$CCDEPMODE$ac_delim
 
23928
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 
23929
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
23930
CPP!$CPP$ac_delim
 
23931
GREP!$GREP$ac_delim
 
23932
EGREP!$EGREP$ac_delim
 
23933
RC!$RC$ac_delim
 
23934
GCJ!$GCJ$ac_delim
 
23935
GCJFLAGS!$GCJFLAGS$ac_delim
 
23936
GCJDEPMODE!$GCJDEPMODE$ac_delim
 
23937
am__fastdepGCJ_TRUE!$am__fastdepGCJ_TRUE$ac_delim
 
23938
am__fastdepGCJ_FALSE!$am__fastdepGCJ_FALSE$ac_delim
 
23939
LN_S!$LN_S$ac_delim
 
23940
ECHO!$ECHO$ac_delim
 
23941
AR!$AR$ac_delim
 
23942
_ACEOF
 
23943
 
 
23944
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
23945
    break
 
23946
  elif $ac_last_try; then
 
23947
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
23948
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
23949
   { (exit 1); exit 1; }; }
 
23950
  else
 
23951
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
23952
  fi
 
23953
done
 
23954
 
 
23955
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
23956
if test -n "$ac_eof"; then
 
23957
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
23958
  ac_eof=`expr $ac_eof + 1`
 
23959
fi
 
23960
 
 
23961
cat >>$CONFIG_STATUS <<_ACEOF
 
23962
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
23963
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
23964
_ACEOF
 
23965
sed '
 
23966
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
23967
s/^/s,@/; s/!/@,|#_!!_#|/
 
23968
:n
 
23969
t n
 
23970
s/'"$ac_delim"'$/,g/; t
 
23971
s/$/\\/; p
 
23972
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
23973
' >>$CONFIG_STATUS <conf$$subs.sed
 
23974
rm -f conf$$subs.sed
 
23975
cat >>$CONFIG_STATUS <<_ACEOF
 
23976
CEOF$ac_eof
 
23977
_ACEOF
 
23978
 
 
23979
 
 
23980
ac_delim='%!_!# '
 
23981
for ac_last_try in false false false false false :; do
 
23982
  cat >conf$$subs.sed <<_ACEOF
 
23983
RANLIB!$RANLIB$ac_delim
 
23984
DLLTOOL!$DLLTOOL$ac_delim
 
23985
AS!$AS$ac_delim
 
23986
OBJDUMP!$OBJDUMP$ac_delim
 
23987
CXX!$CXX$ac_delim
 
23988
CXXFLAGS!$CXXFLAGS$ac_delim
 
23989
ac_ct_CXX!$ac_ct_CXX$ac_delim
 
23990
CXXDEPMODE!$CXXDEPMODE$ac_delim
 
23991
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
 
23992
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
 
23993
CXXCPP!$CXXCPP$ac_delim
 
23994
F77!$F77$ac_delim
 
23995
FFLAGS!$FFLAGS$ac_delim
 
23996
ac_ct_F77!$ac_ct_F77$ac_delim
 
23997
LIBTOOL!$LIBTOOL$ac_delim
 
23998
LIBTOOL_DEPS!$LIBTOOL_DEPS$ac_delim
 
23999
TAR!$TAR$ac_delim
 
24000
JAVA!$JAVA$ac_delim
 
24001
JAVAC!$JAVAC$ac_delim
 
24002
JAR!$JAR$ac_delim
 
24003
PERL!$PERL$ac_delim
 
24004
PHP4!$PHP4$ac_delim
 
24005
PHP5!$PHP5$ac_delim
 
24006
PHP4_CONFIG!$PHP4_CONFIG$ac_delim
 
24007
PHP5_CONFIG!$PHP5_CONFIG$ac_delim
 
24008
PYTHON!$PYTHON$ac_delim
 
24009
SWIG!$SWIG$ac_delim
 
24010
U!$U$ac_delim
 
24011
ANSI2KNR!$ANSI2KNR$ac_delim
 
24012
VERSION_UNDERSCORED!$VERSION_UNDERSCORED$ac_delim
 
24013
WINDOWS_VERSION!$WINDOWS_VERSION$ac_delim
 
24014
LASSO_VERSION_INFO!$LASSO_VERSION_INFO$ac_delim
 
24015
UPCASED_DLL_FILENAME!$UPCASED_DLL_FILENAME$ac_delim
 
24016
DLL_FILENAME!$DLL_FILENAME$ac_delim
 
24017
SWIG_PYTHON_ARGS!$SWIG_PYTHON_ARGS$ac_delim
 
24018
JAVA_ENABLED_TRUE!$JAVA_ENABLED_TRUE$ac_delim
 
24019
JAVA_ENABLED_FALSE!$JAVA_ENABLED_FALSE$ac_delim
 
24020
JAVA_VERSION!$JAVA_VERSION$ac_delim
 
24021
JAVAC_FLAGS!$JAVAC_FLAGS$ac_delim
 
24022
JDK_INCLUDE!$JDK_INCLUDE$ac_delim
 
24023
PY_LIB_LOC!$PY_LIB_LOC$ac_delim
 
24024
PY_CFLAGS!$PY_CFLAGS$ac_delim
 
24025
PY_EXTRA_LIBS!$PY_EXTRA_LIBS$ac_delim
 
24026
PY_DYNLOAD!$PY_DYNLOAD$ac_delim
 
24027
PY_LIB_A!$PY_LIB_A$ac_delim
 
24028
PY_SITE_PACKAGES!$PY_SITE_PACKAGES$ac_delim
 
24029
PYTHON_ENABLED_TRUE!$PYTHON_ENABLED_TRUE$ac_delim
 
24030
PYTHON_ENABLED_FALSE!$PYTHON_ENABLED_FALSE$ac_delim
 
24031
PYTHON_VERSION!$PYTHON_VERSION$ac_delim
 
24032
PHP4_INCLUDES!$PHP4_INCLUDES$ac_delim
 
24033
PHP4_LDFLAGS!$PHP4_LDFLAGS$ac_delim
 
24034
PHP4_LIBS!$PHP4_LIBS$ac_delim
 
24035
PHP4_UNPREFIXED_EXTENSION_DIR!$PHP4_UNPREFIXED_EXTENSION_DIR$ac_delim
 
24036
PHP4_EXTENSION_DIR!$PHP4_EXTENSION_DIR$ac_delim
 
24037
PHP4_PREFIX!$PHP4_PREFIX$ac_delim
 
24038
PHP4_ENABLED_TRUE!$PHP4_ENABLED_TRUE$ac_delim
 
24039
PHP4_ENABLED_FALSE!$PHP4_ENABLED_FALSE$ac_delim
 
24040
PHP4_VERSION!$PHP4_VERSION$ac_delim
 
24041
PHP5_INCLUDES!$PHP5_INCLUDES$ac_delim
 
24042
PHP5_LDFLAGS!$PHP5_LDFLAGS$ac_delim
 
24043
PHP5_LIBS!$PHP5_LIBS$ac_delim
 
24044
PHP5_UNPREFIXED_EXTENSION_DIR!$PHP5_UNPREFIXED_EXTENSION_DIR$ac_delim
 
24045
PHP5_EXTENSION_DIR!$PHP5_EXTENSION_DIR$ac_delim
 
24046
PHP5_PREFIX!$PHP5_PREFIX$ac_delim
 
24047
PHP5_ENABLED_TRUE!$PHP5_ENABLED_TRUE$ac_delim
 
24048
PHP5_ENABLED_FALSE!$PHP5_ENABLED_FALSE$ac_delim
 
24049
PHP5_VERSION!$PHP5_VERSION$ac_delim
 
24050
GACUTIL!$GACUTIL$ac_delim
 
24051
CSHARPCILINTERPRETER!$CSHARPCILINTERPRETER$ac_delim
 
24052
CSHARPCYGPATH_W!$CSHARPCYGPATH_W$ac_delim
 
24053
CSHARPCOMPILER!$CSHARPCOMPILER$ac_delim
 
24054
CSHARPDYNAMICLINKING!$CSHARPDYNAMICLINKING$ac_delim
 
24055
CSHARPLIBRARYPREFIX!$CSHARPLIBRARYPREFIX$ac_delim
 
24056
CSHARP_ENABLED_TRUE!$CSHARP_ENABLED_TRUE$ac_delim
 
24057
CSHARP_ENABLED_FALSE!$CSHARP_ENABLED_FALSE$ac_delim
 
24058
PERLINSTALLSITEARCH!$PERLINSTALLSITEARCH$ac_delim
 
24059
PERLMAN3DIR!$PERLMAN3DIR$ac_delim
 
24060
PERL_ENABLED_TRUE!$PERL_ENABLED_TRUE$ac_delim
 
24061
PERL_ENABLED_FALSE!$PERL_ENABLED_FALSE$ac_delim
 
24062
PERL_VERSION!$PERL_VERSION$ac_delim
 
24063
Z_CFLAGS!$Z_CFLAGS$ac_delim
 
24064
Z_LIBS!$Z_LIBS$ac_delim
 
24065
CHECK_CFLAGS!$CHECK_CFLAGS$ac_delim
 
24066
CHECK_LIBS!$CHECK_LIBS$ac_delim
 
24067
WITH_TESTS_TRUE!$WITH_TESTS_TRUE$ac_delim
 
24068
WITH_TESTS_FALSE!$WITH_TESTS_FALSE$ac_delim
 
24069
WSF_ENABLED_TRUE!$WSF_ENABLED_TRUE$ac_delim
 
24070
WSF_ENABLED_FALSE!$WSF_ENABLED_FALSE$ac_delim
 
24071
LASSO_WSF_SUPPORT!$LASSO_WSF_SUPPORT$ac_delim
 
24072
LASSO_DOCDIR!$LASSO_DOCDIR$ac_delim
 
24073
HTML_DIR!$HTML_DIR$ac_delim
 
24074
PKG_CONFIG!$PKG_CONFIG$ac_delim
 
24075
LASSO_CFLAGS!$LASSO_CFLAGS$ac_delim
 
24076
LASSO_LIBS!$LASSO_LIBS$ac_delim
 
24077
GTK_DOC_CFLAGS!$GTK_DOC_CFLAGS$ac_delim
 
24078
GTK_DOC_LIBS!$GTK_DOC_LIBS$ac_delim
 
24079
GTK_DOC_ENABLED_TRUE!$GTK_DOC_ENABLED_TRUE$ac_delim
 
24080
_ACEOF
 
24081
 
 
24082
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
24083
    break
 
24084
  elif $ac_last_try; then
 
24085
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
24086
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
24087
   { (exit 1); exit 1; }; }
 
24088
  else
 
24089
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
24090
  fi
 
24091
done
 
24092
 
 
24093
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
24094
if test -n "$ac_eof"; then
 
24095
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
24096
  ac_eof=`expr $ac_eof + 1`
 
24097
fi
 
24098
 
 
24099
cat >>$CONFIG_STATUS <<_ACEOF
 
24100
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
24101
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
24102
_ACEOF
 
24103
sed '
 
24104
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
24105
s/^/s,@/; s/!/@,|#_!!_#|/
 
24106
:n
 
24107
t n
 
24108
s/'"$ac_delim"'$/,g/; t
 
24109
s/$/\\/; p
 
24110
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
24111
' >>$CONFIG_STATUS <conf$$subs.sed
 
24112
rm -f conf$$subs.sed
 
24113
cat >>$CONFIG_STATUS <<_ACEOF
 
24114
CEOF$ac_eof
 
24115
_ACEOF
 
24116
 
 
24117
 
 
24118
ac_delim='%!_!# '
 
24119
for ac_last_try in false false false false false :; do
 
24120
  cat >conf$$subs.sed <<_ACEOF
 
24121
GTK_DOC_ENABLED_FALSE!$GTK_DOC_ENABLED_FALSE$ac_delim
 
24122
REST2HTML!$REST2HTML$ac_delim
 
24123
HAVE_REST2HTML_TRUE!$HAVE_REST2HTML_TRUE$ac_delim
 
24124
HAVE_REST2HTML_FALSE!$HAVE_REST2HTML_FALSE$ac_delim
 
24125
XSLTPROC!$XSLTPROC$ac_delim
 
24126
HAVE_XSLTPROC_TRUE!$HAVE_XSLTPROC_TRUE$ac_delim
 
24127
HAVE_XSLTPROC_FALSE!$HAVE_XSLTPROC_FALSE$ac_delim
 
24128
INKSCAPE!$INKSCAPE$ac_delim
 
24129
HAVE_INKSCAPE_TRUE!$HAVE_INKSCAPE_TRUE$ac_delim
 
24130
HAVE_INKSCAPE_FALSE!$HAVE_INKSCAPE_FALSE$ac_delim
 
24131
LASSO_STATIC_BINARIES!$LASSO_STATIC_BINARIES$ac_delim
 
24132
LASSO_CORE_CFLAGS!$LASSO_CORE_CFLAGS$ac_delim
 
24133
LASSO_CORE_LIBS!$LASSO_CORE_LIBS$ac_delim
 
24134
LASSO_PUB_CFLAGS!$LASSO_PUB_CFLAGS$ac_delim
 
24135
LASSO_DEFINES!$LASSO_DEFINES$ac_delim
 
24136
LASSO_APP_DEFINES!$LASSO_APP_DEFINES$ac_delim
 
24137
MINGW_TRUE!$MINGW_TRUE$ac_delim
 
24138
MINGW_FALSE!$MINGW_FALSE$ac_delim
 
24139
DARWIN_TRUE!$DARWIN_TRUE$ac_delim
 
24140
DARWIN_FALSE!$DARWIN_FALSE$ac_delim
 
24141
LIBOBJS!$LIBOBJS$ac_delim
 
24142
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
24143
_ACEOF
 
24144
 
 
24145
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 22; then
 
24146
    break
 
24147
  elif $ac_last_try; then
 
24148
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
24149
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
24150
   { (exit 1); exit 1; }; }
 
24151
  else
 
24152
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
24153
  fi
 
24154
done
 
24155
 
 
24156
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
24157
if test -n "$ac_eof"; then
 
24158
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
24159
  ac_eof=`expr $ac_eof + 1`
 
24160
fi
 
24161
 
 
24162
cat >>$CONFIG_STATUS <<_ACEOF
 
24163
cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
 
24164
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
24165
_ACEOF
 
24166
sed '
 
24167
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
24168
s/^/s,@/; s/!/@,|#_!!_#|/
 
24169
:n
 
24170
t n
 
24171
s/'"$ac_delim"'$/,g/; t
 
24172
s/$/\\/; p
 
24173
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
24174
' >>$CONFIG_STATUS <conf$$subs.sed
 
24175
rm -f conf$$subs.sed
 
24176
cat >>$CONFIG_STATUS <<_ACEOF
 
24177
:end
 
24178
s/|#_!!_#|//g
 
24179
CEOF$ac_eof
 
24180
_ACEOF
 
24181
 
 
24182
 
 
24183
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
24184
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
24185
# trailing colons and then remove the whole line if VPATH becomes empty
 
24186
# (actually we leave an empty line to preserve line numbers).
 
24187
if test "x$srcdir" = x.; then
 
24188
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
24189
s/:*\$(srcdir):*/:/
 
24190
s/:*\${srcdir}:*/:/
 
24191
s/:*@srcdir@:*/:/
 
24192
s/^\([^=]*=[     ]*\):*/\1/
 
24193
s/:*$//
 
24194
s/^[^=]*=[       ]*$//
 
24195
}'
 
24196
fi
 
24197
 
 
24198
cat >>$CONFIG_STATUS <<\_ACEOF
23451
24199
fi # test -n "$CONFIG_FILES"
23452
24200
 
23453
 
_ACEOF
23454
 
cat >>$CONFIG_STATUS <<\_ACEOF
23455
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23456
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23457
 
  case $ac_file in
23458
 
  - | *:- | *:-:* ) # input from stdin
23459
 
        cat >$tmp/stdin
23460
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23461
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23462
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23463
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23464
 
  * )   ac_file_in=$ac_file.in ;;
23465
 
  esac
23466
 
 
23467
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23468
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
24201
 
 
24202
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
24203
do
 
24204
  case $ac_tag in
 
24205
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
24206
  esac
 
24207
  case $ac_mode$ac_tag in
 
24208
  :[FHL]*:*);;
 
24209
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
24210
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
24211
   { (exit 1); exit 1; }; };;
 
24212
  :[FH]-) ac_tag=-:-;;
 
24213
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
24214
  esac
 
24215
  ac_save_IFS=$IFS
 
24216
  IFS=:
 
24217
  set x $ac_tag
 
24218
  IFS=$ac_save_IFS
 
24219
  shift
 
24220
  ac_file=$1
 
24221
  shift
 
24222
 
 
24223
  case $ac_mode in
 
24224
  :L) ac_source=$1;;
 
24225
  :[FH])
 
24226
    ac_file_inputs=
 
24227
    for ac_f
 
24228
    do
 
24229
      case $ac_f in
 
24230
      -) ac_f="$tmp/stdin";;
 
24231
      *) # Look for the file first in the build tree, then in the source tree
 
24232
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
24233
         # because $ac_f cannot contain `:'.
 
24234
         test -f "$ac_f" ||
 
24235
           case $ac_f in
 
24236
           [\\/$]*) false;;
 
24237
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
24238
           esac ||
 
24239
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
24240
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
24241
   { (exit 1); exit 1; }; };;
 
24242
      esac
 
24243
      ac_file_inputs="$ac_file_inputs $ac_f"
 
24244
    done
 
24245
 
 
24246
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
24247
    # use $as_me), people would be surprised to read:
 
24248
    #    /* config.h.  Generated by config.status.  */
 
24249
    configure_input="Generated from "`IFS=:
 
24250
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
24251
    if test x"$ac_file" != x-; then
 
24252
      configure_input="$ac_file.  $configure_input"
 
24253
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
24254
echo "$as_me: creating $ac_file" >&6;}
 
24255
    fi
 
24256
 
 
24257
    case $ac_tag in
 
24258
    *:-:* | *:-) cat >"$tmp/stdin";;
 
24259
    esac
 
24260
    ;;
 
24261
  esac
 
24262
 
 
24263
  ac_dir=`$as_dirname -- "$ac_file" ||
23469
24264
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23470
24265
         X"$ac_file" : 'X\(//\)[^/]' \| \
23471
24266
         X"$ac_file" : 'X\(//\)$' \| \
23472
 
         X"$ac_file" : 'X\(/\)' \| \
23473
 
         .     : '\(.\)' 2>/dev/null ||
 
24267
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23474
24268
echo X"$ac_file" |
23475
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23476
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23477
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23478
 
          /^X\(\/\).*/{ s//\1/; q; }
23479
 
          s/.*/./; q'`
23480
 
  { if $as_mkdir_p; then
23481
 
    mkdir -p "$ac_dir"
23482
 
  else
23483
 
    as_dir="$ac_dir"
 
24269
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
24270
            s//\1/
 
24271
            q
 
24272
          }
 
24273
          /^X\(\/\/\)[^/].*/{
 
24274
            s//\1/
 
24275
            q
 
24276
          }
 
24277
          /^X\(\/\/\)$/{
 
24278
            s//\1/
 
24279
            q
 
24280
          }
 
24281
          /^X\(\/\).*/{
 
24282
            s//\1/
 
24283
            q
 
24284
          }
 
24285
          s/.*/./; q'`
 
24286
  { as_dir="$ac_dir"
 
24287
  case $as_dir in #(
 
24288
  -*) as_dir=./$as_dir;;
 
24289
  esac
 
24290
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23484
24291
    as_dirs=
23485
 
    while test ! -d "$as_dir"; do
23486
 
      as_dirs="$as_dir $as_dirs"
23487
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
24292
    while :; do
 
24293
      case $as_dir in #(
 
24294
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
24295
      *) as_qdir=$as_dir;;
 
24296
      esac
 
24297
      as_dirs="'$as_qdir' $as_dirs"
 
24298
      as_dir=`$as_dirname -- "$as_dir" ||
23488
24299
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23489
24300
         X"$as_dir" : 'X\(//\)[^/]' \| \
23490
24301
         X"$as_dir" : 'X\(//\)$' \| \
23491
 
         X"$as_dir" : 'X\(/\)' \| \
23492
 
         .     : '\(.\)' 2>/dev/null ||
 
24302
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23493
24303
echo X"$as_dir" |
23494
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23495
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23496
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23497
 
          /^X\(\/\).*/{ s//\1/; q; }
23498
 
          s/.*/./; q'`
 
24304
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
24305
            s//\1/
 
24306
            q
 
24307
          }
 
24308
          /^X\(\/\/\)[^/].*/{
 
24309
            s//\1/
 
24310
            q
 
24311
          }
 
24312
          /^X\(\/\/\)$/{
 
24313
            s//\1/
 
24314
            q
 
24315
          }
 
24316
          /^X\(\/\).*/{
 
24317
            s//\1/
 
24318
            q
 
24319
          }
 
24320
          s/.*/./; q'`
 
24321
      test -d "$as_dir" && break
23499
24322
    done
23500
 
    test ! -n "$as_dirs" || mkdir $as_dirs
23501
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23502
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
24323
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
24324
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
24325
echo "$as_me: error: cannot create directory $as_dir" >&2;}
23503
24326
   { (exit 1); exit 1; }; }; }
23504
 
 
23505
24327
  ac_builddir=.
23506
24328
 
23507
 
if test "$ac_dir" != .; then
 
24329
case "$ac_dir" in
 
24330
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
24331
*)
23508
24332
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23509
 
  # A "../" for each directory in $ac_dir_suffix.
23510
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23511
 
else
23512
 
  ac_dir_suffix= ac_top_builddir=
23513
 
fi
 
24333
  # A ".." for each directory in $ac_dir_suffix.
 
24334
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
24335
  case $ac_top_builddir_sub in
 
24336
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
24337
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
24338
  esac ;;
 
24339
esac
 
24340
ac_abs_top_builddir=$ac_pwd
 
24341
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
24342
# for backward compatibility:
 
24343
ac_top_builddir=$ac_top_build_prefix
23514
24344
 
23515
24345
case $srcdir in
23516
 
  .)  # No --srcdir option.  We are building in place.
 
24346
  .)  # We are building in place.
23517
24347
    ac_srcdir=.
23518
 
    if test -z "$ac_top_builddir"; then
23519
 
       ac_top_srcdir=.
23520
 
    else
23521
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23522
 
    fi ;;
23523
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
24348
    ac_top_srcdir=$ac_top_builddir_sub
 
24349
    ac_abs_top_srcdir=$ac_pwd ;;
 
24350
  [\\/]* | ?:[\\/]* )  # Absolute name.
23524
24351
    ac_srcdir=$srcdir$ac_dir_suffix;
23525
 
    ac_top_srcdir=$srcdir ;;
23526
 
  *) # Relative path.
23527
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23528
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
23529
 
esac
23530
 
 
23531
 
# Do not use `cd foo && pwd` to compute absolute paths, because
23532
 
# the directories may not exist.
23533
 
case `pwd` in
23534
 
.) ac_abs_builddir="$ac_dir";;
23535
 
*)
23536
 
  case "$ac_dir" in
23537
 
  .) ac_abs_builddir=`pwd`;;
23538
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
23539
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
23540
 
  esac;;
23541
 
esac
23542
 
case $ac_abs_builddir in
23543
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
23544
 
*)
23545
 
  case ${ac_top_builddir}. in
23546
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
23547
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
23548
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
23549
 
  esac;;
23550
 
esac
23551
 
case $ac_abs_builddir in
23552
 
.) ac_abs_srcdir=$ac_srcdir;;
23553
 
*)
23554
 
  case $ac_srcdir in
23555
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
23556
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
23557
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
23558
 
  esac;;
23559
 
esac
23560
 
case $ac_abs_builddir in
23561
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
23562
 
*)
23563
 
  case $ac_top_srcdir in
23564
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
23565
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
23566
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
23567
 
  esac;;
23568
 
esac
23569
 
 
 
24352
    ac_top_srcdir=$srcdir
 
24353
    ac_abs_top_srcdir=$srcdir ;;
 
24354
  *) # Relative name.
 
24355
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
24356
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
24357
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
24358
esac
 
24359
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
24360
 
 
24361
 
 
24362
  case $ac_mode in
 
24363
  :F)
 
24364
  #
 
24365
  # CONFIG_FILE
 
24366
  #
23570
24367
 
23571
24368
  case $INSTALL in
23572
24369
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23573
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
24370
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23574
24371
  esac
23575
 
 
23576
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
23577
 
  # use $as_me), people would be surprised to read:
23578
 
  #    /* config.h.  Generated by config.status.  */
23579
 
  if test x"$ac_file" = x-; then
23580
 
    configure_input=
23581
 
  else
23582
 
    configure_input="$ac_file.  "
23583
 
  fi
23584
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
23585
 
                                     sed 's,.*/,,'` by configure."
23586
 
 
23587
 
  # First look for the input files in the build tree, otherwise in the
23588
 
  # src tree.
23589
 
  ac_file_inputs=`IFS=:
23590
 
    for f in $ac_file_in; do
23591
 
      case $f in
23592
 
      -) echo $tmp/stdin ;;
23593
 
      [\\/$]*)
23594
 
         # Absolute (can't be DOS-style, as IFS=:)
23595
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23596
 
echo "$as_me: error: cannot find input file: $f" >&2;}
23597
 
   { (exit 1); exit 1; }; }
23598
 
         echo "$f";;
23599
 
      *) # Relative
23600
 
         if test -f "$f"; then
23601
 
           # Build tree
23602
 
           echo "$f"
23603
 
         elif test -f "$srcdir/$f"; then
23604
 
           # Source tree
23605
 
           echo "$srcdir/$f"
23606
 
         else
23607
 
           # /dev/null tree
23608
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23609
 
echo "$as_me: error: cannot find input file: $f" >&2;}
23610
 
   { (exit 1); exit 1; }; }
23611
 
         fi;;
23612
 
      esac
23613
 
    done` || { (exit 1); exit 1; }
23614
 
 
23615
 
  if test x"$ac_file" != x-; then
23616
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
23617
 
echo "$as_me: creating $ac_file" >&6;}
23618
 
    rm -f "$ac_file"
23619
 
  fi
23620
 
_ACEOF
 
24372
_ACEOF
 
24373
 
 
24374
cat >>$CONFIG_STATUS <<\_ACEOF
 
24375
# If the template does not know about datarootdir, expand it.
 
24376
# FIXME: This hack should be removed a few years after 2.60.
 
24377
ac_datarootdir_hack=; ac_datarootdir_seen=
 
24378
 
 
24379
case `sed -n '/datarootdir/ {
 
24380
  p
 
24381
  q
 
24382
}
 
24383
/@datadir@/p
 
24384
/@docdir@/p
 
24385
/@infodir@/p
 
24386
/@localedir@/p
 
24387
/@mandir@/p
 
24388
' $ac_file_inputs` in
 
24389
*datarootdir*) ac_datarootdir_seen=yes;;
 
24390
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
24391
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
24392
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
24393
_ACEOF
 
24394
cat >>$CONFIG_STATUS <<_ACEOF
 
24395
  ac_datarootdir_hack='
 
24396
  s&@datadir@&$datadir&g
 
24397
  s&@docdir@&$docdir&g
 
24398
  s&@infodir@&$infodir&g
 
24399
  s&@localedir@&$localedir&g
 
24400
  s&@mandir@&$mandir&g
 
24401
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
24402
esac
 
24403
_ACEOF
 
24404
 
 
24405
# Neutralize VPATH when `$srcdir' = `.'.
 
24406
# Shell code in configure.ac might set extrasub.
 
24407
# FIXME: do we really want to maintain this feature?
23621
24408
cat >>$CONFIG_STATUS <<_ACEOF
23622
24409
  sed "$ac_vpsub
23623
24410
$extrasub
23625
24412
cat >>$CONFIG_STATUS <<\_ACEOF
23626
24413
:t
23627
24414
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23628
 
s,@configure_input@,$configure_input,;t t
23629
 
s,@srcdir@,$ac_srcdir,;t t
23630
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
23631
 
s,@top_srcdir@,$ac_top_srcdir,;t t
23632
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
23633
 
s,@builddir@,$ac_builddir,;t t
23634
 
s,@abs_builddir@,$ac_abs_builddir,;t t
23635
 
s,@top_builddir@,$ac_top_builddir,;t t
23636
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
23637
 
s,@INSTALL@,$ac_INSTALL,;t t
23638
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
23639
 
  rm -f $tmp/stdin
23640
 
  if test x"$ac_file" != x-; then
23641
 
    mv $tmp/out $ac_file
23642
 
  else
23643
 
    cat $tmp/out
23644
 
    rm -f $tmp/out
23645
 
  fi
23646
 
 
23647
 
  # Run the commands associated with the file.
 
24415
s&@configure_input@&$configure_input&;t t
 
24416
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
24417
s&@srcdir@&$ac_srcdir&;t t
 
24418
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
24419
s&@top_srcdir@&$ac_top_srcdir&;t t
 
24420
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
24421
s&@builddir@&$ac_builddir&;t t
 
24422
s&@abs_builddir@&$ac_abs_builddir&;t t
 
24423
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
24424
s&@INSTALL@&$ac_INSTALL&;t t
 
24425
$ac_datarootdir_hack
 
24426
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
 
24427
 
 
24428
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
24429
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
24430
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
24431
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
24432
which seems to be undefined.  Please make sure it is defined." >&5
 
24433
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
24434
which seems to be undefined.  Please make sure it is defined." >&2;}
 
24435
 
 
24436
  rm -f "$tmp/stdin"
23648
24437
  case $ac_file in
23649
 
    lasso-src-config ) chmod +x lasso-src-config ;;
 
24438
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
24439
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23650
24440
  esac
23651
 
done
 
24441
 ;;
 
24442
  :H)
 
24443
  #
 
24444
  # CONFIG_HEADER
 
24445
  #
23652
24446
_ACEOF
23653
 
cat >>$CONFIG_STATUS <<\_ACEOF
23654
 
 
23655
 
#
23656
 
# CONFIG_HEADER section.
23657
 
#
23658
 
 
23659
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
23660
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
23661
 
#
23662
 
# ac_d sets the value in "#define NAME VALUE" lines.
23663
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
23664
 
ac_dB='[         ].*$,\1#\2'
 
24447
 
 
24448
# Transform confdefs.h into a sed script `conftest.defines', that
 
24449
# substitutes the proper values into config.h.in to produce config.h.
 
24450
rm -f conftest.defines conftest.tail
 
24451
# First, append a space to every undef/define line, to ease matching.
 
24452
echo 's/$/ /' >conftest.defines
 
24453
# Then, protect against being on the right side of a sed subst, or in
 
24454
# an unquoted here document, in config.status.  If some macros were
 
24455
# called several times there might be several #defines for the same
 
24456
# symbol, which is useless.  But do not sort them, since the last
 
24457
# AC_DEFINE must be honored.
 
24458
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
24459
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
 
24460
# NAME is the cpp macro being defined, VALUE is the value it is being given.
 
24461
# PARAMS is the parameter list in the macro definition--in most cases, it's
 
24462
# just an empty string.
 
24463
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
 
24464
ac_dB='\\)[      (].*,\\1define\\2'
23665
24465
ac_dC=' '
23666
 
ac_dD=',;t'
23667
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
23668
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
23669
 
ac_uB='$,\1#\2define\3'
23670
 
ac_uC=' '
23671
 
ac_uD=',;t'
23672
 
 
23673
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
23674
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23675
 
  case $ac_file in
23676
 
  - | *:- | *:-:* ) # input from stdin
23677
 
        cat >$tmp/stdin
23678
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23679
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23680
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23681
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23682
 
  * )   ac_file_in=$ac_file.in ;;
23683
 
  esac
23684
 
 
23685
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
23686
 
echo "$as_me: creating $ac_file" >&6;}
23687
 
 
23688
 
  # First look for the input files in the build tree, otherwise in the
23689
 
  # src tree.
23690
 
  ac_file_inputs=`IFS=:
23691
 
    for f in $ac_file_in; do
23692
 
      case $f in
23693
 
      -) echo $tmp/stdin ;;
23694
 
      [\\/$]*)
23695
 
         # Absolute (can't be DOS-style, as IFS=:)
23696
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23697
 
echo "$as_me: error: cannot find input file: $f" >&2;}
23698
 
   { (exit 1); exit 1; }; }
23699
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
23700
 
         echo "$f";;
23701
 
      *) # Relative
23702
 
         if test -f "$f"; then
23703
 
           # Build tree
23704
 
           echo "$f"
23705
 
         elif test -f "$srcdir/$f"; then
23706
 
           # Source tree
23707
 
           echo "$srcdir/$f"
23708
 
         else
23709
 
           # /dev/null tree
23710
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23711
 
echo "$as_me: error: cannot find input file: $f" >&2;}
23712
 
   { (exit 1); exit 1; }; }
23713
 
         fi;;
23714
 
      esac
23715
 
    done` || { (exit 1); exit 1; }
23716
 
  # Remove the trailing spaces.
23717
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
23718
 
 
23719
 
_ACEOF
23720
 
 
23721
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
23722
 
# `conftest.undefs', that substitutes the proper values into
23723
 
# config.h.in to produce config.h.  The first handles `#define'
23724
 
# templates, and the second `#undef' templates.
23725
 
# And first: Protect against being on the right side of a sed subst in
23726
 
# config.status.  Protect against being in an unquoted here document
23727
 
# in config.status.
23728
 
rm -f conftest.defines conftest.undefs
23729
 
# Using a here document instead of a string reduces the quoting nightmare.
23730
 
# Putting comments in sed scripts is not portable.
23731
 
#
23732
 
# `end' is used to avoid that the second main sed command (meant for
23733
 
# 0-ary CPP macros) applies to n-ary macro definitions.
23734
 
# See the Autoconf documentation for `clear'.
23735
 
cat >confdef2sed.sed <<\_ACEOF
23736
 
s/[\\&,]/\\&/g
23737
 
s,[\\$`],\\&,g
23738
 
t clear
23739
 
: clear
23740
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
23741
 
t end
23742
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
23743
 
: end
23744
 
_ACEOF
23745
 
# If some macros were called several times there might be several times
23746
 
# the same #defines, which is useless.  Nevertheless, we may not want to
23747
 
# sort them, since we want the *last* AC-DEFINE to be honored.
23748
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
23749
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
23750
 
rm -f confdef2sed.sed
23751
 
 
23752
 
# This sed command replaces #undef with comments.  This is necessary, for
 
24466
ac_dD=' ,'
 
24467
 
 
24468
uniq confdefs.h |
 
24469
  sed -n '
 
24470
        t rset
 
24471
        :rset
 
24472
        s/^[     ]*#[    ]*define[       ][      ]*//
 
24473
        t ok
 
24474
        d
 
24475
        :ok
 
24476
        s/[\\&,]/\\&/g
 
24477
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
 
24478
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
 
24479
  ' >>conftest.defines
 
24480
 
 
24481
# Remove the space that was appended to ease matching.
 
24482
# Then replace #undef with comments.  This is necessary, for
23753
24483
# example, in the case of _POSIX_SOURCE, which is predefined and required
23754
24484
# on some systems where configure will not decide to define it.
23755
 
cat >>conftest.undefs <<\_ACEOF
23756
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
24485
# (The regexp can be short, since the line contains either #define or #undef.)
 
24486
echo 's/ $//
 
24487
s,^[     #]*u.*,/* & */,' >>conftest.defines
 
24488
 
 
24489
# Break up conftest.defines:
 
24490
ac_max_sed_lines=50
 
24491
 
 
24492
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
 
24493
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
 
24494
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
 
24495
# et cetera.
 
24496
ac_in='$ac_file_inputs'
 
24497
ac_out='"$tmp/out1"'
 
24498
ac_nxt='"$tmp/out2"'
 
24499
 
 
24500
while :
 
24501
do
 
24502
  # Write a here document:
 
24503
    cat >>$CONFIG_STATUS <<_ACEOF
 
24504
    # First, check the format of the line:
 
24505
    cat >"\$tmp/defines.sed" <<\\CEOF
 
24506
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
 
24507
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
 
24508
b
 
24509
:def
23757
24510
_ACEOF
23758
 
 
23759
 
# Break up conftest.defines because some shells have a limit on the size
23760
 
# of here documents, and old seds have small limits too (100 cmds).
23761
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
23762
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
23763
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
23764
 
echo '  :' >>$CONFIG_STATUS
23765
 
rm -f conftest.tail
23766
 
while grep . conftest.defines >/dev/null
23767
 
do
23768
 
  # Write a limited-size here document to $tmp/defines.sed.
23769
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
23770
 
  # Speed up: don't consider the non `#define' lines.
23771
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
23772
 
  # Work around the forget-to-reset-the-flag bug.
23773
 
  echo 't clr' >>$CONFIG_STATUS
23774
 
  echo ': clr' >>$CONFIG_STATUS
23775
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 
24511
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23776
24512
  echo 'CEOF
23777
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
23778
 
  rm -f $tmp/in
23779
 
  mv $tmp/out $tmp/in
23780
 
' >>$CONFIG_STATUS
23781
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 
24513
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
 
24514
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
 
24515
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
 
24516
  grep . conftest.tail >/dev/null || break
23782
24517
  rm -f conftest.defines
23783
24518
  mv conftest.tail conftest.defines
23784
24519
done
23785
 
rm -f conftest.defines
23786
 
echo '  fi # grep' >>$CONFIG_STATUS
23787
 
echo >>$CONFIG_STATUS
23788
 
 
23789
 
# Break up conftest.undefs because some shells have a limit on the size
23790
 
# of here documents, and old seds have small limits too (100 cmds).
23791
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
23792
 
rm -f conftest.tail
23793
 
while grep . conftest.undefs >/dev/null
23794
 
do
23795
 
  # Write a limited-size here document to $tmp/undefs.sed.
23796
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
23797
 
  # Speed up: don't consider the non `#undef'
23798
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
23799
 
  # Work around the forget-to-reset-the-flag bug.
23800
 
  echo 't clr' >>$CONFIG_STATUS
23801
 
  echo ': clr' >>$CONFIG_STATUS
23802
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
23803
 
  echo 'CEOF
23804
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
23805
 
  rm -f $tmp/in
23806
 
  mv $tmp/out $tmp/in
23807
 
' >>$CONFIG_STATUS
23808
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
23809
 
  rm -f conftest.undefs
23810
 
  mv conftest.tail conftest.undefs
23811
 
done
23812
 
rm -f conftest.undefs
23813
 
 
 
24520
rm -f conftest.defines conftest.tail
 
24521
 
 
24522
echo "ac_result=$ac_in" >>$CONFIG_STATUS
23814
24523
cat >>$CONFIG_STATUS <<\_ACEOF
23815
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
23816
 
  # use $as_me), people would be surprised to read:
23817
 
  #    /* config.h.  Generated by config.status.  */
23818
 
  if test x"$ac_file" = x-; then
23819
 
    echo "/* Generated by configure.  */" >$tmp/config.h
23820
 
  else
23821
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
23822
 
  fi
23823
 
  cat $tmp/in >>$tmp/config.h
23824
 
  rm -f $tmp/in
23825
24524
  if test x"$ac_file" != x-; then
23826
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 
24525
    echo "/* $configure_input  */" >"$tmp/config.h"
 
24526
    cat "$ac_result" >>"$tmp/config.h"
 
24527
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23827
24528
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23828
24529
echo "$as_me: $ac_file is unchanged" >&6;}
23829
24530
    else
23830
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23831
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23832
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
23833
 
         X"$ac_file" : 'X\(//\)$' \| \
23834
 
         X"$ac_file" : 'X\(/\)' \| \
23835
 
         .     : '\(.\)' 2>/dev/null ||
23836
 
echo X"$ac_file" |
23837
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23838
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23839
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23840
 
          /^X\(\/\).*/{ s//\1/; q; }
23841
 
          s/.*/./; q'`
23842
 
      { if $as_mkdir_p; then
23843
 
    mkdir -p "$ac_dir"
23844
 
  else
23845
 
    as_dir="$ac_dir"
23846
 
    as_dirs=
23847
 
    while test ! -d "$as_dir"; do
23848
 
      as_dirs="$as_dir $as_dirs"
23849
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
23850
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23851
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
23852
 
         X"$as_dir" : 'X\(//\)$' \| \
23853
 
         X"$as_dir" : 'X\(/\)' \| \
23854
 
         .     : '\(.\)' 2>/dev/null ||
23855
 
echo X"$as_dir" |
23856
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23857
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23858
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23859
 
          /^X\(\/\).*/{ s//\1/; q; }
23860
 
          s/.*/./; q'`
23861
 
    done
23862
 
    test ! -n "$as_dirs" || mkdir $as_dirs
23863
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23864
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23865
 
   { (exit 1); exit 1; }; }; }
23866
 
 
23867
24531
      rm -f $ac_file
23868
 
      mv $tmp/config.h $ac_file
 
24532
      mv "$tmp/config.h" $ac_file
23869
24533
    fi
23870
24534
  else
23871
 
    cat $tmp/config.h
23872
 
    rm -f $tmp/config.h
 
24535
    echo "/* $configure_input  */"
 
24536
    cat "$ac_result"
23873
24537
  fi
 
24538
  rm -f "$tmp/out12"
23874
24539
# Compute $ac_file's index in $config_headers.
23875
24540
_am_stamp_count=1
23876
24541
for _am_header in $config_headers :; do
23881
24546
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
23882
24547
  esac
23883
24548
done
23884
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
 
24549
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
23885
24550
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23886
24551
         X$ac_file : 'X\(//\)[^/]' \| \
23887
24552
         X$ac_file : 'X\(//\)$' \| \
23888
 
         X$ac_file : 'X\(/\)' \| \
23889
 
         .     : '\(.\)' 2>/dev/null ||
 
24553
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
23890
24554
echo X$ac_file |
23891
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23892
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23893
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23894
 
          /^X\(\/\).*/{ s//\1/; q; }
23895
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
23896
 
done
23897
 
_ACEOF
23898
 
cat >>$CONFIG_STATUS <<\_ACEOF
23899
 
 
23900
 
#
23901
 
# CONFIG_COMMANDS section.
23902
 
#
23903
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
23904
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
23905
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
23906
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
23907
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23908
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
23909
 
         X"$ac_dest" : 'X\(//\)$' \| \
23910
 
         X"$ac_dest" : 'X\(/\)' \| \
23911
 
         .     : '\(.\)' 2>/dev/null ||
23912
 
echo X"$ac_dest" |
23913
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23914
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23915
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23916
 
          /^X\(\/\).*/{ s//\1/; q; }
23917
 
          s/.*/./; q'`
23918
 
  { if $as_mkdir_p; then
23919
 
    mkdir -p "$ac_dir"
23920
 
  else
23921
 
    as_dir="$ac_dir"
23922
 
    as_dirs=
23923
 
    while test ! -d "$as_dir"; do
23924
 
      as_dirs="$as_dir $as_dirs"
23925
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
23926
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23927
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
23928
 
         X"$as_dir" : 'X\(//\)$' \| \
23929
 
         X"$as_dir" : 'X\(/\)' \| \
23930
 
         .     : '\(.\)' 2>/dev/null ||
23931
 
echo X"$as_dir" |
23932
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23933
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23934
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23935
 
          /^X\(\/\).*/{ s//\1/; q; }
23936
 
          s/.*/./; q'`
23937
 
    done
23938
 
    test ! -n "$as_dirs" || mkdir $as_dirs
23939
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23940
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23941
 
   { (exit 1); exit 1; }; }; }
23942
 
 
23943
 
  ac_builddir=.
23944
 
 
23945
 
if test "$ac_dir" != .; then
23946
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23947
 
  # A "../" for each directory in $ac_dir_suffix.
23948
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23949
 
else
23950
 
  ac_dir_suffix= ac_top_builddir=
23951
 
fi
23952
 
 
23953
 
case $srcdir in
23954
 
  .)  # No --srcdir option.  We are building in place.
23955
 
    ac_srcdir=.
23956
 
    if test -z "$ac_top_builddir"; then
23957
 
       ac_top_srcdir=.
23958
 
    else
23959
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23960
 
    fi ;;
23961
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
23962
 
    ac_srcdir=$srcdir$ac_dir_suffix;
23963
 
    ac_top_srcdir=$srcdir ;;
23964
 
  *) # Relative path.
23965
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23966
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
23967
 
esac
23968
 
 
23969
 
# Do not use `cd foo && pwd` to compute absolute paths, because
23970
 
# the directories may not exist.
23971
 
case `pwd` in
23972
 
.) ac_abs_builddir="$ac_dir";;
23973
 
*)
23974
 
  case "$ac_dir" in
23975
 
  .) ac_abs_builddir=`pwd`;;
23976
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
23977
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
23978
 
  esac;;
23979
 
esac
23980
 
case $ac_abs_builddir in
23981
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
23982
 
*)
23983
 
  case ${ac_top_builddir}. in
23984
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
23985
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
23986
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
23987
 
  esac;;
23988
 
esac
23989
 
case $ac_abs_builddir in
23990
 
.) ac_abs_srcdir=$ac_srcdir;;
23991
 
*)
23992
 
  case $ac_srcdir in
23993
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
23994
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
23995
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
23996
 
  esac;;
23997
 
esac
23998
 
case $ac_abs_builddir in
23999
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
24000
 
*)
24001
 
  case $ac_top_srcdir in
24002
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
24003
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
24004
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
24005
 
  esac;;
24006
 
esac
24007
 
 
24008
 
 
24009
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24010
 
echo "$as_me: executing $ac_dest commands" >&6;}
24011
 
  case $ac_dest in
24012
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
24555
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
24556
            s//\1/
 
24557
            q
 
24558
          }
 
24559
          /^X\(\/\/\)[^/].*/{
 
24560
            s//\1/
 
24561
            q
 
24562
          }
 
24563
          /^X\(\/\/\)$/{
 
24564
            s//\1/
 
24565
            q
 
24566
          }
 
24567
          /^X\(\/\).*/{
 
24568
            s//\1/
 
24569
            q
 
24570
          }
 
24571
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
24572
 ;;
 
24573
 
 
24574
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
24575
echo "$as_me: executing $ac_file commands" >&6;}
 
24576
 ;;
 
24577
  esac
 
24578
 
 
24579
 
 
24580
  case $ac_file$ac_mode in
 
24581
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
24013
24582
  # Strip MF so we end up with the name of the file.
24014
24583
  mf=`echo "$mf" | sed -e 's/:.*$//'`
24015
24584
  # Check whether this is an Automake generated Makefile or not.
24019
24588
  # each Makefile.in and add a new line on top of each file to say so.
24020
24589
  # So let's grep whole file.
24021
24590
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
24022
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
24591
    dirpart=`$as_dirname -- "$mf" ||
24023
24592
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24024
24593
         X"$mf" : 'X\(//\)[^/]' \| \
24025
24594
         X"$mf" : 'X\(//\)$' \| \
24026
 
         X"$mf" : 'X\(/\)' \| \
24027
 
         .     : '\(.\)' 2>/dev/null ||
 
24595
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
24028
24596
echo X"$mf" |
24029
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24030
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24031
 
          /^X\(\/\/\)$/{ s//\1/; q; }
24032
 
          /^X\(\/\).*/{ s//\1/; q; }
24033
 
          s/.*/./; q'`
 
24597
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
24598
            s//\1/
 
24599
            q
 
24600
          }
 
24601
          /^X\(\/\/\)[^/].*/{
 
24602
            s//\1/
 
24603
            q
 
24604
          }
 
24605
          /^X\(\/\/\)$/{
 
24606
            s//\1/
 
24607
            q
 
24608
          }
 
24609
          /^X\(\/\).*/{
 
24610
            s//\1/
 
24611
            q
 
24612
          }
 
24613
          s/.*/./; q'`
24034
24614
  else
24035
24615
    continue
24036
24616
  fi
24037
 
  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
24038
 
  # Extract the definition of DEP_FILES from the Makefile without
24039
 
  # running `make'.
 
24617
  # Extract the definition of DEPDIR, am__include, and am__quote
 
24618
  # from the Makefile without running `make'.
24040
24619
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
24041
24620
  test -z "$DEPDIR" && continue
 
24621
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
24622
  test -z "am__include" && continue
 
24623
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
24042
24624
  # When using ansi2knr, U may be empty or an underscore; expand it
24043
24625
  U=`sed -n 's/^U = //p' < "$mf"`
24044
 
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
24045
 
  # We invoke sed twice because it is the simplest approach to
24046
 
  # changing $(DEPDIR) to its actual value in the expansion.
24047
 
  for file in `sed -n '
24048
 
    /^DEP_FILES = .*\\\\$/ {
24049
 
      s/^DEP_FILES = //
24050
 
      :loop
24051
 
        s/\\\\$//
24052
 
        p
24053
 
        n
24054
 
        /\\\\$/ b loop
24055
 
      p
24056
 
    }
24057
 
    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
 
24626
  # Find all dependency output files, they are included files with
 
24627
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
24628
  # simplest approach to changing $(DEPDIR) to its actual value in the
 
24629
  # expansion.
 
24630
  for file in `sed -n "
 
24631
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
24058
24632
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
24059
24633
    # Make sure the directory exists.
24060
24634
    test -f "$dirpart/$file" && continue
24061
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
24635
    fdir=`$as_dirname -- "$file" ||
24062
24636
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24063
24637
         X"$file" : 'X\(//\)[^/]' \| \
24064
24638
         X"$file" : 'X\(//\)$' \| \
24065
 
         X"$file" : 'X\(/\)' \| \
24066
 
         .     : '\(.\)' 2>/dev/null ||
 
24639
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
24067
24640
echo X"$file" |
24068
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24069
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24070
 
          /^X\(\/\/\)$/{ s//\1/; q; }
24071
 
          /^X\(\/\).*/{ s//\1/; q; }
24072
 
          s/.*/./; q'`
24073
 
    { if $as_mkdir_p; then
24074
 
    mkdir -p $dirpart/$fdir
24075
 
  else
24076
 
    as_dir=$dirpart/$fdir
 
24641
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
24642
            s//\1/
 
24643
            q
 
24644
          }
 
24645
          /^X\(\/\/\)[^/].*/{
 
24646
            s//\1/
 
24647
            q
 
24648
          }
 
24649
          /^X\(\/\/\)$/{
 
24650
            s//\1/
 
24651
            q
 
24652
          }
 
24653
          /^X\(\/\).*/{
 
24654
            s//\1/
 
24655
            q
 
24656
          }
 
24657
          s/.*/./; q'`
 
24658
    { as_dir=$dirpart/$fdir
 
24659
  case $as_dir in #(
 
24660
  -*) as_dir=./$as_dir;;
 
24661
  esac
 
24662
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
24077
24663
    as_dirs=
24078
 
    while test ! -d "$as_dir"; do
24079
 
      as_dirs="$as_dir $as_dirs"
24080
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
24664
    while :; do
 
24665
      case $as_dir in #(
 
24666
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
24667
      *) as_qdir=$as_dir;;
 
24668
      esac
 
24669
      as_dirs="'$as_qdir' $as_dirs"
 
24670
      as_dir=`$as_dirname -- "$as_dir" ||
24081
24671
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24082
24672
         X"$as_dir" : 'X\(//\)[^/]' \| \
24083
24673
         X"$as_dir" : 'X\(//\)$' \| \
24084
 
         X"$as_dir" : 'X\(/\)' \| \
24085
 
         .     : '\(.\)' 2>/dev/null ||
 
24674
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24086
24675
echo X"$as_dir" |
24087
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24088
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24089
 
          /^X\(\/\/\)$/{ s//\1/; q; }
24090
 
          /^X\(\/\).*/{ s//\1/; q; }
24091
 
          s/.*/./; q'`
 
24676
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
24677
            s//\1/
 
24678
            q
 
24679
          }
 
24680
          /^X\(\/\/\)[^/].*/{
 
24681
            s//\1/
 
24682
            q
 
24683
          }
 
24684
          /^X\(\/\/\)$/{
 
24685
            s//\1/
 
24686
            q
 
24687
          }
 
24688
          /^X\(\/\).*/{
 
24689
            s//\1/
 
24690
            q
 
24691
          }
 
24692
          s/.*/./; q'`
 
24693
      test -d "$as_dir" && break
24092
24694
    done
24093
 
    test ! -n "$as_dirs" || mkdir $as_dirs
24094
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
24095
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
24695
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
24696
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
24697
echo "$as_me: error: cannot create directory $as_dir" >&2;}
24096
24698
   { (exit 1); exit 1; }; }; }
24097
 
 
24098
24699
    # echo "creating $dirpart/$file"
24099
24700
    echo '# dummy' > "$dirpart/$file"
24100
24701
  done
24101
24702
done
24102
24703
 ;;
 
24704
    "lasso-src-config":F) chmod +x lasso-src-config ;;
 
24705
 
24103
24706
  esac
24104
 
done
24105
 
_ACEOF
 
24707
done # for ac_tag
24106
24708
 
24107
 
cat >>$CONFIG_STATUS <<\_ACEOF
24108
24709
 
24109
24710
{ (exit 0); exit 0; }
24110
24711
_ACEOF
24135
24736
 
24136
24737
 
24137
24738
languages_available=`echo $languages_available | sed -e "s/^ //" `
24138
 
echo "$as_me:$LINENO: result: =============
 
24739
{ echo "$as_me:$LINENO: result: =============
24139
24740
Configuration
24140
24741
=============
24141
24742
 
24154
24755
 
24155
24756
Java binding:           ${enable_java}
24156
24757
Perl binding:           ${enable_perl}
24157
 
PHP binding:            ${enable_php}
 
24758
PHP 4 binding:          ${enable_php4}
 
24759
PHP 5 binding:          ${enable_php5}
24158
24760
Python binding:         ${enable_python}
24159
24761
 
24160
24762
C API references:       ${enable_gtk_doc}
24179
24781
 
24180
24782
Java binding:           ${enable_java}
24181
24783
Perl binding:           ${enable_perl}
24182
 
PHP binding:            ${enable_php}
 
24784
PHP 4 binding:          ${enable_php4}
 
24785
PHP 5 binding:          ${enable_php5}
24183
24786
Python binding:         ${enable_python}
24184
24787
 
24185
24788
C API references:       ${enable_gtk_doc}
24186
24789
Tests suite:            ${enable_tests}
24187
 
" >&6
 
24790
" >&6; }