~ubuntu-branches/ubuntu/utopic/sblim-sfcc/utopic-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Thierry Carrez
  • Date: 2009-08-19 14:41:55 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090819144155-jb46y5kmluacii70
Tags: 2.2.0-0ubuntu1
* New upstream version.
* debian/libcimcclient0.install: Ship missing libcmpisfcc library
* debian/control:
  - Switch to libcurl4-openssl-dev to match the rest of the SBLIM stack
  - Bump debhelper depend to >=5 to match debian/compat
  - Fix section names, add missing ${misc:Depends}
* debian/copyright: Add missing copyright notice
* debian/rules: Removed spurious DH_MAKESHLIBS argument

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.59 for sblim-sfcc 2.0.1.
 
3
# Generated by GNU Autoconf 2.63 for sblim-sfcc 2.2.0.
4
4
#
5
5
# Report bugs to <sblim-devel@lists.sourceforge.net>.
6
6
#
7
 
# Copyright (C) 2003 Free Software Foundation, Inc.
 
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
8
9
# This configure script is free software; the Free Software Foundation
9
10
# gives unlimited permission to copy, distribute and modify it.
10
11
## --------------------- ##
11
12
## M4sh Initialization.  ##
12
13
## --------------------- ##
13
14
 
14
 
# Be Bourne compatible
15
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
 
  emulate sh
17
 
  NULLCMD=:
18
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
 
  # is contrary to our usage.  Disable this feature.
20
 
  alias -g '${1+"$@"}'='"$@"'
21
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22
 
  set -o posix
23
 
fi
 
15
# Be more Bourne compatible
24
16
DUALCASE=1; export DUALCASE # for MKS sh
 
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
18
  emulate sh
 
19
  NULLCMD=:
 
20
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
21
  # is contrary to our usage.  Disable this feature.
 
22
  alias -g '${1+"$@"}'='"$@"'
 
23
  setopt NO_GLOB_SUBST
 
24
else
 
25
  case `(set -o) 2>/dev/null` in
 
26
  *posix*) set -o posix ;;
 
27
esac
 
28
 
 
29
fi
 
30
 
 
31
 
 
32
 
 
33
 
 
34
# PATH needs CR
 
35
# Avoid depending upon Character Ranges.
 
36
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
37
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
38
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
39
as_cr_digits='0123456789'
 
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
41
 
 
42
as_nl='
 
43
'
 
44
export as_nl
 
45
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
46
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
47
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
48
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
49
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
50
  as_echo='printf %s\n'
 
51
  as_echo_n='printf %s'
 
52
else
 
53
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
54
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
55
    as_echo_n='/usr/ucb/echo -n'
 
56
  else
 
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
58
    as_echo_n_body='eval
 
59
      arg=$1;
 
60
      case $arg in
 
61
      *"$as_nl"*)
 
62
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
63
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
64
      esac;
 
65
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
66
    '
 
67
    export as_echo_n_body
 
68
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
69
  fi
 
70
  export as_echo_body
 
71
  as_echo='sh -c $as_echo_body as_echo'
 
72
fi
 
73
 
 
74
# The user is always right.
 
75
if test "${PATH_SEPARATOR+set}" != set; then
 
76
  PATH_SEPARATOR=:
 
77
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
78
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
79
      PATH_SEPARATOR=';'
 
80
  }
 
81
fi
25
82
 
26
83
# Support unset when possible.
27
84
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
31
88
fi
32
89
 
33
90
 
 
91
# IFS
 
92
# We need space, tab and new line, in precisely that order.  Quoting is
 
93
# there to prevent editors from complaining about space-tab.
 
94
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
95
# splitting by setting IFS to empty value.)
 
96
IFS=" ""        $as_nl"
 
97
 
 
98
# Find who we are.  Look in the path if we contain no directory separator.
 
99
case $0 in
 
100
  *[\\/]* ) as_myself=$0 ;;
 
101
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
102
for as_dir in $PATH
 
103
do
 
104
  IFS=$as_save_IFS
 
105
  test -z "$as_dir" && as_dir=.
 
106
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
107
done
 
108
IFS=$as_save_IFS
 
109
 
 
110
     ;;
 
111
esac
 
112
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
113
# in which case we are not to be found in the path.
 
114
if test "x$as_myself" = x; then
 
115
  as_myself=$0
 
116
fi
 
117
if test ! -f "$as_myself"; then
 
118
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
119
  { (exit 1); exit 1; }
 
120
fi
 
121
 
34
122
# Work around bugs in pre-3.0 UWIN ksh.
35
 
$as_unset ENV MAIL MAILPATH
 
123
for as_var in ENV MAIL MAILPATH
 
124
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
125
done
36
126
PS1='$ '
37
127
PS2='> '
38
128
PS4='+ '
39
129
 
40
130
# NLS nuisances.
41
 
for as_var in \
42
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44
 
  LC_TELEPHONE LC_TIME
45
 
do
46
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47
 
    eval $as_var=C; export $as_var
48
 
  else
49
 
    $as_unset $as_var
50
 
  fi
51
 
done
 
131
LC_ALL=C
 
132
export LC_ALL
 
133
LANGUAGE=C
 
134
export LANGUAGE
52
135
 
53
136
# Required to use basename.
54
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
137
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
138
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
55
139
  as_expr=expr
56
140
else
57
141
  as_expr=false
58
142
fi
59
143
 
60
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
144
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
61
145
  as_basename=basename
62
146
else
63
147
  as_basename=false
65
149
 
66
150
 
67
151
# Name of the executable.
68
 
as_me=`$as_basename "$0" ||
 
152
as_me=`$as_basename -- "$0" ||
69
153
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
154
         X"$0" : 'X\(//\)$' \| \
71
 
         X"$0" : 'X\(/\)$' \| \
72
 
         .     : '\(.\)' 2>/dev/null ||
73
 
echo X/"$0" |
74
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
76
 
          /^X\/\(\/\).*/{ s//\1/; q; }
77
 
          s/.*/./; q'`
78
 
 
79
 
 
80
 
# PATH needs CR, and LINENO needs CR and PATH.
81
 
# Avoid depending upon Character Ranges.
82
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85
 
as_cr_digits='0123456789'
86
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
87
 
 
88
 
# The user is always right.
89
 
if test "${PATH_SEPARATOR+set}" != set; then
90
 
  echo "#! /bin/sh" >conf$$.sh
91
 
  echo  "exit 0"   >>conf$$.sh
92
 
  chmod +x conf$$.sh
93
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94
 
    PATH_SEPARATOR=';'
95
 
  else
96
 
    PATH_SEPARATOR=:
97
 
  fi
98
 
  rm -f conf$$.sh
99
 
fi
100
 
 
101
 
 
102
 
  as_lineno_1=$LINENO
103
 
  as_lineno_2=$LINENO
104
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
106
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
107
 
  # Find who we are.  Look in the path if we contain no path at all
108
 
  # relative or not.
109
 
  case $0 in
110
 
    *[\\/]* ) as_myself=$0 ;;
111
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112
 
for as_dir in $PATH
113
 
do
114
 
  IFS=$as_save_IFS
115
 
  test -z "$as_dir" && as_dir=.
116
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117
 
done
118
 
 
119
 
       ;;
120
 
  esac
121
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
122
 
  # in which case we are not to be found in the path.
123
 
  if test "x$as_myself" = x; then
124
 
    as_myself=$0
125
 
  fi
126
 
  if test ! -f "$as_myself"; then
127
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128
 
   { (exit 1); exit 1; }; }
129
 
  fi
130
 
  case $CONFIG_SHELL in
131
 
  '')
 
155
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
156
$as_echo X/"$0" |
 
157
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
158
            s//\1/
 
159
            q
 
160
          }
 
161
          /^X\/\(\/\/\)$/{
 
162
            s//\1/
 
163
            q
 
164
          }
 
165
          /^X\/\(\/\).*/{
 
166
            s//\1/
 
167
            q
 
168
          }
 
169
          s/.*/./; q'`
 
170
 
 
171
# CDPATH.
 
172
$as_unset CDPATH
 
173
 
 
174
 
 
175
if test "x$CONFIG_SHELL" = x; then
 
176
  if (eval ":") 2>/dev/null; then
 
177
  as_have_required=yes
 
178
else
 
179
  as_have_required=no
 
180
fi
 
181
 
 
182
  if test $as_have_required = yes &&     (eval ":
 
183
(as_func_return () {
 
184
  (exit \$1)
 
185
}
 
186
as_func_success () {
 
187
  as_func_return 0
 
188
}
 
189
as_func_failure () {
 
190
  as_func_return 1
 
191
}
 
192
as_func_ret_success () {
 
193
  return 0
 
194
}
 
195
as_func_ret_failure () {
 
196
  return 1
 
197
}
 
198
 
 
199
exitcode=0
 
200
if as_func_success; then
 
201
  :
 
202
else
 
203
  exitcode=1
 
204
  echo as_func_success failed.
 
205
fi
 
206
 
 
207
if as_func_failure; then
 
208
  exitcode=1
 
209
  echo as_func_failure succeeded.
 
210
fi
 
211
 
 
212
if as_func_ret_success; then
 
213
  :
 
214
else
 
215
  exitcode=1
 
216
  echo as_func_ret_success failed.
 
217
fi
 
218
 
 
219
if as_func_ret_failure; then
 
220
  exitcode=1
 
221
  echo as_func_ret_failure succeeded.
 
222
fi
 
223
 
 
224
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
225
  :
 
226
else
 
227
  exitcode=1
 
228
  echo positional parameters were not saved.
 
229
fi
 
230
 
 
231
test \$exitcode = 0) || { (exit 1); exit 1; }
 
232
 
 
233
(
 
234
  as_lineno_1=\$LINENO
 
235
  as_lineno_2=\$LINENO
 
236
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
237
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
238
") 2> /dev/null; then
 
239
  :
 
240
else
 
241
  as_candidate_shells=
132
242
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
243
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
244
do
135
245
  IFS=$as_save_IFS
136
246
  test -z "$as_dir" && as_dir=.
137
 
  for as_base in sh bash ksh sh5; do
138
 
         case $as_dir in
 
247
  case $as_dir in
139
248
         /*)
140
 
           if ("$as_dir/$as_base" -c '
141
 
  as_lineno_1=$LINENO
142
 
  as_lineno_2=$LINENO
143
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
145
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
146
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148
 
             CONFIG_SHELL=$as_dir/$as_base
149
 
             export CONFIG_SHELL
150
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151
 
           fi;;
152
 
         esac
153
 
       done
 
249
           for as_base in sh bash ksh sh5; do
 
250
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
251
           done;;
 
252
       esac
154
253
done
155
 
;;
156
 
  esac
 
254
IFS=$as_save_IFS
 
255
 
 
256
 
 
257
      for as_shell in $as_candidate_shells $SHELL; do
 
258
         # Try only shells that exist, to save several forks.
 
259
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
260
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
262
  emulate sh
 
263
  NULLCMD=:
 
264
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
265
  # is contrary to our usage.  Disable this feature.
 
266
  alias -g '${1+"$@"}'='"$@"'
 
267
  setopt NO_GLOB_SUBST
 
268
else
 
269
  case `(set -o) 2>/dev/null` in
 
270
  *posix*) set -o posix ;;
 
271
esac
 
272
 
 
273
fi
 
274
 
 
275
 
 
276
:
 
277
_ASEOF
 
278
}; then
 
279
  CONFIG_SHELL=$as_shell
 
280
               as_have_required=yes
 
281
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
282
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
283
  emulate sh
 
284
  NULLCMD=:
 
285
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
286
  # is contrary to our usage.  Disable this feature.
 
287
  alias -g '${1+"$@"}'='"$@"'
 
288
  setopt NO_GLOB_SUBST
 
289
else
 
290
  case `(set -o) 2>/dev/null` in
 
291
  *posix*) set -o posix ;;
 
292
esac
 
293
 
 
294
fi
 
295
 
 
296
 
 
297
:
 
298
(as_func_return () {
 
299
  (exit $1)
 
300
}
 
301
as_func_success () {
 
302
  as_func_return 0
 
303
}
 
304
as_func_failure () {
 
305
  as_func_return 1
 
306
}
 
307
as_func_ret_success () {
 
308
  return 0
 
309
}
 
310
as_func_ret_failure () {
 
311
  return 1
 
312
}
 
313
 
 
314
exitcode=0
 
315
if as_func_success; then
 
316
  :
 
317
else
 
318
  exitcode=1
 
319
  echo as_func_success failed.
 
320
fi
 
321
 
 
322
if as_func_failure; then
 
323
  exitcode=1
 
324
  echo as_func_failure succeeded.
 
325
fi
 
326
 
 
327
if as_func_ret_success; then
 
328
  :
 
329
else
 
330
  exitcode=1
 
331
  echo as_func_ret_success failed.
 
332
fi
 
333
 
 
334
if as_func_ret_failure; then
 
335
  exitcode=1
 
336
  echo as_func_ret_failure succeeded.
 
337
fi
 
338
 
 
339
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
340
  :
 
341
else
 
342
  exitcode=1
 
343
  echo positional parameters were not saved.
 
344
fi
 
345
 
 
346
test $exitcode = 0) || { (exit 1); exit 1; }
 
347
 
 
348
(
 
349
  as_lineno_1=$LINENO
 
350
  as_lineno_2=$LINENO
 
351
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
352
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
353
 
 
354
_ASEOF
 
355
}; then
 
356
  break
 
357
fi
 
358
 
 
359
fi
 
360
 
 
361
      done
 
362
 
 
363
      if test "x$CONFIG_SHELL" != x; then
 
364
  for as_var in BASH_ENV ENV
 
365
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
366
        done
 
367
        export CONFIG_SHELL
 
368
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
369
fi
 
370
 
 
371
 
 
372
    if test $as_have_required = no; then
 
373
  echo This script requires a shell more modern than all the
 
374
      echo shells that I found on your system.  Please install a
 
375
      echo modern shell, or manually run the script under such a
 
376
      echo shell if you do have one.
 
377
      { (exit 1); exit 1; }
 
378
fi
 
379
 
 
380
 
 
381
fi
 
382
 
 
383
fi
 
384
 
 
385
 
 
386
 
 
387
(eval "as_func_return () {
 
388
  (exit \$1)
 
389
}
 
390
as_func_success () {
 
391
  as_func_return 0
 
392
}
 
393
as_func_failure () {
 
394
  as_func_return 1
 
395
}
 
396
as_func_ret_success () {
 
397
  return 0
 
398
}
 
399
as_func_ret_failure () {
 
400
  return 1
 
401
}
 
402
 
 
403
exitcode=0
 
404
if as_func_success; then
 
405
  :
 
406
else
 
407
  exitcode=1
 
408
  echo as_func_success failed.
 
409
fi
 
410
 
 
411
if as_func_failure; then
 
412
  exitcode=1
 
413
  echo as_func_failure succeeded.
 
414
fi
 
415
 
 
416
if as_func_ret_success; then
 
417
  :
 
418
else
 
419
  exitcode=1
 
420
  echo as_func_ret_success failed.
 
421
fi
 
422
 
 
423
if as_func_ret_failure; then
 
424
  exitcode=1
 
425
  echo as_func_ret_failure succeeded.
 
426
fi
 
427
 
 
428
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
429
  :
 
430
else
 
431
  exitcode=1
 
432
  echo positional parameters were not saved.
 
433
fi
 
434
 
 
435
test \$exitcode = 0") || {
 
436
  echo No shell found that supports shell functions.
 
437
  echo Please tell bug-autoconf@gnu.org about your system,
 
438
  echo including any error possibly output before this message.
 
439
  echo This can help us improve future autoconf versions.
 
440
  echo Configuration will now proceed without shell functions.
 
441
}
 
442
 
 
443
 
 
444
 
 
445
  as_lineno_1=$LINENO
 
446
  as_lineno_2=$LINENO
 
447
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
448
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
157
449
 
158
450
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
451
  # uniformly replaced by the line number.  The first 'sed' inserts a
160
 
  # line-number line before each line; the second 'sed' does the real
161
 
  # work.  The second script uses 'N' to pair each line-number line
162
 
  # with the numbered line, and appends trailing '-' during
163
 
  # substitution so that $LINENO is not a special case at line end.
 
452
  # line-number line after each line using $LINENO; the second 'sed'
 
453
  # does the real work.  The second script uses 'N' to pair each
 
454
  # line-number line with the line containing $LINENO, and appends
 
455
  # trailing '-' during substitution so that $LINENO is not a special
 
456
  # case at line end.
164
457
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
166
 
  sed '=' <$as_myself |
 
458
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
459
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
460
  sed -n '
 
461
    p
 
462
    /[$]LINENO/=
 
463
  ' <$as_myself |
167
464
    sed '
 
465
      s/[$]LINENO.*/&-/
 
466
      t lineno
 
467
      b
 
468
      :lineno
168
469
      N
169
 
      s,$,-,
170
 
      : loop
171
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
470
      :loop
 
471
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
172
472
      t loop
173
 
      s,-$,,
174
 
      s,^['$as_cr_digits']*\n,,
 
473
      s/-\n.*//
175
474
    ' >$as_me.lineno &&
176
 
  chmod +x $as_me.lineno ||
177
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
475
  chmod +x "$as_me.lineno" ||
 
476
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
477
   { (exit 1); exit 1; }; }
179
478
 
180
479
  # Don't try to exec as it changes $[0], causing all sort of problems
181
480
  # (the dirname of $[0] is not the place where we might find the
182
 
  # original and so on.  Autoconf is especially sensible to this).
183
 
  . ./$as_me.lineno
 
481
  # original and so on.  Autoconf is especially sensitive to this).
 
482
  . "./$as_me.lineno"
184
483
  # Exit status is that of the last command.
185
484
  exit
186
485
}
187
486
 
188
487
 
189
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190
 
  *c*,-n*) ECHO_N= ECHO_C='
191
 
' ECHO_T='      ' ;;
192
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
488
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
489
  as_dirname=dirname
 
490
else
 
491
  as_dirname=false
 
492
fi
 
493
 
 
494
ECHO_C= ECHO_N= ECHO_T=
 
495
case `echo -n x` in
 
496
-n*)
 
497
  case `echo 'x\c'` in
 
498
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
499
  *)   ECHO_C='\c';;
 
500
  esac;;
 
501
*)
 
502
  ECHO_N='-n';;
194
503
esac
195
 
 
196
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
504
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
505
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
197
506
  as_expr=expr
198
507
else
199
508
  as_expr=false
200
509
fi
201
510
 
202
511
rm -f conf$$ conf$$.exe conf$$.file
203
 
echo >conf$$.file
204
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
205
 
  # We could just check for DJGPP; but this test a) works b) is more generic
206
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207
 
  if test -f conf$$.exe; then
208
 
    # Don't use ln at all; we don't have any links
 
512
if test -d conf$$.dir; then
 
513
  rm -f conf$$.dir/conf$$.file
 
514
else
 
515
  rm -f conf$$.dir
 
516
  mkdir conf$$.dir 2>/dev/null
 
517
fi
 
518
if (echo >conf$$.file) 2>/dev/null; then
 
519
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
520
    as_ln_s='ln -s'
 
521
    # ... but there are two gotchas:
 
522
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
523
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
524
    # In both cases, we have to default to `cp -p'.
 
525
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
526
      as_ln_s='cp -p'
 
527
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
528
    as_ln_s=ln
 
529
  else
209
530
    as_ln_s='cp -p'
210
 
  else
211
 
    as_ln_s='ln -s'
212
531
  fi
213
 
elif ln conf$$.file conf$$ 2>/dev/null; then
214
 
  as_ln_s=ln
215
532
else
216
533
  as_ln_s='cp -p'
217
534
fi
218
 
rm -f conf$$ conf$$.exe conf$$.file
 
535
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
536
rmdir conf$$.dir 2>/dev/null
219
537
 
220
538
if mkdir -p . 2>/dev/null; then
221
539
  as_mkdir_p=:
224
542
  as_mkdir_p=false
225
543
fi
226
544
 
227
 
as_executable_p="test -f"
 
545
if test -x / >/dev/null 2>&1; then
 
546
  as_test_x='test -x'
 
547
else
 
548
  if ls -dL / >/dev/null 2>&1; then
 
549
    as_ls_L_option=L
 
550
  else
 
551
    as_ls_L_option=
 
552
  fi
 
553
  as_test_x='
 
554
    eval sh -c '\''
 
555
      if test -d "$1"; then
 
556
        test -d "$1/.";
 
557
      else
 
558
        case $1 in
 
559
        -*)set "./$1";;
 
560
        esac;
 
561
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
562
        ???[sx]*):;;*)false;;esac;fi
 
563
    '\'' sh
 
564
  '
 
565
fi
 
566
as_executable_p=$as_test_x
228
567
 
229
568
# Sed expression to map a string onto a valid CPP name.
230
569
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233
572
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
573
 
235
574
 
236
 
# IFS
237
 
# We need space, tab and new line, in precisely that order.
238
 
as_nl='
239
 
'
240
 
IFS="   $as_nl"
241
 
 
242
 
# CDPATH.
243
 
$as_unset CDPATH
244
 
 
245
575
 
246
576
 
247
577
# Check that we are running under the correct shell.
397
727
 
398
728
tagnames=${tagnames+${tagnames},}F77
399
729
 
 
730
exec 7<&0 </dev/null 6>&1
 
731
 
400
732
# Name of the host.
401
733
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
402
734
# so uname gets run too.
403
735
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
404
736
 
405
 
exec 6>&1
406
 
 
407
737
#
408
738
# Initializations.
409
739
#
410
740
ac_default_prefix=/usr/local
 
741
ac_clean_files=
411
742
ac_config_libobj_dir=.
 
743
LIBOBJS=
412
744
cross_compiling=no
413
745
subdirs=
414
746
MFLAGS=
415
747
MAKEFLAGS=
416
748
SHELL=${CONFIG_SHELL-/bin/sh}
417
749
 
418
 
# Maximum number of lines to put in a shell here document.
419
 
# This variable seems obsolete.  It should probably be removed, and
420
 
# only ac_max_sed_lines should be used.
421
 
: ${ac_max_here_lines=38}
422
 
 
423
750
# Identity of this package.
424
751
PACKAGE_NAME='sblim-sfcc'
425
752
PACKAGE_TARNAME='sblim-sfcc'
426
 
PACKAGE_VERSION='2.0.1'
427
 
PACKAGE_STRING='sblim-sfcc 2.0.1'
 
753
PACKAGE_VERSION='2.2.0'
 
754
PACKAGE_STRING='sblim-sfcc 2.2.0'
428
755
PACKAGE_BUGREPORT='sblim-devel@lists.sourceforge.net'
429
756
 
430
757
ac_unique_file="cimc/cimcclient.c"
431
758
# Factoring default headers for most tests.
432
759
ac_includes_default="\
433
760
#include <stdio.h>
434
 
#if HAVE_SYS_TYPES_H
 
761
#ifdef HAVE_SYS_TYPES_H
435
762
# include <sys/types.h>
436
763
#endif
437
 
#if HAVE_SYS_STAT_H
 
764
#ifdef HAVE_SYS_STAT_H
438
765
# include <sys/stat.h>
439
766
#endif
440
 
#if STDC_HEADERS
 
767
#ifdef STDC_HEADERS
441
768
# include <stdlib.h>
442
769
# include <stddef.h>
443
770
#else
444
 
# if HAVE_STDLIB_H
 
771
# ifdef HAVE_STDLIB_H
445
772
#  include <stdlib.h>
446
773
# endif
447
774
#endif
448
 
#if HAVE_STRING_H
449
 
# if !STDC_HEADERS && HAVE_MEMORY_H
 
775
#ifdef HAVE_STRING_H
 
776
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
450
777
#  include <memory.h>
451
778
# endif
452
779
# include <string.h>
453
780
#endif
454
 
#if HAVE_STRINGS_H
 
781
#ifdef HAVE_STRINGS_H
455
782
# include <strings.h>
456
783
#endif
457
 
#if HAVE_INTTYPES_H
 
784
#ifdef HAVE_INTTYPES_H
458
785
# include <inttypes.h>
459
 
#else
460
 
# if HAVE_STDINT_H
461
 
#  include <stdint.h>
462
 
# endif
463
 
#endif
464
 
#if HAVE_UNISTD_H
 
786
#endif
 
787
#ifdef HAVE_STDINT_H
 
788
# include <stdint.h>
 
789
#endif
 
790
#ifdef HAVE_UNISTD_H
465
791
# include <unistd.h>
466
792
#endif"
467
793
 
468
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL YACC ALLOCA LIBOBJS HAVE_MELUNIT_CXX_TRUE HAVE_MELUNIT_CXX_FALSE LTLIBOBJS'
 
794
ac_header_list=
 
795
ac_func_list=
 
796
ac_subst_vars='LTLIBOBJS
 
797
HAVE_MELUNIT_CXX_FALSE
 
798
HAVE_MELUNIT_CXX_TRUE
 
799
SFCB_LIBDIR
 
800
LIBOBJS
 
801
ALLOCA
 
802
LIBTOOL
 
803
ac_ct_F77
 
804
FFLAGS
 
805
F77
 
806
CXXCPP
 
807
CPP
 
808
NMEDIT
 
809
DSYMUTIL
 
810
RANLIB
 
811
AR
 
812
ECHO
 
813
LN_S
 
814
EGREP
 
815
GREP
 
816
SED
 
817
host_os
 
818
host_vendor
 
819
host_cpu
 
820
host
 
821
build_os
 
822
build_vendor
 
823
build_cpu
 
824
build
 
825
am__fastdepCXX_FALSE
 
826
am__fastdepCXX_TRUE
 
827
CXXDEPMODE
 
828
ac_ct_CXX
 
829
CXXFLAGS
 
830
CXX
 
831
am__fastdepCC_FALSE
 
832
am__fastdepCC_TRUE
 
833
CCDEPMODE
 
834
AMDEPBACKSLASH
 
835
AMDEP_FALSE
 
836
AMDEP_TRUE
 
837
am__quote
 
838
am__include
 
839
DEPDIR
 
840
OBJEXT
 
841
EXEEXT
 
842
ac_ct_CC
 
843
CPPFLAGS
 
844
LDFLAGS
 
845
CFLAGS
 
846
CC
 
847
am__untar
 
848
am__tar
 
849
AMTAR
 
850
am__leading_dot
 
851
SET_MAKE
 
852
AWK
 
853
mkdir_p
 
854
MKDIR_P
 
855
INSTALL_STRIP_PROGRAM
 
856
STRIP
 
857
install_sh
 
858
MAKEINFO
 
859
AUTOHEADER
 
860
AUTOMAKE
 
861
AUTOCONF
 
862
ACLOCAL
 
863
VERSION
 
864
PACKAGE
 
865
CYGPATH_W
 
866
am__isrc
 
867
INSTALL_DATA
 
868
INSTALL_SCRIPT
 
869
INSTALL_PROGRAM
 
870
target_alias
 
871
host_alias
 
872
build_alias
 
873
LIBS
 
874
ECHO_T
 
875
ECHO_N
 
876
ECHO_C
 
877
DEFS
 
878
mandir
 
879
localedir
 
880
libdir
 
881
psdir
 
882
pdfdir
 
883
dvidir
 
884
htmldir
 
885
infodir
 
886
docdir
 
887
oldincludedir
 
888
includedir
 
889
localstatedir
 
890
sharedstatedir
 
891
sysconfdir
 
892
datadir
 
893
datarootdir
 
894
libexecdir
 
895
sbindir
 
896
bindir
 
897
program_transform_name
 
898
prefix
 
899
exec_prefix
 
900
PACKAGE_BUGREPORT
 
901
PACKAGE_STRING
 
902
PACKAGE_VERSION
 
903
PACKAGE_TARNAME
 
904
PACKAGE_NAME
 
905
PATH_SEPARATOR
 
906
SHELL'
469
907
ac_subst_files=''
 
908
ac_user_opts='
 
909
enable_option_checking
 
910
enable_http_chunking
 
911
enable_large_volume_support
 
912
enable_dependency_tracking
 
913
enable_shared
 
914
enable_static
 
915
enable_fast_install
 
916
with_gnu_ld
 
917
enable_libtool_lock
 
918
with_pic
 
919
with_tags
 
920
'
 
921
      ac_precious_vars='build_alias
 
922
host_alias
 
923
target_alias
 
924
CC
 
925
CFLAGS
 
926
LDFLAGS
 
927
LIBS
 
928
CPPFLAGS
 
929
CXX
 
930
CXXFLAGS
 
931
CCC
 
932
CPP
 
933
CXXCPP
 
934
F77
 
935
FFLAGS'
 
936
 
470
937
 
471
938
# Initialize some variables set by options.
472
939
ac_init_help=
473
940
ac_init_version=false
 
941
ac_unrecognized_opts=
 
942
ac_unrecognized_sep=
474
943
# The variables have the same names as the options, with
475
944
# dashes changed to underlines.
476
945
cache_file=/dev/null
493
962
# and all the variables that are supposed to be based on exec_prefix
494
963
# by default will actually change.
495
964
# Use braces instead of parens because sh, perl, etc. also accept them.
 
965
# (The list follows the same order as the GNU Coding Standards.)
496
966
bindir='${exec_prefix}/bin'
497
967
sbindir='${exec_prefix}/sbin'
498
968
libexecdir='${exec_prefix}/libexec'
499
 
datadir='${prefix}/share'
 
969
datarootdir='${prefix}/share'
 
970
datadir='${datarootdir}'
500
971
sysconfdir='${prefix}/etc'
501
972
sharedstatedir='${prefix}/com'
502
973
localstatedir='${prefix}/var'
503
 
libdir='${exec_prefix}/lib'
504
974
includedir='${prefix}/include'
505
975
oldincludedir='/usr/include'
506
 
infodir='${prefix}/info'
507
 
mandir='${prefix}/man'
 
976
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
977
infodir='${datarootdir}/info'
 
978
htmldir='${docdir}'
 
979
dvidir='${docdir}'
 
980
pdfdir='${docdir}'
 
981
psdir='${docdir}'
 
982
libdir='${exec_prefix}/lib'
 
983
localedir='${datarootdir}/locale'
 
984
mandir='${datarootdir}/man'
508
985
 
509
986
ac_prev=
 
987
ac_dashdash=
510
988
for ac_option
511
989
do
512
990
  # If the previous option needs an argument, assign it.
513
991
  if test -n "$ac_prev"; then
514
 
    eval "$ac_prev=\$ac_option"
 
992
    eval $ac_prev=\$ac_option
515
993
    ac_prev=
516
994
    continue
517
995
  fi
518
996
 
519
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
997
  case $ac_option in
 
998
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
999
  *)    ac_optarg=yes ;;
 
1000
  esac
520
1001
 
521
1002
  # Accept the important Cygnus configure options, so we can diagnose typos.
522
1003
 
523
 
  case $ac_option in
 
1004
  case $ac_dashdash$ac_option in
 
1005
  --)
 
1006
    ac_dashdash=yes ;;
524
1007
 
525
1008
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
526
1009
    ac_prev=bindir ;;
542
1025
  --config-cache | -C)
543
1026
    cache_file=config.cache ;;
544
1027
 
545
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
1028
  -datadir | --datadir | --datadi | --datad)
546
1029
    ac_prev=datadir ;;
547
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
548
 
  | --da=*)
 
1030
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
549
1031
    datadir=$ac_optarg ;;
550
1032
 
 
1033
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1034
  | --dataroo | --dataro | --datar)
 
1035
    ac_prev=datarootdir ;;
 
1036
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1037
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1038
    datarootdir=$ac_optarg ;;
 
1039
 
551
1040
  -disable-* | --disable-*)
552
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1041
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
553
1042
    # Reject names that are not valid shell variable names.
554
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
555
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1043
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1044
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
556
1045
   { (exit 1); exit 1; }; }
557
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
558
 
    eval "enable_$ac_feature=no" ;;
 
1046
    ac_useropt_orig=$ac_useropt
 
1047
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1048
    case $ac_user_opts in
 
1049
      *"
 
1050
"enable_$ac_useropt"
 
1051
"*) ;;
 
1052
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1053
         ac_unrecognized_sep=', ';;
 
1054
    esac
 
1055
    eval enable_$ac_useropt=no ;;
 
1056
 
 
1057
  -docdir | --docdir | --docdi | --doc | --do)
 
1058
    ac_prev=docdir ;;
 
1059
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1060
    docdir=$ac_optarg ;;
 
1061
 
 
1062
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1063
    ac_prev=dvidir ;;
 
1064
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1065
    dvidir=$ac_optarg ;;
559
1066
 
560
1067
  -enable-* | --enable-*)
561
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1068
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
562
1069
    # Reject names that are not valid shell variable names.
563
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
564
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1070
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1071
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
565
1072
   { (exit 1); exit 1; }; }
566
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
567
 
    case $ac_option in
568
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
569
 
      *) ac_optarg=yes ;;
 
1073
    ac_useropt_orig=$ac_useropt
 
1074
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1075
    case $ac_user_opts in
 
1076
      *"
 
1077
"enable_$ac_useropt"
 
1078
"*) ;;
 
1079
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1080
         ac_unrecognized_sep=', ';;
570
1081
    esac
571
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
1082
    eval enable_$ac_useropt=\$ac_optarg ;;
572
1083
 
573
1084
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
574
1085
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
595
1106
  -host=* | --host=* | --hos=* | --ho=*)
596
1107
    host_alias=$ac_optarg ;;
597
1108
 
 
1109
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1110
    ac_prev=htmldir ;;
 
1111
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1112
  | --ht=*)
 
1113
    htmldir=$ac_optarg ;;
 
1114
 
598
1115
  -includedir | --includedir | --includedi | --included | --include \
599
1116
  | --includ | --inclu | --incl | --inc)
600
1117
    ac_prev=includedir ;;
619
1136
  | --libexe=* | --libex=* | --libe=*)
620
1137
    libexecdir=$ac_optarg ;;
621
1138
 
 
1139
  -localedir | --localedir | --localedi | --localed | --locale)
 
1140
    ac_prev=localedir ;;
 
1141
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1142
    localedir=$ac_optarg ;;
 
1143
 
622
1144
  -localstatedir | --localstatedir | --localstatedi | --localstated \
623
 
  | --localstate | --localstat | --localsta | --localst \
624
 
  | --locals | --local | --loca | --loc | --lo)
 
1145
  | --localstate | --localstat | --localsta | --localst | --locals)
625
1146
    ac_prev=localstatedir ;;
626
1147
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
627
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
628
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
1148
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
629
1149
    localstatedir=$ac_optarg ;;
630
1150
 
631
1151
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
690
1210
  | --progr-tra=* | --program-tr=* | --program-t=*)
691
1211
    program_transform_name=$ac_optarg ;;
692
1212
 
 
1213
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1214
    ac_prev=pdfdir ;;
 
1215
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1216
    pdfdir=$ac_optarg ;;
 
1217
 
 
1218
  -psdir | --psdir | --psdi | --psd | --ps)
 
1219
    ac_prev=psdir ;;
 
1220
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1221
    psdir=$ac_optarg ;;
 
1222
 
693
1223
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
694
1224
  | -silent | --silent | --silen | --sile | --sil)
695
1225
    silent=yes ;;
740
1270
    ac_init_version=: ;;
741
1271
 
742
1272
  -with-* | --with-*)
743
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1273
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
744
1274
    # Reject names that are not valid shell variable names.
745
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
746
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1275
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1276
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
747
1277
   { (exit 1); exit 1; }; }
748
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
749
 
    case $ac_option in
750
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
751
 
      *) ac_optarg=yes ;;
 
1278
    ac_useropt_orig=$ac_useropt
 
1279
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1280
    case $ac_user_opts in
 
1281
      *"
 
1282
"with_$ac_useropt"
 
1283
"*) ;;
 
1284
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1285
         ac_unrecognized_sep=', ';;
752
1286
    esac
753
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1287
    eval with_$ac_useropt=\$ac_optarg ;;
754
1288
 
755
1289
  -without-* | --without-*)
756
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1290
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
757
1291
    # Reject names that are not valid shell variable names.
758
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
759
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1292
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1293
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
760
1294
   { (exit 1); exit 1; }; }
761
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
762
 
    eval "with_$ac_package=no" ;;
 
1295
    ac_useropt_orig=$ac_useropt
 
1296
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1297
    case $ac_user_opts in
 
1298
      *"
 
1299
"with_$ac_useropt"
 
1300
"*) ;;
 
1301
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1302
         ac_unrecognized_sep=', ';;
 
1303
    esac
 
1304
    eval with_$ac_useropt=no ;;
763
1305
 
764
1306
  --x)
765
1307
    # Obsolete; use --with-x.
779
1321
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
780
1322
    x_libraries=$ac_optarg ;;
781
1323
 
782
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
1324
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
783
1325
Try \`$0 --help' for more information." >&2
784
1326
   { (exit 1); exit 1; }; }
785
1327
    ;;
788
1330
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
789
1331
    # Reject names that are not valid shell variable names.
790
1332
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
791
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1333
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
792
1334
   { (exit 1); exit 1; }; }
793
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
794
 
    eval "$ac_envvar='$ac_optarg'"
 
1335
    eval $ac_envvar=\$ac_optarg
795
1336
    export $ac_envvar ;;
796
1337
 
797
1338
  *)
798
1339
    # FIXME: should be removed in autoconf 3.0.
799
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1340
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
800
1341
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
801
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1342
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
802
1343
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
803
1344
    ;;
804
1345
 
807
1348
 
808
1349
if test -n "$ac_prev"; then
809
1350
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
810
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
811
 
   { (exit 1); exit 1; }; }
812
 
fi
813
 
 
814
 
# Be sure to have absolute paths.
815
 
for ac_var in exec_prefix prefix
816
 
do
817
 
  eval ac_val=$`echo $ac_var`
818
 
  case $ac_val in
819
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
820
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
821
 
   { (exit 1); exit 1; }; };;
822
 
  esac
823
 
done
824
 
 
825
 
# Be sure to have absolute paths.
826
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
827
 
              localstatedir libdir includedir oldincludedir infodir mandir
828
 
do
829
 
  eval ac_val=$`echo $ac_var`
830
 
  case $ac_val in
831
 
    [\\/$]* | ?:[\\/]* ) ;;
832
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
833
 
   { (exit 1); exit 1; }; };;
834
 
  esac
 
1351
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
 
1352
   { (exit 1); exit 1; }; }
 
1353
fi
 
1354
 
 
1355
if test -n "$ac_unrecognized_opts"; then
 
1356
  case $enable_option_checking in
 
1357
    no) ;;
 
1358
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
 
1359
   { (exit 1); exit 1; }; } ;;
 
1360
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1361
  esac
 
1362
fi
 
1363
 
 
1364
# Check all directory arguments for consistency.
 
1365
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1366
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1367
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1368
                libdir localedir mandir
 
1369
do
 
1370
  eval ac_val=\$$ac_var
 
1371
  # Remove trailing slashes.
 
1372
  case $ac_val in
 
1373
    */ )
 
1374
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1375
      eval $ac_var=\$ac_val;;
 
1376
  esac
 
1377
  # Be sure to have absolute directory names.
 
1378
  case $ac_val in
 
1379
    [\\/$]* | ?:[\\/]* )  continue;;
 
1380
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1381
  esac
 
1382
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1383
   { (exit 1); exit 1; }; }
835
1384
done
836
1385
 
837
1386
# There might be people who depend on the old broken behavior: `$host'
845
1394
if test "x$host_alias" != x; then
846
1395
  if test "x$build_alias" = x; then
847
1396
    cross_compiling=maybe
848
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1397
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
849
1398
    If a cross compiler is detected then cross compile mode will be used." >&2
850
1399
  elif test "x$build_alias" != "x$host_alias"; then
851
1400
    cross_compiling=yes
858
1407
test "$silent" = yes && exec 6>/dev/null
859
1408
 
860
1409
 
 
1410
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1411
ac_ls_di=`ls -di .` &&
 
1412
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1413
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
 
1414
   { (exit 1); exit 1; }; }
 
1415
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1416
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
 
1417
   { (exit 1); exit 1; }; }
 
1418
 
 
1419
 
861
1420
# Find the source files, if location was not specified.
862
1421
if test -z "$srcdir"; then
863
1422
  ac_srcdir_defaulted=yes
864
 
  # Try the directory containing this script, then its parent.
865
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
866
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
867
 
         X"$0" : 'X\(//\)[^/]' \| \
868
 
         X"$0" : 'X\(//\)$' \| \
869
 
         X"$0" : 'X\(/\)' \| \
870
 
         .     : '\(.\)' 2>/dev/null ||
871
 
echo X"$0" |
872
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
873
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
874
 
          /^X\(\/\/\)$/{ s//\1/; q; }
875
 
          /^X\(\/\).*/{ s//\1/; q; }
876
 
          s/.*/./; q'`
 
1423
  # Try the directory containing this script, then the parent directory.
 
1424
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1425
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1426
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1427
         X"$as_myself" : 'X\(//\)$' \| \
 
1428
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1429
$as_echo X"$as_myself" |
 
1430
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1431
            s//\1/
 
1432
            q
 
1433
          }
 
1434
          /^X\(\/\/\)[^/].*/{
 
1435
            s//\1/
 
1436
            q
 
1437
          }
 
1438
          /^X\(\/\/\)$/{
 
1439
            s//\1/
 
1440
            q
 
1441
          }
 
1442
          /^X\(\/\).*/{
 
1443
            s//\1/
 
1444
            q
 
1445
          }
 
1446
          s/.*/./; q'`
877
1447
  srcdir=$ac_confdir
878
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1448
  if test ! -r "$srcdir/$ac_unique_file"; then
879
1449
    srcdir=..
880
1450
  fi
881
1451
else
882
1452
  ac_srcdir_defaulted=no
883
1453
fi
884
 
if test ! -r $srcdir/$ac_unique_file; then
885
 
  if test "$ac_srcdir_defaulted" = yes; then
886
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
887
 
   { (exit 1); exit 1; }; }
888
 
  else
889
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
890
 
   { (exit 1); exit 1; }; }
891
 
  fi
892
 
fi
893
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
894
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
895
 
   { (exit 1); exit 1; }; }
896
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
897
 
ac_env_build_alias_set=${build_alias+set}
898
 
ac_env_build_alias_value=$build_alias
899
 
ac_cv_env_build_alias_set=${build_alias+set}
900
 
ac_cv_env_build_alias_value=$build_alias
901
 
ac_env_host_alias_set=${host_alias+set}
902
 
ac_env_host_alias_value=$host_alias
903
 
ac_cv_env_host_alias_set=${host_alias+set}
904
 
ac_cv_env_host_alias_value=$host_alias
905
 
ac_env_target_alias_set=${target_alias+set}
906
 
ac_env_target_alias_value=$target_alias
907
 
ac_cv_env_target_alias_set=${target_alias+set}
908
 
ac_cv_env_target_alias_value=$target_alias
909
 
ac_env_CC_set=${CC+set}
910
 
ac_env_CC_value=$CC
911
 
ac_cv_env_CC_set=${CC+set}
912
 
ac_cv_env_CC_value=$CC
913
 
ac_env_CFLAGS_set=${CFLAGS+set}
914
 
ac_env_CFLAGS_value=$CFLAGS
915
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
916
 
ac_cv_env_CFLAGS_value=$CFLAGS
917
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
918
 
ac_env_LDFLAGS_value=$LDFLAGS
919
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
920
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
921
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
922
 
ac_env_CPPFLAGS_value=$CPPFLAGS
923
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
924
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
925
 
ac_env_CXX_set=${CXX+set}
926
 
ac_env_CXX_value=$CXX
927
 
ac_cv_env_CXX_set=${CXX+set}
928
 
ac_cv_env_CXX_value=$CXX
929
 
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
930
 
ac_env_CXXFLAGS_value=$CXXFLAGS
931
 
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
932
 
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
933
 
ac_env_CPP_set=${CPP+set}
934
 
ac_env_CPP_value=$CPP
935
 
ac_cv_env_CPP_set=${CPP+set}
936
 
ac_cv_env_CPP_value=$CPP
937
 
ac_env_CXXCPP_set=${CXXCPP+set}
938
 
ac_env_CXXCPP_value=$CXXCPP
939
 
ac_cv_env_CXXCPP_set=${CXXCPP+set}
940
 
ac_cv_env_CXXCPP_value=$CXXCPP
941
 
ac_env_F77_set=${F77+set}
942
 
ac_env_F77_value=$F77
943
 
ac_cv_env_F77_set=${F77+set}
944
 
ac_cv_env_F77_value=$F77
945
 
ac_env_FFLAGS_set=${FFLAGS+set}
946
 
ac_env_FFLAGS_value=$FFLAGS
947
 
ac_cv_env_FFLAGS_set=${FFLAGS+set}
948
 
ac_cv_env_FFLAGS_value=$FFLAGS
 
1454
if test ! -r "$srcdir/$ac_unique_file"; then
 
1455
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1456
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1457
   { (exit 1); exit 1; }; }
 
1458
fi
 
1459
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1460
ac_abs_confdir=`(
 
1461
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
 
1462
   { (exit 1); exit 1; }; }
 
1463
        pwd)`
 
1464
# When building in place, set srcdir=.
 
1465
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1466
  srcdir=.
 
1467
fi
 
1468
# Remove unnecessary trailing slashes from srcdir.
 
1469
# Double slashes in file names in object file debugging info
 
1470
# mess up M-x gdb in Emacs.
 
1471
case $srcdir in
 
1472
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1473
esac
 
1474
for ac_var in $ac_precious_vars; do
 
1475
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1476
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1477
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1478
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1479
done
949
1480
 
950
1481
#
951
1482
# Report the --help message.
954
1485
  # Omit some internal or obsolete options to make the list less imposing.
955
1486
  # This message is too long to be a string in the A/UX 3.1 sh.
956
1487
  cat <<_ACEOF
957
 
\`configure' configures sblim-sfcc 2.0.1 to adapt to many kinds of systems.
 
1488
\`configure' configures sblim-sfcc 2.2.0 to adapt to many kinds of systems.
958
1489
 
959
1490
Usage: $0 [OPTION]... [VAR=VALUE]...
960
1491
 
974
1505
  -n, --no-create         do not create output files
975
1506
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
976
1507
 
977
 
_ACEOF
978
 
 
979
 
  cat <<_ACEOF
980
1508
Installation directories:
981
1509
  --prefix=PREFIX         install architecture-independent files in PREFIX
982
 
                          [$ac_default_prefix]
 
1510
                          [$ac_default_prefix]
983
1511
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
984
 
                          [PREFIX]
 
1512
                          [PREFIX]
985
1513
 
986
1514
By default, \`make install' will install all the files in
987
1515
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
991
1519
For better control, use the options below.
992
1520
 
993
1521
Fine tuning of the installation directories:
994
 
  --bindir=DIR           user executables [EPREFIX/bin]
995
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
996
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
997
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
998
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
999
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1000
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1001
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1002
 
  --includedir=DIR       C header files [PREFIX/include]
1003
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1004
 
  --infodir=DIR          info documentation [PREFIX/info]
1005
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1522
  --bindir=DIR            user executables [EPREFIX/bin]
 
1523
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1524
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1525
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1526
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1527
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1528
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1529
  --includedir=DIR        C header files [PREFIX/include]
 
1530
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1531
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1532
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1533
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1534
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1535
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1536
  --docdir=DIR            documentation root [DATAROOTDIR/doc/sblim-sfcc]
 
1537
  --htmldir=DIR           html documentation [DOCDIR]
 
1538
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1539
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1540
  --psdir=DIR             ps documentation [DOCDIR]
1006
1541
_ACEOF
1007
1542
 
1008
1543
  cat <<\_ACEOF
1020
1555
 
1021
1556
if test -n "$ac_init_help"; then
1022
1557
  case $ac_init_help in
1023
 
     short | recursive ) echo "Configuration of sblim-sfcc 2.0.1:";;
 
1558
     short | recursive ) echo "Configuration of sblim-sfcc 2.2.0:";;
1024
1559
   esac
1025
1560
  cat <<\_ACEOF
1026
1561
 
1027
1562
Optional Features:
 
1563
  --disable-option-checking  ignore unrecognized --enable/--with options
1028
1564
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1029
1565
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1030
1566
  --disable-http-chunking disable http chunking support. May be necessary for
1031
1567
                          older CURL versions.
 
1568
  --enable-large_volume_support
 
1569
                          large_volume_support uses http chunk for
 
1570
                          enumclasses,enumclassnames,enuminstances,enuminstancenames.
1032
1571
  --disable-dependency-tracking  speeds up one-time build
1033
1572
  --enable-dependency-tracking   do not reject slow dependency extractors
1034
 
  --enable-shared[=PKGS]
1035
 
                          build shared libraries [default=yes]
1036
 
  --enable-static[=PKGS]
1037
 
                          build static libraries [default=yes]
 
1573
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1574
  --enable-static[=PKGS]  build static libraries [default=yes]
1038
1575
  --enable-fast-install[=PKGS]
1039
1576
                          optimize for fast installation [default=yes]
1040
1577
  --disable-libtool-lock  avoid locking (might break parallel builds)
1045
1582
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1046
1583
  --with-pic              try to use only PIC/non-PIC objects [default=use
1047
1584
                          both]
1048
 
  --with-tags[=TAGS]
1049
 
                          include additional configurations [automatic]
 
1585
  --with-tags[=TAGS]      include additional configurations [automatic]
1050
1586
 
1051
1587
Some influential environment variables:
1052
1588
  CC          C compiler command
1053
1589
  CFLAGS      C compiler flags
1054
1590
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1055
1591
              nonstandard directory <lib dir>
1056
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1057
 
              headers in a nonstandard directory <include dir>
 
1592
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1593
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1594
              you have headers in a nonstandard directory <include dir>
1058
1595
  CXX         C++ compiler command
1059
1596
  CXXFLAGS    C++ compiler flags
1060
1597
  CPP         C preprocessor
1067
1604
 
1068
1605
Report bugs to <sblim-devel@lists.sourceforge.net>.
1069
1606
_ACEOF
 
1607
ac_status=$?
1070
1608
fi
1071
1609
 
1072
1610
if test "$ac_init_help" = "recursive"; then
1073
1611
  # If there are subdirs, report their specific --help.
1074
 
  ac_popdir=`pwd`
1075
1612
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1076
 
    test -d $ac_dir || continue
 
1613
    test -d "$ac_dir" ||
 
1614
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1615
      continue
1077
1616
    ac_builddir=.
1078
1617
 
1079
 
if test "$ac_dir" != .; then
1080
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1081
 
  # A "../" for each directory in $ac_dir_suffix.
1082
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1083
 
else
1084
 
  ac_dir_suffix= ac_top_builddir=
1085
 
fi
 
1618
case "$ac_dir" in
 
1619
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1620
*)
 
1621
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1622
  # A ".." for each directory in $ac_dir_suffix.
 
1623
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1624
  case $ac_top_builddir_sub in
 
1625
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1626
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1627
  esac ;;
 
1628
esac
 
1629
ac_abs_top_builddir=$ac_pwd
 
1630
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1631
# for backward compatibility:
 
1632
ac_top_builddir=$ac_top_build_prefix
1086
1633
 
1087
1634
case $srcdir in
1088
 
  .)  # No --srcdir option.  We are building in place.
 
1635
  .)  # We are building in place.
1089
1636
    ac_srcdir=.
1090
 
    if test -z "$ac_top_builddir"; then
1091
 
       ac_top_srcdir=.
1092
 
    else
1093
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1094
 
    fi ;;
1095
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1637
    ac_top_srcdir=$ac_top_builddir_sub
 
1638
    ac_abs_top_srcdir=$ac_pwd ;;
 
1639
  [\\/]* | ?:[\\/]* )  # Absolute name.
1096
1640
    ac_srcdir=$srcdir$ac_dir_suffix;
1097
 
    ac_top_srcdir=$srcdir ;;
1098
 
  *) # Relative path.
1099
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1100
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1101
 
esac
1102
 
 
1103
 
# Do not use `cd foo && pwd` to compute absolute paths, because
1104
 
# the directories may not exist.
1105
 
case `pwd` in
1106
 
.) ac_abs_builddir="$ac_dir";;
1107
 
*)
1108
 
  case "$ac_dir" in
1109
 
  .) ac_abs_builddir=`pwd`;;
1110
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1111
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1112
 
  esac;;
1113
 
esac
1114
 
case $ac_abs_builddir in
1115
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1116
 
*)
1117
 
  case ${ac_top_builddir}. in
1118
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
1119
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1120
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1121
 
  esac;;
1122
 
esac
1123
 
case $ac_abs_builddir in
1124
 
.) ac_abs_srcdir=$ac_srcdir;;
1125
 
*)
1126
 
  case $ac_srcdir in
1127
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
1128
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1129
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1130
 
  esac;;
1131
 
esac
1132
 
case $ac_abs_builddir in
1133
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1134
 
*)
1135
 
  case $ac_top_srcdir in
1136
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1137
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1138
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1139
 
  esac;;
1140
 
esac
1141
 
 
1142
 
    cd $ac_dir
1143
 
    # Check for guested configure; otherwise get Cygnus style configure.
1144
 
    if test -f $ac_srcdir/configure.gnu; then
1145
 
      echo
1146
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1147
 
    elif test -f $ac_srcdir/configure; then
1148
 
      echo
1149
 
      $SHELL $ac_srcdir/configure  --help=recursive
1150
 
    elif test -f $ac_srcdir/configure.ac ||
1151
 
           test -f $ac_srcdir/configure.in; then
1152
 
      echo
1153
 
      $ac_configure --help
 
1641
    ac_top_srcdir=$srcdir
 
1642
    ac_abs_top_srcdir=$srcdir ;;
 
1643
  *) # Relative name.
 
1644
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1645
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1646
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1647
esac
 
1648
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1649
 
 
1650
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1651
    # Check for guested configure.
 
1652
    if test -f "$ac_srcdir/configure.gnu"; then
 
1653
      echo &&
 
1654
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1655
    elif test -f "$ac_srcdir/configure"; then
 
1656
      echo &&
 
1657
      $SHELL "$ac_srcdir/configure" --help=recursive
1154
1658
    else
1155
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1156
 
    fi
1157
 
    cd $ac_popdir
 
1659
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1660
    fi || ac_status=$?
 
1661
    cd "$ac_pwd" || { ac_status=$?; break; }
1158
1662
  done
1159
1663
fi
1160
1664
 
1161
 
test -n "$ac_init_help" && exit 0
 
1665
test -n "$ac_init_help" && exit $ac_status
1162
1666
if $ac_init_version; then
1163
1667
  cat <<\_ACEOF
1164
 
sblim-sfcc configure 2.0.1
1165
 
generated by GNU Autoconf 2.59
 
1668
sblim-sfcc configure 2.2.0
 
1669
generated by GNU Autoconf 2.63
1166
1670
 
1167
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1671
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1672
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1168
1673
This configure script is free software; the Free Software Foundation
1169
1674
gives unlimited permission to copy, distribute and modify it.
1170
1675
_ACEOF
1171
 
  exit 0
 
1676
  exit
1172
1677
fi
1173
 
exec 5>config.log
1174
 
cat >&5 <<_ACEOF
 
1678
cat >config.log <<_ACEOF
1175
1679
This file contains any messages produced by compilers while
1176
1680
running configure, to aid debugging if configure makes a mistake.
1177
1681
 
1178
 
It was created by sblim-sfcc $as_me 2.0.1, which was
1179
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1682
It was created by sblim-sfcc $as_me 2.2.0, which was
 
1683
generated by GNU Autoconf 2.63.  Invocation command line was
1180
1684
 
1181
1685
  $ $0 $@
1182
1686
 
1183
1687
_ACEOF
 
1688
exec 5>>config.log
1184
1689
{
1185
1690
cat <<_ASUNAME
1186
1691
## --------- ##
1199
1704
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1200
1705
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1201
1706
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1202
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1707
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1203
1708
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1204
1709
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1205
1710
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1211
1716
do
1212
1717
  IFS=$as_save_IFS
1213
1718
  test -z "$as_dir" && as_dir=.
1214
 
  echo "PATH: $as_dir"
 
1719
  $as_echo "PATH: $as_dir"
1215
1720
done
 
1721
IFS=$as_save_IFS
1216
1722
 
1217
1723
} >&5
1218
1724
 
1234
1740
ac_configure_args=
1235
1741
ac_configure_args0=
1236
1742
ac_configure_args1=
1237
 
ac_sep=
1238
1743
ac_must_keep_next=false
1239
1744
for ac_pass in 1 2
1240
1745
do
1245
1750
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1246
1751
    | -silent | --silent | --silen | --sile | --sil)
1247
1752
      continue ;;
1248
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1249
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1753
    *\'*)
 
1754
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1250
1755
    esac
1251
1756
    case $ac_pass in
1252
1757
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1267
1772
          -* ) ac_must_keep_next=true ;;
1268
1773
        esac
1269
1774
      fi
1270
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1271
 
      # Get rid of the leading space.
1272
 
      ac_sep=" "
 
1775
      ac_configure_args="$ac_configure_args '$ac_arg'"
1273
1776
      ;;
1274
1777
    esac
1275
1778
  done
1280
1783
# When interrupted or exit'd, cleanup temporary files, and complete
1281
1784
# config.log.  We remove comments because anyway the quotes in there
1282
1785
# would cause problems or look ugly.
1283
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1284
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1786
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1787
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1285
1788
trap 'exit_status=$?
1286
1789
  # Save into config.log some information that might help in debugging.
1287
1790
  {
1294
1797
_ASBOX
1295
1798
    echo
1296
1799
    # The following way of writing the cache mishandles newlines in values,
1297
 
{
 
1800
(
 
1801
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1802
    eval ac_val=\$$ac_var
 
1803
    case $ac_val in #(
 
1804
    *${as_nl}*)
 
1805
      case $ac_var in #(
 
1806
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1807
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
1808
      esac
 
1809
      case $ac_var in #(
 
1810
      _ | IFS | as_nl) ;; #(
 
1811
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
1812
      *) $as_unset $ac_var ;;
 
1813
      esac ;;
 
1814
    esac
 
1815
  done
1298
1816
  (set) 2>&1 |
1299
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1300
 
    *ac_space=\ *)
 
1817
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1818
    *${as_nl}ac_space=\ *)
1301
1819
      sed -n \
1302
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1303
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1304
 
      ;;
 
1820
        "s/'\''/'\''\\\\'\'''\''/g;
 
1821
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1822
      ;; #(
1305
1823
    *)
1306
 
      sed -n \
1307
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1824
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1308
1825
      ;;
1309
 
    esac;
1310
 
}
 
1826
    esac |
 
1827
    sort
 
1828
)
1311
1829
    echo
1312
1830
 
1313
1831
    cat <<\_ASBOX
1318
1836
    echo
1319
1837
    for ac_var in $ac_subst_vars
1320
1838
    do
1321
 
      eval ac_val=$`echo $ac_var`
1322
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1839
      eval ac_val=\$$ac_var
 
1840
      case $ac_val in
 
1841
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1842
      esac
 
1843
      $as_echo "$ac_var='\''$ac_val'\''"
1323
1844
    done | sort
1324
1845
    echo
1325
1846
 
1326
1847
    if test -n "$ac_subst_files"; then
1327
1848
      cat <<\_ASBOX
1328
 
## ------------- ##
1329
 
## Output files. ##
1330
 
## ------------- ##
 
1849
## ------------------- ##
 
1850
## File substitutions. ##
 
1851
## ------------------- ##
1331
1852
_ASBOX
1332
1853
      echo
1333
1854
      for ac_var in $ac_subst_files
1334
1855
      do
1335
 
        eval ac_val=$`echo $ac_var`
1336
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1856
        eval ac_val=\$$ac_var
 
1857
        case $ac_val in
 
1858
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1859
        esac
 
1860
        $as_echo "$ac_var='\''$ac_val'\''"
1337
1861
      done | sort
1338
1862
      echo
1339
1863
    fi
1345
1869
## ----------- ##
1346
1870
_ASBOX
1347
1871
      echo
1348
 
      sed "/^$/d" confdefs.h | sort
 
1872
      cat confdefs.h
1349
1873
      echo
1350
1874
    fi
1351
1875
    test "$ac_signal" != 0 &&
1352
 
      echo "$as_me: caught signal $ac_signal"
1353
 
    echo "$as_me: exit $exit_status"
 
1876
      $as_echo "$as_me: caught signal $ac_signal"
 
1877
    $as_echo "$as_me: exit $exit_status"
1354
1878
  } >&5
1355
 
  rm -f core *.core &&
1356
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1879
  rm -f core *.core core.conftest.* &&
 
1880
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1357
1881
    exit $exit_status
1358
 
     ' 0
 
1882
' 0
1359
1883
for ac_signal in 1 2 13 15; do
1360
1884
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1361
1885
done
1362
1886
ac_signal=0
1363
1887
 
1364
1888
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1365
 
rm -rf conftest* confdefs.h
1366
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1367
 
echo >confdefs.h
 
1889
rm -f -r conftest* confdefs.h
1368
1890
 
1369
1891
# Predefined preprocessor variables.
1370
1892
 
1394
1916
 
1395
1917
 
1396
1918
# Let the site file select an alternate cache file if it wants to.
1397
 
# Prefer explicitly selected file to automatically selected ones.
1398
 
if test -z "$CONFIG_SITE"; then
1399
 
  if test "x$prefix" != xNONE; then
1400
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1401
 
  else
1402
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1403
 
  fi
 
1919
# Prefer an explicitly selected file to automatically selected ones.
 
1920
ac_site_file1=NONE
 
1921
ac_site_file2=NONE
 
1922
if test -n "$CONFIG_SITE"; then
 
1923
  ac_site_file1=$CONFIG_SITE
 
1924
elif test "x$prefix" != xNONE; then
 
1925
  ac_site_file1=$prefix/share/config.site
 
1926
  ac_site_file2=$prefix/etc/config.site
 
1927
else
 
1928
  ac_site_file1=$ac_default_prefix/share/config.site
 
1929
  ac_site_file2=$ac_default_prefix/etc/config.site
1404
1930
fi
1405
 
for ac_site_file in $CONFIG_SITE; do
 
1931
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
1932
do
 
1933
  test "x$ac_site_file" = xNONE && continue
1406
1934
  if test -r "$ac_site_file"; then
1407
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1408
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
1935
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1936
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1409
1937
    sed 's/^/| /' "$ac_site_file" >&5
1410
1938
    . "$ac_site_file"
1411
1939
  fi
1415
1943
  # Some versions of bash will fail to source /dev/null (special
1416
1944
  # files actually), so we avoid doing that.
1417
1945
  if test -f "$cache_file"; then
1418
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1419
 
echo "$as_me: loading cache $cache_file" >&6;}
 
1946
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1947
$as_echo "$as_me: loading cache $cache_file" >&6;}
1420
1948
    case $cache_file in
1421
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1422
 
      *)                      . ./$cache_file;;
 
1949
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1950
      *)                      . "./$cache_file";;
1423
1951
    esac
1424
1952
  fi
1425
1953
else
1426
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1427
 
echo "$as_me: creating cache $cache_file" >&6;}
 
1954
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1955
$as_echo "$as_me: creating cache $cache_file" >&6;}
1428
1956
  >$cache_file
1429
1957
fi
1430
1958
 
 
1959
ac_header_list="$ac_header_list sys/time.h"
 
1960
ac_header_list="$ac_header_list unistd.h"
 
1961
ac_func_list="$ac_func_list alarm"
1431
1962
# Check that the precious variables saved in the cache have kept the same
1432
1963
# value.
1433
1964
ac_cache_corrupted=false
1434
 
for ac_var in `(set) 2>&1 |
1435
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1965
for ac_var in $ac_precious_vars; do
1436
1966
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1437
1967
  eval ac_new_set=\$ac_env_${ac_var}_set
1438
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1439
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1968
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1969
  eval ac_new_val=\$ac_env_${ac_var}_value
1440
1970
  case $ac_old_set,$ac_new_set in
1441
1971
    set,)
1442
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1443
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
1972
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1973
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1444
1974
      ac_cache_corrupted=: ;;
1445
1975
    ,set)
1446
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1447
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
1976
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
1977
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1448
1978
      ac_cache_corrupted=: ;;
1449
1979
    ,);;
1450
1980
    *)
1451
1981
      if test "x$ac_old_val" != "x$ac_new_val"; then
1452
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1453
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1454
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1455
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1456
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1457
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1458
 
        ac_cache_corrupted=:
 
1982
        # differences in whitespace do not lead to failure.
 
1983
        ac_old_val_w=`echo x $ac_old_val`
 
1984
        ac_new_val_w=`echo x $ac_new_val`
 
1985
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
1986
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1987
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
1988
          ac_cache_corrupted=:
 
1989
        else
 
1990
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
1991
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
1992
          eval $ac_var=\$ac_old_val
 
1993
        fi
 
1994
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
1995
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
1996
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
1997
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1459
1998
      fi;;
1460
1999
  esac
1461
2000
  # Pass precious variables to config.status.
1462
2001
  if test "$ac_new_set" = set; then
1463
2002
    case $ac_new_val in
1464
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1465
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2003
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1466
2004
    *) ac_arg=$ac_var=$ac_new_val ;;
1467
2005
    esac
1468
2006
    case " $ac_configure_args " in
1472
2010
  fi
1473
2011
done
1474
2012
if $ac_cache_corrupted; then
1475
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1476
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1477
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1478
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
2013
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2014
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2015
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2016
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2017
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
2018
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1479
2019
   { (exit 1); exit 1; }; }
1480
2020
fi
1481
2021
 
 
2022
 
 
2023
 
 
2024
 
 
2025
 
 
2026
 
 
2027
 
 
2028
 
 
2029
 
 
2030
 
 
2031
 
 
2032
 
 
2033
 
 
2034
 
 
2035
 
 
2036
 
 
2037
 
 
2038
 
 
2039
 
 
2040
 
 
2041
 
 
2042
 
 
2043
 
 
2044
 
 
2045
 
1482
2046
ac_ext=c
1483
2047
ac_cpp='$CPP $CPPFLAGS'
1484
2048
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1487
2051
 
1488
2052
 
1489
2053
 
1490
 
 
1491
 
 
1492
 
 
1493
 
 
1494
 
 
1495
 
 
1496
 
 
1497
 
 
1498
 
 
1499
 
 
1500
 
 
1501
 
 
1502
 
 
1503
 
 
1504
 
 
1505
 
 
1506
 
 
1507
 
 
1508
 
 
1509
 
 
1510
 
 
1511
 
 
1512
 
 
1513
 
 
1514
 
 
1515
 
          ac_config_headers="$ac_config_headers config.h"
1516
 
 
1517
 
 
1518
 
am__api_version="1.9"
 
2054
ac_config_headers="$ac_config_headers config.h"
 
2055
 
 
2056
 
 
2057
am__api_version='1.10'
 
2058
 
1519
2059
ac_aux_dir=
1520
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1521
 
  if test -f $ac_dir/install-sh; then
 
2060
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2061
  if test -f "$ac_dir/install-sh"; then
1522
2062
    ac_aux_dir=$ac_dir
1523
2063
    ac_install_sh="$ac_aux_dir/install-sh -c"
1524
2064
    break
1525
 
  elif test -f $ac_dir/install.sh; then
 
2065
  elif test -f "$ac_dir/install.sh"; then
1526
2066
    ac_aux_dir=$ac_dir
1527
2067
    ac_install_sh="$ac_aux_dir/install.sh -c"
1528
2068
    break
1529
 
  elif test -f $ac_dir/shtool; then
 
2069
  elif test -f "$ac_dir/shtool"; then
1530
2070
    ac_aux_dir=$ac_dir
1531
2071
    ac_install_sh="$ac_aux_dir/shtool install -c"
1532
2072
    break
1533
2073
  fi
1534
2074
done
1535
2075
if test -z "$ac_aux_dir"; then
1536
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1537
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
2076
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
2077
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1538
2078
   { (exit 1); exit 1; }; }
1539
2079
fi
1540
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1541
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1542
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
2080
 
 
2081
# These three variables are undocumented and unsupported,
 
2082
# and are intended to be withdrawn in a future Autoconf release.
 
2083
# They can cause serious problems if a builder's source tree is in a directory
 
2084
# whose full name contains unusual characters.
 
2085
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2086
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2087
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2088
 
1543
2089
 
1544
2090
# Find a good install program.  We prefer a C program (faster),
1545
2091
# so one script is as good as another.  But avoid the broken or
1554
2100
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1555
2101
# OS/2's system install, which has a completely different semantic
1556
2102
# ./install, which can be erroneously created by make from ./install.sh.
1557
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1558
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
2103
# Reject install programs that cannot install multiple files.
 
2104
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2105
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1559
2106
if test -z "$INSTALL"; then
1560
2107
if test "${ac_cv_path_install+set}" = set; then
1561
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2108
  $as_echo_n "(cached) " >&6
1562
2109
else
1563
2110
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1564
2111
for as_dir in $PATH
1577
2124
    # by default.
1578
2125
    for ac_prog in ginstall scoinst install; do
1579
2126
      for ac_exec_ext in '' $ac_executable_extensions; do
1580
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2127
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1581
2128
          if test $ac_prog = install &&
1582
2129
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1583
2130
            # AIX install.  It has an incompatible calling convention.
1587
2134
            # program-specific install script used by HP pwplus--don't use.
1588
2135
            :
1589
2136
          else
1590
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1591
 
            break 3
 
2137
            rm -rf conftest.one conftest.two conftest.dir
 
2138
            echo one > conftest.one
 
2139
            echo two > conftest.two
 
2140
            mkdir conftest.dir
 
2141
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2142
              test -s conftest.one && test -s conftest.two &&
 
2143
              test -s conftest.dir/conftest.one &&
 
2144
              test -s conftest.dir/conftest.two
 
2145
            then
 
2146
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2147
              break 3
 
2148
            fi
1592
2149
          fi
1593
2150
        fi
1594
2151
      done
1595
2152
    done
1596
2153
    ;;
1597
2154
esac
 
2155
 
1598
2156
done
 
2157
IFS=$as_save_IFS
1599
2158
 
 
2159
rm -rf conftest.one conftest.two conftest.dir
1600
2160
 
1601
2161
fi
1602
2162
  if test "${ac_cv_path_install+set}" = set; then
1603
2163
    INSTALL=$ac_cv_path_install
1604
2164
  else
1605
 
    # As a last resort, use the slow shell script.  We don't cache a
1606
 
    # path for INSTALL within a source directory, because that will
 
2165
    # As a last resort, use the slow shell script.  Don't cache a
 
2166
    # value for INSTALL within a source directory, because that will
1607
2167
    # break other packages using the cache if that directory is
1608
 
    # removed, or if the path is relative.
 
2168
    # removed, or if the value is a relative name.
1609
2169
    INSTALL=$ac_install_sh
1610
2170
  fi
1611
2171
fi
1612
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1613
 
echo "${ECHO_T}$INSTALL" >&6
 
2172
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2173
$as_echo "$INSTALL" >&6; }
1614
2174
 
1615
2175
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1616
2176
# It thinks the first close brace ends the variable substitution.
1620
2180
 
1621
2181
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1622
2182
 
1623
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1624
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
2183
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2184
$as_echo_n "checking whether build environment is sane... " >&6; }
1625
2185
# Just in case
1626
2186
sleep 1
1627
2187
echo timestamp > conftest.file
1644
2204
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1645
2205
      # broken ls alias from the environment.  This has actually
1646
2206
      # happened.  Such a system could not be considered "sane".
1647
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
2207
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1648
2208
alias in your environment" >&5
1649
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
2209
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1650
2210
alias in your environment" >&2;}
1651
2211
   { (exit 1); exit 1; }; }
1652
2212
   fi
1657
2217
   # Ok.
1658
2218
   :
1659
2219
else
1660
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
2220
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1661
2221
Check your system clock" >&5
1662
 
echo "$as_me: error: newly created file is older than distributed files!
 
2222
$as_echo "$as_me: error: newly created file is older than distributed files!
1663
2223
Check your system clock" >&2;}
1664
2224
   { (exit 1); exit 1; }; }
1665
2225
fi
1666
 
echo "$as_me:$LINENO: result: yes" >&5
1667
 
echo "${ECHO_T}yes" >&6
 
2226
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2227
$as_echo "yes" >&6; }
1668
2228
test "$program_prefix" != NONE &&
1669
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
2229
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1670
2230
# Use a double $ so make ignores it.
1671
2231
test "$program_suffix" != NONE &&
1672
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1673
 
# Double any \ or $.  echo might interpret backslashes.
 
2232
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
2233
# Double any \ or $.
1674
2234
# By default was `s,x,x', remove it if useless.
1675
 
cat <<\_ACEOF >conftest.sed
1676
 
s/[\\$]/&&/g;s/;s,x,x,$//
1677
 
_ACEOF
1678
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1679
 
rm conftest.sed
 
2235
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2236
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1680
2237
 
1681
2238
# expand $ac_aux_dir to an absolute path
1682
2239
am_aux_dir=`cd $ac_aux_dir && pwd`
1687
2244
  am_missing_run="$MISSING --run "
1688
2245
else
1689
2246
  am_missing_run=
1690
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1691
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2247
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2248
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1692
2249
fi
1693
2250
 
1694
 
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1695
 
  # We used to keeping the `.' as first argument, in order to
1696
 
  # allow $(mkdir_p) to be used without argument.  As in
1697
 
  #   $(mkdir_p) $(somedir)
1698
 
  # where $(somedir) is conditionally defined.  However this is wrong
1699
 
  # for two reasons:
1700
 
  #  1. if the package is installed by a user who cannot write `.'
1701
 
  #     make install will fail,
1702
 
  #  2. the above comment should most certainly read
1703
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
1704
 
  #     so it does not work when $(somedir) is undefined and
1705
 
  #     $(DESTDIR) is not.
1706
 
  #  To support the latter case, we have to write
1707
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1708
 
  #  so the `.' trick is pointless.
1709
 
  mkdir_p='mkdir -p --'
 
2251
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2252
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
2253
if test -z "$MKDIR_P"; then
 
2254
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2255
  $as_echo_n "(cached) " >&6
1710
2256
else
1711
 
  # On NextStep and OpenStep, the `mkdir' command does not
1712
 
  # recognize any option.  It will interpret all options as
1713
 
  # directories to create, and then abort because `.' already
1714
 
  # exists.
1715
 
  for d in ./-p ./--version;
1716
 
  do
1717
 
    test -d $d && rmdir $d
1718
 
  done
1719
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1720
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
1721
 
    mkdir_p='$(mkinstalldirs)'
 
2257
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2258
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2259
do
 
2260
  IFS=$as_save_IFS
 
2261
  test -z "$as_dir" && as_dir=.
 
2262
  for ac_prog in mkdir gmkdir; do
 
2263
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2264
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2265
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2266
             'mkdir (GNU coreutils) '* | \
 
2267
             'mkdir (coreutils) '* | \
 
2268
             'mkdir (fileutils) '4.1*)
 
2269
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2270
               break 3;;
 
2271
           esac
 
2272
         done
 
2273
       done
 
2274
done
 
2275
IFS=$as_save_IFS
 
2276
 
 
2277
fi
 
2278
 
 
2279
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2280
    MKDIR_P="$ac_cv_path_mkdir -p"
1722
2281
  else
1723
 
    mkdir_p='$(install_sh) -d'
 
2282
    # As a last resort, use the slow shell script.  Don't cache a
 
2283
    # value for MKDIR_P within a source directory, because that will
 
2284
    # break other packages using the cache if that directory is
 
2285
    # removed, or if the value is a relative name.
 
2286
    test -d ./--version && rmdir ./--version
 
2287
    MKDIR_P="$ac_install_sh -d"
1724
2288
  fi
1725
2289
fi
 
2290
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2291
$as_echo "$MKDIR_P" >&6; }
 
2292
 
 
2293
mkdir_p="$MKDIR_P"
 
2294
case $mkdir_p in
 
2295
  [\\/$]* | ?:[\\/]*) ;;
 
2296
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2297
esac
1726
2298
 
1727
2299
for ac_prog in gawk mawk nawk awk
1728
2300
do
1729
2301
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1730
2302
set dummy $ac_prog; ac_word=$2
1731
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1732
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2303
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2304
$as_echo_n "checking for $ac_word... " >&6; }
1733
2305
if test "${ac_cv_prog_AWK+set}" = set; then
1734
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2306
  $as_echo_n "(cached) " >&6
1735
2307
else
1736
2308
  if test -n "$AWK"; then
1737
2309
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1742
2314
  IFS=$as_save_IFS
1743
2315
  test -z "$as_dir" && as_dir=.
1744
2316
  for ac_exec_ext in '' $ac_executable_extensions; do
1745
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2317
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1746
2318
    ac_cv_prog_AWK="$ac_prog"
1747
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2319
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1748
2320
    break 2
1749
2321
  fi
1750
2322
done
1751
2323
done
 
2324
IFS=$as_save_IFS
1752
2325
 
1753
2326
fi
1754
2327
fi
1755
2328
AWK=$ac_cv_prog_AWK
1756
2329
if test -n "$AWK"; then
1757
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1758
 
echo "${ECHO_T}$AWK" >&6
 
2330
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2331
$as_echo "$AWK" >&6; }
1759
2332
else
1760
 
  echo "$as_me:$LINENO: result: no" >&5
1761
 
echo "${ECHO_T}no" >&6
 
2333
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2334
$as_echo "no" >&6; }
1762
2335
fi
1763
2336
 
 
2337
 
1764
2338
  test -n "$AWK" && break
1765
2339
done
1766
2340
 
1767
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1768
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1769
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1770
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1771
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2341
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2342
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2343
set x ${MAKE-make}
 
2344
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2345
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2346
  $as_echo_n "(cached) " >&6
1772
2347
else
1773
2348
  cat >conftest.make <<\_ACEOF
 
2349
SHELL = /bin/sh
1774
2350
all:
1775
 
        @echo 'ac_maketemp="$(MAKE)"'
 
2351
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1776
2352
_ACEOF
1777
2353
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1778
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1779
 
if test -n "$ac_maketemp"; then
1780
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1781
 
else
1782
 
  eval ac_cv_prog_make_${ac_make}_set=no
1783
 
fi
 
2354
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2355
  *@@@%%%=?*=@@@%%%*)
 
2356
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2357
  *)
 
2358
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2359
esac
1784
2360
rm -f conftest.make
1785
2361
fi
1786
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1787
 
  echo "$as_me:$LINENO: result: yes" >&5
1788
 
echo "${ECHO_T}yes" >&6
 
2362
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2363
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2364
$as_echo "yes" >&6; }
1789
2365
  SET_MAKE=
1790
2366
else
1791
 
  echo "$as_me:$LINENO: result: no" >&5
1792
 
echo "${ECHO_T}no" >&6
 
2367
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2368
$as_echo "no" >&6; }
1793
2369
  SET_MAKE="MAKE=${MAKE-make}"
1794
2370
fi
1795
2371
 
1802
2378
fi
1803
2379
rmdir .tst 2>/dev/null
1804
2380
 
1805
 
# test to see if srcdir already configured
1806
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1807
 
   test -f $srcdir/config.status; then
1808
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1809
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
2381
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2382
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2383
  # is not polluted with repeated "-I."
 
2384
  am__isrc=' -I$(srcdir)'
 
2385
  # test to see if srcdir already configured
 
2386
  if test -f $srcdir/config.status; then
 
2387
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2388
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1810
2389
   { (exit 1); exit 1; }; }
 
2390
  fi
1811
2391
fi
1812
2392
 
1813
2393
# test whether we have cygpath
1822
2402
 
1823
2403
# Define the identity of the package.
1824
2404
 PACKAGE='sblim-sfcc'
1825
 
 VERSION='2.0.1'
 
2405
 VERSION='2.2.0'
1826
2406
 
1827
2407
 
1828
2408
cat >>confdefs.h <<_ACEOF
1850
2430
 
1851
2431
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1852
2432
 
1853
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
2433
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
1854
2434
 
1855
2435
# Installed binaries are usually stripped using `strip' when the user
1856
2436
# run `make install-strip'.  However `strip' might not be the right
1860
2440
  if test -n "$ac_tool_prefix"; then
1861
2441
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1862
2442
set dummy ${ac_tool_prefix}strip; ac_word=$2
1863
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1864
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2443
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2444
$as_echo_n "checking for $ac_word... " >&6; }
1865
2445
if test "${ac_cv_prog_STRIP+set}" = set; then
1866
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2446
  $as_echo_n "(cached) " >&6
1867
2447
else
1868
2448
  if test -n "$STRIP"; then
1869
2449
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1874
2454
  IFS=$as_save_IFS
1875
2455
  test -z "$as_dir" && as_dir=.
1876
2456
  for ac_exec_ext in '' $ac_executable_extensions; do
1877
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2457
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1878
2458
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1879
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2459
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1880
2460
    break 2
1881
2461
  fi
1882
2462
done
1883
2463
done
 
2464
IFS=$as_save_IFS
1884
2465
 
1885
2466
fi
1886
2467
fi
1887
2468
STRIP=$ac_cv_prog_STRIP
1888
2469
if test -n "$STRIP"; then
1889
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1890
 
echo "${ECHO_T}$STRIP" >&6
 
2470
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2471
$as_echo "$STRIP" >&6; }
1891
2472
else
1892
 
  echo "$as_me:$LINENO: result: no" >&5
1893
 
echo "${ECHO_T}no" >&6
 
2473
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2474
$as_echo "no" >&6; }
1894
2475
fi
 
2476
 
1895
2477
 
1896
2478
fi
1897
2479
if test -z "$ac_cv_prog_STRIP"; then
1898
2480
  ac_ct_STRIP=$STRIP
1899
2481
  # Extract the first word of "strip", so it can be a program name with args.
1900
2482
set dummy strip; ac_word=$2
1901
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1902
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2483
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2484
$as_echo_n "checking for $ac_word... " >&6; }
1903
2485
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1904
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2486
  $as_echo_n "(cached) " >&6
1905
2487
else
1906
2488
  if test -n "$ac_ct_STRIP"; then
1907
2489
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1912
2494
  IFS=$as_save_IFS
1913
2495
  test -z "$as_dir" && as_dir=.
1914
2496
  for ac_exec_ext in '' $ac_executable_extensions; do
1915
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2497
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1916
2498
    ac_cv_prog_ac_ct_STRIP="strip"
1917
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2499
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1918
2500
    break 2
1919
2501
  fi
1920
2502
done
1921
2503
done
 
2504
IFS=$as_save_IFS
1922
2505
 
1923
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1924
2506
fi
1925
2507
fi
1926
2508
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1927
2509
if test -n "$ac_ct_STRIP"; then
1928
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1929
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
2510
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2511
$as_echo "$ac_ct_STRIP" >&6; }
1930
2512
else
1931
 
  echo "$as_me:$LINENO: result: no" >&5
1932
 
echo "${ECHO_T}no" >&6
 
2513
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2514
$as_echo "no" >&6; }
1933
2515
fi
1934
2516
 
1935
 
  STRIP=$ac_ct_STRIP
 
2517
  if test "x$ac_ct_STRIP" = x; then
 
2518
    STRIP=":"
 
2519
  else
 
2520
    case $cross_compiling:$ac_tool_warned in
 
2521
yes:)
 
2522
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2523
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2524
ac_tool_warned=yes ;;
 
2525
esac
 
2526
    STRIP=$ac_ct_STRIP
 
2527
  fi
1936
2528
else
1937
2529
  STRIP="$ac_cv_prog_STRIP"
1938
2530
fi
1939
2531
 
1940
2532
fi
1941
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
2533
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1942
2534
 
1943
2535
# We need awk for the "check" target.  The system "awk" is bad on
1944
2536
# some platforms.
1953
2545
 
1954
2546
 
1955
2547
 
1956
 
# Check whether --enable-http-chunking or --disable-http-chunking was given.
 
2548
# Check whether --enable-http-chunking was given.
1957
2549
if test "${enable_http_chunking+set}" = set; then
1958
 
  enableval="$enable_http_chunking"
1959
 
  enable_http_chunking=$enableval
 
2550
  enableval=$enable_http_chunking; enable_http_chunking=$enableval
1960
2551
else
1961
2552
  enable_http_chunking="yes"
1962
2553
 
1963
 
fi;
 
2554
fi
 
2555
 
 
2556
 
 
2557
# Check whether --enable-large_volume_support was given.
 
2558
if test "${enable_large_volume_support+set}" = set; then
 
2559
  enableval=$enable_large_volume_support; large_volume_support=$enableval
 
2560
else
 
2561
  large_volume_support="no"
 
2562
 
 
2563
fi
 
2564
 
1964
2565
 
1965
2566
# Checks for programs.
1966
2567
ac_ext=c
1971
2572
if test -n "$ac_tool_prefix"; then
1972
2573
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1973
2574
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1974
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1975
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2575
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2576
$as_echo_n "checking for $ac_word... " >&6; }
1976
2577
if test "${ac_cv_prog_CC+set}" = set; then
1977
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2578
  $as_echo_n "(cached) " >&6
1978
2579
else
1979
2580
  if test -n "$CC"; then
1980
2581
  ac_cv_prog_CC="$CC" # Let the user override the test.
1985
2586
  IFS=$as_save_IFS
1986
2587
  test -z "$as_dir" && as_dir=.
1987
2588
  for ac_exec_ext in '' $ac_executable_extensions; do
1988
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2589
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1989
2590
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1990
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2591
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1991
2592
    break 2
1992
2593
  fi
1993
2594
done
1994
2595
done
 
2596
IFS=$as_save_IFS
1995
2597
 
1996
2598
fi
1997
2599
fi
1998
2600
CC=$ac_cv_prog_CC
1999
2601
if test -n "$CC"; then
2000
 
  echo "$as_me:$LINENO: result: $CC" >&5
2001
 
echo "${ECHO_T}$CC" >&6
 
2602
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2603
$as_echo "$CC" >&6; }
2002
2604
else
2003
 
  echo "$as_me:$LINENO: result: no" >&5
2004
 
echo "${ECHO_T}no" >&6
 
2605
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2606
$as_echo "no" >&6; }
2005
2607
fi
 
2608
 
2006
2609
 
2007
2610
fi
2008
2611
if test -z "$ac_cv_prog_CC"; then
2009
2612
  ac_ct_CC=$CC
2010
2613
  # Extract the first word of "gcc", so it can be a program name with args.
2011
2614
set dummy gcc; ac_word=$2
2012
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2013
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2615
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2616
$as_echo_n "checking for $ac_word... " >&6; }
2014
2617
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2015
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2618
  $as_echo_n "(cached) " >&6
2016
2619
else
2017
2620
  if test -n "$ac_ct_CC"; then
2018
2621
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2023
2626
  IFS=$as_save_IFS
2024
2627
  test -z "$as_dir" && as_dir=.
2025
2628
  for ac_exec_ext in '' $ac_executable_extensions; do
2026
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2629
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2027
2630
    ac_cv_prog_ac_ct_CC="gcc"
2028
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2631
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2029
2632
    break 2
2030
2633
  fi
2031
2634
done
2032
2635
done
 
2636
IFS=$as_save_IFS
2033
2637
 
2034
2638
fi
2035
2639
fi
2036
2640
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2037
2641
if test -n "$ac_ct_CC"; then
2038
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2039
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2642
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2643
$as_echo "$ac_ct_CC" >&6; }
2040
2644
else
2041
 
  echo "$as_me:$LINENO: result: no" >&5
2042
 
echo "${ECHO_T}no" >&6
 
2645
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2646
$as_echo "no" >&6; }
2043
2647
fi
2044
2648
 
2045
 
  CC=$ac_ct_CC
 
2649
  if test "x$ac_ct_CC" = x; then
 
2650
    CC=""
 
2651
  else
 
2652
    case $cross_compiling:$ac_tool_warned in
 
2653
yes:)
 
2654
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2655
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2656
ac_tool_warned=yes ;;
 
2657
esac
 
2658
    CC=$ac_ct_CC
 
2659
  fi
2046
2660
else
2047
2661
  CC="$ac_cv_prog_CC"
2048
2662
fi
2049
2663
 
2050
2664
if test -z "$CC"; then
2051
 
  if test -n "$ac_tool_prefix"; then
2052
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2665
          if test -n "$ac_tool_prefix"; then
 
2666
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2053
2667
set dummy ${ac_tool_prefix}cc; ac_word=$2
2054
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2055
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2668
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2669
$as_echo_n "checking for $ac_word... " >&6; }
2056
2670
if test "${ac_cv_prog_CC+set}" = set; then
2057
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2671
  $as_echo_n "(cached) " >&6
2058
2672
else
2059
2673
  if test -n "$CC"; then
2060
2674
  ac_cv_prog_CC="$CC" # Let the user override the test.
2065
2679
  IFS=$as_save_IFS
2066
2680
  test -z "$as_dir" && as_dir=.
2067
2681
  for ac_exec_ext in '' $ac_executable_extensions; do
2068
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2682
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2069
2683
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2070
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2684
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2071
2685
    break 2
2072
2686
  fi
2073
2687
done
2074
2688
done
 
2689
IFS=$as_save_IFS
2075
2690
 
2076
2691
fi
2077
2692
fi
2078
2693
CC=$ac_cv_prog_CC
2079
2694
if test -n "$CC"; then
2080
 
  echo "$as_me:$LINENO: result: $CC" >&5
2081
 
echo "${ECHO_T}$CC" >&6
2082
 
else
2083
 
  echo "$as_me:$LINENO: result: no" >&5
2084
 
echo "${ECHO_T}no" >&6
2085
 
fi
2086
 
 
2087
 
fi
2088
 
if test -z "$ac_cv_prog_CC"; then
2089
 
  ac_ct_CC=$CC
2090
 
  # Extract the first word of "cc", so it can be a program name with args.
2091
 
set dummy cc; ac_word=$2
2092
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2093
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2094
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2095
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2096
 
else
2097
 
  if test -n "$ac_ct_CC"; then
2098
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2099
 
else
2100
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2101
 
for as_dir in $PATH
2102
 
do
2103
 
  IFS=$as_save_IFS
2104
 
  test -z "$as_dir" && as_dir=.
2105
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2106
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2107
 
    ac_cv_prog_ac_ct_CC="cc"
2108
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2109
 
    break 2
 
2695
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2696
$as_echo "$CC" >&6; }
 
2697
else
 
2698
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2699
$as_echo "no" >&6; }
 
2700
fi
 
2701
 
 
2702
 
2110
2703
  fi
2111
 
done
2112
 
done
2113
 
 
2114
 
fi
2115
 
fi
2116
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2117
 
if test -n "$ac_ct_CC"; then
2118
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2119
 
echo "${ECHO_T}$ac_ct_CC" >&6
2120
 
else
2121
 
  echo "$as_me:$LINENO: result: no" >&5
2122
 
echo "${ECHO_T}no" >&6
2123
 
fi
2124
 
 
2125
 
  CC=$ac_ct_CC
2126
 
else
2127
 
  CC="$ac_cv_prog_CC"
2128
 
fi
2129
 
 
2130
2704
fi
2131
2705
if test -z "$CC"; then
2132
2706
  # Extract the first word of "cc", so it can be a program name with args.
2133
2707
set dummy cc; ac_word=$2
2134
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2135
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2708
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2709
$as_echo_n "checking for $ac_word... " >&6; }
2136
2710
if test "${ac_cv_prog_CC+set}" = set; then
2137
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2711
  $as_echo_n "(cached) " >&6
2138
2712
else
2139
2713
  if test -n "$CC"; then
2140
2714
  ac_cv_prog_CC="$CC" # Let the user override the test.
2146
2720
  IFS=$as_save_IFS
2147
2721
  test -z "$as_dir" && as_dir=.
2148
2722
  for ac_exec_ext in '' $ac_executable_extensions; do
2149
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2723
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2150
2724
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2151
2725
       ac_prog_rejected=yes
2152
2726
       continue
2153
2727
     fi
2154
2728
    ac_cv_prog_CC="cc"
2155
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2729
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2156
2730
    break 2
2157
2731
  fi
2158
2732
done
2159
2733
done
 
2734
IFS=$as_save_IFS
2160
2735
 
2161
2736
if test $ac_prog_rejected = yes; then
2162
2737
  # We found a bogon in the path, so make sure we never use it.
2174
2749
fi
2175
2750
CC=$ac_cv_prog_CC
2176
2751
if test -n "$CC"; then
2177
 
  echo "$as_me:$LINENO: result: $CC" >&5
2178
 
echo "${ECHO_T}$CC" >&6
 
2752
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2753
$as_echo "$CC" >&6; }
2179
2754
else
2180
 
  echo "$as_me:$LINENO: result: no" >&5
2181
 
echo "${ECHO_T}no" >&6
 
2755
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2756
$as_echo "no" >&6; }
2182
2757
fi
 
2758
 
2183
2759
 
2184
2760
fi
2185
2761
if test -z "$CC"; then
2186
2762
  if test -n "$ac_tool_prefix"; then
2187
 
  for ac_prog in cl
 
2763
  for ac_prog in cl.exe
2188
2764
  do
2189
2765
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2190
2766
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2191
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2192
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2767
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2768
$as_echo_n "checking for $ac_word... " >&6; }
2193
2769
if test "${ac_cv_prog_CC+set}" = set; then
2194
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2770
  $as_echo_n "(cached) " >&6
2195
2771
else
2196
2772
  if test -n "$CC"; then
2197
2773
  ac_cv_prog_CC="$CC" # Let the user override the test.
2202
2778
  IFS=$as_save_IFS
2203
2779
  test -z "$as_dir" && as_dir=.
2204
2780
  for ac_exec_ext in '' $ac_executable_extensions; do
2205
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2781
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2206
2782
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2207
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2783
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2208
2784
    break 2
2209
2785
  fi
2210
2786
done
2211
2787
done
 
2788
IFS=$as_save_IFS
2212
2789
 
2213
2790
fi
2214
2791
fi
2215
2792
CC=$ac_cv_prog_CC
2216
2793
if test -n "$CC"; then
2217
 
  echo "$as_me:$LINENO: result: $CC" >&5
2218
 
echo "${ECHO_T}$CC" >&6
 
2794
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2795
$as_echo "$CC" >&6; }
2219
2796
else
2220
 
  echo "$as_me:$LINENO: result: no" >&5
2221
 
echo "${ECHO_T}no" >&6
 
2797
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2798
$as_echo "no" >&6; }
2222
2799
fi
2223
2800
 
 
2801
 
2224
2802
    test -n "$CC" && break
2225
2803
  done
2226
2804
fi
2227
2805
if test -z "$CC"; then
2228
2806
  ac_ct_CC=$CC
2229
 
  for ac_prog in cl
 
2807
  for ac_prog in cl.exe
2230
2808
do
2231
2809
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2232
2810
set dummy $ac_prog; ac_word=$2
2233
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2234
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2811
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2812
$as_echo_n "checking for $ac_word... " >&6; }
2235
2813
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2236
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2814
  $as_echo_n "(cached) " >&6
2237
2815
else
2238
2816
  if test -n "$ac_ct_CC"; then
2239
2817
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2244
2822
  IFS=$as_save_IFS
2245
2823
  test -z "$as_dir" && as_dir=.
2246
2824
  for ac_exec_ext in '' $ac_executable_extensions; do
2247
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2825
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2248
2826
    ac_cv_prog_ac_ct_CC="$ac_prog"
2249
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2827
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2250
2828
    break 2
2251
2829
  fi
2252
2830
done
2253
2831
done
 
2832
IFS=$as_save_IFS
2254
2833
 
2255
2834
fi
2256
2835
fi
2257
2836
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2258
2837
if test -n "$ac_ct_CC"; then
2259
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2260
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2838
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2839
$as_echo "$ac_ct_CC" >&6; }
2261
2840
else
2262
 
  echo "$as_me:$LINENO: result: no" >&5
2263
 
echo "${ECHO_T}no" >&6
 
2841
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2842
$as_echo "no" >&6; }
2264
2843
fi
2265
2844
 
 
2845
 
2266
2846
  test -n "$ac_ct_CC" && break
2267
2847
done
2268
2848
 
2269
 
  CC=$ac_ct_CC
2270
 
fi
2271
 
 
2272
 
fi
2273
 
 
2274
 
 
2275
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
2849
  if test "x$ac_ct_CC" = x; then
 
2850
    CC=""
 
2851
  else
 
2852
    case $cross_compiling:$ac_tool_warned in
 
2853
yes:)
 
2854
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2855
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2856
ac_tool_warned=yes ;;
 
2857
esac
 
2858
    CC=$ac_ct_CC
 
2859
  fi
 
2860
fi
 
2861
 
 
2862
fi
 
2863
 
 
2864
 
 
2865
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2866
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2867
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2276
2868
See \`config.log' for more details." >&5
2277
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
2869
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2278
2870
See \`config.log' for more details." >&2;}
2279
 
   { (exit 1); exit 1; }; }
 
2871
   { (exit 1); exit 1; }; }; }
2280
2872
 
2281
2873
# Provide some information about the compiler.
2282
 
echo "$as_me:$LINENO:" \
2283
 
     "checking for C compiler version" >&5
2284
 
ac_compiler=`set X $ac_compile; echo $2`
2285
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2286
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2287
 
  ac_status=$?
2288
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2289
 
  (exit $ac_status); }
2290
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2291
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2292
 
  ac_status=$?
2293
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2294
 
  (exit $ac_status); }
2295
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2296
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
2297
 
  ac_status=$?
2298
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2874
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
2875
set X $ac_compile
 
2876
ac_compiler=$2
 
2877
{ (ac_try="$ac_compiler --version >&5"
 
2878
case "(($ac_try" in
 
2879
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2880
  *) ac_try_echo=$ac_try;;
 
2881
esac
 
2882
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2883
$as_echo "$ac_try_echo") >&5
 
2884
  (eval "$ac_compiler --version >&5") 2>&5
 
2885
  ac_status=$?
 
2886
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2887
  (exit $ac_status); }
 
2888
{ (ac_try="$ac_compiler -v >&5"
 
2889
case "(($ac_try" in
 
2890
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2891
  *) ac_try_echo=$ac_try;;
 
2892
esac
 
2893
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2894
$as_echo "$ac_try_echo") >&5
 
2895
  (eval "$ac_compiler -v >&5") 2>&5
 
2896
  ac_status=$?
 
2897
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2898
  (exit $ac_status); }
 
2899
{ (ac_try="$ac_compiler -V >&5"
 
2900
case "(($ac_try" in
 
2901
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2902
  *) ac_try_echo=$ac_try;;
 
2903
esac
 
2904
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2905
$as_echo "$ac_try_echo") >&5
 
2906
  (eval "$ac_compiler -V >&5") 2>&5
 
2907
  ac_status=$?
 
2908
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2299
2909
  (exit $ac_status); }
2300
2910
 
2301
2911
cat >conftest.$ac_ext <<_ACEOF
2314
2924
}
2315
2925
_ACEOF
2316
2926
ac_clean_files_save=$ac_clean_files
2317
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
2927
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2318
2928
# Try to create an executable without -o first, disregard a.out.
2319
2929
# It will help us diagnose broken compilers, and finding out an intuition
2320
2930
# of exeext.
2321
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2322
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2323
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2324
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2325
 
  (eval $ac_link_default) 2>&5
 
2931
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2932
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
2933
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
2934
 
 
2935
# The possible output files:
 
2936
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
2937
 
 
2938
ac_rmfiles=
 
2939
for ac_file in $ac_files
 
2940
do
 
2941
  case $ac_file in
 
2942
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
2943
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
2944
  esac
 
2945
done
 
2946
rm -f $ac_rmfiles
 
2947
 
 
2948
if { (ac_try="$ac_link_default"
 
2949
case "(($ac_try" in
 
2950
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2951
  *) ac_try_echo=$ac_try;;
 
2952
esac
 
2953
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2954
$as_echo "$ac_try_echo") >&5
 
2955
  (eval "$ac_link_default") 2>&5
2326
2956
  ac_status=$?
2327
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2957
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328
2958
  (exit $ac_status); }; then
2329
 
  # Find the output, starting from the most likely.  This scheme is
2330
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2331
 
# resort.
2332
 
 
2333
 
# Be careful to initialize this variable, since it used to be cached.
2334
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2335
 
ac_cv_exeext=
2336
 
# b.out is created by i960 compilers.
2337
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
2959
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
2960
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
2961
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
2962
# so that the user can short-circuit this test for compilers unknown to
 
2963
# Autoconf.
 
2964
for ac_file in $ac_files ''
2338
2965
do
2339
2966
  test -f "$ac_file" || continue
2340
2967
  case $ac_file in
2341
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2342
 
        ;;
2343
 
    conftest.$ac_ext )
2344
 
        # This is the source file.
 
2968
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2345
2969
        ;;
2346
2970
    [ab].out )
2347
2971
        # We found the default executable, but exeext='' is most
2348
2972
        # certainly right.
2349
2973
        break;;
2350
2974
    *.* )
2351
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2352
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2353
 
        # but it would be cool to find out if it's true.  Does anybody
2354
 
        # maintain Libtool? --akim.
2355
 
        export ac_cv_exeext
 
2975
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
2976
        then :; else
 
2977
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2978
        fi
 
2979
        # We set ac_cv_exeext here because the later test for it is not
 
2980
        # safe: cross compilers may not add the suffix if given an `-o'
 
2981
        # argument, so we may need to know it at that point already.
 
2982
        # Even if this section looks crufty: it has the advantage of
 
2983
        # actually working.
2356
2984
        break;;
2357
2985
    * )
2358
2986
        break;;
2359
2987
  esac
2360
2988
done
 
2989
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
2990
 
2361
2991
else
2362
 
  echo "$as_me: failed program was:" >&5
 
2992
  ac_file=''
 
2993
fi
 
2994
 
 
2995
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
2996
$as_echo "$ac_file" >&6; }
 
2997
if test -z "$ac_file"; then
 
2998
  $as_echo "$as_me: failed program was:" >&5
2363
2999
sed 's/^/| /' conftest.$ac_ext >&5
2364
3000
 
2365
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
3001
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3002
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3003
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2366
3004
See \`config.log' for more details." >&5
2367
 
echo "$as_me: error: C compiler cannot create executables
 
3005
$as_echo "$as_me: error: C compiler cannot create executables
2368
3006
See \`config.log' for more details." >&2;}
2369
 
   { (exit 77); exit 77; }; }
 
3007
   { (exit 77); exit 77; }; }; }
2370
3008
fi
2371
3009
 
2372
3010
ac_exeext=$ac_cv_exeext
2373
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2374
 
echo "${ECHO_T}$ac_file" >&6
2375
3011
 
2376
 
# Check the compiler produces executables we can run.  If not, either
 
3012
# Check that the compiler produces executables we can run.  If not, either
2377
3013
# the compiler is broken, or we cross compile.
2378
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2379
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
3014
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3015
$as_echo_n "checking whether the C compiler works... " >&6; }
2380
3016
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2381
3017
# If not cross compiling, check that we can run a simple program.
2382
3018
if test "$cross_compiling" != yes; then
2383
3019
  if { ac_try='./$ac_file'
2384
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2385
 
  (eval $ac_try) 2>&5
 
3020
  { (case "(($ac_try" in
 
3021
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3022
  *) ac_try_echo=$ac_try;;
 
3023
esac
 
3024
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3025
$as_echo "$ac_try_echo") >&5
 
3026
  (eval "$ac_try") 2>&5
2386
3027
  ac_status=$?
2387
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3028
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388
3029
  (exit $ac_status); }; }; then
2389
3030
    cross_compiling=no
2390
3031
  else
2391
3032
    if test "$cross_compiling" = maybe; then
2392
3033
        cross_compiling=yes
2393
3034
    else
2394
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
3035
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3036
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3037
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2395
3038
If you meant to cross compile, use \`--host'.
2396
3039
See \`config.log' for more details." >&5
2397
 
echo "$as_me: error: cannot run C compiled programs.
 
3040
$as_echo "$as_me: error: cannot run C compiled programs.
2398
3041
If you meant to cross compile, use \`--host'.
2399
3042
See \`config.log' for more details." >&2;}
2400
 
   { (exit 1); exit 1; }; }
 
3043
   { (exit 1); exit 1; }; }; }
2401
3044
    fi
2402
3045
  fi
2403
3046
fi
2404
 
echo "$as_me:$LINENO: result: yes" >&5
2405
 
echo "${ECHO_T}yes" >&6
 
3047
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
3048
$as_echo "yes" >&6; }
2406
3049
 
2407
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
3050
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2408
3051
ac_clean_files=$ac_clean_files_save
2409
 
# Check the compiler produces executables we can run.  If not, either
 
3052
# Check that the compiler produces executables we can run.  If not, either
2410
3053
# the compiler is broken, or we cross compile.
2411
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2412
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2413
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2414
 
echo "${ECHO_T}$cross_compiling" >&6
 
3054
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3055
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3056
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3057
$as_echo "$cross_compiling" >&6; }
2415
3058
 
2416
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2417
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2418
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2419
 
  (eval $ac_link) 2>&5
 
3059
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3060
$as_echo_n "checking for suffix of executables... " >&6; }
 
3061
if { (ac_try="$ac_link"
 
3062
case "(($ac_try" in
 
3063
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3064
  *) ac_try_echo=$ac_try;;
 
3065
esac
 
3066
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3067
$as_echo "$ac_try_echo") >&5
 
3068
  (eval "$ac_link") 2>&5
2420
3069
  ac_status=$?
2421
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3070
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2422
3071
  (exit $ac_status); }; then
2423
3072
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2424
3073
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2427
3076
for ac_file in conftest.exe conftest conftest.*; do
2428
3077
  test -f "$ac_file" || continue
2429
3078
  case $ac_file in
2430
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
3079
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2431
3080
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2432
 
          export ac_cv_exeext
2433
3081
          break;;
2434
3082
    * ) break;;
2435
3083
  esac
2436
3084
done
2437
3085
else
2438
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
3086
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3087
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3088
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2439
3089
See \`config.log' for more details." >&5
2440
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
3090
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2441
3091
See \`config.log' for more details." >&2;}
2442
 
   { (exit 1); exit 1; }; }
 
3092
   { (exit 1); exit 1; }; }; }
2443
3093
fi
2444
3094
 
2445
3095
rm -f conftest$ac_cv_exeext
2446
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2447
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
3096
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3097
$as_echo "$ac_cv_exeext" >&6; }
2448
3098
 
2449
3099
rm -f conftest.$ac_ext
2450
3100
EXEEXT=$ac_cv_exeext
2451
3101
ac_exeext=$EXEEXT
2452
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2453
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
3102
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3103
$as_echo_n "checking for suffix of object files... " >&6; }
2454
3104
if test "${ac_cv_objext+set}" = set; then
2455
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3105
  $as_echo_n "(cached) " >&6
2456
3106
else
2457
3107
  cat >conftest.$ac_ext <<_ACEOF
2458
3108
/* confdefs.h.  */
2470
3120
}
2471
3121
_ACEOF
2472
3122
rm -f conftest.o conftest.obj
2473
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2474
 
  (eval $ac_compile) 2>&5
 
3123
if { (ac_try="$ac_compile"
 
3124
case "(($ac_try" in
 
3125
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3126
  *) ac_try_echo=$ac_try;;
 
3127
esac
 
3128
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3129
$as_echo "$ac_try_echo") >&5
 
3130
  (eval "$ac_compile") 2>&5
2475
3131
  ac_status=$?
2476
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3132
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2477
3133
  (exit $ac_status); }; then
2478
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
3134
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3135
  test -f "$ac_file" || continue;
2479
3136
  case $ac_file in
2480
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
3137
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2481
3138
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2482
3139
       break;;
2483
3140
  esac
2484
3141
done
2485
3142
else
2486
 
  echo "$as_me: failed program was:" >&5
 
3143
  $as_echo "$as_me: failed program was:" >&5
2487
3144
sed 's/^/| /' conftest.$ac_ext >&5
2488
3145
 
2489
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
3146
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3147
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3148
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2490
3149
See \`config.log' for more details." >&5
2491
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
3150
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2492
3151
See \`config.log' for more details." >&2;}
2493
 
   { (exit 1); exit 1; }; }
 
3152
   { (exit 1); exit 1; }; }; }
2494
3153
fi
2495
3154
 
2496
3155
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2497
3156
fi
2498
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2499
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
3157
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3158
$as_echo "$ac_cv_objext" >&6; }
2500
3159
OBJEXT=$ac_cv_objext
2501
3160
ac_objext=$OBJEXT
2502
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2503
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
3161
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3162
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2504
3163
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2505
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3164
  $as_echo_n "(cached) " >&6
2506
3165
else
2507
3166
  cat >conftest.$ac_ext <<_ACEOF
2508
3167
/* confdefs.h.  */
2523
3182
}
2524
3183
_ACEOF
2525
3184
rm -f conftest.$ac_objext
2526
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2527
 
  (eval $ac_compile) 2>conftest.er1
 
3185
if { (ac_try="$ac_compile"
 
3186
case "(($ac_try" in
 
3187
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3188
  *) ac_try_echo=$ac_try;;
 
3189
esac
 
3190
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3191
$as_echo "$ac_try_echo") >&5
 
3192
  (eval "$ac_compile") 2>conftest.er1
2528
3193
  ac_status=$?
2529
3194
  grep -v '^ *+' conftest.er1 >conftest.err
2530
3195
  rm -f conftest.er1
2531
3196
  cat conftest.err >&5
2532
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533
 
  (exit $ac_status); } &&
2534
 
         { ac_try='test -z "$ac_c_werror_flag"
2535
 
                         || test ! -s conftest.err'
2536
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2537
 
  (eval $ac_try) 2>&5
2538
 
  ac_status=$?
2539
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540
 
  (exit $ac_status); }; } &&
2541
 
         { ac_try='test -s conftest.$ac_objext'
2542
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2543
 
  (eval $ac_try) 2>&5
2544
 
  ac_status=$?
2545
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546
 
  (exit $ac_status); }; }; then
 
3197
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3198
  (exit $ac_status); } && {
 
3199
         test -z "$ac_c_werror_flag" ||
 
3200
         test ! -s conftest.err
 
3201
       } && test -s conftest.$ac_objext; then
2547
3202
  ac_compiler_gnu=yes
2548
3203
else
2549
 
  echo "$as_me: failed program was:" >&5
 
3204
  $as_echo "$as_me: failed program was:" >&5
2550
3205
sed 's/^/| /' conftest.$ac_ext >&5
2551
3206
 
2552
 
ac_compiler_gnu=no
 
3207
        ac_compiler_gnu=no
2553
3208
fi
2554
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3209
 
 
3210
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2555
3211
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2556
3212
 
2557
3213
fi
2558
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2559
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2560
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
3214
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3215
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3216
if test $ac_compiler_gnu = yes; then
 
3217
  GCC=yes
 
3218
else
 
3219
  GCC=
 
3220
fi
2561
3221
ac_test_CFLAGS=${CFLAGS+set}
2562
3222
ac_save_CFLAGS=$CFLAGS
2563
 
CFLAGS="-g"
2564
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2565
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
3223
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3224
$as_echo_n "checking whether $CC accepts -g... " >&6; }
2566
3225
if test "${ac_cv_prog_cc_g+set}" = set; then
2567
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2568
 
else
2569
 
  cat >conftest.$ac_ext <<_ACEOF
2570
 
/* confdefs.h.  */
2571
 
_ACEOF
2572
 
cat confdefs.h >>conftest.$ac_ext
2573
 
cat >>conftest.$ac_ext <<_ACEOF
2574
 
/* end confdefs.h.  */
2575
 
 
2576
 
int
2577
 
main ()
2578
 
{
2579
 
 
2580
 
  ;
2581
 
  return 0;
2582
 
}
2583
 
_ACEOF
2584
 
rm -f conftest.$ac_objext
2585
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2586
 
  (eval $ac_compile) 2>conftest.er1
2587
 
  ac_status=$?
2588
 
  grep -v '^ *+' conftest.er1 >conftest.err
2589
 
  rm -f conftest.er1
2590
 
  cat conftest.err >&5
2591
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592
 
  (exit $ac_status); } &&
2593
 
         { ac_try='test -z "$ac_c_werror_flag"
2594
 
                         || test ! -s conftest.err'
2595
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2596
 
  (eval $ac_try) 2>&5
2597
 
  ac_status=$?
2598
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599
 
  (exit $ac_status); }; } &&
2600
 
         { ac_try='test -s conftest.$ac_objext'
2601
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2602
 
  (eval $ac_try) 2>&5
2603
 
  ac_status=$?
2604
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605
 
  (exit $ac_status); }; }; then
2606
 
  ac_cv_prog_cc_g=yes
2607
 
else
2608
 
  echo "$as_me: failed program was:" >&5
2609
 
sed 's/^/| /' conftest.$ac_ext >&5
2610
 
 
2611
 
ac_cv_prog_cc_g=no
2612
 
fi
2613
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2614
 
fi
2615
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2616
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
3226
  $as_echo_n "(cached) " >&6
 
3227
else
 
3228
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3229
   ac_c_werror_flag=yes
 
3230
   ac_cv_prog_cc_g=no
 
3231
   CFLAGS="-g"
 
3232
   cat >conftest.$ac_ext <<_ACEOF
 
3233
/* confdefs.h.  */
 
3234
_ACEOF
 
3235
cat confdefs.h >>conftest.$ac_ext
 
3236
cat >>conftest.$ac_ext <<_ACEOF
 
3237
/* end confdefs.h.  */
 
3238
 
 
3239
int
 
3240
main ()
 
3241
{
 
3242
 
 
3243
  ;
 
3244
  return 0;
 
3245
}
 
3246
_ACEOF
 
3247
rm -f conftest.$ac_objext
 
3248
if { (ac_try="$ac_compile"
 
3249
case "(($ac_try" in
 
3250
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3251
  *) ac_try_echo=$ac_try;;
 
3252
esac
 
3253
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3254
$as_echo "$ac_try_echo") >&5
 
3255
  (eval "$ac_compile") 2>conftest.er1
 
3256
  ac_status=$?
 
3257
  grep -v '^ *+' conftest.er1 >conftest.err
 
3258
  rm -f conftest.er1
 
3259
  cat conftest.err >&5
 
3260
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3261
  (exit $ac_status); } && {
 
3262
         test -z "$ac_c_werror_flag" ||
 
3263
         test ! -s conftest.err
 
3264
       } && test -s conftest.$ac_objext; then
 
3265
  ac_cv_prog_cc_g=yes
 
3266
else
 
3267
  $as_echo "$as_me: failed program was:" >&5
 
3268
sed 's/^/| /' conftest.$ac_ext >&5
 
3269
 
 
3270
        CFLAGS=""
 
3271
      cat >conftest.$ac_ext <<_ACEOF
 
3272
/* confdefs.h.  */
 
3273
_ACEOF
 
3274
cat confdefs.h >>conftest.$ac_ext
 
3275
cat >>conftest.$ac_ext <<_ACEOF
 
3276
/* end confdefs.h.  */
 
3277
 
 
3278
int
 
3279
main ()
 
3280
{
 
3281
 
 
3282
  ;
 
3283
  return 0;
 
3284
}
 
3285
_ACEOF
 
3286
rm -f conftest.$ac_objext
 
3287
if { (ac_try="$ac_compile"
 
3288
case "(($ac_try" in
 
3289
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3290
  *) ac_try_echo=$ac_try;;
 
3291
esac
 
3292
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3293
$as_echo "$ac_try_echo") >&5
 
3294
  (eval "$ac_compile") 2>conftest.er1
 
3295
  ac_status=$?
 
3296
  grep -v '^ *+' conftest.er1 >conftest.err
 
3297
  rm -f conftest.er1
 
3298
  cat conftest.err >&5
 
3299
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3300
  (exit $ac_status); } && {
 
3301
         test -z "$ac_c_werror_flag" ||
 
3302
         test ! -s conftest.err
 
3303
       } && test -s conftest.$ac_objext; then
 
3304
  :
 
3305
else
 
3306
  $as_echo "$as_me: failed program was:" >&5
 
3307
sed 's/^/| /' conftest.$ac_ext >&5
 
3308
 
 
3309
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3310
         CFLAGS="-g"
 
3311
         cat >conftest.$ac_ext <<_ACEOF
 
3312
/* confdefs.h.  */
 
3313
_ACEOF
 
3314
cat confdefs.h >>conftest.$ac_ext
 
3315
cat >>conftest.$ac_ext <<_ACEOF
 
3316
/* end confdefs.h.  */
 
3317
 
 
3318
int
 
3319
main ()
 
3320
{
 
3321
 
 
3322
  ;
 
3323
  return 0;
 
3324
}
 
3325
_ACEOF
 
3326
rm -f conftest.$ac_objext
 
3327
if { (ac_try="$ac_compile"
 
3328
case "(($ac_try" in
 
3329
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3330
  *) ac_try_echo=$ac_try;;
 
3331
esac
 
3332
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3333
$as_echo "$ac_try_echo") >&5
 
3334
  (eval "$ac_compile") 2>conftest.er1
 
3335
  ac_status=$?
 
3336
  grep -v '^ *+' conftest.er1 >conftest.err
 
3337
  rm -f conftest.er1
 
3338
  cat conftest.err >&5
 
3339
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3340
  (exit $ac_status); } && {
 
3341
         test -z "$ac_c_werror_flag" ||
 
3342
         test ! -s conftest.err
 
3343
       } && test -s conftest.$ac_objext; then
 
3344
  ac_cv_prog_cc_g=yes
 
3345
else
 
3346
  $as_echo "$as_me: failed program was:" >&5
 
3347
sed 's/^/| /' conftest.$ac_ext >&5
 
3348
 
 
3349
 
 
3350
fi
 
3351
 
 
3352
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3353
fi
 
3354
 
 
3355
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3356
fi
 
3357
 
 
3358
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3359
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3360
fi
 
3361
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3362
$as_echo "$ac_cv_prog_cc_g" >&6; }
2617
3363
if test "$ac_test_CFLAGS" = set; then
2618
3364
  CFLAGS=$ac_save_CFLAGS
2619
3365
elif test $ac_cv_prog_cc_g = yes; then
2629
3375
    CFLAGS=
2630
3376
  fi
2631
3377
fi
2632
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2633
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2634
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2635
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3378
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3379
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
3380
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3381
  $as_echo_n "(cached) " >&6
2636
3382
else
2637
 
  ac_cv_prog_cc_stdc=no
 
3383
  ac_cv_prog_cc_c89=no
2638
3384
ac_save_CC=$CC
2639
3385
cat >conftest.$ac_ext <<_ACEOF
2640
3386
/* confdefs.h.  */
2668
3414
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2669
3415
   function prototypes and stuff, but not '\xHH' hex character constants.
2670
3416
   These don't provoke an error unfortunately, instead are silently treated
2671
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
3417
   as 'x'.  The following induces an error, until -std is added to get
2672
3418
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2673
3419
   array size at least.  It's necessary to write '\x00'==0 to get something
2674
 
   that's true only with -std1.  */
 
3420
   that's true only with -std.  */
2675
3421
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2676
3422
 
 
3423
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3424
   inside strings and character constants.  */
 
3425
#define FOO(x) 'x'
 
3426
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3427
 
2677
3428
int test (int i, double x);
2678
3429
struct s1 {int (*f) (int a);};
2679
3430
struct s2 {int (*f) (double a);};
2688
3439
  return 0;
2689
3440
}
2690
3441
_ACEOF
2691
 
# Don't try gcc -ansi; that turns off useful extensions and
2692
 
# breaks some systems' header files.
2693
 
# AIX                   -qlanglvl=ansi
2694
 
# Ultrix and OSF/1      -std1
2695
 
# HP-UX 10.20 and later -Ae
2696
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2697
 
# SVR4                  -Xc -D__EXTENSIONS__
2698
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3442
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3443
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2699
3444
do
2700
3445
  CC="$ac_save_CC $ac_arg"
2701
3446
  rm -f conftest.$ac_objext
2702
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2703
 
  (eval $ac_compile) 2>conftest.er1
 
3447
if { (ac_try="$ac_compile"
 
3448
case "(($ac_try" in
 
3449
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3450
  *) ac_try_echo=$ac_try;;
 
3451
esac
 
3452
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3453
$as_echo "$ac_try_echo") >&5
 
3454
  (eval "$ac_compile") 2>conftest.er1
2704
3455
  ac_status=$?
2705
3456
  grep -v '^ *+' conftest.er1 >conftest.err
2706
3457
  rm -f conftest.er1
2707
3458
  cat conftest.err >&5
2708
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709
 
  (exit $ac_status); } &&
2710
 
         { ac_try='test -z "$ac_c_werror_flag"
2711
 
                         || test ! -s conftest.err'
2712
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2713
 
  (eval $ac_try) 2>&5
2714
 
  ac_status=$?
2715
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2716
 
  (exit $ac_status); }; } &&
2717
 
         { ac_try='test -s conftest.$ac_objext'
2718
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2719
 
  (eval $ac_try) 2>&5
2720
 
  ac_status=$?
2721
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722
 
  (exit $ac_status); }; }; then
2723
 
  ac_cv_prog_cc_stdc=$ac_arg
2724
 
break
 
3459
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3460
  (exit $ac_status); } && {
 
3461
         test -z "$ac_c_werror_flag" ||
 
3462
         test ! -s conftest.err
 
3463
       } && test -s conftest.$ac_objext; then
 
3464
  ac_cv_prog_cc_c89=$ac_arg
2725
3465
else
2726
 
  echo "$as_me: failed program was:" >&5
 
3466
  $as_echo "$as_me: failed program was:" >&5
2727
3467
sed 's/^/| /' conftest.$ac_ext >&5
2728
3468
 
 
3469
 
2729
3470
fi
2730
 
rm -f conftest.err conftest.$ac_objext
 
3471
 
 
3472
rm -f core conftest.err conftest.$ac_objext
 
3473
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2731
3474
done
2732
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
3475
rm -f conftest.$ac_ext
2733
3476
CC=$ac_save_CC
2734
3477
 
2735
3478
fi
2736
 
 
2737
 
case "x$ac_cv_prog_cc_stdc" in
2738
 
  x|xno)
2739
 
    echo "$as_me:$LINENO: result: none needed" >&5
2740
 
echo "${ECHO_T}none needed" >&6 ;;
 
3479
# AC_CACHE_VAL
 
3480
case "x$ac_cv_prog_cc_c89" in
 
3481
  x)
 
3482
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3483
$as_echo "none needed" >&6; } ;;
 
3484
  xno)
 
3485
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3486
$as_echo "unsupported" >&6; } ;;
2741
3487
  *)
2742
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2743
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2744
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3488
    CC="$CC $ac_cv_prog_cc_c89"
 
3489
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3490
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2745
3491
esac
2746
3492
 
2747
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2748
 
# in C++ we need to declare it.  In case someone uses the same compiler
2749
 
# for both compiling C and C++ we need to have the C++ compiler decide
2750
 
# the declaration of exit, since it's the most demanding environment.
2751
 
cat >conftest.$ac_ext <<_ACEOF
2752
 
#ifndef __cplusplus
2753
 
  choke me
2754
 
#endif
2755
 
_ACEOF
2756
 
rm -f conftest.$ac_objext
2757
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2758
 
  (eval $ac_compile) 2>conftest.er1
2759
 
  ac_status=$?
2760
 
  grep -v '^ *+' conftest.er1 >conftest.err
2761
 
  rm -f conftest.er1
2762
 
  cat conftest.err >&5
2763
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764
 
  (exit $ac_status); } &&
2765
 
         { ac_try='test -z "$ac_c_werror_flag"
2766
 
                         || test ! -s conftest.err'
2767
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2768
 
  (eval $ac_try) 2>&5
2769
 
  ac_status=$?
2770
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771
 
  (exit $ac_status); }; } &&
2772
 
         { ac_try='test -s conftest.$ac_objext'
2773
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2774
 
  (eval $ac_try) 2>&5
2775
 
  ac_status=$?
2776
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777
 
  (exit $ac_status); }; }; then
2778
 
  for ac_declaration in \
2779
 
   '' \
2780
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2781
 
   'extern "C" void std::exit (int); using std::exit;' \
2782
 
   'extern "C" void exit (int) throw ();' \
2783
 
   'extern "C" void exit (int);' \
2784
 
   'void exit (int);'
2785
 
do
2786
 
  cat >conftest.$ac_ext <<_ACEOF
2787
 
/* confdefs.h.  */
2788
 
_ACEOF
2789
 
cat confdefs.h >>conftest.$ac_ext
2790
 
cat >>conftest.$ac_ext <<_ACEOF
2791
 
/* end confdefs.h.  */
2792
 
$ac_declaration
2793
 
#include <stdlib.h>
2794
 
int
2795
 
main ()
2796
 
{
2797
 
exit (42);
2798
 
  ;
2799
 
  return 0;
2800
 
}
2801
 
_ACEOF
2802
 
rm -f conftest.$ac_objext
2803
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2804
 
  (eval $ac_compile) 2>conftest.er1
2805
 
  ac_status=$?
2806
 
  grep -v '^ *+' conftest.er1 >conftest.err
2807
 
  rm -f conftest.er1
2808
 
  cat conftest.err >&5
2809
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810
 
  (exit $ac_status); } &&
2811
 
         { ac_try='test -z "$ac_c_werror_flag"
2812
 
                         || test ! -s conftest.err'
2813
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2814
 
  (eval $ac_try) 2>&5
2815
 
  ac_status=$?
2816
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2817
 
  (exit $ac_status); }; } &&
2818
 
         { ac_try='test -s conftest.$ac_objext'
2819
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2820
 
  (eval $ac_try) 2>&5
2821
 
  ac_status=$?
2822
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823
 
  (exit $ac_status); }; }; then
2824
 
  :
2825
 
else
2826
 
  echo "$as_me: failed program was:" >&5
2827
 
sed 's/^/| /' conftest.$ac_ext >&5
2828
 
 
2829
 
continue
2830
 
fi
2831
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2832
 
  cat >conftest.$ac_ext <<_ACEOF
2833
 
/* confdefs.h.  */
2834
 
_ACEOF
2835
 
cat confdefs.h >>conftest.$ac_ext
2836
 
cat >>conftest.$ac_ext <<_ACEOF
2837
 
/* end confdefs.h.  */
2838
 
$ac_declaration
2839
 
int
2840
 
main ()
2841
 
{
2842
 
exit (42);
2843
 
  ;
2844
 
  return 0;
2845
 
}
2846
 
_ACEOF
2847
 
rm -f conftest.$ac_objext
2848
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2849
 
  (eval $ac_compile) 2>conftest.er1
2850
 
  ac_status=$?
2851
 
  grep -v '^ *+' conftest.er1 >conftest.err
2852
 
  rm -f conftest.er1
2853
 
  cat conftest.err >&5
2854
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2855
 
  (exit $ac_status); } &&
2856
 
         { ac_try='test -z "$ac_c_werror_flag"
2857
 
                         || test ! -s conftest.err'
2858
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2859
 
  (eval $ac_try) 2>&5
2860
 
  ac_status=$?
2861
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2862
 
  (exit $ac_status); }; } &&
2863
 
         { ac_try='test -s conftest.$ac_objext'
2864
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2865
 
  (eval $ac_try) 2>&5
2866
 
  ac_status=$?
2867
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868
 
  (exit $ac_status); }; }; then
2869
 
  break
2870
 
else
2871
 
  echo "$as_me: failed program was:" >&5
2872
 
sed 's/^/| /' conftest.$ac_ext >&5
2873
 
 
2874
 
fi
2875
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2876
 
done
2877
 
rm -f conftest*
2878
 
if test -n "$ac_declaration"; then
2879
 
  echo '#ifdef __cplusplus' >>confdefs.h
2880
 
  echo $ac_declaration      >>confdefs.h
2881
 
  echo '#endif'             >>confdefs.h
2882
 
fi
2883
 
 
2884
 
else
2885
 
  echo "$as_me: failed program was:" >&5
2886
 
sed 's/^/| /' conftest.$ac_ext >&5
2887
 
 
2888
 
fi
2889
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3493
 
2890
3494
ac_ext=c
2891
3495
ac_cpp='$CPP $CPPFLAGS'
2892
3496
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2894
3498
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2895
3499
DEPDIR="${am__leading_dot}deps"
2896
3500
 
2897
 
          ac_config_commands="$ac_config_commands depfiles"
 
3501
ac_config_commands="$ac_config_commands depfiles"
2898
3502
 
2899
3503
 
2900
3504
am_make=${MAKE-make}
2904
3508
.PHONY: am__doit
2905
3509
END
2906
3510
# If we don't find an include directive, just comment out the code.
2907
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2908
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
3511
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3512
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2909
3513
am__include="#"
2910
3514
am__quote=
2911
3515
_am_result=none
2932
3536
fi
2933
3537
 
2934
3538
 
2935
 
echo "$as_me:$LINENO: result: $_am_result" >&5
2936
 
echo "${ECHO_T}$_am_result" >&6
 
3539
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3540
$as_echo "$_am_result" >&6; }
2937
3541
rm -f confinc confmf
2938
3542
 
2939
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
3543
# Check whether --enable-dependency-tracking was given.
2940
3544
if test "${enable_dependency_tracking+set}" = set; then
2941
 
  enableval="$enable_dependency_tracking"
 
3545
  enableval=$enable_dependency_tracking;
 
3546
fi
2942
3547
 
2943
 
fi;
2944
3548
if test "x$enable_dependency_tracking" != xno; then
2945
3549
  am_depcomp="$ac_aux_dir/depcomp"
2946
3550
  AMDEPBACKSLASH='\'
2947
3551
fi
2948
 
 
2949
 
 
2950
 
if test "x$enable_dependency_tracking" != xno; then
 
3552
 if test "x$enable_dependency_tracking" != xno; then
2951
3553
  AMDEP_TRUE=
2952
3554
  AMDEP_FALSE='#'
2953
3555
else
2957
3559
 
2958
3560
 
2959
3561
 
2960
 
 
2961
3562
depcc="$CC"   am_compiler_list=
2962
3563
 
2963
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2964
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
3564
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3565
$as_echo_n "checking dependency style of $depcc... " >&6; }
2965
3566
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2966
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3567
  $as_echo_n "(cached) " >&6
2967
3568
else
2968
3569
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2969
3570
  # We make a subdir and do the tests there.  Otherwise we can end up
3025
3626
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3026
3627
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3027
3628
         >/dev/null 2>conftest.err &&
 
3629
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3028
3630
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3029
3631
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3030
3632
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3050
3652
fi
3051
3653
 
3052
3654
fi
3053
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3054
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
3655
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3656
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3055
3657
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3056
3658
 
3057
 
 
3058
 
 
3059
 
if
 
3659
 if
3060
3660
  test "x$enable_dependency_tracking" != xno \
3061
3661
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3062
3662
  am__fastdepCC_TRUE=
3067
3667
fi
3068
3668
 
3069
3669
 
3070
 
ac_ext=cc
 
3670
ac_ext=cpp
3071
3671
ac_cpp='$CXXCPP $CPPFLAGS'
3072
3672
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3073
3673
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3074
3674
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3075
 
if test -n "$ac_tool_prefix"; then
3076
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
3675
if test -z "$CXX"; then
 
3676
  if test -n "$CCC"; then
 
3677
    CXX=$CCC
 
3678
  else
 
3679
    if test -n "$ac_tool_prefix"; then
 
3680
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3077
3681
  do
3078
3682
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3079
3683
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3080
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3081
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3684
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3685
$as_echo_n "checking for $ac_word... " >&6; }
3082
3686
if test "${ac_cv_prog_CXX+set}" = set; then
3083
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3687
  $as_echo_n "(cached) " >&6
3084
3688
else
3085
3689
  if test -n "$CXX"; then
3086
3690
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
3091
3695
  IFS=$as_save_IFS
3092
3696
  test -z "$as_dir" && as_dir=.
3093
3697
  for ac_exec_ext in '' $ac_executable_extensions; do
3094
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3698
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3095
3699
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3096
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3700
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3097
3701
    break 2
3098
3702
  fi
3099
3703
done
3100
3704
done
 
3705
IFS=$as_save_IFS
3101
3706
 
3102
3707
fi
3103
3708
fi
3104
3709
CXX=$ac_cv_prog_CXX
3105
3710
if test -n "$CXX"; then
3106
 
  echo "$as_me:$LINENO: result: $CXX" >&5
3107
 
echo "${ECHO_T}$CXX" >&6
 
3711
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
 
3712
$as_echo "$CXX" >&6; }
3108
3713
else
3109
 
  echo "$as_me:$LINENO: result: no" >&5
3110
 
echo "${ECHO_T}no" >&6
 
3714
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3715
$as_echo "no" >&6; }
3111
3716
fi
3112
3717
 
 
3718
 
3113
3719
    test -n "$CXX" && break
3114
3720
  done
3115
3721
fi
3116
3722
if test -z "$CXX"; then
3117
3723
  ac_ct_CXX=$CXX
3118
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
3724
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3119
3725
do
3120
3726
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3121
3727
set dummy $ac_prog; ac_word=$2
3122
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3123
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3728
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3729
$as_echo_n "checking for $ac_word... " >&6; }
3124
3730
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3125
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3731
  $as_echo_n "(cached) " >&6
3126
3732
else
3127
3733
  if test -n "$ac_ct_CXX"; then
3128
3734
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3133
3739
  IFS=$as_save_IFS
3134
3740
  test -z "$as_dir" && as_dir=.
3135
3741
  for ac_exec_ext in '' $ac_executable_extensions; do
3136
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3742
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3137
3743
    ac_cv_prog_ac_ct_CXX="$ac_prog"
3138
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3744
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3139
3745
    break 2
3140
3746
  fi
3141
3747
done
3142
3748
done
 
3749
IFS=$as_save_IFS
3143
3750
 
3144
3751
fi
3145
3752
fi
3146
3753
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3147
3754
if test -n "$ac_ct_CXX"; then
3148
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3149
 
echo "${ECHO_T}$ac_ct_CXX" >&6
 
3755
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
3756
$as_echo "$ac_ct_CXX" >&6; }
3150
3757
else
3151
 
  echo "$as_me:$LINENO: result: no" >&5
3152
 
echo "${ECHO_T}no" >&6
 
3758
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3759
$as_echo "no" >&6; }
3153
3760
fi
3154
3761
 
 
3762
 
3155
3763
  test -n "$ac_ct_CXX" && break
3156
3764
done
3157
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3158
 
 
3159
 
  CXX=$ac_ct_CXX
3160
 
fi
3161
 
 
3162
 
 
 
3765
 
 
3766
  if test "x$ac_ct_CXX" = x; then
 
3767
    CXX="g++"
 
3768
  else
 
3769
    case $cross_compiling:$ac_tool_warned in
 
3770
yes:)
 
3771
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3772
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3773
ac_tool_warned=yes ;;
 
3774
esac
 
3775
    CXX=$ac_ct_CXX
 
3776
  fi
 
3777
fi
 
3778
 
 
3779
  fi
 
3780
fi
3163
3781
# Provide some information about the compiler.
3164
 
echo "$as_me:$LINENO:" \
3165
 
     "checking for C++ compiler version" >&5
3166
 
ac_compiler=`set X $ac_compile; echo $2`
3167
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3168
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
3169
 
  ac_status=$?
3170
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3171
 
  (exit $ac_status); }
3172
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3173
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
3174
 
  ac_status=$?
3175
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176
 
  (exit $ac_status); }
3177
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3178
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
3179
 
  ac_status=$?
3180
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3782
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
 
3783
set X $ac_compile
 
3784
ac_compiler=$2
 
3785
{ (ac_try="$ac_compiler --version >&5"
 
3786
case "(($ac_try" in
 
3787
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3788
  *) ac_try_echo=$ac_try;;
 
3789
esac
 
3790
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3791
$as_echo "$ac_try_echo") >&5
 
3792
  (eval "$ac_compiler --version >&5") 2>&5
 
3793
  ac_status=$?
 
3794
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3795
  (exit $ac_status); }
 
3796
{ (ac_try="$ac_compiler -v >&5"
 
3797
case "(($ac_try" in
 
3798
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3799
  *) ac_try_echo=$ac_try;;
 
3800
esac
 
3801
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3802
$as_echo "$ac_try_echo") >&5
 
3803
  (eval "$ac_compiler -v >&5") 2>&5
 
3804
  ac_status=$?
 
3805
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3806
  (exit $ac_status); }
 
3807
{ (ac_try="$ac_compiler -V >&5"
 
3808
case "(($ac_try" in
 
3809
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3810
  *) ac_try_echo=$ac_try;;
 
3811
esac
 
3812
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3813
$as_echo "$ac_try_echo") >&5
 
3814
  (eval "$ac_compiler -V >&5") 2>&5
 
3815
  ac_status=$?
 
3816
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3181
3817
  (exit $ac_status); }
3182
3818
 
3183
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3184
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 
3819
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
3820
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3185
3821
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3186
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3822
  $as_echo_n "(cached) " >&6
3187
3823
else
3188
3824
  cat >conftest.$ac_ext <<_ACEOF
3189
3825
/* confdefs.h.  */
3204
3840
}
3205
3841
_ACEOF
3206
3842
rm -f conftest.$ac_objext
3207
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3208
 
  (eval $ac_compile) 2>conftest.er1
 
3843
if { (ac_try="$ac_compile"
 
3844
case "(($ac_try" in
 
3845
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3846
  *) ac_try_echo=$ac_try;;
 
3847
esac
 
3848
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3849
$as_echo "$ac_try_echo") >&5
 
3850
  (eval "$ac_compile") 2>conftest.er1
3209
3851
  ac_status=$?
3210
3852
  grep -v '^ *+' conftest.er1 >conftest.err
3211
3853
  rm -f conftest.er1
3212
3854
  cat conftest.err >&5
3213
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3214
 
  (exit $ac_status); } &&
3215
 
         { ac_try='test -z "$ac_cxx_werror_flag"
3216
 
                         || test ! -s conftest.err'
3217
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3218
 
  (eval $ac_try) 2>&5
3219
 
  ac_status=$?
3220
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3221
 
  (exit $ac_status); }; } &&
3222
 
         { ac_try='test -s conftest.$ac_objext'
3223
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3224
 
  (eval $ac_try) 2>&5
3225
 
  ac_status=$?
3226
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227
 
  (exit $ac_status); }; }; then
 
3855
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3856
  (exit $ac_status); } && {
 
3857
         test -z "$ac_cxx_werror_flag" ||
 
3858
         test ! -s conftest.err
 
3859
       } && test -s conftest.$ac_objext; then
3228
3860
  ac_compiler_gnu=yes
3229
3861
else
3230
 
  echo "$as_me: failed program was:" >&5
 
3862
  $as_echo "$as_me: failed program was:" >&5
3231
3863
sed 's/^/| /' conftest.$ac_ext >&5
3232
3864
 
3233
 
ac_compiler_gnu=no
 
3865
        ac_compiler_gnu=no
3234
3866
fi
3235
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3867
 
 
3868
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3236
3869
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3237
3870
 
3238
3871
fi
3239
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3240
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3241
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
 
3872
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
3873
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
3874
if test $ac_compiler_gnu = yes; then
 
3875
  GXX=yes
 
3876
else
 
3877
  GXX=
 
3878
fi
3242
3879
ac_test_CXXFLAGS=${CXXFLAGS+set}
3243
3880
ac_save_CXXFLAGS=$CXXFLAGS
3244
 
CXXFLAGS="-g"
3245
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3246
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 
3881
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
3882
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3247
3883
if test "${ac_cv_prog_cxx_g+set}" = set; then
3248
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3249
 
else
3250
 
  cat >conftest.$ac_ext <<_ACEOF
3251
 
/* confdefs.h.  */
3252
 
_ACEOF
3253
 
cat confdefs.h >>conftest.$ac_ext
3254
 
cat >>conftest.$ac_ext <<_ACEOF
3255
 
/* end confdefs.h.  */
3256
 
 
3257
 
int
3258
 
main ()
3259
 
{
3260
 
 
3261
 
  ;
3262
 
  return 0;
3263
 
}
3264
 
_ACEOF
3265
 
rm -f conftest.$ac_objext
3266
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3267
 
  (eval $ac_compile) 2>conftest.er1
3268
 
  ac_status=$?
3269
 
  grep -v '^ *+' conftest.er1 >conftest.err
3270
 
  rm -f conftest.er1
3271
 
  cat conftest.err >&5
3272
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273
 
  (exit $ac_status); } &&
3274
 
         { ac_try='test -z "$ac_cxx_werror_flag"
3275
 
                         || test ! -s conftest.err'
3276
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3277
 
  (eval $ac_try) 2>&5
3278
 
  ac_status=$?
3279
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3280
 
  (exit $ac_status); }; } &&
3281
 
         { ac_try='test -s conftest.$ac_objext'
3282
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3283
 
  (eval $ac_try) 2>&5
3284
 
  ac_status=$?
3285
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3286
 
  (exit $ac_status); }; }; then
3287
 
  ac_cv_prog_cxx_g=yes
3288
 
else
3289
 
  echo "$as_me: failed program was:" >&5
3290
 
sed 's/^/| /' conftest.$ac_ext >&5
3291
 
 
3292
 
ac_cv_prog_cxx_g=no
3293
 
fi
3294
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3295
 
fi
3296
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3297
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 
3884
  $as_echo_n "(cached) " >&6
 
3885
else
 
3886
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
3887
   ac_cxx_werror_flag=yes
 
3888
   ac_cv_prog_cxx_g=no
 
3889
   CXXFLAGS="-g"
 
3890
   cat >conftest.$ac_ext <<_ACEOF
 
3891
/* confdefs.h.  */
 
3892
_ACEOF
 
3893
cat confdefs.h >>conftest.$ac_ext
 
3894
cat >>conftest.$ac_ext <<_ACEOF
 
3895
/* end confdefs.h.  */
 
3896
 
 
3897
int
 
3898
main ()
 
3899
{
 
3900
 
 
3901
  ;
 
3902
  return 0;
 
3903
}
 
3904
_ACEOF
 
3905
rm -f conftest.$ac_objext
 
3906
if { (ac_try="$ac_compile"
 
3907
case "(($ac_try" in
 
3908
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3909
  *) ac_try_echo=$ac_try;;
 
3910
esac
 
3911
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3912
$as_echo "$ac_try_echo") >&5
 
3913
  (eval "$ac_compile") 2>conftest.er1
 
3914
  ac_status=$?
 
3915
  grep -v '^ *+' conftest.er1 >conftest.err
 
3916
  rm -f conftest.er1
 
3917
  cat conftest.err >&5
 
3918
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3919
  (exit $ac_status); } && {
 
3920
         test -z "$ac_cxx_werror_flag" ||
 
3921
         test ! -s conftest.err
 
3922
       } && test -s conftest.$ac_objext; then
 
3923
  ac_cv_prog_cxx_g=yes
 
3924
else
 
3925
  $as_echo "$as_me: failed program was:" >&5
 
3926
sed 's/^/| /' conftest.$ac_ext >&5
 
3927
 
 
3928
        CXXFLAGS=""
 
3929
      cat >conftest.$ac_ext <<_ACEOF
 
3930
/* confdefs.h.  */
 
3931
_ACEOF
 
3932
cat confdefs.h >>conftest.$ac_ext
 
3933
cat >>conftest.$ac_ext <<_ACEOF
 
3934
/* end confdefs.h.  */
 
3935
 
 
3936
int
 
3937
main ()
 
3938
{
 
3939
 
 
3940
  ;
 
3941
  return 0;
 
3942
}
 
3943
_ACEOF
 
3944
rm -f conftest.$ac_objext
 
3945
if { (ac_try="$ac_compile"
 
3946
case "(($ac_try" in
 
3947
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3948
  *) ac_try_echo=$ac_try;;
 
3949
esac
 
3950
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3951
$as_echo "$ac_try_echo") >&5
 
3952
  (eval "$ac_compile") 2>conftest.er1
 
3953
  ac_status=$?
 
3954
  grep -v '^ *+' conftest.er1 >conftest.err
 
3955
  rm -f conftest.er1
 
3956
  cat conftest.err >&5
 
3957
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3958
  (exit $ac_status); } && {
 
3959
         test -z "$ac_cxx_werror_flag" ||
 
3960
         test ! -s conftest.err
 
3961
       } && test -s conftest.$ac_objext; then
 
3962
  :
 
3963
else
 
3964
  $as_echo "$as_me: failed program was:" >&5
 
3965
sed 's/^/| /' conftest.$ac_ext >&5
 
3966
 
 
3967
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
3968
         CXXFLAGS="-g"
 
3969
         cat >conftest.$ac_ext <<_ACEOF
 
3970
/* confdefs.h.  */
 
3971
_ACEOF
 
3972
cat confdefs.h >>conftest.$ac_ext
 
3973
cat >>conftest.$ac_ext <<_ACEOF
 
3974
/* end confdefs.h.  */
 
3975
 
 
3976
int
 
3977
main ()
 
3978
{
 
3979
 
 
3980
  ;
 
3981
  return 0;
 
3982
}
 
3983
_ACEOF
 
3984
rm -f conftest.$ac_objext
 
3985
if { (ac_try="$ac_compile"
 
3986
case "(($ac_try" in
 
3987
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3988
  *) ac_try_echo=$ac_try;;
 
3989
esac
 
3990
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3991
$as_echo "$ac_try_echo") >&5
 
3992
  (eval "$ac_compile") 2>conftest.er1
 
3993
  ac_status=$?
 
3994
  grep -v '^ *+' conftest.er1 >conftest.err
 
3995
  rm -f conftest.er1
 
3996
  cat conftest.err >&5
 
3997
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3998
  (exit $ac_status); } && {
 
3999
         test -z "$ac_cxx_werror_flag" ||
 
4000
         test ! -s conftest.err
 
4001
       } && test -s conftest.$ac_objext; then
 
4002
  ac_cv_prog_cxx_g=yes
 
4003
else
 
4004
  $as_echo "$as_me: failed program was:" >&5
 
4005
sed 's/^/| /' conftest.$ac_ext >&5
 
4006
 
 
4007
 
 
4008
fi
 
4009
 
 
4010
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4011
fi
 
4012
 
 
4013
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4014
fi
 
4015
 
 
4016
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4017
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
4018
fi
 
4019
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
4020
$as_echo "$ac_cv_prog_cxx_g" >&6; }
3298
4021
if test "$ac_test_CXXFLAGS" = set; then
3299
4022
  CXXFLAGS=$ac_save_CXXFLAGS
3300
4023
elif test $ac_cv_prog_cxx_g = yes; then
3310
4033
    CXXFLAGS=
3311
4034
  fi
3312
4035
fi
3313
 
for ac_declaration in \
3314
 
   '' \
3315
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
3316
 
   'extern "C" void std::exit (int); using std::exit;' \
3317
 
   'extern "C" void exit (int) throw ();' \
3318
 
   'extern "C" void exit (int);' \
3319
 
   'void exit (int);'
3320
 
do
3321
 
  cat >conftest.$ac_ext <<_ACEOF
3322
 
/* confdefs.h.  */
3323
 
_ACEOF
3324
 
cat confdefs.h >>conftest.$ac_ext
3325
 
cat >>conftest.$ac_ext <<_ACEOF
3326
 
/* end confdefs.h.  */
3327
 
$ac_declaration
3328
 
#include <stdlib.h>
3329
 
int
3330
 
main ()
3331
 
{
3332
 
exit (42);
3333
 
  ;
3334
 
  return 0;
3335
 
}
3336
 
_ACEOF
3337
 
rm -f conftest.$ac_objext
3338
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3339
 
  (eval $ac_compile) 2>conftest.er1
3340
 
  ac_status=$?
3341
 
  grep -v '^ *+' conftest.er1 >conftest.err
3342
 
  rm -f conftest.er1
3343
 
  cat conftest.err >&5
3344
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345
 
  (exit $ac_status); } &&
3346
 
         { ac_try='test -z "$ac_cxx_werror_flag"
3347
 
                         || test ! -s conftest.err'
3348
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3349
 
  (eval $ac_try) 2>&5
3350
 
  ac_status=$?
3351
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352
 
  (exit $ac_status); }; } &&
3353
 
         { ac_try='test -s conftest.$ac_objext'
3354
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3355
 
  (eval $ac_try) 2>&5
3356
 
  ac_status=$?
3357
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3358
 
  (exit $ac_status); }; }; then
3359
 
  :
3360
 
else
3361
 
  echo "$as_me: failed program was:" >&5
3362
 
sed 's/^/| /' conftest.$ac_ext >&5
3363
 
 
3364
 
continue
3365
 
fi
3366
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3367
 
  cat >conftest.$ac_ext <<_ACEOF
3368
 
/* confdefs.h.  */
3369
 
_ACEOF
3370
 
cat confdefs.h >>conftest.$ac_ext
3371
 
cat >>conftest.$ac_ext <<_ACEOF
3372
 
/* end confdefs.h.  */
3373
 
$ac_declaration
3374
 
int
3375
 
main ()
3376
 
{
3377
 
exit (42);
3378
 
  ;
3379
 
  return 0;
3380
 
}
3381
 
_ACEOF
3382
 
rm -f conftest.$ac_objext
3383
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3384
 
  (eval $ac_compile) 2>conftest.er1
3385
 
  ac_status=$?
3386
 
  grep -v '^ *+' conftest.er1 >conftest.err
3387
 
  rm -f conftest.er1
3388
 
  cat conftest.err >&5
3389
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390
 
  (exit $ac_status); } &&
3391
 
         { ac_try='test -z "$ac_cxx_werror_flag"
3392
 
                         || test ! -s conftest.err'
3393
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3394
 
  (eval $ac_try) 2>&5
3395
 
  ac_status=$?
3396
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3397
 
  (exit $ac_status); }; } &&
3398
 
         { ac_try='test -s conftest.$ac_objext'
3399
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3400
 
  (eval $ac_try) 2>&5
3401
 
  ac_status=$?
3402
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3403
 
  (exit $ac_status); }; }; then
3404
 
  break
3405
 
else
3406
 
  echo "$as_me: failed program was:" >&5
3407
 
sed 's/^/| /' conftest.$ac_ext >&5
3408
 
 
3409
 
fi
3410
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3411
 
done
3412
 
rm -f conftest*
3413
 
if test -n "$ac_declaration"; then
3414
 
  echo '#ifdef __cplusplus' >>confdefs.h
3415
 
  echo $ac_declaration      >>confdefs.h
3416
 
  echo '#endif'             >>confdefs.h
3417
 
fi
3418
 
 
3419
4036
ac_ext=c
3420
4037
ac_cpp='$CPP $CPPFLAGS'
3421
4038
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3424
4041
 
3425
4042
depcc="$CXX"  am_compiler_list=
3426
4043
 
3427
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3428
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
4044
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
4045
$as_echo_n "checking dependency style of $depcc... " >&6; }
3429
4046
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3430
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4047
  $as_echo_n "(cached) " >&6
3431
4048
else
3432
4049
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3433
4050
  # We make a subdir and do the tests there.  Otherwise we can end up
3489
4106
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3490
4107
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3491
4108
         >/dev/null 2>conftest.err &&
 
4109
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3492
4110
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3493
4111
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3494
4112
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3514
4132
fi
3515
4133
 
3516
4134
fi
3517
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3518
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 
4135
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
4136
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3519
4137
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3520
4138
 
3521
 
 
3522
 
 
3523
 
if
 
4139
 if
3524
4140
  test "x$enable_dependency_tracking" != xno \
3525
4141
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3526
4142
  am__fastdepCXX_TRUE=
3531
4147
fi
3532
4148
 
3533
4149
 
3534
 
# Check whether --enable-shared or --disable-shared was given.
 
4150
# Check whether --enable-shared was given.
3535
4151
if test "${enable_shared+set}" = set; then
3536
 
  enableval="$enable_shared"
3537
 
  p=${PACKAGE-default}
 
4152
  enableval=$enable_shared; p=${PACKAGE-default}
3538
4153
    case $enableval in
3539
4154
    yes) enable_shared=yes ;;
3540
4155
    no) enable_shared=no ;;
3553
4168
    esac
3554
4169
else
3555
4170
  enable_shared=yes
3556
 
fi;
3557
 
 
3558
 
# Check whether --enable-static or --disable-static was given.
 
4171
fi
 
4172
 
 
4173
 
 
4174
# Check whether --enable-static was given.
3559
4175
if test "${enable_static+set}" = set; then
3560
 
  enableval="$enable_static"
3561
 
  p=${PACKAGE-default}
 
4176
  enableval=$enable_static; p=${PACKAGE-default}
3562
4177
    case $enableval in
3563
4178
    yes) enable_static=yes ;;
3564
4179
    no) enable_static=no ;;
3577
4192
    esac
3578
4193
else
3579
4194
  enable_static=yes
3580
 
fi;
3581
 
 
3582
 
# Check whether --enable-fast-install or --disable-fast-install was given.
 
4195
fi
 
4196
 
 
4197
 
 
4198
# Check whether --enable-fast-install was given.
3583
4199
if test "${enable_fast_install+set}" = set; then
3584
 
  enableval="$enable_fast_install"
3585
 
  p=${PACKAGE-default}
 
4200
  enableval=$enable_fast_install; p=${PACKAGE-default}
3586
4201
    case $enableval in
3587
4202
    yes) enable_fast_install=yes ;;
3588
4203
    no) enable_fast_install=no ;;
3601
4216
    esac
3602
4217
else
3603
4218
  enable_fast_install=yes
3604
 
fi;
 
4219
fi
 
4220
 
3605
4221
 
3606
4222
# Make sure we can run config.sub.
3607
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
3608
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3609
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
4223
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
4224
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
4225
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3610
4226
   { (exit 1); exit 1; }; }
3611
4227
 
3612
 
echo "$as_me:$LINENO: checking build system type" >&5
3613
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
4228
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
4229
$as_echo_n "checking build system type... " >&6; }
3614
4230
if test "${ac_cv_build+set}" = set; then
3615
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4231
  $as_echo_n "(cached) " >&6
3616
4232
else
3617
 
  ac_cv_build_alias=$build_alias
3618
 
test -z "$ac_cv_build_alias" &&
3619
 
  ac_cv_build_alias=`$ac_config_guess`
3620
 
test -z "$ac_cv_build_alias" &&
3621
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3622
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
4233
  ac_build_alias=$build_alias
 
4234
test "x$ac_build_alias" = x &&
 
4235
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
4236
test "x$ac_build_alias" = x &&
 
4237
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
4238
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3623
4239
   { (exit 1); exit 1; }; }
3624
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3625
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3626
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
4240
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
4241
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
4242
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3627
4243
   { (exit 1); exit 1; }; }
3628
4244
 
3629
4245
fi
3630
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3631
 
echo "${ECHO_T}$ac_cv_build" >&6
 
4246
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
4247
$as_echo "$ac_cv_build" >&6; }
 
4248
case $ac_cv_build in
 
4249
*-*-*) ;;
 
4250
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
4251
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
 
4252
   { (exit 1); exit 1; }; };;
 
4253
esac
3632
4254
build=$ac_cv_build
3633
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3634
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3635
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3636
 
 
3637
 
 
3638
 
echo "$as_me:$LINENO: checking host system type" >&5
3639
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
4255
ac_save_IFS=$IFS; IFS='-'
 
4256
set x $ac_cv_build
 
4257
shift
 
4258
build_cpu=$1
 
4259
build_vendor=$2
 
4260
shift; shift
 
4261
# Remember, the first character of IFS is used to create $*,
 
4262
# except with old shells:
 
4263
build_os=$*
 
4264
IFS=$ac_save_IFS
 
4265
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
4266
 
 
4267
 
 
4268
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
4269
$as_echo_n "checking host system type... " >&6; }
3640
4270
if test "${ac_cv_host+set}" = set; then
3641
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3642
 
else
3643
 
  ac_cv_host_alias=$host_alias
3644
 
test -z "$ac_cv_host_alias" &&
3645
 
  ac_cv_host_alias=$ac_cv_build_alias
3646
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3647
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3648
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
4271
  $as_echo_n "(cached) " >&6
 
4272
else
 
4273
  if test "x$host_alias" = x; then
 
4274
  ac_cv_host=$ac_cv_build
 
4275
else
 
4276
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
4277
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
4278
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3649
4279
   { (exit 1); exit 1; }; }
 
4280
fi
3650
4281
 
3651
4282
fi
3652
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3653
 
echo "${ECHO_T}$ac_cv_host" >&6
 
4283
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
4284
$as_echo "$ac_cv_host" >&6; }
 
4285
case $ac_cv_host in
 
4286
*-*-*) ;;
 
4287
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
4288
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
 
4289
   { (exit 1); exit 1; }; };;
 
4290
esac
3654
4291
host=$ac_cv_host
3655
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3656
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3657
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3658
 
 
3659
 
 
3660
 
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3661
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 
4292
ac_save_IFS=$IFS; IFS='-'
 
4293
set x $ac_cv_host
 
4294
shift
 
4295
host_cpu=$1
 
4296
host_vendor=$2
 
4297
shift; shift
 
4298
# Remember, the first character of IFS is used to create $*,
 
4299
# except with old shells:
 
4300
host_os=$*
 
4301
IFS=$ac_save_IFS
 
4302
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
4303
 
 
4304
 
 
4305
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
4306
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3662
4307
if test "${lt_cv_path_SED+set}" = set; then
3663
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4308
  $as_echo_n "(cached) " >&6
3664
4309
else
3665
4310
  # Loop through the user's path and test for sed and gsed.
3666
4311
# Then use that list of sed's as ones to test for truncation.
3671
4316
  test -z "$as_dir" && as_dir=.
3672
4317
  for lt_ac_prog in sed gsed; do
3673
4318
    for ac_exec_ext in '' $ac_executable_extensions; do
3674
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
 
4319
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
3675
4320
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3676
4321
      fi
3677
4322
    done
3678
4323
  done
3679
4324
done
 
4325
IFS=$as_save_IFS
3680
4326
lt_ac_max=0
3681
4327
lt_ac_count=0
3682
4328
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
3711
4357
fi
3712
4358
 
3713
4359
SED=$lt_cv_path_SED
3714
 
echo "$as_me:$LINENO: result: $SED" >&5
3715
 
echo "${ECHO_T}$SED" >&6
3716
 
 
3717
 
echo "$as_me:$LINENO: checking for egrep" >&5
3718
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3719
 
if test "${ac_cv_prog_egrep+set}" = set; then
3720
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3721
 
else
3722
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3723
 
    then ac_cv_prog_egrep='grep -E'
3724
 
    else ac_cv_prog_egrep='egrep'
3725
 
    fi
3726
 
fi
3727
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3728
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3729
 
 EGREP=$ac_cv_prog_egrep
3730
 
 
3731
 
 
3732
 
 
3733
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
4360
 
 
4361
{ $as_echo "$as_me:$LINENO: result: $SED" >&5
 
4362
$as_echo "$SED" >&6; }
 
4363
 
 
4364
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4365
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
4366
if test "${ac_cv_path_GREP+set}" = set; then
 
4367
  $as_echo_n "(cached) " >&6
 
4368
else
 
4369
  if test -z "$GREP"; then
 
4370
  ac_path_GREP_found=false
 
4371
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4372
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4373
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4374
do
 
4375
  IFS=$as_save_IFS
 
4376
  test -z "$as_dir" && as_dir=.
 
4377
  for ac_prog in grep ggrep; do
 
4378
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4379
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4380
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4381
# Check for GNU ac_path_GREP and select it if it is found.
 
4382
  # Check for GNU $ac_path_GREP
 
4383
case `"$ac_path_GREP" --version 2>&1` in
 
4384
*GNU*)
 
4385
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4386
*)
 
4387
  ac_count=0
 
4388
  $as_echo_n 0123456789 >"conftest.in"
 
4389
  while :
 
4390
  do
 
4391
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4392
    mv "conftest.tmp" "conftest.in"
 
4393
    cp "conftest.in" "conftest.nl"
 
4394
    $as_echo 'GREP' >> "conftest.nl"
 
4395
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4396
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4397
    ac_count=`expr $ac_count + 1`
 
4398
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4399
      # Best one so far, save it but keep looking for a better one
 
4400
      ac_cv_path_GREP="$ac_path_GREP"
 
4401
      ac_path_GREP_max=$ac_count
 
4402
    fi
 
4403
    # 10*(2^10) chars as input seems more than enough
 
4404
    test $ac_count -gt 10 && break
 
4405
  done
 
4406
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4407
esac
 
4408
 
 
4409
      $ac_path_GREP_found && break 3
 
4410
    done
 
4411
  done
 
4412
done
 
4413
IFS=$as_save_IFS
 
4414
  if test -z "$ac_cv_path_GREP"; then
 
4415
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4416
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4417
   { (exit 1); exit 1; }; }
 
4418
  fi
 
4419
else
 
4420
  ac_cv_path_GREP=$GREP
 
4421
fi
 
4422
 
 
4423
fi
 
4424
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4425
$as_echo "$ac_cv_path_GREP" >&6; }
 
4426
 GREP="$ac_cv_path_GREP"
 
4427
 
 
4428
 
 
4429
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
4430
$as_echo_n "checking for egrep... " >&6; }
 
4431
if test "${ac_cv_path_EGREP+set}" = set; then
 
4432
  $as_echo_n "(cached) " >&6
 
4433
else
 
4434
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4435
   then ac_cv_path_EGREP="$GREP -E"
 
4436
   else
 
4437
     if test -z "$EGREP"; then
 
4438
  ac_path_EGREP_found=false
 
4439
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4440
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4441
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4442
do
 
4443
  IFS=$as_save_IFS
 
4444
  test -z "$as_dir" && as_dir=.
 
4445
  for ac_prog in egrep; do
 
4446
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4447
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4448
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4449
# Check for GNU ac_path_EGREP and select it if it is found.
 
4450
  # Check for GNU $ac_path_EGREP
 
4451
case `"$ac_path_EGREP" --version 2>&1` in
 
4452
*GNU*)
 
4453
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4454
*)
 
4455
  ac_count=0
 
4456
  $as_echo_n 0123456789 >"conftest.in"
 
4457
  while :
 
4458
  do
 
4459
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4460
    mv "conftest.tmp" "conftest.in"
 
4461
    cp "conftest.in" "conftest.nl"
 
4462
    $as_echo 'EGREP' >> "conftest.nl"
 
4463
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4464
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4465
    ac_count=`expr $ac_count + 1`
 
4466
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4467
      # Best one so far, save it but keep looking for a better one
 
4468
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4469
      ac_path_EGREP_max=$ac_count
 
4470
    fi
 
4471
    # 10*(2^10) chars as input seems more than enough
 
4472
    test $ac_count -gt 10 && break
 
4473
  done
 
4474
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4475
esac
 
4476
 
 
4477
      $ac_path_EGREP_found && break 3
 
4478
    done
 
4479
  done
 
4480
done
 
4481
IFS=$as_save_IFS
 
4482
  if test -z "$ac_cv_path_EGREP"; then
 
4483
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4484
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4485
   { (exit 1); exit 1; }; }
 
4486
  fi
 
4487
else
 
4488
  ac_cv_path_EGREP=$EGREP
 
4489
fi
 
4490
 
 
4491
   fi
 
4492
fi
 
4493
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4494
$as_echo "$ac_cv_path_EGREP" >&6; }
 
4495
 EGREP="$ac_cv_path_EGREP"
 
4496
 
 
4497
 
 
4498
 
 
4499
# Check whether --with-gnu-ld was given.
3734
4500
if test "${with_gnu_ld+set}" = set; then
3735
 
  withval="$with_gnu_ld"
3736
 
  test "$withval" = no || with_gnu_ld=yes
 
4501
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3737
4502
else
3738
4503
  with_gnu_ld=no
3739
 
fi;
 
4504
fi
 
4505
 
3740
4506
ac_prog=ld
3741
4507
if test "$GCC" = yes; then
3742
4508
  # Check if gcc -print-prog-name=ld gives a path.
3743
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3744
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
4509
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
4510
$as_echo_n "checking for ld used by $CC... " >&6; }
3745
4511
  case $host in
3746
4512
  *-*-mingw*)
3747
4513
    # gcc leaves a trailing carriage return which upsets mingw
3770
4536
    ;;
3771
4537
  esac
3772
4538
elif test "$with_gnu_ld" = yes; then
3773
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
3774
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
4539
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4540
$as_echo_n "checking for GNU ld... " >&6; }
3775
4541
else
3776
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3777
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
4542
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4543
$as_echo_n "checking for non-GNU ld... " >&6; }
3778
4544
fi
3779
4545
if test "${lt_cv_path_LD+set}" = set; then
3780
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4546
  $as_echo_n "(cached) " >&6
3781
4547
else
3782
4548
  if test -z "$LD"; then
3783
4549
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3807
4573
 
3808
4574
LD="$lt_cv_path_LD"
3809
4575
if test -n "$LD"; then
3810
 
  echo "$as_me:$LINENO: result: $LD" >&5
3811
 
echo "${ECHO_T}$LD" >&6
 
4576
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
4577
$as_echo "$LD" >&6; }
3812
4578
else
3813
 
  echo "$as_me:$LINENO: result: no" >&5
3814
 
echo "${ECHO_T}no" >&6
 
4579
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4580
$as_echo "no" >&6; }
3815
4581
fi
3816
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3817
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
4582
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
4583
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3818
4584
   { (exit 1); exit 1; }; }
3819
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3820
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
4585
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4586
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3821
4587
if test "${lt_cv_prog_gnu_ld+set}" = set; then
3822
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4588
  $as_echo_n "(cached) " >&6
3823
4589
else
3824
4590
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
3825
4591
case `$LD -v 2>&1 </dev/null` in
3831
4597
  ;;
3832
4598
esac
3833
4599
fi
3834
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3835
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
4600
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
4601
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
3836
4602
with_gnu_ld=$lt_cv_prog_gnu_ld
3837
4603
 
3838
4604
 
3839
 
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3840
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 
4605
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
4606
$as_echo_n "checking for $LD option to reload object files... " >&6; }
3841
4607
if test "${lt_cv_ld_reload_flag+set}" = set; then
3842
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4608
  $as_echo_n "(cached) " >&6
3843
4609
else
3844
4610
  lt_cv_ld_reload_flag='-r'
3845
4611
fi
3846
 
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3847
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 
4612
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
4613
$as_echo "$lt_cv_ld_reload_flag" >&6; }
3848
4614
reload_flag=$lt_cv_ld_reload_flag
3849
4615
case $reload_flag in
3850
4616
"" | " "*) ;;
3861
4627
    ;;
3862
4628
esac
3863
4629
 
3864
 
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3865
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 
4630
{ $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
4631
$as_echo_n "checking for BSD-compatible nm... " >&6; }
3866
4632
if test "${lt_cv_path_NM+set}" = set; then
3867
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4633
  $as_echo_n "(cached) " >&6
3868
4634
else
3869
4635
  if test -n "$NM"; then
3870
4636
  # Let the user override the test.
3910
4676
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3911
4677
fi
3912
4678
fi
3913
 
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3914
 
echo "${ECHO_T}$lt_cv_path_NM" >&6
 
4679
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
4680
$as_echo "$lt_cv_path_NM" >&6; }
3915
4681
NM="$lt_cv_path_NM"
3916
4682
 
3917
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
3918
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
4683
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
4684
$as_echo_n "checking whether ln -s works... " >&6; }
3919
4685
LN_S=$as_ln_s
3920
4686
if test "$LN_S" = "ln -s"; then
3921
 
  echo "$as_me:$LINENO: result: yes" >&5
3922
 
echo "${ECHO_T}yes" >&6
 
4687
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
4688
$as_echo "yes" >&6; }
3923
4689
else
3924
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3925
 
echo "${ECHO_T}no, using $LN_S" >&6
 
4690
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
4691
$as_echo "no, using $LN_S" >&6; }
3926
4692
fi
3927
4693
 
3928
 
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3929
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
 
4694
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
4695
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
3930
4696
if test "${lt_cv_deplibs_check_method+set}" = set; then
3931
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4697
  $as_echo_n "(cached) " >&6
3932
4698
else
3933
4699
  lt_cv_file_magic_cmd='$MAGIC_CMD'
3934
4700
lt_cv_file_magic_test_file=
3945
4711
# whether `pass_all' will *always* work, you probably want this one.
3946
4712
 
3947
4713
case $host_os in
3948
 
aix4* | aix5*)
 
4714
aix[4-9]*)
3949
4715
  lt_cv_deplibs_check_method=pass_all
3950
4716
  ;;
3951
4717
 
3967
4733
 
3968
4734
mingw* | pw32*)
3969
4735
  # Base MSYS/MinGW do not provide the 'file' command needed by
3970
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3971
 
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3972
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
4736
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
4737
  # unless we find 'file', for example because we are cross-compiling.
 
4738
  if ( file / ) >/dev/null 2>&1; then
 
4739
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
4740
    lt_cv_file_magic_cmd='func_win32_libid'
 
4741
  else
 
4742
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
4743
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
4744
  fi
3973
4745
  ;;
3974
4746
 
3975
4747
darwin* | rhapsody*)
3976
4748
  lt_cv_deplibs_check_method=pass_all
3977
4749
  ;;
3978
4750
 
3979
 
freebsd* | kfreebsd*-gnu | dragonfly*)
 
4751
freebsd* | dragonfly*)
3980
4752
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3981
4753
    case $host_cpu in
3982
4754
    i*86 )
4014
4786
  esac
4015
4787
  ;;
4016
4788
 
4017
 
interix3*)
 
4789
interix[3-9]*)
4018
4790
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4019
4791
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4020
4792
  ;;
4030
4802
  ;;
4031
4803
 
4032
4804
# This must be Linux ELF.
4033
 
linux*)
 
4805
linux* | k*bsd*-gnu)
4034
4806
  lt_cv_deplibs_check_method=pass_all
4035
4807
  ;;
4036
4808
 
4064
4836
  lt_cv_deplibs_check_method=pass_all
4065
4837
  ;;
4066
4838
 
 
4839
rdos*)
 
4840
  lt_cv_deplibs_check_method=pass_all
 
4841
  ;;
 
4842
 
4067
4843
solaris*)
4068
4844
  lt_cv_deplibs_check_method=pass_all
4069
4845
  ;;
4101
4877
esac
4102
4878
 
4103
4879
fi
4104
 
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4105
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 
4880
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
4881
$as_echo "$lt_cv_deplibs_check_method" >&6; }
4106
4882
file_magic_cmd=$lt_cv_file_magic_cmd
4107
4883
deplibs_check_method=$lt_cv_deplibs_check_method
4108
4884
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4120
4896
compiler=$CC
4121
4897
 
4122
4898
 
4123
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
4899
# Check whether --enable-libtool-lock was given.
4124
4900
if test "${enable_libtool_lock+set}" = set; then
4125
 
  enableval="$enable_libtool_lock"
 
4901
  enableval=$enable_libtool_lock;
 
4902
fi
4126
4903
 
4127
 
fi;
4128
4904
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4129
4905
 
4130
4906
# Some flags need to be propagated to the compiler or linker for good
4136
4912
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4137
4913
  (eval $ac_compile) 2>&5
4138
4914
  ac_status=$?
4139
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4915
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4140
4916
  (exit $ac_status); }; then
4141
4917
    case `/usr/bin/file conftest.$ac_objext` in
4142
4918
    *ELF-32*)
4151
4927
  ;;
4152
4928
*-*-irix6*)
4153
4929
  # Find out which ABI we are using.
4154
 
  echo '#line 4154 "configure"' > conftest.$ac_ext
 
4930
  echo '#line 4930 "configure"' > conftest.$ac_ext
4155
4931
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4156
4932
  (eval $ac_compile) 2>&5
4157
4933
  ac_status=$?
4158
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4934
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4159
4935
  (exit $ac_status); }; then
4160
4936
   if test "$lt_cv_prog_gnu_ld" = yes; then
4161
4937
    case `/usr/bin/file conftest.$ac_objext` in
4186
4962
  rm -rf conftest*
4187
4963
  ;;
4188
4964
 
4189
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
 
4965
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
4966
s390*-*linux*|sparc*-*linux*)
4190
4967
  # Find out which ABI we are using.
4191
4968
  echo 'int i;' > conftest.$ac_ext
4192
4969
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4193
4970
  (eval $ac_compile) 2>&5
4194
4971
  ac_status=$?
4195
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4972
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196
4973
  (exit $ac_status); }; then
4197
4974
    case `/usr/bin/file conftest.o` in
4198
4975
    *32-bit*)
4199
4976
      case $host in
 
4977
        x86_64-*kfreebsd*-gnu)
 
4978
          LD="${LD-ld} -m elf_i386_fbsd"
 
4979
          ;;
4200
4980
        x86_64-*linux*)
4201
4981
          LD="${LD-ld} -m elf_i386"
4202
4982
          ;;
4213
4993
      ;;
4214
4994
    *64-bit*)
4215
4995
      case $host in
 
4996
        x86_64-*kfreebsd*-gnu)
 
4997
          LD="${LD-ld} -m elf_x86_64_fbsd"
 
4998
          ;;
4216
4999
        x86_64-*linux*)
4217
5000
          LD="${LD-ld} -m elf_x86_64"
4218
5001
          ;;
4236
5019
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4237
5020
  SAVE_CFLAGS="$CFLAGS"
4238
5021
  CFLAGS="$CFLAGS -belf"
4239
 
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4240
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 
5022
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
5023
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
4241
5024
if test "${lt_cv_cc_needs_belf+set}" = set; then
4242
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5025
  $as_echo_n "(cached) " >&6
4243
5026
else
4244
5027
  ac_ext=c
4245
5028
ac_cpp='$CPP $CPPFLAGS'
4263
5046
}
4264
5047
_ACEOF
4265
5048
rm -f conftest.$ac_objext conftest$ac_exeext
4266
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4267
 
  (eval $ac_link) 2>conftest.er1
 
5049
if { (ac_try="$ac_link"
 
5050
case "(($ac_try" in
 
5051
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5052
  *) ac_try_echo=$ac_try;;
 
5053
esac
 
5054
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5055
$as_echo "$ac_try_echo") >&5
 
5056
  (eval "$ac_link") 2>conftest.er1
4268
5057
  ac_status=$?
4269
5058
  grep -v '^ *+' conftest.er1 >conftest.err
4270
5059
  rm -f conftest.er1
4271
5060
  cat conftest.err >&5
4272
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4273
 
  (exit $ac_status); } &&
4274
 
         { ac_try='test -z "$ac_c_werror_flag"
4275
 
                         || test ! -s conftest.err'
4276
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4277
 
  (eval $ac_try) 2>&5
4278
 
  ac_status=$?
4279
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4280
 
  (exit $ac_status); }; } &&
4281
 
         { ac_try='test -s conftest$ac_exeext'
4282
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4283
 
  (eval $ac_try) 2>&5
4284
 
  ac_status=$?
4285
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4286
 
  (exit $ac_status); }; }; then
 
5061
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5062
  (exit $ac_status); } && {
 
5063
         test -z "$ac_c_werror_flag" ||
 
5064
         test ! -s conftest.err
 
5065
       } && test -s conftest$ac_exeext && {
 
5066
         test "$cross_compiling" = yes ||
 
5067
         $as_test_x conftest$ac_exeext
 
5068
       }; then
4287
5069
  lt_cv_cc_needs_belf=yes
4288
5070
else
4289
 
  echo "$as_me: failed program was:" >&5
 
5071
  $as_echo "$as_me: failed program was:" >&5
4290
5072
sed 's/^/| /' conftest.$ac_ext >&5
4291
5073
 
4292
 
lt_cv_cc_needs_belf=no
 
5074
        lt_cv_cc_needs_belf=no
4293
5075
fi
4294
 
rm -f conftest.err conftest.$ac_objext \
 
5076
 
 
5077
rm -rf conftest.dSYM
 
5078
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4295
5079
      conftest$ac_exeext conftest.$ac_ext
4296
5080
     ac_ext=c
4297
5081
ac_cpp='$CPP $CPPFLAGS'
4300
5084
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4301
5085
 
4302
5086
fi
4303
 
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4304
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 
5087
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
5088
$as_echo "$lt_cv_cc_needs_belf" >&6; }
4305
5089
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4306
5090
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4307
5091
    CFLAGS="$SAVE_CFLAGS"
4313
5097
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4314
5098
  (eval $ac_compile) 2>&5
4315
5099
  ac_status=$?
4316
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5100
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4317
5101
  (exit $ac_status); }; then
4318
5102
    case `/usr/bin/file conftest.o` in
4319
5103
    *64-bit*)
4320
5104
      case $lt_cv_prog_gnu_ld in
4321
5105
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
4322
 
      *)    LD="${LD-ld} -64" ;;
 
5106
      *)
 
5107
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
5108
          LD="${LD-ld} -64"
 
5109
        fi
 
5110
        ;;
4323
5111
      esac
4324
5112
      ;;
4325
5113
    esac
4338
5126
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4339
5127
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4340
5128
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4341
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4342
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
5129
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
5130
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4343
5131
# On Suns, sometimes $CPP names a directory.
4344
5132
if test -n "$CPP" && test -d "$CPP"; then
4345
5133
  CPP=
4346
5134
fi
4347
5135
if test -z "$CPP"; then
4348
5136
  if test "${ac_cv_prog_CPP+set}" = set; then
4349
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5137
  $as_echo_n "(cached) " >&6
4350
5138
else
4351
5139
      # Double quotes because CPP needs to be expanded
4352
5140
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4373
5161
#endif
4374
5162
                     Syntax error
4375
5163
_ACEOF
4376
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4377
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5164
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5165
case "(($ac_try" in
 
5166
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5167
  *) ac_try_echo=$ac_try;;
 
5168
esac
 
5169
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5170
$as_echo "$ac_try_echo") >&5
 
5171
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4378
5172
  ac_status=$?
4379
5173
  grep -v '^ *+' conftest.er1 >conftest.err
4380
5174
  rm -f conftest.er1
4381
5175
  cat conftest.err >&5
4382
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4383
 
  (exit $ac_status); } >/dev/null; then
4384
 
  if test -s conftest.err; then
4385
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4386
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4387
 
  else
4388
 
    ac_cpp_err=
4389
 
  fi
4390
 
else
4391
 
  ac_cpp_err=yes
4392
 
fi
4393
 
if test -z "$ac_cpp_err"; then
 
5176
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5177
  (exit $ac_status); } >/dev/null && {
 
5178
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5179
         test ! -s conftest.err
 
5180
       }; then
4394
5181
  :
4395
5182
else
4396
 
  echo "$as_me: failed program was:" >&5
 
5183
  $as_echo "$as_me: failed program was:" >&5
4397
5184
sed 's/^/| /' conftest.$ac_ext >&5
4398
5185
 
4399
5186
  # Broken: fails on valid input.
4400
5187
continue
4401
5188
fi
 
5189
 
4402
5190
rm -f conftest.err conftest.$ac_ext
4403
5191
 
4404
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5192
  # OK, works on sane cases.  Now check whether nonexistent headers
4405
5193
  # can be detected and how.
4406
5194
  cat >conftest.$ac_ext <<_ACEOF
4407
5195
/* confdefs.h.  */
4411
5199
/* end confdefs.h.  */
4412
5200
#include <ac_nonexistent.h>
4413
5201
_ACEOF
4414
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4415
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5202
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5203
case "(($ac_try" in
 
5204
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5205
  *) ac_try_echo=$ac_try;;
 
5206
esac
 
5207
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5208
$as_echo "$ac_try_echo") >&5
 
5209
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4416
5210
  ac_status=$?
4417
5211
  grep -v '^ *+' conftest.er1 >conftest.err
4418
5212
  rm -f conftest.er1
4419
5213
  cat conftest.err >&5
4420
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4421
 
  (exit $ac_status); } >/dev/null; then
4422
 
  if test -s conftest.err; then
4423
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4424
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4425
 
  else
4426
 
    ac_cpp_err=
4427
 
  fi
4428
 
else
4429
 
  ac_cpp_err=yes
4430
 
fi
4431
 
if test -z "$ac_cpp_err"; then
 
5214
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5215
  (exit $ac_status); } >/dev/null && {
 
5216
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5217
         test ! -s conftest.err
 
5218
       }; then
4432
5219
  # Broken: success on invalid input.
4433
5220
continue
4434
5221
else
4435
 
  echo "$as_me: failed program was:" >&5
 
5222
  $as_echo "$as_me: failed program was:" >&5
4436
5223
sed 's/^/| /' conftest.$ac_ext >&5
4437
5224
 
4438
5225
  # Passes both tests.
4439
5226
ac_preproc_ok=:
4440
5227
break
4441
5228
fi
 
5229
 
4442
5230
rm -f conftest.err conftest.$ac_ext
4443
5231
 
4444
5232
done
4456
5244
else
4457
5245
  ac_cv_prog_CPP=$CPP
4458
5246
fi
4459
 
echo "$as_me:$LINENO: result: $CPP" >&5
4460
 
echo "${ECHO_T}$CPP" >&6
 
5247
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
5248
$as_echo "$CPP" >&6; }
4461
5249
ac_preproc_ok=false
4462
5250
for ac_c_preproc_warn_flag in '' yes
4463
5251
do
4480
5268
#endif
4481
5269
                     Syntax error
4482
5270
_ACEOF
4483
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4484
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5271
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5272
case "(($ac_try" in
 
5273
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5274
  *) ac_try_echo=$ac_try;;
 
5275
esac
 
5276
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5277
$as_echo "$ac_try_echo") >&5
 
5278
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4485
5279
  ac_status=$?
4486
5280
  grep -v '^ *+' conftest.er1 >conftest.err
4487
5281
  rm -f conftest.er1
4488
5282
  cat conftest.err >&5
4489
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4490
 
  (exit $ac_status); } >/dev/null; then
4491
 
  if test -s conftest.err; then
4492
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4493
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4494
 
  else
4495
 
    ac_cpp_err=
4496
 
  fi
4497
 
else
4498
 
  ac_cpp_err=yes
4499
 
fi
4500
 
if test -z "$ac_cpp_err"; then
 
5283
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5284
  (exit $ac_status); } >/dev/null && {
 
5285
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5286
         test ! -s conftest.err
 
5287
       }; then
4501
5288
  :
4502
5289
else
4503
 
  echo "$as_me: failed program was:" >&5
 
5290
  $as_echo "$as_me: failed program was:" >&5
4504
5291
sed 's/^/| /' conftest.$ac_ext >&5
4505
5292
 
4506
5293
  # Broken: fails on valid input.
4507
5294
continue
4508
5295
fi
 
5296
 
4509
5297
rm -f conftest.err conftest.$ac_ext
4510
5298
 
4511
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5299
  # OK, works on sane cases.  Now check whether nonexistent headers
4512
5300
  # can be detected and how.
4513
5301
  cat >conftest.$ac_ext <<_ACEOF
4514
5302
/* confdefs.h.  */
4518
5306
/* end confdefs.h.  */
4519
5307
#include <ac_nonexistent.h>
4520
5308
_ACEOF
4521
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4522
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5309
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5310
case "(($ac_try" in
 
5311
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5312
  *) ac_try_echo=$ac_try;;
 
5313
esac
 
5314
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5315
$as_echo "$ac_try_echo") >&5
 
5316
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4523
5317
  ac_status=$?
4524
5318
  grep -v '^ *+' conftest.er1 >conftest.err
4525
5319
  rm -f conftest.er1
4526
5320
  cat conftest.err >&5
4527
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528
 
  (exit $ac_status); } >/dev/null; then
4529
 
  if test -s conftest.err; then
4530
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4531
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4532
 
  else
4533
 
    ac_cpp_err=
4534
 
  fi
4535
 
else
4536
 
  ac_cpp_err=yes
4537
 
fi
4538
 
if test -z "$ac_cpp_err"; then
 
5321
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5322
  (exit $ac_status); } >/dev/null && {
 
5323
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5324
         test ! -s conftest.err
 
5325
       }; then
4539
5326
  # Broken: success on invalid input.
4540
5327
continue
4541
5328
else
4542
 
  echo "$as_me: failed program was:" >&5
 
5329
  $as_echo "$as_me: failed program was:" >&5
4543
5330
sed 's/^/| /' conftest.$ac_ext >&5
4544
5331
 
4545
5332
  # Passes both tests.
4546
5333
ac_preproc_ok=:
4547
5334
break
4548
5335
fi
 
5336
 
4549
5337
rm -f conftest.err conftest.$ac_ext
4550
5338
 
4551
5339
done
4554
5342
if $ac_preproc_ok; then
4555
5343
  :
4556
5344
else
4557
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
5345
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
5346
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
5347
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4558
5348
See \`config.log' for more details." >&5
4559
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
5349
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4560
5350
See \`config.log' for more details." >&2;}
4561
 
   { (exit 1); exit 1; }; }
 
5351
   { (exit 1); exit 1; }; }; }
4562
5352
fi
4563
5353
 
4564
5354
ac_ext=c
4568
5358
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4569
5359
 
4570
5360
 
4571
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4572
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
5361
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
5362
$as_echo_n "checking for ANSI C header files... " >&6; }
4573
5363
if test "${ac_cv_header_stdc+set}" = set; then
4574
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5364
  $as_echo_n "(cached) " >&6
4575
5365
else
4576
5366
  cat >conftest.$ac_ext <<_ACEOF
4577
5367
/* confdefs.h.  */
4593
5383
}
4594
5384
_ACEOF
4595
5385
rm -f conftest.$ac_objext
4596
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4597
 
  (eval $ac_compile) 2>conftest.er1
 
5386
if { (ac_try="$ac_compile"
 
5387
case "(($ac_try" in
 
5388
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5389
  *) ac_try_echo=$ac_try;;
 
5390
esac
 
5391
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5392
$as_echo "$ac_try_echo") >&5
 
5393
  (eval "$ac_compile") 2>conftest.er1
4598
5394
  ac_status=$?
4599
5395
  grep -v '^ *+' conftest.er1 >conftest.err
4600
5396
  rm -f conftest.er1
4601
5397
  cat conftest.err >&5
4602
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4603
 
  (exit $ac_status); } &&
4604
 
         { ac_try='test -z "$ac_c_werror_flag"
4605
 
                         || test ! -s conftest.err'
4606
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4607
 
  (eval $ac_try) 2>&5
4608
 
  ac_status=$?
4609
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4610
 
  (exit $ac_status); }; } &&
4611
 
         { ac_try='test -s conftest.$ac_objext'
4612
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4613
 
  (eval $ac_try) 2>&5
4614
 
  ac_status=$?
4615
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4616
 
  (exit $ac_status); }; }; then
 
5398
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5399
  (exit $ac_status); } && {
 
5400
         test -z "$ac_c_werror_flag" ||
 
5401
         test ! -s conftest.err
 
5402
       } && test -s conftest.$ac_objext; then
4617
5403
  ac_cv_header_stdc=yes
4618
5404
else
4619
 
  echo "$as_me: failed program was:" >&5
 
5405
  $as_echo "$as_me: failed program was:" >&5
4620
5406
sed 's/^/| /' conftest.$ac_ext >&5
4621
5407
 
4622
 
ac_cv_header_stdc=no
 
5408
        ac_cv_header_stdc=no
4623
5409
fi
4624
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5410
 
 
5411
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4625
5412
 
4626
5413
if test $ac_cv_header_stdc = yes; then
4627
5414
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4677
5464
cat >>conftest.$ac_ext <<_ACEOF
4678
5465
/* end confdefs.h.  */
4679
5466
#include <ctype.h>
 
5467
#include <stdlib.h>
4680
5468
#if ((' ' & 0x0FF) == 0x020)
4681
5469
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4682
5470
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4696
5484
  for (i = 0; i < 256; i++)
4697
5485
    if (XOR (islower (i), ISLOWER (i))
4698
5486
        || toupper (i) != TOUPPER (i))
4699
 
      exit(2);
4700
 
  exit (0);
 
5487
      return 2;
 
5488
  return 0;
4701
5489
}
4702
5490
_ACEOF
4703
5491
rm -f conftest$ac_exeext
4704
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4705
 
  (eval $ac_link) 2>&5
 
5492
if { (ac_try="$ac_link"
 
5493
case "(($ac_try" in
 
5494
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5495
  *) ac_try_echo=$ac_try;;
 
5496
esac
 
5497
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5498
$as_echo "$ac_try_echo") >&5
 
5499
  (eval "$ac_link") 2>&5
4706
5500
  ac_status=$?
4707
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5501
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4708
5502
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4709
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4710
 
  (eval $ac_try) 2>&5
 
5503
  { (case "(($ac_try" in
 
5504
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5505
  *) ac_try_echo=$ac_try;;
 
5506
esac
 
5507
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5508
$as_echo "$ac_try_echo") >&5
 
5509
  (eval "$ac_try") 2>&5
4711
5510
  ac_status=$?
4712
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5511
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4713
5512
  (exit $ac_status); }; }; then
4714
5513
  :
4715
5514
else
4716
 
  echo "$as_me: program exited with status $ac_status" >&5
4717
 
echo "$as_me: failed program was:" >&5
 
5515
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
5516
$as_echo "$as_me: failed program was:" >&5
4718
5517
sed 's/^/| /' conftest.$ac_ext >&5
4719
5518
 
4720
5519
( exit $ac_status )
4721
5520
ac_cv_header_stdc=no
4722
5521
fi
4723
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4724
 
fi
4725
 
fi
4726
 
fi
4727
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4728
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
5522
rm -rf conftest.dSYM
 
5523
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
5524
fi
 
5525
 
 
5526
 
 
5527
fi
 
5528
fi
 
5529
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
5530
$as_echo "$ac_cv_header_stdc" >&6; }
4729
5531
if test $ac_cv_header_stdc = yes; then
4730
5532
 
4731
5533
cat >>confdefs.h <<\_ACEOF
4747
5549
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4748
5550
                  inttypes.h stdint.h unistd.h
4749
5551
do
4750
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4751
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4752
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4753
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4754
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5552
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
5553
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5554
$as_echo_n "checking for $ac_header... " >&6; }
 
5555
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5556
  $as_echo_n "(cached) " >&6
4755
5557
else
4756
5558
  cat >conftest.$ac_ext <<_ACEOF
4757
5559
/* confdefs.h.  */
4764
5566
#include <$ac_header>
4765
5567
_ACEOF
4766
5568
rm -f conftest.$ac_objext
4767
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4768
 
  (eval $ac_compile) 2>conftest.er1
 
5569
if { (ac_try="$ac_compile"
 
5570
case "(($ac_try" in
 
5571
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5572
  *) ac_try_echo=$ac_try;;
 
5573
esac
 
5574
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5575
$as_echo "$ac_try_echo") >&5
 
5576
  (eval "$ac_compile") 2>conftest.er1
4769
5577
  ac_status=$?
4770
5578
  grep -v '^ *+' conftest.er1 >conftest.err
4771
5579
  rm -f conftest.er1
4772
5580
  cat conftest.err >&5
4773
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4774
 
  (exit $ac_status); } &&
4775
 
         { ac_try='test -z "$ac_c_werror_flag"
4776
 
                         || test ! -s conftest.err'
4777
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4778
 
  (eval $ac_try) 2>&5
4779
 
  ac_status=$?
4780
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4781
 
  (exit $ac_status); }; } &&
4782
 
         { ac_try='test -s conftest.$ac_objext'
4783
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4784
 
  (eval $ac_try) 2>&5
4785
 
  ac_status=$?
4786
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4787
 
  (exit $ac_status); }; }; then
 
5581
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5582
  (exit $ac_status); } && {
 
5583
         test -z "$ac_c_werror_flag" ||
 
5584
         test ! -s conftest.err
 
5585
       } && test -s conftest.$ac_objext; then
4788
5586
  eval "$as_ac_Header=yes"
4789
5587
else
4790
 
  echo "$as_me: failed program was:" >&5
 
5588
  $as_echo "$as_me: failed program was:" >&5
4791
5589
sed 's/^/| /' conftest.$ac_ext >&5
4792
5590
 
4793
 
eval "$as_ac_Header=no"
4794
 
fi
4795
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4796
 
fi
4797
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4798
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4799
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
5591
        eval "$as_ac_Header=no"
 
5592
fi
 
5593
 
 
5594
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5595
fi
 
5596
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5597
                 $as_echo "$as_val"'`
 
5598
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5599
$as_echo "$ac_res" >&6; }
 
5600
as_val=`eval 'as_val=${'$as_ac_Header'}
 
5601
                 $as_echo "$as_val"'`
 
5602
   if test "x$as_val" = x""yes; then
4800
5603
  cat >>confdefs.h <<_ACEOF
4801
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
5604
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4802
5605
_ACEOF
4803
5606
 
4804
5607
fi
4809
5612
 
4810
5613
for ac_header in dlfcn.h
4811
5614
do
4812
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4813
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4814
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4815
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4816
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4817
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5615
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
5616
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5617
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5618
$as_echo_n "checking for $ac_header... " >&6; }
 
5619
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5620
  $as_echo_n "(cached) " >&6
4818
5621
fi
4819
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4820
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5622
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5623
                 $as_echo "$as_val"'`
 
5624
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5625
$as_echo "$ac_res" >&6; }
4821
5626
else
4822
5627
  # Is the header compilable?
4823
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4824
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
5628
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
5629
$as_echo_n "checking $ac_header usability... " >&6; }
4825
5630
cat >conftest.$ac_ext <<_ACEOF
4826
5631
/* confdefs.h.  */
4827
5632
_ACEOF
4832
5637
#include <$ac_header>
4833
5638
_ACEOF
4834
5639
rm -f conftest.$ac_objext
4835
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4836
 
  (eval $ac_compile) 2>conftest.er1
 
5640
if { (ac_try="$ac_compile"
 
5641
case "(($ac_try" in
 
5642
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5643
  *) ac_try_echo=$ac_try;;
 
5644
esac
 
5645
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5646
$as_echo "$ac_try_echo") >&5
 
5647
  (eval "$ac_compile") 2>conftest.er1
4837
5648
  ac_status=$?
4838
5649
  grep -v '^ *+' conftest.er1 >conftest.err
4839
5650
  rm -f conftest.er1
4840
5651
  cat conftest.err >&5
4841
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4842
 
  (exit $ac_status); } &&
4843
 
         { ac_try='test -z "$ac_c_werror_flag"
4844
 
                         || test ! -s conftest.err'
4845
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4846
 
  (eval $ac_try) 2>&5
4847
 
  ac_status=$?
4848
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849
 
  (exit $ac_status); }; } &&
4850
 
         { ac_try='test -s conftest.$ac_objext'
4851
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4852
 
  (eval $ac_try) 2>&5
4853
 
  ac_status=$?
4854
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4855
 
  (exit $ac_status); }; }; then
 
5652
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5653
  (exit $ac_status); } && {
 
5654
         test -z "$ac_c_werror_flag" ||
 
5655
         test ! -s conftest.err
 
5656
       } && test -s conftest.$ac_objext; then
4856
5657
  ac_header_compiler=yes
4857
5658
else
4858
 
  echo "$as_me: failed program was:" >&5
 
5659
  $as_echo "$as_me: failed program was:" >&5
4859
5660
sed 's/^/| /' conftest.$ac_ext >&5
4860
5661
 
4861
 
ac_header_compiler=no
 
5662
        ac_header_compiler=no
4862
5663
fi
4863
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4864
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4865
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
5664
 
 
5665
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5666
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5667
$as_echo "$ac_header_compiler" >&6; }
4866
5668
 
4867
5669
# Is the header present?
4868
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4869
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
5670
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
5671
$as_echo_n "checking $ac_header presence... " >&6; }
4870
5672
cat >conftest.$ac_ext <<_ACEOF
4871
5673
/* confdefs.h.  */
4872
5674
_ACEOF
4875
5677
/* end confdefs.h.  */
4876
5678
#include <$ac_header>
4877
5679
_ACEOF
4878
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4879
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5680
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5681
case "(($ac_try" in
 
5682
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5683
  *) ac_try_echo=$ac_try;;
 
5684
esac
 
5685
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5686
$as_echo "$ac_try_echo") >&5
 
5687
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4880
5688
  ac_status=$?
4881
5689
  grep -v '^ *+' conftest.er1 >conftest.err
4882
5690
  rm -f conftest.er1
4883
5691
  cat conftest.err >&5
4884
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4885
 
  (exit $ac_status); } >/dev/null; then
4886
 
  if test -s conftest.err; then
4887
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4888
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4889
 
  else
4890
 
    ac_cpp_err=
4891
 
  fi
4892
 
else
4893
 
  ac_cpp_err=yes
4894
 
fi
4895
 
if test -z "$ac_cpp_err"; then
 
5692
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5693
  (exit $ac_status); } >/dev/null && {
 
5694
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5695
         test ! -s conftest.err
 
5696
       }; then
4896
5697
  ac_header_preproc=yes
4897
5698
else
4898
 
  echo "$as_me: failed program was:" >&5
 
5699
  $as_echo "$as_me: failed program was:" >&5
4899
5700
sed 's/^/| /' conftest.$ac_ext >&5
4900
5701
 
4901
5702
  ac_header_preproc=no
4902
5703
fi
 
5704
 
4903
5705
rm -f conftest.err conftest.$ac_ext
4904
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4905
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
5706
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5707
$as_echo "$ac_header_preproc" >&6; }
4906
5708
 
4907
5709
# So?  What about this header?
4908
5710
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4909
5711
  yes:no: )
4910
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4911
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4912
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4913
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
5712
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
5713
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
5714
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
5715
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4914
5716
    ac_header_preproc=yes
4915
5717
    ;;
4916
5718
  no:yes:* )
4917
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4918
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4919
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4920
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4921
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4922
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4923
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4924
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4925
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4926
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4927
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4928
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4929
 
    (
4930
 
      cat <<\_ASBOX
 
5719
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
5720
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
5721
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
5722
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
5723
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
5724
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
5725
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
5726
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
5727
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
5728
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
5729
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
5730
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
5731
    ( cat <<\_ASBOX
4931
5732
## ------------------------------------------------ ##
4932
5733
## Report this to sblim-devel@lists.sourceforge.net ##
4933
5734
## ------------------------------------------------ ##
4934
5735
_ASBOX
4935
 
    ) |
4936
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
5736
     ) | sed "s/^/$as_me: WARNING:     /" >&2
4937
5737
    ;;
4938
5738
esac
4939
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4940
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4941
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4942
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5739
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5740
$as_echo_n "checking for $ac_header... " >&6; }
 
5741
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5742
  $as_echo_n "(cached) " >&6
4943
5743
else
4944
5744
  eval "$as_ac_Header=\$ac_header_preproc"
4945
5745
fi
4946
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4947
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5746
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5747
                 $as_echo "$as_val"'`
 
5748
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5749
$as_echo "$ac_res" >&6; }
4948
5750
 
4949
5751
fi
4950
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
5752
as_val=`eval 'as_val=${'$as_ac_Header'}
 
5753
                 $as_echo "$as_val"'`
 
5754
   if test "x$as_val" = x""yes; then
4951
5755
  cat >>confdefs.h <<_ACEOF
4952
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
5756
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4953
5757
_ACEOF
4954
5758
 
4955
5759
fi
4961
5765
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
4962
5766
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
4963
5767
    (test "X$CXX" != "Xg++"))) ; then
4964
 
  ac_ext=cc
 
5768
  ac_ext=cpp
4965
5769
ac_cpp='$CXXCPP $CPPFLAGS'
4966
5770
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4967
5771
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4968
5772
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4969
 
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4970
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 
5773
{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
5774
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
4971
5775
if test -z "$CXXCPP"; then
4972
5776
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
4973
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5777
  $as_echo_n "(cached) " >&6
4974
5778
else
4975
5779
      # Double quotes because CXXCPP needs to be expanded
4976
5780
    for CXXCPP in "$CXX -E" "/lib/cpp"
4997
5801
#endif
4998
5802
                     Syntax error
4999
5803
_ACEOF
5000
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5001
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5804
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5805
case "(($ac_try" in
 
5806
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5807
  *) ac_try_echo=$ac_try;;
 
5808
esac
 
5809
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5810
$as_echo "$ac_try_echo") >&5
 
5811
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5002
5812
  ac_status=$?
5003
5813
  grep -v '^ *+' conftest.er1 >conftest.err
5004
5814
  rm -f conftest.er1
5005
5815
  cat conftest.err >&5
5006
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5007
 
  (exit $ac_status); } >/dev/null; then
5008
 
  if test -s conftest.err; then
5009
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5010
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5011
 
  else
5012
 
    ac_cpp_err=
5013
 
  fi
5014
 
else
5015
 
  ac_cpp_err=yes
5016
 
fi
5017
 
if test -z "$ac_cpp_err"; then
 
5816
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5817
  (exit $ac_status); } >/dev/null && {
 
5818
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
5819
         test ! -s conftest.err
 
5820
       }; then
5018
5821
  :
5019
5822
else
5020
 
  echo "$as_me: failed program was:" >&5
 
5823
  $as_echo "$as_me: failed program was:" >&5
5021
5824
sed 's/^/| /' conftest.$ac_ext >&5
5022
5825
 
5023
5826
  # Broken: fails on valid input.
5024
5827
continue
5025
5828
fi
 
5829
 
5026
5830
rm -f conftest.err conftest.$ac_ext
5027
5831
 
5028
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5832
  # OK, works on sane cases.  Now check whether nonexistent headers
5029
5833
  # can be detected and how.
5030
5834
  cat >conftest.$ac_ext <<_ACEOF
5031
5835
/* confdefs.h.  */
5035
5839
/* end confdefs.h.  */
5036
5840
#include <ac_nonexistent.h>
5037
5841
_ACEOF
5038
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5039
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5842
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5843
case "(($ac_try" in
 
5844
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5845
  *) ac_try_echo=$ac_try;;
 
5846
esac
 
5847
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5848
$as_echo "$ac_try_echo") >&5
 
5849
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5040
5850
  ac_status=$?
5041
5851
  grep -v '^ *+' conftest.er1 >conftest.err
5042
5852
  rm -f conftest.er1
5043
5853
  cat conftest.err >&5
5044
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5045
 
  (exit $ac_status); } >/dev/null; then
5046
 
  if test -s conftest.err; then
5047
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5048
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5049
 
  else
5050
 
    ac_cpp_err=
5051
 
  fi
5052
 
else
5053
 
  ac_cpp_err=yes
5054
 
fi
5055
 
if test -z "$ac_cpp_err"; then
 
5854
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5855
  (exit $ac_status); } >/dev/null && {
 
5856
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
5857
         test ! -s conftest.err
 
5858
       }; then
5056
5859
  # Broken: success on invalid input.
5057
5860
continue
5058
5861
else
5059
 
  echo "$as_me: failed program was:" >&5
 
5862
  $as_echo "$as_me: failed program was:" >&5
5060
5863
sed 's/^/| /' conftest.$ac_ext >&5
5061
5864
 
5062
5865
  # Passes both tests.
5063
5866
ac_preproc_ok=:
5064
5867
break
5065
5868
fi
 
5869
 
5066
5870
rm -f conftest.err conftest.$ac_ext
5067
5871
 
5068
5872
done
5080
5884
else
5081
5885
  ac_cv_prog_CXXCPP=$CXXCPP
5082
5886
fi
5083
 
echo "$as_me:$LINENO: result: $CXXCPP" >&5
5084
 
echo "${ECHO_T}$CXXCPP" >&6
 
5887
{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
5888
$as_echo "$CXXCPP" >&6; }
5085
5889
ac_preproc_ok=false
5086
5890
for ac_cxx_preproc_warn_flag in '' yes
5087
5891
do
5104
5908
#endif
5105
5909
                     Syntax error
5106
5910
_ACEOF
5107
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5108
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5911
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5912
case "(($ac_try" in
 
5913
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5914
  *) ac_try_echo=$ac_try;;
 
5915
esac
 
5916
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5917
$as_echo "$ac_try_echo") >&5
 
5918
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5109
5919
  ac_status=$?
5110
5920
  grep -v '^ *+' conftest.er1 >conftest.err
5111
5921
  rm -f conftest.er1
5112
5922
  cat conftest.err >&5
5113
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5114
 
  (exit $ac_status); } >/dev/null; then
5115
 
  if test -s conftest.err; then
5116
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5117
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5118
 
  else
5119
 
    ac_cpp_err=
5120
 
  fi
5121
 
else
5122
 
  ac_cpp_err=yes
5123
 
fi
5124
 
if test -z "$ac_cpp_err"; then
 
5923
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5924
  (exit $ac_status); } >/dev/null && {
 
5925
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
5926
         test ! -s conftest.err
 
5927
       }; then
5125
5928
  :
5126
5929
else
5127
 
  echo "$as_me: failed program was:" >&5
 
5930
  $as_echo "$as_me: failed program was:" >&5
5128
5931
sed 's/^/| /' conftest.$ac_ext >&5
5129
5932
 
5130
5933
  # Broken: fails on valid input.
5131
5934
continue
5132
5935
fi
 
5936
 
5133
5937
rm -f conftest.err conftest.$ac_ext
5134
5938
 
5135
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5939
  # OK, works on sane cases.  Now check whether nonexistent headers
5136
5940
  # can be detected and how.
5137
5941
  cat >conftest.$ac_ext <<_ACEOF
5138
5942
/* confdefs.h.  */
5142
5946
/* end confdefs.h.  */
5143
5947
#include <ac_nonexistent.h>
5144
5948
_ACEOF
5145
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5146
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5949
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5950
case "(($ac_try" in
 
5951
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5952
  *) ac_try_echo=$ac_try;;
 
5953
esac
 
5954
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5955
$as_echo "$ac_try_echo") >&5
 
5956
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5147
5957
  ac_status=$?
5148
5958
  grep -v '^ *+' conftest.er1 >conftest.err
5149
5959
  rm -f conftest.er1
5150
5960
  cat conftest.err >&5
5151
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5152
 
  (exit $ac_status); } >/dev/null; then
5153
 
  if test -s conftest.err; then
5154
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5155
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5156
 
  else
5157
 
    ac_cpp_err=
5158
 
  fi
5159
 
else
5160
 
  ac_cpp_err=yes
5161
 
fi
5162
 
if test -z "$ac_cpp_err"; then
 
5961
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5962
  (exit $ac_status); } >/dev/null && {
 
5963
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
5964
         test ! -s conftest.err
 
5965
       }; then
5163
5966
  # Broken: success on invalid input.
5164
5967
continue
5165
5968
else
5166
 
  echo "$as_me: failed program was:" >&5
 
5969
  $as_echo "$as_me: failed program was:" >&5
5167
5970
sed 's/^/| /' conftest.$ac_ext >&5
5168
5971
 
5169
5972
  # Passes both tests.
5170
5973
ac_preproc_ok=:
5171
5974
break
5172
5975
fi
 
5976
 
5173
5977
rm -f conftest.err conftest.$ac_ext
5174
5978
 
5175
5979
done
5178
5982
if $ac_preproc_ok; then
5179
5983
  :
5180
5984
else
5181
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 
5985
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
5986
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
5987
{ { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5182
5988
See \`config.log' for more details." >&5
5183
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 
5989
$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5184
5990
See \`config.log' for more details." >&2;}
5185
 
   { (exit 1); exit 1; }; }
 
5991
   { (exit 1); exit 1; }; }; }
5186
5992
fi
5187
5993
 
5188
 
ac_ext=cc
 
5994
ac_ext=cpp
5189
5995
ac_cpp='$CXXCPP $CPPFLAGS'
5190
5996
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5191
5997
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5199
6005
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5200
6006
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5201
6007
if test -n "$ac_tool_prefix"; then
5202
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
6008
  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
5203
6009
  do
5204
6010
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5205
6011
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5206
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5207
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6012
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6013
$as_echo_n "checking for $ac_word... " >&6; }
5208
6014
if test "${ac_cv_prog_F77+set}" = set; then
5209
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6015
  $as_echo_n "(cached) " >&6
5210
6016
else
5211
6017
  if test -n "$F77"; then
5212
6018
  ac_cv_prog_F77="$F77" # Let the user override the test.
5217
6023
  IFS=$as_save_IFS
5218
6024
  test -z "$as_dir" && as_dir=.
5219
6025
  for ac_exec_ext in '' $ac_executable_extensions; do
5220
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6026
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5221
6027
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5222
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6028
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5223
6029
    break 2
5224
6030
  fi
5225
6031
done
5226
6032
done
 
6033
IFS=$as_save_IFS
5227
6034
 
5228
6035
fi
5229
6036
fi
5230
6037
F77=$ac_cv_prog_F77
5231
6038
if test -n "$F77"; then
5232
 
  echo "$as_me:$LINENO: result: $F77" >&5
5233
 
echo "${ECHO_T}$F77" >&6
 
6039
  { $as_echo "$as_me:$LINENO: result: $F77" >&5
 
6040
$as_echo "$F77" >&6; }
5234
6041
else
5235
 
  echo "$as_me:$LINENO: result: no" >&5
5236
 
echo "${ECHO_T}no" >&6
 
6042
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6043
$as_echo "no" >&6; }
5237
6044
fi
5238
6045
 
 
6046
 
5239
6047
    test -n "$F77" && break
5240
6048
  done
5241
6049
fi
5242
6050
if test -z "$F77"; then
5243
6051
  ac_ct_F77=$F77
5244
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
6052
  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
5245
6053
do
5246
6054
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5247
6055
set dummy $ac_prog; ac_word=$2
5248
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5249
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6056
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6057
$as_echo_n "checking for $ac_word... " >&6; }
5250
6058
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5251
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6059
  $as_echo_n "(cached) " >&6
5252
6060
else
5253
6061
  if test -n "$ac_ct_F77"; then
5254
6062
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5259
6067
  IFS=$as_save_IFS
5260
6068
  test -z "$as_dir" && as_dir=.
5261
6069
  for ac_exec_ext in '' $ac_executable_extensions; do
5262
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6070
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5263
6071
    ac_cv_prog_ac_ct_F77="$ac_prog"
5264
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6072
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5265
6073
    break 2
5266
6074
  fi
5267
6075
done
5268
6076
done
 
6077
IFS=$as_save_IFS
5269
6078
 
5270
6079
fi
5271
6080
fi
5272
6081
ac_ct_F77=$ac_cv_prog_ac_ct_F77
5273
6082
if test -n "$ac_ct_F77"; then
5274
 
  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5275
 
echo "${ECHO_T}$ac_ct_F77" >&6
 
6083
  { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
6084
$as_echo "$ac_ct_F77" >&6; }
5276
6085
else
5277
 
  echo "$as_me:$LINENO: result: no" >&5
5278
 
echo "${ECHO_T}no" >&6
 
6086
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6087
$as_echo "no" >&6; }
5279
6088
fi
5280
6089
 
 
6090
 
5281
6091
  test -n "$ac_ct_F77" && break
5282
6092
done
5283
6093
 
5284
 
  F77=$ac_ct_F77
 
6094
  if test "x$ac_ct_F77" = x; then
 
6095
    F77=""
 
6096
  else
 
6097
    case $cross_compiling:$ac_tool_warned in
 
6098
yes:)
 
6099
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6100
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6101
ac_tool_warned=yes ;;
 
6102
esac
 
6103
    F77=$ac_ct_F77
 
6104
  fi
5285
6105
fi
5286
6106
 
5287
6107
 
5288
6108
# Provide some information about the compiler.
5289
 
echo "$as_me:5289:" \
5290
 
     "checking for Fortran 77 compiler version" >&5
5291
 
ac_compiler=`set X $ac_compile; echo $2`
5292
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5293
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
5294
 
  ac_status=$?
5295
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5296
 
  (exit $ac_status); }
5297
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5298
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
5299
 
  ac_status=$?
5300
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5301
 
  (exit $ac_status); }
5302
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5303
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
5304
 
  ac_status=$?
5305
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6109
$as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
 
6110
set X $ac_compile
 
6111
ac_compiler=$2
 
6112
{ (ac_try="$ac_compiler --version >&5"
 
6113
case "(($ac_try" in
 
6114
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6115
  *) ac_try_echo=$ac_try;;
 
6116
esac
 
6117
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6118
$as_echo "$ac_try_echo") >&5
 
6119
  (eval "$ac_compiler --version >&5") 2>&5
 
6120
  ac_status=$?
 
6121
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6122
  (exit $ac_status); }
 
6123
{ (ac_try="$ac_compiler -v >&5"
 
6124
case "(($ac_try" in
 
6125
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6126
  *) ac_try_echo=$ac_try;;
 
6127
esac
 
6128
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6129
$as_echo "$ac_try_echo") >&5
 
6130
  (eval "$ac_compiler -v >&5") 2>&5
 
6131
  ac_status=$?
 
6132
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6133
  (exit $ac_status); }
 
6134
{ (ac_try="$ac_compiler -V >&5"
 
6135
case "(($ac_try" in
 
6136
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6137
  *) ac_try_echo=$ac_try;;
 
6138
esac
 
6139
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6140
$as_echo "$ac_try_echo") >&5
 
6141
  (eval "$ac_compiler -V >&5") 2>&5
 
6142
  ac_status=$?
 
6143
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5306
6144
  (exit $ac_status); }
5307
6145
rm -f a.out
5308
6146
 
5310
6148
# input file.  (Note that this only needs to work for GNU compilers.)
5311
6149
ac_save_ext=$ac_ext
5312
6150
ac_ext=F
5313
 
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5314
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
 
6151
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
6152
$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
5315
6153
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5316
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6154
  $as_echo_n "(cached) " >&6
5317
6155
else
5318
6156
  cat >conftest.$ac_ext <<_ACEOF
5319
6157
      program main
5324
6162
      end
5325
6163
_ACEOF
5326
6164
rm -f conftest.$ac_objext
5327
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5328
 
  (eval $ac_compile) 2>conftest.er1
 
6165
if { (ac_try="$ac_compile"
 
6166
case "(($ac_try" in
 
6167
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6168
  *) ac_try_echo=$ac_try;;
 
6169
esac
 
6170
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6171
$as_echo "$ac_try_echo") >&5
 
6172
  (eval "$ac_compile") 2>conftest.er1
5329
6173
  ac_status=$?
5330
6174
  grep -v '^ *+' conftest.er1 >conftest.err
5331
6175
  rm -f conftest.er1
5332
6176
  cat conftest.err >&5
5333
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5334
 
  (exit $ac_status); } &&
5335
 
         { ac_try='test -z "$ac_f77_werror_flag"
5336
 
                         || test ! -s conftest.err'
5337
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5338
 
  (eval $ac_try) 2>&5
5339
 
  ac_status=$?
5340
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5341
 
  (exit $ac_status); }; } &&
5342
 
         { ac_try='test -s conftest.$ac_objext'
5343
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5344
 
  (eval $ac_try) 2>&5
5345
 
  ac_status=$?
5346
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5347
 
  (exit $ac_status); }; }; then
 
6177
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6178
  (exit $ac_status); } && {
 
6179
         test -z "$ac_f77_werror_flag" ||
 
6180
         test ! -s conftest.err
 
6181
       } && test -s conftest.$ac_objext; then
5348
6182
  ac_compiler_gnu=yes
5349
6183
else
5350
 
  echo "$as_me: failed program was:" >&5
 
6184
  $as_echo "$as_me: failed program was:" >&5
5351
6185
sed 's/^/| /' conftest.$ac_ext >&5
5352
6186
 
5353
 
ac_compiler_gnu=no
 
6187
        ac_compiler_gnu=no
5354
6188
fi
5355
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
6189
 
 
6190
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5356
6191
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5357
6192
 
5358
6193
fi
5359
 
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5360
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
 
6194
{ $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
6195
$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
5361
6196
ac_ext=$ac_save_ext
5362
6197
ac_test_FFLAGS=${FFLAGS+set}
5363
6198
ac_save_FFLAGS=$FFLAGS
5364
6199
FFLAGS=
5365
 
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5366
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
 
6200
{ $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
6201
$as_echo_n "checking whether $F77 accepts -g... " >&6; }
5367
6202
if test "${ac_cv_prog_f77_g+set}" = set; then
5368
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6203
  $as_echo_n "(cached) " >&6
5369
6204
else
5370
6205
  FFLAGS=-g
5371
6206
cat >conftest.$ac_ext <<_ACEOF
5374
6209
      end
5375
6210
_ACEOF
5376
6211
rm -f conftest.$ac_objext
5377
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5378
 
  (eval $ac_compile) 2>conftest.er1
 
6212
if { (ac_try="$ac_compile"
 
6213
case "(($ac_try" in
 
6214
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6215
  *) ac_try_echo=$ac_try;;
 
6216
esac
 
6217
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6218
$as_echo "$ac_try_echo") >&5
 
6219
  (eval "$ac_compile") 2>conftest.er1
5379
6220
  ac_status=$?
5380
6221
  grep -v '^ *+' conftest.er1 >conftest.err
5381
6222
  rm -f conftest.er1
5382
6223
  cat conftest.err >&5
5383
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5384
 
  (exit $ac_status); } &&
5385
 
         { ac_try='test -z "$ac_f77_werror_flag"
5386
 
                         || test ! -s conftest.err'
5387
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5388
 
  (eval $ac_try) 2>&5
5389
 
  ac_status=$?
5390
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5391
 
  (exit $ac_status); }; } &&
5392
 
         { ac_try='test -s conftest.$ac_objext'
5393
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5394
 
  (eval $ac_try) 2>&5
5395
 
  ac_status=$?
5396
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5397
 
  (exit $ac_status); }; }; then
 
6224
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6225
  (exit $ac_status); } && {
 
6226
         test -z "$ac_f77_werror_flag" ||
 
6227
         test ! -s conftest.err
 
6228
       } && test -s conftest.$ac_objext; then
5398
6229
  ac_cv_prog_f77_g=yes
5399
6230
else
5400
 
  echo "$as_me: failed program was:" >&5
 
6231
  $as_echo "$as_me: failed program was:" >&5
5401
6232
sed 's/^/| /' conftest.$ac_ext >&5
5402
6233
 
5403
 
ac_cv_prog_f77_g=no
5404
 
fi
5405
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5406
 
 
5407
 
fi
5408
 
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5409
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
 
6234
        ac_cv_prog_f77_g=no
 
6235
fi
 
6236
 
 
6237
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6238
 
 
6239
fi
 
6240
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
6241
$as_echo "$ac_cv_prog_f77_g" >&6; }
5410
6242
if test "$ac_test_FFLAGS" = set; then
5411
6243
  FFLAGS=$ac_save_FFLAGS
5412
6244
elif test $ac_cv_prog_f77_g = yes; then
5423
6255
  fi
5424
6256
fi
5425
6257
 
5426
 
G77=`test $ac_compiler_gnu = yes && echo yes`
 
6258
if test $ac_compiler_gnu = yes; then
 
6259
  G77=yes
 
6260
else
 
6261
  G77=
 
6262
fi
5427
6263
ac_ext=c
5428
6264
ac_cpp='$CPP $CPPFLAGS'
5429
6265
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5433
6269
 
5434
6270
 
5435
6271
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5436
 
 
5437
6272
# find the maximum length of command line arguments
5438
 
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5439
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
 
6273
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
6274
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5440
6275
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5441
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6276
  $as_echo_n "(cached) " >&6
5442
6277
else
5443
6278
    i=0
5444
6279
  teststring="ABCD"
5520
6355
    fi
5521
6356
    ;;
5522
6357
  *)
5523
 
    # If test is not a shell built-in, we'll probably end up computing a
5524
 
    # maximum length that is only half of the actual maximum length, but
5525
 
    # we can't tell.
5526
 
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5527
 
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 
6358
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
6359
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
6360
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6361
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6362
    else
 
6363
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
6364
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5528
6365
               = "XX$teststring") >/dev/null 2>&1 &&
5529
 
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
5530
 
            lt_cv_sys_max_cmd_len=$new_result &&
5531
 
            test $i != 17 # 1/2 MB should be enough
5532
 
    do
5533
 
      i=`expr $i + 1`
5534
 
      teststring=$teststring$teststring
5535
 
    done
5536
 
    teststring=
5537
 
    # Add a significant safety factor because C++ compilers can tack on massive
5538
 
    # amounts of additional arguments before passing them to the linker.
5539
 
    # It appears as though 1/2 is a usable value.
5540
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6366
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
 
6367
              lt_cv_sys_max_cmd_len=$new_result &&
 
6368
              test $i != 17 # 1/2 MB should be enough
 
6369
      do
 
6370
        i=`expr $i + 1`
 
6371
        teststring=$teststring$teststring
 
6372
      done
 
6373
      teststring=
 
6374
      # Add a significant safety factor because C++ compilers can tack on massive
 
6375
      # amounts of additional arguments before passing them to the linker.
 
6376
      # It appears as though 1/2 is a usable value.
 
6377
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6378
    fi
5541
6379
    ;;
5542
6380
  esac
5543
6381
 
5544
6382
fi
5545
6383
 
5546
6384
if test -n $lt_cv_sys_max_cmd_len ; then
5547
 
  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5548
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
 
6385
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
6386
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5549
6387
else
5550
 
  echo "$as_me:$LINENO: result: none" >&5
5551
 
echo "${ECHO_T}none" >&6
 
6388
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
6389
$as_echo "none" >&6; }
5552
6390
fi
5553
6391
 
5554
6392
 
5555
6393
 
5556
6394
 
 
6395
 
5557
6396
# Check for command to grab the raw symbol name followed by C symbol from nm.
5558
 
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5559
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
 
6397
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6398
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5560
6399
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5561
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6400
  $as_echo_n "(cached) " >&6
5562
6401
else
5563
6402
 
5564
6403
# These are sane defaults that work on at least a few old systems.
5591
6430
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5592
6431
  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'"
5593
6432
  ;;
5594
 
linux*)
 
6433
linux* | k*bsd*-gnu)
5595
6434
  if test "$host_cpu" = ia64; then
5596
6435
    symcode='[ABCDGIRSTW]'
5597
6436
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5663
6502
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5664
6503
  (eval $ac_compile) 2>&5
5665
6504
  ac_status=$?
5666
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6505
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5667
6506
  (exit $ac_status); }; then
5668
6507
    # Now try to grab the symbols.
5669
6508
    nlist=conftest.nm
5670
6509
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5671
6510
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5672
6511
  ac_status=$?
5673
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6512
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5674
6513
  (exit $ac_status); } && test -s "$nlist"; then
5675
6514
      # Try sorting and uniquifying the output.
5676
6515
      if sort "$nlist" | uniq > "$nlist"T; then
5725
6564
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5726
6565
  (eval $ac_link) 2>&5
5727
6566
  ac_status=$?
5728
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6567
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5729
6568
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
5730
6569
            pipe_works=yes
5731
6570
          fi
5744
6583
    echo "$progname: failed program was:" >&5
5745
6584
    cat conftest.$ac_ext >&5
5746
6585
  fi
5747
 
  rm -f conftest* conftst*
 
6586
  rm -rf conftest* conftst*
5748
6587
 
5749
6588
  # Do not use the global_symbol_pipe unless it works.
5750
6589
  if test "$pipe_works" = yes; then
5760
6599
  lt_cv_sys_global_symbol_to_cdecl=
5761
6600
fi
5762
6601
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5763
 
  echo "$as_me:$LINENO: result: failed" >&5
5764
 
echo "${ECHO_T}failed" >&6
 
6602
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
6603
$as_echo "failed" >&6; }
5765
6604
else
5766
 
  echo "$as_me:$LINENO: result: ok" >&5
5767
 
echo "${ECHO_T}ok" >&6
 
6605
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
6606
$as_echo "ok" >&6; }
5768
6607
fi
5769
6608
 
5770
 
echo "$as_me:$LINENO: checking for objdir" >&5
5771
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 
6609
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
6610
$as_echo_n "checking for objdir... " >&6; }
5772
6611
if test "${lt_cv_objdir+set}" = set; then
5773
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6612
  $as_echo_n "(cached) " >&6
5774
6613
else
5775
6614
  rm -f .libs 2>/dev/null
5776
6615
mkdir .libs 2>/dev/null
5782
6621
fi
5783
6622
rmdir .libs 2>/dev/null
5784
6623
fi
5785
 
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5786
 
echo "${ECHO_T}$lt_cv_objdir" >&6
 
6624
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
6625
$as_echo "$lt_cv_objdir" >&6; }
5787
6626
objdir=$lt_cv_objdir
5788
6627
 
5789
6628
 
5834
6673
if test -n "$ac_tool_prefix"; then
5835
6674
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5836
6675
set dummy ${ac_tool_prefix}ar; ac_word=$2
5837
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5838
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6676
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6677
$as_echo_n "checking for $ac_word... " >&6; }
5839
6678
if test "${ac_cv_prog_AR+set}" = set; then
5840
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6679
  $as_echo_n "(cached) " >&6
5841
6680
else
5842
6681
  if test -n "$AR"; then
5843
6682
  ac_cv_prog_AR="$AR" # Let the user override the test.
5848
6687
  IFS=$as_save_IFS
5849
6688
  test -z "$as_dir" && as_dir=.
5850
6689
  for ac_exec_ext in '' $ac_executable_extensions; do
5851
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6690
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5852
6691
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5853
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6692
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5854
6693
    break 2
5855
6694
  fi
5856
6695
done
5857
6696
done
 
6697
IFS=$as_save_IFS
5858
6698
 
5859
6699
fi
5860
6700
fi
5861
6701
AR=$ac_cv_prog_AR
5862
6702
if test -n "$AR"; then
5863
 
  echo "$as_me:$LINENO: result: $AR" >&5
5864
 
echo "${ECHO_T}$AR" >&6
 
6703
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
6704
$as_echo "$AR" >&6; }
5865
6705
else
5866
 
  echo "$as_me:$LINENO: result: no" >&5
5867
 
echo "${ECHO_T}no" >&6
 
6706
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6707
$as_echo "no" >&6; }
5868
6708
fi
 
6709
 
5869
6710
 
5870
6711
fi
5871
6712
if test -z "$ac_cv_prog_AR"; then
5872
6713
  ac_ct_AR=$AR
5873
6714
  # Extract the first word of "ar", so it can be a program name with args.
5874
6715
set dummy ar; ac_word=$2
5875
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5876
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6716
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6717
$as_echo_n "checking for $ac_word... " >&6; }
5877
6718
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5878
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6719
  $as_echo_n "(cached) " >&6
5879
6720
else
5880
6721
  if test -n "$ac_ct_AR"; then
5881
6722
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5886
6727
  IFS=$as_save_IFS
5887
6728
  test -z "$as_dir" && as_dir=.
5888
6729
  for ac_exec_ext in '' $ac_executable_extensions; do
5889
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6730
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5890
6731
    ac_cv_prog_ac_ct_AR="ar"
5891
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6732
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5892
6733
    break 2
5893
6734
  fi
5894
6735
done
5895
6736
done
 
6737
IFS=$as_save_IFS
5896
6738
 
5897
 
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5898
6739
fi
5899
6740
fi
5900
6741
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5901
6742
if test -n "$ac_ct_AR"; then
5902
 
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5903
 
echo "${ECHO_T}$ac_ct_AR" >&6
 
6743
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
6744
$as_echo "$ac_ct_AR" >&6; }
5904
6745
else
5905
 
  echo "$as_me:$LINENO: result: no" >&5
5906
 
echo "${ECHO_T}no" >&6
 
6746
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6747
$as_echo "no" >&6; }
5907
6748
fi
5908
6749
 
5909
 
  AR=$ac_ct_AR
 
6750
  if test "x$ac_ct_AR" = x; then
 
6751
    AR="false"
 
6752
  else
 
6753
    case $cross_compiling:$ac_tool_warned in
 
6754
yes:)
 
6755
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6756
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6757
ac_tool_warned=yes ;;
 
6758
esac
 
6759
    AR=$ac_ct_AR
 
6760
  fi
5910
6761
else
5911
6762
  AR="$ac_cv_prog_AR"
5912
6763
fi
5914
6765
if test -n "$ac_tool_prefix"; then
5915
6766
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5916
6767
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5917
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5918
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6768
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6769
$as_echo_n "checking for $ac_word... " >&6; }
5919
6770
if test "${ac_cv_prog_RANLIB+set}" = set; then
5920
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6771
  $as_echo_n "(cached) " >&6
5921
6772
else
5922
6773
  if test -n "$RANLIB"; then
5923
6774
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5928
6779
  IFS=$as_save_IFS
5929
6780
  test -z "$as_dir" && as_dir=.
5930
6781
  for ac_exec_ext in '' $ac_executable_extensions; do
5931
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6782
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5932
6783
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5933
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6784
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5934
6785
    break 2
5935
6786
  fi
5936
6787
done
5937
6788
done
 
6789
IFS=$as_save_IFS
5938
6790
 
5939
6791
fi
5940
6792
fi
5941
6793
RANLIB=$ac_cv_prog_RANLIB
5942
6794
if test -n "$RANLIB"; then
5943
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
5944
 
echo "${ECHO_T}$RANLIB" >&6
 
6795
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
6796
$as_echo "$RANLIB" >&6; }
5945
6797
else
5946
 
  echo "$as_me:$LINENO: result: no" >&5
5947
 
echo "${ECHO_T}no" >&6
 
6798
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6799
$as_echo "no" >&6; }
5948
6800
fi
 
6801
 
5949
6802
 
5950
6803
fi
5951
6804
if test -z "$ac_cv_prog_RANLIB"; then
5952
6805
  ac_ct_RANLIB=$RANLIB
5953
6806
  # Extract the first word of "ranlib", so it can be a program name with args.
5954
6807
set dummy ranlib; ac_word=$2
5955
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5956
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6808
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6809
$as_echo_n "checking for $ac_word... " >&6; }
5957
6810
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5958
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6811
  $as_echo_n "(cached) " >&6
5959
6812
else
5960
6813
  if test -n "$ac_ct_RANLIB"; then
5961
6814
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5966
6819
  IFS=$as_save_IFS
5967
6820
  test -z "$as_dir" && as_dir=.
5968
6821
  for ac_exec_ext in '' $ac_executable_extensions; do
5969
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6822
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5970
6823
    ac_cv_prog_ac_ct_RANLIB="ranlib"
5971
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6824
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5972
6825
    break 2
5973
6826
  fi
5974
6827
done
5975
6828
done
 
6829
IFS=$as_save_IFS
5976
6830
 
5977
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5978
6831
fi
5979
6832
fi
5980
6833
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5981
6834
if test -n "$ac_ct_RANLIB"; then
5982
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5983
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
6835
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
6836
$as_echo "$ac_ct_RANLIB" >&6; }
5984
6837
else
5985
 
  echo "$as_me:$LINENO: result: no" >&5
5986
 
echo "${ECHO_T}no" >&6
 
6838
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6839
$as_echo "no" >&6; }
5987
6840
fi
5988
6841
 
5989
 
  RANLIB=$ac_ct_RANLIB
 
6842
  if test "x$ac_ct_RANLIB" = x; then
 
6843
    RANLIB=":"
 
6844
  else
 
6845
    case $cross_compiling:$ac_tool_warned in
 
6846
yes:)
 
6847
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6848
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6849
ac_tool_warned=yes ;;
 
6850
esac
 
6851
    RANLIB=$ac_ct_RANLIB
 
6852
  fi
5990
6853
else
5991
6854
  RANLIB="$ac_cv_prog_RANLIB"
5992
6855
fi
5994
6857
if test -n "$ac_tool_prefix"; then
5995
6858
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5996
6859
set dummy ${ac_tool_prefix}strip; ac_word=$2
5997
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5998
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6860
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6861
$as_echo_n "checking for $ac_word... " >&6; }
5999
6862
if test "${ac_cv_prog_STRIP+set}" = set; then
6000
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6863
  $as_echo_n "(cached) " >&6
6001
6864
else
6002
6865
  if test -n "$STRIP"; then
6003
6866
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6008
6871
  IFS=$as_save_IFS
6009
6872
  test -z "$as_dir" && as_dir=.
6010
6873
  for ac_exec_ext in '' $ac_executable_extensions; do
6011
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6874
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6012
6875
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6013
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6876
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6014
6877
    break 2
6015
6878
  fi
6016
6879
done
6017
6880
done
 
6881
IFS=$as_save_IFS
6018
6882
 
6019
6883
fi
6020
6884
fi
6021
6885
STRIP=$ac_cv_prog_STRIP
6022
6886
if test -n "$STRIP"; then
6023
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
6024
 
echo "${ECHO_T}$STRIP" >&6
 
6887
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
6888
$as_echo "$STRIP" >&6; }
6025
6889
else
6026
 
  echo "$as_me:$LINENO: result: no" >&5
6027
 
echo "${ECHO_T}no" >&6
 
6890
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6891
$as_echo "no" >&6; }
6028
6892
fi
 
6893
 
6029
6894
 
6030
6895
fi
6031
6896
if test -z "$ac_cv_prog_STRIP"; then
6032
6897
  ac_ct_STRIP=$STRIP
6033
6898
  # Extract the first word of "strip", so it can be a program name with args.
6034
6899
set dummy strip; ac_word=$2
6035
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6036
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6900
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6901
$as_echo_n "checking for $ac_word... " >&6; }
6037
6902
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6038
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6903
  $as_echo_n "(cached) " >&6
6039
6904
else
6040
6905
  if test -n "$ac_ct_STRIP"; then
6041
6906
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6046
6911
  IFS=$as_save_IFS
6047
6912
  test -z "$as_dir" && as_dir=.
6048
6913
  for ac_exec_ext in '' $ac_executable_extensions; do
6049
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6914
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6050
6915
    ac_cv_prog_ac_ct_STRIP="strip"
6051
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6916
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6052
6917
    break 2
6053
6918
  fi
6054
6919
done
6055
6920
done
 
6921
IFS=$as_save_IFS
6056
6922
 
6057
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6058
6923
fi
6059
6924
fi
6060
6925
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6061
6926
if test -n "$ac_ct_STRIP"; then
6062
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6063
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
6927
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
6928
$as_echo "$ac_ct_STRIP" >&6; }
6064
6929
else
6065
 
  echo "$as_me:$LINENO: result: no" >&5
6066
 
echo "${ECHO_T}no" >&6
 
6930
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6931
$as_echo "no" >&6; }
6067
6932
fi
6068
6933
 
6069
 
  STRIP=$ac_ct_STRIP
 
6934
  if test "x$ac_ct_STRIP" = x; then
 
6935
    STRIP=":"
 
6936
  else
 
6937
    case $cross_compiling:$ac_tool_warned in
 
6938
yes:)
 
6939
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6940
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6941
ac_tool_warned=yes ;;
 
6942
esac
 
6943
    STRIP=$ac_ct_STRIP
 
6944
  fi
6070
6945
else
6071
6946
  STRIP="$ac_cv_prog_STRIP"
6072
6947
fi
6094
6969
test -z "$ac_objext" && ac_objext=o
6095
6970
 
6096
6971
# Determine commands to create old-style static archives.
6097
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
 
6972
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6098
6973
old_postinstall_cmds='chmod 644 $oldlib'
6099
6974
old_postuninstall_cmds=
6100
6975
 
6125
7000
case $deplibs_check_method in
6126
7001
file_magic*)
6127
7002
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6128
 
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6129
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 
7003
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
7004
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6130
7005
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6131
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7006
  $as_echo_n "(cached) " >&6
6132
7007
else
6133
7008
  case $MAGIC_CMD in
6134
7009
[\\/*] |  ?:[\\/]*)
6178
7053
 
6179
7054
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6180
7055
if test -n "$MAGIC_CMD"; then
6181
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6182
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
7056
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7057
$as_echo "$MAGIC_CMD" >&6; }
6183
7058
else
6184
 
  echo "$as_me:$LINENO: result: no" >&5
6185
 
echo "${ECHO_T}no" >&6
 
7059
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7060
$as_echo "no" >&6; }
6186
7061
fi
6187
7062
 
6188
7063
if test -z "$lt_cv_path_MAGIC_CMD"; then
6189
7064
  if test -n "$ac_tool_prefix"; then
6190
 
    echo "$as_me:$LINENO: checking for file" >&5
6191
 
echo $ECHO_N "checking for file... $ECHO_C" >&6
 
7065
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
7066
$as_echo_n "checking for file... " >&6; }
6192
7067
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6193
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7068
  $as_echo_n "(cached) " >&6
6194
7069
else
6195
7070
  case $MAGIC_CMD in
6196
7071
[\\/*] |  ?:[\\/]*)
6240
7115
 
6241
7116
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6242
7117
if test -n "$MAGIC_CMD"; then
6243
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6244
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
7118
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7119
$as_echo "$MAGIC_CMD" >&6; }
6245
7120
else
6246
 
  echo "$as_me:$LINENO: result: no" >&5
6247
 
echo "${ECHO_T}no" >&6
 
7121
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7122
$as_echo "no" >&6; }
6248
7123
fi
6249
7124
 
6250
7125
  else
6256
7131
  ;;
6257
7132
esac
6258
7133
 
 
7134
 
 
7135
  case $host_os in
 
7136
    rhapsody* | darwin*)
 
7137
    if test -n "$ac_tool_prefix"; then
 
7138
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
7139
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
7140
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7141
$as_echo_n "checking for $ac_word... " >&6; }
 
7142
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
7143
  $as_echo_n "(cached) " >&6
 
7144
else
 
7145
  if test -n "$DSYMUTIL"; then
 
7146
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
7147
else
 
7148
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7149
for as_dir in $PATH
 
7150
do
 
7151
  IFS=$as_save_IFS
 
7152
  test -z "$as_dir" && as_dir=.
 
7153
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7154
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7155
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
7156
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7157
    break 2
 
7158
  fi
 
7159
done
 
7160
done
 
7161
IFS=$as_save_IFS
 
7162
 
 
7163
fi
 
7164
fi
 
7165
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
7166
if test -n "$DSYMUTIL"; then
 
7167
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
7168
$as_echo "$DSYMUTIL" >&6; }
 
7169
else
 
7170
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7171
$as_echo "no" >&6; }
 
7172
fi
 
7173
 
 
7174
 
 
7175
fi
 
7176
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
7177
  ac_ct_DSYMUTIL=$DSYMUTIL
 
7178
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
7179
set dummy dsymutil; ac_word=$2
 
7180
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7181
$as_echo_n "checking for $ac_word... " >&6; }
 
7182
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
7183
  $as_echo_n "(cached) " >&6
 
7184
else
 
7185
  if test -n "$ac_ct_DSYMUTIL"; then
 
7186
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
7187
else
 
7188
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7189
for as_dir in $PATH
 
7190
do
 
7191
  IFS=$as_save_IFS
 
7192
  test -z "$as_dir" && as_dir=.
 
7193
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7194
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7195
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
7196
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7197
    break 2
 
7198
  fi
 
7199
done
 
7200
done
 
7201
IFS=$as_save_IFS
 
7202
 
 
7203
fi
 
7204
fi
 
7205
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
7206
if test -n "$ac_ct_DSYMUTIL"; then
 
7207
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
7208
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
7209
else
 
7210
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7211
$as_echo "no" >&6; }
 
7212
fi
 
7213
 
 
7214
  if test "x$ac_ct_DSYMUTIL" = x; then
 
7215
    DSYMUTIL=":"
 
7216
  else
 
7217
    case $cross_compiling:$ac_tool_warned in
 
7218
yes:)
 
7219
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7220
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7221
ac_tool_warned=yes ;;
 
7222
esac
 
7223
    DSYMUTIL=$ac_ct_DSYMUTIL
 
7224
  fi
 
7225
else
 
7226
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
7227
fi
 
7228
 
 
7229
    if test -n "$ac_tool_prefix"; then
 
7230
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
7231
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
7232
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7233
$as_echo_n "checking for $ac_word... " >&6; }
 
7234
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
7235
  $as_echo_n "(cached) " >&6
 
7236
else
 
7237
  if test -n "$NMEDIT"; then
 
7238
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
7239
else
 
7240
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7241
for as_dir in $PATH
 
7242
do
 
7243
  IFS=$as_save_IFS
 
7244
  test -z "$as_dir" && as_dir=.
 
7245
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7246
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7247
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
7248
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7249
    break 2
 
7250
  fi
 
7251
done
 
7252
done
 
7253
IFS=$as_save_IFS
 
7254
 
 
7255
fi
 
7256
fi
 
7257
NMEDIT=$ac_cv_prog_NMEDIT
 
7258
if test -n "$NMEDIT"; then
 
7259
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
7260
$as_echo "$NMEDIT" >&6; }
 
7261
else
 
7262
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7263
$as_echo "no" >&6; }
 
7264
fi
 
7265
 
 
7266
 
 
7267
fi
 
7268
if test -z "$ac_cv_prog_NMEDIT"; then
 
7269
  ac_ct_NMEDIT=$NMEDIT
 
7270
  # Extract the first word of "nmedit", so it can be a program name with args.
 
7271
set dummy nmedit; ac_word=$2
 
7272
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7273
$as_echo_n "checking for $ac_word... " >&6; }
 
7274
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
7275
  $as_echo_n "(cached) " >&6
 
7276
else
 
7277
  if test -n "$ac_ct_NMEDIT"; then
 
7278
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
7279
else
 
7280
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7281
for as_dir in $PATH
 
7282
do
 
7283
  IFS=$as_save_IFS
 
7284
  test -z "$as_dir" && as_dir=.
 
7285
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7286
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7287
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
7288
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7289
    break 2
 
7290
  fi
 
7291
done
 
7292
done
 
7293
IFS=$as_save_IFS
 
7294
 
 
7295
fi
 
7296
fi
 
7297
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
7298
if test -n "$ac_ct_NMEDIT"; then
 
7299
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
7300
$as_echo "$ac_ct_NMEDIT" >&6; }
 
7301
else
 
7302
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7303
$as_echo "no" >&6; }
 
7304
fi
 
7305
 
 
7306
  if test "x$ac_ct_NMEDIT" = x; then
 
7307
    NMEDIT=":"
 
7308
  else
 
7309
    case $cross_compiling:$ac_tool_warned in
 
7310
yes:)
 
7311
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7312
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7313
ac_tool_warned=yes ;;
 
7314
esac
 
7315
    NMEDIT=$ac_ct_NMEDIT
 
7316
  fi
 
7317
else
 
7318
  NMEDIT="$ac_cv_prog_NMEDIT"
 
7319
fi
 
7320
 
 
7321
 
 
7322
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
7323
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
7324
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
7325
  $as_echo_n "(cached) " >&6
 
7326
else
 
7327
  lt_cv_apple_cc_single_mod=no
 
7328
      if test -z "${LT_MULTI_MODULE}"; then
 
7329
   # By default we will add the -single_module flag. You can override
 
7330
   # by either setting the environment variable LT_MULTI_MODULE
 
7331
   # non-empty at configure time, or by adding -multi_module to the
 
7332
   # link flags.
 
7333
   echo "int foo(void){return 1;}" > conftest.c
 
7334
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7335
     -dynamiclib ${wl}-single_module conftest.c
 
7336
   if test -f libconftest.dylib; then
 
7337
     lt_cv_apple_cc_single_mod=yes
 
7338
     rm -rf libconftest.dylib*
 
7339
   fi
 
7340
   rm conftest.c
 
7341
      fi
 
7342
fi
 
7343
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
7344
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
7345
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
7346
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
7347
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
7348
  $as_echo_n "(cached) " >&6
 
7349
else
 
7350
  lt_cv_ld_exported_symbols_list=no
 
7351
      save_LDFLAGS=$LDFLAGS
 
7352
      echo "_main" > conftest.sym
 
7353
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
7354
      cat >conftest.$ac_ext <<_ACEOF
 
7355
/* confdefs.h.  */
 
7356
_ACEOF
 
7357
cat confdefs.h >>conftest.$ac_ext
 
7358
cat >>conftest.$ac_ext <<_ACEOF
 
7359
/* end confdefs.h.  */
 
7360
 
 
7361
int
 
7362
main ()
 
7363
{
 
7364
 
 
7365
  ;
 
7366
  return 0;
 
7367
}
 
7368
_ACEOF
 
7369
rm -f conftest.$ac_objext conftest$ac_exeext
 
7370
if { (ac_try="$ac_link"
 
7371
case "(($ac_try" in
 
7372
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7373
  *) ac_try_echo=$ac_try;;
 
7374
esac
 
7375
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7376
$as_echo "$ac_try_echo") >&5
 
7377
  (eval "$ac_link") 2>conftest.er1
 
7378
  ac_status=$?
 
7379
  grep -v '^ *+' conftest.er1 >conftest.err
 
7380
  rm -f conftest.er1
 
7381
  cat conftest.err >&5
 
7382
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7383
  (exit $ac_status); } && {
 
7384
         test -z "$ac_c_werror_flag" ||
 
7385
         test ! -s conftest.err
 
7386
       } && test -s conftest$ac_exeext && {
 
7387
         test "$cross_compiling" = yes ||
 
7388
         $as_test_x conftest$ac_exeext
 
7389
       }; then
 
7390
  lt_cv_ld_exported_symbols_list=yes
 
7391
else
 
7392
  $as_echo "$as_me: failed program was:" >&5
 
7393
sed 's/^/| /' conftest.$ac_ext >&5
 
7394
 
 
7395
        lt_cv_ld_exported_symbols_list=no
 
7396
fi
 
7397
 
 
7398
rm -rf conftest.dSYM
 
7399
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
7400
      conftest$ac_exeext conftest.$ac_ext
 
7401
   LDFLAGS="$save_LDFLAGS"
 
7402
 
 
7403
fi
 
7404
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
7405
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7406
    case $host_os in
 
7407
    rhapsody* | darwin1.[0123])
 
7408
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
7409
    darwin1.*)
 
7410
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7411
    darwin*)
 
7412
      # if running on 10.5 or later, the deployment target defaults
 
7413
      # to the OS version, if on x86, and 10.4, the deployment
 
7414
      # target defaults to 10.4. Don't you love it?
 
7415
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
7416
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
7417
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7418
   10.[012]*)
 
7419
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7420
   10.*)
 
7421
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7422
      esac
 
7423
    ;;
 
7424
  esac
 
7425
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
7426
      _lt_dar_single_mod='$single_module'
 
7427
    fi
 
7428
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
7429
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
7430
    else
 
7431
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
7432
    fi
 
7433
    if test "$DSYMUTIL" != ":"; then
 
7434
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
7435
    else
 
7436
      _lt_dsymutil=
 
7437
    fi
 
7438
    ;;
 
7439
  esac
 
7440
 
 
7441
 
6259
7442
enable_dlopen=no
6260
7443
enable_win32_dll=no
6261
7444
 
6262
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
7445
# Check whether --enable-libtool-lock was given.
6263
7446
if test "${enable_libtool_lock+set}" = set; then
6264
 
  enableval="$enable_libtool_lock"
 
7447
  enableval=$enable_libtool_lock;
 
7448
fi
6265
7449
 
6266
 
fi;
6267
7450
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6268
7451
 
6269
7452
 
6270
 
# Check whether --with-pic or --without-pic was given.
 
7453
# Check whether --with-pic was given.
6271
7454
if test "${with_pic+set}" = set; then
6272
 
  withval="$with_pic"
6273
 
  pic_mode="$withval"
 
7455
  withval=$with_pic; pic_mode="$withval"
6274
7456
else
6275
7457
  pic_mode=default
6276
 
fi;
 
7458
fi
 
7459
 
6277
7460
test -z "$pic_mode" && pic_mode=default
6278
7461
 
6279
7462
# Use C for the default configuration in the libtool script
6294
7477
objext=$objext
6295
7478
 
6296
7479
# Code to be used in simple compile tests
6297
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
7480
lt_simple_compile_test_code="int some_variable = 0;"
6298
7481
 
6299
7482
# Code to be used in simple link tests
6300
 
lt_simple_link_test_code='int main(){return(0);}\n'
 
7483
lt_simple_link_test_code='int main(){return(0);}'
6301
7484
 
6302
7485
 
6303
7486
# If no C compiler was specified, use CC.
6312
7495
 
6313
7496
# save warnings/boilerplate of simple test code
6314
7497
ac_outfile=conftest.$ac_objext
6315
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
7498
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6316
7499
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6317
7500
_lt_compiler_boilerplate=`cat conftest.err`
6318
7501
$rm conftest*
6319
7502
 
6320
7503
ac_outfile=conftest.$ac_objext
6321
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
7504
echo "$lt_simple_link_test_code" >conftest.$ac_ext
6322
7505
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6323
7506
_lt_linker_boilerplate=`cat conftest.err`
6324
 
$rm conftest*
 
7507
$rm -r conftest*
6325
7508
 
6326
7509
 
6327
7510
 
6331
7514
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6332
7515
 
6333
7516
 
6334
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6335
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
7517
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7518
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
6336
7519
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6337
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7520
  $as_echo_n "(cached) " >&6
6338
7521
else
6339
7522
  lt_cv_prog_compiler_rtti_exceptions=no
6340
7523
  ac_outfile=conftest.$ac_objext
6341
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7524
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6342
7525
   lt_compiler_flag="-fno-rtti -fno-exceptions"
6343
7526
   # Insert the option either (1) after the last *FLAGS variable, or
6344
7527
   # (2) before a word containing "conftest.", or (3) at the end.
6349
7532
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6350
7533
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6351
7534
   -e 's:$: $lt_compiler_flag:'`
6352
 
   (eval echo "\"\$as_me:6352: $lt_compile\"" >&5)
 
7535
   (eval echo "\"\$as_me:7535: $lt_compile\"" >&5)
6353
7536
   (eval "$lt_compile" 2>conftest.err)
6354
7537
   ac_status=$?
6355
7538
   cat conftest.err >&5
6356
 
   echo "$as_me:6356: \$? = $ac_status" >&5
 
7539
   echo "$as_me:7539: \$? = $ac_status" >&5
6357
7540
   if (exit $ac_status) && test -s "$ac_outfile"; then
6358
7541
     # The compiler can only warn and ignore the option if not recognized
6359
7542
     # So say no if there are warnings other than the usual output.
6366
7549
   $rm conftest*
6367
7550
 
6368
7551
fi
6369
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6370
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
7552
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7553
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6371
7554
 
6372
7555
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6373
7556
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6381
7564
lt_prog_compiler_pic=
6382
7565
lt_prog_compiler_static=
6383
7566
 
6384
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6385
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
7567
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
7568
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
6386
7569
 
6387
7570
  if test "$GCC" = yes; then
6388
7571
    lt_prog_compiler_wl='-Wl,'
6404
7587
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6405
7588
      ;;
6406
7589
 
6407
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
7590
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6408
7591
      # PIC is the default for these OSes.
6409
7592
      ;;
6410
7593
 
6411
 
    mingw* | pw32* | os2*)
 
7594
    mingw* | cygwin* | pw32* | os2*)
6412
7595
      # This hack is so that the source file can tell whether it is being
6413
7596
      # built for inclusion in a dll (and should export symbols for example).
 
7597
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
7598
      # (--disable-auto-import) libraries
6414
7599
      lt_prog_compiler_pic='-DDLL_EXPORT'
6415
7600
      ;;
6416
7601
 
6420
7605
      lt_prog_compiler_pic='-fno-common'
6421
7606
      ;;
6422
7607
 
6423
 
    interix3*)
 
7608
    interix[3-9]*)
6424
7609
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6425
7610
      # Instead, we relocate shared libraries at runtime.
6426
7611
      ;;
6478
7663
       esac
6479
7664
       ;;
6480
7665
 
6481
 
    mingw* | pw32* | os2*)
 
7666
    mingw* | cygwin* | pw32* | os2*)
6482
7667
      # This hack is so that the source file can tell whether it is being
6483
7668
      # built for inclusion in a dll (and should export symbols for example).
6484
7669
      lt_prog_compiler_pic='-DDLL_EXPORT'
6511
7696
      lt_prog_compiler_static='-Bstatic'
6512
7697
      ;;
6513
7698
 
6514
 
    linux*)
 
7699
    linux* | k*bsd*-gnu)
6515
7700
      case $cc_basename in
6516
7701
      icc* | ecc*)
6517
7702
        lt_prog_compiler_wl='-Wl,'
6530
7715
        # All Alpha code is PIC.
6531
7716
        lt_prog_compiler_static='-non_shared'
6532
7717
        ;;
 
7718
      *)
 
7719
        case `$CC -V 2>&1 | sed 5q` in
 
7720
        *Sun\ C*)
 
7721
          # Sun C 5.9
 
7722
          lt_prog_compiler_pic='-KPIC'
 
7723
          lt_prog_compiler_static='-Bstatic'
 
7724
          lt_prog_compiler_wl='-Wl,'
 
7725
          ;;
 
7726
        *Sun\ F*)
 
7727
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
7728
          lt_prog_compiler_pic='-KPIC'
 
7729
          lt_prog_compiler_static='-Bstatic'
 
7730
          lt_prog_compiler_wl=''
 
7731
          ;;
 
7732
        esac
 
7733
        ;;
6533
7734
      esac
6534
7735
      ;;
6535
7736
 
6539
7740
      lt_prog_compiler_static='-non_shared'
6540
7741
      ;;
6541
7742
 
 
7743
    rdos*)
 
7744
      lt_prog_compiler_static='-non_shared'
 
7745
      ;;
 
7746
 
6542
7747
    solaris*)
6543
7748
      lt_prog_compiler_pic='-KPIC'
6544
7749
      lt_prog_compiler_static='-Bstatic'
6591
7796
    esac
6592
7797
  fi
6593
7798
 
6594
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6595
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
 
7799
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
7800
$as_echo "$lt_prog_compiler_pic" >&6; }
6596
7801
 
6597
7802
#
6598
7803
# Check to make sure the PIC flag actually works.
6599
7804
#
6600
7805
if test -n "$lt_prog_compiler_pic"; then
6601
7806
 
6602
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6603
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6604
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
6605
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7807
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
7808
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
7809
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 
7810
  $as_echo_n "(cached) " >&6
6606
7811
else
6607
 
  lt_prog_compiler_pic_works=no
 
7812
  lt_cv_prog_compiler_pic_works=no
6608
7813
  ac_outfile=conftest.$ac_objext
6609
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7814
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6610
7815
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6611
7816
   # Insert the option either (1) after the last *FLAGS variable, or
6612
7817
   # (2) before a word containing "conftest.", or (3) at the end.
6617
7822
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6618
7823
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6619
7824
   -e 's:$: $lt_compiler_flag:'`
6620
 
   (eval echo "\"\$as_me:6620: $lt_compile\"" >&5)
 
7825
   (eval echo "\"\$as_me:7825: $lt_compile\"" >&5)
6621
7826
   (eval "$lt_compile" 2>conftest.err)
6622
7827
   ac_status=$?
6623
7828
   cat conftest.err >&5
6624
 
   echo "$as_me:6624: \$? = $ac_status" >&5
 
7829
   echo "$as_me:7829: \$? = $ac_status" >&5
6625
7830
   if (exit $ac_status) && test -s "$ac_outfile"; then
6626
7831
     # The compiler can only warn and ignore the option if not recognized
6627
7832
     # So say no if there are warnings other than the usual output.
6628
7833
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6629
7834
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6630
7835
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6631
 
       lt_prog_compiler_pic_works=yes
 
7836
       lt_cv_prog_compiler_pic_works=yes
6632
7837
     fi
6633
7838
   fi
6634
7839
   $rm conftest*
6635
7840
 
6636
7841
fi
6637
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6638
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
 
7842
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
7843
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
6639
7844
 
6640
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
 
7845
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
6641
7846
    case $lt_prog_compiler_pic in
6642
7847
     "" | " "*) ;;
6643
7848
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6662
7867
# Check to make sure the static flag actually works.
6663
7868
#
6664
7869
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
6665
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6666
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6667
 
if test "${lt_prog_compiler_static_works+set}" = set; then
6668
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7870
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
7871
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
7872
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
7873
  $as_echo_n "(cached) " >&6
6669
7874
else
6670
 
  lt_prog_compiler_static_works=no
 
7875
  lt_cv_prog_compiler_static_works=no
6671
7876
   save_LDFLAGS="$LDFLAGS"
6672
7877
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
6673
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
7878
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
6674
7879
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6675
7880
     # The linker can only warn and ignore the option if not recognized
6676
7881
     # So say no if there are warnings
6680
7885
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
6681
7886
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6682
7887
       if diff conftest.exp conftest.er2 >/dev/null; then
6683
 
         lt_prog_compiler_static_works=yes
 
7888
         lt_cv_prog_compiler_static_works=yes
6684
7889
       fi
6685
7890
     else
6686
 
       lt_prog_compiler_static_works=yes
 
7891
       lt_cv_prog_compiler_static_works=yes
6687
7892
     fi
6688
7893
   fi
6689
 
   $rm conftest*
 
7894
   $rm -r conftest*
6690
7895
   LDFLAGS="$save_LDFLAGS"
6691
7896
 
6692
7897
fi
6693
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6694
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
 
7898
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
7899
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
6695
7900
 
6696
 
if test x"$lt_prog_compiler_static_works" = xyes; then
 
7901
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
6697
7902
    :
6698
7903
else
6699
7904
    lt_prog_compiler_static=
6700
7905
fi
6701
7906
 
6702
7907
 
6703
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6704
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
7908
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
7909
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
6705
7910
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6706
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7911
  $as_echo_n "(cached) " >&6
6707
7912
else
6708
7913
  lt_cv_prog_compiler_c_o=no
6709
7914
   $rm -r conftest 2>/dev/null
6710
7915
   mkdir conftest
6711
7916
   cd conftest
6712
7917
   mkdir out
6713
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7918
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6714
7919
 
6715
7920
   lt_compiler_flag="-o out/conftest2.$ac_objext"
6716
7921
   # Insert the option either (1) after the last *FLAGS variable, or
6721
7926
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6722
7927
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6723
7928
   -e 's:$: $lt_compiler_flag:'`
6724
 
   (eval echo "\"\$as_me:6724: $lt_compile\"" >&5)
 
7929
   (eval echo "\"\$as_me:7929: $lt_compile\"" >&5)
6725
7930
   (eval "$lt_compile" 2>out/conftest.err)
6726
7931
   ac_status=$?
6727
7932
   cat out/conftest.err >&5
6728
 
   echo "$as_me:6728: \$? = $ac_status" >&5
 
7933
   echo "$as_me:7933: \$? = $ac_status" >&5
6729
7934
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
6730
7935
   then
6731
7936
     # The compiler can only warn and ignore the option if not recognized
6747
7952
   $rm conftest*
6748
7953
 
6749
7954
fi
6750
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6751
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 
7955
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
7956
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
6752
7957
 
6753
7958
 
6754
7959
hard_links="nottested"
6755
7960
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6756
7961
  # do not overwrite the value of need_locks provided by the user
6757
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6758
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
7962
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
7963
$as_echo_n "checking if we can lock with hard links... " >&6; }
6759
7964
  hard_links=yes
6760
7965
  $rm conftest*
6761
7966
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6762
7967
  touch conftest.a
6763
7968
  ln conftest.a conftest.b 2>&5 || hard_links=no
6764
7969
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6765
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
6766
 
echo "${ECHO_T}$hard_links" >&6
 
7970
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
7971
$as_echo "$hard_links" >&6; }
6767
7972
  if test "$hard_links" = no; then
6768
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6769
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
7973
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
7974
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6770
7975
    need_locks=warn
6771
7976
  fi
6772
7977
else
6773
7978
  need_locks=no
6774
7979
fi
6775
7980
 
6776
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6777
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
7981
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
7982
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
6778
7983
 
6779
7984
  runpath_var=
6780
7985
  allow_undefined_flag=
6805
8010
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
6806
8011
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6807
8012
  # as well as any symbol that contains `d'.
6808
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
 
8013
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
6809
8014
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6810
8015
  # platforms (ab)use it in PIC code, but their linkers get confused if
6811
8016
  # the symbol is explicitly referenced.  Since portable code cannot
6812
8017
  # rely on this symbol name, it's probably fine to never include it in
6813
8018
  # preloaded symbol tables.
 
8019
  # Exclude shared library initialization/finalization symbols.
6814
8020
  extract_expsyms_cmds=
6815
8021
  # Just being paranoid about ensuring that cc_basename is set.
6816
8022
  for cc_temp in $compiler""; do
6869
8075
 
6870
8076
    # See if GNU ld supports shared libraries.
6871
8077
    case $host_os in
6872
 
    aix3* | aix4* | aix5*)
 
8078
    aix[3-9]*)
6873
8079
      # On AIX/PPC, the GNU linker is very broken
6874
8080
      if test "$host_cpu" != ia64; then
6875
8081
        ld_shlibs=no
6917
8123
      allow_undefined_flag=unsupported
6918
8124
      always_export_symbols=no
6919
8125
      enable_shared_with_static_runtimes=yes
6920
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
8126
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
6921
8127
 
6922
8128
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6923
8129
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6935
8141
      fi
6936
8142
      ;;
6937
8143
 
6938
 
    interix3*)
 
8144
    interix[3-9]*)
6939
8145
      hardcode_direct=no
6940
8146
      hardcode_shlibpath_var=no
6941
8147
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
6950
8156
      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'
6951
8157
      ;;
6952
8158
 
6953
 
    linux*)
 
8159
    gnu* | linux* | k*bsd*-gnu)
6954
8160
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6955
8161
        tmp_addflag=
6956
8162
        case $cc_basename,$host_cpu in
6968
8174
        ifc* | ifort*)                  # Intel Fortran compiler
6969
8175
          tmp_addflag=' -nofor_main' ;;
6970
8176
        esac
6971
 
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8177
        case `$CC -V 2>&1 | sed 5q` in
 
8178
        *Sun\ C*)                       # Sun C 5.9
 
8179
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
8180
          tmp_sharedflag='-G' ;;
 
8181
        *Sun\ F*)                       # Sun Fortran 8.3
 
8182
          tmp_sharedflag='-G' ;;
 
8183
        *)
 
8184
          tmp_sharedflag='-shared' ;;
 
8185
        esac
 
8186
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6972
8187
 
6973
8188
        if test $supports_anon_versioning = yes; then
6974
8189
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
6975
8190
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6976
8191
  $echo "local: *; };" >> $output_objdir/$libname.ver~
6977
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
8192
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6978
8193
        fi
6979
8194
      else
6980
8195
        ld_shlibs=no
7079
8294
      fi
7080
8295
      ;;
7081
8296
 
7082
 
    aix4* | aix5*)
 
8297
    aix[4-9]*)
7083
8298
      if test "$host_cpu" = ia64; then
7084
8299
        # On IA64, the linker does run time linking by default, so we don't
7085
8300
        # have to do anything special.
7099
8314
        # Test if we are trying to use run time linking or normal
7100
8315
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7101
8316
        # need to do runtime linking.
7102
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
8317
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
7103
8318
          for ld_flag in $LDFLAGS; do
7104
8319
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7105
8320
            aix_use_runtimelinking=yes
7133
8348
           strings "$collect2name" | grep resolve_lib_name >/dev/null
7134
8349
          then
7135
8350
          # We have reworked collect2
7136
 
          hardcode_direct=yes
 
8351
          :
7137
8352
          else
7138
8353
          # We have old collect2
7139
8354
          hardcode_direct=unsupported
7189
8404
}
7190
8405
_ACEOF
7191
8406
rm -f conftest.$ac_objext conftest$ac_exeext
7192
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7193
 
  (eval $ac_link) 2>conftest.er1
 
8407
if { (ac_try="$ac_link"
 
8408
case "(($ac_try" in
 
8409
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8410
  *) ac_try_echo=$ac_try;;
 
8411
esac
 
8412
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8413
$as_echo "$ac_try_echo") >&5
 
8414
  (eval "$ac_link") 2>conftest.er1
7194
8415
  ac_status=$?
7195
8416
  grep -v '^ *+' conftest.er1 >conftest.err
7196
8417
  rm -f conftest.er1
7197
8418
  cat conftest.err >&5
7198
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7199
 
  (exit $ac_status); } &&
7200
 
         { ac_try='test -z "$ac_c_werror_flag"
7201
 
                         || test ! -s conftest.err'
7202
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7203
 
  (eval $ac_try) 2>&5
7204
 
  ac_status=$?
7205
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7206
 
  (exit $ac_status); }; } &&
7207
 
         { ac_try='test -s conftest$ac_exeext'
7208
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7209
 
  (eval $ac_try) 2>&5
7210
 
  ac_status=$?
7211
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7212
 
  (exit $ac_status); }; }; then
 
8419
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8420
  (exit $ac_status); } && {
 
8421
         test -z "$ac_c_werror_flag" ||
 
8422
         test ! -s conftest.err
 
8423
       } && test -s conftest$ac_exeext && {
 
8424
         test "$cross_compiling" = yes ||
 
8425
         $as_test_x conftest$ac_exeext
 
8426
       }; then
7213
8427
 
7214
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7215
 
}'`
 
8428
lt_aix_libpath_sed='
 
8429
    /Import File Strings/,/^$/ {
 
8430
        /^0/ {
 
8431
            s/^0  *\(.*\)$/\1/
 
8432
            p
 
8433
        }
 
8434
    }'
 
8435
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7216
8436
# Check for a 64-bit object if we didn't find anything.
7217
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7218
 
}'`; fi
 
8437
if test -z "$aix_libpath"; then
 
8438
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8439
fi
7219
8440
else
7220
 
  echo "$as_me: failed program was:" >&5
 
8441
  $as_echo "$as_me: failed program was:" >&5
7221
8442
sed 's/^/| /' conftest.$ac_ext >&5
7222
8443
 
 
8444
 
7223
8445
fi
7224
 
rm -f conftest.err conftest.$ac_objext \
 
8446
 
 
8447
rm -rf conftest.dSYM
 
8448
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7225
8449
      conftest$ac_exeext conftest.$ac_ext
7226
8450
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7227
8451
 
7250
8474
}
7251
8475
_ACEOF
7252
8476
rm -f conftest.$ac_objext conftest$ac_exeext
7253
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7254
 
  (eval $ac_link) 2>conftest.er1
 
8477
if { (ac_try="$ac_link"
 
8478
case "(($ac_try" in
 
8479
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8480
  *) ac_try_echo=$ac_try;;
 
8481
esac
 
8482
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8483
$as_echo "$ac_try_echo") >&5
 
8484
  (eval "$ac_link") 2>conftest.er1
7255
8485
  ac_status=$?
7256
8486
  grep -v '^ *+' conftest.er1 >conftest.err
7257
8487
  rm -f conftest.er1
7258
8488
  cat conftest.err >&5
7259
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7260
 
  (exit $ac_status); } &&
7261
 
         { ac_try='test -z "$ac_c_werror_flag"
7262
 
                         || test ! -s conftest.err'
7263
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7264
 
  (eval $ac_try) 2>&5
7265
 
  ac_status=$?
7266
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7267
 
  (exit $ac_status); }; } &&
7268
 
         { ac_try='test -s conftest$ac_exeext'
7269
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7270
 
  (eval $ac_try) 2>&5
7271
 
  ac_status=$?
7272
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7273
 
  (exit $ac_status); }; }; then
 
8489
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8490
  (exit $ac_status); } && {
 
8491
         test -z "$ac_c_werror_flag" ||
 
8492
         test ! -s conftest.err
 
8493
       } && test -s conftest$ac_exeext && {
 
8494
         test "$cross_compiling" = yes ||
 
8495
         $as_test_x conftest$ac_exeext
 
8496
       }; then
7274
8497
 
7275
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7276
 
}'`
 
8498
lt_aix_libpath_sed='
 
8499
    /Import File Strings/,/^$/ {
 
8500
        /^0/ {
 
8501
            s/^0  *\(.*\)$/\1/
 
8502
            p
 
8503
        }
 
8504
    }'
 
8505
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7277
8506
# Check for a 64-bit object if we didn't find anything.
7278
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7279
 
}'`; fi
 
8507
if test -z "$aix_libpath"; then
 
8508
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8509
fi
7280
8510
else
7281
 
  echo "$as_me: failed program was:" >&5
 
8511
  $as_echo "$as_me: failed program was:" >&5
7282
8512
sed 's/^/| /' conftest.$ac_ext >&5
7283
8513
 
 
8514
 
7284
8515
fi
7285
 
rm -f conftest.err conftest.$ac_objext \
 
8516
 
 
8517
rm -rf conftest.dSYM
 
8518
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7286
8519
      conftest$ac_exeext conftest.$ac_ext
7287
8520
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7288
8521
 
7328
8561
      # The linker will automatically build a .lib file if we build a DLL.
7329
8562
      old_archive_From_new_cmds='true'
7330
8563
      # FIXME: Should let the user specify the lib program.
7331
 
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
8564
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
7332
8565
      fix_srcfile_path='`cygpath -w "$srcfile"`'
7333
8566
      enable_shared_with_static_runtimes=yes
7334
8567
      ;;
7361
8594
      link_all_deplibs=yes
7362
8595
    if test "$GCC" = yes ; then
7363
8596
        output_verbose_link_cmd='echo'
7364
 
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7365
 
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7366
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7367
 
      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}'
7368
 
      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}'
 
8597
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
8598
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
8599
        archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
8600
        module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
7369
8601
    else
7370
8602
      case $cc_basename in
7371
8603
        xlc*)
7372
8604
         output_verbose_link_cmd='echo'
7373
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
8605
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
7374
8606
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7375
8607
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7376
 
         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}'
 
8608
         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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7377
8609
          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}'
7378
8610
          ;;
7379
8611
       *)
7413
8645
      ;;
7414
8646
 
7415
8647
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7416
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
8648
    freebsd* | dragonfly*)
7417
8649
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7418
8650
      hardcode_libdir_flag_spec='-R$libdir'
7419
8651
      hardcode_direct=yes
7535
8767
      ;;
7536
8768
 
7537
8769
    openbsd*)
7538
 
      hardcode_direct=yes
7539
 
      hardcode_shlibpath_var=no
7540
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7541
 
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7542
 
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7543
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7544
 
        export_dynamic_flag_spec='${wl}-E'
 
8770
      if test -f /usr/libexec/ld.so; then
 
8771
        hardcode_direct=yes
 
8772
        hardcode_shlibpath_var=no
 
8773
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
8774
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8775
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
8776
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8777
          export_dynamic_flag_spec='${wl}-E'
 
8778
        else
 
8779
          case $host_os in
 
8780
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
8781
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
8782
             hardcode_libdir_flag_spec='-R$libdir'
 
8783
             ;;
 
8784
           *)
 
8785
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8786
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8787
             ;;
 
8788
          esac
 
8789
        fi
7545
8790
      else
7546
 
       case $host_os in
7547
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7548
 
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7549
 
           hardcode_libdir_flag_spec='-R$libdir'
7550
 
           ;;
7551
 
         *)
7552
 
           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7553
 
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7554
 
           ;;
7555
 
       esac
 
8791
        ld_shlibs=no
7556
8792
      fi
7557
8793
      ;;
7558
8794
 
7611
8847
      case $host_os in
7612
8848
      solaris2.[0-5] | solaris2.[0-5].*) ;;
7613
8849
      *)
7614
 
        # The compiler driver will combine linker options so we
7615
 
        # cannot just pass the convience library names through
7616
 
        # without $wl, iff we do not link with $LD.
7617
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
8850
        # The compiler driver will combine and reorder linker options,
 
8851
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
8852
        # but is careful enough not to reorder.
7618
8853
        # Supported since Solaris 2.6 (maybe 2.5.1?)
7619
 
        case $wlarc in
7620
 
        '')
7621
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7622
 
        *)
7623
 
          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' ;;
7624
 
        esac ;;
 
8854
        if test "$GCC" = yes; then
 
8855
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
8856
        else
 
8857
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
8858
        fi
 
8859
        ;;
7625
8860
      esac
7626
8861
      link_all_deplibs=yes
7627
8862
      ;;
7678
8913
      fi
7679
8914
      ;;
7680
8915
 
7681
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
8916
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
7682
8917
      no_undefined_flag='${wl}-z,text'
7683
8918
      archive_cmds_need_lc=no
7684
8919
      hardcode_shlibpath_var=no
7731
8966
    esac
7732
8967
  fi
7733
8968
 
7734
 
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7735
 
echo "${ECHO_T}$ld_shlibs" >&6
 
8969
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
8970
$as_echo "$ld_shlibs" >&6; }
7736
8971
test "$ld_shlibs" = no && can_build_shared=no
7737
8972
 
7738
8973
#
7752
8987
      # Test whether the compiler implicitly links with -lc since on some
7753
8988
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
7754
8989
      # to ld, don't add -lc before -lgcc.
7755
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7756
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
8990
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
8991
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
7757
8992
      $rm conftest*
7758
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8993
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7759
8994
 
7760
8995
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7761
8996
  (eval $ac_compile) 2>&5
7762
8997
  ac_status=$?
7763
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8998
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7764
8999
  (exit $ac_status); } 2>conftest.err; then
7765
9000
        soname=conftest
7766
9001
        lib=conftest
7778
9013
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7779
9014
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7780
9015
  ac_status=$?
7781
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9016
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7782
9017
  (exit $ac_status); }
7783
9018
        then
7784
9019
          archive_cmds_need_lc=no
7790
9025
        cat conftest.err 1>&5
7791
9026
      fi
7792
9027
      $rm conftest*
7793
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7794
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6
 
9028
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
9029
$as_echo "$archive_cmds_need_lc" >&6; }
7795
9030
      ;;
7796
9031
    esac
7797
9032
  fi
7798
9033
  ;;
7799
9034
esac
7800
9035
 
7801
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7802
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
9036
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
9037
$as_echo_n "checking dynamic linker characteristics... " >&6; }
7803
9038
library_names_spec=
7804
9039
libname_spec='lib$name'
7805
9040
soname_spec=
7813
9048
version_type=none
7814
9049
dynamic_linker="$host_os ld.so"
7815
9050
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
9051
 
7816
9052
if test "$GCC" = yes; then
7817
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7818
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 
9053
  case $host_os in
 
9054
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
9055
    *) lt_awk_arg="/^libraries:/" ;;
 
9056
  esac
 
9057
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
9058
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
7819
9059
    # if the path contains ";" then we assume it to be the separator
7820
9060
    # otherwise default to the standard path separator (i.e. ":") - it is
7821
9061
    # assumed that no part of a normal pathname contains ";" but that should
7822
9062
    # okay in the real world where ";" in dirpaths is itself problematic.
7823
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
9063
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
7824
9064
  else
7825
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
9065
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
7826
9066
  fi
 
9067
  # Ok, now we have the path, separated by spaces, we can step through it
 
9068
  # and add multilib dir if necessary.
 
9069
  lt_tmp_lt_search_path_spec=
 
9070
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
9071
  for lt_sys_path in $lt_search_path_spec; do
 
9072
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
9073
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
9074
    else
 
9075
      test -d "$lt_sys_path" && \
 
9076
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
9077
    fi
 
9078
  done
 
9079
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
9080
BEGIN {RS=" "; FS="/|\n";} {
 
9081
  lt_foo="";
 
9082
  lt_count=0;
 
9083
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
9084
    if ($lt_i != "" && $lt_i != ".") {
 
9085
      if ($lt_i == "..") {
 
9086
        lt_count++;
 
9087
      } else {
 
9088
        if (lt_count == 0) {
 
9089
          lt_foo="/" $lt_i lt_foo;
 
9090
        } else {
 
9091
          lt_count--;
 
9092
        }
 
9093
      }
 
9094
    }
 
9095
  }
 
9096
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
9097
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
9098
}'`
 
9099
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
7827
9100
else
7828
9101
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7829
9102
fi
7844
9117
  soname_spec='${libname}${release}${shared_ext}$major'
7845
9118
  ;;
7846
9119
 
7847
 
aix4* | aix5*)
 
9120
aix[4-9]*)
7848
9121
  version_type=linux
7849
9122
  need_lib_prefix=no
7850
9123
  need_version=no
7983
9256
  shlibpath_overrides_runpath=yes
7984
9257
  shlibpath_var=DYLD_LIBRARY_PATH
7985
9258
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
7986
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7987
 
  if test "$GCC" = yes; then
7988
 
    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"`
7989
 
  else
7990
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
7991
 
  fi
 
9259
 
 
9260
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
7992
9261
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7993
9262
  ;;
7994
9263
 
8005
9274
  dynamic_linker=no
8006
9275
  ;;
8007
9276
 
8008
 
kfreebsd*-gnu)
8009
 
  version_type=linux
8010
 
  need_lib_prefix=no
8011
 
  need_version=no
8012
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8013
 
  soname_spec='${libname}${release}${shared_ext}$major'
8014
 
  shlibpath_var=LD_LIBRARY_PATH
8015
 
  shlibpath_overrides_runpath=no
8016
 
  hardcode_into_libs=yes
8017
 
  dynamic_linker='GNU ld.so'
8018
 
  ;;
8019
 
 
8020
9277
freebsd* | dragonfly*)
8021
9278
  # DragonFly does not have aout.  When/if they implement a new
8022
9279
  # versioning mechanism, adjust this.
8054
9311
    shlibpath_overrides_runpath=no
8055
9312
    hardcode_into_libs=yes
8056
9313
    ;;
8057
 
  freebsd*) # from 4.6 on
 
9314
  *) # from 4.6 on, and DragonFly
8058
9315
    shlibpath_overrides_runpath=yes
8059
9316
    hardcode_into_libs=yes
8060
9317
    ;;
8117
9374
  postinstall_cmds='chmod 555 $lib'
8118
9375
  ;;
8119
9376
 
8120
 
interix3*)
 
9377
interix[3-9]*)
8121
9378
  version_type=linux
8122
9379
  need_lib_prefix=no
8123
9380
  need_version=no
8172
9429
  ;;
8173
9430
 
8174
9431
# This must be Linux ELF.
8175
 
linux*)
 
9432
linux* | k*bsd*-gnu)
8176
9433
  version_type=linux
8177
9434
  need_lib_prefix=no
8178
9435
  need_version=no
8186
9443
  # before this can be enabled.
8187
9444
  hardcode_into_libs=yes
8188
9445
 
8189
 
  # find out which ABI we are using
8190
 
  libsuff=
8191
 
  case "$host_cpu" in
8192
 
  x86_64*|s390x*|powerpc64*)
8193
 
    echo '#line 8193 "configure"' > conftest.$ac_ext
8194
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8195
 
  (eval $ac_compile) 2>&5
8196
 
  ac_status=$?
8197
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8198
 
  (exit $ac_status); }; then
8199
 
      case `/usr/bin/file conftest.$ac_objext` in
8200
 
      *64-bit*)
8201
 
        libsuff=64
8202
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
8203
 
        ;;
8204
 
      esac
8205
 
    fi
8206
 
    rm -rf conftest*
8207
 
    ;;
8208
 
  esac
8209
 
 
8210
9446
  # Append ld.so.conf contents to the search path
8211
9447
  if test -f /etc/ld.so.conf; then
8212
 
    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' ' '`
8213
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
9448
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
9449
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8214
9450
  fi
8215
9451
 
8216
9452
  # We used to test for /lib/ld.so.1 and disable shared libraries on
8222
9458
  dynamic_linker='GNU/Linux ld.so'
8223
9459
  ;;
8224
9460
 
8225
 
knetbsd*-gnu)
8226
 
  version_type=linux
8227
 
  need_lib_prefix=no
8228
 
  need_version=no
8229
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8230
 
  soname_spec='${libname}${release}${shared_ext}$major'
8231
 
  shlibpath_var=LD_LIBRARY_PATH
8232
 
  shlibpath_overrides_runpath=no
8233
 
  hardcode_into_libs=yes
8234
 
  dynamic_linker='GNU ld.so'
8235
 
  ;;
8236
 
 
8237
9461
netbsd*)
8238
9462
  version_type=sunos
8239
9463
  need_lib_prefix=no
8315
9539
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
8316
9540
  ;;
8317
9541
 
 
9542
rdos*)
 
9543
  dynamic_linker=no
 
9544
  ;;
 
9545
 
8318
9546
solaris*)
8319
9547
  version_type=linux
8320
9548
  need_lib_prefix=no
8407
9635
  dynamic_linker=no
8408
9636
  ;;
8409
9637
esac
8410
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8411
 
echo "${ECHO_T}$dynamic_linker" >&6
 
9638
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
9639
$as_echo "$dynamic_linker" >&6; }
8412
9640
test "$dynamic_linker" = no && can_build_shared=no
8413
9641
 
 
9642
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
9643
  $as_echo_n "(cached) " >&6
 
9644
else
 
9645
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
9646
fi
 
9647
 
 
9648
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
9649
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
9650
  $as_echo_n "(cached) " >&6
 
9651
else
 
9652
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
9653
fi
 
9654
 
 
9655
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
9656
 
8414
9657
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
8415
9658
if test "$GCC" = yes; then
8416
9659
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8417
9660
fi
8418
9661
 
8419
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8420
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
9662
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
9663
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
8421
9664
hardcode_action=
8422
9665
if test -n "$hardcode_libdir_flag_spec" || \
8423
9666
   test -n "$runpath_var" || \
8441
9684
  # directories.
8442
9685
  hardcode_action=unsupported
8443
9686
fi
8444
 
echo "$as_me:$LINENO: result: $hardcode_action" >&5
8445
 
echo "${ECHO_T}$hardcode_action" >&6
 
9687
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
9688
$as_echo "$hardcode_action" >&6; }
8446
9689
 
8447
9690
if test "$hardcode_action" = relink; then
8448
9691
  # Fast installation is not supported
8455
9698
 
8456
9699
striplib=
8457
9700
old_striplib=
8458
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8459
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
9701
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
9702
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
8460
9703
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
8461
9704
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
8462
9705
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
8463
 
  echo "$as_me:$LINENO: result: yes" >&5
8464
 
echo "${ECHO_T}yes" >&6
 
9706
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
9707
$as_echo "yes" >&6; }
8465
9708
else
8466
9709
# FIXME - insert some real tests, host_os isn't really good enough
8467
9710
  case $host_os in
8468
9711
   darwin*)
8469
9712
       if test -n "$STRIP" ; then
8470
9713
         striplib="$STRIP -x"
8471
 
         echo "$as_me:$LINENO: result: yes" >&5
8472
 
echo "${ECHO_T}yes" >&6
 
9714
         old_striplib="$STRIP -S"
 
9715
         { $as_echo "$as_me:$LINENO: result: yes" >&5
 
9716
$as_echo "yes" >&6; }
8473
9717
       else
8474
 
  echo "$as_me:$LINENO: result: no" >&5
8475
 
echo "${ECHO_T}no" >&6
 
9718
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9719
$as_echo "no" >&6; }
8476
9720
fi
8477
9721
       ;;
8478
9722
   *)
8479
 
  echo "$as_me:$LINENO: result: no" >&5
8480
 
echo "${ECHO_T}no" >&6
 
9723
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9724
$as_echo "no" >&6; }
8481
9725
    ;;
8482
9726
  esac
8483
9727
fi
8509
9753
 
8510
9754
  darwin*)
8511
9755
  # if libdl is installed we need to link against it
8512
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8513
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
9756
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
9757
$as_echo_n "checking for dlopen in -ldl... " >&6; }
8514
9758
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8515
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9759
  $as_echo_n "(cached) " >&6
8516
9760
else
8517
9761
  ac_check_lib_save_LIBS=$LIBS
8518
9762
LIBS="-ldl  $LIBS"
8523
9767
cat >>conftest.$ac_ext <<_ACEOF
8524
9768
/* end confdefs.h.  */
8525
9769
 
8526
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9770
/* Override any GCC internal prototype to avoid an error.
 
9771
   Use char because int might match the return type of a GCC
 
9772
   builtin and then its argument prototype would still apply.  */
8527
9773
#ifdef __cplusplus
8528
9774
extern "C"
8529
9775
#endif
8530
 
/* We use char because int might match the return type of a gcc2
8531
 
   builtin and then its argument prototype would still apply.  */
8532
9776
char dlopen ();
8533
9777
int
8534
9778
main ()
8535
9779
{
8536
 
dlopen ();
 
9780
return dlopen ();
8537
9781
  ;
8538
9782
  return 0;
8539
9783
}
8540
9784
_ACEOF
8541
9785
rm -f conftest.$ac_objext conftest$ac_exeext
8542
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8543
 
  (eval $ac_link) 2>conftest.er1
 
9786
if { (ac_try="$ac_link"
 
9787
case "(($ac_try" in
 
9788
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9789
  *) ac_try_echo=$ac_try;;
 
9790
esac
 
9791
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9792
$as_echo "$ac_try_echo") >&5
 
9793
  (eval "$ac_link") 2>conftest.er1
8544
9794
  ac_status=$?
8545
9795
  grep -v '^ *+' conftest.er1 >conftest.err
8546
9796
  rm -f conftest.er1
8547
9797
  cat conftest.err >&5
8548
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8549
 
  (exit $ac_status); } &&
8550
 
         { ac_try='test -z "$ac_c_werror_flag"
8551
 
                         || test ! -s conftest.err'
8552
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8553
 
  (eval $ac_try) 2>&5
8554
 
  ac_status=$?
8555
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8556
 
  (exit $ac_status); }; } &&
8557
 
         { ac_try='test -s conftest$ac_exeext'
8558
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8559
 
  (eval $ac_try) 2>&5
8560
 
  ac_status=$?
8561
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8562
 
  (exit $ac_status); }; }; then
 
9798
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9799
  (exit $ac_status); } && {
 
9800
         test -z "$ac_c_werror_flag" ||
 
9801
         test ! -s conftest.err
 
9802
       } && test -s conftest$ac_exeext && {
 
9803
         test "$cross_compiling" = yes ||
 
9804
         $as_test_x conftest$ac_exeext
 
9805
       }; then
8563
9806
  ac_cv_lib_dl_dlopen=yes
8564
9807
else
8565
 
  echo "$as_me: failed program was:" >&5
 
9808
  $as_echo "$as_me: failed program was:" >&5
8566
9809
sed 's/^/| /' conftest.$ac_ext >&5
8567
9810
 
8568
 
ac_cv_lib_dl_dlopen=no
 
9811
        ac_cv_lib_dl_dlopen=no
8569
9812
fi
8570
 
rm -f conftest.err conftest.$ac_objext \
 
9813
 
 
9814
rm -rf conftest.dSYM
 
9815
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8571
9816
      conftest$ac_exeext conftest.$ac_ext
8572
9817
LIBS=$ac_check_lib_save_LIBS
8573
9818
fi
8574
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8575
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8576
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
9819
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
9820
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
9821
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
8577
9822
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8578
9823
else
8579
9824
 
8586
9831
   ;;
8587
9832
 
8588
9833
  *)
8589
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
8590
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
9834
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
 
9835
$as_echo_n "checking for shl_load... " >&6; }
8591
9836
if test "${ac_cv_func_shl_load+set}" = set; then
8592
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9837
  $as_echo_n "(cached) " >&6
8593
9838
else
8594
9839
  cat >conftest.$ac_ext <<_ACEOF
8595
9840
/* confdefs.h.  */
8614
9859
 
8615
9860
#undef shl_load
8616
9861
 
8617
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9862
/* Override any GCC internal prototype to avoid an error.
 
9863
   Use char because int might match the return type of a GCC
 
9864
   builtin and then its argument prototype would still apply.  */
8618
9865
#ifdef __cplusplus
8619
9866
extern "C"
8620
 
{
8621
9867
#endif
8622
 
/* We use char because int might match the return type of a gcc2
8623
 
   builtin and then its argument prototype would still apply.  */
8624
9868
char shl_load ();
8625
9869
/* The GNU C library defines this for functions which it implements
8626
9870
    to always fail with ENOSYS.  Some functions are actually named
8627
9871
    something starting with __ and the normal name is an alias.  */
8628
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
9872
#if defined __stub_shl_load || defined __stub___shl_load
8629
9873
choke me
8630
 
#else
8631
 
char (*f) () = shl_load;
8632
 
#endif
8633
 
#ifdef __cplusplus
8634
 
}
8635
9874
#endif
8636
9875
 
8637
9876
int
8638
9877
main ()
8639
9878
{
8640
 
return f != shl_load;
 
9879
return shl_load ();
8641
9880
  ;
8642
9881
  return 0;
8643
9882
}
8644
9883
_ACEOF
8645
9884
rm -f conftest.$ac_objext conftest$ac_exeext
8646
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8647
 
  (eval $ac_link) 2>conftest.er1
 
9885
if { (ac_try="$ac_link"
 
9886
case "(($ac_try" in
 
9887
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9888
  *) ac_try_echo=$ac_try;;
 
9889
esac
 
9890
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9891
$as_echo "$ac_try_echo") >&5
 
9892
  (eval "$ac_link") 2>conftest.er1
8648
9893
  ac_status=$?
8649
9894
  grep -v '^ *+' conftest.er1 >conftest.err
8650
9895
  rm -f conftest.er1
8651
9896
  cat conftest.err >&5
8652
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8653
 
  (exit $ac_status); } &&
8654
 
         { ac_try='test -z "$ac_c_werror_flag"
8655
 
                         || test ! -s conftest.err'
8656
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8657
 
  (eval $ac_try) 2>&5
8658
 
  ac_status=$?
8659
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8660
 
  (exit $ac_status); }; } &&
8661
 
         { ac_try='test -s conftest$ac_exeext'
8662
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8663
 
  (eval $ac_try) 2>&5
8664
 
  ac_status=$?
8665
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8666
 
  (exit $ac_status); }; }; then
 
9897
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9898
  (exit $ac_status); } && {
 
9899
         test -z "$ac_c_werror_flag" ||
 
9900
         test ! -s conftest.err
 
9901
       } && test -s conftest$ac_exeext && {
 
9902
         test "$cross_compiling" = yes ||
 
9903
         $as_test_x conftest$ac_exeext
 
9904
       }; then
8667
9905
  ac_cv_func_shl_load=yes
8668
9906
else
8669
 
  echo "$as_me: failed program was:" >&5
 
9907
  $as_echo "$as_me: failed program was:" >&5
8670
9908
sed 's/^/| /' conftest.$ac_ext >&5
8671
9909
 
8672
 
ac_cv_func_shl_load=no
 
9910
        ac_cv_func_shl_load=no
8673
9911
fi
8674
 
rm -f conftest.err conftest.$ac_objext \
 
9912
 
 
9913
rm -rf conftest.dSYM
 
9914
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8675
9915
      conftest$ac_exeext conftest.$ac_ext
8676
9916
fi
8677
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8678
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8679
 
if test $ac_cv_func_shl_load = yes; then
 
9917
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
9918
$as_echo "$ac_cv_func_shl_load" >&6; }
 
9919
if test "x$ac_cv_func_shl_load" = x""yes; then
8680
9920
  lt_cv_dlopen="shl_load"
8681
9921
else
8682
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8683
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
9922
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
9923
$as_echo_n "checking for shl_load in -ldld... " >&6; }
8684
9924
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8685
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9925
  $as_echo_n "(cached) " >&6
8686
9926
else
8687
9927
  ac_check_lib_save_LIBS=$LIBS
8688
9928
LIBS="-ldld  $LIBS"
8693
9933
cat >>conftest.$ac_ext <<_ACEOF
8694
9934
/* end confdefs.h.  */
8695
9935
 
8696
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9936
/* Override any GCC internal prototype to avoid an error.
 
9937
   Use char because int might match the return type of a GCC
 
9938
   builtin and then its argument prototype would still apply.  */
8697
9939
#ifdef __cplusplus
8698
9940
extern "C"
8699
9941
#endif
8700
 
/* We use char because int might match the return type of a gcc2
8701
 
   builtin and then its argument prototype would still apply.  */
8702
9942
char shl_load ();
8703
9943
int
8704
9944
main ()
8705
9945
{
8706
 
shl_load ();
 
9946
return shl_load ();
8707
9947
  ;
8708
9948
  return 0;
8709
9949
}
8710
9950
_ACEOF
8711
9951
rm -f conftest.$ac_objext conftest$ac_exeext
8712
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8713
 
  (eval $ac_link) 2>conftest.er1
 
9952
if { (ac_try="$ac_link"
 
9953
case "(($ac_try" in
 
9954
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9955
  *) ac_try_echo=$ac_try;;
 
9956
esac
 
9957
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9958
$as_echo "$ac_try_echo") >&5
 
9959
  (eval "$ac_link") 2>conftest.er1
8714
9960
  ac_status=$?
8715
9961
  grep -v '^ *+' conftest.er1 >conftest.err
8716
9962
  rm -f conftest.er1
8717
9963
  cat conftest.err >&5
8718
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8719
 
  (exit $ac_status); } &&
8720
 
         { ac_try='test -z "$ac_c_werror_flag"
8721
 
                         || test ! -s conftest.err'
8722
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8723
 
  (eval $ac_try) 2>&5
8724
 
  ac_status=$?
8725
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8726
 
  (exit $ac_status); }; } &&
8727
 
         { ac_try='test -s conftest$ac_exeext'
8728
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8729
 
  (eval $ac_try) 2>&5
8730
 
  ac_status=$?
8731
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8732
 
  (exit $ac_status); }; }; then
 
9964
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9965
  (exit $ac_status); } && {
 
9966
         test -z "$ac_c_werror_flag" ||
 
9967
         test ! -s conftest.err
 
9968
       } && test -s conftest$ac_exeext && {
 
9969
         test "$cross_compiling" = yes ||
 
9970
         $as_test_x conftest$ac_exeext
 
9971
       }; then
8733
9972
  ac_cv_lib_dld_shl_load=yes
8734
9973
else
8735
 
  echo "$as_me: failed program was:" >&5
 
9974
  $as_echo "$as_me: failed program was:" >&5
8736
9975
sed 's/^/| /' conftest.$ac_ext >&5
8737
9976
 
8738
 
ac_cv_lib_dld_shl_load=no
 
9977
        ac_cv_lib_dld_shl_load=no
8739
9978
fi
8740
 
rm -f conftest.err conftest.$ac_objext \
 
9979
 
 
9980
rm -rf conftest.dSYM
 
9981
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8741
9982
      conftest$ac_exeext conftest.$ac_ext
8742
9983
LIBS=$ac_check_lib_save_LIBS
8743
9984
fi
8744
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8745
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8746
 
if test $ac_cv_lib_dld_shl_load = yes; then
8747
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
 
9985
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
9986
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
9987
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 
9988
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
8748
9989
else
8749
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
8750
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
9990
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
 
9991
$as_echo_n "checking for dlopen... " >&6; }
8751
9992
if test "${ac_cv_func_dlopen+set}" = set; then
8752
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9993
  $as_echo_n "(cached) " >&6
8753
9994
else
8754
9995
  cat >conftest.$ac_ext <<_ACEOF
8755
9996
/* confdefs.h.  */
8774
10015
 
8775
10016
#undef dlopen
8776
10017
 
8777
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10018
/* Override any GCC internal prototype to avoid an error.
 
10019
   Use char because int might match the return type of a GCC
 
10020
   builtin and then its argument prototype would still apply.  */
8778
10021
#ifdef __cplusplus
8779
10022
extern "C"
8780
 
{
8781
10023
#endif
8782
 
/* We use char because int might match the return type of a gcc2
8783
 
   builtin and then its argument prototype would still apply.  */
8784
10024
char dlopen ();
8785
10025
/* The GNU C library defines this for functions which it implements
8786
10026
    to always fail with ENOSYS.  Some functions are actually named
8787
10027
    something starting with __ and the normal name is an alias.  */
8788
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
10028
#if defined __stub_dlopen || defined __stub___dlopen
8789
10029
choke me
8790
 
#else
8791
 
char (*f) () = dlopen;
8792
 
#endif
8793
 
#ifdef __cplusplus
8794
 
}
8795
10030
#endif
8796
10031
 
8797
10032
int
8798
10033
main ()
8799
10034
{
8800
 
return f != dlopen;
 
10035
return dlopen ();
8801
10036
  ;
8802
10037
  return 0;
8803
10038
}
8804
10039
_ACEOF
8805
10040
rm -f conftest.$ac_objext conftest$ac_exeext
8806
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8807
 
  (eval $ac_link) 2>conftest.er1
 
10041
if { (ac_try="$ac_link"
 
10042
case "(($ac_try" in
 
10043
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10044
  *) ac_try_echo=$ac_try;;
 
10045
esac
 
10046
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10047
$as_echo "$ac_try_echo") >&5
 
10048
  (eval "$ac_link") 2>conftest.er1
8808
10049
  ac_status=$?
8809
10050
  grep -v '^ *+' conftest.er1 >conftest.err
8810
10051
  rm -f conftest.er1
8811
10052
  cat conftest.err >&5
8812
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8813
 
  (exit $ac_status); } &&
8814
 
         { ac_try='test -z "$ac_c_werror_flag"
8815
 
                         || test ! -s conftest.err'
8816
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8817
 
  (eval $ac_try) 2>&5
8818
 
  ac_status=$?
8819
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8820
 
  (exit $ac_status); }; } &&
8821
 
         { ac_try='test -s conftest$ac_exeext'
8822
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8823
 
  (eval $ac_try) 2>&5
8824
 
  ac_status=$?
8825
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8826
 
  (exit $ac_status); }; }; then
 
10053
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10054
  (exit $ac_status); } && {
 
10055
         test -z "$ac_c_werror_flag" ||
 
10056
         test ! -s conftest.err
 
10057
       } && test -s conftest$ac_exeext && {
 
10058
         test "$cross_compiling" = yes ||
 
10059
         $as_test_x conftest$ac_exeext
 
10060
       }; then
8827
10061
  ac_cv_func_dlopen=yes
8828
10062
else
8829
 
  echo "$as_me: failed program was:" >&5
 
10063
  $as_echo "$as_me: failed program was:" >&5
8830
10064
sed 's/^/| /' conftest.$ac_ext >&5
8831
10065
 
8832
 
ac_cv_func_dlopen=no
 
10066
        ac_cv_func_dlopen=no
8833
10067
fi
8834
 
rm -f conftest.err conftest.$ac_objext \
 
10068
 
 
10069
rm -rf conftest.dSYM
 
10070
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8835
10071
      conftest$ac_exeext conftest.$ac_ext
8836
10072
fi
8837
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8838
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8839
 
if test $ac_cv_func_dlopen = yes; then
 
10073
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
10074
$as_echo "$ac_cv_func_dlopen" >&6; }
 
10075
if test "x$ac_cv_func_dlopen" = x""yes; then
8840
10076
  lt_cv_dlopen="dlopen"
8841
10077
else
8842
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8843
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
10078
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10079
$as_echo_n "checking for dlopen in -ldl... " >&6; }
8844
10080
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8845
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10081
  $as_echo_n "(cached) " >&6
8846
10082
else
8847
10083
  ac_check_lib_save_LIBS=$LIBS
8848
10084
LIBS="-ldl  $LIBS"
8853
10089
cat >>conftest.$ac_ext <<_ACEOF
8854
10090
/* end confdefs.h.  */
8855
10091
 
8856
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10092
/* Override any GCC internal prototype to avoid an error.
 
10093
   Use char because int might match the return type of a GCC
 
10094
   builtin and then its argument prototype would still apply.  */
8857
10095
#ifdef __cplusplus
8858
10096
extern "C"
8859
10097
#endif
8860
 
/* We use char because int might match the return type of a gcc2
8861
 
   builtin and then its argument prototype would still apply.  */
8862
10098
char dlopen ();
8863
10099
int
8864
10100
main ()
8865
10101
{
8866
 
dlopen ();
 
10102
return dlopen ();
8867
10103
  ;
8868
10104
  return 0;
8869
10105
}
8870
10106
_ACEOF
8871
10107
rm -f conftest.$ac_objext conftest$ac_exeext
8872
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8873
 
  (eval $ac_link) 2>conftest.er1
 
10108
if { (ac_try="$ac_link"
 
10109
case "(($ac_try" in
 
10110
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10111
  *) ac_try_echo=$ac_try;;
 
10112
esac
 
10113
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10114
$as_echo "$ac_try_echo") >&5
 
10115
  (eval "$ac_link") 2>conftest.er1
8874
10116
  ac_status=$?
8875
10117
  grep -v '^ *+' conftest.er1 >conftest.err
8876
10118
  rm -f conftest.er1
8877
10119
  cat conftest.err >&5
8878
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8879
 
  (exit $ac_status); } &&
8880
 
         { ac_try='test -z "$ac_c_werror_flag"
8881
 
                         || test ! -s conftest.err'
8882
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8883
 
  (eval $ac_try) 2>&5
8884
 
  ac_status=$?
8885
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8886
 
  (exit $ac_status); }; } &&
8887
 
         { ac_try='test -s conftest$ac_exeext'
8888
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8889
 
  (eval $ac_try) 2>&5
8890
 
  ac_status=$?
8891
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8892
 
  (exit $ac_status); }; }; then
 
10120
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10121
  (exit $ac_status); } && {
 
10122
         test -z "$ac_c_werror_flag" ||
 
10123
         test ! -s conftest.err
 
10124
       } && test -s conftest$ac_exeext && {
 
10125
         test "$cross_compiling" = yes ||
 
10126
         $as_test_x conftest$ac_exeext
 
10127
       }; then
8893
10128
  ac_cv_lib_dl_dlopen=yes
8894
10129
else
8895
 
  echo "$as_me: failed program was:" >&5
 
10130
  $as_echo "$as_me: failed program was:" >&5
8896
10131
sed 's/^/| /' conftest.$ac_ext >&5
8897
10132
 
8898
 
ac_cv_lib_dl_dlopen=no
 
10133
        ac_cv_lib_dl_dlopen=no
8899
10134
fi
8900
 
rm -f conftest.err conftest.$ac_objext \
 
10135
 
 
10136
rm -rf conftest.dSYM
 
10137
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8901
10138
      conftest$ac_exeext conftest.$ac_ext
8902
10139
LIBS=$ac_check_lib_save_LIBS
8903
10140
fi
8904
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8905
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8906
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
10141
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10142
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
10143
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
8907
10144
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8908
10145
else
8909
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8910
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
10146
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
10147
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
8911
10148
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8912
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10149
  $as_echo_n "(cached) " >&6
8913
10150
else
8914
10151
  ac_check_lib_save_LIBS=$LIBS
8915
10152
LIBS="-lsvld  $LIBS"
8920
10157
cat >>conftest.$ac_ext <<_ACEOF
8921
10158
/* end confdefs.h.  */
8922
10159
 
8923
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10160
/* Override any GCC internal prototype to avoid an error.
 
10161
   Use char because int might match the return type of a GCC
 
10162
   builtin and then its argument prototype would still apply.  */
8924
10163
#ifdef __cplusplus
8925
10164
extern "C"
8926
10165
#endif
8927
 
/* We use char because int might match the return type of a gcc2
8928
 
   builtin and then its argument prototype would still apply.  */
8929
10166
char dlopen ();
8930
10167
int
8931
10168
main ()
8932
10169
{
8933
 
dlopen ();
 
10170
return dlopen ();
8934
10171
  ;
8935
10172
  return 0;
8936
10173
}
8937
10174
_ACEOF
8938
10175
rm -f conftest.$ac_objext conftest$ac_exeext
8939
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8940
 
  (eval $ac_link) 2>conftest.er1
 
10176
if { (ac_try="$ac_link"
 
10177
case "(($ac_try" in
 
10178
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10179
  *) ac_try_echo=$ac_try;;
 
10180
esac
 
10181
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10182
$as_echo "$ac_try_echo") >&5
 
10183
  (eval "$ac_link") 2>conftest.er1
8941
10184
  ac_status=$?
8942
10185
  grep -v '^ *+' conftest.er1 >conftest.err
8943
10186
  rm -f conftest.er1
8944
10187
  cat conftest.err >&5
8945
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8946
 
  (exit $ac_status); } &&
8947
 
         { ac_try='test -z "$ac_c_werror_flag"
8948
 
                         || test ! -s conftest.err'
8949
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8950
 
  (eval $ac_try) 2>&5
8951
 
  ac_status=$?
8952
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8953
 
  (exit $ac_status); }; } &&
8954
 
         { ac_try='test -s conftest$ac_exeext'
8955
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8956
 
  (eval $ac_try) 2>&5
8957
 
  ac_status=$?
8958
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8959
 
  (exit $ac_status); }; }; then
 
10188
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10189
  (exit $ac_status); } && {
 
10190
         test -z "$ac_c_werror_flag" ||
 
10191
         test ! -s conftest.err
 
10192
       } && test -s conftest$ac_exeext && {
 
10193
         test "$cross_compiling" = yes ||
 
10194
         $as_test_x conftest$ac_exeext
 
10195
       }; then
8960
10196
  ac_cv_lib_svld_dlopen=yes
8961
10197
else
8962
 
  echo "$as_me: failed program was:" >&5
 
10198
  $as_echo "$as_me: failed program was:" >&5
8963
10199
sed 's/^/| /' conftest.$ac_ext >&5
8964
10200
 
8965
 
ac_cv_lib_svld_dlopen=no
 
10201
        ac_cv_lib_svld_dlopen=no
8966
10202
fi
8967
 
rm -f conftest.err conftest.$ac_objext \
 
10203
 
 
10204
rm -rf conftest.dSYM
 
10205
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8968
10206
      conftest$ac_exeext conftest.$ac_ext
8969
10207
LIBS=$ac_check_lib_save_LIBS
8970
10208
fi
8971
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8972
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8973
 
if test $ac_cv_lib_svld_dlopen = yes; then
 
10209
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
10210
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
10211
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
8974
10212
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8975
10213
else
8976
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8977
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
10214
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
10215
$as_echo_n "checking for dld_link in -ldld... " >&6; }
8978
10216
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8979
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10217
  $as_echo_n "(cached) " >&6
8980
10218
else
8981
10219
  ac_check_lib_save_LIBS=$LIBS
8982
10220
LIBS="-ldld  $LIBS"
8987
10225
cat >>conftest.$ac_ext <<_ACEOF
8988
10226
/* end confdefs.h.  */
8989
10227
 
8990
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10228
/* Override any GCC internal prototype to avoid an error.
 
10229
   Use char because int might match the return type of a GCC
 
10230
   builtin and then its argument prototype would still apply.  */
8991
10231
#ifdef __cplusplus
8992
10232
extern "C"
8993
10233
#endif
8994
 
/* We use char because int might match the return type of a gcc2
8995
 
   builtin and then its argument prototype would still apply.  */
8996
10234
char dld_link ();
8997
10235
int
8998
10236
main ()
8999
10237
{
9000
 
dld_link ();
 
10238
return dld_link ();
9001
10239
  ;
9002
10240
  return 0;
9003
10241
}
9004
10242
_ACEOF
9005
10243
rm -f conftest.$ac_objext conftest$ac_exeext
9006
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9007
 
  (eval $ac_link) 2>conftest.er1
 
10244
if { (ac_try="$ac_link"
 
10245
case "(($ac_try" in
 
10246
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10247
  *) ac_try_echo=$ac_try;;
 
10248
esac
 
10249
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10250
$as_echo "$ac_try_echo") >&5
 
10251
  (eval "$ac_link") 2>conftest.er1
9008
10252
  ac_status=$?
9009
10253
  grep -v '^ *+' conftest.er1 >conftest.err
9010
10254
  rm -f conftest.er1
9011
10255
  cat conftest.err >&5
9012
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9013
 
  (exit $ac_status); } &&
9014
 
         { ac_try='test -z "$ac_c_werror_flag"
9015
 
                         || test ! -s conftest.err'
9016
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9017
 
  (eval $ac_try) 2>&5
9018
 
  ac_status=$?
9019
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9020
 
  (exit $ac_status); }; } &&
9021
 
         { ac_try='test -s conftest$ac_exeext'
9022
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9023
 
  (eval $ac_try) 2>&5
9024
 
  ac_status=$?
9025
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9026
 
  (exit $ac_status); }; }; then
 
10256
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10257
  (exit $ac_status); } && {
 
10258
         test -z "$ac_c_werror_flag" ||
 
10259
         test ! -s conftest.err
 
10260
       } && test -s conftest$ac_exeext && {
 
10261
         test "$cross_compiling" = yes ||
 
10262
         $as_test_x conftest$ac_exeext
 
10263
       }; then
9027
10264
  ac_cv_lib_dld_dld_link=yes
9028
10265
else
9029
 
  echo "$as_me: failed program was:" >&5
 
10266
  $as_echo "$as_me: failed program was:" >&5
9030
10267
sed 's/^/| /' conftest.$ac_ext >&5
9031
10268
 
9032
 
ac_cv_lib_dld_dld_link=no
 
10269
        ac_cv_lib_dld_dld_link=no
9033
10270
fi
9034
 
rm -f conftest.err conftest.$ac_objext \
 
10271
 
 
10272
rm -rf conftest.dSYM
 
10273
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9035
10274
      conftest$ac_exeext conftest.$ac_ext
9036
10275
LIBS=$ac_check_lib_save_LIBS
9037
10276
fi
9038
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9039
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9040
 
if test $ac_cv_lib_dld_dld_link = yes; then
9041
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 
10277
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
10278
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
10279
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 
10280
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
9042
10281
fi
9043
10282
 
9044
10283
 
9076
10315
    save_LIBS="$LIBS"
9077
10316
    LIBS="$lt_cv_dlopen_libs $LIBS"
9078
10317
 
9079
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9080
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
10318
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
10319
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
9081
10320
if test "${lt_cv_dlopen_self+set}" = set; then
9082
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10321
  $as_echo_n "(cached) " >&6
9083
10322
else
9084
10323
          if test "$cross_compiling" = yes; then :
9085
10324
  lt_cv_dlopen_self=cross
9087
10326
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9088
10327
  lt_status=$lt_dlunknown
9089
10328
  cat > conftest.$ac_ext <<EOF
9090
 
#line 9090 "configure"
 
10329
#line 10329 "configure"
9091
10330
#include "confdefs.h"
9092
10331
 
9093
10332
#if HAVE_DLFCN_H
9153
10392
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9154
10393
  (eval $ac_link) 2>&5
9155
10394
  ac_status=$?
9156
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10395
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9157
10396
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9158
10397
    (./conftest; exit; ) >&5 2>/dev/null
9159
10398
    lt_status=$?
9171
10410
 
9172
10411
 
9173
10412
fi
9174
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9175
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
10413
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
10414
$as_echo "$lt_cv_dlopen_self" >&6; }
9176
10415
 
9177
10416
    if test "x$lt_cv_dlopen_self" = xyes; then
9178
10417
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9179
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9180
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
10418
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
10419
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
9181
10420
if test "${lt_cv_dlopen_self_static+set}" = set; then
9182
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10421
  $as_echo_n "(cached) " >&6
9183
10422
else
9184
10423
          if test "$cross_compiling" = yes; then :
9185
10424
  lt_cv_dlopen_self_static=cross
9187
10426
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9188
10427
  lt_status=$lt_dlunknown
9189
10428
  cat > conftest.$ac_ext <<EOF
9190
 
#line 9190 "configure"
 
10429
#line 10429 "configure"
9191
10430
#include "confdefs.h"
9192
10431
 
9193
10432
#if HAVE_DLFCN_H
9253
10492
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9254
10493
  (eval $ac_link) 2>&5
9255
10494
  ac_status=$?
9256
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10495
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9257
10496
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9258
10497
    (./conftest; exit; ) >&5 2>/dev/null
9259
10498
    lt_status=$?
9271
10510
 
9272
10511
 
9273
10512
fi
9274
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9275
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
10513
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
10514
$as_echo "$lt_cv_dlopen_self_static" >&6; }
9276
10515
    fi
9277
10516
 
9278
10517
    CPPFLAGS="$save_CPPFLAGS"
9294
10533
 
9295
10534
 
9296
10535
# Report which library types will actually be built
9297
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9298
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9299
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
9300
 
echo "${ECHO_T}$can_build_shared" >&6
 
10536
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
10537
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
10538
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
10539
$as_echo "$can_build_shared" >&6; }
9301
10540
 
9302
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9303
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
10541
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
10542
$as_echo_n "checking whether to build shared libraries... " >&6; }
9304
10543
test "$can_build_shared" = "no" && enable_shared=no
9305
10544
 
9306
10545
# On AIX, shared libraries and static libraries use the same namespace, and
9314
10553
  fi
9315
10554
  ;;
9316
10555
 
9317
 
aix4* | aix5*)
 
10556
aix[4-9]*)
9318
10557
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
9319
10558
    test "$enable_shared" = yes && enable_static=no
9320
10559
  fi
9321
10560
    ;;
9322
10561
esac
9323
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
9324
 
echo "${ECHO_T}$enable_shared" >&6
 
10562
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
10563
$as_echo "$enable_shared" >&6; }
9325
10564
 
9326
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9327
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
10565
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
10566
$as_echo_n "checking whether to build static libraries... " >&6; }
9328
10567
# Make sure either enable_shared or enable_static is yes.
9329
10568
test "$enable_shared" = yes || enable_static=yes
9330
 
echo "$as_me:$LINENO: result: $enable_static" >&5
9331
 
echo "${ECHO_T}$enable_static" >&6
 
10569
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
10570
$as_echo "$enable_static" >&6; }
9332
10571
 
9333
10572
# The else clause should only fire when bootstrapping the
9334
10573
# libtool distribution, otherwise you forgot to ship ltmain.sh
9370
10609
    predeps \
9371
10610
    postdeps \
9372
10611
    compiler_lib_search_path \
 
10612
    compiler_lib_search_dirs \
9373
10613
    archive_cmds \
9374
10614
    archive_expsym_cmds \
9375
10615
    postinstall_cmds \
9385
10625
    module_cmds \
9386
10626
    module_expsym_cmds \
9387
10627
    lt_cv_prog_compiler_c_o \
 
10628
    fix_srcfile_path \
9388
10629
    exclude_expsyms \
9389
10630
    include_expsyms; do
9390
10631
 
9419
10660
cfgfile="${ofile}T"
9420
10661
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9421
10662
  $rm -f "$cfgfile"
9422
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
9423
 
echo "$as_me: creating $ofile" >&6;}
 
10663
  { $as_echo "$as_me:$LINENO: creating $ofile" >&5
 
10664
$as_echo "$as_me: creating $ofile" >&6;}
9424
10665
 
9425
10666
  cat <<__EOF__ >> "$cfgfile"
9426
10667
#! $SHELL
9429
10670
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9430
10671
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
9431
10672
#
9432
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
 
10673
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
9433
10674
# Free Software Foundation, Inc.
9434
10675
#
9435
10676
# This file is part of GNU Libtool:
9665
10906
# shared library.
9666
10907
postdeps=$lt_postdeps
9667
10908
 
 
10909
# The directories searched by this compiler when creating a shared
 
10910
# library
 
10911
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
 
10912
 
9668
10913
# The library search path used internally by the compiler when linking
9669
10914
# a shared library.
9670
10915
compiler_lib_search_path=$lt_compiler_lib_search_path
9753
10998
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9754
10999
 
9755
11000
# Fix the shell variable \$srcfile for the compiler.
9756
 
fix_srcfile_path="$fix_srcfile_path"
 
11001
fix_srcfile_path=$lt_fix_srcfile_path
9757
11002
 
9758
11003
# Set to yes if exported symbols are required.
9759
11004
always_export_symbols=$always_export_symbols
9820
11065
CC="$lt_save_CC"
9821
11066
 
9822
11067
 
9823
 
# Check whether --with-tags or --without-tags was given.
 
11068
# Check whether --with-tags was given.
9824
11069
if test "${with_tags+set}" = set; then
9825
 
  withval="$with_tags"
9826
 
  tagnames="$withval"
9827
 
fi;
 
11070
  withval=$with_tags; tagnames="$withval"
 
11071
fi
 
11072
 
9828
11073
 
9829
11074
if test -f "$ltmain" && test -n "$tagnames"; then
9830
11075
  if test ! -f "${ofile}"; then
9831
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9832
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
 
11076
    { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
 
11077
$as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9833
11078
  fi
9834
11079
 
9835
11080
  if test -z "$LTCC"; then
9836
11081
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9837
11082
    if test -z "$LTCC"; then
9838
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9839
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
 
11083
      { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
 
11084
$as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9840
11085
    else
9841
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9842
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
 
11086
      { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
 
11087
$as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9843
11088
    fi
9844
11089
  fi
9845
11090
  if test -z "$LTCFLAGS"; then
9856
11101
    # Check whether tagname contains only valid characters
9857
11102
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9858
11103
    "") ;;
9859
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9860
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
 
11104
    *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
 
11105
$as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
9861
11106
   { (exit 1); exit 1; }; }
9862
11107
        ;;
9863
11108
    esac
9864
11109
 
9865
11110
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9866
11111
    then
9867
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9868
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
 
11112
      { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
 
11113
$as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9869
11114
   { (exit 1); exit 1; }; }
9870
11115
    fi
9871
11116
 
9878
11123
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9879
11124
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9880
11125
            (test "X$CXX" != "Xg++"))) ; then
9881
 
          ac_ext=cc
 
11126
          ac_ext=cpp
9882
11127
ac_cpp='$CXXCPP $CPPFLAGS'
9883
11128
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9884
11129
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9913
11158
predeps_CXX=
9914
11159
postdeps_CXX=
9915
11160
compiler_lib_search_path_CXX=
 
11161
compiler_lib_search_dirs_CXX=
9916
11162
 
9917
11163
# Source file extension for C++ test sources.
9918
11164
ac_ext=cpp
9922
11168
objext_CXX=$objext
9923
11169
 
9924
11170
# Code to be used in simple compile tests
9925
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
11171
lt_simple_compile_test_code="int some_variable = 0;"
9926
11172
 
9927
11173
# Code to be used in simple link tests
9928
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
 
11174
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
9929
11175
 
9930
11176
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
9931
11177
 
9941
11187
 
9942
11188
# save warnings/boilerplate of simple test code
9943
11189
ac_outfile=conftest.$ac_objext
9944
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
11190
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9945
11191
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9946
11192
_lt_compiler_boilerplate=`cat conftest.err`
9947
11193
$rm conftest*
9948
11194
 
9949
11195
ac_outfile=conftest.$ac_objext
9950
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
11196
echo "$lt_simple_link_test_code" >conftest.$ac_ext
9951
11197
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9952
11198
_lt_linker_boilerplate=`cat conftest.err`
9953
 
$rm conftest*
 
11199
$rm -r conftest*
9954
11200
 
9955
11201
 
9956
11202
# Allow CC to be a program name with arguments.
9997
11243
  # Set up default GNU C++ configuration
9998
11244
 
9999
11245
 
10000
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
11246
# Check whether --with-gnu-ld was given.
10001
11247
if test "${with_gnu_ld+set}" = set; then
10002
 
  withval="$with_gnu_ld"
10003
 
  test "$withval" = no || with_gnu_ld=yes
 
11248
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10004
11249
else
10005
11250
  with_gnu_ld=no
10006
 
fi;
 
11251
fi
 
11252
 
10007
11253
ac_prog=ld
10008
11254
if test "$GCC" = yes; then
10009
11255
  # Check if gcc -print-prog-name=ld gives a path.
10010
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10011
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
11256
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
11257
$as_echo_n "checking for ld used by $CC... " >&6; }
10012
11258
  case $host in
10013
11259
  *-*-mingw*)
10014
11260
    # gcc leaves a trailing carriage return which upsets mingw
10037
11283
    ;;
10038
11284
  esac
10039
11285
elif test "$with_gnu_ld" = yes; then
10040
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
10041
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
11286
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
11287
$as_echo_n "checking for GNU ld... " >&6; }
10042
11288
else
10043
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10044
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
11289
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
11290
$as_echo_n "checking for non-GNU ld... " >&6; }
10045
11291
fi
10046
11292
if test "${lt_cv_path_LD+set}" = set; then
10047
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11293
  $as_echo_n "(cached) " >&6
10048
11294
else
10049
11295
  if test -z "$LD"; then
10050
11296
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10074
11320
 
10075
11321
LD="$lt_cv_path_LD"
10076
11322
if test -n "$LD"; then
10077
 
  echo "$as_me:$LINENO: result: $LD" >&5
10078
 
echo "${ECHO_T}$LD" >&6
 
11323
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
11324
$as_echo "$LD" >&6; }
10079
11325
else
10080
 
  echo "$as_me:$LINENO: result: no" >&5
10081
 
echo "${ECHO_T}no" >&6
 
11326
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11327
$as_echo "no" >&6; }
10082
11328
fi
10083
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10084
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
11329
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
11330
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10085
11331
   { (exit 1); exit 1; }; }
10086
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10087
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
11332
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
11333
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
10088
11334
if test "${lt_cv_prog_gnu_ld+set}" = set; then
10089
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11335
  $as_echo_n "(cached) " >&6
10090
11336
else
10091
11337
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
10092
11338
case `$LD -v 2>&1 </dev/null` in
10098
11344
  ;;
10099
11345
esac
10100
11346
fi
10101
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10102
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
11347
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
11348
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
10103
11349
with_gnu_ld=$lt_cv_prog_gnu_ld
10104
11350
 
10105
11351
 
10149
11395
fi
10150
11396
 
10151
11397
# PORTME: fill in a description of your system's C++ link characteristics
10152
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10153
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
11398
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
11399
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10154
11400
ld_shlibs_CXX=yes
10155
11401
case $host_os in
10156
11402
  aix3*)
10157
11403
    # FIXME: insert proper C++ library support
10158
11404
    ld_shlibs_CXX=no
10159
11405
    ;;
10160
 
  aix4* | aix5*)
 
11406
  aix[4-9]*)
10161
11407
    if test "$host_cpu" = ia64; then
10162
11408
      # On IA64, the linker does run time linking by default, so we don't
10163
11409
      # have to do anything special.
10170
11416
      # Test if we are trying to use run time linking or normal
10171
11417
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10172
11418
      # need to do runtime linking.
10173
 
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
11419
      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10174
11420
        for ld_flag in $LDFLAGS; do
10175
11421
          case $ld_flag in
10176
11422
          *-brtl*)
10206
11452
           strings "$collect2name" | grep resolve_lib_name >/dev/null
10207
11453
        then
10208
11454
          # We have reworked collect2
10209
 
          hardcode_direct_CXX=yes
 
11455
          :
10210
11456
        else
10211
11457
          # We have old collect2
10212
11458
          hardcode_direct_CXX=unsupported
10262
11508
}
10263
11509
_ACEOF
10264
11510
rm -f conftest.$ac_objext conftest$ac_exeext
10265
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10266
 
  (eval $ac_link) 2>conftest.er1
 
11511
if { (ac_try="$ac_link"
 
11512
case "(($ac_try" in
 
11513
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11514
  *) ac_try_echo=$ac_try;;
 
11515
esac
 
11516
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11517
$as_echo "$ac_try_echo") >&5
 
11518
  (eval "$ac_link") 2>conftest.er1
10267
11519
  ac_status=$?
10268
11520
  grep -v '^ *+' conftest.er1 >conftest.err
10269
11521
  rm -f conftest.er1
10270
11522
  cat conftest.err >&5
10271
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10272
 
  (exit $ac_status); } &&
10273
 
         { ac_try='test -z "$ac_cxx_werror_flag"
10274
 
                         || test ! -s conftest.err'
10275
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10276
 
  (eval $ac_try) 2>&5
10277
 
  ac_status=$?
10278
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10279
 
  (exit $ac_status); }; } &&
10280
 
         { ac_try='test -s conftest$ac_exeext'
10281
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10282
 
  (eval $ac_try) 2>&5
10283
 
  ac_status=$?
10284
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10285
 
  (exit $ac_status); }; }; then
 
11523
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11524
  (exit $ac_status); } && {
 
11525
         test -z "$ac_cxx_werror_flag" ||
 
11526
         test ! -s conftest.err
 
11527
       } && test -s conftest$ac_exeext && {
 
11528
         test "$cross_compiling" = yes ||
 
11529
         $as_test_x conftest$ac_exeext
 
11530
       }; then
10286
11531
 
10287
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10288
 
}'`
 
11532
lt_aix_libpath_sed='
 
11533
    /Import File Strings/,/^$/ {
 
11534
        /^0/ {
 
11535
            s/^0  *\(.*\)$/\1/
 
11536
            p
 
11537
        }
 
11538
    }'
 
11539
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10289
11540
# Check for a 64-bit object if we didn't find anything.
10290
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10291
 
}'`; fi
 
11541
if test -z "$aix_libpath"; then
 
11542
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11543
fi
10292
11544
else
10293
 
  echo "$as_me: failed program was:" >&5
 
11545
  $as_echo "$as_me: failed program was:" >&5
10294
11546
sed 's/^/| /' conftest.$ac_ext >&5
10295
11547
 
 
11548
 
10296
11549
fi
10297
 
rm -f conftest.err conftest.$ac_objext \
 
11550
 
 
11551
rm -rf conftest.dSYM
 
11552
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10298
11553
      conftest$ac_exeext conftest.$ac_ext
10299
11554
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10300
11555
 
10324
11579
}
10325
11580
_ACEOF
10326
11581
rm -f conftest.$ac_objext conftest$ac_exeext
10327
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10328
 
  (eval $ac_link) 2>conftest.er1
 
11582
if { (ac_try="$ac_link"
 
11583
case "(($ac_try" in
 
11584
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11585
  *) ac_try_echo=$ac_try;;
 
11586
esac
 
11587
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11588
$as_echo "$ac_try_echo") >&5
 
11589
  (eval "$ac_link") 2>conftest.er1
10329
11590
  ac_status=$?
10330
11591
  grep -v '^ *+' conftest.er1 >conftest.err
10331
11592
  rm -f conftest.er1
10332
11593
  cat conftest.err >&5
10333
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10334
 
  (exit $ac_status); } &&
10335
 
         { ac_try='test -z "$ac_cxx_werror_flag"
10336
 
                         || test ! -s conftest.err'
10337
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10338
 
  (eval $ac_try) 2>&5
10339
 
  ac_status=$?
10340
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10341
 
  (exit $ac_status); }; } &&
10342
 
         { ac_try='test -s conftest$ac_exeext'
10343
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10344
 
  (eval $ac_try) 2>&5
10345
 
  ac_status=$?
10346
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10347
 
  (exit $ac_status); }; }; then
 
11594
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11595
  (exit $ac_status); } && {
 
11596
         test -z "$ac_cxx_werror_flag" ||
 
11597
         test ! -s conftest.err
 
11598
       } && test -s conftest$ac_exeext && {
 
11599
         test "$cross_compiling" = yes ||
 
11600
         $as_test_x conftest$ac_exeext
 
11601
       }; then
10348
11602
 
10349
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10350
 
}'`
 
11603
lt_aix_libpath_sed='
 
11604
    /Import File Strings/,/^$/ {
 
11605
        /^0/ {
 
11606
            s/^0  *\(.*\)$/\1/
 
11607
            p
 
11608
        }
 
11609
    }'
 
11610
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10351
11611
# Check for a 64-bit object if we didn't find anything.
10352
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10353
 
}'`; fi
 
11612
if test -z "$aix_libpath"; then
 
11613
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11614
fi
10354
11615
else
10355
 
  echo "$as_me: failed program was:" >&5
 
11616
  $as_echo "$as_me: failed program was:" >&5
10356
11617
sed 's/^/| /' conftest.$ac_ext >&5
10357
11618
 
 
11619
 
10358
11620
fi
10359
 
rm -f conftest.err conftest.$ac_objext \
 
11621
 
 
11622
rm -rf conftest.dSYM
 
11623
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10360
11624
      conftest$ac_exeext conftest.$ac_ext
10361
11625
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10362
11626
 
10418
11682
    fi
10419
11683
  ;;
10420
11684
      darwin* | rhapsody*)
10421
 
        case $host_os in
10422
 
        rhapsody* | darwin1.[012])
10423
 
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
10424
 
         ;;
10425
 
       *) # Darwin 1.3 on
10426
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10427
 
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10428
 
         else
10429
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
10430
 
             10.[012])
10431
 
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10432
 
               ;;
10433
 
             10.*)
10434
 
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
10435
 
               ;;
10436
 
           esac
10437
 
         fi
10438
 
         ;;
10439
 
        esac
10440
11685
      archive_cmds_need_lc_CXX=no
10441
11686
      hardcode_direct_CXX=no
10442
11687
      hardcode_automatic_CXX=yes
10443
11688
      hardcode_shlibpath_var_CXX=unsupported
10444
11689
      whole_archive_flag_spec_CXX=''
10445
11690
      link_all_deplibs_CXX=yes
10446
 
 
10447
 
    if test "$GXX" = yes ; then
10448
 
      lt_int_apple_cc_single_mod=no
 
11691
      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
 
11692
      if test "$GXX" = yes ; then
10449
11693
      output_verbose_link_cmd='echo'
10450
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
10451
 
       lt_int_apple_cc_single_mod=yes
 
11694
      archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
11695
      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
11696
      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
11697
      module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 
11698
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
11699
        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${_lt_dsymutil}"
 
11700
        archive_expsym_cmds_CXX="sed '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${_lt_dar_export_syms}${_lt_dsymutil}"
10452
11701
      fi
10453
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10454
 
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10455
 
      else
10456
 
          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'
10457
 
        fi
10458
 
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10459
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10460
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10461
 
            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}'
10462
 
          else
10463
 
            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}'
10464
 
          fi
10465
 
            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}'
10466
11702
      else
10467
11703
      case $cc_basename in
10468
11704
        xlc*)
10469
11705
         output_verbose_link_cmd='echo'
10470
 
          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'
 
11706
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
10471
11707
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10472
11708
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10473
 
          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}'
 
11709
          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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10474
11710
          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}'
10475
11711
          ;;
10476
11712
       *)
10504
11740
  freebsd-elf*)
10505
11741
    archive_cmds_need_lc_CXX=no
10506
11742
    ;;
10507
 
  freebsd* | kfreebsd*-gnu | dragonfly*)
 
11743
  freebsd* | dragonfly*)
10508
11744
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10509
11745
    # conventions
10510
11746
    ld_shlibs_CXX=yes
10553
11789
      hardcode_libdir_separator_CXX=:
10554
11790
 
10555
11791
      case $host_cpu in
10556
 
      hppa*64*|ia64*)
10557
 
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
10558
 
        ;;
 
11792
      hppa*64*|ia64*) ;;
10559
11793
      *)
10560
11794
        export_dynamic_flag_spec_CXX='${wl}-E'
10561
11795
        ;;
10623
11857
        ;;
10624
11858
    esac
10625
11859
    ;;
10626
 
  interix3*)
 
11860
  interix[3-9]*)
10627
11861
    hardcode_direct_CXX=no
10628
11862
    hardcode_shlibpath_var_CXX=no
10629
11863
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10663
11897
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10664
11898
    hardcode_libdir_separator_CXX=:
10665
11899
    ;;
10666
 
  linux*)
 
11900
  linux* | k*bsd*-gnu)
10667
11901
    case $cc_basename in
10668
11902
      KCC*)
10669
11903
        # Kuck and Associates, Inc. (KAI) C++ Compiler
10715
11949
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10716
11950
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10717
11951
        ;;
10718
 
      pgCC*)
 
11952
      pgCC* | pgcpp*)
10719
11953
        # Portland Group C++ compiler
10720
11954
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
10721
11955
        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'
10743
11977
        # dependencies.
10744
11978
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10745
11979
        ;;
 
11980
      *)
 
11981
        case `$CC -V 2>&1 | sed 5q` in
 
11982
        *Sun\ C*)
 
11983
          # Sun C++ 5.9
 
11984
          no_undefined_flag_CXX=' -zdefs'
 
11985
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
11986
          archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
 
11987
          hardcode_libdir_flag_spec_CXX='-R$libdir'
 
11988
          whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
11989
 
 
11990
          # Not sure whether something based on
 
11991
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
11992
          # would be better.
 
11993
          output_verbose_link_cmd='echo'
 
11994
 
 
11995
          # Archives containing C++ object files must be created using
 
11996
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
11997
          # necessary to make sure instantiated templates are included
 
11998
          # in the archive.
 
11999
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
12000
          ;;
 
12001
        esac
 
12002
        ;;
10746
12003
    esac
10747
12004
    ;;
10748
12005
  lynxos*)
10781
12038
    ld_shlibs_CXX=no
10782
12039
    ;;
10783
12040
  openbsd*)
10784
 
    hardcode_direct_CXX=yes
10785
 
    hardcode_shlibpath_var_CXX=no
10786
 
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10787
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10788
 
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10789
 
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
10790
 
      export_dynamic_flag_spec_CXX='${wl}-E'
10791
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
12041
    if test -f /usr/libexec/ld.so; then
 
12042
      hardcode_direct_CXX=yes
 
12043
      hardcode_shlibpath_var_CXX=no
 
12044
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
12045
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
12046
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
12047
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
12048
        export_dynamic_flag_spec_CXX='${wl}-E'
 
12049
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
12050
      fi
 
12051
      output_verbose_link_cmd='echo'
 
12052
    else
 
12053
      ld_shlibs_CXX=no
10792
12054
    fi
10793
 
    output_verbose_link_cmd='echo'
10794
12055
    ;;
10795
12056
  osf3*)
10796
12057
    case $cc_basename in
10952
12213
        case $host_os in
10953
12214
          solaris2.[0-5] | solaris2.[0-5].*) ;;
10954
12215
          *)
10955
 
            # The C++ compiler is used as linker so we must use $wl
10956
 
            # flag to pass the commands to the underlying system
10957
 
            # linker. We must also pass each convience library through
10958
 
            # to the system linker between allextract/defaultextract.
10959
 
            # The C++ compiler will combine linker options so we
10960
 
            # cannot just pass the convience library names through
10961
 
            # without $wl.
 
12216
            # The compiler driver will combine and reorder linker options,
 
12217
            # but understands `-z linker_flag'.
10962
12218
            # Supported since Solaris 2.6 (maybe 2.5.1?)
10963
 
            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'
 
12219
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
10964
12220
            ;;
10965
12221
        esac
10966
12222
        link_all_deplibs_CXX=yes
11007
12263
          fi
11008
12264
 
11009
12265
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
12266
          case $host_os in
 
12267
          solaris2.[0-5] | solaris2.[0-5].*) ;;
 
12268
          *)
 
12269
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
12270
            ;;
 
12271
          esac
11010
12272
        fi
11011
12273
        ;;
11012
12274
    esac
11087
12349
    ld_shlibs_CXX=no
11088
12350
    ;;
11089
12351
esac
11090
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11091
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
12352
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
12353
$as_echo "$ld_shlibs_CXX" >&6; }
11092
12354
test "$ld_shlibs_CXX" = no && can_build_shared=no
11093
12355
 
11094
12356
GCC_CXX="$GXX"
11095
12357
LD_CXX="$LD"
11096
12358
 
11097
 
 
11098
12359
cat > conftest.$ac_ext <<EOF
11099
12360
class Foo
11100
12361
{
11108
12369
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11109
12370
  (eval $ac_compile) 2>&5
11110
12371
  ac_status=$?
11111
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12372
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11112
12373
  (exit $ac_status); }; then
11113
12374
  # Parse the compiler output and extract the necessary
11114
12375
  # objects, libraries and library flags.
11196
12457
 
11197
12458
$rm -f confest.$objext
11198
12459
 
 
12460
compiler_lib_search_dirs_CXX=
 
12461
if test -n "$compiler_lib_search_path_CXX"; then
 
12462
  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
12463
fi
 
12464
 
11199
12465
# PORTME: override above test on systems where it is broken
11200
12466
case $host_os in
11201
 
interix3*)
 
12467
interix[3-9]*)
11202
12468
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
11203
12469
  # hack all around it, let's just trust "g++" to DTRT.
11204
12470
  predep_objects_CXX=
11206
12472
  postdeps_CXX=
11207
12473
  ;;
11208
12474
 
 
12475
linux*)
 
12476
  case `$CC -V 2>&1 | sed 5q` in
 
12477
  *Sun\ C*)
 
12478
    # Sun C++ 5.9
 
12479
    #
 
12480
    # The more standards-conforming stlport4 library is
 
12481
    # incompatible with the Cstd library. Avoid specifying
 
12482
    # it if it's in CXXFLAGS. Ignore libCrun as
 
12483
    # -library=stlport4 depends on it.
 
12484
    case " $CXX $CXXFLAGS " in
 
12485
    *" -library=stlport4 "*)
 
12486
      solaris_use_stlport4=yes
 
12487
      ;;
 
12488
    esac
 
12489
    if test "$solaris_use_stlport4" != yes; then
 
12490
      postdeps_CXX='-library=Cstd -library=Crun'
 
12491
    fi
 
12492
    ;;
 
12493
  esac
 
12494
  ;;
 
12495
 
11209
12496
solaris*)
11210
12497
  case $cc_basename in
11211
12498
  CC*)
 
12499
    # The more standards-conforming stlport4 library is
 
12500
    # incompatible with the Cstd library. Avoid specifying
 
12501
    # it if it's in CXXFLAGS. Ignore libCrun as
 
12502
    # -library=stlport4 depends on it.
 
12503
    case " $CXX $CXXFLAGS " in
 
12504
    *" -library=stlport4 "*)
 
12505
      solaris_use_stlport4=yes
 
12506
      ;;
 
12507
    esac
 
12508
 
11212
12509
    # Adding this requires a known-good setup of shared libraries for
11213
12510
    # Sun compiler versions before 5.6, else PIC objects from an old
11214
12511
    # archive will be linked into the output, leading to subtle bugs.
11215
 
    postdeps_CXX='-lCstd -lCrun'
 
12512
    if test "$solaris_use_stlport4" != yes; then
 
12513
      postdeps_CXX='-library=Cstd -library=Crun'
 
12514
    fi
11216
12515
    ;;
11217
12516
  esac
11218
12517
  ;;
11219
12518
esac
11220
12519
 
11221
 
 
11222
12520
case " $postdeps_CXX " in
11223
12521
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
11224
12522
esac
11227
12525
lt_prog_compiler_pic_CXX=
11228
12526
lt_prog_compiler_static_CXX=
11229
12527
 
11230
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11231
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
12528
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
12529
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11232
12530
 
11233
12531
  # C++ specific cases for pic, static, wl, etc.
11234
12532
  if test "$GXX" = yes; then
11249
12547
      # like `-m68040'.
11250
12548
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
11251
12549
      ;;
11252
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
12550
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11253
12551
      # PIC is the default for these OSes.
11254
12552
      ;;
11255
 
    mingw* | os2* | pw32*)
 
12553
    mingw* | cygwin* | os2* | pw32*)
11256
12554
      # This hack is so that the source file can tell whether it is being
11257
12555
      # built for inclusion in a dll (and should export symbols for example).
 
12556
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
12557
      # (--disable-auto-import) libraries
11258
12558
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
11259
12559
      ;;
11260
12560
    darwin* | rhapsody*)
11266
12566
      # DJGPP does not support shared libraries at all
11267
12567
      lt_prog_compiler_pic_CXX=
11268
12568
      ;;
11269
 
    interix3*)
 
12569
    interix[3-9]*)
11270
12570
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11271
12571
      # Instead, we relocate shared libraries at runtime.
11272
12572
      ;;
11292
12592
    esac
11293
12593
  else
11294
12594
    case $host_os in
11295
 
      aix4* | aix5*)
 
12595
      aix[4-9]*)
11296
12596
        # All AIX code is PIC.
11297
12597
        if test "$host_cpu" = ia64; then
11298
12598
          # AIX 5 now supports IA64 processor
11332
12632
            ;;
11333
12633
        esac
11334
12634
        ;;
11335
 
      freebsd* | kfreebsd*-gnu | dragonfly*)
 
12635
      freebsd* | dragonfly*)
11336
12636
        # FreeBSD uses GNU C++
11337
12637
        ;;
11338
12638
      hpux9* | hpux10* | hpux11*)
11375
12675
            ;;
11376
12676
        esac
11377
12677
        ;;
11378
 
      linux*)
 
12678
      linux* | k*bsd*-gnu)
11379
12679
        case $cc_basename in
11380
12680
          KCC*)
11381
12681
            # KAI C++ Compiler
11388
12688
            lt_prog_compiler_pic_CXX='-KPIC'
11389
12689
            lt_prog_compiler_static_CXX='-static'
11390
12690
            ;;
11391
 
          pgCC*)
 
12691
          pgCC* | pgcpp*)
11392
12692
            # Portland Group C++ compiler.
11393
12693
            lt_prog_compiler_wl_CXX='-Wl,'
11394
12694
            lt_prog_compiler_pic_CXX='-fpic'
11402
12702
            lt_prog_compiler_static_CXX='-non_shared'
11403
12703
            ;;
11404
12704
          *)
 
12705
            case `$CC -V 2>&1 | sed 5q` in
 
12706
            *Sun\ C*)
 
12707
              # Sun C++ 5.9
 
12708
              lt_prog_compiler_pic_CXX='-KPIC'
 
12709
              lt_prog_compiler_static_CXX='-Bstatic'
 
12710
              lt_prog_compiler_wl_CXX='-Qoption ld '
 
12711
              ;;
 
12712
            esac
11405
12713
            ;;
11406
12714
        esac
11407
12715
        ;;
11501
12809
    esac
11502
12810
  fi
11503
12811
 
11504
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11505
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
 
12812
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
12813
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
11506
12814
 
11507
12815
#
11508
12816
# Check to make sure the PIC flag actually works.
11509
12817
#
11510
12818
if test -n "$lt_prog_compiler_pic_CXX"; then
11511
12819
 
11512
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11513
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11514
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11515
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12820
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
12821
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
 
12822
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
 
12823
  $as_echo_n "(cached) " >&6
11516
12824
else
11517
 
  lt_prog_compiler_pic_works_CXX=no
 
12825
  lt_cv_prog_compiler_pic_works_CXX=no
11518
12826
  ac_outfile=conftest.$ac_objext
11519
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12827
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11520
12828
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
11521
12829
   # Insert the option either (1) after the last *FLAGS variable, or
11522
12830
   # (2) before a word containing "conftest.", or (3) at the end.
11527
12835
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11528
12836
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11529
12837
   -e 's:$: $lt_compiler_flag:'`
11530
 
   (eval echo "\"\$as_me:11530: $lt_compile\"" >&5)
 
12838
   (eval echo "\"\$as_me:12838: $lt_compile\"" >&5)
11531
12839
   (eval "$lt_compile" 2>conftest.err)
11532
12840
   ac_status=$?
11533
12841
   cat conftest.err >&5
11534
 
   echo "$as_me:11534: \$? = $ac_status" >&5
 
12842
   echo "$as_me:12842: \$? = $ac_status" >&5
11535
12843
   if (exit $ac_status) && test -s "$ac_outfile"; then
11536
12844
     # The compiler can only warn and ignore the option if not recognized
11537
12845
     # So say no if there are warnings other than the usual output.
11538
12846
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
11539
12847
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11540
12848
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11541
 
       lt_prog_compiler_pic_works_CXX=yes
 
12849
       lt_cv_prog_compiler_pic_works_CXX=yes
11542
12850
     fi
11543
12851
   fi
11544
12852
   $rm conftest*
11545
12853
 
11546
12854
fi
11547
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11548
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
 
12855
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
12856
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
11549
12857
 
11550
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
 
12858
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
11551
12859
    case $lt_prog_compiler_pic_CXX in
11552
12860
     "" | " "*) ;;
11553
12861
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
11572
12880
# Check to make sure the static flag actually works.
11573
12881
#
11574
12882
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
11575
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11576
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11577
 
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
11578
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12883
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
12884
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
12885
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
 
12886
  $as_echo_n "(cached) " >&6
11579
12887
else
11580
 
  lt_prog_compiler_static_works_CXX=no
 
12888
  lt_cv_prog_compiler_static_works_CXX=no
11581
12889
   save_LDFLAGS="$LDFLAGS"
11582
12890
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11583
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
12891
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11584
12892
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11585
12893
     # The linker can only warn and ignore the option if not recognized
11586
12894
     # So say no if there are warnings
11590
12898
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
11591
12899
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11592
12900
       if diff conftest.exp conftest.er2 >/dev/null; then
11593
 
         lt_prog_compiler_static_works_CXX=yes
 
12901
         lt_cv_prog_compiler_static_works_CXX=yes
11594
12902
       fi
11595
12903
     else
11596
 
       lt_prog_compiler_static_works_CXX=yes
 
12904
       lt_cv_prog_compiler_static_works_CXX=yes
11597
12905
     fi
11598
12906
   fi
11599
 
   $rm conftest*
 
12907
   $rm -r conftest*
11600
12908
   LDFLAGS="$save_LDFLAGS"
11601
12909
 
11602
12910
fi
11603
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
11604
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
 
12911
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
12912
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
11605
12913
 
11606
 
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
 
12914
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
11607
12915
    :
11608
12916
else
11609
12917
    lt_prog_compiler_static_CXX=
11610
12918
fi
11611
12919
 
11612
12920
 
11613
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11614
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
12921
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
12922
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11615
12923
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11616
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12924
  $as_echo_n "(cached) " >&6
11617
12925
else
11618
12926
  lt_cv_prog_compiler_c_o_CXX=no
11619
12927
   $rm -r conftest 2>/dev/null
11620
12928
   mkdir conftest
11621
12929
   cd conftest
11622
12930
   mkdir out
11623
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12931
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11624
12932
 
11625
12933
   lt_compiler_flag="-o out/conftest2.$ac_objext"
11626
12934
   # Insert the option either (1) after the last *FLAGS variable, or
11631
12939
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11632
12940
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11633
12941
   -e 's:$: $lt_compiler_flag:'`
11634
 
   (eval echo "\"\$as_me:11634: $lt_compile\"" >&5)
 
12942
   (eval echo "\"\$as_me:12942: $lt_compile\"" >&5)
11635
12943
   (eval "$lt_compile" 2>out/conftest.err)
11636
12944
   ac_status=$?
11637
12945
   cat out/conftest.err >&5
11638
 
   echo "$as_me:11638: \$? = $ac_status" >&5
 
12946
   echo "$as_me:12946: \$? = $ac_status" >&5
11639
12947
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
11640
12948
   then
11641
12949
     # The compiler can only warn and ignore the option if not recognized
11657
12965
   $rm conftest*
11658
12966
 
11659
12967
fi
11660
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11661
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
 
12968
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
12969
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
11662
12970
 
11663
12971
 
11664
12972
hard_links="nottested"
11665
12973
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
11666
12974
  # do not overwrite the value of need_locks provided by the user
11667
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11668
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
12975
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
12976
$as_echo_n "checking if we can lock with hard links... " >&6; }
11669
12977
  hard_links=yes
11670
12978
  $rm conftest*
11671
12979
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11672
12980
  touch conftest.a
11673
12981
  ln conftest.a conftest.b 2>&5 || hard_links=no
11674
12982
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11675
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
11676
 
echo "${ECHO_T}$hard_links" >&6
 
12983
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
12984
$as_echo "$hard_links" >&6; }
11677
12985
  if test "$hard_links" = no; then
11678
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11679
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
12986
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
12987
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11680
12988
    need_locks=warn
11681
12989
  fi
11682
12990
else
11683
12991
  need_locks=no
11684
12992
fi
11685
12993
 
11686
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11687
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
12994
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
12995
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11688
12996
 
11689
12997
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11690
12998
  case $host_os in
11691
 
  aix4* | aix5*)
 
12999
  aix[4-9]*)
11692
13000
    # If we're using GNU nm, then we don't want the "-C" option.
11693
13001
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
11694
13002
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
11701
13009
    export_symbols_cmds_CXX="$ltdll_cmds"
11702
13010
  ;;
11703
13011
  cygwin* | mingw*)
11704
 
    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'
 
13012
    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'
11705
13013
  ;;
11706
13014
  *)
11707
13015
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11708
13016
  ;;
11709
13017
  esac
 
13018
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11710
13019
 
11711
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11712
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
13020
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
13021
$as_echo "$ld_shlibs_CXX" >&6; }
11713
13022
test "$ld_shlibs_CXX" = no && can_build_shared=no
11714
13023
 
11715
13024
#
11729
13038
      # Test whether the compiler implicitly links with -lc since on some
11730
13039
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11731
13040
      # to ld, don't add -lc before -lgcc.
11732
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11733
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
13041
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
13042
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11734
13043
      $rm conftest*
11735
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
13044
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11736
13045
 
11737
13046
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11738
13047
  (eval $ac_compile) 2>&5
11739
13048
  ac_status=$?
11740
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13049
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11741
13050
  (exit $ac_status); } 2>conftest.err; then
11742
13051
        soname=conftest
11743
13052
        lib=conftest
11755
13064
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11756
13065
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
11757
13066
  ac_status=$?
11758
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13067
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11759
13068
  (exit $ac_status); }
11760
13069
        then
11761
13070
          archive_cmds_need_lc_CXX=no
11767
13076
        cat conftest.err 1>&5
11768
13077
      fi
11769
13078
      $rm conftest*
11770
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11771
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
 
13079
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
13080
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
11772
13081
      ;;
11773
13082
    esac
11774
13083
  fi
11775
13084
  ;;
11776
13085
esac
11777
13086
 
11778
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11779
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
13087
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
13088
$as_echo_n "checking dynamic linker characteristics... " >&6; }
11780
13089
library_names_spec=
11781
13090
libname_spec='lib$name'
11782
13091
soname_spec=
11790
13099
version_type=none
11791
13100
dynamic_linker="$host_os ld.so"
11792
13101
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11793
 
if test "$GCC" = yes; then
11794
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11795
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11796
 
    # if the path contains ";" then we assume it to be the separator
11797
 
    # otherwise default to the standard path separator (i.e. ":") - it is
11798
 
    # assumed that no part of a normal pathname contains ";" but that should
11799
 
    # okay in the real world where ";" in dirpaths is itself problematic.
11800
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11801
 
  else
11802
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11803
 
  fi
11804
 
else
11805
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11806
 
fi
 
13102
 
11807
13103
need_lib_prefix=unknown
11808
13104
hardcode_into_libs=no
11809
13105
 
11821
13117
  soname_spec='${libname}${release}${shared_ext}$major'
11822
13118
  ;;
11823
13119
 
11824
 
aix4* | aix5*)
 
13120
aix[4-9]*)
11825
13121
  version_type=linux
11826
13122
  need_lib_prefix=no
11827
13123
  need_version=no
11960
13256
  shlibpath_overrides_runpath=yes
11961
13257
  shlibpath_var=DYLD_LIBRARY_PATH
11962
13258
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11963
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11964
 
  if test "$GCC" = yes; then
11965
 
    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"`
11966
 
  else
11967
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
11968
 
  fi
 
13259
 
11969
13260
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11970
13261
  ;;
11971
13262
 
11982
13273
  dynamic_linker=no
11983
13274
  ;;
11984
13275
 
11985
 
kfreebsd*-gnu)
11986
 
  version_type=linux
11987
 
  need_lib_prefix=no
11988
 
  need_version=no
11989
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11990
 
  soname_spec='${libname}${release}${shared_ext}$major'
11991
 
  shlibpath_var=LD_LIBRARY_PATH
11992
 
  shlibpath_overrides_runpath=no
11993
 
  hardcode_into_libs=yes
11994
 
  dynamic_linker='GNU ld.so'
11995
 
  ;;
11996
 
 
11997
13276
freebsd* | dragonfly*)
11998
13277
  # DragonFly does not have aout.  When/if they implement a new
11999
13278
  # versioning mechanism, adjust this.
12031
13310
    shlibpath_overrides_runpath=no
12032
13311
    hardcode_into_libs=yes
12033
13312
    ;;
12034
 
  freebsd*) # from 4.6 on
 
13313
  *) # from 4.6 on, and DragonFly
12035
13314
    shlibpath_overrides_runpath=yes
12036
13315
    hardcode_into_libs=yes
12037
13316
    ;;
12094
13373
  postinstall_cmds='chmod 555 $lib'
12095
13374
  ;;
12096
13375
 
12097
 
interix3*)
 
13376
interix[3-9]*)
12098
13377
  version_type=linux
12099
13378
  need_lib_prefix=no
12100
13379
  need_version=no
12149
13428
  ;;
12150
13429
 
12151
13430
# This must be Linux ELF.
12152
 
linux*)
 
13431
linux* | k*bsd*-gnu)
12153
13432
  version_type=linux
12154
13433
  need_lib_prefix=no
12155
13434
  need_version=no
12163
13442
  # before this can be enabled.
12164
13443
  hardcode_into_libs=yes
12165
13444
 
12166
 
  # find out which ABI we are using
12167
 
  libsuff=
12168
 
  case "$host_cpu" in
12169
 
  x86_64*|s390x*|powerpc64*)
12170
 
    echo '#line 12170 "configure"' > conftest.$ac_ext
12171
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12172
 
  (eval $ac_compile) 2>&5
12173
 
  ac_status=$?
12174
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12175
 
  (exit $ac_status); }; then
12176
 
      case `/usr/bin/file conftest.$ac_objext` in
12177
 
      *64-bit*)
12178
 
        libsuff=64
12179
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
12180
 
        ;;
12181
 
      esac
12182
 
    fi
12183
 
    rm -rf conftest*
12184
 
    ;;
12185
 
  esac
12186
 
 
12187
13445
  # Append ld.so.conf contents to the search path
12188
13446
  if test -f /etc/ld.so.conf; then
12189
 
    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' ' '`
12190
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
13447
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
13448
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12191
13449
  fi
12192
13450
 
12193
13451
  # We used to test for /lib/ld.so.1 and disable shared libraries on
12199
13457
  dynamic_linker='GNU/Linux ld.so'
12200
13458
  ;;
12201
13459
 
12202
 
knetbsd*-gnu)
12203
 
  version_type=linux
12204
 
  need_lib_prefix=no
12205
 
  need_version=no
12206
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12207
 
  soname_spec='${libname}${release}${shared_ext}$major'
12208
 
  shlibpath_var=LD_LIBRARY_PATH
12209
 
  shlibpath_overrides_runpath=no
12210
 
  hardcode_into_libs=yes
12211
 
  dynamic_linker='GNU ld.so'
12212
 
  ;;
12213
 
 
12214
13460
netbsd*)
12215
13461
  version_type=sunos
12216
13462
  need_lib_prefix=no
12292
13538
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12293
13539
  ;;
12294
13540
 
 
13541
rdos*)
 
13542
  dynamic_linker=no
 
13543
  ;;
 
13544
 
12295
13545
solaris*)
12296
13546
  version_type=linux
12297
13547
  need_lib_prefix=no
12384
13634
  dynamic_linker=no
12385
13635
  ;;
12386
13636
esac
12387
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12388
 
echo "${ECHO_T}$dynamic_linker" >&6
 
13637
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
13638
$as_echo "$dynamic_linker" >&6; }
12389
13639
test "$dynamic_linker" = no && can_build_shared=no
12390
13640
 
 
13641
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
13642
  $as_echo_n "(cached) " >&6
 
13643
else
 
13644
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
13645
fi
 
13646
 
 
13647
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
13648
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
13649
  $as_echo_n "(cached) " >&6
 
13650
else
 
13651
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
13652
fi
 
13653
 
 
13654
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
13655
 
12391
13656
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12392
13657
if test "$GCC" = yes; then
12393
13658
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12394
13659
fi
12395
13660
 
12396
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12397
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
13661
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
13662
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12398
13663
hardcode_action_CXX=
12399
13664
if test -n "$hardcode_libdir_flag_spec_CXX" || \
12400
13665
   test -n "$runpath_var_CXX" || \
12418
13683
  # directories.
12419
13684
  hardcode_action_CXX=unsupported
12420
13685
fi
12421
 
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12422
 
echo "${ECHO_T}$hardcode_action_CXX" >&6
 
13686
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
13687
$as_echo "$hardcode_action_CXX" >&6; }
12423
13688
 
12424
13689
if test "$hardcode_action_CXX" = relink; then
12425
13690
  # Fast installation is not supported
12471
13736
    predeps_CXX \
12472
13737
    postdeps_CXX \
12473
13738
    compiler_lib_search_path_CXX \
 
13739
    compiler_lib_search_dirs_CXX \
12474
13740
    archive_cmds_CXX \
12475
13741
    archive_expsym_cmds_CXX \
12476
13742
    postinstall_cmds_CXX \
12486
13752
    module_cmds_CXX \
12487
13753
    module_expsym_cmds_CXX \
12488
13754
    lt_cv_prog_compiler_c_o_CXX \
 
13755
    fix_srcfile_path_CXX \
12489
13756
    exclude_expsyms_CXX \
12490
13757
    include_expsyms_CXX; do
12491
13758
 
12718
13985
# shared library.
12719
13986
postdeps=$lt_postdeps_CXX
12720
13987
 
 
13988
# The directories searched by this compiler when creating a shared
 
13989
# library
 
13990
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
 
13991
 
12721
13992
# The library search path used internally by the compiler when linking
12722
13993
# a shared library.
12723
13994
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12806
14077
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12807
14078
 
12808
14079
# Fix the shell variable \$srcfile for the compiler.
12809
 
fix_srcfile_path="$fix_srcfile_path_CXX"
 
14080
fix_srcfile_path=$lt_fix_srcfile_path
12810
14081
 
12811
14082
# Set to yes if exported symbols are required.
12812
14083
always_export_symbols=$always_export_symbols_CXX
12897
14168
objext_F77=$objext
12898
14169
 
12899
14170
# Code to be used in simple compile tests
12900
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
 
14171
lt_simple_compile_test_code="\
 
14172
      subroutine t
 
14173
      return
 
14174
      end
 
14175
"
12901
14176
 
12902
14177
# Code to be used in simple link tests
12903
 
lt_simple_link_test_code="      program t\n      end\n"
 
14178
lt_simple_link_test_code="\
 
14179
      program t
 
14180
      end
 
14181
"
12904
14182
 
12905
14183
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12906
14184
 
12916
14194
 
12917
14195
# save warnings/boilerplate of simple test code
12918
14196
ac_outfile=conftest.$ac_objext
12919
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
14197
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12920
14198
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12921
14199
_lt_compiler_boilerplate=`cat conftest.err`
12922
14200
$rm conftest*
12923
14201
 
12924
14202
ac_outfile=conftest.$ac_objext
12925
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
14203
echo "$lt_simple_link_test_code" >conftest.$ac_ext
12926
14204
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12927
14205
_lt_linker_boilerplate=`cat conftest.err`
12928
 
$rm conftest*
 
14206
$rm -r conftest*
12929
14207
 
12930
14208
 
12931
14209
# Allow CC to be a program name with arguments.
12944
14222
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12945
14223
 
12946
14224
 
12947
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12948
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12949
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
12950
 
echo "${ECHO_T}$can_build_shared" >&6
 
14225
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
14226
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
14227
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
14228
$as_echo "$can_build_shared" >&6; }
12951
14229
 
12952
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12953
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
14230
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
14231
$as_echo_n "checking whether to build shared libraries... " >&6; }
12954
14232
test "$can_build_shared" = "no" && enable_shared=no
12955
14233
 
12956
14234
# On AIX, shared libraries and static libraries use the same namespace, and
12963
14241
    postinstall_cmds='$RANLIB $lib'
12964
14242
  fi
12965
14243
  ;;
12966
 
aix4* | aix5*)
 
14244
aix[4-9]*)
12967
14245
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12968
14246
    test "$enable_shared" = yes && enable_static=no
12969
14247
  fi
12970
14248
  ;;
12971
14249
esac
12972
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
12973
 
echo "${ECHO_T}$enable_shared" >&6
 
14250
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
14251
$as_echo "$enable_shared" >&6; }
12974
14252
 
12975
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12976
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
14253
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
14254
$as_echo_n "checking whether to build static libraries... " >&6; }
12977
14255
# Make sure either enable_shared or enable_static is yes.
12978
14256
test "$enable_shared" = yes || enable_static=yes
12979
 
echo "$as_me:$LINENO: result: $enable_static" >&5
12980
 
echo "${ECHO_T}$enable_static" >&6
 
14257
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
14258
$as_echo "$enable_static" >&6; }
12981
14259
 
12982
14260
GCC_F77="$G77"
12983
14261
LD_F77="$LD"
12986
14264
lt_prog_compiler_pic_F77=
12987
14265
lt_prog_compiler_static_F77=
12988
14266
 
12989
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12990
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
14267
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
14268
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12991
14269
 
12992
14270
  if test "$GCC" = yes; then
12993
14271
    lt_prog_compiler_wl_F77='-Wl,'
13009
14287
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
13010
14288
      ;;
13011
14289
 
13012
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
14290
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13013
14291
      # PIC is the default for these OSes.
13014
14292
      ;;
13015
14293
 
13016
 
    mingw* | pw32* | os2*)
 
14294
    mingw* | cygwin* | pw32* | os2*)
13017
14295
      # This hack is so that the source file can tell whether it is being
13018
14296
      # built for inclusion in a dll (and should export symbols for example).
 
14297
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
14298
      # (--disable-auto-import) libraries
13019
14299
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13020
14300
      ;;
13021
14301
 
13025
14305
      lt_prog_compiler_pic_F77='-fno-common'
13026
14306
      ;;
13027
14307
 
13028
 
    interix3*)
 
14308
    interix[3-9]*)
13029
14309
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13030
14310
      # Instead, we relocate shared libraries at runtime.
13031
14311
      ;;
13083
14363
       esac
13084
14364
       ;;
13085
14365
 
13086
 
    mingw* | pw32* | os2*)
 
14366
    mingw* | cygwin* | pw32* | os2*)
13087
14367
      # This hack is so that the source file can tell whether it is being
13088
14368
      # built for inclusion in a dll (and should export symbols for example).
13089
14369
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13116
14396
      lt_prog_compiler_static_F77='-Bstatic'
13117
14397
      ;;
13118
14398
 
13119
 
    linux*)
 
14399
    linux* | k*bsd*-gnu)
13120
14400
      case $cc_basename in
13121
14401
      icc* | ecc*)
13122
14402
        lt_prog_compiler_wl_F77='-Wl,'
13135
14415
        # All Alpha code is PIC.
13136
14416
        lt_prog_compiler_static_F77='-non_shared'
13137
14417
        ;;
 
14418
      *)
 
14419
        case `$CC -V 2>&1 | sed 5q` in
 
14420
        *Sun\ C*)
 
14421
          # Sun C 5.9
 
14422
          lt_prog_compiler_pic_F77='-KPIC'
 
14423
          lt_prog_compiler_static_F77='-Bstatic'
 
14424
          lt_prog_compiler_wl_F77='-Wl,'
 
14425
          ;;
 
14426
        *Sun\ F*)
 
14427
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
14428
          lt_prog_compiler_pic_F77='-KPIC'
 
14429
          lt_prog_compiler_static_F77='-Bstatic'
 
14430
          lt_prog_compiler_wl_F77=''
 
14431
          ;;
 
14432
        esac
 
14433
        ;;
13138
14434
      esac
13139
14435
      ;;
13140
14436
 
13144
14440
      lt_prog_compiler_static_F77='-non_shared'
13145
14441
      ;;
13146
14442
 
 
14443
    rdos*)
 
14444
      lt_prog_compiler_static_F77='-non_shared'
 
14445
      ;;
 
14446
 
13147
14447
    solaris*)
13148
14448
      lt_prog_compiler_pic_F77='-KPIC'
13149
14449
      lt_prog_compiler_static_F77='-Bstatic'
13196
14496
    esac
13197
14497
  fi
13198
14498
 
13199
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13200
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
 
14499
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
14500
$as_echo "$lt_prog_compiler_pic_F77" >&6; }
13201
14501
 
13202
14502
#
13203
14503
# Check to make sure the PIC flag actually works.
13204
14504
#
13205
14505
if test -n "$lt_prog_compiler_pic_F77"; then
13206
14506
 
13207
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13208
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13209
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13210
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14507
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
14508
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
 
14509
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
 
14510
  $as_echo_n "(cached) " >&6
13211
14511
else
13212
 
  lt_prog_compiler_pic_works_F77=no
 
14512
  lt_cv_prog_compiler_pic_works_F77=no
13213
14513
  ac_outfile=conftest.$ac_objext
13214
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14514
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13215
14515
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
13216
14516
   # Insert the option either (1) after the last *FLAGS variable, or
13217
14517
   # (2) before a word containing "conftest.", or (3) at the end.
13222
14522
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13223
14523
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13224
14524
   -e 's:$: $lt_compiler_flag:'`
13225
 
   (eval echo "\"\$as_me:13225: $lt_compile\"" >&5)
 
14525
   (eval echo "\"\$as_me:14525: $lt_compile\"" >&5)
13226
14526
   (eval "$lt_compile" 2>conftest.err)
13227
14527
   ac_status=$?
13228
14528
   cat conftest.err >&5
13229
 
   echo "$as_me:13229: \$? = $ac_status" >&5
 
14529
   echo "$as_me:14529: \$? = $ac_status" >&5
13230
14530
   if (exit $ac_status) && test -s "$ac_outfile"; then
13231
14531
     # The compiler can only warn and ignore the option if not recognized
13232
14532
     # So say no if there are warnings other than the usual output.
13233
14533
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13234
14534
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13235
14535
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13236
 
       lt_prog_compiler_pic_works_F77=yes
 
14536
       lt_cv_prog_compiler_pic_works_F77=yes
13237
14537
     fi
13238
14538
   fi
13239
14539
   $rm conftest*
13240
14540
 
13241
14541
fi
13242
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13243
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
 
14542
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
 
14543
$as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
13244
14544
 
13245
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
 
14545
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
13246
14546
    case $lt_prog_compiler_pic_F77 in
13247
14547
     "" | " "*) ;;
13248
14548
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13267
14567
# Check to make sure the static flag actually works.
13268
14568
#
13269
14569
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
13270
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13271
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13272
 
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13273
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14570
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
14571
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
14572
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
 
14573
  $as_echo_n "(cached) " >&6
13274
14574
else
13275
 
  lt_prog_compiler_static_works_F77=no
 
14575
  lt_cv_prog_compiler_static_works_F77=no
13276
14576
   save_LDFLAGS="$LDFLAGS"
13277
14577
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13278
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
14578
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
13279
14579
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13280
14580
     # The linker can only warn and ignore the option if not recognized
13281
14581
     # So say no if there are warnings
13285
14585
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13286
14586
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13287
14587
       if diff conftest.exp conftest.er2 >/dev/null; then
13288
 
         lt_prog_compiler_static_works_F77=yes
 
14588
         lt_cv_prog_compiler_static_works_F77=yes
13289
14589
       fi
13290
14590
     else
13291
 
       lt_prog_compiler_static_works_F77=yes
 
14591
       lt_cv_prog_compiler_static_works_F77=yes
13292
14592
     fi
13293
14593
   fi
13294
 
   $rm conftest*
 
14594
   $rm -r conftest*
13295
14595
   LDFLAGS="$save_LDFLAGS"
13296
14596
 
13297
14597
fi
13298
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13299
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
 
14598
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
 
14599
$as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
13300
14600
 
13301
 
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
 
14601
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
13302
14602
    :
13303
14603
else
13304
14604
    lt_prog_compiler_static_F77=
13305
14605
fi
13306
14606
 
13307
14607
 
13308
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13309
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
14608
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14609
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13310
14610
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13311
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14611
  $as_echo_n "(cached) " >&6
13312
14612
else
13313
14613
  lt_cv_prog_compiler_c_o_F77=no
13314
14614
   $rm -r conftest 2>/dev/null
13315
14615
   mkdir conftest
13316
14616
   cd conftest
13317
14617
   mkdir out
13318
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14618
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13319
14619
 
13320
14620
   lt_compiler_flag="-o out/conftest2.$ac_objext"
13321
14621
   # Insert the option either (1) after the last *FLAGS variable, or
13326
14626
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13327
14627
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13328
14628
   -e 's:$: $lt_compiler_flag:'`
13329
 
   (eval echo "\"\$as_me:13329: $lt_compile\"" >&5)
 
14629
   (eval echo "\"\$as_me:14629: $lt_compile\"" >&5)
13330
14630
   (eval "$lt_compile" 2>out/conftest.err)
13331
14631
   ac_status=$?
13332
14632
   cat out/conftest.err >&5
13333
 
   echo "$as_me:13333: \$? = $ac_status" >&5
 
14633
   echo "$as_me:14633: \$? = $ac_status" >&5
13334
14634
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13335
14635
   then
13336
14636
     # The compiler can only warn and ignore the option if not recognized
13352
14652
   $rm conftest*
13353
14653
 
13354
14654
fi
13355
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13356
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
 
14655
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
14656
$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
13357
14657
 
13358
14658
 
13359
14659
hard_links="nottested"
13360
14660
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13361
14661
  # do not overwrite the value of need_locks provided by the user
13362
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13363
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
14662
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
14663
$as_echo_n "checking if we can lock with hard links... " >&6; }
13364
14664
  hard_links=yes
13365
14665
  $rm conftest*
13366
14666
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13367
14667
  touch conftest.a
13368
14668
  ln conftest.a conftest.b 2>&5 || hard_links=no
13369
14669
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13370
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
13371
 
echo "${ECHO_T}$hard_links" >&6
 
14670
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
14671
$as_echo "$hard_links" >&6; }
13372
14672
  if test "$hard_links" = no; then
13373
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13374
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
14673
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
14674
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13375
14675
    need_locks=warn
13376
14676
  fi
13377
14677
else
13378
14678
  need_locks=no
13379
14679
fi
13380
14680
 
13381
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13382
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
14681
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14682
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13383
14683
 
13384
14684
  runpath_var=
13385
14685
  allow_undefined_flag_F77=
13410
14710
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
13411
14711
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13412
14712
  # as well as any symbol that contains `d'.
13413
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
 
14713
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13414
14714
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13415
14715
  # platforms (ab)use it in PIC code, but their linkers get confused if
13416
14716
  # the symbol is explicitly referenced.  Since portable code cannot
13417
14717
  # rely on this symbol name, it's probably fine to never include it in
13418
14718
  # preloaded symbol tables.
 
14719
  # Exclude shared library initialization/finalization symbols.
13419
14720
  extract_expsyms_cmds=
13420
14721
  # Just being paranoid about ensuring that cc_basename is set.
13421
14722
  for cc_temp in $compiler""; do
13474
14775
 
13475
14776
    # See if GNU ld supports shared libraries.
13476
14777
    case $host_os in
13477
 
    aix3* | aix4* | aix5*)
 
14778
    aix[3-9]*)
13478
14779
      # On AIX/PPC, the GNU linker is very broken
13479
14780
      if test "$host_cpu" != ia64; then
13480
14781
        ld_shlibs_F77=no
13522
14823
      allow_undefined_flag_F77=unsupported
13523
14824
      always_export_symbols_F77=no
13524
14825
      enable_shared_with_static_runtimes_F77=yes
13525
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
14826
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13526
14827
 
13527
14828
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13528
14829
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13540
14841
      fi
13541
14842
      ;;
13542
14843
 
13543
 
    interix3*)
 
14844
    interix[3-9]*)
13544
14845
      hardcode_direct_F77=no
13545
14846
      hardcode_shlibpath_var_F77=no
13546
14847
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13555
14856
      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'
13556
14857
      ;;
13557
14858
 
13558
 
    linux*)
 
14859
    gnu* | linux* | k*bsd*-gnu)
13559
14860
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13560
14861
        tmp_addflag=
13561
14862
        case $cc_basename,$host_cpu in
13573
14874
        ifc* | ifort*)                  # Intel Fortran compiler
13574
14875
          tmp_addflag=' -nofor_main' ;;
13575
14876
        esac
13576
 
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
14877
        case `$CC -V 2>&1 | sed 5q` in
 
14878
        *Sun\ C*)                       # Sun C 5.9
 
14879
          whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
14880
          tmp_sharedflag='-G' ;;
 
14881
        *Sun\ F*)                       # Sun Fortran 8.3
 
14882
          tmp_sharedflag='-G' ;;
 
14883
        *)
 
14884
          tmp_sharedflag='-shared' ;;
 
14885
        esac
 
14886
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13577
14887
 
13578
14888
        if test $supports_anon_versioning = yes; then
13579
14889
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
13580
14890
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13581
14891
  $echo "local: *; };" >> $output_objdir/$libname.ver~
13582
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
14892
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13583
14893
        fi
13584
14894
      else
13585
14895
        ld_shlibs_F77=no
13684
14994
      fi
13685
14995
      ;;
13686
14996
 
13687
 
    aix4* | aix5*)
 
14997
    aix[4-9]*)
13688
14998
      if test "$host_cpu" = ia64; then
13689
14999
        # On IA64, the linker does run time linking by default, so we don't
13690
15000
        # have to do anything special.
13704
15014
        # Test if we are trying to use run time linking or normal
13705
15015
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13706
15016
        # need to do runtime linking.
13707
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
15017
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13708
15018
          for ld_flag in $LDFLAGS; do
13709
15019
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13710
15020
            aix_use_runtimelinking=yes
13738
15048
           strings "$collect2name" | grep resolve_lib_name >/dev/null
13739
15049
          then
13740
15050
          # We have reworked collect2
13741
 
          hardcode_direct_F77=yes
 
15051
          :
13742
15052
          else
13743
15053
          # We have old collect2
13744
15054
          hardcode_direct_F77=unsupported
13784
15094
      end
13785
15095
_ACEOF
13786
15096
rm -f conftest.$ac_objext conftest$ac_exeext
13787
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13788
 
  (eval $ac_link) 2>conftest.er1
 
15097
if { (ac_try="$ac_link"
 
15098
case "(($ac_try" in
 
15099
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15100
  *) ac_try_echo=$ac_try;;
 
15101
esac
 
15102
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15103
$as_echo "$ac_try_echo") >&5
 
15104
  (eval "$ac_link") 2>conftest.er1
13789
15105
  ac_status=$?
13790
15106
  grep -v '^ *+' conftest.er1 >conftest.err
13791
15107
  rm -f conftest.er1
13792
15108
  cat conftest.err >&5
13793
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13794
 
  (exit $ac_status); } &&
13795
 
         { ac_try='test -z "$ac_f77_werror_flag"
13796
 
                         || test ! -s conftest.err'
13797
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13798
 
  (eval $ac_try) 2>&5
13799
 
  ac_status=$?
13800
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13801
 
  (exit $ac_status); }; } &&
13802
 
         { ac_try='test -s conftest$ac_exeext'
13803
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13804
 
  (eval $ac_try) 2>&5
13805
 
  ac_status=$?
13806
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13807
 
  (exit $ac_status); }; }; then
 
15109
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15110
  (exit $ac_status); } && {
 
15111
         test -z "$ac_f77_werror_flag" ||
 
15112
         test ! -s conftest.err
 
15113
       } && test -s conftest$ac_exeext && {
 
15114
         test "$cross_compiling" = yes ||
 
15115
         $as_test_x conftest$ac_exeext
 
15116
       }; then
13808
15117
 
13809
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13810
 
}'`
 
15118
lt_aix_libpath_sed='
 
15119
    /Import File Strings/,/^$/ {
 
15120
        /^0/ {
 
15121
            s/^0  *\(.*\)$/\1/
 
15122
            p
 
15123
        }
 
15124
    }'
 
15125
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13811
15126
# Check for a 64-bit object if we didn't find anything.
13812
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13813
 
}'`; fi
 
15127
if test -z "$aix_libpath"; then
 
15128
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
15129
fi
13814
15130
else
13815
 
  echo "$as_me: failed program was:" >&5
 
15131
  $as_echo "$as_me: failed program was:" >&5
13816
15132
sed 's/^/| /' conftest.$ac_ext >&5
13817
15133
 
 
15134
 
13818
15135
fi
13819
 
rm -f conftest.err conftest.$ac_objext \
 
15136
 
 
15137
rm -rf conftest.dSYM
 
15138
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13820
15139
      conftest$ac_exeext conftest.$ac_ext
13821
15140
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13822
15141
 
13835
15154
      end
13836
15155
_ACEOF
13837
15156
rm -f conftest.$ac_objext conftest$ac_exeext
13838
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13839
 
  (eval $ac_link) 2>conftest.er1
 
15157
if { (ac_try="$ac_link"
 
15158
case "(($ac_try" in
 
15159
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15160
  *) ac_try_echo=$ac_try;;
 
15161
esac
 
15162
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15163
$as_echo "$ac_try_echo") >&5
 
15164
  (eval "$ac_link") 2>conftest.er1
13840
15165
  ac_status=$?
13841
15166
  grep -v '^ *+' conftest.er1 >conftest.err
13842
15167
  rm -f conftest.er1
13843
15168
  cat conftest.err >&5
13844
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13845
 
  (exit $ac_status); } &&
13846
 
         { ac_try='test -z "$ac_f77_werror_flag"
13847
 
                         || test ! -s conftest.err'
13848
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13849
 
  (eval $ac_try) 2>&5
13850
 
  ac_status=$?
13851
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13852
 
  (exit $ac_status); }; } &&
13853
 
         { ac_try='test -s conftest$ac_exeext'
13854
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13855
 
  (eval $ac_try) 2>&5
13856
 
  ac_status=$?
13857
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13858
 
  (exit $ac_status); }; }; then
 
15169
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15170
  (exit $ac_status); } && {
 
15171
         test -z "$ac_f77_werror_flag" ||
 
15172
         test ! -s conftest.err
 
15173
       } && test -s conftest$ac_exeext && {
 
15174
         test "$cross_compiling" = yes ||
 
15175
         $as_test_x conftest$ac_exeext
 
15176
       }; then
13859
15177
 
13860
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13861
 
}'`
 
15178
lt_aix_libpath_sed='
 
15179
    /Import File Strings/,/^$/ {
 
15180
        /^0/ {
 
15181
            s/^0  *\(.*\)$/\1/
 
15182
            p
 
15183
        }
 
15184
    }'
 
15185
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13862
15186
# Check for a 64-bit object if we didn't find anything.
13863
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13864
 
}'`; fi
 
15187
if test -z "$aix_libpath"; then
 
15188
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
15189
fi
13865
15190
else
13866
 
  echo "$as_me: failed program was:" >&5
 
15191
  $as_echo "$as_me: failed program was:" >&5
13867
15192
sed 's/^/| /' conftest.$ac_ext >&5
13868
15193
 
 
15194
 
13869
15195
fi
13870
 
rm -f conftest.err conftest.$ac_objext \
 
15196
 
 
15197
rm -rf conftest.dSYM
 
15198
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13871
15199
      conftest$ac_exeext conftest.$ac_ext
13872
15200
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13873
15201
 
13913
15241
      # The linker will automatically build a .lib file if we build a DLL.
13914
15242
      old_archive_From_new_cmds_F77='true'
13915
15243
      # FIXME: Should let the user specify the lib program.
13916
 
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
15244
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
13917
15245
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
13918
15246
      enable_shared_with_static_runtimes_F77=yes
13919
15247
      ;;
13946
15274
      link_all_deplibs_F77=yes
13947
15275
    if test "$GCC" = yes ; then
13948
15276
        output_verbose_link_cmd='echo'
13949
 
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13950
 
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13951
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13952
 
      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}'
13953
 
      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}'
 
15277
        archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
15278
        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
15279
        archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
15280
        module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
13954
15281
    else
13955
15282
      case $cc_basename in
13956
15283
        xlc*)
13957
15284
         output_verbose_link_cmd='echo'
13958
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
15285
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
13959
15286
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13960
15287
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13961
 
         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}'
 
15288
         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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13962
15289
          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}'
13963
15290
          ;;
13964
15291
       *)
13998
15325
      ;;
13999
15326
 
14000
15327
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14001
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
15328
    freebsd* | dragonfly*)
14002
15329
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14003
15330
      hardcode_libdir_flag_spec_F77='-R$libdir'
14004
15331
      hardcode_direct_F77=yes
14120
15447
      ;;
14121
15448
 
14122
15449
    openbsd*)
14123
 
      hardcode_direct_F77=yes
14124
 
      hardcode_shlibpath_var_F77=no
14125
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14126
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14127
 
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14128
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14129
 
        export_dynamic_flag_spec_F77='${wl}-E'
 
15450
      if test -f /usr/libexec/ld.so; then
 
15451
        hardcode_direct_F77=yes
 
15452
        hardcode_shlibpath_var_F77=no
 
15453
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
15454
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
15455
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
15456
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
15457
          export_dynamic_flag_spec_F77='${wl}-E'
 
15458
        else
 
15459
          case $host_os in
 
15460
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
15461
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
15462
             hardcode_libdir_flag_spec_F77='-R$libdir'
 
15463
             ;;
 
15464
           *)
 
15465
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
15466
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
15467
             ;;
 
15468
          esac
 
15469
        fi
14130
15470
      else
14131
 
       case $host_os in
14132
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14133
 
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14134
 
           hardcode_libdir_flag_spec_F77='-R$libdir'
14135
 
           ;;
14136
 
         *)
14137
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14138
 
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14139
 
           ;;
14140
 
       esac
 
15471
        ld_shlibs_F77=no
14141
15472
      fi
14142
15473
      ;;
14143
15474
 
14196
15527
      case $host_os in
14197
15528
      solaris2.[0-5] | solaris2.[0-5].*) ;;
14198
15529
      *)
14199
 
        # The compiler driver will combine linker options so we
14200
 
        # cannot just pass the convience library names through
14201
 
        # without $wl, iff we do not link with $LD.
14202
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
15530
        # The compiler driver will combine and reorder linker options,
 
15531
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
15532
        # but is careful enough not to reorder.
14203
15533
        # Supported since Solaris 2.6 (maybe 2.5.1?)
14204
 
        case $wlarc in
14205
 
        '')
14206
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
14207
 
        *)
14208
 
          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' ;;
14209
 
        esac ;;
 
15534
        if test "$GCC" = yes; then
 
15535
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
15536
        else
 
15537
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
 
15538
        fi
 
15539
        ;;
14210
15540
      esac
14211
15541
      link_all_deplibs_F77=yes
14212
15542
      ;;
14263
15593
      fi
14264
15594
      ;;
14265
15595
 
14266
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
15596
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14267
15597
      no_undefined_flag_F77='${wl}-z,text'
14268
15598
      archive_cmds_need_lc_F77=no
14269
15599
      hardcode_shlibpath_var_F77=no
14316
15646
    esac
14317
15647
  fi
14318
15648
 
14319
 
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14320
 
echo "${ECHO_T}$ld_shlibs_F77" >&6
 
15649
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
15650
$as_echo "$ld_shlibs_F77" >&6; }
14321
15651
test "$ld_shlibs_F77" = no && can_build_shared=no
14322
15652
 
14323
15653
#
14337
15667
      # Test whether the compiler implicitly links with -lc since on some
14338
15668
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14339
15669
      # to ld, don't add -lc before -lgcc.
14340
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14341
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
15670
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
15671
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14342
15672
      $rm conftest*
14343
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
15673
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14344
15674
 
14345
15675
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14346
15676
  (eval $ac_compile) 2>&5
14347
15677
  ac_status=$?
14348
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15678
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14349
15679
  (exit $ac_status); } 2>conftest.err; then
14350
15680
        soname=conftest
14351
15681
        lib=conftest
14363
15693
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14364
15694
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
14365
15695
  ac_status=$?
14366
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15696
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14367
15697
  (exit $ac_status); }
14368
15698
        then
14369
15699
          archive_cmds_need_lc_F77=no
14375
15705
        cat conftest.err 1>&5
14376
15706
      fi
14377
15707
      $rm conftest*
14378
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14379
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
 
15708
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
15709
$as_echo "$archive_cmds_need_lc_F77" >&6; }
14380
15710
      ;;
14381
15711
    esac
14382
15712
  fi
14383
15713
  ;;
14384
15714
esac
14385
15715
 
14386
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14387
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
15716
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
15717
$as_echo_n "checking dynamic linker characteristics... " >&6; }
14388
15718
library_names_spec=
14389
15719
libname_spec='lib$name'
14390
15720
soname_spec=
14398
15728
version_type=none
14399
15729
dynamic_linker="$host_os ld.so"
14400
15730
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14401
 
if test "$GCC" = yes; then
14402
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14403
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14404
 
    # if the path contains ";" then we assume it to be the separator
14405
 
    # otherwise default to the standard path separator (i.e. ":") - it is
14406
 
    # assumed that no part of a normal pathname contains ";" but that should
14407
 
    # okay in the real world where ";" in dirpaths is itself problematic.
14408
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14409
 
  else
14410
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14411
 
  fi
14412
 
else
14413
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14414
 
fi
 
15731
 
14415
15732
need_lib_prefix=unknown
14416
15733
hardcode_into_libs=no
14417
15734
 
14429
15746
  soname_spec='${libname}${release}${shared_ext}$major'
14430
15747
  ;;
14431
15748
 
14432
 
aix4* | aix5*)
 
15749
aix[4-9]*)
14433
15750
  version_type=linux
14434
15751
  need_lib_prefix=no
14435
15752
  need_version=no
14568
15885
  shlibpath_overrides_runpath=yes
14569
15886
  shlibpath_var=DYLD_LIBRARY_PATH
14570
15887
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14571
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14572
 
  if test "$GCC" = yes; then
14573
 
    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"`
14574
 
  else
14575
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
14576
 
  fi
 
15888
 
14577
15889
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14578
15890
  ;;
14579
15891
 
14590
15902
  dynamic_linker=no
14591
15903
  ;;
14592
15904
 
14593
 
kfreebsd*-gnu)
14594
 
  version_type=linux
14595
 
  need_lib_prefix=no
14596
 
  need_version=no
14597
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14598
 
  soname_spec='${libname}${release}${shared_ext}$major'
14599
 
  shlibpath_var=LD_LIBRARY_PATH
14600
 
  shlibpath_overrides_runpath=no
14601
 
  hardcode_into_libs=yes
14602
 
  dynamic_linker='GNU ld.so'
14603
 
  ;;
14604
 
 
14605
15905
freebsd* | dragonfly*)
14606
15906
  # DragonFly does not have aout.  When/if they implement a new
14607
15907
  # versioning mechanism, adjust this.
14639
15939
    shlibpath_overrides_runpath=no
14640
15940
    hardcode_into_libs=yes
14641
15941
    ;;
14642
 
  freebsd*) # from 4.6 on
 
15942
  *) # from 4.6 on, and DragonFly
14643
15943
    shlibpath_overrides_runpath=yes
14644
15944
    hardcode_into_libs=yes
14645
15945
    ;;
14702
16002
  postinstall_cmds='chmod 555 $lib'
14703
16003
  ;;
14704
16004
 
14705
 
interix3*)
 
16005
interix[3-9]*)
14706
16006
  version_type=linux
14707
16007
  need_lib_prefix=no
14708
16008
  need_version=no
14757
16057
  ;;
14758
16058
 
14759
16059
# This must be Linux ELF.
14760
 
linux*)
 
16060
linux* | k*bsd*-gnu)
14761
16061
  version_type=linux
14762
16062
  need_lib_prefix=no
14763
16063
  need_version=no
14771
16071
  # before this can be enabled.
14772
16072
  hardcode_into_libs=yes
14773
16073
 
14774
 
  # find out which ABI we are using
14775
 
  libsuff=
14776
 
  case "$host_cpu" in
14777
 
  x86_64*|s390x*|powerpc64*)
14778
 
    echo '#line 14778 "configure"' > conftest.$ac_ext
14779
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14780
 
  (eval $ac_compile) 2>&5
14781
 
  ac_status=$?
14782
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14783
 
  (exit $ac_status); }; then
14784
 
      case `/usr/bin/file conftest.$ac_objext` in
14785
 
      *64-bit*)
14786
 
        libsuff=64
14787
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
14788
 
        ;;
14789
 
      esac
14790
 
    fi
14791
 
    rm -rf conftest*
14792
 
    ;;
14793
 
  esac
14794
 
 
14795
16074
  # Append ld.so.conf contents to the search path
14796
16075
  if test -f /etc/ld.so.conf; then
14797
 
    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' ' '`
14798
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
16076
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
16077
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14799
16078
  fi
14800
16079
 
14801
16080
  # We used to test for /lib/ld.so.1 and disable shared libraries on
14807
16086
  dynamic_linker='GNU/Linux ld.so'
14808
16087
  ;;
14809
16088
 
14810
 
knetbsd*-gnu)
14811
 
  version_type=linux
14812
 
  need_lib_prefix=no
14813
 
  need_version=no
14814
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14815
 
  soname_spec='${libname}${release}${shared_ext}$major'
14816
 
  shlibpath_var=LD_LIBRARY_PATH
14817
 
  shlibpath_overrides_runpath=no
14818
 
  hardcode_into_libs=yes
14819
 
  dynamic_linker='GNU ld.so'
14820
 
  ;;
14821
 
 
14822
16089
netbsd*)
14823
16090
  version_type=sunos
14824
16091
  need_lib_prefix=no
14900
16167
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14901
16168
  ;;
14902
16169
 
 
16170
rdos*)
 
16171
  dynamic_linker=no
 
16172
  ;;
 
16173
 
14903
16174
solaris*)
14904
16175
  version_type=linux
14905
16176
  need_lib_prefix=no
14992
16263
  dynamic_linker=no
14993
16264
  ;;
14994
16265
esac
14995
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14996
 
echo "${ECHO_T}$dynamic_linker" >&6
 
16266
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
16267
$as_echo "$dynamic_linker" >&6; }
14997
16268
test "$dynamic_linker" = no && can_build_shared=no
14998
16269
 
 
16270
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
16271
  $as_echo_n "(cached) " >&6
 
16272
else
 
16273
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
16274
fi
 
16275
 
 
16276
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
16277
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
16278
  $as_echo_n "(cached) " >&6
 
16279
else
 
16280
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
16281
fi
 
16282
 
 
16283
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
16284
 
14999
16285
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15000
16286
if test "$GCC" = yes; then
15001
16287
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15002
16288
fi
15003
16289
 
15004
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15005
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
16290
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
16291
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15006
16292
hardcode_action_F77=
15007
16293
if test -n "$hardcode_libdir_flag_spec_F77" || \
15008
16294
   test -n "$runpath_var_F77" || \
15026
16312
  # directories.
15027
16313
  hardcode_action_F77=unsupported
15028
16314
fi
15029
 
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15030
 
echo "${ECHO_T}$hardcode_action_F77" >&6
 
16315
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
16316
$as_echo "$hardcode_action_F77" >&6; }
15031
16317
 
15032
16318
if test "$hardcode_action_F77" = relink; then
15033
16319
  # Fast installation is not supported
15079
16365
    predeps_F77 \
15080
16366
    postdeps_F77 \
15081
16367
    compiler_lib_search_path_F77 \
 
16368
    compiler_lib_search_dirs_F77 \
15082
16369
    archive_cmds_F77 \
15083
16370
    archive_expsym_cmds_F77 \
15084
16371
    postinstall_cmds_F77 \
15094
16381
    module_cmds_F77 \
15095
16382
    module_expsym_cmds_F77 \
15096
16383
    lt_cv_prog_compiler_c_o_F77 \
 
16384
    fix_srcfile_path_F77 \
15097
16385
    exclude_expsyms_F77 \
15098
16386
    include_expsyms_F77; do
15099
16387
 
15326
16614
# shared library.
15327
16615
postdeps=$lt_postdeps_F77
15328
16616
 
 
16617
# The directories searched by this compiler when creating a shared
 
16618
# library
 
16619
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
 
16620
 
15329
16621
# The library search path used internally by the compiler when linking
15330
16622
# a shared library.
15331
16623
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
15414
16706
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15415
16707
 
15416
16708
# Fix the shell variable \$srcfile for the compiler.
15417
 
fix_srcfile_path="$fix_srcfile_path_F77"
 
16709
fix_srcfile_path=$lt_fix_srcfile_path
15418
16710
 
15419
16711
# Set to yes if exported symbols are required.
15420
16712
always_export_symbols=$always_export_symbols_F77
15464
16756
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15465
16757
 
15466
16758
 
15467
 
 
15468
16759
# Source file extension for Java test sources.
15469
16760
ac_ext=java
15470
16761
 
15473
16764
objext_GCJ=$objext
15474
16765
 
15475
16766
# Code to be used in simple compile tests
15476
 
lt_simple_compile_test_code="class foo {}\n"
 
16767
lt_simple_compile_test_code="class foo {}"
15477
16768
 
15478
16769
# Code to be used in simple link tests
15479
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
 
16770
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
15480
16771
 
15481
16772
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15482
16773
 
15492
16783
 
15493
16784
# save warnings/boilerplate of simple test code
15494
16785
ac_outfile=conftest.$ac_objext
15495
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
16786
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15496
16787
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15497
16788
_lt_compiler_boilerplate=`cat conftest.err`
15498
16789
$rm conftest*
15499
16790
 
15500
16791
ac_outfile=conftest.$ac_objext
15501
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
16792
echo "$lt_simple_link_test_code" >conftest.$ac_ext
15502
16793
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15503
16794
_lt_linker_boilerplate=`cat conftest.err`
15504
 
$rm conftest*
 
16795
$rm -r conftest*
15505
16796
 
15506
16797
 
15507
16798
# Allow CC to be a program name with arguments.
15532
16823
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15533
16824
 
15534
16825
 
15535
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15536
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
16826
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
16827
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
15537
16828
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15538
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16829
  $as_echo_n "(cached) " >&6
15539
16830
else
15540
16831
  lt_cv_prog_compiler_rtti_exceptions=no
15541
16832
  ac_outfile=conftest.$ac_objext
15542
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16833
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15543
16834
   lt_compiler_flag="-fno-rtti -fno-exceptions"
15544
16835
   # Insert the option either (1) after the last *FLAGS variable, or
15545
16836
   # (2) before a word containing "conftest.", or (3) at the end.
15550
16841
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15551
16842
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15552
16843
   -e 's:$: $lt_compiler_flag:'`
15553
 
   (eval echo "\"\$as_me:15553: $lt_compile\"" >&5)
 
16844
   (eval echo "\"\$as_me:16844: $lt_compile\"" >&5)
15554
16845
   (eval "$lt_compile" 2>conftest.err)
15555
16846
   ac_status=$?
15556
16847
   cat conftest.err >&5
15557
 
   echo "$as_me:15557: \$? = $ac_status" >&5
 
16848
   echo "$as_me:16848: \$? = $ac_status" >&5
15558
16849
   if (exit $ac_status) && test -s "$ac_outfile"; then
15559
16850
     # The compiler can only warn and ignore the option if not recognized
15560
16851
     # So say no if there are warnings other than the usual output.
15567
16858
   $rm conftest*
15568
16859
 
15569
16860
fi
15570
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15571
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
16861
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
16862
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
15572
16863
 
15573
16864
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15574
16865
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15582
16873
lt_prog_compiler_pic_GCJ=
15583
16874
lt_prog_compiler_static_GCJ=
15584
16875
 
15585
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15586
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
16876
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
16877
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15587
16878
 
15588
16879
  if test "$GCC" = yes; then
15589
16880
    lt_prog_compiler_wl_GCJ='-Wl,'
15605
16896
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15606
16897
      ;;
15607
16898
 
15608
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
16899
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15609
16900
      # PIC is the default for these OSes.
15610
16901
      ;;
15611
16902
 
15612
 
    mingw* | pw32* | os2*)
 
16903
    mingw* | cygwin* | pw32* | os2*)
15613
16904
      # This hack is so that the source file can tell whether it is being
15614
16905
      # built for inclusion in a dll (and should export symbols for example).
15615
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 
16906
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
16907
      # (--disable-auto-import) libraries
 
16908
 
15616
16909
      ;;
15617
16910
 
15618
16911
    darwin* | rhapsody*)
15621
16914
      lt_prog_compiler_pic_GCJ='-fno-common'
15622
16915
      ;;
15623
16916
 
15624
 
    interix3*)
 
16917
    interix[3-9]*)
15625
16918
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15626
16919
      # Instead, we relocate shared libraries at runtime.
15627
16920
      ;;
15679
16972
       esac
15680
16973
       ;;
15681
16974
 
15682
 
    mingw* | pw32* | os2*)
 
16975
    mingw* | cygwin* | pw32* | os2*)
15683
16976
      # This hack is so that the source file can tell whether it is being
15684
16977
      # built for inclusion in a dll (and should export symbols for example).
15685
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 
16978
 
15686
16979
      ;;
15687
16980
 
15688
16981
    hpux9* | hpux10* | hpux11*)
15712
17005
      lt_prog_compiler_static_GCJ='-Bstatic'
15713
17006
      ;;
15714
17007
 
15715
 
    linux*)
 
17008
    linux* | k*bsd*-gnu)
15716
17009
      case $cc_basename in
15717
17010
      icc* | ecc*)
15718
17011
        lt_prog_compiler_wl_GCJ='-Wl,'
15731
17024
        # All Alpha code is PIC.
15732
17025
        lt_prog_compiler_static_GCJ='-non_shared'
15733
17026
        ;;
 
17027
      *)
 
17028
        case `$CC -V 2>&1 | sed 5q` in
 
17029
        *Sun\ C*)
 
17030
          # Sun C 5.9
 
17031
          lt_prog_compiler_pic_GCJ='-KPIC'
 
17032
          lt_prog_compiler_static_GCJ='-Bstatic'
 
17033
          lt_prog_compiler_wl_GCJ='-Wl,'
 
17034
          ;;
 
17035
        *Sun\ F*)
 
17036
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
17037
          lt_prog_compiler_pic_GCJ='-KPIC'
 
17038
          lt_prog_compiler_static_GCJ='-Bstatic'
 
17039
          lt_prog_compiler_wl_GCJ=''
 
17040
          ;;
 
17041
        esac
 
17042
        ;;
15734
17043
      esac
15735
17044
      ;;
15736
17045
 
15740
17049
      lt_prog_compiler_static_GCJ='-non_shared'
15741
17050
      ;;
15742
17051
 
 
17052
    rdos*)
 
17053
      lt_prog_compiler_static_GCJ='-non_shared'
 
17054
      ;;
 
17055
 
15743
17056
    solaris*)
15744
17057
      lt_prog_compiler_pic_GCJ='-KPIC'
15745
17058
      lt_prog_compiler_static_GCJ='-Bstatic'
15792
17105
    esac
15793
17106
  fi
15794
17107
 
15795
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15796
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
 
17108
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
17109
$as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
15797
17110
 
15798
17111
#
15799
17112
# Check to make sure the PIC flag actually works.
15800
17113
#
15801
17114
if test -n "$lt_prog_compiler_pic_GCJ"; then
15802
17115
 
15803
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15804
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15805
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15806
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17116
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
17117
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
 
17118
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
 
17119
  $as_echo_n "(cached) " >&6
15807
17120
else
15808
 
  lt_prog_compiler_pic_works_GCJ=no
 
17121
  lt_cv_prog_compiler_pic_works_GCJ=no
15809
17122
  ac_outfile=conftest.$ac_objext
15810
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
17123
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15811
17124
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15812
17125
   # Insert the option either (1) after the last *FLAGS variable, or
15813
17126
   # (2) before a word containing "conftest.", or (3) at the end.
15818
17131
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15819
17132
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15820
17133
   -e 's:$: $lt_compiler_flag:'`
15821
 
   (eval echo "\"\$as_me:15821: $lt_compile\"" >&5)
 
17134
   (eval echo "\"\$as_me:17134: $lt_compile\"" >&5)
15822
17135
   (eval "$lt_compile" 2>conftest.err)
15823
17136
   ac_status=$?
15824
17137
   cat conftest.err >&5
15825
 
   echo "$as_me:15825: \$? = $ac_status" >&5
 
17138
   echo "$as_me:17138: \$? = $ac_status" >&5
15826
17139
   if (exit $ac_status) && test -s "$ac_outfile"; then
15827
17140
     # The compiler can only warn and ignore the option if not recognized
15828
17141
     # So say no if there are warnings other than the usual output.
15829
17142
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15830
17143
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15831
17144
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15832
 
       lt_prog_compiler_pic_works_GCJ=yes
 
17145
       lt_cv_prog_compiler_pic_works_GCJ=yes
15833
17146
     fi
15834
17147
   fi
15835
17148
   $rm conftest*
15836
17149
 
15837
17150
fi
15838
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15839
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
 
17151
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
 
17152
$as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
15840
17153
 
15841
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
 
17154
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
15842
17155
    case $lt_prog_compiler_pic_GCJ in
15843
17156
     "" | " "*) ;;
15844
17157
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15863
17176
# Check to make sure the static flag actually works.
15864
17177
#
15865
17178
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
15866
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15867
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
15868
 
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
15869
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17179
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
17180
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
17181
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
 
17182
  $as_echo_n "(cached) " >&6
15870
17183
else
15871
 
  lt_prog_compiler_static_works_GCJ=no
 
17184
  lt_cv_prog_compiler_static_works_GCJ=no
15872
17185
   save_LDFLAGS="$LDFLAGS"
15873
17186
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15874
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
17187
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
15875
17188
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15876
17189
     # The linker can only warn and ignore the option if not recognized
15877
17190
     # So say no if there are warnings
15881
17194
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15882
17195
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15883
17196
       if diff conftest.exp conftest.er2 >/dev/null; then
15884
 
         lt_prog_compiler_static_works_GCJ=yes
 
17197
         lt_cv_prog_compiler_static_works_GCJ=yes
15885
17198
       fi
15886
17199
     else
15887
 
       lt_prog_compiler_static_works_GCJ=yes
 
17200
       lt_cv_prog_compiler_static_works_GCJ=yes
15888
17201
     fi
15889
17202
   fi
15890
 
   $rm conftest*
 
17203
   $rm -r conftest*
15891
17204
   LDFLAGS="$save_LDFLAGS"
15892
17205
 
15893
17206
fi
15894
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
15895
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
 
17207
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
 
17208
$as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
15896
17209
 
15897
 
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
 
17210
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
15898
17211
    :
15899
17212
else
15900
17213
    lt_prog_compiler_static_GCJ=
15901
17214
fi
15902
17215
 
15903
17216
 
15904
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15905
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
17217
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
17218
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15906
17219
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15907
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17220
  $as_echo_n "(cached) " >&6
15908
17221
else
15909
17222
  lt_cv_prog_compiler_c_o_GCJ=no
15910
17223
   $rm -r conftest 2>/dev/null
15911
17224
   mkdir conftest
15912
17225
   cd conftest
15913
17226
   mkdir out
15914
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
17227
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15915
17228
 
15916
17229
   lt_compiler_flag="-o out/conftest2.$ac_objext"
15917
17230
   # Insert the option either (1) after the last *FLAGS variable, or
15922
17235
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15923
17236
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15924
17237
   -e 's:$: $lt_compiler_flag:'`
15925
 
   (eval echo "\"\$as_me:15925: $lt_compile\"" >&5)
 
17238
   (eval echo "\"\$as_me:17238: $lt_compile\"" >&5)
15926
17239
   (eval "$lt_compile" 2>out/conftest.err)
15927
17240
   ac_status=$?
15928
17241
   cat out/conftest.err >&5
15929
 
   echo "$as_me:15929: \$? = $ac_status" >&5
 
17242
   echo "$as_me:17242: \$? = $ac_status" >&5
15930
17243
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15931
17244
   then
15932
17245
     # The compiler can only warn and ignore the option if not recognized
15948
17261
   $rm conftest*
15949
17262
 
15950
17263
fi
15951
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15952
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
 
17264
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
17265
$as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
15953
17266
 
15954
17267
 
15955
17268
hard_links="nottested"
15956
17269
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15957
17270
  # do not overwrite the value of need_locks provided by the user
15958
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15959
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
17271
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
17272
$as_echo_n "checking if we can lock with hard links... " >&6; }
15960
17273
  hard_links=yes
15961
17274
  $rm conftest*
15962
17275
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15963
17276
  touch conftest.a
15964
17277
  ln conftest.a conftest.b 2>&5 || hard_links=no
15965
17278
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15966
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
15967
 
echo "${ECHO_T}$hard_links" >&6
 
17279
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
17280
$as_echo "$hard_links" >&6; }
15968
17281
  if test "$hard_links" = no; then
15969
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15970
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
17282
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
17283
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15971
17284
    need_locks=warn
15972
17285
  fi
15973
17286
else
15974
17287
  need_locks=no
15975
17288
fi
15976
17289
 
15977
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15978
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
17290
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
17291
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15979
17292
 
15980
17293
  runpath_var=
15981
17294
  allow_undefined_flag_GCJ=
16006
17319
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
16007
17320
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16008
17321
  # as well as any symbol that contains `d'.
16009
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
 
17322
  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16010
17323
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16011
17324
  # platforms (ab)use it in PIC code, but their linkers get confused if
16012
17325
  # the symbol is explicitly referenced.  Since portable code cannot
16013
17326
  # rely on this symbol name, it's probably fine to never include it in
16014
17327
  # preloaded symbol tables.
 
17328
  # Exclude shared library initialization/finalization symbols.
16015
17329
  extract_expsyms_cmds=
16016
17330
  # Just being paranoid about ensuring that cc_basename is set.
16017
17331
  for cc_temp in $compiler""; do
16070
17384
 
16071
17385
    # See if GNU ld supports shared libraries.
16072
17386
    case $host_os in
16073
 
    aix3* | aix4* | aix5*)
 
17387
    aix[3-9]*)
16074
17388
      # On AIX/PPC, the GNU linker is very broken
16075
17389
      if test "$host_cpu" != ia64; then
16076
17390
        ld_shlibs_GCJ=no
16118
17432
      allow_undefined_flag_GCJ=unsupported
16119
17433
      always_export_symbols_GCJ=no
16120
17434
      enable_shared_with_static_runtimes_GCJ=yes
16121
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
17435
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16122
17436
 
16123
17437
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16124
17438
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16136
17450
      fi
16137
17451
      ;;
16138
17452
 
16139
 
    interix3*)
 
17453
    interix[3-9]*)
16140
17454
      hardcode_direct_GCJ=no
16141
17455
      hardcode_shlibpath_var_GCJ=no
16142
17456
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16151
17465
      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'
16152
17466
      ;;
16153
17467
 
16154
 
    linux*)
 
17468
    gnu* | linux* | k*bsd*-gnu)
16155
17469
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16156
17470
        tmp_addflag=
16157
17471
        case $cc_basename,$host_cpu in
16169
17483
        ifc* | ifort*)                  # Intel Fortran compiler
16170
17484
          tmp_addflag=' -nofor_main' ;;
16171
17485
        esac
16172
 
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
17486
        case `$CC -V 2>&1 | sed 5q` in
 
17487
        *Sun\ C*)                       # Sun C 5.9
 
17488
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
17489
          tmp_sharedflag='-G' ;;
 
17490
        *Sun\ F*)                       # Sun Fortran 8.3
 
17491
          tmp_sharedflag='-G' ;;
 
17492
        *)
 
17493
          tmp_sharedflag='-shared' ;;
 
17494
        esac
 
17495
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16173
17496
 
16174
17497
        if test $supports_anon_versioning = yes; then
16175
17498
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
16176
17499
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16177
17500
  $echo "local: *; };" >> $output_objdir/$libname.ver~
16178
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
17501
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16179
17502
        fi
16180
17503
      else
16181
17504
        ld_shlibs_GCJ=no
16280
17603
      fi
16281
17604
      ;;
16282
17605
 
16283
 
    aix4* | aix5*)
 
17606
    aix[4-9]*)
16284
17607
      if test "$host_cpu" = ia64; then
16285
17608
        # On IA64, the linker does run time linking by default, so we don't
16286
17609
        # have to do anything special.
16300
17623
        # Test if we are trying to use run time linking or normal
16301
17624
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16302
17625
        # need to do runtime linking.
16303
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
17626
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
16304
17627
          for ld_flag in $LDFLAGS; do
16305
17628
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
16306
17629
            aix_use_runtimelinking=yes
16334
17657
           strings "$collect2name" | grep resolve_lib_name >/dev/null
16335
17658
          then
16336
17659
          # We have reworked collect2
16337
 
          hardcode_direct_GCJ=yes
 
17660
          :
16338
17661
          else
16339
17662
          # We have old collect2
16340
17663
          hardcode_direct_GCJ=unsupported
16390
17713
}
16391
17714
_ACEOF
16392
17715
rm -f conftest.$ac_objext conftest$ac_exeext
16393
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16394
 
  (eval $ac_link) 2>conftest.er1
 
17716
if { (ac_try="$ac_link"
 
17717
case "(($ac_try" in
 
17718
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17719
  *) ac_try_echo=$ac_try;;
 
17720
esac
 
17721
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17722
$as_echo "$ac_try_echo") >&5
 
17723
  (eval "$ac_link") 2>conftest.er1
16395
17724
  ac_status=$?
16396
17725
  grep -v '^ *+' conftest.er1 >conftest.err
16397
17726
  rm -f conftest.er1
16398
17727
  cat conftest.err >&5
16399
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16400
 
  (exit $ac_status); } &&
16401
 
         { ac_try='test -z "$ac_c_werror_flag"
16402
 
                         || test ! -s conftest.err'
16403
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16404
 
  (eval $ac_try) 2>&5
16405
 
  ac_status=$?
16406
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16407
 
  (exit $ac_status); }; } &&
16408
 
         { ac_try='test -s conftest$ac_exeext'
16409
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16410
 
  (eval $ac_try) 2>&5
16411
 
  ac_status=$?
16412
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16413
 
  (exit $ac_status); }; }; then
 
17728
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17729
  (exit $ac_status); } && {
 
17730
         test -z "$ac_c_werror_flag" ||
 
17731
         test ! -s conftest.err
 
17732
       } && test -s conftest$ac_exeext && {
 
17733
         test "$cross_compiling" = yes ||
 
17734
         $as_test_x conftest$ac_exeext
 
17735
       }; then
16414
17736
 
16415
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16416
 
}'`
 
17737
lt_aix_libpath_sed='
 
17738
    /Import File Strings/,/^$/ {
 
17739
        /^0/ {
 
17740
            s/^0  *\(.*\)$/\1/
 
17741
            p
 
17742
        }
 
17743
    }'
 
17744
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16417
17745
# Check for a 64-bit object if we didn't find anything.
16418
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16419
 
}'`; fi
 
17746
if test -z "$aix_libpath"; then
 
17747
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
17748
fi
16420
17749
else
16421
 
  echo "$as_me: failed program was:" >&5
 
17750
  $as_echo "$as_me: failed program was:" >&5
16422
17751
sed 's/^/| /' conftest.$ac_ext >&5
16423
17752
 
 
17753
 
16424
17754
fi
16425
 
rm -f conftest.err conftest.$ac_objext \
 
17755
 
 
17756
rm -rf conftest.dSYM
 
17757
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16426
17758
      conftest$ac_exeext conftest.$ac_ext
16427
17759
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16428
17760
 
16451
17783
}
16452
17784
_ACEOF
16453
17785
rm -f conftest.$ac_objext conftest$ac_exeext
16454
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16455
 
  (eval $ac_link) 2>conftest.er1
 
17786
if { (ac_try="$ac_link"
 
17787
case "(($ac_try" in
 
17788
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17789
  *) ac_try_echo=$ac_try;;
 
17790
esac
 
17791
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17792
$as_echo "$ac_try_echo") >&5
 
17793
  (eval "$ac_link") 2>conftest.er1
16456
17794
  ac_status=$?
16457
17795
  grep -v '^ *+' conftest.er1 >conftest.err
16458
17796
  rm -f conftest.er1
16459
17797
  cat conftest.err >&5
16460
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16461
 
  (exit $ac_status); } &&
16462
 
         { ac_try='test -z "$ac_c_werror_flag"
16463
 
                         || test ! -s conftest.err'
16464
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16465
 
  (eval $ac_try) 2>&5
16466
 
  ac_status=$?
16467
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16468
 
  (exit $ac_status); }; } &&
16469
 
         { ac_try='test -s conftest$ac_exeext'
16470
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16471
 
  (eval $ac_try) 2>&5
16472
 
  ac_status=$?
16473
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16474
 
  (exit $ac_status); }; }; then
 
17798
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17799
  (exit $ac_status); } && {
 
17800
         test -z "$ac_c_werror_flag" ||
 
17801
         test ! -s conftest.err
 
17802
       } && test -s conftest$ac_exeext && {
 
17803
         test "$cross_compiling" = yes ||
 
17804
         $as_test_x conftest$ac_exeext
 
17805
       }; then
16475
17806
 
16476
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16477
 
}'`
 
17807
lt_aix_libpath_sed='
 
17808
    /Import File Strings/,/^$/ {
 
17809
        /^0/ {
 
17810
            s/^0  *\(.*\)$/\1/
 
17811
            p
 
17812
        }
 
17813
    }'
 
17814
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16478
17815
# Check for a 64-bit object if we didn't find anything.
16479
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16480
 
}'`; fi
 
17816
if test -z "$aix_libpath"; then
 
17817
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
17818
fi
16481
17819
else
16482
 
  echo "$as_me: failed program was:" >&5
 
17820
  $as_echo "$as_me: failed program was:" >&5
16483
17821
sed 's/^/| /' conftest.$ac_ext >&5
16484
17822
 
 
17823
 
16485
17824
fi
16486
 
rm -f conftest.err conftest.$ac_objext \
 
17825
 
 
17826
rm -rf conftest.dSYM
 
17827
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16487
17828
      conftest$ac_exeext conftest.$ac_ext
16488
17829
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16489
17830
 
16529
17870
      # The linker will automatically build a .lib file if we build a DLL.
16530
17871
      old_archive_From_new_cmds_GCJ='true'
16531
17872
      # FIXME: Should let the user specify the lib program.
16532
 
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
17873
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
16533
17874
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
16534
17875
      enable_shared_with_static_runtimes_GCJ=yes
16535
17876
      ;;
16562
17903
      link_all_deplibs_GCJ=yes
16563
17904
    if test "$GCC" = yes ; then
16564
17905
        output_verbose_link_cmd='echo'
16565
 
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16566
 
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16567
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16568
 
      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}'
16569
 
      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}'
 
17906
        archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
17907
        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
17908
        archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
17909
        module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
16570
17910
    else
16571
17911
      case $cc_basename in
16572
17912
        xlc*)
16573
17913
         output_verbose_link_cmd='echo'
16574
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
17914
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
16575
17915
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16576
17916
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16577
 
         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}'
 
17917
         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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16578
17918
          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}'
16579
17919
          ;;
16580
17920
       *)
16614
17954
      ;;
16615
17955
 
16616
17956
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16617
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
17957
    freebsd* | dragonfly*)
16618
17958
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16619
17959
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
16620
17960
      hardcode_direct_GCJ=yes
16736
18076
      ;;
16737
18077
 
16738
18078
    openbsd*)
16739
 
      hardcode_direct_GCJ=yes
16740
 
      hardcode_shlibpath_var_GCJ=no
16741
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16742
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16743
 
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16744
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16745
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
 
18079
      if test -f /usr/libexec/ld.so; then
 
18080
        hardcode_direct_GCJ=yes
 
18081
        hardcode_shlibpath_var_GCJ=no
 
18082
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
18083
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
18084
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
18085
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
18086
          export_dynamic_flag_spec_GCJ='${wl}-E'
 
18087
        else
 
18088
          case $host_os in
 
18089
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
18090
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
18091
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
18092
             ;;
 
18093
           *)
 
18094
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
18095
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
18096
             ;;
 
18097
          esac
 
18098
        fi
16746
18099
      else
16747
 
       case $host_os in
16748
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16749
 
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16750
 
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
16751
 
           ;;
16752
 
         *)
16753
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16754
 
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16755
 
           ;;
16756
 
       esac
 
18100
        ld_shlibs_GCJ=no
16757
18101
      fi
16758
18102
      ;;
16759
18103
 
16812
18156
      case $host_os in
16813
18157
      solaris2.[0-5] | solaris2.[0-5].*) ;;
16814
18158
      *)
16815
 
        # The compiler driver will combine linker options so we
16816
 
        # cannot just pass the convience library names through
16817
 
        # without $wl, iff we do not link with $LD.
16818
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
18159
        # The compiler driver will combine and reorder linker options,
 
18160
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
18161
        # but is careful enough not to reorder.
16819
18162
        # Supported since Solaris 2.6 (maybe 2.5.1?)
16820
 
        case $wlarc in
16821
 
        '')
16822
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16823
 
        *)
16824
 
          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' ;;
16825
 
        esac ;;
 
18163
        if test "$GCC" = yes; then
 
18164
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
18165
        else
 
18166
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
 
18167
        fi
 
18168
        ;;
16826
18169
      esac
16827
18170
      link_all_deplibs_GCJ=yes
16828
18171
      ;;
16879
18222
      fi
16880
18223
      ;;
16881
18224
 
16882
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
18225
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16883
18226
      no_undefined_flag_GCJ='${wl}-z,text'
16884
18227
      archive_cmds_need_lc_GCJ=no
16885
18228
      hardcode_shlibpath_var_GCJ=no
16932
18275
    esac
16933
18276
  fi
16934
18277
 
16935
 
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16936
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
 
18278
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
18279
$as_echo "$ld_shlibs_GCJ" >&6; }
16937
18280
test "$ld_shlibs_GCJ" = no && can_build_shared=no
16938
18281
 
16939
18282
#
16953
18296
      # Test whether the compiler implicitly links with -lc since on some
16954
18297
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16955
18298
      # to ld, don't add -lc before -lgcc.
16956
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16957
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
18299
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
18300
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16958
18301
      $rm conftest*
16959
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
18302
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16960
18303
 
16961
18304
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16962
18305
  (eval $ac_compile) 2>&5
16963
18306
  ac_status=$?
16964
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18307
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16965
18308
  (exit $ac_status); } 2>conftest.err; then
16966
18309
        soname=conftest
16967
18310
        lib=conftest
16979
18322
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16980
18323
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16981
18324
  ac_status=$?
16982
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18325
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983
18326
  (exit $ac_status); }
16984
18327
        then
16985
18328
          archive_cmds_need_lc_GCJ=no
16991
18334
        cat conftest.err 1>&5
16992
18335
      fi
16993
18336
      $rm conftest*
16994
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16995
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
 
18337
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
18338
$as_echo "$archive_cmds_need_lc_GCJ" >&6; }
16996
18339
      ;;
16997
18340
    esac
16998
18341
  fi
16999
18342
  ;;
17000
18343
esac
17001
18344
 
17002
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17003
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
18345
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
18346
$as_echo_n "checking dynamic linker characteristics... " >&6; }
17004
18347
library_names_spec=
17005
18348
libname_spec='lib$name'
17006
18349
soname_spec=
17014
18357
version_type=none
17015
18358
dynamic_linker="$host_os ld.so"
17016
18359
sys_lib_dlsearch_path_spec="/lib /usr/lib"
17017
 
if test "$GCC" = yes; then
17018
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17019
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
17020
 
    # if the path contains ";" then we assume it to be the separator
17021
 
    # otherwise default to the standard path separator (i.e. ":") - it is
17022
 
    # assumed that no part of a normal pathname contains ";" but that should
17023
 
    # okay in the real world where ";" in dirpaths is itself problematic.
17024
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17025
 
  else
17026
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
17027
 
  fi
17028
 
else
17029
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17030
 
fi
 
18360
 
17031
18361
need_lib_prefix=unknown
17032
18362
hardcode_into_libs=no
17033
18363
 
17045
18375
  soname_spec='${libname}${release}${shared_ext}$major'
17046
18376
  ;;
17047
18377
 
17048
 
aix4* | aix5*)
 
18378
aix[4-9]*)
17049
18379
  version_type=linux
17050
18380
  need_lib_prefix=no
17051
18381
  need_version=no
17184
18514
  shlibpath_overrides_runpath=yes
17185
18515
  shlibpath_var=DYLD_LIBRARY_PATH
17186
18516
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17187
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17188
 
  if test "$GCC" = yes; then
17189
 
    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"`
17190
 
  else
17191
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
17192
 
  fi
 
18517
 
17193
18518
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17194
18519
  ;;
17195
18520
 
17206
18531
  dynamic_linker=no
17207
18532
  ;;
17208
18533
 
17209
 
kfreebsd*-gnu)
17210
 
  version_type=linux
17211
 
  need_lib_prefix=no
17212
 
  need_version=no
17213
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17214
 
  soname_spec='${libname}${release}${shared_ext}$major'
17215
 
  shlibpath_var=LD_LIBRARY_PATH
17216
 
  shlibpath_overrides_runpath=no
17217
 
  hardcode_into_libs=yes
17218
 
  dynamic_linker='GNU ld.so'
17219
 
  ;;
17220
 
 
17221
18534
freebsd* | dragonfly*)
17222
18535
  # DragonFly does not have aout.  When/if they implement a new
17223
18536
  # versioning mechanism, adjust this.
17255
18568
    shlibpath_overrides_runpath=no
17256
18569
    hardcode_into_libs=yes
17257
18570
    ;;
17258
 
  freebsd*) # from 4.6 on
 
18571
  *) # from 4.6 on, and DragonFly
17259
18572
    shlibpath_overrides_runpath=yes
17260
18573
    hardcode_into_libs=yes
17261
18574
    ;;
17318
18631
  postinstall_cmds='chmod 555 $lib'
17319
18632
  ;;
17320
18633
 
17321
 
interix3*)
 
18634
interix[3-9]*)
17322
18635
  version_type=linux
17323
18636
  need_lib_prefix=no
17324
18637
  need_version=no
17373
18686
  ;;
17374
18687
 
17375
18688
# This must be Linux ELF.
17376
 
linux*)
 
18689
linux* | k*bsd*-gnu)
17377
18690
  version_type=linux
17378
18691
  need_lib_prefix=no
17379
18692
  need_version=no
17387
18700
  # before this can be enabled.
17388
18701
  hardcode_into_libs=yes
17389
18702
 
17390
 
  # find out which ABI we are using
17391
 
  libsuff=
17392
 
  case "$host_cpu" in
17393
 
  x86_64*|s390x*|powerpc64*)
17394
 
    echo '#line 17394 "configure"' > conftest.$ac_ext
17395
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17396
 
  (eval $ac_compile) 2>&5
17397
 
  ac_status=$?
17398
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17399
 
  (exit $ac_status); }; then
17400
 
      case `/usr/bin/file conftest.$ac_objext` in
17401
 
      *64-bit*)
17402
 
        libsuff=64
17403
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17404
 
        ;;
17405
 
      esac
17406
 
    fi
17407
 
    rm -rf conftest*
17408
 
    ;;
17409
 
  esac
17410
 
 
17411
18703
  # Append ld.so.conf contents to the search path
17412
18704
  if test -f /etc/ld.so.conf; then
17413
 
    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' ' '`
17414
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
18705
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
18706
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17415
18707
  fi
17416
18708
 
17417
18709
  # We used to test for /lib/ld.so.1 and disable shared libraries on
17423
18715
  dynamic_linker='GNU/Linux ld.so'
17424
18716
  ;;
17425
18717
 
17426
 
knetbsd*-gnu)
17427
 
  version_type=linux
17428
 
  need_lib_prefix=no
17429
 
  need_version=no
17430
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17431
 
  soname_spec='${libname}${release}${shared_ext}$major'
17432
 
  shlibpath_var=LD_LIBRARY_PATH
17433
 
  shlibpath_overrides_runpath=no
17434
 
  hardcode_into_libs=yes
17435
 
  dynamic_linker='GNU ld.so'
17436
 
  ;;
17437
 
 
17438
18718
netbsd*)
17439
18719
  version_type=sunos
17440
18720
  need_lib_prefix=no
17516
18796
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17517
18797
  ;;
17518
18798
 
 
18799
rdos*)
 
18800
  dynamic_linker=no
 
18801
  ;;
 
18802
 
17519
18803
solaris*)
17520
18804
  version_type=linux
17521
18805
  need_lib_prefix=no
17608
18892
  dynamic_linker=no
17609
18893
  ;;
17610
18894
esac
17611
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17612
 
echo "${ECHO_T}$dynamic_linker" >&6
 
18895
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
18896
$as_echo "$dynamic_linker" >&6; }
17613
18897
test "$dynamic_linker" = no && can_build_shared=no
17614
18898
 
 
18899
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
18900
  $as_echo_n "(cached) " >&6
 
18901
else
 
18902
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
18903
fi
 
18904
 
 
18905
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
18906
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
18907
  $as_echo_n "(cached) " >&6
 
18908
else
 
18909
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
18910
fi
 
18911
 
 
18912
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
18913
 
17615
18914
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17616
18915
if test "$GCC" = yes; then
17617
18916
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17618
18917
fi
17619
18918
 
17620
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17621
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
18919
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
18920
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17622
18921
hardcode_action_GCJ=
17623
18922
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17624
18923
   test -n "$runpath_var_GCJ" || \
17642
18941
  # directories.
17643
18942
  hardcode_action_GCJ=unsupported
17644
18943
fi
17645
 
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17646
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6
 
18944
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
18945
$as_echo "$hardcode_action_GCJ" >&6; }
17647
18946
 
17648
18947
if test "$hardcode_action_GCJ" = relink; then
17649
18948
  # Fast installation is not supported
17695
18994
    predeps_GCJ \
17696
18995
    postdeps_GCJ \
17697
18996
    compiler_lib_search_path_GCJ \
 
18997
    compiler_lib_search_dirs_GCJ \
17698
18998
    archive_cmds_GCJ \
17699
18999
    archive_expsym_cmds_GCJ \
17700
19000
    postinstall_cmds_GCJ \
17710
19010
    module_cmds_GCJ \
17711
19011
    module_expsym_cmds_GCJ \
17712
19012
    lt_cv_prog_compiler_c_o_GCJ \
 
19013
    fix_srcfile_path_GCJ \
17713
19014
    exclude_expsyms_GCJ \
17714
19015
    include_expsyms_GCJ; do
17715
19016
 
17942
19243
# shared library.
17943
19244
postdeps=$lt_postdeps_GCJ
17944
19245
 
 
19246
# The directories searched by this compiler when creating a shared
 
19247
# library
 
19248
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
 
19249
 
17945
19250
# The library search path used internally by the compiler when linking
17946
19251
# a shared library.
17947
19252
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18030
19335
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18031
19336
 
18032
19337
# Fix the shell variable \$srcfile for the compiler.
18033
 
fix_srcfile_path="$fix_srcfile_path_GCJ"
 
19338
fix_srcfile_path=$lt_fix_srcfile_path
18034
19339
 
18035
19340
# Set to yes if exported symbols are required.
18036
19341
always_export_symbols=$always_export_symbols_GCJ
18079
19384
      RC)
18080
19385
 
18081
19386
 
18082
 
 
18083
19387
# Source file extension for RC test sources.
18084
19388
ac_ext=rc
18085
19389
 
18088
19392
objext_RC=$objext
18089
19393
 
18090
19394
# Code to be used in simple compile tests
18091
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
 
19395
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
18092
19396
 
18093
19397
# Code to be used in simple link tests
18094
19398
lt_simple_link_test_code="$lt_simple_compile_test_code"
18107
19411
 
18108
19412
# save warnings/boilerplate of simple test code
18109
19413
ac_outfile=conftest.$ac_objext
18110
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
19414
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
18111
19415
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18112
19416
_lt_compiler_boilerplate=`cat conftest.err`
18113
19417
$rm conftest*
18114
19418
 
18115
19419
ac_outfile=conftest.$ac_objext
18116
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
19420
echo "$lt_simple_link_test_code" >conftest.$ac_ext
18117
19421
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18118
19422
_lt_linker_boilerplate=`cat conftest.err`
18119
 
$rm conftest*
 
19423
$rm -r conftest*
18120
19424
 
18121
19425
 
18122
19426
# Allow CC to be a program name with arguments.
18176
19480
    predeps_RC \
18177
19481
    postdeps_RC \
18178
19482
    compiler_lib_search_path_RC \
 
19483
    compiler_lib_search_dirs_RC \
18179
19484
    archive_cmds_RC \
18180
19485
    archive_expsym_cmds_RC \
18181
19486
    postinstall_cmds_RC \
18191
19496
    module_cmds_RC \
18192
19497
    module_expsym_cmds_RC \
18193
19498
    lt_cv_prog_compiler_c_o_RC \
 
19499
    fix_srcfile_path_RC \
18194
19500
    exclude_expsyms_RC \
18195
19501
    include_expsyms_RC; do
18196
19502
 
18423
19729
# shared library.
18424
19730
postdeps=$lt_postdeps_RC
18425
19731
 
 
19732
# The directories searched by this compiler when creating a shared
 
19733
# library
 
19734
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
 
19735
 
18426
19736
# The library search path used internally by the compiler when linking
18427
19737
# a shared library.
18428
19738
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18511
19821
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18512
19822
 
18513
19823
# Fix the shell variable \$srcfile for the compiler.
18514
 
fix_srcfile_path="$fix_srcfile_path_RC"
 
19824
fix_srcfile_path=$lt_fix_srcfile_path
18515
19825
 
18516
19826
# Set to yes if exported symbols are required.
18517
19827
always_export_symbols=$always_export_symbols_RC
18555
19865
        ;;
18556
19866
 
18557
19867
      *)
18558
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18559
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
 
19868
        { { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
 
19869
$as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18560
19870
   { (exit 1); exit 1; }; }
18561
19871
        ;;
18562
19872
      esac
18575
19885
    chmod +x "$ofile"
18576
19886
  else
18577
19887
    rm -f "${ofile}T"
18578
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18579
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
 
19888
    { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
 
19889
$as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18580
19890
   { (exit 1); exit 1; }; }
18581
19891
  fi
18582
19892
fi
18610
19920
 
18611
19921
 
18612
19922
 
18613
 
for ac_prog in 'bison -y' byacc
18614
 
do
18615
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
18616
 
set dummy $ac_prog; ac_word=$2
18617
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
18618
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18619
 
if test "${ac_cv_prog_YACC+set}" = set; then
18620
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18621
 
else
18622
 
  if test -n "$YACC"; then
18623
 
  ac_cv_prog_YACC="$YACC" # Let the user override the test.
18624
 
else
18625
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18626
 
for as_dir in $PATH
18627
 
do
18628
 
  IFS=$as_save_IFS
18629
 
  test -z "$as_dir" && as_dir=.
18630
 
  for ac_exec_ext in '' $ac_executable_extensions; do
18631
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18632
 
    ac_cv_prog_YACC="$ac_prog"
18633
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18634
 
    break 2
18635
 
  fi
18636
 
done
18637
 
done
18638
 
 
18639
 
fi
18640
 
fi
18641
 
YACC=$ac_cv_prog_YACC
18642
 
if test -n "$YACC"; then
18643
 
  echo "$as_me:$LINENO: result: $YACC" >&5
18644
 
echo "${ECHO_T}$YACC" >&6
18645
 
else
18646
 
  echo "$as_me:$LINENO: result: no" >&5
18647
 
echo "${ECHO_T}no" >&6
18648
 
fi
18649
 
 
18650
 
  test -n "$YACC" && break
18651
 
done
18652
 
test -n "$YACC" || YACC="yacc"
18653
 
 
18654
19923
 
18655
19924
# Checks for libraries.
18656
19925
 
 
19926
#
 
19927
if test "$large_volume_support" == "yes" ; then
 
19928
   echo "enabled to compile for large volume support"
 
19929
   CPPFLAGS="-DLARGE_VOL_SUPPORT $CPPFLAGS"
 
19930
   LIBS="$LIBS -lrt"
 
19931
fi
 
19932
 
18657
19933
# Checks for header files.
18658
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18659
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
19934
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
19935
$as_echo_n "checking for ANSI C header files... " >&6; }
18660
19936
if test "${ac_cv_header_stdc+set}" = set; then
18661
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19937
  $as_echo_n "(cached) " >&6
18662
19938
else
18663
19939
  cat >conftest.$ac_ext <<_ACEOF
18664
19940
/* confdefs.h.  */
18680
19956
}
18681
19957
_ACEOF
18682
19958
rm -f conftest.$ac_objext
18683
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18684
 
  (eval $ac_compile) 2>conftest.er1
 
19959
if { (ac_try="$ac_compile"
 
19960
case "(($ac_try" in
 
19961
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19962
  *) ac_try_echo=$ac_try;;
 
19963
esac
 
19964
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19965
$as_echo "$ac_try_echo") >&5
 
19966
  (eval "$ac_compile") 2>conftest.er1
18685
19967
  ac_status=$?
18686
19968
  grep -v '^ *+' conftest.er1 >conftest.err
18687
19969
  rm -f conftest.er1
18688
19970
  cat conftest.err >&5
18689
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18690
 
  (exit $ac_status); } &&
18691
 
         { ac_try='test -z "$ac_c_werror_flag"
18692
 
                         || test ! -s conftest.err'
18693
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18694
 
  (eval $ac_try) 2>&5
18695
 
  ac_status=$?
18696
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18697
 
  (exit $ac_status); }; } &&
18698
 
         { ac_try='test -s conftest.$ac_objext'
18699
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18700
 
  (eval $ac_try) 2>&5
18701
 
  ac_status=$?
18702
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18703
 
  (exit $ac_status); }; }; then
 
19971
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19972
  (exit $ac_status); } && {
 
19973
         test -z "$ac_c_werror_flag" ||
 
19974
         test ! -s conftest.err
 
19975
       } && test -s conftest.$ac_objext; then
18704
19976
  ac_cv_header_stdc=yes
18705
19977
else
18706
 
  echo "$as_me: failed program was:" >&5
 
19978
  $as_echo "$as_me: failed program was:" >&5
18707
19979
sed 's/^/| /' conftest.$ac_ext >&5
18708
19980
 
18709
 
ac_cv_header_stdc=no
 
19981
        ac_cv_header_stdc=no
18710
19982
fi
18711
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
19983
 
 
19984
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18712
19985
 
18713
19986
if test $ac_cv_header_stdc = yes; then
18714
19987
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18764
20037
cat >>conftest.$ac_ext <<_ACEOF
18765
20038
/* end confdefs.h.  */
18766
20039
#include <ctype.h>
 
20040
#include <stdlib.h>
18767
20041
#if ((' ' & 0x0FF) == 0x020)
18768
20042
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18769
20043
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18783
20057
  for (i = 0; i < 256; i++)
18784
20058
    if (XOR (islower (i), ISLOWER (i))
18785
20059
        || toupper (i) != TOUPPER (i))
18786
 
      exit(2);
18787
 
  exit (0);
 
20060
      return 2;
 
20061
  return 0;
18788
20062
}
18789
20063
_ACEOF
18790
20064
rm -f conftest$ac_exeext
18791
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18792
 
  (eval $ac_link) 2>&5
 
20065
if { (ac_try="$ac_link"
 
20066
case "(($ac_try" in
 
20067
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20068
  *) ac_try_echo=$ac_try;;
 
20069
esac
 
20070
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20071
$as_echo "$ac_try_echo") >&5
 
20072
  (eval "$ac_link") 2>&5
18793
20073
  ac_status=$?
18794
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20074
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18795
20075
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18796
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18797
 
  (eval $ac_try) 2>&5
 
20076
  { (case "(($ac_try" in
 
20077
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20078
  *) ac_try_echo=$ac_try;;
 
20079
esac
 
20080
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20081
$as_echo "$ac_try_echo") >&5
 
20082
  (eval "$ac_try") 2>&5
18798
20083
  ac_status=$?
18799
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20084
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800
20085
  (exit $ac_status); }; }; then
18801
20086
  :
18802
20087
else
18803
 
  echo "$as_me: program exited with status $ac_status" >&5
18804
 
echo "$as_me: failed program was:" >&5
 
20088
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
20089
$as_echo "$as_me: failed program was:" >&5
18805
20090
sed 's/^/| /' conftest.$ac_ext >&5
18806
20091
 
18807
20092
( exit $ac_status )
18808
20093
ac_cv_header_stdc=no
18809
20094
fi
18810
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18811
 
fi
18812
 
fi
18813
 
fi
18814
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18815
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
20095
rm -rf conftest.dSYM
 
20096
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
20097
fi
 
20098
 
 
20099
 
 
20100
fi
 
20101
fi
 
20102
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
20103
$as_echo "$ac_cv_header_stdc" >&6; }
18816
20104
if test $ac_cv_header_stdc = yes; then
18817
20105
 
18818
20106
cat >>confdefs.h <<\_ACEOF
18828
20116
 
18829
20117
for ac_header in malloc.h stddef.h stdlib.h string.h sys/time.h
18830
20118
do
18831
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18832
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
18833
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
18834
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18835
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
18836
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20119
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
20120
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
20121
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20122
$as_echo_n "checking for $ac_header... " >&6; }
 
20123
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
20124
  $as_echo_n "(cached) " >&6
18837
20125
fi
18838
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18839
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
20126
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
20127
                 $as_echo "$as_val"'`
 
20128
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
20129
$as_echo "$ac_res" >&6; }
18840
20130
else
18841
20131
  # Is the header compilable?
18842
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
18843
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
20132
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
20133
$as_echo_n "checking $ac_header usability... " >&6; }
18844
20134
cat >conftest.$ac_ext <<_ACEOF
18845
20135
/* confdefs.h.  */
18846
20136
_ACEOF
18851
20141
#include <$ac_header>
18852
20142
_ACEOF
18853
20143
rm -f conftest.$ac_objext
18854
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18855
 
  (eval $ac_compile) 2>conftest.er1
 
20144
if { (ac_try="$ac_compile"
 
20145
case "(($ac_try" in
 
20146
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20147
  *) ac_try_echo=$ac_try;;
 
20148
esac
 
20149
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20150
$as_echo "$ac_try_echo") >&5
 
20151
  (eval "$ac_compile") 2>conftest.er1
18856
20152
  ac_status=$?
18857
20153
  grep -v '^ *+' conftest.er1 >conftest.err
18858
20154
  rm -f conftest.er1
18859
20155
  cat conftest.err >&5
18860
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18861
 
  (exit $ac_status); } &&
18862
 
         { ac_try='test -z "$ac_c_werror_flag"
18863
 
                         || test ! -s conftest.err'
18864
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18865
 
  (eval $ac_try) 2>&5
18866
 
  ac_status=$?
18867
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18868
 
  (exit $ac_status); }; } &&
18869
 
         { ac_try='test -s conftest.$ac_objext'
18870
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18871
 
  (eval $ac_try) 2>&5
18872
 
  ac_status=$?
18873
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18874
 
  (exit $ac_status); }; }; then
 
20156
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20157
  (exit $ac_status); } && {
 
20158
         test -z "$ac_c_werror_flag" ||
 
20159
         test ! -s conftest.err
 
20160
       } && test -s conftest.$ac_objext; then
18875
20161
  ac_header_compiler=yes
18876
20162
else
18877
 
  echo "$as_me: failed program was:" >&5
 
20163
  $as_echo "$as_me: failed program was:" >&5
18878
20164
sed 's/^/| /' conftest.$ac_ext >&5
18879
20165
 
18880
 
ac_header_compiler=no
 
20166
        ac_header_compiler=no
18881
20167
fi
18882
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18883
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18884
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
20168
 
 
20169
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20170
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
20171
$as_echo "$ac_header_compiler" >&6; }
18885
20172
 
18886
20173
# Is the header present?
18887
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
18888
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
20174
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
20175
$as_echo_n "checking $ac_header presence... " >&6; }
18889
20176
cat >conftest.$ac_ext <<_ACEOF
18890
20177
/* confdefs.h.  */
18891
20178
_ACEOF
18894
20181
/* end confdefs.h.  */
18895
20182
#include <$ac_header>
18896
20183
_ACEOF
18897
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18898
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
20184
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
20185
case "(($ac_try" in
 
20186
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20187
  *) ac_try_echo=$ac_try;;
 
20188
esac
 
20189
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20190
$as_echo "$ac_try_echo") >&5
 
20191
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18899
20192
  ac_status=$?
18900
20193
  grep -v '^ *+' conftest.er1 >conftest.err
18901
20194
  rm -f conftest.er1
18902
20195
  cat conftest.err >&5
18903
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18904
 
  (exit $ac_status); } >/dev/null; then
18905
 
  if test -s conftest.err; then
18906
 
    ac_cpp_err=$ac_c_preproc_warn_flag
18907
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18908
 
  else
18909
 
    ac_cpp_err=
18910
 
  fi
18911
 
else
18912
 
  ac_cpp_err=yes
18913
 
fi
18914
 
if test -z "$ac_cpp_err"; then
 
20196
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20197
  (exit $ac_status); } >/dev/null && {
 
20198
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
20199
         test ! -s conftest.err
 
20200
       }; then
18915
20201
  ac_header_preproc=yes
18916
20202
else
18917
 
  echo "$as_me: failed program was:" >&5
 
20203
  $as_echo "$as_me: failed program was:" >&5
18918
20204
sed 's/^/| /' conftest.$ac_ext >&5
18919
20205
 
18920
20206
  ac_header_preproc=no
18921
20207
fi
 
20208
 
18922
20209
rm -f conftest.err conftest.$ac_ext
18923
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18924
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
20210
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
20211
$as_echo "$ac_header_preproc" >&6; }
18925
20212
 
18926
20213
# So?  What about this header?
18927
20214
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18928
20215
  yes:no: )
18929
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18930
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18931
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18932
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
20216
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
20217
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
20218
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
20219
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18933
20220
    ac_header_preproc=yes
18934
20221
    ;;
18935
20222
  no:yes:* )
18936
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18937
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18938
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
18939
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
18940
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18941
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18942
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
18943
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
18944
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18945
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18946
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18947
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18948
 
    (
18949
 
      cat <<\_ASBOX
 
20223
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
20224
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
20225
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
20226
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
20227
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
20228
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
20229
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
20230
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
20231
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
20232
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
20233
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
20234
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
20235
    ( cat <<\_ASBOX
18950
20236
## ------------------------------------------------ ##
18951
20237
## Report this to sblim-devel@lists.sourceforge.net ##
18952
20238
## ------------------------------------------------ ##
18953
20239
_ASBOX
18954
 
    ) |
18955
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
20240
     ) | sed "s/^/$as_me: WARNING:     /" >&2
18956
20241
    ;;
18957
20242
esac
18958
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
18959
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18960
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
18961
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20243
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20244
$as_echo_n "checking for $ac_header... " >&6; }
 
20245
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
20246
  $as_echo_n "(cached) " >&6
18962
20247
else
18963
20248
  eval "$as_ac_Header=\$ac_header_preproc"
18964
20249
fi
18965
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18966
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
20250
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
20251
                 $as_echo "$as_val"'`
 
20252
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
20253
$as_echo "$ac_res" >&6; }
18967
20254
 
18968
20255
fi
18969
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
20256
as_val=`eval 'as_val=${'$as_ac_Header'}
 
20257
                 $as_echo "$as_val"'`
 
20258
   if test "x$as_val" = x""yes; then
18970
20259
  cat >>confdefs.h <<_ACEOF
18971
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
20260
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18972
20261
_ACEOF
18973
20262
 
18974
20263
fi
18977
20266
 
18978
20267
 
18979
20268
# Checks for typedefs, structures, and compiler characteristics.
18980
 
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18981
 
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
 
20269
{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
 
20270
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
18982
20271
if test "${ac_cv_c_const+set}" = set; then
18983
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20272
  $as_echo_n "(cached) " >&6
18984
20273
else
18985
20274
  cat >conftest.$ac_ext <<_ACEOF
18986
20275
/* confdefs.h.  */
18996
20285
#ifndef __cplusplus
18997
20286
  /* Ultrix mips cc rejects this.  */
18998
20287
  typedef int charset[2];
18999
 
  const charset x;
 
20288
  const charset cs;
19000
20289
  /* SunOS 4.1.1 cc rejects this.  */
19001
 
  char const *const *ccp;
19002
 
  char **p;
 
20290
  char const *const *pcpcc;
 
20291
  char **ppc;
19003
20292
  /* NEC SVR4.0.2 mips cc rejects this.  */
19004
20293
  struct point {int x, y;};
19005
20294
  static struct point const zero = {0,0};
19008
20297
     an arm of an if-expression whose if-part is not a constant
19009
20298
     expression */
19010
20299
  const char *g = "string";
19011
 
  ccp = &g + (g ? g-g : 0);
 
20300
  pcpcc = &g + (g ? g-g : 0);
19012
20301
  /* HPUX 7.0 cc rejects these. */
19013
 
  ++ccp;
19014
 
  p = (char**) ccp;
19015
 
  ccp = (char const *const *) p;
 
20302
  ++pcpcc;
 
20303
  ppc = (char**) pcpcc;
 
20304
  pcpcc = (char const *const *) ppc;
19016
20305
  { /* SCO 3.2v4 cc rejects this.  */
19017
20306
    char *t;
19018
20307
    char const *s = 0 ? (char *) 0 : (char const *) 0;
19019
20308
 
19020
20309
    *t++ = 0;
 
20310
    if (s) return 0;
19021
20311
  }
19022
20312
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
19023
20313
    int x[] = {25, 17};
19036
20326
  }
19037
20327
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19038
20328
    const int foo = 10;
 
20329
    if (!foo) return 0;
19039
20330
  }
 
20331
  return !cs[0] && !zero.x;
19040
20332
#endif
19041
20333
 
19042
20334
  ;
19044
20336
}
19045
20337
_ACEOF
19046
20338
rm -f conftest.$ac_objext
19047
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19048
 
  (eval $ac_compile) 2>conftest.er1
 
20339
if { (ac_try="$ac_compile"
 
20340
case "(($ac_try" in
 
20341
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20342
  *) ac_try_echo=$ac_try;;
 
20343
esac
 
20344
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20345
$as_echo "$ac_try_echo") >&5
 
20346
  (eval "$ac_compile") 2>conftest.er1
19049
20347
  ac_status=$?
19050
20348
  grep -v '^ *+' conftest.er1 >conftest.err
19051
20349
  rm -f conftest.er1
19052
20350
  cat conftest.err >&5
19053
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19054
 
  (exit $ac_status); } &&
19055
 
         { ac_try='test -z "$ac_c_werror_flag"
19056
 
                         || test ! -s conftest.err'
19057
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19058
 
  (eval $ac_try) 2>&5
19059
 
  ac_status=$?
19060
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19061
 
  (exit $ac_status); }; } &&
19062
 
         { ac_try='test -s conftest.$ac_objext'
19063
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19064
 
  (eval $ac_try) 2>&5
19065
 
  ac_status=$?
19066
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067
 
  (exit $ac_status); }; }; then
 
20351
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20352
  (exit $ac_status); } && {
 
20353
         test -z "$ac_c_werror_flag" ||
 
20354
         test ! -s conftest.err
 
20355
       } && test -s conftest.$ac_objext; then
19068
20356
  ac_cv_c_const=yes
19069
20357
else
19070
 
  echo "$as_me: failed program was:" >&5
 
20358
  $as_echo "$as_me: failed program was:" >&5
19071
20359
sed 's/^/| /' conftest.$ac_ext >&5
19072
20360
 
19073
 
ac_cv_c_const=no
19074
 
fi
19075
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19076
 
fi
19077
 
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19078
 
echo "${ECHO_T}$ac_cv_c_const" >&6
 
20361
        ac_cv_c_const=no
 
20362
fi
 
20363
 
 
20364
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20365
fi
 
20366
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
 
20367
$as_echo "$ac_cv_c_const" >&6; }
19079
20368
if test $ac_cv_c_const = no; then
19080
20369
 
19081
20370
cat >>confdefs.h <<\_ACEOF
19082
 
#define const
 
20371
#define const /**/
19083
20372
_ACEOF
19084
20373
 
19085
20374
fi
19086
20375
 
19087
 
echo "$as_me:$LINENO: checking for inline" >&5
19088
 
echo $ECHO_N "checking for inline... $ECHO_C" >&6
 
20376
{ $as_echo "$as_me:$LINENO: checking for inline" >&5
 
20377
$as_echo_n "checking for inline... " >&6; }
19089
20378
if test "${ac_cv_c_inline+set}" = set; then
19090
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20379
  $as_echo_n "(cached) " >&6
19091
20380
else
19092
20381
  ac_cv_c_inline=no
19093
20382
for ac_kw in inline __inline__ __inline; do
19105
20394
 
19106
20395
_ACEOF
19107
20396
rm -f conftest.$ac_objext
19108
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19109
 
  (eval $ac_compile) 2>conftest.er1
 
20397
if { (ac_try="$ac_compile"
 
20398
case "(($ac_try" in
 
20399
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20400
  *) ac_try_echo=$ac_try;;
 
20401
esac
 
20402
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20403
$as_echo "$ac_try_echo") >&5
 
20404
  (eval "$ac_compile") 2>conftest.er1
19110
20405
  ac_status=$?
19111
20406
  grep -v '^ *+' conftest.er1 >conftest.err
19112
20407
  rm -f conftest.er1
19113
20408
  cat conftest.err >&5
19114
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19115
 
  (exit $ac_status); } &&
19116
 
         { ac_try='test -z "$ac_c_werror_flag"
19117
 
                         || test ! -s conftest.err'
19118
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19119
 
  (eval $ac_try) 2>&5
19120
 
  ac_status=$?
19121
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19122
 
  (exit $ac_status); }; } &&
19123
 
         { ac_try='test -s conftest.$ac_objext'
19124
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19125
 
  (eval $ac_try) 2>&5
19126
 
  ac_status=$?
19127
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128
 
  (exit $ac_status); }; }; then
19129
 
  ac_cv_c_inline=$ac_kw; break
 
20409
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20410
  (exit $ac_status); } && {
 
20411
         test -z "$ac_c_werror_flag" ||
 
20412
         test ! -s conftest.err
 
20413
       } && test -s conftest.$ac_objext; then
 
20414
  ac_cv_c_inline=$ac_kw
19130
20415
else
19131
 
  echo "$as_me: failed program was:" >&5
 
20416
  $as_echo "$as_me: failed program was:" >&5
19132
20417
sed 's/^/| /' conftest.$ac_ext >&5
19133
20418
 
 
20419
 
19134
20420
fi
19135
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20421
 
 
20422
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20423
  test "$ac_cv_c_inline" != no && break
19136
20424
done
19137
20425
 
19138
20426
fi
19139
 
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19140
 
echo "${ECHO_T}$ac_cv_c_inline" >&6
 
20427
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
 
20428
$as_echo "$ac_cv_c_inline" >&6; }
19141
20429
 
19142
20430
 
19143
20431
case $ac_cv_c_inline in
19155
20443
    ;;
19156
20444
esac
19157
20445
 
19158
 
echo "$as_me:$LINENO: checking for size_t" >&5
19159
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
 
20446
{ $as_echo "$as_me:$LINENO: checking for size_t" >&5
 
20447
$as_echo_n "checking for size_t... " >&6; }
19160
20448
if test "${ac_cv_type_size_t+set}" = set; then
19161
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20449
  $as_echo_n "(cached) " >&6
19162
20450
else
19163
 
  cat >conftest.$ac_ext <<_ACEOF
 
20451
  ac_cv_type_size_t=no
 
20452
cat >conftest.$ac_ext <<_ACEOF
19164
20453
/* confdefs.h.  */
19165
20454
_ACEOF
19166
20455
cat confdefs.h >>conftest.$ac_ext
19170
20459
int
19171
20460
main ()
19172
20461
{
19173
 
if ((size_t *) 0)
19174
 
  return 0;
19175
20462
if (sizeof (size_t))
19176
 
  return 0;
19177
 
  ;
19178
 
  return 0;
19179
 
}
19180
 
_ACEOF
19181
 
rm -f conftest.$ac_objext
19182
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19183
 
  (eval $ac_compile) 2>conftest.er1
19184
 
  ac_status=$?
19185
 
  grep -v '^ *+' conftest.er1 >conftest.err
19186
 
  rm -f conftest.er1
19187
 
  cat conftest.err >&5
19188
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19189
 
  (exit $ac_status); } &&
19190
 
         { ac_try='test -z "$ac_c_werror_flag"
19191
 
                         || test ! -s conftest.err'
19192
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19193
 
  (eval $ac_try) 2>&5
19194
 
  ac_status=$?
19195
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196
 
  (exit $ac_status); }; } &&
19197
 
         { ac_try='test -s conftest.$ac_objext'
19198
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19199
 
  (eval $ac_try) 2>&5
19200
 
  ac_status=$?
19201
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19202
 
  (exit $ac_status); }; }; then
19203
 
  ac_cv_type_size_t=yes
19204
 
else
19205
 
  echo "$as_me: failed program was:" >&5
19206
 
sed 's/^/| /' conftest.$ac_ext >&5
19207
 
 
19208
 
ac_cv_type_size_t=no
19209
 
fi
19210
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19211
 
fi
19212
 
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19213
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6
19214
 
if test $ac_cv_type_size_t = yes; then
 
20463
       return 0;
 
20464
  ;
 
20465
  return 0;
 
20466
}
 
20467
_ACEOF
 
20468
rm -f conftest.$ac_objext
 
20469
if { (ac_try="$ac_compile"
 
20470
case "(($ac_try" in
 
20471
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20472
  *) ac_try_echo=$ac_try;;
 
20473
esac
 
20474
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20475
$as_echo "$ac_try_echo") >&5
 
20476
  (eval "$ac_compile") 2>conftest.er1
 
20477
  ac_status=$?
 
20478
  grep -v '^ *+' conftest.er1 >conftest.err
 
20479
  rm -f conftest.er1
 
20480
  cat conftest.err >&5
 
20481
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20482
  (exit $ac_status); } && {
 
20483
         test -z "$ac_c_werror_flag" ||
 
20484
         test ! -s conftest.err
 
20485
       } && test -s conftest.$ac_objext; then
 
20486
  cat >conftest.$ac_ext <<_ACEOF
 
20487
/* confdefs.h.  */
 
20488
_ACEOF
 
20489
cat confdefs.h >>conftest.$ac_ext
 
20490
cat >>conftest.$ac_ext <<_ACEOF
 
20491
/* end confdefs.h.  */
 
20492
$ac_includes_default
 
20493
int
 
20494
main ()
 
20495
{
 
20496
if (sizeof ((size_t)))
 
20497
          return 0;
 
20498
  ;
 
20499
  return 0;
 
20500
}
 
20501
_ACEOF
 
20502
rm -f conftest.$ac_objext
 
20503
if { (ac_try="$ac_compile"
 
20504
case "(($ac_try" in
 
20505
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20506
  *) ac_try_echo=$ac_try;;
 
20507
esac
 
20508
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20509
$as_echo "$ac_try_echo") >&5
 
20510
  (eval "$ac_compile") 2>conftest.er1
 
20511
  ac_status=$?
 
20512
  grep -v '^ *+' conftest.er1 >conftest.err
 
20513
  rm -f conftest.er1
 
20514
  cat conftest.err >&5
 
20515
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20516
  (exit $ac_status); } && {
 
20517
         test -z "$ac_c_werror_flag" ||
 
20518
         test ! -s conftest.err
 
20519
       } && test -s conftest.$ac_objext; then
 
20520
  :
 
20521
else
 
20522
  $as_echo "$as_me: failed program was:" >&5
 
20523
sed 's/^/| /' conftest.$ac_ext >&5
 
20524
 
 
20525
        ac_cv_type_size_t=yes
 
20526
fi
 
20527
 
 
20528
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20529
else
 
20530
  $as_echo "$as_me: failed program was:" >&5
 
20531
sed 's/^/| /' conftest.$ac_ext >&5
 
20532
 
 
20533
 
 
20534
fi
 
20535
 
 
20536
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20537
fi
 
20538
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
 
20539
$as_echo "$ac_cv_type_size_t" >&6; }
 
20540
if test "x$ac_cv_type_size_t" = x""yes; then
19215
20541
  :
19216
20542
else
19217
20543
 
19218
20544
cat >>confdefs.h <<_ACEOF
19219
 
#define size_t unsigned
 
20545
#define size_t unsigned int
19220
20546
_ACEOF
19221
20547
 
19222
20548
fi
19223
20549
 
19224
 
echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
19225
 
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
 
20550
{ $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
 
20551
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
19226
20552
if test "${ac_cv_header_time+set}" = set; then
19227
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20553
  $as_echo_n "(cached) " >&6
19228
20554
else
19229
20555
  cat >conftest.$ac_ext <<_ACEOF
19230
20556
/* confdefs.h.  */
19246
20572
}
19247
20573
_ACEOF
19248
20574
rm -f conftest.$ac_objext
19249
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19250
 
  (eval $ac_compile) 2>conftest.er1
 
20575
if { (ac_try="$ac_compile"
 
20576
case "(($ac_try" in
 
20577
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20578
  *) ac_try_echo=$ac_try;;
 
20579
esac
 
20580
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20581
$as_echo "$ac_try_echo") >&5
 
20582
  (eval "$ac_compile") 2>conftest.er1
19251
20583
  ac_status=$?
19252
20584
  grep -v '^ *+' conftest.er1 >conftest.err
19253
20585
  rm -f conftest.er1
19254
20586
  cat conftest.err >&5
19255
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256
 
  (exit $ac_status); } &&
19257
 
         { ac_try='test -z "$ac_c_werror_flag"
19258
 
                         || test ! -s conftest.err'
19259
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19260
 
  (eval $ac_try) 2>&5
19261
 
  ac_status=$?
19262
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19263
 
  (exit $ac_status); }; } &&
19264
 
         { ac_try='test -s conftest.$ac_objext'
19265
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19266
 
  (eval $ac_try) 2>&5
19267
 
  ac_status=$?
19268
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19269
 
  (exit $ac_status); }; }; then
 
20587
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20588
  (exit $ac_status); } && {
 
20589
         test -z "$ac_c_werror_flag" ||
 
20590
         test ! -s conftest.err
 
20591
       } && test -s conftest.$ac_objext; then
19270
20592
  ac_cv_header_time=yes
19271
20593
else
19272
 
  echo "$as_me: failed program was:" >&5
 
20594
  $as_echo "$as_me: failed program was:" >&5
19273
20595
sed 's/^/| /' conftest.$ac_ext >&5
19274
20596
 
19275
 
ac_cv_header_time=no
19276
 
fi
19277
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19278
 
fi
19279
 
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
19280
 
echo "${ECHO_T}$ac_cv_header_time" >&6
 
20597
        ac_cv_header_time=no
 
20598
fi
 
20599
 
 
20600
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20601
fi
 
20602
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
 
20603
$as_echo "$ac_cv_header_time" >&6; }
19281
20604
if test $ac_cv_header_time = yes; then
19282
20605
 
19283
20606
cat >>confdefs.h <<\_ACEOF
19286
20609
 
19287
20610
fi
19288
20611
 
19289
 
echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
19290
 
echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
 
20612
{ $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
 
20613
$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
19291
20614
if test "${ac_cv_struct_tm+set}" = set; then
19292
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20615
  $as_echo_n "(cached) " >&6
19293
20616
else
19294
20617
  cat >conftest.$ac_ext <<_ACEOF
19295
20618
/* confdefs.h.  */
19303
20626
int
19304
20627
main ()
19305
20628
{
19306
 
struct tm *tp; tp->tm_sec;
 
20629
struct tm tm;
 
20630
                                     int *p = &tm.tm_sec;
 
20631
                                     return !p;
19307
20632
  ;
19308
20633
  return 0;
19309
20634
}
19310
20635
_ACEOF
19311
20636
rm -f conftest.$ac_objext
19312
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19313
 
  (eval $ac_compile) 2>conftest.er1
 
20637
if { (ac_try="$ac_compile"
 
20638
case "(($ac_try" in
 
20639
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20640
  *) ac_try_echo=$ac_try;;
 
20641
esac
 
20642
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20643
$as_echo "$ac_try_echo") >&5
 
20644
  (eval "$ac_compile") 2>conftest.er1
19314
20645
  ac_status=$?
19315
20646
  grep -v '^ *+' conftest.er1 >conftest.err
19316
20647
  rm -f conftest.er1
19317
20648
  cat conftest.err >&5
19318
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19319
 
  (exit $ac_status); } &&
19320
 
         { ac_try='test -z "$ac_c_werror_flag"
19321
 
                         || test ! -s conftest.err'
19322
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19323
 
  (eval $ac_try) 2>&5
19324
 
  ac_status=$?
19325
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19326
 
  (exit $ac_status); }; } &&
19327
 
         { ac_try='test -s conftest.$ac_objext'
19328
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19329
 
  (eval $ac_try) 2>&5
19330
 
  ac_status=$?
19331
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332
 
  (exit $ac_status); }; }; then
 
20649
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20650
  (exit $ac_status); } && {
 
20651
         test -z "$ac_c_werror_flag" ||
 
20652
         test ! -s conftest.err
 
20653
       } && test -s conftest.$ac_objext; then
19333
20654
  ac_cv_struct_tm=time.h
19334
20655
else
19335
 
  echo "$as_me: failed program was:" >&5
 
20656
  $as_echo "$as_me: failed program was:" >&5
19336
20657
sed 's/^/| /' conftest.$ac_ext >&5
19337
20658
 
19338
 
ac_cv_struct_tm=sys/time.h
19339
 
fi
19340
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19341
 
fi
19342
 
echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
19343
 
echo "${ECHO_T}$ac_cv_struct_tm" >&6
 
20659
        ac_cv_struct_tm=sys/time.h
 
20660
fi
 
20661
 
 
20662
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20663
fi
 
20664
{ $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
 
20665
$as_echo "$ac_cv_struct_tm" >&6; }
19344
20666
if test $ac_cv_struct_tm = sys/time.h; then
19345
20667
 
19346
20668
cat >>confdefs.h <<\_ACEOF
19351
20673
 
19352
20674
 
19353
20675
# Checks for libraries
19354
 
echo "$as_me:$LINENO: checking for curl_easy_init in -lcurl" >&5
19355
 
echo $ECHO_N "checking for curl_easy_init in -lcurl... $ECHO_C" >&6
 
20676
{ $as_echo "$as_me:$LINENO: checking for curl_easy_init in -lcurl" >&5
 
20677
$as_echo_n "checking for curl_easy_init in -lcurl... " >&6; }
19356
20678
if test "${ac_cv_lib_curl_curl_easy_init+set}" = set; then
19357
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20679
  $as_echo_n "(cached) " >&6
19358
20680
else
19359
20681
  ac_check_lib_save_LIBS=$LIBS
19360
20682
LIBS="-lcurl  $LIBS"
19365
20687
cat >>conftest.$ac_ext <<_ACEOF
19366
20688
/* end confdefs.h.  */
19367
20689
 
19368
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
20690
/* Override any GCC internal prototype to avoid an error.
 
20691
   Use char because int might match the return type of a GCC
 
20692
   builtin and then its argument prototype would still apply.  */
19369
20693
#ifdef __cplusplus
19370
20694
extern "C"
19371
20695
#endif
19372
 
/* We use char because int might match the return type of a gcc2
19373
 
   builtin and then its argument prototype would still apply.  */
19374
20696
char curl_easy_init ();
19375
20697
int
19376
20698
main ()
19377
20699
{
19378
 
curl_easy_init ();
 
20700
return curl_easy_init ();
19379
20701
  ;
19380
20702
  return 0;
19381
20703
}
19382
20704
_ACEOF
19383
20705
rm -f conftest.$ac_objext conftest$ac_exeext
19384
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19385
 
  (eval $ac_link) 2>conftest.er1
 
20706
if { (ac_try="$ac_link"
 
20707
case "(($ac_try" in
 
20708
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20709
  *) ac_try_echo=$ac_try;;
 
20710
esac
 
20711
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20712
$as_echo "$ac_try_echo") >&5
 
20713
  (eval "$ac_link") 2>conftest.er1
19386
20714
  ac_status=$?
19387
20715
  grep -v '^ *+' conftest.er1 >conftest.err
19388
20716
  rm -f conftest.er1
19389
20717
  cat conftest.err >&5
19390
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19391
 
  (exit $ac_status); } &&
19392
 
         { ac_try='test -z "$ac_c_werror_flag"
19393
 
                         || test ! -s conftest.err'
19394
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19395
 
  (eval $ac_try) 2>&5
19396
 
  ac_status=$?
19397
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19398
 
  (exit $ac_status); }; } &&
19399
 
         { ac_try='test -s conftest$ac_exeext'
19400
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19401
 
  (eval $ac_try) 2>&5
19402
 
  ac_status=$?
19403
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19404
 
  (exit $ac_status); }; }; then
 
20718
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20719
  (exit $ac_status); } && {
 
20720
         test -z "$ac_c_werror_flag" ||
 
20721
         test ! -s conftest.err
 
20722
       } && test -s conftest$ac_exeext && {
 
20723
         test "$cross_compiling" = yes ||
 
20724
         $as_test_x conftest$ac_exeext
 
20725
       }; then
19405
20726
  ac_cv_lib_curl_curl_easy_init=yes
19406
20727
else
19407
 
  echo "$as_me: failed program was:" >&5
 
20728
  $as_echo "$as_me: failed program was:" >&5
19408
20729
sed 's/^/| /' conftest.$ac_ext >&5
19409
20730
 
19410
 
ac_cv_lib_curl_curl_easy_init=no
 
20731
        ac_cv_lib_curl_curl_easy_init=no
19411
20732
fi
19412
 
rm -f conftest.err conftest.$ac_objext \
 
20733
 
 
20734
rm -rf conftest.dSYM
 
20735
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19413
20736
      conftest$ac_exeext conftest.$ac_ext
19414
20737
LIBS=$ac_check_lib_save_LIBS
19415
20738
fi
19416
 
echo "$as_me:$LINENO: result: $ac_cv_lib_curl_curl_easy_init" >&5
19417
 
echo "${ECHO_T}$ac_cv_lib_curl_curl_easy_init" >&6
19418
 
if test $ac_cv_lib_curl_curl_easy_init = yes; then
 
20739
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_curl_curl_easy_init" >&5
 
20740
$as_echo "$ac_cv_lib_curl_curl_easy_init" >&6; }
 
20741
if test "x$ac_cv_lib_curl_curl_easy_init" = x""yes; then
19419
20742
  LIBCURL=-lcurl
19420
20743
else
19421
 
  { { echo "$as_me:$LINENO: error: Could not find required libcurl" >&5
19422
 
echo "$as_me: error: Could not find required libcurl" >&2;}
 
20744
  { { $as_echo "$as_me:$LINENO: error: Could not find required libcurl" >&5
 
20745
$as_echo "$as_me: error: Could not find required libcurl" >&2;}
19423
20746
   { (exit 1); exit 1; }; }
19424
20747
fi
19425
20748
 
19426
20749
 
 
20750
{ $as_echo "$as_me:$LINENO: checking for main in -lpthread" >&5
 
20751
$as_echo_n "checking for main in -lpthread... " >&6; }
 
20752
if test "${ac_cv_lib_pthread_main+set}" = set; then
 
20753
  $as_echo_n "(cached) " >&6
 
20754
else
 
20755
  ac_check_lib_save_LIBS=$LIBS
 
20756
LIBS="-lpthread  $LIBS"
 
20757
cat >conftest.$ac_ext <<_ACEOF
 
20758
/* confdefs.h.  */
 
20759
_ACEOF
 
20760
cat confdefs.h >>conftest.$ac_ext
 
20761
cat >>conftest.$ac_ext <<_ACEOF
 
20762
/* end confdefs.h.  */
 
20763
 
 
20764
 
 
20765
int
 
20766
main ()
 
20767
{
 
20768
return main ();
 
20769
  ;
 
20770
  return 0;
 
20771
}
 
20772
_ACEOF
 
20773
rm -f conftest.$ac_objext conftest$ac_exeext
 
20774
if { (ac_try="$ac_link"
 
20775
case "(($ac_try" in
 
20776
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20777
  *) ac_try_echo=$ac_try;;
 
20778
esac
 
20779
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20780
$as_echo "$ac_try_echo") >&5
 
20781
  (eval "$ac_link") 2>conftest.er1
 
20782
  ac_status=$?
 
20783
  grep -v '^ *+' conftest.er1 >conftest.err
 
20784
  rm -f conftest.er1
 
20785
  cat conftest.err >&5
 
20786
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20787
  (exit $ac_status); } && {
 
20788
         test -z "$ac_c_werror_flag" ||
 
20789
         test ! -s conftest.err
 
20790
       } && test -s conftest$ac_exeext && {
 
20791
         test "$cross_compiling" = yes ||
 
20792
         $as_test_x conftest$ac_exeext
 
20793
       }; then
 
20794
  ac_cv_lib_pthread_main=yes
 
20795
else
 
20796
  $as_echo "$as_me: failed program was:" >&5
 
20797
sed 's/^/| /' conftest.$ac_ext >&5
 
20798
 
 
20799
        ac_cv_lib_pthread_main=no
 
20800
fi
 
20801
 
 
20802
rm -rf conftest.dSYM
 
20803
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
20804
      conftest$ac_exeext conftest.$ac_ext
 
20805
LIBS=$ac_check_lib_save_LIBS
 
20806
fi
 
20807
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5
 
20808
$as_echo "$ac_cv_lib_pthread_main" >&6; }
 
20809
if test "x$ac_cv_lib_pthread_main" = x""yes; then
 
20810
  cat >>confdefs.h <<_ACEOF
 
20811
#define HAVE_LIBPTHREAD 1
 
20812
_ACEOF
 
20813
 
 
20814
  LIBS="-lpthread $LIBS"
 
20815
 
 
20816
fi
 
20817
 
 
20818
 
19427
20819
# Checks for library functions.
19428
20820
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
19429
20821
# for constant arguments.  Useless!
19430
 
echo "$as_me:$LINENO: checking for working alloca.h" >&5
19431
 
echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
 
20822
{ $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
 
20823
$as_echo_n "checking for working alloca.h... " >&6; }
19432
20824
if test "${ac_cv_working_alloca_h+set}" = set; then
19433
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20825
  $as_echo_n "(cached) " >&6
19434
20826
else
19435
20827
  cat >conftest.$ac_ext <<_ACEOF
19436
20828
/* confdefs.h.  */
19443
20835
main ()
19444
20836
{
19445
20837
char *p = (char *) alloca (2 * sizeof (int));
 
20838
                          if (p) return 0;
19446
20839
  ;
19447
20840
  return 0;
19448
20841
}
19449
20842
_ACEOF
19450
20843
rm -f conftest.$ac_objext conftest$ac_exeext
19451
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19452
 
  (eval $ac_link) 2>conftest.er1
 
20844
if { (ac_try="$ac_link"
 
20845
case "(($ac_try" in
 
20846
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20847
  *) ac_try_echo=$ac_try;;
 
20848
esac
 
20849
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20850
$as_echo "$ac_try_echo") >&5
 
20851
  (eval "$ac_link") 2>conftest.er1
19453
20852
  ac_status=$?
19454
20853
  grep -v '^ *+' conftest.er1 >conftest.err
19455
20854
  rm -f conftest.er1
19456
20855
  cat conftest.err >&5
19457
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19458
 
  (exit $ac_status); } &&
19459
 
         { ac_try='test -z "$ac_c_werror_flag"
19460
 
                         || test ! -s conftest.err'
19461
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19462
 
  (eval $ac_try) 2>&5
19463
 
  ac_status=$?
19464
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19465
 
  (exit $ac_status); }; } &&
19466
 
         { ac_try='test -s conftest$ac_exeext'
19467
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19468
 
  (eval $ac_try) 2>&5
19469
 
  ac_status=$?
19470
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471
 
  (exit $ac_status); }; }; then
 
20856
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20857
  (exit $ac_status); } && {
 
20858
         test -z "$ac_c_werror_flag" ||
 
20859
         test ! -s conftest.err
 
20860
       } && test -s conftest$ac_exeext && {
 
20861
         test "$cross_compiling" = yes ||
 
20862
         $as_test_x conftest$ac_exeext
 
20863
       }; then
19472
20864
  ac_cv_working_alloca_h=yes
19473
20865
else
19474
 
  echo "$as_me: failed program was:" >&5
 
20866
  $as_echo "$as_me: failed program was:" >&5
19475
20867
sed 's/^/| /' conftest.$ac_ext >&5
19476
20868
 
19477
 
ac_cv_working_alloca_h=no
 
20869
        ac_cv_working_alloca_h=no
19478
20870
fi
19479
 
rm -f conftest.err conftest.$ac_objext \
 
20871
 
 
20872
rm -rf conftest.dSYM
 
20873
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19480
20874
      conftest$ac_exeext conftest.$ac_ext
19481
20875
fi
19482
 
echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
19483
 
echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
 
20876
{ $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
 
20877
$as_echo "$ac_cv_working_alloca_h" >&6; }
19484
20878
if test $ac_cv_working_alloca_h = yes; then
19485
20879
 
19486
20880
cat >>confdefs.h <<\_ACEOF
19489
20883
 
19490
20884
fi
19491
20885
 
19492
 
echo "$as_me:$LINENO: checking for alloca" >&5
19493
 
echo $ECHO_N "checking for alloca... $ECHO_C" >&6
 
20886
{ $as_echo "$as_me:$LINENO: checking for alloca" >&5
 
20887
$as_echo_n "checking for alloca... " >&6; }
19494
20888
if test "${ac_cv_func_alloca_works+set}" = set; then
19495
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20889
  $as_echo_n "(cached) " >&6
19496
20890
else
19497
20891
  cat >conftest.$ac_ext <<_ACEOF
19498
20892
/* confdefs.h.  */
19507
20901
#  include <malloc.h>
19508
20902
#  define alloca _alloca
19509
20903
# else
19510
 
#  if HAVE_ALLOCA_H
 
20904
#  ifdef HAVE_ALLOCA_H
19511
20905
#   include <alloca.h>
19512
20906
#  else
19513
20907
#   ifdef _AIX
19525
20919
main ()
19526
20920
{
19527
20921
char *p = (char *) alloca (1);
 
20922
                                    if (p) return 0;
19528
20923
  ;
19529
20924
  return 0;
19530
20925
}
19531
20926
_ACEOF
19532
20927
rm -f conftest.$ac_objext conftest$ac_exeext
19533
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19534
 
  (eval $ac_link) 2>conftest.er1
 
20928
if { (ac_try="$ac_link"
 
20929
case "(($ac_try" in
 
20930
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20931
  *) ac_try_echo=$ac_try;;
 
20932
esac
 
20933
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20934
$as_echo "$ac_try_echo") >&5
 
20935
  (eval "$ac_link") 2>conftest.er1
19535
20936
  ac_status=$?
19536
20937
  grep -v '^ *+' conftest.er1 >conftest.err
19537
20938
  rm -f conftest.er1
19538
20939
  cat conftest.err >&5
19539
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19540
 
  (exit $ac_status); } &&
19541
 
         { ac_try='test -z "$ac_c_werror_flag"
19542
 
                         || test ! -s conftest.err'
19543
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19544
 
  (eval $ac_try) 2>&5
19545
 
  ac_status=$?
19546
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19547
 
  (exit $ac_status); }; } &&
19548
 
         { ac_try='test -s conftest$ac_exeext'
19549
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19550
 
  (eval $ac_try) 2>&5
19551
 
  ac_status=$?
19552
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19553
 
  (exit $ac_status); }; }; then
 
20940
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20941
  (exit $ac_status); } && {
 
20942
         test -z "$ac_c_werror_flag" ||
 
20943
         test ! -s conftest.err
 
20944
       } && test -s conftest$ac_exeext && {
 
20945
         test "$cross_compiling" = yes ||
 
20946
         $as_test_x conftest$ac_exeext
 
20947
       }; then
19554
20948
  ac_cv_func_alloca_works=yes
19555
20949
else
19556
 
  echo "$as_me: failed program was:" >&5
 
20950
  $as_echo "$as_me: failed program was:" >&5
19557
20951
sed 's/^/| /' conftest.$ac_ext >&5
19558
20952
 
19559
 
ac_cv_func_alloca_works=no
 
20953
        ac_cv_func_alloca_works=no
19560
20954
fi
19561
 
rm -f conftest.err conftest.$ac_objext \
 
20955
 
 
20956
rm -rf conftest.dSYM
 
20957
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19562
20958
      conftest$ac_exeext conftest.$ac_ext
19563
20959
fi
19564
 
echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
19565
 
echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
 
20960
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
 
20961
$as_echo "$ac_cv_func_alloca_works" >&6; }
19566
20962
 
19567
20963
if test $ac_cv_func_alloca_works = yes; then
19568
20964
 
19576
20972
# contain a buggy version.  If you still want to use their alloca,
19577
20973
# use ar to extract alloca.o from them instead of compiling alloca.c.
19578
20974
 
19579
 
ALLOCA=alloca.$ac_objext
 
20975
ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
19580
20976
 
19581
20977
cat >>confdefs.h <<\_ACEOF
19582
20978
#define C_ALLOCA 1
19583
20979
_ACEOF
19584
20980
 
19585
20981
 
19586
 
echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
19587
 
echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
 
20982
{ $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
 
20983
$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
19588
20984
if test "${ac_cv_os_cray+set}" = set; then
19589
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20985
  $as_echo_n "(cached) " >&6
19590
20986
else
19591
20987
  cat >conftest.$ac_ext <<_ACEOF
19592
20988
/* confdefs.h.  */
19594
20990
cat confdefs.h >>conftest.$ac_ext
19595
20991
cat >>conftest.$ac_ext <<_ACEOF
19596
20992
/* end confdefs.h.  */
19597
 
#if defined(CRAY) && ! defined(CRAY2)
 
20993
#if defined CRAY && ! defined CRAY2
19598
20994
webecray
19599
20995
#else
19600
20996
wenotbecray
19610
21006
rm -f conftest*
19611
21007
 
19612
21008
fi
19613
 
echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
19614
 
echo "${ECHO_T}$ac_cv_os_cray" >&6
 
21009
{ $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
 
21010
$as_echo "$ac_cv_os_cray" >&6; }
19615
21011
if test $ac_cv_os_cray = yes; then
19616
21012
  for ac_func in _getb67 GETB67 getb67; do
19617
 
    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19618
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
19619
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19620
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
19621
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21013
    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
21014
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
21015
$as_echo_n "checking for $ac_func... " >&6; }
 
21016
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
21017
  $as_echo_n "(cached) " >&6
19622
21018
else
19623
21019
  cat >conftest.$ac_ext <<_ACEOF
19624
21020
/* confdefs.h.  */
19643
21039
 
19644
21040
#undef $ac_func
19645
21041
 
19646
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21042
/* Override any GCC internal prototype to avoid an error.
 
21043
   Use char because int might match the return type of a GCC
 
21044
   builtin and then its argument prototype would still apply.  */
19647
21045
#ifdef __cplusplus
19648
21046
extern "C"
19649
 
{
19650
21047
#endif
19651
 
/* We use char because int might match the return type of a gcc2
19652
 
   builtin and then its argument prototype would still apply.  */
19653
21048
char $ac_func ();
19654
21049
/* The GNU C library defines this for functions which it implements
19655
21050
    to always fail with ENOSYS.  Some functions are actually named
19656
21051
    something starting with __ and the normal name is an alias.  */
19657
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
21052
#if defined __stub_$ac_func || defined __stub___$ac_func
19658
21053
choke me
19659
 
#else
19660
 
char (*f) () = $ac_func;
19661
 
#endif
19662
 
#ifdef __cplusplus
19663
 
}
19664
21054
#endif
19665
21055
 
19666
21056
int
19667
21057
main ()
19668
21058
{
19669
 
return f != $ac_func;
 
21059
return $ac_func ();
19670
21060
  ;
19671
21061
  return 0;
19672
21062
}
19673
21063
_ACEOF
19674
21064
rm -f conftest.$ac_objext conftest$ac_exeext
19675
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19676
 
  (eval $ac_link) 2>conftest.er1
 
21065
if { (ac_try="$ac_link"
 
21066
case "(($ac_try" in
 
21067
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21068
  *) ac_try_echo=$ac_try;;
 
21069
esac
 
21070
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21071
$as_echo "$ac_try_echo") >&5
 
21072
  (eval "$ac_link") 2>conftest.er1
19677
21073
  ac_status=$?
19678
21074
  grep -v '^ *+' conftest.er1 >conftest.err
19679
21075
  rm -f conftest.er1
19680
21076
  cat conftest.err >&5
19681
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19682
 
  (exit $ac_status); } &&
19683
 
         { ac_try='test -z "$ac_c_werror_flag"
19684
 
                         || test ! -s conftest.err'
19685
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19686
 
  (eval $ac_try) 2>&5
19687
 
  ac_status=$?
19688
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19689
 
  (exit $ac_status); }; } &&
19690
 
         { ac_try='test -s conftest$ac_exeext'
19691
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19692
 
  (eval $ac_try) 2>&5
19693
 
  ac_status=$?
19694
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695
 
  (exit $ac_status); }; }; then
 
21077
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21078
  (exit $ac_status); } && {
 
21079
         test -z "$ac_c_werror_flag" ||
 
21080
         test ! -s conftest.err
 
21081
       } && test -s conftest$ac_exeext && {
 
21082
         test "$cross_compiling" = yes ||
 
21083
         $as_test_x conftest$ac_exeext
 
21084
       }; then
19696
21085
  eval "$as_ac_var=yes"
19697
21086
else
19698
 
  echo "$as_me: failed program was:" >&5
 
21087
  $as_echo "$as_me: failed program was:" >&5
19699
21088
sed 's/^/| /' conftest.$ac_ext >&5
19700
21089
 
19701
 
eval "$as_ac_var=no"
 
21090
        eval "$as_ac_var=no"
19702
21091
fi
19703
 
rm -f conftest.err conftest.$ac_objext \
 
21092
 
 
21093
rm -rf conftest.dSYM
 
21094
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19704
21095
      conftest$ac_exeext conftest.$ac_ext
19705
21096
fi
19706
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19707
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19708
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
21097
ac_res=`eval 'as_val=${'$as_ac_var'}
 
21098
                 $as_echo "$as_val"'`
 
21099
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
21100
$as_echo "$ac_res" >&6; }
 
21101
as_val=`eval 'as_val=${'$as_ac_var'}
 
21102
                 $as_echo "$as_val"'`
 
21103
   if test "x$as_val" = x""yes; then
19709
21104
 
19710
21105
cat >>confdefs.h <<_ACEOF
19711
21106
#define CRAY_STACKSEG_END $ac_func
19717
21112
  done
19718
21113
fi
19719
21114
 
19720
 
echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
19721
 
echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
 
21115
{ $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
 
21116
$as_echo_n "checking stack direction for C alloca... " >&6; }
19722
21117
if test "${ac_cv_c_stack_direction+set}" = set; then
19723
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21118
  $as_echo_n "(cached) " >&6
19724
21119
else
19725
21120
  if test "$cross_compiling" = yes; then
19726
21121
  ac_cv_c_stack_direction=0
19731
21126
cat confdefs.h >>conftest.$ac_ext
19732
21127
cat >>conftest.$ac_ext <<_ACEOF
19733
21128
/* end confdefs.h.  */
 
21129
$ac_includes_default
19734
21130
int
19735
21131
find_stack_direction ()
19736
21132
{
19748
21144
int
19749
21145
main ()
19750
21146
{
19751
 
  exit (find_stack_direction () < 0);
 
21147
  return find_stack_direction () < 0;
19752
21148
}
19753
21149
_ACEOF
19754
21150
rm -f conftest$ac_exeext
19755
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19756
 
  (eval $ac_link) 2>&5
 
21151
if { (ac_try="$ac_link"
 
21152
case "(($ac_try" in
 
21153
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21154
  *) ac_try_echo=$ac_try;;
 
21155
esac
 
21156
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21157
$as_echo "$ac_try_echo") >&5
 
21158
  (eval "$ac_link") 2>&5
19757
21159
  ac_status=$?
19758
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21160
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19759
21161
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19760
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19761
 
  (eval $ac_try) 2>&5
 
21162
  { (case "(($ac_try" in
 
21163
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21164
  *) ac_try_echo=$ac_try;;
 
21165
esac
 
21166
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21167
$as_echo "$ac_try_echo") >&5
 
21168
  (eval "$ac_try") 2>&5
19762
21169
  ac_status=$?
19763
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21170
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19764
21171
  (exit $ac_status); }; }; then
19765
21172
  ac_cv_c_stack_direction=1
19766
21173
else
19767
 
  echo "$as_me: program exited with status $ac_status" >&5
19768
 
echo "$as_me: failed program was:" >&5
 
21174
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
21175
$as_echo "$as_me: failed program was:" >&5
19769
21176
sed 's/^/| /' conftest.$ac_ext >&5
19770
21177
 
19771
21178
( exit $ac_status )
19772
21179
ac_cv_c_stack_direction=-1
19773
21180
fi
19774
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19775
 
fi
19776
 
fi
19777
 
echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
19778
 
echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
 
21181
rm -rf conftest.dSYM
 
21182
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
21183
fi
 
21184
 
 
21185
 
 
21186
fi
 
21187
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
 
21188
$as_echo "$ac_cv_c_stack_direction" >&6; }
19779
21189
 
19780
21190
cat >>confdefs.h <<_ACEOF
19781
21191
#define STACK_DIRECTION $ac_cv_c_stack_direction
19784
21194
 
19785
21195
fi
19786
21196
 
19787
 
echo "$as_me:$LINENO: checking for error_at_line" >&5
19788
 
echo $ECHO_N "checking for error_at_line... $ECHO_C" >&6
 
21197
{ $as_echo "$as_me:$LINENO: checking for error_at_line" >&5
 
21198
$as_echo_n "checking for error_at_line... " >&6; }
19789
21199
if test "${ac_cv_lib_error_at_line+set}" = set; then
19790
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21200
  $as_echo_n "(cached) " >&6
19791
21201
else
19792
21202
  cat >conftest.$ac_ext <<_ACEOF
19793
21203
/* confdefs.h.  */
19795
21205
cat confdefs.h >>conftest.$ac_ext
19796
21206
cat >>conftest.$ac_ext <<_ACEOF
19797
21207
/* end confdefs.h.  */
19798
 
$ac_includes_default
 
21208
#include <error.h>
19799
21209
int
19800
21210
main ()
19801
21211
{
19802
 
error_at_line (0, 0, "", 0, "");
 
21212
error_at_line (0, 0, "", 0, "an error occurred");
19803
21213
  ;
19804
21214
  return 0;
19805
21215
}
19806
21216
_ACEOF
19807
21217
rm -f conftest.$ac_objext conftest$ac_exeext
19808
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19809
 
  (eval $ac_link) 2>conftest.er1
 
21218
if { (ac_try="$ac_link"
 
21219
case "(($ac_try" in
 
21220
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21221
  *) ac_try_echo=$ac_try;;
 
21222
esac
 
21223
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21224
$as_echo "$ac_try_echo") >&5
 
21225
  (eval "$ac_link") 2>conftest.er1
19810
21226
  ac_status=$?
19811
21227
  grep -v '^ *+' conftest.er1 >conftest.err
19812
21228
  rm -f conftest.er1
19813
21229
  cat conftest.err >&5
19814
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19815
 
  (exit $ac_status); } &&
19816
 
         { ac_try='test -z "$ac_c_werror_flag"
19817
 
                         || test ! -s conftest.err'
19818
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19819
 
  (eval $ac_try) 2>&5
19820
 
  ac_status=$?
19821
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19822
 
  (exit $ac_status); }; } &&
19823
 
         { ac_try='test -s conftest$ac_exeext'
19824
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19825
 
  (eval $ac_try) 2>&5
19826
 
  ac_status=$?
19827
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19828
 
  (exit $ac_status); }; }; then
 
21230
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21231
  (exit $ac_status); } && {
 
21232
         test -z "$ac_c_werror_flag" ||
 
21233
         test ! -s conftest.err
 
21234
       } && test -s conftest$ac_exeext && {
 
21235
         test "$cross_compiling" = yes ||
 
21236
         $as_test_x conftest$ac_exeext
 
21237
       }; then
19829
21238
  ac_cv_lib_error_at_line=yes
19830
21239
else
19831
 
  echo "$as_me: failed program was:" >&5
 
21240
  $as_echo "$as_me: failed program was:" >&5
19832
21241
sed 's/^/| /' conftest.$ac_ext >&5
19833
21242
 
19834
 
ac_cv_lib_error_at_line=no
 
21243
        ac_cv_lib_error_at_line=no
19835
21244
fi
19836
 
rm -f conftest.err conftest.$ac_objext \
 
21245
 
 
21246
rm -rf conftest.dSYM
 
21247
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19837
21248
      conftest$ac_exeext conftest.$ac_ext
19838
21249
fi
19839
 
echo "$as_me:$LINENO: result: $ac_cv_lib_error_at_line" >&5
19840
 
echo "${ECHO_T}$ac_cv_lib_error_at_line" >&6
 
21250
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_error_at_line" >&5
 
21251
$as_echo "$ac_cv_lib_error_at_line" >&6; }
19841
21252
if test $ac_cv_lib_error_at_line = no; then
19842
 
  case $LIBOBJS in
19843
 
    "error.$ac_objext"   | \
19844
 
  *" error.$ac_objext"   | \
19845
 
    "error.$ac_objext "* | \
 
21253
  case " $LIBOBJS " in
19846
21254
  *" error.$ac_objext "* ) ;;
19847
 
  *) LIBOBJS="$LIBOBJS error.$ac_objext" ;;
 
21255
  *) LIBOBJS="$LIBOBJS error.$ac_objext"
 
21256
 ;;
19848
21257
esac
19849
21258
 
19850
21259
fi
19852
21261
 
19853
21262
for ac_header in stdlib.h
19854
21263
do
19855
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19856
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
19857
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
19858
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19859
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
19860
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21264
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
21265
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21266
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21267
$as_echo_n "checking for $ac_header... " >&6; }
 
21268
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21269
  $as_echo_n "(cached) " >&6
19861
21270
fi
19862
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19863
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
21271
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
21272
                 $as_echo "$as_val"'`
 
21273
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
21274
$as_echo "$ac_res" >&6; }
19864
21275
else
19865
21276
  # Is the header compilable?
19866
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
19867
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
21277
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
21278
$as_echo_n "checking $ac_header usability... " >&6; }
19868
21279
cat >conftest.$ac_ext <<_ACEOF
19869
21280
/* confdefs.h.  */
19870
21281
_ACEOF
19875
21286
#include <$ac_header>
19876
21287
_ACEOF
19877
21288
rm -f conftest.$ac_objext
19878
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19879
 
  (eval $ac_compile) 2>conftest.er1
 
21289
if { (ac_try="$ac_compile"
 
21290
case "(($ac_try" in
 
21291
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21292
  *) ac_try_echo=$ac_try;;
 
21293
esac
 
21294
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21295
$as_echo "$ac_try_echo") >&5
 
21296
  (eval "$ac_compile") 2>conftest.er1
19880
21297
  ac_status=$?
19881
21298
  grep -v '^ *+' conftest.er1 >conftest.err
19882
21299
  rm -f conftest.er1
19883
21300
  cat conftest.err >&5
19884
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19885
 
  (exit $ac_status); } &&
19886
 
         { ac_try='test -z "$ac_c_werror_flag"
19887
 
                         || test ! -s conftest.err'
19888
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19889
 
  (eval $ac_try) 2>&5
19890
 
  ac_status=$?
19891
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19892
 
  (exit $ac_status); }; } &&
19893
 
         { ac_try='test -s conftest.$ac_objext'
19894
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19895
 
  (eval $ac_try) 2>&5
19896
 
  ac_status=$?
19897
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19898
 
  (exit $ac_status); }; }; then
 
21301
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21302
  (exit $ac_status); } && {
 
21303
         test -z "$ac_c_werror_flag" ||
 
21304
         test ! -s conftest.err
 
21305
       } && test -s conftest.$ac_objext; then
19899
21306
  ac_header_compiler=yes
19900
21307
else
19901
 
  echo "$as_me: failed program was:" >&5
 
21308
  $as_echo "$as_me: failed program was:" >&5
19902
21309
sed 's/^/| /' conftest.$ac_ext >&5
19903
21310
 
19904
 
ac_header_compiler=no
 
21311
        ac_header_compiler=no
19905
21312
fi
19906
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19907
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19908
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
21313
 
 
21314
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21315
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
21316
$as_echo "$ac_header_compiler" >&6; }
19909
21317
 
19910
21318
# Is the header present?
19911
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
19912
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
21319
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
21320
$as_echo_n "checking $ac_header presence... " >&6; }
19913
21321
cat >conftest.$ac_ext <<_ACEOF
19914
21322
/* confdefs.h.  */
19915
21323
_ACEOF
19918
21326
/* end confdefs.h.  */
19919
21327
#include <$ac_header>
19920
21328
_ACEOF
19921
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19922
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
21329
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
21330
case "(($ac_try" in
 
21331
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21332
  *) ac_try_echo=$ac_try;;
 
21333
esac
 
21334
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21335
$as_echo "$ac_try_echo") >&5
 
21336
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19923
21337
  ac_status=$?
19924
21338
  grep -v '^ *+' conftest.er1 >conftest.err
19925
21339
  rm -f conftest.er1
19926
21340
  cat conftest.err >&5
19927
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19928
 
  (exit $ac_status); } >/dev/null; then
19929
 
  if test -s conftest.err; then
19930
 
    ac_cpp_err=$ac_c_preproc_warn_flag
19931
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19932
 
  else
19933
 
    ac_cpp_err=
19934
 
  fi
19935
 
else
19936
 
  ac_cpp_err=yes
19937
 
fi
19938
 
if test -z "$ac_cpp_err"; then
 
21341
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21342
  (exit $ac_status); } >/dev/null && {
 
21343
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
21344
         test ! -s conftest.err
 
21345
       }; then
19939
21346
  ac_header_preproc=yes
19940
21347
else
19941
 
  echo "$as_me: failed program was:" >&5
 
21348
  $as_echo "$as_me: failed program was:" >&5
19942
21349
sed 's/^/| /' conftest.$ac_ext >&5
19943
21350
 
19944
21351
  ac_header_preproc=no
19945
21352
fi
 
21353
 
19946
21354
rm -f conftest.err conftest.$ac_ext
19947
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19948
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
21355
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
21356
$as_echo "$ac_header_preproc" >&6; }
19949
21357
 
19950
21358
# So?  What about this header?
19951
21359
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19952
21360
  yes:no: )
19953
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19954
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19955
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19956
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
21361
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
21362
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
21363
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
21364
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19957
21365
    ac_header_preproc=yes
19958
21366
    ;;
19959
21367
  no:yes:* )
19960
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19961
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19962
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
19963
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
19964
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19965
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19966
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
19967
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
19968
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19969
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19970
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19971
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19972
 
    (
19973
 
      cat <<\_ASBOX
 
21368
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
21369
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
21370
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
21371
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
21372
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
21373
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
21374
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
21375
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
21376
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
21377
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
21378
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
21379
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
21380
    ( cat <<\_ASBOX
19974
21381
## ------------------------------------------------ ##
19975
21382
## Report this to sblim-devel@lists.sourceforge.net ##
19976
21383
## ------------------------------------------------ ##
19977
21384
_ASBOX
19978
 
    ) |
19979
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
21385
     ) | sed "s/^/$as_me: WARNING:     /" >&2
19980
21386
    ;;
19981
21387
esac
19982
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
19983
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19984
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
19985
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21388
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21389
$as_echo_n "checking for $ac_header... " >&6; }
 
21390
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21391
  $as_echo_n "(cached) " >&6
19986
21392
else
19987
21393
  eval "$as_ac_Header=\$ac_header_preproc"
19988
21394
fi
19989
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19990
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
21395
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
21396
                 $as_echo "$as_val"'`
 
21397
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
21398
$as_echo "$ac_res" >&6; }
19991
21399
 
19992
21400
fi
19993
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
21401
as_val=`eval 'as_val=${'$as_ac_Header'}
 
21402
                 $as_echo "$as_val"'`
 
21403
   if test "x$as_val" = x""yes; then
19994
21404
  cat >>confdefs.h <<_ACEOF
19995
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
21405
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19996
21406
_ACEOF
19997
21407
 
19998
21408
fi
19999
21409
 
20000
21410
done
20001
21411
 
20002
 
echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
20003
 
echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6
 
21412
{ $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
 
21413
$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
20004
21414
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
20005
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21415
  $as_echo_n "(cached) " >&6
20006
21416
else
20007
21417
  if test "$cross_compiling" = yes; then
20008
21418
  ac_cv_func_malloc_0_nonnull=no
20013
21423
cat confdefs.h >>conftest.$ac_ext
20014
21424
cat >>conftest.$ac_ext <<_ACEOF
20015
21425
/* end confdefs.h.  */
20016
 
#if STDC_HEADERS || HAVE_STDLIB_H
 
21426
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
20017
21427
# include <stdlib.h>
20018
21428
#else
20019
21429
char *malloc ();
20022
21432
int
20023
21433
main ()
20024
21434
{
20025
 
exit (malloc (0) ? 0 : 1);
 
21435
return ! malloc (0);
20026
21436
  ;
20027
21437
  return 0;
20028
21438
}
20029
21439
_ACEOF
20030
21440
rm -f conftest$ac_exeext
20031
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20032
 
  (eval $ac_link) 2>&5
 
21441
if { (ac_try="$ac_link"
 
21442
case "(($ac_try" in
 
21443
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21444
  *) ac_try_echo=$ac_try;;
 
21445
esac
 
21446
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21447
$as_echo "$ac_try_echo") >&5
 
21448
  (eval "$ac_link") 2>&5
20033
21449
  ac_status=$?
20034
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21450
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20035
21451
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20036
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20037
 
  (eval $ac_try) 2>&5
 
21452
  { (case "(($ac_try" in
 
21453
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21454
  *) ac_try_echo=$ac_try;;
 
21455
esac
 
21456
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21457
$as_echo "$ac_try_echo") >&5
 
21458
  (eval "$ac_try") 2>&5
20038
21459
  ac_status=$?
20039
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21460
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20040
21461
  (exit $ac_status); }; }; then
20041
21462
  ac_cv_func_malloc_0_nonnull=yes
20042
21463
else
20043
 
  echo "$as_me: program exited with status $ac_status" >&5
20044
 
echo "$as_me: failed program was:" >&5
 
21464
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
21465
$as_echo "$as_me: failed program was:" >&5
20045
21466
sed 's/^/| /' conftest.$ac_ext >&5
20046
21467
 
20047
21468
( exit $ac_status )
20048
21469
ac_cv_func_malloc_0_nonnull=no
20049
21470
fi
20050
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20051
 
fi
20052
 
fi
20053
 
echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
20054
 
echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6
 
21471
rm -rf conftest.dSYM
 
21472
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
21473
fi
 
21474
 
 
21475
 
 
21476
fi
 
21477
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
 
21478
$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
20055
21479
if test $ac_cv_func_malloc_0_nonnull = yes; then
20056
21480
 
20057
21481
cat >>confdefs.h <<\_ACEOF
20063
21487
#define HAVE_MALLOC 0
20064
21488
_ACEOF
20065
21489
 
20066
 
   case $LIBOBJS in
20067
 
    "malloc.$ac_objext"   | \
20068
 
  *" malloc.$ac_objext"   | \
20069
 
    "malloc.$ac_objext "* | \
 
21490
   case " $LIBOBJS " in
20070
21491
  *" malloc.$ac_objext "* ) ;;
20071
 
  *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;;
 
21492
  *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
 
21493
 ;;
20072
21494
esac
20073
21495
 
20074
21496
 
20083
21505
 
20084
21506
 
20085
21507
 
20086
 
for ac_header in stdlib.h sys/time.h unistd.h
 
21508
 
 
21509
for ac_header in $ac_header_list
20087
21510
do
20088
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20089
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20090
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
20091
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20092
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20093
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21511
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
21512
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21513
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21514
$as_echo_n "checking for $ac_header... " >&6; }
 
21515
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21516
  $as_echo_n "(cached) " >&6
20094
21517
fi
20095
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20096
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
21518
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
21519
                 $as_echo "$as_val"'`
 
21520
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
21521
$as_echo "$ac_res" >&6; }
20097
21522
else
20098
21523
  # Is the header compilable?
20099
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
20100
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
21524
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
21525
$as_echo_n "checking $ac_header usability... " >&6; }
20101
21526
cat >conftest.$ac_ext <<_ACEOF
20102
21527
/* confdefs.h.  */
20103
21528
_ACEOF
20108
21533
#include <$ac_header>
20109
21534
_ACEOF
20110
21535
rm -f conftest.$ac_objext
20111
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20112
 
  (eval $ac_compile) 2>conftest.er1
 
21536
if { (ac_try="$ac_compile"
 
21537
case "(($ac_try" in
 
21538
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21539
  *) ac_try_echo=$ac_try;;
 
21540
esac
 
21541
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21542
$as_echo "$ac_try_echo") >&5
 
21543
  (eval "$ac_compile") 2>conftest.er1
20113
21544
  ac_status=$?
20114
21545
  grep -v '^ *+' conftest.er1 >conftest.err
20115
21546
  rm -f conftest.er1
20116
21547
  cat conftest.err >&5
20117
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118
 
  (exit $ac_status); } &&
20119
 
         { ac_try='test -z "$ac_c_werror_flag"
20120
 
                         || test ! -s conftest.err'
20121
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20122
 
  (eval $ac_try) 2>&5
20123
 
  ac_status=$?
20124
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20125
 
  (exit $ac_status); }; } &&
20126
 
         { ac_try='test -s conftest.$ac_objext'
20127
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20128
 
  (eval $ac_try) 2>&5
20129
 
  ac_status=$?
20130
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20131
 
  (exit $ac_status); }; }; then
 
21548
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21549
  (exit $ac_status); } && {
 
21550
         test -z "$ac_c_werror_flag" ||
 
21551
         test ! -s conftest.err
 
21552
       } && test -s conftest.$ac_objext; then
20132
21553
  ac_header_compiler=yes
20133
21554
else
20134
 
  echo "$as_me: failed program was:" >&5
 
21555
  $as_echo "$as_me: failed program was:" >&5
20135
21556
sed 's/^/| /' conftest.$ac_ext >&5
20136
21557
 
20137
 
ac_header_compiler=no
 
21558
        ac_header_compiler=no
20138
21559
fi
20139
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20140
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20141
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
21560
 
 
21561
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21562
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
21563
$as_echo "$ac_header_compiler" >&6; }
20142
21564
 
20143
21565
# Is the header present?
20144
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
20145
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
21566
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
21567
$as_echo_n "checking $ac_header presence... " >&6; }
20146
21568
cat >conftest.$ac_ext <<_ACEOF
20147
21569
/* confdefs.h.  */
20148
21570
_ACEOF
20151
21573
/* end confdefs.h.  */
20152
21574
#include <$ac_header>
20153
21575
_ACEOF
20154
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20155
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
21576
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
21577
case "(($ac_try" in
 
21578
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21579
  *) ac_try_echo=$ac_try;;
 
21580
esac
 
21581
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21582
$as_echo "$ac_try_echo") >&5
 
21583
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20156
21584
  ac_status=$?
20157
21585
  grep -v '^ *+' conftest.er1 >conftest.err
20158
21586
  rm -f conftest.er1
20159
21587
  cat conftest.err >&5
20160
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20161
 
  (exit $ac_status); } >/dev/null; then
20162
 
  if test -s conftest.err; then
20163
 
    ac_cpp_err=$ac_c_preproc_warn_flag
20164
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20165
 
  else
20166
 
    ac_cpp_err=
20167
 
  fi
20168
 
else
20169
 
  ac_cpp_err=yes
20170
 
fi
20171
 
if test -z "$ac_cpp_err"; then
 
21588
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21589
  (exit $ac_status); } >/dev/null && {
 
21590
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
21591
         test ! -s conftest.err
 
21592
       }; then
20172
21593
  ac_header_preproc=yes
20173
21594
else
20174
 
  echo "$as_me: failed program was:" >&5
 
21595
  $as_echo "$as_me: failed program was:" >&5
20175
21596
sed 's/^/| /' conftest.$ac_ext >&5
20176
21597
 
20177
21598
  ac_header_preproc=no
20178
21599
fi
 
21600
 
20179
21601
rm -f conftest.err conftest.$ac_ext
20180
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20181
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
21602
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
21603
$as_echo "$ac_header_preproc" >&6; }
20182
21604
 
20183
21605
# So?  What about this header?
20184
21606
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20185
21607
  yes:no: )
20186
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20187
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20188
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20189
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
21608
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
21609
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
21610
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
21611
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20190
21612
    ac_header_preproc=yes
20191
21613
    ;;
20192
21614
  no:yes:* )
20193
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20194
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20195
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
20196
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
20197
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20198
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20199
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
20200
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
20201
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20202
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20203
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20204
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20205
 
    (
20206
 
      cat <<\_ASBOX
 
21615
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
21616
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
21617
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
21618
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
21619
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
21620
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
21621
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
21622
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
21623
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
21624
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
21625
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
21626
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
21627
    ( cat <<\_ASBOX
20207
21628
## ------------------------------------------------ ##
20208
21629
## Report this to sblim-devel@lists.sourceforge.net ##
20209
21630
## ------------------------------------------------ ##
20210
21631
_ASBOX
20211
 
    ) |
20212
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
21632
     ) | sed "s/^/$as_me: WARNING:     /" >&2
20213
21633
    ;;
20214
21634
esac
20215
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
20216
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20217
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20218
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21635
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21636
$as_echo_n "checking for $ac_header... " >&6; }
 
21637
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21638
  $as_echo_n "(cached) " >&6
20219
21639
else
20220
21640
  eval "$as_ac_Header=\$ac_header_preproc"
20221
21641
fi
20222
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20223
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
21642
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
21643
                 $as_echo "$as_val"'`
 
21644
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
21645
$as_echo "$ac_res" >&6; }
20224
21646
 
20225
21647
fi
20226
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
21648
as_val=`eval 'as_val=${'$as_ac_Header'}
 
21649
                 $as_echo "$as_val"'`
 
21650
   if test "x$as_val" = x""yes; then
20227
21651
  cat >>confdefs.h <<_ACEOF
20228
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
21652
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20229
21653
_ACEOF
20230
21654
 
20231
21655
fi
20233
21657
done
20234
21658
 
20235
21659
 
20236
 
for ac_func in alarm
 
21660
 
 
21661
 
 
21662
 
 
21663
 
 
21664
 
 
21665
 
 
21666
 
 
21667
for ac_func in $ac_func_list
20237
21668
do
20238
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20239
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
20240
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20241
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
20242
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21669
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
21670
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
21671
$as_echo_n "checking for $ac_func... " >&6; }
 
21672
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
21673
  $as_echo_n "(cached) " >&6
20243
21674
else
20244
21675
  cat >conftest.$ac_ext <<_ACEOF
20245
21676
/* confdefs.h.  */
20264
21695
 
20265
21696
#undef $ac_func
20266
21697
 
20267
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21698
/* Override any GCC internal prototype to avoid an error.
 
21699
   Use char because int might match the return type of a GCC
 
21700
   builtin and then its argument prototype would still apply.  */
20268
21701
#ifdef __cplusplus
20269
21702
extern "C"
20270
 
{
20271
21703
#endif
20272
 
/* We use char because int might match the return type of a gcc2
20273
 
   builtin and then its argument prototype would still apply.  */
20274
21704
char $ac_func ();
20275
21705
/* The GNU C library defines this for functions which it implements
20276
21706
    to always fail with ENOSYS.  Some functions are actually named
20277
21707
    something starting with __ and the normal name is an alias.  */
20278
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
21708
#if defined __stub_$ac_func || defined __stub___$ac_func
20279
21709
choke me
20280
 
#else
20281
 
char (*f) () = $ac_func;
20282
 
#endif
20283
 
#ifdef __cplusplus
20284
 
}
20285
21710
#endif
20286
21711
 
20287
21712
int
20288
21713
main ()
20289
21714
{
20290
 
return f != $ac_func;
 
21715
return $ac_func ();
20291
21716
  ;
20292
21717
  return 0;
20293
21718
}
20294
21719
_ACEOF
20295
21720
rm -f conftest.$ac_objext conftest$ac_exeext
20296
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20297
 
  (eval $ac_link) 2>conftest.er1
 
21721
if { (ac_try="$ac_link"
 
21722
case "(($ac_try" in
 
21723
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21724
  *) ac_try_echo=$ac_try;;
 
21725
esac
 
21726
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21727
$as_echo "$ac_try_echo") >&5
 
21728
  (eval "$ac_link") 2>conftest.er1
20298
21729
  ac_status=$?
20299
21730
  grep -v '^ *+' conftest.er1 >conftest.err
20300
21731
  rm -f conftest.er1
20301
21732
  cat conftest.err >&5
20302
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20303
 
  (exit $ac_status); } &&
20304
 
         { ac_try='test -z "$ac_c_werror_flag"
20305
 
                         || test ! -s conftest.err'
20306
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20307
 
  (eval $ac_try) 2>&5
20308
 
  ac_status=$?
20309
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310
 
  (exit $ac_status); }; } &&
20311
 
         { ac_try='test -s conftest$ac_exeext'
20312
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20313
 
  (eval $ac_try) 2>&5
20314
 
  ac_status=$?
20315
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20316
 
  (exit $ac_status); }; }; then
 
21733
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21734
  (exit $ac_status); } && {
 
21735
         test -z "$ac_c_werror_flag" ||
 
21736
         test ! -s conftest.err
 
21737
       } && test -s conftest$ac_exeext && {
 
21738
         test "$cross_compiling" = yes ||
 
21739
         $as_test_x conftest$ac_exeext
 
21740
       }; then
20317
21741
  eval "$as_ac_var=yes"
20318
21742
else
20319
 
  echo "$as_me: failed program was:" >&5
 
21743
  $as_echo "$as_me: failed program was:" >&5
20320
21744
sed 's/^/| /' conftest.$ac_ext >&5
20321
21745
 
20322
 
eval "$as_ac_var=no"
 
21746
        eval "$as_ac_var=no"
20323
21747
fi
20324
 
rm -f conftest.err conftest.$ac_objext \
 
21748
 
 
21749
rm -rf conftest.dSYM
 
21750
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20325
21751
      conftest$ac_exeext conftest.$ac_ext
20326
21752
fi
20327
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20328
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20329
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
21753
ac_res=`eval 'as_val=${'$as_ac_var'}
 
21754
                 $as_echo "$as_val"'`
 
21755
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
21756
$as_echo "$ac_res" >&6; }
 
21757
as_val=`eval 'as_val=${'$as_ac_var'}
 
21758
                 $as_echo "$as_val"'`
 
21759
   if test "x$as_val" = x""yes; then
20330
21760
  cat >>confdefs.h <<_ACEOF
20331
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
21761
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20332
21762
_ACEOF
20333
21763
 
20334
21764
fi
20335
21765
done
20336
21766
 
20337
 
echo "$as_me:$LINENO: checking for working mktime" >&5
20338
 
echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
 
21767
 
 
21768
 
 
21769
 
 
21770
 
 
21771
 
 
21772
 
 
21773
 
 
21774
 
 
21775
 
 
21776
 
 
21777
 
 
21778
 
 
21779
 
 
21780
 
 
21781
 
 
21782
 
 
21783
{ $as_echo "$as_me:$LINENO: checking for working mktime" >&5
 
21784
$as_echo_n "checking for working mktime... " >&6; }
20339
21785
if test "${ac_cv_func_working_mktime+set}" = set; then
20340
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21786
  $as_echo_n "(cached) " >&6
20341
21787
else
20342
21788
  if test "$cross_compiling" = yes; then
20343
21789
  ac_cv_func_working_mktime=no
20349
21795
cat >>conftest.$ac_ext <<_ACEOF
20350
21796
/* end confdefs.h.  */
20351
21797
/* Test program from Paul Eggert and Tony Leneis.  */
20352
 
#if TIME_WITH_SYS_TIME
 
21798
#ifdef TIME_WITH_SYS_TIME
20353
21799
# include <sys/time.h>
20354
21800
# include <time.h>
20355
21801
#else
20356
 
# if HAVE_SYS_TIME_H
 
21802
# ifdef HAVE_SYS_TIME_H
20357
21803
#  include <sys/time.h>
20358
21804
# else
20359
21805
#  include <time.h>
20360
21806
# endif
20361
21807
#endif
20362
21808
 
20363
 
#if HAVE_STDLIB_H
20364
 
# include <stdlib.h>
20365
 
#endif
 
21809
#include <limits.h>
 
21810
#include <stdlib.h>
20366
21811
 
20367
 
#if HAVE_UNISTD_H
 
21812
#ifdef HAVE_UNISTD_H
20368
21813
# include <unistd.h>
20369
21814
#endif
20370
21815
 
20371
 
#if !HAVE_ALARM
 
21816
#ifndef HAVE_ALARM
20372
21817
# define alarm(X) /* empty */
20373
21818
#endif
20374
21819
 
20385
21830
};
20386
21831
#define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
20387
21832
 
20388
 
/* Fail if mktime fails to convert a date in the spring-forward gap.
 
21833
/* Return 0 if mktime fails to convert a date in the spring-forward gap.
20389
21834
   Based on a problem report from Andreas Jaeger.  */
20390
 
static void
 
21835
static int
20391
21836
spring_forward_gap ()
20392
21837
{
20393
21838
  /* glibc (up to about 1998-10-07) failed this test. */
20406
21851
  tm.tm_min = 0;
20407
21852
  tm.tm_sec = 0;
20408
21853
  tm.tm_isdst = -1;
20409
 
  if (mktime (&tm) == (time_t)-1)
20410
 
    exit (1);
 
21854
  return mktime (&tm) != (time_t) -1;
20411
21855
}
20412
21856
 
20413
 
static void
 
21857
static int
20414
21858
mktime_test1 (now)
20415
21859
     time_t now;
20416
21860
{
20417
21861
  struct tm *lt;
20418
 
  if ((lt = localtime (&now)) && mktime (lt) != now)
20419
 
    exit (1);
 
21862
  return ! (lt = localtime (&now)) || mktime (lt) == now;
20420
21863
}
20421
21864
 
20422
 
static void
 
21865
static int
20423
21866
mktime_test (now)
20424
21867
     time_t now;
20425
21868
{
20426
 
  mktime_test1 (now);
20427
 
  mktime_test1 ((time_t) (time_t_max - now));
20428
 
  mktime_test1 ((time_t) (time_t_min + now));
 
21869
  return (mktime_test1 (now)
 
21870
          && mktime_test1 ((time_t) (time_t_max - now))
 
21871
          && mktime_test1 ((time_t) (time_t_min + now)));
20429
21872
}
20430
21873
 
20431
 
static void
 
21874
static int
20432
21875
irix_6_4_bug ()
20433
21876
{
20434
21877
  /* Based on code from Ariel Faigon.  */
20441
21884
  tm.tm_sec = 0;
20442
21885
  tm.tm_isdst = -1;
20443
21886
  mktime (&tm);
20444
 
  if (tm.tm_mon != 2 || tm.tm_mday != 31)
20445
 
    exit (1);
 
21887
  return tm.tm_mon == 2 && tm.tm_mday == 31;
20446
21888
}
20447
21889
 
20448
 
static void
 
21890
static int
20449
21891
bigtime_test (j)
20450
21892
     int j;
20451
21893
{
20467
21909
             && lt->tm_wday == tm.tm_wday
20468
21910
             && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
20469
21911
                  == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
20470
 
        exit (1);
 
21912
        return 0;
20471
21913
    }
 
21914
  return 1;
 
21915
}
 
21916
 
 
21917
static int
 
21918
year_2050_test ()
 
21919
{
 
21920
  /* The correct answer for 2050-02-01 00:00:00 in Pacific time,
 
21921
     ignoring leap seconds.  */
 
21922
  unsigned long int answer = 2527315200UL;
 
21923
 
 
21924
  struct tm tm;
 
21925
  time_t t;
 
21926
  tm.tm_year = 2050 - 1900;
 
21927
  tm.tm_mon = 2 - 1;
 
21928
  tm.tm_mday = 1;
 
21929
  tm.tm_hour = tm.tm_min = tm.tm_sec = 0;
 
21930
  tm.tm_isdst = -1;
 
21931
 
 
21932
  /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
 
21933
     instead of "TZ=America/Vancouver" in order to detect the bug even
 
21934
     on systems that don't support the Olson extension, or don't have the
 
21935
     full zoneinfo tables installed.  */
 
21936
  putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
 
21937
 
 
21938
  t = mktime (&tm);
 
21939
 
 
21940
  /* Check that the result is either a failure, or close enough
 
21941
     to the correct answer that we can assume the discrepancy is
 
21942
     due to leap seconds.  */
 
21943
  return (t == (time_t) -1
 
21944
          || (0 < t && answer - 120 <= t && t <= answer + 120));
20472
21945
}
20473
21946
 
20474
21947
int
20482
21955
     isn't worth using anyway.  */
20483
21956
  alarm (60);
20484
21957
 
20485
 
  for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
20486
 
    continue;
20487
 
  time_t_max--;
20488
 
  if ((time_t) -1 < 0)
20489
 
    for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2)
20490
 
      continue;
 
21958
  for (;;)
 
21959
    {
 
21960
      t = (time_t_max << 1) + 1;
 
21961
      if (t <= time_t_max)
 
21962
        break;
 
21963
      time_t_max = t;
 
21964
    }
 
21965
  time_t_min = - ((time_t) ~ (time_t) 0 == (time_t) -1) - time_t_max;
 
21966
 
20491
21967
  delta = time_t_max / 997; /* a suitable prime number */
20492
21968
  for (i = 0; i < N_STRINGS; i++)
20493
21969
    {
20495
21971
        putenv (tz_strings[i]);
20496
21972
 
20497
21973
      for (t = 0; t <= time_t_max - delta; t += delta)
20498
 
        mktime_test (t);
20499
 
      mktime_test ((time_t) 1);
20500
 
      mktime_test ((time_t) (60 * 60));
20501
 
      mktime_test ((time_t) (60 * 60 * 24));
 
21974
        if (! mktime_test (t))
 
21975
          return 1;
 
21976
      if (! (mktime_test ((time_t) 1)
 
21977
             && mktime_test ((time_t) (60 * 60))
 
21978
             && mktime_test ((time_t) (60 * 60 * 24))))
 
21979
        return 1;
20502
21980
 
20503
 
      for (j = 1; 0 < j; j *= 2)
20504
 
        bigtime_test (j);
20505
 
      bigtime_test (j - 1);
 
21981
      for (j = 1; ; j <<= 1)
 
21982
        if (! bigtime_test (j))
 
21983
          return 1;
 
21984
        else if (INT_MAX / 2 < j)
 
21985
          break;
 
21986
      if (! bigtime_test (INT_MAX))
 
21987
        return 1;
20506
21988
    }
20507
 
  irix_6_4_bug ();
20508
 
  spring_forward_gap ();
20509
 
  exit (0);
 
21989
  return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
20510
21990
}
20511
21991
_ACEOF
20512
21992
rm -f conftest$ac_exeext
20513
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20514
 
  (eval $ac_link) 2>&5
 
21993
if { (ac_try="$ac_link"
 
21994
case "(($ac_try" in
 
21995
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21996
  *) ac_try_echo=$ac_try;;
 
21997
esac
 
21998
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21999
$as_echo "$ac_try_echo") >&5
 
22000
  (eval "$ac_link") 2>&5
20515
22001
  ac_status=$?
20516
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22002
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20517
22003
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20518
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20519
 
  (eval $ac_try) 2>&5
 
22004
  { (case "(($ac_try" in
 
22005
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22006
  *) ac_try_echo=$ac_try;;
 
22007
esac
 
22008
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22009
$as_echo "$ac_try_echo") >&5
 
22010
  (eval "$ac_try") 2>&5
20520
22011
  ac_status=$?
20521
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22012
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20522
22013
  (exit $ac_status); }; }; then
20523
22014
  ac_cv_func_working_mktime=yes
20524
22015
else
20525
 
  echo "$as_me: program exited with status $ac_status" >&5
20526
 
echo "$as_me: failed program was:" >&5
 
22016
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
22017
$as_echo "$as_me: failed program was:" >&5
20527
22018
sed 's/^/| /' conftest.$ac_ext >&5
20528
22019
 
20529
22020
( exit $ac_status )
20530
22021
ac_cv_func_working_mktime=no
20531
22022
fi
20532
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20533
 
fi
20534
 
fi
20535
 
echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
20536
 
echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
 
22023
rm -rf conftest.dSYM
 
22024
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
22025
fi
 
22026
 
 
22027
 
 
22028
fi
 
22029
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
 
22030
$as_echo "$ac_cv_func_working_mktime" >&6; }
20537
22031
if test $ac_cv_func_working_mktime = no; then
20538
 
  case $LIBOBJS in
20539
 
    "mktime.$ac_objext"   | \
20540
 
  *" mktime.$ac_objext"   | \
20541
 
    "mktime.$ac_objext "* | \
 
22032
  case " $LIBOBJS " in
20542
22033
  *" mktime.$ac_objext "* ) ;;
20543
 
  *) LIBOBJS="$LIBOBJS mktime.$ac_objext" ;;
 
22034
  *) LIBOBJS="$LIBOBJS mktime.$ac_objext"
 
22035
 ;;
20544
22036
esac
20545
22037
 
20546
22038
fi
20548
22040
 
20549
22041
for ac_header in stdlib.h
20550
22042
do
20551
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20552
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20553
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
20554
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20555
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20556
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22043
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
22044
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
22045
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
22046
$as_echo_n "checking for $ac_header... " >&6; }
 
22047
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
22048
  $as_echo_n "(cached) " >&6
20557
22049
fi
20558
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20559
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
22050
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
22051
                 $as_echo "$as_val"'`
 
22052
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
22053
$as_echo "$ac_res" >&6; }
20560
22054
else
20561
22055
  # Is the header compilable?
20562
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
20563
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
22056
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
22057
$as_echo_n "checking $ac_header usability... " >&6; }
20564
22058
cat >conftest.$ac_ext <<_ACEOF
20565
22059
/* confdefs.h.  */
20566
22060
_ACEOF
20571
22065
#include <$ac_header>
20572
22066
_ACEOF
20573
22067
rm -f conftest.$ac_objext
20574
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20575
 
  (eval $ac_compile) 2>conftest.er1
 
22068
if { (ac_try="$ac_compile"
 
22069
case "(($ac_try" in
 
22070
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22071
  *) ac_try_echo=$ac_try;;
 
22072
esac
 
22073
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22074
$as_echo "$ac_try_echo") >&5
 
22075
  (eval "$ac_compile") 2>conftest.er1
20576
22076
  ac_status=$?
20577
22077
  grep -v '^ *+' conftest.er1 >conftest.err
20578
22078
  rm -f conftest.er1
20579
22079
  cat conftest.err >&5
20580
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20581
 
  (exit $ac_status); } &&
20582
 
         { ac_try='test -z "$ac_c_werror_flag"
20583
 
                         || test ! -s conftest.err'
20584
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20585
 
  (eval $ac_try) 2>&5
20586
 
  ac_status=$?
20587
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20588
 
  (exit $ac_status); }; } &&
20589
 
         { ac_try='test -s conftest.$ac_objext'
20590
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20591
 
  (eval $ac_try) 2>&5
20592
 
  ac_status=$?
20593
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20594
 
  (exit $ac_status); }; }; then
 
22080
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22081
  (exit $ac_status); } && {
 
22082
         test -z "$ac_c_werror_flag" ||
 
22083
         test ! -s conftest.err
 
22084
       } && test -s conftest.$ac_objext; then
20595
22085
  ac_header_compiler=yes
20596
22086
else
20597
 
  echo "$as_me: failed program was:" >&5
 
22087
  $as_echo "$as_me: failed program was:" >&5
20598
22088
sed 's/^/| /' conftest.$ac_ext >&5
20599
22089
 
20600
 
ac_header_compiler=no
 
22090
        ac_header_compiler=no
20601
22091
fi
20602
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20603
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20604
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
22092
 
 
22093
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22094
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
22095
$as_echo "$ac_header_compiler" >&6; }
20605
22096
 
20606
22097
# Is the header present?
20607
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
20608
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
22098
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
22099
$as_echo_n "checking $ac_header presence... " >&6; }
20609
22100
cat >conftest.$ac_ext <<_ACEOF
20610
22101
/* confdefs.h.  */
20611
22102
_ACEOF
20614
22105
/* end confdefs.h.  */
20615
22106
#include <$ac_header>
20616
22107
_ACEOF
20617
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20618
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
22108
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
22109
case "(($ac_try" in
 
22110
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22111
  *) ac_try_echo=$ac_try;;
 
22112
esac
 
22113
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22114
$as_echo "$ac_try_echo") >&5
 
22115
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20619
22116
  ac_status=$?
20620
22117
  grep -v '^ *+' conftest.er1 >conftest.err
20621
22118
  rm -f conftest.er1
20622
22119
  cat conftest.err >&5
20623
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20624
 
  (exit $ac_status); } >/dev/null; then
20625
 
  if test -s conftest.err; then
20626
 
    ac_cpp_err=$ac_c_preproc_warn_flag
20627
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20628
 
  else
20629
 
    ac_cpp_err=
20630
 
  fi
20631
 
else
20632
 
  ac_cpp_err=yes
20633
 
fi
20634
 
if test -z "$ac_cpp_err"; then
 
22120
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22121
  (exit $ac_status); } >/dev/null && {
 
22122
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
22123
         test ! -s conftest.err
 
22124
       }; then
20635
22125
  ac_header_preproc=yes
20636
22126
else
20637
 
  echo "$as_me: failed program was:" >&5
 
22127
  $as_echo "$as_me: failed program was:" >&5
20638
22128
sed 's/^/| /' conftest.$ac_ext >&5
20639
22129
 
20640
22130
  ac_header_preproc=no
20641
22131
fi
 
22132
 
20642
22133
rm -f conftest.err conftest.$ac_ext
20643
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20644
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
22134
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
22135
$as_echo "$ac_header_preproc" >&6; }
20645
22136
 
20646
22137
# So?  What about this header?
20647
22138
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20648
22139
  yes:no: )
20649
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20650
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20651
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20652
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
22140
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
22141
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
22142
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
22143
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20653
22144
    ac_header_preproc=yes
20654
22145
    ;;
20655
22146
  no:yes:* )
20656
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20657
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20658
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
20659
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
20660
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20661
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20662
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
20663
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
20664
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20665
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20666
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20667
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20668
 
    (
20669
 
      cat <<\_ASBOX
 
22147
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
22148
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
22149
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
22150
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
22151
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
22152
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
22153
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
22154
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
22155
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
22156
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
22157
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
22158
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
22159
    ( cat <<\_ASBOX
20670
22160
## ------------------------------------------------ ##
20671
22161
## Report this to sblim-devel@lists.sourceforge.net ##
20672
22162
## ------------------------------------------------ ##
20673
22163
_ASBOX
20674
 
    ) |
20675
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
22164
     ) | sed "s/^/$as_me: WARNING:     /" >&2
20676
22165
    ;;
20677
22166
esac
20678
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
20679
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20680
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20681
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22167
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
22168
$as_echo_n "checking for $ac_header... " >&6; }
 
22169
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
22170
  $as_echo_n "(cached) " >&6
20682
22171
else
20683
22172
  eval "$as_ac_Header=\$ac_header_preproc"
20684
22173
fi
20685
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20686
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
22174
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
22175
                 $as_echo "$as_val"'`
 
22176
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
22177
$as_echo "$ac_res" >&6; }
20687
22178
 
20688
22179
fi
20689
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
22180
as_val=`eval 'as_val=${'$as_ac_Header'}
 
22181
                 $as_echo "$as_val"'`
 
22182
   if test "x$as_val" = x""yes; then
20690
22183
  cat >>confdefs.h <<_ACEOF
20691
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
22184
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20692
22185
_ACEOF
20693
22186
 
20694
22187
fi
20695
22188
 
20696
22189
done
20697
22190
 
20698
 
echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
20699
 
echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6
 
22191
{ $as_echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
 
22192
$as_echo_n "checking for GNU libc compatible realloc... " >&6; }
20700
22193
if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
20701
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22194
  $as_echo_n "(cached) " >&6
20702
22195
else
20703
22196
  if test "$cross_compiling" = yes; then
20704
22197
  ac_cv_func_realloc_0_nonnull=no
20709
22202
cat confdefs.h >>conftest.$ac_ext
20710
22203
cat >>conftest.$ac_ext <<_ACEOF
20711
22204
/* end confdefs.h.  */
20712
 
#if STDC_HEADERS || HAVE_STDLIB_H
 
22205
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
20713
22206
# include <stdlib.h>
20714
22207
#else
20715
22208
char *realloc ();
20718
22211
int
20719
22212
main ()
20720
22213
{
20721
 
exit (realloc (0, 0) ? 0 : 1);
 
22214
return ! realloc (0, 0);
20722
22215
  ;
20723
22216
  return 0;
20724
22217
}
20725
22218
_ACEOF
20726
22219
rm -f conftest$ac_exeext
20727
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20728
 
  (eval $ac_link) 2>&5
 
22220
if { (ac_try="$ac_link"
 
22221
case "(($ac_try" in
 
22222
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22223
  *) ac_try_echo=$ac_try;;
 
22224
esac
 
22225
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22226
$as_echo "$ac_try_echo") >&5
 
22227
  (eval "$ac_link") 2>&5
20729
22228
  ac_status=$?
20730
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22229
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20731
22230
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20732
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20733
 
  (eval $ac_try) 2>&5
 
22231
  { (case "(($ac_try" in
 
22232
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22233
  *) ac_try_echo=$ac_try;;
 
22234
esac
 
22235
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22236
$as_echo "$ac_try_echo") >&5
 
22237
  (eval "$ac_try") 2>&5
20734
22238
  ac_status=$?
20735
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22239
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20736
22240
  (exit $ac_status); }; }; then
20737
22241
  ac_cv_func_realloc_0_nonnull=yes
20738
22242
else
20739
 
  echo "$as_me: program exited with status $ac_status" >&5
20740
 
echo "$as_me: failed program was:" >&5
 
22243
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
22244
$as_echo "$as_me: failed program was:" >&5
20741
22245
sed 's/^/| /' conftest.$ac_ext >&5
20742
22246
 
20743
22247
( exit $ac_status )
20744
22248
ac_cv_func_realloc_0_nonnull=no
20745
22249
fi
20746
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20747
 
fi
20748
 
fi
20749
 
echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
20750
 
echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6
 
22250
rm -rf conftest.dSYM
 
22251
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
22252
fi
 
22253
 
 
22254
 
 
22255
fi
 
22256
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
 
22257
$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
20751
22258
if test $ac_cv_func_realloc_0_nonnull = yes; then
20752
22259
 
20753
22260
cat >>confdefs.h <<\_ACEOF
20759
22266
#define HAVE_REALLOC 0
20760
22267
_ACEOF
20761
22268
 
20762
 
   case $LIBOBJS in
20763
 
    "realloc.$ac_objext"   | \
20764
 
  *" realloc.$ac_objext"   | \
20765
 
    "realloc.$ac_objext "* | \
 
22269
   case " $LIBOBJS " in
20766
22270
  *" realloc.$ac_objext "* ) ;;
20767
 
  *) LIBOBJS="$LIBOBJS realloc.$ac_objext" ;;
 
22271
  *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
 
22272
 ;;
20768
22273
esac
20769
22274
 
20770
22275
 
20779
22284
 
20780
22285
for ac_func in strftime
20781
22286
do
20782
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20783
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
20784
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20785
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
20786
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22287
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
22288
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
22289
$as_echo_n "checking for $ac_func... " >&6; }
 
22290
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
22291
  $as_echo_n "(cached) " >&6
20787
22292
else
20788
22293
  cat >conftest.$ac_ext <<_ACEOF
20789
22294
/* confdefs.h.  */
20808
22313
 
20809
22314
#undef $ac_func
20810
22315
 
20811
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22316
/* Override any GCC internal prototype to avoid an error.
 
22317
   Use char because int might match the return type of a GCC
 
22318
   builtin and then its argument prototype would still apply.  */
20812
22319
#ifdef __cplusplus
20813
22320
extern "C"
20814
 
{
20815
22321
#endif
20816
 
/* We use char because int might match the return type of a gcc2
20817
 
   builtin and then its argument prototype would still apply.  */
20818
22322
char $ac_func ();
20819
22323
/* The GNU C library defines this for functions which it implements
20820
22324
    to always fail with ENOSYS.  Some functions are actually named
20821
22325
    something starting with __ and the normal name is an alias.  */
20822
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
22326
#if defined __stub_$ac_func || defined __stub___$ac_func
20823
22327
choke me
20824
 
#else
20825
 
char (*f) () = $ac_func;
20826
 
#endif
20827
 
#ifdef __cplusplus
20828
 
}
20829
22328
#endif
20830
22329
 
20831
22330
int
20832
22331
main ()
20833
22332
{
20834
 
return f != $ac_func;
 
22333
return $ac_func ();
20835
22334
  ;
20836
22335
  return 0;
20837
22336
}
20838
22337
_ACEOF
20839
22338
rm -f conftest.$ac_objext conftest$ac_exeext
20840
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20841
 
  (eval $ac_link) 2>conftest.er1
 
22339
if { (ac_try="$ac_link"
 
22340
case "(($ac_try" in
 
22341
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22342
  *) ac_try_echo=$ac_try;;
 
22343
esac
 
22344
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22345
$as_echo "$ac_try_echo") >&5
 
22346
  (eval "$ac_link") 2>conftest.er1
20842
22347
  ac_status=$?
20843
22348
  grep -v '^ *+' conftest.er1 >conftest.err
20844
22349
  rm -f conftest.er1
20845
22350
  cat conftest.err >&5
20846
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20847
 
  (exit $ac_status); } &&
20848
 
         { ac_try='test -z "$ac_c_werror_flag"
20849
 
                         || test ! -s conftest.err'
20850
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20851
 
  (eval $ac_try) 2>&5
20852
 
  ac_status=$?
20853
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20854
 
  (exit $ac_status); }; } &&
20855
 
         { ac_try='test -s conftest$ac_exeext'
20856
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20857
 
  (eval $ac_try) 2>&5
20858
 
  ac_status=$?
20859
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20860
 
  (exit $ac_status); }; }; then
 
22351
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22352
  (exit $ac_status); } && {
 
22353
         test -z "$ac_c_werror_flag" ||
 
22354
         test ! -s conftest.err
 
22355
       } && test -s conftest$ac_exeext && {
 
22356
         test "$cross_compiling" = yes ||
 
22357
         $as_test_x conftest$ac_exeext
 
22358
       }; then
20861
22359
  eval "$as_ac_var=yes"
20862
22360
else
20863
 
  echo "$as_me: failed program was:" >&5
 
22361
  $as_echo "$as_me: failed program was:" >&5
20864
22362
sed 's/^/| /' conftest.$ac_ext >&5
20865
22363
 
20866
 
eval "$as_ac_var=no"
 
22364
        eval "$as_ac_var=no"
20867
22365
fi
20868
 
rm -f conftest.err conftest.$ac_objext \
 
22366
 
 
22367
rm -rf conftest.dSYM
 
22368
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20869
22369
      conftest$ac_exeext conftest.$ac_ext
20870
22370
fi
20871
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20872
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20873
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
22371
ac_res=`eval 'as_val=${'$as_ac_var'}
 
22372
                 $as_echo "$as_val"'`
 
22373
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
22374
$as_echo "$ac_res" >&6; }
 
22375
as_val=`eval 'as_val=${'$as_ac_var'}
 
22376
                 $as_echo "$as_val"'`
 
22377
   if test "x$as_val" = x""yes; then
20874
22378
  cat >>confdefs.h <<_ACEOF
20875
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
22379
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20876
22380
_ACEOF
20877
22381
 
20878
22382
else
20879
22383
  # strftime is in -lintl on SCO UNIX.
20880
 
echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
20881
 
echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
 
22384
{ $as_echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
 
22385
$as_echo_n "checking for strftime in -lintl... " >&6; }
20882
22386
if test "${ac_cv_lib_intl_strftime+set}" = set; then
20883
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22387
  $as_echo_n "(cached) " >&6
20884
22388
else
20885
22389
  ac_check_lib_save_LIBS=$LIBS
20886
22390
LIBS="-lintl  $LIBS"
20891
22395
cat >>conftest.$ac_ext <<_ACEOF
20892
22396
/* end confdefs.h.  */
20893
22397
 
20894
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22398
/* Override any GCC internal prototype to avoid an error.
 
22399
   Use char because int might match the return type of a GCC
 
22400
   builtin and then its argument prototype would still apply.  */
20895
22401
#ifdef __cplusplus
20896
22402
extern "C"
20897
22403
#endif
20898
 
/* We use char because int might match the return type of a gcc2
20899
 
   builtin and then its argument prototype would still apply.  */
20900
22404
char strftime ();
20901
22405
int
20902
22406
main ()
20903
22407
{
20904
 
strftime ();
 
22408
return strftime ();
20905
22409
  ;
20906
22410
  return 0;
20907
22411
}
20908
22412
_ACEOF
20909
22413
rm -f conftest.$ac_objext conftest$ac_exeext
20910
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20911
 
  (eval $ac_link) 2>conftest.er1
 
22414
if { (ac_try="$ac_link"
 
22415
case "(($ac_try" in
 
22416
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22417
  *) ac_try_echo=$ac_try;;
 
22418
esac
 
22419
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22420
$as_echo "$ac_try_echo") >&5
 
22421
  (eval "$ac_link") 2>conftest.er1
20912
22422
  ac_status=$?
20913
22423
  grep -v '^ *+' conftest.er1 >conftest.err
20914
22424
  rm -f conftest.er1
20915
22425
  cat conftest.err >&5
20916
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20917
 
  (exit $ac_status); } &&
20918
 
         { ac_try='test -z "$ac_c_werror_flag"
20919
 
                         || test ! -s conftest.err'
20920
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20921
 
  (eval $ac_try) 2>&5
20922
 
  ac_status=$?
20923
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20924
 
  (exit $ac_status); }; } &&
20925
 
         { ac_try='test -s conftest$ac_exeext'
20926
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20927
 
  (eval $ac_try) 2>&5
20928
 
  ac_status=$?
20929
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20930
 
  (exit $ac_status); }; }; then
 
22426
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22427
  (exit $ac_status); } && {
 
22428
         test -z "$ac_c_werror_flag" ||
 
22429
         test ! -s conftest.err
 
22430
       } && test -s conftest$ac_exeext && {
 
22431
         test "$cross_compiling" = yes ||
 
22432
         $as_test_x conftest$ac_exeext
 
22433
       }; then
20931
22434
  ac_cv_lib_intl_strftime=yes
20932
22435
else
20933
 
  echo "$as_me: failed program was:" >&5
 
22436
  $as_echo "$as_me: failed program was:" >&5
20934
22437
sed 's/^/| /' conftest.$ac_ext >&5
20935
22438
 
20936
 
ac_cv_lib_intl_strftime=no
 
22439
        ac_cv_lib_intl_strftime=no
20937
22440
fi
20938
 
rm -f conftest.err conftest.$ac_objext \
 
22441
 
 
22442
rm -rf conftest.dSYM
 
22443
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20939
22444
      conftest$ac_exeext conftest.$ac_ext
20940
22445
LIBS=$ac_check_lib_save_LIBS
20941
22446
fi
20942
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
20943
 
echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
20944
 
if test $ac_cv_lib_intl_strftime = yes; then
 
22447
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
 
22448
$as_echo "$ac_cv_lib_intl_strftime" >&6; }
 
22449
if test "x$ac_cv_lib_intl_strftime" = x""yes; then
20945
22450
  cat >>confdefs.h <<\_ACEOF
20946
22451
#define HAVE_STRFTIME 1
20947
22452
_ACEOF
20962
22467
 
20963
22468
for ac_func in gettimeofday localtime_r memset strcasecmp strdup strncasecmp strstr tzset
20964
22469
do
20965
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20966
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
20967
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20968
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
20969
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22470
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
22471
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
22472
$as_echo_n "checking for $ac_func... " >&6; }
 
22473
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
22474
  $as_echo_n "(cached) " >&6
20970
22475
else
20971
22476
  cat >conftest.$ac_ext <<_ACEOF
20972
22477
/* confdefs.h.  */
20991
22496
 
20992
22497
#undef $ac_func
20993
22498
 
20994
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22499
/* Override any GCC internal prototype to avoid an error.
 
22500
   Use char because int might match the return type of a GCC
 
22501
   builtin and then its argument prototype would still apply.  */
20995
22502
#ifdef __cplusplus
20996
22503
extern "C"
20997
 
{
20998
22504
#endif
20999
 
/* We use char because int might match the return type of a gcc2
21000
 
   builtin and then its argument prototype would still apply.  */
21001
22505
char $ac_func ();
21002
22506
/* The GNU C library defines this for functions which it implements
21003
22507
    to always fail with ENOSYS.  Some functions are actually named
21004
22508
    something starting with __ and the normal name is an alias.  */
21005
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
22509
#if defined __stub_$ac_func || defined __stub___$ac_func
21006
22510
choke me
21007
 
#else
21008
 
char (*f) () = $ac_func;
21009
 
#endif
21010
 
#ifdef __cplusplus
21011
 
}
21012
22511
#endif
21013
22512
 
21014
22513
int
21015
22514
main ()
21016
22515
{
21017
 
return f != $ac_func;
 
22516
return $ac_func ();
21018
22517
  ;
21019
22518
  return 0;
21020
22519
}
21021
22520
_ACEOF
21022
22521
rm -f conftest.$ac_objext conftest$ac_exeext
21023
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21024
 
  (eval $ac_link) 2>conftest.er1
 
22522
if { (ac_try="$ac_link"
 
22523
case "(($ac_try" in
 
22524
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22525
  *) ac_try_echo=$ac_try;;
 
22526
esac
 
22527
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22528
$as_echo "$ac_try_echo") >&5
 
22529
  (eval "$ac_link") 2>conftest.er1
21025
22530
  ac_status=$?
21026
22531
  grep -v '^ *+' conftest.er1 >conftest.err
21027
22532
  rm -f conftest.er1
21028
22533
  cat conftest.err >&5
21029
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21030
 
  (exit $ac_status); } &&
21031
 
         { ac_try='test -z "$ac_c_werror_flag"
21032
 
                         || test ! -s conftest.err'
21033
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21034
 
  (eval $ac_try) 2>&5
21035
 
  ac_status=$?
21036
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21037
 
  (exit $ac_status); }; } &&
21038
 
         { ac_try='test -s conftest$ac_exeext'
21039
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21040
 
  (eval $ac_try) 2>&5
21041
 
  ac_status=$?
21042
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043
 
  (exit $ac_status); }; }; then
 
22534
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22535
  (exit $ac_status); } && {
 
22536
         test -z "$ac_c_werror_flag" ||
 
22537
         test ! -s conftest.err
 
22538
       } && test -s conftest$ac_exeext && {
 
22539
         test "$cross_compiling" = yes ||
 
22540
         $as_test_x conftest$ac_exeext
 
22541
       }; then
21044
22542
  eval "$as_ac_var=yes"
21045
22543
else
21046
 
  echo "$as_me: failed program was:" >&5
 
22544
  $as_echo "$as_me: failed program was:" >&5
21047
22545
sed 's/^/| /' conftest.$ac_ext >&5
21048
22546
 
21049
 
eval "$as_ac_var=no"
 
22547
        eval "$as_ac_var=no"
21050
22548
fi
21051
 
rm -f conftest.err conftest.$ac_objext \
 
22549
 
 
22550
rm -rf conftest.dSYM
 
22551
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21052
22552
      conftest$ac_exeext conftest.$ac_ext
21053
22553
fi
21054
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21055
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21056
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
22554
ac_res=`eval 'as_val=${'$as_ac_var'}
 
22555
                 $as_echo "$as_val"'`
 
22556
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
22557
$as_echo "$ac_res" >&6; }
 
22558
as_val=`eval 'as_val=${'$as_ac_var'}
 
22559
                 $as_echo "$as_val"'`
 
22560
   if test "x$as_val" = x""yes; then
21057
22561
  cat >>confdefs.h <<_ACEOF
21058
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
22562
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21059
22563
_ACEOF
21060
22564
 
21061
22565
fi
21062
22566
done
21063
22567
 
21064
22568
 
 
22569
#SFCB Library location
 
22570
# Set with "configure SFCB_LIBDIR=<dir>
 
22571
 
 
22572
if test -z "$SFCB_LIBDIR"
 
22573
then
 
22574
    SFCB_LIBDIR="$libdir/sfcb"
 
22575
fi
 
22576
 
21065
22577
# MELUNIT
21066
 
 
21067
 
 
21068
 
if test 0 = 1 ; then
 
22578
 if test 0 = 1 ; then
21069
22579
  HAVE_MELUNIT_CXX_TRUE=
21070
22580
  HAVE_MELUNIT_CXX_FALSE='#'
21071
22581
else
21083
22593
 
21084
22594
fi
21085
22595
 
21086
 
                              ac_config_files="$ac_config_files Makefile sfcc.spec TEST/Makefile"
 
22596
ac_config_files="$ac_config_files Makefile sfcc.spec TEST/Makefile"
21087
22597
 
21088
22598
cat >confcache <<\_ACEOF
21089
22599
# This file is a shell script that caches the results of configure
21103
22613
 
21104
22614
# The following way of writing the cache mishandles newlines in values,
21105
22615
# but we know of no workaround that is simple, portable, and efficient.
21106
 
# So, don't put newlines in cache variables' values.
 
22616
# So, we kill variables containing newlines.
21107
22617
# Ultrix sh set writes to stderr and can't be redirected directly,
21108
22618
# and sets the high bit in the cache file unless we assign to the vars.
21109
 
{
 
22619
(
 
22620
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
22621
    eval ac_val=\$$ac_var
 
22622
    case $ac_val in #(
 
22623
    *${as_nl}*)
 
22624
      case $ac_var in #(
 
22625
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
22626
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
22627
      esac
 
22628
      case $ac_var in #(
 
22629
      _ | IFS | as_nl) ;; #(
 
22630
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
22631
      *) $as_unset $ac_var ;;
 
22632
      esac ;;
 
22633
    esac
 
22634
  done
 
22635
 
21110
22636
  (set) 2>&1 |
21111
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
21112
 
    *ac_space=\ *)
 
22637
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
22638
    *${as_nl}ac_space=\ *)
21113
22639
      # `set' does not quote correctly, so add quotes (double-quote
21114
22640
      # substitution turns \\\\ into \\, and sed turns \\ into \).
21115
22641
      sed -n \
21116
22642
        "s/'/'\\\\''/g;
21117
22643
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21118
 
      ;;
 
22644
      ;; #(
21119
22645
    *)
21120
22646
      # `set' quotes correctly as required by POSIX, so do not add quotes.
21121
 
      sed -n \
21122
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
22647
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21123
22648
      ;;
21124
 
    esac;
21125
 
} |
 
22649
    esac |
 
22650
    sort
 
22651
) |
21126
22652
  sed '
 
22653
     /^ac_cv_env_/b end
21127
22654
     t clear
21128
 
     : clear
 
22655
     :clear
21129
22656
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21130
22657
     t end
21131
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21132
 
     : end' >>confcache
21133
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
21134
 
  if test -w $cache_file; then
21135
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
22658
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
22659
     :end' >>confcache
 
22660
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
22661
  if test -w "$cache_file"; then
 
22662
    test "x$cache_file" != "x/dev/null" &&
 
22663
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
22664
$as_echo "$as_me: updating cache $cache_file" >&6;}
21136
22665
    cat confcache >$cache_file
21137
22666
  else
21138
 
    echo "not updating unwritable cache $cache_file"
 
22667
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
22668
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21139
22669
  fi
21140
22670
fi
21141
22671
rm -f confcache
21144
22674
# Let make expand exec_prefix.
21145
22675
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21146
22676
 
21147
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
21148
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21149
 
# trailing colons and then remove the whole line if VPATH becomes empty
21150
 
# (actually we leave an empty line to preserve line numbers).
21151
 
if test "x$srcdir" = x.; then
21152
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
21153
 
s/:*\$(srcdir):*/:/;
21154
 
s/:*\${srcdir}:*/:/;
21155
 
s/:*@srcdir@:*/:/;
21156
 
s/^\([^=]*=[     ]*\):*/\1/;
21157
 
s/:*$//;
21158
 
s/^[^=]*=[       ]*$//;
21159
 
}'
21160
 
fi
21161
 
 
21162
22677
DEFS=-DHAVE_CONFIG_H
21163
22678
 
21164
22679
ac_libobjs=
21165
22680
ac_ltlibobjs=
21166
22681
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21167
22682
  # 1. Remove the extension, and $U if already installed.
21168
 
  ac_i=`echo "$ac_i" |
21169
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
21170
 
  # 2. Add them.
21171
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
21172
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
22683
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
22684
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
22685
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
22686
  #    will be set to the directory where LIBOBJS objects are built.
 
22687
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
22688
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21173
22689
done
21174
22690
LIBOBJS=$ac_libobjs
21175
22691
 
21177
22693
 
21178
22694
 
21179
22695
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21180
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
22696
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
21181
22697
Usually this means the macro was only invoked conditionally." >&5
21182
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
22698
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
21183
22699
Usually this means the macro was only invoked conditionally." >&2;}
21184
22700
   { (exit 1); exit 1; }; }
21185
22701
fi
21186
22702
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21187
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
22703
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21188
22704
Usually this means the macro was only invoked conditionally." >&5
21189
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
22705
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21190
22706
Usually this means the macro was only invoked conditionally." >&2;}
21191
22707
   { (exit 1); exit 1; }; }
21192
22708
fi
21193
22709
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21194
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
 
22710
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
21195
22711
Usually this means the macro was only invoked conditionally." >&5
21196
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 
22712
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
21197
22713
Usually this means the macro was only invoked conditionally." >&2;}
21198
22714
   { (exit 1); exit 1; }; }
21199
22715
fi
21200
22716
if test -z "${HAVE_MELUNIT_CXX_TRUE}" && test -z "${HAVE_MELUNIT_CXX_FALSE}"; then
21201
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_MELUNIT_CXX\" was never defined.
 
22717
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_MELUNIT_CXX\" was never defined.
21202
22718
Usually this means the macro was only invoked conditionally." >&5
21203
 
echo "$as_me: error: conditional \"HAVE_MELUNIT_CXX\" was never defined.
 
22719
$as_echo "$as_me: error: conditional \"HAVE_MELUNIT_CXX\" was never defined.
21204
22720
Usually this means the macro was only invoked conditionally." >&2;}
21205
22721
   { (exit 1); exit 1; }; }
21206
22722
fi
21207
22723
 
21208
22724
: ${CONFIG_STATUS=./config.status}
 
22725
ac_write_fail=0
21209
22726
ac_clean_files_save=$ac_clean_files
21210
22727
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21211
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21212
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
21213
 
cat >$CONFIG_STATUS <<_ACEOF
 
22728
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
22729
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
22730
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21214
22731
#! $SHELL
21215
22732
# Generated by $as_me.
21216
22733
# Run this file to recreate the current configuration.
21223
22740
SHELL=\${CONFIG_SHELL-$SHELL}
21224
22741
_ACEOF
21225
22742
 
21226
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
22743
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21227
22744
## --------------------- ##
21228
22745
## M4sh Initialization.  ##
21229
22746
## --------------------- ##
21230
22747
 
21231
 
# Be Bourne compatible
 
22748
# Be more Bourne compatible
 
22749
DUALCASE=1; export DUALCASE # for MKS sh
21232
22750
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21233
22751
  emulate sh
21234
22752
  NULLCMD=:
21235
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
22753
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21236
22754
  # is contrary to our usage.  Disable this feature.
21237
22755
  alias -g '${1+"$@"}'='"$@"'
21238
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21239
 
  set -o posix
21240
 
fi
21241
 
DUALCASE=1; export DUALCASE # for MKS sh
 
22756
  setopt NO_GLOB_SUBST
 
22757
else
 
22758
  case `(set -o) 2>/dev/null` in
 
22759
  *posix*) set -o posix ;;
 
22760
esac
 
22761
 
 
22762
fi
 
22763
 
 
22764
 
 
22765
 
 
22766
 
 
22767
# PATH needs CR
 
22768
# Avoid depending upon Character Ranges.
 
22769
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
22770
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
22771
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
22772
as_cr_digits='0123456789'
 
22773
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
22774
 
 
22775
as_nl='
 
22776
'
 
22777
export as_nl
 
22778
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
22779
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
22780
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
22781
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
22782
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
22783
  as_echo='printf %s\n'
 
22784
  as_echo_n='printf %s'
 
22785
else
 
22786
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
22787
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
22788
    as_echo_n='/usr/ucb/echo -n'
 
22789
  else
 
22790
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
22791
    as_echo_n_body='eval
 
22792
      arg=$1;
 
22793
      case $arg in
 
22794
      *"$as_nl"*)
 
22795
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
22796
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
22797
      esac;
 
22798
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
22799
    '
 
22800
    export as_echo_n_body
 
22801
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
22802
  fi
 
22803
  export as_echo_body
 
22804
  as_echo='sh -c $as_echo_body as_echo'
 
22805
fi
 
22806
 
 
22807
# The user is always right.
 
22808
if test "${PATH_SEPARATOR+set}" != set; then
 
22809
  PATH_SEPARATOR=:
 
22810
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
22811
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
22812
      PATH_SEPARATOR=';'
 
22813
  }
 
22814
fi
21242
22815
 
21243
22816
# Support unset when possible.
21244
22817
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21248
22821
fi
21249
22822
 
21250
22823
 
 
22824
# IFS
 
22825
# We need space, tab and new line, in precisely that order.  Quoting is
 
22826
# there to prevent editors from complaining about space-tab.
 
22827
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
22828
# splitting by setting IFS to empty value.)
 
22829
IFS=" ""        $as_nl"
 
22830
 
 
22831
# Find who we are.  Look in the path if we contain no directory separator.
 
22832
case $0 in
 
22833
  *[\\/]* ) as_myself=$0 ;;
 
22834
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
22835
for as_dir in $PATH
 
22836
do
 
22837
  IFS=$as_save_IFS
 
22838
  test -z "$as_dir" && as_dir=.
 
22839
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
22840
done
 
22841
IFS=$as_save_IFS
 
22842
 
 
22843
     ;;
 
22844
esac
 
22845
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
22846
# in which case we are not to be found in the path.
 
22847
if test "x$as_myself" = x; then
 
22848
  as_myself=$0
 
22849
fi
 
22850
if test ! -f "$as_myself"; then
 
22851
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
22852
  { (exit 1); exit 1; }
 
22853
fi
 
22854
 
21251
22855
# Work around bugs in pre-3.0 UWIN ksh.
21252
 
$as_unset ENV MAIL MAILPATH
 
22856
for as_var in ENV MAIL MAILPATH
 
22857
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
22858
done
21253
22859
PS1='$ '
21254
22860
PS2='> '
21255
22861
PS4='+ '
21256
22862
 
21257
22863
# NLS nuisances.
21258
 
for as_var in \
21259
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21260
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21261
 
  LC_TELEPHONE LC_TIME
21262
 
do
21263
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21264
 
    eval $as_var=C; export $as_var
21265
 
  else
21266
 
    $as_unset $as_var
21267
 
  fi
21268
 
done
 
22864
LC_ALL=C
 
22865
export LC_ALL
 
22866
LANGUAGE=C
 
22867
export LANGUAGE
21269
22868
 
21270
22869
# Required to use basename.
21271
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
22870
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
22871
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
21272
22872
  as_expr=expr
21273
22873
else
21274
22874
  as_expr=false
21275
22875
fi
21276
22876
 
21277
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
22877
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21278
22878
  as_basename=basename
21279
22879
else
21280
22880
  as_basename=false
21282
22882
 
21283
22883
 
21284
22884
# Name of the executable.
21285
 
as_me=`$as_basename "$0" ||
 
22885
as_me=`$as_basename -- "$0" ||
21286
22886
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21287
22887
         X"$0" : 'X\(//\)$' \| \
21288
 
         X"$0" : 'X\(/\)$' \| \
21289
 
         .     : '\(.\)' 2>/dev/null ||
21290
 
echo X/"$0" |
21291
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
21292
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
21293
 
          /^X\/\(\/\).*/{ s//\1/; q; }
21294
 
          s/.*/./; q'`
21295
 
 
21296
 
 
21297
 
# PATH needs CR, and LINENO needs CR and PATH.
21298
 
# Avoid depending upon Character Ranges.
21299
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21300
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21301
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21302
 
as_cr_digits='0123456789'
21303
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
21304
 
 
21305
 
# The user is always right.
21306
 
if test "${PATH_SEPARATOR+set}" != set; then
21307
 
  echo "#! /bin/sh" >conf$$.sh
21308
 
  echo  "exit 0"   >>conf$$.sh
21309
 
  chmod +x conf$$.sh
21310
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21311
 
    PATH_SEPARATOR=';'
21312
 
  else
21313
 
    PATH_SEPARATOR=:
21314
 
  fi
21315
 
  rm -f conf$$.sh
21316
 
fi
21317
 
 
21318
 
 
21319
 
  as_lineno_1=$LINENO
21320
 
  as_lineno_2=$LINENO
21321
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21322
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
21323
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
21324
 
  # Find who we are.  Look in the path if we contain no path at all
21325
 
  # relative or not.
21326
 
  case $0 in
21327
 
    *[\\/]* ) as_myself=$0 ;;
21328
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21329
 
for as_dir in $PATH
21330
 
do
21331
 
  IFS=$as_save_IFS
21332
 
  test -z "$as_dir" && as_dir=.
21333
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21334
 
done
21335
 
 
21336
 
       ;;
21337
 
  esac
21338
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
21339
 
  # in which case we are not to be found in the path.
21340
 
  if test "x$as_myself" = x; then
21341
 
    as_myself=$0
21342
 
  fi
21343
 
  if test ! -f "$as_myself"; then
21344
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
21345
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
21346
 
   { (exit 1); exit 1; }; }
21347
 
  fi
21348
 
  case $CONFIG_SHELL in
21349
 
  '')
21350
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21351
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
21352
 
do
21353
 
  IFS=$as_save_IFS
21354
 
  test -z "$as_dir" && as_dir=.
21355
 
  for as_base in sh bash ksh sh5; do
21356
 
         case $as_dir in
21357
 
         /*)
21358
 
           if ("$as_dir/$as_base" -c '
21359
 
  as_lineno_1=$LINENO
21360
 
  as_lineno_2=$LINENO
21361
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21362
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
21363
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
21364
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
21365
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
21366
 
             CONFIG_SHELL=$as_dir/$as_base
21367
 
             export CONFIG_SHELL
21368
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
21369
 
           fi;;
21370
 
         esac
21371
 
       done
21372
 
done
21373
 
;;
21374
 
  esac
 
22888
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
22889
$as_echo X/"$0" |
 
22890
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
22891
            s//\1/
 
22892
            q
 
22893
          }
 
22894
          /^X\/\(\/\/\)$/{
 
22895
            s//\1/
 
22896
            q
 
22897
          }
 
22898
          /^X\/\(\/\).*/{
 
22899
            s//\1/
 
22900
            q
 
22901
          }
 
22902
          s/.*/./; q'`
 
22903
 
 
22904
# CDPATH.
 
22905
$as_unset CDPATH
 
22906
 
 
22907
 
 
22908
 
 
22909
  as_lineno_1=$LINENO
 
22910
  as_lineno_2=$LINENO
 
22911
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
22912
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21375
22913
 
21376
22914
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21377
22915
  # uniformly replaced by the line number.  The first 'sed' inserts a
21378
 
  # line-number line before each line; the second 'sed' does the real
21379
 
  # work.  The second script uses 'N' to pair each line-number line
21380
 
  # with the numbered line, and appends trailing '-' during
21381
 
  # substitution so that $LINENO is not a special case at line end.
 
22916
  # line-number line after each line using $LINENO; the second 'sed'
 
22917
  # does the real work.  The second script uses 'N' to pair each
 
22918
  # line-number line with the line containing $LINENO, and appends
 
22919
  # trailing '-' during substitution so that $LINENO is not a special
 
22920
  # case at line end.
21382
22921
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21383
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
21384
 
  sed '=' <$as_myself |
 
22922
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
22923
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
22924
  sed -n '
 
22925
    p
 
22926
    /[$]LINENO/=
 
22927
  ' <$as_myself |
21385
22928
    sed '
 
22929
      s/[$]LINENO.*/&-/
 
22930
      t lineno
 
22931
      b
 
22932
      :lineno
21386
22933
      N
21387
 
      s,$,-,
21388
 
      : loop
21389
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
22934
      :loop
 
22935
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21390
22936
      t loop
21391
 
      s,-$,,
21392
 
      s,^['$as_cr_digits']*\n,,
 
22937
      s/-\n.*//
21393
22938
    ' >$as_me.lineno &&
21394
 
  chmod +x $as_me.lineno ||
21395
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
21396
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
22939
  chmod +x "$as_me.lineno" ||
 
22940
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21397
22941
   { (exit 1); exit 1; }; }
21398
22942
 
21399
22943
  # Don't try to exec as it changes $[0], causing all sort of problems
21400
22944
  # (the dirname of $[0] is not the place where we might find the
21401
 
  # original and so on.  Autoconf is especially sensible to this).
21402
 
  . ./$as_me.lineno
 
22945
  # original and so on.  Autoconf is especially sensitive to this).
 
22946
  . "./$as_me.lineno"
21403
22947
  # Exit status is that of the last command.
21404
22948
  exit
21405
22949
}
21406
22950
 
21407
22951
 
21408
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
21409
 
  *c*,-n*) ECHO_N= ECHO_C='
21410
 
' ECHO_T='      ' ;;
21411
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
21412
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
22952
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
22953
  as_dirname=dirname
 
22954
else
 
22955
  as_dirname=false
 
22956
fi
 
22957
 
 
22958
ECHO_C= ECHO_N= ECHO_T=
 
22959
case `echo -n x` in
 
22960
-n*)
 
22961
  case `echo 'x\c'` in
 
22962
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
22963
  *)   ECHO_C='\c';;
 
22964
  esac;;
 
22965
*)
 
22966
  ECHO_N='-n';;
21413
22967
esac
21414
 
 
21415
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
22968
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
22969
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
21416
22970
  as_expr=expr
21417
22971
else
21418
22972
  as_expr=false
21419
22973
fi
21420
22974
 
21421
22975
rm -f conf$$ conf$$.exe conf$$.file
21422
 
echo >conf$$.file
21423
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
21424
 
  # We could just check for DJGPP; but this test a) works b) is more generic
21425
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
21426
 
  if test -f conf$$.exe; then
21427
 
    # Don't use ln at all; we don't have any links
 
22976
if test -d conf$$.dir; then
 
22977
  rm -f conf$$.dir/conf$$.file
 
22978
else
 
22979
  rm -f conf$$.dir
 
22980
  mkdir conf$$.dir 2>/dev/null
 
22981
fi
 
22982
if (echo >conf$$.file) 2>/dev/null; then
 
22983
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
22984
    as_ln_s='ln -s'
 
22985
    # ... but there are two gotchas:
 
22986
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
22987
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
22988
    # In both cases, we have to default to `cp -p'.
 
22989
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
22990
      as_ln_s='cp -p'
 
22991
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
22992
    as_ln_s=ln
 
22993
  else
21428
22994
    as_ln_s='cp -p'
21429
 
  else
21430
 
    as_ln_s='ln -s'
21431
22995
  fi
21432
 
elif ln conf$$.file conf$$ 2>/dev/null; then
21433
 
  as_ln_s=ln
21434
22996
else
21435
22997
  as_ln_s='cp -p'
21436
22998
fi
21437
 
rm -f conf$$ conf$$.exe conf$$.file
 
22999
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
23000
rmdir conf$$.dir 2>/dev/null
21438
23001
 
21439
23002
if mkdir -p . 2>/dev/null; then
21440
23003
  as_mkdir_p=:
21443
23006
  as_mkdir_p=false
21444
23007
fi
21445
23008
 
21446
 
as_executable_p="test -f"
 
23009
if test -x / >/dev/null 2>&1; then
 
23010
  as_test_x='test -x'
 
23011
else
 
23012
  if ls -dL / >/dev/null 2>&1; then
 
23013
    as_ls_L_option=L
 
23014
  else
 
23015
    as_ls_L_option=
 
23016
  fi
 
23017
  as_test_x='
 
23018
    eval sh -c '\''
 
23019
      if test -d "$1"; then
 
23020
        test -d "$1/.";
 
23021
      else
 
23022
        case $1 in
 
23023
        -*)set "./$1";;
 
23024
        esac;
 
23025
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
23026
        ???[sx]*):;;*)false;;esac;fi
 
23027
    '\'' sh
 
23028
  '
 
23029
fi
 
23030
as_executable_p=$as_test_x
21447
23031
 
21448
23032
# Sed expression to map a string onto a valid CPP name.
21449
23033
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21452
23036
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21453
23037
 
21454
23038
 
21455
 
# IFS
21456
 
# We need space, tab and new line, in precisely that order.
21457
 
as_nl='
21458
 
'
21459
 
IFS="   $as_nl"
21460
 
 
21461
 
# CDPATH.
21462
 
$as_unset CDPATH
21463
 
 
21464
23039
exec 6>&1
21465
23040
 
21466
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
23041
# Save the log message, to keep $[0] and so on meaningful, and to
21467
23042
# report actual input values of CONFIG_FILES etc. instead of their
21468
 
# values after options handling.  Logging --version etc. is OK.
21469
 
exec 5>>config.log
21470
 
{
21471
 
  echo
21472
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21473
 
## Running $as_me. ##
21474
 
_ASBOX
21475
 
} >&5
21476
 
cat >&5 <<_CSEOF
21477
 
 
21478
 
This file was extended by sblim-sfcc $as_me 2.0.1, which was
21479
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
23043
# values after options handling.
 
23044
ac_log="
 
23045
This file was extended by sblim-sfcc $as_me 2.2.0, which was
 
23046
generated by GNU Autoconf 2.63.  Invocation command line was
21480
23047
 
21481
23048
  CONFIG_FILES    = $CONFIG_FILES
21482
23049
  CONFIG_HEADERS  = $CONFIG_HEADERS
21484
23051
  CONFIG_COMMANDS = $CONFIG_COMMANDS
21485
23052
  $ $0 $@
21486
23053
 
21487
 
_CSEOF
21488
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
21489
 
echo >&5
 
23054
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
23055
"
 
23056
 
21490
23057
_ACEOF
21491
23058
 
 
23059
case $ac_config_files in *"
 
23060
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
23061
esac
 
23062
 
 
23063
case $ac_config_headers in *"
 
23064
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
23065
esac
 
23066
 
 
23067
 
 
23068
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21492
23069
# Files that config.status was made for.
21493
 
if test -n "$ac_config_files"; then
21494
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
21495
 
fi
21496
 
 
21497
 
if test -n "$ac_config_headers"; then
21498
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
21499
 
fi
21500
 
 
21501
 
if test -n "$ac_config_links"; then
21502
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
21503
 
fi
21504
 
 
21505
 
if test -n "$ac_config_commands"; then
21506
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
21507
 
fi
21508
 
 
21509
 
cat >>$CONFIG_STATUS <<\_ACEOF
21510
 
 
 
23070
config_files="$ac_config_files"
 
23071
config_headers="$ac_config_headers"
 
23072
config_commands="$ac_config_commands"
 
23073
 
 
23074
_ACEOF
 
23075
 
 
23076
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21511
23077
ac_cs_usage="\
21512
23078
\`$as_me' instantiates files from templates according to the
21513
23079
current configuration.
21514
23080
 
21515
 
Usage: $0 [OPTIONS] [FILE]...
 
23081
Usage: $0 [OPTION]... [FILE]...
21516
23082
 
21517
23083
  -h, --help       print this help, then exit
21518
 
  -V, --version    print version number, then exit
21519
 
  -q, --quiet      do not print progress messages
 
23084
  -V, --version    print version number and configuration settings, then exit
 
23085
  -q, --quiet, --silent
 
23086
                   do not print progress messages
21520
23087
  -d, --debug      don't remove temporary files
21521
23088
      --recheck    update $as_me by reconfiguring in the same conditions
21522
 
  --file=FILE[:TEMPLATE]
21523
 
                   instantiate the configuration file FILE
21524
 
  --header=FILE[:TEMPLATE]
21525
 
                   instantiate the configuration header FILE
 
23089
      --file=FILE[:TEMPLATE]
 
23090
                   instantiate the configuration file FILE
 
23091
      --header=FILE[:TEMPLATE]
 
23092
                   instantiate the configuration header FILE
21526
23093
 
21527
23094
Configuration files:
21528
23095
$config_files
21534
23101
$config_commands
21535
23102
 
21536
23103
Report bugs to <bug-autoconf@gnu.org>."
 
23104
 
21537
23105
_ACEOF
21538
 
 
21539
 
cat >>$CONFIG_STATUS <<_ACEOF
 
23106
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21540
23107
ac_cs_version="\\
21541
 
sblim-sfcc config.status 2.0.1
21542
 
configured by $0, generated by GNU Autoconf 2.59,
21543
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
23108
sblim-sfcc config.status 2.2.0
 
23109
configured by $0, generated by GNU Autoconf 2.63,
 
23110
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21544
23111
 
21545
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
23112
Copyright (C) 2008 Free Software Foundation, Inc.
21546
23113
This config.status script is free software; the Free Software Foundation
21547
23114
gives unlimited permission to copy, distribute and modify it."
21548
 
srcdir=$srcdir
21549
 
INSTALL="$INSTALL"
 
23115
 
 
23116
ac_pwd='$ac_pwd'
 
23117
srcdir='$srcdir'
 
23118
INSTALL='$INSTALL'
 
23119
MKDIR_P='$MKDIR_P'
 
23120
AWK='$AWK'
 
23121
test -n "\$AWK" || AWK=awk
21550
23122
_ACEOF
21551
23123
 
21552
 
cat >>$CONFIG_STATUS <<\_ACEOF
21553
 
# If no file are specified by the user, then we need to provide default
21554
 
# value.  By we need to know if files were specified by the user.
 
23124
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
23125
# The default lists apply if the user does not specify any file.
21555
23126
ac_need_defaults=:
21556
23127
while test $# != 0
21557
23128
do
21558
23129
  case $1 in
21559
23130
  --*=*)
21560
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
21561
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
23131
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
23132
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21562
23133
    ac_shift=:
21563
23134
    ;;
21564
 
  -*)
 
23135
  *)
21565
23136
    ac_option=$1
21566
23137
    ac_optarg=$2
21567
23138
    ac_shift=shift
21568
23139
    ;;
21569
 
  *) # This is not an option, so the user has probably given explicit
21570
 
     # arguments.
21571
 
     ac_option=$1
21572
 
     ac_need_defaults=false;;
21573
23140
  esac
21574
23141
 
21575
23142
  case $ac_option in
21576
23143
  # Handling of the options.
21577
 
_ACEOF
21578
 
cat >>$CONFIG_STATUS <<\_ACEOF
21579
23144
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21580
23145
    ac_cs_recheck=: ;;
21581
 
  --version | --vers* | -V )
21582
 
    echo "$ac_cs_version"; exit 0 ;;
 
23146
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
23147
    $as_echo "$ac_cs_version"; exit ;;
 
23148
  --debug | --debu | --deb | --de | --d | -d )
 
23149
    debug=: ;;
 
23150
  --file | --fil | --fi | --f )
 
23151
    $ac_shift
 
23152
    case $ac_optarg in
 
23153
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
23154
    esac
 
23155
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
23156
    ac_need_defaults=false;;
 
23157
  --header | --heade | --head | --hea )
 
23158
    $ac_shift
 
23159
    case $ac_optarg in
 
23160
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
23161
    esac
 
23162
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
23163
    ac_need_defaults=false;;
21583
23164
  --he | --h)
21584
23165
    # Conflict between --help and --header
21585
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
21586
 
Try \`$0 --help' for more information." >&5
21587
 
echo "$as_me: error: ambiguous option: $1
21588
 
Try \`$0 --help' for more information." >&2;}
 
23166
    { $as_echo "$as_me: error: ambiguous option: $1
 
23167
Try \`$0 --help' for more information." >&2
21589
23168
   { (exit 1); exit 1; }; };;
21590
23169
  --help | --hel | -h )
21591
 
    echo "$ac_cs_usage"; exit 0 ;;
21592
 
  --debug | --d* | -d )
21593
 
    debug=: ;;
21594
 
  --file | --fil | --fi | --f )
21595
 
    $ac_shift
21596
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21597
 
    ac_need_defaults=false;;
21598
 
  --header | --heade | --head | --hea )
21599
 
    $ac_shift
21600
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21601
 
    ac_need_defaults=false;;
 
23170
    $as_echo "$ac_cs_usage"; exit ;;
21602
23171
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21603
23172
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
21604
23173
    ac_cs_silent=: ;;
21605
23174
 
21606
23175
  # This is an error.
21607
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
21608
 
Try \`$0 --help' for more information." >&5
21609
 
echo "$as_me: error: unrecognized option: $1
21610
 
Try \`$0 --help' for more information." >&2;}
 
23176
  -*) { $as_echo "$as_me: error: unrecognized option: $1
 
23177
Try \`$0 --help' for more information." >&2
21611
23178
   { (exit 1); exit 1; }; } ;;
21612
23179
 
21613
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
23180
  *) ac_config_targets="$ac_config_targets $1"
 
23181
     ac_need_defaults=false ;;
21614
23182
 
21615
23183
  esac
21616
23184
  shift
21624
23192
fi
21625
23193
 
21626
23194
_ACEOF
21627
 
cat >>$CONFIG_STATUS <<_ACEOF
 
23195
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21628
23196
if \$ac_cs_recheck; then
21629
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21630
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
23197
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
23198
  shift
 
23199
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
23200
  CONFIG_SHELL='$SHELL'
 
23201
  export CONFIG_SHELL
 
23202
  exec "\$@"
21631
23203
fi
21632
23204
 
21633
23205
_ACEOF
21634
 
 
21635
 
cat >>$CONFIG_STATUS <<_ACEOF
21636
 
#
21637
 
# INIT-COMMANDS section.
21638
 
#
21639
 
 
 
23206
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
23207
exec 5>>config.log
 
23208
{
 
23209
  echo
 
23210
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
23211
## Running $as_me. ##
 
23212
_ASBOX
 
23213
  $as_echo "$ac_log"
 
23214
} >&5
 
23215
 
 
23216
_ACEOF
 
23217
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
23218
#
 
23219
# INIT-COMMANDS
 
23220
#
21640
23221
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21641
23222
 
21642
23223
_ACEOF
21643
23224
 
21644
 
 
21645
 
 
21646
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
23225
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
23226
 
 
23227
# Handling of arguments.
21647
23228
for ac_config_target in $ac_config_targets
21648
23229
do
21649
 
  case "$ac_config_target" in
21650
 
  # Handling of arguments.
21651
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21652
 
  "sfcc.spec" ) CONFIG_FILES="$CONFIG_FILES sfcc.spec" ;;
21653
 
  "TEST/Makefile" ) CONFIG_FILES="$CONFIG_FILES TEST/Makefile" ;;
21654
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
21655
 
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
21656
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21657
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
23230
  case $ac_config_target in
 
23231
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
23232
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
23233
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
23234
    "sfcc.spec") CONFIG_FILES="$CONFIG_FILES sfcc.spec" ;;
 
23235
    "TEST/Makefile") CONFIG_FILES="$CONFIG_FILES TEST/Makefile" ;;
 
23236
 
 
23237
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
23238
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21658
23239
   { (exit 1); exit 1; }; };;
21659
23240
  esac
21660
23241
done
21661
23242
 
 
23243
 
21662
23244
# If the user did not use the arguments to specify the items to instantiate,
21663
23245
# then the envvar interface is used.  Set only those that are not.
21664
23246
# We use the long form for the default assignment because of an extremely
21670
23252
fi
21671
23253
 
21672
23254
# Have a temporary directory for convenience.  Make it in the build tree
21673
 
# simply because there is no reason to put it here, and in addition,
 
23255
# simply because there is no reason against having it here, and in addition,
21674
23256
# creating and moving files from /tmp can sometimes cause problems.
21675
 
# Create a temporary directory, and hook for its removal unless debugging.
 
23257
# Hook for its removal unless debugging.
 
23258
# Note that there is a small window in which the directory will not be cleaned:
 
23259
# after its creation but before its name has been assigned to `$tmp'.
21676
23260
$debug ||
21677
23261
{
21678
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
23262
  tmp=
 
23263
  trap 'exit_status=$?
 
23264
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
23265
' 0
21679
23266
  trap '{ (exit 1); exit 1; }' 1 2 13 15
21680
23267
}
21681
 
 
21682
23268
# Create a (secure) tmp directory for tmp files.
21683
23269
 
21684
23270
{
21685
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
23271
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21686
23272
  test -n "$tmp" && test -d "$tmp"
21687
23273
}  ||
21688
23274
{
21689
 
  tmp=./confstat$$-$RANDOM
21690
 
  (umask 077 && mkdir $tmp)
 
23275
  tmp=./conf$$-$RANDOM
 
23276
  (umask 077 && mkdir "$tmp")
21691
23277
} ||
21692
23278
{
21693
 
   echo "$me: cannot create a temporary directory in ." >&2
 
23279
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
21694
23280
   { (exit 1); exit 1; }
21695
23281
}
21696
23282
 
21697
 
_ACEOF
21698
 
 
21699
 
cat >>$CONFIG_STATUS <<_ACEOF
21700
 
 
21701
 
#
21702
 
# CONFIG_FILES section.
21703
 
#
21704
 
 
21705
 
# No need to generate the scripts if there are no CONFIG_FILES.
21706
 
# This happens for instance when ./config.status config.h
21707
 
if test -n "\$CONFIG_FILES"; then
21708
 
  # Protect against being on the right side of a sed subst in config.status.
21709
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21710
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21711
 
s,@SHELL@,$SHELL,;t t
21712
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21713
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21714
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21715
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21716
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21717
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21718
 
s,@exec_prefix@,$exec_prefix,;t t
21719
 
s,@prefix@,$prefix,;t t
21720
 
s,@program_transform_name@,$program_transform_name,;t t
21721
 
s,@bindir@,$bindir,;t t
21722
 
s,@sbindir@,$sbindir,;t t
21723
 
s,@libexecdir@,$libexecdir,;t t
21724
 
s,@datadir@,$datadir,;t t
21725
 
s,@sysconfdir@,$sysconfdir,;t t
21726
 
s,@sharedstatedir@,$sharedstatedir,;t t
21727
 
s,@localstatedir@,$localstatedir,;t t
21728
 
s,@libdir@,$libdir,;t t
21729
 
s,@includedir@,$includedir,;t t
21730
 
s,@oldincludedir@,$oldincludedir,;t t
21731
 
s,@infodir@,$infodir,;t t
21732
 
s,@mandir@,$mandir,;t t
21733
 
s,@build_alias@,$build_alias,;t t
21734
 
s,@host_alias@,$host_alias,;t t
21735
 
s,@target_alias@,$target_alias,;t t
21736
 
s,@DEFS@,$DEFS,;t t
21737
 
s,@ECHO_C@,$ECHO_C,;t t
21738
 
s,@ECHO_N@,$ECHO_N,;t t
21739
 
s,@ECHO_T@,$ECHO_T,;t t
21740
 
s,@LIBS@,$LIBS,;t t
21741
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21742
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21743
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21744
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
21745
 
s,@PACKAGE@,$PACKAGE,;t t
21746
 
s,@VERSION@,$VERSION,;t t
21747
 
s,@ACLOCAL@,$ACLOCAL,;t t
21748
 
s,@AUTOCONF@,$AUTOCONF,;t t
21749
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
21750
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
21751
 
s,@MAKEINFO@,$MAKEINFO,;t t
21752
 
s,@install_sh@,$install_sh,;t t
21753
 
s,@STRIP@,$STRIP,;t t
21754
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21755
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
21756
 
s,@mkdir_p@,$mkdir_p,;t t
21757
 
s,@AWK@,$AWK,;t t
21758
 
s,@SET_MAKE@,$SET_MAKE,;t t
21759
 
s,@am__leading_dot@,$am__leading_dot,;t t
21760
 
s,@AMTAR@,$AMTAR,;t t
21761
 
s,@am__tar@,$am__tar,;t t
21762
 
s,@am__untar@,$am__untar,;t t
21763
 
s,@CC@,$CC,;t t
21764
 
s,@CFLAGS@,$CFLAGS,;t t
21765
 
s,@LDFLAGS@,$LDFLAGS,;t t
21766
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
21767
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
21768
 
s,@EXEEXT@,$EXEEXT,;t t
21769
 
s,@OBJEXT@,$OBJEXT,;t t
21770
 
s,@DEPDIR@,$DEPDIR,;t t
21771
 
s,@am__include@,$am__include,;t t
21772
 
s,@am__quote@,$am__quote,;t t
21773
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
21774
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
21775
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
21776
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
21777
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
21778
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
21779
 
s,@CXX@,$CXX,;t t
21780
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
21781
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21782
 
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
21783
 
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
21784
 
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
21785
 
s,@build@,$build,;t t
21786
 
s,@build_cpu@,$build_cpu,;t t
21787
 
s,@build_vendor@,$build_vendor,;t t
21788
 
s,@build_os@,$build_os,;t t
21789
 
s,@host@,$host,;t t
21790
 
s,@host_cpu@,$host_cpu,;t t
21791
 
s,@host_vendor@,$host_vendor,;t t
21792
 
s,@host_os@,$host_os,;t t
21793
 
s,@EGREP@,$EGREP,;t t
21794
 
s,@LN_S@,$LN_S,;t t
21795
 
s,@ECHO@,$ECHO,;t t
21796
 
s,@AR@,$AR,;t t
21797
 
s,@ac_ct_AR@,$ac_ct_AR,;t t
21798
 
s,@RANLIB@,$RANLIB,;t t
21799
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21800
 
s,@CPP@,$CPP,;t t
21801
 
s,@CXXCPP@,$CXXCPP,;t t
21802
 
s,@F77@,$F77,;t t
21803
 
s,@FFLAGS@,$FFLAGS,;t t
21804
 
s,@ac_ct_F77@,$ac_ct_F77,;t t
21805
 
s,@LIBTOOL@,$LIBTOOL,;t t
21806
 
s,@YACC@,$YACC,;t t
21807
 
s,@ALLOCA@,$ALLOCA,;t t
21808
 
s,@LIBOBJS@,$LIBOBJS,;t t
21809
 
s,@HAVE_MELUNIT_CXX_TRUE@,$HAVE_MELUNIT_CXX_TRUE,;t t
21810
 
s,@HAVE_MELUNIT_CXX_FALSE@,$HAVE_MELUNIT_CXX_FALSE,;t t
21811
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21812
 
CEOF
21813
 
 
21814
 
_ACEOF
21815
 
 
21816
 
  cat >>$CONFIG_STATUS <<\_ACEOF
21817
 
  # Split the substitutions into bite-sized pieces for seds with
21818
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
21819
 
  ac_max_sed_lines=48
21820
 
  ac_sed_frag=1 # Number of current file.
21821
 
  ac_beg=1 # First line for current file.
21822
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
21823
 
  ac_more_lines=:
21824
 
  ac_sed_cmds=
21825
 
  while $ac_more_lines; do
21826
 
    if test $ac_beg -gt 1; then
21827
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21828
 
    else
21829
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21830
 
    fi
21831
 
    if test ! -s $tmp/subs.frag; then
21832
 
      ac_more_lines=false
21833
 
    else
21834
 
      # The purpose of the label and of the branching condition is to
21835
 
      # speed up the sed processing (if there are no `@' at all, there
21836
 
      # is no need to browse any of the substitutions).
21837
 
      # These are the two extra sed commands mentioned above.
21838
 
      (echo ':t
21839
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21840
 
      if test -z "$ac_sed_cmds"; then
21841
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21842
 
      else
21843
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21844
 
      fi
21845
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
21846
 
      ac_beg=$ac_end
21847
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
21848
 
    fi
21849
 
  done
21850
 
  if test -z "$ac_sed_cmds"; then
21851
 
    ac_sed_cmds=cat
 
23283
# Set up the scripts for CONFIG_FILES section.
 
23284
# No need to generate them if there are no CONFIG_FILES.
 
23285
# This happens for instance with `./config.status config.h'.
 
23286
if test -n "$CONFIG_FILES"; then
 
23287
 
 
23288
 
 
23289
ac_cr='
 
 
b"'"
 
23290
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
23291
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
23292
  ac_cs_awk_cr='\\r'
 
23293
else
 
23294
  ac_cs_awk_cr=$ac_cr
 
23295
fi
 
23296
 
 
23297
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
23298
_ACEOF
 
23299
 
 
23300
 
 
23301
{
 
23302
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
23303
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
23304
  echo "_ACEOF"
 
23305
} >conf$$subs.sh ||
 
23306
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
23307
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
23308
   { (exit 1); exit 1; }; }
 
23309
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
23310
ac_delim='%!_!# '
 
23311
for ac_last_try in false false false false false :; do
 
23312
  . ./conf$$subs.sh ||
 
23313
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
23314
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
23315
   { (exit 1); exit 1; }; }
 
23316
 
 
23317
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
23318
  if test $ac_delim_n = $ac_delim_num; then
 
23319
    break
 
23320
  elif $ac_last_try; then
 
23321
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
23322
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
23323
   { (exit 1); exit 1; }; }
 
23324
  else
 
23325
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21852
23326
  fi
 
23327
done
 
23328
rm -f conf$$subs.sh
 
23329
 
 
23330
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
23331
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
23332
_ACEOF
 
23333
sed -n '
 
23334
h
 
23335
s/^/S["/; s/!.*/"]=/
 
23336
p
 
23337
g
 
23338
s/^[^!]*!//
 
23339
:repl
 
23340
t repl
 
23341
s/'"$ac_delim"'$//
 
23342
t delim
 
23343
:nl
 
23344
h
 
23345
s/\(.\{148\}\).*/\1/
 
23346
t more1
 
23347
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
23348
p
 
23349
n
 
23350
b repl
 
23351
:more1
 
23352
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
23353
p
 
23354
g
 
23355
s/.\{148\}//
 
23356
t nl
 
23357
:delim
 
23358
h
 
23359
s/\(.\{148\}\).*/\1/
 
23360
t more2
 
23361
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
23362
p
 
23363
b
 
23364
:more2
 
23365
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
23366
p
 
23367
g
 
23368
s/.\{148\}//
 
23369
t delim
 
23370
' <conf$$subs.awk | sed '
 
23371
/^[^""]/{
 
23372
  N
 
23373
  s/\n//
 
23374
}
 
23375
' >>$CONFIG_STATUS || ac_write_fail=1
 
23376
rm -f conf$$subs.awk
 
23377
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
23378
_ACAWK
 
23379
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
23380
  for (key in S) S_is_set[key] = 1
 
23381
  FS = ""
 
23382
 
 
23383
}
 
23384
{
 
23385
  line = $ 0
 
23386
  nfields = split(line, field, "@")
 
23387
  substed = 0
 
23388
  len = length(field[1])
 
23389
  for (i = 2; i < nfields; i++) {
 
23390
    key = field[i]
 
23391
    keylen = length(key)
 
23392
    if (S_is_set[key]) {
 
23393
      value = S[key]
 
23394
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
23395
      len += length(value) + length(field[++i])
 
23396
      substed = 1
 
23397
    } else
 
23398
      len += 1 + keylen
 
23399
  }
 
23400
 
 
23401
  print line
 
23402
}
 
23403
 
 
23404
_ACAWK
 
23405
_ACEOF
 
23406
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
23407
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
23408
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
23409
else
 
23410
  cat
 
23411
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
23412
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 
23413
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
 
23414
   { (exit 1); exit 1; }; }
 
23415
_ACEOF
 
23416
 
 
23417
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
23418
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
23419
# trailing colons and then remove the whole line if VPATH becomes empty
 
23420
# (actually we leave an empty line to preserve line numbers).
 
23421
if test "x$srcdir" = x.; then
 
23422
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
23423
s/:*\$(srcdir):*/:/
 
23424
s/:*\${srcdir}:*/:/
 
23425
s/:*@srcdir@:*/:/
 
23426
s/^\([^=]*=[     ]*\):*/\1/
 
23427
s/:*$//
 
23428
s/^[^=]*=[       ]*$//
 
23429
}'
 
23430
fi
 
23431
 
 
23432
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21853
23433
fi # test -n "$CONFIG_FILES"
21854
23434
 
21855
 
_ACEOF
21856
 
cat >>$CONFIG_STATUS <<\_ACEOF
21857
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21858
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21859
 
  case $ac_file in
21860
 
  - | *:- | *:-:* ) # input from stdin
21861
 
        cat >$tmp/stdin
21862
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21863
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21864
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21865
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21866
 
  * )   ac_file_in=$ac_file.in ;;
21867
 
  esac
21868
 
 
21869
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21870
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
23435
# Set up the scripts for CONFIG_HEADERS section.
 
23436
# No need to generate them if there are no CONFIG_HEADERS.
 
23437
# This happens for instance with `./config.status Makefile'.
 
23438
if test -n "$CONFIG_HEADERS"; then
 
23439
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
23440
BEGIN {
 
23441
_ACEOF
 
23442
 
 
23443
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
23444
# here-document in config.status, that substitutes the proper values into
 
23445
# config.h.in to produce config.h.
 
23446
 
 
23447
# Create a delimiter string that does not exist in confdefs.h, to ease
 
23448
# handling of long lines.
 
23449
ac_delim='%!_!# '
 
23450
for ac_last_try in false false :; do
 
23451
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
23452
  if test -z "$ac_t"; then
 
23453
    break
 
23454
  elif $ac_last_try; then
 
23455
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 
23456
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 
23457
   { (exit 1); exit 1; }; }
 
23458
  else
 
23459
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
23460
  fi
 
23461
done
 
23462
 
 
23463
# For the awk script, D is an array of macro values keyed by name,
 
23464
# likewise P contains macro parameters if any.  Preserve backslash
 
23465
# newline sequences.
 
23466
 
 
23467
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
23468
sed -n '
 
23469
s/.\{148\}/&'"$ac_delim"'/g
 
23470
t rset
 
23471
:rset
 
23472
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
23473
t def
 
23474
d
 
23475
:def
 
23476
s/\\$//
 
23477
t bsnl
 
23478
s/["\\]/\\&/g
 
23479
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
23480
D["\1"]=" \3"/p
 
23481
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
23482
d
 
23483
:bsnl
 
23484
s/["\\]/\\&/g
 
23485
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
23486
D["\1"]=" \3\\\\\\n"\\/p
 
23487
t cont
 
23488
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
23489
t cont
 
23490
d
 
23491
:cont
 
23492
n
 
23493
s/.\{148\}/&'"$ac_delim"'/g
 
23494
t clear
 
23495
:clear
 
23496
s/\\$//
 
23497
t bsnlc
 
23498
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
23499
d
 
23500
:bsnlc
 
23501
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
23502
b cont
 
23503
' <confdefs.h | sed '
 
23504
s/'"$ac_delim"'/"\\\
 
23505
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
23506
 
 
23507
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
23508
  for (key in D) D_is_set[key] = 1
 
23509
  FS = ""
 
23510
}
 
23511
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
23512
  line = \$ 0
 
23513
  split(line, arg, " ")
 
23514
  if (arg[1] == "#") {
 
23515
    defundef = arg[2]
 
23516
    mac1 = arg[3]
 
23517
  } else {
 
23518
    defundef = substr(arg[1], 2)
 
23519
    mac1 = arg[2]
 
23520
  }
 
23521
  split(mac1, mac2, "(") #)
 
23522
  macro = mac2[1]
 
23523
  prefix = substr(line, 1, index(line, defundef) - 1)
 
23524
  if (D_is_set[macro]) {
 
23525
    # Preserve the white space surrounding the "#".
 
23526
    print prefix "define", macro P[macro] D[macro]
 
23527
    next
 
23528
  } else {
 
23529
    # Replace #undef with comments.  This is necessary, for example,
 
23530
    # in the case of _POSIX_SOURCE, which is predefined and required
 
23531
    # on some systems where configure will not decide to define it.
 
23532
    if (defundef == "undef") {
 
23533
      print "/*", prefix defundef, macro, "*/"
 
23534
      next
 
23535
    }
 
23536
  }
 
23537
}
 
23538
{ print }
 
23539
_ACAWK
 
23540
_ACEOF
 
23541
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
23542
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 
23543
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 
23544
   { (exit 1); exit 1; }; }
 
23545
fi # test -n "$CONFIG_HEADERS"
 
23546
 
 
23547
 
 
23548
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
23549
shift
 
23550
for ac_tag
 
23551
do
 
23552
  case $ac_tag in
 
23553
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
23554
  esac
 
23555
  case $ac_mode$ac_tag in
 
23556
  :[FHL]*:*);;
 
23557
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
 
23558
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
 
23559
   { (exit 1); exit 1; }; };;
 
23560
  :[FH]-) ac_tag=-:-;;
 
23561
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
23562
  esac
 
23563
  ac_save_IFS=$IFS
 
23564
  IFS=:
 
23565
  set x $ac_tag
 
23566
  IFS=$ac_save_IFS
 
23567
  shift
 
23568
  ac_file=$1
 
23569
  shift
 
23570
 
 
23571
  case $ac_mode in
 
23572
  :L) ac_source=$1;;
 
23573
  :[FH])
 
23574
    ac_file_inputs=
 
23575
    for ac_f
 
23576
    do
 
23577
      case $ac_f in
 
23578
      -) ac_f="$tmp/stdin";;
 
23579
      *) # Look for the file first in the build tree, then in the source tree
 
23580
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
23581
         # because $ac_f cannot contain `:'.
 
23582
         test -f "$ac_f" ||
 
23583
           case $ac_f in
 
23584
           [\\/$]*) false;;
 
23585
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
23586
           esac ||
 
23587
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
23588
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
23589
   { (exit 1); exit 1; }; };;
 
23590
      esac
 
23591
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
23592
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
23593
    done
 
23594
 
 
23595
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
23596
    # use $as_me), people would be surprised to read:
 
23597
    #    /* config.h.  Generated by config.status.  */
 
23598
    configure_input='Generated from '`
 
23599
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
23600
        `' by configure.'
 
23601
    if test x"$ac_file" != x-; then
 
23602
      configure_input="$ac_file.  $configure_input"
 
23603
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
23604
$as_echo "$as_me: creating $ac_file" >&6;}
 
23605
    fi
 
23606
    # Neutralize special characters interpreted by sed in replacement strings.
 
23607
    case $configure_input in #(
 
23608
    *\&* | *\|* | *\\* )
 
23609
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
23610
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
23611
    *) ac_sed_conf_input=$configure_input;;
 
23612
    esac
 
23613
 
 
23614
    case $ac_tag in
 
23615
    *:-:* | *:-) cat >"$tmp/stdin" \
 
23616
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
23617
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
23618
   { (exit 1); exit 1; }; } ;;
 
23619
    esac
 
23620
    ;;
 
23621
  esac
 
23622
 
 
23623
  ac_dir=`$as_dirname -- "$ac_file" ||
21871
23624
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21872
23625
         X"$ac_file" : 'X\(//\)[^/]' \| \
21873
23626
         X"$ac_file" : 'X\(//\)$' \| \
21874
 
         X"$ac_file" : 'X\(/\)' \| \
21875
 
         .     : '\(.\)' 2>/dev/null ||
21876
 
echo X"$ac_file" |
21877
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21878
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21879
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21880
 
          /^X\(\/\).*/{ s//\1/; q; }
21881
 
          s/.*/./; q'`
21882
 
  { if $as_mkdir_p; then
21883
 
    mkdir -p "$ac_dir"
21884
 
  else
21885
 
    as_dir="$ac_dir"
 
23627
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
23628
$as_echo X"$ac_file" |
 
23629
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23630
            s//\1/
 
23631
            q
 
23632
          }
 
23633
          /^X\(\/\/\)[^/].*/{
 
23634
            s//\1/
 
23635
            q
 
23636
          }
 
23637
          /^X\(\/\/\)$/{
 
23638
            s//\1/
 
23639
            q
 
23640
          }
 
23641
          /^X\(\/\).*/{
 
23642
            s//\1/
 
23643
            q
 
23644
          }
 
23645
          s/.*/./; q'`
 
23646
  { as_dir="$ac_dir"
 
23647
  case $as_dir in #(
 
23648
  -*) as_dir=./$as_dir;;
 
23649
  esac
 
23650
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
21886
23651
    as_dirs=
21887
 
    while test ! -d "$as_dir"; do
21888
 
      as_dirs="$as_dir $as_dirs"
21889
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
23652
    while :; do
 
23653
      case $as_dir in #(
 
23654
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
23655
      *) as_qdir=$as_dir;;
 
23656
      esac
 
23657
      as_dirs="'$as_qdir' $as_dirs"
 
23658
      as_dir=`$as_dirname -- "$as_dir" ||
21890
23659
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21891
23660
         X"$as_dir" : 'X\(//\)[^/]' \| \
21892
23661
         X"$as_dir" : 'X\(//\)$' \| \
21893
 
         X"$as_dir" : 'X\(/\)' \| \
21894
 
         .     : '\(.\)' 2>/dev/null ||
21895
 
echo X"$as_dir" |
21896
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21897
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21898
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21899
 
          /^X\(\/\).*/{ s//\1/; q; }
21900
 
          s/.*/./; q'`
 
23662
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
23663
$as_echo X"$as_dir" |
 
23664
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23665
            s//\1/
 
23666
            q
 
23667
          }
 
23668
          /^X\(\/\/\)[^/].*/{
 
23669
            s//\1/
 
23670
            q
 
23671
          }
 
23672
          /^X\(\/\/\)$/{
 
23673
            s//\1/
 
23674
            q
 
23675
          }
 
23676
          /^X\(\/\).*/{
 
23677
            s//\1/
 
23678
            q
 
23679
          }
 
23680
          s/.*/./; q'`
 
23681
      test -d "$as_dir" && break
21901
23682
    done
21902
 
    test ! -n "$as_dirs" || mkdir $as_dirs
21903
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21904
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
23683
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
23684
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
23685
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
21905
23686
   { (exit 1); exit 1; }; }; }
21906
 
 
21907
23687
  ac_builddir=.
21908
23688
 
21909
 
if test "$ac_dir" != .; then
21910
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21911
 
  # A "../" for each directory in $ac_dir_suffix.
21912
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21913
 
else
21914
 
  ac_dir_suffix= ac_top_builddir=
21915
 
fi
 
23689
case "$ac_dir" in
 
23690
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
23691
*)
 
23692
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
23693
  # A ".." for each directory in $ac_dir_suffix.
 
23694
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
23695
  case $ac_top_builddir_sub in
 
23696
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
23697
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
23698
  esac ;;
 
23699
esac
 
23700
ac_abs_top_builddir=$ac_pwd
 
23701
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
23702
# for backward compatibility:
 
23703
ac_top_builddir=$ac_top_build_prefix
21916
23704
 
21917
23705
case $srcdir in
21918
 
  .)  # No --srcdir option.  We are building in place.
 
23706
  .)  # We are building in place.
21919
23707
    ac_srcdir=.
21920
 
    if test -z "$ac_top_builddir"; then
21921
 
       ac_top_srcdir=.
21922
 
    else
21923
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21924
 
    fi ;;
21925
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
23708
    ac_top_srcdir=$ac_top_builddir_sub
 
23709
    ac_abs_top_srcdir=$ac_pwd ;;
 
23710
  [\\/]* | ?:[\\/]* )  # Absolute name.
21926
23711
    ac_srcdir=$srcdir$ac_dir_suffix;
21927
 
    ac_top_srcdir=$srcdir ;;
21928
 
  *) # Relative path.
21929
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21930
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
21931
 
esac
21932
 
 
21933
 
# Do not use `cd foo && pwd` to compute absolute paths, because
21934
 
# the directories may not exist.
21935
 
case `pwd` in
21936
 
.) ac_abs_builddir="$ac_dir";;
21937
 
*)
21938
 
  case "$ac_dir" in
21939
 
  .) ac_abs_builddir=`pwd`;;
21940
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21941
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
21942
 
  esac;;
21943
 
esac
21944
 
case $ac_abs_builddir in
21945
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
21946
 
*)
21947
 
  case ${ac_top_builddir}. in
21948
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
21949
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21950
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21951
 
  esac;;
21952
 
esac
21953
 
case $ac_abs_builddir in
21954
 
.) ac_abs_srcdir=$ac_srcdir;;
21955
 
*)
21956
 
  case $ac_srcdir in
21957
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
21958
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21959
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21960
 
  esac;;
21961
 
esac
21962
 
case $ac_abs_builddir in
21963
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
21964
 
*)
21965
 
  case $ac_top_srcdir in
21966
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
21967
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21968
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21969
 
  esac;;
21970
 
esac
21971
 
 
 
23712
    ac_top_srcdir=$srcdir
 
23713
    ac_abs_top_srcdir=$srcdir ;;
 
23714
  *) # Relative name.
 
23715
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
23716
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
23717
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
23718
esac
 
23719
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
23720
 
 
23721
 
 
23722
  case $ac_mode in
 
23723
  :F)
 
23724
  #
 
23725
  # CONFIG_FILE
 
23726
  #
21972
23727
 
21973
23728
  case $INSTALL in
21974
23729
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21975
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
21976
 
  esac
21977
 
 
21978
 
  if test x"$ac_file" != x-; then
21979
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
21980
 
echo "$as_me: creating $ac_file" >&6;}
21981
 
    rm -f "$ac_file"
21982
 
  fi
21983
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
21984
 
  # use $as_me), people would be surprised to read:
21985
 
  #    /* config.h.  Generated by config.status.  */
21986
 
  if test x"$ac_file" = x-; then
21987
 
    configure_input=
21988
 
  else
21989
 
    configure_input="$ac_file.  "
21990
 
  fi
21991
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
21992
 
                                     sed 's,.*/,,'` by configure."
21993
 
 
21994
 
  # First look for the input files in the build tree, otherwise in the
21995
 
  # src tree.
21996
 
  ac_file_inputs=`IFS=:
21997
 
    for f in $ac_file_in; do
21998
 
      case $f in
21999
 
      -) echo $tmp/stdin ;;
22000
 
      [\\/$]*)
22001
 
         # Absolute (can't be DOS-style, as IFS=:)
22002
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22003
 
echo "$as_me: error: cannot find input file: $f" >&2;}
22004
 
   { (exit 1); exit 1; }; }
22005
 
         echo "$f";;
22006
 
      *) # Relative
22007
 
         if test -f "$f"; then
22008
 
           # Build tree
22009
 
           echo "$f"
22010
 
         elif test -f "$srcdir/$f"; then
22011
 
           # Source tree
22012
 
           echo "$srcdir/$f"
22013
 
         else
22014
 
           # /dev/null tree
22015
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22016
 
echo "$as_me: error: cannot find input file: $f" >&2;}
22017
 
   { (exit 1); exit 1; }; }
22018
 
         fi;;
22019
 
      esac
22020
 
    done` || { (exit 1); exit 1; }
22021
 
_ACEOF
22022
 
cat >>$CONFIG_STATUS <<_ACEOF
22023
 
  sed "$ac_vpsub
 
23730
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
23731
  esac
 
23732
  ac_MKDIR_P=$MKDIR_P
 
23733
  case $MKDIR_P in
 
23734
  [\\/$]* | ?:[\\/]* ) ;;
 
23735
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
23736
  esac
 
23737
_ACEOF
 
23738
 
 
23739
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
23740
# If the template does not know about datarootdir, expand it.
 
23741
# FIXME: This hack should be removed a few years after 2.60.
 
23742
ac_datarootdir_hack=; ac_datarootdir_seen=
 
23743
 
 
23744
ac_sed_dataroot='
 
23745
/datarootdir/ {
 
23746
  p
 
23747
  q
 
23748
}
 
23749
/@datadir@/p
 
23750
/@docdir@/p
 
23751
/@infodir@/p
 
23752
/@localedir@/p
 
23753
/@mandir@/p
 
23754
'
 
23755
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
23756
*datarootdir*) ac_datarootdir_seen=yes;;
 
23757
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
23758
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
23759
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
23760
_ACEOF
 
23761
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
23762
  ac_datarootdir_hack='
 
23763
  s&@datadir@&$datadir&g
 
23764
  s&@docdir@&$docdir&g
 
23765
  s&@infodir@&$infodir&g
 
23766
  s&@localedir@&$localedir&g
 
23767
  s&@mandir@&$mandir&g
 
23768
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
23769
esac
 
23770
_ACEOF
 
23771
 
 
23772
# Neutralize VPATH when `$srcdir' = `.'.
 
23773
# Shell code in configure.ac might set extrasub.
 
23774
# FIXME: do we really want to maintain this feature?
 
23775
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
23776
ac_sed_extra="$ac_vpsub
22024
23777
$extrasub
22025
23778
_ACEOF
22026
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
23779
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22027
23780
:t
22028
23781
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22029
 
s,@configure_input@,$configure_input,;t t
22030
 
s,@srcdir@,$ac_srcdir,;t t
22031
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
22032
 
s,@top_srcdir@,$ac_top_srcdir,;t t
22033
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
22034
 
s,@builddir@,$ac_builddir,;t t
22035
 
s,@abs_builddir@,$ac_abs_builddir,;t t
22036
 
s,@top_builddir@,$ac_top_builddir,;t t
22037
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
22038
 
s,@INSTALL@,$ac_INSTALL,;t t
22039
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
22040
 
  rm -f $tmp/stdin
22041
 
  if test x"$ac_file" != x-; then
22042
 
    mv $tmp/out $ac_file
22043
 
  else
22044
 
    cat $tmp/out
22045
 
    rm -f $tmp/out
22046
 
  fi
22047
 
 
22048
 
done
22049
 
_ACEOF
22050
 
cat >>$CONFIG_STATUS <<\_ACEOF
22051
 
 
22052
 
#
22053
 
# CONFIG_HEADER section.
22054
 
#
22055
 
 
22056
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22057
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
22058
 
#
22059
 
# ac_d sets the value in "#define NAME VALUE" lines.
22060
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
22061
 
ac_dB='[         ].*$,\1#\2'
22062
 
ac_dC=' '
22063
 
ac_dD=',;t'
22064
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22065
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
22066
 
ac_uB='$,\1#\2define\3'
22067
 
ac_uC=' '
22068
 
ac_uD=',;t'
22069
 
 
22070
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
22071
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 
23782
s|@configure_input@|$ac_sed_conf_input|;t t
 
23783
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
23784
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
23785
s&@srcdir@&$ac_srcdir&;t t
 
23786
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
23787
s&@top_srcdir@&$ac_top_srcdir&;t t
 
23788
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
23789
s&@builddir@&$ac_builddir&;t t
 
23790
s&@abs_builddir@&$ac_abs_builddir&;t t
 
23791
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
23792
s&@INSTALL@&$ac_INSTALL&;t t
 
23793
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
23794
$ac_datarootdir_hack
 
23795
"
 
23796
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
23797
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
23798
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
23799
   { (exit 1); exit 1; }; }
 
23800
 
 
23801
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
23802
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
23803
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
23804
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
23805
which seems to be undefined.  Please make sure it is defined." >&5
 
23806
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
23807
which seems to be undefined.  Please make sure it is defined." >&2;}
 
23808
 
 
23809
  rm -f "$tmp/stdin"
22072
23810
  case $ac_file in
22073
 
  - | *:- | *:-:* ) # input from stdin
22074
 
        cat >$tmp/stdin
22075
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22076
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22077
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22078
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22079
 
  * )   ac_file_in=$ac_file.in ;;
22080
 
  esac
22081
 
 
22082
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
22083
 
echo "$as_me: creating $ac_file" >&6;}
22084
 
 
22085
 
  # First look for the input files in the build tree, otherwise in the
22086
 
  # src tree.
22087
 
  ac_file_inputs=`IFS=:
22088
 
    for f in $ac_file_in; do
22089
 
      case $f in
22090
 
      -) echo $tmp/stdin ;;
22091
 
      [\\/$]*)
22092
 
         # Absolute (can't be DOS-style, as IFS=:)
22093
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22094
 
echo "$as_me: error: cannot find input file: $f" >&2;}
22095
 
   { (exit 1); exit 1; }; }
22096
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
22097
 
         echo "$f";;
22098
 
      *) # Relative
22099
 
         if test -f "$f"; then
22100
 
           # Build tree
22101
 
           echo "$f"
22102
 
         elif test -f "$srcdir/$f"; then
22103
 
           # Source tree
22104
 
           echo "$srcdir/$f"
22105
 
         else
22106
 
           # /dev/null tree
22107
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22108
 
echo "$as_me: error: cannot find input file: $f" >&2;}
22109
 
   { (exit 1); exit 1; }; }
22110
 
         fi;;
22111
 
      esac
22112
 
    done` || { (exit 1); exit 1; }
22113
 
  # Remove the trailing spaces.
22114
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
22115
 
 
22116
 
_ACEOF
22117
 
 
22118
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
22119
 
# `conftest.undefs', that substitutes the proper values into
22120
 
# config.h.in to produce config.h.  The first handles `#define'
22121
 
# templates, and the second `#undef' templates.
22122
 
# And first: Protect against being on the right side of a sed subst in
22123
 
# config.status.  Protect against being in an unquoted here document
22124
 
# in config.status.
22125
 
rm -f conftest.defines conftest.undefs
22126
 
# Using a here document instead of a string reduces the quoting nightmare.
22127
 
# Putting comments in sed scripts is not portable.
22128
 
#
22129
 
# `end' is used to avoid that the second main sed command (meant for
22130
 
# 0-ary CPP macros) applies to n-ary macro definitions.
22131
 
# See the Autoconf documentation for `clear'.
22132
 
cat >confdef2sed.sed <<\_ACEOF
22133
 
s/[\\&,]/\\&/g
22134
 
s,[\\$`],\\&,g
22135
 
t clear
22136
 
: clear
22137
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
22138
 
t end
22139
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
22140
 
: end
22141
 
_ACEOF
22142
 
# If some macros were called several times there might be several times
22143
 
# the same #defines, which is useless.  Nevertheless, we may not want to
22144
 
# sort them, since we want the *last* AC-DEFINE to be honored.
22145
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
22146
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
22147
 
rm -f confdef2sed.sed
22148
 
 
22149
 
# This sed command replaces #undef with comments.  This is necessary, for
22150
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
22151
 
# on some systems where configure will not decide to define it.
22152
 
cat >>conftest.undefs <<\_ACEOF
22153
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
22154
 
_ACEOF
22155
 
 
22156
 
# Break up conftest.defines because some shells have a limit on the size
22157
 
# of here documents, and old seds have small limits too (100 cmds).
22158
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
22159
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
22160
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
22161
 
echo '  :' >>$CONFIG_STATUS
22162
 
rm -f conftest.tail
22163
 
while grep . conftest.defines >/dev/null
22164
 
do
22165
 
  # Write a limited-size here document to $tmp/defines.sed.
22166
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
22167
 
  # Speed up: don't consider the non `#define' lines.
22168
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
22169
 
  # Work around the forget-to-reset-the-flag bug.
22170
 
  echo 't clr' >>$CONFIG_STATUS
22171
 
  echo ': clr' >>$CONFIG_STATUS
22172
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
22173
 
  echo 'CEOF
22174
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
22175
 
  rm -f $tmp/in
22176
 
  mv $tmp/out $tmp/in
22177
 
' >>$CONFIG_STATUS
22178
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
22179
 
  rm -f conftest.defines
22180
 
  mv conftest.tail conftest.defines
22181
 
done
22182
 
rm -f conftest.defines
22183
 
echo '  fi # grep' >>$CONFIG_STATUS
22184
 
echo >>$CONFIG_STATUS
22185
 
 
22186
 
# Break up conftest.undefs because some shells have a limit on the size
22187
 
# of here documents, and old seds have small limits too (100 cmds).
22188
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
22189
 
rm -f conftest.tail
22190
 
while grep . conftest.undefs >/dev/null
22191
 
do
22192
 
  # Write a limited-size here document to $tmp/undefs.sed.
22193
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
22194
 
  # Speed up: don't consider the non `#undef'
22195
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
22196
 
  # Work around the forget-to-reset-the-flag bug.
22197
 
  echo 't clr' >>$CONFIG_STATUS
22198
 
  echo ': clr' >>$CONFIG_STATUS
22199
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
22200
 
  echo 'CEOF
22201
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
22202
 
  rm -f $tmp/in
22203
 
  mv $tmp/out $tmp/in
22204
 
' >>$CONFIG_STATUS
22205
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
22206
 
  rm -f conftest.undefs
22207
 
  mv conftest.tail conftest.undefs
22208
 
done
22209
 
rm -f conftest.undefs
22210
 
 
22211
 
cat >>$CONFIG_STATUS <<\_ACEOF
22212
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
22213
 
  # use $as_me), people would be surprised to read:
22214
 
  #    /* config.h.  Generated by config.status.  */
22215
 
  if test x"$ac_file" = x-; then
22216
 
    echo "/* Generated by configure.  */" >$tmp/config.h
22217
 
  else
22218
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
22219
 
  fi
22220
 
  cat $tmp/in >>$tmp/config.h
22221
 
  rm -f $tmp/in
 
23811
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
23812
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
23813
  esac \
 
23814
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
23815
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
23816
   { (exit 1); exit 1; }; }
 
23817
 ;;
 
23818
  :H)
 
23819
  #
 
23820
  # CONFIG_HEADER
 
23821
  #
22222
23822
  if test x"$ac_file" != x-; then
22223
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
22224
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22225
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
23823
    {
 
23824
      $as_echo "/* $configure_input  */" \
 
23825
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
23826
    } >"$tmp/config.h" \
 
23827
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
23828
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
23829
   { (exit 1); exit 1; }; }
 
23830
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
23831
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
23832
$as_echo "$as_me: $ac_file is unchanged" >&6;}
22226
23833
    else
22227
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
22228
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22229
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
22230
 
         X"$ac_file" : 'X\(//\)$' \| \
22231
 
         X"$ac_file" : 'X\(/\)' \| \
22232
 
         .     : '\(.\)' 2>/dev/null ||
22233
 
echo X"$ac_file" |
22234
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22235
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22236
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22237
 
          /^X\(\/\).*/{ s//\1/; q; }
22238
 
          s/.*/./; q'`
22239
 
      { if $as_mkdir_p; then
22240
 
    mkdir -p "$ac_dir"
22241
 
  else
22242
 
    as_dir="$ac_dir"
22243
 
    as_dirs=
22244
 
    while test ! -d "$as_dir"; do
22245
 
      as_dirs="$as_dir $as_dirs"
22246
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
22247
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22248
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
22249
 
         X"$as_dir" : 'X\(//\)$' \| \
22250
 
         X"$as_dir" : 'X\(/\)' \| \
22251
 
         .     : '\(.\)' 2>/dev/null ||
22252
 
echo X"$as_dir" |
22253
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22254
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22255
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22256
 
          /^X\(\/\).*/{ s//\1/; q; }
22257
 
          s/.*/./; q'`
22258
 
    done
22259
 
    test ! -n "$as_dirs" || mkdir $as_dirs
22260
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22261
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22262
 
   { (exit 1); exit 1; }; }; }
22263
 
 
22264
 
      rm -f $ac_file
22265
 
      mv $tmp/config.h $ac_file
 
23834
      rm -f "$ac_file"
 
23835
      mv "$tmp/config.h" "$ac_file" \
 
23836
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
23837
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
23838
   { (exit 1); exit 1; }; }
22266
23839
    fi
22267
23840
  else
22268
 
    cat $tmp/config.h
22269
 
    rm -f $tmp/config.h
 
23841
    $as_echo "/* $configure_input  */" \
 
23842
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
23843
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 
23844
$as_echo "$as_me: error: could not create -" >&2;}
 
23845
   { (exit 1); exit 1; }; }
22270
23846
  fi
22271
 
# Compute $ac_file's index in $config_headers.
 
23847
# Compute "$ac_file"'s index in $config_headers.
 
23848
_am_arg="$ac_file"
22272
23849
_am_stamp_count=1
22273
23850
for _am_header in $config_headers :; do
22274
23851
  case $_am_header in
22275
 
    $ac_file | $ac_file:* )
 
23852
    $_am_arg | $_am_arg:* )
22276
23853
      break ;;
22277
23854
    * )
22278
23855
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
22279
23856
  esac
22280
23857
done
22281
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
22282
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22283
 
         X$ac_file : 'X\(//\)[^/]' \| \
22284
 
         X$ac_file : 'X\(//\)$' \| \
22285
 
         X$ac_file : 'X\(/\)' \| \
22286
 
         .     : '\(.\)' 2>/dev/null ||
22287
 
echo X$ac_file |
22288
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22289
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22290
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22291
 
          /^X\(\/\).*/{ s//\1/; q; }
22292
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
22293
 
done
22294
 
_ACEOF
22295
 
cat >>$CONFIG_STATUS <<\_ACEOF
22296
 
 
22297
 
#
22298
 
# CONFIG_COMMANDS section.
22299
 
#
22300
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
22301
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
22302
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
22303
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
22304
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22305
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
22306
 
         X"$ac_dest" : 'X\(//\)$' \| \
22307
 
         X"$ac_dest" : 'X\(/\)' \| \
22308
 
         .     : '\(.\)' 2>/dev/null ||
22309
 
echo X"$ac_dest" |
22310
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22311
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22312
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22313
 
          /^X\(\/\).*/{ s//\1/; q; }
22314
 
          s/.*/./; q'`
22315
 
  { if $as_mkdir_p; then
22316
 
    mkdir -p "$ac_dir"
22317
 
  else
22318
 
    as_dir="$ac_dir"
22319
 
    as_dirs=
22320
 
    while test ! -d "$as_dir"; do
22321
 
      as_dirs="$as_dir $as_dirs"
22322
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
22323
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22324
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
22325
 
         X"$as_dir" : 'X\(//\)$' \| \
22326
 
         X"$as_dir" : 'X\(/\)' \| \
22327
 
         .     : '\(.\)' 2>/dev/null ||
22328
 
echo X"$as_dir" |
22329
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22330
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22331
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22332
 
          /^X\(\/\).*/{ s//\1/; q; }
22333
 
          s/.*/./; q'`
22334
 
    done
22335
 
    test ! -n "$as_dirs" || mkdir $as_dirs
22336
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22337
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22338
 
   { (exit 1); exit 1; }; }; }
22339
 
 
22340
 
  ac_builddir=.
22341
 
 
22342
 
if test "$ac_dir" != .; then
22343
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22344
 
  # A "../" for each directory in $ac_dir_suffix.
22345
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22346
 
else
22347
 
  ac_dir_suffix= ac_top_builddir=
22348
 
fi
22349
 
 
22350
 
case $srcdir in
22351
 
  .)  # No --srcdir option.  We are building in place.
22352
 
    ac_srcdir=.
22353
 
    if test -z "$ac_top_builddir"; then
22354
 
       ac_top_srcdir=.
22355
 
    else
22356
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
22357
 
    fi ;;
22358
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
22359
 
    ac_srcdir=$srcdir$ac_dir_suffix;
22360
 
    ac_top_srcdir=$srcdir ;;
22361
 
  *) # Relative path.
22362
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
22363
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
22364
 
esac
22365
 
 
22366
 
# Do not use `cd foo && pwd` to compute absolute paths, because
22367
 
# the directories may not exist.
22368
 
case `pwd` in
22369
 
.) ac_abs_builddir="$ac_dir";;
22370
 
*)
22371
 
  case "$ac_dir" in
22372
 
  .) ac_abs_builddir=`pwd`;;
22373
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
22374
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
22375
 
  esac;;
22376
 
esac
22377
 
case $ac_abs_builddir in
22378
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
22379
 
*)
22380
 
  case ${ac_top_builddir}. in
22381
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
22382
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
22383
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
22384
 
  esac;;
22385
 
esac
22386
 
case $ac_abs_builddir in
22387
 
.) ac_abs_srcdir=$ac_srcdir;;
22388
 
*)
22389
 
  case $ac_srcdir in
22390
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
22391
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
22392
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
22393
 
  esac;;
22394
 
esac
22395
 
case $ac_abs_builddir in
22396
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
22397
 
*)
22398
 
  case $ac_top_srcdir in
22399
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
22400
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
22401
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
22402
 
  esac;;
22403
 
esac
22404
 
 
22405
 
 
22406
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
22407
 
echo "$as_me: executing $ac_dest commands" >&6;}
22408
 
  case $ac_dest in
22409
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
23858
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
23859
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
23860
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
23861
         X"$_am_arg" : 'X\(//\)$' \| \
 
23862
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
23863
$as_echo X"$_am_arg" |
 
23864
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23865
            s//\1/
 
23866
            q
 
23867
          }
 
23868
          /^X\(\/\/\)[^/].*/{
 
23869
            s//\1/
 
23870
            q
 
23871
          }
 
23872
          /^X\(\/\/\)$/{
 
23873
            s//\1/
 
23874
            q
 
23875
          }
 
23876
          /^X\(\/\).*/{
 
23877
            s//\1/
 
23878
            q
 
23879
          }
 
23880
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
23881
 ;;
 
23882
 
 
23883
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
23884
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
23885
 ;;
 
23886
  esac
 
23887
 
 
23888
 
 
23889
  case $ac_file$ac_mode in
 
23890
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
22410
23891
  # Strip MF so we end up with the name of the file.
22411
23892
  mf=`echo "$mf" | sed -e 's/:.*$//'`
22412
23893
  # Check whether this is an Automake generated Makefile or not.
22414
23895
  # some people rename them; so instead we look at the file content.
22415
23896
  # Grep'ing the first line is not enough: some people post-process
22416
23897
  # each Makefile.in and add a new line on top of each file to say so.
22417
 
  # So let's grep whole file.
22418
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
22419
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
23898
  # Grep'ing the whole file is not good either: AIX grep has a line
 
23899
  # limit of 2048, but all sed's we know have understand at least 4000.
 
23900
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
23901
    dirpart=`$as_dirname -- "$mf" ||
22420
23902
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22421
23903
         X"$mf" : 'X\(//\)[^/]' \| \
22422
23904
         X"$mf" : 'X\(//\)$' \| \
22423
 
         X"$mf" : 'X\(/\)' \| \
22424
 
         .     : '\(.\)' 2>/dev/null ||
22425
 
echo X"$mf" |
22426
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22427
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22428
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22429
 
          /^X\(\/\).*/{ s//\1/; q; }
22430
 
          s/.*/./; q'`
 
23905
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
23906
$as_echo X"$mf" |
 
23907
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23908
            s//\1/
 
23909
            q
 
23910
          }
 
23911
          /^X\(\/\/\)[^/].*/{
 
23912
            s//\1/
 
23913
            q
 
23914
          }
 
23915
          /^X\(\/\/\)$/{
 
23916
            s//\1/
 
23917
            q
 
23918
          }
 
23919
          /^X\(\/\).*/{
 
23920
            s//\1/
 
23921
            q
 
23922
          }
 
23923
          s/.*/./; q'`
22431
23924
  else
22432
23925
    continue
22433
23926
  fi
22449
23942
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22450
23943
    # Make sure the directory exists.
22451
23944
    test -f "$dirpart/$file" && continue
22452
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
23945
    fdir=`$as_dirname -- "$file" ||
22453
23946
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22454
23947
         X"$file" : 'X\(//\)[^/]' \| \
22455
23948
         X"$file" : 'X\(//\)$' \| \
22456
 
         X"$file" : 'X\(/\)' \| \
22457
 
         .     : '\(.\)' 2>/dev/null ||
22458
 
echo X"$file" |
22459
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22460
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22461
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22462
 
          /^X\(\/\).*/{ s//\1/; q; }
22463
 
          s/.*/./; q'`
22464
 
    { if $as_mkdir_p; then
22465
 
    mkdir -p $dirpart/$fdir
22466
 
  else
22467
 
    as_dir=$dirpart/$fdir
 
23949
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
23950
$as_echo X"$file" |
 
23951
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23952
            s//\1/
 
23953
            q
 
23954
          }
 
23955
          /^X\(\/\/\)[^/].*/{
 
23956
            s//\1/
 
23957
            q
 
23958
          }
 
23959
          /^X\(\/\/\)$/{
 
23960
            s//\1/
 
23961
            q
 
23962
          }
 
23963
          /^X\(\/\).*/{
 
23964
            s//\1/
 
23965
            q
 
23966
          }
 
23967
          s/.*/./; q'`
 
23968
    { as_dir=$dirpart/$fdir
 
23969
  case $as_dir in #(
 
23970
  -*) as_dir=./$as_dir;;
 
23971
  esac
 
23972
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22468
23973
    as_dirs=
22469
 
    while test ! -d "$as_dir"; do
22470
 
      as_dirs="$as_dir $as_dirs"
22471
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
23974
    while :; do
 
23975
      case $as_dir in #(
 
23976
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
23977
      *) as_qdir=$as_dir;;
 
23978
      esac
 
23979
      as_dirs="'$as_qdir' $as_dirs"
 
23980
      as_dir=`$as_dirname -- "$as_dir" ||
22472
23981
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22473
23982
         X"$as_dir" : 'X\(//\)[^/]' \| \
22474
23983
         X"$as_dir" : 'X\(//\)$' \| \
22475
 
         X"$as_dir" : 'X\(/\)' \| \
22476
 
         .     : '\(.\)' 2>/dev/null ||
22477
 
echo X"$as_dir" |
22478
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22479
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22480
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22481
 
          /^X\(\/\).*/{ s//\1/; q; }
22482
 
          s/.*/./; q'`
 
23984
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
23985
$as_echo X"$as_dir" |
 
23986
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23987
            s//\1/
 
23988
            q
 
23989
          }
 
23990
          /^X\(\/\/\)[^/].*/{
 
23991
            s//\1/
 
23992
            q
 
23993
          }
 
23994
          /^X\(\/\/\)$/{
 
23995
            s//\1/
 
23996
            q
 
23997
          }
 
23998
          /^X\(\/\).*/{
 
23999
            s//\1/
 
24000
            q
 
24001
          }
 
24002
          s/.*/./; q'`
 
24003
      test -d "$as_dir" && break
22483
24004
    done
22484
 
    test ! -n "$as_dirs" || mkdir $as_dirs
22485
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
22486
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
24005
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
24006
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
24007
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
22487
24008
   { (exit 1); exit 1; }; }; }
22488
 
 
22489
24009
    # echo "creating $dirpart/$file"
22490
24010
    echo '# dummy' > "$dirpart/$file"
22491
24011
  done
22492
24012
done
22493
24013
 ;;
 
24014
 
22494
24015
  esac
22495
 
done
22496
 
_ACEOF
 
24016
done # for ac_tag
22497
24017
 
22498
 
cat >>$CONFIG_STATUS <<\_ACEOF
22499
24018
 
22500
24019
{ (exit 0); exit 0; }
22501
24020
_ACEOF
22502
24021
chmod +x $CONFIG_STATUS
22503
24022
ac_clean_files=$ac_clean_files_save
22504
24023
 
 
24024
test $ac_write_fail = 0 ||
 
24025
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 
24026
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 
24027
   { (exit 1); exit 1; }; }
 
24028
 
22505
24029
 
22506
24030
# configure is writing to config.log, and then calls config.status.
22507
24031
# config.status does its own redirection, appending to config.log.
22523
24047
  # would make configure fail if this is the last instruction.
22524
24048
  $ac_cs_success || { (exit 1); exit 1; }
22525
24049
fi
 
24050
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
24051
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
24052
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
24053
fi
22526
24054