~ubuntu-branches/ubuntu/wily/sblim-sfcb/wily

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Thierry Carrez
  • Date: 2009-06-08 12:04:49 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090608120449-byfplk09rqz8rtg6
Tags: 1.3.3-0ubuntu1
* New upstream release.
* debian/rules: Removed rpath hacks, SFCB default build handles that now.
* Removed 1934753-remove-assignment.diff, now upstream.
* Refreshed patch cim-schema-location.diff

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 Small Footprint CIM Broker 1.3.0.
 
3
# Generated by GNU Autoconf 2.63 for Small Footprint CIM Broker 1.3.3.
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='Small Footprint CIM Broker'
425
752
PACKAGE_TARNAME='sblim-sfcb'
426
 
PACKAGE_VERSION='1.3.0'
427
 
PACKAGE_STRING='Small Footprint CIM Broker 1.3.0'
 
753
PACKAGE_VERSION='1.3.3'
 
754
PACKAGE_STRING='Small Footprint CIM Broker 1.3.3'
428
755
PACKAGE_BUGREPORT='sblim-devel@lists.sourceforge.net'
429
756
 
430
757
ac_unique_file="providerDrv.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_subdirs_all="$ac_subdirs_all test"
469
 
ac_subdirs_all="$ac_subdirs_all mofc"
470
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP CIMSCHEMA_SOURCE CIMSCHEMA_MOF CIMSCHEMA_SUBDIRS SFCB_CONF_DOBASICAUTH SFCB_CONF_BASICAUTHLIB build build_cpu build_vendor build_os host host_cpu host_vendor host_os SFCB_CMPI_PLATFORM SFCB_CMPI_OS SFCB_LIBZ SFCB_CFLAGS SFCB_CPPFLAGS SFCB_LDFLAGS LEX LEXLIB LEX_OUTPUT_ROOT YACC LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL SFCB_CONF_HTTPS SFCB_CONF_HTTP ALLOCA LIBOBJS INIT_STYLE subdirs DOXYGEN MOFC_DIR INDICATIONS_TRUE INDICATIONS_FALSE JDBC_TRUE JDBC_FALSE SSL_TRUE SSL_FALSE SLP_TRUE SLP_FALSE SLP_ALONE_TRUE SLP_ALONE_FALSE QUALREP_TRUE QUALREP_FALSE PAM_TRUE PAM_FALSE DOCS_TRUE DOCS_FALSE IPV6_TRUE IPV6_FALSE LTLIBOBJS'
 
794
ac_header_list=
 
795
ac_func_list=
 
796
enable_option_checking=no
 
797
ac_subst_vars='LTLIBOBJS
 
798
LOCAL_CONNECT_ONLY_FALSE
 
799
LOCAL_CONNECT_ONLY_TRUE
 
800
LOCAL_CONNECT_NO_INDICATION_FALSE
 
801
LOCAL_CONNECT_NO_INDICATION_TRUE
 
802
IPV6_FALSE
 
803
IPV6_TRUE
 
804
DOCS_FALSE
 
805
DOCS_TRUE
 
806
PAM_FALSE
 
807
PAM_TRUE
 
808
QUALREP_FALSE
 
809
QUALREP_TRUE
 
810
SLP_ALONE_FALSE
 
811
SLP_ALONE_TRUE
 
812
SLP_HOSTNAME_LIB_FALSE
 
813
SLP_HOSTNAME_LIB_TRUE
 
814
SLP_FALSE
 
815
SLP_TRUE
 
816
SSL_FALSE
 
817
SSL_TRUE
 
818
JDBC_FALSE
 
819
JDBC_TRUE
 
820
INDICATIONS_FALSE
 
821
INDICATIONS_TRUE
 
822
MOFC_DIR
 
823
subdirs
 
824
DOXYGEN
 
825
INIT_STYLE
 
826
LIBOBJS
 
827
ALLOCA
 
828
SFCB_CONF_HTTP
 
829
SFCB_CONF_HTTPS
 
830
LOAD_INDICATION_PROVIDER
 
831
LIBTOOL
 
832
ac_ct_F77
 
833
FFLAGS
 
834
F77
 
835
CXXCPP
 
836
am__fastdepCXX_FALSE
 
837
am__fastdepCXX_TRUE
 
838
CXXDEPMODE
 
839
ac_ct_CXX
 
840
CXXFLAGS
 
841
CXX
 
842
NMEDIT
 
843
DSYMUTIL
 
844
RANLIB
 
845
AR
 
846
ECHO
 
847
LN_S
 
848
SED
 
849
YACC
 
850
LEXLIB
 
851
LEX_OUTPUT_ROOT
 
852
LEX
 
853
SFCB_LDFLAGS
 
854
SFCB_CPPFLAGS
 
855
SFCB_CFLAGS
 
856
SFCB_LIBZ
 
857
SFCB_CMPI_OS
 
858
SFCB_CMPI_PLATFORM
 
859
host_os
 
860
host_vendor
 
861
host_cpu
 
862
host
 
863
build_os
 
864
build_vendor
 
865
build_cpu
 
866
build
 
867
SFCB_CONF_BASICAUTHLIB
 
868
SFCB_CONF_DOBASICAUTH
 
869
LOAD_QUALIFIER_PROVIDER
 
870
TEST_SUBDIRS
 
871
CMDTEST_FALSE
 
872
CMDTEST_TRUE
 
873
XMLTEST_FALSE
 
874
XMLTEST_TRUE
 
875
WCTEST_FALSE
 
876
WCTEST_TRUE
 
877
GCOV_FALSE
 
878
GCOV_TRUE
 
879
UNITTEST_FALSE
 
880
UNITTEST_TRUE
 
881
TEST_ENABLED_FALSE
 
882
TEST_ENABLED_TRUE
 
883
CIMSCHEMA_SUBDIRS
 
884
CIMSCHEMA_MOF
 
885
CIMSCHEMA_SOURCE
 
886
EGREP
 
887
GREP
 
888
CPP
 
889
am__fastdepCC_FALSE
 
890
am__fastdepCC_TRUE
 
891
CCDEPMODE
 
892
AMDEPBACKSLASH
 
893
AMDEP_FALSE
 
894
AMDEP_TRUE
 
895
am__quote
 
896
am__include
 
897
DEPDIR
 
898
OBJEXT
 
899
EXEEXT
 
900
ac_ct_CC
 
901
CPPFLAGS
 
902
LDFLAGS
 
903
CFLAGS
 
904
CC
 
905
am__untar
 
906
am__tar
 
907
AMTAR
 
908
am__leading_dot
 
909
SET_MAKE
 
910
AWK
 
911
mkdir_p
 
912
MKDIR_P
 
913
INSTALL_STRIP_PROGRAM
 
914
STRIP
 
915
install_sh
 
916
MAKEINFO
 
917
AUTOHEADER
 
918
AUTOMAKE
 
919
AUTOCONF
 
920
ACLOCAL
 
921
VERSION
 
922
PACKAGE
 
923
CYGPATH_W
 
924
am__isrc
 
925
INSTALL_DATA
 
926
INSTALL_SCRIPT
 
927
INSTALL_PROGRAM
 
928
target_alias
 
929
host_alias
 
930
build_alias
 
931
LIBS
 
932
ECHO_T
 
933
ECHO_N
 
934
ECHO_C
 
935
DEFS
 
936
mandir
 
937
localedir
 
938
libdir
 
939
psdir
 
940
pdfdir
 
941
dvidir
 
942
htmldir
 
943
infodir
 
944
docdir
 
945
oldincludedir
 
946
includedir
 
947
localstatedir
 
948
sharedstatedir
 
949
sysconfdir
 
950
datadir
 
951
datarootdir
 
952
libexecdir
 
953
sbindir
 
954
bindir
 
955
program_transform_name
 
956
prefix
 
957
exec_prefix
 
958
PACKAGE_BUGREPORT
 
959
PACKAGE_STRING
 
960
PACKAGE_VERSION
 
961
PACKAGE_TARNAME
 
962
PACKAGE_NAME
 
963
PATH_SEPARATOR
 
964
SHELL'
471
965
ac_subst_files=''
 
966
ac_user_opts='
 
967
enable_option_checking
 
968
enable_debug
 
969
enable_large_volume_support
 
970
enable_ssl
 
971
enable_jdbc
 
972
enable_slp
 
973
enable_slp_hostname_lib
 
974
enable_qualifierrep
 
975
enable_indications
 
976
enable_local_connect_only
 
977
enable_default_properties
 
978
enable_optimized_enumeration
 
979
enable_pam
 
980
enable_docs
 
981
enable_ipv6
 
982
enable_tests
 
983
enable_uds
 
984
enable_dependency_tracking
 
985
enable_static
 
986
enable_shared
 
987
enable_fast_install
 
988
with_gnu_ld
 
989
enable_libtool_lock
 
990
with_pic
 
991
with_tags
 
992
'
 
993
      ac_precious_vars='build_alias
 
994
host_alias
 
995
target_alias
 
996
CC
 
997
CFLAGS
 
998
LDFLAGS
 
999
LIBS
 
1000
CPPFLAGS
 
1001
CPP
 
1002
CIMSCHEMA_SOURCE
 
1003
CIMSCHEMA_MOF
 
1004
CIMSCHEMA_SUBDIRS
 
1005
CXX
 
1006
CXXFLAGS
 
1007
CCC
 
1008
CXXCPP
 
1009
F77
 
1010
FFLAGS'
 
1011
ac_subdirs_all='mofc'
472
1012
 
473
1013
# Initialize some variables set by options.
474
1014
ac_init_help=
475
1015
ac_init_version=false
 
1016
ac_unrecognized_opts=
 
1017
ac_unrecognized_sep=
476
1018
# The variables have the same names as the options, with
477
1019
# dashes changed to underlines.
478
1020
cache_file=/dev/null
495
1037
# and all the variables that are supposed to be based on exec_prefix
496
1038
# by default will actually change.
497
1039
# Use braces instead of parens because sh, perl, etc. also accept them.
 
1040
# (The list follows the same order as the GNU Coding Standards.)
498
1041
bindir='${exec_prefix}/bin'
499
1042
sbindir='${exec_prefix}/sbin'
500
1043
libexecdir='${exec_prefix}/libexec'
501
 
datadir='${prefix}/share'
 
1044
datarootdir='${prefix}/share'
 
1045
datadir='${datarootdir}'
502
1046
sysconfdir='${prefix}/etc'
503
1047
sharedstatedir='${prefix}/com'
504
1048
localstatedir='${prefix}/var'
505
 
libdir='${exec_prefix}/lib'
506
1049
includedir='${prefix}/include'
507
1050
oldincludedir='/usr/include'
508
 
infodir='${prefix}/info'
509
 
mandir='${prefix}/man'
 
1051
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
1052
infodir='${datarootdir}/info'
 
1053
htmldir='${docdir}'
 
1054
dvidir='${docdir}'
 
1055
pdfdir='${docdir}'
 
1056
psdir='${docdir}'
 
1057
libdir='${exec_prefix}/lib'
 
1058
localedir='${datarootdir}/locale'
 
1059
mandir='${datarootdir}/man'
510
1060
 
511
1061
ac_prev=
 
1062
ac_dashdash=
512
1063
for ac_option
513
1064
do
514
1065
  # If the previous option needs an argument, assign it.
515
1066
  if test -n "$ac_prev"; then
516
 
    eval "$ac_prev=\$ac_option"
 
1067
    eval $ac_prev=\$ac_option
517
1068
    ac_prev=
518
1069
    continue
519
1070
  fi
520
1071
 
521
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
1072
  case $ac_option in
 
1073
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
1074
  *)    ac_optarg=yes ;;
 
1075
  esac
522
1076
 
523
1077
  # Accept the important Cygnus configure options, so we can diagnose typos.
524
1078
 
525
 
  case $ac_option in
 
1079
  case $ac_dashdash$ac_option in
 
1080
  --)
 
1081
    ac_dashdash=yes ;;
526
1082
 
527
1083
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
528
1084
    ac_prev=bindir ;;
544
1100
  --config-cache | -C)
545
1101
    cache_file=config.cache ;;
546
1102
 
547
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
1103
  -datadir | --datadir | --datadi | --datad)
548
1104
    ac_prev=datadir ;;
549
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
550
 
  | --da=*)
 
1105
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
551
1106
    datadir=$ac_optarg ;;
552
1107
 
 
1108
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1109
  | --dataroo | --dataro | --datar)
 
1110
    ac_prev=datarootdir ;;
 
1111
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1112
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1113
    datarootdir=$ac_optarg ;;
 
1114
 
553
1115
  -disable-* | --disable-*)
554
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1116
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
555
1117
    # Reject names that are not valid shell variable names.
556
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
557
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1118
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1119
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
558
1120
   { (exit 1); exit 1; }; }
559
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
560
 
    eval "enable_$ac_feature=no" ;;
 
1121
    ac_useropt_orig=$ac_useropt
 
1122
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1123
    case $ac_user_opts in
 
1124
      *"
 
1125
"enable_$ac_useropt"
 
1126
"*) ;;
 
1127
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1128
         ac_unrecognized_sep=', ';;
 
1129
    esac
 
1130
    eval enable_$ac_useropt=no ;;
 
1131
 
 
1132
  -docdir | --docdir | --docdi | --doc | --do)
 
1133
    ac_prev=docdir ;;
 
1134
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1135
    docdir=$ac_optarg ;;
 
1136
 
 
1137
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1138
    ac_prev=dvidir ;;
 
1139
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1140
    dvidir=$ac_optarg ;;
561
1141
 
562
1142
  -enable-* | --enable-*)
563
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1143
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
564
1144
    # Reject names that are not valid shell variable names.
565
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
566
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1145
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1146
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
567
1147
   { (exit 1); exit 1; }; }
568
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
569
 
    case $ac_option in
570
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
571
 
      *) ac_optarg=yes ;;
 
1148
    ac_useropt_orig=$ac_useropt
 
1149
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1150
    case $ac_user_opts in
 
1151
      *"
 
1152
"enable_$ac_useropt"
 
1153
"*) ;;
 
1154
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1155
         ac_unrecognized_sep=', ';;
572
1156
    esac
573
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
1157
    eval enable_$ac_useropt=\$ac_optarg ;;
574
1158
 
575
1159
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
576
1160
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
597
1181
  -host=* | --host=* | --hos=* | --ho=*)
598
1182
    host_alias=$ac_optarg ;;
599
1183
 
 
1184
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1185
    ac_prev=htmldir ;;
 
1186
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1187
  | --ht=*)
 
1188
    htmldir=$ac_optarg ;;
 
1189
 
600
1190
  -includedir | --includedir | --includedi | --included | --include \
601
1191
  | --includ | --inclu | --incl | --inc)
602
1192
    ac_prev=includedir ;;
621
1211
  | --libexe=* | --libex=* | --libe=*)
622
1212
    libexecdir=$ac_optarg ;;
623
1213
 
 
1214
  -localedir | --localedir | --localedi | --localed | --locale)
 
1215
    ac_prev=localedir ;;
 
1216
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1217
    localedir=$ac_optarg ;;
 
1218
 
624
1219
  -localstatedir | --localstatedir | --localstatedi | --localstated \
625
 
  | --localstate | --localstat | --localsta | --localst \
626
 
  | --locals | --local | --loca | --loc | --lo)
 
1220
  | --localstate | --localstat | --localsta | --localst | --locals)
627
1221
    ac_prev=localstatedir ;;
628
1222
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
629
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
630
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
1223
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
631
1224
    localstatedir=$ac_optarg ;;
632
1225
 
633
1226
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
692
1285
  | --progr-tra=* | --program-tr=* | --program-t=*)
693
1286
    program_transform_name=$ac_optarg ;;
694
1287
 
 
1288
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1289
    ac_prev=pdfdir ;;
 
1290
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1291
    pdfdir=$ac_optarg ;;
 
1292
 
 
1293
  -psdir | --psdir | --psdi | --psd | --ps)
 
1294
    ac_prev=psdir ;;
 
1295
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1296
    psdir=$ac_optarg ;;
 
1297
 
695
1298
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
696
1299
  | -silent | --silent | --silen | --sile | --sil)
697
1300
    silent=yes ;;
742
1345
    ac_init_version=: ;;
743
1346
 
744
1347
  -with-* | --with-*)
745
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1348
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
746
1349
    # Reject names that are not valid shell variable names.
747
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
748
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1350
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1351
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
749
1352
   { (exit 1); exit 1; }; }
750
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
751
 
    case $ac_option in
752
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
753
 
      *) ac_optarg=yes ;;
 
1353
    ac_useropt_orig=$ac_useropt
 
1354
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1355
    case $ac_user_opts in
 
1356
      *"
 
1357
"with_$ac_useropt"
 
1358
"*) ;;
 
1359
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1360
         ac_unrecognized_sep=', ';;
754
1361
    esac
755
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1362
    eval with_$ac_useropt=\$ac_optarg ;;
756
1363
 
757
1364
  -without-* | --without-*)
758
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1365
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
759
1366
    # Reject names that are not valid shell variable names.
760
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
761
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1367
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1368
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
762
1369
   { (exit 1); exit 1; }; }
763
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
764
 
    eval "with_$ac_package=no" ;;
 
1370
    ac_useropt_orig=$ac_useropt
 
1371
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1372
    case $ac_user_opts in
 
1373
      *"
 
1374
"with_$ac_useropt"
 
1375
"*) ;;
 
1376
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1377
         ac_unrecognized_sep=', ';;
 
1378
    esac
 
1379
    eval with_$ac_useropt=no ;;
765
1380
 
766
1381
  --x)
767
1382
    # Obsolete; use --with-x.
781
1396
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
782
1397
    x_libraries=$ac_optarg ;;
783
1398
 
784
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
1399
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
785
1400
Try \`$0 --help' for more information." >&2
786
1401
   { (exit 1); exit 1; }; }
787
1402
    ;;
790
1405
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
791
1406
    # Reject names that are not valid shell variable names.
792
1407
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
793
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1408
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
794
1409
   { (exit 1); exit 1; }; }
795
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
796
 
    eval "$ac_envvar='$ac_optarg'"
 
1410
    eval $ac_envvar=\$ac_optarg
797
1411
    export $ac_envvar ;;
798
1412
 
799
1413
  *)
800
1414
    # FIXME: should be removed in autoconf 3.0.
801
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1415
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
802
1416
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
803
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1417
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
804
1418
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
805
1419
    ;;
806
1420
 
809
1423
 
810
1424
if test -n "$ac_prev"; then
811
1425
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
812
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
813
 
   { (exit 1); exit 1; }; }
814
 
fi
815
 
 
816
 
# Be sure to have absolute paths.
817
 
for ac_var in exec_prefix prefix
818
 
do
819
 
  eval ac_val=$`echo $ac_var`
820
 
  case $ac_val in
821
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
822
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
823
 
   { (exit 1); exit 1; }; };;
824
 
  esac
825
 
done
826
 
 
827
 
# Be sure to have absolute paths.
828
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
829
 
              localstatedir libdir includedir oldincludedir infodir mandir
830
 
do
831
 
  eval ac_val=$`echo $ac_var`
832
 
  case $ac_val in
833
 
    [\\/$]* | ?:[\\/]* ) ;;
834
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
835
 
   { (exit 1); exit 1; }; };;
836
 
  esac
 
1426
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
 
1427
   { (exit 1); exit 1; }; }
 
1428
fi
 
1429
 
 
1430
if test -n "$ac_unrecognized_opts"; then
 
1431
  case $enable_option_checking in
 
1432
    no) ;;
 
1433
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
 
1434
   { (exit 1); exit 1; }; } ;;
 
1435
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1436
  esac
 
1437
fi
 
1438
 
 
1439
# Check all directory arguments for consistency.
 
1440
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1441
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1442
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1443
                libdir localedir mandir
 
1444
do
 
1445
  eval ac_val=\$$ac_var
 
1446
  # Remove trailing slashes.
 
1447
  case $ac_val in
 
1448
    */ )
 
1449
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1450
      eval $ac_var=\$ac_val;;
 
1451
  esac
 
1452
  # Be sure to have absolute directory names.
 
1453
  case $ac_val in
 
1454
    [\\/$]* | ?:[\\/]* )  continue;;
 
1455
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1456
  esac
 
1457
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1458
   { (exit 1); exit 1; }; }
837
1459
done
838
1460
 
839
1461
# There might be people who depend on the old broken behavior: `$host'
847
1469
if test "x$host_alias" != x; then
848
1470
  if test "x$build_alias" = x; then
849
1471
    cross_compiling=maybe
850
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1472
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
851
1473
    If a cross compiler is detected then cross compile mode will be used." >&2
852
1474
  elif test "x$build_alias" != "x$host_alias"; then
853
1475
    cross_compiling=yes
860
1482
test "$silent" = yes && exec 6>/dev/null
861
1483
 
862
1484
 
 
1485
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1486
ac_ls_di=`ls -di .` &&
 
1487
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1488
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
 
1489
   { (exit 1); exit 1; }; }
 
1490
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1491
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
 
1492
   { (exit 1); exit 1; }; }
 
1493
 
 
1494
 
863
1495
# Find the source files, if location was not specified.
864
1496
if test -z "$srcdir"; then
865
1497
  ac_srcdir_defaulted=yes
866
 
  # Try the directory containing this script, then its parent.
867
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
868
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
869
 
         X"$0" : 'X\(//\)[^/]' \| \
870
 
         X"$0" : 'X\(//\)$' \| \
871
 
         X"$0" : 'X\(/\)' \| \
872
 
         .     : '\(.\)' 2>/dev/null ||
873
 
echo X"$0" |
874
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
875
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
876
 
          /^X\(\/\/\)$/{ s//\1/; q; }
877
 
          /^X\(\/\).*/{ s//\1/; q; }
878
 
          s/.*/./; q'`
 
1498
  # Try the directory containing this script, then the parent directory.
 
1499
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1500
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1501
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1502
         X"$as_myself" : 'X\(//\)$' \| \
 
1503
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1504
$as_echo X"$as_myself" |
 
1505
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1506
            s//\1/
 
1507
            q
 
1508
          }
 
1509
          /^X\(\/\/\)[^/].*/{
 
1510
            s//\1/
 
1511
            q
 
1512
          }
 
1513
          /^X\(\/\/\)$/{
 
1514
            s//\1/
 
1515
            q
 
1516
          }
 
1517
          /^X\(\/\).*/{
 
1518
            s//\1/
 
1519
            q
 
1520
          }
 
1521
          s/.*/./; q'`
879
1522
  srcdir=$ac_confdir
880
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1523
  if test ! -r "$srcdir/$ac_unique_file"; then
881
1524
    srcdir=..
882
1525
  fi
883
1526
else
884
1527
  ac_srcdir_defaulted=no
885
1528
fi
886
 
if test ! -r $srcdir/$ac_unique_file; then
887
 
  if test "$ac_srcdir_defaulted" = yes; then
888
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
889
 
   { (exit 1); exit 1; }; }
890
 
  else
891
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
892
 
   { (exit 1); exit 1; }; }
893
 
  fi
894
 
fi
895
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
896
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
897
 
   { (exit 1); exit 1; }; }
898
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
899
 
ac_env_build_alias_set=${build_alias+set}
900
 
ac_env_build_alias_value=$build_alias
901
 
ac_cv_env_build_alias_set=${build_alias+set}
902
 
ac_cv_env_build_alias_value=$build_alias
903
 
ac_env_host_alias_set=${host_alias+set}
904
 
ac_env_host_alias_value=$host_alias
905
 
ac_cv_env_host_alias_set=${host_alias+set}
906
 
ac_cv_env_host_alias_value=$host_alias
907
 
ac_env_target_alias_set=${target_alias+set}
908
 
ac_env_target_alias_value=$target_alias
909
 
ac_cv_env_target_alias_set=${target_alias+set}
910
 
ac_cv_env_target_alias_value=$target_alias
911
 
ac_env_CC_set=${CC+set}
912
 
ac_env_CC_value=$CC
913
 
ac_cv_env_CC_set=${CC+set}
914
 
ac_cv_env_CC_value=$CC
915
 
ac_env_CFLAGS_set=${CFLAGS+set}
916
 
ac_env_CFLAGS_value=$CFLAGS
917
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
918
 
ac_cv_env_CFLAGS_value=$CFLAGS
919
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
920
 
ac_env_LDFLAGS_value=$LDFLAGS
921
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
922
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
923
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
924
 
ac_env_CPPFLAGS_value=$CPPFLAGS
925
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
926
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
927
 
ac_env_CPP_set=${CPP+set}
928
 
ac_env_CPP_value=$CPP
929
 
ac_cv_env_CPP_set=${CPP+set}
930
 
ac_cv_env_CPP_value=$CPP
931
 
ac_env_CIMSCHEMA_SOURCE_set=${CIMSCHEMA_SOURCE+set}
932
 
ac_env_CIMSCHEMA_SOURCE_value=$CIMSCHEMA_SOURCE
933
 
ac_cv_env_CIMSCHEMA_SOURCE_set=${CIMSCHEMA_SOURCE+set}
934
 
ac_cv_env_CIMSCHEMA_SOURCE_value=$CIMSCHEMA_SOURCE
935
 
ac_env_CIMSCHEMA_MOF_set=${CIMSCHEMA_MOF+set}
936
 
ac_env_CIMSCHEMA_MOF_value=$CIMSCHEMA_MOF
937
 
ac_cv_env_CIMSCHEMA_MOF_set=${CIMSCHEMA_MOF+set}
938
 
ac_cv_env_CIMSCHEMA_MOF_value=$CIMSCHEMA_MOF
939
 
ac_env_CIMSCHEMA_SUBDIRS_set=${CIMSCHEMA_SUBDIRS+set}
940
 
ac_env_CIMSCHEMA_SUBDIRS_value=$CIMSCHEMA_SUBDIRS
941
 
ac_cv_env_CIMSCHEMA_SUBDIRS_set=${CIMSCHEMA_SUBDIRS+set}
942
 
ac_cv_env_CIMSCHEMA_SUBDIRS_value=$CIMSCHEMA_SUBDIRS
943
 
ac_env_CXX_set=${CXX+set}
944
 
ac_env_CXX_value=$CXX
945
 
ac_cv_env_CXX_set=${CXX+set}
946
 
ac_cv_env_CXX_value=$CXX
947
 
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
948
 
ac_env_CXXFLAGS_value=$CXXFLAGS
949
 
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
950
 
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
951
 
ac_env_CXXCPP_set=${CXXCPP+set}
952
 
ac_env_CXXCPP_value=$CXXCPP
953
 
ac_cv_env_CXXCPP_set=${CXXCPP+set}
954
 
ac_cv_env_CXXCPP_value=$CXXCPP
955
 
ac_env_F77_set=${F77+set}
956
 
ac_env_F77_value=$F77
957
 
ac_cv_env_F77_set=${F77+set}
958
 
ac_cv_env_F77_value=$F77
959
 
ac_env_FFLAGS_set=${FFLAGS+set}
960
 
ac_env_FFLAGS_value=$FFLAGS
961
 
ac_cv_env_FFLAGS_set=${FFLAGS+set}
962
 
ac_cv_env_FFLAGS_value=$FFLAGS
 
1529
if test ! -r "$srcdir/$ac_unique_file"; then
 
1530
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1531
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1532
   { (exit 1); exit 1; }; }
 
1533
fi
 
1534
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1535
ac_abs_confdir=`(
 
1536
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
 
1537
   { (exit 1); exit 1; }; }
 
1538
        pwd)`
 
1539
# When building in place, set srcdir=.
 
1540
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1541
  srcdir=.
 
1542
fi
 
1543
# Remove unnecessary trailing slashes from srcdir.
 
1544
# Double slashes in file names in object file debugging info
 
1545
# mess up M-x gdb in Emacs.
 
1546
case $srcdir in
 
1547
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1548
esac
 
1549
for ac_var in $ac_precious_vars; do
 
1550
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1551
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1552
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1553
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1554
done
963
1555
 
964
1556
#
965
1557
# Report the --help message.
968
1560
  # Omit some internal or obsolete options to make the list less imposing.
969
1561
  # This message is too long to be a string in the A/UX 3.1 sh.
970
1562
  cat <<_ACEOF
971
 
\`configure' configures Small Footprint CIM Broker 1.3.0 to adapt to many kinds of systems.
 
1563
\`configure' configures Small Footprint CIM Broker 1.3.3 to adapt to many kinds of systems.
972
1564
 
973
1565
Usage: $0 [OPTION]... [VAR=VALUE]...
974
1566
 
988
1580
  -n, --no-create         do not create output files
989
1581
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
990
1582
 
991
 
_ACEOF
992
 
 
993
 
  cat <<_ACEOF
994
1583
Installation directories:
995
1584
  --prefix=PREFIX         install architecture-independent files in PREFIX
996
 
                          [$ac_default_prefix]
 
1585
                          [$ac_default_prefix]
997
1586
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
998
 
                          [PREFIX]
 
1587
                          [PREFIX]
999
1588
 
1000
1589
By default, \`make install' will install all the files in
1001
1590
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1005
1594
For better control, use the options below.
1006
1595
 
1007
1596
Fine tuning of the installation directories:
1008
 
  --bindir=DIR           user executables [EPREFIX/bin]
1009
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1010
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1011
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
1012
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1013
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1014
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1015
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1016
 
  --includedir=DIR       C header files [PREFIX/include]
1017
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1018
 
  --infodir=DIR          info documentation [PREFIX/info]
1019
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1597
  --bindir=DIR            user executables [EPREFIX/bin]
 
1598
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1599
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1600
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1601
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1602
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1603
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1604
  --includedir=DIR        C header files [PREFIX/include]
 
1605
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1606
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1607
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1608
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1609
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1610
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1611
  --docdir=DIR            documentation root [DATAROOTDIR/doc/sblim-sfcb]
 
1612
  --htmldir=DIR           html documentation [DOCDIR]
 
1613
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1614
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1615
  --psdir=DIR             ps documentation [DOCDIR]
1020
1616
_ACEOF
1021
1617
 
1022
1618
  cat <<\_ACEOF
1034
1630
 
1035
1631
if test -n "$ac_init_help"; then
1036
1632
  case $ac_init_help in
1037
 
     short | recursive ) echo "Configuration of Small Footprint CIM Broker 1.3.0:";;
 
1633
     short | recursive ) echo "Configuration of Small Footprint CIM Broker 1.3.3:";;
1038
1634
   esac
1039
1635
  cat <<\_ACEOF
1040
1636
 
1041
1637
Optional Features:
 
1638
  --disable-option-checking  ignore unrecognized --enable/--with options
1042
1639
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1043
1640
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1044
1641
  --disable-debug         disable debug mode for SFCB.
1049
1646
  --enable-jdbc           include server-side JDBC support for SFCB -
1050
1647
                          EXPERIMENTAL.
1051
1648
  --enable-slp            include slp agent for SFCB - EXPERIMENTAL.
 
1649
  --enable-slp-hostname-lib
 
1650
                          aquire hostname for slp registration from external
 
1651
                          library.
1052
1652
  --disable-qualifierrep  disable qualifier repository support.
1053
1653
  --disable-indications   disable indication support for SFCB
 
1654
  --enable-local-connect-only
 
1655
                          SFCB will only support local connection. Http server
 
1656
                          will not be built.
1054
1657
  --disable-default-properties
1055
1658
                          disable generation of default instance properties
1056
1659
                          for SFCB.
1060
1663
  --enable-pam            Enable PAM Basic authentication support for SFCB.
1061
1664
  --enable-docs           Enable generation of API documentation.
1062
1665
  --enable-ipv6           include ipv6 support for SFCB.
 
1666
  --enable-tests(=TESTS)  Enable listed tests. If none are listed, all are
 
1667
                          enabled.
 
1668
  --enable-uds            Enable UDS authentication.
1063
1669
  --disable-dependency-tracking  speeds up one-time build
1064
1670
  --enable-dependency-tracking   do not reject slow dependency extractors
1065
 
  --enable-static[=PKGS]
1066
 
                          build static libraries [default=no]
1067
 
  --enable-shared[=PKGS]
1068
 
                          build shared libraries [default=yes]
 
1671
  --enable-static[=PKGS]  build static libraries [default=no]
 
1672
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1069
1673
  --enable-fast-install[=PKGS]
1070
1674
                          optimize for fast installation [default=yes]
1071
1675
  --disable-libtool-lock  avoid locking (might break parallel builds)
1076
1680
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1077
1681
  --with-pic              try to use only PIC/non-PIC objects [default=use
1078
1682
                          both]
1079
 
  --with-tags[=TAGS]
1080
 
                          include additional configurations [automatic]
 
1683
  --with-tags[=TAGS]      include additional configurations [automatic]
1081
1684
 
1082
1685
Some influential environment variables:
1083
1686
  CC          C compiler command
1084
1687
  CFLAGS      C compiler flags
1085
1688
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1086
1689
              nonstandard directory <lib dir>
1087
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1088
 
              headers in a nonstandard directory <include dir>
 
1690
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1691
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1692
              you have headers in a nonstandard directory <include dir>
1089
1693
  CPP         C preprocessor
1090
1694
  CIMSCHEMA_SOURCE
1091
1695
              The URL or path name of the CIM Schema ZIP File.
1105
1709
 
1106
1710
Report bugs to <sblim-devel@lists.sourceforge.net>.
1107
1711
_ACEOF
 
1712
ac_status=$?
1108
1713
fi
1109
1714
 
1110
1715
if test "$ac_init_help" = "recursive"; then
1111
1716
  # If there are subdirs, report their specific --help.
1112
 
  ac_popdir=`pwd`
1113
1717
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1114
 
    test -d $ac_dir || continue
 
1718
    test -d "$ac_dir" ||
 
1719
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1720
      continue
1115
1721
    ac_builddir=.
1116
1722
 
1117
 
if test "$ac_dir" != .; then
1118
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1119
 
  # A "../" for each directory in $ac_dir_suffix.
1120
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1121
 
else
1122
 
  ac_dir_suffix= ac_top_builddir=
1123
 
fi
 
1723
case "$ac_dir" in
 
1724
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1725
*)
 
1726
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1727
  # A ".." for each directory in $ac_dir_suffix.
 
1728
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1729
  case $ac_top_builddir_sub in
 
1730
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1731
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1732
  esac ;;
 
1733
esac
 
1734
ac_abs_top_builddir=$ac_pwd
 
1735
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1736
# for backward compatibility:
 
1737
ac_top_builddir=$ac_top_build_prefix
1124
1738
 
1125
1739
case $srcdir in
1126
 
  .)  # No --srcdir option.  We are building in place.
 
1740
  .)  # We are building in place.
1127
1741
    ac_srcdir=.
1128
 
    if test -z "$ac_top_builddir"; then
1129
 
       ac_top_srcdir=.
1130
 
    else
1131
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1132
 
    fi ;;
1133
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1742
    ac_top_srcdir=$ac_top_builddir_sub
 
1743
    ac_abs_top_srcdir=$ac_pwd ;;
 
1744
  [\\/]* | ?:[\\/]* )  # Absolute name.
1134
1745
    ac_srcdir=$srcdir$ac_dir_suffix;
1135
 
    ac_top_srcdir=$srcdir ;;
1136
 
  *) # Relative path.
1137
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1138
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1139
 
esac
1140
 
 
1141
 
# Do not use `cd foo && pwd` to compute absolute paths, because
1142
 
# the directories may not exist.
1143
 
case `pwd` in
1144
 
.) ac_abs_builddir="$ac_dir";;
1145
 
*)
1146
 
  case "$ac_dir" in
1147
 
  .) ac_abs_builddir=`pwd`;;
1148
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1149
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1150
 
  esac;;
1151
 
esac
1152
 
case $ac_abs_builddir in
1153
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1154
 
*)
1155
 
  case ${ac_top_builddir}. in
1156
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
1157
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1158
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1159
 
  esac;;
1160
 
esac
1161
 
case $ac_abs_builddir in
1162
 
.) ac_abs_srcdir=$ac_srcdir;;
1163
 
*)
1164
 
  case $ac_srcdir in
1165
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
1166
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1167
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1168
 
  esac;;
1169
 
esac
1170
 
case $ac_abs_builddir in
1171
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1172
 
*)
1173
 
  case $ac_top_srcdir in
1174
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1175
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1176
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1177
 
  esac;;
1178
 
esac
1179
 
 
1180
 
    cd $ac_dir
1181
 
    # Check for guested configure; otherwise get Cygnus style configure.
1182
 
    if test -f $ac_srcdir/configure.gnu; then
1183
 
      echo
1184
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1185
 
    elif test -f $ac_srcdir/configure; then
1186
 
      echo
1187
 
      $SHELL $ac_srcdir/configure  --help=recursive
1188
 
    elif test -f $ac_srcdir/configure.ac ||
1189
 
           test -f $ac_srcdir/configure.in; then
1190
 
      echo
1191
 
      $ac_configure --help
 
1746
    ac_top_srcdir=$srcdir
 
1747
    ac_abs_top_srcdir=$srcdir ;;
 
1748
  *) # Relative name.
 
1749
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1750
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1751
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1752
esac
 
1753
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1754
 
 
1755
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1756
    # Check for guested configure.
 
1757
    if test -f "$ac_srcdir/configure.gnu"; then
 
1758
      echo &&
 
1759
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1760
    elif test -f "$ac_srcdir/configure"; then
 
1761
      echo &&
 
1762
      $SHELL "$ac_srcdir/configure" --help=recursive
1192
1763
    else
1193
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1194
 
    fi
1195
 
    cd $ac_popdir
 
1764
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1765
    fi || ac_status=$?
 
1766
    cd "$ac_pwd" || { ac_status=$?; break; }
1196
1767
  done
1197
1768
fi
1198
1769
 
1199
 
test -n "$ac_init_help" && exit 0
 
1770
test -n "$ac_init_help" && exit $ac_status
1200
1771
if $ac_init_version; then
1201
1772
  cat <<\_ACEOF
1202
 
Small Footprint CIM Broker configure 1.3.0
1203
 
generated by GNU Autoconf 2.59
 
1773
Small Footprint CIM Broker configure 1.3.3
 
1774
generated by GNU Autoconf 2.63
1204
1775
 
1205
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1776
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1777
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1206
1778
This configure script is free software; the Free Software Foundation
1207
1779
gives unlimited permission to copy, distribute and modify it.
1208
1780
_ACEOF
1209
 
  exit 0
 
1781
  exit
1210
1782
fi
1211
 
exec 5>config.log
1212
 
cat >&5 <<_ACEOF
 
1783
cat >config.log <<_ACEOF
1213
1784
This file contains any messages produced by compilers while
1214
1785
running configure, to aid debugging if configure makes a mistake.
1215
1786
 
1216
 
It was created by Small Footprint CIM Broker $as_me 1.3.0, which was
1217
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1787
It was created by Small Footprint CIM Broker $as_me 1.3.3, which was
 
1788
generated by GNU Autoconf 2.63.  Invocation command line was
1218
1789
 
1219
1790
  $ $0 $@
1220
1791
 
1221
1792
_ACEOF
 
1793
exec 5>>config.log
1222
1794
{
1223
1795
cat <<_ASUNAME
1224
1796
## --------- ##
1237
1809
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1238
1810
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1239
1811
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1240
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1812
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1241
1813
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1242
1814
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1243
1815
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1249
1821
do
1250
1822
  IFS=$as_save_IFS
1251
1823
  test -z "$as_dir" && as_dir=.
1252
 
  echo "PATH: $as_dir"
 
1824
  $as_echo "PATH: $as_dir"
1253
1825
done
 
1826
IFS=$as_save_IFS
1254
1827
 
1255
1828
} >&5
1256
1829
 
1272
1845
ac_configure_args=
1273
1846
ac_configure_args0=
1274
1847
ac_configure_args1=
1275
 
ac_sep=
1276
1848
ac_must_keep_next=false
1277
1849
for ac_pass in 1 2
1278
1850
do
1283
1855
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1284
1856
    | -silent | --silent | --silen | --sile | --sil)
1285
1857
      continue ;;
1286
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1287
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1858
    *\'*)
 
1859
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1288
1860
    esac
1289
1861
    case $ac_pass in
1290
1862
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1305
1877
          -* ) ac_must_keep_next=true ;;
1306
1878
        esac
1307
1879
      fi
1308
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1309
 
      # Get rid of the leading space.
1310
 
      ac_sep=" "
 
1880
      ac_configure_args="$ac_configure_args '$ac_arg'"
1311
1881
      ;;
1312
1882
    esac
1313
1883
  done
1318
1888
# When interrupted or exit'd, cleanup temporary files, and complete
1319
1889
# config.log.  We remove comments because anyway the quotes in there
1320
1890
# would cause problems or look ugly.
1321
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1322
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1891
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1892
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1323
1893
trap 'exit_status=$?
1324
1894
  # Save into config.log some information that might help in debugging.
1325
1895
  {
1332
1902
_ASBOX
1333
1903
    echo
1334
1904
    # The following way of writing the cache mishandles newlines in values,
1335
 
{
 
1905
(
 
1906
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1907
    eval ac_val=\$$ac_var
 
1908
    case $ac_val in #(
 
1909
    *${as_nl}*)
 
1910
      case $ac_var in #(
 
1911
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1912
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
1913
      esac
 
1914
      case $ac_var in #(
 
1915
      _ | IFS | as_nl) ;; #(
 
1916
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
1917
      *) $as_unset $ac_var ;;
 
1918
      esac ;;
 
1919
    esac
 
1920
  done
1336
1921
  (set) 2>&1 |
1337
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1338
 
    *ac_space=\ *)
 
1922
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1923
    *${as_nl}ac_space=\ *)
1339
1924
      sed -n \
1340
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1341
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1342
 
      ;;
 
1925
        "s/'\''/'\''\\\\'\'''\''/g;
 
1926
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1927
      ;; #(
1343
1928
    *)
1344
 
      sed -n \
1345
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1929
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1346
1930
      ;;
1347
 
    esac;
1348
 
}
 
1931
    esac |
 
1932
    sort
 
1933
)
1349
1934
    echo
1350
1935
 
1351
1936
    cat <<\_ASBOX
1356
1941
    echo
1357
1942
    for ac_var in $ac_subst_vars
1358
1943
    do
1359
 
      eval ac_val=$`echo $ac_var`
1360
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1944
      eval ac_val=\$$ac_var
 
1945
      case $ac_val in
 
1946
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1947
      esac
 
1948
      $as_echo "$ac_var='\''$ac_val'\''"
1361
1949
    done | sort
1362
1950
    echo
1363
1951
 
1364
1952
    if test -n "$ac_subst_files"; then
1365
1953
      cat <<\_ASBOX
1366
 
## ------------- ##
1367
 
## Output files. ##
1368
 
## ------------- ##
 
1954
## ------------------- ##
 
1955
## File substitutions. ##
 
1956
## ------------------- ##
1369
1957
_ASBOX
1370
1958
      echo
1371
1959
      for ac_var in $ac_subst_files
1372
1960
      do
1373
 
        eval ac_val=$`echo $ac_var`
1374
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1961
        eval ac_val=\$$ac_var
 
1962
        case $ac_val in
 
1963
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1964
        esac
 
1965
        $as_echo "$ac_var='\''$ac_val'\''"
1375
1966
      done | sort
1376
1967
      echo
1377
1968
    fi
1383
1974
## ----------- ##
1384
1975
_ASBOX
1385
1976
      echo
1386
 
      sed "/^$/d" confdefs.h | sort
 
1977
      cat confdefs.h
1387
1978
      echo
1388
1979
    fi
1389
1980
    test "$ac_signal" != 0 &&
1390
 
      echo "$as_me: caught signal $ac_signal"
1391
 
    echo "$as_me: exit $exit_status"
 
1981
      $as_echo "$as_me: caught signal $ac_signal"
 
1982
    $as_echo "$as_me: exit $exit_status"
1392
1983
  } >&5
1393
 
  rm -f core *.core &&
1394
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1984
  rm -f core *.core core.conftest.* &&
 
1985
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1395
1986
    exit $exit_status
1396
 
     ' 0
 
1987
' 0
1397
1988
for ac_signal in 1 2 13 15; do
1398
1989
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1399
1990
done
1400
1991
ac_signal=0
1401
1992
 
1402
1993
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1403
 
rm -rf conftest* confdefs.h
1404
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1405
 
echo >confdefs.h
 
1994
rm -f -r conftest* confdefs.h
1406
1995
 
1407
1996
# Predefined preprocessor variables.
1408
1997
 
1432
2021
 
1433
2022
 
1434
2023
# Let the site file select an alternate cache file if it wants to.
1435
 
# Prefer explicitly selected file to automatically selected ones.
1436
 
if test -z "$CONFIG_SITE"; then
1437
 
  if test "x$prefix" != xNONE; then
1438
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1439
 
  else
1440
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1441
 
  fi
 
2024
# Prefer an explicitly selected file to automatically selected ones.
 
2025
ac_site_file1=NONE
 
2026
ac_site_file2=NONE
 
2027
if test -n "$CONFIG_SITE"; then
 
2028
  ac_site_file1=$CONFIG_SITE
 
2029
elif test "x$prefix" != xNONE; then
 
2030
  ac_site_file1=$prefix/share/config.site
 
2031
  ac_site_file2=$prefix/etc/config.site
 
2032
else
 
2033
  ac_site_file1=$ac_default_prefix/share/config.site
 
2034
  ac_site_file2=$ac_default_prefix/etc/config.site
1442
2035
fi
1443
 
for ac_site_file in $CONFIG_SITE; do
 
2036
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
2037
do
 
2038
  test "x$ac_site_file" = xNONE && continue
1444
2039
  if test -r "$ac_site_file"; then
1445
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1446
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
2040
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2041
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1447
2042
    sed 's/^/| /' "$ac_site_file" >&5
1448
2043
    . "$ac_site_file"
1449
2044
  fi
1453
2048
  # Some versions of bash will fail to source /dev/null (special
1454
2049
  # files actually), so we avoid doing that.
1455
2050
  if test -f "$cache_file"; then
1456
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1457
 
echo "$as_me: loading cache $cache_file" >&6;}
 
2051
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2052
$as_echo "$as_me: loading cache $cache_file" >&6;}
1458
2053
    case $cache_file in
1459
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1460
 
      *)                      . ./$cache_file;;
 
2054
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
2055
      *)                      . "./$cache_file";;
1461
2056
    esac
1462
2057
  fi
1463
2058
else
1464
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1465
 
echo "$as_me: creating cache $cache_file" >&6;}
 
2059
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2060
$as_echo "$as_me: creating cache $cache_file" >&6;}
1466
2061
  >$cache_file
1467
2062
fi
1468
2063
 
 
2064
ac_header_list="$ac_header_list sys/time.h"
 
2065
ac_header_list="$ac_header_list unistd.h"
 
2066
ac_func_list="$ac_func_list alarm"
1469
2067
# Check that the precious variables saved in the cache have kept the same
1470
2068
# value.
1471
2069
ac_cache_corrupted=false
1472
 
for ac_var in `(set) 2>&1 |
1473
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
2070
for ac_var in $ac_precious_vars; do
1474
2071
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1475
2072
  eval ac_new_set=\$ac_env_${ac_var}_set
1476
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1477
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
2073
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
2074
  eval ac_new_val=\$ac_env_${ac_var}_value
1478
2075
  case $ac_old_set,$ac_new_set in
1479
2076
    set,)
1480
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1481
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2077
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2078
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1482
2079
      ac_cache_corrupted=: ;;
1483
2080
    ,set)
1484
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1485
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2081
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2082
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1486
2083
      ac_cache_corrupted=: ;;
1487
2084
    ,);;
1488
2085
    *)
1489
2086
      if test "x$ac_old_val" != "x$ac_new_val"; then
1490
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1491
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1492
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1493
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1494
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1495
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1496
 
        ac_cache_corrupted=:
 
2087
        # differences in whitespace do not lead to failure.
 
2088
        ac_old_val_w=`echo x $ac_old_val`
 
2089
        ac_new_val_w=`echo x $ac_new_val`
 
2090
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2091
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2092
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2093
          ac_cache_corrupted=:
 
2094
        else
 
2095
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2096
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2097
          eval $ac_var=\$ac_old_val
 
2098
        fi
 
2099
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2100
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2101
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2102
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1497
2103
      fi;;
1498
2104
  esac
1499
2105
  # Pass precious variables to config.status.
1500
2106
  if test "$ac_new_set" = set; then
1501
2107
    case $ac_new_val in
1502
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1503
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2108
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1504
2109
    *) ac_arg=$ac_var=$ac_new_val ;;
1505
2110
    esac
1506
2111
    case " $ac_configure_args " in
1510
2115
  fi
1511
2116
done
1512
2117
if $ac_cache_corrupted; then
1513
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1514
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1515
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1516
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
2118
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2119
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2120
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2121
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2122
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
2123
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1517
2124
   { (exit 1); exit 1; }; }
1518
2125
fi
1519
2126
 
 
2127
 
 
2128
 
 
2129
 
 
2130
 
 
2131
 
 
2132
 
 
2133
 
 
2134
 
 
2135
 
 
2136
 
 
2137
 
 
2138
 
 
2139
 
 
2140
 
 
2141
 
 
2142
 
 
2143
 
 
2144
 
 
2145
 
 
2146
 
 
2147
 
 
2148
 
 
2149
 
 
2150
 
1520
2151
ac_ext=c
1521
2152
ac_cpp='$CPP $CPPFLAGS'
1522
2153
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1526
2157
 
1527
2158
 
1528
2159
 
1529
 
 
1530
 
 
1531
 
 
1532
 
 
1533
 
 
1534
 
 
1535
 
 
1536
 
 
1537
 
 
1538
 
 
1539
 
 
1540
 
 
1541
 
 
1542
 
 
1543
 
 
1544
 
 
1545
 
 
1546
 
 
1547
 
 
1548
 
 
1549
 
 
1550
 
 
1551
 
 
1552
 
 
1553
 
 
1554
2160
#disable "seems to ignore the --datarootdir setting" warnings
1555
2161
#AC_DEFUN([AC_DATAROOTDIR_CHECKED])
1556
2162
 
1557
 
am__api_version="1.9"
 
2163
am__api_version='1.10'
 
2164
 
1558
2165
ac_aux_dir=
1559
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1560
 
  if test -f $ac_dir/install-sh; then
 
2166
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2167
  if test -f "$ac_dir/install-sh"; then
1561
2168
    ac_aux_dir=$ac_dir
1562
2169
    ac_install_sh="$ac_aux_dir/install-sh -c"
1563
2170
    break
1564
 
  elif test -f $ac_dir/install.sh; then
 
2171
  elif test -f "$ac_dir/install.sh"; then
1565
2172
    ac_aux_dir=$ac_dir
1566
2173
    ac_install_sh="$ac_aux_dir/install.sh -c"
1567
2174
    break
1568
 
  elif test -f $ac_dir/shtool; then
 
2175
  elif test -f "$ac_dir/shtool"; then
1569
2176
    ac_aux_dir=$ac_dir
1570
2177
    ac_install_sh="$ac_aux_dir/shtool install -c"
1571
2178
    break
1572
2179
  fi
1573
2180
done
1574
2181
if test -z "$ac_aux_dir"; then
1575
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1576
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
2182
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
2183
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1577
2184
   { (exit 1); exit 1; }; }
1578
2185
fi
1579
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1580
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1581
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
2186
 
 
2187
# These three variables are undocumented and unsupported,
 
2188
# and are intended to be withdrawn in a future Autoconf release.
 
2189
# They can cause serious problems if a builder's source tree is in a directory
 
2190
# whose full name contains unusual characters.
 
2191
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2192
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2193
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2194
 
1582
2195
 
1583
2196
# Find a good install program.  We prefer a C program (faster),
1584
2197
# so one script is as good as another.  But avoid the broken or
1593
2206
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1594
2207
# OS/2's system install, which has a completely different semantic
1595
2208
# ./install, which can be erroneously created by make from ./install.sh.
1596
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1597
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
2209
# Reject install programs that cannot install multiple files.
 
2210
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2211
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1598
2212
if test -z "$INSTALL"; then
1599
2213
if test "${ac_cv_path_install+set}" = set; then
1600
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2214
  $as_echo_n "(cached) " >&6
1601
2215
else
1602
2216
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1603
2217
for as_dir in $PATH
1616
2230
    # by default.
1617
2231
    for ac_prog in ginstall scoinst install; do
1618
2232
      for ac_exec_ext in '' $ac_executable_extensions; do
1619
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2233
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1620
2234
          if test $ac_prog = install &&
1621
2235
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1622
2236
            # AIX install.  It has an incompatible calling convention.
1626
2240
            # program-specific install script used by HP pwplus--don't use.
1627
2241
            :
1628
2242
          else
1629
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1630
 
            break 3
 
2243
            rm -rf conftest.one conftest.two conftest.dir
 
2244
            echo one > conftest.one
 
2245
            echo two > conftest.two
 
2246
            mkdir conftest.dir
 
2247
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2248
              test -s conftest.one && test -s conftest.two &&
 
2249
              test -s conftest.dir/conftest.one &&
 
2250
              test -s conftest.dir/conftest.two
 
2251
            then
 
2252
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2253
              break 3
 
2254
            fi
1631
2255
          fi
1632
2256
        fi
1633
2257
      done
1634
2258
    done
1635
2259
    ;;
1636
2260
esac
 
2261
 
1637
2262
done
 
2263
IFS=$as_save_IFS
1638
2264
 
 
2265
rm -rf conftest.one conftest.two conftest.dir
1639
2266
 
1640
2267
fi
1641
2268
  if test "${ac_cv_path_install+set}" = set; then
1642
2269
    INSTALL=$ac_cv_path_install
1643
2270
  else
1644
 
    # As a last resort, use the slow shell script.  We don't cache a
1645
 
    # path for INSTALL within a source directory, because that will
 
2271
    # As a last resort, use the slow shell script.  Don't cache a
 
2272
    # value for INSTALL within a source directory, because that will
1646
2273
    # break other packages using the cache if that directory is
1647
 
    # removed, or if the path is relative.
 
2274
    # removed, or if the value is a relative name.
1648
2275
    INSTALL=$ac_install_sh
1649
2276
  fi
1650
2277
fi
1651
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1652
 
echo "${ECHO_T}$INSTALL" >&6
 
2278
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2279
$as_echo "$INSTALL" >&6; }
1653
2280
 
1654
2281
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1655
2282
# It thinks the first close brace ends the variable substitution.
1659
2286
 
1660
2287
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1661
2288
 
1662
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1663
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
2289
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2290
$as_echo_n "checking whether build environment is sane... " >&6; }
1664
2291
# Just in case
1665
2292
sleep 1
1666
2293
echo timestamp > conftest.file
1683
2310
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1684
2311
      # broken ls alias from the environment.  This has actually
1685
2312
      # happened.  Such a system could not be considered "sane".
1686
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
2313
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1687
2314
alias in your environment" >&5
1688
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
2315
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1689
2316
alias in your environment" >&2;}
1690
2317
   { (exit 1); exit 1; }; }
1691
2318
   fi
1696
2323
   # Ok.
1697
2324
   :
1698
2325
else
1699
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
2326
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1700
2327
Check your system clock" >&5
1701
 
echo "$as_me: error: newly created file is older than distributed files!
 
2328
$as_echo "$as_me: error: newly created file is older than distributed files!
1702
2329
Check your system clock" >&2;}
1703
2330
   { (exit 1); exit 1; }; }
1704
2331
fi
1705
 
echo "$as_me:$LINENO: result: yes" >&5
1706
 
echo "${ECHO_T}yes" >&6
 
2332
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2333
$as_echo "yes" >&6; }
1707
2334
test "$program_prefix" != NONE &&
1708
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
2335
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1709
2336
# Use a double $ so make ignores it.
1710
2337
test "$program_suffix" != NONE &&
1711
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1712
 
# Double any \ or $.  echo might interpret backslashes.
 
2338
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
2339
# Double any \ or $.
1713
2340
# By default was `s,x,x', remove it if useless.
1714
 
cat <<\_ACEOF >conftest.sed
1715
 
s/[\\$]/&&/g;s/;s,x,x,$//
1716
 
_ACEOF
1717
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1718
 
rm conftest.sed
 
2341
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2342
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1719
2343
 
1720
2344
# expand $ac_aux_dir to an absolute path
1721
2345
am_aux_dir=`cd $ac_aux_dir && pwd`
1726
2350
  am_missing_run="$MISSING --run "
1727
2351
else
1728
2352
  am_missing_run=
1729
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1730
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2353
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2354
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1731
2355
fi
1732
2356
 
1733
 
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1734
 
  # We used to keeping the `.' as first argument, in order to
1735
 
  # allow $(mkdir_p) to be used without argument.  As in
1736
 
  #   $(mkdir_p) $(somedir)
1737
 
  # where $(somedir) is conditionally defined.  However this is wrong
1738
 
  # for two reasons:
1739
 
  #  1. if the package is installed by a user who cannot write `.'
1740
 
  #     make install will fail,
1741
 
  #  2. the above comment should most certainly read
1742
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
1743
 
  #     so it does not work when $(somedir) is undefined and
1744
 
  #     $(DESTDIR) is not.
1745
 
  #  To support the latter case, we have to write
1746
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1747
 
  #  so the `.' trick is pointless.
1748
 
  mkdir_p='mkdir -p --'
 
2357
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2358
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
2359
if test -z "$MKDIR_P"; then
 
2360
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2361
  $as_echo_n "(cached) " >&6
1749
2362
else
1750
 
  # On NextStep and OpenStep, the `mkdir' command does not
1751
 
  # recognize any option.  It will interpret all options as
1752
 
  # directories to create, and then abort because `.' already
1753
 
  # exists.
1754
 
  for d in ./-p ./--version;
1755
 
  do
1756
 
    test -d $d && rmdir $d
1757
 
  done
1758
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1759
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
1760
 
    mkdir_p='$(mkinstalldirs)'
 
2363
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2364
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2365
do
 
2366
  IFS=$as_save_IFS
 
2367
  test -z "$as_dir" && as_dir=.
 
2368
  for ac_prog in mkdir gmkdir; do
 
2369
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2370
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2371
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2372
             'mkdir (GNU coreutils) '* | \
 
2373
             'mkdir (coreutils) '* | \
 
2374
             'mkdir (fileutils) '4.1*)
 
2375
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2376
               break 3;;
 
2377
           esac
 
2378
         done
 
2379
       done
 
2380
done
 
2381
IFS=$as_save_IFS
 
2382
 
 
2383
fi
 
2384
 
 
2385
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2386
    MKDIR_P="$ac_cv_path_mkdir -p"
1761
2387
  else
1762
 
    mkdir_p='$(install_sh) -d'
 
2388
    # As a last resort, use the slow shell script.  Don't cache a
 
2389
    # value for MKDIR_P within a source directory, because that will
 
2390
    # break other packages using the cache if that directory is
 
2391
    # removed, or if the value is a relative name.
 
2392
    test -d ./--version && rmdir ./--version
 
2393
    MKDIR_P="$ac_install_sh -d"
1763
2394
  fi
1764
2395
fi
 
2396
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2397
$as_echo "$MKDIR_P" >&6; }
 
2398
 
 
2399
mkdir_p="$MKDIR_P"
 
2400
case $mkdir_p in
 
2401
  [\\/$]* | ?:[\\/]*) ;;
 
2402
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2403
esac
1765
2404
 
1766
2405
for ac_prog in gawk mawk nawk awk
1767
2406
do
1768
2407
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1769
2408
set dummy $ac_prog; ac_word=$2
1770
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1771
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2409
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2410
$as_echo_n "checking for $ac_word... " >&6; }
1772
2411
if test "${ac_cv_prog_AWK+set}" = set; then
1773
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2412
  $as_echo_n "(cached) " >&6
1774
2413
else
1775
2414
  if test -n "$AWK"; then
1776
2415
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1781
2420
  IFS=$as_save_IFS
1782
2421
  test -z "$as_dir" && as_dir=.
1783
2422
  for ac_exec_ext in '' $ac_executable_extensions; do
1784
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2423
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1785
2424
    ac_cv_prog_AWK="$ac_prog"
1786
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2425
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1787
2426
    break 2
1788
2427
  fi
1789
2428
done
1790
2429
done
 
2430
IFS=$as_save_IFS
1791
2431
 
1792
2432
fi
1793
2433
fi
1794
2434
AWK=$ac_cv_prog_AWK
1795
2435
if test -n "$AWK"; then
1796
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1797
 
echo "${ECHO_T}$AWK" >&6
 
2436
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2437
$as_echo "$AWK" >&6; }
1798
2438
else
1799
 
  echo "$as_me:$LINENO: result: no" >&5
1800
 
echo "${ECHO_T}no" >&6
 
2439
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2440
$as_echo "no" >&6; }
1801
2441
fi
1802
2442
 
 
2443
 
1803
2444
  test -n "$AWK" && break
1804
2445
done
1805
2446
 
1806
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1807
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1808
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1809
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1810
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2447
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2448
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2449
set x ${MAKE-make}
 
2450
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2451
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2452
  $as_echo_n "(cached) " >&6
1811
2453
else
1812
2454
  cat >conftest.make <<\_ACEOF
 
2455
SHELL = /bin/sh
1813
2456
all:
1814
 
        @echo 'ac_maketemp="$(MAKE)"'
 
2457
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1815
2458
_ACEOF
1816
2459
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1817
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1818
 
if test -n "$ac_maketemp"; then
1819
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1820
 
else
1821
 
  eval ac_cv_prog_make_${ac_make}_set=no
1822
 
fi
 
2460
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2461
  *@@@%%%=?*=@@@%%%*)
 
2462
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2463
  *)
 
2464
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2465
esac
1823
2466
rm -f conftest.make
1824
2467
fi
1825
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1826
 
  echo "$as_me:$LINENO: result: yes" >&5
1827
 
echo "${ECHO_T}yes" >&6
 
2468
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2469
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2470
$as_echo "yes" >&6; }
1828
2471
  SET_MAKE=
1829
2472
else
1830
 
  echo "$as_me:$LINENO: result: no" >&5
1831
 
echo "${ECHO_T}no" >&6
 
2473
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2474
$as_echo "no" >&6; }
1832
2475
  SET_MAKE="MAKE=${MAKE-make}"
1833
2476
fi
1834
2477
 
1841
2484
fi
1842
2485
rmdir .tst 2>/dev/null
1843
2486
 
1844
 
# test to see if srcdir already configured
1845
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1846
 
   test -f $srcdir/config.status; then
1847
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1848
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
2487
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2488
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2489
  # is not polluted with repeated "-I."
 
2490
  am__isrc=' -I$(srcdir)'
 
2491
  # test to see if srcdir already configured
 
2492
  if test -f $srcdir/config.status; then
 
2493
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2494
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1849
2495
   { (exit 1); exit 1; }; }
 
2496
  fi
1850
2497
fi
1851
2498
 
1852
2499
# test whether we have cygpath
1861
2508
 
1862
2509
# Define the identity of the package.
1863
2510
 PACKAGE='sblim-sfcb'
1864
 
 VERSION='1.3.0'
 
2511
 VERSION='1.3.3'
1865
2512
 
1866
2513
 
1867
2514
cat >>confdefs.h <<_ACEOF
1889
2536
 
1890
2537
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1891
2538
 
1892
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
2539
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
1893
2540
 
1894
2541
# Installed binaries are usually stripped using `strip' when the user
1895
2542
# run `make install-strip'.  However `strip' might not be the right
1899
2546
  if test -n "$ac_tool_prefix"; then
1900
2547
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1901
2548
set dummy ${ac_tool_prefix}strip; ac_word=$2
1902
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1903
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2549
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2550
$as_echo_n "checking for $ac_word... " >&6; }
1904
2551
if test "${ac_cv_prog_STRIP+set}" = set; then
1905
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2552
  $as_echo_n "(cached) " >&6
1906
2553
else
1907
2554
  if test -n "$STRIP"; then
1908
2555
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1913
2560
  IFS=$as_save_IFS
1914
2561
  test -z "$as_dir" && as_dir=.
1915
2562
  for ac_exec_ext in '' $ac_executable_extensions; do
1916
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2563
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1917
2564
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1918
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2565
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1919
2566
    break 2
1920
2567
  fi
1921
2568
done
1922
2569
done
 
2570
IFS=$as_save_IFS
1923
2571
 
1924
2572
fi
1925
2573
fi
1926
2574
STRIP=$ac_cv_prog_STRIP
1927
2575
if test -n "$STRIP"; then
1928
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1929
 
echo "${ECHO_T}$STRIP" >&6
 
2576
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2577
$as_echo "$STRIP" >&6; }
1930
2578
else
1931
 
  echo "$as_me:$LINENO: result: no" >&5
1932
 
echo "${ECHO_T}no" >&6
 
2579
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2580
$as_echo "no" >&6; }
1933
2581
fi
 
2582
 
1934
2583
 
1935
2584
fi
1936
2585
if test -z "$ac_cv_prog_STRIP"; then
1937
2586
  ac_ct_STRIP=$STRIP
1938
2587
  # Extract the first word of "strip", so it can be a program name with args.
1939
2588
set dummy strip; ac_word=$2
1940
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1941
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2589
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2590
$as_echo_n "checking for $ac_word... " >&6; }
1942
2591
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1943
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2592
  $as_echo_n "(cached) " >&6
1944
2593
else
1945
2594
  if test -n "$ac_ct_STRIP"; then
1946
2595
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1951
2600
  IFS=$as_save_IFS
1952
2601
  test -z "$as_dir" && as_dir=.
1953
2602
  for ac_exec_ext in '' $ac_executable_extensions; do
1954
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2603
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1955
2604
    ac_cv_prog_ac_ct_STRIP="strip"
1956
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2605
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1957
2606
    break 2
1958
2607
  fi
1959
2608
done
1960
2609
done
 
2610
IFS=$as_save_IFS
1961
2611
 
1962
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1963
2612
fi
1964
2613
fi
1965
2614
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1966
2615
if test -n "$ac_ct_STRIP"; then
1967
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1968
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
2616
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2617
$as_echo "$ac_ct_STRIP" >&6; }
1969
2618
else
1970
 
  echo "$as_me:$LINENO: result: no" >&5
1971
 
echo "${ECHO_T}no" >&6
 
2619
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2620
$as_echo "no" >&6; }
1972
2621
fi
1973
2622
 
1974
 
  STRIP=$ac_ct_STRIP
 
2623
  if test "x$ac_ct_STRIP" = x; then
 
2624
    STRIP=":"
 
2625
  else
 
2626
    case $cross_compiling:$ac_tool_warned in
 
2627
yes:)
 
2628
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2629
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2630
ac_tool_warned=yes ;;
 
2631
esac
 
2632
    STRIP=$ac_ct_STRIP
 
2633
  fi
1975
2634
else
1976
2635
  STRIP="$ac_cv_prog_STRIP"
1977
2636
fi
1978
2637
 
1979
2638
fi
1980
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
2639
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1981
2640
 
1982
2641
# We need awk for the "check" target.  The system "awk" is bad on
1983
2642
# some platforms.
1991
2650
 
1992
2651
 
1993
2652
 
1994
 
          ac_config_headers="$ac_config_headers config.h"
1995
 
 
1996
 
 
1997
 
# Check whether --enable-debug or --disable-debug was given.
 
2653
ac_config_headers="$ac_config_headers config.h"
 
2654
 
 
2655
 
 
2656
# Check whether --enable-debug was given.
1998
2657
if test "${enable_debug+set}" = set; then
1999
 
  enableval="$enable_debug"
2000
 
  enable_debug=$enableval
 
2658
  enableval=$enable_debug; enable_debug=$enableval
2001
2659
else
2002
2660
  enable_debug="yes"
2003
2661
 
2004
 
fi;
2005
 
 
2006
 
# Check whether --enable-large_volume_support or --disable-large_volume_support was given.
 
2662
fi
 
2663
 
 
2664
 
 
2665
# Check whether --enable-large_volume_support was given.
2007
2666
if test "${enable_large_volume_support+set}" = set; then
2008
 
  enableval="$enable_large_volume_support"
2009
 
  large_volume_support=$enableval
 
2667
  enableval=$enable_large_volume_support; large_volume_support=$enableval
2010
2668
else
2011
2669
  large_volume_support="no"
2012
2670
 
2013
 
fi;
2014
 
# Check whether --enable-ssl or --disable-ssl was given.
 
2671
fi
 
2672
 
 
2673
# Check whether --enable-ssl was given.
2015
2674
if test "${enable_ssl+set}" = set; then
2016
 
  enableval="$enable_ssl"
2017
 
 
2018
 
fi;
2019
 
 
2020
 
# Check whether --enable-jdbc or --disable-jdbc was given.
 
2675
  enableval=$enable_ssl;
 
2676
fi
 
2677
 
 
2678
 
 
2679
# Check whether --enable-jdbc was given.
2021
2680
if test "${enable_jdbc+set}" = set; then
2022
 
  enableval="$enable_jdbc"
2023
 
 
2024
 
fi;
2025
 
 
2026
 
# Check whether --enable-slp or --disable-slp was given.
 
2681
  enableval=$enable_jdbc;
 
2682
fi
 
2683
 
 
2684
 
 
2685
# Check whether --enable-slp was given.
2027
2686
if test "${enable_slp+set}" = set; then
2028
 
  enableval="$enable_slp"
2029
 
 
2030
 
fi;
2031
 
 
2032
 
# Check whether --enable-qualifierrep or --disable-qualifierrep was given.
 
2687
  enableval=$enable_slp;
 
2688
fi
 
2689
 
 
2690
 
 
2691
# Check whether --enable-slp-hostname-lib was given.
 
2692
if test "${enable_slp_hostname_lib+set}" = set; then
 
2693
  enableval=$enable_slp_hostname_lib;
 
2694
fi
 
2695
 
 
2696
 
 
2697
# Check whether --enable-qualifierrep was given.
2033
2698
if test "${enable_qualifierrep+set}" = set; then
2034
 
  enableval="$enable_qualifierrep"
2035
 
  enable_qualifierrep=$enableval
 
2699
  enableval=$enable_qualifierrep; enable_qualifierrep=$enableval
2036
2700
else
2037
2701
  enable_qualifierrep="yes"
2038
2702
 
2039
 
fi;
2040
 
 
2041
 
# Check whether --enable-indications or --disable-indications was given.
 
2703
fi
 
2704
 
 
2705
 
 
2706
# Check whether --enable-indications was given.
2042
2707
if test "${enable_indications+set}" = set; then
2043
 
  enableval="$enable_indications"
2044
 
  enable_indications=$enableval
 
2708
  enableval=$enable_indications; enable_indications=$enableval
2045
2709
else
2046
2710
  enable_indications="yes"
2047
2711
 
2048
 
fi;
2049
 
 
2050
 
# Check whether --enable-default-properties or --disable-default-properties was given.
 
2712
fi
 
2713
 
 
2714
 
 
2715
# Check whether --enable-local_connect_only was given.
 
2716
if test "${enable_local_connect_only+set}" = set; then
 
2717
  enableval=$enable_local_connect_only; enable_local_connect_only=$enableval
 
2718
else
 
2719
  enable_local_connect_only="no"
 
2720
 
 
2721
fi
 
2722
 
 
2723
 
 
2724
# Check whether --enable-default-properties was given.
2051
2725
if test "${enable_default_properties+set}" = set; then
2052
 
  enableval="$enable_default_properties"
2053
 
  enable_default_properties=$enableval
 
2726
  enableval=$enable_default_properties; enable_default_properties=$enableval
2054
2727
else
2055
2728
  enable_default_properties="yes"
2056
2729
 
2057
 
fi;
2058
 
 
2059
 
# Check whether --enable-optimized-enumeration or --disable-optimized-enumeration was given.
 
2730
fi
 
2731
 
 
2732
 
 
2733
# Check whether --enable-optimized-enumeration was given.
2060
2734
if test "${enable_optimized_enumeration+set}" = set; then
2061
 
  enableval="$enable_optimized_enumeration"
2062
 
 
2063
 
fi;
2064
 
 
2065
 
# Check whether --enable-pam or --disable-pam was given.
 
2735
  enableval=$enable_optimized_enumeration;
 
2736
fi
 
2737
 
 
2738
 
 
2739
# Check whether --enable-pam was given.
2066
2740
if test "${enable_pam+set}" = set; then
2067
 
  enableval="$enable_pam"
2068
 
 
2069
 
fi;
2070
 
 
2071
 
# Check whether --enable-docs or --disable-docs was given.
 
2741
  enableval=$enable_pam;
 
2742
fi
 
2743
 
 
2744
 
 
2745
# Check whether --enable-docs was given.
2072
2746
if test "${enable_docs+set}" = set; then
2073
 
  enableval="$enable_docs"
2074
 
 
2075
 
fi;
2076
 
 
2077
 
# Check whether --enable-ipv6 or --disable-ipv6 was given.
 
2747
  enableval=$enable_docs;
 
2748
fi
 
2749
 
 
2750
 
 
2751
# Check whether --enable-ipv6 was given.
2078
2752
if test "${enable_ipv6+set}" = set; then
2079
 
  enableval="$enable_ipv6"
2080
 
 
2081
 
fi;
 
2753
  enableval=$enable_ipv6;
 
2754
fi
 
2755
 
 
2756
 
 
2757
# Check whether --enable-tests was given.
 
2758
if test "${enable_tests+set}" = set; then
 
2759
  enableval=$enable_tests;
 
2760
fi
 
2761
 
 
2762
 
 
2763
# Check whether --enable-uds was given.
 
2764
if test "${enable_uds+set}" = set; then
 
2765
  enableval=$enable_uds;
 
2766
fi
 
2767
 
2082
2768
 
2083
2769
# Size checks
2084
2770
DEPDIR="${am__leading_dot}deps"
2085
2771
 
2086
 
          ac_config_commands="$ac_config_commands depfiles"
 
2772
ac_config_commands="$ac_config_commands depfiles"
2087
2773
 
2088
2774
 
2089
2775
am_make=${MAKE-make}
2093
2779
.PHONY: am__doit
2094
2780
END
2095
2781
# If we don't find an include directive, just comment out the code.
2096
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2097
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
2782
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
2783
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2098
2784
am__include="#"
2099
2785
am__quote=
2100
2786
_am_result=none
2121
2807
fi
2122
2808
 
2123
2809
 
2124
 
echo "$as_me:$LINENO: result: $_am_result" >&5
2125
 
echo "${ECHO_T}$_am_result" >&6
 
2810
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
2811
$as_echo "$_am_result" >&6; }
2126
2812
rm -f confinc confmf
2127
2813
 
2128
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
2814
# Check whether --enable-dependency-tracking was given.
2129
2815
if test "${enable_dependency_tracking+set}" = set; then
2130
 
  enableval="$enable_dependency_tracking"
 
2816
  enableval=$enable_dependency_tracking;
 
2817
fi
2131
2818
 
2132
 
fi;
2133
2819
if test "x$enable_dependency_tracking" != xno; then
2134
2820
  am_depcomp="$ac_aux_dir/depcomp"
2135
2821
  AMDEPBACKSLASH='\'
2136
2822
fi
2137
 
 
2138
 
 
2139
 
if test "x$enable_dependency_tracking" != xno; then
 
2823
 if test "x$enable_dependency_tracking" != xno; then
2140
2824
  AMDEP_TRUE=
2141
2825
  AMDEP_FALSE='#'
2142
2826
else
2145
2829
fi
2146
2830
 
2147
2831
 
2148
 
 
2149
2832
ac_ext=c
2150
2833
ac_cpp='$CPP $CPPFLAGS'
2151
2834
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2154
2837
if test -n "$ac_tool_prefix"; then
2155
2838
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2156
2839
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2157
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2158
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2840
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2841
$as_echo_n "checking for $ac_word... " >&6; }
2159
2842
if test "${ac_cv_prog_CC+set}" = set; then
2160
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2843
  $as_echo_n "(cached) " >&6
2161
2844
else
2162
2845
  if test -n "$CC"; then
2163
2846
  ac_cv_prog_CC="$CC" # Let the user override the test.
2168
2851
  IFS=$as_save_IFS
2169
2852
  test -z "$as_dir" && as_dir=.
2170
2853
  for ac_exec_ext in '' $ac_executable_extensions; do
2171
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2854
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2172
2855
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2173
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2856
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2174
2857
    break 2
2175
2858
  fi
2176
2859
done
2177
2860
done
 
2861
IFS=$as_save_IFS
2178
2862
 
2179
2863
fi
2180
2864
fi
2181
2865
CC=$ac_cv_prog_CC
2182
2866
if test -n "$CC"; then
2183
 
  echo "$as_me:$LINENO: result: $CC" >&5
2184
 
echo "${ECHO_T}$CC" >&6
 
2867
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2868
$as_echo "$CC" >&6; }
2185
2869
else
2186
 
  echo "$as_me:$LINENO: result: no" >&5
2187
 
echo "${ECHO_T}no" >&6
 
2870
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2871
$as_echo "no" >&6; }
2188
2872
fi
 
2873
 
2189
2874
 
2190
2875
fi
2191
2876
if test -z "$ac_cv_prog_CC"; then
2192
2877
  ac_ct_CC=$CC
2193
2878
  # Extract the first word of "gcc", so it can be a program name with args.
2194
2879
set dummy gcc; ac_word=$2
2195
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2196
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2880
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2881
$as_echo_n "checking for $ac_word... " >&6; }
2197
2882
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2198
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2883
  $as_echo_n "(cached) " >&6
2199
2884
else
2200
2885
  if test -n "$ac_ct_CC"; then
2201
2886
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2206
2891
  IFS=$as_save_IFS
2207
2892
  test -z "$as_dir" && as_dir=.
2208
2893
  for ac_exec_ext in '' $ac_executable_extensions; do
2209
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2894
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2210
2895
    ac_cv_prog_ac_ct_CC="gcc"
2211
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2896
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2212
2897
    break 2
2213
2898
  fi
2214
2899
done
2215
2900
done
 
2901
IFS=$as_save_IFS
2216
2902
 
2217
2903
fi
2218
2904
fi
2219
2905
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2220
2906
if test -n "$ac_ct_CC"; then
2221
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2222
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2907
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2908
$as_echo "$ac_ct_CC" >&6; }
2223
2909
else
2224
 
  echo "$as_me:$LINENO: result: no" >&5
2225
 
echo "${ECHO_T}no" >&6
 
2910
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2911
$as_echo "no" >&6; }
2226
2912
fi
2227
2913
 
2228
 
  CC=$ac_ct_CC
 
2914
  if test "x$ac_ct_CC" = x; then
 
2915
    CC=""
 
2916
  else
 
2917
    case $cross_compiling:$ac_tool_warned in
 
2918
yes:)
 
2919
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2920
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2921
ac_tool_warned=yes ;;
 
2922
esac
 
2923
    CC=$ac_ct_CC
 
2924
  fi
2229
2925
else
2230
2926
  CC="$ac_cv_prog_CC"
2231
2927
fi
2232
2928
 
2233
2929
if test -z "$CC"; then
2234
 
  if test -n "$ac_tool_prefix"; then
2235
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2930
          if test -n "$ac_tool_prefix"; then
 
2931
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2236
2932
set dummy ${ac_tool_prefix}cc; ac_word=$2
2237
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2238
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2933
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2934
$as_echo_n "checking for $ac_word... " >&6; }
2239
2935
if test "${ac_cv_prog_CC+set}" = set; then
2240
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2936
  $as_echo_n "(cached) " >&6
2241
2937
else
2242
2938
  if test -n "$CC"; then
2243
2939
  ac_cv_prog_CC="$CC" # Let the user override the test.
2248
2944
  IFS=$as_save_IFS
2249
2945
  test -z "$as_dir" && as_dir=.
2250
2946
  for ac_exec_ext in '' $ac_executable_extensions; do
2251
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2947
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2252
2948
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2253
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2949
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2254
2950
    break 2
2255
2951
  fi
2256
2952
done
2257
2953
done
 
2954
IFS=$as_save_IFS
2258
2955
 
2259
2956
fi
2260
2957
fi
2261
2958
CC=$ac_cv_prog_CC
2262
2959
if test -n "$CC"; then
2263
 
  echo "$as_me:$LINENO: result: $CC" >&5
2264
 
echo "${ECHO_T}$CC" >&6
2265
 
else
2266
 
  echo "$as_me:$LINENO: result: no" >&5
2267
 
echo "${ECHO_T}no" >&6
2268
 
fi
2269
 
 
2270
 
fi
2271
 
if test -z "$ac_cv_prog_CC"; then
2272
 
  ac_ct_CC=$CC
2273
 
  # Extract the first word of "cc", so it can be a program name with args.
2274
 
set dummy cc; ac_word=$2
2275
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2276
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2277
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2278
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2279
 
else
2280
 
  if test -n "$ac_ct_CC"; then
2281
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2282
 
else
2283
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2284
 
for as_dir in $PATH
2285
 
do
2286
 
  IFS=$as_save_IFS
2287
 
  test -z "$as_dir" && as_dir=.
2288
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2289
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2290
 
    ac_cv_prog_ac_ct_CC="cc"
2291
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2292
 
    break 2
 
2960
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2961
$as_echo "$CC" >&6; }
 
2962
else
 
2963
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2964
$as_echo "no" >&6; }
 
2965
fi
 
2966
 
 
2967
 
2293
2968
  fi
2294
 
done
2295
 
done
2296
 
 
2297
 
fi
2298
 
fi
2299
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2300
 
if test -n "$ac_ct_CC"; then
2301
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2302
 
echo "${ECHO_T}$ac_ct_CC" >&6
2303
 
else
2304
 
  echo "$as_me:$LINENO: result: no" >&5
2305
 
echo "${ECHO_T}no" >&6
2306
 
fi
2307
 
 
2308
 
  CC=$ac_ct_CC
2309
 
else
2310
 
  CC="$ac_cv_prog_CC"
2311
 
fi
2312
 
 
2313
2969
fi
2314
2970
if test -z "$CC"; then
2315
2971
  # Extract the first word of "cc", so it can be a program name with args.
2316
2972
set dummy cc; ac_word=$2
2317
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2318
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2973
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2974
$as_echo_n "checking for $ac_word... " >&6; }
2319
2975
if test "${ac_cv_prog_CC+set}" = set; then
2320
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2976
  $as_echo_n "(cached) " >&6
2321
2977
else
2322
2978
  if test -n "$CC"; then
2323
2979
  ac_cv_prog_CC="$CC" # Let the user override the test.
2329
2985
  IFS=$as_save_IFS
2330
2986
  test -z "$as_dir" && as_dir=.
2331
2987
  for ac_exec_ext in '' $ac_executable_extensions; do
2332
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2988
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2333
2989
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2334
2990
       ac_prog_rejected=yes
2335
2991
       continue
2336
2992
     fi
2337
2993
    ac_cv_prog_CC="cc"
2338
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2994
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2339
2995
    break 2
2340
2996
  fi
2341
2997
done
2342
2998
done
 
2999
IFS=$as_save_IFS
2343
3000
 
2344
3001
if test $ac_prog_rejected = yes; then
2345
3002
  # We found a bogon in the path, so make sure we never use it.
2357
3014
fi
2358
3015
CC=$ac_cv_prog_CC
2359
3016
if test -n "$CC"; then
2360
 
  echo "$as_me:$LINENO: result: $CC" >&5
2361
 
echo "${ECHO_T}$CC" >&6
 
3017
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3018
$as_echo "$CC" >&6; }
2362
3019
else
2363
 
  echo "$as_me:$LINENO: result: no" >&5
2364
 
echo "${ECHO_T}no" >&6
 
3020
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3021
$as_echo "no" >&6; }
2365
3022
fi
 
3023
 
2366
3024
 
2367
3025
fi
2368
3026
if test -z "$CC"; then
2369
3027
  if test -n "$ac_tool_prefix"; then
2370
 
  for ac_prog in cl
 
3028
  for ac_prog in cl.exe
2371
3029
  do
2372
3030
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2373
3031
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2374
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2375
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3032
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3033
$as_echo_n "checking for $ac_word... " >&6; }
2376
3034
if test "${ac_cv_prog_CC+set}" = set; then
2377
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3035
  $as_echo_n "(cached) " >&6
2378
3036
else
2379
3037
  if test -n "$CC"; then
2380
3038
  ac_cv_prog_CC="$CC" # Let the user override the test.
2385
3043
  IFS=$as_save_IFS
2386
3044
  test -z "$as_dir" && as_dir=.
2387
3045
  for ac_exec_ext in '' $ac_executable_extensions; do
2388
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3046
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2389
3047
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2390
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3048
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2391
3049
    break 2
2392
3050
  fi
2393
3051
done
2394
3052
done
 
3053
IFS=$as_save_IFS
2395
3054
 
2396
3055
fi
2397
3056
fi
2398
3057
CC=$ac_cv_prog_CC
2399
3058
if test -n "$CC"; then
2400
 
  echo "$as_me:$LINENO: result: $CC" >&5
2401
 
echo "${ECHO_T}$CC" >&6
 
3059
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3060
$as_echo "$CC" >&6; }
2402
3061
else
2403
 
  echo "$as_me:$LINENO: result: no" >&5
2404
 
echo "${ECHO_T}no" >&6
 
3062
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3063
$as_echo "no" >&6; }
2405
3064
fi
2406
3065
 
 
3066
 
2407
3067
    test -n "$CC" && break
2408
3068
  done
2409
3069
fi
2410
3070
if test -z "$CC"; then
2411
3071
  ac_ct_CC=$CC
2412
 
  for ac_prog in cl
 
3072
  for ac_prog in cl.exe
2413
3073
do
2414
3074
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2415
3075
set dummy $ac_prog; ac_word=$2
2416
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2417
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3076
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3077
$as_echo_n "checking for $ac_word... " >&6; }
2418
3078
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2419
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3079
  $as_echo_n "(cached) " >&6
2420
3080
else
2421
3081
  if test -n "$ac_ct_CC"; then
2422
3082
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2427
3087
  IFS=$as_save_IFS
2428
3088
  test -z "$as_dir" && as_dir=.
2429
3089
  for ac_exec_ext in '' $ac_executable_extensions; do
2430
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3090
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2431
3091
    ac_cv_prog_ac_ct_CC="$ac_prog"
2432
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3092
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2433
3093
    break 2
2434
3094
  fi
2435
3095
done
2436
3096
done
 
3097
IFS=$as_save_IFS
2437
3098
 
2438
3099
fi
2439
3100
fi
2440
3101
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2441
3102
if test -n "$ac_ct_CC"; then
2442
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2443
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
3103
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3104
$as_echo "$ac_ct_CC" >&6; }
2444
3105
else
2445
 
  echo "$as_me:$LINENO: result: no" >&5
2446
 
echo "${ECHO_T}no" >&6
 
3106
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3107
$as_echo "no" >&6; }
2447
3108
fi
2448
3109
 
 
3110
 
2449
3111
  test -n "$ac_ct_CC" && break
2450
3112
done
2451
3113
 
2452
 
  CC=$ac_ct_CC
2453
 
fi
2454
 
 
2455
 
fi
2456
 
 
2457
 
 
2458
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
3114
  if test "x$ac_ct_CC" = x; then
 
3115
    CC=""
 
3116
  else
 
3117
    case $cross_compiling:$ac_tool_warned in
 
3118
yes:)
 
3119
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3120
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3121
ac_tool_warned=yes ;;
 
3122
esac
 
3123
    CC=$ac_ct_CC
 
3124
  fi
 
3125
fi
 
3126
 
 
3127
fi
 
3128
 
 
3129
 
 
3130
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3131
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3132
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2459
3133
See \`config.log' for more details." >&5
2460
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
3134
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2461
3135
See \`config.log' for more details." >&2;}
2462
 
   { (exit 1); exit 1; }; }
 
3136
   { (exit 1); exit 1; }; }; }
2463
3137
 
2464
3138
# Provide some information about the compiler.
2465
 
echo "$as_me:$LINENO:" \
2466
 
     "checking for C compiler version" >&5
2467
 
ac_compiler=`set X $ac_compile; echo $2`
2468
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2469
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2470
 
  ac_status=$?
2471
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472
 
  (exit $ac_status); }
2473
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2474
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2475
 
  ac_status=$?
2476
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2477
 
  (exit $ac_status); }
2478
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2479
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
2480
 
  ac_status=$?
2481
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3139
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3140
set X $ac_compile
 
3141
ac_compiler=$2
 
3142
{ (ac_try="$ac_compiler --version >&5"
 
3143
case "(($ac_try" in
 
3144
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3145
  *) ac_try_echo=$ac_try;;
 
3146
esac
 
3147
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3148
$as_echo "$ac_try_echo") >&5
 
3149
  (eval "$ac_compiler --version >&5") 2>&5
 
3150
  ac_status=$?
 
3151
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3152
  (exit $ac_status); }
 
3153
{ (ac_try="$ac_compiler -v >&5"
 
3154
case "(($ac_try" in
 
3155
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3156
  *) ac_try_echo=$ac_try;;
 
3157
esac
 
3158
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3159
$as_echo "$ac_try_echo") >&5
 
3160
  (eval "$ac_compiler -v >&5") 2>&5
 
3161
  ac_status=$?
 
3162
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3163
  (exit $ac_status); }
 
3164
{ (ac_try="$ac_compiler -V >&5"
 
3165
case "(($ac_try" in
 
3166
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3167
  *) ac_try_echo=$ac_try;;
 
3168
esac
 
3169
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3170
$as_echo "$ac_try_echo") >&5
 
3171
  (eval "$ac_compiler -V >&5") 2>&5
 
3172
  ac_status=$?
 
3173
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2482
3174
  (exit $ac_status); }
2483
3175
 
2484
3176
cat >conftest.$ac_ext <<_ACEOF
2497
3189
}
2498
3190
_ACEOF
2499
3191
ac_clean_files_save=$ac_clean_files
2500
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
3192
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2501
3193
# Try to create an executable without -o first, disregard a.out.
2502
3194
# It will help us diagnose broken compilers, and finding out an intuition
2503
3195
# of exeext.
2504
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2505
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2506
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2507
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2508
 
  (eval $ac_link_default) 2>&5
 
3196
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
3197
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3198
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3199
 
 
3200
# The possible output files:
 
3201
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3202
 
 
3203
ac_rmfiles=
 
3204
for ac_file in $ac_files
 
3205
do
 
3206
  case $ac_file in
 
3207
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3208
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3209
  esac
 
3210
done
 
3211
rm -f $ac_rmfiles
 
3212
 
 
3213
if { (ac_try="$ac_link_default"
 
3214
case "(($ac_try" in
 
3215
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3216
  *) ac_try_echo=$ac_try;;
 
3217
esac
 
3218
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3219
$as_echo "$ac_try_echo") >&5
 
3220
  (eval "$ac_link_default") 2>&5
2509
3221
  ac_status=$?
2510
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3222
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2511
3223
  (exit $ac_status); }; then
2512
 
  # Find the output, starting from the most likely.  This scheme is
2513
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2514
 
# resort.
2515
 
 
2516
 
# Be careful to initialize this variable, since it used to be cached.
2517
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2518
 
ac_cv_exeext=
2519
 
# b.out is created by i960 compilers.
2520
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
3224
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3225
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3226
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3227
# so that the user can short-circuit this test for compilers unknown to
 
3228
# Autoconf.
 
3229
for ac_file in $ac_files ''
2521
3230
do
2522
3231
  test -f "$ac_file" || continue
2523
3232
  case $ac_file in
2524
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2525
 
        ;;
2526
 
    conftest.$ac_ext )
2527
 
        # This is the source file.
 
3233
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2528
3234
        ;;
2529
3235
    [ab].out )
2530
3236
        # We found the default executable, but exeext='' is most
2531
3237
        # certainly right.
2532
3238
        break;;
2533
3239
    *.* )
2534
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2535
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2536
 
        # but it would be cool to find out if it's true.  Does anybody
2537
 
        # maintain Libtool? --akim.
2538
 
        export ac_cv_exeext
 
3240
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3241
        then :; else
 
3242
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3243
        fi
 
3244
        # We set ac_cv_exeext here because the later test for it is not
 
3245
        # safe: cross compilers may not add the suffix if given an `-o'
 
3246
        # argument, so we may need to know it at that point already.
 
3247
        # Even if this section looks crufty: it has the advantage of
 
3248
        # actually working.
2539
3249
        break;;
2540
3250
    * )
2541
3251
        break;;
2542
3252
  esac
2543
3253
done
 
3254
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3255
 
2544
3256
else
2545
 
  echo "$as_me: failed program was:" >&5
 
3257
  ac_file=''
 
3258
fi
 
3259
 
 
3260
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3261
$as_echo "$ac_file" >&6; }
 
3262
if test -z "$ac_file"; then
 
3263
  $as_echo "$as_me: failed program was:" >&5
2546
3264
sed 's/^/| /' conftest.$ac_ext >&5
2547
3265
 
2548
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
3266
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3267
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3268
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2549
3269
See \`config.log' for more details." >&5
2550
 
echo "$as_me: error: C compiler cannot create executables
 
3270
$as_echo "$as_me: error: C compiler cannot create executables
2551
3271
See \`config.log' for more details." >&2;}
2552
 
   { (exit 77); exit 77; }; }
 
3272
   { (exit 77); exit 77; }; }; }
2553
3273
fi
2554
3274
 
2555
3275
ac_exeext=$ac_cv_exeext
2556
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2557
 
echo "${ECHO_T}$ac_file" >&6
2558
3276
 
2559
 
# Check the compiler produces executables we can run.  If not, either
 
3277
# Check that the compiler produces executables we can run.  If not, either
2560
3278
# the compiler is broken, or we cross compile.
2561
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2562
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
3279
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3280
$as_echo_n "checking whether the C compiler works... " >&6; }
2563
3281
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2564
3282
# If not cross compiling, check that we can run a simple program.
2565
3283
if test "$cross_compiling" != yes; then
2566
3284
  if { ac_try='./$ac_file'
2567
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2568
 
  (eval $ac_try) 2>&5
 
3285
  { (case "(($ac_try" in
 
3286
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3287
  *) ac_try_echo=$ac_try;;
 
3288
esac
 
3289
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3290
$as_echo "$ac_try_echo") >&5
 
3291
  (eval "$ac_try") 2>&5
2569
3292
  ac_status=$?
2570
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3293
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2571
3294
  (exit $ac_status); }; }; then
2572
3295
    cross_compiling=no
2573
3296
  else
2574
3297
    if test "$cross_compiling" = maybe; then
2575
3298
        cross_compiling=yes
2576
3299
    else
2577
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
3300
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3301
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3302
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2578
3303
If you meant to cross compile, use \`--host'.
2579
3304
See \`config.log' for more details." >&5
2580
 
echo "$as_me: error: cannot run C compiled programs.
 
3305
$as_echo "$as_me: error: cannot run C compiled programs.
2581
3306
If you meant to cross compile, use \`--host'.
2582
3307
See \`config.log' for more details." >&2;}
2583
 
   { (exit 1); exit 1; }; }
 
3308
   { (exit 1); exit 1; }; }; }
2584
3309
    fi
2585
3310
  fi
2586
3311
fi
2587
 
echo "$as_me:$LINENO: result: yes" >&5
2588
 
echo "${ECHO_T}yes" >&6
 
3312
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
3313
$as_echo "yes" >&6; }
2589
3314
 
2590
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
3315
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2591
3316
ac_clean_files=$ac_clean_files_save
2592
 
# Check the compiler produces executables we can run.  If not, either
 
3317
# Check that the compiler produces executables we can run.  If not, either
2593
3318
# the compiler is broken, or we cross compile.
2594
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2595
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2596
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2597
 
echo "${ECHO_T}$cross_compiling" >&6
 
3319
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3320
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3321
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3322
$as_echo "$cross_compiling" >&6; }
2598
3323
 
2599
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2600
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2601
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2602
 
  (eval $ac_link) 2>&5
 
3324
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3325
$as_echo_n "checking for suffix of executables... " >&6; }
 
3326
if { (ac_try="$ac_link"
 
3327
case "(($ac_try" in
 
3328
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3329
  *) ac_try_echo=$ac_try;;
 
3330
esac
 
3331
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3332
$as_echo "$ac_try_echo") >&5
 
3333
  (eval "$ac_link") 2>&5
2603
3334
  ac_status=$?
2604
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3335
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605
3336
  (exit $ac_status); }; then
2606
3337
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2607
3338
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2610
3341
for ac_file in conftest.exe conftest conftest.*; do
2611
3342
  test -f "$ac_file" || continue
2612
3343
  case $ac_file in
2613
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
3344
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2614
3345
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2615
 
          export ac_cv_exeext
2616
3346
          break;;
2617
3347
    * ) break;;
2618
3348
  esac
2619
3349
done
2620
3350
else
2621
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
3351
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3352
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3353
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2622
3354
See \`config.log' for more details." >&5
2623
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
3355
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2624
3356
See \`config.log' for more details." >&2;}
2625
 
   { (exit 1); exit 1; }; }
 
3357
   { (exit 1); exit 1; }; }; }
2626
3358
fi
2627
3359
 
2628
3360
rm -f conftest$ac_cv_exeext
2629
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2630
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
3361
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3362
$as_echo "$ac_cv_exeext" >&6; }
2631
3363
 
2632
3364
rm -f conftest.$ac_ext
2633
3365
EXEEXT=$ac_cv_exeext
2634
3366
ac_exeext=$EXEEXT
2635
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2636
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
3367
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3368
$as_echo_n "checking for suffix of object files... " >&6; }
2637
3369
if test "${ac_cv_objext+set}" = set; then
2638
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3370
  $as_echo_n "(cached) " >&6
2639
3371
else
2640
3372
  cat >conftest.$ac_ext <<_ACEOF
2641
3373
/* confdefs.h.  */
2653
3385
}
2654
3386
_ACEOF
2655
3387
rm -f conftest.o conftest.obj
2656
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2657
 
  (eval $ac_compile) 2>&5
 
3388
if { (ac_try="$ac_compile"
 
3389
case "(($ac_try" in
 
3390
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3391
  *) ac_try_echo=$ac_try;;
 
3392
esac
 
3393
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3394
$as_echo "$ac_try_echo") >&5
 
3395
  (eval "$ac_compile") 2>&5
2658
3396
  ac_status=$?
2659
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3397
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660
3398
  (exit $ac_status); }; then
2661
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
3399
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3400
  test -f "$ac_file" || continue;
2662
3401
  case $ac_file in
2663
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
3402
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2664
3403
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2665
3404
       break;;
2666
3405
  esac
2667
3406
done
2668
3407
else
2669
 
  echo "$as_me: failed program was:" >&5
 
3408
  $as_echo "$as_me: failed program was:" >&5
2670
3409
sed 's/^/| /' conftest.$ac_ext >&5
2671
3410
 
2672
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
3411
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3412
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3413
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2673
3414
See \`config.log' for more details." >&5
2674
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
3415
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2675
3416
See \`config.log' for more details." >&2;}
2676
 
   { (exit 1); exit 1; }; }
 
3417
   { (exit 1); exit 1; }; }; }
2677
3418
fi
2678
3419
 
2679
3420
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2680
3421
fi
2681
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2682
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
3422
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3423
$as_echo "$ac_cv_objext" >&6; }
2683
3424
OBJEXT=$ac_cv_objext
2684
3425
ac_objext=$OBJEXT
2685
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2686
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
3426
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3427
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2687
3428
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2688
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3429
  $as_echo_n "(cached) " >&6
2689
3430
else
2690
3431
  cat >conftest.$ac_ext <<_ACEOF
2691
3432
/* confdefs.h.  */
2706
3447
}
2707
3448
_ACEOF
2708
3449
rm -f conftest.$ac_objext
2709
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2710
 
  (eval $ac_compile) 2>conftest.er1
 
3450
if { (ac_try="$ac_compile"
 
3451
case "(($ac_try" in
 
3452
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3453
  *) ac_try_echo=$ac_try;;
 
3454
esac
 
3455
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3456
$as_echo "$ac_try_echo") >&5
 
3457
  (eval "$ac_compile") 2>conftest.er1
2711
3458
  ac_status=$?
2712
3459
  grep -v '^ *+' conftest.er1 >conftest.err
2713
3460
  rm -f conftest.er1
2714
3461
  cat conftest.err >&5
2715
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2716
 
  (exit $ac_status); } &&
2717
 
         { ac_try='test -z "$ac_c_werror_flag"
2718
 
                         || test ! -s conftest.err'
2719
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2720
 
  (eval $ac_try) 2>&5
2721
 
  ac_status=$?
2722
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2723
 
  (exit $ac_status); }; } &&
2724
 
         { ac_try='test -s conftest.$ac_objext'
2725
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2726
 
  (eval $ac_try) 2>&5
2727
 
  ac_status=$?
2728
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2729
 
  (exit $ac_status); }; }; then
 
3462
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3463
  (exit $ac_status); } && {
 
3464
         test -z "$ac_c_werror_flag" ||
 
3465
         test ! -s conftest.err
 
3466
       } && test -s conftest.$ac_objext; then
2730
3467
  ac_compiler_gnu=yes
2731
3468
else
2732
 
  echo "$as_me: failed program was:" >&5
 
3469
  $as_echo "$as_me: failed program was:" >&5
2733
3470
sed 's/^/| /' conftest.$ac_ext >&5
2734
3471
 
2735
 
ac_compiler_gnu=no
 
3472
        ac_compiler_gnu=no
2736
3473
fi
2737
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3474
 
 
3475
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2738
3476
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2739
3477
 
2740
3478
fi
2741
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2742
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2743
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
3479
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3480
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3481
if test $ac_compiler_gnu = yes; then
 
3482
  GCC=yes
 
3483
else
 
3484
  GCC=
 
3485
fi
2744
3486
ac_test_CFLAGS=${CFLAGS+set}
2745
3487
ac_save_CFLAGS=$CFLAGS
2746
 
CFLAGS="-g"
2747
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2748
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
3488
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3489
$as_echo_n "checking whether $CC accepts -g... " >&6; }
2749
3490
if test "${ac_cv_prog_cc_g+set}" = set; then
2750
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2751
 
else
2752
 
  cat >conftest.$ac_ext <<_ACEOF
2753
 
/* confdefs.h.  */
2754
 
_ACEOF
2755
 
cat confdefs.h >>conftest.$ac_ext
2756
 
cat >>conftest.$ac_ext <<_ACEOF
2757
 
/* end confdefs.h.  */
2758
 
 
2759
 
int
2760
 
main ()
2761
 
{
2762
 
 
2763
 
  ;
2764
 
  return 0;
2765
 
}
2766
 
_ACEOF
2767
 
rm -f conftest.$ac_objext
2768
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2769
 
  (eval $ac_compile) 2>conftest.er1
2770
 
  ac_status=$?
2771
 
  grep -v '^ *+' conftest.er1 >conftest.err
2772
 
  rm -f conftest.er1
2773
 
  cat conftest.err >&5
2774
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2775
 
  (exit $ac_status); } &&
2776
 
         { ac_try='test -z "$ac_c_werror_flag"
2777
 
                         || test ! -s conftest.err'
2778
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2779
 
  (eval $ac_try) 2>&5
2780
 
  ac_status=$?
2781
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2782
 
  (exit $ac_status); }; } &&
2783
 
         { ac_try='test -s conftest.$ac_objext'
2784
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2785
 
  (eval $ac_try) 2>&5
2786
 
  ac_status=$?
2787
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788
 
  (exit $ac_status); }; }; then
2789
 
  ac_cv_prog_cc_g=yes
2790
 
else
2791
 
  echo "$as_me: failed program was:" >&5
2792
 
sed 's/^/| /' conftest.$ac_ext >&5
2793
 
 
2794
 
ac_cv_prog_cc_g=no
2795
 
fi
2796
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2797
 
fi
2798
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2799
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
3491
  $as_echo_n "(cached) " >&6
 
3492
else
 
3493
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3494
   ac_c_werror_flag=yes
 
3495
   ac_cv_prog_cc_g=no
 
3496
   CFLAGS="-g"
 
3497
   cat >conftest.$ac_ext <<_ACEOF
 
3498
/* confdefs.h.  */
 
3499
_ACEOF
 
3500
cat confdefs.h >>conftest.$ac_ext
 
3501
cat >>conftest.$ac_ext <<_ACEOF
 
3502
/* end confdefs.h.  */
 
3503
 
 
3504
int
 
3505
main ()
 
3506
{
 
3507
 
 
3508
  ;
 
3509
  return 0;
 
3510
}
 
3511
_ACEOF
 
3512
rm -f conftest.$ac_objext
 
3513
if { (ac_try="$ac_compile"
 
3514
case "(($ac_try" in
 
3515
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3516
  *) ac_try_echo=$ac_try;;
 
3517
esac
 
3518
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3519
$as_echo "$ac_try_echo") >&5
 
3520
  (eval "$ac_compile") 2>conftest.er1
 
3521
  ac_status=$?
 
3522
  grep -v '^ *+' conftest.er1 >conftest.err
 
3523
  rm -f conftest.er1
 
3524
  cat conftest.err >&5
 
3525
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3526
  (exit $ac_status); } && {
 
3527
         test -z "$ac_c_werror_flag" ||
 
3528
         test ! -s conftest.err
 
3529
       } && test -s conftest.$ac_objext; then
 
3530
  ac_cv_prog_cc_g=yes
 
3531
else
 
3532
  $as_echo "$as_me: failed program was:" >&5
 
3533
sed 's/^/| /' conftest.$ac_ext >&5
 
3534
 
 
3535
        CFLAGS=""
 
3536
      cat >conftest.$ac_ext <<_ACEOF
 
3537
/* confdefs.h.  */
 
3538
_ACEOF
 
3539
cat confdefs.h >>conftest.$ac_ext
 
3540
cat >>conftest.$ac_ext <<_ACEOF
 
3541
/* end confdefs.h.  */
 
3542
 
 
3543
int
 
3544
main ()
 
3545
{
 
3546
 
 
3547
  ;
 
3548
  return 0;
 
3549
}
 
3550
_ACEOF
 
3551
rm -f conftest.$ac_objext
 
3552
if { (ac_try="$ac_compile"
 
3553
case "(($ac_try" in
 
3554
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3555
  *) ac_try_echo=$ac_try;;
 
3556
esac
 
3557
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3558
$as_echo "$ac_try_echo") >&5
 
3559
  (eval "$ac_compile") 2>conftest.er1
 
3560
  ac_status=$?
 
3561
  grep -v '^ *+' conftest.er1 >conftest.err
 
3562
  rm -f conftest.er1
 
3563
  cat conftest.err >&5
 
3564
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3565
  (exit $ac_status); } && {
 
3566
         test -z "$ac_c_werror_flag" ||
 
3567
         test ! -s conftest.err
 
3568
       } && test -s conftest.$ac_objext; then
 
3569
  :
 
3570
else
 
3571
  $as_echo "$as_me: failed program was:" >&5
 
3572
sed 's/^/| /' conftest.$ac_ext >&5
 
3573
 
 
3574
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3575
         CFLAGS="-g"
 
3576
         cat >conftest.$ac_ext <<_ACEOF
 
3577
/* confdefs.h.  */
 
3578
_ACEOF
 
3579
cat confdefs.h >>conftest.$ac_ext
 
3580
cat >>conftest.$ac_ext <<_ACEOF
 
3581
/* end confdefs.h.  */
 
3582
 
 
3583
int
 
3584
main ()
 
3585
{
 
3586
 
 
3587
  ;
 
3588
  return 0;
 
3589
}
 
3590
_ACEOF
 
3591
rm -f conftest.$ac_objext
 
3592
if { (ac_try="$ac_compile"
 
3593
case "(($ac_try" in
 
3594
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3595
  *) ac_try_echo=$ac_try;;
 
3596
esac
 
3597
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3598
$as_echo "$ac_try_echo") >&5
 
3599
  (eval "$ac_compile") 2>conftest.er1
 
3600
  ac_status=$?
 
3601
  grep -v '^ *+' conftest.er1 >conftest.err
 
3602
  rm -f conftest.er1
 
3603
  cat conftest.err >&5
 
3604
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3605
  (exit $ac_status); } && {
 
3606
         test -z "$ac_c_werror_flag" ||
 
3607
         test ! -s conftest.err
 
3608
       } && test -s conftest.$ac_objext; then
 
3609
  ac_cv_prog_cc_g=yes
 
3610
else
 
3611
  $as_echo "$as_me: failed program was:" >&5
 
3612
sed 's/^/| /' conftest.$ac_ext >&5
 
3613
 
 
3614
 
 
3615
fi
 
3616
 
 
3617
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3618
fi
 
3619
 
 
3620
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3621
fi
 
3622
 
 
3623
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3624
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3625
fi
 
3626
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3627
$as_echo "$ac_cv_prog_cc_g" >&6; }
2800
3628
if test "$ac_test_CFLAGS" = set; then
2801
3629
  CFLAGS=$ac_save_CFLAGS
2802
3630
elif test $ac_cv_prog_cc_g = yes; then
2812
3640
    CFLAGS=
2813
3641
  fi
2814
3642
fi
2815
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2816
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2817
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2818
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3643
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3644
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
3645
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3646
  $as_echo_n "(cached) " >&6
2819
3647
else
2820
 
  ac_cv_prog_cc_stdc=no
 
3648
  ac_cv_prog_cc_c89=no
2821
3649
ac_save_CC=$CC
2822
3650
cat >conftest.$ac_ext <<_ACEOF
2823
3651
/* confdefs.h.  */
2851
3679
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2852
3680
   function prototypes and stuff, but not '\xHH' hex character constants.
2853
3681
   These don't provoke an error unfortunately, instead are silently treated
2854
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
3682
   as 'x'.  The following induces an error, until -std is added to get
2855
3683
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2856
3684
   array size at least.  It's necessary to write '\x00'==0 to get something
2857
 
   that's true only with -std1.  */
 
3685
   that's true only with -std.  */
2858
3686
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2859
3687
 
 
3688
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3689
   inside strings and character constants.  */
 
3690
#define FOO(x) 'x'
 
3691
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3692
 
2860
3693
int test (int i, double x);
2861
3694
struct s1 {int (*f) (int a);};
2862
3695
struct s2 {int (*f) (double a);};
2871
3704
  return 0;
2872
3705
}
2873
3706
_ACEOF
2874
 
# Don't try gcc -ansi; that turns off useful extensions and
2875
 
# breaks some systems' header files.
2876
 
# AIX                   -qlanglvl=ansi
2877
 
# Ultrix and OSF/1      -std1
2878
 
# HP-UX 10.20 and later -Ae
2879
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2880
 
# SVR4                  -Xc -D__EXTENSIONS__
2881
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3707
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3708
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2882
3709
do
2883
3710
  CC="$ac_save_CC $ac_arg"
2884
3711
  rm -f conftest.$ac_objext
2885
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2886
 
  (eval $ac_compile) 2>conftest.er1
 
3712
if { (ac_try="$ac_compile"
 
3713
case "(($ac_try" in
 
3714
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3715
  *) ac_try_echo=$ac_try;;
 
3716
esac
 
3717
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3718
$as_echo "$ac_try_echo") >&5
 
3719
  (eval "$ac_compile") 2>conftest.er1
2887
3720
  ac_status=$?
2888
3721
  grep -v '^ *+' conftest.er1 >conftest.err
2889
3722
  rm -f conftest.er1
2890
3723
  cat conftest.err >&5
2891
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892
 
  (exit $ac_status); } &&
2893
 
         { ac_try='test -z "$ac_c_werror_flag"
2894
 
                         || test ! -s conftest.err'
2895
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2896
 
  (eval $ac_try) 2>&5
2897
 
  ac_status=$?
2898
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2899
 
  (exit $ac_status); }; } &&
2900
 
         { ac_try='test -s conftest.$ac_objext'
2901
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2902
 
  (eval $ac_try) 2>&5
2903
 
  ac_status=$?
2904
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905
 
  (exit $ac_status); }; }; then
2906
 
  ac_cv_prog_cc_stdc=$ac_arg
2907
 
break
 
3724
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3725
  (exit $ac_status); } && {
 
3726
         test -z "$ac_c_werror_flag" ||
 
3727
         test ! -s conftest.err
 
3728
       } && test -s conftest.$ac_objext; then
 
3729
  ac_cv_prog_cc_c89=$ac_arg
2908
3730
else
2909
 
  echo "$as_me: failed program was:" >&5
 
3731
  $as_echo "$as_me: failed program was:" >&5
2910
3732
sed 's/^/| /' conftest.$ac_ext >&5
2911
3733
 
 
3734
 
2912
3735
fi
2913
 
rm -f conftest.err conftest.$ac_objext
 
3736
 
 
3737
rm -f core conftest.err conftest.$ac_objext
 
3738
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2914
3739
done
2915
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
3740
rm -f conftest.$ac_ext
2916
3741
CC=$ac_save_CC
2917
3742
 
2918
3743
fi
2919
 
 
2920
 
case "x$ac_cv_prog_cc_stdc" in
2921
 
  x|xno)
2922
 
    echo "$as_me:$LINENO: result: none needed" >&5
2923
 
echo "${ECHO_T}none needed" >&6 ;;
 
3744
# AC_CACHE_VAL
 
3745
case "x$ac_cv_prog_cc_c89" in
 
3746
  x)
 
3747
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3748
$as_echo "none needed" >&6; } ;;
 
3749
  xno)
 
3750
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3751
$as_echo "unsupported" >&6; } ;;
2924
3752
  *)
2925
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2926
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2927
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3753
    CC="$CC $ac_cv_prog_cc_c89"
 
3754
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3755
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2928
3756
esac
2929
3757
 
2930
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2931
 
# in C++ we need to declare it.  In case someone uses the same compiler
2932
 
# for both compiling C and C++ we need to have the C++ compiler decide
2933
 
# the declaration of exit, since it's the most demanding environment.
2934
 
cat >conftest.$ac_ext <<_ACEOF
2935
 
#ifndef __cplusplus
2936
 
  choke me
2937
 
#endif
2938
 
_ACEOF
2939
 
rm -f conftest.$ac_objext
2940
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2941
 
  (eval $ac_compile) 2>conftest.er1
2942
 
  ac_status=$?
2943
 
  grep -v '^ *+' conftest.er1 >conftest.err
2944
 
  rm -f conftest.er1
2945
 
  cat conftest.err >&5
2946
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947
 
  (exit $ac_status); } &&
2948
 
         { ac_try='test -z "$ac_c_werror_flag"
2949
 
                         || test ! -s conftest.err'
2950
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2951
 
  (eval $ac_try) 2>&5
2952
 
  ac_status=$?
2953
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2954
 
  (exit $ac_status); }; } &&
2955
 
         { ac_try='test -s conftest.$ac_objext'
2956
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2957
 
  (eval $ac_try) 2>&5
2958
 
  ac_status=$?
2959
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2960
 
  (exit $ac_status); }; }; then
2961
 
  for ac_declaration in \
2962
 
   '' \
2963
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2964
 
   'extern "C" void std::exit (int); using std::exit;' \
2965
 
   'extern "C" void exit (int) throw ();' \
2966
 
   'extern "C" void exit (int);' \
2967
 
   'void exit (int);'
2968
 
do
2969
 
  cat >conftest.$ac_ext <<_ACEOF
2970
 
/* confdefs.h.  */
2971
 
_ACEOF
2972
 
cat confdefs.h >>conftest.$ac_ext
2973
 
cat >>conftest.$ac_ext <<_ACEOF
2974
 
/* end confdefs.h.  */
2975
 
$ac_declaration
2976
 
#include <stdlib.h>
2977
 
int
2978
 
main ()
2979
 
{
2980
 
exit (42);
2981
 
  ;
2982
 
  return 0;
2983
 
}
2984
 
_ACEOF
2985
 
rm -f conftest.$ac_objext
2986
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2987
 
  (eval $ac_compile) 2>conftest.er1
2988
 
  ac_status=$?
2989
 
  grep -v '^ *+' conftest.er1 >conftest.err
2990
 
  rm -f conftest.er1
2991
 
  cat conftest.err >&5
2992
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993
 
  (exit $ac_status); } &&
2994
 
         { ac_try='test -z "$ac_c_werror_flag"
2995
 
                         || test ! -s conftest.err'
2996
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2997
 
  (eval $ac_try) 2>&5
2998
 
  ac_status=$?
2999
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3000
 
  (exit $ac_status); }; } &&
3001
 
         { ac_try='test -s conftest.$ac_objext'
3002
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3003
 
  (eval $ac_try) 2>&5
3004
 
  ac_status=$?
3005
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3006
 
  (exit $ac_status); }; }; then
3007
 
  :
3008
 
else
3009
 
  echo "$as_me: failed program was:" >&5
3010
 
sed 's/^/| /' conftest.$ac_ext >&5
3011
 
 
3012
 
continue
3013
 
fi
3014
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3015
 
  cat >conftest.$ac_ext <<_ACEOF
3016
 
/* confdefs.h.  */
3017
 
_ACEOF
3018
 
cat confdefs.h >>conftest.$ac_ext
3019
 
cat >>conftest.$ac_ext <<_ACEOF
3020
 
/* end confdefs.h.  */
3021
 
$ac_declaration
3022
 
int
3023
 
main ()
3024
 
{
3025
 
exit (42);
3026
 
  ;
3027
 
  return 0;
3028
 
}
3029
 
_ACEOF
3030
 
rm -f conftest.$ac_objext
3031
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3032
 
  (eval $ac_compile) 2>conftest.er1
3033
 
  ac_status=$?
3034
 
  grep -v '^ *+' conftest.er1 >conftest.err
3035
 
  rm -f conftest.er1
3036
 
  cat conftest.err >&5
3037
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3038
 
  (exit $ac_status); } &&
3039
 
         { ac_try='test -z "$ac_c_werror_flag"
3040
 
                         || test ! -s conftest.err'
3041
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3042
 
  (eval $ac_try) 2>&5
3043
 
  ac_status=$?
3044
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3045
 
  (exit $ac_status); }; } &&
3046
 
         { ac_try='test -s conftest.$ac_objext'
3047
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3048
 
  (eval $ac_try) 2>&5
3049
 
  ac_status=$?
3050
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3051
 
  (exit $ac_status); }; }; then
3052
 
  break
3053
 
else
3054
 
  echo "$as_me: failed program was:" >&5
3055
 
sed 's/^/| /' conftest.$ac_ext >&5
3056
 
 
3057
 
fi
3058
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3059
 
done
3060
 
rm -f conftest*
3061
 
if test -n "$ac_declaration"; then
3062
 
  echo '#ifdef __cplusplus' >>confdefs.h
3063
 
  echo $ac_declaration      >>confdefs.h
3064
 
  echo '#endif'             >>confdefs.h
3065
 
fi
3066
 
 
3067
 
else
3068
 
  echo "$as_me: failed program was:" >&5
3069
 
sed 's/^/| /' conftest.$ac_ext >&5
3070
 
 
3071
 
fi
3072
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3758
 
3073
3759
ac_ext=c
3074
3760
ac_cpp='$CPP $CPPFLAGS'
3075
3761
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3078
3764
 
3079
3765
depcc="$CC"   am_compiler_list=
3080
3766
 
3081
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3082
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
3767
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3768
$as_echo_n "checking dependency style of $depcc... " >&6; }
3083
3769
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3084
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3770
  $as_echo_n "(cached) " >&6
3085
3771
else
3086
3772
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3087
3773
  # We make a subdir and do the tests there.  Otherwise we can end up
3143
3829
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3144
3830
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3145
3831
         >/dev/null 2>conftest.err &&
 
3832
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3146
3833
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3147
3834
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3148
3835
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3168
3855
fi
3169
3856
 
3170
3857
fi
3171
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3172
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
3858
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3859
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3173
3860
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3174
3861
 
3175
 
 
3176
 
 
3177
 
if
 
3862
 if
3178
3863
  test "x$enable_dependency_tracking" != xno \
3179
3864
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3180
3865
  am__fastdepCC_TRUE=
3191
3876
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3192
3877
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3193
3878
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3194
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3195
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
3879
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3880
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3196
3881
# On Suns, sometimes $CPP names a directory.
3197
3882
if test -n "$CPP" && test -d "$CPP"; then
3198
3883
  CPP=
3199
3884
fi
3200
3885
if test -z "$CPP"; then
3201
3886
  if test "${ac_cv_prog_CPP+set}" = set; then
3202
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3887
  $as_echo_n "(cached) " >&6
3203
3888
else
3204
3889
      # Double quotes because CPP needs to be expanded
3205
3890
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3226
3911
#endif
3227
3912
                     Syntax error
3228
3913
_ACEOF
3229
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3230
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3914
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3915
case "(($ac_try" in
 
3916
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3917
  *) ac_try_echo=$ac_try;;
 
3918
esac
 
3919
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3920
$as_echo "$ac_try_echo") >&5
 
3921
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3231
3922
  ac_status=$?
3232
3923
  grep -v '^ *+' conftest.er1 >conftest.err
3233
3924
  rm -f conftest.er1
3234
3925
  cat conftest.err >&5
3235
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3236
 
  (exit $ac_status); } >/dev/null; then
3237
 
  if test -s conftest.err; then
3238
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3239
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3240
 
  else
3241
 
    ac_cpp_err=
3242
 
  fi
3243
 
else
3244
 
  ac_cpp_err=yes
3245
 
fi
3246
 
if test -z "$ac_cpp_err"; then
 
3926
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3927
  (exit $ac_status); } >/dev/null && {
 
3928
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3929
         test ! -s conftest.err
 
3930
       }; then
3247
3931
  :
3248
3932
else
3249
 
  echo "$as_me: failed program was:" >&5
 
3933
  $as_echo "$as_me: failed program was:" >&5
3250
3934
sed 's/^/| /' conftest.$ac_ext >&5
3251
3935
 
3252
3936
  # Broken: fails on valid input.
3253
3937
continue
3254
3938
fi
 
3939
 
3255
3940
rm -f conftest.err conftest.$ac_ext
3256
3941
 
3257
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
3942
  # OK, works on sane cases.  Now check whether nonexistent headers
3258
3943
  # can be detected and how.
3259
3944
  cat >conftest.$ac_ext <<_ACEOF
3260
3945
/* confdefs.h.  */
3264
3949
/* end confdefs.h.  */
3265
3950
#include <ac_nonexistent.h>
3266
3951
_ACEOF
3267
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3268
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3952
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3953
case "(($ac_try" in
 
3954
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3955
  *) ac_try_echo=$ac_try;;
 
3956
esac
 
3957
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3958
$as_echo "$ac_try_echo") >&5
 
3959
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3269
3960
  ac_status=$?
3270
3961
  grep -v '^ *+' conftest.er1 >conftest.err
3271
3962
  rm -f conftest.er1
3272
3963
  cat conftest.err >&5
3273
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3274
 
  (exit $ac_status); } >/dev/null; then
3275
 
  if test -s conftest.err; then
3276
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3277
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3278
 
  else
3279
 
    ac_cpp_err=
3280
 
  fi
3281
 
else
3282
 
  ac_cpp_err=yes
3283
 
fi
3284
 
if test -z "$ac_cpp_err"; then
 
3964
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3965
  (exit $ac_status); } >/dev/null && {
 
3966
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3967
         test ! -s conftest.err
 
3968
       }; then
3285
3969
  # Broken: success on invalid input.
3286
3970
continue
3287
3971
else
3288
 
  echo "$as_me: failed program was:" >&5
 
3972
  $as_echo "$as_me: failed program was:" >&5
3289
3973
sed 's/^/| /' conftest.$ac_ext >&5
3290
3974
 
3291
3975
  # Passes both tests.
3292
3976
ac_preproc_ok=:
3293
3977
break
3294
3978
fi
 
3979
 
3295
3980
rm -f conftest.err conftest.$ac_ext
3296
3981
 
3297
3982
done
3309
3994
else
3310
3995
  ac_cv_prog_CPP=$CPP
3311
3996
fi
3312
 
echo "$as_me:$LINENO: result: $CPP" >&5
3313
 
echo "${ECHO_T}$CPP" >&6
 
3997
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
3998
$as_echo "$CPP" >&6; }
3314
3999
ac_preproc_ok=false
3315
4000
for ac_c_preproc_warn_flag in '' yes
3316
4001
do
3333
4018
#endif
3334
4019
                     Syntax error
3335
4020
_ACEOF
3336
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3337
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4021
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4022
case "(($ac_try" in
 
4023
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4024
  *) ac_try_echo=$ac_try;;
 
4025
esac
 
4026
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4027
$as_echo "$ac_try_echo") >&5
 
4028
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3338
4029
  ac_status=$?
3339
4030
  grep -v '^ *+' conftest.er1 >conftest.err
3340
4031
  rm -f conftest.er1
3341
4032
  cat conftest.err >&5
3342
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3343
 
  (exit $ac_status); } >/dev/null; then
3344
 
  if test -s conftest.err; then
3345
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3346
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3347
 
  else
3348
 
    ac_cpp_err=
3349
 
  fi
3350
 
else
3351
 
  ac_cpp_err=yes
3352
 
fi
3353
 
if test -z "$ac_cpp_err"; then
 
4033
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4034
  (exit $ac_status); } >/dev/null && {
 
4035
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4036
         test ! -s conftest.err
 
4037
       }; then
3354
4038
  :
3355
4039
else
3356
 
  echo "$as_me: failed program was:" >&5
 
4040
  $as_echo "$as_me: failed program was:" >&5
3357
4041
sed 's/^/| /' conftest.$ac_ext >&5
3358
4042
 
3359
4043
  # Broken: fails on valid input.
3360
4044
continue
3361
4045
fi
 
4046
 
3362
4047
rm -f conftest.err conftest.$ac_ext
3363
4048
 
3364
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
4049
  # OK, works on sane cases.  Now check whether nonexistent headers
3365
4050
  # can be detected and how.
3366
4051
  cat >conftest.$ac_ext <<_ACEOF
3367
4052
/* confdefs.h.  */
3371
4056
/* end confdefs.h.  */
3372
4057
#include <ac_nonexistent.h>
3373
4058
_ACEOF
3374
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3375
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4059
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4060
case "(($ac_try" in
 
4061
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4062
  *) ac_try_echo=$ac_try;;
 
4063
esac
 
4064
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4065
$as_echo "$ac_try_echo") >&5
 
4066
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3376
4067
  ac_status=$?
3377
4068
  grep -v '^ *+' conftest.er1 >conftest.err
3378
4069
  rm -f conftest.er1
3379
4070
  cat conftest.err >&5
3380
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3381
 
  (exit $ac_status); } >/dev/null; then
3382
 
  if test -s conftest.err; then
3383
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3384
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3385
 
  else
3386
 
    ac_cpp_err=
3387
 
  fi
3388
 
else
3389
 
  ac_cpp_err=yes
3390
 
fi
3391
 
if test -z "$ac_cpp_err"; then
 
4071
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4072
  (exit $ac_status); } >/dev/null && {
 
4073
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4074
         test ! -s conftest.err
 
4075
       }; then
3392
4076
  # Broken: success on invalid input.
3393
4077
continue
3394
4078
else
3395
 
  echo "$as_me: failed program was:" >&5
 
4079
  $as_echo "$as_me: failed program was:" >&5
3396
4080
sed 's/^/| /' conftest.$ac_ext >&5
3397
4081
 
3398
4082
  # Passes both tests.
3399
4083
ac_preproc_ok=:
3400
4084
break
3401
4085
fi
 
4086
 
3402
4087
rm -f conftest.err conftest.$ac_ext
3403
4088
 
3404
4089
done
3407
4092
if $ac_preproc_ok; then
3408
4093
  :
3409
4094
else
3410
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
4095
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4096
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4097
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3411
4098
See \`config.log' for more details." >&5
3412
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
4099
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3413
4100
See \`config.log' for more details." >&2;}
3414
 
   { (exit 1); exit 1; }; }
 
4101
   { (exit 1); exit 1; }; }; }
3415
4102
fi
3416
4103
 
3417
4104
ac_ext=c
3421
4108
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3422
4109
 
3423
4110
 
3424
 
echo "$as_me:$LINENO: checking for egrep" >&5
3425
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3426
 
if test "${ac_cv_prog_egrep+set}" = set; then
3427
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3428
 
else
3429
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3430
 
    then ac_cv_prog_egrep='grep -E'
3431
 
    else ac_cv_prog_egrep='egrep'
3432
 
    fi
3433
 
fi
3434
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3435
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3436
 
 EGREP=$ac_cv_prog_egrep
3437
 
 
3438
 
 
3439
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3440
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
4111
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4112
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
4113
if test "${ac_cv_path_GREP+set}" = set; then
 
4114
  $as_echo_n "(cached) " >&6
 
4115
else
 
4116
  if test -z "$GREP"; then
 
4117
  ac_path_GREP_found=false
 
4118
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4119
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4120
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4121
do
 
4122
  IFS=$as_save_IFS
 
4123
  test -z "$as_dir" && as_dir=.
 
4124
  for ac_prog in grep ggrep; do
 
4125
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4126
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4127
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4128
# Check for GNU ac_path_GREP and select it if it is found.
 
4129
  # Check for GNU $ac_path_GREP
 
4130
case `"$ac_path_GREP" --version 2>&1` in
 
4131
*GNU*)
 
4132
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4133
*)
 
4134
  ac_count=0
 
4135
  $as_echo_n 0123456789 >"conftest.in"
 
4136
  while :
 
4137
  do
 
4138
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4139
    mv "conftest.tmp" "conftest.in"
 
4140
    cp "conftest.in" "conftest.nl"
 
4141
    $as_echo 'GREP' >> "conftest.nl"
 
4142
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4143
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4144
    ac_count=`expr $ac_count + 1`
 
4145
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4146
      # Best one so far, save it but keep looking for a better one
 
4147
      ac_cv_path_GREP="$ac_path_GREP"
 
4148
      ac_path_GREP_max=$ac_count
 
4149
    fi
 
4150
    # 10*(2^10) chars as input seems more than enough
 
4151
    test $ac_count -gt 10 && break
 
4152
  done
 
4153
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4154
esac
 
4155
 
 
4156
      $ac_path_GREP_found && break 3
 
4157
    done
 
4158
  done
 
4159
done
 
4160
IFS=$as_save_IFS
 
4161
  if test -z "$ac_cv_path_GREP"; then
 
4162
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4163
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4164
   { (exit 1); exit 1; }; }
 
4165
  fi
 
4166
else
 
4167
  ac_cv_path_GREP=$GREP
 
4168
fi
 
4169
 
 
4170
fi
 
4171
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4172
$as_echo "$ac_cv_path_GREP" >&6; }
 
4173
 GREP="$ac_cv_path_GREP"
 
4174
 
 
4175
 
 
4176
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
4177
$as_echo_n "checking for egrep... " >&6; }
 
4178
if test "${ac_cv_path_EGREP+set}" = set; then
 
4179
  $as_echo_n "(cached) " >&6
 
4180
else
 
4181
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4182
   then ac_cv_path_EGREP="$GREP -E"
 
4183
   else
 
4184
     if test -z "$EGREP"; then
 
4185
  ac_path_EGREP_found=false
 
4186
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4187
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4188
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4189
do
 
4190
  IFS=$as_save_IFS
 
4191
  test -z "$as_dir" && as_dir=.
 
4192
  for ac_prog in egrep; do
 
4193
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4194
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4195
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4196
# Check for GNU ac_path_EGREP and select it if it is found.
 
4197
  # Check for GNU $ac_path_EGREP
 
4198
case `"$ac_path_EGREP" --version 2>&1` in
 
4199
*GNU*)
 
4200
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4201
*)
 
4202
  ac_count=0
 
4203
  $as_echo_n 0123456789 >"conftest.in"
 
4204
  while :
 
4205
  do
 
4206
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4207
    mv "conftest.tmp" "conftest.in"
 
4208
    cp "conftest.in" "conftest.nl"
 
4209
    $as_echo 'EGREP' >> "conftest.nl"
 
4210
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4211
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4212
    ac_count=`expr $ac_count + 1`
 
4213
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4214
      # Best one so far, save it but keep looking for a better one
 
4215
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4216
      ac_path_EGREP_max=$ac_count
 
4217
    fi
 
4218
    # 10*(2^10) chars as input seems more than enough
 
4219
    test $ac_count -gt 10 && break
 
4220
  done
 
4221
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4222
esac
 
4223
 
 
4224
      $ac_path_EGREP_found && break 3
 
4225
    done
 
4226
  done
 
4227
done
 
4228
IFS=$as_save_IFS
 
4229
  if test -z "$ac_cv_path_EGREP"; then
 
4230
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4231
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4232
   { (exit 1); exit 1; }; }
 
4233
  fi
 
4234
else
 
4235
  ac_cv_path_EGREP=$EGREP
 
4236
fi
 
4237
 
 
4238
   fi
 
4239
fi
 
4240
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4241
$as_echo "$ac_cv_path_EGREP" >&6; }
 
4242
 EGREP="$ac_cv_path_EGREP"
 
4243
 
 
4244
 
 
4245
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
4246
$as_echo_n "checking for ANSI C header files... " >&6; }
3441
4247
if test "${ac_cv_header_stdc+set}" = set; then
3442
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4248
  $as_echo_n "(cached) " >&6
3443
4249
else
3444
4250
  cat >conftest.$ac_ext <<_ACEOF
3445
4251
/* confdefs.h.  */
3461
4267
}
3462
4268
_ACEOF
3463
4269
rm -f conftest.$ac_objext
3464
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3465
 
  (eval $ac_compile) 2>conftest.er1
 
4270
if { (ac_try="$ac_compile"
 
4271
case "(($ac_try" in
 
4272
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4273
  *) ac_try_echo=$ac_try;;
 
4274
esac
 
4275
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4276
$as_echo "$ac_try_echo") >&5
 
4277
  (eval "$ac_compile") 2>conftest.er1
3466
4278
  ac_status=$?
3467
4279
  grep -v '^ *+' conftest.er1 >conftest.err
3468
4280
  rm -f conftest.er1
3469
4281
  cat conftest.err >&5
3470
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3471
 
  (exit $ac_status); } &&
3472
 
         { ac_try='test -z "$ac_c_werror_flag"
3473
 
                         || test ! -s conftest.err'
3474
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3475
 
  (eval $ac_try) 2>&5
3476
 
  ac_status=$?
3477
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3478
 
  (exit $ac_status); }; } &&
3479
 
         { ac_try='test -s conftest.$ac_objext'
3480
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3481
 
  (eval $ac_try) 2>&5
3482
 
  ac_status=$?
3483
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3484
 
  (exit $ac_status); }; }; then
 
4282
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4283
  (exit $ac_status); } && {
 
4284
         test -z "$ac_c_werror_flag" ||
 
4285
         test ! -s conftest.err
 
4286
       } && test -s conftest.$ac_objext; then
3485
4287
  ac_cv_header_stdc=yes
3486
4288
else
3487
 
  echo "$as_me: failed program was:" >&5
 
4289
  $as_echo "$as_me: failed program was:" >&5
3488
4290
sed 's/^/| /' conftest.$ac_ext >&5
3489
4291
 
3490
 
ac_cv_header_stdc=no
 
4292
        ac_cv_header_stdc=no
3491
4293
fi
3492
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4294
 
 
4295
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3493
4296
 
3494
4297
if test $ac_cv_header_stdc = yes; then
3495
4298
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3545
4348
cat >>conftest.$ac_ext <<_ACEOF
3546
4349
/* end confdefs.h.  */
3547
4350
#include <ctype.h>
 
4351
#include <stdlib.h>
3548
4352
#if ((' ' & 0x0FF) == 0x020)
3549
4353
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3550
4354
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3564
4368
  for (i = 0; i < 256; i++)
3565
4369
    if (XOR (islower (i), ISLOWER (i))
3566
4370
        || toupper (i) != TOUPPER (i))
3567
 
      exit(2);
3568
 
  exit (0);
 
4371
      return 2;
 
4372
  return 0;
3569
4373
}
3570
4374
_ACEOF
3571
4375
rm -f conftest$ac_exeext
3572
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3573
 
  (eval $ac_link) 2>&5
 
4376
if { (ac_try="$ac_link"
 
4377
case "(($ac_try" in
 
4378
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4379
  *) ac_try_echo=$ac_try;;
 
4380
esac
 
4381
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4382
$as_echo "$ac_try_echo") >&5
 
4383
  (eval "$ac_link") 2>&5
3574
4384
  ac_status=$?
3575
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4385
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3576
4386
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3577
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3578
 
  (eval $ac_try) 2>&5
 
4387
  { (case "(($ac_try" in
 
4388
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4389
  *) ac_try_echo=$ac_try;;
 
4390
esac
 
4391
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4392
$as_echo "$ac_try_echo") >&5
 
4393
  (eval "$ac_try") 2>&5
3579
4394
  ac_status=$?
3580
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4395
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3581
4396
  (exit $ac_status); }; }; then
3582
4397
  :
3583
4398
else
3584
 
  echo "$as_me: program exited with status $ac_status" >&5
3585
 
echo "$as_me: failed program was:" >&5
 
4399
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
4400
$as_echo "$as_me: failed program was:" >&5
3586
4401
sed 's/^/| /' conftest.$ac_ext >&5
3587
4402
 
3588
4403
( exit $ac_status )
3589
4404
ac_cv_header_stdc=no
3590
4405
fi
3591
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3592
 
fi
3593
 
fi
3594
 
fi
3595
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3596
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
4406
rm -rf conftest.dSYM
 
4407
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4408
fi
 
4409
 
 
4410
 
 
4411
fi
 
4412
fi
 
4413
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
4414
$as_echo "$ac_cv_header_stdc" >&6; }
3597
4415
if test $ac_cv_header_stdc = yes; then
3598
4416
 
3599
4417
cat >>confdefs.h <<\_ACEOF
3615
4433
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3616
4434
                  inttypes.h stdint.h unistd.h
3617
4435
do
3618
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3619
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
3620
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3621
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3622
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4436
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4437
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4438
$as_echo_n "checking for $ac_header... " >&6; }
 
4439
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4440
  $as_echo_n "(cached) " >&6
3623
4441
else
3624
4442
  cat >conftest.$ac_ext <<_ACEOF
3625
4443
/* confdefs.h.  */
3632
4450
#include <$ac_header>
3633
4451
_ACEOF
3634
4452
rm -f conftest.$ac_objext
3635
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3636
 
  (eval $ac_compile) 2>conftest.er1
 
4453
if { (ac_try="$ac_compile"
 
4454
case "(($ac_try" in
 
4455
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4456
  *) ac_try_echo=$ac_try;;
 
4457
esac
 
4458
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4459
$as_echo "$ac_try_echo") >&5
 
4460
  (eval "$ac_compile") 2>conftest.er1
3637
4461
  ac_status=$?
3638
4462
  grep -v '^ *+' conftest.er1 >conftest.err
3639
4463
  rm -f conftest.er1
3640
4464
  cat conftest.err >&5
3641
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3642
 
  (exit $ac_status); } &&
3643
 
         { ac_try='test -z "$ac_c_werror_flag"
3644
 
                         || test ! -s conftest.err'
3645
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3646
 
  (eval $ac_try) 2>&5
3647
 
  ac_status=$?
3648
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3649
 
  (exit $ac_status); }; } &&
3650
 
         { ac_try='test -s conftest.$ac_objext'
3651
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3652
 
  (eval $ac_try) 2>&5
3653
 
  ac_status=$?
3654
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3655
 
  (exit $ac_status); }; }; then
 
4465
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4466
  (exit $ac_status); } && {
 
4467
         test -z "$ac_c_werror_flag" ||
 
4468
         test ! -s conftest.err
 
4469
       } && test -s conftest.$ac_objext; then
3656
4470
  eval "$as_ac_Header=yes"
3657
4471
else
3658
 
  echo "$as_me: failed program was:" >&5
 
4472
  $as_echo "$as_me: failed program was:" >&5
3659
4473
sed 's/^/| /' conftest.$ac_ext >&5
3660
4474
 
3661
 
eval "$as_ac_Header=no"
3662
 
fi
3663
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3664
 
fi
3665
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3666
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3667
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4475
        eval "$as_ac_Header=no"
 
4476
fi
 
4477
 
 
4478
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4479
fi
 
4480
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4481
                 $as_echo "$as_val"'`
 
4482
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4483
$as_echo "$ac_res" >&6; }
 
4484
as_val=`eval 'as_val=${'$as_ac_Header'}
 
4485
                 $as_echo "$as_val"'`
 
4486
   if test "x$as_val" = x""yes; then
3668
4487
  cat >>confdefs.h <<_ACEOF
3669
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4488
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3670
4489
_ACEOF
3671
4490
 
3672
4491
fi
3674
4493
done
3675
4494
 
3676
4495
 
3677
 
echo "$as_me:$LINENO: checking for void*" >&5
3678
 
echo $ECHO_N "checking for void*... $ECHO_C" >&6
3679
 
if test "${ac_cv_type_voidp+set}" = set; then
3680
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3681
 
else
3682
 
  cat >conftest.$ac_ext <<_ACEOF
3683
 
/* confdefs.h.  */
3684
 
_ACEOF
3685
 
cat confdefs.h >>conftest.$ac_ext
3686
 
cat >>conftest.$ac_ext <<_ACEOF
3687
 
/* end confdefs.h.  */
3688
 
$ac_includes_default
3689
 
int
3690
 
main ()
3691
 
{
3692
 
if ((void* *) 0)
3693
 
  return 0;
3694
 
if (sizeof (void*))
3695
 
  return 0;
3696
 
  ;
3697
 
  return 0;
3698
 
}
3699
 
_ACEOF
3700
 
rm -f conftest.$ac_objext
3701
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3702
 
  (eval $ac_compile) 2>conftest.er1
3703
 
  ac_status=$?
3704
 
  grep -v '^ *+' conftest.er1 >conftest.err
3705
 
  rm -f conftest.er1
3706
 
  cat conftest.err >&5
3707
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3708
 
  (exit $ac_status); } &&
3709
 
         { ac_try='test -z "$ac_c_werror_flag"
3710
 
                         || test ! -s conftest.err'
3711
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3712
 
  (eval $ac_try) 2>&5
3713
 
  ac_status=$?
3714
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3715
 
  (exit $ac_status); }; } &&
3716
 
         { ac_try='test -s conftest.$ac_objext'
3717
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3718
 
  (eval $ac_try) 2>&5
3719
 
  ac_status=$?
3720
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3721
 
  (exit $ac_status); }; }; then
3722
 
  ac_cv_type_voidp=yes
3723
 
else
3724
 
  echo "$as_me: failed program was:" >&5
3725
 
sed 's/^/| /' conftest.$ac_ext >&5
3726
 
 
3727
 
ac_cv_type_voidp=no
3728
 
fi
3729
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3730
 
fi
3731
 
echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
3732
 
echo "${ECHO_T}$ac_cv_type_voidp" >&6
3733
 
 
3734
 
echo "$as_me:$LINENO: checking size of void*" >&5
3735
 
echo $ECHO_N "checking size of void*... $ECHO_C" >&6
 
4496
# The cast to long int works around a bug in the HP C Compiler
 
4497
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
4498
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
4499
# This bug is HP SR number 8606223364.
 
4500
{ $as_echo "$as_me:$LINENO: checking size of void*" >&5
 
4501
$as_echo_n "checking size of void*... " >&6; }
3736
4502
if test "${ac_cv_sizeof_voidp+set}" = set; then
3737
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4503
  $as_echo_n "(cached) " >&6
3738
4504
else
3739
 
  if test "$ac_cv_type_voidp" = yes; then
3740
 
  # The cast to unsigned long works around a bug in the HP C Compiler
3741
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3742
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3743
 
  # This bug is HP SR number 8606223364.
3744
4505
  if test "$cross_compiling" = yes; then
3745
4506
  # Depending upon the size, compute the lo and hi bounds.
3746
4507
cat >conftest.$ac_ext <<_ACEOF
3753
4514
int
3754
4515
main ()
3755
4516
{
3756
 
static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= 0)];
 
4517
static int test_array [1 - 2 * !(((long int) (sizeof (void*))) >= 0)];
3757
4518
test_array [0] = 0
3758
4519
 
3759
4520
  ;
3761
4522
}
3762
4523
_ACEOF
3763
4524
rm -f conftest.$ac_objext
3764
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3765
 
  (eval $ac_compile) 2>conftest.er1
 
4525
if { (ac_try="$ac_compile"
 
4526
case "(($ac_try" in
 
4527
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4528
  *) ac_try_echo=$ac_try;;
 
4529
esac
 
4530
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4531
$as_echo "$ac_try_echo") >&5
 
4532
  (eval "$ac_compile") 2>conftest.er1
3766
4533
  ac_status=$?
3767
4534
  grep -v '^ *+' conftest.er1 >conftest.err
3768
4535
  rm -f conftest.er1
3769
4536
  cat conftest.err >&5
3770
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3771
 
  (exit $ac_status); } &&
3772
 
         { ac_try='test -z "$ac_c_werror_flag"
3773
 
                         || test ! -s conftest.err'
3774
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3775
 
  (eval $ac_try) 2>&5
3776
 
  ac_status=$?
3777
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778
 
  (exit $ac_status); }; } &&
3779
 
         { ac_try='test -s conftest.$ac_objext'
3780
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3781
 
  (eval $ac_try) 2>&5
3782
 
  ac_status=$?
3783
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3784
 
  (exit $ac_status); }; }; then
 
4537
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4538
  (exit $ac_status); } && {
 
4539
         test -z "$ac_c_werror_flag" ||
 
4540
         test ! -s conftest.err
 
4541
       } && test -s conftest.$ac_objext; then
3785
4542
  ac_lo=0 ac_mid=0
3786
4543
  while :; do
3787
4544
    cat >conftest.$ac_ext <<_ACEOF
3794
4551
int
3795
4552
main ()
3796
4553
{
3797
 
static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
 
4554
static int test_array [1 - 2 * !(((long int) (sizeof (void*))) <= $ac_mid)];
3798
4555
test_array [0] = 0
3799
4556
 
3800
4557
  ;
3802
4559
}
3803
4560
_ACEOF
3804
4561
rm -f conftest.$ac_objext
3805
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3806
 
  (eval $ac_compile) 2>conftest.er1
 
4562
if { (ac_try="$ac_compile"
 
4563
case "(($ac_try" in
 
4564
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4565
  *) ac_try_echo=$ac_try;;
 
4566
esac
 
4567
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4568
$as_echo "$ac_try_echo") >&5
 
4569
  (eval "$ac_compile") 2>conftest.er1
3807
4570
  ac_status=$?
3808
4571
  grep -v '^ *+' conftest.er1 >conftest.err
3809
4572
  rm -f conftest.er1
3810
4573
  cat conftest.err >&5
3811
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3812
 
  (exit $ac_status); } &&
3813
 
         { ac_try='test -z "$ac_c_werror_flag"
3814
 
                         || test ! -s conftest.err'
3815
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3816
 
  (eval $ac_try) 2>&5
3817
 
  ac_status=$?
3818
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3819
 
  (exit $ac_status); }; } &&
3820
 
         { ac_try='test -s conftest.$ac_objext'
3821
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3822
 
  (eval $ac_try) 2>&5
3823
 
  ac_status=$?
3824
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3825
 
  (exit $ac_status); }; }; then
 
4574
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4575
  (exit $ac_status); } && {
 
4576
         test -z "$ac_c_werror_flag" ||
 
4577
         test ! -s conftest.err
 
4578
       } && test -s conftest.$ac_objext; then
3826
4579
  ac_hi=$ac_mid; break
3827
4580
else
3828
 
  echo "$as_me: failed program was:" >&5
 
4581
  $as_echo "$as_me: failed program was:" >&5
3829
4582
sed 's/^/| /' conftest.$ac_ext >&5
3830
4583
 
3831
 
ac_lo=`expr $ac_mid + 1`
3832
 
                    if test $ac_lo -le $ac_mid; then
3833
 
                      ac_lo= ac_hi=
3834
 
                      break
3835
 
                    fi
3836
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
4584
        ac_lo=`expr $ac_mid + 1`
 
4585
                        if test $ac_lo -le $ac_mid; then
 
4586
                          ac_lo= ac_hi=
 
4587
                          break
 
4588
                        fi
 
4589
                        ac_mid=`expr 2 '*' $ac_mid + 1`
3837
4590
fi
3838
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4591
 
 
4592
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3839
4593
  done
3840
4594
else
3841
 
  echo "$as_me: failed program was:" >&5
 
4595
  $as_echo "$as_me: failed program was:" >&5
3842
4596
sed 's/^/| /' conftest.$ac_ext >&5
3843
4597
 
3844
 
cat >conftest.$ac_ext <<_ACEOF
 
4598
        cat >conftest.$ac_ext <<_ACEOF
3845
4599
/* confdefs.h.  */
3846
4600
_ACEOF
3847
4601
cat confdefs.h >>conftest.$ac_ext
3851
4605
int
3852
4606
main ()
3853
4607
{
3854
 
static int test_array [1 - 2 * !(((long) (sizeof (void*))) < 0)];
 
4608
static int test_array [1 - 2 * !(((long int) (sizeof (void*))) < 0)];
3855
4609
test_array [0] = 0
3856
4610
 
3857
4611
  ;
3859
4613
}
3860
4614
_ACEOF
3861
4615
rm -f conftest.$ac_objext
3862
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3863
 
  (eval $ac_compile) 2>conftest.er1
 
4616
if { (ac_try="$ac_compile"
 
4617
case "(($ac_try" in
 
4618
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4619
  *) ac_try_echo=$ac_try;;
 
4620
esac
 
4621
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4622
$as_echo "$ac_try_echo") >&5
 
4623
  (eval "$ac_compile") 2>conftest.er1
3864
4624
  ac_status=$?
3865
4625
  grep -v '^ *+' conftest.er1 >conftest.err
3866
4626
  rm -f conftest.er1
3867
4627
  cat conftest.err >&5
3868
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869
 
  (exit $ac_status); } &&
3870
 
         { ac_try='test -z "$ac_c_werror_flag"
3871
 
                         || test ! -s conftest.err'
3872
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3873
 
  (eval $ac_try) 2>&5
3874
 
  ac_status=$?
3875
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3876
 
  (exit $ac_status); }; } &&
3877
 
         { ac_try='test -s conftest.$ac_objext'
3878
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3879
 
  (eval $ac_try) 2>&5
3880
 
  ac_status=$?
3881
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3882
 
  (exit $ac_status); }; }; then
 
4628
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4629
  (exit $ac_status); } && {
 
4630
         test -z "$ac_c_werror_flag" ||
 
4631
         test ! -s conftest.err
 
4632
       } && test -s conftest.$ac_objext; then
3883
4633
  ac_hi=-1 ac_mid=-1
3884
4634
  while :; do
3885
4635
    cat >conftest.$ac_ext <<_ACEOF
3892
4642
int
3893
4643
main ()
3894
4644
{
3895
 
static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= $ac_mid)];
 
4645
static int test_array [1 - 2 * !(((long int) (sizeof (void*))) >= $ac_mid)];
3896
4646
test_array [0] = 0
3897
4647
 
3898
4648
  ;
3900
4650
}
3901
4651
_ACEOF
3902
4652
rm -f conftest.$ac_objext
3903
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3904
 
  (eval $ac_compile) 2>conftest.er1
 
4653
if { (ac_try="$ac_compile"
 
4654
case "(($ac_try" in
 
4655
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4656
  *) ac_try_echo=$ac_try;;
 
4657
esac
 
4658
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4659
$as_echo "$ac_try_echo") >&5
 
4660
  (eval "$ac_compile") 2>conftest.er1
3905
4661
  ac_status=$?
3906
4662
  grep -v '^ *+' conftest.er1 >conftest.err
3907
4663
  rm -f conftest.er1
3908
4664
  cat conftest.err >&5
3909
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3910
 
  (exit $ac_status); } &&
3911
 
         { ac_try='test -z "$ac_c_werror_flag"
3912
 
                         || test ! -s conftest.err'
3913
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3914
 
  (eval $ac_try) 2>&5
3915
 
  ac_status=$?
3916
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3917
 
  (exit $ac_status); }; } &&
3918
 
         { ac_try='test -s conftest.$ac_objext'
3919
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3920
 
  (eval $ac_try) 2>&5
3921
 
  ac_status=$?
3922
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3923
 
  (exit $ac_status); }; }; then
 
4665
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4666
  (exit $ac_status); } && {
 
4667
         test -z "$ac_c_werror_flag" ||
 
4668
         test ! -s conftest.err
 
4669
       } && test -s conftest.$ac_objext; then
3924
4670
  ac_lo=$ac_mid; break
3925
4671
else
3926
 
  echo "$as_me: failed program was:" >&5
 
4672
  $as_echo "$as_me: failed program was:" >&5
3927
4673
sed 's/^/| /' conftest.$ac_ext >&5
3928
4674
 
3929
 
ac_hi=`expr '(' $ac_mid ')' - 1`
3930
 
                       if test $ac_mid -le $ac_hi; then
3931
 
                         ac_lo= ac_hi=
3932
 
                         break
3933
 
                       fi
3934
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
4675
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
4676
                        if test $ac_mid -le $ac_hi; then
 
4677
                          ac_lo= ac_hi=
 
4678
                          break
 
4679
                        fi
 
4680
                        ac_mid=`expr 2 '*' $ac_mid`
3935
4681
fi
3936
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4682
 
 
4683
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3937
4684
  done
3938
4685
else
3939
 
  echo "$as_me: failed program was:" >&5
 
4686
  $as_echo "$as_me: failed program was:" >&5
3940
4687
sed 's/^/| /' conftest.$ac_ext >&5
3941
4688
 
3942
 
ac_lo= ac_hi=
3943
 
fi
3944
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3945
 
fi
3946
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4689
        ac_lo= ac_hi=
 
4690
fi
 
4691
 
 
4692
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4693
fi
 
4694
 
 
4695
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3947
4696
# Binary search between lo and hi bounds.
3948
4697
while test "x$ac_lo" != "x$ac_hi"; do
3949
4698
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
3957
4706
int
3958
4707
main ()
3959
4708
{
3960
 
static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
 
4709
static int test_array [1 - 2 * !(((long int) (sizeof (void*))) <= $ac_mid)];
3961
4710
test_array [0] = 0
3962
4711
 
3963
4712
  ;
3965
4714
}
3966
4715
_ACEOF
3967
4716
rm -f conftest.$ac_objext
3968
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3969
 
  (eval $ac_compile) 2>conftest.er1
 
4717
if { (ac_try="$ac_compile"
 
4718
case "(($ac_try" in
 
4719
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4720
  *) ac_try_echo=$ac_try;;
 
4721
esac
 
4722
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4723
$as_echo "$ac_try_echo") >&5
 
4724
  (eval "$ac_compile") 2>conftest.er1
3970
4725
  ac_status=$?
3971
4726
  grep -v '^ *+' conftest.er1 >conftest.err
3972
4727
  rm -f conftest.er1
3973
4728
  cat conftest.err >&5
3974
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3975
 
  (exit $ac_status); } &&
3976
 
         { ac_try='test -z "$ac_c_werror_flag"
3977
 
                         || test ! -s conftest.err'
3978
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3979
 
  (eval $ac_try) 2>&5
3980
 
  ac_status=$?
3981
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3982
 
  (exit $ac_status); }; } &&
3983
 
         { ac_try='test -s conftest.$ac_objext'
3984
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3985
 
  (eval $ac_try) 2>&5
3986
 
  ac_status=$?
3987
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3988
 
  (exit $ac_status); }; }; then
 
4729
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4730
  (exit $ac_status); } && {
 
4731
         test -z "$ac_c_werror_flag" ||
 
4732
         test ! -s conftest.err
 
4733
       } && test -s conftest.$ac_objext; then
3989
4734
  ac_hi=$ac_mid
3990
4735
else
3991
 
  echo "$as_me: failed program was:" >&5
 
4736
  $as_echo "$as_me: failed program was:" >&5
3992
4737
sed 's/^/| /' conftest.$ac_ext >&5
3993
4738
 
3994
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
4739
        ac_lo=`expr '(' $ac_mid ')' + 1`
3995
4740
fi
3996
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4741
 
 
4742
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3997
4743
done
3998
4744
case $ac_lo in
3999
4745
?*) ac_cv_sizeof_voidp=$ac_lo;;
4000
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
 
4746
'') if test "$ac_cv_type_voidp" = yes; then
 
4747
     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4748
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4749
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void*)
4001
4750
See \`config.log' for more details." >&5
4002
 
echo "$as_me: error: cannot compute sizeof (void*), 77
 
4751
$as_echo "$as_me: error: cannot compute sizeof (void*)
4003
4752
See \`config.log' for more details." >&2;}
4004
 
   { (exit 1); exit 1; }; } ;;
 
4753
   { (exit 77); exit 77; }; }; }
 
4754
   else
 
4755
     ac_cv_sizeof_voidp=0
 
4756
   fi ;;
4005
4757
esac
4006
4758
else
4007
 
  if test "$cross_compiling" = yes; then
4008
 
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4009
 
See \`config.log' for more details." >&5
4010
 
echo "$as_me: error: cannot run test program while cross compiling
4011
 
See \`config.log' for more details." >&2;}
4012
 
   { (exit 1); exit 1; }; }
4013
 
else
4014
4759
  cat >conftest.$ac_ext <<_ACEOF
4015
4760
/* confdefs.h.  */
4016
4761
_ACEOF
4018
4763
cat >>conftest.$ac_ext <<_ACEOF
4019
4764
/* end confdefs.h.  */
4020
4765
$ac_includes_default
4021
 
long longval () { return (long) (sizeof (void*)); }
4022
 
unsigned long ulongval () { return (long) (sizeof (void*)); }
 
4766
static long int longval () { return (long int) (sizeof (void*)); }
 
4767
static unsigned long int ulongval () { return (long int) (sizeof (void*)); }
4023
4768
#include <stdio.h>
4024
4769
#include <stdlib.h>
4025
4770
int
4028
4773
 
4029
4774
  FILE *f = fopen ("conftest.val", "w");
4030
4775
  if (! f)
4031
 
    exit (1);
4032
 
  if (((long) (sizeof (void*))) < 0)
 
4776
    return 1;
 
4777
  if (((long int) (sizeof (void*))) < 0)
4033
4778
    {
4034
 
      long i = longval ();
4035
 
      if (i != ((long) (sizeof (void*))))
4036
 
        exit (1);
4037
 
      fprintf (f, "%ld\n", i);
 
4779
      long int i = longval ();
 
4780
      if (i != ((long int) (sizeof (void*))))
 
4781
        return 1;
 
4782
      fprintf (f, "%ld", i);
4038
4783
    }
4039
4784
  else
4040
4785
    {
4041
 
      unsigned long i = ulongval ();
4042
 
      if (i != ((long) (sizeof (void*))))
4043
 
        exit (1);
4044
 
      fprintf (f, "%lu\n", i);
 
4786
      unsigned long int i = ulongval ();
 
4787
      if (i != ((long int) (sizeof (void*))))
 
4788
        return 1;
 
4789
      fprintf (f, "%lu", i);
4045
4790
    }
4046
 
  exit (ferror (f) || fclose (f) != 0);
 
4791
  /* Do not output a trailing newline, as this causes \r\n confusion
 
4792
     on some platforms.  */
 
4793
  return ferror (f) || fclose (f) != 0;
4047
4794
 
4048
4795
  ;
4049
4796
  return 0;
4050
4797
}
4051
4798
_ACEOF
4052
4799
rm -f conftest$ac_exeext
4053
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4054
 
  (eval $ac_link) 2>&5
 
4800
if { (ac_try="$ac_link"
 
4801
case "(($ac_try" in
 
4802
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4803
  *) ac_try_echo=$ac_try;;
 
4804
esac
 
4805
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4806
$as_echo "$ac_try_echo") >&5
 
4807
  (eval "$ac_link") 2>&5
4055
4808
  ac_status=$?
4056
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4809
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4057
4810
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4058
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4059
 
  (eval $ac_try) 2>&5
 
4811
  { (case "(($ac_try" in
 
4812
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4813
  *) ac_try_echo=$ac_try;;
 
4814
esac
 
4815
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4816
$as_echo "$ac_try_echo") >&5
 
4817
  (eval "$ac_try") 2>&5
4060
4818
  ac_status=$?
4061
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4819
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4062
4820
  (exit $ac_status); }; }; then
4063
4821
  ac_cv_sizeof_voidp=`cat conftest.val`
4064
4822
else
4065
 
  echo "$as_me: program exited with status $ac_status" >&5
4066
 
echo "$as_me: failed program was:" >&5
 
4823
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
4824
$as_echo "$as_me: failed program was:" >&5
4067
4825
sed 's/^/| /' conftest.$ac_ext >&5
4068
4826
 
4069
4827
( exit $ac_status )
4070
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
 
4828
if test "$ac_cv_type_voidp" = yes; then
 
4829
     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4830
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4831
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void*)
4071
4832
See \`config.log' for more details." >&5
4072
 
echo "$as_me: error: cannot compute sizeof (void*), 77
 
4833
$as_echo "$as_me: error: cannot compute sizeof (void*)
4073
4834
See \`config.log' for more details." >&2;}
4074
 
   { (exit 1); exit 1; }; }
4075
 
fi
4076
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4077
 
fi
 
4835
   { (exit 77); exit 77; }; }; }
 
4836
   else
 
4837
     ac_cv_sizeof_voidp=0
 
4838
   fi
 
4839
fi
 
4840
rm -rf conftest.dSYM
 
4841
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4078
4842
fi
4079
4843
rm -f conftest.val
4080
 
else
4081
 
  ac_cv_sizeof_voidp=0
4082
 
fi
4083
 
fi
4084
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
4085
 
echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6
 
4844
fi
 
4845
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
 
4846
$as_echo "$ac_cv_sizeof_voidp" >&6; }
 
4847
 
 
4848
 
 
4849
 
4086
4850
cat >>confdefs.h <<_ACEOF
4087
4851
#define SIZEOF_VOIDP $ac_cv_sizeof_voidp
4088
4852
_ACEOF
4089
4853
 
4090
4854
 
4091
 
echo "$as_me:$LINENO: checking for int" >&5
4092
 
echo $ECHO_N "checking for int... $ECHO_C" >&6
4093
 
if test "${ac_cv_type_int+set}" = set; then
4094
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4095
 
else
4096
 
  cat >conftest.$ac_ext <<_ACEOF
4097
 
/* confdefs.h.  */
4098
 
_ACEOF
4099
 
cat confdefs.h >>conftest.$ac_ext
4100
 
cat >>conftest.$ac_ext <<_ACEOF
4101
 
/* end confdefs.h.  */
4102
 
$ac_includes_default
4103
 
int
4104
 
main ()
4105
 
{
4106
 
if ((int *) 0)
4107
 
  return 0;
4108
 
if (sizeof (int))
4109
 
  return 0;
4110
 
  ;
4111
 
  return 0;
4112
 
}
4113
 
_ACEOF
4114
 
rm -f conftest.$ac_objext
4115
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4116
 
  (eval $ac_compile) 2>conftest.er1
4117
 
  ac_status=$?
4118
 
  grep -v '^ *+' conftest.er1 >conftest.err
4119
 
  rm -f conftest.er1
4120
 
  cat conftest.err >&5
4121
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4122
 
  (exit $ac_status); } &&
4123
 
         { ac_try='test -z "$ac_c_werror_flag"
4124
 
                         || test ! -s conftest.err'
4125
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4126
 
  (eval $ac_try) 2>&5
4127
 
  ac_status=$?
4128
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4129
 
  (exit $ac_status); }; } &&
4130
 
         { ac_try='test -s conftest.$ac_objext'
4131
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4132
 
  (eval $ac_try) 2>&5
4133
 
  ac_status=$?
4134
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4135
 
  (exit $ac_status); }; }; then
4136
 
  ac_cv_type_int=yes
4137
 
else
4138
 
  echo "$as_me: failed program was:" >&5
4139
 
sed 's/^/| /' conftest.$ac_ext >&5
4140
 
 
4141
 
ac_cv_type_int=no
4142
 
fi
4143
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4144
 
fi
4145
 
echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
4146
 
echo "${ECHO_T}$ac_cv_type_int" >&6
4147
 
 
4148
 
echo "$as_me:$LINENO: checking size of int" >&5
4149
 
echo $ECHO_N "checking size of int... $ECHO_C" >&6
 
4855
# The cast to long int works around a bug in the HP C Compiler
 
4856
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
4857
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
4858
# This bug is HP SR number 8606223364.
 
4859
{ $as_echo "$as_me:$LINENO: checking size of int" >&5
 
4860
$as_echo_n "checking size of int... " >&6; }
4150
4861
if test "${ac_cv_sizeof_int+set}" = set; then
4151
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4862
  $as_echo_n "(cached) " >&6
4152
4863
else
4153
 
  if test "$ac_cv_type_int" = yes; then
4154
 
  # The cast to unsigned long works around a bug in the HP C Compiler
4155
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4156
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4157
 
  # This bug is HP SR number 8606223364.
4158
4864
  if test "$cross_compiling" = yes; then
4159
4865
  # Depending upon the size, compute the lo and hi bounds.
4160
4866
cat >conftest.$ac_ext <<_ACEOF
4167
4873
int
4168
4874
main ()
4169
4875
{
4170
 
static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
 
4876
static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)];
4171
4877
test_array [0] = 0
4172
4878
 
4173
4879
  ;
4175
4881
}
4176
4882
_ACEOF
4177
4883
rm -f conftest.$ac_objext
4178
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4179
 
  (eval $ac_compile) 2>conftest.er1
 
4884
if { (ac_try="$ac_compile"
 
4885
case "(($ac_try" in
 
4886
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4887
  *) ac_try_echo=$ac_try;;
 
4888
esac
 
4889
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4890
$as_echo "$ac_try_echo") >&5
 
4891
  (eval "$ac_compile") 2>conftest.er1
4180
4892
  ac_status=$?
4181
4893
  grep -v '^ *+' conftest.er1 >conftest.err
4182
4894
  rm -f conftest.er1
4183
4895
  cat conftest.err >&5
4184
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4185
 
  (exit $ac_status); } &&
4186
 
         { ac_try='test -z "$ac_c_werror_flag"
4187
 
                         || test ! -s conftest.err'
4188
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4189
 
  (eval $ac_try) 2>&5
4190
 
  ac_status=$?
4191
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192
 
  (exit $ac_status); }; } &&
4193
 
         { ac_try='test -s conftest.$ac_objext'
4194
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4195
 
  (eval $ac_try) 2>&5
4196
 
  ac_status=$?
4197
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4198
 
  (exit $ac_status); }; }; then
 
4896
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4897
  (exit $ac_status); } && {
 
4898
         test -z "$ac_c_werror_flag" ||
 
4899
         test ! -s conftest.err
 
4900
       } && test -s conftest.$ac_objext; then
4199
4901
  ac_lo=0 ac_mid=0
4200
4902
  while :; do
4201
4903
    cat >conftest.$ac_ext <<_ACEOF
4208
4910
int
4209
4911
main ()
4210
4912
{
4211
 
static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
 
4913
static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
4212
4914
test_array [0] = 0
4213
4915
 
4214
4916
  ;
4216
4918
}
4217
4919
_ACEOF
4218
4920
rm -f conftest.$ac_objext
4219
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4220
 
  (eval $ac_compile) 2>conftest.er1
 
4921
if { (ac_try="$ac_compile"
 
4922
case "(($ac_try" in
 
4923
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4924
  *) ac_try_echo=$ac_try;;
 
4925
esac
 
4926
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4927
$as_echo "$ac_try_echo") >&5
 
4928
  (eval "$ac_compile") 2>conftest.er1
4221
4929
  ac_status=$?
4222
4930
  grep -v '^ *+' conftest.er1 >conftest.err
4223
4931
  rm -f conftest.er1
4224
4932
  cat conftest.err >&5
4225
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4226
 
  (exit $ac_status); } &&
4227
 
         { ac_try='test -z "$ac_c_werror_flag"
4228
 
                         || test ! -s conftest.err'
4229
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4230
 
  (eval $ac_try) 2>&5
4231
 
  ac_status=$?
4232
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4233
 
  (exit $ac_status); }; } &&
4234
 
         { ac_try='test -s conftest.$ac_objext'
4235
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4236
 
  (eval $ac_try) 2>&5
4237
 
  ac_status=$?
4238
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4239
 
  (exit $ac_status); }; }; then
 
4933
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4934
  (exit $ac_status); } && {
 
4935
         test -z "$ac_c_werror_flag" ||
 
4936
         test ! -s conftest.err
 
4937
       } && test -s conftest.$ac_objext; then
4240
4938
  ac_hi=$ac_mid; break
4241
4939
else
4242
 
  echo "$as_me: failed program was:" >&5
 
4940
  $as_echo "$as_me: failed program was:" >&5
4243
4941
sed 's/^/| /' conftest.$ac_ext >&5
4244
4942
 
4245
 
ac_lo=`expr $ac_mid + 1`
4246
 
                    if test $ac_lo -le $ac_mid; then
4247
 
                      ac_lo= ac_hi=
4248
 
                      break
4249
 
                    fi
4250
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
4943
        ac_lo=`expr $ac_mid + 1`
 
4944
                        if test $ac_lo -le $ac_mid; then
 
4945
                          ac_lo= ac_hi=
 
4946
                          break
 
4947
                        fi
 
4948
                        ac_mid=`expr 2 '*' $ac_mid + 1`
4251
4949
fi
4252
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4950
 
 
4951
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4253
4952
  done
4254
4953
else
4255
 
  echo "$as_me: failed program was:" >&5
 
4954
  $as_echo "$as_me: failed program was:" >&5
4256
4955
sed 's/^/| /' conftest.$ac_ext >&5
4257
4956
 
4258
 
cat >conftest.$ac_ext <<_ACEOF
 
4957
        cat >conftest.$ac_ext <<_ACEOF
4259
4958
/* confdefs.h.  */
4260
4959
_ACEOF
4261
4960
cat confdefs.h >>conftest.$ac_ext
4265
4964
int
4266
4965
main ()
4267
4966
{
4268
 
static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
 
4967
static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)];
4269
4968
test_array [0] = 0
4270
4969
 
4271
4970
  ;
4273
4972
}
4274
4973
_ACEOF
4275
4974
rm -f conftest.$ac_objext
4276
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4277
 
  (eval $ac_compile) 2>conftest.er1
 
4975
if { (ac_try="$ac_compile"
 
4976
case "(($ac_try" in
 
4977
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4978
  *) ac_try_echo=$ac_try;;
 
4979
esac
 
4980
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4981
$as_echo "$ac_try_echo") >&5
 
4982
  (eval "$ac_compile") 2>conftest.er1
4278
4983
  ac_status=$?
4279
4984
  grep -v '^ *+' conftest.er1 >conftest.err
4280
4985
  rm -f conftest.er1
4281
4986
  cat conftest.err >&5
4282
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4283
 
  (exit $ac_status); } &&
4284
 
         { ac_try='test -z "$ac_c_werror_flag"
4285
 
                         || test ! -s conftest.err'
4286
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4287
 
  (eval $ac_try) 2>&5
4288
 
  ac_status=$?
4289
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4290
 
  (exit $ac_status); }; } &&
4291
 
         { ac_try='test -s conftest.$ac_objext'
4292
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4293
 
  (eval $ac_try) 2>&5
4294
 
  ac_status=$?
4295
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4296
 
  (exit $ac_status); }; }; then
 
4987
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4988
  (exit $ac_status); } && {
 
4989
         test -z "$ac_c_werror_flag" ||
 
4990
         test ! -s conftest.err
 
4991
       } && test -s conftest.$ac_objext; then
4297
4992
  ac_hi=-1 ac_mid=-1
4298
4993
  while :; do
4299
4994
    cat >conftest.$ac_ext <<_ACEOF
4306
5001
int
4307
5002
main ()
4308
5003
{
4309
 
static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
 
5004
static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)];
4310
5005
test_array [0] = 0
4311
5006
 
4312
5007
  ;
4314
5009
}
4315
5010
_ACEOF
4316
5011
rm -f conftest.$ac_objext
4317
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4318
 
  (eval $ac_compile) 2>conftest.er1
 
5012
if { (ac_try="$ac_compile"
 
5013
case "(($ac_try" in
 
5014
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5015
  *) ac_try_echo=$ac_try;;
 
5016
esac
 
5017
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5018
$as_echo "$ac_try_echo") >&5
 
5019
  (eval "$ac_compile") 2>conftest.er1
4319
5020
  ac_status=$?
4320
5021
  grep -v '^ *+' conftest.er1 >conftest.err
4321
5022
  rm -f conftest.er1
4322
5023
  cat conftest.err >&5
4323
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4324
 
  (exit $ac_status); } &&
4325
 
         { ac_try='test -z "$ac_c_werror_flag"
4326
 
                         || test ! -s conftest.err'
4327
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4328
 
  (eval $ac_try) 2>&5
4329
 
  ac_status=$?
4330
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4331
 
  (exit $ac_status); }; } &&
4332
 
         { ac_try='test -s conftest.$ac_objext'
4333
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4334
 
  (eval $ac_try) 2>&5
4335
 
  ac_status=$?
4336
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4337
 
  (exit $ac_status); }; }; then
 
5024
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5025
  (exit $ac_status); } && {
 
5026
         test -z "$ac_c_werror_flag" ||
 
5027
         test ! -s conftest.err
 
5028
       } && test -s conftest.$ac_objext; then
4338
5029
  ac_lo=$ac_mid; break
4339
5030
else
4340
 
  echo "$as_me: failed program was:" >&5
 
5031
  $as_echo "$as_me: failed program was:" >&5
4341
5032
sed 's/^/| /' conftest.$ac_ext >&5
4342
5033
 
4343
 
ac_hi=`expr '(' $ac_mid ')' - 1`
4344
 
                       if test $ac_mid -le $ac_hi; then
4345
 
                         ac_lo= ac_hi=
4346
 
                         break
4347
 
                       fi
4348
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
5034
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
5035
                        if test $ac_mid -le $ac_hi; then
 
5036
                          ac_lo= ac_hi=
 
5037
                          break
 
5038
                        fi
 
5039
                        ac_mid=`expr 2 '*' $ac_mid`
4349
5040
fi
4350
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5041
 
 
5042
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4351
5043
  done
4352
5044
else
4353
 
  echo "$as_me: failed program was:" >&5
 
5045
  $as_echo "$as_me: failed program was:" >&5
4354
5046
sed 's/^/| /' conftest.$ac_ext >&5
4355
5047
 
4356
 
ac_lo= ac_hi=
4357
 
fi
4358
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4359
 
fi
4360
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5048
        ac_lo= ac_hi=
 
5049
fi
 
5050
 
 
5051
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5052
fi
 
5053
 
 
5054
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4361
5055
# Binary search between lo and hi bounds.
4362
5056
while test "x$ac_lo" != "x$ac_hi"; do
4363
5057
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4371
5065
int
4372
5066
main ()
4373
5067
{
4374
 
static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
 
5068
static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
4375
5069
test_array [0] = 0
4376
5070
 
4377
5071
  ;
4379
5073
}
4380
5074
_ACEOF
4381
5075
rm -f conftest.$ac_objext
4382
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4383
 
  (eval $ac_compile) 2>conftest.er1
 
5076
if { (ac_try="$ac_compile"
 
5077
case "(($ac_try" in
 
5078
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5079
  *) ac_try_echo=$ac_try;;
 
5080
esac
 
5081
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5082
$as_echo "$ac_try_echo") >&5
 
5083
  (eval "$ac_compile") 2>conftest.er1
4384
5084
  ac_status=$?
4385
5085
  grep -v '^ *+' conftest.er1 >conftest.err
4386
5086
  rm -f conftest.er1
4387
5087
  cat conftest.err >&5
4388
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4389
 
  (exit $ac_status); } &&
4390
 
         { ac_try='test -z "$ac_c_werror_flag"
4391
 
                         || test ! -s conftest.err'
4392
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4393
 
  (eval $ac_try) 2>&5
4394
 
  ac_status=$?
4395
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4396
 
  (exit $ac_status); }; } &&
4397
 
         { ac_try='test -s conftest.$ac_objext'
4398
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4399
 
  (eval $ac_try) 2>&5
4400
 
  ac_status=$?
4401
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4402
 
  (exit $ac_status); }; }; then
 
5088
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5089
  (exit $ac_status); } && {
 
5090
         test -z "$ac_c_werror_flag" ||
 
5091
         test ! -s conftest.err
 
5092
       } && test -s conftest.$ac_objext; then
4403
5093
  ac_hi=$ac_mid
4404
5094
else
4405
 
  echo "$as_me: failed program was:" >&5
 
5095
  $as_echo "$as_me: failed program was:" >&5
4406
5096
sed 's/^/| /' conftest.$ac_ext >&5
4407
5097
 
4408
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
5098
        ac_lo=`expr '(' $ac_mid ')' + 1`
4409
5099
fi
4410
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5100
 
 
5101
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4411
5102
done
4412
5103
case $ac_lo in
4413
5104
?*) ac_cv_sizeof_int=$ac_lo;;
4414
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
 
5105
'') if test "$ac_cv_type_int" = yes; then
 
5106
     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
5107
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
5108
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
4415
5109
See \`config.log' for more details." >&5
4416
 
echo "$as_me: error: cannot compute sizeof (int), 77
 
5110
$as_echo "$as_me: error: cannot compute sizeof (int)
4417
5111
See \`config.log' for more details." >&2;}
4418
 
   { (exit 1); exit 1; }; } ;;
 
5112
   { (exit 77); exit 77; }; }; }
 
5113
   else
 
5114
     ac_cv_sizeof_int=0
 
5115
   fi ;;
4419
5116
esac
4420
5117
else
4421
 
  if test "$cross_compiling" = yes; then
4422
 
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4423
 
See \`config.log' for more details." >&5
4424
 
echo "$as_me: error: cannot run test program while cross compiling
4425
 
See \`config.log' for more details." >&2;}
4426
 
   { (exit 1); exit 1; }; }
4427
 
else
4428
5118
  cat >conftest.$ac_ext <<_ACEOF
4429
5119
/* confdefs.h.  */
4430
5120
_ACEOF
4432
5122
cat >>conftest.$ac_ext <<_ACEOF
4433
5123
/* end confdefs.h.  */
4434
5124
$ac_includes_default
4435
 
long longval () { return (long) (sizeof (int)); }
4436
 
unsigned long ulongval () { return (long) (sizeof (int)); }
 
5125
static long int longval () { return (long int) (sizeof (int)); }
 
5126
static unsigned long int ulongval () { return (long int) (sizeof (int)); }
4437
5127
#include <stdio.h>
4438
5128
#include <stdlib.h>
4439
5129
int
4442
5132
 
4443
5133
  FILE *f = fopen ("conftest.val", "w");
4444
5134
  if (! f)
4445
 
    exit (1);
4446
 
  if (((long) (sizeof (int))) < 0)
 
5135
    return 1;
 
5136
  if (((long int) (sizeof (int))) < 0)
4447
5137
    {
4448
 
      long i = longval ();
4449
 
      if (i != ((long) (sizeof (int))))
4450
 
        exit (1);
4451
 
      fprintf (f, "%ld\n", i);
 
5138
      long int i = longval ();
 
5139
      if (i != ((long int) (sizeof (int))))
 
5140
        return 1;
 
5141
      fprintf (f, "%ld", i);
4452
5142
    }
4453
5143
  else
4454
5144
    {
4455
 
      unsigned long i = ulongval ();
4456
 
      if (i != ((long) (sizeof (int))))
4457
 
        exit (1);
4458
 
      fprintf (f, "%lu\n", i);
 
5145
      unsigned long int i = ulongval ();
 
5146
      if (i != ((long int) (sizeof (int))))
 
5147
        return 1;
 
5148
      fprintf (f, "%lu", i);
4459
5149
    }
4460
 
  exit (ferror (f) || fclose (f) != 0);
 
5150
  /* Do not output a trailing newline, as this causes \r\n confusion
 
5151
     on some platforms.  */
 
5152
  return ferror (f) || fclose (f) != 0;
4461
5153
 
4462
5154
  ;
4463
5155
  return 0;
4464
5156
}
4465
5157
_ACEOF
4466
5158
rm -f conftest$ac_exeext
4467
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4468
 
  (eval $ac_link) 2>&5
 
5159
if { (ac_try="$ac_link"
 
5160
case "(($ac_try" in
 
5161
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5162
  *) ac_try_echo=$ac_try;;
 
5163
esac
 
5164
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5165
$as_echo "$ac_try_echo") >&5
 
5166
  (eval "$ac_link") 2>&5
4469
5167
  ac_status=$?
4470
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5168
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4471
5169
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4472
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4473
 
  (eval $ac_try) 2>&5
 
5170
  { (case "(($ac_try" in
 
5171
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5172
  *) ac_try_echo=$ac_try;;
 
5173
esac
 
5174
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5175
$as_echo "$ac_try_echo") >&5
 
5176
  (eval "$ac_try") 2>&5
4474
5177
  ac_status=$?
4475
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5178
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4476
5179
  (exit $ac_status); }; }; then
4477
5180
  ac_cv_sizeof_int=`cat conftest.val`
4478
5181
else
4479
 
  echo "$as_me: program exited with status $ac_status" >&5
4480
 
echo "$as_me: failed program was:" >&5
 
5182
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
5183
$as_echo "$as_me: failed program was:" >&5
4481
5184
sed 's/^/| /' conftest.$ac_ext >&5
4482
5185
 
4483
5186
( exit $ac_status )
4484
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
 
5187
if test "$ac_cv_type_int" = yes; then
 
5188
     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
5189
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
5190
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
4485
5191
See \`config.log' for more details." >&5
4486
 
echo "$as_me: error: cannot compute sizeof (int), 77
 
5192
$as_echo "$as_me: error: cannot compute sizeof (int)
4487
5193
See \`config.log' for more details." >&2;}
4488
 
   { (exit 1); exit 1; }; }
4489
 
fi
4490
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4491
 
fi
 
5194
   { (exit 77); exit 77; }; }; }
 
5195
   else
 
5196
     ac_cv_sizeof_int=0
 
5197
   fi
 
5198
fi
 
5199
rm -rf conftest.dSYM
 
5200
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4492
5201
fi
4493
5202
rm -f conftest.val
4494
 
else
4495
 
  ac_cv_sizeof_int=0
4496
 
fi
4497
 
fi
4498
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
4499
 
echo "${ECHO_T}$ac_cv_sizeof_int" >&6
 
5203
fi
 
5204
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
 
5205
$as_echo "$ac_cv_sizeof_int" >&6; }
 
5206
 
 
5207
 
 
5208
 
4500
5209
cat >>confdefs.h <<_ACEOF
4501
5210
#define SIZEOF_INT $ac_cv_sizeof_int
4502
5211
_ACEOF
4503
5212
 
4504
5213
 
4505
 
echo "$as_me:$LINENO: checking for short" >&5
4506
 
echo $ECHO_N "checking for short... $ECHO_C" >&6
4507
 
if test "${ac_cv_type_short+set}" = set; then
4508
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4509
 
else
4510
 
  cat >conftest.$ac_ext <<_ACEOF
4511
 
/* confdefs.h.  */
4512
 
_ACEOF
4513
 
cat confdefs.h >>conftest.$ac_ext
4514
 
cat >>conftest.$ac_ext <<_ACEOF
4515
 
/* end confdefs.h.  */
4516
 
$ac_includes_default
4517
 
int
4518
 
main ()
4519
 
{
4520
 
if ((short *) 0)
4521
 
  return 0;
4522
 
if (sizeof (short))
4523
 
  return 0;
4524
 
  ;
4525
 
  return 0;
4526
 
}
4527
 
_ACEOF
4528
 
rm -f conftest.$ac_objext
4529
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4530
 
  (eval $ac_compile) 2>conftest.er1
4531
 
  ac_status=$?
4532
 
  grep -v '^ *+' conftest.er1 >conftest.err
4533
 
  rm -f conftest.er1
4534
 
  cat conftest.err >&5
4535
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4536
 
  (exit $ac_status); } &&
4537
 
         { ac_try='test -z "$ac_c_werror_flag"
4538
 
                         || test ! -s conftest.err'
4539
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4540
 
  (eval $ac_try) 2>&5
4541
 
  ac_status=$?
4542
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4543
 
  (exit $ac_status); }; } &&
4544
 
         { ac_try='test -s conftest.$ac_objext'
4545
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4546
 
  (eval $ac_try) 2>&5
4547
 
  ac_status=$?
4548
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549
 
  (exit $ac_status); }; }; then
4550
 
  ac_cv_type_short=yes
4551
 
else
4552
 
  echo "$as_me: failed program was:" >&5
4553
 
sed 's/^/| /' conftest.$ac_ext >&5
4554
 
 
4555
 
ac_cv_type_short=no
4556
 
fi
4557
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4558
 
fi
4559
 
echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
4560
 
echo "${ECHO_T}$ac_cv_type_short" >&6
4561
 
 
4562
 
echo "$as_me:$LINENO: checking size of short" >&5
4563
 
echo $ECHO_N "checking size of short... $ECHO_C" >&6
 
5214
# The cast to long int works around a bug in the HP C Compiler
 
5215
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
5216
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
5217
# This bug is HP SR number 8606223364.
 
5218
{ $as_echo "$as_me:$LINENO: checking size of short" >&5
 
5219
$as_echo_n "checking size of short... " >&6; }
4564
5220
if test "${ac_cv_sizeof_short+set}" = set; then
4565
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5221
  $as_echo_n "(cached) " >&6
4566
5222
else
4567
 
  if test "$ac_cv_type_short" = yes; then
4568
 
  # The cast to unsigned long works around a bug in the HP C Compiler
4569
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4570
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4571
 
  # This bug is HP SR number 8606223364.
4572
5223
  if test "$cross_compiling" = yes; then
4573
5224
  # Depending upon the size, compute the lo and hi bounds.
4574
5225
cat >conftest.$ac_ext <<_ACEOF
4581
5232
int
4582
5233
main ()
4583
5234
{
4584
 
static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
 
5235
static int test_array [1 - 2 * !(((long int) (sizeof (short))) >= 0)];
4585
5236
test_array [0] = 0
4586
5237
 
4587
5238
  ;
4589
5240
}
4590
5241
_ACEOF
4591
5242
rm -f conftest.$ac_objext
4592
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4593
 
  (eval $ac_compile) 2>conftest.er1
 
5243
if { (ac_try="$ac_compile"
 
5244
case "(($ac_try" in
 
5245
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5246
  *) ac_try_echo=$ac_try;;
 
5247
esac
 
5248
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5249
$as_echo "$ac_try_echo") >&5
 
5250
  (eval "$ac_compile") 2>conftest.er1
4594
5251
  ac_status=$?
4595
5252
  grep -v '^ *+' conftest.er1 >conftest.err
4596
5253
  rm -f conftest.er1
4597
5254
  cat conftest.err >&5
4598
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4599
 
  (exit $ac_status); } &&
4600
 
         { ac_try='test -z "$ac_c_werror_flag"
4601
 
                         || test ! -s conftest.err'
4602
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4603
 
  (eval $ac_try) 2>&5
4604
 
  ac_status=$?
4605
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4606
 
  (exit $ac_status); }; } &&
4607
 
         { ac_try='test -s conftest.$ac_objext'
4608
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4609
 
  (eval $ac_try) 2>&5
4610
 
  ac_status=$?
4611
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4612
 
  (exit $ac_status); }; }; then
 
5255
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5256
  (exit $ac_status); } && {
 
5257
         test -z "$ac_c_werror_flag" ||
 
5258
         test ! -s conftest.err
 
5259
       } && test -s conftest.$ac_objext; then
4613
5260
  ac_lo=0 ac_mid=0
4614
5261
  while :; do
4615
5262
    cat >conftest.$ac_ext <<_ACEOF
4622
5269
int
4623
5270
main ()
4624
5271
{
4625
 
static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
 
5272
static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= $ac_mid)];
4626
5273
test_array [0] = 0
4627
5274
 
4628
5275
  ;
4630
5277
}
4631
5278
_ACEOF
4632
5279
rm -f conftest.$ac_objext
4633
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4634
 
  (eval $ac_compile) 2>conftest.er1
 
5280
if { (ac_try="$ac_compile"
 
5281
case "(($ac_try" in
 
5282
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5283
  *) ac_try_echo=$ac_try;;
 
5284
esac
 
5285
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5286
$as_echo "$ac_try_echo") >&5
 
5287
  (eval "$ac_compile") 2>conftest.er1
4635
5288
  ac_status=$?
4636
5289
  grep -v '^ *+' conftest.er1 >conftest.err
4637
5290
  rm -f conftest.er1
4638
5291
  cat conftest.err >&5
4639
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4640
 
  (exit $ac_status); } &&
4641
 
         { ac_try='test -z "$ac_c_werror_flag"
4642
 
                         || test ! -s conftest.err'
4643
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4644
 
  (eval $ac_try) 2>&5
4645
 
  ac_status=$?
4646
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4647
 
  (exit $ac_status); }; } &&
4648
 
         { ac_try='test -s conftest.$ac_objext'
4649
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4650
 
  (eval $ac_try) 2>&5
4651
 
  ac_status=$?
4652
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4653
 
  (exit $ac_status); }; }; then
 
5292
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5293
  (exit $ac_status); } && {
 
5294
         test -z "$ac_c_werror_flag" ||
 
5295
         test ! -s conftest.err
 
5296
       } && test -s conftest.$ac_objext; then
4654
5297
  ac_hi=$ac_mid; break
4655
5298
else
4656
 
  echo "$as_me: failed program was:" >&5
 
5299
  $as_echo "$as_me: failed program was:" >&5
4657
5300
sed 's/^/| /' conftest.$ac_ext >&5
4658
5301
 
4659
 
ac_lo=`expr $ac_mid + 1`
4660
 
                    if test $ac_lo -le $ac_mid; then
4661
 
                      ac_lo= ac_hi=
4662
 
                      break
4663
 
                    fi
4664
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
5302
        ac_lo=`expr $ac_mid + 1`
 
5303
                        if test $ac_lo -le $ac_mid; then
 
5304
                          ac_lo= ac_hi=
 
5305
                          break
 
5306
                        fi
 
5307
                        ac_mid=`expr 2 '*' $ac_mid + 1`
4665
5308
fi
4666
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5309
 
 
5310
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4667
5311
  done
4668
5312
else
4669
 
  echo "$as_me: failed program was:" >&5
 
5313
  $as_echo "$as_me: failed program was:" >&5
4670
5314
sed 's/^/| /' conftest.$ac_ext >&5
4671
5315
 
4672
 
cat >conftest.$ac_ext <<_ACEOF
 
5316
        cat >conftest.$ac_ext <<_ACEOF
4673
5317
/* confdefs.h.  */
4674
5318
_ACEOF
4675
5319
cat confdefs.h >>conftest.$ac_ext
4679
5323
int
4680
5324
main ()
4681
5325
{
4682
 
static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
 
5326
static int test_array [1 - 2 * !(((long int) (sizeof (short))) < 0)];
4683
5327
test_array [0] = 0
4684
5328
 
4685
5329
  ;
4687
5331
}
4688
5332
_ACEOF
4689
5333
rm -f conftest.$ac_objext
4690
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4691
 
  (eval $ac_compile) 2>conftest.er1
 
5334
if { (ac_try="$ac_compile"
 
5335
case "(($ac_try" in
 
5336
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5337
  *) ac_try_echo=$ac_try;;
 
5338
esac
 
5339
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5340
$as_echo "$ac_try_echo") >&5
 
5341
  (eval "$ac_compile") 2>conftest.er1
4692
5342
  ac_status=$?
4693
5343
  grep -v '^ *+' conftest.er1 >conftest.err
4694
5344
  rm -f conftest.er1
4695
5345
  cat conftest.err >&5
4696
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697
 
  (exit $ac_status); } &&
4698
 
         { ac_try='test -z "$ac_c_werror_flag"
4699
 
                         || test ! -s conftest.err'
4700
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4701
 
  (eval $ac_try) 2>&5
4702
 
  ac_status=$?
4703
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4704
 
  (exit $ac_status); }; } &&
4705
 
         { ac_try='test -s conftest.$ac_objext'
4706
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4707
 
  (eval $ac_try) 2>&5
4708
 
  ac_status=$?
4709
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4710
 
  (exit $ac_status); }; }; then
 
5346
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5347
  (exit $ac_status); } && {
 
5348
         test -z "$ac_c_werror_flag" ||
 
5349
         test ! -s conftest.err
 
5350
       } && test -s conftest.$ac_objext; then
4711
5351
  ac_hi=-1 ac_mid=-1
4712
5352
  while :; do
4713
5353
    cat >conftest.$ac_ext <<_ACEOF
4720
5360
int
4721
5361
main ()
4722
5362
{
4723
 
static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
 
5363
static int test_array [1 - 2 * !(((long int) (sizeof (short))) >= $ac_mid)];
4724
5364
test_array [0] = 0
4725
5365
 
4726
5366
  ;
4728
5368
}
4729
5369
_ACEOF
4730
5370
rm -f conftest.$ac_objext
4731
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4732
 
  (eval $ac_compile) 2>conftest.er1
 
5371
if { (ac_try="$ac_compile"
 
5372
case "(($ac_try" in
 
5373
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5374
  *) ac_try_echo=$ac_try;;
 
5375
esac
 
5376
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5377
$as_echo "$ac_try_echo") >&5
 
5378
  (eval "$ac_compile") 2>conftest.er1
4733
5379
  ac_status=$?
4734
5380
  grep -v '^ *+' conftest.er1 >conftest.err
4735
5381
  rm -f conftest.er1
4736
5382
  cat conftest.err >&5
4737
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738
 
  (exit $ac_status); } &&
4739
 
         { ac_try='test -z "$ac_c_werror_flag"
4740
 
                         || test ! -s conftest.err'
4741
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4742
 
  (eval $ac_try) 2>&5
4743
 
  ac_status=$?
4744
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4745
 
  (exit $ac_status); }; } &&
4746
 
         { ac_try='test -s conftest.$ac_objext'
4747
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4748
 
  (eval $ac_try) 2>&5
4749
 
  ac_status=$?
4750
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4751
 
  (exit $ac_status); }; }; then
 
5383
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5384
  (exit $ac_status); } && {
 
5385
         test -z "$ac_c_werror_flag" ||
 
5386
         test ! -s conftest.err
 
5387
       } && test -s conftest.$ac_objext; then
4752
5388
  ac_lo=$ac_mid; break
4753
5389
else
4754
 
  echo "$as_me: failed program was:" >&5
 
5390
  $as_echo "$as_me: failed program was:" >&5
4755
5391
sed 's/^/| /' conftest.$ac_ext >&5
4756
5392
 
4757
 
ac_hi=`expr '(' $ac_mid ')' - 1`
4758
 
                       if test $ac_mid -le $ac_hi; then
4759
 
                         ac_lo= ac_hi=
4760
 
                         break
4761
 
                       fi
4762
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
5393
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
5394
                        if test $ac_mid -le $ac_hi; then
 
5395
                          ac_lo= ac_hi=
 
5396
                          break
 
5397
                        fi
 
5398
                        ac_mid=`expr 2 '*' $ac_mid`
4763
5399
fi
4764
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5400
 
 
5401
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4765
5402
  done
4766
5403
else
4767
 
  echo "$as_me: failed program was:" >&5
 
5404
  $as_echo "$as_me: failed program was:" >&5
4768
5405
sed 's/^/| /' conftest.$ac_ext >&5
4769
5406
 
4770
 
ac_lo= ac_hi=
4771
 
fi
4772
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4773
 
fi
4774
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5407
        ac_lo= ac_hi=
 
5408
fi
 
5409
 
 
5410
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5411
fi
 
5412
 
 
5413
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4775
5414
# Binary search between lo and hi bounds.
4776
5415
while test "x$ac_lo" != "x$ac_hi"; do
4777
5416
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4785
5424
int
4786
5425
main ()
4787
5426
{
4788
 
static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
 
5427
static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= $ac_mid)];
4789
5428
test_array [0] = 0
4790
5429
 
4791
5430
  ;
4793
5432
}
4794
5433
_ACEOF
4795
5434
rm -f conftest.$ac_objext
4796
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4797
 
  (eval $ac_compile) 2>conftest.er1
 
5435
if { (ac_try="$ac_compile"
 
5436
case "(($ac_try" in
 
5437
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5438
  *) ac_try_echo=$ac_try;;
 
5439
esac
 
5440
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5441
$as_echo "$ac_try_echo") >&5
 
5442
  (eval "$ac_compile") 2>conftest.er1
4798
5443
  ac_status=$?
4799
5444
  grep -v '^ *+' conftest.er1 >conftest.err
4800
5445
  rm -f conftest.er1
4801
5446
  cat conftest.err >&5
4802
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4803
 
  (exit $ac_status); } &&
4804
 
         { ac_try='test -z "$ac_c_werror_flag"
4805
 
                         || test ! -s conftest.err'
4806
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4807
 
  (eval $ac_try) 2>&5
4808
 
  ac_status=$?
4809
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4810
 
  (exit $ac_status); }; } &&
4811
 
         { ac_try='test -s conftest.$ac_objext'
4812
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4813
 
  (eval $ac_try) 2>&5
4814
 
  ac_status=$?
4815
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4816
 
  (exit $ac_status); }; }; then
 
5447
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5448
  (exit $ac_status); } && {
 
5449
         test -z "$ac_c_werror_flag" ||
 
5450
         test ! -s conftest.err
 
5451
       } && test -s conftest.$ac_objext; then
4817
5452
  ac_hi=$ac_mid
4818
5453
else
4819
 
  echo "$as_me: failed program was:" >&5
 
5454
  $as_echo "$as_me: failed program was:" >&5
4820
5455
sed 's/^/| /' conftest.$ac_ext >&5
4821
5456
 
4822
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
5457
        ac_lo=`expr '(' $ac_mid ')' + 1`
4823
5458
fi
4824
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5459
 
 
5460
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4825
5461
done
4826
5462
case $ac_lo in
4827
5463
?*) ac_cv_sizeof_short=$ac_lo;;
4828
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
 
5464
'') if test "$ac_cv_type_short" = yes; then
 
5465
     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
5466
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
5467
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (short)
4829
5468
See \`config.log' for more details." >&5
4830
 
echo "$as_me: error: cannot compute sizeof (short), 77
 
5469
$as_echo "$as_me: error: cannot compute sizeof (short)
4831
5470
See \`config.log' for more details." >&2;}
4832
 
   { (exit 1); exit 1; }; } ;;
 
5471
   { (exit 77); exit 77; }; }; }
 
5472
   else
 
5473
     ac_cv_sizeof_short=0
 
5474
   fi ;;
4833
5475
esac
4834
5476
else
4835
 
  if test "$cross_compiling" = yes; then
4836
 
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4837
 
See \`config.log' for more details." >&5
4838
 
echo "$as_me: error: cannot run test program while cross compiling
4839
 
See \`config.log' for more details." >&2;}
4840
 
   { (exit 1); exit 1; }; }
4841
 
else
4842
5477
  cat >conftest.$ac_ext <<_ACEOF
4843
5478
/* confdefs.h.  */
4844
5479
_ACEOF
4846
5481
cat >>conftest.$ac_ext <<_ACEOF
4847
5482
/* end confdefs.h.  */
4848
5483
$ac_includes_default
4849
 
long longval () { return (long) (sizeof (short)); }
4850
 
unsigned long ulongval () { return (long) (sizeof (short)); }
 
5484
static long int longval () { return (long int) (sizeof (short)); }
 
5485
static unsigned long int ulongval () { return (long int) (sizeof (short)); }
4851
5486
#include <stdio.h>
4852
5487
#include <stdlib.h>
4853
5488
int
4856
5491
 
4857
5492
  FILE *f = fopen ("conftest.val", "w");
4858
5493
  if (! f)
4859
 
    exit (1);
4860
 
  if (((long) (sizeof (short))) < 0)
 
5494
    return 1;
 
5495
  if (((long int) (sizeof (short))) < 0)
4861
5496
    {
4862
 
      long i = longval ();
4863
 
      if (i != ((long) (sizeof (short))))
4864
 
        exit (1);
4865
 
      fprintf (f, "%ld\n", i);
 
5497
      long int i = longval ();
 
5498
      if (i != ((long int) (sizeof (short))))
 
5499
        return 1;
 
5500
      fprintf (f, "%ld", i);
4866
5501
    }
4867
5502
  else
4868
5503
    {
4869
 
      unsigned long i = ulongval ();
4870
 
      if (i != ((long) (sizeof (short))))
4871
 
        exit (1);
4872
 
      fprintf (f, "%lu\n", i);
 
5504
      unsigned long int i = ulongval ();
 
5505
      if (i != ((long int) (sizeof (short))))
 
5506
        return 1;
 
5507
      fprintf (f, "%lu", i);
4873
5508
    }
4874
 
  exit (ferror (f) || fclose (f) != 0);
 
5509
  /* Do not output a trailing newline, as this causes \r\n confusion
 
5510
     on some platforms.  */
 
5511
  return ferror (f) || fclose (f) != 0;
4875
5512
 
4876
5513
  ;
4877
5514
  return 0;
4878
5515
}
4879
5516
_ACEOF
4880
5517
rm -f conftest$ac_exeext
4881
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4882
 
  (eval $ac_link) 2>&5
 
5518
if { (ac_try="$ac_link"
 
5519
case "(($ac_try" in
 
5520
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5521
  *) ac_try_echo=$ac_try;;
 
5522
esac
 
5523
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5524
$as_echo "$ac_try_echo") >&5
 
5525
  (eval "$ac_link") 2>&5
4883
5526
  ac_status=$?
4884
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5527
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4885
5528
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4886
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4887
 
  (eval $ac_try) 2>&5
 
5529
  { (case "(($ac_try" in
 
5530
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5531
  *) ac_try_echo=$ac_try;;
 
5532
esac
 
5533
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5534
$as_echo "$ac_try_echo") >&5
 
5535
  (eval "$ac_try") 2>&5
4888
5536
  ac_status=$?
4889
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5537
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4890
5538
  (exit $ac_status); }; }; then
4891
5539
  ac_cv_sizeof_short=`cat conftest.val`
4892
5540
else
4893
 
  echo "$as_me: program exited with status $ac_status" >&5
4894
 
echo "$as_me: failed program was:" >&5
 
5541
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
5542
$as_echo "$as_me: failed program was:" >&5
4895
5543
sed 's/^/| /' conftest.$ac_ext >&5
4896
5544
 
4897
5545
( exit $ac_status )
4898
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
 
5546
if test "$ac_cv_type_short" = yes; then
 
5547
     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
5548
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
5549
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (short)
4899
5550
See \`config.log' for more details." >&5
4900
 
echo "$as_me: error: cannot compute sizeof (short), 77
 
5551
$as_echo "$as_me: error: cannot compute sizeof (short)
4901
5552
See \`config.log' for more details." >&2;}
4902
 
   { (exit 1); exit 1; }; }
4903
 
fi
4904
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4905
 
fi
 
5553
   { (exit 77); exit 77; }; }; }
 
5554
   else
 
5555
     ac_cv_sizeof_short=0
 
5556
   fi
 
5557
fi
 
5558
rm -rf conftest.dSYM
 
5559
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4906
5560
fi
4907
5561
rm -f conftest.val
4908
 
else
4909
 
  ac_cv_sizeof_short=0
4910
 
fi
4911
 
fi
4912
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
4913
 
echo "${ECHO_T}$ac_cv_sizeof_short" >&6
 
5562
fi
 
5563
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
 
5564
$as_echo "$ac_cv_sizeof_short" >&6; }
 
5565
 
 
5566
 
 
5567
 
4914
5568
cat >>confdefs.h <<_ACEOF
4915
5569
#define SIZEOF_SHORT $ac_cv_sizeof_short
4916
5570
_ACEOF
4927
5581
_ACEOF
4928
5582
 
4929
5583
  else
4930
 
   { { echo "$as_me:$LINENO: error: Unsupported 32-bit platform: short size is $ac_cv_sizeof_short, expected 2." >&5
4931
 
echo "$as_me: error: Unsupported 32-bit platform: short size is $ac_cv_sizeof_short, expected 2." >&2;}
 
5584
   { { $as_echo "$as_me:$LINENO: error: Unsupported 32-bit platform: short size is $ac_cv_sizeof_short, expected 2." >&5
 
5585
$as_echo "$as_me: error: Unsupported 32-bit platform: short size is $ac_cv_sizeof_short, expected 2." >&2;}
4932
5586
   { (exit 1); exit 1; }; }
4933
5587
  fi
4934
5588
elif  test "$ac_cv_sizeof_voidp" = 8
4941
5595
_ACEOF
4942
5596
 
4943
5597
  else
4944
 
   { { echo "$as_me:$LINENO: error: Unsupported 64-bit platform: int size is $ac_cv_sizeof_int, expected 4" >&5
4945
 
echo "$as_me: error: Unsupported 64-bit platform: int size is $ac_cv_sizeof_int, expected 4" >&2;}
 
5598
   { { $as_echo "$as_me:$LINENO: error: Unsupported 64-bit platform: int size is $ac_cv_sizeof_int, expected 4" >&5
 
5599
$as_echo "$as_me: error: Unsupported 64-bit platform: int size is $ac_cv_sizeof_int, expected 4" >&2;}
4946
5600
   { (exit 1); exit 1; }; }
4947
5601
  fi
4948
5602
else
4949
 
   { { echo "$as_me:$LINENO: error: Unsupported platform, invalid pointer size $ac_cv_sizeof_voidp." >&5
4950
 
echo "$as_me: error: Unsupported platform, invalid pointer size $ac_cv_sizeof_voidp." >&2;}
 
5603
   { { $as_echo "$as_me:$LINENO: error: Unsupported platform, invalid pointer size $ac_cv_sizeof_voidp." >&5
 
5604
$as_echo "$as_me: error: Unsupported platform, invalid pointer size $ac_cv_sizeof_voidp." >&2;}
4951
5605
   { (exit 1); exit 1; }; }
4952
5606
fi
4953
5607
 
4960
5614
 
4961
5615
 
4962
5616
 
4963
 
# Check whether --enable-static or --disable-static was given.
 
5617
# Check whether --enable-static was given.
4964
5618
if test "${enable_static+set}" = set; then
4965
 
  enableval="$enable_static"
4966
 
  p=${PACKAGE-default}
 
5619
  enableval=$enable_static; p=${PACKAGE-default}
4967
5620
    case $enableval in
4968
5621
    yes) enable_static=yes ;;
4969
5622
    no) enable_static=no ;;
4982
5635
    esac
4983
5636
else
4984
5637
  enable_static=no
4985
 
fi;
 
5638
fi
 
5639
 
4986
5640
 
4987
5641
 
4988
5642
 
5009
5663
if test "$enable_slp" == "standalone"; then
5010
5664
 
5011
5665
cat >>confdefs.h <<\_ACEOF
5012
 
#define HAVE_SLP_ALONE
 
5666
#define HAVE_SLP_ALONE /**/
5013
5667
_ACEOF
5014
5668
 
5015
5669
fi
5017
5671
if test "$enable_slp" == "yes"; then
5018
5672
 
5019
5673
cat >>confdefs.h <<\_ACEOF
5020
 
#define HAVE_SLP
5021
 
_ACEOF
5022
 
 
5023
 
fi
 
5674
#define HAVE_SLP /**/
 
5675
_ACEOF
 
5676
 
 
5677
fi
 
5678
 
 
5679
if test "$enable_slp_hostname_lib" == "yes"; then
 
5680
 
 
5681
cat >>confdefs.h <<\_ACEOF
 
5682
#define SLP_HOSTNAME_LIB /**/
 
5683
_ACEOF
 
5684
 
 
5685
fi
 
5686
 
 
5687
 
 
5688
# Check and configure requested tests.
 
5689
if test "$enable_tests" == "yes"; then
 
5690
    # This means all tests should be on
 
5691
    enable_tests="unit,gcov,wbemcli,xml,commands"
 
5692
fi
 
5693
 
 
5694
OLDIFS="$IFS"
 
5695
IFS=","
 
5696
for testcase in $enable_tests;
 
5697
do
 
5698
    case $testcase in
 
5699
        gcov)
 
5700
            test_gcov=yes;;
 
5701
        wbemcli)
 
5702
            test_wbemcli=yes;;
 
5703
        unit|unittest)
 
5704
            test_unit=yes;;
 
5705
        xml|xmltest)
 
5706
            test_xml=yes;;
 
5707
        commands|command|cmd|cmds)
 
5708
            test_cmd=yes;;
 
5709
        *)
 
5710
            echo "Unknown testcase $testcase";;
 
5711
    esac
 
5712
 
 
5713
done
 
5714
IFS="$OLDIFS"
 
5715
 if test "$enable_tests"; then
 
5716
  TEST_ENABLED_TRUE=
 
5717
  TEST_ENABLED_FALSE='#'
 
5718
else
 
5719
  TEST_ENABLED_TRUE='#'
 
5720
  TEST_ENABLED_FALSE=
 
5721
fi
 
5722
 
 
5723
 if test "$test_unit" == "yes"; then
 
5724
  UNITTEST_TRUE=
 
5725
  UNITTEST_FALSE='#'
 
5726
else
 
5727
  UNITTEST_TRUE='#'
 
5728
  UNITTEST_FALSE=
 
5729
fi
 
5730
 
 
5731
 if test "$test_gcov" == "yes"; then
 
5732
  GCOV_TRUE=
 
5733
  GCOV_FALSE='#'
 
5734
else
 
5735
  GCOV_TRUE='#'
 
5736
  GCOV_FALSE=
 
5737
fi
 
5738
 
 
5739
 if test "$test_wbemcli" == "yes"; then
 
5740
  WCTEST_TRUE=
 
5741
  WCTEST_FALSE='#'
 
5742
else
 
5743
  WCTEST_TRUE='#'
 
5744
  WCTEST_FALSE=
 
5745
fi
 
5746
 
 
5747
 if test "$test_xml" == "yes"; then
 
5748
  XMLTEST_TRUE=
 
5749
  XMLTEST_FALSE='#'
 
5750
else
 
5751
  XMLTEST_TRUE='#'
 
5752
  XMLTEST_FALSE=
 
5753
fi
 
5754
 
 
5755
 if test "$test_cmd" == "yes"; then
 
5756
  CMDTEST_TRUE=
 
5757
  CMDTEST_FALSE='#'
 
5758
else
 
5759
  CMDTEST_TRUE='#'
 
5760
  CMDTEST_FALSE=
 
5761
fi
 
5762
 
 
5763
 
 
5764
if test "$enable_tests"; then
 
5765
    # The order of TEST_SUBDIRS determines test
 
5766
    # execution order.
 
5767
    TEST_SUBDIRS="."
 
5768
    ac_config_files="$ac_config_files test/finaltest/Makefile"
 
5769
 
 
5770
    # Enable the various tests
 
5771
    if test "$test_cmd" == "yes"; then
 
5772
        TEST_SUBDIRS="$TEST_SUBDIRS commands"
 
5773
        ac_config_files="$ac_config_files test/commands/Makefile"
 
5774
 
 
5775
    fi
 
5776
 
 
5777
    if test "$test_wbemcli" == "yes"; then
 
5778
        TEST_SUBDIRS="$TEST_SUBDIRS wbemcli"
 
5779
        ac_config_files="$ac_config_files test/wbemcli/Makefile"
 
5780
 
 
5781
    fi
 
5782
 
 
5783
    if test "$test_xml" == "yes"; then
 
5784
        TEST_SUBDIRS="$TEST_SUBDIRS xmltest"
 
5785
        ac_config_files="$ac_config_files test/xmltest/Makefile"
 
5786
 
 
5787
    fi
 
5788
 
 
5789
    if test "$test_unit" == "yes"; then
 
5790
        TEST_SUBDIRS="$TEST_SUBDIRS unittest"
 
5791
        ac_config_files="$ac_config_files test/unittest/Makefile"
 
5792
 
 
5793
 
 
5794
cat >>confdefs.h <<\_ACEOF
 
5795
#define UNITTEST /**/
 
5796
_ACEOF
 
5797
 
 
5798
    fi
 
5799
 
 
5800
    TEST_SUBDIRS="$TEST_SUBDIRS finaltest"
 
5801
 
 
5802
fi
 
5803
 
 
5804
if test "$test_gcov" == "yes"; then
 
5805
 
 
5806
{ $as_echo "$as_me:$LINENO: checking for main in -lgcc" >&5
 
5807
$as_echo_n "checking for main in -lgcc... " >&6; }
 
5808
if test "${ac_cv_lib_gcc_main+set}" = set; then
 
5809
  $as_echo_n "(cached) " >&6
 
5810
else
 
5811
  ac_check_lib_save_LIBS=$LIBS
 
5812
LIBS="-lgcc  $LIBS"
 
5813
cat >conftest.$ac_ext <<_ACEOF
 
5814
/* confdefs.h.  */
 
5815
_ACEOF
 
5816
cat confdefs.h >>conftest.$ac_ext
 
5817
cat >>conftest.$ac_ext <<_ACEOF
 
5818
/* end confdefs.h.  */
 
5819
 
 
5820
 
 
5821
int
 
5822
main ()
 
5823
{
 
5824
return main ();
 
5825
  ;
 
5826
  return 0;
 
5827
}
 
5828
_ACEOF
 
5829
rm -f conftest.$ac_objext conftest$ac_exeext
 
5830
if { (ac_try="$ac_link"
 
5831
case "(($ac_try" in
 
5832
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5833
  *) ac_try_echo=$ac_try;;
 
5834
esac
 
5835
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5836
$as_echo "$ac_try_echo") >&5
 
5837
  (eval "$ac_link") 2>conftest.er1
 
5838
  ac_status=$?
 
5839
  grep -v '^ *+' conftest.er1 >conftest.err
 
5840
  rm -f conftest.er1
 
5841
  cat conftest.err >&5
 
5842
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5843
  (exit $ac_status); } && {
 
5844
         test -z "$ac_c_werror_flag" ||
 
5845
         test ! -s conftest.err
 
5846
       } && test -s conftest$ac_exeext && {
 
5847
         test "$cross_compiling" = yes ||
 
5848
         $as_test_x conftest$ac_exeext
 
5849
       }; then
 
5850
  ac_cv_lib_gcc_main=yes
 
5851
else
 
5852
  $as_echo "$as_me: failed program was:" >&5
 
5853
sed 's/^/| /' conftest.$ac_ext >&5
 
5854
 
 
5855
        ac_cv_lib_gcc_main=no
 
5856
fi
 
5857
 
 
5858
rm -rf conftest.dSYM
 
5859
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
5860
      conftest$ac_exeext conftest.$ac_ext
 
5861
LIBS=$ac_check_lib_save_LIBS
 
5862
fi
 
5863
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gcc_main" >&5
 
5864
$as_echo "$ac_cv_lib_gcc_main" >&6; }
 
5865
if test "x$ac_cv_lib_gcc_main" = x""yes; then
 
5866
  cat >>confdefs.h <<_ACEOF
 
5867
#define HAVE_LIBGCC 1
 
5868
_ACEOF
 
5869
 
 
5870
  LIBS="-lgcc $LIBS"
 
5871
 
 
5872
fi
 
5873
 
 
5874
 
 
5875
{ $as_echo "$as_me:$LINENO: checking for main in -lgcov" >&5
 
5876
$as_echo_n "checking for main in -lgcov... " >&6; }
 
5877
if test "${ac_cv_lib_gcov_main+set}" = set; then
 
5878
  $as_echo_n "(cached) " >&6
 
5879
else
 
5880
  ac_check_lib_save_LIBS=$LIBS
 
5881
LIBS="-lgcov  $LIBS"
 
5882
cat >conftest.$ac_ext <<_ACEOF
 
5883
/* confdefs.h.  */
 
5884
_ACEOF
 
5885
cat confdefs.h >>conftest.$ac_ext
 
5886
cat >>conftest.$ac_ext <<_ACEOF
 
5887
/* end confdefs.h.  */
 
5888
 
 
5889
 
 
5890
int
 
5891
main ()
 
5892
{
 
5893
return main ();
 
5894
  ;
 
5895
  return 0;
 
5896
}
 
5897
_ACEOF
 
5898
rm -f conftest.$ac_objext conftest$ac_exeext
 
5899
if { (ac_try="$ac_link"
 
5900
case "(($ac_try" in
 
5901
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5902
  *) ac_try_echo=$ac_try;;
 
5903
esac
 
5904
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5905
$as_echo "$ac_try_echo") >&5
 
5906
  (eval "$ac_link") 2>conftest.er1
 
5907
  ac_status=$?
 
5908
  grep -v '^ *+' conftest.er1 >conftest.err
 
5909
  rm -f conftest.er1
 
5910
  cat conftest.err >&5
 
5911
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5912
  (exit $ac_status); } && {
 
5913
         test -z "$ac_c_werror_flag" ||
 
5914
         test ! -s conftest.err
 
5915
       } && test -s conftest$ac_exeext && {
 
5916
         test "$cross_compiling" = yes ||
 
5917
         $as_test_x conftest$ac_exeext
 
5918
       }; then
 
5919
  ac_cv_lib_gcov_main=yes
 
5920
else
 
5921
  $as_echo "$as_me: failed program was:" >&5
 
5922
sed 's/^/| /' conftest.$ac_ext >&5
 
5923
 
 
5924
        ac_cv_lib_gcov_main=no
 
5925
fi
 
5926
 
 
5927
rm -rf conftest.dSYM
 
5928
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
5929
      conftest$ac_exeext conftest.$ac_ext
 
5930
LIBS=$ac_check_lib_save_LIBS
 
5931
fi
 
5932
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gcov_main" >&5
 
5933
$as_echo "$ac_cv_lib_gcov_main" >&6; }
 
5934
if test "x$ac_cv_lib_gcov_main" = x""yes; then
 
5935
  cat >>confdefs.h <<_ACEOF
 
5936
#define HAVE_LIBGCOV 1
 
5937
_ACEOF
 
5938
 
 
5939
  LIBS="-lgcov $LIBS"
 
5940
 
 
5941
fi
 
5942
 
 
5943
    SFCB_CPPFLAGS="-D SFCB_GCOV $SFCB_CPPFLAGS"
 
5944
fi
 
5945
# End of test configuration
 
5946
 
 
5947
if test "$enable_uds" == "yes"; then
 
5948
 
 
5949
cat >>confdefs.h <<\_ACEOF
 
5950
#define HAVE_UDS /**/
 
5951
_ACEOF
 
5952
 
 
5953
fi
 
5954
 
5024
5955
 
5025
5956
if test "$enable_qualifierrep" == "yes"; then
 
5957
   LOAD_QUALIFIER_PROVIDER=
5026
5958
 
5027
5959
cat >>confdefs.h <<\_ACEOF
5028
 
#define HAVE_QUALREP
 
5960
#define HAVE_QUALREP /**/
5029
5961
_ACEOF
5030
5962
 
 
5963
else
 
5964
   LOAD_QUALIFIER_PROVIDER='#'
5031
5965
fi
5032
5966
 
 
5967
 
5033
5968
if test "$enable_optimized_enumeration" == "yes"; then
5034
5969
 
5035
5970
cat >>confdefs.h <<\_ACEOF
5041
5976
if test "$enable_pam" == "yes"; then
5042
5977
 
5043
5978
cat >>confdefs.h <<\_ACEOF
5044
 
#define HAVE_PAM
 
5979
#define HAVE_PAM /**/
5045
5980
_ACEOF
5046
5981
 
5047
5982
   SFCB_CONF_BASICAUTHLIB=sfcBasicPAMAuthentication
5060
5995
if test "$enable_ipv6" == "yes"; then
5061
5996
 
5062
5997
cat >>confdefs.h <<\_ACEOF
5063
 
#define HAVE_IPV6
 
5998
#define HAVE_IPV6 /**/
5064
5999
_ACEOF
5065
6000
 
5066
6001
fi
5067
6002
 
5068
6003
# Make sure we can run config.sub.
5069
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
5070
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
5071
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
6004
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
6005
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
6006
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
5072
6007
   { (exit 1); exit 1; }; }
5073
6008
 
5074
 
echo "$as_me:$LINENO: checking build system type" >&5
5075
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
6009
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
6010
$as_echo_n "checking build system type... " >&6; }
5076
6011
if test "${ac_cv_build+set}" = set; then
5077
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6012
  $as_echo_n "(cached) " >&6
5078
6013
else
5079
 
  ac_cv_build_alias=$build_alias
5080
 
test -z "$ac_cv_build_alias" &&
5081
 
  ac_cv_build_alias=`$ac_config_guess`
5082
 
test -z "$ac_cv_build_alias" &&
5083
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5084
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
6014
  ac_build_alias=$build_alias
 
6015
test "x$ac_build_alias" = x &&
 
6016
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
6017
test "x$ac_build_alias" = x &&
 
6018
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
6019
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5085
6020
   { (exit 1); exit 1; }; }
5086
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
5087
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
5088
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
6021
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
6022
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
6023
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
5089
6024
   { (exit 1); exit 1; }; }
5090
6025
 
5091
6026
fi
5092
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5093
 
echo "${ECHO_T}$ac_cv_build" >&6
 
6027
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
6028
$as_echo "$ac_cv_build" >&6; }
 
6029
case $ac_cv_build in
 
6030
*-*-*) ;;
 
6031
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
6032
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
 
6033
   { (exit 1); exit 1; }; };;
 
6034
esac
5094
6035
build=$ac_cv_build
5095
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5096
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5097
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5098
 
 
5099
 
 
5100
 
echo "$as_me:$LINENO: checking host system type" >&5
5101
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
6036
ac_save_IFS=$IFS; IFS='-'
 
6037
set x $ac_cv_build
 
6038
shift
 
6039
build_cpu=$1
 
6040
build_vendor=$2
 
6041
shift; shift
 
6042
# Remember, the first character of IFS is used to create $*,
 
6043
# except with old shells:
 
6044
build_os=$*
 
6045
IFS=$ac_save_IFS
 
6046
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
6047
 
 
6048
 
 
6049
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
6050
$as_echo_n "checking host system type... " >&6; }
5102
6051
if test "${ac_cv_host+set}" = set; then
5103
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5104
 
else
5105
 
  ac_cv_host_alias=$host_alias
5106
 
test -z "$ac_cv_host_alias" &&
5107
 
  ac_cv_host_alias=$ac_cv_build_alias
5108
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
5109
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
5110
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
6052
  $as_echo_n "(cached) " >&6
 
6053
else
 
6054
  if test "x$host_alias" = x; then
 
6055
  ac_cv_host=$ac_cv_build
 
6056
else
 
6057
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
6058
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
6059
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
5111
6060
   { (exit 1); exit 1; }; }
 
6061
fi
5112
6062
 
5113
6063
fi
5114
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5115
 
echo "${ECHO_T}$ac_cv_host" >&6
 
6064
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
6065
$as_echo "$ac_cv_host" >&6; }
 
6066
case $ac_cv_host in
 
6067
*-*-*) ;;
 
6068
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
6069
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
 
6070
   { (exit 1); exit 1; }; };;
 
6071
esac
5116
6072
host=$ac_cv_host
5117
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5118
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5119
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
6073
ac_save_IFS=$IFS; IFS='-'
 
6074
set x $ac_cv_host
 
6075
shift
 
6076
host_cpu=$1
 
6077
host_vendor=$2
 
6078
shift; shift
 
6079
# Remember, the first character of IFS is used to create $*,
 
6080
# except with old shells:
 
6081
host_os=$*
 
6082
IFS=$ac_save_IFS
 
6083
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5120
6084
 
5121
6085
 
5122
6086
case $host_os in
5130
6094
                ;;
5131
6095
     linux*)    SFCB_CMPI_PLATFORM="-D CMPI_PLATFORM_LINUX_GENERIC_GNU"
5132
6096
                SFCB_CMPI_OS="-D CMPI_OS_LINUX"
5133
 
                SFCB_CFLAGS="-Wall -fno-strict-aliasing -fsigned-char $SFCB_CFLAGS"
 
6097
                SFCB_CFLAGS="-Wall -fno-strict-aliasing -fsigned-char $SFCB_CFLAGS"
5134
6098
                ;;
5135
6099
     hpux*)     SFCB_CMPI_PLATFORM="-D CMPI_OS_HPUX"
5136
6100
                case $host_arch in
5168
6132
if test -n "$ac_tool_prefix"; then
5169
6133
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5170
6134
set dummy ${ac_tool_prefix}gcc; ac_word=$2
5171
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5172
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6135
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6136
$as_echo_n "checking for $ac_word... " >&6; }
5173
6137
if test "${ac_cv_prog_CC+set}" = set; then
5174
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6138
  $as_echo_n "(cached) " >&6
5175
6139
else
5176
6140
  if test -n "$CC"; then
5177
6141
  ac_cv_prog_CC="$CC" # Let the user override the test.
5182
6146
  IFS=$as_save_IFS
5183
6147
  test -z "$as_dir" && as_dir=.
5184
6148
  for ac_exec_ext in '' $ac_executable_extensions; do
5185
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6149
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5186
6150
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
5187
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6151
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5188
6152
    break 2
5189
6153
  fi
5190
6154
done
5191
6155
done
 
6156
IFS=$as_save_IFS
5192
6157
 
5193
6158
fi
5194
6159
fi
5195
6160
CC=$ac_cv_prog_CC
5196
6161
if test -n "$CC"; then
5197
 
  echo "$as_me:$LINENO: result: $CC" >&5
5198
 
echo "${ECHO_T}$CC" >&6
 
6162
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
6163
$as_echo "$CC" >&6; }
5199
6164
else
5200
 
  echo "$as_me:$LINENO: result: no" >&5
5201
 
echo "${ECHO_T}no" >&6
 
6165
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6166
$as_echo "no" >&6; }
5202
6167
fi
 
6168
 
5203
6169
 
5204
6170
fi
5205
6171
if test -z "$ac_cv_prog_CC"; then
5206
6172
  ac_ct_CC=$CC
5207
6173
  # Extract the first word of "gcc", so it can be a program name with args.
5208
6174
set dummy gcc; ac_word=$2
5209
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5210
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6175
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6176
$as_echo_n "checking for $ac_word... " >&6; }
5211
6177
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5212
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6178
  $as_echo_n "(cached) " >&6
5213
6179
else
5214
6180
  if test -n "$ac_ct_CC"; then
5215
6181
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5220
6186
  IFS=$as_save_IFS
5221
6187
  test -z "$as_dir" && as_dir=.
5222
6188
  for ac_exec_ext in '' $ac_executable_extensions; do
5223
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6189
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5224
6190
    ac_cv_prog_ac_ct_CC="gcc"
5225
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6191
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5226
6192
    break 2
5227
6193
  fi
5228
6194
done
5229
6195
done
 
6196
IFS=$as_save_IFS
5230
6197
 
5231
6198
fi
5232
6199
fi
5233
6200
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5234
6201
if test -n "$ac_ct_CC"; then
5235
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5236
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
6202
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
6203
$as_echo "$ac_ct_CC" >&6; }
5237
6204
else
5238
 
  echo "$as_me:$LINENO: result: no" >&5
5239
 
echo "${ECHO_T}no" >&6
 
6205
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6206
$as_echo "no" >&6; }
5240
6207
fi
5241
6208
 
5242
 
  CC=$ac_ct_CC
 
6209
  if test "x$ac_ct_CC" = x; then
 
6210
    CC=""
 
6211
  else
 
6212
    case $cross_compiling:$ac_tool_warned in
 
6213
yes:)
 
6214
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6215
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6216
ac_tool_warned=yes ;;
 
6217
esac
 
6218
    CC=$ac_ct_CC
 
6219
  fi
5243
6220
else
5244
6221
  CC="$ac_cv_prog_CC"
5245
6222
fi
5246
6223
 
5247
6224
if test -z "$CC"; then
5248
 
  if test -n "$ac_tool_prefix"; then
5249
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
6225
          if test -n "$ac_tool_prefix"; then
 
6226
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5250
6227
set dummy ${ac_tool_prefix}cc; ac_word=$2
5251
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5252
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6228
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6229
$as_echo_n "checking for $ac_word... " >&6; }
5253
6230
if test "${ac_cv_prog_CC+set}" = set; then
5254
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6231
  $as_echo_n "(cached) " >&6
5255
6232
else
5256
6233
  if test -n "$CC"; then
5257
6234
  ac_cv_prog_CC="$CC" # Let the user override the test.
5262
6239
  IFS=$as_save_IFS
5263
6240
  test -z "$as_dir" && as_dir=.
5264
6241
  for ac_exec_ext in '' $ac_executable_extensions; do
5265
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6242
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5266
6243
    ac_cv_prog_CC="${ac_tool_prefix}cc"
5267
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6244
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5268
6245
    break 2
5269
6246
  fi
5270
6247
done
5271
6248
done
 
6249
IFS=$as_save_IFS
5272
6250
 
5273
6251
fi
5274
6252
fi
5275
6253
CC=$ac_cv_prog_CC
5276
6254
if test -n "$CC"; then
5277
 
  echo "$as_me:$LINENO: result: $CC" >&5
5278
 
echo "${ECHO_T}$CC" >&6
5279
 
else
5280
 
  echo "$as_me:$LINENO: result: no" >&5
5281
 
echo "${ECHO_T}no" >&6
5282
 
fi
5283
 
 
5284
 
fi
5285
 
if test -z "$ac_cv_prog_CC"; then
5286
 
  ac_ct_CC=$CC
5287
 
  # Extract the first word of "cc", so it can be a program name with args.
5288
 
set dummy cc; ac_word=$2
5289
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5290
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5291
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5292
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5293
 
else
5294
 
  if test -n "$ac_ct_CC"; then
5295
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5296
 
else
5297
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5298
 
for as_dir in $PATH
5299
 
do
5300
 
  IFS=$as_save_IFS
5301
 
  test -z "$as_dir" && as_dir=.
5302
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5303
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5304
 
    ac_cv_prog_ac_ct_CC="cc"
5305
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5306
 
    break 2
 
6255
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
6256
$as_echo "$CC" >&6; }
 
6257
else
 
6258
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6259
$as_echo "no" >&6; }
 
6260
fi
 
6261
 
 
6262
 
5307
6263
  fi
5308
 
done
5309
 
done
5310
 
 
5311
 
fi
5312
 
fi
5313
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5314
 
if test -n "$ac_ct_CC"; then
5315
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5316
 
echo "${ECHO_T}$ac_ct_CC" >&6
5317
 
else
5318
 
  echo "$as_me:$LINENO: result: no" >&5
5319
 
echo "${ECHO_T}no" >&6
5320
 
fi
5321
 
 
5322
 
  CC=$ac_ct_CC
5323
 
else
5324
 
  CC="$ac_cv_prog_CC"
5325
 
fi
5326
 
 
5327
6264
fi
5328
6265
if test -z "$CC"; then
5329
6266
  # Extract the first word of "cc", so it can be a program name with args.
5330
6267
set dummy cc; ac_word=$2
5331
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5332
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6268
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6269
$as_echo_n "checking for $ac_word... " >&6; }
5333
6270
if test "${ac_cv_prog_CC+set}" = set; then
5334
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6271
  $as_echo_n "(cached) " >&6
5335
6272
else
5336
6273
  if test -n "$CC"; then
5337
6274
  ac_cv_prog_CC="$CC" # Let the user override the test.
5343
6280
  IFS=$as_save_IFS
5344
6281
  test -z "$as_dir" && as_dir=.
5345
6282
  for ac_exec_ext in '' $ac_executable_extensions; do
5346
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6283
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5347
6284
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5348
6285
       ac_prog_rejected=yes
5349
6286
       continue
5350
6287
     fi
5351
6288
    ac_cv_prog_CC="cc"
5352
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6289
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5353
6290
    break 2
5354
6291
  fi
5355
6292
done
5356
6293
done
 
6294
IFS=$as_save_IFS
5357
6295
 
5358
6296
if test $ac_prog_rejected = yes; then
5359
6297
  # We found a bogon in the path, so make sure we never use it.
5371
6309
fi
5372
6310
CC=$ac_cv_prog_CC
5373
6311
if test -n "$CC"; then
5374
 
  echo "$as_me:$LINENO: result: $CC" >&5
5375
 
echo "${ECHO_T}$CC" >&6
 
6312
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
6313
$as_echo "$CC" >&6; }
5376
6314
else
5377
 
  echo "$as_me:$LINENO: result: no" >&5
5378
 
echo "${ECHO_T}no" >&6
 
6315
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6316
$as_echo "no" >&6; }
5379
6317
fi
 
6318
 
5380
6319
 
5381
6320
fi
5382
6321
if test -z "$CC"; then
5383
6322
  if test -n "$ac_tool_prefix"; then
5384
 
  for ac_prog in cl
 
6323
  for ac_prog in cl.exe
5385
6324
  do
5386
6325
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5387
6326
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5388
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5389
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6327
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6328
$as_echo_n "checking for $ac_word... " >&6; }
5390
6329
if test "${ac_cv_prog_CC+set}" = set; then
5391
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6330
  $as_echo_n "(cached) " >&6
5392
6331
else
5393
6332
  if test -n "$CC"; then
5394
6333
  ac_cv_prog_CC="$CC" # Let the user override the test.
5399
6338
  IFS=$as_save_IFS
5400
6339
  test -z "$as_dir" && as_dir=.
5401
6340
  for ac_exec_ext in '' $ac_executable_extensions; do
5402
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6341
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5403
6342
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5404
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6343
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5405
6344
    break 2
5406
6345
  fi
5407
6346
done
5408
6347
done
 
6348
IFS=$as_save_IFS
5409
6349
 
5410
6350
fi
5411
6351
fi
5412
6352
CC=$ac_cv_prog_CC
5413
6353
if test -n "$CC"; then
5414
 
  echo "$as_me:$LINENO: result: $CC" >&5
5415
 
echo "${ECHO_T}$CC" >&6
 
6354
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
6355
$as_echo "$CC" >&6; }
5416
6356
else
5417
 
  echo "$as_me:$LINENO: result: no" >&5
5418
 
echo "${ECHO_T}no" >&6
 
6357
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6358
$as_echo "no" >&6; }
5419
6359
fi
5420
6360
 
 
6361
 
5421
6362
    test -n "$CC" && break
5422
6363
  done
5423
6364
fi
5424
6365
if test -z "$CC"; then
5425
6366
  ac_ct_CC=$CC
5426
 
  for ac_prog in cl
 
6367
  for ac_prog in cl.exe
5427
6368
do
5428
6369
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5429
6370
set dummy $ac_prog; ac_word=$2
5430
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5431
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6371
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6372
$as_echo_n "checking for $ac_word... " >&6; }
5432
6373
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5433
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6374
  $as_echo_n "(cached) " >&6
5434
6375
else
5435
6376
  if test -n "$ac_ct_CC"; then
5436
6377
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5441
6382
  IFS=$as_save_IFS
5442
6383
  test -z "$as_dir" && as_dir=.
5443
6384
  for ac_exec_ext in '' $ac_executable_extensions; do
5444
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6385
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5445
6386
    ac_cv_prog_ac_ct_CC="$ac_prog"
5446
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6387
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5447
6388
    break 2
5448
6389
  fi
5449
6390
done
5450
6391
done
 
6392
IFS=$as_save_IFS
5451
6393
 
5452
6394
fi
5453
6395
fi
5454
6396
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5455
6397
if test -n "$ac_ct_CC"; then
5456
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5457
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
6398
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
6399
$as_echo "$ac_ct_CC" >&6; }
5458
6400
else
5459
 
  echo "$as_me:$LINENO: result: no" >&5
5460
 
echo "${ECHO_T}no" >&6
 
6401
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6402
$as_echo "no" >&6; }
5461
6403
fi
5462
6404
 
 
6405
 
5463
6406
  test -n "$ac_ct_CC" && break
5464
6407
done
5465
6408
 
5466
 
  CC=$ac_ct_CC
5467
 
fi
5468
 
 
5469
 
fi
5470
 
 
5471
 
 
5472
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
6409
  if test "x$ac_ct_CC" = x; then
 
6410
    CC=""
 
6411
  else
 
6412
    case $cross_compiling:$ac_tool_warned in
 
6413
yes:)
 
6414
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6415
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6416
ac_tool_warned=yes ;;
 
6417
esac
 
6418
    CC=$ac_ct_CC
 
6419
  fi
 
6420
fi
 
6421
 
 
6422
fi
 
6423
 
 
6424
 
 
6425
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
6426
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
6427
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5473
6428
See \`config.log' for more details." >&5
5474
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
6429
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
5475
6430
See \`config.log' for more details." >&2;}
5476
 
   { (exit 1); exit 1; }; }
 
6431
   { (exit 1); exit 1; }; }; }
5477
6432
 
5478
6433
# Provide some information about the compiler.
5479
 
echo "$as_me:$LINENO:" \
5480
 
     "checking for C compiler version" >&5
5481
 
ac_compiler=`set X $ac_compile; echo $2`
5482
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5483
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
5484
 
  ac_status=$?
5485
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5486
 
  (exit $ac_status); }
5487
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5488
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
5489
 
  ac_status=$?
5490
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5491
 
  (exit $ac_status); }
5492
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5493
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
5494
 
  ac_status=$?
5495
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6434
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
6435
set X $ac_compile
 
6436
ac_compiler=$2
 
6437
{ (ac_try="$ac_compiler --version >&5"
 
6438
case "(($ac_try" in
 
6439
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6440
  *) ac_try_echo=$ac_try;;
 
6441
esac
 
6442
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6443
$as_echo "$ac_try_echo") >&5
 
6444
  (eval "$ac_compiler --version >&5") 2>&5
 
6445
  ac_status=$?
 
6446
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6447
  (exit $ac_status); }
 
6448
{ (ac_try="$ac_compiler -v >&5"
 
6449
case "(($ac_try" in
 
6450
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6451
  *) ac_try_echo=$ac_try;;
 
6452
esac
 
6453
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6454
$as_echo "$ac_try_echo") >&5
 
6455
  (eval "$ac_compiler -v >&5") 2>&5
 
6456
  ac_status=$?
 
6457
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6458
  (exit $ac_status); }
 
6459
{ (ac_try="$ac_compiler -V >&5"
 
6460
case "(($ac_try" in
 
6461
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6462
  *) ac_try_echo=$ac_try;;
 
6463
esac
 
6464
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6465
$as_echo "$ac_try_echo") >&5
 
6466
  (eval "$ac_compiler -V >&5") 2>&5
 
6467
  ac_status=$?
 
6468
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5496
6469
  (exit $ac_status); }
5497
6470
 
5498
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5499
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
6471
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
6472
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5500
6473
if test "${ac_cv_c_compiler_gnu+set}" = set; then
5501
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6474
  $as_echo_n "(cached) " >&6
5502
6475
else
5503
6476
  cat >conftest.$ac_ext <<_ACEOF
5504
6477
/* confdefs.h.  */
5519
6492
}
5520
6493
_ACEOF
5521
6494
rm -f conftest.$ac_objext
5522
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5523
 
  (eval $ac_compile) 2>conftest.er1
 
6495
if { (ac_try="$ac_compile"
 
6496
case "(($ac_try" in
 
6497
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6498
  *) ac_try_echo=$ac_try;;
 
6499
esac
 
6500
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6501
$as_echo "$ac_try_echo") >&5
 
6502
  (eval "$ac_compile") 2>conftest.er1
5524
6503
  ac_status=$?
5525
6504
  grep -v '^ *+' conftest.er1 >conftest.err
5526
6505
  rm -f conftest.er1
5527
6506
  cat conftest.err >&5
5528
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5529
 
  (exit $ac_status); } &&
5530
 
         { ac_try='test -z "$ac_c_werror_flag"
5531
 
                         || test ! -s conftest.err'
5532
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5533
 
  (eval $ac_try) 2>&5
5534
 
  ac_status=$?
5535
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5536
 
  (exit $ac_status); }; } &&
5537
 
         { ac_try='test -s conftest.$ac_objext'
5538
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5539
 
  (eval $ac_try) 2>&5
5540
 
  ac_status=$?
5541
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5542
 
  (exit $ac_status); }; }; then
 
6507
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6508
  (exit $ac_status); } && {
 
6509
         test -z "$ac_c_werror_flag" ||
 
6510
         test ! -s conftest.err
 
6511
       } && test -s conftest.$ac_objext; then
5543
6512
  ac_compiler_gnu=yes
5544
6513
else
5545
 
  echo "$as_me: failed program was:" >&5
 
6514
  $as_echo "$as_me: failed program was:" >&5
5546
6515
sed 's/^/| /' conftest.$ac_ext >&5
5547
6516
 
5548
 
ac_compiler_gnu=no
 
6517
        ac_compiler_gnu=no
5549
6518
fi
5550
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
6519
 
 
6520
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5551
6521
ac_cv_c_compiler_gnu=$ac_compiler_gnu
5552
6522
 
5553
6523
fi
5554
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5555
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
5556
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
6524
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
6525
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
6526
if test $ac_compiler_gnu = yes; then
 
6527
  GCC=yes
 
6528
else
 
6529
  GCC=
 
6530
fi
5557
6531
ac_test_CFLAGS=${CFLAGS+set}
5558
6532
ac_save_CFLAGS=$CFLAGS
5559
 
CFLAGS="-g"
5560
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5561
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
6533
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
6534
$as_echo_n "checking whether $CC accepts -g... " >&6; }
5562
6535
if test "${ac_cv_prog_cc_g+set}" = set; then
5563
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5564
 
else
5565
 
  cat >conftest.$ac_ext <<_ACEOF
5566
 
/* confdefs.h.  */
5567
 
_ACEOF
5568
 
cat confdefs.h >>conftest.$ac_ext
5569
 
cat >>conftest.$ac_ext <<_ACEOF
5570
 
/* end confdefs.h.  */
5571
 
 
5572
 
int
5573
 
main ()
5574
 
{
5575
 
 
5576
 
  ;
5577
 
  return 0;
5578
 
}
5579
 
_ACEOF
5580
 
rm -f conftest.$ac_objext
5581
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5582
 
  (eval $ac_compile) 2>conftest.er1
5583
 
  ac_status=$?
5584
 
  grep -v '^ *+' conftest.er1 >conftest.err
5585
 
  rm -f conftest.er1
5586
 
  cat conftest.err >&5
5587
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5588
 
  (exit $ac_status); } &&
5589
 
         { ac_try='test -z "$ac_c_werror_flag"
5590
 
                         || test ! -s conftest.err'
5591
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5592
 
  (eval $ac_try) 2>&5
5593
 
  ac_status=$?
5594
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5595
 
  (exit $ac_status); }; } &&
5596
 
         { ac_try='test -s conftest.$ac_objext'
5597
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5598
 
  (eval $ac_try) 2>&5
5599
 
  ac_status=$?
5600
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5601
 
  (exit $ac_status); }; }; then
5602
 
  ac_cv_prog_cc_g=yes
5603
 
else
5604
 
  echo "$as_me: failed program was:" >&5
5605
 
sed 's/^/| /' conftest.$ac_ext >&5
5606
 
 
5607
 
ac_cv_prog_cc_g=no
5608
 
fi
5609
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5610
 
fi
5611
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5612
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
6536
  $as_echo_n "(cached) " >&6
 
6537
else
 
6538
  ac_save_c_werror_flag=$ac_c_werror_flag
 
6539
   ac_c_werror_flag=yes
 
6540
   ac_cv_prog_cc_g=no
 
6541
   CFLAGS="-g"
 
6542
   cat >conftest.$ac_ext <<_ACEOF
 
6543
/* confdefs.h.  */
 
6544
_ACEOF
 
6545
cat confdefs.h >>conftest.$ac_ext
 
6546
cat >>conftest.$ac_ext <<_ACEOF
 
6547
/* end confdefs.h.  */
 
6548
 
 
6549
int
 
6550
main ()
 
6551
{
 
6552
 
 
6553
  ;
 
6554
  return 0;
 
6555
}
 
6556
_ACEOF
 
6557
rm -f conftest.$ac_objext
 
6558
if { (ac_try="$ac_compile"
 
6559
case "(($ac_try" in
 
6560
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6561
  *) ac_try_echo=$ac_try;;
 
6562
esac
 
6563
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6564
$as_echo "$ac_try_echo") >&5
 
6565
  (eval "$ac_compile") 2>conftest.er1
 
6566
  ac_status=$?
 
6567
  grep -v '^ *+' conftest.er1 >conftest.err
 
6568
  rm -f conftest.er1
 
6569
  cat conftest.err >&5
 
6570
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6571
  (exit $ac_status); } && {
 
6572
         test -z "$ac_c_werror_flag" ||
 
6573
         test ! -s conftest.err
 
6574
       } && test -s conftest.$ac_objext; then
 
6575
  ac_cv_prog_cc_g=yes
 
6576
else
 
6577
  $as_echo "$as_me: failed program was:" >&5
 
6578
sed 's/^/| /' conftest.$ac_ext >&5
 
6579
 
 
6580
        CFLAGS=""
 
6581
      cat >conftest.$ac_ext <<_ACEOF
 
6582
/* confdefs.h.  */
 
6583
_ACEOF
 
6584
cat confdefs.h >>conftest.$ac_ext
 
6585
cat >>conftest.$ac_ext <<_ACEOF
 
6586
/* end confdefs.h.  */
 
6587
 
 
6588
int
 
6589
main ()
 
6590
{
 
6591
 
 
6592
  ;
 
6593
  return 0;
 
6594
}
 
6595
_ACEOF
 
6596
rm -f conftest.$ac_objext
 
6597
if { (ac_try="$ac_compile"
 
6598
case "(($ac_try" in
 
6599
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6600
  *) ac_try_echo=$ac_try;;
 
6601
esac
 
6602
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6603
$as_echo "$ac_try_echo") >&5
 
6604
  (eval "$ac_compile") 2>conftest.er1
 
6605
  ac_status=$?
 
6606
  grep -v '^ *+' conftest.er1 >conftest.err
 
6607
  rm -f conftest.er1
 
6608
  cat conftest.err >&5
 
6609
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6610
  (exit $ac_status); } && {
 
6611
         test -z "$ac_c_werror_flag" ||
 
6612
         test ! -s conftest.err
 
6613
       } && test -s conftest.$ac_objext; then
 
6614
  :
 
6615
else
 
6616
  $as_echo "$as_me: failed program was:" >&5
 
6617
sed 's/^/| /' conftest.$ac_ext >&5
 
6618
 
 
6619
        ac_c_werror_flag=$ac_save_c_werror_flag
 
6620
         CFLAGS="-g"
 
6621
         cat >conftest.$ac_ext <<_ACEOF
 
6622
/* confdefs.h.  */
 
6623
_ACEOF
 
6624
cat confdefs.h >>conftest.$ac_ext
 
6625
cat >>conftest.$ac_ext <<_ACEOF
 
6626
/* end confdefs.h.  */
 
6627
 
 
6628
int
 
6629
main ()
 
6630
{
 
6631
 
 
6632
  ;
 
6633
  return 0;
 
6634
}
 
6635
_ACEOF
 
6636
rm -f conftest.$ac_objext
 
6637
if { (ac_try="$ac_compile"
 
6638
case "(($ac_try" in
 
6639
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6640
  *) ac_try_echo=$ac_try;;
 
6641
esac
 
6642
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6643
$as_echo "$ac_try_echo") >&5
 
6644
  (eval "$ac_compile") 2>conftest.er1
 
6645
  ac_status=$?
 
6646
  grep -v '^ *+' conftest.er1 >conftest.err
 
6647
  rm -f conftest.er1
 
6648
  cat conftest.err >&5
 
6649
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6650
  (exit $ac_status); } && {
 
6651
         test -z "$ac_c_werror_flag" ||
 
6652
         test ! -s conftest.err
 
6653
       } && test -s conftest.$ac_objext; then
 
6654
  ac_cv_prog_cc_g=yes
 
6655
else
 
6656
  $as_echo "$as_me: failed program was:" >&5
 
6657
sed 's/^/| /' conftest.$ac_ext >&5
 
6658
 
 
6659
 
 
6660
fi
 
6661
 
 
6662
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6663
fi
 
6664
 
 
6665
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6666
fi
 
6667
 
 
6668
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6669
   ac_c_werror_flag=$ac_save_c_werror_flag
 
6670
fi
 
6671
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
6672
$as_echo "$ac_cv_prog_cc_g" >&6; }
5613
6673
if test "$ac_test_CFLAGS" = set; then
5614
6674
  CFLAGS=$ac_save_CFLAGS
5615
6675
elif test $ac_cv_prog_cc_g = yes; then
5625
6685
    CFLAGS=
5626
6686
  fi
5627
6687
fi
5628
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
5629
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
5630
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
5631
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6688
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
6689
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
6690
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
6691
  $as_echo_n "(cached) " >&6
5632
6692
else
5633
 
  ac_cv_prog_cc_stdc=no
 
6693
  ac_cv_prog_cc_c89=no
5634
6694
ac_save_CC=$CC
5635
6695
cat >conftest.$ac_ext <<_ACEOF
5636
6696
/* confdefs.h.  */
5664
6724
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5665
6725
   function prototypes and stuff, but not '\xHH' hex character constants.
5666
6726
   These don't provoke an error unfortunately, instead are silently treated
5667
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
6727
   as 'x'.  The following induces an error, until -std is added to get
5668
6728
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5669
6729
   array size at least.  It's necessary to write '\x00'==0 to get something
5670
 
   that's true only with -std1.  */
 
6730
   that's true only with -std.  */
5671
6731
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5672
6732
 
 
6733
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
6734
   inside strings and character constants.  */
 
6735
#define FOO(x) 'x'
 
6736
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
6737
 
5673
6738
int test (int i, double x);
5674
6739
struct s1 {int (*f) (int a);};
5675
6740
struct s2 {int (*f) (double a);};
5684
6749
  return 0;
5685
6750
}
5686
6751
_ACEOF
5687
 
# Don't try gcc -ansi; that turns off useful extensions and
5688
 
# breaks some systems' header files.
5689
 
# AIX                   -qlanglvl=ansi
5690
 
# Ultrix and OSF/1      -std1
5691
 
# HP-UX 10.20 and later -Ae
5692
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
5693
 
# SVR4                  -Xc -D__EXTENSIONS__
5694
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
6752
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
6753
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5695
6754
do
5696
6755
  CC="$ac_save_CC $ac_arg"
5697
6756
  rm -f conftest.$ac_objext
5698
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5699
 
  (eval $ac_compile) 2>conftest.er1
 
6757
if { (ac_try="$ac_compile"
 
6758
case "(($ac_try" in
 
6759
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6760
  *) ac_try_echo=$ac_try;;
 
6761
esac
 
6762
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6763
$as_echo "$ac_try_echo") >&5
 
6764
  (eval "$ac_compile") 2>conftest.er1
5700
6765
  ac_status=$?
5701
6766
  grep -v '^ *+' conftest.er1 >conftest.err
5702
6767
  rm -f conftest.er1
5703
6768
  cat conftest.err >&5
5704
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5705
 
  (exit $ac_status); } &&
5706
 
         { ac_try='test -z "$ac_c_werror_flag"
5707
 
                         || test ! -s conftest.err'
5708
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5709
 
  (eval $ac_try) 2>&5
5710
 
  ac_status=$?
5711
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5712
 
  (exit $ac_status); }; } &&
5713
 
         { ac_try='test -s conftest.$ac_objext'
5714
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5715
 
  (eval $ac_try) 2>&5
5716
 
  ac_status=$?
5717
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5718
 
  (exit $ac_status); }; }; then
5719
 
  ac_cv_prog_cc_stdc=$ac_arg
5720
 
break
 
6769
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6770
  (exit $ac_status); } && {
 
6771
         test -z "$ac_c_werror_flag" ||
 
6772
         test ! -s conftest.err
 
6773
       } && test -s conftest.$ac_objext; then
 
6774
  ac_cv_prog_cc_c89=$ac_arg
5721
6775
else
5722
 
  echo "$as_me: failed program was:" >&5
 
6776
  $as_echo "$as_me: failed program was:" >&5
5723
6777
sed 's/^/| /' conftest.$ac_ext >&5
5724
6778
 
 
6779
 
5725
6780
fi
5726
 
rm -f conftest.err conftest.$ac_objext
 
6781
 
 
6782
rm -f core conftest.err conftest.$ac_objext
 
6783
  test "x$ac_cv_prog_cc_c89" != "xno" && break
5727
6784
done
5728
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
6785
rm -f conftest.$ac_ext
5729
6786
CC=$ac_save_CC
5730
6787
 
5731
6788
fi
5732
 
 
5733
 
case "x$ac_cv_prog_cc_stdc" in
5734
 
  x|xno)
5735
 
    echo "$as_me:$LINENO: result: none needed" >&5
5736
 
echo "${ECHO_T}none needed" >&6 ;;
 
6789
# AC_CACHE_VAL
 
6790
case "x$ac_cv_prog_cc_c89" in
 
6791
  x)
 
6792
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
6793
$as_echo "none needed" >&6; } ;;
 
6794
  xno)
 
6795
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
6796
$as_echo "unsupported" >&6; } ;;
5737
6797
  *)
5738
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
5739
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
5740
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
6798
    CC="$CC $ac_cv_prog_cc_c89"
 
6799
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
6800
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5741
6801
esac
5742
6802
 
5743
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
5744
 
# in C++ we need to declare it.  In case someone uses the same compiler
5745
 
# for both compiling C and C++ we need to have the C++ compiler decide
5746
 
# the declaration of exit, since it's the most demanding environment.
5747
 
cat >conftest.$ac_ext <<_ACEOF
5748
 
#ifndef __cplusplus
5749
 
  choke me
5750
 
#endif
5751
 
_ACEOF
5752
 
rm -f conftest.$ac_objext
5753
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5754
 
  (eval $ac_compile) 2>conftest.er1
5755
 
  ac_status=$?
5756
 
  grep -v '^ *+' conftest.er1 >conftest.err
5757
 
  rm -f conftest.er1
5758
 
  cat conftest.err >&5
5759
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5760
 
  (exit $ac_status); } &&
5761
 
         { ac_try='test -z "$ac_c_werror_flag"
5762
 
                         || test ! -s conftest.err'
5763
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5764
 
  (eval $ac_try) 2>&5
5765
 
  ac_status=$?
5766
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5767
 
  (exit $ac_status); }; } &&
5768
 
         { ac_try='test -s conftest.$ac_objext'
5769
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5770
 
  (eval $ac_try) 2>&5
5771
 
  ac_status=$?
5772
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5773
 
  (exit $ac_status); }; }; then
5774
 
  for ac_declaration in \
5775
 
   '' \
5776
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
5777
 
   'extern "C" void std::exit (int); using std::exit;' \
5778
 
   'extern "C" void exit (int) throw ();' \
5779
 
   'extern "C" void exit (int);' \
5780
 
   'void exit (int);'
5781
 
do
5782
 
  cat >conftest.$ac_ext <<_ACEOF
5783
 
/* confdefs.h.  */
5784
 
_ACEOF
5785
 
cat confdefs.h >>conftest.$ac_ext
5786
 
cat >>conftest.$ac_ext <<_ACEOF
5787
 
/* end confdefs.h.  */
5788
 
$ac_declaration
5789
 
#include <stdlib.h>
5790
 
int
5791
 
main ()
5792
 
{
5793
 
exit (42);
5794
 
  ;
5795
 
  return 0;
5796
 
}
5797
 
_ACEOF
5798
 
rm -f conftest.$ac_objext
5799
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5800
 
  (eval $ac_compile) 2>conftest.er1
5801
 
  ac_status=$?
5802
 
  grep -v '^ *+' conftest.er1 >conftest.err
5803
 
  rm -f conftest.er1
5804
 
  cat conftest.err >&5
5805
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5806
 
  (exit $ac_status); } &&
5807
 
         { ac_try='test -z "$ac_c_werror_flag"
5808
 
                         || test ! -s conftest.err'
5809
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5810
 
  (eval $ac_try) 2>&5
5811
 
  ac_status=$?
5812
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5813
 
  (exit $ac_status); }; } &&
5814
 
         { ac_try='test -s conftest.$ac_objext'
5815
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5816
 
  (eval $ac_try) 2>&5
5817
 
  ac_status=$?
5818
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5819
 
  (exit $ac_status); }; }; then
5820
 
  :
5821
 
else
5822
 
  echo "$as_me: failed program was:" >&5
5823
 
sed 's/^/| /' conftest.$ac_ext >&5
5824
 
 
5825
 
continue
5826
 
fi
5827
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5828
 
  cat >conftest.$ac_ext <<_ACEOF
5829
 
/* confdefs.h.  */
5830
 
_ACEOF
5831
 
cat confdefs.h >>conftest.$ac_ext
5832
 
cat >>conftest.$ac_ext <<_ACEOF
5833
 
/* end confdefs.h.  */
5834
 
$ac_declaration
5835
 
int
5836
 
main ()
5837
 
{
5838
 
exit (42);
5839
 
  ;
5840
 
  return 0;
5841
 
}
5842
 
_ACEOF
5843
 
rm -f conftest.$ac_objext
5844
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5845
 
  (eval $ac_compile) 2>conftest.er1
5846
 
  ac_status=$?
5847
 
  grep -v '^ *+' conftest.er1 >conftest.err
5848
 
  rm -f conftest.er1
5849
 
  cat conftest.err >&5
5850
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5851
 
  (exit $ac_status); } &&
5852
 
         { ac_try='test -z "$ac_c_werror_flag"
5853
 
                         || test ! -s conftest.err'
5854
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5855
 
  (eval $ac_try) 2>&5
5856
 
  ac_status=$?
5857
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5858
 
  (exit $ac_status); }; } &&
5859
 
         { ac_try='test -s conftest.$ac_objext'
5860
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5861
 
  (eval $ac_try) 2>&5
5862
 
  ac_status=$?
5863
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5864
 
  (exit $ac_status); }; }; then
5865
 
  break
5866
 
else
5867
 
  echo "$as_me: failed program was:" >&5
5868
 
sed 's/^/| /' conftest.$ac_ext >&5
5869
 
 
5870
 
fi
5871
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5872
 
done
5873
 
rm -f conftest*
5874
 
if test -n "$ac_declaration"; then
5875
 
  echo '#ifdef __cplusplus' >>confdefs.h
5876
 
  echo $ac_declaration      >>confdefs.h
5877
 
  echo '#endif'             >>confdefs.h
5878
 
fi
5879
 
 
5880
 
else
5881
 
  echo "$as_me: failed program was:" >&5
5882
 
sed 's/^/| /' conftest.$ac_ext >&5
5883
 
 
5884
 
fi
5885
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
6803
 
5886
6804
ac_ext=c
5887
6805
ac_cpp='$CPP $CPPFLAGS'
5888
6806
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5891
6809
 
5892
6810
depcc="$CC"   am_compiler_list=
5893
6811
 
5894
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5895
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
6812
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
6813
$as_echo_n "checking dependency style of $depcc... " >&6; }
5896
6814
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5897
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6815
  $as_echo_n "(cached) " >&6
5898
6816
else
5899
6817
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5900
6818
  # We make a subdir and do the tests there.  Otherwise we can end up
5956
6874
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5957
6875
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5958
6876
         >/dev/null 2>conftest.err &&
 
6877
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5959
6878
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5960
6879
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5961
6880
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5981
6900
fi
5982
6901
 
5983
6902
fi
5984
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5985
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
6903
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
6904
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5986
6905
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5987
6906
 
5988
 
 
5989
 
 
5990
 
if
 
6907
 if
5991
6908
  test "x$enable_dependency_tracking" != xno \
5992
6909
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5993
6910
  am__fastdepCC_TRUE=
6002
6919
do
6003
6920
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6004
6921
set dummy $ac_prog; ac_word=$2
6005
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6006
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6922
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6923
$as_echo_n "checking for $ac_word... " >&6; }
6007
6924
if test "${ac_cv_prog_LEX+set}" = set; then
6008
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6925
  $as_echo_n "(cached) " >&6
6009
6926
else
6010
6927
  if test -n "$LEX"; then
6011
6928
  ac_cv_prog_LEX="$LEX" # Let the user override the test.
6016
6933
  IFS=$as_save_IFS
6017
6934
  test -z "$as_dir" && as_dir=.
6018
6935
  for ac_exec_ext in '' $ac_executable_extensions; do
6019
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6936
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6020
6937
    ac_cv_prog_LEX="$ac_prog"
6021
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6938
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6022
6939
    break 2
6023
6940
  fi
6024
6941
done
6025
6942
done
 
6943
IFS=$as_save_IFS
6026
6944
 
6027
6945
fi
6028
6946
fi
6029
6947
LEX=$ac_cv_prog_LEX
6030
6948
if test -n "$LEX"; then
6031
 
  echo "$as_me:$LINENO: result: $LEX" >&5
6032
 
echo "${ECHO_T}$LEX" >&6
 
6949
  { $as_echo "$as_me:$LINENO: result: $LEX" >&5
 
6950
$as_echo "$LEX" >&6; }
6033
6951
else
6034
 
  echo "$as_me:$LINENO: result: no" >&5
6035
 
echo "${ECHO_T}no" >&6
 
6952
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6953
$as_echo "no" >&6; }
6036
6954
fi
6037
6955
 
 
6956
 
6038
6957
  test -n "$LEX" && break
6039
6958
done
6040
6959
test -n "$LEX" || LEX=":"
6041
6960
 
6042
 
if test -z "$LEXLIB"
6043
 
then
6044
 
  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
6045
 
echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
6046
 
if test "${ac_cv_lib_fl_yywrap+set}" = set; then
6047
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6048
 
else
6049
 
  ac_check_lib_save_LIBS=$LIBS
6050
 
LIBS="-lfl  $LIBS"
6051
 
cat >conftest.$ac_ext <<_ACEOF
6052
 
/* confdefs.h.  */
6053
 
_ACEOF
6054
 
cat confdefs.h >>conftest.$ac_ext
6055
 
cat >>conftest.$ac_ext <<_ACEOF
6056
 
/* end confdefs.h.  */
6057
 
 
6058
 
/* Override any gcc2 internal prototype to avoid an error.  */
6059
 
#ifdef __cplusplus
6060
 
extern "C"
6061
 
#endif
6062
 
/* We use char because int might match the return type of a gcc2
6063
 
   builtin and then its argument prototype would still apply.  */
6064
 
char yywrap ();
6065
 
int
6066
 
main ()
6067
 
{
6068
 
yywrap ();
6069
 
  ;
6070
 
  return 0;
6071
 
}
6072
 
_ACEOF
6073
 
rm -f conftest.$ac_objext conftest$ac_exeext
6074
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6075
 
  (eval $ac_link) 2>conftest.er1
6076
 
  ac_status=$?
6077
 
  grep -v '^ *+' conftest.er1 >conftest.err
6078
 
  rm -f conftest.er1
6079
 
  cat conftest.err >&5
6080
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6081
 
  (exit $ac_status); } &&
6082
 
         { ac_try='test -z "$ac_c_werror_flag"
6083
 
                         || test ! -s conftest.err'
6084
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6085
 
  (eval $ac_try) 2>&5
6086
 
  ac_status=$?
6087
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6088
 
  (exit $ac_status); }; } &&
6089
 
         { ac_try='test -s conftest$ac_exeext'
6090
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6091
 
  (eval $ac_try) 2>&5
6092
 
  ac_status=$?
6093
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6094
 
  (exit $ac_status); }; }; then
6095
 
  ac_cv_lib_fl_yywrap=yes
6096
 
else
6097
 
  echo "$as_me: failed program was:" >&5
6098
 
sed 's/^/| /' conftest.$ac_ext >&5
6099
 
 
6100
 
ac_cv_lib_fl_yywrap=no
6101
 
fi
6102
 
rm -f conftest.err conftest.$ac_objext \
6103
 
      conftest$ac_exeext conftest.$ac_ext
6104
 
LIBS=$ac_check_lib_save_LIBS
6105
 
fi
6106
 
echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
6107
 
echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
6108
 
if test $ac_cv_lib_fl_yywrap = yes; then
6109
 
  LEXLIB="-lfl"
6110
 
else
6111
 
  echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
6112
 
echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
6113
 
if test "${ac_cv_lib_l_yywrap+set}" = set; then
6114
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6115
 
else
6116
 
  ac_check_lib_save_LIBS=$LIBS
6117
 
LIBS="-ll  $LIBS"
6118
 
cat >conftest.$ac_ext <<_ACEOF
6119
 
/* confdefs.h.  */
6120
 
_ACEOF
6121
 
cat confdefs.h >>conftest.$ac_ext
6122
 
cat >>conftest.$ac_ext <<_ACEOF
6123
 
/* end confdefs.h.  */
6124
 
 
6125
 
/* Override any gcc2 internal prototype to avoid an error.  */
6126
 
#ifdef __cplusplus
6127
 
extern "C"
6128
 
#endif
6129
 
/* We use char because int might match the return type of a gcc2
6130
 
   builtin and then its argument prototype would still apply.  */
6131
 
char yywrap ();
6132
 
int
6133
 
main ()
6134
 
{
6135
 
yywrap ();
6136
 
  ;
6137
 
  return 0;
6138
 
}
6139
 
_ACEOF
6140
 
rm -f conftest.$ac_objext conftest$ac_exeext
6141
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6142
 
  (eval $ac_link) 2>conftest.er1
6143
 
  ac_status=$?
6144
 
  grep -v '^ *+' conftest.er1 >conftest.err
6145
 
  rm -f conftest.er1
6146
 
  cat conftest.err >&5
6147
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6148
 
  (exit $ac_status); } &&
6149
 
         { ac_try='test -z "$ac_c_werror_flag"
6150
 
                         || test ! -s conftest.err'
6151
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6152
 
  (eval $ac_try) 2>&5
6153
 
  ac_status=$?
6154
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6155
 
  (exit $ac_status); }; } &&
6156
 
         { ac_try='test -s conftest$ac_exeext'
6157
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6158
 
  (eval $ac_try) 2>&5
6159
 
  ac_status=$?
6160
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6161
 
  (exit $ac_status); }; }; then
6162
 
  ac_cv_lib_l_yywrap=yes
6163
 
else
6164
 
  echo "$as_me: failed program was:" >&5
6165
 
sed 's/^/| /' conftest.$ac_ext >&5
6166
 
 
6167
 
ac_cv_lib_l_yywrap=no
6168
 
fi
6169
 
rm -f conftest.err conftest.$ac_objext \
6170
 
      conftest$ac_exeext conftest.$ac_ext
6171
 
LIBS=$ac_check_lib_save_LIBS
6172
 
fi
6173
 
echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
6174
 
echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
6175
 
if test $ac_cv_lib_l_yywrap = yes; then
6176
 
  LEXLIB="-ll"
6177
 
fi
6178
 
 
6179
 
fi
6180
 
 
6181
 
fi
6182
 
 
6183
6961
if test "x$LEX" != "x:"; then
6184
 
  echo "$as_me:$LINENO: checking lex output file root" >&5
6185
 
echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
 
6962
  cat >conftest.l <<_ACEOF
 
6963
%%
 
6964
a { ECHO; }
 
6965
b { REJECT; }
 
6966
c { yymore (); }
 
6967
d { yyless (1); }
 
6968
e { yyless (input () != 0); }
 
6969
f { unput (yytext[0]); }
 
6970
. { BEGIN INITIAL; }
 
6971
%%
 
6972
#ifdef YYTEXT_POINTER
 
6973
extern char *yytext;
 
6974
#endif
 
6975
int
 
6976
main (void)
 
6977
{
 
6978
  return ! yylex () + ! yywrap ();
 
6979
}
 
6980
_ACEOF
 
6981
{ (ac_try="$LEX conftest.l"
 
6982
case "(($ac_try" in
 
6983
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6984
  *) ac_try_echo=$ac_try;;
 
6985
esac
 
6986
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6987
$as_echo "$ac_try_echo") >&5
 
6988
  (eval "$LEX conftest.l") 2>&5
 
6989
  ac_status=$?
 
6990
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6991
  (exit $ac_status); }
 
6992
{ $as_echo "$as_me:$LINENO: checking lex output file root" >&5
 
6993
$as_echo_n "checking lex output file root... " >&6; }
6186
6994
if test "${ac_cv_prog_lex_root+set}" = set; then
6187
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6995
  $as_echo_n "(cached) " >&6
6188
6996
else
6189
 
  # The minimal lex program is just a single line: %%.  But some broken lexes
6190
 
# (Solaris, I think it was) want two %% lines, so accommodate them.
6191
 
cat >conftest.l <<_ACEOF
6192
 
%%
6193
 
%%
6194
 
_ACEOF
6195
 
{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
6196
 
  (eval $LEX conftest.l) 2>&5
6197
 
  ac_status=$?
6198
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6199
 
  (exit $ac_status); }
 
6997
 
6200
6998
if test -f lex.yy.c; then
6201
6999
  ac_cv_prog_lex_root=lex.yy
6202
7000
elif test -f lexyy.c; then
6203
7001
  ac_cv_prog_lex_root=lexyy
6204
7002
else
6205
 
  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
6206
 
echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
 
7003
  { { $as_echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
 
7004
$as_echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
6207
7005
   { (exit 1); exit 1; }; }
6208
7006
fi
6209
7007
fi
6210
 
echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
6211
 
echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
6212
 
rm -f conftest.l
 
7008
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
 
7009
$as_echo "$ac_cv_prog_lex_root" >&6; }
6213
7010
LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
6214
7011
 
6215
 
echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
6216
 
echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
 
7012
if test -z "${LEXLIB+set}"; then
 
7013
  { $as_echo "$as_me:$LINENO: checking lex library" >&5
 
7014
$as_echo_n "checking lex library... " >&6; }
 
7015
if test "${ac_cv_lib_lex+set}" = set; then
 
7016
  $as_echo_n "(cached) " >&6
 
7017
else
 
7018
 
 
7019
    ac_save_LIBS=$LIBS
 
7020
    ac_cv_lib_lex='none needed'
 
7021
    for ac_lib in '' -lfl -ll; do
 
7022
      LIBS="$ac_lib $ac_save_LIBS"
 
7023
      cat >conftest.$ac_ext <<_ACEOF
 
7024
`cat $LEX_OUTPUT_ROOT.c`
 
7025
_ACEOF
 
7026
rm -f conftest.$ac_objext conftest$ac_exeext
 
7027
if { (ac_try="$ac_link"
 
7028
case "(($ac_try" in
 
7029
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7030
  *) ac_try_echo=$ac_try;;
 
7031
esac
 
7032
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7033
$as_echo "$ac_try_echo") >&5
 
7034
  (eval "$ac_link") 2>conftest.er1
 
7035
  ac_status=$?
 
7036
  grep -v '^ *+' conftest.er1 >conftest.err
 
7037
  rm -f conftest.er1
 
7038
  cat conftest.err >&5
 
7039
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7040
  (exit $ac_status); } && {
 
7041
         test -z "$ac_c_werror_flag" ||
 
7042
         test ! -s conftest.err
 
7043
       } && test -s conftest$ac_exeext && {
 
7044
         test "$cross_compiling" = yes ||
 
7045
         $as_test_x conftest$ac_exeext
 
7046
       }; then
 
7047
  ac_cv_lib_lex=$ac_lib
 
7048
else
 
7049
  $as_echo "$as_me: failed program was:" >&5
 
7050
sed 's/^/| /' conftest.$ac_ext >&5
 
7051
 
 
7052
 
 
7053
fi
 
7054
 
 
7055
rm -rf conftest.dSYM
 
7056
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
7057
      conftest$ac_exeext conftest.$ac_ext
 
7058
      test "$ac_cv_lib_lex" != 'none needed' && break
 
7059
    done
 
7060
    LIBS=$ac_save_LIBS
 
7061
 
 
7062
fi
 
7063
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
 
7064
$as_echo "$ac_cv_lib_lex" >&6; }
 
7065
  test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
 
7066
fi
 
7067
 
 
7068
 
 
7069
{ $as_echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
 
7070
$as_echo_n "checking whether yytext is a pointer... " >&6; }
6217
7071
if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
6218
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7072
  $as_echo_n "(cached) " >&6
6219
7073
else
6220
7074
  # POSIX says lex can declare yytext either as a pointer or an array; the
6221
 
# default is implementation-dependent. Figure out which it is, since
 
7075
# default is implementation-dependent.  Figure out which it is, since
6222
7076
# not all implementations provide the %pointer and %array declarations.
6223
7077
ac_cv_prog_lex_yytext_pointer=no
6224
 
echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
6225
7078
ac_save_LIBS=$LIBS
6226
 
LIBS="$LIBS $LEXLIB"
 
7079
LIBS="$LEXLIB $ac_save_LIBS"
6227
7080
cat >conftest.$ac_ext <<_ACEOF
 
7081
#define YYTEXT_POINTER 1
6228
7082
`cat $LEX_OUTPUT_ROOT.c`
6229
7083
_ACEOF
6230
7084
rm -f conftest.$ac_objext conftest$ac_exeext
6231
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6232
 
  (eval $ac_link) 2>conftest.er1
 
7085
if { (ac_try="$ac_link"
 
7086
case "(($ac_try" in
 
7087
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7088
  *) ac_try_echo=$ac_try;;
 
7089
esac
 
7090
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7091
$as_echo "$ac_try_echo") >&5
 
7092
  (eval "$ac_link") 2>conftest.er1
6233
7093
  ac_status=$?
6234
7094
  grep -v '^ *+' conftest.er1 >conftest.err
6235
7095
  rm -f conftest.er1
6236
7096
  cat conftest.err >&5
6237
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6238
 
  (exit $ac_status); } &&
6239
 
         { ac_try='test -z "$ac_c_werror_flag"
6240
 
                         || test ! -s conftest.err'
6241
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6242
 
  (eval $ac_try) 2>&5
6243
 
  ac_status=$?
6244
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6245
 
  (exit $ac_status); }; } &&
6246
 
         { ac_try='test -s conftest$ac_exeext'
6247
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6248
 
  (eval $ac_try) 2>&5
6249
 
  ac_status=$?
6250
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6251
 
  (exit $ac_status); }; }; then
 
7097
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7098
  (exit $ac_status); } && {
 
7099
         test -z "$ac_c_werror_flag" ||
 
7100
         test ! -s conftest.err
 
7101
       } && test -s conftest$ac_exeext && {
 
7102
         test "$cross_compiling" = yes ||
 
7103
         $as_test_x conftest$ac_exeext
 
7104
       }; then
6252
7105
  ac_cv_prog_lex_yytext_pointer=yes
6253
7106
else
6254
 
  echo "$as_me: failed program was:" >&5
 
7107
  $as_echo "$as_me: failed program was:" >&5
6255
7108
sed 's/^/| /' conftest.$ac_ext >&5
6256
7109
 
 
7110
 
6257
7111
fi
6258
 
rm -f conftest.err conftest.$ac_objext \
 
7112
 
 
7113
rm -rf conftest.dSYM
 
7114
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6259
7115
      conftest$ac_exeext conftest.$ac_ext
6260
7116
LIBS=$ac_save_LIBS
6261
 
rm -f "${LEX_OUTPUT_ROOT}.c"
6262
7117
 
6263
7118
fi
6264
 
echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
6265
 
echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
 
7119
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
 
7120
$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
6266
7121
if test $ac_cv_prog_lex_yytext_pointer = yes; then
6267
7122
 
6268
7123
cat >>confdefs.h <<\_ACEOF
6270
7125
_ACEOF
6271
7126
 
6272
7127
fi
 
7128
rm -f conftest.l $LEX_OUTPUT_ROOT.c
6273
7129
 
6274
7130
fi
6275
7131
# Extract the first word of "bison", so it can be a program name with args.
6276
7132
set dummy bison; ac_word=$2
6277
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6278
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7133
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7134
$as_echo_n "checking for $ac_word... " >&6; }
6279
7135
if test "${ac_cv_prog_YACC+set}" = set; then
6280
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7136
  $as_echo_n "(cached) " >&6
6281
7137
else
6282
7138
  if test -n "$YACC"; then
6283
7139
  ac_cv_prog_YACC="$YACC" # Let the user override the test.
6288
7144
  IFS=$as_save_IFS
6289
7145
  test -z "$as_dir" && as_dir=.
6290
7146
  for ac_exec_ext in '' $ac_executable_extensions; do
6291
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7147
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6292
7148
    ac_cv_prog_YACC="bison -y"
6293
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7149
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6294
7150
    break 2
6295
7151
  fi
6296
7152
done
6297
7153
done
 
7154
IFS=$as_save_IFS
6298
7155
 
6299
7156
fi
6300
7157
fi
6301
7158
YACC=$ac_cv_prog_YACC
6302
7159
if test -n "$YACC"; then
6303
 
  echo "$as_me:$LINENO: result: $YACC" >&5
6304
 
echo "${ECHO_T}$YACC" >&6
 
7160
  { $as_echo "$as_me:$LINENO: result: $YACC" >&5
 
7161
$as_echo "$YACC" >&6; }
6305
7162
else
6306
 
  echo "$as_me:$LINENO: result: no" >&5
6307
 
echo "${ECHO_T}no" >&6
 
7163
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7164
$as_echo "no" >&6; }
6308
7165
fi
6309
7166
 
 
7167
 
6310
7168
if test -z "${YACC}"
6311
7169
then
6312
 
   { echo "$as_me:$LINENO: WARNING: GNU bison is required (only for rebuilding the sfcb parser code)." >&5
6313
 
echo "$as_me: WARNING: GNU bison is required (only for rebuilding the sfcb parser code)." >&2;}
 
7170
   { $as_echo "$as_me:$LINENO: WARNING: GNU bison is required (only for rebuilding the sfcb parser code)." >&5
 
7171
$as_echo "$as_me: WARNING: GNU bison is required (only for rebuilding the sfcb parser code)." >&2;}
6314
7172
fi
6315
7173
 
6316
 
# Check whether --enable-shared or --disable-shared was given.
 
7174
# Check whether --enable-shared was given.
6317
7175
if test "${enable_shared+set}" = set; then
6318
 
  enableval="$enable_shared"
6319
 
  p=${PACKAGE-default}
 
7176
  enableval=$enable_shared; p=${PACKAGE-default}
6320
7177
    case $enableval in
6321
7178
    yes) enable_shared=yes ;;
6322
7179
    no) enable_shared=no ;;
6335
7192
    esac
6336
7193
else
6337
7194
  enable_shared=yes
6338
 
fi;
6339
 
 
6340
 
# Check whether --enable-fast-install or --disable-fast-install was given.
 
7195
fi
 
7196
 
 
7197
 
 
7198
# Check whether --enable-fast-install was given.
6341
7199
if test "${enable_fast_install+set}" = set; then
6342
 
  enableval="$enable_fast_install"
6343
 
  p=${PACKAGE-default}
 
7200
  enableval=$enable_fast_install; p=${PACKAGE-default}
6344
7201
    case $enableval in
6345
7202
    yes) enable_fast_install=yes ;;
6346
7203
    no) enable_fast_install=no ;;
6359
7216
    esac
6360
7217
else
6361
7218
  enable_fast_install=yes
6362
 
fi;
6363
 
 
6364
 
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
6365
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 
7219
fi
 
7220
 
 
7221
 
 
7222
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
7223
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6366
7224
if test "${lt_cv_path_SED+set}" = set; then
6367
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7225
  $as_echo_n "(cached) " >&6
6368
7226
else
6369
7227
  # Loop through the user's path and test for sed and gsed.
6370
7228
# Then use that list of sed's as ones to test for truncation.
6375
7233
  test -z "$as_dir" && as_dir=.
6376
7234
  for lt_ac_prog in sed gsed; do
6377
7235
    for ac_exec_ext in '' $ac_executable_extensions; do
6378
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
 
7236
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
6379
7237
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
6380
7238
      fi
6381
7239
    done
6382
7240
  done
6383
7241
done
 
7242
IFS=$as_save_IFS
6384
7243
lt_ac_max=0
6385
7244
lt_ac_count=0
6386
7245
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
6415
7274
fi
6416
7275
 
6417
7276
SED=$lt_cv_path_SED
6418
 
echo "$as_me:$LINENO: result: $SED" >&5
6419
 
echo "${ECHO_T}$SED" >&6
6420
 
 
6421
 
 
6422
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
7277
 
 
7278
{ $as_echo "$as_me:$LINENO: result: $SED" >&5
 
7279
$as_echo "$SED" >&6; }
 
7280
 
 
7281
 
 
7282
# Check whether --with-gnu-ld was given.
6423
7283
if test "${with_gnu_ld+set}" = set; then
6424
 
  withval="$with_gnu_ld"
6425
 
  test "$withval" = no || with_gnu_ld=yes
 
7284
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6426
7285
else
6427
7286
  with_gnu_ld=no
6428
 
fi;
 
7287
fi
 
7288
 
6429
7289
ac_prog=ld
6430
7290
if test "$GCC" = yes; then
6431
7291
  # Check if gcc -print-prog-name=ld gives a path.
6432
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
6433
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
7292
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
7293
$as_echo_n "checking for ld used by $CC... " >&6; }
6434
7294
  case $host in
6435
7295
  *-*-mingw*)
6436
7296
    # gcc leaves a trailing carriage return which upsets mingw
6459
7319
    ;;
6460
7320
  esac
6461
7321
elif test "$with_gnu_ld" = yes; then
6462
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
6463
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
7322
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
7323
$as_echo_n "checking for GNU ld... " >&6; }
6464
7324
else
6465
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6466
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
7325
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
7326
$as_echo_n "checking for non-GNU ld... " >&6; }
6467
7327
fi
6468
7328
if test "${lt_cv_path_LD+set}" = set; then
6469
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7329
  $as_echo_n "(cached) " >&6
6470
7330
else
6471
7331
  if test -z "$LD"; then
6472
7332
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6496
7356
 
6497
7357
LD="$lt_cv_path_LD"
6498
7358
if test -n "$LD"; then
6499
 
  echo "$as_me:$LINENO: result: $LD" >&5
6500
 
echo "${ECHO_T}$LD" >&6
 
7359
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
7360
$as_echo "$LD" >&6; }
6501
7361
else
6502
 
  echo "$as_me:$LINENO: result: no" >&5
6503
 
echo "${ECHO_T}no" >&6
 
7362
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7363
$as_echo "no" >&6; }
6504
7364
fi
6505
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6506
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
7365
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
7366
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6507
7367
   { (exit 1); exit 1; }; }
6508
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6509
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
7368
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
7369
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6510
7370
if test "${lt_cv_prog_gnu_ld+set}" = set; then
6511
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7371
  $as_echo_n "(cached) " >&6
6512
7372
else
6513
7373
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6514
7374
case `$LD -v 2>&1 </dev/null` in
6520
7380
  ;;
6521
7381
esac
6522
7382
fi
6523
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
6524
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
7383
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
7384
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6525
7385
with_gnu_ld=$lt_cv_prog_gnu_ld
6526
7386
 
6527
7387
 
6528
 
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6529
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 
7388
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
7389
$as_echo_n "checking for $LD option to reload object files... " >&6; }
6530
7390
if test "${lt_cv_ld_reload_flag+set}" = set; then
6531
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7391
  $as_echo_n "(cached) " >&6
6532
7392
else
6533
7393
  lt_cv_ld_reload_flag='-r'
6534
7394
fi
6535
 
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6536
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 
7395
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
7396
$as_echo "$lt_cv_ld_reload_flag" >&6; }
6537
7397
reload_flag=$lt_cv_ld_reload_flag
6538
7398
case $reload_flag in
6539
7399
"" | " "*) ;;
6550
7410
    ;;
6551
7411
esac
6552
7412
 
6553
 
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
6554
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 
7413
{ $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
7414
$as_echo_n "checking for BSD-compatible nm... " >&6; }
6555
7415
if test "${lt_cv_path_NM+set}" = set; then
6556
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7416
  $as_echo_n "(cached) " >&6
6557
7417
else
6558
7418
  if test -n "$NM"; then
6559
7419
  # Let the user override the test.
6599
7459
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
6600
7460
fi
6601
7461
fi
6602
 
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6603
 
echo "${ECHO_T}$lt_cv_path_NM" >&6
 
7462
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
7463
$as_echo "$lt_cv_path_NM" >&6; }
6604
7464
NM="$lt_cv_path_NM"
6605
7465
 
6606
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
6607
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
7466
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
7467
$as_echo_n "checking whether ln -s works... " >&6; }
6608
7468
LN_S=$as_ln_s
6609
7469
if test "$LN_S" = "ln -s"; then
6610
 
  echo "$as_me:$LINENO: result: yes" >&5
6611
 
echo "${ECHO_T}yes" >&6
 
7470
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
7471
$as_echo "yes" >&6; }
6612
7472
else
6613
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6614
 
echo "${ECHO_T}no, using $LN_S" >&6
 
7473
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
7474
$as_echo "no, using $LN_S" >&6; }
6615
7475
fi
6616
7476
 
6617
 
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
6618
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
 
7477
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
7478
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6619
7479
if test "${lt_cv_deplibs_check_method+set}" = set; then
6620
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7480
  $as_echo_n "(cached) " >&6
6621
7481
else
6622
7482
  lt_cv_file_magic_cmd='$MAGIC_CMD'
6623
7483
lt_cv_file_magic_test_file=
6634
7494
# whether `pass_all' will *always* work, you probably want this one.
6635
7495
 
6636
7496
case $host_os in
6637
 
aix4* | aix5*)
 
7497
aix[4-9]*)
6638
7498
  lt_cv_deplibs_check_method=pass_all
6639
7499
  ;;
6640
7500
 
6656
7516
 
6657
7517
mingw* | pw32*)
6658
7518
  # Base MSYS/MinGW do not provide the 'file' command needed by
6659
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
6660
 
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6661
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
7519
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
7520
  # unless we find 'file', for example because we are cross-compiling.
 
7521
  if ( file / ) >/dev/null 2>&1; then
 
7522
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
7523
    lt_cv_file_magic_cmd='func_win32_libid'
 
7524
  else
 
7525
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
7526
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
7527
  fi
6662
7528
  ;;
6663
7529
 
6664
7530
darwin* | rhapsody*)
6665
7531
  lt_cv_deplibs_check_method=pass_all
6666
7532
  ;;
6667
7533
 
6668
 
freebsd* | kfreebsd*-gnu | dragonfly*)
 
7534
freebsd* | dragonfly*)
6669
7535
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
6670
7536
    case $host_cpu in
6671
7537
    i*86 )
6703
7569
  esac
6704
7570
  ;;
6705
7571
 
6706
 
interix3*)
 
7572
interix[3-9]*)
6707
7573
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6708
7574
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6709
7575
  ;;
6719
7585
  ;;
6720
7586
 
6721
7587
# This must be Linux ELF.
6722
 
linux*)
 
7588
linux* | k*bsd*-gnu)
6723
7589
  lt_cv_deplibs_check_method=pass_all
6724
7590
  ;;
6725
7591
 
6753
7619
  lt_cv_deplibs_check_method=pass_all
6754
7620
  ;;
6755
7621
 
 
7622
rdos*)
 
7623
  lt_cv_deplibs_check_method=pass_all
 
7624
  ;;
 
7625
 
6756
7626
solaris*)
6757
7627
  lt_cv_deplibs_check_method=pass_all
6758
7628
  ;;
6790
7660
esac
6791
7661
 
6792
7662
fi
6793
 
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
6794
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 
7663
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
7664
$as_echo "$lt_cv_deplibs_check_method" >&6; }
6795
7665
file_magic_cmd=$lt_cv_file_magic_cmd
6796
7666
deplibs_check_method=$lt_cv_deplibs_check_method
6797
7667
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6808
7678
# Allow CC to be a program name with arguments.
6809
7679
compiler=$CC
6810
7680
 
6811
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
7681
# Check whether --enable-libtool-lock was given.
6812
7682
if test "${enable_libtool_lock+set}" = set; then
6813
 
  enableval="$enable_libtool_lock"
 
7683
  enableval=$enable_libtool_lock;
 
7684
fi
6814
7685
 
6815
 
fi;
6816
7686
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6817
7687
 
6818
7688
# Some flags need to be propagated to the compiler or linker for good
6824
7694
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6825
7695
  (eval $ac_compile) 2>&5
6826
7696
  ac_status=$?
6827
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7697
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6828
7698
  (exit $ac_status); }; then
6829
7699
    case `/usr/bin/file conftest.$ac_objext` in
6830
7700
    *ELF-32*)
6839
7709
  ;;
6840
7710
*-*-irix6*)
6841
7711
  # Find out which ABI we are using.
6842
 
  echo '#line 6842 "configure"' > conftest.$ac_ext
 
7712
  echo '#line 7712 "configure"' > conftest.$ac_ext
6843
7713
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6844
7714
  (eval $ac_compile) 2>&5
6845
7715
  ac_status=$?
6846
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7716
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6847
7717
  (exit $ac_status); }; then
6848
7718
   if test "$lt_cv_prog_gnu_ld" = yes; then
6849
7719
    case `/usr/bin/file conftest.$ac_objext` in
6874
7744
  rm -rf conftest*
6875
7745
  ;;
6876
7746
 
6877
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
 
7747
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
7748
s390*-*linux*|sparc*-*linux*)
6878
7749
  # Find out which ABI we are using.
6879
7750
  echo 'int i;' > conftest.$ac_ext
6880
7751
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6881
7752
  (eval $ac_compile) 2>&5
6882
7753
  ac_status=$?
6883
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7754
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6884
7755
  (exit $ac_status); }; then
6885
7756
    case `/usr/bin/file conftest.o` in
6886
7757
    *32-bit*)
6887
7758
      case $host in
 
7759
        x86_64-*kfreebsd*-gnu)
 
7760
          LD="${LD-ld} -m elf_i386_fbsd"
 
7761
          ;;
6888
7762
        x86_64-*linux*)
6889
7763
          LD="${LD-ld} -m elf_i386"
6890
7764
          ;;
6901
7775
      ;;
6902
7776
    *64-bit*)
6903
7777
      case $host in
 
7778
        x86_64-*kfreebsd*-gnu)
 
7779
          LD="${LD-ld} -m elf_x86_64_fbsd"
 
7780
          ;;
6904
7781
        x86_64-*linux*)
6905
7782
          LD="${LD-ld} -m elf_x86_64"
6906
7783
          ;;
6924
7801
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6925
7802
  SAVE_CFLAGS="$CFLAGS"
6926
7803
  CFLAGS="$CFLAGS -belf"
6927
 
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6928
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 
7804
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
7805
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6929
7806
if test "${lt_cv_cc_needs_belf+set}" = set; then
6930
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7807
  $as_echo_n "(cached) " >&6
6931
7808
else
6932
7809
  ac_ext=c
6933
7810
ac_cpp='$CPP $CPPFLAGS'
6951
7828
}
6952
7829
_ACEOF
6953
7830
rm -f conftest.$ac_objext conftest$ac_exeext
6954
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6955
 
  (eval $ac_link) 2>conftest.er1
 
7831
if { (ac_try="$ac_link"
 
7832
case "(($ac_try" in
 
7833
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7834
  *) ac_try_echo=$ac_try;;
 
7835
esac
 
7836
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7837
$as_echo "$ac_try_echo") >&5
 
7838
  (eval "$ac_link") 2>conftest.er1
6956
7839
  ac_status=$?
6957
7840
  grep -v '^ *+' conftest.er1 >conftest.err
6958
7841
  rm -f conftest.er1
6959
7842
  cat conftest.err >&5
6960
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6961
 
  (exit $ac_status); } &&
6962
 
         { ac_try='test -z "$ac_c_werror_flag"
6963
 
                         || test ! -s conftest.err'
6964
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6965
 
  (eval $ac_try) 2>&5
6966
 
  ac_status=$?
6967
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6968
 
  (exit $ac_status); }; } &&
6969
 
         { ac_try='test -s conftest$ac_exeext'
6970
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6971
 
  (eval $ac_try) 2>&5
6972
 
  ac_status=$?
6973
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974
 
  (exit $ac_status); }; }; then
 
7843
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7844
  (exit $ac_status); } && {
 
7845
         test -z "$ac_c_werror_flag" ||
 
7846
         test ! -s conftest.err
 
7847
       } && test -s conftest$ac_exeext && {
 
7848
         test "$cross_compiling" = yes ||
 
7849
         $as_test_x conftest$ac_exeext
 
7850
       }; then
6975
7851
  lt_cv_cc_needs_belf=yes
6976
7852
else
6977
 
  echo "$as_me: failed program was:" >&5
 
7853
  $as_echo "$as_me: failed program was:" >&5
6978
7854
sed 's/^/| /' conftest.$ac_ext >&5
6979
7855
 
6980
 
lt_cv_cc_needs_belf=no
 
7856
        lt_cv_cc_needs_belf=no
6981
7857
fi
6982
 
rm -f conftest.err conftest.$ac_objext \
 
7858
 
 
7859
rm -rf conftest.dSYM
 
7860
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6983
7861
      conftest$ac_exeext conftest.$ac_ext
6984
7862
     ac_ext=c
6985
7863
ac_cpp='$CPP $CPPFLAGS'
6988
7866
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6989
7867
 
6990
7868
fi
6991
 
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6992
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 
7869
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
7870
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6993
7871
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6994
7872
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6995
7873
    CFLAGS="$SAVE_CFLAGS"
7001
7879
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7002
7880
  (eval $ac_compile) 2>&5
7003
7881
  ac_status=$?
7004
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7882
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7005
7883
  (exit $ac_status); }; then
7006
7884
    case `/usr/bin/file conftest.o` in
7007
7885
    *64-bit*)
7008
7886
      case $lt_cv_prog_gnu_ld in
7009
7887
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7010
 
      *)    LD="${LD-ld} -64" ;;
 
7888
      *)
 
7889
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
7890
          LD="${LD-ld} -64"
 
7891
        fi
 
7892
        ;;
7011
7893
      esac
7012
7894
      ;;
7013
7895
    esac
7024
7906
 
7025
7907
for ac_header in dlfcn.h
7026
7908
do
7027
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7028
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7029
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
7030
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7031
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7032
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7909
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7910
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
7911
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
7912
$as_echo_n "checking for $ac_header... " >&6; }
 
7913
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
7914
  $as_echo_n "(cached) " >&6
7033
7915
fi
7034
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7035
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
7916
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
7917
                 $as_echo "$as_val"'`
 
7918
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7919
$as_echo "$ac_res" >&6; }
7036
7920
else
7037
7921
  # Is the header compilable?
7038
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
7039
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
7922
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
7923
$as_echo_n "checking $ac_header usability... " >&6; }
7040
7924
cat >conftest.$ac_ext <<_ACEOF
7041
7925
/* confdefs.h.  */
7042
7926
_ACEOF
7047
7931
#include <$ac_header>
7048
7932
_ACEOF
7049
7933
rm -f conftest.$ac_objext
7050
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7051
 
  (eval $ac_compile) 2>conftest.er1
 
7934
if { (ac_try="$ac_compile"
 
7935
case "(($ac_try" in
 
7936
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7937
  *) ac_try_echo=$ac_try;;
 
7938
esac
 
7939
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7940
$as_echo "$ac_try_echo") >&5
 
7941
  (eval "$ac_compile") 2>conftest.er1
7052
7942
  ac_status=$?
7053
7943
  grep -v '^ *+' conftest.er1 >conftest.err
7054
7944
  rm -f conftest.er1
7055
7945
  cat conftest.err >&5
7056
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7057
 
  (exit $ac_status); } &&
7058
 
         { ac_try='test -z "$ac_c_werror_flag"
7059
 
                         || test ! -s conftest.err'
7060
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7061
 
  (eval $ac_try) 2>&5
7062
 
  ac_status=$?
7063
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7064
 
  (exit $ac_status); }; } &&
7065
 
         { ac_try='test -s conftest.$ac_objext'
7066
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7067
 
  (eval $ac_try) 2>&5
7068
 
  ac_status=$?
7069
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7070
 
  (exit $ac_status); }; }; then
 
7946
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7947
  (exit $ac_status); } && {
 
7948
         test -z "$ac_c_werror_flag" ||
 
7949
         test ! -s conftest.err
 
7950
       } && test -s conftest.$ac_objext; then
7071
7951
  ac_header_compiler=yes
7072
7952
else
7073
 
  echo "$as_me: failed program was:" >&5
 
7953
  $as_echo "$as_me: failed program was:" >&5
7074
7954
sed 's/^/| /' conftest.$ac_ext >&5
7075
7955
 
7076
 
ac_header_compiler=no
 
7956
        ac_header_compiler=no
7077
7957
fi
7078
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7079
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7080
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
7958
 
 
7959
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7960
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
7961
$as_echo "$ac_header_compiler" >&6; }
7081
7962
 
7082
7963
# Is the header present?
7083
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
7084
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
7964
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
7965
$as_echo_n "checking $ac_header presence... " >&6; }
7085
7966
cat >conftest.$ac_ext <<_ACEOF
7086
7967
/* confdefs.h.  */
7087
7968
_ACEOF
7090
7971
/* end confdefs.h.  */
7091
7972
#include <$ac_header>
7092
7973
_ACEOF
7093
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7094
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
7974
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7975
case "(($ac_try" in
 
7976
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7977
  *) ac_try_echo=$ac_try;;
 
7978
esac
 
7979
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7980
$as_echo "$ac_try_echo") >&5
 
7981
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7095
7982
  ac_status=$?
7096
7983
  grep -v '^ *+' conftest.er1 >conftest.err
7097
7984
  rm -f conftest.er1
7098
7985
  cat conftest.err >&5
7099
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7100
 
  (exit $ac_status); } >/dev/null; then
7101
 
  if test -s conftest.err; then
7102
 
    ac_cpp_err=$ac_c_preproc_warn_flag
7103
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7104
 
  else
7105
 
    ac_cpp_err=
7106
 
  fi
7107
 
else
7108
 
  ac_cpp_err=yes
7109
 
fi
7110
 
if test -z "$ac_cpp_err"; then
 
7986
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7987
  (exit $ac_status); } >/dev/null && {
 
7988
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
7989
         test ! -s conftest.err
 
7990
       }; then
7111
7991
  ac_header_preproc=yes
7112
7992
else
7113
 
  echo "$as_me: failed program was:" >&5
 
7993
  $as_echo "$as_me: failed program was:" >&5
7114
7994
sed 's/^/| /' conftest.$ac_ext >&5
7115
7995
 
7116
7996
  ac_header_preproc=no
7117
7997
fi
 
7998
 
7118
7999
rm -f conftest.err conftest.$ac_ext
7119
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7120
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
8000
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
8001
$as_echo "$ac_header_preproc" >&6; }
7121
8002
 
7122
8003
# So?  What about this header?
7123
8004
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7124
8005
  yes:no: )
7125
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7126
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7127
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7128
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
8006
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
8007
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
8008
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
8009
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7129
8010
    ac_header_preproc=yes
7130
8011
    ;;
7131
8012
  no:yes:* )
7132
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7133
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7134
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7135
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7136
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7137
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7138
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7139
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7140
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7141
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7142
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7143
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7144
 
    (
7145
 
      cat <<\_ASBOX
 
8013
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
8014
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
8015
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
8016
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
8017
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
8018
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
8019
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
8020
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
8021
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
8022
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
8023
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
8024
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
8025
    ( cat <<\_ASBOX
7146
8026
## ------------------------------------------------ ##
7147
8027
## Report this to sblim-devel@lists.sourceforge.net ##
7148
8028
## ------------------------------------------------ ##
7149
8029
_ASBOX
7150
 
    ) |
7151
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
8030
     ) | sed "s/^/$as_me: WARNING:     /" >&2
7152
8031
    ;;
7153
8032
esac
7154
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
7155
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7156
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7157
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8033
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
8034
$as_echo_n "checking for $ac_header... " >&6; }
 
8035
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
8036
  $as_echo_n "(cached) " >&6
7158
8037
else
7159
8038
  eval "$as_ac_Header=\$ac_header_preproc"
7160
8039
fi
7161
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7162
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
8040
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
8041
                 $as_echo "$as_val"'`
 
8042
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
8043
$as_echo "$ac_res" >&6; }
7163
8044
 
7164
8045
fi
7165
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
8046
as_val=`eval 'as_val=${'$as_ac_Header'}
 
8047
                 $as_echo "$as_val"'`
 
8048
   if test "x$as_val" = x""yes; then
7166
8049
  cat >>confdefs.h <<_ACEOF
7167
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
8050
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7168
8051
_ACEOF
7169
8052
 
7170
8053
fi
7171
8054
 
7172
8055
done
7173
8056
 
7174
 
ac_ext=cc
 
8057
ac_ext=cpp
7175
8058
ac_cpp='$CXXCPP $CPPFLAGS'
7176
8059
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7177
8060
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7178
8061
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7179
 
if test -n "$ac_tool_prefix"; then
7180
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
8062
if test -z "$CXX"; then
 
8063
  if test -n "$CCC"; then
 
8064
    CXX=$CCC
 
8065
  else
 
8066
    if test -n "$ac_tool_prefix"; then
 
8067
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7181
8068
  do
7182
8069
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7183
8070
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7184
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7185
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8071
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8072
$as_echo_n "checking for $ac_word... " >&6; }
7186
8073
if test "${ac_cv_prog_CXX+set}" = set; then
7187
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8074
  $as_echo_n "(cached) " >&6
7188
8075
else
7189
8076
  if test -n "$CXX"; then
7190
8077
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
7195
8082
  IFS=$as_save_IFS
7196
8083
  test -z "$as_dir" && as_dir=.
7197
8084
  for ac_exec_ext in '' $ac_executable_extensions; do
7198
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8085
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7199
8086
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7200
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8087
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7201
8088
    break 2
7202
8089
  fi
7203
8090
done
7204
8091
done
 
8092
IFS=$as_save_IFS
7205
8093
 
7206
8094
fi
7207
8095
fi
7208
8096
CXX=$ac_cv_prog_CXX
7209
8097
if test -n "$CXX"; then
7210
 
  echo "$as_me:$LINENO: result: $CXX" >&5
7211
 
echo "${ECHO_T}$CXX" >&6
 
8098
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
 
8099
$as_echo "$CXX" >&6; }
7212
8100
else
7213
 
  echo "$as_me:$LINENO: result: no" >&5
7214
 
echo "${ECHO_T}no" >&6
 
8101
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8102
$as_echo "no" >&6; }
7215
8103
fi
7216
8104
 
 
8105
 
7217
8106
    test -n "$CXX" && break
7218
8107
  done
7219
8108
fi
7220
8109
if test -z "$CXX"; then
7221
8110
  ac_ct_CXX=$CXX
7222
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
8111
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7223
8112
do
7224
8113
  # Extract the first word of "$ac_prog", so it can be a program name with args.
7225
8114
set dummy $ac_prog; ac_word=$2
7226
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7227
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8115
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8116
$as_echo_n "checking for $ac_word... " >&6; }
7228
8117
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
7229
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8118
  $as_echo_n "(cached) " >&6
7230
8119
else
7231
8120
  if test -n "$ac_ct_CXX"; then
7232
8121
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7237
8126
  IFS=$as_save_IFS
7238
8127
  test -z "$as_dir" && as_dir=.
7239
8128
  for ac_exec_ext in '' $ac_executable_extensions; do
7240
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8129
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7241
8130
    ac_cv_prog_ac_ct_CXX="$ac_prog"
7242
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8131
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7243
8132
    break 2
7244
8133
  fi
7245
8134
done
7246
8135
done
 
8136
IFS=$as_save_IFS
7247
8137
 
7248
8138
fi
7249
8139
fi
7250
8140
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7251
8141
if test -n "$ac_ct_CXX"; then
7252
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7253
 
echo "${ECHO_T}$ac_ct_CXX" >&6
 
8142
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
8143
$as_echo "$ac_ct_CXX" >&6; }
7254
8144
else
7255
 
  echo "$as_me:$LINENO: result: no" >&5
7256
 
echo "${ECHO_T}no" >&6
 
8145
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8146
$as_echo "no" >&6; }
7257
8147
fi
7258
8148
 
 
8149
 
7259
8150
  test -n "$ac_ct_CXX" && break
7260
8151
done
7261
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
7262
 
 
7263
 
  CXX=$ac_ct_CXX
7264
 
fi
7265
 
 
7266
 
 
 
8152
 
 
8153
  if test "x$ac_ct_CXX" = x; then
 
8154
    CXX="g++"
 
8155
  else
 
8156
    case $cross_compiling:$ac_tool_warned in
 
8157
yes:)
 
8158
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8159
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8160
ac_tool_warned=yes ;;
 
8161
esac
 
8162
    CXX=$ac_ct_CXX
 
8163
  fi
 
8164
fi
 
8165
 
 
8166
  fi
 
8167
fi
7267
8168
# Provide some information about the compiler.
7268
 
echo "$as_me:$LINENO:" \
7269
 
     "checking for C++ compiler version" >&5
7270
 
ac_compiler=`set X $ac_compile; echo $2`
7271
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7272
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
7273
 
  ac_status=$?
7274
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7275
 
  (exit $ac_status); }
7276
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7277
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
7278
 
  ac_status=$?
7279
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7280
 
  (exit $ac_status); }
7281
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7282
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
7283
 
  ac_status=$?
7284
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8169
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
 
8170
set X $ac_compile
 
8171
ac_compiler=$2
 
8172
{ (ac_try="$ac_compiler --version >&5"
 
8173
case "(($ac_try" in
 
8174
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8175
  *) ac_try_echo=$ac_try;;
 
8176
esac
 
8177
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8178
$as_echo "$ac_try_echo") >&5
 
8179
  (eval "$ac_compiler --version >&5") 2>&5
 
8180
  ac_status=$?
 
8181
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8182
  (exit $ac_status); }
 
8183
{ (ac_try="$ac_compiler -v >&5"
 
8184
case "(($ac_try" in
 
8185
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8186
  *) ac_try_echo=$ac_try;;
 
8187
esac
 
8188
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8189
$as_echo "$ac_try_echo") >&5
 
8190
  (eval "$ac_compiler -v >&5") 2>&5
 
8191
  ac_status=$?
 
8192
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8193
  (exit $ac_status); }
 
8194
{ (ac_try="$ac_compiler -V >&5"
 
8195
case "(($ac_try" in
 
8196
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8197
  *) ac_try_echo=$ac_try;;
 
8198
esac
 
8199
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8200
$as_echo "$ac_try_echo") >&5
 
8201
  (eval "$ac_compiler -V >&5") 2>&5
 
8202
  ac_status=$?
 
8203
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7285
8204
  (exit $ac_status); }
7286
8205
 
7287
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7288
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 
8206
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
8207
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
7289
8208
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7290
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8209
  $as_echo_n "(cached) " >&6
7291
8210
else
7292
8211
  cat >conftest.$ac_ext <<_ACEOF
7293
8212
/* confdefs.h.  */
7308
8227
}
7309
8228
_ACEOF
7310
8229
rm -f conftest.$ac_objext
7311
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7312
 
  (eval $ac_compile) 2>conftest.er1
 
8230
if { (ac_try="$ac_compile"
 
8231
case "(($ac_try" in
 
8232
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8233
  *) ac_try_echo=$ac_try;;
 
8234
esac
 
8235
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8236
$as_echo "$ac_try_echo") >&5
 
8237
  (eval "$ac_compile") 2>conftest.er1
7313
8238
  ac_status=$?
7314
8239
  grep -v '^ *+' conftest.er1 >conftest.err
7315
8240
  rm -f conftest.er1
7316
8241
  cat conftest.err >&5
7317
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7318
 
  (exit $ac_status); } &&
7319
 
         { ac_try='test -z "$ac_cxx_werror_flag"
7320
 
                         || test ! -s conftest.err'
7321
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7322
 
  (eval $ac_try) 2>&5
7323
 
  ac_status=$?
7324
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7325
 
  (exit $ac_status); }; } &&
7326
 
         { ac_try='test -s conftest.$ac_objext'
7327
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7328
 
  (eval $ac_try) 2>&5
7329
 
  ac_status=$?
7330
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7331
 
  (exit $ac_status); }; }; then
 
8242
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8243
  (exit $ac_status); } && {
 
8244
         test -z "$ac_cxx_werror_flag" ||
 
8245
         test ! -s conftest.err
 
8246
       } && test -s conftest.$ac_objext; then
7332
8247
  ac_compiler_gnu=yes
7333
8248
else
7334
 
  echo "$as_me: failed program was:" >&5
 
8249
  $as_echo "$as_me: failed program was:" >&5
7335
8250
sed 's/^/| /' conftest.$ac_ext >&5
7336
8251
 
7337
 
ac_compiler_gnu=no
 
8252
        ac_compiler_gnu=no
7338
8253
fi
7339
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
8254
 
 
8255
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7340
8256
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7341
8257
 
7342
8258
fi
7343
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7344
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
7345
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
 
8259
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
8260
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
8261
if test $ac_compiler_gnu = yes; then
 
8262
  GXX=yes
 
8263
else
 
8264
  GXX=
 
8265
fi
7346
8266
ac_test_CXXFLAGS=${CXXFLAGS+set}
7347
8267
ac_save_CXXFLAGS=$CXXFLAGS
7348
 
CXXFLAGS="-g"
7349
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7350
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 
8268
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
8269
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
7351
8270
if test "${ac_cv_prog_cxx_g+set}" = set; then
7352
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7353
 
else
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
7370
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7371
 
  (eval $ac_compile) 2>conftest.er1
7372
 
  ac_status=$?
7373
 
  grep -v '^ *+' conftest.er1 >conftest.err
7374
 
  rm -f conftest.er1
7375
 
  cat conftest.err >&5
7376
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7377
 
  (exit $ac_status); } &&
7378
 
         { ac_try='test -z "$ac_cxx_werror_flag"
7379
 
                         || test ! -s conftest.err'
7380
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7381
 
  (eval $ac_try) 2>&5
7382
 
  ac_status=$?
7383
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384
 
  (exit $ac_status); }; } &&
7385
 
         { ac_try='test -s conftest.$ac_objext'
7386
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7387
 
  (eval $ac_try) 2>&5
7388
 
  ac_status=$?
7389
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7390
 
  (exit $ac_status); }; }; then
7391
 
  ac_cv_prog_cxx_g=yes
7392
 
else
7393
 
  echo "$as_me: failed program was:" >&5
7394
 
sed 's/^/| /' conftest.$ac_ext >&5
7395
 
 
7396
 
ac_cv_prog_cxx_g=no
7397
 
fi
7398
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7399
 
fi
7400
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7401
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 
8271
  $as_echo_n "(cached) " >&6
 
8272
else
 
8273
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
8274
   ac_cxx_werror_flag=yes
 
8275
   ac_cv_prog_cxx_g=no
 
8276
   CXXFLAGS="-g"
 
8277
   cat >conftest.$ac_ext <<_ACEOF
 
8278
/* confdefs.h.  */
 
8279
_ACEOF
 
8280
cat confdefs.h >>conftest.$ac_ext
 
8281
cat >>conftest.$ac_ext <<_ACEOF
 
8282
/* end confdefs.h.  */
 
8283
 
 
8284
int
 
8285
main ()
 
8286
{
 
8287
 
 
8288
  ;
 
8289
  return 0;
 
8290
}
 
8291
_ACEOF
 
8292
rm -f conftest.$ac_objext
 
8293
if { (ac_try="$ac_compile"
 
8294
case "(($ac_try" in
 
8295
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8296
  *) ac_try_echo=$ac_try;;
 
8297
esac
 
8298
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8299
$as_echo "$ac_try_echo") >&5
 
8300
  (eval "$ac_compile") 2>conftest.er1
 
8301
  ac_status=$?
 
8302
  grep -v '^ *+' conftest.er1 >conftest.err
 
8303
  rm -f conftest.er1
 
8304
  cat conftest.err >&5
 
8305
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8306
  (exit $ac_status); } && {
 
8307
         test -z "$ac_cxx_werror_flag" ||
 
8308
         test ! -s conftest.err
 
8309
       } && test -s conftest.$ac_objext; then
 
8310
  ac_cv_prog_cxx_g=yes
 
8311
else
 
8312
  $as_echo "$as_me: failed program was:" >&5
 
8313
sed 's/^/| /' conftest.$ac_ext >&5
 
8314
 
 
8315
        CXXFLAGS=""
 
8316
      cat >conftest.$ac_ext <<_ACEOF
 
8317
/* confdefs.h.  */
 
8318
_ACEOF
 
8319
cat confdefs.h >>conftest.$ac_ext
 
8320
cat >>conftest.$ac_ext <<_ACEOF
 
8321
/* end confdefs.h.  */
 
8322
 
 
8323
int
 
8324
main ()
 
8325
{
 
8326
 
 
8327
  ;
 
8328
  return 0;
 
8329
}
 
8330
_ACEOF
 
8331
rm -f conftest.$ac_objext
 
8332
if { (ac_try="$ac_compile"
 
8333
case "(($ac_try" in
 
8334
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8335
  *) ac_try_echo=$ac_try;;
 
8336
esac
 
8337
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8338
$as_echo "$ac_try_echo") >&5
 
8339
  (eval "$ac_compile") 2>conftest.er1
 
8340
  ac_status=$?
 
8341
  grep -v '^ *+' conftest.er1 >conftest.err
 
8342
  rm -f conftest.er1
 
8343
  cat conftest.err >&5
 
8344
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8345
  (exit $ac_status); } && {
 
8346
         test -z "$ac_cxx_werror_flag" ||
 
8347
         test ! -s conftest.err
 
8348
       } && test -s conftest.$ac_objext; then
 
8349
  :
 
8350
else
 
8351
  $as_echo "$as_me: failed program was:" >&5
 
8352
sed 's/^/| /' conftest.$ac_ext >&5
 
8353
 
 
8354
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
8355
         CXXFLAGS="-g"
 
8356
         cat >conftest.$ac_ext <<_ACEOF
 
8357
/* confdefs.h.  */
 
8358
_ACEOF
 
8359
cat confdefs.h >>conftest.$ac_ext
 
8360
cat >>conftest.$ac_ext <<_ACEOF
 
8361
/* end confdefs.h.  */
 
8362
 
 
8363
int
 
8364
main ()
 
8365
{
 
8366
 
 
8367
  ;
 
8368
  return 0;
 
8369
}
 
8370
_ACEOF
 
8371
rm -f conftest.$ac_objext
 
8372
if { (ac_try="$ac_compile"
 
8373
case "(($ac_try" in
 
8374
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8375
  *) ac_try_echo=$ac_try;;
 
8376
esac
 
8377
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8378
$as_echo "$ac_try_echo") >&5
 
8379
  (eval "$ac_compile") 2>conftest.er1
 
8380
  ac_status=$?
 
8381
  grep -v '^ *+' conftest.er1 >conftest.err
 
8382
  rm -f conftest.er1
 
8383
  cat conftest.err >&5
 
8384
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8385
  (exit $ac_status); } && {
 
8386
         test -z "$ac_cxx_werror_flag" ||
 
8387
         test ! -s conftest.err
 
8388
       } && test -s conftest.$ac_objext; then
 
8389
  ac_cv_prog_cxx_g=yes
 
8390
else
 
8391
  $as_echo "$as_me: failed program was:" >&5
 
8392
sed 's/^/| /' conftest.$ac_ext >&5
 
8393
 
 
8394
 
 
8395
fi
 
8396
 
 
8397
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8398
fi
 
8399
 
 
8400
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8401
fi
 
8402
 
 
8403
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8404
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
8405
fi
 
8406
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
8407
$as_echo "$ac_cv_prog_cxx_g" >&6; }
7402
8408
if test "$ac_test_CXXFLAGS" = set; then
7403
8409
  CXXFLAGS=$ac_save_CXXFLAGS
7404
8410
elif test $ac_cv_prog_cxx_g = yes; then
7414
8420
    CXXFLAGS=
7415
8421
  fi
7416
8422
fi
7417
 
for ac_declaration in \
7418
 
   '' \
7419
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
7420
 
   'extern "C" void std::exit (int); using std::exit;' \
7421
 
   'extern "C" void exit (int) throw ();' \
7422
 
   'extern "C" void exit (int);' \
7423
 
   'void exit (int);'
7424
 
do
7425
 
  cat >conftest.$ac_ext <<_ACEOF
7426
 
/* confdefs.h.  */
7427
 
_ACEOF
7428
 
cat confdefs.h >>conftest.$ac_ext
7429
 
cat >>conftest.$ac_ext <<_ACEOF
7430
 
/* end confdefs.h.  */
7431
 
$ac_declaration
7432
 
#include <stdlib.h>
7433
 
int
7434
 
main ()
7435
 
{
7436
 
exit (42);
7437
 
  ;
7438
 
  return 0;
7439
 
}
7440
 
_ACEOF
7441
 
rm -f conftest.$ac_objext
7442
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7443
 
  (eval $ac_compile) 2>conftest.er1
7444
 
  ac_status=$?
7445
 
  grep -v '^ *+' conftest.er1 >conftest.err
7446
 
  rm -f conftest.er1
7447
 
  cat conftest.err >&5
7448
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7449
 
  (exit $ac_status); } &&
7450
 
         { ac_try='test -z "$ac_cxx_werror_flag"
7451
 
                         || test ! -s conftest.err'
7452
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7453
 
  (eval $ac_try) 2>&5
7454
 
  ac_status=$?
7455
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7456
 
  (exit $ac_status); }; } &&
7457
 
         { ac_try='test -s conftest.$ac_objext'
7458
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7459
 
  (eval $ac_try) 2>&5
7460
 
  ac_status=$?
7461
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7462
 
  (exit $ac_status); }; }; then
7463
 
  :
7464
 
else
7465
 
  echo "$as_me: failed program was:" >&5
7466
 
sed 's/^/| /' conftest.$ac_ext >&5
7467
 
 
7468
 
continue
7469
 
fi
7470
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7471
 
  cat >conftest.$ac_ext <<_ACEOF
7472
 
/* confdefs.h.  */
7473
 
_ACEOF
7474
 
cat confdefs.h >>conftest.$ac_ext
7475
 
cat >>conftest.$ac_ext <<_ACEOF
7476
 
/* end confdefs.h.  */
7477
 
$ac_declaration
7478
 
int
7479
 
main ()
7480
 
{
7481
 
exit (42);
7482
 
  ;
7483
 
  return 0;
7484
 
}
7485
 
_ACEOF
7486
 
rm -f conftest.$ac_objext
7487
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7488
 
  (eval $ac_compile) 2>conftest.er1
7489
 
  ac_status=$?
7490
 
  grep -v '^ *+' conftest.er1 >conftest.err
7491
 
  rm -f conftest.er1
7492
 
  cat conftest.err >&5
7493
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7494
 
  (exit $ac_status); } &&
7495
 
         { ac_try='test -z "$ac_cxx_werror_flag"
7496
 
                         || test ! -s conftest.err'
7497
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7498
 
  (eval $ac_try) 2>&5
7499
 
  ac_status=$?
7500
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7501
 
  (exit $ac_status); }; } &&
7502
 
         { ac_try='test -s conftest.$ac_objext'
7503
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7504
 
  (eval $ac_try) 2>&5
7505
 
  ac_status=$?
7506
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7507
 
  (exit $ac_status); }; }; then
7508
 
  break
7509
 
else
7510
 
  echo "$as_me: failed program was:" >&5
7511
 
sed 's/^/| /' conftest.$ac_ext >&5
7512
 
 
7513
 
fi
7514
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7515
 
done
7516
 
rm -f conftest*
7517
 
if test -n "$ac_declaration"; then
7518
 
  echo '#ifdef __cplusplus' >>confdefs.h
7519
 
  echo $ac_declaration      >>confdefs.h
7520
 
  echo '#endif'             >>confdefs.h
7521
 
fi
7522
 
 
7523
 
ac_ext=cc
 
8423
ac_ext=cpp
7524
8424
ac_cpp='$CXXCPP $CPPFLAGS'
7525
8425
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7526
8426
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7528
8428
 
7529
8429
depcc="$CXX"  am_compiler_list=
7530
8430
 
7531
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
7532
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
8431
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
8432
$as_echo_n "checking dependency style of $depcc... " >&6; }
7533
8433
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
7534
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8434
  $as_echo_n "(cached) " >&6
7535
8435
else
7536
8436
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7537
8437
  # We make a subdir and do the tests there.  Otherwise we can end up
7593
8493
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7594
8494
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
7595
8495
         >/dev/null 2>conftest.err &&
 
8496
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
7596
8497
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7597
8498
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
7598
8499
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7618
8519
fi
7619
8520
 
7620
8521
fi
7621
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
7622
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 
8522
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
8523
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
7623
8524
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7624
8525
 
7625
 
 
7626
 
 
7627
 
if
 
8526
 if
7628
8527
  test "x$enable_dependency_tracking" != xno \
7629
8528
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7630
8529
  am__fastdepCXX_TRUE=
7640
8539
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7641
8540
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7642
8541
    (test "X$CXX" != "Xg++"))) ; then
7643
 
  ac_ext=cc
 
8542
  ac_ext=cpp
7644
8543
ac_cpp='$CXXCPP $CPPFLAGS'
7645
8544
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7646
8545
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7647
8546
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7648
 
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7649
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 
8547
{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
8548
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
7650
8549
if test -z "$CXXCPP"; then
7651
8550
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
7652
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8551
  $as_echo_n "(cached) " >&6
7653
8552
else
7654
8553
      # Double quotes because CXXCPP needs to be expanded
7655
8554
    for CXXCPP in "$CXX -E" "/lib/cpp"
7676
8575
#endif
7677
8576
                     Syntax error
7678
8577
_ACEOF
7679
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7680
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
8578
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
8579
case "(($ac_try" in
 
8580
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8581
  *) ac_try_echo=$ac_try;;
 
8582
esac
 
8583
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8584
$as_echo "$ac_try_echo") >&5
 
8585
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7681
8586
  ac_status=$?
7682
8587
  grep -v '^ *+' conftest.er1 >conftest.err
7683
8588
  rm -f conftest.er1
7684
8589
  cat conftest.err >&5
7685
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7686
 
  (exit $ac_status); } >/dev/null; then
7687
 
  if test -s conftest.err; then
7688
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
7689
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7690
 
  else
7691
 
    ac_cpp_err=
7692
 
  fi
7693
 
else
7694
 
  ac_cpp_err=yes
7695
 
fi
7696
 
if test -z "$ac_cpp_err"; then
 
8590
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8591
  (exit $ac_status); } >/dev/null && {
 
8592
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
8593
         test ! -s conftest.err
 
8594
       }; then
7697
8595
  :
7698
8596
else
7699
 
  echo "$as_me: failed program was:" >&5
 
8597
  $as_echo "$as_me: failed program was:" >&5
7700
8598
sed 's/^/| /' conftest.$ac_ext >&5
7701
8599
 
7702
8600
  # Broken: fails on valid input.
7703
8601
continue
7704
8602
fi
 
8603
 
7705
8604
rm -f conftest.err conftest.$ac_ext
7706
8605
 
7707
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
8606
  # OK, works on sane cases.  Now check whether nonexistent headers
7708
8607
  # can be detected and how.
7709
8608
  cat >conftest.$ac_ext <<_ACEOF
7710
8609
/* confdefs.h.  */
7714
8613
/* end confdefs.h.  */
7715
8614
#include <ac_nonexistent.h>
7716
8615
_ACEOF
7717
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7718
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
8616
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
8617
case "(($ac_try" in
 
8618
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8619
  *) ac_try_echo=$ac_try;;
 
8620
esac
 
8621
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8622
$as_echo "$ac_try_echo") >&5
 
8623
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7719
8624
  ac_status=$?
7720
8625
  grep -v '^ *+' conftest.er1 >conftest.err
7721
8626
  rm -f conftest.er1
7722
8627
  cat conftest.err >&5
7723
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7724
 
  (exit $ac_status); } >/dev/null; then
7725
 
  if test -s conftest.err; then
7726
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
7727
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7728
 
  else
7729
 
    ac_cpp_err=
7730
 
  fi
7731
 
else
7732
 
  ac_cpp_err=yes
7733
 
fi
7734
 
if test -z "$ac_cpp_err"; then
 
8628
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8629
  (exit $ac_status); } >/dev/null && {
 
8630
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
8631
         test ! -s conftest.err
 
8632
       }; then
7735
8633
  # Broken: success on invalid input.
7736
8634
continue
7737
8635
else
7738
 
  echo "$as_me: failed program was:" >&5
 
8636
  $as_echo "$as_me: failed program was:" >&5
7739
8637
sed 's/^/| /' conftest.$ac_ext >&5
7740
8638
 
7741
8639
  # Passes both tests.
7742
8640
ac_preproc_ok=:
7743
8641
break
7744
8642
fi
 
8643
 
7745
8644
rm -f conftest.err conftest.$ac_ext
7746
8645
 
7747
8646
done
7759
8658
else
7760
8659
  ac_cv_prog_CXXCPP=$CXXCPP
7761
8660
fi
7762
 
echo "$as_me:$LINENO: result: $CXXCPP" >&5
7763
 
echo "${ECHO_T}$CXXCPP" >&6
 
8661
{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
8662
$as_echo "$CXXCPP" >&6; }
7764
8663
ac_preproc_ok=false
7765
8664
for ac_cxx_preproc_warn_flag in '' yes
7766
8665
do
7783
8682
#endif
7784
8683
                     Syntax error
7785
8684
_ACEOF
7786
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7787
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
8685
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
8686
case "(($ac_try" in
 
8687
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8688
  *) ac_try_echo=$ac_try;;
 
8689
esac
 
8690
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8691
$as_echo "$ac_try_echo") >&5
 
8692
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7788
8693
  ac_status=$?
7789
8694
  grep -v '^ *+' conftest.er1 >conftest.err
7790
8695
  rm -f conftest.er1
7791
8696
  cat conftest.err >&5
7792
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7793
 
  (exit $ac_status); } >/dev/null; then
7794
 
  if test -s conftest.err; then
7795
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
7796
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7797
 
  else
7798
 
    ac_cpp_err=
7799
 
  fi
7800
 
else
7801
 
  ac_cpp_err=yes
7802
 
fi
7803
 
if test -z "$ac_cpp_err"; then
 
8697
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8698
  (exit $ac_status); } >/dev/null && {
 
8699
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
8700
         test ! -s conftest.err
 
8701
       }; then
7804
8702
  :
7805
8703
else
7806
 
  echo "$as_me: failed program was:" >&5
 
8704
  $as_echo "$as_me: failed program was:" >&5
7807
8705
sed 's/^/| /' conftest.$ac_ext >&5
7808
8706
 
7809
8707
  # Broken: fails on valid input.
7810
8708
continue
7811
8709
fi
 
8710
 
7812
8711
rm -f conftest.err conftest.$ac_ext
7813
8712
 
7814
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
8713
  # OK, works on sane cases.  Now check whether nonexistent headers
7815
8714
  # can be detected and how.
7816
8715
  cat >conftest.$ac_ext <<_ACEOF
7817
8716
/* confdefs.h.  */
7821
8720
/* end confdefs.h.  */
7822
8721
#include <ac_nonexistent.h>
7823
8722
_ACEOF
7824
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7825
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
8723
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
8724
case "(($ac_try" in
 
8725
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8726
  *) ac_try_echo=$ac_try;;
 
8727
esac
 
8728
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8729
$as_echo "$ac_try_echo") >&5
 
8730
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7826
8731
  ac_status=$?
7827
8732
  grep -v '^ *+' conftest.er1 >conftest.err
7828
8733
  rm -f conftest.er1
7829
8734
  cat conftest.err >&5
7830
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7831
 
  (exit $ac_status); } >/dev/null; then
7832
 
  if test -s conftest.err; then
7833
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
7834
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7835
 
  else
7836
 
    ac_cpp_err=
7837
 
  fi
7838
 
else
7839
 
  ac_cpp_err=yes
7840
 
fi
7841
 
if test -z "$ac_cpp_err"; then
 
8735
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8736
  (exit $ac_status); } >/dev/null && {
 
8737
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
8738
         test ! -s conftest.err
 
8739
       }; then
7842
8740
  # Broken: success on invalid input.
7843
8741
continue
7844
8742
else
7845
 
  echo "$as_me: failed program was:" >&5
 
8743
  $as_echo "$as_me: failed program was:" >&5
7846
8744
sed 's/^/| /' conftest.$ac_ext >&5
7847
8745
 
7848
8746
  # Passes both tests.
7849
8747
ac_preproc_ok=:
7850
8748
break
7851
8749
fi
 
8750
 
7852
8751
rm -f conftest.err conftest.$ac_ext
7853
8752
 
7854
8753
done
7857
8756
if $ac_preproc_ok; then
7858
8757
  :
7859
8758
else
7860
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 
8759
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
8760
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
8761
{ { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7861
8762
See \`config.log' for more details." >&5
7862
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 
8763
$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7863
8764
See \`config.log' for more details." >&2;}
7864
 
   { (exit 1); exit 1; }; }
 
8765
   { (exit 1); exit 1; }; }; }
7865
8766
fi
7866
8767
 
7867
 
ac_ext=cc
 
8768
ac_ext=cpp
7868
8769
ac_cpp='$CXXCPP $CPPFLAGS'
7869
8770
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7870
8771
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7878
8779
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7879
8780
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
7880
8781
if test -n "$ac_tool_prefix"; then
7881
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
8782
  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
7882
8783
  do
7883
8784
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7884
8785
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7885
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7886
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8786
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8787
$as_echo_n "checking for $ac_word... " >&6; }
7887
8788
if test "${ac_cv_prog_F77+set}" = set; then
7888
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8789
  $as_echo_n "(cached) " >&6
7889
8790
else
7890
8791
  if test -n "$F77"; then
7891
8792
  ac_cv_prog_F77="$F77" # Let the user override the test.
7896
8797
  IFS=$as_save_IFS
7897
8798
  test -z "$as_dir" && as_dir=.
7898
8799
  for ac_exec_ext in '' $ac_executable_extensions; do
7899
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8800
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7900
8801
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
7901
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8802
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7902
8803
    break 2
7903
8804
  fi
7904
8805
done
7905
8806
done
 
8807
IFS=$as_save_IFS
7906
8808
 
7907
8809
fi
7908
8810
fi
7909
8811
F77=$ac_cv_prog_F77
7910
8812
if test -n "$F77"; then
7911
 
  echo "$as_me:$LINENO: result: $F77" >&5
7912
 
echo "${ECHO_T}$F77" >&6
 
8813
  { $as_echo "$as_me:$LINENO: result: $F77" >&5
 
8814
$as_echo "$F77" >&6; }
7913
8815
else
7914
 
  echo "$as_me:$LINENO: result: no" >&5
7915
 
echo "${ECHO_T}no" >&6
 
8816
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8817
$as_echo "no" >&6; }
7916
8818
fi
7917
8819
 
 
8820
 
7918
8821
    test -n "$F77" && break
7919
8822
  done
7920
8823
fi
7921
8824
if test -z "$F77"; then
7922
8825
  ac_ct_F77=$F77
7923
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
8826
  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
7924
8827
do
7925
8828
  # Extract the first word of "$ac_prog", so it can be a program name with args.
7926
8829
set dummy $ac_prog; ac_word=$2
7927
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7928
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8830
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8831
$as_echo_n "checking for $ac_word... " >&6; }
7929
8832
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7930
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8833
  $as_echo_n "(cached) " >&6
7931
8834
else
7932
8835
  if test -n "$ac_ct_F77"; then
7933
8836
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
7938
8841
  IFS=$as_save_IFS
7939
8842
  test -z "$as_dir" && as_dir=.
7940
8843
  for ac_exec_ext in '' $ac_executable_extensions; do
7941
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8844
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7942
8845
    ac_cv_prog_ac_ct_F77="$ac_prog"
7943
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8846
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7944
8847
    break 2
7945
8848
  fi
7946
8849
done
7947
8850
done
 
8851
IFS=$as_save_IFS
7948
8852
 
7949
8853
fi
7950
8854
fi
7951
8855
ac_ct_F77=$ac_cv_prog_ac_ct_F77
7952
8856
if test -n "$ac_ct_F77"; then
7953
 
  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7954
 
echo "${ECHO_T}$ac_ct_F77" >&6
 
8857
  { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
8858
$as_echo "$ac_ct_F77" >&6; }
7955
8859
else
7956
 
  echo "$as_me:$LINENO: result: no" >&5
7957
 
echo "${ECHO_T}no" >&6
 
8860
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8861
$as_echo "no" >&6; }
7958
8862
fi
7959
8863
 
 
8864
 
7960
8865
  test -n "$ac_ct_F77" && break
7961
8866
done
7962
8867
 
7963
 
  F77=$ac_ct_F77
 
8868
  if test "x$ac_ct_F77" = x; then
 
8869
    F77=""
 
8870
  else
 
8871
    case $cross_compiling:$ac_tool_warned in
 
8872
yes:)
 
8873
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8874
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8875
ac_tool_warned=yes ;;
 
8876
esac
 
8877
    F77=$ac_ct_F77
 
8878
  fi
7964
8879
fi
7965
8880
 
7966
8881
 
7967
8882
# Provide some information about the compiler.
7968
 
echo "$as_me:7968:" \
7969
 
     "checking for Fortran 77 compiler version" >&5
7970
 
ac_compiler=`set X $ac_compile; echo $2`
7971
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7972
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
7973
 
  ac_status=$?
7974
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7975
 
  (exit $ac_status); }
7976
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7977
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
7978
 
  ac_status=$?
7979
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7980
 
  (exit $ac_status); }
7981
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7982
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
7983
 
  ac_status=$?
7984
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8883
$as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
 
8884
set X $ac_compile
 
8885
ac_compiler=$2
 
8886
{ (ac_try="$ac_compiler --version >&5"
 
8887
case "(($ac_try" in
 
8888
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8889
  *) ac_try_echo=$ac_try;;
 
8890
esac
 
8891
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8892
$as_echo "$ac_try_echo") >&5
 
8893
  (eval "$ac_compiler --version >&5") 2>&5
 
8894
  ac_status=$?
 
8895
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8896
  (exit $ac_status); }
 
8897
{ (ac_try="$ac_compiler -v >&5"
 
8898
case "(($ac_try" in
 
8899
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8900
  *) ac_try_echo=$ac_try;;
 
8901
esac
 
8902
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8903
$as_echo "$ac_try_echo") >&5
 
8904
  (eval "$ac_compiler -v >&5") 2>&5
 
8905
  ac_status=$?
 
8906
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8907
  (exit $ac_status); }
 
8908
{ (ac_try="$ac_compiler -V >&5"
 
8909
case "(($ac_try" in
 
8910
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8911
  *) ac_try_echo=$ac_try;;
 
8912
esac
 
8913
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8914
$as_echo "$ac_try_echo") >&5
 
8915
  (eval "$ac_compiler -V >&5") 2>&5
 
8916
  ac_status=$?
 
8917
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7985
8918
  (exit $ac_status); }
7986
8919
rm -f a.out
7987
8920
 
7989
8922
# input file.  (Note that this only needs to work for GNU compilers.)
7990
8923
ac_save_ext=$ac_ext
7991
8924
ac_ext=F
7992
 
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
7993
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
 
8925
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
8926
$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
7994
8927
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
7995
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8928
  $as_echo_n "(cached) " >&6
7996
8929
else
7997
8930
  cat >conftest.$ac_ext <<_ACEOF
7998
8931
      program main
8003
8936
      end
8004
8937
_ACEOF
8005
8938
rm -f conftest.$ac_objext
8006
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8007
 
  (eval $ac_compile) 2>conftest.er1
 
8939
if { (ac_try="$ac_compile"
 
8940
case "(($ac_try" in
 
8941
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8942
  *) ac_try_echo=$ac_try;;
 
8943
esac
 
8944
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8945
$as_echo "$ac_try_echo") >&5
 
8946
  (eval "$ac_compile") 2>conftest.er1
8008
8947
  ac_status=$?
8009
8948
  grep -v '^ *+' conftest.er1 >conftest.err
8010
8949
  rm -f conftest.er1
8011
8950
  cat conftest.err >&5
8012
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8013
 
  (exit $ac_status); } &&
8014
 
         { ac_try='test -z "$ac_f77_werror_flag"
8015
 
                         || test ! -s conftest.err'
8016
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8017
 
  (eval $ac_try) 2>&5
8018
 
  ac_status=$?
8019
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8020
 
  (exit $ac_status); }; } &&
8021
 
         { ac_try='test -s conftest.$ac_objext'
8022
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8023
 
  (eval $ac_try) 2>&5
8024
 
  ac_status=$?
8025
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8026
 
  (exit $ac_status); }; }; then
 
8951
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8952
  (exit $ac_status); } && {
 
8953
         test -z "$ac_f77_werror_flag" ||
 
8954
         test ! -s conftest.err
 
8955
       } && test -s conftest.$ac_objext; then
8027
8956
  ac_compiler_gnu=yes
8028
8957
else
8029
 
  echo "$as_me: failed program was:" >&5
 
8958
  $as_echo "$as_me: failed program was:" >&5
8030
8959
sed 's/^/| /' conftest.$ac_ext >&5
8031
8960
 
8032
 
ac_compiler_gnu=no
 
8961
        ac_compiler_gnu=no
8033
8962
fi
8034
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
8963
 
 
8964
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8035
8965
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
8036
8966
 
8037
8967
fi
8038
 
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
8039
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
 
8968
{ $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
8969
$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
8040
8970
ac_ext=$ac_save_ext
8041
8971
ac_test_FFLAGS=${FFLAGS+set}
8042
8972
ac_save_FFLAGS=$FFLAGS
8043
8973
FFLAGS=
8044
 
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
8045
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
 
8974
{ $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
8975
$as_echo_n "checking whether $F77 accepts -g... " >&6; }
8046
8976
if test "${ac_cv_prog_f77_g+set}" = set; then
8047
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8977
  $as_echo_n "(cached) " >&6
8048
8978
else
8049
8979
  FFLAGS=-g
8050
8980
cat >conftest.$ac_ext <<_ACEOF
8053
8983
      end
8054
8984
_ACEOF
8055
8985
rm -f conftest.$ac_objext
8056
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8057
 
  (eval $ac_compile) 2>conftest.er1
 
8986
if { (ac_try="$ac_compile"
 
8987
case "(($ac_try" in
 
8988
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8989
  *) ac_try_echo=$ac_try;;
 
8990
esac
 
8991
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8992
$as_echo "$ac_try_echo") >&5
 
8993
  (eval "$ac_compile") 2>conftest.er1
8058
8994
  ac_status=$?
8059
8995
  grep -v '^ *+' conftest.er1 >conftest.err
8060
8996
  rm -f conftest.er1
8061
8997
  cat conftest.err >&5
8062
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8063
 
  (exit $ac_status); } &&
8064
 
         { ac_try='test -z "$ac_f77_werror_flag"
8065
 
                         || test ! -s conftest.err'
8066
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8067
 
  (eval $ac_try) 2>&5
8068
 
  ac_status=$?
8069
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8070
 
  (exit $ac_status); }; } &&
8071
 
         { ac_try='test -s conftest.$ac_objext'
8072
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8073
 
  (eval $ac_try) 2>&5
8074
 
  ac_status=$?
8075
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8076
 
  (exit $ac_status); }; }; then
 
8998
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8999
  (exit $ac_status); } && {
 
9000
         test -z "$ac_f77_werror_flag" ||
 
9001
         test ! -s conftest.err
 
9002
       } && test -s conftest.$ac_objext; then
8077
9003
  ac_cv_prog_f77_g=yes
8078
9004
else
8079
 
  echo "$as_me: failed program was:" >&5
 
9005
  $as_echo "$as_me: failed program was:" >&5
8080
9006
sed 's/^/| /' conftest.$ac_ext >&5
8081
9007
 
8082
 
ac_cv_prog_f77_g=no
8083
 
fi
8084
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8085
 
 
8086
 
fi
8087
 
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
8088
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
 
9008
        ac_cv_prog_f77_g=no
 
9009
fi
 
9010
 
 
9011
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
9012
 
 
9013
fi
 
9014
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
9015
$as_echo "$ac_cv_prog_f77_g" >&6; }
8089
9016
if test "$ac_test_FFLAGS" = set; then
8090
9017
  FFLAGS=$ac_save_FFLAGS
8091
9018
elif test $ac_cv_prog_f77_g = yes; then
8102
9029
  fi
8103
9030
fi
8104
9031
 
8105
 
G77=`test $ac_compiler_gnu = yes && echo yes`
 
9032
if test $ac_compiler_gnu = yes; then
 
9033
  G77=yes
 
9034
else
 
9035
  G77=
 
9036
fi
8106
9037
ac_ext=c
8107
9038
ac_cpp='$CPP $CPPFLAGS'
8108
9039
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8112
9043
 
8113
9044
 
8114
9045
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
8115
 
 
8116
9046
# find the maximum length of command line arguments
8117
 
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
8118
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
 
9047
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
9048
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
8119
9049
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
8120
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9050
  $as_echo_n "(cached) " >&6
8121
9051
else
8122
9052
    i=0
8123
9053
  teststring="ABCD"
8199
9129
    fi
8200
9130
    ;;
8201
9131
  *)
8202
 
    # If test is not a shell built-in, we'll probably end up computing a
8203
 
    # maximum length that is only half of the actual maximum length, but
8204
 
    # we can't tell.
8205
 
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
8206
 
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 
9132
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
9133
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
9134
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
9135
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
9136
    else
 
9137
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
9138
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
8207
9139
               = "XX$teststring") >/dev/null 2>&1 &&
8208
 
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
8209
 
            lt_cv_sys_max_cmd_len=$new_result &&
8210
 
            test $i != 17 # 1/2 MB should be enough
8211
 
    do
8212
 
      i=`expr $i + 1`
8213
 
      teststring=$teststring$teststring
8214
 
    done
8215
 
    teststring=
8216
 
    # Add a significant safety factor because C++ compilers can tack on massive
8217
 
    # amounts of additional arguments before passing them to the linker.
8218
 
    # It appears as though 1/2 is a usable value.
8219
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
9140
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
 
9141
              lt_cv_sys_max_cmd_len=$new_result &&
 
9142
              test $i != 17 # 1/2 MB should be enough
 
9143
      do
 
9144
        i=`expr $i + 1`
 
9145
        teststring=$teststring$teststring
 
9146
      done
 
9147
      teststring=
 
9148
      # Add a significant safety factor because C++ compilers can tack on massive
 
9149
      # amounts of additional arguments before passing them to the linker.
 
9150
      # It appears as though 1/2 is a usable value.
 
9151
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
9152
    fi
8220
9153
    ;;
8221
9154
  esac
8222
9155
 
8223
9156
fi
8224
9157
 
8225
9158
if test -n $lt_cv_sys_max_cmd_len ; then
8226
 
  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
8227
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
 
9159
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
9160
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
8228
9161
else
8229
 
  echo "$as_me:$LINENO: result: none" >&5
8230
 
echo "${ECHO_T}none" >&6
 
9162
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
9163
$as_echo "none" >&6; }
8231
9164
fi
8232
9165
 
8233
9166
 
8234
9167
 
8235
9168
 
 
9169
 
8236
9170
# Check for command to grab the raw symbol name followed by C symbol from nm.
8237
 
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
8238
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
 
9171
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
9172
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8239
9173
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
8240
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9174
  $as_echo_n "(cached) " >&6
8241
9175
else
8242
9176
 
8243
9177
# These are sane defaults that work on at least a few old systems.
8270
9204
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8271
9205
  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'"
8272
9206
  ;;
8273
 
linux*)
 
9207
linux* | k*bsd*-gnu)
8274
9208
  if test "$host_cpu" = ia64; then
8275
9209
    symcode='[ABCDGIRSTW]'
8276
9210
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8342
9276
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8343
9277
  (eval $ac_compile) 2>&5
8344
9278
  ac_status=$?
8345
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9279
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8346
9280
  (exit $ac_status); }; then
8347
9281
    # Now try to grab the symbols.
8348
9282
    nlist=conftest.nm
8349
9283
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
8350
9284
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
8351
9285
  ac_status=$?
8352
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9286
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8353
9287
  (exit $ac_status); } && test -s "$nlist"; then
8354
9288
      # Try sorting and uniquifying the output.
8355
9289
      if sort "$nlist" | uniq > "$nlist"T; then
8404
9338
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8405
9339
  (eval $ac_link) 2>&5
8406
9340
  ac_status=$?
8407
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9341
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8408
9342
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
8409
9343
            pipe_works=yes
8410
9344
          fi
8423
9357
    echo "$progname: failed program was:" >&5
8424
9358
    cat conftest.$ac_ext >&5
8425
9359
  fi
8426
 
  rm -f conftest* conftst*
 
9360
  rm -rf conftest* conftst*
8427
9361
 
8428
9362
  # Do not use the global_symbol_pipe unless it works.
8429
9363
  if test "$pipe_works" = yes; then
8439
9373
  lt_cv_sys_global_symbol_to_cdecl=
8440
9374
fi
8441
9375
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8442
 
  echo "$as_me:$LINENO: result: failed" >&5
8443
 
echo "${ECHO_T}failed" >&6
 
9376
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
9377
$as_echo "failed" >&6; }
8444
9378
else
8445
 
  echo "$as_me:$LINENO: result: ok" >&5
8446
 
echo "${ECHO_T}ok" >&6
 
9379
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
9380
$as_echo "ok" >&6; }
8447
9381
fi
8448
9382
 
8449
 
echo "$as_me:$LINENO: checking for objdir" >&5
8450
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 
9383
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
9384
$as_echo_n "checking for objdir... " >&6; }
8451
9385
if test "${lt_cv_objdir+set}" = set; then
8452
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9386
  $as_echo_n "(cached) " >&6
8453
9387
else
8454
9388
  rm -f .libs 2>/dev/null
8455
9389
mkdir .libs 2>/dev/null
8461
9395
fi
8462
9396
rmdir .libs 2>/dev/null
8463
9397
fi
8464
 
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8465
 
echo "${ECHO_T}$lt_cv_objdir" >&6
 
9398
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
9399
$as_echo "$lt_cv_objdir" >&6; }
8466
9400
objdir=$lt_cv_objdir
8467
9401
 
8468
9402
 
8513
9447
if test -n "$ac_tool_prefix"; then
8514
9448
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8515
9449
set dummy ${ac_tool_prefix}ar; ac_word=$2
8516
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8517
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
9450
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9451
$as_echo_n "checking for $ac_word... " >&6; }
8518
9452
if test "${ac_cv_prog_AR+set}" = set; then
8519
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9453
  $as_echo_n "(cached) " >&6
8520
9454
else
8521
9455
  if test -n "$AR"; then
8522
9456
  ac_cv_prog_AR="$AR" # Let the user override the test.
8527
9461
  IFS=$as_save_IFS
8528
9462
  test -z "$as_dir" && as_dir=.
8529
9463
  for ac_exec_ext in '' $ac_executable_extensions; do
8530
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9464
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8531
9465
    ac_cv_prog_AR="${ac_tool_prefix}ar"
8532
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9466
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8533
9467
    break 2
8534
9468
  fi
8535
9469
done
8536
9470
done
 
9471
IFS=$as_save_IFS
8537
9472
 
8538
9473
fi
8539
9474
fi
8540
9475
AR=$ac_cv_prog_AR
8541
9476
if test -n "$AR"; then
8542
 
  echo "$as_me:$LINENO: result: $AR" >&5
8543
 
echo "${ECHO_T}$AR" >&6
 
9477
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
9478
$as_echo "$AR" >&6; }
8544
9479
else
8545
 
  echo "$as_me:$LINENO: result: no" >&5
8546
 
echo "${ECHO_T}no" >&6
 
9480
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9481
$as_echo "no" >&6; }
8547
9482
fi
 
9483
 
8548
9484
 
8549
9485
fi
8550
9486
if test -z "$ac_cv_prog_AR"; then
8551
9487
  ac_ct_AR=$AR
8552
9488
  # Extract the first word of "ar", so it can be a program name with args.
8553
9489
set dummy ar; ac_word=$2
8554
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8555
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
9490
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9491
$as_echo_n "checking for $ac_word... " >&6; }
8556
9492
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
8557
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9493
  $as_echo_n "(cached) " >&6
8558
9494
else
8559
9495
  if test -n "$ac_ct_AR"; then
8560
9496
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8565
9501
  IFS=$as_save_IFS
8566
9502
  test -z "$as_dir" && as_dir=.
8567
9503
  for ac_exec_ext in '' $ac_executable_extensions; do
8568
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9504
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8569
9505
    ac_cv_prog_ac_ct_AR="ar"
8570
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9506
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8571
9507
    break 2
8572
9508
  fi
8573
9509
done
8574
9510
done
 
9511
IFS=$as_save_IFS
8575
9512
 
8576
 
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
8577
9513
fi
8578
9514
fi
8579
9515
ac_ct_AR=$ac_cv_prog_ac_ct_AR
8580
9516
if test -n "$ac_ct_AR"; then
8581
 
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
8582
 
echo "${ECHO_T}$ac_ct_AR" >&6
 
9517
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
9518
$as_echo "$ac_ct_AR" >&6; }
8583
9519
else
8584
 
  echo "$as_me:$LINENO: result: no" >&5
8585
 
echo "${ECHO_T}no" >&6
 
9520
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9521
$as_echo "no" >&6; }
8586
9522
fi
8587
9523
 
8588
 
  AR=$ac_ct_AR
 
9524
  if test "x$ac_ct_AR" = x; then
 
9525
    AR="false"
 
9526
  else
 
9527
    case $cross_compiling:$ac_tool_warned in
 
9528
yes:)
 
9529
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
9530
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9531
ac_tool_warned=yes ;;
 
9532
esac
 
9533
    AR=$ac_ct_AR
 
9534
  fi
8589
9535
else
8590
9536
  AR="$ac_cv_prog_AR"
8591
9537
fi
8593
9539
if test -n "$ac_tool_prefix"; then
8594
9540
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8595
9541
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8596
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8597
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
9542
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9543
$as_echo_n "checking for $ac_word... " >&6; }
8598
9544
if test "${ac_cv_prog_RANLIB+set}" = set; then
8599
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9545
  $as_echo_n "(cached) " >&6
8600
9546
else
8601
9547
  if test -n "$RANLIB"; then
8602
9548
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8607
9553
  IFS=$as_save_IFS
8608
9554
  test -z "$as_dir" && as_dir=.
8609
9555
  for ac_exec_ext in '' $ac_executable_extensions; do
8610
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9556
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8611
9557
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8612
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9558
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8613
9559
    break 2
8614
9560
  fi
8615
9561
done
8616
9562
done
 
9563
IFS=$as_save_IFS
8617
9564
 
8618
9565
fi
8619
9566
fi
8620
9567
RANLIB=$ac_cv_prog_RANLIB
8621
9568
if test -n "$RANLIB"; then
8622
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
8623
 
echo "${ECHO_T}$RANLIB" >&6
 
9569
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
9570
$as_echo "$RANLIB" >&6; }
8624
9571
else
8625
 
  echo "$as_me:$LINENO: result: no" >&5
8626
 
echo "${ECHO_T}no" >&6
 
9572
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9573
$as_echo "no" >&6; }
8627
9574
fi
 
9575
 
8628
9576
 
8629
9577
fi
8630
9578
if test -z "$ac_cv_prog_RANLIB"; then
8631
9579
  ac_ct_RANLIB=$RANLIB
8632
9580
  # Extract the first word of "ranlib", so it can be a program name with args.
8633
9581
set dummy ranlib; ac_word=$2
8634
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8635
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
9582
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9583
$as_echo_n "checking for $ac_word... " >&6; }
8636
9584
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8637
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9585
  $as_echo_n "(cached) " >&6
8638
9586
else
8639
9587
  if test -n "$ac_ct_RANLIB"; then
8640
9588
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8645
9593
  IFS=$as_save_IFS
8646
9594
  test -z "$as_dir" && as_dir=.
8647
9595
  for ac_exec_ext in '' $ac_executable_extensions; do
8648
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9596
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8649
9597
    ac_cv_prog_ac_ct_RANLIB="ranlib"
8650
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9598
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8651
9599
    break 2
8652
9600
  fi
8653
9601
done
8654
9602
done
 
9603
IFS=$as_save_IFS
8655
9604
 
8656
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
8657
9605
fi
8658
9606
fi
8659
9607
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8660
9608
if test -n "$ac_ct_RANLIB"; then
8661
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8662
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
9609
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
9610
$as_echo "$ac_ct_RANLIB" >&6; }
8663
9611
else
8664
 
  echo "$as_me:$LINENO: result: no" >&5
8665
 
echo "${ECHO_T}no" >&6
 
9612
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9613
$as_echo "no" >&6; }
8666
9614
fi
8667
9615
 
8668
 
  RANLIB=$ac_ct_RANLIB
 
9616
  if test "x$ac_ct_RANLIB" = x; then
 
9617
    RANLIB=":"
 
9618
  else
 
9619
    case $cross_compiling:$ac_tool_warned in
 
9620
yes:)
 
9621
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
9622
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9623
ac_tool_warned=yes ;;
 
9624
esac
 
9625
    RANLIB=$ac_ct_RANLIB
 
9626
  fi
8669
9627
else
8670
9628
  RANLIB="$ac_cv_prog_RANLIB"
8671
9629
fi
8673
9631
if test -n "$ac_tool_prefix"; then
8674
9632
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8675
9633
set dummy ${ac_tool_prefix}strip; ac_word=$2
8676
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8677
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
9634
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9635
$as_echo_n "checking for $ac_word... " >&6; }
8678
9636
if test "${ac_cv_prog_STRIP+set}" = set; then
8679
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9637
  $as_echo_n "(cached) " >&6
8680
9638
else
8681
9639
  if test -n "$STRIP"; then
8682
9640
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8687
9645
  IFS=$as_save_IFS
8688
9646
  test -z "$as_dir" && as_dir=.
8689
9647
  for ac_exec_ext in '' $ac_executable_extensions; do
8690
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9648
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8691
9649
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8692
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9650
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8693
9651
    break 2
8694
9652
  fi
8695
9653
done
8696
9654
done
 
9655
IFS=$as_save_IFS
8697
9656
 
8698
9657
fi
8699
9658
fi
8700
9659
STRIP=$ac_cv_prog_STRIP
8701
9660
if test -n "$STRIP"; then
8702
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
8703
 
echo "${ECHO_T}$STRIP" >&6
 
9661
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
9662
$as_echo "$STRIP" >&6; }
8704
9663
else
8705
 
  echo "$as_me:$LINENO: result: no" >&5
8706
 
echo "${ECHO_T}no" >&6
 
9664
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9665
$as_echo "no" >&6; }
8707
9666
fi
 
9667
 
8708
9668
 
8709
9669
fi
8710
9670
if test -z "$ac_cv_prog_STRIP"; then
8711
9671
  ac_ct_STRIP=$STRIP
8712
9672
  # Extract the first word of "strip", so it can be a program name with args.
8713
9673
set dummy strip; ac_word=$2
8714
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8715
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
9674
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9675
$as_echo_n "checking for $ac_word... " >&6; }
8716
9676
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8717
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9677
  $as_echo_n "(cached) " >&6
8718
9678
else
8719
9679
  if test -n "$ac_ct_STRIP"; then
8720
9680
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8725
9685
  IFS=$as_save_IFS
8726
9686
  test -z "$as_dir" && as_dir=.
8727
9687
  for ac_exec_ext in '' $ac_executable_extensions; do
8728
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9688
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8729
9689
    ac_cv_prog_ac_ct_STRIP="strip"
8730
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9690
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8731
9691
    break 2
8732
9692
  fi
8733
9693
done
8734
9694
done
 
9695
IFS=$as_save_IFS
8735
9696
 
8736
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
8737
9697
fi
8738
9698
fi
8739
9699
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8740
9700
if test -n "$ac_ct_STRIP"; then
8741
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8742
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
9701
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
9702
$as_echo "$ac_ct_STRIP" >&6; }
8743
9703
else
8744
 
  echo "$as_me:$LINENO: result: no" >&5
8745
 
echo "${ECHO_T}no" >&6
 
9704
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9705
$as_echo "no" >&6; }
8746
9706
fi
8747
9707
 
8748
 
  STRIP=$ac_ct_STRIP
 
9708
  if test "x$ac_ct_STRIP" = x; then
 
9709
    STRIP=":"
 
9710
  else
 
9711
    case $cross_compiling:$ac_tool_warned in
 
9712
yes:)
 
9713
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
9714
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9715
ac_tool_warned=yes ;;
 
9716
esac
 
9717
    STRIP=$ac_ct_STRIP
 
9718
  fi
8749
9719
else
8750
9720
  STRIP="$ac_cv_prog_STRIP"
8751
9721
fi
8773
9743
test -z "$ac_objext" && ac_objext=o
8774
9744
 
8775
9745
# Determine commands to create old-style static archives.
8776
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
 
9746
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8777
9747
old_postinstall_cmds='chmod 644 $oldlib'
8778
9748
old_postuninstall_cmds=
8779
9749
 
8804
9774
case $deplibs_check_method in
8805
9775
file_magic*)
8806
9776
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8807
 
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8808
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 
9777
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
9778
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8809
9779
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8810
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9780
  $as_echo_n "(cached) " >&6
8811
9781
else
8812
9782
  case $MAGIC_CMD in
8813
9783
[\\/*] |  ?:[\\/]*)
8857
9827
 
8858
9828
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8859
9829
if test -n "$MAGIC_CMD"; then
8860
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8861
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
9830
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
9831
$as_echo "$MAGIC_CMD" >&6; }
8862
9832
else
8863
 
  echo "$as_me:$LINENO: result: no" >&5
8864
 
echo "${ECHO_T}no" >&6
 
9833
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9834
$as_echo "no" >&6; }
8865
9835
fi
8866
9836
 
8867
9837
if test -z "$lt_cv_path_MAGIC_CMD"; then
8868
9838
  if test -n "$ac_tool_prefix"; then
8869
 
    echo "$as_me:$LINENO: checking for file" >&5
8870
 
echo $ECHO_N "checking for file... $ECHO_C" >&6
 
9839
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
9840
$as_echo_n "checking for file... " >&6; }
8871
9841
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8872
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9842
  $as_echo_n "(cached) " >&6
8873
9843
else
8874
9844
  case $MAGIC_CMD in
8875
9845
[\\/*] |  ?:[\\/]*)
8919
9889
 
8920
9890
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8921
9891
if test -n "$MAGIC_CMD"; then
8922
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8923
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
9892
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
9893
$as_echo "$MAGIC_CMD" >&6; }
8924
9894
else
8925
 
  echo "$as_me:$LINENO: result: no" >&5
8926
 
echo "${ECHO_T}no" >&6
 
9895
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9896
$as_echo "no" >&6; }
8927
9897
fi
8928
9898
 
8929
9899
  else
8935
9905
  ;;
8936
9906
esac
8937
9907
 
 
9908
 
 
9909
  case $host_os in
 
9910
    rhapsody* | darwin*)
 
9911
    if test -n "$ac_tool_prefix"; then
 
9912
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
9913
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
9914
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9915
$as_echo_n "checking for $ac_word... " >&6; }
 
9916
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
9917
  $as_echo_n "(cached) " >&6
 
9918
else
 
9919
  if test -n "$DSYMUTIL"; then
 
9920
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
9921
else
 
9922
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9923
for as_dir in $PATH
 
9924
do
 
9925
  IFS=$as_save_IFS
 
9926
  test -z "$as_dir" && as_dir=.
 
9927
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9928
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9929
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
9930
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9931
    break 2
 
9932
  fi
 
9933
done
 
9934
done
 
9935
IFS=$as_save_IFS
 
9936
 
 
9937
fi
 
9938
fi
 
9939
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
9940
if test -n "$DSYMUTIL"; then
 
9941
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
9942
$as_echo "$DSYMUTIL" >&6; }
 
9943
else
 
9944
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9945
$as_echo "no" >&6; }
 
9946
fi
 
9947
 
 
9948
 
 
9949
fi
 
9950
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
9951
  ac_ct_DSYMUTIL=$DSYMUTIL
 
9952
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
9953
set dummy dsymutil; ac_word=$2
 
9954
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9955
$as_echo_n "checking for $ac_word... " >&6; }
 
9956
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
9957
  $as_echo_n "(cached) " >&6
 
9958
else
 
9959
  if test -n "$ac_ct_DSYMUTIL"; then
 
9960
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
9961
else
 
9962
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9963
for as_dir in $PATH
 
9964
do
 
9965
  IFS=$as_save_IFS
 
9966
  test -z "$as_dir" && as_dir=.
 
9967
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9968
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9969
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
9970
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9971
    break 2
 
9972
  fi
 
9973
done
 
9974
done
 
9975
IFS=$as_save_IFS
 
9976
 
 
9977
fi
 
9978
fi
 
9979
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
9980
if test -n "$ac_ct_DSYMUTIL"; then
 
9981
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
9982
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
9983
else
 
9984
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9985
$as_echo "no" >&6; }
 
9986
fi
 
9987
 
 
9988
  if test "x$ac_ct_DSYMUTIL" = x; then
 
9989
    DSYMUTIL=":"
 
9990
  else
 
9991
    case $cross_compiling:$ac_tool_warned in
 
9992
yes:)
 
9993
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
9994
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9995
ac_tool_warned=yes ;;
 
9996
esac
 
9997
    DSYMUTIL=$ac_ct_DSYMUTIL
 
9998
  fi
 
9999
else
 
10000
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
10001
fi
 
10002
 
 
10003
    if test -n "$ac_tool_prefix"; then
 
10004
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
10005
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
10006
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10007
$as_echo_n "checking for $ac_word... " >&6; }
 
10008
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
10009
  $as_echo_n "(cached) " >&6
 
10010
else
 
10011
  if test -n "$NMEDIT"; then
 
10012
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
10013
else
 
10014
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10015
for as_dir in $PATH
 
10016
do
 
10017
  IFS=$as_save_IFS
 
10018
  test -z "$as_dir" && as_dir=.
 
10019
  for ac_exec_ext in '' $ac_executable_extensions; do
 
10020
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10021
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
10022
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10023
    break 2
 
10024
  fi
 
10025
done
 
10026
done
 
10027
IFS=$as_save_IFS
 
10028
 
 
10029
fi
 
10030
fi
 
10031
NMEDIT=$ac_cv_prog_NMEDIT
 
10032
if test -n "$NMEDIT"; then
 
10033
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
10034
$as_echo "$NMEDIT" >&6; }
 
10035
else
 
10036
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10037
$as_echo "no" >&6; }
 
10038
fi
 
10039
 
 
10040
 
 
10041
fi
 
10042
if test -z "$ac_cv_prog_NMEDIT"; then
 
10043
  ac_ct_NMEDIT=$NMEDIT
 
10044
  # Extract the first word of "nmedit", so it can be a program name with args.
 
10045
set dummy nmedit; ac_word=$2
 
10046
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10047
$as_echo_n "checking for $ac_word... " >&6; }
 
10048
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
10049
  $as_echo_n "(cached) " >&6
 
10050
else
 
10051
  if test -n "$ac_ct_NMEDIT"; then
 
10052
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
10053
else
 
10054
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10055
for as_dir in $PATH
 
10056
do
 
10057
  IFS=$as_save_IFS
 
10058
  test -z "$as_dir" && as_dir=.
 
10059
  for ac_exec_ext in '' $ac_executable_extensions; do
 
10060
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10061
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
10062
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10063
    break 2
 
10064
  fi
 
10065
done
 
10066
done
 
10067
IFS=$as_save_IFS
 
10068
 
 
10069
fi
 
10070
fi
 
10071
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
10072
if test -n "$ac_ct_NMEDIT"; then
 
10073
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
10074
$as_echo "$ac_ct_NMEDIT" >&6; }
 
10075
else
 
10076
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10077
$as_echo "no" >&6; }
 
10078
fi
 
10079
 
 
10080
  if test "x$ac_ct_NMEDIT" = x; then
 
10081
    NMEDIT=":"
 
10082
  else
 
10083
    case $cross_compiling:$ac_tool_warned in
 
10084
yes:)
 
10085
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
10086
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
10087
ac_tool_warned=yes ;;
 
10088
esac
 
10089
    NMEDIT=$ac_ct_NMEDIT
 
10090
  fi
 
10091
else
 
10092
  NMEDIT="$ac_cv_prog_NMEDIT"
 
10093
fi
 
10094
 
 
10095
 
 
10096
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
10097
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
10098
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
10099
  $as_echo_n "(cached) " >&6
 
10100
else
 
10101
  lt_cv_apple_cc_single_mod=no
 
10102
      if test -z "${LT_MULTI_MODULE}"; then
 
10103
   # By default we will add the -single_module flag. You can override
 
10104
   # by either setting the environment variable LT_MULTI_MODULE
 
10105
   # non-empty at configure time, or by adding -multi_module to the
 
10106
   # link flags.
 
10107
   echo "int foo(void){return 1;}" > conftest.c
 
10108
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
10109
     -dynamiclib ${wl}-single_module conftest.c
 
10110
   if test -f libconftest.dylib; then
 
10111
     lt_cv_apple_cc_single_mod=yes
 
10112
     rm -rf libconftest.dylib*
 
10113
   fi
 
10114
   rm conftest.c
 
10115
      fi
 
10116
fi
 
10117
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
10118
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
10119
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
10120
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
10121
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
10122
  $as_echo_n "(cached) " >&6
 
10123
else
 
10124
  lt_cv_ld_exported_symbols_list=no
 
10125
      save_LDFLAGS=$LDFLAGS
 
10126
      echo "_main" > conftest.sym
 
10127
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
10128
      cat >conftest.$ac_ext <<_ACEOF
 
10129
/* confdefs.h.  */
 
10130
_ACEOF
 
10131
cat confdefs.h >>conftest.$ac_ext
 
10132
cat >>conftest.$ac_ext <<_ACEOF
 
10133
/* end confdefs.h.  */
 
10134
 
 
10135
int
 
10136
main ()
 
10137
{
 
10138
 
 
10139
  ;
 
10140
  return 0;
 
10141
}
 
10142
_ACEOF
 
10143
rm -f conftest.$ac_objext conftest$ac_exeext
 
10144
if { (ac_try="$ac_link"
 
10145
case "(($ac_try" in
 
10146
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10147
  *) ac_try_echo=$ac_try;;
 
10148
esac
 
10149
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10150
$as_echo "$ac_try_echo") >&5
 
10151
  (eval "$ac_link") 2>conftest.er1
 
10152
  ac_status=$?
 
10153
  grep -v '^ *+' conftest.er1 >conftest.err
 
10154
  rm -f conftest.er1
 
10155
  cat conftest.err >&5
 
10156
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10157
  (exit $ac_status); } && {
 
10158
         test -z "$ac_c_werror_flag" ||
 
10159
         test ! -s conftest.err
 
10160
       } && test -s conftest$ac_exeext && {
 
10161
         test "$cross_compiling" = yes ||
 
10162
         $as_test_x conftest$ac_exeext
 
10163
       }; then
 
10164
  lt_cv_ld_exported_symbols_list=yes
 
10165
else
 
10166
  $as_echo "$as_me: failed program was:" >&5
 
10167
sed 's/^/| /' conftest.$ac_ext >&5
 
10168
 
 
10169
        lt_cv_ld_exported_symbols_list=no
 
10170
fi
 
10171
 
 
10172
rm -rf conftest.dSYM
 
10173
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10174
      conftest$ac_exeext conftest.$ac_ext
 
10175
   LDFLAGS="$save_LDFLAGS"
 
10176
 
 
10177
fi
 
10178
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
10179
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
10180
    case $host_os in
 
10181
    rhapsody* | darwin1.[0123])
 
10182
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
10183
    darwin1.*)
 
10184
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
10185
    darwin*)
 
10186
      # if running on 10.5 or later, the deployment target defaults
 
10187
      # to the OS version, if on x86, and 10.4, the deployment
 
10188
      # target defaults to 10.4. Don't you love it?
 
10189
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
10190
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
10191
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
10192
   10.[012]*)
 
10193
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
10194
   10.*)
 
10195
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
10196
      esac
 
10197
    ;;
 
10198
  esac
 
10199
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
10200
      _lt_dar_single_mod='$single_module'
 
10201
    fi
 
10202
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
10203
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
10204
    else
 
10205
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
10206
    fi
 
10207
    if test "$DSYMUTIL" != ":"; then
 
10208
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
10209
    else
 
10210
      _lt_dsymutil=
 
10211
    fi
 
10212
    ;;
 
10213
  esac
 
10214
 
 
10215
 
8938
10216
enable_dlopen=no
8939
10217
enable_win32_dll=no
8940
10218
 
8941
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
10219
# Check whether --enable-libtool-lock was given.
8942
10220
if test "${enable_libtool_lock+set}" = set; then
8943
 
  enableval="$enable_libtool_lock"
 
10221
  enableval=$enable_libtool_lock;
 
10222
fi
8944
10223
 
8945
 
fi;
8946
10224
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8947
10225
 
8948
10226
 
8949
 
# Check whether --with-pic or --without-pic was given.
 
10227
# Check whether --with-pic was given.
8950
10228
if test "${with_pic+set}" = set; then
8951
 
  withval="$with_pic"
8952
 
  pic_mode="$withval"
 
10229
  withval=$with_pic; pic_mode="$withval"
8953
10230
else
8954
10231
  pic_mode=default
8955
 
fi;
 
10232
fi
 
10233
 
8956
10234
test -z "$pic_mode" && pic_mode=default
8957
10235
 
8958
10236
# Use C for the default configuration in the libtool script
8973
10251
objext=$objext
8974
10252
 
8975
10253
# Code to be used in simple compile tests
8976
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
10254
lt_simple_compile_test_code="int some_variable = 0;"
8977
10255
 
8978
10256
# Code to be used in simple link tests
8979
 
lt_simple_link_test_code='int main(){return(0);}\n'
 
10257
lt_simple_link_test_code='int main(){return(0);}'
8980
10258
 
8981
10259
 
8982
10260
# If no C compiler was specified, use CC.
8991
10269
 
8992
10270
# save warnings/boilerplate of simple test code
8993
10271
ac_outfile=conftest.$ac_objext
8994
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
10272
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8995
10273
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8996
10274
_lt_compiler_boilerplate=`cat conftest.err`
8997
10275
$rm conftest*
8998
10276
 
8999
10277
ac_outfile=conftest.$ac_objext
9000
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
10278
echo "$lt_simple_link_test_code" >conftest.$ac_ext
9001
10279
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9002
10280
_lt_linker_boilerplate=`cat conftest.err`
9003
 
$rm conftest*
 
10281
$rm -r conftest*
9004
10282
 
9005
10283
 
9006
10284
 
9010
10288
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9011
10289
 
9012
10290
 
9013
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9014
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
10291
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
10292
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9015
10293
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
9016
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10294
  $as_echo_n "(cached) " >&6
9017
10295
else
9018
10296
  lt_cv_prog_compiler_rtti_exceptions=no
9019
10297
  ac_outfile=conftest.$ac_objext
9020
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10298
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9021
10299
   lt_compiler_flag="-fno-rtti -fno-exceptions"
9022
10300
   # Insert the option either (1) after the last *FLAGS variable, or
9023
10301
   # (2) before a word containing "conftest.", or (3) at the end.
9028
10306
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9029
10307
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9030
10308
   -e 's:$: $lt_compiler_flag:'`
9031
 
   (eval echo "\"\$as_me:9031: $lt_compile\"" >&5)
 
10309
   (eval echo "\"\$as_me:10309: $lt_compile\"" >&5)
9032
10310
   (eval "$lt_compile" 2>conftest.err)
9033
10311
   ac_status=$?
9034
10312
   cat conftest.err >&5
9035
 
   echo "$as_me:9035: \$? = $ac_status" >&5
 
10313
   echo "$as_me:10313: \$? = $ac_status" >&5
9036
10314
   if (exit $ac_status) && test -s "$ac_outfile"; then
9037
10315
     # The compiler can only warn and ignore the option if not recognized
9038
10316
     # So say no if there are warnings other than the usual output.
9045
10323
   $rm conftest*
9046
10324
 
9047
10325
fi
9048
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9049
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
10326
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
10327
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9050
10328
 
9051
10329
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9052
10330
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9060
10338
lt_prog_compiler_pic=
9061
10339
lt_prog_compiler_static=
9062
10340
 
9063
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
9064
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
10341
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
10342
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9065
10343
 
9066
10344
  if test "$GCC" = yes; then
9067
10345
    lt_prog_compiler_wl='-Wl,'
9083
10361
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9084
10362
      ;;
9085
10363
 
9086
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
10364
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9087
10365
      # PIC is the default for these OSes.
9088
10366
      ;;
9089
10367
 
9090
 
    mingw* | pw32* | os2*)
 
10368
    mingw* | cygwin* | pw32* | os2*)
9091
10369
      # This hack is so that the source file can tell whether it is being
9092
10370
      # built for inclusion in a dll (and should export symbols for example).
 
10371
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
10372
      # (--disable-auto-import) libraries
9093
10373
      lt_prog_compiler_pic='-DDLL_EXPORT'
9094
10374
      ;;
9095
10375
 
9099
10379
      lt_prog_compiler_pic='-fno-common'
9100
10380
      ;;
9101
10381
 
9102
 
    interix3*)
 
10382
    interix[3-9]*)
9103
10383
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9104
10384
      # Instead, we relocate shared libraries at runtime.
9105
10385
      ;;
9157
10437
       esac
9158
10438
       ;;
9159
10439
 
9160
 
    mingw* | pw32* | os2*)
 
10440
    mingw* | cygwin* | pw32* | os2*)
9161
10441
      # This hack is so that the source file can tell whether it is being
9162
10442
      # built for inclusion in a dll (and should export symbols for example).
9163
10443
      lt_prog_compiler_pic='-DDLL_EXPORT'
9190
10470
      lt_prog_compiler_static='-Bstatic'
9191
10471
      ;;
9192
10472
 
9193
 
    linux*)
 
10473
    linux* | k*bsd*-gnu)
9194
10474
      case $cc_basename in
9195
10475
      icc* | ecc*)
9196
10476
        lt_prog_compiler_wl='-Wl,'
9209
10489
        # All Alpha code is PIC.
9210
10490
        lt_prog_compiler_static='-non_shared'
9211
10491
        ;;
 
10492
      *)
 
10493
        case `$CC -V 2>&1 | sed 5q` in
 
10494
        *Sun\ C*)
 
10495
          # Sun C 5.9
 
10496
          lt_prog_compiler_pic='-KPIC'
 
10497
          lt_prog_compiler_static='-Bstatic'
 
10498
          lt_prog_compiler_wl='-Wl,'
 
10499
          ;;
 
10500
        *Sun\ F*)
 
10501
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
10502
          lt_prog_compiler_pic='-KPIC'
 
10503
          lt_prog_compiler_static='-Bstatic'
 
10504
          lt_prog_compiler_wl=''
 
10505
          ;;
 
10506
        esac
 
10507
        ;;
9212
10508
      esac
9213
10509
      ;;
9214
10510
 
9218
10514
      lt_prog_compiler_static='-non_shared'
9219
10515
      ;;
9220
10516
 
 
10517
    rdos*)
 
10518
      lt_prog_compiler_static='-non_shared'
 
10519
      ;;
 
10520
 
9221
10521
    solaris*)
9222
10522
      lt_prog_compiler_pic='-KPIC'
9223
10523
      lt_prog_compiler_static='-Bstatic'
9270
10570
    esac
9271
10571
  fi
9272
10572
 
9273
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9274
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
 
10573
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
10574
$as_echo "$lt_prog_compiler_pic" >&6; }
9275
10575
 
9276
10576
#
9277
10577
# Check to make sure the PIC flag actually works.
9278
10578
#
9279
10579
if test -n "$lt_prog_compiler_pic"; then
9280
10580
 
9281
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9282
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
9283
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
9284
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10581
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
10582
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
10583
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 
10584
  $as_echo_n "(cached) " >&6
9285
10585
else
9286
 
  lt_prog_compiler_pic_works=no
 
10586
  lt_cv_prog_compiler_pic_works=no
9287
10587
  ac_outfile=conftest.$ac_objext
9288
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10588
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9289
10589
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9290
10590
   # Insert the option either (1) after the last *FLAGS variable, or
9291
10591
   # (2) before a word containing "conftest.", or (3) at the end.
9296
10596
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9297
10597
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9298
10598
   -e 's:$: $lt_compiler_flag:'`
9299
 
   (eval echo "\"\$as_me:9299: $lt_compile\"" >&5)
 
10599
   (eval echo "\"\$as_me:10599: $lt_compile\"" >&5)
9300
10600
   (eval "$lt_compile" 2>conftest.err)
9301
10601
   ac_status=$?
9302
10602
   cat conftest.err >&5
9303
 
   echo "$as_me:9303: \$? = $ac_status" >&5
 
10603
   echo "$as_me:10603: \$? = $ac_status" >&5
9304
10604
   if (exit $ac_status) && test -s "$ac_outfile"; then
9305
10605
     # The compiler can only warn and ignore the option if not recognized
9306
10606
     # So say no if there are warnings other than the usual output.
9307
10607
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9308
10608
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9309
10609
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9310
 
       lt_prog_compiler_pic_works=yes
 
10610
       lt_cv_prog_compiler_pic_works=yes
9311
10611
     fi
9312
10612
   fi
9313
10613
   $rm conftest*
9314
10614
 
9315
10615
fi
9316
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
9317
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
 
10616
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
10617
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9318
10618
 
9319
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
 
10619
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9320
10620
    case $lt_prog_compiler_pic in
9321
10621
     "" | " "*) ;;
9322
10622
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9341
10641
# Check to make sure the static flag actually works.
9342
10642
#
9343
10643
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9344
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9345
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
9346
 
if test "${lt_prog_compiler_static_works+set}" = set; then
9347
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10644
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
10645
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
10646
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
10647
  $as_echo_n "(cached) " >&6
9348
10648
else
9349
 
  lt_prog_compiler_static_works=no
 
10649
  lt_cv_prog_compiler_static_works=no
9350
10650
   save_LDFLAGS="$LDFLAGS"
9351
10651
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9352
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
10652
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9353
10653
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9354
10654
     # The linker can only warn and ignore the option if not recognized
9355
10655
     # So say no if there are warnings
9359
10659
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9360
10660
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9361
10661
       if diff conftest.exp conftest.er2 >/dev/null; then
9362
 
         lt_prog_compiler_static_works=yes
 
10662
         lt_cv_prog_compiler_static_works=yes
9363
10663
       fi
9364
10664
     else
9365
 
       lt_prog_compiler_static_works=yes
 
10665
       lt_cv_prog_compiler_static_works=yes
9366
10666
     fi
9367
10667
   fi
9368
 
   $rm conftest*
 
10668
   $rm -r conftest*
9369
10669
   LDFLAGS="$save_LDFLAGS"
9370
10670
 
9371
10671
fi
9372
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
9373
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
 
10672
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
10673
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9374
10674
 
9375
 
if test x"$lt_prog_compiler_static_works" = xyes; then
 
10675
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9376
10676
    :
9377
10677
else
9378
10678
    lt_prog_compiler_static=
9379
10679
fi
9380
10680
 
9381
10681
 
9382
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9383
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
10682
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
10683
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9384
10684
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9385
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10685
  $as_echo_n "(cached) " >&6
9386
10686
else
9387
10687
  lt_cv_prog_compiler_c_o=no
9388
10688
   $rm -r conftest 2>/dev/null
9389
10689
   mkdir conftest
9390
10690
   cd conftest
9391
10691
   mkdir out
9392
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10692
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9393
10693
 
9394
10694
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9395
10695
   # Insert the option either (1) after the last *FLAGS variable, or
9400
10700
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9401
10701
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9402
10702
   -e 's:$: $lt_compiler_flag:'`
9403
 
   (eval echo "\"\$as_me:9403: $lt_compile\"" >&5)
 
10703
   (eval echo "\"\$as_me:10703: $lt_compile\"" >&5)
9404
10704
   (eval "$lt_compile" 2>out/conftest.err)
9405
10705
   ac_status=$?
9406
10706
   cat out/conftest.err >&5
9407
 
   echo "$as_me:9407: \$? = $ac_status" >&5
 
10707
   echo "$as_me:10707: \$? = $ac_status" >&5
9408
10708
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9409
10709
   then
9410
10710
     # The compiler can only warn and ignore the option if not recognized
9426
10726
   $rm conftest*
9427
10727
 
9428
10728
fi
9429
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9430
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 
10729
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
10730
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9431
10731
 
9432
10732
 
9433
10733
hard_links="nottested"
9434
10734
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9435
10735
  # do not overwrite the value of need_locks provided by the user
9436
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9437
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
10736
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
10737
$as_echo_n "checking if we can lock with hard links... " >&6; }
9438
10738
  hard_links=yes
9439
10739
  $rm conftest*
9440
10740
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9441
10741
  touch conftest.a
9442
10742
  ln conftest.a conftest.b 2>&5 || hard_links=no
9443
10743
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9444
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
9445
 
echo "${ECHO_T}$hard_links" >&6
 
10744
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
10745
$as_echo "$hard_links" >&6; }
9446
10746
  if test "$hard_links" = no; then
9447
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9448
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
10747
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
10748
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9449
10749
    need_locks=warn
9450
10750
  fi
9451
10751
else
9452
10752
  need_locks=no
9453
10753
fi
9454
10754
 
9455
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9456
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
10755
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
10756
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9457
10757
 
9458
10758
  runpath_var=
9459
10759
  allow_undefined_flag=
9484
10784
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9485
10785
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9486
10786
  # as well as any symbol that contains `d'.
9487
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
 
10787
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9488
10788
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9489
10789
  # platforms (ab)use it in PIC code, but their linkers get confused if
9490
10790
  # the symbol is explicitly referenced.  Since portable code cannot
9491
10791
  # rely on this symbol name, it's probably fine to never include it in
9492
10792
  # preloaded symbol tables.
 
10793
  # Exclude shared library initialization/finalization symbols.
9493
10794
  extract_expsyms_cmds=
9494
10795
  # Just being paranoid about ensuring that cc_basename is set.
9495
10796
  for cc_temp in $compiler""; do
9548
10849
 
9549
10850
    # See if GNU ld supports shared libraries.
9550
10851
    case $host_os in
9551
 
    aix3* | aix4* | aix5*)
 
10852
    aix[3-9]*)
9552
10853
      # On AIX/PPC, the GNU linker is very broken
9553
10854
      if test "$host_cpu" != ia64; then
9554
10855
        ld_shlibs=no
9596
10897
      allow_undefined_flag=unsupported
9597
10898
      always_export_symbols=no
9598
10899
      enable_shared_with_static_runtimes=yes
9599
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
10900
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9600
10901
 
9601
10902
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9602
10903
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9614
10915
      fi
9615
10916
      ;;
9616
10917
 
9617
 
    interix3*)
 
10918
    interix[3-9]*)
9618
10919
      hardcode_direct=no
9619
10920
      hardcode_shlibpath_var=no
9620
10921
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9629
10930
      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'
9630
10931
      ;;
9631
10932
 
9632
 
    linux*)
 
10933
    gnu* | linux* | k*bsd*-gnu)
9633
10934
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9634
10935
        tmp_addflag=
9635
10936
        case $cc_basename,$host_cpu in
9647
10948
        ifc* | ifort*)                  # Intel Fortran compiler
9648
10949
          tmp_addflag=' -nofor_main' ;;
9649
10950
        esac
9650
 
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10951
        case `$CC -V 2>&1 | sed 5q` in
 
10952
        *Sun\ C*)                       # Sun C 5.9
 
10953
          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'
 
10954
          tmp_sharedflag='-G' ;;
 
10955
        *Sun\ F*)                       # Sun Fortran 8.3
 
10956
          tmp_sharedflag='-G' ;;
 
10957
        *)
 
10958
          tmp_sharedflag='-shared' ;;
 
10959
        esac
 
10960
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9651
10961
 
9652
10962
        if test $supports_anon_versioning = yes; then
9653
10963
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
9654
10964
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9655
10965
  $echo "local: *; };" >> $output_objdir/$libname.ver~
9656
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
10966
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9657
10967
        fi
9658
10968
      else
9659
10969
        ld_shlibs=no
9758
11068
      fi
9759
11069
      ;;
9760
11070
 
9761
 
    aix4* | aix5*)
 
11071
    aix[4-9]*)
9762
11072
      if test "$host_cpu" = ia64; then
9763
11073
        # On IA64, the linker does run time linking by default, so we don't
9764
11074
        # have to do anything special.
9778
11088
        # Test if we are trying to use run time linking or normal
9779
11089
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9780
11090
        # need to do runtime linking.
9781
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
11091
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9782
11092
          for ld_flag in $LDFLAGS; do
9783
11093
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9784
11094
            aix_use_runtimelinking=yes
9812
11122
           strings "$collect2name" | grep resolve_lib_name >/dev/null
9813
11123
          then
9814
11124
          # We have reworked collect2
9815
 
          hardcode_direct=yes
 
11125
          :
9816
11126
          else
9817
11127
          # We have old collect2
9818
11128
          hardcode_direct=unsupported
9868
11178
}
9869
11179
_ACEOF
9870
11180
rm -f conftest.$ac_objext conftest$ac_exeext
9871
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9872
 
  (eval $ac_link) 2>conftest.er1
 
11181
if { (ac_try="$ac_link"
 
11182
case "(($ac_try" in
 
11183
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11184
  *) ac_try_echo=$ac_try;;
 
11185
esac
 
11186
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11187
$as_echo "$ac_try_echo") >&5
 
11188
  (eval "$ac_link") 2>conftest.er1
9873
11189
  ac_status=$?
9874
11190
  grep -v '^ *+' conftest.er1 >conftest.err
9875
11191
  rm -f conftest.er1
9876
11192
  cat conftest.err >&5
9877
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9878
 
  (exit $ac_status); } &&
9879
 
         { ac_try='test -z "$ac_c_werror_flag"
9880
 
                         || test ! -s conftest.err'
9881
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9882
 
  (eval $ac_try) 2>&5
9883
 
  ac_status=$?
9884
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9885
 
  (exit $ac_status); }; } &&
9886
 
         { ac_try='test -s conftest$ac_exeext'
9887
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9888
 
  (eval $ac_try) 2>&5
9889
 
  ac_status=$?
9890
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9891
 
  (exit $ac_status); }; }; then
 
11193
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11194
  (exit $ac_status); } && {
 
11195
         test -z "$ac_c_werror_flag" ||
 
11196
         test ! -s conftest.err
 
11197
       } && test -s conftest$ac_exeext && {
 
11198
         test "$cross_compiling" = yes ||
 
11199
         $as_test_x conftest$ac_exeext
 
11200
       }; then
9892
11201
 
9893
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
9894
 
}'`
 
11202
lt_aix_libpath_sed='
 
11203
    /Import File Strings/,/^$/ {
 
11204
        /^0/ {
 
11205
            s/^0  *\(.*\)$/\1/
 
11206
            p
 
11207
        }
 
11208
    }'
 
11209
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9895
11210
# Check for a 64-bit object if we didn't find anything.
9896
 
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; }
9897
 
}'`; fi
 
11211
if test -z "$aix_libpath"; then
 
11212
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11213
fi
9898
11214
else
9899
 
  echo "$as_me: failed program was:" >&5
 
11215
  $as_echo "$as_me: failed program was:" >&5
9900
11216
sed 's/^/| /' conftest.$ac_ext >&5
9901
11217
 
 
11218
 
9902
11219
fi
9903
 
rm -f conftest.err conftest.$ac_objext \
 
11220
 
 
11221
rm -rf conftest.dSYM
 
11222
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9904
11223
      conftest$ac_exeext conftest.$ac_ext
9905
11224
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9906
11225
 
9929
11248
}
9930
11249
_ACEOF
9931
11250
rm -f conftest.$ac_objext conftest$ac_exeext
9932
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9933
 
  (eval $ac_link) 2>conftest.er1
 
11251
if { (ac_try="$ac_link"
 
11252
case "(($ac_try" in
 
11253
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11254
  *) ac_try_echo=$ac_try;;
 
11255
esac
 
11256
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11257
$as_echo "$ac_try_echo") >&5
 
11258
  (eval "$ac_link") 2>conftest.er1
9934
11259
  ac_status=$?
9935
11260
  grep -v '^ *+' conftest.er1 >conftest.err
9936
11261
  rm -f conftest.er1
9937
11262
  cat conftest.err >&5
9938
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9939
 
  (exit $ac_status); } &&
9940
 
         { ac_try='test -z "$ac_c_werror_flag"
9941
 
                         || test ! -s conftest.err'
9942
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9943
 
  (eval $ac_try) 2>&5
9944
 
  ac_status=$?
9945
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9946
 
  (exit $ac_status); }; } &&
9947
 
         { ac_try='test -s conftest$ac_exeext'
9948
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9949
 
  (eval $ac_try) 2>&5
9950
 
  ac_status=$?
9951
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9952
 
  (exit $ac_status); }; }; then
 
11263
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11264
  (exit $ac_status); } && {
 
11265
         test -z "$ac_c_werror_flag" ||
 
11266
         test ! -s conftest.err
 
11267
       } && test -s conftest$ac_exeext && {
 
11268
         test "$cross_compiling" = yes ||
 
11269
         $as_test_x conftest$ac_exeext
 
11270
       }; then
9953
11271
 
9954
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
9955
 
}'`
 
11272
lt_aix_libpath_sed='
 
11273
    /Import File Strings/,/^$/ {
 
11274
        /^0/ {
 
11275
            s/^0  *\(.*\)$/\1/
 
11276
            p
 
11277
        }
 
11278
    }'
 
11279
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9956
11280
# Check for a 64-bit object if we didn't find anything.
9957
 
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; }
9958
 
}'`; fi
 
11281
if test -z "$aix_libpath"; then
 
11282
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11283
fi
9959
11284
else
9960
 
  echo "$as_me: failed program was:" >&5
 
11285
  $as_echo "$as_me: failed program was:" >&5
9961
11286
sed 's/^/| /' conftest.$ac_ext >&5
9962
11287
 
 
11288
 
9963
11289
fi
9964
 
rm -f conftest.err conftest.$ac_objext \
 
11290
 
 
11291
rm -rf conftest.dSYM
 
11292
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9965
11293
      conftest$ac_exeext conftest.$ac_ext
9966
11294
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9967
11295
 
10007
11335
      # The linker will automatically build a .lib file if we build a DLL.
10008
11336
      old_archive_From_new_cmds='true'
10009
11337
      # FIXME: Should let the user specify the lib program.
10010
 
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
11338
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10011
11339
      fix_srcfile_path='`cygpath -w "$srcfile"`'
10012
11340
      enable_shared_with_static_runtimes=yes
10013
11341
      ;;
10040
11368
      link_all_deplibs=yes
10041
11369
    if test "$GCC" = yes ; then
10042
11370
        output_verbose_link_cmd='echo'
10043
 
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10044
 
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10045
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10046
 
      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}'
10047
 
      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}'
 
11371
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
11372
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
11373
        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}"
 
11374
        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}"
10048
11375
    else
10049
11376
      case $cc_basename in
10050
11377
        xlc*)
10051
11378
         output_verbose_link_cmd='echo'
10052
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
11379
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
10053
11380
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10054
11381
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10055
 
         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}'
 
11382
         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}'
10056
11383
          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}'
10057
11384
          ;;
10058
11385
       *)
10092
11419
      ;;
10093
11420
 
10094
11421
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10095
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
11422
    freebsd* | dragonfly*)
10096
11423
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10097
11424
      hardcode_libdir_flag_spec='-R$libdir'
10098
11425
      hardcode_direct=yes
10214
11541
      ;;
10215
11542
 
10216
11543
    openbsd*)
10217
 
      hardcode_direct=yes
10218
 
      hardcode_shlibpath_var=no
10219
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10220
 
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10221
 
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10222
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10223
 
        export_dynamic_flag_spec='${wl}-E'
 
11544
      if test -f /usr/libexec/ld.so; then
 
11545
        hardcode_direct=yes
 
11546
        hardcode_shlibpath_var=no
 
11547
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
11548
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
11549
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
11550
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
11551
          export_dynamic_flag_spec='${wl}-E'
 
11552
        else
 
11553
          case $host_os in
 
11554
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
11555
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
11556
             hardcode_libdir_flag_spec='-R$libdir'
 
11557
             ;;
 
11558
           *)
 
11559
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
11560
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
11561
             ;;
 
11562
          esac
 
11563
        fi
10224
11564
      else
10225
 
       case $host_os in
10226
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10227
 
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10228
 
           hardcode_libdir_flag_spec='-R$libdir'
10229
 
           ;;
10230
 
         *)
10231
 
           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10232
 
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10233
 
           ;;
10234
 
       esac
 
11565
        ld_shlibs=no
10235
11566
      fi
10236
11567
      ;;
10237
11568
 
10290
11621
      case $host_os in
10291
11622
      solaris2.[0-5] | solaris2.[0-5].*) ;;
10292
11623
      *)
10293
 
        # The compiler driver will combine linker options so we
10294
 
        # cannot just pass the convience library names through
10295
 
        # without $wl, iff we do not link with $LD.
10296
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
11624
        # The compiler driver will combine and reorder linker options,
 
11625
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
11626
        # but is careful enough not to reorder.
10297
11627
        # Supported since Solaris 2.6 (maybe 2.5.1?)
10298
 
        case $wlarc in
10299
 
        '')
10300
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
10301
 
        *)
10302
 
          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' ;;
10303
 
        esac ;;
 
11628
        if test "$GCC" = yes; then
 
11629
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
11630
        else
 
11631
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
11632
        fi
 
11633
        ;;
10304
11634
      esac
10305
11635
      link_all_deplibs=yes
10306
11636
      ;;
10357
11687
      fi
10358
11688
      ;;
10359
11689
 
10360
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
11690
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10361
11691
      no_undefined_flag='${wl}-z,text'
10362
11692
      archive_cmds_need_lc=no
10363
11693
      hardcode_shlibpath_var=no
10410
11740
    esac
10411
11741
  fi
10412
11742
 
10413
 
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10414
 
echo "${ECHO_T}$ld_shlibs" >&6
 
11743
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
11744
$as_echo "$ld_shlibs" >&6; }
10415
11745
test "$ld_shlibs" = no && can_build_shared=no
10416
11746
 
10417
11747
#
10431
11761
      # Test whether the compiler implicitly links with -lc since on some
10432
11762
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10433
11763
      # to ld, don't add -lc before -lgcc.
10434
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10435
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
11764
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
11765
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10436
11766
      $rm conftest*
10437
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
11767
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10438
11768
 
10439
11769
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10440
11770
  (eval $ac_compile) 2>&5
10441
11771
  ac_status=$?
10442
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11772
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10443
11773
  (exit $ac_status); } 2>conftest.err; then
10444
11774
        soname=conftest
10445
11775
        lib=conftest
10457
11787
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10458
11788
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
10459
11789
  ac_status=$?
10460
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11790
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10461
11791
  (exit $ac_status); }
10462
11792
        then
10463
11793
          archive_cmds_need_lc=no
10469
11799
        cat conftest.err 1>&5
10470
11800
      fi
10471
11801
      $rm conftest*
10472
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10473
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6
 
11802
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
11803
$as_echo "$archive_cmds_need_lc" >&6; }
10474
11804
      ;;
10475
11805
    esac
10476
11806
  fi
10477
11807
  ;;
10478
11808
esac
10479
11809
 
10480
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10481
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
11810
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
11811
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10482
11812
library_names_spec=
10483
11813
libname_spec='lib$name'
10484
11814
soname_spec=
10492
11822
version_type=none
10493
11823
dynamic_linker="$host_os ld.so"
10494
11824
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
11825
 
10495
11826
if test "$GCC" = yes; then
10496
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10497
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 
11827
  case $host_os in
 
11828
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
11829
    *) lt_awk_arg="/^libraries:/" ;;
 
11830
  esac
 
11831
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
11832
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
10498
11833
    # if the path contains ";" then we assume it to be the separator
10499
11834
    # otherwise default to the standard path separator (i.e. ":") - it is
10500
11835
    # assumed that no part of a normal pathname contains ";" but that should
10501
11836
    # okay in the real world where ";" in dirpaths is itself problematic.
10502
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
11837
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10503
11838
  else
10504
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
11839
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10505
11840
  fi
 
11841
  # Ok, now we have the path, separated by spaces, we can step through it
 
11842
  # and add multilib dir if necessary.
 
11843
  lt_tmp_lt_search_path_spec=
 
11844
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
11845
  for lt_sys_path in $lt_search_path_spec; do
 
11846
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
11847
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
11848
    else
 
11849
      test -d "$lt_sys_path" && \
 
11850
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
11851
    fi
 
11852
  done
 
11853
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
11854
BEGIN {RS=" "; FS="/|\n";} {
 
11855
  lt_foo="";
 
11856
  lt_count=0;
 
11857
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
11858
    if ($lt_i != "" && $lt_i != ".") {
 
11859
      if ($lt_i == "..") {
 
11860
        lt_count++;
 
11861
      } else {
 
11862
        if (lt_count == 0) {
 
11863
          lt_foo="/" $lt_i lt_foo;
 
11864
        } else {
 
11865
          lt_count--;
 
11866
        }
 
11867
      }
 
11868
    }
 
11869
  }
 
11870
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
11871
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
11872
}'`
 
11873
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
10506
11874
else
10507
11875
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10508
11876
fi
10523
11891
  soname_spec='${libname}${release}${shared_ext}$major'
10524
11892
  ;;
10525
11893
 
10526
 
aix4* | aix5*)
 
11894
aix[4-9]*)
10527
11895
  version_type=linux
10528
11896
  need_lib_prefix=no
10529
11897
  need_version=no
10662
12030
  shlibpath_overrides_runpath=yes
10663
12031
  shlibpath_var=DYLD_LIBRARY_PATH
10664
12032
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10665
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
10666
 
  if test "$GCC" = yes; then
10667
 
    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"`
10668
 
  else
10669
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
10670
 
  fi
 
12033
 
 
12034
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10671
12035
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10672
12036
  ;;
10673
12037
 
10684
12048
  dynamic_linker=no
10685
12049
  ;;
10686
12050
 
10687
 
kfreebsd*-gnu)
10688
 
  version_type=linux
10689
 
  need_lib_prefix=no
10690
 
  need_version=no
10691
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10692
 
  soname_spec='${libname}${release}${shared_ext}$major'
10693
 
  shlibpath_var=LD_LIBRARY_PATH
10694
 
  shlibpath_overrides_runpath=no
10695
 
  hardcode_into_libs=yes
10696
 
  dynamic_linker='GNU ld.so'
10697
 
  ;;
10698
 
 
10699
12051
freebsd* | dragonfly*)
10700
12052
  # DragonFly does not have aout.  When/if they implement a new
10701
12053
  # versioning mechanism, adjust this.
10733
12085
    shlibpath_overrides_runpath=no
10734
12086
    hardcode_into_libs=yes
10735
12087
    ;;
10736
 
  freebsd*) # from 4.6 on
 
12088
  *) # from 4.6 on, and DragonFly
10737
12089
    shlibpath_overrides_runpath=yes
10738
12090
    hardcode_into_libs=yes
10739
12091
    ;;
10796
12148
  postinstall_cmds='chmod 555 $lib'
10797
12149
  ;;
10798
12150
 
10799
 
interix3*)
 
12151
interix[3-9]*)
10800
12152
  version_type=linux
10801
12153
  need_lib_prefix=no
10802
12154
  need_version=no
10851
12203
  ;;
10852
12204
 
10853
12205
# This must be Linux ELF.
10854
 
linux*)
 
12206
linux* | k*bsd*-gnu)
10855
12207
  version_type=linux
10856
12208
  need_lib_prefix=no
10857
12209
  need_version=no
10865
12217
  # before this can be enabled.
10866
12218
  hardcode_into_libs=yes
10867
12219
 
10868
 
  # find out which ABI we are using
10869
 
  libsuff=
10870
 
  case "$host_cpu" in
10871
 
  x86_64*|s390x*|powerpc64*)
10872
 
    echo '#line 10872 "configure"' > conftest.$ac_ext
10873
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10874
 
  (eval $ac_compile) 2>&5
10875
 
  ac_status=$?
10876
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10877
 
  (exit $ac_status); }; then
10878
 
      case `/usr/bin/file conftest.$ac_objext` in
10879
 
      *64-bit*)
10880
 
        libsuff=64
10881
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
10882
 
        ;;
10883
 
      esac
10884
 
    fi
10885
 
    rm -rf conftest*
10886
 
    ;;
10887
 
  esac
10888
 
 
10889
12220
  # Append ld.so.conf contents to the search path
10890
12221
  if test -f /etc/ld.so.conf; then
10891
 
    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' ' '`
10892
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
12222
    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' ' '`
 
12223
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10893
12224
  fi
10894
12225
 
10895
12226
  # We used to test for /lib/ld.so.1 and disable shared libraries on
10901
12232
  dynamic_linker='GNU/Linux ld.so'
10902
12233
  ;;
10903
12234
 
10904
 
knetbsd*-gnu)
10905
 
  version_type=linux
10906
 
  need_lib_prefix=no
10907
 
  need_version=no
10908
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10909
 
  soname_spec='${libname}${release}${shared_ext}$major'
10910
 
  shlibpath_var=LD_LIBRARY_PATH
10911
 
  shlibpath_overrides_runpath=no
10912
 
  hardcode_into_libs=yes
10913
 
  dynamic_linker='GNU ld.so'
10914
 
  ;;
10915
 
 
10916
12235
netbsd*)
10917
12236
  version_type=sunos
10918
12237
  need_lib_prefix=no
10994
12313
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10995
12314
  ;;
10996
12315
 
 
12316
rdos*)
 
12317
  dynamic_linker=no
 
12318
  ;;
 
12319
 
10997
12320
solaris*)
10998
12321
  version_type=linux
10999
12322
  need_lib_prefix=no
11086
12409
  dynamic_linker=no
11087
12410
  ;;
11088
12411
esac
11089
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11090
 
echo "${ECHO_T}$dynamic_linker" >&6
 
12412
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
12413
$as_echo "$dynamic_linker" >&6; }
11091
12414
test "$dynamic_linker" = no && can_build_shared=no
11092
12415
 
 
12416
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
12417
  $as_echo_n "(cached) " >&6
 
12418
else
 
12419
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
12420
fi
 
12421
 
 
12422
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
12423
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
12424
  $as_echo_n "(cached) " >&6
 
12425
else
 
12426
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
12427
fi
 
12428
 
 
12429
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
12430
 
11093
12431
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11094
12432
if test "$GCC" = yes; then
11095
12433
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11096
12434
fi
11097
12435
 
11098
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11099
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
12436
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
12437
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11100
12438
hardcode_action=
11101
12439
if test -n "$hardcode_libdir_flag_spec" || \
11102
12440
   test -n "$runpath_var" || \
11120
12458
  # directories.
11121
12459
  hardcode_action=unsupported
11122
12460
fi
11123
 
echo "$as_me:$LINENO: result: $hardcode_action" >&5
11124
 
echo "${ECHO_T}$hardcode_action" >&6
 
12461
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
12462
$as_echo "$hardcode_action" >&6; }
11125
12463
 
11126
12464
if test "$hardcode_action" = relink; then
11127
12465
  # Fast installation is not supported
11134
12472
 
11135
12473
striplib=
11136
12474
old_striplib=
11137
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11138
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
12475
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
12476
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11139
12477
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11140
12478
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11141
12479
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11142
 
  echo "$as_me:$LINENO: result: yes" >&5
11143
 
echo "${ECHO_T}yes" >&6
 
12480
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12481
$as_echo "yes" >&6; }
11144
12482
else
11145
12483
# FIXME - insert some real tests, host_os isn't really good enough
11146
12484
  case $host_os in
11147
12485
   darwin*)
11148
12486
       if test -n "$STRIP" ; then
11149
12487
         striplib="$STRIP -x"
11150
 
         echo "$as_me:$LINENO: result: yes" >&5
11151
 
echo "${ECHO_T}yes" >&6
 
12488
         old_striplib="$STRIP -S"
 
12489
         { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12490
$as_echo "yes" >&6; }
11152
12491
       else
11153
 
  echo "$as_me:$LINENO: result: no" >&5
11154
 
echo "${ECHO_T}no" >&6
 
12492
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12493
$as_echo "no" >&6; }
11155
12494
fi
11156
12495
       ;;
11157
12496
   *)
11158
 
  echo "$as_me:$LINENO: result: no" >&5
11159
 
echo "${ECHO_T}no" >&6
 
12497
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12498
$as_echo "no" >&6; }
11160
12499
    ;;
11161
12500
  esac
11162
12501
fi
11188
12527
 
11189
12528
  darwin*)
11190
12529
  # if libdl is installed we need to link against it
11191
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11192
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
12530
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
12531
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11193
12532
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11194
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12533
  $as_echo_n "(cached) " >&6
11195
12534
else
11196
12535
  ac_check_lib_save_LIBS=$LIBS
11197
12536
LIBS="-ldl  $LIBS"
11202
12541
cat >>conftest.$ac_ext <<_ACEOF
11203
12542
/* end confdefs.h.  */
11204
12543
 
11205
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12544
/* Override any GCC internal prototype to avoid an error.
 
12545
   Use char because int might match the return type of a GCC
 
12546
   builtin and then its argument prototype would still apply.  */
11206
12547
#ifdef __cplusplus
11207
12548
extern "C"
11208
12549
#endif
11209
 
/* We use char because int might match the return type of a gcc2
11210
 
   builtin and then its argument prototype would still apply.  */
11211
12550
char dlopen ();
11212
12551
int
11213
12552
main ()
11214
12553
{
11215
 
dlopen ();
 
12554
return dlopen ();
11216
12555
  ;
11217
12556
  return 0;
11218
12557
}
11219
12558
_ACEOF
11220
12559
rm -f conftest.$ac_objext conftest$ac_exeext
11221
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11222
 
  (eval $ac_link) 2>conftest.er1
 
12560
if { (ac_try="$ac_link"
 
12561
case "(($ac_try" in
 
12562
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12563
  *) ac_try_echo=$ac_try;;
 
12564
esac
 
12565
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12566
$as_echo "$ac_try_echo") >&5
 
12567
  (eval "$ac_link") 2>conftest.er1
11223
12568
  ac_status=$?
11224
12569
  grep -v '^ *+' conftest.er1 >conftest.err
11225
12570
  rm -f conftest.er1
11226
12571
  cat conftest.err >&5
11227
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11228
 
  (exit $ac_status); } &&
11229
 
         { ac_try='test -z "$ac_c_werror_flag"
11230
 
                         || test ! -s conftest.err'
11231
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11232
 
  (eval $ac_try) 2>&5
11233
 
  ac_status=$?
11234
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11235
 
  (exit $ac_status); }; } &&
11236
 
         { ac_try='test -s conftest$ac_exeext'
11237
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11238
 
  (eval $ac_try) 2>&5
11239
 
  ac_status=$?
11240
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11241
 
  (exit $ac_status); }; }; then
 
12572
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12573
  (exit $ac_status); } && {
 
12574
         test -z "$ac_c_werror_flag" ||
 
12575
         test ! -s conftest.err
 
12576
       } && test -s conftest$ac_exeext && {
 
12577
         test "$cross_compiling" = yes ||
 
12578
         $as_test_x conftest$ac_exeext
 
12579
       }; then
11242
12580
  ac_cv_lib_dl_dlopen=yes
11243
12581
else
11244
 
  echo "$as_me: failed program was:" >&5
 
12582
  $as_echo "$as_me: failed program was:" >&5
11245
12583
sed 's/^/| /' conftest.$ac_ext >&5
11246
12584
 
11247
 
ac_cv_lib_dl_dlopen=no
 
12585
        ac_cv_lib_dl_dlopen=no
11248
12586
fi
11249
 
rm -f conftest.err conftest.$ac_objext \
 
12587
 
 
12588
rm -rf conftest.dSYM
 
12589
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11250
12590
      conftest$ac_exeext conftest.$ac_ext
11251
12591
LIBS=$ac_check_lib_save_LIBS
11252
12592
fi
11253
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11254
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11255
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
12593
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
12594
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
12595
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11256
12596
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11257
12597
else
11258
12598
 
11265
12605
   ;;
11266
12606
 
11267
12607
  *)
11268
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
11269
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
12608
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
 
12609
$as_echo_n "checking for shl_load... " >&6; }
11270
12610
if test "${ac_cv_func_shl_load+set}" = set; then
11271
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12611
  $as_echo_n "(cached) " >&6
11272
12612
else
11273
12613
  cat >conftest.$ac_ext <<_ACEOF
11274
12614
/* confdefs.h.  */
11293
12633
 
11294
12634
#undef shl_load
11295
12635
 
11296
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12636
/* Override any GCC internal prototype to avoid an error.
 
12637
   Use char because int might match the return type of a GCC
 
12638
   builtin and then its argument prototype would still apply.  */
11297
12639
#ifdef __cplusplus
11298
12640
extern "C"
11299
 
{
11300
12641
#endif
11301
 
/* We use char because int might match the return type of a gcc2
11302
 
   builtin and then its argument prototype would still apply.  */
11303
12642
char shl_load ();
11304
12643
/* The GNU C library defines this for functions which it implements
11305
12644
    to always fail with ENOSYS.  Some functions are actually named
11306
12645
    something starting with __ and the normal name is an alias.  */
11307
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
12646
#if defined __stub_shl_load || defined __stub___shl_load
11308
12647
choke me
11309
 
#else
11310
 
char (*f) () = shl_load;
11311
 
#endif
11312
 
#ifdef __cplusplus
11313
 
}
11314
12648
#endif
11315
12649
 
11316
12650
int
11317
12651
main ()
11318
12652
{
11319
 
return f != shl_load;
 
12653
return shl_load ();
11320
12654
  ;
11321
12655
  return 0;
11322
12656
}
11323
12657
_ACEOF
11324
12658
rm -f conftest.$ac_objext conftest$ac_exeext
11325
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11326
 
  (eval $ac_link) 2>conftest.er1
 
12659
if { (ac_try="$ac_link"
 
12660
case "(($ac_try" in
 
12661
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12662
  *) ac_try_echo=$ac_try;;
 
12663
esac
 
12664
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12665
$as_echo "$ac_try_echo") >&5
 
12666
  (eval "$ac_link") 2>conftest.er1
11327
12667
  ac_status=$?
11328
12668
  grep -v '^ *+' conftest.er1 >conftest.err
11329
12669
  rm -f conftest.er1
11330
12670
  cat conftest.err >&5
11331
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11332
 
  (exit $ac_status); } &&
11333
 
         { ac_try='test -z "$ac_c_werror_flag"
11334
 
                         || test ! -s conftest.err'
11335
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11336
 
  (eval $ac_try) 2>&5
11337
 
  ac_status=$?
11338
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11339
 
  (exit $ac_status); }; } &&
11340
 
         { ac_try='test -s conftest$ac_exeext'
11341
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11342
 
  (eval $ac_try) 2>&5
11343
 
  ac_status=$?
11344
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11345
 
  (exit $ac_status); }; }; then
 
12671
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12672
  (exit $ac_status); } && {
 
12673
         test -z "$ac_c_werror_flag" ||
 
12674
         test ! -s conftest.err
 
12675
       } && test -s conftest$ac_exeext && {
 
12676
         test "$cross_compiling" = yes ||
 
12677
         $as_test_x conftest$ac_exeext
 
12678
       }; then
11346
12679
  ac_cv_func_shl_load=yes
11347
12680
else
11348
 
  echo "$as_me: failed program was:" >&5
 
12681
  $as_echo "$as_me: failed program was:" >&5
11349
12682
sed 's/^/| /' conftest.$ac_ext >&5
11350
12683
 
11351
 
ac_cv_func_shl_load=no
 
12684
        ac_cv_func_shl_load=no
11352
12685
fi
11353
 
rm -f conftest.err conftest.$ac_objext \
 
12686
 
 
12687
rm -rf conftest.dSYM
 
12688
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11354
12689
      conftest$ac_exeext conftest.$ac_ext
11355
12690
fi
11356
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11357
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11358
 
if test $ac_cv_func_shl_load = yes; then
 
12691
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
12692
$as_echo "$ac_cv_func_shl_load" >&6; }
 
12693
if test "x$ac_cv_func_shl_load" = x""yes; then
11359
12694
  lt_cv_dlopen="shl_load"
11360
12695
else
11361
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11362
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
12696
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
12697
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11363
12698
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11364
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12699
  $as_echo_n "(cached) " >&6
11365
12700
else
11366
12701
  ac_check_lib_save_LIBS=$LIBS
11367
12702
LIBS="-ldld  $LIBS"
11372
12707
cat >>conftest.$ac_ext <<_ACEOF
11373
12708
/* end confdefs.h.  */
11374
12709
 
11375
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12710
/* Override any GCC internal prototype to avoid an error.
 
12711
   Use char because int might match the return type of a GCC
 
12712
   builtin and then its argument prototype would still apply.  */
11376
12713
#ifdef __cplusplus
11377
12714
extern "C"
11378
12715
#endif
11379
 
/* We use char because int might match the return type of a gcc2
11380
 
   builtin and then its argument prototype would still apply.  */
11381
12716
char shl_load ();
11382
12717
int
11383
12718
main ()
11384
12719
{
11385
 
shl_load ();
 
12720
return shl_load ();
11386
12721
  ;
11387
12722
  return 0;
11388
12723
}
11389
12724
_ACEOF
11390
12725
rm -f conftest.$ac_objext conftest$ac_exeext
11391
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11392
 
  (eval $ac_link) 2>conftest.er1
 
12726
if { (ac_try="$ac_link"
 
12727
case "(($ac_try" in
 
12728
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12729
  *) ac_try_echo=$ac_try;;
 
12730
esac
 
12731
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12732
$as_echo "$ac_try_echo") >&5
 
12733
  (eval "$ac_link") 2>conftest.er1
11393
12734
  ac_status=$?
11394
12735
  grep -v '^ *+' conftest.er1 >conftest.err
11395
12736
  rm -f conftest.er1
11396
12737
  cat conftest.err >&5
11397
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11398
 
  (exit $ac_status); } &&
11399
 
         { ac_try='test -z "$ac_c_werror_flag"
11400
 
                         || test ! -s conftest.err'
11401
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11402
 
  (eval $ac_try) 2>&5
11403
 
  ac_status=$?
11404
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11405
 
  (exit $ac_status); }; } &&
11406
 
         { ac_try='test -s conftest$ac_exeext'
11407
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11408
 
  (eval $ac_try) 2>&5
11409
 
  ac_status=$?
11410
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11411
 
  (exit $ac_status); }; }; then
 
12738
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12739
  (exit $ac_status); } && {
 
12740
         test -z "$ac_c_werror_flag" ||
 
12741
         test ! -s conftest.err
 
12742
       } && test -s conftest$ac_exeext && {
 
12743
         test "$cross_compiling" = yes ||
 
12744
         $as_test_x conftest$ac_exeext
 
12745
       }; then
11412
12746
  ac_cv_lib_dld_shl_load=yes
11413
12747
else
11414
 
  echo "$as_me: failed program was:" >&5
 
12748
  $as_echo "$as_me: failed program was:" >&5
11415
12749
sed 's/^/| /' conftest.$ac_ext >&5
11416
12750
 
11417
 
ac_cv_lib_dld_shl_load=no
 
12751
        ac_cv_lib_dld_shl_load=no
11418
12752
fi
11419
 
rm -f conftest.err conftest.$ac_objext \
 
12753
 
 
12754
rm -rf conftest.dSYM
 
12755
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11420
12756
      conftest$ac_exeext conftest.$ac_ext
11421
12757
LIBS=$ac_check_lib_save_LIBS
11422
12758
fi
11423
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11424
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11425
 
if test $ac_cv_lib_dld_shl_load = yes; then
11426
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
 
12759
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
12760
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
12761
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 
12762
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11427
12763
else
11428
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
11429
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
12764
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
 
12765
$as_echo_n "checking for dlopen... " >&6; }
11430
12766
if test "${ac_cv_func_dlopen+set}" = set; then
11431
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12767
  $as_echo_n "(cached) " >&6
11432
12768
else
11433
12769
  cat >conftest.$ac_ext <<_ACEOF
11434
12770
/* confdefs.h.  */
11453
12789
 
11454
12790
#undef dlopen
11455
12791
 
11456
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12792
/* Override any GCC internal prototype to avoid an error.
 
12793
   Use char because int might match the return type of a GCC
 
12794
   builtin and then its argument prototype would still apply.  */
11457
12795
#ifdef __cplusplus
11458
12796
extern "C"
11459
 
{
11460
12797
#endif
11461
 
/* We use char because int might match the return type of a gcc2
11462
 
   builtin and then its argument prototype would still apply.  */
11463
12798
char dlopen ();
11464
12799
/* The GNU C library defines this for functions which it implements
11465
12800
    to always fail with ENOSYS.  Some functions are actually named
11466
12801
    something starting with __ and the normal name is an alias.  */
11467
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
12802
#if defined __stub_dlopen || defined __stub___dlopen
11468
12803
choke me
11469
 
#else
11470
 
char (*f) () = dlopen;
11471
 
#endif
11472
 
#ifdef __cplusplus
11473
 
}
11474
12804
#endif
11475
12805
 
11476
12806
int
11477
12807
main ()
11478
12808
{
11479
 
return f != dlopen;
 
12809
return dlopen ();
11480
12810
  ;
11481
12811
  return 0;
11482
12812
}
11483
12813
_ACEOF
11484
12814
rm -f conftest.$ac_objext conftest$ac_exeext
11485
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11486
 
  (eval $ac_link) 2>conftest.er1
 
12815
if { (ac_try="$ac_link"
 
12816
case "(($ac_try" in
 
12817
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12818
  *) ac_try_echo=$ac_try;;
 
12819
esac
 
12820
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12821
$as_echo "$ac_try_echo") >&5
 
12822
  (eval "$ac_link") 2>conftest.er1
11487
12823
  ac_status=$?
11488
12824
  grep -v '^ *+' conftest.er1 >conftest.err
11489
12825
  rm -f conftest.er1
11490
12826
  cat conftest.err >&5
11491
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11492
 
  (exit $ac_status); } &&
11493
 
         { ac_try='test -z "$ac_c_werror_flag"
11494
 
                         || test ! -s conftest.err'
11495
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11496
 
  (eval $ac_try) 2>&5
11497
 
  ac_status=$?
11498
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11499
 
  (exit $ac_status); }; } &&
11500
 
         { ac_try='test -s conftest$ac_exeext'
11501
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11502
 
  (eval $ac_try) 2>&5
11503
 
  ac_status=$?
11504
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11505
 
  (exit $ac_status); }; }; then
 
12827
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12828
  (exit $ac_status); } && {
 
12829
         test -z "$ac_c_werror_flag" ||
 
12830
         test ! -s conftest.err
 
12831
       } && test -s conftest$ac_exeext && {
 
12832
         test "$cross_compiling" = yes ||
 
12833
         $as_test_x conftest$ac_exeext
 
12834
       }; then
11506
12835
  ac_cv_func_dlopen=yes
11507
12836
else
11508
 
  echo "$as_me: failed program was:" >&5
 
12837
  $as_echo "$as_me: failed program was:" >&5
11509
12838
sed 's/^/| /' conftest.$ac_ext >&5
11510
12839
 
11511
 
ac_cv_func_dlopen=no
 
12840
        ac_cv_func_dlopen=no
11512
12841
fi
11513
 
rm -f conftest.err conftest.$ac_objext \
 
12842
 
 
12843
rm -rf conftest.dSYM
 
12844
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11514
12845
      conftest$ac_exeext conftest.$ac_ext
11515
12846
fi
11516
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11517
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11518
 
if test $ac_cv_func_dlopen = yes; then
 
12847
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
12848
$as_echo "$ac_cv_func_dlopen" >&6; }
 
12849
if test "x$ac_cv_func_dlopen" = x""yes; then
11519
12850
  lt_cv_dlopen="dlopen"
11520
12851
else
11521
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11522
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
12852
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
12853
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11523
12854
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11524
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12855
  $as_echo_n "(cached) " >&6
11525
12856
else
11526
12857
  ac_check_lib_save_LIBS=$LIBS
11527
12858
LIBS="-ldl  $LIBS"
11532
12863
cat >>conftest.$ac_ext <<_ACEOF
11533
12864
/* end confdefs.h.  */
11534
12865
 
11535
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12866
/* Override any GCC internal prototype to avoid an error.
 
12867
   Use char because int might match the return type of a GCC
 
12868
   builtin and then its argument prototype would still apply.  */
11536
12869
#ifdef __cplusplus
11537
12870
extern "C"
11538
12871
#endif
11539
 
/* We use char because int might match the return type of a gcc2
11540
 
   builtin and then its argument prototype would still apply.  */
11541
12872
char dlopen ();
11542
12873
int
11543
12874
main ()
11544
12875
{
11545
 
dlopen ();
 
12876
return dlopen ();
11546
12877
  ;
11547
12878
  return 0;
11548
12879
}
11549
12880
_ACEOF
11550
12881
rm -f conftest.$ac_objext conftest$ac_exeext
11551
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11552
 
  (eval $ac_link) 2>conftest.er1
 
12882
if { (ac_try="$ac_link"
 
12883
case "(($ac_try" in
 
12884
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12885
  *) ac_try_echo=$ac_try;;
 
12886
esac
 
12887
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12888
$as_echo "$ac_try_echo") >&5
 
12889
  (eval "$ac_link") 2>conftest.er1
11553
12890
  ac_status=$?
11554
12891
  grep -v '^ *+' conftest.er1 >conftest.err
11555
12892
  rm -f conftest.er1
11556
12893
  cat conftest.err >&5
11557
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11558
 
  (exit $ac_status); } &&
11559
 
         { ac_try='test -z "$ac_c_werror_flag"
11560
 
                         || test ! -s conftest.err'
11561
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11562
 
  (eval $ac_try) 2>&5
11563
 
  ac_status=$?
11564
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11565
 
  (exit $ac_status); }; } &&
11566
 
         { ac_try='test -s conftest$ac_exeext'
11567
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11568
 
  (eval $ac_try) 2>&5
11569
 
  ac_status=$?
11570
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11571
 
  (exit $ac_status); }; }; then
 
12894
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12895
  (exit $ac_status); } && {
 
12896
         test -z "$ac_c_werror_flag" ||
 
12897
         test ! -s conftest.err
 
12898
       } && test -s conftest$ac_exeext && {
 
12899
         test "$cross_compiling" = yes ||
 
12900
         $as_test_x conftest$ac_exeext
 
12901
       }; then
11572
12902
  ac_cv_lib_dl_dlopen=yes
11573
12903
else
11574
 
  echo "$as_me: failed program was:" >&5
 
12904
  $as_echo "$as_me: failed program was:" >&5
11575
12905
sed 's/^/| /' conftest.$ac_ext >&5
11576
12906
 
11577
 
ac_cv_lib_dl_dlopen=no
 
12907
        ac_cv_lib_dl_dlopen=no
11578
12908
fi
11579
 
rm -f conftest.err conftest.$ac_objext \
 
12909
 
 
12910
rm -rf conftest.dSYM
 
12911
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11580
12912
      conftest$ac_exeext conftest.$ac_ext
11581
12913
LIBS=$ac_check_lib_save_LIBS
11582
12914
fi
11583
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11584
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11585
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
12915
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
12916
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
12917
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11586
12918
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11587
12919
else
11588
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11589
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
12920
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
12921
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11590
12922
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11591
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12923
  $as_echo_n "(cached) " >&6
11592
12924
else
11593
12925
  ac_check_lib_save_LIBS=$LIBS
11594
12926
LIBS="-lsvld  $LIBS"
11599
12931
cat >>conftest.$ac_ext <<_ACEOF
11600
12932
/* end confdefs.h.  */
11601
12933
 
11602
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12934
/* Override any GCC internal prototype to avoid an error.
 
12935
   Use char because int might match the return type of a GCC
 
12936
   builtin and then its argument prototype would still apply.  */
11603
12937
#ifdef __cplusplus
11604
12938
extern "C"
11605
12939
#endif
11606
 
/* We use char because int might match the return type of a gcc2
11607
 
   builtin and then its argument prototype would still apply.  */
11608
12940
char dlopen ();
11609
12941
int
11610
12942
main ()
11611
12943
{
11612
 
dlopen ();
 
12944
return dlopen ();
11613
12945
  ;
11614
12946
  return 0;
11615
12947
}
11616
12948
_ACEOF
11617
12949
rm -f conftest.$ac_objext conftest$ac_exeext
11618
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11619
 
  (eval $ac_link) 2>conftest.er1
 
12950
if { (ac_try="$ac_link"
 
12951
case "(($ac_try" in
 
12952
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12953
  *) ac_try_echo=$ac_try;;
 
12954
esac
 
12955
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12956
$as_echo "$ac_try_echo") >&5
 
12957
  (eval "$ac_link") 2>conftest.er1
11620
12958
  ac_status=$?
11621
12959
  grep -v '^ *+' conftest.er1 >conftest.err
11622
12960
  rm -f conftest.er1
11623
12961
  cat conftest.err >&5
11624
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11625
 
  (exit $ac_status); } &&
11626
 
         { ac_try='test -z "$ac_c_werror_flag"
11627
 
                         || test ! -s conftest.err'
11628
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11629
 
  (eval $ac_try) 2>&5
11630
 
  ac_status=$?
11631
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11632
 
  (exit $ac_status); }; } &&
11633
 
         { ac_try='test -s conftest$ac_exeext'
11634
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11635
 
  (eval $ac_try) 2>&5
11636
 
  ac_status=$?
11637
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11638
 
  (exit $ac_status); }; }; then
 
12962
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12963
  (exit $ac_status); } && {
 
12964
         test -z "$ac_c_werror_flag" ||
 
12965
         test ! -s conftest.err
 
12966
       } && test -s conftest$ac_exeext && {
 
12967
         test "$cross_compiling" = yes ||
 
12968
         $as_test_x conftest$ac_exeext
 
12969
       }; then
11639
12970
  ac_cv_lib_svld_dlopen=yes
11640
12971
else
11641
 
  echo "$as_me: failed program was:" >&5
 
12972
  $as_echo "$as_me: failed program was:" >&5
11642
12973
sed 's/^/| /' conftest.$ac_ext >&5
11643
12974
 
11644
 
ac_cv_lib_svld_dlopen=no
 
12975
        ac_cv_lib_svld_dlopen=no
11645
12976
fi
11646
 
rm -f conftest.err conftest.$ac_objext \
 
12977
 
 
12978
rm -rf conftest.dSYM
 
12979
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11647
12980
      conftest$ac_exeext conftest.$ac_ext
11648
12981
LIBS=$ac_check_lib_save_LIBS
11649
12982
fi
11650
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11651
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11652
 
if test $ac_cv_lib_svld_dlopen = yes; then
 
12983
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
12984
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
12985
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
11653
12986
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11654
12987
else
11655
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11656
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
12988
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
12989
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11657
12990
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11658
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12991
  $as_echo_n "(cached) " >&6
11659
12992
else
11660
12993
  ac_check_lib_save_LIBS=$LIBS
11661
12994
LIBS="-ldld  $LIBS"
11666
12999
cat >>conftest.$ac_ext <<_ACEOF
11667
13000
/* end confdefs.h.  */
11668
13001
 
11669
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
13002
/* Override any GCC internal prototype to avoid an error.
 
13003
   Use char because int might match the return type of a GCC
 
13004
   builtin and then its argument prototype would still apply.  */
11670
13005
#ifdef __cplusplus
11671
13006
extern "C"
11672
13007
#endif
11673
 
/* We use char because int might match the return type of a gcc2
11674
 
   builtin and then its argument prototype would still apply.  */
11675
13008
char dld_link ();
11676
13009
int
11677
13010
main ()
11678
13011
{
11679
 
dld_link ();
 
13012
return dld_link ();
11680
13013
  ;
11681
13014
  return 0;
11682
13015
}
11683
13016
_ACEOF
11684
13017
rm -f conftest.$ac_objext conftest$ac_exeext
11685
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11686
 
  (eval $ac_link) 2>conftest.er1
 
13018
if { (ac_try="$ac_link"
 
13019
case "(($ac_try" in
 
13020
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13021
  *) ac_try_echo=$ac_try;;
 
13022
esac
 
13023
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13024
$as_echo "$ac_try_echo") >&5
 
13025
  (eval "$ac_link") 2>conftest.er1
11687
13026
  ac_status=$?
11688
13027
  grep -v '^ *+' conftest.er1 >conftest.err
11689
13028
  rm -f conftest.er1
11690
13029
  cat conftest.err >&5
11691
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11692
 
  (exit $ac_status); } &&
11693
 
         { ac_try='test -z "$ac_c_werror_flag"
11694
 
                         || test ! -s conftest.err'
11695
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11696
 
  (eval $ac_try) 2>&5
11697
 
  ac_status=$?
11698
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11699
 
  (exit $ac_status); }; } &&
11700
 
         { ac_try='test -s conftest$ac_exeext'
11701
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11702
 
  (eval $ac_try) 2>&5
11703
 
  ac_status=$?
11704
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11705
 
  (exit $ac_status); }; }; then
 
13030
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13031
  (exit $ac_status); } && {
 
13032
         test -z "$ac_c_werror_flag" ||
 
13033
         test ! -s conftest.err
 
13034
       } && test -s conftest$ac_exeext && {
 
13035
         test "$cross_compiling" = yes ||
 
13036
         $as_test_x conftest$ac_exeext
 
13037
       }; then
11706
13038
  ac_cv_lib_dld_dld_link=yes
11707
13039
else
11708
 
  echo "$as_me: failed program was:" >&5
 
13040
  $as_echo "$as_me: failed program was:" >&5
11709
13041
sed 's/^/| /' conftest.$ac_ext >&5
11710
13042
 
11711
 
ac_cv_lib_dld_dld_link=no
 
13043
        ac_cv_lib_dld_dld_link=no
11712
13044
fi
11713
 
rm -f conftest.err conftest.$ac_objext \
 
13045
 
 
13046
rm -rf conftest.dSYM
 
13047
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11714
13048
      conftest$ac_exeext conftest.$ac_ext
11715
13049
LIBS=$ac_check_lib_save_LIBS
11716
13050
fi
11717
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11718
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
11719
 
if test $ac_cv_lib_dld_dld_link = yes; then
11720
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 
13051
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
13052
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
13053
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 
13054
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11721
13055
fi
11722
13056
 
11723
13057
 
11755
13089
    save_LIBS="$LIBS"
11756
13090
    LIBS="$lt_cv_dlopen_libs $LIBS"
11757
13091
 
11758
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11759
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
13092
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
13093
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11760
13094
if test "${lt_cv_dlopen_self+set}" = set; then
11761
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13095
  $as_echo_n "(cached) " >&6
11762
13096
else
11763
13097
          if test "$cross_compiling" = yes; then :
11764
13098
  lt_cv_dlopen_self=cross
11766
13100
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11767
13101
  lt_status=$lt_dlunknown
11768
13102
  cat > conftest.$ac_ext <<EOF
11769
 
#line 11769 "configure"
 
13103
#line 13103 "configure"
11770
13104
#include "confdefs.h"
11771
13105
 
11772
13106
#if HAVE_DLFCN_H
11832
13166
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11833
13167
  (eval $ac_link) 2>&5
11834
13168
  ac_status=$?
11835
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13169
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11836
13170
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11837
13171
    (./conftest; exit; ) >&5 2>/dev/null
11838
13172
    lt_status=$?
11850
13184
 
11851
13185
 
11852
13186
fi
11853
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11854
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
13187
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
13188
$as_echo "$lt_cv_dlopen_self" >&6; }
11855
13189
 
11856
13190
    if test "x$lt_cv_dlopen_self" = xyes; then
11857
13191
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11858
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11859
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
13192
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
13193
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11860
13194
if test "${lt_cv_dlopen_self_static+set}" = set; then
11861
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13195
  $as_echo_n "(cached) " >&6
11862
13196
else
11863
13197
          if test "$cross_compiling" = yes; then :
11864
13198
  lt_cv_dlopen_self_static=cross
11866
13200
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11867
13201
  lt_status=$lt_dlunknown
11868
13202
  cat > conftest.$ac_ext <<EOF
11869
 
#line 11869 "configure"
 
13203
#line 13203 "configure"
11870
13204
#include "confdefs.h"
11871
13205
 
11872
13206
#if HAVE_DLFCN_H
11932
13266
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11933
13267
  (eval $ac_link) 2>&5
11934
13268
  ac_status=$?
11935
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13269
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11936
13270
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11937
13271
    (./conftest; exit; ) >&5 2>/dev/null
11938
13272
    lt_status=$?
11950
13284
 
11951
13285
 
11952
13286
fi
11953
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11954
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
13287
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
13288
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11955
13289
    fi
11956
13290
 
11957
13291
    CPPFLAGS="$save_CPPFLAGS"
11973
13307
 
11974
13308
 
11975
13309
# Report which library types will actually be built
11976
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11977
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11978
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
11979
 
echo "${ECHO_T}$can_build_shared" >&6
 
13310
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
13311
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
13312
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
13313
$as_echo "$can_build_shared" >&6; }
11980
13314
 
11981
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11982
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
13315
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
13316
$as_echo_n "checking whether to build shared libraries... " >&6; }
11983
13317
test "$can_build_shared" = "no" && enable_shared=no
11984
13318
 
11985
13319
# On AIX, shared libraries and static libraries use the same namespace, and
11993
13327
  fi
11994
13328
  ;;
11995
13329
 
11996
 
aix4* | aix5*)
 
13330
aix[4-9]*)
11997
13331
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11998
13332
    test "$enable_shared" = yes && enable_static=no
11999
13333
  fi
12000
13334
    ;;
12001
13335
esac
12002
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
12003
 
echo "${ECHO_T}$enable_shared" >&6
 
13336
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
13337
$as_echo "$enable_shared" >&6; }
12004
13338
 
12005
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12006
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
13339
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
13340
$as_echo_n "checking whether to build static libraries... " >&6; }
12007
13341
# Make sure either enable_shared or enable_static is yes.
12008
13342
test "$enable_shared" = yes || enable_static=yes
12009
 
echo "$as_me:$LINENO: result: $enable_static" >&5
12010
 
echo "${ECHO_T}$enable_static" >&6
 
13343
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
13344
$as_echo "$enable_static" >&6; }
12011
13345
 
12012
13346
# The else clause should only fire when bootstrapping the
12013
13347
# libtool distribution, otherwise you forgot to ship ltmain.sh
12049
13383
    predeps \
12050
13384
    postdeps \
12051
13385
    compiler_lib_search_path \
 
13386
    compiler_lib_search_dirs \
12052
13387
    archive_cmds \
12053
13388
    archive_expsym_cmds \
12054
13389
    postinstall_cmds \
12064
13399
    module_cmds \
12065
13400
    module_expsym_cmds \
12066
13401
    lt_cv_prog_compiler_c_o \
 
13402
    fix_srcfile_path \
12067
13403
    exclude_expsyms \
12068
13404
    include_expsyms; do
12069
13405
 
12098
13434
cfgfile="${ofile}T"
12099
13435
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
12100
13436
  $rm -f "$cfgfile"
12101
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
12102
 
echo "$as_me: creating $ofile" >&6;}
 
13437
  { $as_echo "$as_me:$LINENO: creating $ofile" >&5
 
13438
$as_echo "$as_me: creating $ofile" >&6;}
12103
13439
 
12104
13440
  cat <<__EOF__ >> "$cfgfile"
12105
13441
#! $SHELL
12108
13444
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
12109
13445
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
12110
13446
#
12111
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
 
13447
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
12112
13448
# Free Software Foundation, Inc.
12113
13449
#
12114
13450
# This file is part of GNU Libtool:
12344
13680
# shared library.
12345
13681
postdeps=$lt_postdeps
12346
13682
 
 
13683
# The directories searched by this compiler when creating a shared
 
13684
# library
 
13685
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
 
13686
 
12347
13687
# The library search path used internally by the compiler when linking
12348
13688
# a shared library.
12349
13689
compiler_lib_search_path=$lt_compiler_lib_search_path
12432
13772
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12433
13773
 
12434
13774
# Fix the shell variable \$srcfile for the compiler.
12435
 
fix_srcfile_path="$fix_srcfile_path"
 
13775
fix_srcfile_path=$lt_fix_srcfile_path
12436
13776
 
12437
13777
# Set to yes if exported symbols are required.
12438
13778
always_export_symbols=$always_export_symbols
12499
13839
CC="$lt_save_CC"
12500
13840
 
12501
13841
 
12502
 
# Check whether --with-tags or --without-tags was given.
 
13842
# Check whether --with-tags was given.
12503
13843
if test "${with_tags+set}" = set; then
12504
 
  withval="$with_tags"
12505
 
  tagnames="$withval"
12506
 
fi;
 
13844
  withval=$with_tags; tagnames="$withval"
 
13845
fi
 
13846
 
12507
13847
 
12508
13848
if test -f "$ltmain" && test -n "$tagnames"; then
12509
13849
  if test ! -f "${ofile}"; then
12510
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
12511
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
 
13850
    { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
 
13851
$as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
12512
13852
  fi
12513
13853
 
12514
13854
  if test -z "$LTCC"; then
12515
13855
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
12516
13856
    if test -z "$LTCC"; then
12517
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
12518
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
 
13857
      { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
 
13858
$as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
12519
13859
    else
12520
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
12521
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
 
13860
      { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
 
13861
$as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
12522
13862
    fi
12523
13863
  fi
12524
13864
  if test -z "$LTCFLAGS"; then
12535
13875
    # Check whether tagname contains only valid characters
12536
13876
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
12537
13877
    "") ;;
12538
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
12539
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
 
13878
    *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
 
13879
$as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
12540
13880
   { (exit 1); exit 1; }; }
12541
13881
        ;;
12542
13882
    esac
12543
13883
 
12544
13884
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
12545
13885
    then
12546
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
12547
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
 
13886
      { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
 
13887
$as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
12548
13888
   { (exit 1); exit 1; }; }
12549
13889
    fi
12550
13890
 
12557
13897
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12558
13898
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12559
13899
            (test "X$CXX" != "Xg++"))) ; then
12560
 
          ac_ext=cc
 
13900
          ac_ext=cpp
12561
13901
ac_cpp='$CXXCPP $CPPFLAGS'
12562
13902
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12563
13903
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12592
13932
predeps_CXX=
12593
13933
postdeps_CXX=
12594
13934
compiler_lib_search_path_CXX=
 
13935
compiler_lib_search_dirs_CXX=
12595
13936
 
12596
13937
# Source file extension for C++ test sources.
12597
13938
ac_ext=cpp
12601
13942
objext_CXX=$objext
12602
13943
 
12603
13944
# Code to be used in simple compile tests
12604
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
13945
lt_simple_compile_test_code="int some_variable = 0;"
12605
13946
 
12606
13947
# Code to be used in simple link tests
12607
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
 
13948
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12608
13949
 
12609
13950
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12610
13951
 
12620
13961
 
12621
13962
# save warnings/boilerplate of simple test code
12622
13963
ac_outfile=conftest.$ac_objext
12623
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
13964
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12624
13965
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12625
13966
_lt_compiler_boilerplate=`cat conftest.err`
12626
13967
$rm conftest*
12627
13968
 
12628
13969
ac_outfile=conftest.$ac_objext
12629
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
13970
echo "$lt_simple_link_test_code" >conftest.$ac_ext
12630
13971
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12631
13972
_lt_linker_boilerplate=`cat conftest.err`
12632
 
$rm conftest*
 
13973
$rm -r conftest*
12633
13974
 
12634
13975
 
12635
13976
# Allow CC to be a program name with arguments.
12676
14017
  # Set up default GNU C++ configuration
12677
14018
 
12678
14019
 
12679
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
14020
# Check whether --with-gnu-ld was given.
12680
14021
if test "${with_gnu_ld+set}" = set; then
12681
 
  withval="$with_gnu_ld"
12682
 
  test "$withval" = no || with_gnu_ld=yes
 
14022
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12683
14023
else
12684
14024
  with_gnu_ld=no
12685
 
fi;
 
14025
fi
 
14026
 
12686
14027
ac_prog=ld
12687
14028
if test "$GCC" = yes; then
12688
14029
  # Check if gcc -print-prog-name=ld gives a path.
12689
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12690
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
14030
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
14031
$as_echo_n "checking for ld used by $CC... " >&6; }
12691
14032
  case $host in
12692
14033
  *-*-mingw*)
12693
14034
    # gcc leaves a trailing carriage return which upsets mingw
12716
14057
    ;;
12717
14058
  esac
12718
14059
elif test "$with_gnu_ld" = yes; then
12719
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
12720
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
14060
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
14061
$as_echo_n "checking for GNU ld... " >&6; }
12721
14062
else
12722
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12723
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
14063
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
14064
$as_echo_n "checking for non-GNU ld... " >&6; }
12724
14065
fi
12725
14066
if test "${lt_cv_path_LD+set}" = set; then
12726
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14067
  $as_echo_n "(cached) " >&6
12727
14068
else
12728
14069
  if test -z "$LD"; then
12729
14070
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12753
14094
 
12754
14095
LD="$lt_cv_path_LD"
12755
14096
if test -n "$LD"; then
12756
 
  echo "$as_me:$LINENO: result: $LD" >&5
12757
 
echo "${ECHO_T}$LD" >&6
 
14097
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
14098
$as_echo "$LD" >&6; }
12758
14099
else
12759
 
  echo "$as_me:$LINENO: result: no" >&5
12760
 
echo "${ECHO_T}no" >&6
 
14100
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14101
$as_echo "no" >&6; }
12761
14102
fi
12762
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12763
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
14103
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
14104
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12764
14105
   { (exit 1); exit 1; }; }
12765
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12766
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
14106
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
14107
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12767
14108
if test "${lt_cv_prog_gnu_ld+set}" = set; then
12768
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14109
  $as_echo_n "(cached) " >&6
12769
14110
else
12770
14111
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
12771
14112
case `$LD -v 2>&1 </dev/null` in
12777
14118
  ;;
12778
14119
esac
12779
14120
fi
12780
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12781
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
14121
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
14122
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12782
14123
with_gnu_ld=$lt_cv_prog_gnu_ld
12783
14124
 
12784
14125
 
12828
14169
fi
12829
14170
 
12830
14171
# PORTME: fill in a description of your system's C++ link characteristics
12831
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12832
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
14172
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14173
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12833
14174
ld_shlibs_CXX=yes
12834
14175
case $host_os in
12835
14176
  aix3*)
12836
14177
    # FIXME: insert proper C++ library support
12837
14178
    ld_shlibs_CXX=no
12838
14179
    ;;
12839
 
  aix4* | aix5*)
 
14180
  aix[4-9]*)
12840
14181
    if test "$host_cpu" = ia64; then
12841
14182
      # On IA64, the linker does run time linking by default, so we don't
12842
14183
      # have to do anything special.
12849
14190
      # Test if we are trying to use run time linking or normal
12850
14191
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12851
14192
      # need to do runtime linking.
12852
 
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
14193
      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12853
14194
        for ld_flag in $LDFLAGS; do
12854
14195
          case $ld_flag in
12855
14196
          *-brtl*)
12885
14226
           strings "$collect2name" | grep resolve_lib_name >/dev/null
12886
14227
        then
12887
14228
          # We have reworked collect2
12888
 
          hardcode_direct_CXX=yes
 
14229
          :
12889
14230
        else
12890
14231
          # We have old collect2
12891
14232
          hardcode_direct_CXX=unsupported
12941
14282
}
12942
14283
_ACEOF
12943
14284
rm -f conftest.$ac_objext conftest$ac_exeext
12944
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12945
 
  (eval $ac_link) 2>conftest.er1
 
14285
if { (ac_try="$ac_link"
 
14286
case "(($ac_try" in
 
14287
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14288
  *) ac_try_echo=$ac_try;;
 
14289
esac
 
14290
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14291
$as_echo "$ac_try_echo") >&5
 
14292
  (eval "$ac_link") 2>conftest.er1
12946
14293
  ac_status=$?
12947
14294
  grep -v '^ *+' conftest.er1 >conftest.err
12948
14295
  rm -f conftest.er1
12949
14296
  cat conftest.err >&5
12950
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12951
 
  (exit $ac_status); } &&
12952
 
         { ac_try='test -z "$ac_cxx_werror_flag"
12953
 
                         || test ! -s conftest.err'
12954
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12955
 
  (eval $ac_try) 2>&5
12956
 
  ac_status=$?
12957
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12958
 
  (exit $ac_status); }; } &&
12959
 
         { ac_try='test -s conftest$ac_exeext'
12960
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12961
 
  (eval $ac_try) 2>&5
12962
 
  ac_status=$?
12963
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12964
 
  (exit $ac_status); }; }; then
 
14297
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14298
  (exit $ac_status); } && {
 
14299
         test -z "$ac_cxx_werror_flag" ||
 
14300
         test ! -s conftest.err
 
14301
       } && test -s conftest$ac_exeext && {
 
14302
         test "$cross_compiling" = yes ||
 
14303
         $as_test_x conftest$ac_exeext
 
14304
       }; then
12965
14305
 
12966
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
12967
 
}'`
 
14306
lt_aix_libpath_sed='
 
14307
    /Import File Strings/,/^$/ {
 
14308
        /^0/ {
 
14309
            s/^0  *\(.*\)$/\1/
 
14310
            p
 
14311
        }
 
14312
    }'
 
14313
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12968
14314
# Check for a 64-bit object if we didn't find anything.
12969
 
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; }
12970
 
}'`; fi
 
14315
if test -z "$aix_libpath"; then
 
14316
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
14317
fi
12971
14318
else
12972
 
  echo "$as_me: failed program was:" >&5
 
14319
  $as_echo "$as_me: failed program was:" >&5
12973
14320
sed 's/^/| /' conftest.$ac_ext >&5
12974
14321
 
 
14322
 
12975
14323
fi
12976
 
rm -f conftest.err conftest.$ac_objext \
 
14324
 
 
14325
rm -rf conftest.dSYM
 
14326
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12977
14327
      conftest$ac_exeext conftest.$ac_ext
12978
14328
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12979
14329
 
13003
14353
}
13004
14354
_ACEOF
13005
14355
rm -f conftest.$ac_objext conftest$ac_exeext
13006
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13007
 
  (eval $ac_link) 2>conftest.er1
 
14356
if { (ac_try="$ac_link"
 
14357
case "(($ac_try" in
 
14358
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14359
  *) ac_try_echo=$ac_try;;
 
14360
esac
 
14361
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14362
$as_echo "$ac_try_echo") >&5
 
14363
  (eval "$ac_link") 2>conftest.er1
13008
14364
  ac_status=$?
13009
14365
  grep -v '^ *+' conftest.er1 >conftest.err
13010
14366
  rm -f conftest.er1
13011
14367
  cat conftest.err >&5
13012
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13013
 
  (exit $ac_status); } &&
13014
 
         { ac_try='test -z "$ac_cxx_werror_flag"
13015
 
                         || test ! -s conftest.err'
13016
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13017
 
  (eval $ac_try) 2>&5
13018
 
  ac_status=$?
13019
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13020
 
  (exit $ac_status); }; } &&
13021
 
         { ac_try='test -s conftest$ac_exeext'
13022
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13023
 
  (eval $ac_try) 2>&5
13024
 
  ac_status=$?
13025
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13026
 
  (exit $ac_status); }; }; then
 
14368
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14369
  (exit $ac_status); } && {
 
14370
         test -z "$ac_cxx_werror_flag" ||
 
14371
         test ! -s conftest.err
 
14372
       } && test -s conftest$ac_exeext && {
 
14373
         test "$cross_compiling" = yes ||
 
14374
         $as_test_x conftest$ac_exeext
 
14375
       }; then
13027
14376
 
13028
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13029
 
}'`
 
14377
lt_aix_libpath_sed='
 
14378
    /Import File Strings/,/^$/ {
 
14379
        /^0/ {
 
14380
            s/^0  *\(.*\)$/\1/
 
14381
            p
 
14382
        }
 
14383
    }'
 
14384
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13030
14385
# Check for a 64-bit object if we didn't find anything.
13031
 
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; }
13032
 
}'`; fi
 
14386
if test -z "$aix_libpath"; then
 
14387
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
14388
fi
13033
14389
else
13034
 
  echo "$as_me: failed program was:" >&5
 
14390
  $as_echo "$as_me: failed program was:" >&5
13035
14391
sed 's/^/| /' conftest.$ac_ext >&5
13036
14392
 
 
14393
 
13037
14394
fi
13038
 
rm -f conftest.err conftest.$ac_objext \
 
14395
 
 
14396
rm -rf conftest.dSYM
 
14397
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13039
14398
      conftest$ac_exeext conftest.$ac_ext
13040
14399
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13041
14400
 
13097
14456
    fi
13098
14457
  ;;
13099
14458
      darwin* | rhapsody*)
13100
 
        case $host_os in
13101
 
        rhapsody* | darwin1.[012])
13102
 
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
13103
 
         ;;
13104
 
       *) # Darwin 1.3 on
13105
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
13106
 
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13107
 
         else
13108
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
13109
 
             10.[012])
13110
 
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13111
 
               ;;
13112
 
             10.*)
13113
 
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
13114
 
               ;;
13115
 
           esac
13116
 
         fi
13117
 
         ;;
13118
 
        esac
13119
14459
      archive_cmds_need_lc_CXX=no
13120
14460
      hardcode_direct_CXX=no
13121
14461
      hardcode_automatic_CXX=yes
13122
14462
      hardcode_shlibpath_var_CXX=unsupported
13123
14463
      whole_archive_flag_spec_CXX=''
13124
14464
      link_all_deplibs_CXX=yes
13125
 
 
13126
 
    if test "$GXX" = yes ; then
13127
 
      lt_int_apple_cc_single_mod=no
 
14465
      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
 
14466
      if test "$GXX" = yes ; then
13128
14467
      output_verbose_link_cmd='echo'
13129
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
13130
 
       lt_int_apple_cc_single_mod=yes
 
14468
      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}"
 
14469
      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
14470
      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}"
 
14471
      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}"
 
14472
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
14473
        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}"
 
14474
        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}"
13131
14475
      fi
13132
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13133
 
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13134
 
      else
13135
 
          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'
13136
 
        fi
13137
 
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13138
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13139
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13140
 
            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}'
13141
 
          else
13142
 
            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}'
13143
 
          fi
13144
 
            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}'
13145
14476
      else
13146
14477
      case $cc_basename in
13147
14478
        xlc*)
13148
14479
         output_verbose_link_cmd='echo'
13149
 
          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'
 
14480
          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'
13150
14481
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13151
14482
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13152
 
          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}'
 
14483
          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}'
13153
14484
          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}'
13154
14485
          ;;
13155
14486
       *)
13183
14514
  freebsd-elf*)
13184
14515
    archive_cmds_need_lc_CXX=no
13185
14516
    ;;
13186
 
  freebsd* | kfreebsd*-gnu | dragonfly*)
 
14517
  freebsd* | dragonfly*)
13187
14518
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13188
14519
    # conventions
13189
14520
    ld_shlibs_CXX=yes
13232
14563
      hardcode_libdir_separator_CXX=:
13233
14564
 
13234
14565
      case $host_cpu in
13235
 
      hppa*64*|ia64*)
13236
 
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
13237
 
        ;;
 
14566
      hppa*64*|ia64*) ;;
13238
14567
      *)
13239
14568
        export_dynamic_flag_spec_CXX='${wl}-E'
13240
14569
        ;;
13302
14631
        ;;
13303
14632
    esac
13304
14633
    ;;
13305
 
  interix3*)
 
14634
  interix[3-9]*)
13306
14635
    hardcode_direct_CXX=no
13307
14636
    hardcode_shlibpath_var_CXX=no
13308
14637
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13342
14671
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13343
14672
    hardcode_libdir_separator_CXX=:
13344
14673
    ;;
13345
 
  linux*)
 
14674
  linux* | k*bsd*-gnu)
13346
14675
    case $cc_basename in
13347
14676
      KCC*)
13348
14677
        # Kuck and Associates, Inc. (KAI) C++ Compiler
13394
14723
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13395
14724
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13396
14725
        ;;
13397
 
      pgCC*)
 
14726
      pgCC* | pgcpp*)
13398
14727
        # Portland Group C++ compiler
13399
14728
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13400
14729
        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'
13422
14751
        # dependencies.
13423
14752
        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'
13424
14753
        ;;
 
14754
      *)
 
14755
        case `$CC -V 2>&1 | sed 5q` in
 
14756
        *Sun\ C*)
 
14757
          # Sun C++ 5.9
 
14758
          no_undefined_flag_CXX=' -zdefs'
 
14759
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
14760
          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'
 
14761
          hardcode_libdir_flag_spec_CXX='-R$libdir'
 
14762
          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'
 
14763
 
 
14764
          # Not sure whether something based on
 
14765
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
14766
          # would be better.
 
14767
          output_verbose_link_cmd='echo'
 
14768
 
 
14769
          # Archives containing C++ object files must be created using
 
14770
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
14771
          # necessary to make sure instantiated templates are included
 
14772
          # in the archive.
 
14773
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
14774
          ;;
 
14775
        esac
 
14776
        ;;
13425
14777
    esac
13426
14778
    ;;
13427
14779
  lynxos*)
13460
14812
    ld_shlibs_CXX=no
13461
14813
    ;;
13462
14814
  openbsd*)
13463
 
    hardcode_direct_CXX=yes
13464
 
    hardcode_shlibpath_var_CXX=no
13465
 
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13466
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13467
 
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13468
 
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13469
 
      export_dynamic_flag_spec_CXX='${wl}-E'
13470
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
14815
    if test -f /usr/libexec/ld.so; then
 
14816
      hardcode_direct_CXX=yes
 
14817
      hardcode_shlibpath_var_CXX=no
 
14818
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
14819
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
14820
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
14821
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
14822
        export_dynamic_flag_spec_CXX='${wl}-E'
 
14823
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
14824
      fi
 
14825
      output_verbose_link_cmd='echo'
 
14826
    else
 
14827
      ld_shlibs_CXX=no
13471
14828
    fi
13472
 
    output_verbose_link_cmd='echo'
13473
14829
    ;;
13474
14830
  osf3*)
13475
14831
    case $cc_basename in
13631
14987
        case $host_os in
13632
14988
          solaris2.[0-5] | solaris2.[0-5].*) ;;
13633
14989
          *)
13634
 
            # The C++ compiler is used as linker so we must use $wl
13635
 
            # flag to pass the commands to the underlying system
13636
 
            # linker. We must also pass each convience library through
13637
 
            # to the system linker between allextract/defaultextract.
13638
 
            # The C++ compiler will combine linker options so we
13639
 
            # cannot just pass the convience library names through
13640
 
            # without $wl.
 
14990
            # The compiler driver will combine and reorder linker options,
 
14991
            # but understands `-z linker_flag'.
13641
14992
            # Supported since Solaris 2.6 (maybe 2.5.1?)
13642
 
            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'
 
14993
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13643
14994
            ;;
13644
14995
        esac
13645
14996
        link_all_deplibs_CXX=yes
13686
15037
          fi
13687
15038
 
13688
15039
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
15040
          case $host_os in
 
15041
          solaris2.[0-5] | solaris2.[0-5].*) ;;
 
15042
          *)
 
15043
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
15044
            ;;
 
15045
          esac
13689
15046
        fi
13690
15047
        ;;
13691
15048
    esac
13766
15123
    ld_shlibs_CXX=no
13767
15124
    ;;
13768
15125
esac
13769
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13770
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
15126
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
15127
$as_echo "$ld_shlibs_CXX" >&6; }
13771
15128
test "$ld_shlibs_CXX" = no && can_build_shared=no
13772
15129
 
13773
15130
GCC_CXX="$GXX"
13774
15131
LD_CXX="$LD"
13775
15132
 
13776
 
 
13777
15133
cat > conftest.$ac_ext <<EOF
13778
15134
class Foo
13779
15135
{
13787
15143
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13788
15144
  (eval $ac_compile) 2>&5
13789
15145
  ac_status=$?
13790
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15146
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13791
15147
  (exit $ac_status); }; then
13792
15148
  # Parse the compiler output and extract the necessary
13793
15149
  # objects, libraries and library flags.
13875
15231
 
13876
15232
$rm -f confest.$objext
13877
15233
 
 
15234
compiler_lib_search_dirs_CXX=
 
15235
if test -n "$compiler_lib_search_path_CXX"; then
 
15236
  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
15237
fi
 
15238
 
13878
15239
# PORTME: override above test on systems where it is broken
13879
15240
case $host_os in
13880
 
interix3*)
 
15241
interix[3-9]*)
13881
15242
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
13882
15243
  # hack all around it, let's just trust "g++" to DTRT.
13883
15244
  predep_objects_CXX=
13885
15246
  postdeps_CXX=
13886
15247
  ;;
13887
15248
 
 
15249
linux*)
 
15250
  case `$CC -V 2>&1 | sed 5q` in
 
15251
  *Sun\ C*)
 
15252
    # Sun C++ 5.9
 
15253
    #
 
15254
    # The more standards-conforming stlport4 library is
 
15255
    # incompatible with the Cstd library. Avoid specifying
 
15256
    # it if it's in CXXFLAGS. Ignore libCrun as
 
15257
    # -library=stlport4 depends on it.
 
15258
    case " $CXX $CXXFLAGS " in
 
15259
    *" -library=stlport4 "*)
 
15260
      solaris_use_stlport4=yes
 
15261
      ;;
 
15262
    esac
 
15263
    if test "$solaris_use_stlport4" != yes; then
 
15264
      postdeps_CXX='-library=Cstd -library=Crun'
 
15265
    fi
 
15266
    ;;
 
15267
  esac
 
15268
  ;;
 
15269
 
13888
15270
solaris*)
13889
15271
  case $cc_basename in
13890
15272
  CC*)
 
15273
    # The more standards-conforming stlport4 library is
 
15274
    # incompatible with the Cstd library. Avoid specifying
 
15275
    # it if it's in CXXFLAGS. Ignore libCrun as
 
15276
    # -library=stlport4 depends on it.
 
15277
    case " $CXX $CXXFLAGS " in
 
15278
    *" -library=stlport4 "*)
 
15279
      solaris_use_stlport4=yes
 
15280
      ;;
 
15281
    esac
 
15282
 
13891
15283
    # Adding this requires a known-good setup of shared libraries for
13892
15284
    # Sun compiler versions before 5.6, else PIC objects from an old
13893
15285
    # archive will be linked into the output, leading to subtle bugs.
13894
 
    postdeps_CXX='-lCstd -lCrun'
 
15286
    if test "$solaris_use_stlport4" != yes; then
 
15287
      postdeps_CXX='-library=Cstd -library=Crun'
 
15288
    fi
13895
15289
    ;;
13896
15290
  esac
13897
15291
  ;;
13898
15292
esac
13899
15293
 
13900
 
 
13901
15294
case " $postdeps_CXX " in
13902
15295
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13903
15296
esac
13906
15299
lt_prog_compiler_pic_CXX=
13907
15300
lt_prog_compiler_static_CXX=
13908
15301
 
13909
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13910
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
15302
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
15303
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13911
15304
 
13912
15305
  # C++ specific cases for pic, static, wl, etc.
13913
15306
  if test "$GXX" = yes; then
13928
15321
      # like `-m68040'.
13929
15322
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13930
15323
      ;;
13931
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
15324
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13932
15325
      # PIC is the default for these OSes.
13933
15326
      ;;
13934
 
    mingw* | os2* | pw32*)
 
15327
    mingw* | cygwin* | os2* | pw32*)
13935
15328
      # This hack is so that the source file can tell whether it is being
13936
15329
      # built for inclusion in a dll (and should export symbols for example).
 
15330
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
15331
      # (--disable-auto-import) libraries
13937
15332
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13938
15333
      ;;
13939
15334
    darwin* | rhapsody*)
13945
15340
      # DJGPP does not support shared libraries at all
13946
15341
      lt_prog_compiler_pic_CXX=
13947
15342
      ;;
13948
 
    interix3*)
 
15343
    interix[3-9]*)
13949
15344
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13950
15345
      # Instead, we relocate shared libraries at runtime.
13951
15346
      ;;
13971
15366
    esac
13972
15367
  else
13973
15368
    case $host_os in
13974
 
      aix4* | aix5*)
 
15369
      aix[4-9]*)
13975
15370
        # All AIX code is PIC.
13976
15371
        if test "$host_cpu" = ia64; then
13977
15372
          # AIX 5 now supports IA64 processor
14011
15406
            ;;
14012
15407
        esac
14013
15408
        ;;
14014
 
      freebsd* | kfreebsd*-gnu | dragonfly*)
 
15409
      freebsd* | dragonfly*)
14015
15410
        # FreeBSD uses GNU C++
14016
15411
        ;;
14017
15412
      hpux9* | hpux10* | hpux11*)
14054
15449
            ;;
14055
15450
        esac
14056
15451
        ;;
14057
 
      linux*)
 
15452
      linux* | k*bsd*-gnu)
14058
15453
        case $cc_basename in
14059
15454
          KCC*)
14060
15455
            # KAI C++ Compiler
14067
15462
            lt_prog_compiler_pic_CXX='-KPIC'
14068
15463
            lt_prog_compiler_static_CXX='-static'
14069
15464
            ;;
14070
 
          pgCC*)
 
15465
          pgCC* | pgcpp*)
14071
15466
            # Portland Group C++ compiler.
14072
15467
            lt_prog_compiler_wl_CXX='-Wl,'
14073
15468
            lt_prog_compiler_pic_CXX='-fpic'
14081
15476
            lt_prog_compiler_static_CXX='-non_shared'
14082
15477
            ;;
14083
15478
          *)
 
15479
            case `$CC -V 2>&1 | sed 5q` in
 
15480
            *Sun\ C*)
 
15481
              # Sun C++ 5.9
 
15482
              lt_prog_compiler_pic_CXX='-KPIC'
 
15483
              lt_prog_compiler_static_CXX='-Bstatic'
 
15484
              lt_prog_compiler_wl_CXX='-Qoption ld '
 
15485
              ;;
 
15486
            esac
14084
15487
            ;;
14085
15488
        esac
14086
15489
        ;;
14180
15583
    esac
14181
15584
  fi
14182
15585
 
14183
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14184
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
 
15586
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
15587
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14185
15588
 
14186
15589
#
14187
15590
# Check to make sure the PIC flag actually works.
14188
15591
#
14189
15592
if test -n "$lt_prog_compiler_pic_CXX"; then
14190
15593
 
14191
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14192
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
14193
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
14194
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15594
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
15595
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
 
15596
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
 
15597
  $as_echo_n "(cached) " >&6
14195
15598
else
14196
 
  lt_prog_compiler_pic_works_CXX=no
 
15599
  lt_cv_prog_compiler_pic_works_CXX=no
14197
15600
  ac_outfile=conftest.$ac_objext
14198
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
15601
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14199
15602
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14200
15603
   # Insert the option either (1) after the last *FLAGS variable, or
14201
15604
   # (2) before a word containing "conftest.", or (3) at the end.
14206
15609
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14207
15610
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14208
15611
   -e 's:$: $lt_compiler_flag:'`
14209
 
   (eval echo "\"\$as_me:14209: $lt_compile\"" >&5)
 
15612
   (eval echo "\"\$as_me:15612: $lt_compile\"" >&5)
14210
15613
   (eval "$lt_compile" 2>conftest.err)
14211
15614
   ac_status=$?
14212
15615
   cat conftest.err >&5
14213
 
   echo "$as_me:14213: \$? = $ac_status" >&5
 
15616
   echo "$as_me:15616: \$? = $ac_status" >&5
14214
15617
   if (exit $ac_status) && test -s "$ac_outfile"; then
14215
15618
     # The compiler can only warn and ignore the option if not recognized
14216
15619
     # So say no if there are warnings other than the usual output.
14217
15620
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14218
15621
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14219
15622
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14220
 
       lt_prog_compiler_pic_works_CXX=yes
 
15623
       lt_cv_prog_compiler_pic_works_CXX=yes
14221
15624
     fi
14222
15625
   fi
14223
15626
   $rm conftest*
14224
15627
 
14225
15628
fi
14226
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
14227
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
 
15629
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
15630
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14228
15631
 
14229
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
 
15632
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14230
15633
    case $lt_prog_compiler_pic_CXX in
14231
15634
     "" | " "*) ;;
14232
15635
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14251
15654
# Check to make sure the static flag actually works.
14252
15655
#
14253
15656
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14254
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14255
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
14256
 
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
14257
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15657
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
15658
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
15659
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
 
15660
  $as_echo_n "(cached) " >&6
14258
15661
else
14259
 
  lt_prog_compiler_static_works_CXX=no
 
15662
  lt_cv_prog_compiler_static_works_CXX=no
14260
15663
   save_LDFLAGS="$LDFLAGS"
14261
15664
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14262
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
15665
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14263
15666
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14264
15667
     # The linker can only warn and ignore the option if not recognized
14265
15668
     # So say no if there are warnings
14269
15672
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14270
15673
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14271
15674
       if diff conftest.exp conftest.er2 >/dev/null; then
14272
 
         lt_prog_compiler_static_works_CXX=yes
 
15675
         lt_cv_prog_compiler_static_works_CXX=yes
14273
15676
       fi
14274
15677
     else
14275
 
       lt_prog_compiler_static_works_CXX=yes
 
15678
       lt_cv_prog_compiler_static_works_CXX=yes
14276
15679
     fi
14277
15680
   fi
14278
 
   $rm conftest*
 
15681
   $rm -r conftest*
14279
15682
   LDFLAGS="$save_LDFLAGS"
14280
15683
 
14281
15684
fi
14282
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
14283
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
 
15685
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
15686
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14284
15687
 
14285
 
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
 
15688
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14286
15689
    :
14287
15690
else
14288
15691
    lt_prog_compiler_static_CXX=
14289
15692
fi
14290
15693
 
14291
15694
 
14292
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14293
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
15695
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
15696
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14294
15697
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14295
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15698
  $as_echo_n "(cached) " >&6
14296
15699
else
14297
15700
  lt_cv_prog_compiler_c_o_CXX=no
14298
15701
   $rm -r conftest 2>/dev/null
14299
15702
   mkdir conftest
14300
15703
   cd conftest
14301
15704
   mkdir out
14302
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
15705
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14303
15706
 
14304
15707
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14305
15708
   # Insert the option either (1) after the last *FLAGS variable, or
14310
15713
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14311
15714
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14312
15715
   -e 's:$: $lt_compiler_flag:'`
14313
 
   (eval echo "\"\$as_me:14313: $lt_compile\"" >&5)
 
15716
   (eval echo "\"\$as_me:15716: $lt_compile\"" >&5)
14314
15717
   (eval "$lt_compile" 2>out/conftest.err)
14315
15718
   ac_status=$?
14316
15719
   cat out/conftest.err >&5
14317
 
   echo "$as_me:14317: \$? = $ac_status" >&5
 
15720
   echo "$as_me:15720: \$? = $ac_status" >&5
14318
15721
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14319
15722
   then
14320
15723
     # The compiler can only warn and ignore the option if not recognized
14336
15739
   $rm conftest*
14337
15740
 
14338
15741
fi
14339
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14340
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
 
15742
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
15743
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14341
15744
 
14342
15745
 
14343
15746
hard_links="nottested"
14344
15747
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14345
15748
  # do not overwrite the value of need_locks provided by the user
14346
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14347
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
15749
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
15750
$as_echo_n "checking if we can lock with hard links... " >&6; }
14348
15751
  hard_links=yes
14349
15752
  $rm conftest*
14350
15753
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14351
15754
  touch conftest.a
14352
15755
  ln conftest.a conftest.b 2>&5 || hard_links=no
14353
15756
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14354
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
14355
 
echo "${ECHO_T}$hard_links" >&6
 
15757
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
15758
$as_echo "$hard_links" >&6; }
14356
15759
  if test "$hard_links" = no; then
14357
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14358
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
15760
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
15761
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14359
15762
    need_locks=warn
14360
15763
  fi
14361
15764
else
14362
15765
  need_locks=no
14363
15766
fi
14364
15767
 
14365
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14366
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
15768
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
15769
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14367
15770
 
14368
15771
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14369
15772
  case $host_os in
14370
 
  aix4* | aix5*)
 
15773
  aix[4-9]*)
14371
15774
    # If we're using GNU nm, then we don't want the "-C" option.
14372
15775
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
14373
15776
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14380
15783
    export_symbols_cmds_CXX="$ltdll_cmds"
14381
15784
  ;;
14382
15785
  cygwin* | mingw*)
14383
 
    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'
 
15786
    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'
14384
15787
  ;;
14385
15788
  *)
14386
15789
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14387
15790
  ;;
14388
15791
  esac
 
15792
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14389
15793
 
14390
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14391
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
15794
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
15795
$as_echo "$ld_shlibs_CXX" >&6; }
14392
15796
test "$ld_shlibs_CXX" = no && can_build_shared=no
14393
15797
 
14394
15798
#
14408
15812
      # Test whether the compiler implicitly links with -lc since on some
14409
15813
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14410
15814
      # to ld, don't add -lc before -lgcc.
14411
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14412
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
15815
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
15816
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14413
15817
      $rm conftest*
14414
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
15818
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14415
15819
 
14416
15820
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14417
15821
  (eval $ac_compile) 2>&5
14418
15822
  ac_status=$?
14419
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15823
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14420
15824
  (exit $ac_status); } 2>conftest.err; then
14421
15825
        soname=conftest
14422
15826
        lib=conftest
14434
15838
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14435
15839
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
14436
15840
  ac_status=$?
14437
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15841
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14438
15842
  (exit $ac_status); }
14439
15843
        then
14440
15844
          archive_cmds_need_lc_CXX=no
14446
15850
        cat conftest.err 1>&5
14447
15851
      fi
14448
15852
      $rm conftest*
14449
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14450
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
 
15853
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
15854
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
14451
15855
      ;;
14452
15856
    esac
14453
15857
  fi
14454
15858
  ;;
14455
15859
esac
14456
15860
 
14457
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14458
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
15861
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
15862
$as_echo_n "checking dynamic linker characteristics... " >&6; }
14459
15863
library_names_spec=
14460
15864
libname_spec='lib$name'
14461
15865
soname_spec=
14469
15873
version_type=none
14470
15874
dynamic_linker="$host_os ld.so"
14471
15875
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14472
 
if test "$GCC" = yes; then
14473
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14474
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14475
 
    # if the path contains ";" then we assume it to be the separator
14476
 
    # otherwise default to the standard path separator (i.e. ":") - it is
14477
 
    # assumed that no part of a normal pathname contains ";" but that should
14478
 
    # okay in the real world where ";" in dirpaths is itself problematic.
14479
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14480
 
  else
14481
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14482
 
  fi
14483
 
else
14484
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14485
 
fi
 
15876
 
14486
15877
need_lib_prefix=unknown
14487
15878
hardcode_into_libs=no
14488
15879
 
14500
15891
  soname_spec='${libname}${release}${shared_ext}$major'
14501
15892
  ;;
14502
15893
 
14503
 
aix4* | aix5*)
 
15894
aix[4-9]*)
14504
15895
  version_type=linux
14505
15896
  need_lib_prefix=no
14506
15897
  need_version=no
14639
16030
  shlibpath_overrides_runpath=yes
14640
16031
  shlibpath_var=DYLD_LIBRARY_PATH
14641
16032
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14642
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14643
 
  if test "$GCC" = yes; then
14644
 
    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"`
14645
 
  else
14646
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
14647
 
  fi
 
16033
 
14648
16034
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14649
16035
  ;;
14650
16036
 
14661
16047
  dynamic_linker=no
14662
16048
  ;;
14663
16049
 
14664
 
kfreebsd*-gnu)
14665
 
  version_type=linux
14666
 
  need_lib_prefix=no
14667
 
  need_version=no
14668
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14669
 
  soname_spec='${libname}${release}${shared_ext}$major'
14670
 
  shlibpath_var=LD_LIBRARY_PATH
14671
 
  shlibpath_overrides_runpath=no
14672
 
  hardcode_into_libs=yes
14673
 
  dynamic_linker='GNU ld.so'
14674
 
  ;;
14675
 
 
14676
16050
freebsd* | dragonfly*)
14677
16051
  # DragonFly does not have aout.  When/if they implement a new
14678
16052
  # versioning mechanism, adjust this.
14710
16084
    shlibpath_overrides_runpath=no
14711
16085
    hardcode_into_libs=yes
14712
16086
    ;;
14713
 
  freebsd*) # from 4.6 on
 
16087
  *) # from 4.6 on, and DragonFly
14714
16088
    shlibpath_overrides_runpath=yes
14715
16089
    hardcode_into_libs=yes
14716
16090
    ;;
14773
16147
  postinstall_cmds='chmod 555 $lib'
14774
16148
  ;;
14775
16149
 
14776
 
interix3*)
 
16150
interix[3-9]*)
14777
16151
  version_type=linux
14778
16152
  need_lib_prefix=no
14779
16153
  need_version=no
14828
16202
  ;;
14829
16203
 
14830
16204
# This must be Linux ELF.
14831
 
linux*)
 
16205
linux* | k*bsd*-gnu)
14832
16206
  version_type=linux
14833
16207
  need_lib_prefix=no
14834
16208
  need_version=no
14842
16216
  # before this can be enabled.
14843
16217
  hardcode_into_libs=yes
14844
16218
 
14845
 
  # find out which ABI we are using
14846
 
  libsuff=
14847
 
  case "$host_cpu" in
14848
 
  x86_64*|s390x*|powerpc64*)
14849
 
    echo '#line 14849 "configure"' > conftest.$ac_ext
14850
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14851
 
  (eval $ac_compile) 2>&5
14852
 
  ac_status=$?
14853
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14854
 
  (exit $ac_status); }; then
14855
 
      case `/usr/bin/file conftest.$ac_objext` in
14856
 
      *64-bit*)
14857
 
        libsuff=64
14858
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
14859
 
        ;;
14860
 
      esac
14861
 
    fi
14862
 
    rm -rf conftest*
14863
 
    ;;
14864
 
  esac
14865
 
 
14866
16219
  # Append ld.so.conf contents to the search path
14867
16220
  if test -f /etc/ld.so.conf; then
14868
 
    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' ' '`
14869
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
16221
    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' ' '`
 
16222
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14870
16223
  fi
14871
16224
 
14872
16225
  # We used to test for /lib/ld.so.1 and disable shared libraries on
14878
16231
  dynamic_linker='GNU/Linux ld.so'
14879
16232
  ;;
14880
16233
 
14881
 
knetbsd*-gnu)
14882
 
  version_type=linux
14883
 
  need_lib_prefix=no
14884
 
  need_version=no
14885
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14886
 
  soname_spec='${libname}${release}${shared_ext}$major'
14887
 
  shlibpath_var=LD_LIBRARY_PATH
14888
 
  shlibpath_overrides_runpath=no
14889
 
  hardcode_into_libs=yes
14890
 
  dynamic_linker='GNU ld.so'
14891
 
  ;;
14892
 
 
14893
16234
netbsd*)
14894
16235
  version_type=sunos
14895
16236
  need_lib_prefix=no
14971
16312
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14972
16313
  ;;
14973
16314
 
 
16315
rdos*)
 
16316
  dynamic_linker=no
 
16317
  ;;
 
16318
 
14974
16319
solaris*)
14975
16320
  version_type=linux
14976
16321
  need_lib_prefix=no
15063
16408
  dynamic_linker=no
15064
16409
  ;;
15065
16410
esac
15066
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15067
 
echo "${ECHO_T}$dynamic_linker" >&6
 
16411
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
16412
$as_echo "$dynamic_linker" >&6; }
15068
16413
test "$dynamic_linker" = no && can_build_shared=no
15069
16414
 
 
16415
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
16416
  $as_echo_n "(cached) " >&6
 
16417
else
 
16418
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
16419
fi
 
16420
 
 
16421
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
16422
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
16423
  $as_echo_n "(cached) " >&6
 
16424
else
 
16425
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
16426
fi
 
16427
 
 
16428
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
16429
 
15070
16430
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15071
16431
if test "$GCC" = yes; then
15072
16432
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15073
16433
fi
15074
16434
 
15075
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15076
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
16435
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
16436
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15077
16437
hardcode_action_CXX=
15078
16438
if test -n "$hardcode_libdir_flag_spec_CXX" || \
15079
16439
   test -n "$runpath_var_CXX" || \
15097
16457
  # directories.
15098
16458
  hardcode_action_CXX=unsupported
15099
16459
fi
15100
 
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15101
 
echo "${ECHO_T}$hardcode_action_CXX" >&6
 
16460
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
16461
$as_echo "$hardcode_action_CXX" >&6; }
15102
16462
 
15103
16463
if test "$hardcode_action_CXX" = relink; then
15104
16464
  # Fast installation is not supported
15150
16510
    predeps_CXX \
15151
16511
    postdeps_CXX \
15152
16512
    compiler_lib_search_path_CXX \
 
16513
    compiler_lib_search_dirs_CXX \
15153
16514
    archive_cmds_CXX \
15154
16515
    archive_expsym_cmds_CXX \
15155
16516
    postinstall_cmds_CXX \
15165
16526
    module_cmds_CXX \
15166
16527
    module_expsym_cmds_CXX \
15167
16528
    lt_cv_prog_compiler_c_o_CXX \
 
16529
    fix_srcfile_path_CXX \
15168
16530
    exclude_expsyms_CXX \
15169
16531
    include_expsyms_CXX; do
15170
16532
 
15397
16759
# shared library.
15398
16760
postdeps=$lt_postdeps_CXX
15399
16761
 
 
16762
# The directories searched by this compiler when creating a shared
 
16763
# library
 
16764
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
 
16765
 
15400
16766
# The library search path used internally by the compiler when linking
15401
16767
# a shared library.
15402
16768
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
15485
16851
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15486
16852
 
15487
16853
# Fix the shell variable \$srcfile for the compiler.
15488
 
fix_srcfile_path="$fix_srcfile_path_CXX"
 
16854
fix_srcfile_path=$lt_fix_srcfile_path
15489
16855
 
15490
16856
# Set to yes if exported symbols are required.
15491
16857
always_export_symbols=$always_export_symbols_CXX
15576
16942
objext_F77=$objext
15577
16943
 
15578
16944
# Code to be used in simple compile tests
15579
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
 
16945
lt_simple_compile_test_code="\
 
16946
      subroutine t
 
16947
      return
 
16948
      end
 
16949
"
15580
16950
 
15581
16951
# Code to be used in simple link tests
15582
 
lt_simple_link_test_code="      program t\n      end\n"
 
16952
lt_simple_link_test_code="\
 
16953
      program t
 
16954
      end
 
16955
"
15583
16956
 
15584
16957
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15585
16958
 
15595
16968
 
15596
16969
# save warnings/boilerplate of simple test code
15597
16970
ac_outfile=conftest.$ac_objext
15598
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
16971
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15599
16972
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15600
16973
_lt_compiler_boilerplate=`cat conftest.err`
15601
16974
$rm conftest*
15602
16975
 
15603
16976
ac_outfile=conftest.$ac_objext
15604
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
16977
echo "$lt_simple_link_test_code" >conftest.$ac_ext
15605
16978
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15606
16979
_lt_linker_boilerplate=`cat conftest.err`
15607
 
$rm conftest*
 
16980
$rm -r conftest*
15608
16981
 
15609
16982
 
15610
16983
# Allow CC to be a program name with arguments.
15623
16996
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15624
16997
 
15625
16998
 
15626
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15627
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
15628
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
15629
 
echo "${ECHO_T}$can_build_shared" >&6
 
16999
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
17000
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
17001
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
17002
$as_echo "$can_build_shared" >&6; }
15630
17003
 
15631
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15632
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
17004
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
17005
$as_echo_n "checking whether to build shared libraries... " >&6; }
15633
17006
test "$can_build_shared" = "no" && enable_shared=no
15634
17007
 
15635
17008
# On AIX, shared libraries and static libraries use the same namespace, and
15642
17015
    postinstall_cmds='$RANLIB $lib'
15643
17016
  fi
15644
17017
  ;;
15645
 
aix4* | aix5*)
 
17018
aix[4-9]*)
15646
17019
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
15647
17020
    test "$enable_shared" = yes && enable_static=no
15648
17021
  fi
15649
17022
  ;;
15650
17023
esac
15651
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
15652
 
echo "${ECHO_T}$enable_shared" >&6
 
17024
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
17025
$as_echo "$enable_shared" >&6; }
15653
17026
 
15654
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15655
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
17027
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
17028
$as_echo_n "checking whether to build static libraries... " >&6; }
15656
17029
# Make sure either enable_shared or enable_static is yes.
15657
17030
test "$enable_shared" = yes || enable_static=yes
15658
 
echo "$as_me:$LINENO: result: $enable_static" >&5
15659
 
echo "${ECHO_T}$enable_static" >&6
 
17031
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
17032
$as_echo "$enable_static" >&6; }
15660
17033
 
15661
17034
GCC_F77="$G77"
15662
17035
LD_F77="$LD"
15665
17038
lt_prog_compiler_pic_F77=
15666
17039
lt_prog_compiler_static_F77=
15667
17040
 
15668
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15669
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
17041
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
17042
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15670
17043
 
15671
17044
  if test "$GCC" = yes; then
15672
17045
    lt_prog_compiler_wl_F77='-Wl,'
15688
17061
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
15689
17062
      ;;
15690
17063
 
15691
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
17064
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15692
17065
      # PIC is the default for these OSes.
15693
17066
      ;;
15694
17067
 
15695
 
    mingw* | pw32* | os2*)
 
17068
    mingw* | cygwin* | pw32* | os2*)
15696
17069
      # This hack is so that the source file can tell whether it is being
15697
17070
      # built for inclusion in a dll (and should export symbols for example).
 
17071
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
17072
      # (--disable-auto-import) libraries
15698
17073
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15699
17074
      ;;
15700
17075
 
15704
17079
      lt_prog_compiler_pic_F77='-fno-common'
15705
17080
      ;;
15706
17081
 
15707
 
    interix3*)
 
17082
    interix[3-9]*)
15708
17083
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15709
17084
      # Instead, we relocate shared libraries at runtime.
15710
17085
      ;;
15762
17137
       esac
15763
17138
       ;;
15764
17139
 
15765
 
    mingw* | pw32* | os2*)
 
17140
    mingw* | cygwin* | pw32* | os2*)
15766
17141
      # This hack is so that the source file can tell whether it is being
15767
17142
      # built for inclusion in a dll (and should export symbols for example).
15768
17143
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15795
17170
      lt_prog_compiler_static_F77='-Bstatic'
15796
17171
      ;;
15797
17172
 
15798
 
    linux*)
 
17173
    linux* | k*bsd*-gnu)
15799
17174
      case $cc_basename in
15800
17175
      icc* | ecc*)
15801
17176
        lt_prog_compiler_wl_F77='-Wl,'
15814
17189
        # All Alpha code is PIC.
15815
17190
        lt_prog_compiler_static_F77='-non_shared'
15816
17191
        ;;
 
17192
      *)
 
17193
        case `$CC -V 2>&1 | sed 5q` in
 
17194
        *Sun\ C*)
 
17195
          # Sun C 5.9
 
17196
          lt_prog_compiler_pic_F77='-KPIC'
 
17197
          lt_prog_compiler_static_F77='-Bstatic'
 
17198
          lt_prog_compiler_wl_F77='-Wl,'
 
17199
          ;;
 
17200
        *Sun\ F*)
 
17201
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
17202
          lt_prog_compiler_pic_F77='-KPIC'
 
17203
          lt_prog_compiler_static_F77='-Bstatic'
 
17204
          lt_prog_compiler_wl_F77=''
 
17205
          ;;
 
17206
        esac
 
17207
        ;;
15817
17208
      esac
15818
17209
      ;;
15819
17210
 
15823
17214
      lt_prog_compiler_static_F77='-non_shared'
15824
17215
      ;;
15825
17216
 
 
17217
    rdos*)
 
17218
      lt_prog_compiler_static_F77='-non_shared'
 
17219
      ;;
 
17220
 
15826
17221
    solaris*)
15827
17222
      lt_prog_compiler_pic_F77='-KPIC'
15828
17223
      lt_prog_compiler_static_F77='-Bstatic'
15875
17270
    esac
15876
17271
  fi
15877
17272
 
15878
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
15879
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
 
17273
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
17274
$as_echo "$lt_prog_compiler_pic_F77" >&6; }
15880
17275
 
15881
17276
#
15882
17277
# Check to make sure the PIC flag actually works.
15883
17278
#
15884
17279
if test -n "$lt_prog_compiler_pic_F77"; then
15885
17280
 
15886
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15887
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
15888
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
15889
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17281
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
17282
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
 
17283
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
 
17284
  $as_echo_n "(cached) " >&6
15890
17285
else
15891
 
  lt_prog_compiler_pic_works_F77=no
 
17286
  lt_cv_prog_compiler_pic_works_F77=no
15892
17287
  ac_outfile=conftest.$ac_objext
15893
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
17288
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15894
17289
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
15895
17290
   # Insert the option either (1) after the last *FLAGS variable, or
15896
17291
   # (2) before a word containing "conftest.", or (3) at the end.
15901
17296
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15902
17297
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15903
17298
   -e 's:$: $lt_compiler_flag:'`
15904
 
   (eval echo "\"\$as_me:15904: $lt_compile\"" >&5)
 
17299
   (eval echo "\"\$as_me:17299: $lt_compile\"" >&5)
15905
17300
   (eval "$lt_compile" 2>conftest.err)
15906
17301
   ac_status=$?
15907
17302
   cat conftest.err >&5
15908
 
   echo "$as_me:15908: \$? = $ac_status" >&5
 
17303
   echo "$as_me:17303: \$? = $ac_status" >&5
15909
17304
   if (exit $ac_status) && test -s "$ac_outfile"; then
15910
17305
     # The compiler can only warn and ignore the option if not recognized
15911
17306
     # So say no if there are warnings other than the usual output.
15912
17307
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15913
17308
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15914
17309
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15915
 
       lt_prog_compiler_pic_works_F77=yes
 
17310
       lt_cv_prog_compiler_pic_works_F77=yes
15916
17311
     fi
15917
17312
   fi
15918
17313
   $rm conftest*
15919
17314
 
15920
17315
fi
15921
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
15922
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
 
17316
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
 
17317
$as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
15923
17318
 
15924
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
 
17319
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
15925
17320
    case $lt_prog_compiler_pic_F77 in
15926
17321
     "" | " "*) ;;
15927
17322
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
15946
17341
# Check to make sure the static flag actually works.
15947
17342
#
15948
17343
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
15949
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15950
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
15951
 
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
15952
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17344
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
17345
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
17346
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
 
17347
  $as_echo_n "(cached) " >&6
15953
17348
else
15954
 
  lt_prog_compiler_static_works_F77=no
 
17349
  lt_cv_prog_compiler_static_works_F77=no
15955
17350
   save_LDFLAGS="$LDFLAGS"
15956
17351
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15957
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
17352
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
15958
17353
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15959
17354
     # The linker can only warn and ignore the option if not recognized
15960
17355
     # So say no if there are warnings
15964
17359
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15965
17360
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15966
17361
       if diff conftest.exp conftest.er2 >/dev/null; then
15967
 
         lt_prog_compiler_static_works_F77=yes
 
17362
         lt_cv_prog_compiler_static_works_F77=yes
15968
17363
       fi
15969
17364
     else
15970
 
       lt_prog_compiler_static_works_F77=yes
 
17365
       lt_cv_prog_compiler_static_works_F77=yes
15971
17366
     fi
15972
17367
   fi
15973
 
   $rm conftest*
 
17368
   $rm -r conftest*
15974
17369
   LDFLAGS="$save_LDFLAGS"
15975
17370
 
15976
17371
fi
15977
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
15978
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
 
17372
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
 
17373
$as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
15979
17374
 
15980
 
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
 
17375
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
15981
17376
    :
15982
17377
else
15983
17378
    lt_prog_compiler_static_F77=
15984
17379
fi
15985
17380
 
15986
17381
 
15987
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15988
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
17382
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
17383
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15989
17384
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
15990
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17385
  $as_echo_n "(cached) " >&6
15991
17386
else
15992
17387
  lt_cv_prog_compiler_c_o_F77=no
15993
17388
   $rm -r conftest 2>/dev/null
15994
17389
   mkdir conftest
15995
17390
   cd conftest
15996
17391
   mkdir out
15997
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
17392
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15998
17393
 
15999
17394
   lt_compiler_flag="-o out/conftest2.$ac_objext"
16000
17395
   # Insert the option either (1) after the last *FLAGS variable, or
16005
17400
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16006
17401
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16007
17402
   -e 's:$: $lt_compiler_flag:'`
16008
 
   (eval echo "\"\$as_me:16008: $lt_compile\"" >&5)
 
17403
   (eval echo "\"\$as_me:17403: $lt_compile\"" >&5)
16009
17404
   (eval "$lt_compile" 2>out/conftest.err)
16010
17405
   ac_status=$?
16011
17406
   cat out/conftest.err >&5
16012
 
   echo "$as_me:16012: \$? = $ac_status" >&5
 
17407
   echo "$as_me:17407: \$? = $ac_status" >&5
16013
17408
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16014
17409
   then
16015
17410
     # The compiler can only warn and ignore the option if not recognized
16031
17426
   $rm conftest*
16032
17427
 
16033
17428
fi
16034
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
16035
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
 
17429
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
17430
$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
16036
17431
 
16037
17432
 
16038
17433
hard_links="nottested"
16039
17434
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
16040
17435
  # do not overwrite the value of need_locks provided by the user
16041
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16042
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
17436
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
17437
$as_echo_n "checking if we can lock with hard links... " >&6; }
16043
17438
  hard_links=yes
16044
17439
  $rm conftest*
16045
17440
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16046
17441
  touch conftest.a
16047
17442
  ln conftest.a conftest.b 2>&5 || hard_links=no
16048
17443
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16049
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
16050
 
echo "${ECHO_T}$hard_links" >&6
 
17444
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
17445
$as_echo "$hard_links" >&6; }
16051
17446
  if test "$hard_links" = no; then
16052
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16053
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
17447
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
17448
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16054
17449
    need_locks=warn
16055
17450
  fi
16056
17451
else
16057
17452
  need_locks=no
16058
17453
fi
16059
17454
 
16060
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16061
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
17455
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
17456
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16062
17457
 
16063
17458
  runpath_var=
16064
17459
  allow_undefined_flag_F77=
16089
17484
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
16090
17485
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16091
17486
  # as well as any symbol that contains `d'.
16092
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
 
17487
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16093
17488
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16094
17489
  # platforms (ab)use it in PIC code, but their linkers get confused if
16095
17490
  # the symbol is explicitly referenced.  Since portable code cannot
16096
17491
  # rely on this symbol name, it's probably fine to never include it in
16097
17492
  # preloaded symbol tables.
 
17493
  # Exclude shared library initialization/finalization symbols.
16098
17494
  extract_expsyms_cmds=
16099
17495
  # Just being paranoid about ensuring that cc_basename is set.
16100
17496
  for cc_temp in $compiler""; do
16153
17549
 
16154
17550
    # See if GNU ld supports shared libraries.
16155
17551
    case $host_os in
16156
 
    aix3* | aix4* | aix5*)
 
17552
    aix[3-9]*)
16157
17553
      # On AIX/PPC, the GNU linker is very broken
16158
17554
      if test "$host_cpu" != ia64; then
16159
17555
        ld_shlibs_F77=no
16201
17597
      allow_undefined_flag_F77=unsupported
16202
17598
      always_export_symbols_F77=no
16203
17599
      enable_shared_with_static_runtimes_F77=yes
16204
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
17600
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16205
17601
 
16206
17602
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16207
17603
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16219
17615
      fi
16220
17616
      ;;
16221
17617
 
16222
 
    interix3*)
 
17618
    interix[3-9]*)
16223
17619
      hardcode_direct_F77=no
16224
17620
      hardcode_shlibpath_var_F77=no
16225
17621
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16234
17630
      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'
16235
17631
      ;;
16236
17632
 
16237
 
    linux*)
 
17633
    gnu* | linux* | k*bsd*-gnu)
16238
17634
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16239
17635
        tmp_addflag=
16240
17636
        case $cc_basename,$host_cpu in
16252
17648
        ifc* | ifort*)                  # Intel Fortran compiler
16253
17649
          tmp_addflag=' -nofor_main' ;;
16254
17650
        esac
16255
 
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
17651
        case `$CC -V 2>&1 | sed 5q` in
 
17652
        *Sun\ C*)                       # Sun C 5.9
 
17653
          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'
 
17654
          tmp_sharedflag='-G' ;;
 
17655
        *Sun\ F*)                       # Sun Fortran 8.3
 
17656
          tmp_sharedflag='-G' ;;
 
17657
        *)
 
17658
          tmp_sharedflag='-shared' ;;
 
17659
        esac
 
17660
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16256
17661
 
16257
17662
        if test $supports_anon_versioning = yes; then
16258
17663
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
16259
17664
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16260
17665
  $echo "local: *; };" >> $output_objdir/$libname.ver~
16261
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
17666
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16262
17667
        fi
16263
17668
      else
16264
17669
        ld_shlibs_F77=no
16363
17768
      fi
16364
17769
      ;;
16365
17770
 
16366
 
    aix4* | aix5*)
 
17771
    aix[4-9]*)
16367
17772
      if test "$host_cpu" = ia64; then
16368
17773
        # On IA64, the linker does run time linking by default, so we don't
16369
17774
        # have to do anything special.
16383
17788
        # Test if we are trying to use run time linking or normal
16384
17789
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16385
17790
        # need to do runtime linking.
16386
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
17791
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
16387
17792
          for ld_flag in $LDFLAGS; do
16388
17793
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
16389
17794
            aix_use_runtimelinking=yes
16417
17822
           strings "$collect2name" | grep resolve_lib_name >/dev/null
16418
17823
          then
16419
17824
          # We have reworked collect2
16420
 
          hardcode_direct_F77=yes
 
17825
          :
16421
17826
          else
16422
17827
          # We have old collect2
16423
17828
          hardcode_direct_F77=unsupported
16463
17868
      end
16464
17869
_ACEOF
16465
17870
rm -f conftest.$ac_objext conftest$ac_exeext
16466
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16467
 
  (eval $ac_link) 2>conftest.er1
 
17871
if { (ac_try="$ac_link"
 
17872
case "(($ac_try" in
 
17873
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17874
  *) ac_try_echo=$ac_try;;
 
17875
esac
 
17876
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17877
$as_echo "$ac_try_echo") >&5
 
17878
  (eval "$ac_link") 2>conftest.er1
16468
17879
  ac_status=$?
16469
17880
  grep -v '^ *+' conftest.er1 >conftest.err
16470
17881
  rm -f conftest.er1
16471
17882
  cat conftest.err >&5
16472
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16473
 
  (exit $ac_status); } &&
16474
 
         { ac_try='test -z "$ac_f77_werror_flag"
16475
 
                         || test ! -s conftest.err'
16476
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16477
 
  (eval $ac_try) 2>&5
16478
 
  ac_status=$?
16479
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16480
 
  (exit $ac_status); }; } &&
16481
 
         { ac_try='test -s conftest$ac_exeext'
16482
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16483
 
  (eval $ac_try) 2>&5
16484
 
  ac_status=$?
16485
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16486
 
  (exit $ac_status); }; }; then
 
17883
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17884
  (exit $ac_status); } && {
 
17885
         test -z "$ac_f77_werror_flag" ||
 
17886
         test ! -s conftest.err
 
17887
       } && test -s conftest$ac_exeext && {
 
17888
         test "$cross_compiling" = yes ||
 
17889
         $as_test_x conftest$ac_exeext
 
17890
       }; then
16487
17891
 
16488
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16489
 
}'`
 
17892
lt_aix_libpath_sed='
 
17893
    /Import File Strings/,/^$/ {
 
17894
        /^0/ {
 
17895
            s/^0  *\(.*\)$/\1/
 
17896
            p
 
17897
        }
 
17898
    }'
 
17899
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16490
17900
# Check for a 64-bit object if we didn't find anything.
16491
 
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; }
16492
 
}'`; fi
 
17901
if test -z "$aix_libpath"; then
 
17902
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
17903
fi
16493
17904
else
16494
 
  echo "$as_me: failed program was:" >&5
 
17905
  $as_echo "$as_me: failed program was:" >&5
16495
17906
sed 's/^/| /' conftest.$ac_ext >&5
16496
17907
 
 
17908
 
16497
17909
fi
16498
 
rm -f conftest.err conftest.$ac_objext \
 
17910
 
 
17911
rm -rf conftest.dSYM
 
17912
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16499
17913
      conftest$ac_exeext conftest.$ac_ext
16500
17914
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16501
17915
 
16514
17928
      end
16515
17929
_ACEOF
16516
17930
rm -f conftest.$ac_objext conftest$ac_exeext
16517
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16518
 
  (eval $ac_link) 2>conftest.er1
 
17931
if { (ac_try="$ac_link"
 
17932
case "(($ac_try" in
 
17933
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17934
  *) ac_try_echo=$ac_try;;
 
17935
esac
 
17936
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17937
$as_echo "$ac_try_echo") >&5
 
17938
  (eval "$ac_link") 2>conftest.er1
16519
17939
  ac_status=$?
16520
17940
  grep -v '^ *+' conftest.er1 >conftest.err
16521
17941
  rm -f conftest.er1
16522
17942
  cat conftest.err >&5
16523
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16524
 
  (exit $ac_status); } &&
16525
 
         { ac_try='test -z "$ac_f77_werror_flag"
16526
 
                         || test ! -s conftest.err'
16527
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16528
 
  (eval $ac_try) 2>&5
16529
 
  ac_status=$?
16530
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16531
 
  (exit $ac_status); }; } &&
16532
 
         { ac_try='test -s conftest$ac_exeext'
16533
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16534
 
  (eval $ac_try) 2>&5
16535
 
  ac_status=$?
16536
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16537
 
  (exit $ac_status); }; }; then
 
17943
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17944
  (exit $ac_status); } && {
 
17945
         test -z "$ac_f77_werror_flag" ||
 
17946
         test ! -s conftest.err
 
17947
       } && test -s conftest$ac_exeext && {
 
17948
         test "$cross_compiling" = yes ||
 
17949
         $as_test_x conftest$ac_exeext
 
17950
       }; then
16538
17951
 
16539
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16540
 
}'`
 
17952
lt_aix_libpath_sed='
 
17953
    /Import File Strings/,/^$/ {
 
17954
        /^0/ {
 
17955
            s/^0  *\(.*\)$/\1/
 
17956
            p
 
17957
        }
 
17958
    }'
 
17959
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16541
17960
# Check for a 64-bit object if we didn't find anything.
16542
 
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; }
16543
 
}'`; fi
 
17961
if test -z "$aix_libpath"; then
 
17962
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
17963
fi
16544
17964
else
16545
 
  echo "$as_me: failed program was:" >&5
 
17965
  $as_echo "$as_me: failed program was:" >&5
16546
17966
sed 's/^/| /' conftest.$ac_ext >&5
16547
17967
 
 
17968
 
16548
17969
fi
16549
 
rm -f conftest.err conftest.$ac_objext \
 
17970
 
 
17971
rm -rf conftest.dSYM
 
17972
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16550
17973
      conftest$ac_exeext conftest.$ac_ext
16551
17974
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16552
17975
 
16592
18015
      # The linker will automatically build a .lib file if we build a DLL.
16593
18016
      old_archive_From_new_cmds_F77='true'
16594
18017
      # FIXME: Should let the user specify the lib program.
16595
 
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
18018
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
16596
18019
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
16597
18020
      enable_shared_with_static_runtimes_F77=yes
16598
18021
      ;;
16625
18048
      link_all_deplibs_F77=yes
16626
18049
    if test "$GCC" = yes ; then
16627
18050
        output_verbose_link_cmd='echo'
16628
 
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16629
 
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16630
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16631
 
      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}'
16632
 
      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}'
 
18051
        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}"
 
18052
        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
18053
        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}"
 
18054
        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}"
16633
18055
    else
16634
18056
      case $cc_basename in
16635
18057
        xlc*)
16636
18058
         output_verbose_link_cmd='echo'
16637
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
18059
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
16638
18060
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16639
18061
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16640
 
         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}'
 
18062
         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}'
16641
18063
          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}'
16642
18064
          ;;
16643
18065
       *)
16677
18099
      ;;
16678
18100
 
16679
18101
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16680
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
18102
    freebsd* | dragonfly*)
16681
18103
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16682
18104
      hardcode_libdir_flag_spec_F77='-R$libdir'
16683
18105
      hardcode_direct_F77=yes
16799
18221
      ;;
16800
18222
 
16801
18223
    openbsd*)
16802
 
      hardcode_direct_F77=yes
16803
 
      hardcode_shlibpath_var_F77=no
16804
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16805
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16806
 
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16807
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16808
 
        export_dynamic_flag_spec_F77='${wl}-E'
 
18224
      if test -f /usr/libexec/ld.so; then
 
18225
        hardcode_direct_F77=yes
 
18226
        hardcode_shlibpath_var_F77=no
 
18227
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
18228
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
18229
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
18230
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
18231
          export_dynamic_flag_spec_F77='${wl}-E'
 
18232
        else
 
18233
          case $host_os in
 
18234
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
18235
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
18236
             hardcode_libdir_flag_spec_F77='-R$libdir'
 
18237
             ;;
 
18238
           *)
 
18239
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
18240
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
18241
             ;;
 
18242
          esac
 
18243
        fi
16809
18244
      else
16810
 
       case $host_os in
16811
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16812
 
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16813
 
           hardcode_libdir_flag_spec_F77='-R$libdir'
16814
 
           ;;
16815
 
         *)
16816
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16817
 
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16818
 
           ;;
16819
 
       esac
 
18245
        ld_shlibs_F77=no
16820
18246
      fi
16821
18247
      ;;
16822
18248
 
16875
18301
      case $host_os in
16876
18302
      solaris2.[0-5] | solaris2.[0-5].*) ;;
16877
18303
      *)
16878
 
        # The compiler driver will combine linker options so we
16879
 
        # cannot just pass the convience library names through
16880
 
        # without $wl, iff we do not link with $LD.
16881
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
18304
        # The compiler driver will combine and reorder linker options,
 
18305
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
18306
        # but is careful enough not to reorder.
16882
18307
        # Supported since Solaris 2.6 (maybe 2.5.1?)
16883
 
        case $wlarc in
16884
 
        '')
16885
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
16886
 
        *)
16887
 
          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' ;;
16888
 
        esac ;;
 
18308
        if test "$GCC" = yes; then
 
18309
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
18310
        else
 
18311
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
 
18312
        fi
 
18313
        ;;
16889
18314
      esac
16890
18315
      link_all_deplibs_F77=yes
16891
18316
      ;;
16942
18367
      fi
16943
18368
      ;;
16944
18369
 
16945
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
18370
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16946
18371
      no_undefined_flag_F77='${wl}-z,text'
16947
18372
      archive_cmds_need_lc_F77=no
16948
18373
      hardcode_shlibpath_var_F77=no
16995
18420
    esac
16996
18421
  fi
16997
18422
 
16998
 
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16999
 
echo "${ECHO_T}$ld_shlibs_F77" >&6
 
18423
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
18424
$as_echo "$ld_shlibs_F77" >&6; }
17000
18425
test "$ld_shlibs_F77" = no && can_build_shared=no
17001
18426
 
17002
18427
#
17016
18441
      # Test whether the compiler implicitly links with -lc since on some
17017
18442
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
17018
18443
      # to ld, don't add -lc before -lgcc.
17019
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17020
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
18444
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
18445
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
17021
18446
      $rm conftest*
17022
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
18447
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17023
18448
 
17024
18449
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17025
18450
  (eval $ac_compile) 2>&5
17026
18451
  ac_status=$?
17027
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18452
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17028
18453
  (exit $ac_status); } 2>conftest.err; then
17029
18454
        soname=conftest
17030
18455
        lib=conftest
17042
18467
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17043
18468
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
17044
18469
  ac_status=$?
17045
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18470
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17046
18471
  (exit $ac_status); }
17047
18472
        then
17048
18473
          archive_cmds_need_lc_F77=no
17054
18479
        cat conftest.err 1>&5
17055
18480
      fi
17056
18481
      $rm conftest*
17057
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
17058
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
 
18482
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
18483
$as_echo "$archive_cmds_need_lc_F77" >&6; }
17059
18484
      ;;
17060
18485
    esac
17061
18486
  fi
17062
18487
  ;;
17063
18488
esac
17064
18489
 
17065
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17066
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
18490
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
18491
$as_echo_n "checking dynamic linker characteristics... " >&6; }
17067
18492
library_names_spec=
17068
18493
libname_spec='lib$name'
17069
18494
soname_spec=
17077
18502
version_type=none
17078
18503
dynamic_linker="$host_os ld.so"
17079
18504
sys_lib_dlsearch_path_spec="/lib /usr/lib"
17080
 
if test "$GCC" = yes; then
17081
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17082
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
17083
 
    # if the path contains ";" then we assume it to be the separator
17084
 
    # otherwise default to the standard path separator (i.e. ":") - it is
17085
 
    # assumed that no part of a normal pathname contains ";" but that should
17086
 
    # okay in the real world where ";" in dirpaths is itself problematic.
17087
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17088
 
  else
17089
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
17090
 
  fi
17091
 
else
17092
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17093
 
fi
 
18505
 
17094
18506
need_lib_prefix=unknown
17095
18507
hardcode_into_libs=no
17096
18508
 
17108
18520
  soname_spec='${libname}${release}${shared_ext}$major'
17109
18521
  ;;
17110
18522
 
17111
 
aix4* | aix5*)
 
18523
aix[4-9]*)
17112
18524
  version_type=linux
17113
18525
  need_lib_prefix=no
17114
18526
  need_version=no
17247
18659
  shlibpath_overrides_runpath=yes
17248
18660
  shlibpath_var=DYLD_LIBRARY_PATH
17249
18661
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17250
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17251
 
  if test "$GCC" = yes; then
17252
 
    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"`
17253
 
  else
17254
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
17255
 
  fi
 
18662
 
17256
18663
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17257
18664
  ;;
17258
18665
 
17269
18676
  dynamic_linker=no
17270
18677
  ;;
17271
18678
 
17272
 
kfreebsd*-gnu)
17273
 
  version_type=linux
17274
 
  need_lib_prefix=no
17275
 
  need_version=no
17276
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17277
 
  soname_spec='${libname}${release}${shared_ext}$major'
17278
 
  shlibpath_var=LD_LIBRARY_PATH
17279
 
  shlibpath_overrides_runpath=no
17280
 
  hardcode_into_libs=yes
17281
 
  dynamic_linker='GNU ld.so'
17282
 
  ;;
17283
 
 
17284
18679
freebsd* | dragonfly*)
17285
18680
  # DragonFly does not have aout.  When/if they implement a new
17286
18681
  # versioning mechanism, adjust this.
17318
18713
    shlibpath_overrides_runpath=no
17319
18714
    hardcode_into_libs=yes
17320
18715
    ;;
17321
 
  freebsd*) # from 4.6 on
 
18716
  *) # from 4.6 on, and DragonFly
17322
18717
    shlibpath_overrides_runpath=yes
17323
18718
    hardcode_into_libs=yes
17324
18719
    ;;
17381
18776
  postinstall_cmds='chmod 555 $lib'
17382
18777
  ;;
17383
18778
 
17384
 
interix3*)
 
18779
interix[3-9]*)
17385
18780
  version_type=linux
17386
18781
  need_lib_prefix=no
17387
18782
  need_version=no
17436
18831
  ;;
17437
18832
 
17438
18833
# This must be Linux ELF.
17439
 
linux*)
 
18834
linux* | k*bsd*-gnu)
17440
18835
  version_type=linux
17441
18836
  need_lib_prefix=no
17442
18837
  need_version=no
17450
18845
  # before this can be enabled.
17451
18846
  hardcode_into_libs=yes
17452
18847
 
17453
 
  # find out which ABI we are using
17454
 
  libsuff=
17455
 
  case "$host_cpu" in
17456
 
  x86_64*|s390x*|powerpc64*)
17457
 
    echo '#line 17457 "configure"' > conftest.$ac_ext
17458
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17459
 
  (eval $ac_compile) 2>&5
17460
 
  ac_status=$?
17461
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17462
 
  (exit $ac_status); }; then
17463
 
      case `/usr/bin/file conftest.$ac_objext` in
17464
 
      *64-bit*)
17465
 
        libsuff=64
17466
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17467
 
        ;;
17468
 
      esac
17469
 
    fi
17470
 
    rm -rf conftest*
17471
 
    ;;
17472
 
  esac
17473
 
 
17474
18848
  # Append ld.so.conf contents to the search path
17475
18849
  if test -f /etc/ld.so.conf; then
17476
 
    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' ' '`
17477
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
18850
    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' ' '`
 
18851
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17478
18852
  fi
17479
18853
 
17480
18854
  # We used to test for /lib/ld.so.1 and disable shared libraries on
17486
18860
  dynamic_linker='GNU/Linux ld.so'
17487
18861
  ;;
17488
18862
 
17489
 
knetbsd*-gnu)
17490
 
  version_type=linux
17491
 
  need_lib_prefix=no
17492
 
  need_version=no
17493
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17494
 
  soname_spec='${libname}${release}${shared_ext}$major'
17495
 
  shlibpath_var=LD_LIBRARY_PATH
17496
 
  shlibpath_overrides_runpath=no
17497
 
  hardcode_into_libs=yes
17498
 
  dynamic_linker='GNU ld.so'
17499
 
  ;;
17500
 
 
17501
18863
netbsd*)
17502
18864
  version_type=sunos
17503
18865
  need_lib_prefix=no
17579
18941
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17580
18942
  ;;
17581
18943
 
 
18944
rdos*)
 
18945
  dynamic_linker=no
 
18946
  ;;
 
18947
 
17582
18948
solaris*)
17583
18949
  version_type=linux
17584
18950
  need_lib_prefix=no
17671
19037
  dynamic_linker=no
17672
19038
  ;;
17673
19039
esac
17674
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17675
 
echo "${ECHO_T}$dynamic_linker" >&6
 
19040
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
19041
$as_echo "$dynamic_linker" >&6; }
17676
19042
test "$dynamic_linker" = no && can_build_shared=no
17677
19043
 
 
19044
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
19045
  $as_echo_n "(cached) " >&6
 
19046
else
 
19047
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
19048
fi
 
19049
 
 
19050
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
19051
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
19052
  $as_echo_n "(cached) " >&6
 
19053
else
 
19054
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
19055
fi
 
19056
 
 
19057
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
19058
 
17678
19059
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17679
19060
if test "$GCC" = yes; then
17680
19061
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17681
19062
fi
17682
19063
 
17683
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17684
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
19064
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
19065
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17685
19066
hardcode_action_F77=
17686
19067
if test -n "$hardcode_libdir_flag_spec_F77" || \
17687
19068
   test -n "$runpath_var_F77" || \
17705
19086
  # directories.
17706
19087
  hardcode_action_F77=unsupported
17707
19088
fi
17708
 
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
17709
 
echo "${ECHO_T}$hardcode_action_F77" >&6
 
19089
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
19090
$as_echo "$hardcode_action_F77" >&6; }
17710
19091
 
17711
19092
if test "$hardcode_action_F77" = relink; then
17712
19093
  # Fast installation is not supported
17758
19139
    predeps_F77 \
17759
19140
    postdeps_F77 \
17760
19141
    compiler_lib_search_path_F77 \
 
19142
    compiler_lib_search_dirs_F77 \
17761
19143
    archive_cmds_F77 \
17762
19144
    archive_expsym_cmds_F77 \
17763
19145
    postinstall_cmds_F77 \
17773
19155
    module_cmds_F77 \
17774
19156
    module_expsym_cmds_F77 \
17775
19157
    lt_cv_prog_compiler_c_o_F77 \
 
19158
    fix_srcfile_path_F77 \
17776
19159
    exclude_expsyms_F77 \
17777
19160
    include_expsyms_F77; do
17778
19161
 
18005
19388
# shared library.
18006
19389
postdeps=$lt_postdeps_F77
18007
19390
 
 
19391
# The directories searched by this compiler when creating a shared
 
19392
# library
 
19393
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
 
19394
 
18008
19395
# The library search path used internally by the compiler when linking
18009
19396
# a shared library.
18010
19397
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
18093
19480
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18094
19481
 
18095
19482
# Fix the shell variable \$srcfile for the compiler.
18096
 
fix_srcfile_path="$fix_srcfile_path_F77"
 
19483
fix_srcfile_path=$lt_fix_srcfile_path
18097
19484
 
18098
19485
# Set to yes if exported symbols are required.
18099
19486
always_export_symbols=$always_export_symbols_F77
18143
19530
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
18144
19531
 
18145
19532
 
18146
 
 
18147
19533
# Source file extension for Java test sources.
18148
19534
ac_ext=java
18149
19535
 
18152
19538
objext_GCJ=$objext
18153
19539
 
18154
19540
# Code to be used in simple compile tests
18155
 
lt_simple_compile_test_code="class foo {}\n"
 
19541
lt_simple_compile_test_code="class foo {}"
18156
19542
 
18157
19543
# Code to be used in simple link tests
18158
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
 
19544
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
18159
19545
 
18160
19546
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
18161
19547
 
18171
19557
 
18172
19558
# save warnings/boilerplate of simple test code
18173
19559
ac_outfile=conftest.$ac_objext
18174
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
19560
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
18175
19561
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18176
19562
_lt_compiler_boilerplate=`cat conftest.err`
18177
19563
$rm conftest*
18178
19564
 
18179
19565
ac_outfile=conftest.$ac_objext
18180
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
19566
echo "$lt_simple_link_test_code" >conftest.$ac_ext
18181
19567
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18182
19568
_lt_linker_boilerplate=`cat conftest.err`
18183
 
$rm conftest*
 
19569
$rm -r conftest*
18184
19570
 
18185
19571
 
18186
19572
# Allow CC to be a program name with arguments.
18211
19597
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
18212
19598
 
18213
19599
 
18214
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
18215
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
19600
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
19601
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
18216
19602
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
18217
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19603
  $as_echo_n "(cached) " >&6
18218
19604
else
18219
19605
  lt_cv_prog_compiler_rtti_exceptions=no
18220
19606
  ac_outfile=conftest.$ac_objext
18221
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
19607
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18222
19608
   lt_compiler_flag="-fno-rtti -fno-exceptions"
18223
19609
   # Insert the option either (1) after the last *FLAGS variable, or
18224
19610
   # (2) before a word containing "conftest.", or (3) at the end.
18229
19615
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18230
19616
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18231
19617
   -e 's:$: $lt_compiler_flag:'`
18232
 
   (eval echo "\"\$as_me:18232: $lt_compile\"" >&5)
 
19618
   (eval echo "\"\$as_me:19618: $lt_compile\"" >&5)
18233
19619
   (eval "$lt_compile" 2>conftest.err)
18234
19620
   ac_status=$?
18235
19621
   cat conftest.err >&5
18236
 
   echo "$as_me:18236: \$? = $ac_status" >&5
 
19622
   echo "$as_me:19622: \$? = $ac_status" >&5
18237
19623
   if (exit $ac_status) && test -s "$ac_outfile"; then
18238
19624
     # The compiler can only warn and ignore the option if not recognized
18239
19625
     # So say no if there are warnings other than the usual output.
18246
19632
   $rm conftest*
18247
19633
 
18248
19634
fi
18249
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
18250
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
19635
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
19636
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
18251
19637
 
18252
19638
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
18253
19639
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
18261
19647
lt_prog_compiler_pic_GCJ=
18262
19648
lt_prog_compiler_static_GCJ=
18263
19649
 
18264
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
18265
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
19650
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
19651
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
18266
19652
 
18267
19653
  if test "$GCC" = yes; then
18268
19654
    lt_prog_compiler_wl_GCJ='-Wl,'
18284
19670
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
18285
19671
      ;;
18286
19672
 
18287
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
19673
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
18288
19674
      # PIC is the default for these OSes.
18289
19675
      ;;
18290
19676
 
18291
 
    mingw* | pw32* | os2*)
 
19677
    mingw* | cygwin* | pw32* | os2*)
18292
19678
      # This hack is so that the source file can tell whether it is being
18293
19679
      # built for inclusion in a dll (and should export symbols for example).
18294
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 
19680
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
19681
      # (--disable-auto-import) libraries
 
19682
 
18295
19683
      ;;
18296
19684
 
18297
19685
    darwin* | rhapsody*)
18300
19688
      lt_prog_compiler_pic_GCJ='-fno-common'
18301
19689
      ;;
18302
19690
 
18303
 
    interix3*)
 
19691
    interix[3-9]*)
18304
19692
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
18305
19693
      # Instead, we relocate shared libraries at runtime.
18306
19694
      ;;
18358
19746
       esac
18359
19747
       ;;
18360
19748
 
18361
 
    mingw* | pw32* | os2*)
 
19749
    mingw* | cygwin* | pw32* | os2*)
18362
19750
      # This hack is so that the source file can tell whether it is being
18363
19751
      # built for inclusion in a dll (and should export symbols for example).
18364
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 
19752
 
18365
19753
      ;;
18366
19754
 
18367
19755
    hpux9* | hpux10* | hpux11*)
18391
19779
      lt_prog_compiler_static_GCJ='-Bstatic'
18392
19780
      ;;
18393
19781
 
18394
 
    linux*)
 
19782
    linux* | k*bsd*-gnu)
18395
19783
      case $cc_basename in
18396
19784
      icc* | ecc*)
18397
19785
        lt_prog_compiler_wl_GCJ='-Wl,'
18410
19798
        # All Alpha code is PIC.
18411
19799
        lt_prog_compiler_static_GCJ='-non_shared'
18412
19800
        ;;
 
19801
      *)
 
19802
        case `$CC -V 2>&1 | sed 5q` in
 
19803
        *Sun\ C*)
 
19804
          # Sun C 5.9
 
19805
          lt_prog_compiler_pic_GCJ='-KPIC'
 
19806
          lt_prog_compiler_static_GCJ='-Bstatic'
 
19807
          lt_prog_compiler_wl_GCJ='-Wl,'
 
19808
          ;;
 
19809
        *Sun\ F*)
 
19810
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
19811
          lt_prog_compiler_pic_GCJ='-KPIC'
 
19812
          lt_prog_compiler_static_GCJ='-Bstatic'
 
19813
          lt_prog_compiler_wl_GCJ=''
 
19814
          ;;
 
19815
        esac
 
19816
        ;;
18413
19817
      esac
18414
19818
      ;;
18415
19819
 
18419
19823
      lt_prog_compiler_static_GCJ='-non_shared'
18420
19824
      ;;
18421
19825
 
 
19826
    rdos*)
 
19827
      lt_prog_compiler_static_GCJ='-non_shared'
 
19828
      ;;
 
19829
 
18422
19830
    solaris*)
18423
19831
      lt_prog_compiler_pic_GCJ='-KPIC'
18424
19832
      lt_prog_compiler_static_GCJ='-Bstatic'
18471
19879
    esac
18472
19880
  fi
18473
19881
 
18474
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
18475
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
 
19882
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
19883
$as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
18476
19884
 
18477
19885
#
18478
19886
# Check to make sure the PIC flag actually works.
18479
19887
#
18480
19888
if test -n "$lt_prog_compiler_pic_GCJ"; then
18481
19889
 
18482
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
18483
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
18484
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
18485
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19890
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
19891
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
 
19892
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
 
19893
  $as_echo_n "(cached) " >&6
18486
19894
else
18487
 
  lt_prog_compiler_pic_works_GCJ=no
 
19895
  lt_cv_prog_compiler_pic_works_GCJ=no
18488
19896
  ac_outfile=conftest.$ac_objext
18489
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
19897
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18490
19898
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
18491
19899
   # Insert the option either (1) after the last *FLAGS variable, or
18492
19900
   # (2) before a word containing "conftest.", or (3) at the end.
18497
19905
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18498
19906
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18499
19907
   -e 's:$: $lt_compiler_flag:'`
18500
 
   (eval echo "\"\$as_me:18500: $lt_compile\"" >&5)
 
19908
   (eval echo "\"\$as_me:19908: $lt_compile\"" >&5)
18501
19909
   (eval "$lt_compile" 2>conftest.err)
18502
19910
   ac_status=$?
18503
19911
   cat conftest.err >&5
18504
 
   echo "$as_me:18504: \$? = $ac_status" >&5
 
19912
   echo "$as_me:19912: \$? = $ac_status" >&5
18505
19913
   if (exit $ac_status) && test -s "$ac_outfile"; then
18506
19914
     # The compiler can only warn and ignore the option if not recognized
18507
19915
     # So say no if there are warnings other than the usual output.
18508
19916
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
18509
19917
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18510
19918
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18511
 
       lt_prog_compiler_pic_works_GCJ=yes
 
19919
       lt_cv_prog_compiler_pic_works_GCJ=yes
18512
19920
     fi
18513
19921
   fi
18514
19922
   $rm conftest*
18515
19923
 
18516
19924
fi
18517
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
18518
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
 
19925
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
 
19926
$as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
18519
19927
 
18520
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
 
19928
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
18521
19929
    case $lt_prog_compiler_pic_GCJ in
18522
19930
     "" | " "*) ;;
18523
19931
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
18542
19950
# Check to make sure the static flag actually works.
18543
19951
#
18544
19952
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
18545
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18546
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
18547
 
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
18548
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19953
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
19954
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
19955
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
 
19956
  $as_echo_n "(cached) " >&6
18549
19957
else
18550
 
  lt_prog_compiler_static_works_GCJ=no
 
19958
  lt_cv_prog_compiler_static_works_GCJ=no
18551
19959
   save_LDFLAGS="$LDFLAGS"
18552
19960
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
18553
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
19961
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
18554
19962
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
18555
19963
     # The linker can only warn and ignore the option if not recognized
18556
19964
     # So say no if there are warnings
18560
19968
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
18561
19969
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18562
19970
       if diff conftest.exp conftest.er2 >/dev/null; then
18563
 
         lt_prog_compiler_static_works_GCJ=yes
 
19971
         lt_cv_prog_compiler_static_works_GCJ=yes
18564
19972
       fi
18565
19973
     else
18566
 
       lt_prog_compiler_static_works_GCJ=yes
 
19974
       lt_cv_prog_compiler_static_works_GCJ=yes
18567
19975
     fi
18568
19976
   fi
18569
 
   $rm conftest*
 
19977
   $rm -r conftest*
18570
19978
   LDFLAGS="$save_LDFLAGS"
18571
19979
 
18572
19980
fi
18573
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
18574
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
 
19981
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
 
19982
$as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
18575
19983
 
18576
 
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
 
19984
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
18577
19985
    :
18578
19986
else
18579
19987
    lt_prog_compiler_static_GCJ=
18580
19988
fi
18581
19989
 
18582
19990
 
18583
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18584
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
19991
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
19992
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18585
19993
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
18586
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19994
  $as_echo_n "(cached) " >&6
18587
19995
else
18588
19996
  lt_cv_prog_compiler_c_o_GCJ=no
18589
19997
   $rm -r conftest 2>/dev/null
18590
19998
   mkdir conftest
18591
19999
   cd conftest
18592
20000
   mkdir out
18593
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
20001
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18594
20002
 
18595
20003
   lt_compiler_flag="-o out/conftest2.$ac_objext"
18596
20004
   # Insert the option either (1) after the last *FLAGS variable, or
18601
20009
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18602
20010
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18603
20011
   -e 's:$: $lt_compiler_flag:'`
18604
 
   (eval echo "\"\$as_me:18604: $lt_compile\"" >&5)
 
20012
   (eval echo "\"\$as_me:20012: $lt_compile\"" >&5)
18605
20013
   (eval "$lt_compile" 2>out/conftest.err)
18606
20014
   ac_status=$?
18607
20015
   cat out/conftest.err >&5
18608
 
   echo "$as_me:18608: \$? = $ac_status" >&5
 
20016
   echo "$as_me:20016: \$? = $ac_status" >&5
18609
20017
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
18610
20018
   then
18611
20019
     # The compiler can only warn and ignore the option if not recognized
18627
20035
   $rm conftest*
18628
20036
 
18629
20037
fi
18630
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
18631
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
 
20038
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
20039
$as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
18632
20040
 
18633
20041
 
18634
20042
hard_links="nottested"
18635
20043
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
18636
20044
  # do not overwrite the value of need_locks provided by the user
18637
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18638
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
20045
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
20046
$as_echo_n "checking if we can lock with hard links... " >&6; }
18639
20047
  hard_links=yes
18640
20048
  $rm conftest*
18641
20049
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
18642
20050
  touch conftest.a
18643
20051
  ln conftest.a conftest.b 2>&5 || hard_links=no
18644
20052
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
18645
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
18646
 
echo "${ECHO_T}$hard_links" >&6
 
20053
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
20054
$as_echo "$hard_links" >&6; }
18647
20055
  if test "$hard_links" = no; then
18648
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18649
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
20056
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
20057
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18650
20058
    need_locks=warn
18651
20059
  fi
18652
20060
else
18653
20061
  need_locks=no
18654
20062
fi
18655
20063
 
18656
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18657
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
20064
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
20065
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
18658
20066
 
18659
20067
  runpath_var=
18660
20068
  allow_undefined_flag_GCJ=
18685
20093
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
18686
20094
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
18687
20095
  # as well as any symbol that contains `d'.
18688
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
 
20096
  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
18689
20097
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
18690
20098
  # platforms (ab)use it in PIC code, but their linkers get confused if
18691
20099
  # the symbol is explicitly referenced.  Since portable code cannot
18692
20100
  # rely on this symbol name, it's probably fine to never include it in
18693
20101
  # preloaded symbol tables.
 
20102
  # Exclude shared library initialization/finalization symbols.
18694
20103
  extract_expsyms_cmds=
18695
20104
  # Just being paranoid about ensuring that cc_basename is set.
18696
20105
  for cc_temp in $compiler""; do
18749
20158
 
18750
20159
    # See if GNU ld supports shared libraries.
18751
20160
    case $host_os in
18752
 
    aix3* | aix4* | aix5*)
 
20161
    aix[3-9]*)
18753
20162
      # On AIX/PPC, the GNU linker is very broken
18754
20163
      if test "$host_cpu" != ia64; then
18755
20164
        ld_shlibs_GCJ=no
18797
20206
      allow_undefined_flag_GCJ=unsupported
18798
20207
      always_export_symbols_GCJ=no
18799
20208
      enable_shared_with_static_runtimes_GCJ=yes
18800
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
20209
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
18801
20210
 
18802
20211
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18803
20212
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18815
20224
      fi
18816
20225
      ;;
18817
20226
 
18818
 
    interix3*)
 
20227
    interix[3-9]*)
18819
20228
      hardcode_direct_GCJ=no
18820
20229
      hardcode_shlibpath_var_GCJ=no
18821
20230
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18830
20239
      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'
18831
20240
      ;;
18832
20241
 
18833
 
    linux*)
 
20242
    gnu* | linux* | k*bsd*-gnu)
18834
20243
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18835
20244
        tmp_addflag=
18836
20245
        case $cc_basename,$host_cpu in
18848
20257
        ifc* | ifort*)                  # Intel Fortran compiler
18849
20258
          tmp_addflag=' -nofor_main' ;;
18850
20259
        esac
18851
 
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
20260
        case `$CC -V 2>&1 | sed 5q` in
 
20261
        *Sun\ C*)                       # Sun C 5.9
 
20262
          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'
 
20263
          tmp_sharedflag='-G' ;;
 
20264
        *Sun\ F*)                       # Sun Fortran 8.3
 
20265
          tmp_sharedflag='-G' ;;
 
20266
        *)
 
20267
          tmp_sharedflag='-shared' ;;
 
20268
        esac
 
20269
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18852
20270
 
18853
20271
        if test $supports_anon_versioning = yes; then
18854
20272
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
18855
20273
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18856
20274
  $echo "local: *; };" >> $output_objdir/$libname.ver~
18857
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
20275
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18858
20276
        fi
18859
20277
      else
18860
20278
        ld_shlibs_GCJ=no
18959
20377
      fi
18960
20378
      ;;
18961
20379
 
18962
 
    aix4* | aix5*)
 
20380
    aix[4-9]*)
18963
20381
      if test "$host_cpu" = ia64; then
18964
20382
        # On IA64, the linker does run time linking by default, so we don't
18965
20383
        # have to do anything special.
18979
20397
        # Test if we are trying to use run time linking or normal
18980
20398
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18981
20399
        # need to do runtime linking.
18982
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
20400
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
18983
20401
          for ld_flag in $LDFLAGS; do
18984
20402
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
18985
20403
            aix_use_runtimelinking=yes
19013
20431
           strings "$collect2name" | grep resolve_lib_name >/dev/null
19014
20432
          then
19015
20433
          # We have reworked collect2
19016
 
          hardcode_direct_GCJ=yes
 
20434
          :
19017
20435
          else
19018
20436
          # We have old collect2
19019
20437
          hardcode_direct_GCJ=unsupported
19069
20487
}
19070
20488
_ACEOF
19071
20489
rm -f conftest.$ac_objext conftest$ac_exeext
19072
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19073
 
  (eval $ac_link) 2>conftest.er1
 
20490
if { (ac_try="$ac_link"
 
20491
case "(($ac_try" in
 
20492
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20493
  *) ac_try_echo=$ac_try;;
 
20494
esac
 
20495
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20496
$as_echo "$ac_try_echo") >&5
 
20497
  (eval "$ac_link") 2>conftest.er1
19074
20498
  ac_status=$?
19075
20499
  grep -v '^ *+' conftest.er1 >conftest.err
19076
20500
  rm -f conftest.er1
19077
20501
  cat conftest.err >&5
19078
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19079
 
  (exit $ac_status); } &&
19080
 
         { ac_try='test -z "$ac_c_werror_flag"
19081
 
                         || test ! -s conftest.err'
19082
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19083
 
  (eval $ac_try) 2>&5
19084
 
  ac_status=$?
19085
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19086
 
  (exit $ac_status); }; } &&
19087
 
         { ac_try='test -s conftest$ac_exeext'
19088
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19089
 
  (eval $ac_try) 2>&5
19090
 
  ac_status=$?
19091
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19092
 
  (exit $ac_status); }; }; then
 
20502
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20503
  (exit $ac_status); } && {
 
20504
         test -z "$ac_c_werror_flag" ||
 
20505
         test ! -s conftest.err
 
20506
       } && test -s conftest$ac_exeext && {
 
20507
         test "$cross_compiling" = yes ||
 
20508
         $as_test_x conftest$ac_exeext
 
20509
       }; then
19093
20510
 
19094
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
19095
 
}'`
 
20511
lt_aix_libpath_sed='
 
20512
    /Import File Strings/,/^$/ {
 
20513
        /^0/ {
 
20514
            s/^0  *\(.*\)$/\1/
 
20515
            p
 
20516
        }
 
20517
    }'
 
20518
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19096
20519
# Check for a 64-bit object if we didn't find anything.
19097
 
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; }
19098
 
}'`; fi
 
20520
if test -z "$aix_libpath"; then
 
20521
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
20522
fi
19099
20523
else
19100
 
  echo "$as_me: failed program was:" >&5
 
20524
  $as_echo "$as_me: failed program was:" >&5
19101
20525
sed 's/^/| /' conftest.$ac_ext >&5
19102
20526
 
 
20527
 
19103
20528
fi
19104
 
rm -f conftest.err conftest.$ac_objext \
 
20529
 
 
20530
rm -rf conftest.dSYM
 
20531
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19105
20532
      conftest$ac_exeext conftest.$ac_ext
19106
20533
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19107
20534
 
19130
20557
}
19131
20558
_ACEOF
19132
20559
rm -f conftest.$ac_objext conftest$ac_exeext
19133
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19134
 
  (eval $ac_link) 2>conftest.er1
 
20560
if { (ac_try="$ac_link"
 
20561
case "(($ac_try" in
 
20562
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20563
  *) ac_try_echo=$ac_try;;
 
20564
esac
 
20565
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20566
$as_echo "$ac_try_echo") >&5
 
20567
  (eval "$ac_link") 2>conftest.er1
19135
20568
  ac_status=$?
19136
20569
  grep -v '^ *+' conftest.er1 >conftest.err
19137
20570
  rm -f conftest.er1
19138
20571
  cat conftest.err >&5
19139
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19140
 
  (exit $ac_status); } &&
19141
 
         { ac_try='test -z "$ac_c_werror_flag"
19142
 
                         || test ! -s conftest.err'
19143
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19144
 
  (eval $ac_try) 2>&5
19145
 
  ac_status=$?
19146
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19147
 
  (exit $ac_status); }; } &&
19148
 
         { ac_try='test -s conftest$ac_exeext'
19149
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19150
 
  (eval $ac_try) 2>&5
19151
 
  ac_status=$?
19152
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19153
 
  (exit $ac_status); }; }; then
 
20572
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20573
  (exit $ac_status); } && {
 
20574
         test -z "$ac_c_werror_flag" ||
 
20575
         test ! -s conftest.err
 
20576
       } && test -s conftest$ac_exeext && {
 
20577
         test "$cross_compiling" = yes ||
 
20578
         $as_test_x conftest$ac_exeext
 
20579
       }; then
19154
20580
 
19155
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
19156
 
}'`
 
20581
lt_aix_libpath_sed='
 
20582
    /Import File Strings/,/^$/ {
 
20583
        /^0/ {
 
20584
            s/^0  *\(.*\)$/\1/
 
20585
            p
 
20586
        }
 
20587
    }'
 
20588
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19157
20589
# Check for a 64-bit object if we didn't find anything.
19158
 
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; }
19159
 
}'`; fi
 
20590
if test -z "$aix_libpath"; then
 
20591
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
20592
fi
19160
20593
else
19161
 
  echo "$as_me: failed program was:" >&5
 
20594
  $as_echo "$as_me: failed program was:" >&5
19162
20595
sed 's/^/| /' conftest.$ac_ext >&5
19163
20596
 
 
20597
 
19164
20598
fi
19165
 
rm -f conftest.err conftest.$ac_objext \
 
20599
 
 
20600
rm -rf conftest.dSYM
 
20601
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19166
20602
      conftest$ac_exeext conftest.$ac_ext
19167
20603
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19168
20604
 
19208
20644
      # The linker will automatically build a .lib file if we build a DLL.
19209
20645
      old_archive_From_new_cmds_GCJ='true'
19210
20646
      # FIXME: Should let the user specify the lib program.
19211
 
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
20647
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
19212
20648
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
19213
20649
      enable_shared_with_static_runtimes_GCJ=yes
19214
20650
      ;;
19241
20677
      link_all_deplibs_GCJ=yes
19242
20678
    if test "$GCC" = yes ; then
19243
20679
        output_verbose_link_cmd='echo'
19244
 
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
19245
 
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19246
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
19247
 
      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}'
19248
 
      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}'
 
20680
        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}"
 
20681
        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
20682
        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}"
 
20683
        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}"
19249
20684
    else
19250
20685
      case $cc_basename in
19251
20686
        xlc*)
19252
20687
         output_verbose_link_cmd='echo'
19253
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
20688
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
19254
20689
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19255
20690
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
19256
 
         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}'
 
20691
         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}'
19257
20692
          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}'
19258
20693
          ;;
19259
20694
       *)
19293
20728
      ;;
19294
20729
 
19295
20730
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
19296
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
20731
    freebsd* | dragonfly*)
19297
20732
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
19298
20733
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
19299
20734
      hardcode_direct_GCJ=yes
19415
20850
      ;;
19416
20851
 
19417
20852
    openbsd*)
19418
 
      hardcode_direct_GCJ=yes
19419
 
      hardcode_shlibpath_var_GCJ=no
19420
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19421
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19422
 
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
19423
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19424
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
 
20853
      if test -f /usr/libexec/ld.so; then
 
20854
        hardcode_direct_GCJ=yes
 
20855
        hardcode_shlibpath_var_GCJ=no
 
20856
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
20857
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
20858
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
20859
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
20860
          export_dynamic_flag_spec_GCJ='${wl}-E'
 
20861
        else
 
20862
          case $host_os in
 
20863
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
20864
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
20865
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
20866
             ;;
 
20867
           *)
 
20868
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
20869
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
20870
             ;;
 
20871
          esac
 
20872
        fi
19425
20873
      else
19426
 
       case $host_os in
19427
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
19428
 
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19429
 
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
19430
 
           ;;
19431
 
         *)
19432
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19433
 
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19434
 
           ;;
19435
 
       esac
 
20874
        ld_shlibs_GCJ=no
19436
20875
      fi
19437
20876
      ;;
19438
20877
 
19491
20930
      case $host_os in
19492
20931
      solaris2.[0-5] | solaris2.[0-5].*) ;;
19493
20932
      *)
19494
 
        # The compiler driver will combine linker options so we
19495
 
        # cannot just pass the convience library names through
19496
 
        # without $wl, iff we do not link with $LD.
19497
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
20933
        # The compiler driver will combine and reorder linker options,
 
20934
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
20935
        # but is careful enough not to reorder.
19498
20936
        # Supported since Solaris 2.6 (maybe 2.5.1?)
19499
 
        case $wlarc in
19500
 
        '')
19501
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
19502
 
        *)
19503
 
          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' ;;
19504
 
        esac ;;
 
20937
        if test "$GCC" = yes; then
 
20938
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
20939
        else
 
20940
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
 
20941
        fi
 
20942
        ;;
19505
20943
      esac
19506
20944
      link_all_deplibs_GCJ=yes
19507
20945
      ;;
19558
20996
      fi
19559
20997
      ;;
19560
20998
 
19561
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
20999
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19562
21000
      no_undefined_flag_GCJ='${wl}-z,text'
19563
21001
      archive_cmds_need_lc_GCJ=no
19564
21002
      hardcode_shlibpath_var_GCJ=no
19611
21049
    esac
19612
21050
  fi
19613
21051
 
19614
 
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
19615
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
 
21052
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
21053
$as_echo "$ld_shlibs_GCJ" >&6; }
19616
21054
test "$ld_shlibs_GCJ" = no && can_build_shared=no
19617
21055
 
19618
21056
#
19632
21070
      # Test whether the compiler implicitly links with -lc since on some
19633
21071
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
19634
21072
      # to ld, don't add -lc before -lgcc.
19635
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19636
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
21073
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
21074
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
19637
21075
      $rm conftest*
19638
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
21076
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19639
21077
 
19640
21078
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19641
21079
  (eval $ac_compile) 2>&5
19642
21080
  ac_status=$?
19643
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21081
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19644
21082
  (exit $ac_status); } 2>conftest.err; then
19645
21083
        soname=conftest
19646
21084
        lib=conftest
19658
21096
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19659
21097
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
19660
21098
  ac_status=$?
19661
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21099
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19662
21100
  (exit $ac_status); }
19663
21101
        then
19664
21102
          archive_cmds_need_lc_GCJ=no
19670
21108
        cat conftest.err 1>&5
19671
21109
      fi
19672
21110
      $rm conftest*
19673
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
19674
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
 
21111
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
21112
$as_echo "$archive_cmds_need_lc_GCJ" >&6; }
19675
21113
      ;;
19676
21114
    esac
19677
21115
  fi
19678
21116
  ;;
19679
21117
esac
19680
21118
 
19681
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19682
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
21119
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
21120
$as_echo_n "checking dynamic linker characteristics... " >&6; }
19683
21121
library_names_spec=
19684
21122
libname_spec='lib$name'
19685
21123
soname_spec=
19693
21131
version_type=none
19694
21132
dynamic_linker="$host_os ld.so"
19695
21133
sys_lib_dlsearch_path_spec="/lib /usr/lib"
19696
 
if test "$GCC" = yes; then
19697
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19698
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
19699
 
    # if the path contains ";" then we assume it to be the separator
19700
 
    # otherwise default to the standard path separator (i.e. ":") - it is
19701
 
    # assumed that no part of a normal pathname contains ";" but that should
19702
 
    # okay in the real world where ";" in dirpaths is itself problematic.
19703
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19704
 
  else
19705
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
19706
 
  fi
19707
 
else
19708
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
19709
 
fi
 
21134
 
19710
21135
need_lib_prefix=unknown
19711
21136
hardcode_into_libs=no
19712
21137
 
19724
21149
  soname_spec='${libname}${release}${shared_ext}$major'
19725
21150
  ;;
19726
21151
 
19727
 
aix4* | aix5*)
 
21152
aix[4-9]*)
19728
21153
  version_type=linux
19729
21154
  need_lib_prefix=no
19730
21155
  need_version=no
19863
21288
  shlibpath_overrides_runpath=yes
19864
21289
  shlibpath_var=DYLD_LIBRARY_PATH
19865
21290
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
19866
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
19867
 
  if test "$GCC" = yes; then
19868
 
    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"`
19869
 
  else
19870
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
19871
 
  fi
 
21291
 
19872
21292
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19873
21293
  ;;
19874
21294
 
19885
21305
  dynamic_linker=no
19886
21306
  ;;
19887
21307
 
19888
 
kfreebsd*-gnu)
19889
 
  version_type=linux
19890
 
  need_lib_prefix=no
19891
 
  need_version=no
19892
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19893
 
  soname_spec='${libname}${release}${shared_ext}$major'
19894
 
  shlibpath_var=LD_LIBRARY_PATH
19895
 
  shlibpath_overrides_runpath=no
19896
 
  hardcode_into_libs=yes
19897
 
  dynamic_linker='GNU ld.so'
19898
 
  ;;
19899
 
 
19900
21308
freebsd* | dragonfly*)
19901
21309
  # DragonFly does not have aout.  When/if they implement a new
19902
21310
  # versioning mechanism, adjust this.
19934
21342
    shlibpath_overrides_runpath=no
19935
21343
    hardcode_into_libs=yes
19936
21344
    ;;
19937
 
  freebsd*) # from 4.6 on
 
21345
  *) # from 4.6 on, and DragonFly
19938
21346
    shlibpath_overrides_runpath=yes
19939
21347
    hardcode_into_libs=yes
19940
21348
    ;;
19997
21405
  postinstall_cmds='chmod 555 $lib'
19998
21406
  ;;
19999
21407
 
20000
 
interix3*)
 
21408
interix[3-9]*)
20001
21409
  version_type=linux
20002
21410
  need_lib_prefix=no
20003
21411
  need_version=no
20052
21460
  ;;
20053
21461
 
20054
21462
# This must be Linux ELF.
20055
 
linux*)
 
21463
linux* | k*bsd*-gnu)
20056
21464
  version_type=linux
20057
21465
  need_lib_prefix=no
20058
21466
  need_version=no
20066
21474
  # before this can be enabled.
20067
21475
  hardcode_into_libs=yes
20068
21476
 
20069
 
  # find out which ABI we are using
20070
 
  libsuff=
20071
 
  case "$host_cpu" in
20072
 
  x86_64*|s390x*|powerpc64*)
20073
 
    echo '#line 20073 "configure"' > conftest.$ac_ext
20074
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20075
 
  (eval $ac_compile) 2>&5
20076
 
  ac_status=$?
20077
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20078
 
  (exit $ac_status); }; then
20079
 
      case `/usr/bin/file conftest.$ac_objext` in
20080
 
      *64-bit*)
20081
 
        libsuff=64
20082
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
20083
 
        ;;
20084
 
      esac
20085
 
    fi
20086
 
    rm -rf conftest*
20087
 
    ;;
20088
 
  esac
20089
 
 
20090
21477
  # Append ld.so.conf contents to the search path
20091
21478
  if test -f /etc/ld.so.conf; then
20092
 
    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' ' '`
20093
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
21479
    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' ' '`
 
21480
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
20094
21481
  fi
20095
21482
 
20096
21483
  # We used to test for /lib/ld.so.1 and disable shared libraries on
20102
21489
  dynamic_linker='GNU/Linux ld.so'
20103
21490
  ;;
20104
21491
 
20105
 
knetbsd*-gnu)
20106
 
  version_type=linux
20107
 
  need_lib_prefix=no
20108
 
  need_version=no
20109
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20110
 
  soname_spec='${libname}${release}${shared_ext}$major'
20111
 
  shlibpath_var=LD_LIBRARY_PATH
20112
 
  shlibpath_overrides_runpath=no
20113
 
  hardcode_into_libs=yes
20114
 
  dynamic_linker='GNU ld.so'
20115
 
  ;;
20116
 
 
20117
21492
netbsd*)
20118
21493
  version_type=sunos
20119
21494
  need_lib_prefix=no
20195
21570
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20196
21571
  ;;
20197
21572
 
 
21573
rdos*)
 
21574
  dynamic_linker=no
 
21575
  ;;
 
21576
 
20198
21577
solaris*)
20199
21578
  version_type=linux
20200
21579
  need_lib_prefix=no
20287
21666
  dynamic_linker=no
20288
21667
  ;;
20289
21668
esac
20290
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20291
 
echo "${ECHO_T}$dynamic_linker" >&6
 
21669
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
21670
$as_echo "$dynamic_linker" >&6; }
20292
21671
test "$dynamic_linker" = no && can_build_shared=no
20293
21672
 
 
21673
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
21674
  $as_echo_n "(cached) " >&6
 
21675
else
 
21676
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
21677
fi
 
21678
 
 
21679
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
21680
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
21681
  $as_echo_n "(cached) " >&6
 
21682
else
 
21683
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
21684
fi
 
21685
 
 
21686
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
21687
 
20294
21688
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20295
21689
if test "$GCC" = yes; then
20296
21690
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20297
21691
fi
20298
21692
 
20299
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20300
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
21693
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
21694
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
20301
21695
hardcode_action_GCJ=
20302
21696
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
20303
21697
   test -n "$runpath_var_GCJ" || \
20321
21715
  # directories.
20322
21716
  hardcode_action_GCJ=unsupported
20323
21717
fi
20324
 
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
20325
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6
 
21718
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
21719
$as_echo "$hardcode_action_GCJ" >&6; }
20326
21720
 
20327
21721
if test "$hardcode_action_GCJ" = relink; then
20328
21722
  # Fast installation is not supported
20374
21768
    predeps_GCJ \
20375
21769
    postdeps_GCJ \
20376
21770
    compiler_lib_search_path_GCJ \
 
21771
    compiler_lib_search_dirs_GCJ \
20377
21772
    archive_cmds_GCJ \
20378
21773
    archive_expsym_cmds_GCJ \
20379
21774
    postinstall_cmds_GCJ \
20389
21784
    module_cmds_GCJ \
20390
21785
    module_expsym_cmds_GCJ \
20391
21786
    lt_cv_prog_compiler_c_o_GCJ \
 
21787
    fix_srcfile_path_GCJ \
20392
21788
    exclude_expsyms_GCJ \
20393
21789
    include_expsyms_GCJ; do
20394
21790
 
20621
22017
# shared library.
20622
22018
postdeps=$lt_postdeps_GCJ
20623
22019
 
 
22020
# The directories searched by this compiler when creating a shared
 
22021
# library
 
22022
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
 
22023
 
20624
22024
# The library search path used internally by the compiler when linking
20625
22025
# a shared library.
20626
22026
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
20709
22109
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20710
22110
 
20711
22111
# Fix the shell variable \$srcfile for the compiler.
20712
 
fix_srcfile_path="$fix_srcfile_path_GCJ"
 
22112
fix_srcfile_path=$lt_fix_srcfile_path
20713
22113
 
20714
22114
# Set to yes if exported symbols are required.
20715
22115
always_export_symbols=$always_export_symbols_GCJ
20758
22158
      RC)
20759
22159
 
20760
22160
 
20761
 
 
20762
22161
# Source file extension for RC test sources.
20763
22162
ac_ext=rc
20764
22163
 
20767
22166
objext_RC=$objext
20768
22167
 
20769
22168
# Code to be used in simple compile tests
20770
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
 
22169
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
20771
22170
 
20772
22171
# Code to be used in simple link tests
20773
22172
lt_simple_link_test_code="$lt_simple_compile_test_code"
20786
22185
 
20787
22186
# save warnings/boilerplate of simple test code
20788
22187
ac_outfile=conftest.$ac_objext
20789
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
22188
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
20790
22189
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20791
22190
_lt_compiler_boilerplate=`cat conftest.err`
20792
22191
$rm conftest*
20793
22192
 
20794
22193
ac_outfile=conftest.$ac_objext
20795
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
22194
echo "$lt_simple_link_test_code" >conftest.$ac_ext
20796
22195
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20797
22196
_lt_linker_boilerplate=`cat conftest.err`
20798
 
$rm conftest*
 
22197
$rm -r conftest*
20799
22198
 
20800
22199
 
20801
22200
# Allow CC to be a program name with arguments.
20855
22254
    predeps_RC \
20856
22255
    postdeps_RC \
20857
22256
    compiler_lib_search_path_RC \
 
22257
    compiler_lib_search_dirs_RC \
20858
22258
    archive_cmds_RC \
20859
22259
    archive_expsym_cmds_RC \
20860
22260
    postinstall_cmds_RC \
20870
22270
    module_cmds_RC \
20871
22271
    module_expsym_cmds_RC \
20872
22272
    lt_cv_prog_compiler_c_o_RC \
 
22273
    fix_srcfile_path_RC \
20873
22274
    exclude_expsyms_RC \
20874
22275
    include_expsyms_RC; do
20875
22276
 
21102
22503
# shared library.
21103
22504
postdeps=$lt_postdeps_RC
21104
22505
 
 
22506
# The directories searched by this compiler when creating a shared
 
22507
# library
 
22508
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
 
22509
 
21105
22510
# The library search path used internally by the compiler when linking
21106
22511
# a shared library.
21107
22512
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
21190
22595
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21191
22596
 
21192
22597
# Fix the shell variable \$srcfile for the compiler.
21193
 
fix_srcfile_path="$fix_srcfile_path_RC"
 
22598
fix_srcfile_path=$lt_fix_srcfile_path
21194
22599
 
21195
22600
# Set to yes if exported symbols are required.
21196
22601
always_export_symbols=$always_export_symbols_RC
21234
22639
        ;;
21235
22640
 
21236
22641
      *)
21237
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
21238
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
 
22642
        { { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
 
22643
$as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
21239
22644
   { (exit 1); exit 1; }; }
21240
22645
        ;;
21241
22646
      esac
21254
22659
    chmod +x "$ofile"
21255
22660
  else
21256
22661
    rm -f "${ofile}T"
21257
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
21258
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
 
22662
    { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
 
22663
$as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
21259
22664
   { (exit 1); exit 1; }; }
21260
22665
  fi
21261
22666
fi
21292
22697
 
21293
22698
# Checks for libraries.
21294
22699
 
21295
 
echo "$as_me:$LINENO: checking for main in -lpthread" >&5
21296
 
echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6
 
22700
{ $as_echo "$as_me:$LINENO: checking for main in -lpthread" >&5
 
22701
$as_echo_n "checking for main in -lpthread... " >&6; }
21297
22702
if test "${ac_cv_lib_pthread_main+set}" = set; then
21298
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22703
  $as_echo_n "(cached) " >&6
21299
22704
else
21300
22705
  ac_check_lib_save_LIBS=$LIBS
21301
22706
LIBS="-lpthread  $LIBS"
21310
22715
int
21311
22716
main ()
21312
22717
{
21313
 
main ();
 
22718
return main ();
21314
22719
  ;
21315
22720
  return 0;
21316
22721
}
21317
22722
_ACEOF
21318
22723
rm -f conftest.$ac_objext conftest$ac_exeext
21319
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21320
 
  (eval $ac_link) 2>conftest.er1
 
22724
if { (ac_try="$ac_link"
 
22725
case "(($ac_try" in
 
22726
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22727
  *) ac_try_echo=$ac_try;;
 
22728
esac
 
22729
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22730
$as_echo "$ac_try_echo") >&5
 
22731
  (eval "$ac_link") 2>conftest.er1
21321
22732
  ac_status=$?
21322
22733
  grep -v '^ *+' conftest.er1 >conftest.err
21323
22734
  rm -f conftest.er1
21324
22735
  cat conftest.err >&5
21325
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21326
 
  (exit $ac_status); } &&
21327
 
         { ac_try='test -z "$ac_c_werror_flag"
21328
 
                         || test ! -s conftest.err'
21329
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21330
 
  (eval $ac_try) 2>&5
21331
 
  ac_status=$?
21332
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21333
 
  (exit $ac_status); }; } &&
21334
 
         { ac_try='test -s conftest$ac_exeext'
21335
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21336
 
  (eval $ac_try) 2>&5
21337
 
  ac_status=$?
21338
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21339
 
  (exit $ac_status); }; }; then
 
22736
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22737
  (exit $ac_status); } && {
 
22738
         test -z "$ac_c_werror_flag" ||
 
22739
         test ! -s conftest.err
 
22740
       } && test -s conftest$ac_exeext && {
 
22741
         test "$cross_compiling" = yes ||
 
22742
         $as_test_x conftest$ac_exeext
 
22743
       }; then
21340
22744
  ac_cv_lib_pthread_main=yes
21341
22745
else
21342
 
  echo "$as_me: failed program was:" >&5
 
22746
  $as_echo "$as_me: failed program was:" >&5
21343
22747
sed 's/^/| /' conftest.$ac_ext >&5
21344
22748
 
21345
 
ac_cv_lib_pthread_main=no
 
22749
        ac_cv_lib_pthread_main=no
21346
22750
fi
21347
 
rm -f conftest.err conftest.$ac_objext \
 
22751
 
 
22752
rm -rf conftest.dSYM
 
22753
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21348
22754
      conftest$ac_exeext conftest.$ac_ext
21349
22755
LIBS=$ac_check_lib_save_LIBS
21350
22756
fi
21351
 
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5
21352
 
echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6
21353
 
if test $ac_cv_lib_pthread_main = yes; then
 
22757
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5
 
22758
$as_echo "$ac_cv_lib_pthread_main" >&6; }
 
22759
if test "x$ac_cv_lib_pthread_main" = x""yes; then
21354
22760
  cat >>confdefs.h <<_ACEOF
21355
22761
#define HAVE_LIBPTHREAD 1
21356
22762
_ACEOF
21360
22766
fi
21361
22767
 
21362
22768
 
21363
 
echo "$as_me:$LINENO: checking for main in -ldl" >&5
21364
 
echo $ECHO_N "checking for main in -ldl... $ECHO_C" >&6
 
22769
{ $as_echo "$as_me:$LINENO: checking for main in -ldl" >&5
 
22770
$as_echo_n "checking for main in -ldl... " >&6; }
21365
22771
if test "${ac_cv_lib_dl_main+set}" = set; then
21366
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22772
  $as_echo_n "(cached) " >&6
21367
22773
else
21368
22774
  ac_check_lib_save_LIBS=$LIBS
21369
22775
LIBS="-ldl  $LIBS"
21378
22784
int
21379
22785
main ()
21380
22786
{
21381
 
main ();
 
22787
return main ();
21382
22788
  ;
21383
22789
  return 0;
21384
22790
}
21385
22791
_ACEOF
21386
22792
rm -f conftest.$ac_objext conftest$ac_exeext
21387
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21388
 
  (eval $ac_link) 2>conftest.er1
 
22793
if { (ac_try="$ac_link"
 
22794
case "(($ac_try" in
 
22795
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22796
  *) ac_try_echo=$ac_try;;
 
22797
esac
 
22798
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22799
$as_echo "$ac_try_echo") >&5
 
22800
  (eval "$ac_link") 2>conftest.er1
21389
22801
  ac_status=$?
21390
22802
  grep -v '^ *+' conftest.er1 >conftest.err
21391
22803
  rm -f conftest.er1
21392
22804
  cat conftest.err >&5
21393
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21394
 
  (exit $ac_status); } &&
21395
 
         { ac_try='test -z "$ac_c_werror_flag"
21396
 
                         || test ! -s conftest.err'
21397
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21398
 
  (eval $ac_try) 2>&5
21399
 
  ac_status=$?
21400
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21401
 
  (exit $ac_status); }; } &&
21402
 
         { ac_try='test -s conftest$ac_exeext'
21403
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21404
 
  (eval $ac_try) 2>&5
21405
 
  ac_status=$?
21406
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21407
 
  (exit $ac_status); }; }; then
 
22805
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22806
  (exit $ac_status); } && {
 
22807
         test -z "$ac_c_werror_flag" ||
 
22808
         test ! -s conftest.err
 
22809
       } && test -s conftest$ac_exeext && {
 
22810
         test "$cross_compiling" = yes ||
 
22811
         $as_test_x conftest$ac_exeext
 
22812
       }; then
21408
22813
  ac_cv_lib_dl_main=yes
21409
22814
else
21410
 
  echo "$as_me: failed program was:" >&5
 
22815
  $as_echo "$as_me: failed program was:" >&5
21411
22816
sed 's/^/| /' conftest.$ac_ext >&5
21412
22817
 
21413
 
ac_cv_lib_dl_main=no
 
22818
        ac_cv_lib_dl_main=no
21414
22819
fi
21415
 
rm -f conftest.err conftest.$ac_objext \
 
22820
 
 
22821
rm -rf conftest.dSYM
 
22822
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21416
22823
      conftest$ac_exeext conftest.$ac_ext
21417
22824
LIBS=$ac_check_lib_save_LIBS
21418
22825
fi
21419
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_main" >&5
21420
 
echo "${ECHO_T}$ac_cv_lib_dl_main" >&6
21421
 
if test $ac_cv_lib_dl_main = yes; then
 
22826
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_main" >&5
 
22827
$as_echo "$ac_cv_lib_dl_main" >&6; }
 
22828
if test "x$ac_cv_lib_dl_main" = x""yes; then
21422
22829
  cat >>confdefs.h <<_ACEOF
21423
22830
#define HAVE_LIBDL 1
21424
22831
_ACEOF
21427
22834
 
21428
22835
fi
21429
22836
 
21430
 
echo "$as_me:$LINENO: checking for main in -lz" >&5
21431
 
echo $ECHO_N "checking for main in -lz... $ECHO_C" >&6
 
22837
{ $as_echo "$as_me:$LINENO: checking for main in -lz" >&5
 
22838
$as_echo_n "checking for main in -lz... " >&6; }
21432
22839
if test "${ac_cv_lib_z_main+set}" = set; then
21433
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22840
  $as_echo_n "(cached) " >&6
21434
22841
else
21435
22842
  ac_check_lib_save_LIBS=$LIBS
21436
22843
LIBS="-lz  $LIBS"
21445
22852
int
21446
22853
main ()
21447
22854
{
21448
 
main ();
 
22855
return main ();
21449
22856
  ;
21450
22857
  return 0;
21451
22858
}
21452
22859
_ACEOF
21453
22860
rm -f conftest.$ac_objext conftest$ac_exeext
21454
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21455
 
  (eval $ac_link) 2>conftest.er1
 
22861
if { (ac_try="$ac_link"
 
22862
case "(($ac_try" in
 
22863
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22864
  *) ac_try_echo=$ac_try;;
 
22865
esac
 
22866
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22867
$as_echo "$ac_try_echo") >&5
 
22868
  (eval "$ac_link") 2>conftest.er1
21456
22869
  ac_status=$?
21457
22870
  grep -v '^ *+' conftest.er1 >conftest.err
21458
22871
  rm -f conftest.er1
21459
22872
  cat conftest.err >&5
21460
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21461
 
  (exit $ac_status); } &&
21462
 
         { ac_try='test -z "$ac_c_werror_flag"
21463
 
                         || test ! -s conftest.err'
21464
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21465
 
  (eval $ac_try) 2>&5
21466
 
  ac_status=$?
21467
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21468
 
  (exit $ac_status); }; } &&
21469
 
         { ac_try='test -s conftest$ac_exeext'
21470
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21471
 
  (eval $ac_try) 2>&5
21472
 
  ac_status=$?
21473
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21474
 
  (exit $ac_status); }; }; then
 
22873
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22874
  (exit $ac_status); } && {
 
22875
         test -z "$ac_c_werror_flag" ||
 
22876
         test ! -s conftest.err
 
22877
       } && test -s conftest$ac_exeext && {
 
22878
         test "$cross_compiling" = yes ||
 
22879
         $as_test_x conftest$ac_exeext
 
22880
       }; then
21475
22881
  ac_cv_lib_z_main=yes
21476
22882
else
21477
 
  echo "$as_me: failed program was:" >&5
 
22883
  $as_echo "$as_me: failed program was:" >&5
21478
22884
sed 's/^/| /' conftest.$ac_ext >&5
21479
22885
 
21480
 
ac_cv_lib_z_main=no
 
22886
        ac_cv_lib_z_main=no
21481
22887
fi
21482
 
rm -f conftest.err conftest.$ac_objext \
 
22888
 
 
22889
rm -rf conftest.dSYM
 
22890
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21483
22891
      conftest$ac_exeext conftest.$ac_ext
21484
22892
LIBS=$ac_check_lib_save_LIBS
21485
22893
fi
21486
 
echo "$as_me:$LINENO: result: $ac_cv_lib_z_main" >&5
21487
 
echo "${ECHO_T}$ac_cv_lib_z_main" >&6
21488
 
if test $ac_cv_lib_z_main = yes; then
 
22894
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_main" >&5
 
22895
$as_echo "$ac_cv_lib_z_main" >&6; }
 
22896
if test "x$ac_cv_lib_z_main" = x""yes; then
21489
22897
  SFCB_LIBZ=-lz
21490
22898
else
21491
 
  { { echo "$as_me:$LINENO: error: Could not find required libz" >&5
21492
 
echo "$as_me: error: Could not find required libz" >&2;}
 
22899
  { { $as_echo "$as_me:$LINENO: error: Could not find required libz" >&5
 
22900
$as_echo "$as_me: error: Could not find required libz" >&2;}
21493
22901
   { (exit 1); exit 1; }; }
21494
22902
fi
21495
22903
 
21496
 
if test "$enable_indications" == "yes"; then
 
22904
if test "$enable_indications" = "yes" ; then
 
22905
   LOAD_INDICATION_PROVIDER=
21497
22906
 
21498
22907
cat >>confdefs.h <<\_ACEOF
21499
22908
#define HAVE_INDICATIONS 1
21500
22909
_ACEOF
21501
22910
 
21502
22911
 
21503
 
echo "$as_me:$LINENO: checking for main in -lcurl" >&5
21504
 
echo $ECHO_N "checking for main in -lcurl... $ECHO_C" >&6
 
22912
{ $as_echo "$as_me:$LINENO: checking for main in -lcurl" >&5
 
22913
$as_echo_n "checking for main in -lcurl... " >&6; }
21505
22914
if test "${ac_cv_lib_curl_main+set}" = set; then
21506
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22915
  $as_echo_n "(cached) " >&6
21507
22916
else
21508
22917
  ac_check_lib_save_LIBS=$LIBS
21509
22918
LIBS="-lcurl  $LIBS"
21518
22927
int
21519
22928
main ()
21520
22929
{
21521
 
main ();
 
22930
return main ();
21522
22931
  ;
21523
22932
  return 0;
21524
22933
}
21525
22934
_ACEOF
21526
22935
rm -f conftest.$ac_objext conftest$ac_exeext
21527
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21528
 
  (eval $ac_link) 2>conftest.er1
 
22936
if { (ac_try="$ac_link"
 
22937
case "(($ac_try" in
 
22938
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22939
  *) ac_try_echo=$ac_try;;
 
22940
esac
 
22941
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22942
$as_echo "$ac_try_echo") >&5
 
22943
  (eval "$ac_link") 2>conftest.er1
21529
22944
  ac_status=$?
21530
22945
  grep -v '^ *+' conftest.er1 >conftest.err
21531
22946
  rm -f conftest.er1
21532
22947
  cat conftest.err >&5
21533
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21534
 
  (exit $ac_status); } &&
21535
 
         { ac_try='test -z "$ac_c_werror_flag"
21536
 
                         || test ! -s conftest.err'
21537
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21538
 
  (eval $ac_try) 2>&5
21539
 
  ac_status=$?
21540
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21541
 
  (exit $ac_status); }; } &&
21542
 
         { ac_try='test -s conftest$ac_exeext'
21543
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21544
 
  (eval $ac_try) 2>&5
21545
 
  ac_status=$?
21546
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21547
 
  (exit $ac_status); }; }; then
 
22948
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22949
  (exit $ac_status); } && {
 
22950
         test -z "$ac_c_werror_flag" ||
 
22951
         test ! -s conftest.err
 
22952
       } && test -s conftest$ac_exeext && {
 
22953
         test "$cross_compiling" = yes ||
 
22954
         $as_test_x conftest$ac_exeext
 
22955
       }; then
21548
22956
  ac_cv_lib_curl_main=yes
21549
22957
else
21550
 
  echo "$as_me: failed program was:" >&5
 
22958
  $as_echo "$as_me: failed program was:" >&5
21551
22959
sed 's/^/| /' conftest.$ac_ext >&5
21552
22960
 
21553
 
ac_cv_lib_curl_main=no
 
22961
        ac_cv_lib_curl_main=no
21554
22962
fi
21555
 
rm -f conftest.err conftest.$ac_objext \
 
22963
 
 
22964
rm -rf conftest.dSYM
 
22965
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21556
22966
      conftest$ac_exeext conftest.$ac_ext
21557
22967
LIBS=$ac_check_lib_save_LIBS
21558
22968
fi
21559
 
echo "$as_me:$LINENO: result: $ac_cv_lib_curl_main" >&5
21560
 
echo "${ECHO_T}$ac_cv_lib_curl_main" >&6
21561
 
if test $ac_cv_lib_curl_main = yes; then
 
22969
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_curl_main" >&5
 
22970
$as_echo "$ac_cv_lib_curl_main" >&6; }
 
22971
if test "x$ac_cv_lib_curl_main" = x""yes; then
21562
22972
  cat >>confdefs.h <<_ACEOF
21563
22973
#define HAVE_LIBCURL 1
21564
22974
_ACEOF
21567
22977
 
21568
22978
fi
21569
22979
 
 
22980
else
 
22981
   LOAD_INDICATION_PROVIDER='#'
21570
22982
fi
21571
22983
 
 
22984
 
 
22985
 
21572
22986
if test "$enable_ssl" = "yes"; then
21573
22987
 
21574
 
echo "$as_me:$LINENO: checking for main in -lssl" >&5
21575
 
echo $ECHO_N "checking for main in -lssl... $ECHO_C" >&6
 
22988
{ $as_echo "$as_me:$LINENO: checking for main in -lssl" >&5
 
22989
$as_echo_n "checking for main in -lssl... " >&6; }
21576
22990
if test "${ac_cv_lib_ssl_main+set}" = set; then
21577
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22991
  $as_echo_n "(cached) " >&6
21578
22992
else
21579
22993
  ac_check_lib_save_LIBS=$LIBS
21580
22994
LIBS="-lssl  $LIBS"
21589
23003
int
21590
23004
main ()
21591
23005
{
21592
 
main ();
 
23006
return main ();
21593
23007
  ;
21594
23008
  return 0;
21595
23009
}
21596
23010
_ACEOF
21597
23011
rm -f conftest.$ac_objext conftest$ac_exeext
21598
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21599
 
  (eval $ac_link) 2>conftest.er1
 
23012
if { (ac_try="$ac_link"
 
23013
case "(($ac_try" in
 
23014
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23015
  *) ac_try_echo=$ac_try;;
 
23016
esac
 
23017
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
23018
$as_echo "$ac_try_echo") >&5
 
23019
  (eval "$ac_link") 2>conftest.er1
21600
23020
  ac_status=$?
21601
23021
  grep -v '^ *+' conftest.er1 >conftest.err
21602
23022
  rm -f conftest.er1
21603
23023
  cat conftest.err >&5
21604
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21605
 
  (exit $ac_status); } &&
21606
 
         { ac_try='test -z "$ac_c_werror_flag"
21607
 
                         || test ! -s conftest.err'
21608
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21609
 
  (eval $ac_try) 2>&5
21610
 
  ac_status=$?
21611
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21612
 
  (exit $ac_status); }; } &&
21613
 
         { ac_try='test -s conftest$ac_exeext'
21614
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21615
 
  (eval $ac_try) 2>&5
21616
 
  ac_status=$?
21617
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21618
 
  (exit $ac_status); }; }; then
 
23024
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23025
  (exit $ac_status); } && {
 
23026
         test -z "$ac_c_werror_flag" ||
 
23027
         test ! -s conftest.err
 
23028
       } && test -s conftest$ac_exeext && {
 
23029
         test "$cross_compiling" = yes ||
 
23030
         $as_test_x conftest$ac_exeext
 
23031
       }; then
21619
23032
  ac_cv_lib_ssl_main=yes
21620
23033
else
21621
 
  echo "$as_me: failed program was:" >&5
 
23034
  $as_echo "$as_me: failed program was:" >&5
21622
23035
sed 's/^/| /' conftest.$ac_ext >&5
21623
23036
 
21624
 
ac_cv_lib_ssl_main=no
 
23037
        ac_cv_lib_ssl_main=no
21625
23038
fi
21626
 
rm -f conftest.err conftest.$ac_objext \
 
23039
 
 
23040
rm -rf conftest.dSYM
 
23041
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21627
23042
      conftest$ac_exeext conftest.$ac_ext
21628
23043
LIBS=$ac_check_lib_save_LIBS
21629
23044
fi
21630
 
echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_main" >&5
21631
 
echo "${ECHO_T}$ac_cv_lib_ssl_main" >&6
21632
 
if test $ac_cv_lib_ssl_main = yes; then
 
23045
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_main" >&5
 
23046
$as_echo "$ac_cv_lib_ssl_main" >&6; }
 
23047
if test "x$ac_cv_lib_ssl_main" = x""yes; then
21633
23048
  cat >>confdefs.h <<_ACEOF
21634
23049
#define HAVE_LIBSSL 1
21635
23050
_ACEOF
21646
23061
fi
21647
23062
 
21648
23063
 
 
23064
#
 
23065
# if enable_local_connect_only is on then ignore whatever is set by enable_ssl
 
23066
#
 
23067
if test "$enable_local_connect_only" = "yes" ; then
 
23068
 
 
23069
cat >>confdefs.h <<\_ACEOF
 
23070
#define LOCAL_CONNECT_ONLY_ENABLE 1
 
23071
_ACEOF
 
23072
 
 
23073
   SFCB_CONF_HTTPS=false
 
23074
   SFCB_CONF_HTTP=false
 
23075
fi
 
23076
 
 
23077
 
 
23078
 
21649
23079
 
21650
23080
if test "$enable_slp"; then
21651
23081
        #defined in acinclude.m4
21652
23082
 
21653
 
    echo "$as_me:$LINENO: checking for SFCC headers" >&5
21654
 
echo $ECHO_N "checking for SFCC headers... $ECHO_C" >&6
 
23083
    { $as_echo "$as_me:$LINENO: checking for SFCC headers" >&5
 
23084
$as_echo_n "checking for SFCC headers... " >&6; }
21655
23085
        SFCC_CPP_FLAGS="$CPPFLAGS"
21656
23086
 
21657
 
    echo "$as_me:$LINENO: checking standard" >&5
21658
 
echo $ECHO_N "checking standard... $ECHO_C" >&6
 
23087
    { $as_echo "$as_me:$LINENO: checking standard" >&5
 
23088
$as_echo_n "checking standard... " >&6; }
21659
23089
    #AC_CHECK_HEADERS([cmci.h],[have_SFCC=yes],[have_SFCC=no])
21660
23090
    cat >conftest.$ac_ext <<_ACEOF
21661
23091
 
21669
23099
 
21670
23100
_ACEOF
21671
23101
rm -f conftest.$ac_objext conftest$ac_exeext
21672
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21673
 
  (eval $ac_link) 2>conftest.er1
 
23102
if { (ac_try="$ac_link"
 
23103
case "(($ac_try" in
 
23104
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23105
  *) ac_try_echo=$ac_try;;
 
23106
esac
 
23107
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
23108
$as_echo "$ac_try_echo") >&5
 
23109
  (eval "$ac_link") 2>conftest.er1
21674
23110
  ac_status=$?
21675
23111
  grep -v '^ *+' conftest.er1 >conftest.err
21676
23112
  rm -f conftest.er1
21677
23113
  cat conftest.err >&5
21678
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21679
 
  (exit $ac_status); } &&
21680
 
         { ac_try='test -z "$ac_c_werror_flag"
21681
 
                         || test ! -s conftest.err'
21682
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21683
 
  (eval $ac_try) 2>&5
21684
 
  ac_status=$?
21685
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21686
 
  (exit $ac_status); }; } &&
21687
 
         { ac_try='test -s conftest$ac_exeext'
21688
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21689
 
  (eval $ac_try) 2>&5
21690
 
  ac_status=$?
21691
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21692
 
  (exit $ac_status); }; }; then
 
23114
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23115
  (exit $ac_status); } && {
 
23116
         test -z "$ac_c_werror_flag" ||
 
23117
         test ! -s conftest.err
 
23118
       } && test -s conftest$ac_exeext && {
 
23119
         test "$cross_compiling" = yes ||
 
23120
         $as_test_x conftest$ac_exeext
 
23121
       }; then
21693
23122
 
21694
23123
        have_SFCC=yes
21695
23124
 
21696
23125
else
21697
 
  echo "$as_me: failed program was:" >&5
 
23126
  $as_echo "$as_me: failed program was:" >&5
21698
23127
sed 's/^/| /' conftest.$ac_ext >&5
21699
23128
 
21700
23129
 
21701
23130
        have_SFCC=no
21702
23131
 
21703
23132
fi
21704
 
rm -f conftest.err conftest.$ac_objext \
 
23133
 
 
23134
rm -rf conftest.dSYM
 
23135
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21705
23136
      conftest$ac_exeext conftest.$ac_ext
21706
23137
 
21707
23138
 
21708
23139
 
21709
23140
    if test "$have_SFCC" == "yes"; then
21710
 
                echo "$as_me:$LINENO: result: yes" >&5
21711
 
echo "${ECHO_T}yes" >&6
 
23141
                { $as_echo "$as_me:$LINENO: result: yes" >&5
 
23142
$as_echo "yes" >&6; }
21712
23143
    else
21713
23144
      _DIRS_="/usr/local/include \
21714
23145
                /usr/local/include/CimClientLib \
21719
23150
         _include_SFCC="$_DIR_"
21720
23151
         CPPFLAGS="$CPPFLAGS -I$_include_SFCC "
21721
23152
 
21722
 
    echo "$as_me:$LINENO: checking $_DIR_" >&5
21723
 
echo $ECHO_N "checking $_DIR_... $ECHO_C" >&6
 
23153
    { $as_echo "$as_me:$LINENO: checking $_DIR_" >&5
 
23154
$as_echo_n "checking $_DIR_... " >&6; }
21724
23155
    #AC_CHECK_HEADERS([cmci.h],[have_SFCC=yes],[have_SFCC=no])
21725
23156
    cat >conftest.$ac_ext <<_ACEOF
21726
23157
 
21734
23165
 
21735
23166
_ACEOF
21736
23167
rm -f conftest.$ac_objext conftest$ac_exeext
21737
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21738
 
  (eval $ac_link) 2>conftest.er1
 
23168
if { (ac_try="$ac_link"
 
23169
case "(($ac_try" in
 
23170
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23171
  *) ac_try_echo=$ac_try;;
 
23172
esac
 
23173
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
23174
$as_echo "$ac_try_echo") >&5
 
23175
  (eval "$ac_link") 2>conftest.er1
21739
23176
  ac_status=$?
21740
23177
  grep -v '^ *+' conftest.er1 >conftest.err
21741
23178
  rm -f conftest.er1
21742
23179
  cat conftest.err >&5
21743
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21744
 
  (exit $ac_status); } &&
21745
 
         { ac_try='test -z "$ac_c_werror_flag"
21746
 
                         || test ! -s conftest.err'
21747
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21748
 
  (eval $ac_try) 2>&5
21749
 
  ac_status=$?
21750
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21751
 
  (exit $ac_status); }; } &&
21752
 
         { ac_try='test -s conftest$ac_exeext'
21753
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21754
 
  (eval $ac_try) 2>&5
21755
 
  ac_status=$?
21756
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21757
 
  (exit $ac_status); }; }; then
 
23180
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23181
  (exit $ac_status); } && {
 
23182
         test -z "$ac_c_werror_flag" ||
 
23183
         test ! -s conftest.err
 
23184
       } && test -s conftest$ac_exeext && {
 
23185
         test "$cross_compiling" = yes ||
 
23186
         $as_test_x conftest$ac_exeext
 
23187
       }; then
21758
23188
 
21759
23189
        have_SFCC=yes
21760
23190
 
21761
23191
else
21762
 
  echo "$as_me: failed program was:" >&5
 
23192
  $as_echo "$as_me: failed program was:" >&5
21763
23193
sed 's/^/| /' conftest.$ac_ext >&5
21764
23194
 
21765
23195
 
21766
23196
        have_SFCC=no
21767
23197
 
21768
23198
fi
21769
 
rm -f conftest.err conftest.$ac_objext \
 
23199
 
 
23200
rm -rf conftest.dSYM
 
23201
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21770
23202
      conftest$ac_exeext conftest.$ac_ext
21771
23203
 
21772
23204
 
21773
23205
 
21774
23206
         if test "$have_SFCC" == "yes"; then
21775
 
                        echo "$as_me:$LINENO: result: yes" >&5
21776
 
echo "${ECHO_T}yes" >&6
 
23207
                        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
23208
$as_echo "yes" >&6; }
21777
23209
                        SFCC_CPP_FLAGS="$CPPFLAGS"
21778
23210
            break
21779
23211
         fi
21782
23214
    fi
21783
23215
    CPPFLAGS="$SFCC_CPP_FLAGS"
21784
23216
    if test "$have_SFCC" == "no"; then
21785
 
        { { echo "$as_me:$LINENO: error: no. Sorry cannot find SFCC headers files." >&5
21786
 
echo "$as_me: error: no. Sorry cannot find SFCC headers files." >&2;}
 
23217
        { { $as_echo "$as_me:$LINENO: error: no. Sorry cannot find SFCC headers files." >&5
 
23218
$as_echo "$as_me: error: no. Sorry cannot find SFCC headers files." >&2;}
21787
23219
   { (exit 1); exit 1; }; }
21788
23220
    fi
21789
23221
 
21790
23222
 
21791
23223
 
21792
 
echo "$as_me:$LINENO: checking for cmciConnect in -lcmpisfcc" >&5
21793
 
echo $ECHO_N "checking for cmciConnect in -lcmpisfcc... $ECHO_C" >&6
 
23224
{ $as_echo "$as_me:$LINENO: checking for cmciConnect in -lcmpisfcc" >&5
 
23225
$as_echo_n "checking for cmciConnect in -lcmpisfcc... " >&6; }
21794
23226
if test "${ac_cv_lib_cmpisfcc_cmciConnect+set}" = set; then
21795
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23227
  $as_echo_n "(cached) " >&6
21796
23228
else
21797
23229
  ac_check_lib_save_LIBS=$LIBS
21798
23230
LIBS="-lcmpisfcc  $LIBS"
21803
23235
cat >>conftest.$ac_ext <<_ACEOF
21804
23236
/* end confdefs.h.  */
21805
23237
 
21806
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23238
/* Override any GCC internal prototype to avoid an error.
 
23239
   Use char because int might match the return type of a GCC
 
23240
   builtin and then its argument prototype would still apply.  */
21807
23241
#ifdef __cplusplus
21808
23242
extern "C"
21809
23243
#endif
21810
 
/* We use char because int might match the return type of a gcc2
21811
 
   builtin and then its argument prototype would still apply.  */
21812
23244
char cmciConnect ();
21813
23245
int
21814
23246
main ()
21815
23247
{
21816
 
cmciConnect ();
 
23248
return cmciConnect ();
21817
23249
  ;
21818
23250
  return 0;
21819
23251
}
21820
23252
_ACEOF
21821
23253
rm -f conftest.$ac_objext conftest$ac_exeext
21822
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21823
 
  (eval $ac_link) 2>conftest.er1
 
23254
if { (ac_try="$ac_link"
 
23255
case "(($ac_try" in
 
23256
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23257
  *) ac_try_echo=$ac_try;;
 
23258
esac
 
23259
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
23260
$as_echo "$ac_try_echo") >&5
 
23261
  (eval "$ac_link") 2>conftest.er1
21824
23262
  ac_status=$?
21825
23263
  grep -v '^ *+' conftest.er1 >conftest.err
21826
23264
  rm -f conftest.er1
21827
23265
  cat conftest.err >&5
21828
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21829
 
  (exit $ac_status); } &&
21830
 
         { ac_try='test -z "$ac_c_werror_flag"
21831
 
                         || test ! -s conftest.err'
21832
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21833
 
  (eval $ac_try) 2>&5
21834
 
  ac_status=$?
21835
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21836
 
  (exit $ac_status); }; } &&
21837
 
         { ac_try='test -s conftest$ac_exeext'
21838
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21839
 
  (eval $ac_try) 2>&5
21840
 
  ac_status=$?
21841
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21842
 
  (exit $ac_status); }; }; then
 
23266
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23267
  (exit $ac_status); } && {
 
23268
         test -z "$ac_c_werror_flag" ||
 
23269
         test ! -s conftest.err
 
23270
       } && test -s conftest$ac_exeext && {
 
23271
         test "$cross_compiling" = yes ||
 
23272
         $as_test_x conftest$ac_exeext
 
23273
       }; then
21843
23274
  ac_cv_lib_cmpisfcc_cmciConnect=yes
21844
23275
else
21845
 
  echo "$as_me: failed program was:" >&5
 
23276
  $as_echo "$as_me: failed program was:" >&5
21846
23277
sed 's/^/| /' conftest.$ac_ext >&5
21847
23278
 
21848
 
ac_cv_lib_cmpisfcc_cmciConnect=no
 
23279
        ac_cv_lib_cmpisfcc_cmciConnect=no
21849
23280
fi
21850
 
rm -f conftest.err conftest.$ac_objext \
 
23281
 
 
23282
rm -rf conftest.dSYM
 
23283
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21851
23284
      conftest$ac_exeext conftest.$ac_ext
21852
23285
LIBS=$ac_check_lib_save_LIBS
21853
23286
fi
21854
 
echo "$as_me:$LINENO: result: $ac_cv_lib_cmpisfcc_cmciConnect" >&5
21855
 
echo "${ECHO_T}$ac_cv_lib_cmpisfcc_cmciConnect" >&6
21856
 
if test $ac_cv_lib_cmpisfcc_cmciConnect = yes; then
 
23287
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cmpisfcc_cmciConnect" >&5
 
23288
$as_echo "$ac_cv_lib_cmpisfcc_cmciConnect" >&6; }
 
23289
if test "x$ac_cv_lib_cmpisfcc_cmciConnect" = x""yes; then
21857
23290
  cat >>confdefs.h <<_ACEOF
21858
23291
#define HAVE_LIBCMPISFCC 1
21859
23292
_ACEOF
21861
23294
  LIBS="-lcmpisfcc $LIBS"
21862
23295
 
21863
23296
else
21864
 
  { { echo "$as_me:$LINENO: error: no. Sorry cannot find libcmpisfcc." >&5
21865
 
echo "$as_me: error: no. Sorry cannot find libcmpisfcc." >&2;}
 
23297
  { { $as_echo "$as_me:$LINENO: error: no. Sorry cannot find libcmpisfcc." >&5
 
23298
$as_echo "$as_me: error: no. Sorry cannot find libcmpisfcc." >&2;}
21866
23299
   { (exit 1); exit 1; }; }
21867
23300
fi
21868
23301
 
21870
23303
 
21871
23304
for ac_header in slp.h
21872
23305
do
21873
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21874
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
21875
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
21876
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21877
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
21878
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23306
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
23307
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
23308
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
23309
$as_echo_n "checking for $ac_header... " >&6; }
 
23310
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
23311
  $as_echo_n "(cached) " >&6
21879
23312
fi
21880
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21881
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
23313
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
23314
                 $as_echo "$as_val"'`
 
23315
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
23316
$as_echo "$ac_res" >&6; }
21882
23317
else
21883
23318
  # Is the header compilable?
21884
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
21885
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
23319
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
23320
$as_echo_n "checking $ac_header usability... " >&6; }
21886
23321
cat >conftest.$ac_ext <<_ACEOF
21887
23322
/* confdefs.h.  */
21888
23323
_ACEOF
21893
23328
#include <$ac_header>
21894
23329
_ACEOF
21895
23330
rm -f conftest.$ac_objext
21896
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21897
 
  (eval $ac_compile) 2>conftest.er1
 
23331
if { (ac_try="$ac_compile"
 
23332
case "(($ac_try" in
 
23333
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23334
  *) ac_try_echo=$ac_try;;
 
23335
esac
 
23336
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
23337
$as_echo "$ac_try_echo") >&5
 
23338
  (eval "$ac_compile") 2>conftest.er1
21898
23339
  ac_status=$?
21899
23340
  grep -v '^ *+' conftest.er1 >conftest.err
21900
23341
  rm -f conftest.er1
21901
23342
  cat conftest.err >&5
21902
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21903
 
  (exit $ac_status); } &&
21904
 
         { ac_try='test -z "$ac_c_werror_flag"
21905
 
                         || test ! -s conftest.err'
21906
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21907
 
  (eval $ac_try) 2>&5
21908
 
  ac_status=$?
21909
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21910
 
  (exit $ac_status); }; } &&
21911
 
         { ac_try='test -s conftest.$ac_objext'
21912
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21913
 
  (eval $ac_try) 2>&5
21914
 
  ac_status=$?
21915
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21916
 
  (exit $ac_status); }; }; then
 
23343
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23344
  (exit $ac_status); } && {
 
23345
         test -z "$ac_c_werror_flag" ||
 
23346
         test ! -s conftest.err
 
23347
       } && test -s conftest.$ac_objext; then
21917
23348
  ac_header_compiler=yes
21918
23349
else
21919
 
  echo "$as_me: failed program was:" >&5
 
23350
  $as_echo "$as_me: failed program was:" >&5
21920
23351
sed 's/^/| /' conftest.$ac_ext >&5
21921
23352
 
21922
 
ac_header_compiler=no
 
23353
        ac_header_compiler=no
21923
23354
fi
21924
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21925
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21926
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
23355
 
 
23356
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
23357
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
23358
$as_echo "$ac_header_compiler" >&6; }
21927
23359
 
21928
23360
# Is the header present?
21929
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
21930
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
23361
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
23362
$as_echo_n "checking $ac_header presence... " >&6; }
21931
23363
cat >conftest.$ac_ext <<_ACEOF
21932
23364
/* confdefs.h.  */
21933
23365
_ACEOF
21936
23368
/* end confdefs.h.  */
21937
23369
#include <$ac_header>
21938
23370
_ACEOF
21939
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21940
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
23371
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
23372
case "(($ac_try" in
 
23373
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23374
  *) ac_try_echo=$ac_try;;
 
23375
esac
 
23376
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
23377
$as_echo "$ac_try_echo") >&5
 
23378
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21941
23379
  ac_status=$?
21942
23380
  grep -v '^ *+' conftest.er1 >conftest.err
21943
23381
  rm -f conftest.er1
21944
23382
  cat conftest.err >&5
21945
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21946
 
  (exit $ac_status); } >/dev/null; then
21947
 
  if test -s conftest.err; then
21948
 
    ac_cpp_err=$ac_c_preproc_warn_flag
21949
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21950
 
  else
21951
 
    ac_cpp_err=
21952
 
  fi
21953
 
else
21954
 
  ac_cpp_err=yes
21955
 
fi
21956
 
if test -z "$ac_cpp_err"; then
 
23383
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23384
  (exit $ac_status); } >/dev/null && {
 
23385
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
23386
         test ! -s conftest.err
 
23387
       }; then
21957
23388
  ac_header_preproc=yes
21958
23389
else
21959
 
  echo "$as_me: failed program was:" >&5
 
23390
  $as_echo "$as_me: failed program was:" >&5
21960
23391
sed 's/^/| /' conftest.$ac_ext >&5
21961
23392
 
21962
23393
  ac_header_preproc=no
21963
23394
fi
 
23395
 
21964
23396
rm -f conftest.err conftest.$ac_ext
21965
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21966
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
23397
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
23398
$as_echo "$ac_header_preproc" >&6; }
21967
23399
 
21968
23400
# So?  What about this header?
21969
23401
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21970
23402
  yes:no: )
21971
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21972
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21973
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21974
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
23403
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
23404
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
23405
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
23406
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21975
23407
    ac_header_preproc=yes
21976
23408
    ;;
21977
23409
  no:yes:* )
21978
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21979
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21980
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
21981
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
21982
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21983
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21984
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
21985
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
21986
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21987
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21988
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21989
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21990
 
    (
21991
 
      cat <<\_ASBOX
 
23410
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
23411
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
23412
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
23413
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
23414
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
23415
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
23416
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
23417
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
23418
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
23419
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
23420
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
23421
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
23422
    ( cat <<\_ASBOX
21992
23423
## ------------------------------------------------ ##
21993
23424
## Report this to sblim-devel@lists.sourceforge.net ##
21994
23425
## ------------------------------------------------ ##
21995
23426
_ASBOX
21996
 
    ) |
21997
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
23427
     ) | sed "s/^/$as_me: WARNING:     /" >&2
21998
23428
    ;;
21999
23429
esac
22000
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
22001
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22002
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
22003
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23430
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
23431
$as_echo_n "checking for $ac_header... " >&6; }
 
23432
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
23433
  $as_echo_n "(cached) " >&6
22004
23434
else
22005
23435
  eval "$as_ac_Header=\$ac_header_preproc"
22006
23436
fi
22007
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22008
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
23437
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
23438
                 $as_echo "$as_val"'`
 
23439
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
23440
$as_echo "$ac_res" >&6; }
22009
23441
 
22010
23442
fi
22011
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
23443
as_val=`eval 'as_val=${'$as_ac_Header'}
 
23444
                 $as_echo "$as_val"'`
 
23445
   if test "x$as_val" = x""yes; then
22012
23446
  cat >>confdefs.h <<_ACEOF
22013
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
23447
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22014
23448
_ACEOF
22015
23449
 
22016
23450
else
22017
 
  { { echo "$as_me:$LINENO: error: no. Sorry cannot find slp.h." >&5
22018
 
echo "$as_me: error: no. Sorry cannot find slp.h." >&2;}
 
23451
  { { $as_echo "$as_me:$LINENO: error: no. Sorry cannot find slp.h." >&5
 
23452
$as_echo "$as_me: error: no. Sorry cannot find slp.h." >&2;}
22019
23453
   { (exit 1); exit 1; }; }
22020
23454
fi
22021
23455
 
22022
23456
done
22023
23457
 
22024
23458
 
22025
 
echo "$as_me:$LINENO: checking for SLPReg in -lslp" >&5
22026
 
echo $ECHO_N "checking for SLPReg in -lslp... $ECHO_C" >&6
 
23459
{ $as_echo "$as_me:$LINENO: checking for SLPReg in -lslp" >&5
 
23460
$as_echo_n "checking for SLPReg in -lslp... " >&6; }
22027
23461
if test "${ac_cv_lib_slp_SLPReg+set}" = set; then
22028
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23462
  $as_echo_n "(cached) " >&6
22029
23463
else
22030
23464
  ac_check_lib_save_LIBS=$LIBS
22031
23465
LIBS="-lslp  $LIBS"
22036
23470
cat >>conftest.$ac_ext <<_ACEOF
22037
23471
/* end confdefs.h.  */
22038
23472
 
22039
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23473
/* Override any GCC internal prototype to avoid an error.
 
23474
   Use char because int might match the return type of a GCC
 
23475
   builtin and then its argument prototype would still apply.  */
22040
23476
#ifdef __cplusplus
22041
23477
extern "C"
22042
23478
#endif
22043
 
/* We use char because int might match the return type of a gcc2
22044
 
   builtin and then its argument prototype would still apply.  */
22045
23479
char SLPReg ();
22046
23480
int
22047
23481
main ()
22048
23482
{
22049
 
SLPReg ();
 
23483
return SLPReg ();
22050
23484
  ;
22051
23485
  return 0;
22052
23486
}
22053
23487
_ACEOF
22054
23488
rm -f conftest.$ac_objext conftest$ac_exeext
22055
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22056
 
  (eval $ac_link) 2>conftest.er1
 
23489
if { (ac_try="$ac_link"
 
23490
case "(($ac_try" in
 
23491
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23492
  *) ac_try_echo=$ac_try;;
 
23493
esac
 
23494
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
23495
$as_echo "$ac_try_echo") >&5
 
23496
  (eval "$ac_link") 2>conftest.er1
22057
23497
  ac_status=$?
22058
23498
  grep -v '^ *+' conftest.er1 >conftest.err
22059
23499
  rm -f conftest.er1
22060
23500
  cat conftest.err >&5
22061
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22062
 
  (exit $ac_status); } &&
22063
 
         { ac_try='test -z "$ac_c_werror_flag"
22064
 
                         || test ! -s conftest.err'
22065
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22066
 
  (eval $ac_try) 2>&5
22067
 
  ac_status=$?
22068
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22069
 
  (exit $ac_status); }; } &&
22070
 
         { ac_try='test -s conftest$ac_exeext'
22071
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22072
 
  (eval $ac_try) 2>&5
22073
 
  ac_status=$?
22074
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22075
 
  (exit $ac_status); }; }; then
 
23501
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23502
  (exit $ac_status); } && {
 
23503
         test -z "$ac_c_werror_flag" ||
 
23504
         test ! -s conftest.err
 
23505
       } && test -s conftest$ac_exeext && {
 
23506
         test "$cross_compiling" = yes ||
 
23507
         $as_test_x conftest$ac_exeext
 
23508
       }; then
22076
23509
  ac_cv_lib_slp_SLPReg=yes
22077
23510
else
22078
 
  echo "$as_me: failed program was:" >&5
 
23511
  $as_echo "$as_me: failed program was:" >&5
22079
23512
sed 's/^/| /' conftest.$ac_ext >&5
22080
23513
 
22081
 
ac_cv_lib_slp_SLPReg=no
 
23514
        ac_cv_lib_slp_SLPReg=no
22082
23515
fi
22083
 
rm -f conftest.err conftest.$ac_objext \
 
23516
 
 
23517
rm -rf conftest.dSYM
 
23518
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22084
23519
      conftest$ac_exeext conftest.$ac_ext
22085
23520
LIBS=$ac_check_lib_save_LIBS
22086
23521
fi
22087
 
echo "$as_me:$LINENO: result: $ac_cv_lib_slp_SLPReg" >&5
22088
 
echo "${ECHO_T}$ac_cv_lib_slp_SLPReg" >&6
22089
 
if test $ac_cv_lib_slp_SLPReg = yes; then
 
23522
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_slp_SLPReg" >&5
 
23523
$as_echo "$ac_cv_lib_slp_SLPReg" >&6; }
 
23524
if test "x$ac_cv_lib_slp_SLPReg" = x""yes; then
22090
23525
  cat >>confdefs.h <<_ACEOF
22091
23526
#define HAVE_LIBSLP 1
22092
23527
_ACEOF
22094
23529
  LIBS="-lslp $LIBS"
22095
23530
 
22096
23531
else
22097
 
  { { echo "$as_me:$LINENO: error: no. Sorry cannot find libslp." >&5
22098
 
echo "$as_me: error: no. Sorry cannot find libslp." >&2;}
 
23532
  { { $as_echo "$as_me:$LINENO: error: no. Sorry cannot find libslp." >&5
 
23533
$as_echo "$as_me: error: no. Sorry cannot find libslp." >&2;}
22099
23534
   { (exit 1); exit 1; }; }
22100
23535
fi
22101
23536
 
22102
23537
fi
22103
23538
 
22104
23539
# Checks for header files.
22105
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
22106
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
23540
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
23541
$as_echo_n "checking for ANSI C header files... " >&6; }
22107
23542
if test "${ac_cv_header_stdc+set}" = set; then
22108
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23543
  $as_echo_n "(cached) " >&6
22109
23544
else
22110
23545
  cat >conftest.$ac_ext <<_ACEOF
22111
23546
/* confdefs.h.  */
22127
23562
}
22128
23563
_ACEOF
22129
23564
rm -f conftest.$ac_objext
22130
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22131
 
  (eval $ac_compile) 2>conftest.er1
 
23565
if { (ac_try="$ac_compile"
 
23566
case "(($ac_try" in
 
23567
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23568
  *) ac_try_echo=$ac_try;;
 
23569
esac
 
23570
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
23571
$as_echo "$ac_try_echo") >&5
 
23572
  (eval "$ac_compile") 2>conftest.er1
22132
23573
  ac_status=$?
22133
23574
  grep -v '^ *+' conftest.er1 >conftest.err
22134
23575
  rm -f conftest.er1
22135
23576
  cat conftest.err >&5
22136
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22137
 
  (exit $ac_status); } &&
22138
 
         { ac_try='test -z "$ac_c_werror_flag"
22139
 
                         || test ! -s conftest.err'
22140
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22141
 
  (eval $ac_try) 2>&5
22142
 
  ac_status=$?
22143
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22144
 
  (exit $ac_status); }; } &&
22145
 
         { ac_try='test -s conftest.$ac_objext'
22146
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22147
 
  (eval $ac_try) 2>&5
22148
 
  ac_status=$?
22149
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22150
 
  (exit $ac_status); }; }; then
 
23577
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23578
  (exit $ac_status); } && {
 
23579
         test -z "$ac_c_werror_flag" ||
 
23580
         test ! -s conftest.err
 
23581
       } && test -s conftest.$ac_objext; then
22151
23582
  ac_cv_header_stdc=yes
22152
23583
else
22153
 
  echo "$as_me: failed program was:" >&5
 
23584
  $as_echo "$as_me: failed program was:" >&5
22154
23585
sed 's/^/| /' conftest.$ac_ext >&5
22155
23586
 
22156
 
ac_cv_header_stdc=no
 
23587
        ac_cv_header_stdc=no
22157
23588
fi
22158
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
23589
 
 
23590
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22159
23591
 
22160
23592
if test $ac_cv_header_stdc = yes; then
22161
23593
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
22211
23643
cat >>conftest.$ac_ext <<_ACEOF
22212
23644
/* end confdefs.h.  */
22213
23645
#include <ctype.h>
 
23646
#include <stdlib.h>
22214
23647
#if ((' ' & 0x0FF) == 0x020)
22215
23648
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
22216
23649
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
22230
23663
  for (i = 0; i < 256; i++)
22231
23664
    if (XOR (islower (i), ISLOWER (i))
22232
23665
        || toupper (i) != TOUPPER (i))
22233
 
      exit(2);
22234
 
  exit (0);
 
23666
      return 2;
 
23667
  return 0;
22235
23668
}
22236
23669
_ACEOF
22237
23670
rm -f conftest$ac_exeext
22238
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22239
 
  (eval $ac_link) 2>&5
 
23671
if { (ac_try="$ac_link"
 
23672
case "(($ac_try" in
 
23673
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23674
  *) ac_try_echo=$ac_try;;
 
23675
esac
 
23676
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
23677
$as_echo "$ac_try_echo") >&5
 
23678
  (eval "$ac_link") 2>&5
22240
23679
  ac_status=$?
22241
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23680
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22242
23681
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22243
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22244
 
  (eval $ac_try) 2>&5
 
23682
  { (case "(($ac_try" in
 
23683
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23684
  *) ac_try_echo=$ac_try;;
 
23685
esac
 
23686
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
23687
$as_echo "$ac_try_echo") >&5
 
23688
  (eval "$ac_try") 2>&5
22245
23689
  ac_status=$?
22246
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23690
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22247
23691
  (exit $ac_status); }; }; then
22248
23692
  :
22249
23693
else
22250
 
  echo "$as_me: program exited with status $ac_status" >&5
22251
 
echo "$as_me: failed program was:" >&5
 
23694
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
23695
$as_echo "$as_me: failed program was:" >&5
22252
23696
sed 's/^/| /' conftest.$ac_ext >&5
22253
23697
 
22254
23698
( exit $ac_status )
22255
23699
ac_cv_header_stdc=no
22256
23700
fi
22257
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22258
 
fi
22259
 
fi
22260
 
fi
22261
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
22262
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
23701
rm -rf conftest.dSYM
 
23702
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
23703
fi
 
23704
 
 
23705
 
 
23706
fi
 
23707
fi
 
23708
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
23709
$as_echo "$ac_cv_header_stdc" >&6; }
22263
23710
if test $ac_cv_header_stdc = yes; then
22264
23711
 
22265
23712
cat >>confdefs.h <<\_ACEOF
22268
23715
 
22269
23716
fi
22270
23717
 
22271
 
echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
22272
 
echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
 
23718
{ $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
 
23719
$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
22273
23720
if test "${ac_cv_header_sys_wait_h+set}" = set; then
22274
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23721
  $as_echo_n "(cached) " >&6
22275
23722
else
22276
23723
  cat >conftest.$ac_ext <<_ACEOF
22277
23724
/* confdefs.h.  */
22282
23729
#include <sys/types.h>
22283
23730
#include <sys/wait.h>
22284
23731
#ifndef WEXITSTATUS
22285
 
# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
 
23732
# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
22286
23733
#endif
22287
23734
#ifndef WIFEXITED
22288
23735
# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
22299
23746
}
22300
23747
_ACEOF
22301
23748
rm -f conftest.$ac_objext
22302
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22303
 
  (eval $ac_compile) 2>conftest.er1
 
23749
if { (ac_try="$ac_compile"
 
23750
case "(($ac_try" in
 
23751
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23752
  *) ac_try_echo=$ac_try;;
 
23753
esac
 
23754
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
23755
$as_echo "$ac_try_echo") >&5
 
23756
  (eval "$ac_compile") 2>conftest.er1
22304
23757
  ac_status=$?
22305
23758
  grep -v '^ *+' conftest.er1 >conftest.err
22306
23759
  rm -f conftest.er1
22307
23760
  cat conftest.err >&5
22308
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22309
 
  (exit $ac_status); } &&
22310
 
         { ac_try='test -z "$ac_c_werror_flag"
22311
 
                         || test ! -s conftest.err'
22312
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22313
 
  (eval $ac_try) 2>&5
22314
 
  ac_status=$?
22315
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22316
 
  (exit $ac_status); }; } &&
22317
 
         { ac_try='test -s conftest.$ac_objext'
22318
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22319
 
  (eval $ac_try) 2>&5
22320
 
  ac_status=$?
22321
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22322
 
  (exit $ac_status); }; }; then
 
23761
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23762
  (exit $ac_status); } && {
 
23763
         test -z "$ac_c_werror_flag" ||
 
23764
         test ! -s conftest.err
 
23765
       } && test -s conftest.$ac_objext; then
22323
23766
  ac_cv_header_sys_wait_h=yes
22324
23767
else
22325
 
  echo "$as_me: failed program was:" >&5
 
23768
  $as_echo "$as_me: failed program was:" >&5
22326
23769
sed 's/^/| /' conftest.$ac_ext >&5
22327
23770
 
22328
 
ac_cv_header_sys_wait_h=no
22329
 
fi
22330
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22331
 
fi
22332
 
echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
22333
 
echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
 
23771
        ac_cv_header_sys_wait_h=no
 
23772
fi
 
23773
 
 
23774
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
23775
fi
 
23776
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
 
23777
$as_echo "$ac_cv_header_sys_wait_h" >&6; }
22334
23778
if test $ac_cv_header_sys_wait_h = yes; then
22335
23779
 
22336
23780
cat >>confdefs.h <<\_ACEOF
22351
23795
 
22352
23796
for ac_header in fcntl.h limits.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h sys/time.h unistd.h zlib.h
22353
23797
do
22354
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22355
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
22356
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
22357
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22358
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
22359
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23798
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
23799
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
23800
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
23801
$as_echo_n "checking for $ac_header... " >&6; }
 
23802
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
23803
  $as_echo_n "(cached) " >&6
22360
23804
fi
22361
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22362
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
23805
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
23806
                 $as_echo "$as_val"'`
 
23807
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
23808
$as_echo "$ac_res" >&6; }
22363
23809
else
22364
23810
  # Is the header compilable?
22365
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
22366
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
23811
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
23812
$as_echo_n "checking $ac_header usability... " >&6; }
22367
23813
cat >conftest.$ac_ext <<_ACEOF
22368
23814
/* confdefs.h.  */
22369
23815
_ACEOF
22374
23820
#include <$ac_header>
22375
23821
_ACEOF
22376
23822
rm -f conftest.$ac_objext
22377
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22378
 
  (eval $ac_compile) 2>conftest.er1
 
23823
if { (ac_try="$ac_compile"
 
23824
case "(($ac_try" in
 
23825
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23826
  *) ac_try_echo=$ac_try;;
 
23827
esac
 
23828
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
23829
$as_echo "$ac_try_echo") >&5
 
23830
  (eval "$ac_compile") 2>conftest.er1
22379
23831
  ac_status=$?
22380
23832
  grep -v '^ *+' conftest.er1 >conftest.err
22381
23833
  rm -f conftest.er1
22382
23834
  cat conftest.err >&5
22383
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22384
 
  (exit $ac_status); } &&
22385
 
         { ac_try='test -z "$ac_c_werror_flag"
22386
 
                         || test ! -s conftest.err'
22387
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22388
 
  (eval $ac_try) 2>&5
22389
 
  ac_status=$?
22390
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22391
 
  (exit $ac_status); }; } &&
22392
 
         { ac_try='test -s conftest.$ac_objext'
22393
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22394
 
  (eval $ac_try) 2>&5
22395
 
  ac_status=$?
22396
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22397
 
  (exit $ac_status); }; }; then
 
23835
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23836
  (exit $ac_status); } && {
 
23837
         test -z "$ac_c_werror_flag" ||
 
23838
         test ! -s conftest.err
 
23839
       } && test -s conftest.$ac_objext; then
22398
23840
  ac_header_compiler=yes
22399
23841
else
22400
 
  echo "$as_me: failed program was:" >&5
 
23842
  $as_echo "$as_me: failed program was:" >&5
22401
23843
sed 's/^/| /' conftest.$ac_ext >&5
22402
23844
 
22403
 
ac_header_compiler=no
 
23845
        ac_header_compiler=no
22404
23846
fi
22405
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22406
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22407
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
23847
 
 
23848
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
23849
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
23850
$as_echo "$ac_header_compiler" >&6; }
22408
23851
 
22409
23852
# Is the header present?
22410
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
22411
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
23853
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
23854
$as_echo_n "checking $ac_header presence... " >&6; }
22412
23855
cat >conftest.$ac_ext <<_ACEOF
22413
23856
/* confdefs.h.  */
22414
23857
_ACEOF
22417
23860
/* end confdefs.h.  */
22418
23861
#include <$ac_header>
22419
23862
_ACEOF
22420
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22421
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
23863
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
23864
case "(($ac_try" in
 
23865
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23866
  *) ac_try_echo=$ac_try;;
 
23867
esac
 
23868
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
23869
$as_echo "$ac_try_echo") >&5
 
23870
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22422
23871
  ac_status=$?
22423
23872
  grep -v '^ *+' conftest.er1 >conftest.err
22424
23873
  rm -f conftest.er1
22425
23874
  cat conftest.err >&5
22426
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22427
 
  (exit $ac_status); } >/dev/null; then
22428
 
  if test -s conftest.err; then
22429
 
    ac_cpp_err=$ac_c_preproc_warn_flag
22430
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22431
 
  else
22432
 
    ac_cpp_err=
22433
 
  fi
22434
 
else
22435
 
  ac_cpp_err=yes
22436
 
fi
22437
 
if test -z "$ac_cpp_err"; then
 
23875
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23876
  (exit $ac_status); } >/dev/null && {
 
23877
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
23878
         test ! -s conftest.err
 
23879
       }; then
22438
23880
  ac_header_preproc=yes
22439
23881
else
22440
 
  echo "$as_me: failed program was:" >&5
 
23882
  $as_echo "$as_me: failed program was:" >&5
22441
23883
sed 's/^/| /' conftest.$ac_ext >&5
22442
23884
 
22443
23885
  ac_header_preproc=no
22444
23886
fi
 
23887
 
22445
23888
rm -f conftest.err conftest.$ac_ext
22446
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22447
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
23889
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
23890
$as_echo "$ac_header_preproc" >&6; }
22448
23891
 
22449
23892
# So?  What about this header?
22450
23893
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22451
23894
  yes:no: )
22452
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22453
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22454
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22455
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
23895
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
23896
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
23897
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
23898
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22456
23899
    ac_header_preproc=yes
22457
23900
    ;;
22458
23901
  no:yes:* )
22459
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22460
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22461
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
22462
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
22463
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22464
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22465
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
22466
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
22467
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22468
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22469
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22470
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22471
 
    (
22472
 
      cat <<\_ASBOX
 
23902
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
23903
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
23904
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
23905
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
23906
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
23907
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
23908
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
23909
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
23910
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
23911
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
23912
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
23913
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
23914
    ( cat <<\_ASBOX
22473
23915
## ------------------------------------------------ ##
22474
23916
## Report this to sblim-devel@lists.sourceforge.net ##
22475
23917
## ------------------------------------------------ ##
22476
23918
_ASBOX
22477
 
    ) |
22478
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
23919
     ) | sed "s/^/$as_me: WARNING:     /" >&2
22479
23920
    ;;
22480
23921
esac
22481
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
22482
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22483
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
22484
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23922
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
23923
$as_echo_n "checking for $ac_header... " >&6; }
 
23924
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
23925
  $as_echo_n "(cached) " >&6
22485
23926
else
22486
23927
  eval "$as_ac_Header=\$ac_header_preproc"
22487
23928
fi
22488
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22489
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
23929
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
23930
                 $as_echo "$as_val"'`
 
23931
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
23932
$as_echo "$ac_res" >&6; }
22490
23933
 
22491
23934
fi
22492
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
23935
as_val=`eval 'as_val=${'$as_ac_Header'}
 
23936
                 $as_echo "$as_val"'`
 
23937
   if test "x$as_val" = x""yes; then
22493
23938
  cat >>confdefs.h <<_ACEOF
22494
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
23939
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22495
23940
_ACEOF
22496
23941
 
22497
23942
fi
22500
23945
 
22501
23946
 
22502
23947
# Checks for typedefs, structures, and compiler characteristics.
22503
 
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22504
 
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
 
23948
 
 
23949
 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
 
23950
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
22505
23951
if test "${ac_cv_c_bigendian+set}" = set; then
22506
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22507
 
else
22508
 
  # See if sys/param.h defines the BYTE_ORDER macro.
22509
 
cat >conftest.$ac_ext <<_ACEOF
 
23952
  $as_echo_n "(cached) " >&6
 
23953
else
 
23954
  ac_cv_c_bigendian=unknown
 
23955
    # See if we're dealing with a universal compiler.
 
23956
    cat >conftest.$ac_ext <<_ACEOF
 
23957
/* confdefs.h.  */
 
23958
_ACEOF
 
23959
cat confdefs.h >>conftest.$ac_ext
 
23960
cat >>conftest.$ac_ext <<_ACEOF
 
23961
/* end confdefs.h.  */
 
23962
#ifndef __APPLE_CC__
 
23963
               not a universal capable compiler
 
23964
             #endif
 
23965
             typedef int dummy;
 
23966
 
 
23967
_ACEOF
 
23968
rm -f conftest.$ac_objext
 
23969
if { (ac_try="$ac_compile"
 
23970
case "(($ac_try" in
 
23971
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23972
  *) ac_try_echo=$ac_try;;
 
23973
esac
 
23974
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
23975
$as_echo "$ac_try_echo") >&5
 
23976
  (eval "$ac_compile") 2>conftest.er1
 
23977
  ac_status=$?
 
23978
  grep -v '^ *+' conftest.er1 >conftest.err
 
23979
  rm -f conftest.er1
 
23980
  cat conftest.err >&5
 
23981
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23982
  (exit $ac_status); } && {
 
23983
         test -z "$ac_c_werror_flag" ||
 
23984
         test ! -s conftest.err
 
23985
       } && test -s conftest.$ac_objext; then
 
23986
 
 
23987
        # Check for potential -arch flags.  It is not universal unless
 
23988
        # there are some -arch flags.  Note that *ppc* also matches
 
23989
        # ppc64.  This check is also rather less than ideal.
 
23990
        case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
 
23991
          *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
 
23992
        esac
 
23993
else
 
23994
  $as_echo "$as_me: failed program was:" >&5
 
23995
sed 's/^/| /' conftest.$ac_ext >&5
 
23996
 
 
23997
 
 
23998
fi
 
23999
 
 
24000
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24001
    if test $ac_cv_c_bigendian = unknown; then
 
24002
      # See if sys/param.h defines the BYTE_ORDER macro.
 
24003
      cat >conftest.$ac_ext <<_ACEOF
22510
24004
/* confdefs.h.  */
22511
24005
_ACEOF
22512
24006
cat confdefs.h >>conftest.$ac_ext
22513
24007
cat >>conftest.$ac_ext <<_ACEOF
22514
24008
/* end confdefs.h.  */
22515
24009
#include <sys/types.h>
22516
 
#include <sys/param.h>
 
24010
             #include <sys/param.h>
22517
24011
 
22518
24012
int
22519
24013
main ()
22520
24014
{
22521
 
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22522
 
 bogus endian macros
22523
 
#endif
 
24015
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
 
24016
                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
 
24017
                     && LITTLE_ENDIAN)
 
24018
              bogus endian macros
 
24019
             #endif
22524
24020
 
22525
24021
  ;
22526
24022
  return 0;
22527
24023
}
22528
24024
_ACEOF
22529
24025
rm -f conftest.$ac_objext
22530
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22531
 
  (eval $ac_compile) 2>conftest.er1
 
24026
if { (ac_try="$ac_compile"
 
24027
case "(($ac_try" in
 
24028
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24029
  *) ac_try_echo=$ac_try;;
 
24030
esac
 
24031
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
24032
$as_echo "$ac_try_echo") >&5
 
24033
  (eval "$ac_compile") 2>conftest.er1
22532
24034
  ac_status=$?
22533
24035
  grep -v '^ *+' conftest.er1 >conftest.err
22534
24036
  rm -f conftest.er1
22535
24037
  cat conftest.err >&5
22536
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22537
 
  (exit $ac_status); } &&
22538
 
         { ac_try='test -z "$ac_c_werror_flag"
22539
 
                         || test ! -s conftest.err'
22540
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22541
 
  (eval $ac_try) 2>&5
22542
 
  ac_status=$?
22543
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22544
 
  (exit $ac_status); }; } &&
22545
 
         { ac_try='test -s conftest.$ac_objext'
22546
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22547
 
  (eval $ac_try) 2>&5
22548
 
  ac_status=$?
22549
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22550
 
  (exit $ac_status); }; }; then
 
24038
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24039
  (exit $ac_status); } && {
 
24040
         test -z "$ac_c_werror_flag" ||
 
24041
         test ! -s conftest.err
 
24042
       } && test -s conftest.$ac_objext; then
22551
24043
  # It does; now see whether it defined to BIG_ENDIAN or not.
22552
 
cat >conftest.$ac_ext <<_ACEOF
 
24044
         cat >conftest.$ac_ext <<_ACEOF
22553
24045
/* confdefs.h.  */
22554
24046
_ACEOF
22555
24047
cat confdefs.h >>conftest.$ac_ext
22556
24048
cat >>conftest.$ac_ext <<_ACEOF
22557
24049
/* end confdefs.h.  */
22558
24050
#include <sys/types.h>
22559
 
#include <sys/param.h>
 
24051
                #include <sys/param.h>
22560
24052
 
22561
24053
int
22562
24054
main ()
22563
24055
{
22564
24056
#if BYTE_ORDER != BIG_ENDIAN
22565
 
 not big endian
22566
 
#endif
22567
 
 
22568
 
  ;
22569
 
  return 0;
22570
 
}
22571
 
_ACEOF
22572
 
rm -f conftest.$ac_objext
22573
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22574
 
  (eval $ac_compile) 2>conftest.er1
22575
 
  ac_status=$?
22576
 
  grep -v '^ *+' conftest.er1 >conftest.err
22577
 
  rm -f conftest.er1
22578
 
  cat conftest.err >&5
22579
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22580
 
  (exit $ac_status); } &&
22581
 
         { ac_try='test -z "$ac_c_werror_flag"
22582
 
                         || test ! -s conftest.err'
22583
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22584
 
  (eval $ac_try) 2>&5
22585
 
  ac_status=$?
22586
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22587
 
  (exit $ac_status); }; } &&
22588
 
         { ac_try='test -s conftest.$ac_objext'
22589
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22590
 
  (eval $ac_try) 2>&5
22591
 
  ac_status=$?
22592
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22593
 
  (exit $ac_status); }; }; then
22594
 
  ac_cv_c_bigendian=yes
22595
 
else
22596
 
  echo "$as_me: failed program was:" >&5
22597
 
sed 's/^/| /' conftest.$ac_ext >&5
22598
 
 
22599
 
ac_cv_c_bigendian=no
22600
 
fi
22601
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22602
 
else
22603
 
  echo "$as_me: failed program was:" >&5
22604
 
sed 's/^/| /' conftest.$ac_ext >&5
22605
 
 
22606
 
# It does not; compile a test program.
22607
 
if test "$cross_compiling" = yes; then
22608
 
  # try to guess the endianness by grepping values into an object file
22609
 
  ac_cv_c_bigendian=unknown
22610
 
  cat >conftest.$ac_ext <<_ACEOF
22611
 
/* confdefs.h.  */
22612
 
_ACEOF
22613
 
cat confdefs.h >>conftest.$ac_ext
22614
 
cat >>conftest.$ac_ext <<_ACEOF
22615
 
/* end confdefs.h.  */
22616
 
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
22617
 
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
22618
 
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
22619
 
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
22620
 
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
22621
 
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
22622
 
int
22623
 
main ()
22624
 
{
22625
 
 _ascii (); _ebcdic ();
22626
 
  ;
22627
 
  return 0;
22628
 
}
22629
 
_ACEOF
22630
 
rm -f conftest.$ac_objext
22631
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22632
 
  (eval $ac_compile) 2>conftest.er1
22633
 
  ac_status=$?
22634
 
  grep -v '^ *+' conftest.er1 >conftest.err
22635
 
  rm -f conftest.er1
22636
 
  cat conftest.err >&5
22637
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22638
 
  (exit $ac_status); } &&
22639
 
         { ac_try='test -z "$ac_c_werror_flag"
22640
 
                         || test ! -s conftest.err'
22641
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22642
 
  (eval $ac_try) 2>&5
22643
 
  ac_status=$?
22644
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22645
 
  (exit $ac_status); }; } &&
22646
 
         { ac_try='test -s conftest.$ac_objext'
22647
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22648
 
  (eval $ac_try) 2>&5
22649
 
  ac_status=$?
22650
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22651
 
  (exit $ac_status); }; }; then
22652
 
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
22653
 
  ac_cv_c_bigendian=yes
22654
 
fi
22655
 
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
22656
 
  if test "$ac_cv_c_bigendian" = unknown; then
22657
 
    ac_cv_c_bigendian=no
22658
 
  else
22659
 
    # finding both strings is unlikely to happen, but who knows?
22660
 
    ac_cv_c_bigendian=unknown
22661
 
  fi
22662
 
fi
22663
 
else
22664
 
  echo "$as_me: failed program was:" >&5
22665
 
sed 's/^/| /' conftest.$ac_ext >&5
22666
 
 
22667
 
fi
22668
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22669
 
else
22670
 
  cat >conftest.$ac_ext <<_ACEOF
22671
 
/* confdefs.h.  */
22672
 
_ACEOF
22673
 
cat confdefs.h >>conftest.$ac_ext
22674
 
cat >>conftest.$ac_ext <<_ACEOF
22675
 
/* end confdefs.h.  */
22676
 
int
22677
 
main ()
22678
 
{
22679
 
  /* Are we little or big endian?  From Harbison&Steele.  */
22680
 
  union
22681
 
  {
22682
 
    long l;
22683
 
    char c[sizeof (long)];
22684
 
  } u;
22685
 
  u.l = 1;
22686
 
  exit (u.c[sizeof (long) - 1] == 1);
 
24057
                 not big endian
 
24058
                #endif
 
24059
 
 
24060
  ;
 
24061
  return 0;
 
24062
}
 
24063
_ACEOF
 
24064
rm -f conftest.$ac_objext
 
24065
if { (ac_try="$ac_compile"
 
24066
case "(($ac_try" in
 
24067
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24068
  *) ac_try_echo=$ac_try;;
 
24069
esac
 
24070
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
24071
$as_echo "$ac_try_echo") >&5
 
24072
  (eval "$ac_compile") 2>conftest.er1
 
24073
  ac_status=$?
 
24074
  grep -v '^ *+' conftest.er1 >conftest.err
 
24075
  rm -f conftest.er1
 
24076
  cat conftest.err >&5
 
24077
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24078
  (exit $ac_status); } && {
 
24079
         test -z "$ac_c_werror_flag" ||
 
24080
         test ! -s conftest.err
 
24081
       } && test -s conftest.$ac_objext; then
 
24082
  ac_cv_c_bigendian=yes
 
24083
else
 
24084
  $as_echo "$as_me: failed program was:" >&5
 
24085
sed 's/^/| /' conftest.$ac_ext >&5
 
24086
 
 
24087
        ac_cv_c_bigendian=no
 
24088
fi
 
24089
 
 
24090
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24091
else
 
24092
  $as_echo "$as_me: failed program was:" >&5
 
24093
sed 's/^/| /' conftest.$ac_ext >&5
 
24094
 
 
24095
 
 
24096
fi
 
24097
 
 
24098
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24099
    fi
 
24100
    if test $ac_cv_c_bigendian = unknown; then
 
24101
      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
 
24102
      cat >conftest.$ac_ext <<_ACEOF
 
24103
/* confdefs.h.  */
 
24104
_ACEOF
 
24105
cat confdefs.h >>conftest.$ac_ext
 
24106
cat >>conftest.$ac_ext <<_ACEOF
 
24107
/* end confdefs.h.  */
 
24108
#include <limits.h>
 
24109
 
 
24110
int
 
24111
main ()
 
24112
{
 
24113
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
 
24114
              bogus endian macros
 
24115
             #endif
 
24116
 
 
24117
  ;
 
24118
  return 0;
 
24119
}
 
24120
_ACEOF
 
24121
rm -f conftest.$ac_objext
 
24122
if { (ac_try="$ac_compile"
 
24123
case "(($ac_try" in
 
24124
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24125
  *) ac_try_echo=$ac_try;;
 
24126
esac
 
24127
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
24128
$as_echo "$ac_try_echo") >&5
 
24129
  (eval "$ac_compile") 2>conftest.er1
 
24130
  ac_status=$?
 
24131
  grep -v '^ *+' conftest.er1 >conftest.err
 
24132
  rm -f conftest.er1
 
24133
  cat conftest.err >&5
 
24134
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24135
  (exit $ac_status); } && {
 
24136
         test -z "$ac_c_werror_flag" ||
 
24137
         test ! -s conftest.err
 
24138
       } && test -s conftest.$ac_objext; then
 
24139
  # It does; now see whether it defined to _BIG_ENDIAN or not.
 
24140
         cat >conftest.$ac_ext <<_ACEOF
 
24141
/* confdefs.h.  */
 
24142
_ACEOF
 
24143
cat confdefs.h >>conftest.$ac_ext
 
24144
cat >>conftest.$ac_ext <<_ACEOF
 
24145
/* end confdefs.h.  */
 
24146
#include <limits.h>
 
24147
 
 
24148
int
 
24149
main ()
 
24150
{
 
24151
#ifndef _BIG_ENDIAN
 
24152
                 not big endian
 
24153
                #endif
 
24154
 
 
24155
  ;
 
24156
  return 0;
 
24157
}
 
24158
_ACEOF
 
24159
rm -f conftest.$ac_objext
 
24160
if { (ac_try="$ac_compile"
 
24161
case "(($ac_try" in
 
24162
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24163
  *) ac_try_echo=$ac_try;;
 
24164
esac
 
24165
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
24166
$as_echo "$ac_try_echo") >&5
 
24167
  (eval "$ac_compile") 2>conftest.er1
 
24168
  ac_status=$?
 
24169
  grep -v '^ *+' conftest.er1 >conftest.err
 
24170
  rm -f conftest.er1
 
24171
  cat conftest.err >&5
 
24172
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24173
  (exit $ac_status); } && {
 
24174
         test -z "$ac_c_werror_flag" ||
 
24175
         test ! -s conftest.err
 
24176
       } && test -s conftest.$ac_objext; then
 
24177
  ac_cv_c_bigendian=yes
 
24178
else
 
24179
  $as_echo "$as_me: failed program was:" >&5
 
24180
sed 's/^/| /' conftest.$ac_ext >&5
 
24181
 
 
24182
        ac_cv_c_bigendian=no
 
24183
fi
 
24184
 
 
24185
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24186
else
 
24187
  $as_echo "$as_me: failed program was:" >&5
 
24188
sed 's/^/| /' conftest.$ac_ext >&5
 
24189
 
 
24190
 
 
24191
fi
 
24192
 
 
24193
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24194
    fi
 
24195
    if test $ac_cv_c_bigendian = unknown; then
 
24196
      # Compile a test program.
 
24197
      if test "$cross_compiling" = yes; then
 
24198
  # Try to guess by grepping values from an object file.
 
24199
         cat >conftest.$ac_ext <<_ACEOF
 
24200
/* confdefs.h.  */
 
24201
_ACEOF
 
24202
cat confdefs.h >>conftest.$ac_ext
 
24203
cat >>conftest.$ac_ext <<_ACEOF
 
24204
/* end confdefs.h.  */
 
24205
short int ascii_mm[] =
 
24206
                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
 
24207
                short int ascii_ii[] =
 
24208
                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
 
24209
                int use_ascii (int i) {
 
24210
                  return ascii_mm[i] + ascii_ii[i];
 
24211
                }
 
24212
                short int ebcdic_ii[] =
 
24213
                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
 
24214
                short int ebcdic_mm[] =
 
24215
                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
 
24216
                int use_ebcdic (int i) {
 
24217
                  return ebcdic_mm[i] + ebcdic_ii[i];
 
24218
                }
 
24219
                extern int foo;
 
24220
 
 
24221
int
 
24222
main ()
 
24223
{
 
24224
return use_ascii (foo) == use_ebcdic (foo);
 
24225
  ;
 
24226
  return 0;
 
24227
}
 
24228
_ACEOF
 
24229
rm -f conftest.$ac_objext
 
24230
if { (ac_try="$ac_compile"
 
24231
case "(($ac_try" in
 
24232
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24233
  *) ac_try_echo=$ac_try;;
 
24234
esac
 
24235
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
24236
$as_echo "$ac_try_echo") >&5
 
24237
  (eval "$ac_compile") 2>conftest.er1
 
24238
  ac_status=$?
 
24239
  grep -v '^ *+' conftest.er1 >conftest.err
 
24240
  rm -f conftest.er1
 
24241
  cat conftest.err >&5
 
24242
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24243
  (exit $ac_status); } && {
 
24244
         test -z "$ac_c_werror_flag" ||
 
24245
         test ! -s conftest.err
 
24246
       } && test -s conftest.$ac_objext; then
 
24247
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
 
24248
              ac_cv_c_bigendian=yes
 
24249
            fi
 
24250
            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
 
24251
              if test "$ac_cv_c_bigendian" = unknown; then
 
24252
                ac_cv_c_bigendian=no
 
24253
              else
 
24254
                # finding both strings is unlikely to happen, but who knows?
 
24255
                ac_cv_c_bigendian=unknown
 
24256
              fi
 
24257
            fi
 
24258
else
 
24259
  $as_echo "$as_me: failed program was:" >&5
 
24260
sed 's/^/| /' conftest.$ac_ext >&5
 
24261
 
 
24262
 
 
24263
fi
 
24264
 
 
24265
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24266
else
 
24267
  cat >conftest.$ac_ext <<_ACEOF
 
24268
/* confdefs.h.  */
 
24269
_ACEOF
 
24270
cat confdefs.h >>conftest.$ac_ext
 
24271
cat >>conftest.$ac_ext <<_ACEOF
 
24272
/* end confdefs.h.  */
 
24273
$ac_includes_default
 
24274
int
 
24275
main ()
 
24276
{
 
24277
 
 
24278
             /* Are we little or big endian?  From Harbison&Steele.  */
 
24279
             union
 
24280
             {
 
24281
               long int l;
 
24282
               char c[sizeof (long int)];
 
24283
             } u;
 
24284
             u.l = 1;
 
24285
             return u.c[sizeof (long int) - 1] == 1;
 
24286
 
 
24287
  ;
 
24288
  return 0;
22687
24289
}
22688
24290
_ACEOF
22689
24291
rm -f conftest$ac_exeext
22690
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22691
 
  (eval $ac_link) 2>&5
 
24292
if { (ac_try="$ac_link"
 
24293
case "(($ac_try" in
 
24294
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24295
  *) ac_try_echo=$ac_try;;
 
24296
esac
 
24297
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
24298
$as_echo "$ac_try_echo") >&5
 
24299
  (eval "$ac_link") 2>&5
22692
24300
  ac_status=$?
22693
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24301
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22694
24302
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22695
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22696
 
  (eval $ac_try) 2>&5
 
24303
  { (case "(($ac_try" in
 
24304
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24305
  *) ac_try_echo=$ac_try;;
 
24306
esac
 
24307
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
24308
$as_echo "$ac_try_echo") >&5
 
24309
  (eval "$ac_try") 2>&5
22697
24310
  ac_status=$?
22698
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24311
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22699
24312
  (exit $ac_status); }; }; then
22700
24313
  ac_cv_c_bigendian=no
22701
24314
else
22702
 
  echo "$as_me: program exited with status $ac_status" >&5
22703
 
echo "$as_me: failed program was:" >&5
 
24315
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
24316
$as_echo "$as_me: failed program was:" >&5
22704
24317
sed 's/^/| /' conftest.$ac_ext >&5
22705
24318
 
22706
24319
( exit $ac_status )
22707
24320
ac_cv_c_bigendian=yes
22708
24321
fi
22709
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22710
 
fi
22711
 
fi
22712
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22713
 
fi
22714
 
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22715
 
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22716
 
case $ac_cv_c_bigendian in
22717
 
  yes)
22718
 
 
22719
 
cat >>confdefs.h <<\_ACEOF
 
24322
rm -rf conftest.dSYM
 
24323
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
24324
fi
 
24325
 
 
24326
 
 
24327
    fi
 
24328
fi
 
24329
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
 
24330
$as_echo "$ac_cv_c_bigendian" >&6; }
 
24331
 case $ac_cv_c_bigendian in #(
 
24332
   yes)
 
24333
     cat >>confdefs.h <<\_ACEOF
22720
24334
#define WORDS_BIGENDIAN 1
22721
24335
_ACEOF
22722
 
 ;;
22723
 
  no)
22724
 
     ;;
22725
 
  *)
22726
 
    { { echo "$as_me:$LINENO: error: unknown endianness
22727
 
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
22728
 
echo "$as_me: error: unknown endianness
22729
 
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
 
24336
;; #(
 
24337
   no)
 
24338
      ;; #(
 
24339
   universal)
 
24340
 
 
24341
cat >>confdefs.h <<\_ACEOF
 
24342
#define AC_APPLE_UNIVERSAL_BUILD 1
 
24343
_ACEOF
 
24344
 
 
24345
     ;; #(
 
24346
   *)
 
24347
     { { $as_echo "$as_me:$LINENO: error: unknown endianness
 
24348
 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
 
24349
$as_echo "$as_me: error: unknown endianness
 
24350
 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
22730
24351
   { (exit 1); exit 1; }; } ;;
22731
 
esac
 
24352
 esac
22732
24353
 
22733
 
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
22734
 
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
 
24354
{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
 
24355
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
22735
24356
if test "${ac_cv_c_const+set}" = set; then
22736
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24357
  $as_echo_n "(cached) " >&6
22737
24358
else
22738
24359
  cat >conftest.$ac_ext <<_ACEOF
22739
24360
/* confdefs.h.  */
22749
24370
#ifndef __cplusplus
22750
24371
  /* Ultrix mips cc rejects this.  */
22751
24372
  typedef int charset[2];
22752
 
  const charset x;
 
24373
  const charset cs;
22753
24374
  /* SunOS 4.1.1 cc rejects this.  */
22754
 
  char const *const *ccp;
22755
 
  char **p;
 
24375
  char const *const *pcpcc;
 
24376
  char **ppc;
22756
24377
  /* NEC SVR4.0.2 mips cc rejects this.  */
22757
24378
  struct point {int x, y;};
22758
24379
  static struct point const zero = {0,0};
22761
24382
     an arm of an if-expression whose if-part is not a constant
22762
24383
     expression */
22763
24384
  const char *g = "string";
22764
 
  ccp = &g + (g ? g-g : 0);
 
24385
  pcpcc = &g + (g ? g-g : 0);
22765
24386
  /* HPUX 7.0 cc rejects these. */
22766
 
  ++ccp;
22767
 
  p = (char**) ccp;
22768
 
  ccp = (char const *const *) p;
 
24387
  ++pcpcc;
 
24388
  ppc = (char**) pcpcc;
 
24389
  pcpcc = (char const *const *) ppc;
22769
24390
  { /* SCO 3.2v4 cc rejects this.  */
22770
24391
    char *t;
22771
24392
    char const *s = 0 ? (char *) 0 : (char const *) 0;
22772
24393
 
22773
24394
    *t++ = 0;
 
24395
    if (s) return 0;
22774
24396
  }
22775
24397
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
22776
24398
    int x[] = {25, 17};
22789
24411
  }
22790
24412
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
22791
24413
    const int foo = 10;
 
24414
    if (!foo) return 0;
22792
24415
  }
 
24416
  return !cs[0] && !zero.x;
22793
24417
#endif
22794
24418
 
22795
24419
  ;
22797
24421
}
22798
24422
_ACEOF
22799
24423
rm -f conftest.$ac_objext
22800
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22801
 
  (eval $ac_compile) 2>conftest.er1
 
24424
if { (ac_try="$ac_compile"
 
24425
case "(($ac_try" in
 
24426
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24427
  *) ac_try_echo=$ac_try;;
 
24428
esac
 
24429
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
24430
$as_echo "$ac_try_echo") >&5
 
24431
  (eval "$ac_compile") 2>conftest.er1
22802
24432
  ac_status=$?
22803
24433
  grep -v '^ *+' conftest.er1 >conftest.err
22804
24434
  rm -f conftest.er1
22805
24435
  cat conftest.err >&5
22806
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22807
 
  (exit $ac_status); } &&
22808
 
         { ac_try='test -z "$ac_c_werror_flag"
22809
 
                         || test ! -s conftest.err'
22810
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22811
 
  (eval $ac_try) 2>&5
22812
 
  ac_status=$?
22813
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22814
 
  (exit $ac_status); }; } &&
22815
 
         { ac_try='test -s conftest.$ac_objext'
22816
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22817
 
  (eval $ac_try) 2>&5
22818
 
  ac_status=$?
22819
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22820
 
  (exit $ac_status); }; }; then
 
24436
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24437
  (exit $ac_status); } && {
 
24438
         test -z "$ac_c_werror_flag" ||
 
24439
         test ! -s conftest.err
 
24440
       } && test -s conftest.$ac_objext; then
22821
24441
  ac_cv_c_const=yes
22822
24442
else
22823
 
  echo "$as_me: failed program was:" >&5
 
24443
  $as_echo "$as_me: failed program was:" >&5
22824
24444
sed 's/^/| /' conftest.$ac_ext >&5
22825
24445
 
22826
 
ac_cv_c_const=no
22827
 
fi
22828
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22829
 
fi
22830
 
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
22831
 
echo "${ECHO_T}$ac_cv_c_const" >&6
 
24446
        ac_cv_c_const=no
 
24447
fi
 
24448
 
 
24449
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24450
fi
 
24451
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
 
24452
$as_echo "$ac_cv_c_const" >&6; }
22832
24453
if test $ac_cv_c_const = no; then
22833
24454
 
22834
24455
cat >>confdefs.h <<\_ACEOF
22835
 
#define const
 
24456
#define const /**/
22836
24457
_ACEOF
22837
24458
 
22838
24459
fi
22839
24460
 
22840
 
echo "$as_me:$LINENO: checking for pid_t" >&5
22841
 
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
 
24461
{ $as_echo "$as_me:$LINENO: checking for pid_t" >&5
 
24462
$as_echo_n "checking for pid_t... " >&6; }
22842
24463
if test "${ac_cv_type_pid_t+set}" = set; then
22843
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24464
  $as_echo_n "(cached) " >&6
22844
24465
else
22845
 
  cat >conftest.$ac_ext <<_ACEOF
 
24466
  ac_cv_type_pid_t=no
 
24467
cat >conftest.$ac_ext <<_ACEOF
22846
24468
/* confdefs.h.  */
22847
24469
_ACEOF
22848
24470
cat confdefs.h >>conftest.$ac_ext
22852
24474
int
22853
24475
main ()
22854
24476
{
22855
 
if ((pid_t *) 0)
22856
 
  return 0;
22857
24477
if (sizeof (pid_t))
22858
 
  return 0;
22859
 
  ;
22860
 
  return 0;
22861
 
}
22862
 
_ACEOF
22863
 
rm -f conftest.$ac_objext
22864
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22865
 
  (eval $ac_compile) 2>conftest.er1
22866
 
  ac_status=$?
22867
 
  grep -v '^ *+' conftest.er1 >conftest.err
22868
 
  rm -f conftest.er1
22869
 
  cat conftest.err >&5
22870
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22871
 
  (exit $ac_status); } &&
22872
 
         { ac_try='test -z "$ac_c_werror_flag"
22873
 
                         || test ! -s conftest.err'
22874
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22875
 
  (eval $ac_try) 2>&5
22876
 
  ac_status=$?
22877
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22878
 
  (exit $ac_status); }; } &&
22879
 
         { ac_try='test -s conftest.$ac_objext'
22880
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22881
 
  (eval $ac_try) 2>&5
22882
 
  ac_status=$?
22883
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22884
 
  (exit $ac_status); }; }; then
22885
 
  ac_cv_type_pid_t=yes
22886
 
else
22887
 
  echo "$as_me: failed program was:" >&5
22888
 
sed 's/^/| /' conftest.$ac_ext >&5
22889
 
 
22890
 
ac_cv_type_pid_t=no
22891
 
fi
22892
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22893
 
fi
22894
 
echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
22895
 
echo "${ECHO_T}$ac_cv_type_pid_t" >&6
22896
 
if test $ac_cv_type_pid_t = yes; then
 
24478
       return 0;
 
24479
  ;
 
24480
  return 0;
 
24481
}
 
24482
_ACEOF
 
24483
rm -f conftest.$ac_objext
 
24484
if { (ac_try="$ac_compile"
 
24485
case "(($ac_try" in
 
24486
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24487
  *) ac_try_echo=$ac_try;;
 
24488
esac
 
24489
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
24490
$as_echo "$ac_try_echo") >&5
 
24491
  (eval "$ac_compile") 2>conftest.er1
 
24492
  ac_status=$?
 
24493
  grep -v '^ *+' conftest.er1 >conftest.err
 
24494
  rm -f conftest.er1
 
24495
  cat conftest.err >&5
 
24496
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24497
  (exit $ac_status); } && {
 
24498
         test -z "$ac_c_werror_flag" ||
 
24499
         test ! -s conftest.err
 
24500
       } && test -s conftest.$ac_objext; then
 
24501
  cat >conftest.$ac_ext <<_ACEOF
 
24502
/* confdefs.h.  */
 
24503
_ACEOF
 
24504
cat confdefs.h >>conftest.$ac_ext
 
24505
cat >>conftest.$ac_ext <<_ACEOF
 
24506
/* end confdefs.h.  */
 
24507
$ac_includes_default
 
24508
int
 
24509
main ()
 
24510
{
 
24511
if (sizeof ((pid_t)))
 
24512
          return 0;
 
24513
  ;
 
24514
  return 0;
 
24515
}
 
24516
_ACEOF
 
24517
rm -f conftest.$ac_objext
 
24518
if { (ac_try="$ac_compile"
 
24519
case "(($ac_try" in
 
24520
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24521
  *) ac_try_echo=$ac_try;;
 
24522
esac
 
24523
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
24524
$as_echo "$ac_try_echo") >&5
 
24525
  (eval "$ac_compile") 2>conftest.er1
 
24526
  ac_status=$?
 
24527
  grep -v '^ *+' conftest.er1 >conftest.err
 
24528
  rm -f conftest.er1
 
24529
  cat conftest.err >&5
 
24530
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24531
  (exit $ac_status); } && {
 
24532
         test -z "$ac_c_werror_flag" ||
 
24533
         test ! -s conftest.err
 
24534
       } && test -s conftest.$ac_objext; then
 
24535
  :
 
24536
else
 
24537
  $as_echo "$as_me: failed program was:" >&5
 
24538
sed 's/^/| /' conftest.$ac_ext >&5
 
24539
 
 
24540
        ac_cv_type_pid_t=yes
 
24541
fi
 
24542
 
 
24543
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24544
else
 
24545
  $as_echo "$as_me: failed program was:" >&5
 
24546
sed 's/^/| /' conftest.$ac_ext >&5
 
24547
 
 
24548
 
 
24549
fi
 
24550
 
 
24551
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24552
fi
 
24553
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
 
24554
$as_echo "$ac_cv_type_pid_t" >&6; }
 
24555
if test "x$ac_cv_type_pid_t" = x""yes; then
22897
24556
  :
22898
24557
else
22899
24558
 
22903
24562
 
22904
24563
fi
22905
24564
 
22906
 
echo "$as_me:$LINENO: checking for size_t" >&5
22907
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
 
24565
{ $as_echo "$as_me:$LINENO: checking for size_t" >&5
 
24566
$as_echo_n "checking for size_t... " >&6; }
22908
24567
if test "${ac_cv_type_size_t+set}" = set; then
22909
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24568
  $as_echo_n "(cached) " >&6
22910
24569
else
22911
 
  cat >conftest.$ac_ext <<_ACEOF
 
24570
  ac_cv_type_size_t=no
 
24571
cat >conftest.$ac_ext <<_ACEOF
22912
24572
/* confdefs.h.  */
22913
24573
_ACEOF
22914
24574
cat confdefs.h >>conftest.$ac_ext
22918
24578
int
22919
24579
main ()
22920
24580
{
22921
 
if ((size_t *) 0)
22922
 
  return 0;
22923
24581
if (sizeof (size_t))
22924
 
  return 0;
22925
 
  ;
22926
 
  return 0;
22927
 
}
22928
 
_ACEOF
22929
 
rm -f conftest.$ac_objext
22930
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22931
 
  (eval $ac_compile) 2>conftest.er1
22932
 
  ac_status=$?
22933
 
  grep -v '^ *+' conftest.er1 >conftest.err
22934
 
  rm -f conftest.er1
22935
 
  cat conftest.err >&5
22936
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22937
 
  (exit $ac_status); } &&
22938
 
         { ac_try='test -z "$ac_c_werror_flag"
22939
 
                         || test ! -s conftest.err'
22940
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22941
 
  (eval $ac_try) 2>&5
22942
 
  ac_status=$?
22943
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22944
 
  (exit $ac_status); }; } &&
22945
 
         { ac_try='test -s conftest.$ac_objext'
22946
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22947
 
  (eval $ac_try) 2>&5
22948
 
  ac_status=$?
22949
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22950
 
  (exit $ac_status); }; }; then
22951
 
  ac_cv_type_size_t=yes
22952
 
else
22953
 
  echo "$as_me: failed program was:" >&5
22954
 
sed 's/^/| /' conftest.$ac_ext >&5
22955
 
 
22956
 
ac_cv_type_size_t=no
22957
 
fi
22958
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22959
 
fi
22960
 
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22961
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6
22962
 
if test $ac_cv_type_size_t = yes; then
 
24582
       return 0;
 
24583
  ;
 
24584
  return 0;
 
24585
}
 
24586
_ACEOF
 
24587
rm -f conftest.$ac_objext
 
24588
if { (ac_try="$ac_compile"
 
24589
case "(($ac_try" in
 
24590
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24591
  *) ac_try_echo=$ac_try;;
 
24592
esac
 
24593
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
24594
$as_echo "$ac_try_echo") >&5
 
24595
  (eval "$ac_compile") 2>conftest.er1
 
24596
  ac_status=$?
 
24597
  grep -v '^ *+' conftest.er1 >conftest.err
 
24598
  rm -f conftest.er1
 
24599
  cat conftest.err >&5
 
24600
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24601
  (exit $ac_status); } && {
 
24602
         test -z "$ac_c_werror_flag" ||
 
24603
         test ! -s conftest.err
 
24604
       } && test -s conftest.$ac_objext; then
 
24605
  cat >conftest.$ac_ext <<_ACEOF
 
24606
/* confdefs.h.  */
 
24607
_ACEOF
 
24608
cat confdefs.h >>conftest.$ac_ext
 
24609
cat >>conftest.$ac_ext <<_ACEOF
 
24610
/* end confdefs.h.  */
 
24611
$ac_includes_default
 
24612
int
 
24613
main ()
 
24614
{
 
24615
if (sizeof ((size_t)))
 
24616
          return 0;
 
24617
  ;
 
24618
  return 0;
 
24619
}
 
24620
_ACEOF
 
24621
rm -f conftest.$ac_objext
 
24622
if { (ac_try="$ac_compile"
 
24623
case "(($ac_try" in
 
24624
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24625
  *) ac_try_echo=$ac_try;;
 
24626
esac
 
24627
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
24628
$as_echo "$ac_try_echo") >&5
 
24629
  (eval "$ac_compile") 2>conftest.er1
 
24630
  ac_status=$?
 
24631
  grep -v '^ *+' conftest.er1 >conftest.err
 
24632
  rm -f conftest.er1
 
24633
  cat conftest.err >&5
 
24634
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24635
  (exit $ac_status); } && {
 
24636
         test -z "$ac_c_werror_flag" ||
 
24637
         test ! -s conftest.err
 
24638
       } && test -s conftest.$ac_objext; then
 
24639
  :
 
24640
else
 
24641
  $as_echo "$as_me: failed program was:" >&5
 
24642
sed 's/^/| /' conftest.$ac_ext >&5
 
24643
 
 
24644
        ac_cv_type_size_t=yes
 
24645
fi
 
24646
 
 
24647
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24648
else
 
24649
  $as_echo "$as_me: failed program was:" >&5
 
24650
sed 's/^/| /' conftest.$ac_ext >&5
 
24651
 
 
24652
 
 
24653
fi
 
24654
 
 
24655
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24656
fi
 
24657
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
 
24658
$as_echo "$ac_cv_type_size_t" >&6; }
 
24659
if test "x$ac_cv_type_size_t" = x""yes; then
22963
24660
  :
22964
24661
else
22965
24662
 
22966
24663
cat >>confdefs.h <<_ACEOF
22967
 
#define size_t unsigned
 
24664
#define size_t unsigned int
22968
24665
_ACEOF
22969
24666
 
22970
24667
fi
22971
24668
 
22972
 
echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
22973
 
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
 
24669
{ $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
 
24670
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
22974
24671
if test "${ac_cv_header_time+set}" = set; then
22975
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24672
  $as_echo_n "(cached) " >&6
22976
24673
else
22977
24674
  cat >conftest.$ac_ext <<_ACEOF
22978
24675
/* confdefs.h.  */
22994
24691
}
22995
24692
_ACEOF
22996
24693
rm -f conftest.$ac_objext
22997
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22998
 
  (eval $ac_compile) 2>conftest.er1
 
24694
if { (ac_try="$ac_compile"
 
24695
case "(($ac_try" in
 
24696
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24697
  *) ac_try_echo=$ac_try;;
 
24698
esac
 
24699
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
24700
$as_echo "$ac_try_echo") >&5
 
24701
  (eval "$ac_compile") 2>conftest.er1
22999
24702
  ac_status=$?
23000
24703
  grep -v '^ *+' conftest.er1 >conftest.err
23001
24704
  rm -f conftest.er1
23002
24705
  cat conftest.err >&5
23003
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23004
 
  (exit $ac_status); } &&
23005
 
         { ac_try='test -z "$ac_c_werror_flag"
23006
 
                         || test ! -s conftest.err'
23007
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23008
 
  (eval $ac_try) 2>&5
23009
 
  ac_status=$?
23010
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23011
 
  (exit $ac_status); }; } &&
23012
 
         { ac_try='test -s conftest.$ac_objext'
23013
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23014
 
  (eval $ac_try) 2>&5
23015
 
  ac_status=$?
23016
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23017
 
  (exit $ac_status); }; }; then
 
24706
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24707
  (exit $ac_status); } && {
 
24708
         test -z "$ac_c_werror_flag" ||
 
24709
         test ! -s conftest.err
 
24710
       } && test -s conftest.$ac_objext; then
23018
24711
  ac_cv_header_time=yes
23019
24712
else
23020
 
  echo "$as_me: failed program was:" >&5
 
24713
  $as_echo "$as_me: failed program was:" >&5
23021
24714
sed 's/^/| /' conftest.$ac_ext >&5
23022
24715
 
23023
 
ac_cv_header_time=no
23024
 
fi
23025
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23026
 
fi
23027
 
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
23028
 
echo "${ECHO_T}$ac_cv_header_time" >&6
 
24716
        ac_cv_header_time=no
 
24717
fi
 
24718
 
 
24719
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24720
fi
 
24721
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
 
24722
$as_echo "$ac_cv_header_time" >&6; }
23029
24723
if test $ac_cv_header_time = yes; then
23030
24724
 
23031
24725
cat >>confdefs.h <<\_ACEOF
23034
24728
 
23035
24729
fi
23036
24730
 
23037
 
echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
23038
 
echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
 
24731
{ $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
 
24732
$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
23039
24733
if test "${ac_cv_struct_tm+set}" = set; then
23040
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24734
  $as_echo_n "(cached) " >&6
23041
24735
else
23042
24736
  cat >conftest.$ac_ext <<_ACEOF
23043
24737
/* confdefs.h.  */
23051
24745
int
23052
24746
main ()
23053
24747
{
23054
 
struct tm *tp; tp->tm_sec;
 
24748
struct tm tm;
 
24749
                                     int *p = &tm.tm_sec;
 
24750
                                     return !p;
23055
24751
  ;
23056
24752
  return 0;
23057
24753
}
23058
24754
_ACEOF
23059
24755
rm -f conftest.$ac_objext
23060
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23061
 
  (eval $ac_compile) 2>conftest.er1
 
24756
if { (ac_try="$ac_compile"
 
24757
case "(($ac_try" in
 
24758
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24759
  *) ac_try_echo=$ac_try;;
 
24760
esac
 
24761
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
24762
$as_echo "$ac_try_echo") >&5
 
24763
  (eval "$ac_compile") 2>conftest.er1
23062
24764
  ac_status=$?
23063
24765
  grep -v '^ *+' conftest.er1 >conftest.err
23064
24766
  rm -f conftest.er1
23065
24767
  cat conftest.err >&5
23066
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23067
 
  (exit $ac_status); } &&
23068
 
         { ac_try='test -z "$ac_c_werror_flag"
23069
 
                         || test ! -s conftest.err'
23070
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23071
 
  (eval $ac_try) 2>&5
23072
 
  ac_status=$?
23073
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23074
 
  (exit $ac_status); }; } &&
23075
 
         { ac_try='test -s conftest.$ac_objext'
23076
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23077
 
  (eval $ac_try) 2>&5
23078
 
  ac_status=$?
23079
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23080
 
  (exit $ac_status); }; }; then
 
24768
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24769
  (exit $ac_status); } && {
 
24770
         test -z "$ac_c_werror_flag" ||
 
24771
         test ! -s conftest.err
 
24772
       } && test -s conftest.$ac_objext; then
23081
24773
  ac_cv_struct_tm=time.h
23082
24774
else
23083
 
  echo "$as_me: failed program was:" >&5
 
24775
  $as_echo "$as_me: failed program was:" >&5
23084
24776
sed 's/^/| /' conftest.$ac_ext >&5
23085
24777
 
23086
 
ac_cv_struct_tm=sys/time.h
23087
 
fi
23088
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23089
 
fi
23090
 
echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
23091
 
echo "${ECHO_T}$ac_cv_struct_tm" >&6
 
24778
        ac_cv_struct_tm=sys/time.h
 
24779
fi
 
24780
 
 
24781
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24782
fi
 
24783
{ $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
 
24784
$as_echo "$ac_cv_struct_tm" >&6; }
23092
24785
if test $ac_cv_struct_tm = sys/time.h; then
23093
24786
 
23094
24787
cat >>confdefs.h <<\_ACEOF
23101
24794
# Checks for library functions.
23102
24795
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
23103
24796
# for constant arguments.  Useless!
23104
 
echo "$as_me:$LINENO: checking for working alloca.h" >&5
23105
 
echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
 
24797
{ $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
 
24798
$as_echo_n "checking for working alloca.h... " >&6; }
23106
24799
if test "${ac_cv_working_alloca_h+set}" = set; then
23107
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24800
  $as_echo_n "(cached) " >&6
23108
24801
else
23109
24802
  cat >conftest.$ac_ext <<_ACEOF
23110
24803
/* confdefs.h.  */
23117
24810
main ()
23118
24811
{
23119
24812
char *p = (char *) alloca (2 * sizeof (int));
 
24813
                          if (p) return 0;
23120
24814
  ;
23121
24815
  return 0;
23122
24816
}
23123
24817
_ACEOF
23124
24818
rm -f conftest.$ac_objext conftest$ac_exeext
23125
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23126
 
  (eval $ac_link) 2>conftest.er1
 
24819
if { (ac_try="$ac_link"
 
24820
case "(($ac_try" in
 
24821
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24822
  *) ac_try_echo=$ac_try;;
 
24823
esac
 
24824
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
24825
$as_echo "$ac_try_echo") >&5
 
24826
  (eval "$ac_link") 2>conftest.er1
23127
24827
  ac_status=$?
23128
24828
  grep -v '^ *+' conftest.er1 >conftest.err
23129
24829
  rm -f conftest.er1
23130
24830
  cat conftest.err >&5
23131
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23132
 
  (exit $ac_status); } &&
23133
 
         { ac_try='test -z "$ac_c_werror_flag"
23134
 
                         || test ! -s conftest.err'
23135
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23136
 
  (eval $ac_try) 2>&5
23137
 
  ac_status=$?
23138
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23139
 
  (exit $ac_status); }; } &&
23140
 
         { ac_try='test -s conftest$ac_exeext'
23141
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23142
 
  (eval $ac_try) 2>&5
23143
 
  ac_status=$?
23144
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23145
 
  (exit $ac_status); }; }; then
 
24831
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24832
  (exit $ac_status); } && {
 
24833
         test -z "$ac_c_werror_flag" ||
 
24834
         test ! -s conftest.err
 
24835
       } && test -s conftest$ac_exeext && {
 
24836
         test "$cross_compiling" = yes ||
 
24837
         $as_test_x conftest$ac_exeext
 
24838
       }; then
23146
24839
  ac_cv_working_alloca_h=yes
23147
24840
else
23148
 
  echo "$as_me: failed program was:" >&5
 
24841
  $as_echo "$as_me: failed program was:" >&5
23149
24842
sed 's/^/| /' conftest.$ac_ext >&5
23150
24843
 
23151
 
ac_cv_working_alloca_h=no
 
24844
        ac_cv_working_alloca_h=no
23152
24845
fi
23153
 
rm -f conftest.err conftest.$ac_objext \
 
24846
 
 
24847
rm -rf conftest.dSYM
 
24848
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23154
24849
      conftest$ac_exeext conftest.$ac_ext
23155
24850
fi
23156
 
echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
23157
 
echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
 
24851
{ $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
 
24852
$as_echo "$ac_cv_working_alloca_h" >&6; }
23158
24853
if test $ac_cv_working_alloca_h = yes; then
23159
24854
 
23160
24855
cat >>confdefs.h <<\_ACEOF
23163
24858
 
23164
24859
fi
23165
24860
 
23166
 
echo "$as_me:$LINENO: checking for alloca" >&5
23167
 
echo $ECHO_N "checking for alloca... $ECHO_C" >&6
 
24861
{ $as_echo "$as_me:$LINENO: checking for alloca" >&5
 
24862
$as_echo_n "checking for alloca... " >&6; }
23168
24863
if test "${ac_cv_func_alloca_works+set}" = set; then
23169
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24864
  $as_echo_n "(cached) " >&6
23170
24865
else
23171
24866
  cat >conftest.$ac_ext <<_ACEOF
23172
24867
/* confdefs.h.  */
23181
24876
#  include <malloc.h>
23182
24877
#  define alloca _alloca
23183
24878
# else
23184
 
#  if HAVE_ALLOCA_H
 
24879
#  ifdef HAVE_ALLOCA_H
23185
24880
#   include <alloca.h>
23186
24881
#  else
23187
24882
#   ifdef _AIX
23199
24894
main ()
23200
24895
{
23201
24896
char *p = (char *) alloca (1);
 
24897
                                    if (p) return 0;
23202
24898
  ;
23203
24899
  return 0;
23204
24900
}
23205
24901
_ACEOF
23206
24902
rm -f conftest.$ac_objext conftest$ac_exeext
23207
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23208
 
  (eval $ac_link) 2>conftest.er1
 
24903
if { (ac_try="$ac_link"
 
24904
case "(($ac_try" in
 
24905
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24906
  *) ac_try_echo=$ac_try;;
 
24907
esac
 
24908
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
24909
$as_echo "$ac_try_echo") >&5
 
24910
  (eval "$ac_link") 2>conftest.er1
23209
24911
  ac_status=$?
23210
24912
  grep -v '^ *+' conftest.er1 >conftest.err
23211
24913
  rm -f conftest.er1
23212
24914
  cat conftest.err >&5
23213
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23214
 
  (exit $ac_status); } &&
23215
 
         { ac_try='test -z "$ac_c_werror_flag"
23216
 
                         || test ! -s conftest.err'
23217
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23218
 
  (eval $ac_try) 2>&5
23219
 
  ac_status=$?
23220
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23221
 
  (exit $ac_status); }; } &&
23222
 
         { ac_try='test -s conftest$ac_exeext'
23223
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23224
 
  (eval $ac_try) 2>&5
23225
 
  ac_status=$?
23226
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23227
 
  (exit $ac_status); }; }; then
 
24915
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24916
  (exit $ac_status); } && {
 
24917
         test -z "$ac_c_werror_flag" ||
 
24918
         test ! -s conftest.err
 
24919
       } && test -s conftest$ac_exeext && {
 
24920
         test "$cross_compiling" = yes ||
 
24921
         $as_test_x conftest$ac_exeext
 
24922
       }; then
23228
24923
  ac_cv_func_alloca_works=yes
23229
24924
else
23230
 
  echo "$as_me: failed program was:" >&5
 
24925
  $as_echo "$as_me: failed program was:" >&5
23231
24926
sed 's/^/| /' conftest.$ac_ext >&5
23232
24927
 
23233
 
ac_cv_func_alloca_works=no
 
24928
        ac_cv_func_alloca_works=no
23234
24929
fi
23235
 
rm -f conftest.err conftest.$ac_objext \
 
24930
 
 
24931
rm -rf conftest.dSYM
 
24932
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23236
24933
      conftest$ac_exeext conftest.$ac_ext
23237
24934
fi
23238
 
echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
23239
 
echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
 
24935
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
 
24936
$as_echo "$ac_cv_func_alloca_works" >&6; }
23240
24937
 
23241
24938
if test $ac_cv_func_alloca_works = yes; then
23242
24939
 
23250
24947
# contain a buggy version.  If you still want to use their alloca,
23251
24948
# use ar to extract alloca.o from them instead of compiling alloca.c.
23252
24949
 
23253
 
ALLOCA=alloca.$ac_objext
 
24950
ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
23254
24951
 
23255
24952
cat >>confdefs.h <<\_ACEOF
23256
24953
#define C_ALLOCA 1
23257
24954
_ACEOF
23258
24955
 
23259
24956
 
23260
 
echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
23261
 
echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
 
24957
{ $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
 
24958
$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
23262
24959
if test "${ac_cv_os_cray+set}" = set; then
23263
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24960
  $as_echo_n "(cached) " >&6
23264
24961
else
23265
24962
  cat >conftest.$ac_ext <<_ACEOF
23266
24963
/* confdefs.h.  */
23268
24965
cat confdefs.h >>conftest.$ac_ext
23269
24966
cat >>conftest.$ac_ext <<_ACEOF
23270
24967
/* end confdefs.h.  */
23271
 
#if defined(CRAY) && ! defined(CRAY2)
 
24968
#if defined CRAY && ! defined CRAY2
23272
24969
webecray
23273
24970
#else
23274
24971
wenotbecray
23284
24981
rm -f conftest*
23285
24982
 
23286
24983
fi
23287
 
echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
23288
 
echo "${ECHO_T}$ac_cv_os_cray" >&6
 
24984
{ $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
 
24985
$as_echo "$ac_cv_os_cray" >&6; }
23289
24986
if test $ac_cv_os_cray = yes; then
23290
24987
  for ac_func in _getb67 GETB67 getb67; do
23291
 
    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23292
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
23293
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23294
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
23295
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24988
    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
24989
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
24990
$as_echo_n "checking for $ac_func... " >&6; }
 
24991
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
24992
  $as_echo_n "(cached) " >&6
23296
24993
else
23297
24994
  cat >conftest.$ac_ext <<_ACEOF
23298
24995
/* confdefs.h.  */
23317
25014
 
23318
25015
#undef $ac_func
23319
25016
 
23320
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25017
/* Override any GCC internal prototype to avoid an error.
 
25018
   Use char because int might match the return type of a GCC
 
25019
   builtin and then its argument prototype would still apply.  */
23321
25020
#ifdef __cplusplus
23322
25021
extern "C"
23323
 
{
23324
25022
#endif
23325
 
/* We use char because int might match the return type of a gcc2
23326
 
   builtin and then its argument prototype would still apply.  */
23327
25023
char $ac_func ();
23328
25024
/* The GNU C library defines this for functions which it implements
23329
25025
    to always fail with ENOSYS.  Some functions are actually named
23330
25026
    something starting with __ and the normal name is an alias.  */
23331
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
25027
#if defined __stub_$ac_func || defined __stub___$ac_func
23332
25028
choke me
23333
 
#else
23334
 
char (*f) () = $ac_func;
23335
 
#endif
23336
 
#ifdef __cplusplus
23337
 
}
23338
25029
#endif
23339
25030
 
23340
25031
int
23341
25032
main ()
23342
25033
{
23343
 
return f != $ac_func;
 
25034
return $ac_func ();
23344
25035
  ;
23345
25036
  return 0;
23346
25037
}
23347
25038
_ACEOF
23348
25039
rm -f conftest.$ac_objext conftest$ac_exeext
23349
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23350
 
  (eval $ac_link) 2>conftest.er1
 
25040
if { (ac_try="$ac_link"
 
25041
case "(($ac_try" in
 
25042
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25043
  *) ac_try_echo=$ac_try;;
 
25044
esac
 
25045
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
25046
$as_echo "$ac_try_echo") >&5
 
25047
  (eval "$ac_link") 2>conftest.er1
23351
25048
  ac_status=$?
23352
25049
  grep -v '^ *+' conftest.er1 >conftest.err
23353
25050
  rm -f conftest.er1
23354
25051
  cat conftest.err >&5
23355
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23356
 
  (exit $ac_status); } &&
23357
 
         { ac_try='test -z "$ac_c_werror_flag"
23358
 
                         || test ! -s conftest.err'
23359
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23360
 
  (eval $ac_try) 2>&5
23361
 
  ac_status=$?
23362
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23363
 
  (exit $ac_status); }; } &&
23364
 
         { ac_try='test -s conftest$ac_exeext'
23365
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23366
 
  (eval $ac_try) 2>&5
23367
 
  ac_status=$?
23368
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23369
 
  (exit $ac_status); }; }; then
 
25052
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25053
  (exit $ac_status); } && {
 
25054
         test -z "$ac_c_werror_flag" ||
 
25055
         test ! -s conftest.err
 
25056
       } && test -s conftest$ac_exeext && {
 
25057
         test "$cross_compiling" = yes ||
 
25058
         $as_test_x conftest$ac_exeext
 
25059
       }; then
23370
25060
  eval "$as_ac_var=yes"
23371
25061
else
23372
 
  echo "$as_me: failed program was:" >&5
 
25062
  $as_echo "$as_me: failed program was:" >&5
23373
25063
sed 's/^/| /' conftest.$ac_ext >&5
23374
25064
 
23375
 
eval "$as_ac_var=no"
 
25065
        eval "$as_ac_var=no"
23376
25066
fi
23377
 
rm -f conftest.err conftest.$ac_objext \
 
25067
 
 
25068
rm -rf conftest.dSYM
 
25069
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23378
25070
      conftest$ac_exeext conftest.$ac_ext
23379
25071
fi
23380
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23381
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23382
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
25072
ac_res=`eval 'as_val=${'$as_ac_var'}
 
25073
                 $as_echo "$as_val"'`
 
25074
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
25075
$as_echo "$ac_res" >&6; }
 
25076
as_val=`eval 'as_val=${'$as_ac_var'}
 
25077
                 $as_echo "$as_val"'`
 
25078
   if test "x$as_val" = x""yes; then
23383
25079
 
23384
25080
cat >>confdefs.h <<_ACEOF
23385
25081
#define CRAY_STACKSEG_END $ac_func
23391
25087
  done
23392
25088
fi
23393
25089
 
23394
 
echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
23395
 
echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
 
25090
{ $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
 
25091
$as_echo_n "checking stack direction for C alloca... " >&6; }
23396
25092
if test "${ac_cv_c_stack_direction+set}" = set; then
23397
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25093
  $as_echo_n "(cached) " >&6
23398
25094
else
23399
25095
  if test "$cross_compiling" = yes; then
23400
25096
  ac_cv_c_stack_direction=0
23405
25101
cat confdefs.h >>conftest.$ac_ext
23406
25102
cat >>conftest.$ac_ext <<_ACEOF
23407
25103
/* end confdefs.h.  */
 
25104
$ac_includes_default
23408
25105
int
23409
25106
find_stack_direction ()
23410
25107
{
23422
25119
int
23423
25120
main ()
23424
25121
{
23425
 
  exit (find_stack_direction () < 0);
 
25122
  return find_stack_direction () < 0;
23426
25123
}
23427
25124
_ACEOF
23428
25125
rm -f conftest$ac_exeext
23429
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23430
 
  (eval $ac_link) 2>&5
 
25126
if { (ac_try="$ac_link"
 
25127
case "(($ac_try" in
 
25128
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25129
  *) ac_try_echo=$ac_try;;
 
25130
esac
 
25131
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
25132
$as_echo "$ac_try_echo") >&5
 
25133
  (eval "$ac_link") 2>&5
23431
25134
  ac_status=$?
23432
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25135
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23433
25136
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23434
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23435
 
  (eval $ac_try) 2>&5
 
25137
  { (case "(($ac_try" in
 
25138
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25139
  *) ac_try_echo=$ac_try;;
 
25140
esac
 
25141
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
25142
$as_echo "$ac_try_echo") >&5
 
25143
  (eval "$ac_try") 2>&5
23436
25144
  ac_status=$?
23437
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25145
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23438
25146
  (exit $ac_status); }; }; then
23439
25147
  ac_cv_c_stack_direction=1
23440
25148
else
23441
 
  echo "$as_me: program exited with status $ac_status" >&5
23442
 
echo "$as_me: failed program was:" >&5
 
25149
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
25150
$as_echo "$as_me: failed program was:" >&5
23443
25151
sed 's/^/| /' conftest.$ac_ext >&5
23444
25152
 
23445
25153
( exit $ac_status )
23446
25154
ac_cv_c_stack_direction=-1
23447
25155
fi
23448
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23449
 
fi
23450
 
fi
23451
 
echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
23452
 
echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
 
25156
rm -rf conftest.dSYM
 
25157
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
25158
fi
 
25159
 
 
25160
 
 
25161
fi
 
25162
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
 
25163
$as_echo "$ac_cv_c_stack_direction" >&6; }
23453
25164
 
23454
25165
cat >>confdefs.h <<_ACEOF
23455
25166
#define STACK_DIRECTION $ac_cv_c_stack_direction
23458
25169
 
23459
25170
fi
23460
25171
 
23461
 
echo "$as_me:$LINENO: checking for error_at_line" >&5
23462
 
echo $ECHO_N "checking for error_at_line... $ECHO_C" >&6
 
25172
{ $as_echo "$as_me:$LINENO: checking for error_at_line" >&5
 
25173
$as_echo_n "checking for error_at_line... " >&6; }
23463
25174
if test "${ac_cv_lib_error_at_line+set}" = set; then
23464
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25175
  $as_echo_n "(cached) " >&6
23465
25176
else
23466
25177
  cat >conftest.$ac_ext <<_ACEOF
23467
25178
/* confdefs.h.  */
23469
25180
cat confdefs.h >>conftest.$ac_ext
23470
25181
cat >>conftest.$ac_ext <<_ACEOF
23471
25182
/* end confdefs.h.  */
23472
 
$ac_includes_default
 
25183
#include <error.h>
23473
25184
int
23474
25185
main ()
23475
25186
{
23476
 
error_at_line (0, 0, "", 0, "");
 
25187
error_at_line (0, 0, "", 0, "an error occurred");
23477
25188
  ;
23478
25189
  return 0;
23479
25190
}
23480
25191
_ACEOF
23481
25192
rm -f conftest.$ac_objext conftest$ac_exeext
23482
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23483
 
  (eval $ac_link) 2>conftest.er1
 
25193
if { (ac_try="$ac_link"
 
25194
case "(($ac_try" in
 
25195
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25196
  *) ac_try_echo=$ac_try;;
 
25197
esac
 
25198
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
25199
$as_echo "$ac_try_echo") >&5
 
25200
  (eval "$ac_link") 2>conftest.er1
23484
25201
  ac_status=$?
23485
25202
  grep -v '^ *+' conftest.er1 >conftest.err
23486
25203
  rm -f conftest.er1
23487
25204
  cat conftest.err >&5
23488
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23489
 
  (exit $ac_status); } &&
23490
 
         { ac_try='test -z "$ac_c_werror_flag"
23491
 
                         || test ! -s conftest.err'
23492
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23493
 
  (eval $ac_try) 2>&5
23494
 
  ac_status=$?
23495
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23496
 
  (exit $ac_status); }; } &&
23497
 
         { ac_try='test -s conftest$ac_exeext'
23498
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23499
 
  (eval $ac_try) 2>&5
23500
 
  ac_status=$?
23501
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23502
 
  (exit $ac_status); }; }; then
 
25205
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25206
  (exit $ac_status); } && {
 
25207
         test -z "$ac_c_werror_flag" ||
 
25208
         test ! -s conftest.err
 
25209
       } && test -s conftest$ac_exeext && {
 
25210
         test "$cross_compiling" = yes ||
 
25211
         $as_test_x conftest$ac_exeext
 
25212
       }; then
23503
25213
  ac_cv_lib_error_at_line=yes
23504
25214
else
23505
 
  echo "$as_me: failed program was:" >&5
 
25215
  $as_echo "$as_me: failed program was:" >&5
23506
25216
sed 's/^/| /' conftest.$ac_ext >&5
23507
25217
 
23508
 
ac_cv_lib_error_at_line=no
 
25218
        ac_cv_lib_error_at_line=no
23509
25219
fi
23510
 
rm -f conftest.err conftest.$ac_objext \
 
25220
 
 
25221
rm -rf conftest.dSYM
 
25222
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23511
25223
      conftest$ac_exeext conftest.$ac_ext
23512
25224
fi
23513
 
echo "$as_me:$LINENO: result: $ac_cv_lib_error_at_line" >&5
23514
 
echo "${ECHO_T}$ac_cv_lib_error_at_line" >&6
 
25225
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_error_at_line" >&5
 
25226
$as_echo "$ac_cv_lib_error_at_line" >&6; }
23515
25227
if test $ac_cv_lib_error_at_line = no; then
23516
 
  case $LIBOBJS in
23517
 
    "error.$ac_objext"   | \
23518
 
  *" error.$ac_objext"   | \
23519
 
    "error.$ac_objext "* | \
 
25228
  case " $LIBOBJS " in
23520
25229
  *" error.$ac_objext "* ) ;;
23521
 
  *) LIBOBJS="$LIBOBJS error.$ac_objext" ;;
 
25230
  *) LIBOBJS="$LIBOBJS error.$ac_objext"
 
25231
 ;;
23522
25232
esac
23523
25233
 
23524
25234
fi
23525
25235
 
23526
25236
 
23527
 
 
23528
 
for ac_header in unistd.h vfork.h
 
25237
for ac_header in vfork.h
23529
25238
do
23530
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23531
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
23532
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
23533
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23534
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
23535
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25239
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
25240
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
25241
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
25242
$as_echo_n "checking for $ac_header... " >&6; }
 
25243
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
25244
  $as_echo_n "(cached) " >&6
23536
25245
fi
23537
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23538
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
25246
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
25247
                 $as_echo "$as_val"'`
 
25248
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
25249
$as_echo "$ac_res" >&6; }
23539
25250
else
23540
25251
  # Is the header compilable?
23541
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
23542
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
25252
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
25253
$as_echo_n "checking $ac_header usability... " >&6; }
23543
25254
cat >conftest.$ac_ext <<_ACEOF
23544
25255
/* confdefs.h.  */
23545
25256
_ACEOF
23550
25261
#include <$ac_header>
23551
25262
_ACEOF
23552
25263
rm -f conftest.$ac_objext
23553
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23554
 
  (eval $ac_compile) 2>conftest.er1
 
25264
if { (ac_try="$ac_compile"
 
25265
case "(($ac_try" in
 
25266
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25267
  *) ac_try_echo=$ac_try;;
 
25268
esac
 
25269
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
25270
$as_echo "$ac_try_echo") >&5
 
25271
  (eval "$ac_compile") 2>conftest.er1
23555
25272
  ac_status=$?
23556
25273
  grep -v '^ *+' conftest.er1 >conftest.err
23557
25274
  rm -f conftest.er1
23558
25275
  cat conftest.err >&5
23559
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23560
 
  (exit $ac_status); } &&
23561
 
         { ac_try='test -z "$ac_c_werror_flag"
23562
 
                         || test ! -s conftest.err'
23563
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23564
 
  (eval $ac_try) 2>&5
23565
 
  ac_status=$?
23566
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23567
 
  (exit $ac_status); }; } &&
23568
 
         { ac_try='test -s conftest.$ac_objext'
23569
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23570
 
  (eval $ac_try) 2>&5
23571
 
  ac_status=$?
23572
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23573
 
  (exit $ac_status); }; }; then
 
25276
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25277
  (exit $ac_status); } && {
 
25278
         test -z "$ac_c_werror_flag" ||
 
25279
         test ! -s conftest.err
 
25280
       } && test -s conftest.$ac_objext; then
23574
25281
  ac_header_compiler=yes
23575
25282
else
23576
 
  echo "$as_me: failed program was:" >&5
 
25283
  $as_echo "$as_me: failed program was:" >&5
23577
25284
sed 's/^/| /' conftest.$ac_ext >&5
23578
25285
 
23579
 
ac_header_compiler=no
 
25286
        ac_header_compiler=no
23580
25287
fi
23581
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23582
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23583
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
25288
 
 
25289
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
25290
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
25291
$as_echo "$ac_header_compiler" >&6; }
23584
25292
 
23585
25293
# Is the header present?
23586
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
23587
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
25294
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
25295
$as_echo_n "checking $ac_header presence... " >&6; }
23588
25296
cat >conftest.$ac_ext <<_ACEOF
23589
25297
/* confdefs.h.  */
23590
25298
_ACEOF
23593
25301
/* end confdefs.h.  */
23594
25302
#include <$ac_header>
23595
25303
_ACEOF
23596
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23597
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
25304
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
25305
case "(($ac_try" in
 
25306
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25307
  *) ac_try_echo=$ac_try;;
 
25308
esac
 
25309
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
25310
$as_echo "$ac_try_echo") >&5
 
25311
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23598
25312
  ac_status=$?
23599
25313
  grep -v '^ *+' conftest.er1 >conftest.err
23600
25314
  rm -f conftest.er1
23601
25315
  cat conftest.err >&5
23602
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23603
 
  (exit $ac_status); } >/dev/null; then
23604
 
  if test -s conftest.err; then
23605
 
    ac_cpp_err=$ac_c_preproc_warn_flag
23606
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23607
 
  else
23608
 
    ac_cpp_err=
23609
 
  fi
23610
 
else
23611
 
  ac_cpp_err=yes
23612
 
fi
23613
 
if test -z "$ac_cpp_err"; then
 
25316
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25317
  (exit $ac_status); } >/dev/null && {
 
25318
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
25319
         test ! -s conftest.err
 
25320
       }; then
23614
25321
  ac_header_preproc=yes
23615
25322
else
23616
 
  echo "$as_me: failed program was:" >&5
 
25323
  $as_echo "$as_me: failed program was:" >&5
23617
25324
sed 's/^/| /' conftest.$ac_ext >&5
23618
25325
 
23619
25326
  ac_header_preproc=no
23620
25327
fi
 
25328
 
23621
25329
rm -f conftest.err conftest.$ac_ext
23622
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23623
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
25330
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
25331
$as_echo "$ac_header_preproc" >&6; }
23624
25332
 
23625
25333
# So?  What about this header?
23626
25334
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23627
25335
  yes:no: )
23628
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23629
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23630
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23631
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
25336
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
25337
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
25338
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
25339
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23632
25340
    ac_header_preproc=yes
23633
25341
    ;;
23634
25342
  no:yes:* )
23635
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23636
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23637
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
23638
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
23639
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23640
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23641
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
23642
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
23643
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23644
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23645
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23646
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23647
 
    (
23648
 
      cat <<\_ASBOX
 
25343
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
25344
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
25345
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
25346
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
25347
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
25348
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
25349
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
25350
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
25351
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
25352
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
25353
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
25354
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
25355
    ( cat <<\_ASBOX
23649
25356
## ------------------------------------------------ ##
23650
25357
## Report this to sblim-devel@lists.sourceforge.net ##
23651
25358
## ------------------------------------------------ ##
23652
25359
_ASBOX
23653
 
    ) |
23654
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
25360
     ) | sed "s/^/$as_me: WARNING:     /" >&2
23655
25361
    ;;
23656
25362
esac
23657
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
23658
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23659
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
23660
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25363
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
25364
$as_echo_n "checking for $ac_header... " >&6; }
 
25365
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
25366
  $as_echo_n "(cached) " >&6
23661
25367
else
23662
25368
  eval "$as_ac_Header=\$ac_header_preproc"
23663
25369
fi
23664
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23665
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
25370
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
25371
                 $as_echo "$as_val"'`
 
25372
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
25373
$as_echo "$ac_res" >&6; }
23666
25374
 
23667
25375
fi
23668
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
25376
as_val=`eval 'as_val=${'$as_ac_Header'}
 
25377
                 $as_echo "$as_val"'`
 
25378
   if test "x$as_val" = x""yes; then
23669
25379
  cat >>confdefs.h <<_ACEOF
23670
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
25380
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23671
25381
_ACEOF
23672
25382
 
23673
25383
fi
23678
25388
 
23679
25389
for ac_func in fork vfork
23680
25390
do
23681
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23682
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
23683
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23684
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
23685
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25391
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
25392
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
25393
$as_echo_n "checking for $ac_func... " >&6; }
 
25394
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
25395
  $as_echo_n "(cached) " >&6
23686
25396
else
23687
25397
  cat >conftest.$ac_ext <<_ACEOF
23688
25398
/* confdefs.h.  */
23707
25417
 
23708
25418
#undef $ac_func
23709
25419
 
23710
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25420
/* Override any GCC internal prototype to avoid an error.
 
25421
   Use char because int might match the return type of a GCC
 
25422
   builtin and then its argument prototype would still apply.  */
23711
25423
#ifdef __cplusplus
23712
25424
extern "C"
23713
 
{
23714
25425
#endif
23715
 
/* We use char because int might match the return type of a gcc2
23716
 
   builtin and then its argument prototype would still apply.  */
23717
25426
char $ac_func ();
23718
25427
/* The GNU C library defines this for functions which it implements
23719
25428
    to always fail with ENOSYS.  Some functions are actually named
23720
25429
    something starting with __ and the normal name is an alias.  */
23721
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
25430
#if defined __stub_$ac_func || defined __stub___$ac_func
23722
25431
choke me
23723
 
#else
23724
 
char (*f) () = $ac_func;
23725
 
#endif
23726
 
#ifdef __cplusplus
23727
 
}
23728
25432
#endif
23729
25433
 
23730
25434
int
23731
25435
main ()
23732
25436
{
23733
 
return f != $ac_func;
 
25437
return $ac_func ();
23734
25438
  ;
23735
25439
  return 0;
23736
25440
}
23737
25441
_ACEOF
23738
25442
rm -f conftest.$ac_objext conftest$ac_exeext
23739
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23740
 
  (eval $ac_link) 2>conftest.er1
 
25443
if { (ac_try="$ac_link"
 
25444
case "(($ac_try" in
 
25445
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25446
  *) ac_try_echo=$ac_try;;
 
25447
esac
 
25448
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
25449
$as_echo "$ac_try_echo") >&5
 
25450
  (eval "$ac_link") 2>conftest.er1
23741
25451
  ac_status=$?
23742
25452
  grep -v '^ *+' conftest.er1 >conftest.err
23743
25453
  rm -f conftest.er1
23744
25454
  cat conftest.err >&5
23745
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23746
 
  (exit $ac_status); } &&
23747
 
         { ac_try='test -z "$ac_c_werror_flag"
23748
 
                         || test ! -s conftest.err'
23749
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23750
 
  (eval $ac_try) 2>&5
23751
 
  ac_status=$?
23752
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23753
 
  (exit $ac_status); }; } &&
23754
 
         { ac_try='test -s conftest$ac_exeext'
23755
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23756
 
  (eval $ac_try) 2>&5
23757
 
  ac_status=$?
23758
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23759
 
  (exit $ac_status); }; }; then
 
25455
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25456
  (exit $ac_status); } && {
 
25457
         test -z "$ac_c_werror_flag" ||
 
25458
         test ! -s conftest.err
 
25459
       } && test -s conftest$ac_exeext && {
 
25460
         test "$cross_compiling" = yes ||
 
25461
         $as_test_x conftest$ac_exeext
 
25462
       }; then
23760
25463
  eval "$as_ac_var=yes"
23761
25464
else
23762
 
  echo "$as_me: failed program was:" >&5
 
25465
  $as_echo "$as_me: failed program was:" >&5
23763
25466
sed 's/^/| /' conftest.$ac_ext >&5
23764
25467
 
23765
 
eval "$as_ac_var=no"
 
25468
        eval "$as_ac_var=no"
23766
25469
fi
23767
 
rm -f conftest.err conftest.$ac_objext \
 
25470
 
 
25471
rm -rf conftest.dSYM
 
25472
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23768
25473
      conftest$ac_exeext conftest.$ac_ext
23769
25474
fi
23770
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23771
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23772
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
25475
ac_res=`eval 'as_val=${'$as_ac_var'}
 
25476
                 $as_echo "$as_val"'`
 
25477
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
25478
$as_echo "$ac_res" >&6; }
 
25479
as_val=`eval 'as_val=${'$as_ac_var'}
 
25480
                 $as_echo "$as_val"'`
 
25481
   if test "x$as_val" = x""yes; then
23773
25482
  cat >>confdefs.h <<_ACEOF
23774
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
25483
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23775
25484
_ACEOF
23776
25485
 
23777
25486
fi
23778
25487
done
23779
25488
 
23780
25489
if test "x$ac_cv_func_fork" = xyes; then
23781
 
  echo "$as_me:$LINENO: checking for working fork" >&5
23782
 
echo $ECHO_N "checking for working fork... $ECHO_C" >&6
 
25490
  { $as_echo "$as_me:$LINENO: checking for working fork" >&5
 
25491
$as_echo_n "checking for working fork... " >&6; }
23783
25492
if test "${ac_cv_func_fork_works+set}" = set; then
23784
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25493
  $as_echo_n "(cached) " >&6
23785
25494
else
23786
25495
  if test "$cross_compiling" = yes; then
23787
25496
  ac_cv_func_fork_works=cross
23788
25497
else
23789
25498
  cat >conftest.$ac_ext <<_ACEOF
23790
 
/* By Ruediger Kuhlmann. */
23791
 
      #include <sys/types.h>
23792
 
      #if HAVE_UNISTD_H
23793
 
      # include <unistd.h>
23794
 
      #endif
23795
 
      /* Some systems only have a dummy stub for fork() */
23796
 
      int main ()
23797
 
      {
23798
 
        if (fork() < 0)
23799
 
          exit (1);
23800
 
        exit (0);
23801
 
      }
 
25499
/* confdefs.h.  */
 
25500
_ACEOF
 
25501
cat confdefs.h >>conftest.$ac_ext
 
25502
cat >>conftest.$ac_ext <<_ACEOF
 
25503
/* end confdefs.h.  */
 
25504
$ac_includes_default
 
25505
int
 
25506
main ()
 
25507
{
 
25508
 
 
25509
          /* By Ruediger Kuhlmann. */
 
25510
          return fork () < 0;
 
25511
 
 
25512
  ;
 
25513
  return 0;
 
25514
}
23802
25515
_ACEOF
23803
25516
rm -f conftest$ac_exeext
23804
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23805
 
  (eval $ac_link) 2>&5
 
25517
if { (ac_try="$ac_link"
 
25518
case "(($ac_try" in
 
25519
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25520
  *) ac_try_echo=$ac_try;;
 
25521
esac
 
25522
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
25523
$as_echo "$ac_try_echo") >&5
 
25524
  (eval "$ac_link") 2>&5
23806
25525
  ac_status=$?
23807
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25526
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23808
25527
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23809
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23810
 
  (eval $ac_try) 2>&5
 
25528
  { (case "(($ac_try" in
 
25529
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25530
  *) ac_try_echo=$ac_try;;
 
25531
esac
 
25532
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
25533
$as_echo "$ac_try_echo") >&5
 
25534
  (eval "$ac_try") 2>&5
23811
25535
  ac_status=$?
23812
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25536
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23813
25537
  (exit $ac_status); }; }; then
23814
25538
  ac_cv_func_fork_works=yes
23815
25539
else
23816
 
  echo "$as_me: program exited with status $ac_status" >&5
23817
 
echo "$as_me: failed program was:" >&5
 
25540
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
25541
$as_echo "$as_me: failed program was:" >&5
23818
25542
sed 's/^/| /' conftest.$ac_ext >&5
23819
25543
 
23820
25544
( exit $ac_status )
23821
25545
ac_cv_func_fork_works=no
23822
25546
fi
23823
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23824
 
fi
23825
 
fi
23826
 
echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
23827
 
echo "${ECHO_T}$ac_cv_func_fork_works" >&6
 
25547
rm -rf conftest.dSYM
 
25548
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
25549
fi
 
25550
 
 
25551
 
 
25552
fi
 
25553
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
 
25554
$as_echo "$ac_cv_func_fork_works" >&6; }
23828
25555
 
23829
25556
else
23830
25557
  ac_cv_func_fork_works=$ac_cv_func_fork
23839
25566
      ac_cv_func_fork_works=yes
23840
25567
      ;;
23841
25568
  esac
23842
 
  { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
23843
 
echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
 
25569
  { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
 
25570
$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
23844
25571
fi
23845
25572
ac_cv_func_vfork_works=$ac_cv_func_vfork
23846
25573
if test "x$ac_cv_func_vfork" = xyes; then
23847
 
  echo "$as_me:$LINENO: checking for working vfork" >&5
23848
 
echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
 
25574
  { $as_echo "$as_me:$LINENO: checking for working vfork" >&5
 
25575
$as_echo_n "checking for working vfork... " >&6; }
23849
25576
if test "${ac_cv_func_vfork_works+set}" = set; then
23850
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25577
  $as_echo_n "(cached) " >&6
23851
25578
else
23852
25579
  if test "$cross_compiling" = yes; then
23853
25580
  ac_cv_func_vfork_works=cross
23859
25586
cat >>conftest.$ac_ext <<_ACEOF
23860
25587
/* end confdefs.h.  */
23861
25588
/* Thanks to Paul Eggert for this test.  */
23862
 
#include <stdio.h>
23863
 
#include <stdlib.h>
23864
 
#include <sys/types.h>
23865
 
#include <sys/stat.h>
 
25589
$ac_includes_default
23866
25590
#include <sys/wait.h>
23867
 
#if HAVE_UNISTD_H
23868
 
# include <unistd.h>
23869
 
#endif
23870
 
#if HAVE_VFORK_H
 
25591
#ifdef HAVE_VFORK_H
23871
25592
# include <vfork.h>
23872
25593
#endif
23873
25594
/* On some sparc systems, changes by the child to local and incoming
23938
25659
 
23939
25660
    while (wait(&status) != child)
23940
25661
      ;
23941
 
    exit(
 
25662
    return (
23942
25663
         /* Was there some problem with vforking?  */
23943
25664
         child < 0
23944
25665
 
23955
25676
}
23956
25677
_ACEOF
23957
25678
rm -f conftest$ac_exeext
23958
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23959
 
  (eval $ac_link) 2>&5
 
25679
if { (ac_try="$ac_link"
 
25680
case "(($ac_try" in
 
25681
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25682
  *) ac_try_echo=$ac_try;;
 
25683
esac
 
25684
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
25685
$as_echo "$ac_try_echo") >&5
 
25686
  (eval "$ac_link") 2>&5
23960
25687
  ac_status=$?
23961
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25688
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23962
25689
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23963
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23964
 
  (eval $ac_try) 2>&5
 
25690
  { (case "(($ac_try" in
 
25691
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25692
  *) ac_try_echo=$ac_try;;
 
25693
esac
 
25694
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
25695
$as_echo "$ac_try_echo") >&5
 
25696
  (eval "$ac_try") 2>&5
23965
25697
  ac_status=$?
23966
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25698
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23967
25699
  (exit $ac_status); }; }; then
23968
25700
  ac_cv_func_vfork_works=yes
23969
25701
else
23970
 
  echo "$as_me: program exited with status $ac_status" >&5
23971
 
echo "$as_me: failed program was:" >&5
 
25702
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
25703
$as_echo "$as_me: failed program was:" >&5
23972
25704
sed 's/^/| /' conftest.$ac_ext >&5
23973
25705
 
23974
25706
( exit $ac_status )
23975
25707
ac_cv_func_vfork_works=no
23976
25708
fi
23977
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23978
 
fi
23979
 
fi
23980
 
echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
23981
 
echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
 
25709
rm -rf conftest.dSYM
 
25710
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
25711
fi
 
25712
 
 
25713
 
 
25714
fi
 
25715
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
 
25716
$as_echo "$ac_cv_func_vfork_works" >&6; }
23982
25717
 
23983
25718
fi;
23984
25719
if test "x$ac_cv_func_fork_works" = xcross; then
23985
25720
  ac_cv_func_vfork_works=$ac_cv_func_vfork
23986
 
  { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
23987
 
echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
 
25721
  { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
 
25722
$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
23988
25723
fi
23989
25724
 
23990
25725
if test "x$ac_cv_func_vfork_works" = xyes; then
24011
25746
 
24012
25747
 
24013
25748
 
24014
 
for ac_header in stdlib.h sys/time.h unistd.h
 
25749
 
 
25750
for ac_header in $ac_header_list
24015
25751
do
24016
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24017
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
24018
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
24019
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24020
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
24021
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25752
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
25753
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
25754
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
25755
$as_echo_n "checking for $ac_header... " >&6; }
 
25756
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
25757
  $as_echo_n "(cached) " >&6
24022
25758
fi
24023
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24024
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
25759
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
25760
                 $as_echo "$as_val"'`
 
25761
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
25762
$as_echo "$ac_res" >&6; }
24025
25763
else
24026
25764
  # Is the header compilable?
24027
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
24028
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
25765
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
25766
$as_echo_n "checking $ac_header usability... " >&6; }
24029
25767
cat >conftest.$ac_ext <<_ACEOF
24030
25768
/* confdefs.h.  */
24031
25769
_ACEOF
24036
25774
#include <$ac_header>
24037
25775
_ACEOF
24038
25776
rm -f conftest.$ac_objext
24039
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24040
 
  (eval $ac_compile) 2>conftest.er1
 
25777
if { (ac_try="$ac_compile"
 
25778
case "(($ac_try" in
 
25779
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25780
  *) ac_try_echo=$ac_try;;
 
25781
esac
 
25782
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
25783
$as_echo "$ac_try_echo") >&5
 
25784
  (eval "$ac_compile") 2>conftest.er1
24041
25785
  ac_status=$?
24042
25786
  grep -v '^ *+' conftest.er1 >conftest.err
24043
25787
  rm -f conftest.er1
24044
25788
  cat conftest.err >&5
24045
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24046
 
  (exit $ac_status); } &&
24047
 
         { ac_try='test -z "$ac_c_werror_flag"
24048
 
                         || test ! -s conftest.err'
24049
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24050
 
  (eval $ac_try) 2>&5
24051
 
  ac_status=$?
24052
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24053
 
  (exit $ac_status); }; } &&
24054
 
         { ac_try='test -s conftest.$ac_objext'
24055
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24056
 
  (eval $ac_try) 2>&5
24057
 
  ac_status=$?
24058
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24059
 
  (exit $ac_status); }; }; then
 
25789
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25790
  (exit $ac_status); } && {
 
25791
         test -z "$ac_c_werror_flag" ||
 
25792
         test ! -s conftest.err
 
25793
       } && test -s conftest.$ac_objext; then
24060
25794
  ac_header_compiler=yes
24061
25795
else
24062
 
  echo "$as_me: failed program was:" >&5
 
25796
  $as_echo "$as_me: failed program was:" >&5
24063
25797
sed 's/^/| /' conftest.$ac_ext >&5
24064
25798
 
24065
 
ac_header_compiler=no
 
25799
        ac_header_compiler=no
24066
25800
fi
24067
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24068
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24069
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
25801
 
 
25802
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
25803
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
25804
$as_echo "$ac_header_compiler" >&6; }
24070
25805
 
24071
25806
# Is the header present?
24072
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
24073
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
25807
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
25808
$as_echo_n "checking $ac_header presence... " >&6; }
24074
25809
cat >conftest.$ac_ext <<_ACEOF
24075
25810
/* confdefs.h.  */
24076
25811
_ACEOF
24079
25814
/* end confdefs.h.  */
24080
25815
#include <$ac_header>
24081
25816
_ACEOF
24082
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24083
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
25817
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
25818
case "(($ac_try" in
 
25819
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25820
  *) ac_try_echo=$ac_try;;
 
25821
esac
 
25822
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
25823
$as_echo "$ac_try_echo") >&5
 
25824
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24084
25825
  ac_status=$?
24085
25826
  grep -v '^ *+' conftest.er1 >conftest.err
24086
25827
  rm -f conftest.er1
24087
25828
  cat conftest.err >&5
24088
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24089
 
  (exit $ac_status); } >/dev/null; then
24090
 
  if test -s conftest.err; then
24091
 
    ac_cpp_err=$ac_c_preproc_warn_flag
24092
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24093
 
  else
24094
 
    ac_cpp_err=
24095
 
  fi
24096
 
else
24097
 
  ac_cpp_err=yes
24098
 
fi
24099
 
if test -z "$ac_cpp_err"; then
 
25829
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25830
  (exit $ac_status); } >/dev/null && {
 
25831
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
25832
         test ! -s conftest.err
 
25833
       }; then
24100
25834
  ac_header_preproc=yes
24101
25835
else
24102
 
  echo "$as_me: failed program was:" >&5
 
25836
  $as_echo "$as_me: failed program was:" >&5
24103
25837
sed 's/^/| /' conftest.$ac_ext >&5
24104
25838
 
24105
25839
  ac_header_preproc=no
24106
25840
fi
 
25841
 
24107
25842
rm -f conftest.err conftest.$ac_ext
24108
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24109
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
25843
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
25844
$as_echo "$ac_header_preproc" >&6; }
24110
25845
 
24111
25846
# So?  What about this header?
24112
25847
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24113
25848
  yes:no: )
24114
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24115
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24116
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24117
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
25849
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
25850
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
25851
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
25852
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24118
25853
    ac_header_preproc=yes
24119
25854
    ;;
24120
25855
  no:yes:* )
24121
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24122
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24123
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
24124
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
24125
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24126
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24127
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
24128
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
24129
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24130
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24131
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24132
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24133
 
    (
24134
 
      cat <<\_ASBOX
 
25856
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
25857
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
25858
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
25859
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
25860
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
25861
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
25862
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
25863
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
25864
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
25865
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
25866
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
25867
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
25868
    ( cat <<\_ASBOX
24135
25869
## ------------------------------------------------ ##
24136
25870
## Report this to sblim-devel@lists.sourceforge.net ##
24137
25871
## ------------------------------------------------ ##
24138
25872
_ASBOX
24139
 
    ) |
24140
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
25873
     ) | sed "s/^/$as_me: WARNING:     /" >&2
24141
25874
    ;;
24142
25875
esac
24143
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
24144
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24145
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
24146
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25876
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
25877
$as_echo_n "checking for $ac_header... " >&6; }
 
25878
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
25879
  $as_echo_n "(cached) " >&6
24147
25880
else
24148
25881
  eval "$as_ac_Header=\$ac_header_preproc"
24149
25882
fi
24150
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24151
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
25883
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
25884
                 $as_echo "$as_val"'`
 
25885
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
25886
$as_echo "$ac_res" >&6; }
24152
25887
 
24153
25888
fi
24154
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
25889
as_val=`eval 'as_val=${'$as_ac_Header'}
 
25890
                 $as_echo "$as_val"'`
 
25891
   if test "x$as_val" = x""yes; then
24155
25892
  cat >>confdefs.h <<_ACEOF
24156
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
25893
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24157
25894
_ACEOF
24158
25895
 
24159
25896
fi
24161
25898
done
24162
25899
 
24163
25900
 
24164
 
for ac_func in alarm
 
25901
 
 
25902
 
 
25903
 
 
25904
 
 
25905
 
 
25906
 
 
25907
 
 
25908
for ac_func in $ac_func_list
24165
25909
do
24166
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24167
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
24168
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24169
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
24170
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25910
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
25911
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
25912
$as_echo_n "checking for $ac_func... " >&6; }
 
25913
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
25914
  $as_echo_n "(cached) " >&6
24171
25915
else
24172
25916
  cat >conftest.$ac_ext <<_ACEOF
24173
25917
/* confdefs.h.  */
24192
25936
 
24193
25937
#undef $ac_func
24194
25938
 
24195
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25939
/* Override any GCC internal prototype to avoid an error.
 
25940
   Use char because int might match the return type of a GCC
 
25941
   builtin and then its argument prototype would still apply.  */
24196
25942
#ifdef __cplusplus
24197
25943
extern "C"
24198
 
{
24199
25944
#endif
24200
 
/* We use char because int might match the return type of a gcc2
24201
 
   builtin and then its argument prototype would still apply.  */
24202
25945
char $ac_func ();
24203
25946
/* The GNU C library defines this for functions which it implements
24204
25947
    to always fail with ENOSYS.  Some functions are actually named
24205
25948
    something starting with __ and the normal name is an alias.  */
24206
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
25949
#if defined __stub_$ac_func || defined __stub___$ac_func
24207
25950
choke me
24208
 
#else
24209
 
char (*f) () = $ac_func;
24210
 
#endif
24211
 
#ifdef __cplusplus
24212
 
}
24213
25951
#endif
24214
25952
 
24215
25953
int
24216
25954
main ()
24217
25955
{
24218
 
return f != $ac_func;
 
25956
return $ac_func ();
24219
25957
  ;
24220
25958
  return 0;
24221
25959
}
24222
25960
_ACEOF
24223
25961
rm -f conftest.$ac_objext conftest$ac_exeext
24224
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24225
 
  (eval $ac_link) 2>conftest.er1
 
25962
if { (ac_try="$ac_link"
 
25963
case "(($ac_try" in
 
25964
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25965
  *) ac_try_echo=$ac_try;;
 
25966
esac
 
25967
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
25968
$as_echo "$ac_try_echo") >&5
 
25969
  (eval "$ac_link") 2>conftest.er1
24226
25970
  ac_status=$?
24227
25971
  grep -v '^ *+' conftest.er1 >conftest.err
24228
25972
  rm -f conftest.er1
24229
25973
  cat conftest.err >&5
24230
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24231
 
  (exit $ac_status); } &&
24232
 
         { ac_try='test -z "$ac_c_werror_flag"
24233
 
                         || test ! -s conftest.err'
24234
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24235
 
  (eval $ac_try) 2>&5
24236
 
  ac_status=$?
24237
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24238
 
  (exit $ac_status); }; } &&
24239
 
         { ac_try='test -s conftest$ac_exeext'
24240
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24241
 
  (eval $ac_try) 2>&5
24242
 
  ac_status=$?
24243
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24244
 
  (exit $ac_status); }; }; then
 
25974
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25975
  (exit $ac_status); } && {
 
25976
         test -z "$ac_c_werror_flag" ||
 
25977
         test ! -s conftest.err
 
25978
       } && test -s conftest$ac_exeext && {
 
25979
         test "$cross_compiling" = yes ||
 
25980
         $as_test_x conftest$ac_exeext
 
25981
       }; then
24245
25982
  eval "$as_ac_var=yes"
24246
25983
else
24247
 
  echo "$as_me: failed program was:" >&5
 
25984
  $as_echo "$as_me: failed program was:" >&5
24248
25985
sed 's/^/| /' conftest.$ac_ext >&5
24249
25986
 
24250
 
eval "$as_ac_var=no"
 
25987
        eval "$as_ac_var=no"
24251
25988
fi
24252
 
rm -f conftest.err conftest.$ac_objext \
 
25989
 
 
25990
rm -rf conftest.dSYM
 
25991
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24253
25992
      conftest$ac_exeext conftest.$ac_ext
24254
25993
fi
24255
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24256
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24257
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
25994
ac_res=`eval 'as_val=${'$as_ac_var'}
 
25995
                 $as_echo "$as_val"'`
 
25996
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
25997
$as_echo "$ac_res" >&6; }
 
25998
as_val=`eval 'as_val=${'$as_ac_var'}
 
25999
                 $as_echo "$as_val"'`
 
26000
   if test "x$as_val" = x""yes; then
24258
26001
  cat >>confdefs.h <<_ACEOF
24259
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
26002
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24260
26003
_ACEOF
24261
26004
 
24262
26005
fi
24263
26006
done
24264
26007
 
24265
 
echo "$as_me:$LINENO: checking for working mktime" >&5
24266
 
echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
 
26008
 
 
26009
 
 
26010
 
 
26011
 
 
26012
 
 
26013
 
 
26014
 
 
26015
 
 
26016
 
 
26017
 
 
26018
 
 
26019
 
 
26020
 
 
26021
 
 
26022
 
 
26023
 
 
26024
{ $as_echo "$as_me:$LINENO: checking for working mktime" >&5
 
26025
$as_echo_n "checking for working mktime... " >&6; }
24267
26026
if test "${ac_cv_func_working_mktime+set}" = set; then
24268
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
26027
  $as_echo_n "(cached) " >&6
24269
26028
else
24270
26029
  if test "$cross_compiling" = yes; then
24271
26030
  ac_cv_func_working_mktime=no
24277
26036
cat >>conftest.$ac_ext <<_ACEOF
24278
26037
/* end confdefs.h.  */
24279
26038
/* Test program from Paul Eggert and Tony Leneis.  */
24280
 
#if TIME_WITH_SYS_TIME
 
26039
#ifdef TIME_WITH_SYS_TIME
24281
26040
# include <sys/time.h>
24282
26041
# include <time.h>
24283
26042
#else
24284
 
# if HAVE_SYS_TIME_H
 
26043
# ifdef HAVE_SYS_TIME_H
24285
26044
#  include <sys/time.h>
24286
26045
# else
24287
26046
#  include <time.h>
24288
26047
# endif
24289
26048
#endif
24290
26049
 
24291
 
#if HAVE_STDLIB_H
24292
 
# include <stdlib.h>
24293
 
#endif
 
26050
#include <limits.h>
 
26051
#include <stdlib.h>
24294
26052
 
24295
 
#if HAVE_UNISTD_H
 
26053
#ifdef HAVE_UNISTD_H
24296
26054
# include <unistd.h>
24297
26055
#endif
24298
26056
 
24299
 
#if !HAVE_ALARM
 
26057
#ifndef HAVE_ALARM
24300
26058
# define alarm(X) /* empty */
24301
26059
#endif
24302
26060
 
24313
26071
};
24314
26072
#define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
24315
26073
 
24316
 
/* Fail if mktime fails to convert a date in the spring-forward gap.
 
26074
/* Return 0 if mktime fails to convert a date in the spring-forward gap.
24317
26075
   Based on a problem report from Andreas Jaeger.  */
24318
 
static void
 
26076
static int
24319
26077
spring_forward_gap ()
24320
26078
{
24321
26079
  /* glibc (up to about 1998-10-07) failed this test. */
24334
26092
  tm.tm_min = 0;
24335
26093
  tm.tm_sec = 0;
24336
26094
  tm.tm_isdst = -1;
24337
 
  if (mktime (&tm) == (time_t)-1)
24338
 
    exit (1);
 
26095
  return mktime (&tm) != (time_t) -1;
24339
26096
}
24340
26097
 
24341
 
static void
 
26098
static int
24342
26099
mktime_test1 (now)
24343
26100
     time_t now;
24344
26101
{
24345
26102
  struct tm *lt;
24346
 
  if ((lt = localtime (&now)) && mktime (lt) != now)
24347
 
    exit (1);
 
26103
  return ! (lt = localtime (&now)) || mktime (lt) == now;
24348
26104
}
24349
26105
 
24350
 
static void
 
26106
static int
24351
26107
mktime_test (now)
24352
26108
     time_t now;
24353
26109
{
24354
 
  mktime_test1 (now);
24355
 
  mktime_test1 ((time_t) (time_t_max - now));
24356
 
  mktime_test1 ((time_t) (time_t_min + now));
 
26110
  return (mktime_test1 (now)
 
26111
          && mktime_test1 ((time_t) (time_t_max - now))
 
26112
          && mktime_test1 ((time_t) (time_t_min + now)));
24357
26113
}
24358
26114
 
24359
 
static void
 
26115
static int
24360
26116
irix_6_4_bug ()
24361
26117
{
24362
26118
  /* Based on code from Ariel Faigon.  */
24369
26125
  tm.tm_sec = 0;
24370
26126
  tm.tm_isdst = -1;
24371
26127
  mktime (&tm);
24372
 
  if (tm.tm_mon != 2 || tm.tm_mday != 31)
24373
 
    exit (1);
 
26128
  return tm.tm_mon == 2 && tm.tm_mday == 31;
24374
26129
}
24375
26130
 
24376
 
static void
 
26131
static int
24377
26132
bigtime_test (j)
24378
26133
     int j;
24379
26134
{
24395
26150
             && lt->tm_wday == tm.tm_wday
24396
26151
             && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
24397
26152
                  == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
24398
 
        exit (1);
 
26153
        return 0;
24399
26154
    }
 
26155
  return 1;
 
26156
}
 
26157
 
 
26158
static int
 
26159
year_2050_test ()
 
26160
{
 
26161
  /* The correct answer for 2050-02-01 00:00:00 in Pacific time,
 
26162
     ignoring leap seconds.  */
 
26163
  unsigned long int answer = 2527315200UL;
 
26164
 
 
26165
  struct tm tm;
 
26166
  time_t t;
 
26167
  tm.tm_year = 2050 - 1900;
 
26168
  tm.tm_mon = 2 - 1;
 
26169
  tm.tm_mday = 1;
 
26170
  tm.tm_hour = tm.tm_min = tm.tm_sec = 0;
 
26171
  tm.tm_isdst = -1;
 
26172
 
 
26173
  /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
 
26174
     instead of "TZ=America/Vancouver" in order to detect the bug even
 
26175
     on systems that don't support the Olson extension, or don't have the
 
26176
     full zoneinfo tables installed.  */
 
26177
  putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
 
26178
 
 
26179
  t = mktime (&tm);
 
26180
 
 
26181
  /* Check that the result is either a failure, or close enough
 
26182
     to the correct answer that we can assume the discrepancy is
 
26183
     due to leap seconds.  */
 
26184
  return (t == (time_t) -1
 
26185
          || (0 < t && answer - 120 <= t && t <= answer + 120));
24400
26186
}
24401
26187
 
24402
26188
int
24410
26196
     isn't worth using anyway.  */
24411
26197
  alarm (60);
24412
26198
 
24413
 
  for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
24414
 
    continue;
24415
 
  time_t_max--;
24416
 
  if ((time_t) -1 < 0)
24417
 
    for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2)
24418
 
      continue;
 
26199
  for (;;)
 
26200
    {
 
26201
      t = (time_t_max << 1) + 1;
 
26202
      if (t <= time_t_max)
 
26203
        break;
 
26204
      time_t_max = t;
 
26205
    }
 
26206
  time_t_min = - ((time_t) ~ (time_t) 0 == (time_t) -1) - time_t_max;
 
26207
 
24419
26208
  delta = time_t_max / 997; /* a suitable prime number */
24420
26209
  for (i = 0; i < N_STRINGS; i++)
24421
26210
    {
24423
26212
        putenv (tz_strings[i]);
24424
26213
 
24425
26214
      for (t = 0; t <= time_t_max - delta; t += delta)
24426
 
        mktime_test (t);
24427
 
      mktime_test ((time_t) 1);
24428
 
      mktime_test ((time_t) (60 * 60));
24429
 
      mktime_test ((time_t) (60 * 60 * 24));
 
26215
        if (! mktime_test (t))
 
26216
          return 1;
 
26217
      if (! (mktime_test ((time_t) 1)
 
26218
             && mktime_test ((time_t) (60 * 60))
 
26219
             && mktime_test ((time_t) (60 * 60 * 24))))
 
26220
        return 1;
24430
26221
 
24431
 
      for (j = 1; 0 < j; j *= 2)
24432
 
        bigtime_test (j);
24433
 
      bigtime_test (j - 1);
 
26222
      for (j = 1; ; j <<= 1)
 
26223
        if (! bigtime_test (j))
 
26224
          return 1;
 
26225
        else if (INT_MAX / 2 < j)
 
26226
          break;
 
26227
      if (! bigtime_test (INT_MAX))
 
26228
        return 1;
24434
26229
    }
24435
 
  irix_6_4_bug ();
24436
 
  spring_forward_gap ();
24437
 
  exit (0);
 
26230
  return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
24438
26231
}
24439
26232
_ACEOF
24440
26233
rm -f conftest$ac_exeext
24441
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24442
 
  (eval $ac_link) 2>&5
 
26234
if { (ac_try="$ac_link"
 
26235
case "(($ac_try" in
 
26236
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26237
  *) ac_try_echo=$ac_try;;
 
26238
esac
 
26239
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
26240
$as_echo "$ac_try_echo") >&5
 
26241
  (eval "$ac_link") 2>&5
24443
26242
  ac_status=$?
24444
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26243
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24445
26244
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24446
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24447
 
  (eval $ac_try) 2>&5
 
26245
  { (case "(($ac_try" in
 
26246
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26247
  *) ac_try_echo=$ac_try;;
 
26248
esac
 
26249
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
26250
$as_echo "$ac_try_echo") >&5
 
26251
  (eval "$ac_try") 2>&5
24448
26252
  ac_status=$?
24449
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26253
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24450
26254
  (exit $ac_status); }; }; then
24451
26255
  ac_cv_func_working_mktime=yes
24452
26256
else
24453
 
  echo "$as_me: program exited with status $ac_status" >&5
24454
 
echo "$as_me: failed program was:" >&5
 
26257
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
26258
$as_echo "$as_me: failed program was:" >&5
24455
26259
sed 's/^/| /' conftest.$ac_ext >&5
24456
26260
 
24457
26261
( exit $ac_status )
24458
26262
ac_cv_func_working_mktime=no
24459
26263
fi
24460
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24461
 
fi
24462
 
fi
24463
 
echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
24464
 
echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
 
26264
rm -rf conftest.dSYM
 
26265
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
26266
fi
 
26267
 
 
26268
 
 
26269
fi
 
26270
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
 
26271
$as_echo "$ac_cv_func_working_mktime" >&6; }
24465
26272
if test $ac_cv_func_working_mktime = no; then
24466
 
  case $LIBOBJS in
24467
 
    "mktime.$ac_objext"   | \
24468
 
  *" mktime.$ac_objext"   | \
24469
 
    "mktime.$ac_objext "* | \
 
26273
  case " $LIBOBJS " in
24470
26274
  *" mktime.$ac_objext "* ) ;;
24471
 
  *) LIBOBJS="$LIBOBJS mktime.$ac_objext" ;;
 
26275
  *) LIBOBJS="$LIBOBJS mktime.$ac_objext"
 
26276
 ;;
24472
26277
esac
24473
26278
 
24474
26279
fi
24475
26280
 
24476
 
echo "$as_me:$LINENO: checking return type of signal handlers" >&5
24477
 
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
 
26281
{ $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
 
26282
$as_echo_n "checking return type of signal handlers... " >&6; }
24478
26283
if test "${ac_cv_type_signal+set}" = set; then
24479
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
26284
  $as_echo_n "(cached) " >&6
24480
26285
else
24481
26286
  cat >conftest.$ac_ext <<_ACEOF
24482
26287
/* confdefs.h.  */
24486
26291
/* end confdefs.h.  */
24487
26292
#include <sys/types.h>
24488
26293
#include <signal.h>
24489
 
#ifdef signal
24490
 
# undef signal
24491
 
#endif
24492
 
#ifdef __cplusplus
24493
 
extern "C" void (*signal (int, void (*)(int)))(int);
24494
 
#else
24495
 
void (*signal ()) ();
24496
 
#endif
24497
26294
 
24498
26295
int
24499
26296
main ()
24500
26297
{
24501
 
int i;
 
26298
return *(signal (0, 0)) (0) == 1;
24502
26299
  ;
24503
26300
  return 0;
24504
26301
}
24505
26302
_ACEOF
24506
26303
rm -f conftest.$ac_objext
24507
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24508
 
  (eval $ac_compile) 2>conftest.er1
 
26304
if { (ac_try="$ac_compile"
 
26305
case "(($ac_try" in
 
26306
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26307
  *) ac_try_echo=$ac_try;;
 
26308
esac
 
26309
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
26310
$as_echo "$ac_try_echo") >&5
 
26311
  (eval "$ac_compile") 2>conftest.er1
24509
26312
  ac_status=$?
24510
26313
  grep -v '^ *+' conftest.er1 >conftest.err
24511
26314
  rm -f conftest.er1
24512
26315
  cat conftest.err >&5
24513
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24514
 
  (exit $ac_status); } &&
24515
 
         { ac_try='test -z "$ac_c_werror_flag"
24516
 
                         || test ! -s conftest.err'
24517
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24518
 
  (eval $ac_try) 2>&5
24519
 
  ac_status=$?
24520
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24521
 
  (exit $ac_status); }; } &&
24522
 
         { ac_try='test -s conftest.$ac_objext'
24523
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24524
 
  (eval $ac_try) 2>&5
24525
 
  ac_status=$?
24526
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24527
 
  (exit $ac_status); }; }; then
24528
 
  ac_cv_type_signal=void
 
26316
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26317
  (exit $ac_status); } && {
 
26318
         test -z "$ac_c_werror_flag" ||
 
26319
         test ! -s conftest.err
 
26320
       } && test -s conftest.$ac_objext; then
 
26321
  ac_cv_type_signal=int
24529
26322
else
24530
 
  echo "$as_me: failed program was:" >&5
 
26323
  $as_echo "$as_me: failed program was:" >&5
24531
26324
sed 's/^/| /' conftest.$ac_ext >&5
24532
26325
 
24533
 
ac_cv_type_signal=int
24534
 
fi
24535
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24536
 
fi
24537
 
echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
24538
 
echo "${ECHO_T}$ac_cv_type_signal" >&6
 
26326
        ac_cv_type_signal=void
 
26327
fi
 
26328
 
 
26329
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
26330
fi
 
26331
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
 
26332
$as_echo "$ac_cv_type_signal" >&6; }
24539
26333
 
24540
26334
cat >>confdefs.h <<_ACEOF
24541
26335
#define RETSIGTYPE $ac_cv_type_signal
24545
26339
 
24546
26340
for ac_func in strftime
24547
26341
do
24548
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24549
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
24550
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24551
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
24552
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
26342
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
26343
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
26344
$as_echo_n "checking for $ac_func... " >&6; }
 
26345
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
26346
  $as_echo_n "(cached) " >&6
24553
26347
else
24554
26348
  cat >conftest.$ac_ext <<_ACEOF
24555
26349
/* confdefs.h.  */
24574
26368
 
24575
26369
#undef $ac_func
24576
26370
 
24577
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
26371
/* Override any GCC internal prototype to avoid an error.
 
26372
   Use char because int might match the return type of a GCC
 
26373
   builtin and then its argument prototype would still apply.  */
24578
26374
#ifdef __cplusplus
24579
26375
extern "C"
24580
 
{
24581
26376
#endif
24582
 
/* We use char because int might match the return type of a gcc2
24583
 
   builtin and then its argument prototype would still apply.  */
24584
26377
char $ac_func ();
24585
26378
/* The GNU C library defines this for functions which it implements
24586
26379
    to always fail with ENOSYS.  Some functions are actually named
24587
26380
    something starting with __ and the normal name is an alias.  */
24588
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
26381
#if defined __stub_$ac_func || defined __stub___$ac_func
24589
26382
choke me
24590
 
#else
24591
 
char (*f) () = $ac_func;
24592
 
#endif
24593
 
#ifdef __cplusplus
24594
 
}
24595
26383
#endif
24596
26384
 
24597
26385
int
24598
26386
main ()
24599
26387
{
24600
 
return f != $ac_func;
 
26388
return $ac_func ();
24601
26389
  ;
24602
26390
  return 0;
24603
26391
}
24604
26392
_ACEOF
24605
26393
rm -f conftest.$ac_objext conftest$ac_exeext
24606
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24607
 
  (eval $ac_link) 2>conftest.er1
 
26394
if { (ac_try="$ac_link"
 
26395
case "(($ac_try" in
 
26396
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26397
  *) ac_try_echo=$ac_try;;
 
26398
esac
 
26399
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
26400
$as_echo "$ac_try_echo") >&5
 
26401
  (eval "$ac_link") 2>conftest.er1
24608
26402
  ac_status=$?
24609
26403
  grep -v '^ *+' conftest.er1 >conftest.err
24610
26404
  rm -f conftest.er1
24611
26405
  cat conftest.err >&5
24612
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24613
 
  (exit $ac_status); } &&
24614
 
         { ac_try='test -z "$ac_c_werror_flag"
24615
 
                         || test ! -s conftest.err'
24616
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24617
 
  (eval $ac_try) 2>&5
24618
 
  ac_status=$?
24619
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24620
 
  (exit $ac_status); }; } &&
24621
 
         { ac_try='test -s conftest$ac_exeext'
24622
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24623
 
  (eval $ac_try) 2>&5
24624
 
  ac_status=$?
24625
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24626
 
  (exit $ac_status); }; }; then
 
26406
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26407
  (exit $ac_status); } && {
 
26408
         test -z "$ac_c_werror_flag" ||
 
26409
         test ! -s conftest.err
 
26410
       } && test -s conftest$ac_exeext && {
 
26411
         test "$cross_compiling" = yes ||
 
26412
         $as_test_x conftest$ac_exeext
 
26413
       }; then
24627
26414
  eval "$as_ac_var=yes"
24628
26415
else
24629
 
  echo "$as_me: failed program was:" >&5
 
26416
  $as_echo "$as_me: failed program was:" >&5
24630
26417
sed 's/^/| /' conftest.$ac_ext >&5
24631
26418
 
24632
 
eval "$as_ac_var=no"
 
26419
        eval "$as_ac_var=no"
24633
26420
fi
24634
 
rm -f conftest.err conftest.$ac_objext \
 
26421
 
 
26422
rm -rf conftest.dSYM
 
26423
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24635
26424
      conftest$ac_exeext conftest.$ac_ext
24636
26425
fi
24637
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24638
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24639
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
26426
ac_res=`eval 'as_val=${'$as_ac_var'}
 
26427
                 $as_echo "$as_val"'`
 
26428
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
26429
$as_echo "$ac_res" >&6; }
 
26430
as_val=`eval 'as_val=${'$as_ac_var'}
 
26431
                 $as_echo "$as_val"'`
 
26432
   if test "x$as_val" = x""yes; then
24640
26433
  cat >>confdefs.h <<_ACEOF
24641
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
26434
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24642
26435
_ACEOF
24643
26436
 
24644
26437
else
24645
26438
  # strftime is in -lintl on SCO UNIX.
24646
 
echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
24647
 
echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
 
26439
{ $as_echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
 
26440
$as_echo_n "checking for strftime in -lintl... " >&6; }
24648
26441
if test "${ac_cv_lib_intl_strftime+set}" = set; then
24649
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
26442
  $as_echo_n "(cached) " >&6
24650
26443
else
24651
26444
  ac_check_lib_save_LIBS=$LIBS
24652
26445
LIBS="-lintl  $LIBS"
24657
26450
cat >>conftest.$ac_ext <<_ACEOF
24658
26451
/* end confdefs.h.  */
24659
26452
 
24660
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
26453
/* Override any GCC internal prototype to avoid an error.
 
26454
   Use char because int might match the return type of a GCC
 
26455
   builtin and then its argument prototype would still apply.  */
24661
26456
#ifdef __cplusplus
24662
26457
extern "C"
24663
26458
#endif
24664
 
/* We use char because int might match the return type of a gcc2
24665
 
   builtin and then its argument prototype would still apply.  */
24666
26459
char strftime ();
24667
26460
int
24668
26461
main ()
24669
26462
{
24670
 
strftime ();
 
26463
return strftime ();
24671
26464
  ;
24672
26465
  return 0;
24673
26466
}
24674
26467
_ACEOF
24675
26468
rm -f conftest.$ac_objext conftest$ac_exeext
24676
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24677
 
  (eval $ac_link) 2>conftest.er1
 
26469
if { (ac_try="$ac_link"
 
26470
case "(($ac_try" in
 
26471
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26472
  *) ac_try_echo=$ac_try;;
 
26473
esac
 
26474
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
26475
$as_echo "$ac_try_echo") >&5
 
26476
  (eval "$ac_link") 2>conftest.er1
24678
26477
  ac_status=$?
24679
26478
  grep -v '^ *+' conftest.er1 >conftest.err
24680
26479
  rm -f conftest.er1
24681
26480
  cat conftest.err >&5
24682
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24683
 
  (exit $ac_status); } &&
24684
 
         { ac_try='test -z "$ac_c_werror_flag"
24685
 
                         || test ! -s conftest.err'
24686
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24687
 
  (eval $ac_try) 2>&5
24688
 
  ac_status=$?
24689
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24690
 
  (exit $ac_status); }; } &&
24691
 
         { ac_try='test -s conftest$ac_exeext'
24692
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24693
 
  (eval $ac_try) 2>&5
24694
 
  ac_status=$?
24695
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24696
 
  (exit $ac_status); }; }; then
 
26481
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26482
  (exit $ac_status); } && {
 
26483
         test -z "$ac_c_werror_flag" ||
 
26484
         test ! -s conftest.err
 
26485
       } && test -s conftest$ac_exeext && {
 
26486
         test "$cross_compiling" = yes ||
 
26487
         $as_test_x conftest$ac_exeext
 
26488
       }; then
24697
26489
  ac_cv_lib_intl_strftime=yes
24698
26490
else
24699
 
  echo "$as_me: failed program was:" >&5
 
26491
  $as_echo "$as_me: failed program was:" >&5
24700
26492
sed 's/^/| /' conftest.$ac_ext >&5
24701
26493
 
24702
 
ac_cv_lib_intl_strftime=no
 
26494
        ac_cv_lib_intl_strftime=no
24703
26495
fi
24704
 
rm -f conftest.err conftest.$ac_objext \
 
26496
 
 
26497
rm -rf conftest.dSYM
 
26498
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24705
26499
      conftest$ac_exeext conftest.$ac_ext
24706
26500
LIBS=$ac_check_lib_save_LIBS
24707
26501
fi
24708
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
24709
 
echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
24710
 
if test $ac_cv_lib_intl_strftime = yes; then
 
26502
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
 
26503
$as_echo "$ac_cv_lib_intl_strftime" >&6; }
 
26504
if test "x$ac_cv_lib_intl_strftime" = x""yes; then
24711
26505
  cat >>confdefs.h <<\_ACEOF
24712
26506
#define HAVE_STRFTIME 1
24713
26507
_ACEOF
24718
26512
fi
24719
26513
done
24720
26514
 
24721
 
echo "$as_me:$LINENO: checking for wait3 that fills in rusage" >&5
24722
 
echo $ECHO_N "checking for wait3 that fills in rusage... $ECHO_C" >&6
 
26515
{ $as_echo "$as_me:$LINENO: checking for wait3 that fills in rusage" >&5
 
26516
$as_echo_n "checking for wait3 that fills in rusage... " >&6; }
24723
26517
if test "${ac_cv_func_wait3_rusage+set}" = set; then
24724
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
26518
  $as_echo_n "(cached) " >&6
24725
26519
else
24726
26520
  if test "$cross_compiling" = yes; then
24727
26521
  ac_cv_func_wait3_rusage=no
24732
26526
cat confdefs.h >>conftest.$ac_ext
24733
26527
cat >>conftest.$ac_ext <<_ACEOF
24734
26528
/* end confdefs.h.  */
24735
 
#include <sys/types.h>
 
26529
$ac_includes_default
24736
26530
#include <sys/time.h>
24737
26531
#include <sys/resource.h>
24738
 
#include <stdio.h>
 
26532
#include <sys/wait.h>
24739
26533
/* HP-UX has wait3 but does not fill in rusage at all.  */
24740
26534
int
24741
26535
main ()
24763
26557
      wait3(&i, 0, &r);
24764
26558
      /* Avoid "text file busy" from rm on fast HP-UX machines.  */
24765
26559
      sleep(2);
24766
 
      exit (r.ru_nvcsw == 0 && r.ru_majflt == 0 && r.ru_minflt == 0
24767
 
            && r.ru_stime.tv_sec == 0 && r.ru_stime.tv_usec == 0);
 
26560
      return (r.ru_nvcsw == 0 && r.ru_majflt == 0 && r.ru_minflt == 0
 
26561
              && r.ru_stime.tv_sec == 0 && r.ru_stime.tv_usec == 0);
24768
26562
    }
24769
26563
}
24770
26564
_ACEOF
24771
26565
rm -f conftest$ac_exeext
24772
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24773
 
  (eval $ac_link) 2>&5
 
26566
if { (ac_try="$ac_link"
 
26567
case "(($ac_try" in
 
26568
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26569
  *) ac_try_echo=$ac_try;;
 
26570
esac
 
26571
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
26572
$as_echo "$ac_try_echo") >&5
 
26573
  (eval "$ac_link") 2>&5
24774
26574
  ac_status=$?
24775
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26575
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24776
26576
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24777
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24778
 
  (eval $ac_try) 2>&5
 
26577
  { (case "(($ac_try" in
 
26578
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26579
  *) ac_try_echo=$ac_try;;
 
26580
esac
 
26581
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
26582
$as_echo "$ac_try_echo") >&5
 
26583
  (eval "$ac_try") 2>&5
24779
26584
  ac_status=$?
24780
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26585
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24781
26586
  (exit $ac_status); }; }; then
24782
26587
  ac_cv_func_wait3_rusage=yes
24783
26588
else
24784
 
  echo "$as_me: program exited with status $ac_status" >&5
24785
 
echo "$as_me: failed program was:" >&5
 
26589
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
26590
$as_echo "$as_me: failed program was:" >&5
24786
26591
sed 's/^/| /' conftest.$ac_ext >&5
24787
26592
 
24788
26593
( exit $ac_status )
24789
26594
ac_cv_func_wait3_rusage=no
24790
26595
fi
24791
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24792
 
fi
24793
 
fi
24794
 
echo "$as_me:$LINENO: result: $ac_cv_func_wait3_rusage" >&5
24795
 
echo "${ECHO_T}$ac_cv_func_wait3_rusage" >&6
 
26596
rm -rf conftest.dSYM
 
26597
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
26598
fi
 
26599
 
 
26600
 
 
26601
fi
 
26602
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_wait3_rusage" >&5
 
26603
$as_echo "$ac_cv_func_wait3_rusage" >&6; }
24796
26604
if test $ac_cv_func_wait3_rusage = yes; then
24797
26605
 
24798
26606
cat >>confdefs.h <<\_ACEOF
24819
26627
 
24820
26628
for ac_func in alarm bzero gettimeofday localtime_r memmove memset socket strcasecmp strchr strdup strncasecmp strpbrk strrchr strspn strstr tzset
24821
26629
do
24822
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24823
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
24824
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24825
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
24826
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
26630
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
26631
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
26632
$as_echo_n "checking for $ac_func... " >&6; }
 
26633
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
26634
  $as_echo_n "(cached) " >&6
24827
26635
else
24828
26636
  cat >conftest.$ac_ext <<_ACEOF
24829
26637
/* confdefs.h.  */
24848
26656
 
24849
26657
#undef $ac_func
24850
26658
 
24851
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
26659
/* Override any GCC internal prototype to avoid an error.
 
26660
   Use char because int might match the return type of a GCC
 
26661
   builtin and then its argument prototype would still apply.  */
24852
26662
#ifdef __cplusplus
24853
26663
extern "C"
24854
 
{
24855
26664
#endif
24856
 
/* We use char because int might match the return type of a gcc2
24857
 
   builtin and then its argument prototype would still apply.  */
24858
26665
char $ac_func ();
24859
26666
/* The GNU C library defines this for functions which it implements
24860
26667
    to always fail with ENOSYS.  Some functions are actually named
24861
26668
    something starting with __ and the normal name is an alias.  */
24862
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
26669
#if defined __stub_$ac_func || defined __stub___$ac_func
24863
26670
choke me
24864
 
#else
24865
 
char (*f) () = $ac_func;
24866
 
#endif
24867
 
#ifdef __cplusplus
24868
 
}
24869
26671
#endif
24870
26672
 
24871
26673
int
24872
26674
main ()
24873
26675
{
24874
 
return f != $ac_func;
 
26676
return $ac_func ();
24875
26677
  ;
24876
26678
  return 0;
24877
26679
}
24878
26680
_ACEOF
24879
26681
rm -f conftest.$ac_objext conftest$ac_exeext
24880
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24881
 
  (eval $ac_link) 2>conftest.er1
 
26682
if { (ac_try="$ac_link"
 
26683
case "(($ac_try" in
 
26684
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26685
  *) ac_try_echo=$ac_try;;
 
26686
esac
 
26687
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
26688
$as_echo "$ac_try_echo") >&5
 
26689
  (eval "$ac_link") 2>conftest.er1
24882
26690
  ac_status=$?
24883
26691
  grep -v '^ *+' conftest.er1 >conftest.err
24884
26692
  rm -f conftest.er1
24885
26693
  cat conftest.err >&5
24886
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24887
 
  (exit $ac_status); } &&
24888
 
         { ac_try='test -z "$ac_c_werror_flag"
24889
 
                         || test ! -s conftest.err'
24890
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24891
 
  (eval $ac_try) 2>&5
24892
 
  ac_status=$?
24893
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24894
 
  (exit $ac_status); }; } &&
24895
 
         { ac_try='test -s conftest$ac_exeext'
24896
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24897
 
  (eval $ac_try) 2>&5
24898
 
  ac_status=$?
24899
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24900
 
  (exit $ac_status); }; }; then
 
26694
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26695
  (exit $ac_status); } && {
 
26696
         test -z "$ac_c_werror_flag" ||
 
26697
         test ! -s conftest.err
 
26698
       } && test -s conftest$ac_exeext && {
 
26699
         test "$cross_compiling" = yes ||
 
26700
         $as_test_x conftest$ac_exeext
 
26701
       }; then
24901
26702
  eval "$as_ac_var=yes"
24902
26703
else
24903
 
  echo "$as_me: failed program was:" >&5
 
26704
  $as_echo "$as_me: failed program was:" >&5
24904
26705
sed 's/^/| /' conftest.$ac_ext >&5
24905
26706
 
24906
 
eval "$as_ac_var=no"
 
26707
        eval "$as_ac_var=no"
24907
26708
fi
24908
 
rm -f conftest.err conftest.$ac_objext \
 
26709
 
 
26710
rm -rf conftest.dSYM
 
26711
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24909
26712
      conftest$ac_exeext conftest.$ac_ext
24910
26713
fi
24911
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24912
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24913
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
26714
ac_res=`eval 'as_val=${'$as_ac_var'}
 
26715
                 $as_echo "$as_val"'`
 
26716
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
26717
$as_echo "$ac_res" >&6; }
 
26718
as_val=`eval 'as_val=${'$as_ac_var'}
 
26719
                 $as_echo "$as_val"'`
 
26720
   if test "x$as_val" = x""yes; then
24914
26721
  cat >>confdefs.h <<_ACEOF
24915
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
26722
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24916
26723
_ACEOF
24917
26724
 
24918
26725
fi
24932
26739
fi
24933
26740
 
24934
26741
 
24935
 
# Checks for subdirectories
24936
 
if test -d $srcdir/test; then
24937
 
 
24938
 
 
24939
 
subdirs="$subdirs test"
24940
 
 
24941
 
fi
24942
 
 
24943
26742
# Check for doxygen for generating documentation
24944
26743
if test "$enable_docs" = "yes"; then
24945
26744
   # Extract the first word of "doxygen", so it can be a program name with args.
24946
26745
set dummy doxygen; ac_word=$2
24947
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
24948
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
26746
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
26747
$as_echo_n "checking for $ac_word... " >&6; }
24949
26748
if test "${ac_cv_prog_DOXYGEN+set}" = set; then
24950
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
26749
  $as_echo_n "(cached) " >&6
24951
26750
else
24952
26751
  if test -n "$DOXYGEN"; then
24953
26752
  ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
24958
26757
  IFS=$as_save_IFS
24959
26758
  test -z "$as_dir" && as_dir=.
24960
26759
  for ac_exec_ext in '' $ac_executable_extensions; do
24961
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
26760
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24962
26761
    ac_cv_prog_DOXYGEN="doxygen"
24963
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
26762
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24964
26763
    break 2
24965
26764
  fi
24966
26765
done
24967
26766
done
 
26767
IFS=$as_save_IFS
24968
26768
 
24969
26769
fi
24970
26770
fi
24971
26771
DOXYGEN=$ac_cv_prog_DOXYGEN
24972
26772
if test -n "$DOXYGEN"; then
24973
 
  echo "$as_me:$LINENO: result: $DOXYGEN" >&5
24974
 
echo "${ECHO_T}$DOXYGEN" >&6
 
26773
  { $as_echo "$as_me:$LINENO: result: $DOXYGEN" >&5
 
26774
$as_echo "$DOXYGEN" >&6; }
24975
26775
else
24976
 
  echo "$as_me:$LINENO: result: no" >&5
24977
 
echo "${ECHO_T}no" >&6
 
26776
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
26777
$as_echo "no" >&6; }
24978
26778
fi
24979
26779
 
 
26780
 
24980
26781
   if test -z "${DOXYGEN}"
24981
26782
   then
24982
 
      { echo "$as_me:$LINENO: WARNING: doxygen is required to build API documentation." >&5
24983
 
echo "$as_me: WARNING: doxygen is required to build API documentation." >&2;}
 
26783
      { $as_echo "$as_me:$LINENO: WARNING: doxygen is required to build API documentation." >&5
 
26784
$as_echo "$as_me: WARNING: doxygen is required to build API documentation." >&2;}
24984
26785
   fi
24985
26786
fi
24986
26787
 
24996
26797
 
24997
26798
fi
24998
26799
 
24999
 
 
25000
 
 
25001
 
if test "$enable_indications" == "yes"; then
 
26800
 if test "$enable_indications" == "yes"; then
25002
26801
  INDICATIONS_TRUE=
25003
26802
  INDICATIONS_FALSE='#'
25004
26803
else
25006
26805
  INDICATIONS_FALSE=
25007
26806
fi
25008
26807
 
25009
 
 
25010
 
 
25011
 
if test "$enable_jdbc" == "yes"; then
 
26808
 if test "$enable_jdbc" == "yes"; then
25012
26809
  JDBC_TRUE=
25013
26810
  JDBC_FALSE='#'
25014
26811
else
25016
26813
  JDBC_FALSE=
25017
26814
fi
25018
26815
 
25019
 
 
25020
 
 
25021
 
if test "$enable_ssl" == "yes"; then
 
26816
 if test "$enable_ssl" == "yes"; then
25022
26817
  SSL_TRUE=
25023
26818
  SSL_FALSE='#'
25024
26819
else
25026
26821
  SSL_FALSE=
25027
26822
fi
25028
26823
 
25029
 
 
25030
 
 
25031
 
if test "$enable_slp" == "yes"; then
 
26824
 if test "$enable_slp" == "yes"; then
25032
26825
  SLP_TRUE=
25033
26826
  SLP_FALSE='#'
25034
26827
else
25036
26829
  SLP_FALSE=
25037
26830
fi
25038
26831
 
25039
 
 
25040
 
 
25041
 
if test "$enable_slp" == "standalone"; then
 
26832
 if test "$enable_slp_hostname_lib" == "yes"; then
 
26833
  SLP_HOSTNAME_LIB_TRUE=
 
26834
  SLP_HOSTNAME_LIB_FALSE='#'
 
26835
else
 
26836
  SLP_HOSTNAME_LIB_TRUE='#'
 
26837
  SLP_HOSTNAME_LIB_FALSE=
 
26838
fi
 
26839
 
 
26840
 if test "$enable_slp" == "standalone"; then
25042
26841
  SLP_ALONE_TRUE=
25043
26842
  SLP_ALONE_FALSE='#'
25044
26843
else
25046
26845
  SLP_ALONE_FALSE=
25047
26846
fi
25048
26847
 
25049
 
 
25050
 
 
25051
 
if test "$enable_qualifierrep" == "yes"; then
 
26848
 if test "$enable_qualifierrep" == "yes"; then
25052
26849
  QUALREP_TRUE=
25053
26850
  QUALREP_FALSE='#'
25054
26851
else
25056
26853
  QUALREP_FALSE=
25057
26854
fi
25058
26855
 
25059
 
 
25060
 
 
25061
 
if test "$enable_pam" == "yes"; then
 
26856
 if test "$enable_pam" == "yes"; then
25062
26857
  PAM_TRUE=
25063
26858
  PAM_FALSE='#'
25064
26859
else
25066
26861
  PAM_FALSE=
25067
26862
fi
25068
26863
 
25069
 
 
25070
 
 
25071
 
if test "$enable_docs" == "yes"; then
 
26864
 if test "$enable_docs" == "yes"; then
25072
26865
  DOCS_TRUE=
25073
26866
  DOCS_FALSE='#'
25074
26867
else
25076
26869
  DOCS_FALSE=
25077
26870
fi
25078
26871
 
25079
 
 
25080
 
 
25081
 
if test "$enable_ipv6" == "yes"; then
 
26872
 if test "$enable_ipv6" == "yes"; then
25082
26873
  IPV6_TRUE=
25083
26874
  IPV6_FALSE='#'
25084
26875
else
25086
26877
  IPV6_FALSE=
25087
26878
fi
25088
26879
 
25089
 
 
25090
 
                                                                                                                                                                                                                            ac_config_files="$ac_config_files Makefile sfcb.spec sfcbrepos.sh sfcbstage.sh sfcbunstage.sh sfcbuuid.sh sfcb.cfg.pre getSchema.sh.pre sfcb.init-redhat sfcb.init-suse sfcb.init-none man/genSslCert.1.pre man/sfcbmof.1.pre man/sfcbunstage.1.pre man/sfcbuuid.1.pre man/getSchema.1.pre man/sfcbrepos.1.pre man/wbemcat.1.pre man/sfcbd.1.pre man/sfcbstage.1.pre man/xmltest.1.pre sfcb-dox.conf"
 
26880
 if test "$enable_local_connect_only" == "yes" -a "$enable_indications" == "no"; then
 
26881
  LOCAL_CONNECT_NO_INDICATION_TRUE=
 
26882
  LOCAL_CONNECT_NO_INDICATION_FALSE='#'
 
26883
else
 
26884
  LOCAL_CONNECT_NO_INDICATION_TRUE='#'
 
26885
  LOCAL_CONNECT_NO_INDICATION_FALSE=
 
26886
fi
 
26887
 
 
26888
 if test "$enable_local_connect_only" == "yes"; then
 
26889
  LOCAL_CONNECT_ONLY_TRUE=
 
26890
  LOCAL_CONNECT_ONLY_FALSE='#'
 
26891
else
 
26892
  LOCAL_CONNECT_ONLY_TRUE='#'
 
26893
  LOCAL_CONNECT_ONLY_FALSE=
 
26894
fi
 
26895
 
 
26896
 
 
26897
ac_config_files="$ac_config_files Makefile sfcb.spec sfcbrepos.sh sfcbstage.sh sfcbunstage.sh sfcbuuid.sh sfcb.cfg.pre getSchema.sh.pre sfcb.init-redhat sfcb.init-suse sfcb.init-none default.reg man/genSslCert.1.pre man/sfcbmof.1.pre man/sfcbunstage.1.pre man/sfcbuuid.1.pre man/getSchema.1.pre man/sfcbrepos.1.pre man/wbemcat.1.pre man/sfcbd.1.pre man/sfcbstage.1.pre man/xmltest.1.pre sfcb-dox.conf test/Makefile"
25091
26898
 
25092
26899
cat >confcache <<\_ACEOF
25093
26900
# This file is a shell script that caches the results of configure
25107
26914
 
25108
26915
# The following way of writing the cache mishandles newlines in values,
25109
26916
# but we know of no workaround that is simple, portable, and efficient.
25110
 
# So, don't put newlines in cache variables' values.
 
26917
# So, we kill variables containing newlines.
25111
26918
# Ultrix sh set writes to stderr and can't be redirected directly,
25112
26919
# and sets the high bit in the cache file unless we assign to the vars.
25113
 
{
 
26920
(
 
26921
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
26922
    eval ac_val=\$$ac_var
 
26923
    case $ac_val in #(
 
26924
    *${as_nl}*)
 
26925
      case $ac_var in #(
 
26926
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
26927
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
26928
      esac
 
26929
      case $ac_var in #(
 
26930
      _ | IFS | as_nl) ;; #(
 
26931
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
26932
      *) $as_unset $ac_var ;;
 
26933
      esac ;;
 
26934
    esac
 
26935
  done
 
26936
 
25114
26937
  (set) 2>&1 |
25115
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
25116
 
    *ac_space=\ *)
 
26938
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
26939
    *${as_nl}ac_space=\ *)
25117
26940
      # `set' does not quote correctly, so add quotes (double-quote
25118
26941
      # substitution turns \\\\ into \\, and sed turns \\ into \).
25119
26942
      sed -n \
25120
26943
        "s/'/'\\\\''/g;
25121
26944
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25122
 
      ;;
 
26945
      ;; #(
25123
26946
    *)
25124
26947
      # `set' quotes correctly as required by POSIX, so do not add quotes.
25125
 
      sed -n \
25126
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
26948
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25127
26949
      ;;
25128
 
    esac;
25129
 
} |
 
26950
    esac |
 
26951
    sort
 
26952
) |
25130
26953
  sed '
 
26954
     /^ac_cv_env_/b end
25131
26955
     t clear
25132
 
     : clear
 
26956
     :clear
25133
26957
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25134
26958
     t end
25135
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25136
 
     : end' >>confcache
25137
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
25138
 
  if test -w $cache_file; then
25139
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
26959
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
26960
     :end' >>confcache
 
26961
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
26962
  if test -w "$cache_file"; then
 
26963
    test "x$cache_file" != "x/dev/null" &&
 
26964
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
26965
$as_echo "$as_me: updating cache $cache_file" >&6;}
25140
26966
    cat confcache >$cache_file
25141
26967
  else
25142
 
    echo "not updating unwritable cache $cache_file"
 
26968
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
26969
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25143
26970
  fi
25144
26971
fi
25145
26972
rm -f confcache
25148
26975
# Let make expand exec_prefix.
25149
26976
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25150
26977
 
25151
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
25152
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
25153
 
# trailing colons and then remove the whole line if VPATH becomes empty
25154
 
# (actually we leave an empty line to preserve line numbers).
25155
 
if test "x$srcdir" = x.; then
25156
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
25157
 
s/:*\$(srcdir):*/:/;
25158
 
s/:*\${srcdir}:*/:/;
25159
 
s/:*@srcdir@:*/:/;
25160
 
s/^\([^=]*=[     ]*\):*/\1/;
25161
 
s/:*$//;
25162
 
s/^[^=]*=[       ]*$//;
25163
 
}'
25164
 
fi
25165
 
 
25166
26978
DEFS=-DHAVE_CONFIG_H
25167
26979
 
25168
26980
ac_libobjs=
25169
26981
ac_ltlibobjs=
25170
26982
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25171
26983
  # 1. Remove the extension, and $U if already installed.
25172
 
  ac_i=`echo "$ac_i" |
25173
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
25174
 
  # 2. Add them.
25175
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
25176
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
26984
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
26985
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
26986
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
26987
  #    will be set to the directory where LIBOBJS objects are built.
 
26988
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
26989
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
25177
26990
done
25178
26991
LIBOBJS=$ac_libobjs
25179
26992
 
25181
26994
 
25182
26995
 
25183
26996
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25184
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
25185
 
Usually this means the macro was only invoked conditionally." >&5
25186
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
25187
 
Usually this means the macro was only invoked conditionally." >&2;}
25188
 
   { (exit 1); exit 1; }; }
25189
 
fi
25190
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25191
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
25192
 
Usually this means the macro was only invoked conditionally." >&5
25193
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
25194
 
Usually this means the macro was only invoked conditionally." >&2;}
25195
 
   { (exit 1); exit 1; }; }
25196
 
fi
25197
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25198
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
25199
 
Usually this means the macro was only invoked conditionally." >&5
25200
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
26997
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
26998
Usually this means the macro was only invoked conditionally." >&5
 
26999
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
27000
Usually this means the macro was only invoked conditionally." >&2;}
 
27001
   { (exit 1); exit 1; }; }
 
27002
fi
 
27003
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
27004
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
27005
Usually this means the macro was only invoked conditionally." >&5
 
27006
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
27007
Usually this means the macro was only invoked conditionally." >&2;}
 
27008
   { (exit 1); exit 1; }; }
 
27009
fi
 
27010
if test -z "${TEST_ENABLED_TRUE}" && test -z "${TEST_ENABLED_FALSE}"; then
 
27011
  { { $as_echo "$as_me:$LINENO: error: conditional \"TEST_ENABLED\" was never defined.
 
27012
Usually this means the macro was only invoked conditionally." >&5
 
27013
$as_echo "$as_me: error: conditional \"TEST_ENABLED\" was never defined.
 
27014
Usually this means the macro was only invoked conditionally." >&2;}
 
27015
   { (exit 1); exit 1; }; }
 
27016
fi
 
27017
if test -z "${UNITTEST_TRUE}" && test -z "${UNITTEST_FALSE}"; then
 
27018
  { { $as_echo "$as_me:$LINENO: error: conditional \"UNITTEST\" was never defined.
 
27019
Usually this means the macro was only invoked conditionally." >&5
 
27020
$as_echo "$as_me: error: conditional \"UNITTEST\" was never defined.
 
27021
Usually this means the macro was only invoked conditionally." >&2;}
 
27022
   { (exit 1); exit 1; }; }
 
27023
fi
 
27024
if test -z "${GCOV_TRUE}" && test -z "${GCOV_FALSE}"; then
 
27025
  { { $as_echo "$as_me:$LINENO: error: conditional \"GCOV\" was never defined.
 
27026
Usually this means the macro was only invoked conditionally." >&5
 
27027
$as_echo "$as_me: error: conditional \"GCOV\" was never defined.
 
27028
Usually this means the macro was only invoked conditionally." >&2;}
 
27029
   { (exit 1); exit 1; }; }
 
27030
fi
 
27031
if test -z "${WCTEST_TRUE}" && test -z "${WCTEST_FALSE}"; then
 
27032
  { { $as_echo "$as_me:$LINENO: error: conditional \"WCTEST\" was never defined.
 
27033
Usually this means the macro was only invoked conditionally." >&5
 
27034
$as_echo "$as_me: error: conditional \"WCTEST\" was never defined.
 
27035
Usually this means the macro was only invoked conditionally." >&2;}
 
27036
   { (exit 1); exit 1; }; }
 
27037
fi
 
27038
if test -z "${XMLTEST_TRUE}" && test -z "${XMLTEST_FALSE}"; then
 
27039
  { { $as_echo "$as_me:$LINENO: error: conditional \"XMLTEST\" was never defined.
 
27040
Usually this means the macro was only invoked conditionally." >&5
 
27041
$as_echo "$as_me: error: conditional \"XMLTEST\" was never defined.
 
27042
Usually this means the macro was only invoked conditionally." >&2;}
 
27043
   { (exit 1); exit 1; }; }
 
27044
fi
 
27045
if test -z "${CMDTEST_TRUE}" && test -z "${CMDTEST_FALSE}"; then
 
27046
  { { $as_echo "$as_me:$LINENO: error: conditional \"CMDTEST\" was never defined.
 
27047
Usually this means the macro was only invoked conditionally." >&5
 
27048
$as_echo "$as_me: error: conditional \"CMDTEST\" was never defined.
 
27049
Usually this means the macro was only invoked conditionally." >&2;}
 
27050
   { (exit 1); exit 1; }; }
 
27051
fi
 
27052
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
27053
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
27054
Usually this means the macro was only invoked conditionally." >&5
 
27055
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
25201
27056
Usually this means the macro was only invoked conditionally." >&2;}
25202
27057
   { (exit 1); exit 1; }; }
25203
27058
fi
25204
27059
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
25205
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
 
27060
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
25206
27061
Usually this means the macro was only invoked conditionally." >&5
25207
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 
27062
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
25208
27063
Usually this means the macro was only invoked conditionally." >&2;}
25209
27064
   { (exit 1); exit 1; }; }
25210
27065
fi
 
27066
 
25211
27067
if test -z "${INDICATIONS_TRUE}" && test -z "${INDICATIONS_FALSE}"; then
25212
 
  { { echo "$as_me:$LINENO: error: conditional \"INDICATIONS\" was never defined.
 
27068
  { { $as_echo "$as_me:$LINENO: error: conditional \"INDICATIONS\" was never defined.
25213
27069
Usually this means the macro was only invoked conditionally." >&5
25214
 
echo "$as_me: error: conditional \"INDICATIONS\" was never defined.
 
27070
$as_echo "$as_me: error: conditional \"INDICATIONS\" was never defined.
25215
27071
Usually this means the macro was only invoked conditionally." >&2;}
25216
27072
   { (exit 1); exit 1; }; }
25217
27073
fi
25218
27074
if test -z "${JDBC_TRUE}" && test -z "${JDBC_FALSE}"; then
25219
 
  { { echo "$as_me:$LINENO: error: conditional \"JDBC\" was never defined.
 
27075
  { { $as_echo "$as_me:$LINENO: error: conditional \"JDBC\" was never defined.
25220
27076
Usually this means the macro was only invoked conditionally." >&5
25221
 
echo "$as_me: error: conditional \"JDBC\" was never defined.
 
27077
$as_echo "$as_me: error: conditional \"JDBC\" was never defined.
25222
27078
Usually this means the macro was only invoked conditionally." >&2;}
25223
27079
   { (exit 1); exit 1; }; }
25224
27080
fi
25225
27081
if test -z "${SSL_TRUE}" && test -z "${SSL_FALSE}"; then
25226
 
  { { echo "$as_me:$LINENO: error: conditional \"SSL\" was never defined.
 
27082
  { { $as_echo "$as_me:$LINENO: error: conditional \"SSL\" was never defined.
25227
27083
Usually this means the macro was only invoked conditionally." >&5
25228
 
echo "$as_me: error: conditional \"SSL\" was never defined.
 
27084
$as_echo "$as_me: error: conditional \"SSL\" was never defined.
25229
27085
Usually this means the macro was only invoked conditionally." >&2;}
25230
27086
   { (exit 1); exit 1; }; }
25231
27087
fi
25232
27088
if test -z "${SLP_TRUE}" && test -z "${SLP_FALSE}"; then
25233
 
  { { echo "$as_me:$LINENO: error: conditional \"SLP\" was never defined.
25234
 
Usually this means the macro was only invoked conditionally." >&5
25235
 
echo "$as_me: error: conditional \"SLP\" was never defined.
 
27089
  { { $as_echo "$as_me:$LINENO: error: conditional \"SLP\" was never defined.
 
27090
Usually this means the macro was only invoked conditionally." >&5
 
27091
$as_echo "$as_me: error: conditional \"SLP\" was never defined.
 
27092
Usually this means the macro was only invoked conditionally." >&2;}
 
27093
   { (exit 1); exit 1; }; }
 
27094
fi
 
27095
if test -z "${SLP_HOSTNAME_LIB_TRUE}" && test -z "${SLP_HOSTNAME_LIB_FALSE}"; then
 
27096
  { { $as_echo "$as_me:$LINENO: error: conditional \"SLP_HOSTNAME_LIB\" was never defined.
 
27097
Usually this means the macro was only invoked conditionally." >&5
 
27098
$as_echo "$as_me: error: conditional \"SLP_HOSTNAME_LIB\" was never defined.
25236
27099
Usually this means the macro was only invoked conditionally." >&2;}
25237
27100
   { (exit 1); exit 1; }; }
25238
27101
fi
25239
27102
if test -z "${SLP_ALONE_TRUE}" && test -z "${SLP_ALONE_FALSE}"; then
25240
 
  { { echo "$as_me:$LINENO: error: conditional \"SLP_ALONE\" was never defined.
 
27103
  { { $as_echo "$as_me:$LINENO: error: conditional \"SLP_ALONE\" was never defined.
25241
27104
Usually this means the macro was only invoked conditionally." >&5
25242
 
echo "$as_me: error: conditional \"SLP_ALONE\" was never defined.
 
27105
$as_echo "$as_me: error: conditional \"SLP_ALONE\" was never defined.
25243
27106
Usually this means the macro was only invoked conditionally." >&2;}
25244
27107
   { (exit 1); exit 1; }; }
25245
27108
fi
25246
27109
if test -z "${QUALREP_TRUE}" && test -z "${QUALREP_FALSE}"; then
25247
 
  { { echo "$as_me:$LINENO: error: conditional \"QUALREP\" was never defined.
 
27110
  { { $as_echo "$as_me:$LINENO: error: conditional \"QUALREP\" was never defined.
25248
27111
Usually this means the macro was only invoked conditionally." >&5
25249
 
echo "$as_me: error: conditional \"QUALREP\" was never defined.
 
27112
$as_echo "$as_me: error: conditional \"QUALREP\" was never defined.
25250
27113
Usually this means the macro was only invoked conditionally." >&2;}
25251
27114
   { (exit 1); exit 1; }; }
25252
27115
fi
25253
27116
if test -z "${PAM_TRUE}" && test -z "${PAM_FALSE}"; then
25254
 
  { { echo "$as_me:$LINENO: error: conditional \"PAM\" was never defined.
 
27117
  { { $as_echo "$as_me:$LINENO: error: conditional \"PAM\" was never defined.
25255
27118
Usually this means the macro was only invoked conditionally." >&5
25256
 
echo "$as_me: error: conditional \"PAM\" was never defined.
 
27119
$as_echo "$as_me: error: conditional \"PAM\" was never defined.
25257
27120
Usually this means the macro was only invoked conditionally." >&2;}
25258
27121
   { (exit 1); exit 1; }; }
25259
27122
fi
25260
27123
if test -z "${DOCS_TRUE}" && test -z "${DOCS_FALSE}"; then
25261
 
  { { echo "$as_me:$LINENO: error: conditional \"DOCS\" was never defined.
 
27124
  { { $as_echo "$as_me:$LINENO: error: conditional \"DOCS\" was never defined.
25262
27125
Usually this means the macro was only invoked conditionally." >&5
25263
 
echo "$as_me: error: conditional \"DOCS\" was never defined.
 
27126
$as_echo "$as_me: error: conditional \"DOCS\" was never defined.
25264
27127
Usually this means the macro was only invoked conditionally." >&2;}
25265
27128
   { (exit 1); exit 1; }; }
25266
27129
fi
25267
27130
if test -z "${IPV6_TRUE}" && test -z "${IPV6_FALSE}"; then
25268
 
  { { echo "$as_me:$LINENO: error: conditional \"IPV6\" was never defined.
25269
 
Usually this means the macro was only invoked conditionally." >&5
25270
 
echo "$as_me: error: conditional \"IPV6\" was never defined.
 
27131
  { { $as_echo "$as_me:$LINENO: error: conditional \"IPV6\" was never defined.
 
27132
Usually this means the macro was only invoked conditionally." >&5
 
27133
$as_echo "$as_me: error: conditional \"IPV6\" was never defined.
 
27134
Usually this means the macro was only invoked conditionally." >&2;}
 
27135
   { (exit 1); exit 1; }; }
 
27136
fi
 
27137
if test -z "${LOCAL_CONNECT_NO_INDICATION_TRUE}" && test -z "${LOCAL_CONNECT_NO_INDICATION_FALSE}"; then
 
27138
  { { $as_echo "$as_me:$LINENO: error: conditional \"LOCAL_CONNECT_NO_INDICATION\" was never defined.
 
27139
Usually this means the macro was only invoked conditionally." >&5
 
27140
$as_echo "$as_me: error: conditional \"LOCAL_CONNECT_NO_INDICATION\" was never defined.
 
27141
Usually this means the macro was only invoked conditionally." >&2;}
 
27142
   { (exit 1); exit 1; }; }
 
27143
fi
 
27144
if test -z "${LOCAL_CONNECT_ONLY_TRUE}" && test -z "${LOCAL_CONNECT_ONLY_FALSE}"; then
 
27145
  { { $as_echo "$as_me:$LINENO: error: conditional \"LOCAL_CONNECT_ONLY\" was never defined.
 
27146
Usually this means the macro was only invoked conditionally." >&5
 
27147
$as_echo "$as_me: error: conditional \"LOCAL_CONNECT_ONLY\" was never defined.
25271
27148
Usually this means the macro was only invoked conditionally." >&2;}
25272
27149
   { (exit 1); exit 1; }; }
25273
27150
fi
25274
27151
 
25275
27152
: ${CONFIG_STATUS=./config.status}
 
27153
ac_write_fail=0
25276
27154
ac_clean_files_save=$ac_clean_files
25277
27155
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25278
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
25279
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
25280
 
cat >$CONFIG_STATUS <<_ACEOF
 
27156
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
27157
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
27158
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25281
27159
#! $SHELL
25282
27160
# Generated by $as_me.
25283
27161
# Run this file to recreate the current configuration.
25290
27168
SHELL=\${CONFIG_SHELL-$SHELL}
25291
27169
_ACEOF
25292
27170
 
25293
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
27171
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25294
27172
## --------------------- ##
25295
27173
## M4sh Initialization.  ##
25296
27174
## --------------------- ##
25297
27175
 
25298
 
# Be Bourne compatible
 
27176
# Be more Bourne compatible
 
27177
DUALCASE=1; export DUALCASE # for MKS sh
25299
27178
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
25300
27179
  emulate sh
25301
27180
  NULLCMD=:
25302
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
27181
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25303
27182
  # is contrary to our usage.  Disable this feature.
25304
27183
  alias -g '${1+"$@"}'='"$@"'
25305
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
25306
 
  set -o posix
25307
 
fi
25308
 
DUALCASE=1; export DUALCASE # for MKS sh
 
27184
  setopt NO_GLOB_SUBST
 
27185
else
 
27186
  case `(set -o) 2>/dev/null` in
 
27187
  *posix*) set -o posix ;;
 
27188
esac
 
27189
 
 
27190
fi
 
27191
 
 
27192
 
 
27193
 
 
27194
 
 
27195
# PATH needs CR
 
27196
# Avoid depending upon Character Ranges.
 
27197
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
27198
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
27199
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
27200
as_cr_digits='0123456789'
 
27201
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
27202
 
 
27203
as_nl='
 
27204
'
 
27205
export as_nl
 
27206
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
27207
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
27208
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
27209
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
27210
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
27211
  as_echo='printf %s\n'
 
27212
  as_echo_n='printf %s'
 
27213
else
 
27214
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
27215
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
27216
    as_echo_n='/usr/ucb/echo -n'
 
27217
  else
 
27218
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
27219
    as_echo_n_body='eval
 
27220
      arg=$1;
 
27221
      case $arg in
 
27222
      *"$as_nl"*)
 
27223
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
27224
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
27225
      esac;
 
27226
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
27227
    '
 
27228
    export as_echo_n_body
 
27229
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
27230
  fi
 
27231
  export as_echo_body
 
27232
  as_echo='sh -c $as_echo_body as_echo'
 
27233
fi
 
27234
 
 
27235
# The user is always right.
 
27236
if test "${PATH_SEPARATOR+set}" != set; then
 
27237
  PATH_SEPARATOR=:
 
27238
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
27239
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
27240
      PATH_SEPARATOR=';'
 
27241
  }
 
27242
fi
25309
27243
 
25310
27244
# Support unset when possible.
25311
27245
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
25315
27249
fi
25316
27250
 
25317
27251
 
 
27252
# IFS
 
27253
# We need space, tab and new line, in precisely that order.  Quoting is
 
27254
# there to prevent editors from complaining about space-tab.
 
27255
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
27256
# splitting by setting IFS to empty value.)
 
27257
IFS=" ""        $as_nl"
 
27258
 
 
27259
# Find who we are.  Look in the path if we contain no directory separator.
 
27260
case $0 in
 
27261
  *[\\/]* ) as_myself=$0 ;;
 
27262
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
27263
for as_dir in $PATH
 
27264
do
 
27265
  IFS=$as_save_IFS
 
27266
  test -z "$as_dir" && as_dir=.
 
27267
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
27268
done
 
27269
IFS=$as_save_IFS
 
27270
 
 
27271
     ;;
 
27272
esac
 
27273
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
27274
# in which case we are not to be found in the path.
 
27275
if test "x$as_myself" = x; then
 
27276
  as_myself=$0
 
27277
fi
 
27278
if test ! -f "$as_myself"; then
 
27279
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
27280
  { (exit 1); exit 1; }
 
27281
fi
 
27282
 
25318
27283
# Work around bugs in pre-3.0 UWIN ksh.
25319
 
$as_unset ENV MAIL MAILPATH
 
27284
for as_var in ENV MAIL MAILPATH
 
27285
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
27286
done
25320
27287
PS1='$ '
25321
27288
PS2='> '
25322
27289
PS4='+ '
25323
27290
 
25324
27291
# NLS nuisances.
25325
 
for as_var in \
25326
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
25327
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
25328
 
  LC_TELEPHONE LC_TIME
25329
 
do
25330
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
25331
 
    eval $as_var=C; export $as_var
25332
 
  else
25333
 
    $as_unset $as_var
25334
 
  fi
25335
 
done
 
27292
LC_ALL=C
 
27293
export LC_ALL
 
27294
LANGUAGE=C
 
27295
export LANGUAGE
25336
27296
 
25337
27297
# Required to use basename.
25338
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
27298
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
27299
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
25339
27300
  as_expr=expr
25340
27301
else
25341
27302
  as_expr=false
25342
27303
fi
25343
27304
 
25344
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
27305
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25345
27306
  as_basename=basename
25346
27307
else
25347
27308
  as_basename=false
25349
27310
 
25350
27311
 
25351
27312
# Name of the executable.
25352
 
as_me=`$as_basename "$0" ||
 
27313
as_me=`$as_basename -- "$0" ||
25353
27314
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25354
27315
         X"$0" : 'X\(//\)$' \| \
25355
 
         X"$0" : 'X\(/\)$' \| \
25356
 
         .     : '\(.\)' 2>/dev/null ||
25357
 
echo X/"$0" |
25358
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
25359
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
25360
 
          /^X\/\(\/\).*/{ s//\1/; q; }
25361
 
          s/.*/./; q'`
25362
 
 
25363
 
 
25364
 
# PATH needs CR, and LINENO needs CR and PATH.
25365
 
# Avoid depending upon Character Ranges.
25366
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25367
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25368
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25369
 
as_cr_digits='0123456789'
25370
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
25371
 
 
25372
 
# The user is always right.
25373
 
if test "${PATH_SEPARATOR+set}" != set; then
25374
 
  echo "#! /bin/sh" >conf$$.sh
25375
 
  echo  "exit 0"   >>conf$$.sh
25376
 
  chmod +x conf$$.sh
25377
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25378
 
    PATH_SEPARATOR=';'
25379
 
  else
25380
 
    PATH_SEPARATOR=:
25381
 
  fi
25382
 
  rm -f conf$$.sh
25383
 
fi
25384
 
 
25385
 
 
25386
 
  as_lineno_1=$LINENO
25387
 
  as_lineno_2=$LINENO
25388
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
25389
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
25390
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
25391
 
  # Find who we are.  Look in the path if we contain no path at all
25392
 
  # relative or not.
25393
 
  case $0 in
25394
 
    *[\\/]* ) as_myself=$0 ;;
25395
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25396
 
for as_dir in $PATH
25397
 
do
25398
 
  IFS=$as_save_IFS
25399
 
  test -z "$as_dir" && as_dir=.
25400
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25401
 
done
25402
 
 
25403
 
       ;;
25404
 
  esac
25405
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
25406
 
  # in which case we are not to be found in the path.
25407
 
  if test "x$as_myself" = x; then
25408
 
    as_myself=$0
25409
 
  fi
25410
 
  if test ! -f "$as_myself"; then
25411
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
25412
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
25413
 
   { (exit 1); exit 1; }; }
25414
 
  fi
25415
 
  case $CONFIG_SHELL in
25416
 
  '')
25417
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25418
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
25419
 
do
25420
 
  IFS=$as_save_IFS
25421
 
  test -z "$as_dir" && as_dir=.
25422
 
  for as_base in sh bash ksh sh5; do
25423
 
         case $as_dir in
25424
 
         /*)
25425
 
           if ("$as_dir/$as_base" -c '
25426
 
  as_lineno_1=$LINENO
25427
 
  as_lineno_2=$LINENO
25428
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
25429
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
25430
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
25431
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
25432
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
25433
 
             CONFIG_SHELL=$as_dir/$as_base
25434
 
             export CONFIG_SHELL
25435
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
25436
 
           fi;;
25437
 
         esac
25438
 
       done
25439
 
done
25440
 
;;
25441
 
  esac
 
27316
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
27317
$as_echo X/"$0" |
 
27318
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
27319
            s//\1/
 
27320
            q
 
27321
          }
 
27322
          /^X\/\(\/\/\)$/{
 
27323
            s//\1/
 
27324
            q
 
27325
          }
 
27326
          /^X\/\(\/\).*/{
 
27327
            s//\1/
 
27328
            q
 
27329
          }
 
27330
          s/.*/./; q'`
 
27331
 
 
27332
# CDPATH.
 
27333
$as_unset CDPATH
 
27334
 
 
27335
 
 
27336
 
 
27337
  as_lineno_1=$LINENO
 
27338
  as_lineno_2=$LINENO
 
27339
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
27340
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
25442
27341
 
25443
27342
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
25444
27343
  # uniformly replaced by the line number.  The first 'sed' inserts a
25445
 
  # line-number line before each line; the second 'sed' does the real
25446
 
  # work.  The second script uses 'N' to pair each line-number line
25447
 
  # with the numbered line, and appends trailing '-' during
25448
 
  # substitution so that $LINENO is not a special case at line end.
 
27344
  # line-number line after each line using $LINENO; the second 'sed'
 
27345
  # does the real work.  The second script uses 'N' to pair each
 
27346
  # line-number line with the line containing $LINENO, and appends
 
27347
  # trailing '-' during substitution so that $LINENO is not a special
 
27348
  # case at line end.
25449
27349
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
25450
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
25451
 
  sed '=' <$as_myself |
 
27350
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
27351
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
27352
  sed -n '
 
27353
    p
 
27354
    /[$]LINENO/=
 
27355
  ' <$as_myself |
25452
27356
    sed '
 
27357
      s/[$]LINENO.*/&-/
 
27358
      t lineno
 
27359
      b
 
27360
      :lineno
25453
27361
      N
25454
 
      s,$,-,
25455
 
      : loop
25456
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
27362
      :loop
 
27363
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
25457
27364
      t loop
25458
 
      s,-$,,
25459
 
      s,^['$as_cr_digits']*\n,,
 
27365
      s/-\n.*//
25460
27366
    ' >$as_me.lineno &&
25461
 
  chmod +x $as_me.lineno ||
25462
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
25463
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
27367
  chmod +x "$as_me.lineno" ||
 
27368
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
25464
27369
   { (exit 1); exit 1; }; }
25465
27370
 
25466
27371
  # Don't try to exec as it changes $[0], causing all sort of problems
25467
27372
  # (the dirname of $[0] is not the place where we might find the
25468
 
  # original and so on.  Autoconf is especially sensible to this).
25469
 
  . ./$as_me.lineno
 
27373
  # original and so on.  Autoconf is especially sensitive to this).
 
27374
  . "./$as_me.lineno"
25470
27375
  # Exit status is that of the last command.
25471
27376
  exit
25472
27377
}
25473
27378
 
25474
27379
 
25475
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
25476
 
  *c*,-n*) ECHO_N= ECHO_C='
25477
 
' ECHO_T='      ' ;;
25478
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
25479
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
27380
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
27381
  as_dirname=dirname
 
27382
else
 
27383
  as_dirname=false
 
27384
fi
 
27385
 
 
27386
ECHO_C= ECHO_N= ECHO_T=
 
27387
case `echo -n x` in
 
27388
-n*)
 
27389
  case `echo 'x\c'` in
 
27390
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
27391
  *)   ECHO_C='\c';;
 
27392
  esac;;
 
27393
*)
 
27394
  ECHO_N='-n';;
25480
27395
esac
25481
 
 
25482
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
27396
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
27397
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
25483
27398
  as_expr=expr
25484
27399
else
25485
27400
  as_expr=false
25486
27401
fi
25487
27402
 
25488
27403
rm -f conf$$ conf$$.exe conf$$.file
25489
 
echo >conf$$.file
25490
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
25491
 
  # We could just check for DJGPP; but this test a) works b) is more generic
25492
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
25493
 
  if test -f conf$$.exe; then
25494
 
    # Don't use ln at all; we don't have any links
 
27404
if test -d conf$$.dir; then
 
27405
  rm -f conf$$.dir/conf$$.file
 
27406
else
 
27407
  rm -f conf$$.dir
 
27408
  mkdir conf$$.dir 2>/dev/null
 
27409
fi
 
27410
if (echo >conf$$.file) 2>/dev/null; then
 
27411
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
27412
    as_ln_s='ln -s'
 
27413
    # ... but there are two gotchas:
 
27414
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
27415
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
27416
    # In both cases, we have to default to `cp -p'.
 
27417
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
27418
      as_ln_s='cp -p'
 
27419
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
27420
    as_ln_s=ln
 
27421
  else
25495
27422
    as_ln_s='cp -p'
25496
 
  else
25497
 
    as_ln_s='ln -s'
25498
27423
  fi
25499
 
elif ln conf$$.file conf$$ 2>/dev/null; then
25500
 
  as_ln_s=ln
25501
27424
else
25502
27425
  as_ln_s='cp -p'
25503
27426
fi
25504
 
rm -f conf$$ conf$$.exe conf$$.file
 
27427
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
27428
rmdir conf$$.dir 2>/dev/null
25505
27429
 
25506
27430
if mkdir -p . 2>/dev/null; then
25507
27431
  as_mkdir_p=:
25510
27434
  as_mkdir_p=false
25511
27435
fi
25512
27436
 
25513
 
as_executable_p="test -f"
 
27437
if test -x / >/dev/null 2>&1; then
 
27438
  as_test_x='test -x'
 
27439
else
 
27440
  if ls -dL / >/dev/null 2>&1; then
 
27441
    as_ls_L_option=L
 
27442
  else
 
27443
    as_ls_L_option=
 
27444
  fi
 
27445
  as_test_x='
 
27446
    eval sh -c '\''
 
27447
      if test -d "$1"; then
 
27448
        test -d "$1/.";
 
27449
      else
 
27450
        case $1 in
 
27451
        -*)set "./$1";;
 
27452
        esac;
 
27453
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
27454
        ???[sx]*):;;*)false;;esac;fi
 
27455
    '\'' sh
 
27456
  '
 
27457
fi
 
27458
as_executable_p=$as_test_x
25514
27459
 
25515
27460
# Sed expression to map a string onto a valid CPP name.
25516
27461
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25519
27464
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25520
27465
 
25521
27466
 
25522
 
# IFS
25523
 
# We need space, tab and new line, in precisely that order.
25524
 
as_nl='
25525
 
'
25526
 
IFS="   $as_nl"
25527
 
 
25528
 
# CDPATH.
25529
 
$as_unset CDPATH
25530
 
 
25531
27467
exec 6>&1
25532
27468
 
25533
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
27469
# Save the log message, to keep $[0] and so on meaningful, and to
25534
27470
# report actual input values of CONFIG_FILES etc. instead of their
25535
 
# values after options handling.  Logging --version etc. is OK.
25536
 
exec 5>>config.log
25537
 
{
25538
 
  echo
25539
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25540
 
## Running $as_me. ##
25541
 
_ASBOX
25542
 
} >&5
25543
 
cat >&5 <<_CSEOF
25544
 
 
25545
 
This file was extended by Small Footprint CIM Broker $as_me 1.3.0, which was
25546
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
27471
# values after options handling.
 
27472
ac_log="
 
27473
This file was extended by Small Footprint CIM Broker $as_me 1.3.3, which was
 
27474
generated by GNU Autoconf 2.63.  Invocation command line was
25547
27475
 
25548
27476
  CONFIG_FILES    = $CONFIG_FILES
25549
27477
  CONFIG_HEADERS  = $CONFIG_HEADERS
25551
27479
  CONFIG_COMMANDS = $CONFIG_COMMANDS
25552
27480
  $ $0 $@
25553
27481
 
25554
 
_CSEOF
25555
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
25556
 
echo >&5
 
27482
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
27483
"
 
27484
 
25557
27485
_ACEOF
25558
27486
 
 
27487
case $ac_config_files in *"
 
27488
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
27489
esac
 
27490
 
 
27491
case $ac_config_headers in *"
 
27492
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
27493
esac
 
27494
 
 
27495
 
 
27496
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25559
27497
# Files that config.status was made for.
25560
 
if test -n "$ac_config_files"; then
25561
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
25562
 
fi
25563
 
 
25564
 
if test -n "$ac_config_headers"; then
25565
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
25566
 
fi
25567
 
 
25568
 
if test -n "$ac_config_links"; then
25569
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
25570
 
fi
25571
 
 
25572
 
if test -n "$ac_config_commands"; then
25573
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
25574
 
fi
25575
 
 
25576
 
cat >>$CONFIG_STATUS <<\_ACEOF
25577
 
 
 
27498
config_files="$ac_config_files"
 
27499
config_headers="$ac_config_headers"
 
27500
config_commands="$ac_config_commands"
 
27501
 
 
27502
_ACEOF
 
27503
 
 
27504
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25578
27505
ac_cs_usage="\
25579
27506
\`$as_me' instantiates files from templates according to the
25580
27507
current configuration.
25581
27508
 
25582
 
Usage: $0 [OPTIONS] [FILE]...
 
27509
Usage: $0 [OPTION]... [FILE]...
25583
27510
 
25584
27511
  -h, --help       print this help, then exit
25585
 
  -V, --version    print version number, then exit
25586
 
  -q, --quiet      do not print progress messages
 
27512
  -V, --version    print version number and configuration settings, then exit
 
27513
  -q, --quiet, --silent
 
27514
                   do not print progress messages
25587
27515
  -d, --debug      don't remove temporary files
25588
27516
      --recheck    update $as_me by reconfiguring in the same conditions
25589
 
  --file=FILE[:TEMPLATE]
25590
 
                   instantiate the configuration file FILE
25591
 
  --header=FILE[:TEMPLATE]
25592
 
                   instantiate the configuration header FILE
 
27517
      --file=FILE[:TEMPLATE]
 
27518
                   instantiate the configuration file FILE
 
27519
      --header=FILE[:TEMPLATE]
 
27520
                   instantiate the configuration header FILE
25593
27521
 
25594
27522
Configuration files:
25595
27523
$config_files
25601
27529
$config_commands
25602
27530
 
25603
27531
Report bugs to <bug-autoconf@gnu.org>."
 
27532
 
25604
27533
_ACEOF
25605
 
 
25606
 
cat >>$CONFIG_STATUS <<_ACEOF
 
27534
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25607
27535
ac_cs_version="\\
25608
 
Small Footprint CIM Broker config.status 1.3.0
25609
 
configured by $0, generated by GNU Autoconf 2.59,
25610
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
27536
Small Footprint CIM Broker config.status 1.3.3
 
27537
configured by $0, generated by GNU Autoconf 2.63,
 
27538
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25611
27539
 
25612
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
27540
Copyright (C) 2008 Free Software Foundation, Inc.
25613
27541
This config.status script is free software; the Free Software Foundation
25614
27542
gives unlimited permission to copy, distribute and modify it."
25615
 
srcdir=$srcdir
25616
 
INSTALL="$INSTALL"
 
27543
 
 
27544
ac_pwd='$ac_pwd'
 
27545
srcdir='$srcdir'
 
27546
INSTALL='$INSTALL'
 
27547
MKDIR_P='$MKDIR_P'
 
27548
AWK='$AWK'
 
27549
test -n "\$AWK" || AWK=awk
25617
27550
_ACEOF
25618
27551
 
25619
 
cat >>$CONFIG_STATUS <<\_ACEOF
25620
 
# If no file are specified by the user, then we need to provide default
25621
 
# value.  By we need to know if files were specified by the user.
 
27552
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
27553
# The default lists apply if the user does not specify any file.
25622
27554
ac_need_defaults=:
25623
27555
while test $# != 0
25624
27556
do
25625
27557
  case $1 in
25626
27558
  --*=*)
25627
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
25628
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
27559
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
27560
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
25629
27561
    ac_shift=:
25630
27562
    ;;
25631
 
  -*)
 
27563
  *)
25632
27564
    ac_option=$1
25633
27565
    ac_optarg=$2
25634
27566
    ac_shift=shift
25635
27567
    ;;
25636
 
  *) # This is not an option, so the user has probably given explicit
25637
 
     # arguments.
25638
 
     ac_option=$1
25639
 
     ac_need_defaults=false;;
25640
27568
  esac
25641
27569
 
25642
27570
  case $ac_option in
25643
27571
  # Handling of the options.
25644
 
_ACEOF
25645
 
cat >>$CONFIG_STATUS <<\_ACEOF
25646
27572
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
25647
27573
    ac_cs_recheck=: ;;
25648
 
  --version | --vers* | -V )
25649
 
    echo "$ac_cs_version"; exit 0 ;;
 
27574
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
27575
    $as_echo "$ac_cs_version"; exit ;;
 
27576
  --debug | --debu | --deb | --de | --d | -d )
 
27577
    debug=: ;;
 
27578
  --file | --fil | --fi | --f )
 
27579
    $ac_shift
 
27580
    case $ac_optarg in
 
27581
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
27582
    esac
 
27583
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
27584
    ac_need_defaults=false;;
 
27585
  --header | --heade | --head | --hea )
 
27586
    $ac_shift
 
27587
    case $ac_optarg in
 
27588
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
27589
    esac
 
27590
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
27591
    ac_need_defaults=false;;
25650
27592
  --he | --h)
25651
27593
    # Conflict between --help and --header
25652
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
25653
 
Try \`$0 --help' for more information." >&5
25654
 
echo "$as_me: error: ambiguous option: $1
25655
 
Try \`$0 --help' for more information." >&2;}
 
27594
    { $as_echo "$as_me: error: ambiguous option: $1
 
27595
Try \`$0 --help' for more information." >&2
25656
27596
   { (exit 1); exit 1; }; };;
25657
27597
  --help | --hel | -h )
25658
 
    echo "$ac_cs_usage"; exit 0 ;;
25659
 
  --debug | --d* | -d )
25660
 
    debug=: ;;
25661
 
  --file | --fil | --fi | --f )
25662
 
    $ac_shift
25663
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
25664
 
    ac_need_defaults=false;;
25665
 
  --header | --heade | --head | --hea )
25666
 
    $ac_shift
25667
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
25668
 
    ac_need_defaults=false;;
 
27598
    $as_echo "$ac_cs_usage"; exit ;;
25669
27599
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
25670
27600
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
25671
27601
    ac_cs_silent=: ;;
25672
27602
 
25673
27603
  # This is an error.
25674
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
25675
 
Try \`$0 --help' for more information." >&5
25676
 
echo "$as_me: error: unrecognized option: $1
25677
 
Try \`$0 --help' for more information." >&2;}
 
27604
  -*) { $as_echo "$as_me: error: unrecognized option: $1
 
27605
Try \`$0 --help' for more information." >&2
25678
27606
   { (exit 1); exit 1; }; } ;;
25679
27607
 
25680
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
27608
  *) ac_config_targets="$ac_config_targets $1"
 
27609
     ac_need_defaults=false ;;
25681
27610
 
25682
27611
  esac
25683
27612
  shift
25691
27620
fi
25692
27621
 
25693
27622
_ACEOF
25694
 
cat >>$CONFIG_STATUS <<_ACEOF
 
27623
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25695
27624
if \$ac_cs_recheck; then
25696
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
25697
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
27625
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
27626
  shift
 
27627
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
27628
  CONFIG_SHELL='$SHELL'
 
27629
  export CONFIG_SHELL
 
27630
  exec "\$@"
25698
27631
fi
25699
27632
 
25700
27633
_ACEOF
25701
 
 
25702
 
cat >>$CONFIG_STATUS <<_ACEOF
25703
 
#
25704
 
# INIT-COMMANDS section.
25705
 
#
25706
 
 
 
27634
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
27635
exec 5>>config.log
 
27636
{
 
27637
  echo
 
27638
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
27639
## Running $as_me. ##
 
27640
_ASBOX
 
27641
  $as_echo "$ac_log"
 
27642
} >&5
 
27643
 
 
27644
_ACEOF
 
27645
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
27646
#
 
27647
# INIT-COMMANDS
 
27648
#
25707
27649
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25708
27650
 
25709
27651
_ACEOF
25710
27652
 
25711
 
 
25712
 
 
25713
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
27653
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
27654
 
 
27655
# Handling of arguments.
25714
27656
for ac_config_target in $ac_config_targets
25715
27657
do
25716
 
  case "$ac_config_target" in
25717
 
  # Handling of arguments.
25718
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
25719
 
  "sfcb.spec" ) CONFIG_FILES="$CONFIG_FILES sfcb.spec" ;;
25720
 
  "sfcbrepos.sh" ) CONFIG_FILES="$CONFIG_FILES sfcbrepos.sh" ;;
25721
 
  "sfcbstage.sh" ) CONFIG_FILES="$CONFIG_FILES sfcbstage.sh" ;;
25722
 
  "sfcbunstage.sh" ) CONFIG_FILES="$CONFIG_FILES sfcbunstage.sh" ;;
25723
 
  "sfcbuuid.sh" ) CONFIG_FILES="$CONFIG_FILES sfcbuuid.sh" ;;
25724
 
  "sfcb.cfg.pre" ) CONFIG_FILES="$CONFIG_FILES sfcb.cfg.pre" ;;
25725
 
  "getSchema.sh.pre" ) CONFIG_FILES="$CONFIG_FILES getSchema.sh.pre" ;;
25726
 
  "sfcb.init-redhat" ) CONFIG_FILES="$CONFIG_FILES sfcb.init-redhat" ;;
25727
 
  "sfcb.init-suse" ) CONFIG_FILES="$CONFIG_FILES sfcb.init-suse" ;;
25728
 
  "sfcb.init-none" ) CONFIG_FILES="$CONFIG_FILES sfcb.init-none" ;;
25729
 
  "man/genSslCert.1.pre" ) CONFIG_FILES="$CONFIG_FILES man/genSslCert.1.pre" ;;
25730
 
  "man/sfcbmof.1.pre" ) CONFIG_FILES="$CONFIG_FILES man/sfcbmof.1.pre" ;;
25731
 
  "man/sfcbunstage.1.pre" ) CONFIG_FILES="$CONFIG_FILES man/sfcbunstage.1.pre" ;;
25732
 
  "man/sfcbuuid.1.pre" ) CONFIG_FILES="$CONFIG_FILES man/sfcbuuid.1.pre" ;;
25733
 
  "man/getSchema.1.pre" ) CONFIG_FILES="$CONFIG_FILES man/getSchema.1.pre" ;;
25734
 
  "man/sfcbrepos.1.pre" ) CONFIG_FILES="$CONFIG_FILES man/sfcbrepos.1.pre" ;;
25735
 
  "man/wbemcat.1.pre" ) CONFIG_FILES="$CONFIG_FILES man/wbemcat.1.pre" ;;
25736
 
  "man/sfcbd.1.pre" ) CONFIG_FILES="$CONFIG_FILES man/sfcbd.1.pre" ;;
25737
 
  "man/sfcbstage.1.pre" ) CONFIG_FILES="$CONFIG_FILES man/sfcbstage.1.pre" ;;
25738
 
  "man/xmltest.1.pre" ) CONFIG_FILES="$CONFIG_FILES man/xmltest.1.pre" ;;
25739
 
  "sfcb-dox.conf" ) CONFIG_FILES="$CONFIG_FILES sfcb-dox.conf" ;;
25740
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
25741
 
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
25742
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
25743
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
27658
  case $ac_config_target in
 
27659
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
27660
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
27661
    "test/finaltest/Makefile") CONFIG_FILES="$CONFIG_FILES test/finaltest/Makefile" ;;
 
27662
    "test/commands/Makefile") CONFIG_FILES="$CONFIG_FILES test/commands/Makefile" ;;
 
27663
    "test/wbemcli/Makefile") CONFIG_FILES="$CONFIG_FILES test/wbemcli/Makefile" ;;
 
27664
    "test/xmltest/Makefile") CONFIG_FILES="$CONFIG_FILES test/xmltest/Makefile" ;;
 
27665
    "test/unittest/Makefile") CONFIG_FILES="$CONFIG_FILES test/unittest/Makefile" ;;
 
27666
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
27667
    "sfcb.spec") CONFIG_FILES="$CONFIG_FILES sfcb.spec" ;;
 
27668
    "sfcbrepos.sh") CONFIG_FILES="$CONFIG_FILES sfcbrepos.sh" ;;
 
27669
    "sfcbstage.sh") CONFIG_FILES="$CONFIG_FILES sfcbstage.sh" ;;
 
27670
    "sfcbunstage.sh") CONFIG_FILES="$CONFIG_FILES sfcbunstage.sh" ;;
 
27671
    "sfcbuuid.sh") CONFIG_FILES="$CONFIG_FILES sfcbuuid.sh" ;;
 
27672
    "sfcb.cfg.pre") CONFIG_FILES="$CONFIG_FILES sfcb.cfg.pre" ;;
 
27673
    "getSchema.sh.pre") CONFIG_FILES="$CONFIG_FILES getSchema.sh.pre" ;;
 
27674
    "sfcb.init-redhat") CONFIG_FILES="$CONFIG_FILES sfcb.init-redhat" ;;
 
27675
    "sfcb.init-suse") CONFIG_FILES="$CONFIG_FILES sfcb.init-suse" ;;
 
27676
    "sfcb.init-none") CONFIG_FILES="$CONFIG_FILES sfcb.init-none" ;;
 
27677
    "default.reg") CONFIG_FILES="$CONFIG_FILES default.reg" ;;
 
27678
    "man/genSslCert.1.pre") CONFIG_FILES="$CONFIG_FILES man/genSslCert.1.pre" ;;
 
27679
    "man/sfcbmof.1.pre") CONFIG_FILES="$CONFIG_FILES man/sfcbmof.1.pre" ;;
 
27680
    "man/sfcbunstage.1.pre") CONFIG_FILES="$CONFIG_FILES man/sfcbunstage.1.pre" ;;
 
27681
    "man/sfcbuuid.1.pre") CONFIG_FILES="$CONFIG_FILES man/sfcbuuid.1.pre" ;;
 
27682
    "man/getSchema.1.pre") CONFIG_FILES="$CONFIG_FILES man/getSchema.1.pre" ;;
 
27683
    "man/sfcbrepos.1.pre") CONFIG_FILES="$CONFIG_FILES man/sfcbrepos.1.pre" ;;
 
27684
    "man/wbemcat.1.pre") CONFIG_FILES="$CONFIG_FILES man/wbemcat.1.pre" ;;
 
27685
    "man/sfcbd.1.pre") CONFIG_FILES="$CONFIG_FILES man/sfcbd.1.pre" ;;
 
27686
    "man/sfcbstage.1.pre") CONFIG_FILES="$CONFIG_FILES man/sfcbstage.1.pre" ;;
 
27687
    "man/xmltest.1.pre") CONFIG_FILES="$CONFIG_FILES man/xmltest.1.pre" ;;
 
27688
    "sfcb-dox.conf") CONFIG_FILES="$CONFIG_FILES sfcb-dox.conf" ;;
 
27689
    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
 
27690
 
 
27691
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
27692
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
25744
27693
   { (exit 1); exit 1; }; };;
25745
27694
  esac
25746
27695
done
25747
27696
 
 
27697
 
25748
27698
# If the user did not use the arguments to specify the items to instantiate,
25749
27699
# then the envvar interface is used.  Set only those that are not.
25750
27700
# We use the long form for the default assignment because of an extremely
25756
27706
fi
25757
27707
 
25758
27708
# Have a temporary directory for convenience.  Make it in the build tree
25759
 
# simply because there is no reason to put it here, and in addition,
 
27709
# simply because there is no reason against having it here, and in addition,
25760
27710
# creating and moving files from /tmp can sometimes cause problems.
25761
 
# Create a temporary directory, and hook for its removal unless debugging.
 
27711
# Hook for its removal unless debugging.
 
27712
# Note that there is a small window in which the directory will not be cleaned:
 
27713
# after its creation but before its name has been assigned to `$tmp'.
25762
27714
$debug ||
25763
27715
{
25764
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
27716
  tmp=
 
27717
  trap 'exit_status=$?
 
27718
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
27719
' 0
25765
27720
  trap '{ (exit 1); exit 1; }' 1 2 13 15
25766
27721
}
25767
 
 
25768
27722
# Create a (secure) tmp directory for tmp files.
25769
27723
 
25770
27724
{
25771
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
27725
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25772
27726
  test -n "$tmp" && test -d "$tmp"
25773
27727
}  ||
25774
27728
{
25775
 
  tmp=./confstat$$-$RANDOM
25776
 
  (umask 077 && mkdir $tmp)
 
27729
  tmp=./conf$$-$RANDOM
 
27730
  (umask 077 && mkdir "$tmp")
25777
27731
} ||
25778
27732
{
25779
 
   echo "$me: cannot create a temporary directory in ." >&2
 
27733
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
25780
27734
   { (exit 1); exit 1; }
25781
27735
}
25782
27736
 
25783
 
_ACEOF
25784
 
 
25785
 
cat >>$CONFIG_STATUS <<_ACEOF
25786
 
 
25787
 
#
25788
 
# CONFIG_FILES section.
25789
 
#
25790
 
 
25791
 
# No need to generate the scripts if there are no CONFIG_FILES.
25792
 
# This happens for instance when ./config.status config.h
25793
 
if test -n "\$CONFIG_FILES"; then
25794
 
  # Protect against being on the right side of a sed subst in config.status.
25795
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
25796
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
25797
 
s,@SHELL@,$SHELL,;t t
25798
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
25799
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
25800
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
25801
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
25802
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
25803
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
25804
 
s,@exec_prefix@,$exec_prefix,;t t
25805
 
s,@prefix@,$prefix,;t t
25806
 
s,@program_transform_name@,$program_transform_name,;t t
25807
 
s,@bindir@,$bindir,;t t
25808
 
s,@sbindir@,$sbindir,;t t
25809
 
s,@libexecdir@,$libexecdir,;t t
25810
 
s,@datadir@,$datadir,;t t
25811
 
s,@sysconfdir@,$sysconfdir,;t t
25812
 
s,@sharedstatedir@,$sharedstatedir,;t t
25813
 
s,@localstatedir@,$localstatedir,;t t
25814
 
s,@libdir@,$libdir,;t t
25815
 
s,@includedir@,$includedir,;t t
25816
 
s,@oldincludedir@,$oldincludedir,;t t
25817
 
s,@infodir@,$infodir,;t t
25818
 
s,@mandir@,$mandir,;t t
25819
 
s,@build_alias@,$build_alias,;t t
25820
 
s,@host_alias@,$host_alias,;t t
25821
 
s,@target_alias@,$target_alias,;t t
25822
 
s,@DEFS@,$DEFS,;t t
25823
 
s,@ECHO_C@,$ECHO_C,;t t
25824
 
s,@ECHO_N@,$ECHO_N,;t t
25825
 
s,@ECHO_T@,$ECHO_T,;t t
25826
 
s,@LIBS@,$LIBS,;t t
25827
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
25828
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
25829
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
25830
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
25831
 
s,@PACKAGE@,$PACKAGE,;t t
25832
 
s,@VERSION@,$VERSION,;t t
25833
 
s,@ACLOCAL@,$ACLOCAL,;t t
25834
 
s,@AUTOCONF@,$AUTOCONF,;t t
25835
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
25836
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
25837
 
s,@MAKEINFO@,$MAKEINFO,;t t
25838
 
s,@install_sh@,$install_sh,;t t
25839
 
s,@STRIP@,$STRIP,;t t
25840
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
25841
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
25842
 
s,@mkdir_p@,$mkdir_p,;t t
25843
 
s,@AWK@,$AWK,;t t
25844
 
s,@SET_MAKE@,$SET_MAKE,;t t
25845
 
s,@am__leading_dot@,$am__leading_dot,;t t
25846
 
s,@AMTAR@,$AMTAR,;t t
25847
 
s,@am__tar@,$am__tar,;t t
25848
 
s,@am__untar@,$am__untar,;t t
25849
 
s,@CC@,$CC,;t t
25850
 
s,@CFLAGS@,$CFLAGS,;t t
25851
 
s,@LDFLAGS@,$LDFLAGS,;t t
25852
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
25853
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
25854
 
s,@EXEEXT@,$EXEEXT,;t t
25855
 
s,@OBJEXT@,$OBJEXT,;t t
25856
 
s,@DEPDIR@,$DEPDIR,;t t
25857
 
s,@am__include@,$am__include,;t t
25858
 
s,@am__quote@,$am__quote,;t t
25859
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
25860
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
25861
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
25862
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
25863
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
25864
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
25865
 
s,@CPP@,$CPP,;t t
25866
 
s,@EGREP@,$EGREP,;t t
25867
 
s,@CIMSCHEMA_SOURCE@,$CIMSCHEMA_SOURCE,;t t
25868
 
s,@CIMSCHEMA_MOF@,$CIMSCHEMA_MOF,;t t
25869
 
s,@CIMSCHEMA_SUBDIRS@,$CIMSCHEMA_SUBDIRS,;t t
25870
 
s,@SFCB_CONF_DOBASICAUTH@,$SFCB_CONF_DOBASICAUTH,;t t
25871
 
s,@SFCB_CONF_BASICAUTHLIB@,$SFCB_CONF_BASICAUTHLIB,;t t
25872
 
s,@build@,$build,;t t
25873
 
s,@build_cpu@,$build_cpu,;t t
25874
 
s,@build_vendor@,$build_vendor,;t t
25875
 
s,@build_os@,$build_os,;t t
25876
 
s,@host@,$host,;t t
25877
 
s,@host_cpu@,$host_cpu,;t t
25878
 
s,@host_vendor@,$host_vendor,;t t
25879
 
s,@host_os@,$host_os,;t t
25880
 
s,@SFCB_CMPI_PLATFORM@,$SFCB_CMPI_PLATFORM,;t t
25881
 
s,@SFCB_CMPI_OS@,$SFCB_CMPI_OS,;t t
25882
 
s,@SFCB_LIBZ@,$SFCB_LIBZ,;t t
25883
 
s,@SFCB_CFLAGS@,$SFCB_CFLAGS,;t t
25884
 
s,@SFCB_CPPFLAGS@,$SFCB_CPPFLAGS,;t t
25885
 
s,@SFCB_LDFLAGS@,$SFCB_LDFLAGS,;t t
25886
 
s,@LEX@,$LEX,;t t
25887
 
s,@LEXLIB@,$LEXLIB,;t t
25888
 
s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
25889
 
s,@YACC@,$YACC,;t t
25890
 
s,@LN_S@,$LN_S,;t t
25891
 
s,@ECHO@,$ECHO,;t t
25892
 
s,@AR@,$AR,;t t
25893
 
s,@ac_ct_AR@,$ac_ct_AR,;t t
25894
 
s,@RANLIB@,$RANLIB,;t t
25895
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
25896
 
s,@CXX@,$CXX,;t t
25897
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
25898
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
25899
 
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
25900
 
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
25901
 
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
25902
 
s,@CXXCPP@,$CXXCPP,;t t
25903
 
s,@F77@,$F77,;t t
25904
 
s,@FFLAGS@,$FFLAGS,;t t
25905
 
s,@ac_ct_F77@,$ac_ct_F77,;t t
25906
 
s,@LIBTOOL@,$LIBTOOL,;t t
25907
 
s,@SFCB_CONF_HTTPS@,$SFCB_CONF_HTTPS,;t t
25908
 
s,@SFCB_CONF_HTTP@,$SFCB_CONF_HTTP,;t t
25909
 
s,@ALLOCA@,$ALLOCA,;t t
25910
 
s,@LIBOBJS@,$LIBOBJS,;t t
25911
 
s,@INIT_STYLE@,$INIT_STYLE,;t t
25912
 
s,@subdirs@,$subdirs,;t t
25913
 
s,@DOXYGEN@,$DOXYGEN,;t t
25914
 
s,@MOFC_DIR@,$MOFC_DIR,;t t
25915
 
s,@INDICATIONS_TRUE@,$INDICATIONS_TRUE,;t t
25916
 
s,@INDICATIONS_FALSE@,$INDICATIONS_FALSE,;t t
25917
 
s,@JDBC_TRUE@,$JDBC_TRUE,;t t
25918
 
s,@JDBC_FALSE@,$JDBC_FALSE,;t t
25919
 
s,@SSL_TRUE@,$SSL_TRUE,;t t
25920
 
s,@SSL_FALSE@,$SSL_FALSE,;t t
25921
 
s,@SLP_TRUE@,$SLP_TRUE,;t t
25922
 
s,@SLP_FALSE@,$SLP_FALSE,;t t
25923
 
s,@SLP_ALONE_TRUE@,$SLP_ALONE_TRUE,;t t
25924
 
s,@SLP_ALONE_FALSE@,$SLP_ALONE_FALSE,;t t
25925
 
s,@QUALREP_TRUE@,$QUALREP_TRUE,;t t
25926
 
s,@QUALREP_FALSE@,$QUALREP_FALSE,;t t
25927
 
s,@PAM_TRUE@,$PAM_TRUE,;t t
25928
 
s,@PAM_FALSE@,$PAM_FALSE,;t t
25929
 
s,@DOCS_TRUE@,$DOCS_TRUE,;t t
25930
 
s,@DOCS_FALSE@,$DOCS_FALSE,;t t
25931
 
s,@IPV6_TRUE@,$IPV6_TRUE,;t t
25932
 
s,@IPV6_FALSE@,$IPV6_FALSE,;t t
25933
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
25934
 
CEOF
25935
 
 
25936
 
_ACEOF
25937
 
 
25938
 
  cat >>$CONFIG_STATUS <<\_ACEOF
25939
 
  # Split the substitutions into bite-sized pieces for seds with
25940
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
25941
 
  ac_max_sed_lines=48
25942
 
  ac_sed_frag=1 # Number of current file.
25943
 
  ac_beg=1 # First line for current file.
25944
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
25945
 
  ac_more_lines=:
25946
 
  ac_sed_cmds=
25947
 
  while $ac_more_lines; do
25948
 
    if test $ac_beg -gt 1; then
25949
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
25950
 
    else
25951
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
25952
 
    fi
25953
 
    if test ! -s $tmp/subs.frag; then
25954
 
      ac_more_lines=false
25955
 
    else
25956
 
      # The purpose of the label and of the branching condition is to
25957
 
      # speed up the sed processing (if there are no `@' at all, there
25958
 
      # is no need to browse any of the substitutions).
25959
 
      # These are the two extra sed commands mentioned above.
25960
 
      (echo ':t
25961
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
25962
 
      if test -z "$ac_sed_cmds"; then
25963
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
25964
 
      else
25965
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
25966
 
      fi
25967
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
25968
 
      ac_beg=$ac_end
25969
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
25970
 
    fi
25971
 
  done
25972
 
  if test -z "$ac_sed_cmds"; then
25973
 
    ac_sed_cmds=cat
 
27737
# Set up the scripts for CONFIG_FILES section.
 
27738
# No need to generate them if there are no CONFIG_FILES.
 
27739
# This happens for instance with `./config.status config.h'.
 
27740
if test -n "$CONFIG_FILES"; then
 
27741
 
 
27742
 
 
27743
ac_cr='
 
 
b"'"
 
27744
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
27745
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
27746
  ac_cs_awk_cr='\\r'
 
27747
else
 
27748
  ac_cs_awk_cr=$ac_cr
 
27749
fi
 
27750
 
 
27751
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
27752
_ACEOF
 
27753
 
 
27754
 
 
27755
{
 
27756
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
27757
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
27758
  echo "_ACEOF"
 
27759
} >conf$$subs.sh ||
 
27760
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
27761
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
27762
   { (exit 1); exit 1; }; }
 
27763
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
27764
ac_delim='%!_!# '
 
27765
for ac_last_try in false false false false false :; do
 
27766
  . ./conf$$subs.sh ||
 
27767
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
27768
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
27769
   { (exit 1); exit 1; }; }
 
27770
 
 
27771
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
27772
  if test $ac_delim_n = $ac_delim_num; then
 
27773
    break
 
27774
  elif $ac_last_try; then
 
27775
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
27776
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
27777
   { (exit 1); exit 1; }; }
 
27778
  else
 
27779
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25974
27780
  fi
 
27781
done
 
27782
rm -f conf$$subs.sh
 
27783
 
 
27784
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
27785
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
27786
_ACEOF
 
27787
sed -n '
 
27788
h
 
27789
s/^/S["/; s/!.*/"]=/
 
27790
p
 
27791
g
 
27792
s/^[^!]*!//
 
27793
:repl
 
27794
t repl
 
27795
s/'"$ac_delim"'$//
 
27796
t delim
 
27797
:nl
 
27798
h
 
27799
s/\(.\{148\}\).*/\1/
 
27800
t more1
 
27801
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
27802
p
 
27803
n
 
27804
b repl
 
27805
:more1
 
27806
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
27807
p
 
27808
g
 
27809
s/.\{148\}//
 
27810
t nl
 
27811
:delim
 
27812
h
 
27813
s/\(.\{148\}\).*/\1/
 
27814
t more2
 
27815
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
27816
p
 
27817
b
 
27818
:more2
 
27819
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
27820
p
 
27821
g
 
27822
s/.\{148\}//
 
27823
t delim
 
27824
' <conf$$subs.awk | sed '
 
27825
/^[^""]/{
 
27826
  N
 
27827
  s/\n//
 
27828
}
 
27829
' >>$CONFIG_STATUS || ac_write_fail=1
 
27830
rm -f conf$$subs.awk
 
27831
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
27832
_ACAWK
 
27833
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
27834
  for (key in S) S_is_set[key] = 1
 
27835
  FS = ""
 
27836
 
 
27837
}
 
27838
{
 
27839
  line = $ 0
 
27840
  nfields = split(line, field, "@")
 
27841
  substed = 0
 
27842
  len = length(field[1])
 
27843
  for (i = 2; i < nfields; i++) {
 
27844
    key = field[i]
 
27845
    keylen = length(key)
 
27846
    if (S_is_set[key]) {
 
27847
      value = S[key]
 
27848
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
27849
      len += length(value) + length(field[++i])
 
27850
      substed = 1
 
27851
    } else
 
27852
      len += 1 + keylen
 
27853
  }
 
27854
 
 
27855
  print line
 
27856
}
 
27857
 
 
27858
_ACAWK
 
27859
_ACEOF
 
27860
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
27861
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
27862
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
27863
else
 
27864
  cat
 
27865
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
27866
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 
27867
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
 
27868
   { (exit 1); exit 1; }; }
 
27869
_ACEOF
 
27870
 
 
27871
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
27872
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
27873
# trailing colons and then remove the whole line if VPATH becomes empty
 
27874
# (actually we leave an empty line to preserve line numbers).
 
27875
if test "x$srcdir" = x.; then
 
27876
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
27877
s/:*\$(srcdir):*/:/
 
27878
s/:*\${srcdir}:*/:/
 
27879
s/:*@srcdir@:*/:/
 
27880
s/^\([^=]*=[     ]*\):*/\1/
 
27881
s/:*$//
 
27882
s/^[^=]*=[       ]*$//
 
27883
}'
 
27884
fi
 
27885
 
 
27886
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25975
27887
fi # test -n "$CONFIG_FILES"
25976
27888
 
25977
 
_ACEOF
25978
 
cat >>$CONFIG_STATUS <<\_ACEOF
25979
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
25980
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
25981
 
  case $ac_file in
25982
 
  - | *:- | *:-:* ) # input from stdin
25983
 
        cat >$tmp/stdin
25984
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25985
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25986
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25987
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25988
 
  * )   ac_file_in=$ac_file.in ;;
25989
 
  esac
25990
 
 
25991
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
25992
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
27889
# Set up the scripts for CONFIG_HEADERS section.
 
27890
# No need to generate them if there are no CONFIG_HEADERS.
 
27891
# This happens for instance with `./config.status Makefile'.
 
27892
if test -n "$CONFIG_HEADERS"; then
 
27893
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
27894
BEGIN {
 
27895
_ACEOF
 
27896
 
 
27897
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
27898
# here-document in config.status, that substitutes the proper values into
 
27899
# config.h.in to produce config.h.
 
27900
 
 
27901
# Create a delimiter string that does not exist in confdefs.h, to ease
 
27902
# handling of long lines.
 
27903
ac_delim='%!_!# '
 
27904
for ac_last_try in false false :; do
 
27905
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
27906
  if test -z "$ac_t"; then
 
27907
    break
 
27908
  elif $ac_last_try; then
 
27909
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 
27910
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 
27911
   { (exit 1); exit 1; }; }
 
27912
  else
 
27913
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
27914
  fi
 
27915
done
 
27916
 
 
27917
# For the awk script, D is an array of macro values keyed by name,
 
27918
# likewise P contains macro parameters if any.  Preserve backslash
 
27919
# newline sequences.
 
27920
 
 
27921
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
27922
sed -n '
 
27923
s/.\{148\}/&'"$ac_delim"'/g
 
27924
t rset
 
27925
:rset
 
27926
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
27927
t def
 
27928
d
 
27929
:def
 
27930
s/\\$//
 
27931
t bsnl
 
27932
s/["\\]/\\&/g
 
27933
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
27934
D["\1"]=" \3"/p
 
27935
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
27936
d
 
27937
:bsnl
 
27938
s/["\\]/\\&/g
 
27939
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
27940
D["\1"]=" \3\\\\\\n"\\/p
 
27941
t cont
 
27942
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
27943
t cont
 
27944
d
 
27945
:cont
 
27946
n
 
27947
s/.\{148\}/&'"$ac_delim"'/g
 
27948
t clear
 
27949
:clear
 
27950
s/\\$//
 
27951
t bsnlc
 
27952
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
27953
d
 
27954
:bsnlc
 
27955
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
27956
b cont
 
27957
' <confdefs.h | sed '
 
27958
s/'"$ac_delim"'/"\\\
 
27959
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
27960
 
 
27961
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
27962
  for (key in D) D_is_set[key] = 1
 
27963
  FS = ""
 
27964
}
 
27965
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
27966
  line = \$ 0
 
27967
  split(line, arg, " ")
 
27968
  if (arg[1] == "#") {
 
27969
    defundef = arg[2]
 
27970
    mac1 = arg[3]
 
27971
  } else {
 
27972
    defundef = substr(arg[1], 2)
 
27973
    mac1 = arg[2]
 
27974
  }
 
27975
  split(mac1, mac2, "(") #)
 
27976
  macro = mac2[1]
 
27977
  prefix = substr(line, 1, index(line, defundef) - 1)
 
27978
  if (D_is_set[macro]) {
 
27979
    # Preserve the white space surrounding the "#".
 
27980
    print prefix "define", macro P[macro] D[macro]
 
27981
    next
 
27982
  } else {
 
27983
    # Replace #undef with comments.  This is necessary, for example,
 
27984
    # in the case of _POSIX_SOURCE, which is predefined and required
 
27985
    # on some systems where configure will not decide to define it.
 
27986
    if (defundef == "undef") {
 
27987
      print "/*", prefix defundef, macro, "*/"
 
27988
      next
 
27989
    }
 
27990
  }
 
27991
}
 
27992
{ print }
 
27993
_ACAWK
 
27994
_ACEOF
 
27995
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
27996
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 
27997
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 
27998
   { (exit 1); exit 1; }; }
 
27999
fi # test -n "$CONFIG_HEADERS"
 
28000
 
 
28001
 
 
28002
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
28003
shift
 
28004
for ac_tag
 
28005
do
 
28006
  case $ac_tag in
 
28007
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
28008
  esac
 
28009
  case $ac_mode$ac_tag in
 
28010
  :[FHL]*:*);;
 
28011
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
 
28012
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
 
28013
   { (exit 1); exit 1; }; };;
 
28014
  :[FH]-) ac_tag=-:-;;
 
28015
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
28016
  esac
 
28017
  ac_save_IFS=$IFS
 
28018
  IFS=:
 
28019
  set x $ac_tag
 
28020
  IFS=$ac_save_IFS
 
28021
  shift
 
28022
  ac_file=$1
 
28023
  shift
 
28024
 
 
28025
  case $ac_mode in
 
28026
  :L) ac_source=$1;;
 
28027
  :[FH])
 
28028
    ac_file_inputs=
 
28029
    for ac_f
 
28030
    do
 
28031
      case $ac_f in
 
28032
      -) ac_f="$tmp/stdin";;
 
28033
      *) # Look for the file first in the build tree, then in the source tree
 
28034
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
28035
         # because $ac_f cannot contain `:'.
 
28036
         test -f "$ac_f" ||
 
28037
           case $ac_f in
 
28038
           [\\/$]*) false;;
 
28039
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
28040
           esac ||
 
28041
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
28042
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
28043
   { (exit 1); exit 1; }; };;
 
28044
      esac
 
28045
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
28046
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
28047
    done
 
28048
 
 
28049
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
28050
    # use $as_me), people would be surprised to read:
 
28051
    #    /* config.h.  Generated by config.status.  */
 
28052
    configure_input='Generated from '`
 
28053
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
28054
        `' by configure.'
 
28055
    if test x"$ac_file" != x-; then
 
28056
      configure_input="$ac_file.  $configure_input"
 
28057
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
28058
$as_echo "$as_me: creating $ac_file" >&6;}
 
28059
    fi
 
28060
    # Neutralize special characters interpreted by sed in replacement strings.
 
28061
    case $configure_input in #(
 
28062
    *\&* | *\|* | *\\* )
 
28063
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
28064
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
28065
    *) ac_sed_conf_input=$configure_input;;
 
28066
    esac
 
28067
 
 
28068
    case $ac_tag in
 
28069
    *:-:* | *:-) cat >"$tmp/stdin" \
 
28070
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
28071
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
28072
   { (exit 1); exit 1; }; } ;;
 
28073
    esac
 
28074
    ;;
 
28075
  esac
 
28076
 
 
28077
  ac_dir=`$as_dirname -- "$ac_file" ||
25993
28078
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25994
28079
         X"$ac_file" : 'X\(//\)[^/]' \| \
25995
28080
         X"$ac_file" : 'X\(//\)$' \| \
25996
 
         X"$ac_file" : 'X\(/\)' \| \
25997
 
         .     : '\(.\)' 2>/dev/null ||
25998
 
echo X"$ac_file" |
25999
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26000
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26001
 
          /^X\(\/\/\)$/{ s//\1/; q; }
26002
 
          /^X\(\/\).*/{ s//\1/; q; }
26003
 
          s/.*/./; q'`
26004
 
  { if $as_mkdir_p; then
26005
 
    mkdir -p "$ac_dir"
26006
 
  else
26007
 
    as_dir="$ac_dir"
 
28081
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
28082
$as_echo X"$ac_file" |
 
28083
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
28084
            s//\1/
 
28085
            q
 
28086
          }
 
28087
          /^X\(\/\/\)[^/].*/{
 
28088
            s//\1/
 
28089
            q
 
28090
          }
 
28091
          /^X\(\/\/\)$/{
 
28092
            s//\1/
 
28093
            q
 
28094
          }
 
28095
          /^X\(\/\).*/{
 
28096
            s//\1/
 
28097
            q
 
28098
          }
 
28099
          s/.*/./; q'`
 
28100
  { as_dir="$ac_dir"
 
28101
  case $as_dir in #(
 
28102
  -*) as_dir=./$as_dir;;
 
28103
  esac
 
28104
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
26008
28105
    as_dirs=
26009
 
    while test ! -d "$as_dir"; do
26010
 
      as_dirs="$as_dir $as_dirs"
26011
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
28106
    while :; do
 
28107
      case $as_dir in #(
 
28108
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
28109
      *) as_qdir=$as_dir;;
 
28110
      esac
 
28111
      as_dirs="'$as_qdir' $as_dirs"
 
28112
      as_dir=`$as_dirname -- "$as_dir" ||
26012
28113
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26013
28114
         X"$as_dir" : 'X\(//\)[^/]' \| \
26014
28115
         X"$as_dir" : 'X\(//\)$' \| \
26015
 
         X"$as_dir" : 'X\(/\)' \| \
26016
 
         .     : '\(.\)' 2>/dev/null ||
26017
 
echo X"$as_dir" |
26018
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26019
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26020
 
          /^X\(\/\/\)$/{ s//\1/; q; }
26021
 
          /^X\(\/\).*/{ s//\1/; q; }
26022
 
          s/.*/./; q'`
 
28116
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
28117
$as_echo X"$as_dir" |
 
28118
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
28119
            s//\1/
 
28120
            q
 
28121
          }
 
28122
          /^X\(\/\/\)[^/].*/{
 
28123
            s//\1/
 
28124
            q
 
28125
          }
 
28126
          /^X\(\/\/\)$/{
 
28127
            s//\1/
 
28128
            q
 
28129
          }
 
28130
          /^X\(\/\).*/{
 
28131
            s//\1/
 
28132
            q
 
28133
          }
 
28134
          s/.*/./; q'`
 
28135
      test -d "$as_dir" && break
26023
28136
    done
26024
 
    test ! -n "$as_dirs" || mkdir $as_dirs
26025
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
26026
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
28137
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
28138
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
28139
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
26027
28140
   { (exit 1); exit 1; }; }; }
26028
 
 
26029
28141
  ac_builddir=.
26030
28142
 
26031
 
if test "$ac_dir" != .; then
26032
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
26033
 
  # A "../" for each directory in $ac_dir_suffix.
26034
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
26035
 
else
26036
 
  ac_dir_suffix= ac_top_builddir=
26037
 
fi
 
28143
case "$ac_dir" in
 
28144
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
28145
*)
 
28146
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
28147
  # A ".." for each directory in $ac_dir_suffix.
 
28148
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
28149
  case $ac_top_builddir_sub in
 
28150
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
28151
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
28152
  esac ;;
 
28153
esac
 
28154
ac_abs_top_builddir=$ac_pwd
 
28155
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
28156
# for backward compatibility:
 
28157
ac_top_builddir=$ac_top_build_prefix
26038
28158
 
26039
28159
case $srcdir in
26040
 
  .)  # No --srcdir option.  We are building in place.
 
28160
  .)  # We are building in place.
26041
28161
    ac_srcdir=.
26042
 
    if test -z "$ac_top_builddir"; then
26043
 
       ac_top_srcdir=.
26044
 
    else
26045
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
26046
 
    fi ;;
26047
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
28162
    ac_top_srcdir=$ac_top_builddir_sub
 
28163
    ac_abs_top_srcdir=$ac_pwd ;;
 
28164
  [\\/]* | ?:[\\/]* )  # Absolute name.
26048
28165
    ac_srcdir=$srcdir$ac_dir_suffix;
26049
 
    ac_top_srcdir=$srcdir ;;
26050
 
  *) # Relative path.
26051
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
26052
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
26053
 
esac
26054
 
 
26055
 
# Do not use `cd foo && pwd` to compute absolute paths, because
26056
 
# the directories may not exist.
26057
 
case `pwd` in
26058
 
.) ac_abs_builddir="$ac_dir";;
26059
 
*)
26060
 
  case "$ac_dir" in
26061
 
  .) ac_abs_builddir=`pwd`;;
26062
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
26063
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
26064
 
  esac;;
26065
 
esac
26066
 
case $ac_abs_builddir in
26067
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
26068
 
*)
26069
 
  case ${ac_top_builddir}. in
26070
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
26071
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
26072
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
26073
 
  esac;;
26074
 
esac
26075
 
case $ac_abs_builddir in
26076
 
.) ac_abs_srcdir=$ac_srcdir;;
26077
 
*)
26078
 
  case $ac_srcdir in
26079
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
26080
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
26081
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
26082
 
  esac;;
26083
 
esac
26084
 
case $ac_abs_builddir in
26085
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
26086
 
*)
26087
 
  case $ac_top_srcdir in
26088
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
26089
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
26090
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
26091
 
  esac;;
26092
 
esac
26093
 
 
 
28166
    ac_top_srcdir=$srcdir
 
28167
    ac_abs_top_srcdir=$srcdir ;;
 
28168
  *) # Relative name.
 
28169
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
28170
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
28171
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
28172
esac
 
28173
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
28174
 
 
28175
 
 
28176
  case $ac_mode in
 
28177
  :F)
 
28178
  #
 
28179
  # CONFIG_FILE
 
28180
  #
26094
28181
 
26095
28182
  case $INSTALL in
26096
28183
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
26097
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
26098
 
  esac
26099
 
 
26100
 
  if test x"$ac_file" != x-; then
26101
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
26102
 
echo "$as_me: creating $ac_file" >&6;}
26103
 
    rm -f "$ac_file"
26104
 
  fi
26105
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
26106
 
  # use $as_me), people would be surprised to read:
26107
 
  #    /* config.h.  Generated by config.status.  */
26108
 
  if test x"$ac_file" = x-; then
26109
 
    configure_input=
26110
 
  else
26111
 
    configure_input="$ac_file.  "
26112
 
  fi
26113
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
26114
 
                                     sed 's,.*/,,'` by configure."
26115
 
 
26116
 
  # First look for the input files in the build tree, otherwise in the
26117
 
  # src tree.
26118
 
  ac_file_inputs=`IFS=:
26119
 
    for f in $ac_file_in; do
26120
 
      case $f in
26121
 
      -) echo $tmp/stdin ;;
26122
 
      [\\/$]*)
26123
 
         # Absolute (can't be DOS-style, as IFS=:)
26124
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
26125
 
echo "$as_me: error: cannot find input file: $f" >&2;}
26126
 
   { (exit 1); exit 1; }; }
26127
 
         echo "$f";;
26128
 
      *) # Relative
26129
 
         if test -f "$f"; then
26130
 
           # Build tree
26131
 
           echo "$f"
26132
 
         elif test -f "$srcdir/$f"; then
26133
 
           # Source tree
26134
 
           echo "$srcdir/$f"
26135
 
         else
26136
 
           # /dev/null tree
26137
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
26138
 
echo "$as_me: error: cannot find input file: $f" >&2;}
26139
 
   { (exit 1); exit 1; }; }
26140
 
         fi;;
26141
 
      esac
26142
 
    done` || { (exit 1); exit 1; }
26143
 
_ACEOF
26144
 
cat >>$CONFIG_STATUS <<_ACEOF
26145
 
  sed "$ac_vpsub
 
28184
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
28185
  esac
 
28186
  ac_MKDIR_P=$MKDIR_P
 
28187
  case $MKDIR_P in
 
28188
  [\\/$]* | ?:[\\/]* ) ;;
 
28189
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
28190
  esac
 
28191
_ACEOF
 
28192
 
 
28193
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
28194
# If the template does not know about datarootdir, expand it.
 
28195
# FIXME: This hack should be removed a few years after 2.60.
 
28196
ac_datarootdir_hack=; ac_datarootdir_seen=
 
28197
 
 
28198
ac_sed_dataroot='
 
28199
/datarootdir/ {
 
28200
  p
 
28201
  q
 
28202
}
 
28203
/@datadir@/p
 
28204
/@docdir@/p
 
28205
/@infodir@/p
 
28206
/@localedir@/p
 
28207
/@mandir@/p
 
28208
'
 
28209
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
28210
*datarootdir*) ac_datarootdir_seen=yes;;
 
28211
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
28212
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
28213
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
28214
_ACEOF
 
28215
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
28216
  ac_datarootdir_hack='
 
28217
  s&@datadir@&$datadir&g
 
28218
  s&@docdir@&$docdir&g
 
28219
  s&@infodir@&$infodir&g
 
28220
  s&@localedir@&$localedir&g
 
28221
  s&@mandir@&$mandir&g
 
28222
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
28223
esac
 
28224
_ACEOF
 
28225
 
 
28226
# Neutralize VPATH when `$srcdir' = `.'.
 
28227
# Shell code in configure.ac might set extrasub.
 
28228
# FIXME: do we really want to maintain this feature?
 
28229
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
28230
ac_sed_extra="$ac_vpsub
26146
28231
$extrasub
26147
28232
_ACEOF
26148
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
28233
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26149
28234
:t
26150
28235
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26151
 
s,@configure_input@,$configure_input,;t t
26152
 
s,@srcdir@,$ac_srcdir,;t t
26153
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
26154
 
s,@top_srcdir@,$ac_top_srcdir,;t t
26155
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
26156
 
s,@builddir@,$ac_builddir,;t t
26157
 
s,@abs_builddir@,$ac_abs_builddir,;t t
26158
 
s,@top_builddir@,$ac_top_builddir,;t t
26159
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
26160
 
s,@INSTALL@,$ac_INSTALL,;t t
26161
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
26162
 
  rm -f $tmp/stdin
26163
 
  if test x"$ac_file" != x-; then
26164
 
    mv $tmp/out $ac_file
26165
 
  else
26166
 
    cat $tmp/out
26167
 
    rm -f $tmp/out
26168
 
  fi
26169
 
 
26170
 
done
26171
 
_ACEOF
26172
 
cat >>$CONFIG_STATUS <<\_ACEOF
26173
 
 
26174
 
#
26175
 
# CONFIG_HEADER section.
26176
 
#
26177
 
 
26178
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
26179
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
26180
 
#
26181
 
# ac_d sets the value in "#define NAME VALUE" lines.
26182
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
26183
 
ac_dB='[         ].*$,\1#\2'
26184
 
ac_dC=' '
26185
 
ac_dD=',;t'
26186
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
26187
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
26188
 
ac_uB='$,\1#\2define\3'
26189
 
ac_uC=' '
26190
 
ac_uD=',;t'
26191
 
 
26192
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
26193
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 
28236
s|@configure_input@|$ac_sed_conf_input|;t t
 
28237
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
28238
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
28239
s&@srcdir@&$ac_srcdir&;t t
 
28240
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
28241
s&@top_srcdir@&$ac_top_srcdir&;t t
 
28242
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
28243
s&@builddir@&$ac_builddir&;t t
 
28244
s&@abs_builddir@&$ac_abs_builddir&;t t
 
28245
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
28246
s&@INSTALL@&$ac_INSTALL&;t t
 
28247
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
28248
$ac_datarootdir_hack
 
28249
"
 
28250
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
28251
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
28252
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
28253
   { (exit 1); exit 1; }; }
 
28254
 
 
28255
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
28256
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
28257
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
28258
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
28259
which seems to be undefined.  Please make sure it is defined." >&5
 
28260
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
28261
which seems to be undefined.  Please make sure it is defined." >&2;}
 
28262
 
 
28263
  rm -f "$tmp/stdin"
26194
28264
  case $ac_file in
26195
 
  - | *:- | *:-:* ) # input from stdin
26196
 
        cat >$tmp/stdin
26197
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
26198
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
26199
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
26200
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
26201
 
  * )   ac_file_in=$ac_file.in ;;
26202
 
  esac
26203
 
 
26204
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
26205
 
echo "$as_me: creating $ac_file" >&6;}
26206
 
 
26207
 
  # First look for the input files in the build tree, otherwise in the
26208
 
  # src tree.
26209
 
  ac_file_inputs=`IFS=:
26210
 
    for f in $ac_file_in; do
26211
 
      case $f in
26212
 
      -) echo $tmp/stdin ;;
26213
 
      [\\/$]*)
26214
 
         # Absolute (can't be DOS-style, as IFS=:)
26215
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
26216
 
echo "$as_me: error: cannot find input file: $f" >&2;}
26217
 
   { (exit 1); exit 1; }; }
26218
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
26219
 
         echo "$f";;
26220
 
      *) # Relative
26221
 
         if test -f "$f"; then
26222
 
           # Build tree
26223
 
           echo "$f"
26224
 
         elif test -f "$srcdir/$f"; then
26225
 
           # Source tree
26226
 
           echo "$srcdir/$f"
26227
 
         else
26228
 
           # /dev/null tree
26229
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
26230
 
echo "$as_me: error: cannot find input file: $f" >&2;}
26231
 
   { (exit 1); exit 1; }; }
26232
 
         fi;;
26233
 
      esac
26234
 
    done` || { (exit 1); exit 1; }
26235
 
  # Remove the trailing spaces.
26236
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
26237
 
 
26238
 
_ACEOF
26239
 
 
26240
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
26241
 
# `conftest.undefs', that substitutes the proper values into
26242
 
# config.h.in to produce config.h.  The first handles `#define'
26243
 
# templates, and the second `#undef' templates.
26244
 
# And first: Protect against being on the right side of a sed subst in
26245
 
# config.status.  Protect against being in an unquoted here document
26246
 
# in config.status.
26247
 
rm -f conftest.defines conftest.undefs
26248
 
# Using a here document instead of a string reduces the quoting nightmare.
26249
 
# Putting comments in sed scripts is not portable.
26250
 
#
26251
 
# `end' is used to avoid that the second main sed command (meant for
26252
 
# 0-ary CPP macros) applies to n-ary macro definitions.
26253
 
# See the Autoconf documentation for `clear'.
26254
 
cat >confdef2sed.sed <<\_ACEOF
26255
 
s/[\\&,]/\\&/g
26256
 
s,[\\$`],\\&,g
26257
 
t clear
26258
 
: clear
26259
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
26260
 
t end
26261
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
26262
 
: end
26263
 
_ACEOF
26264
 
# If some macros were called several times there might be several times
26265
 
# the same #defines, which is useless.  Nevertheless, we may not want to
26266
 
# sort them, since we want the *last* AC-DEFINE to be honored.
26267
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
26268
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
26269
 
rm -f confdef2sed.sed
26270
 
 
26271
 
# This sed command replaces #undef with comments.  This is necessary, for
26272
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
26273
 
# on some systems where configure will not decide to define it.
26274
 
cat >>conftest.undefs <<\_ACEOF
26275
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
26276
 
_ACEOF
26277
 
 
26278
 
# Break up conftest.defines because some shells have a limit on the size
26279
 
# of here documents, and old seds have small limits too (100 cmds).
26280
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
26281
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
26282
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
26283
 
echo '  :' >>$CONFIG_STATUS
26284
 
rm -f conftest.tail
26285
 
while grep . conftest.defines >/dev/null
26286
 
do
26287
 
  # Write a limited-size here document to $tmp/defines.sed.
26288
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
26289
 
  # Speed up: don't consider the non `#define' lines.
26290
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
26291
 
  # Work around the forget-to-reset-the-flag bug.
26292
 
  echo 't clr' >>$CONFIG_STATUS
26293
 
  echo ': clr' >>$CONFIG_STATUS
26294
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
26295
 
  echo 'CEOF
26296
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
26297
 
  rm -f $tmp/in
26298
 
  mv $tmp/out $tmp/in
26299
 
' >>$CONFIG_STATUS
26300
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
26301
 
  rm -f conftest.defines
26302
 
  mv conftest.tail conftest.defines
26303
 
done
26304
 
rm -f conftest.defines
26305
 
echo '  fi # grep' >>$CONFIG_STATUS
26306
 
echo >>$CONFIG_STATUS
26307
 
 
26308
 
# Break up conftest.undefs because some shells have a limit on the size
26309
 
# of here documents, and old seds have small limits too (100 cmds).
26310
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
26311
 
rm -f conftest.tail
26312
 
while grep . conftest.undefs >/dev/null
26313
 
do
26314
 
  # Write a limited-size here document to $tmp/undefs.sed.
26315
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
26316
 
  # Speed up: don't consider the non `#undef'
26317
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
26318
 
  # Work around the forget-to-reset-the-flag bug.
26319
 
  echo 't clr' >>$CONFIG_STATUS
26320
 
  echo ': clr' >>$CONFIG_STATUS
26321
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
26322
 
  echo 'CEOF
26323
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
26324
 
  rm -f $tmp/in
26325
 
  mv $tmp/out $tmp/in
26326
 
' >>$CONFIG_STATUS
26327
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
26328
 
  rm -f conftest.undefs
26329
 
  mv conftest.tail conftest.undefs
26330
 
done
26331
 
rm -f conftest.undefs
26332
 
 
26333
 
cat >>$CONFIG_STATUS <<\_ACEOF
26334
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
26335
 
  # use $as_me), people would be surprised to read:
26336
 
  #    /* config.h.  Generated by config.status.  */
26337
 
  if test x"$ac_file" = x-; then
26338
 
    echo "/* Generated by configure.  */" >$tmp/config.h
26339
 
  else
26340
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
26341
 
  fi
26342
 
  cat $tmp/in >>$tmp/config.h
26343
 
  rm -f $tmp/in
 
28265
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
28266
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
28267
  esac \
 
28268
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
28269
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
28270
   { (exit 1); exit 1; }; }
 
28271
 ;;
 
28272
  :H)
 
28273
  #
 
28274
  # CONFIG_HEADER
 
28275
  #
26344
28276
  if test x"$ac_file" != x-; then
26345
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
26346
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
26347
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
28277
    {
 
28278
      $as_echo "/* $configure_input  */" \
 
28279
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
28280
    } >"$tmp/config.h" \
 
28281
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
28282
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
28283
   { (exit 1); exit 1; }; }
 
28284
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
28285
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
28286
$as_echo "$as_me: $ac_file is unchanged" >&6;}
26348
28287
    else
26349
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
26350
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26351
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
26352
 
         X"$ac_file" : 'X\(//\)$' \| \
26353
 
         X"$ac_file" : 'X\(/\)' \| \
26354
 
         .     : '\(.\)' 2>/dev/null ||
26355
 
echo X"$ac_file" |
26356
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26357
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26358
 
          /^X\(\/\/\)$/{ s//\1/; q; }
26359
 
          /^X\(\/\).*/{ s//\1/; q; }
26360
 
          s/.*/./; q'`
26361
 
      { if $as_mkdir_p; then
26362
 
    mkdir -p "$ac_dir"
26363
 
  else
26364
 
    as_dir="$ac_dir"
26365
 
    as_dirs=
26366
 
    while test ! -d "$as_dir"; do
26367
 
      as_dirs="$as_dir $as_dirs"
26368
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
26369
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26370
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
26371
 
         X"$as_dir" : 'X\(//\)$' \| \
26372
 
         X"$as_dir" : 'X\(/\)' \| \
26373
 
         .     : '\(.\)' 2>/dev/null ||
26374
 
echo X"$as_dir" |
26375
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26376
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26377
 
          /^X\(\/\/\)$/{ s//\1/; q; }
26378
 
          /^X\(\/\).*/{ s//\1/; q; }
26379
 
          s/.*/./; q'`
26380
 
    done
26381
 
    test ! -n "$as_dirs" || mkdir $as_dirs
26382
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
26383
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
26384
 
   { (exit 1); exit 1; }; }; }
26385
 
 
26386
 
      rm -f $ac_file
26387
 
      mv $tmp/config.h $ac_file
 
28288
      rm -f "$ac_file"
 
28289
      mv "$tmp/config.h" "$ac_file" \
 
28290
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
28291
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
28292
   { (exit 1); exit 1; }; }
26388
28293
    fi
26389
28294
  else
26390
 
    cat $tmp/config.h
26391
 
    rm -f $tmp/config.h
 
28295
    $as_echo "/* $configure_input  */" \
 
28296
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
28297
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 
28298
$as_echo "$as_me: error: could not create -" >&2;}
 
28299
   { (exit 1); exit 1; }; }
26392
28300
  fi
26393
 
# Compute $ac_file's index in $config_headers.
 
28301
# Compute "$ac_file"'s index in $config_headers.
 
28302
_am_arg="$ac_file"
26394
28303
_am_stamp_count=1
26395
28304
for _am_header in $config_headers :; do
26396
28305
  case $_am_header in
26397
 
    $ac_file | $ac_file:* )
 
28306
    $_am_arg | $_am_arg:* )
26398
28307
      break ;;
26399
28308
    * )
26400
28309
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
26401
28310
  esac
26402
28311
done
26403
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
26404
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26405
 
         X$ac_file : 'X\(//\)[^/]' \| \
26406
 
         X$ac_file : 'X\(//\)$' \| \
26407
 
         X$ac_file : 'X\(/\)' \| \
26408
 
         .     : '\(.\)' 2>/dev/null ||
26409
 
echo X$ac_file |
26410
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26411
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26412
 
          /^X\(\/\/\)$/{ s//\1/; q; }
26413
 
          /^X\(\/\).*/{ s//\1/; q; }
26414
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
26415
 
done
26416
 
_ACEOF
26417
 
cat >>$CONFIG_STATUS <<\_ACEOF
26418
 
 
26419
 
#
26420
 
# CONFIG_COMMANDS section.
26421
 
#
26422
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
26423
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
26424
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
26425
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
26426
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26427
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
26428
 
         X"$ac_dest" : 'X\(//\)$' \| \
26429
 
         X"$ac_dest" : 'X\(/\)' \| \
26430
 
         .     : '\(.\)' 2>/dev/null ||
26431
 
echo X"$ac_dest" |
26432
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26433
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26434
 
          /^X\(\/\/\)$/{ s//\1/; q; }
26435
 
          /^X\(\/\).*/{ s//\1/; q; }
26436
 
          s/.*/./; q'`
26437
 
  { if $as_mkdir_p; then
26438
 
    mkdir -p "$ac_dir"
26439
 
  else
26440
 
    as_dir="$ac_dir"
26441
 
    as_dirs=
26442
 
    while test ! -d "$as_dir"; do
26443
 
      as_dirs="$as_dir $as_dirs"
26444
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
26445
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26446
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
26447
 
         X"$as_dir" : 'X\(//\)$' \| \
26448
 
         X"$as_dir" : 'X\(/\)' \| \
26449
 
         .     : '\(.\)' 2>/dev/null ||
26450
 
echo X"$as_dir" |
26451
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26452
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26453
 
          /^X\(\/\/\)$/{ s//\1/; q; }
26454
 
          /^X\(\/\).*/{ s//\1/; q; }
26455
 
          s/.*/./; q'`
26456
 
    done
26457
 
    test ! -n "$as_dirs" || mkdir $as_dirs
26458
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
26459
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
26460
 
   { (exit 1); exit 1; }; }; }
26461
 
 
26462
 
  ac_builddir=.
26463
 
 
26464
 
if test "$ac_dir" != .; then
26465
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
26466
 
  # A "../" for each directory in $ac_dir_suffix.
26467
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
26468
 
else
26469
 
  ac_dir_suffix= ac_top_builddir=
26470
 
fi
26471
 
 
26472
 
case $srcdir in
26473
 
  .)  # No --srcdir option.  We are building in place.
26474
 
    ac_srcdir=.
26475
 
    if test -z "$ac_top_builddir"; then
26476
 
       ac_top_srcdir=.
26477
 
    else
26478
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
26479
 
    fi ;;
26480
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
26481
 
    ac_srcdir=$srcdir$ac_dir_suffix;
26482
 
    ac_top_srcdir=$srcdir ;;
26483
 
  *) # Relative path.
26484
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
26485
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
26486
 
esac
26487
 
 
26488
 
# Do not use `cd foo && pwd` to compute absolute paths, because
26489
 
# the directories may not exist.
26490
 
case `pwd` in
26491
 
.) ac_abs_builddir="$ac_dir";;
26492
 
*)
26493
 
  case "$ac_dir" in
26494
 
  .) ac_abs_builddir=`pwd`;;
26495
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
26496
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
26497
 
  esac;;
26498
 
esac
26499
 
case $ac_abs_builddir in
26500
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
26501
 
*)
26502
 
  case ${ac_top_builddir}. in
26503
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
26504
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
26505
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
26506
 
  esac;;
26507
 
esac
26508
 
case $ac_abs_builddir in
26509
 
.) ac_abs_srcdir=$ac_srcdir;;
26510
 
*)
26511
 
  case $ac_srcdir in
26512
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
26513
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
26514
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
26515
 
  esac;;
26516
 
esac
26517
 
case $ac_abs_builddir in
26518
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
26519
 
*)
26520
 
  case $ac_top_srcdir in
26521
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
26522
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
26523
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
26524
 
  esac;;
26525
 
esac
26526
 
 
26527
 
 
26528
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
26529
 
echo "$as_me: executing $ac_dest commands" >&6;}
26530
 
  case $ac_dest in
26531
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
28312
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
28313
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
28314
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
28315
         X"$_am_arg" : 'X\(//\)$' \| \
 
28316
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
28317
$as_echo X"$_am_arg" |
 
28318
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
28319
            s//\1/
 
28320
            q
 
28321
          }
 
28322
          /^X\(\/\/\)[^/].*/{
 
28323
            s//\1/
 
28324
            q
 
28325
          }
 
28326
          /^X\(\/\/\)$/{
 
28327
            s//\1/
 
28328
            q
 
28329
          }
 
28330
          /^X\(\/\).*/{
 
28331
            s//\1/
 
28332
            q
 
28333
          }
 
28334
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
28335
 ;;
 
28336
 
 
28337
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
28338
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
28339
 ;;
 
28340
  esac
 
28341
 
 
28342
 
 
28343
  case $ac_file$ac_mode in
 
28344
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
26532
28345
  # Strip MF so we end up with the name of the file.
26533
28346
  mf=`echo "$mf" | sed -e 's/:.*$//'`
26534
28347
  # Check whether this is an Automake generated Makefile or not.
26536
28349
  # some people rename them; so instead we look at the file content.
26537
28350
  # Grep'ing the first line is not enough: some people post-process
26538
28351
  # each Makefile.in and add a new line on top of each file to say so.
26539
 
  # So let's grep whole file.
26540
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
26541
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
28352
  # Grep'ing the whole file is not good either: AIX grep has a line
 
28353
  # limit of 2048, but all sed's we know have understand at least 4000.
 
28354
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
28355
    dirpart=`$as_dirname -- "$mf" ||
26542
28356
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26543
28357
         X"$mf" : 'X\(//\)[^/]' \| \
26544
28358
         X"$mf" : 'X\(//\)$' \| \
26545
 
         X"$mf" : 'X\(/\)' \| \
26546
 
         .     : '\(.\)' 2>/dev/null ||
26547
 
echo X"$mf" |
26548
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26549
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26550
 
          /^X\(\/\/\)$/{ s//\1/; q; }
26551
 
          /^X\(\/\).*/{ s//\1/; q; }
26552
 
          s/.*/./; q'`
 
28359
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
28360
$as_echo X"$mf" |
 
28361
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
28362
            s//\1/
 
28363
            q
 
28364
          }
 
28365
          /^X\(\/\/\)[^/].*/{
 
28366
            s//\1/
 
28367
            q
 
28368
          }
 
28369
          /^X\(\/\/\)$/{
 
28370
            s//\1/
 
28371
            q
 
28372
          }
 
28373
          /^X\(\/\).*/{
 
28374
            s//\1/
 
28375
            q
 
28376
          }
 
28377
          s/.*/./; q'`
26553
28378
  else
26554
28379
    continue
26555
28380
  fi
26571
28396
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26572
28397
    # Make sure the directory exists.
26573
28398
    test -f "$dirpart/$file" && continue
26574
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
28399
    fdir=`$as_dirname -- "$file" ||
26575
28400
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26576
28401
         X"$file" : 'X\(//\)[^/]' \| \
26577
28402
         X"$file" : 'X\(//\)$' \| \
26578
 
         X"$file" : 'X\(/\)' \| \
26579
 
         .     : '\(.\)' 2>/dev/null ||
26580
 
echo X"$file" |
26581
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26582
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26583
 
          /^X\(\/\/\)$/{ s//\1/; q; }
26584
 
          /^X\(\/\).*/{ s//\1/; q; }
26585
 
          s/.*/./; q'`
26586
 
    { if $as_mkdir_p; then
26587
 
    mkdir -p $dirpart/$fdir
26588
 
  else
26589
 
    as_dir=$dirpart/$fdir
 
28403
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
28404
$as_echo X"$file" |
 
28405
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
28406
            s//\1/
 
28407
            q
 
28408
          }
 
28409
          /^X\(\/\/\)[^/].*/{
 
28410
            s//\1/
 
28411
            q
 
28412
          }
 
28413
          /^X\(\/\/\)$/{
 
28414
            s//\1/
 
28415
            q
 
28416
          }
 
28417
          /^X\(\/\).*/{
 
28418
            s//\1/
 
28419
            q
 
28420
          }
 
28421
          s/.*/./; q'`
 
28422
    { as_dir=$dirpart/$fdir
 
28423
  case $as_dir in #(
 
28424
  -*) as_dir=./$as_dir;;
 
28425
  esac
 
28426
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
26590
28427
    as_dirs=
26591
 
    while test ! -d "$as_dir"; do
26592
 
      as_dirs="$as_dir $as_dirs"
26593
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
28428
    while :; do
 
28429
      case $as_dir in #(
 
28430
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
28431
      *) as_qdir=$as_dir;;
 
28432
      esac
 
28433
      as_dirs="'$as_qdir' $as_dirs"
 
28434
      as_dir=`$as_dirname -- "$as_dir" ||
26594
28435
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26595
28436
         X"$as_dir" : 'X\(//\)[^/]' \| \
26596
28437
         X"$as_dir" : 'X\(//\)$' \| \
26597
 
         X"$as_dir" : 'X\(/\)' \| \
26598
 
         .     : '\(.\)' 2>/dev/null ||
26599
 
echo X"$as_dir" |
26600
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26601
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26602
 
          /^X\(\/\/\)$/{ s//\1/; q; }
26603
 
          /^X\(\/\).*/{ s//\1/; q; }
26604
 
          s/.*/./; q'`
 
28438
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
28439
$as_echo X"$as_dir" |
 
28440
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
28441
            s//\1/
 
28442
            q
 
28443
          }
 
28444
          /^X\(\/\/\)[^/].*/{
 
28445
            s//\1/
 
28446
            q
 
28447
          }
 
28448
          /^X\(\/\/\)$/{
 
28449
            s//\1/
 
28450
            q
 
28451
          }
 
28452
          /^X\(\/\).*/{
 
28453
            s//\1/
 
28454
            q
 
28455
          }
 
28456
          s/.*/./; q'`
 
28457
      test -d "$as_dir" && break
26605
28458
    done
26606
 
    test ! -n "$as_dirs" || mkdir $as_dirs
26607
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
26608
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
28459
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
28460
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
28461
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
26609
28462
   { (exit 1); exit 1; }; }; }
26610
 
 
26611
28463
    # echo "creating $dirpart/$file"
26612
28464
    echo '# dummy' > "$dirpart/$file"
26613
28465
  done
26614
28466
done
26615
28467
 ;;
 
28468
 
26616
28469
  esac
26617
 
done
26618
 
_ACEOF
 
28470
done # for ac_tag
26619
28471
 
26620
 
cat >>$CONFIG_STATUS <<\_ACEOF
26621
28472
 
26622
28473
{ (exit 0); exit 0; }
26623
28474
_ACEOF
26624
28475
chmod +x $CONFIG_STATUS
26625
28476
ac_clean_files=$ac_clean_files_save
26626
28477
 
 
28478
test $ac_write_fail = 0 ||
 
28479
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 
28480
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 
28481
   { (exit 1); exit 1; }; }
 
28482
 
26627
28483
 
26628
28484
# configure is writing to config.log, and then calls config.status.
26629
28485
# config.status does its own redirection, appending to config.log.
26651
28507
#
26652
28508
if test "$no_recursion" != yes; then
26653
28509
 
26654
 
  # Remove --cache-file and --srcdir arguments so they do not pile up.
 
28510
  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
 
28511
  # so they do not pile up.
26655
28512
  ac_sub_configure_args=
26656
28513
  ac_prev=
26657
 
  for ac_arg in $ac_configure_args; do
 
28514
  eval "set x $ac_configure_args"
 
28515
  shift
 
28516
  for ac_arg
 
28517
  do
26658
28518
    if test -n "$ac_prev"; then
26659
28519
      ac_prev=
26660
28520
      continue
26677
28537
      ac_prev=prefix ;;
26678
28538
    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
26679
28539
      ;;
26680
 
    *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
 
28540
    --disable-option-checking)
 
28541
      ;;
 
28542
    *)
 
28543
      case $ac_arg in
 
28544
      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
28545
      esac
 
28546
      ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
26681
28547
    esac
26682
28548
  done
26683
28549
 
26684
28550
  # Always prepend --prefix to ensure using the same prefix
26685
28551
  # in subdir configurations.
26686
 
  ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
 
28552
  ac_arg="--prefix=$prefix"
 
28553
  case $ac_arg in
 
28554
  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
28555
  esac
 
28556
  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
 
28557
 
 
28558
  # Pass --silent
 
28559
  if test "$silent" = yes; then
 
28560
    ac_sub_configure_args="--silent $ac_sub_configure_args"
 
28561
  fi
 
28562
 
 
28563
  # Always prepend --disable-option-checking to silence warnings, since
 
28564
  # different subdirs can have different --enable and --with options.
 
28565
  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
26687
28566
 
26688
28567
  ac_popdir=`pwd`
26689
28568
  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
26690
28569
 
26691
28570
    # Do not complain, so a configure script can configure whichever
26692
28571
    # parts of a large source tree are present.
26693
 
    test -d $srcdir/$ac_dir || continue
 
28572
    test -d "$srcdir/$ac_dir" || continue
26694
28573
 
26695
 
    { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
26696
 
echo "$as_me: configuring in $ac_dir" >&6;}
26697
 
    { if $as_mkdir_p; then
26698
 
    mkdir -p "$ac_dir"
26699
 
  else
26700
 
    as_dir="$ac_dir"
 
28574
    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
 
28575
    $as_echo "$as_me:$LINENO: $ac_msg" >&5
 
28576
    $as_echo "$ac_msg" >&6
 
28577
    { as_dir="$ac_dir"
 
28578
  case $as_dir in #(
 
28579
  -*) as_dir=./$as_dir;;
 
28580
  esac
 
28581
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
26701
28582
    as_dirs=
26702
 
    while test ! -d "$as_dir"; do
26703
 
      as_dirs="$as_dir $as_dirs"
26704
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
28583
    while :; do
 
28584
      case $as_dir in #(
 
28585
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
28586
      *) as_qdir=$as_dir;;
 
28587
      esac
 
28588
      as_dirs="'$as_qdir' $as_dirs"
 
28589
      as_dir=`$as_dirname -- "$as_dir" ||
26705
28590
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26706
28591
         X"$as_dir" : 'X\(//\)[^/]' \| \
26707
28592
         X"$as_dir" : 'X\(//\)$' \| \
26708
 
         X"$as_dir" : 'X\(/\)' \| \
26709
 
         .     : '\(.\)' 2>/dev/null ||
26710
 
echo X"$as_dir" |
26711
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26712
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26713
 
          /^X\(\/\/\)$/{ s//\1/; q; }
26714
 
          /^X\(\/\).*/{ s//\1/; q; }
26715
 
          s/.*/./; q'`
 
28593
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
28594
$as_echo X"$as_dir" |
 
28595
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
28596
            s//\1/
 
28597
            q
 
28598
          }
 
28599
          /^X\(\/\/\)[^/].*/{
 
28600
            s//\1/
 
28601
            q
 
28602
          }
 
28603
          /^X\(\/\/\)$/{
 
28604
            s//\1/
 
28605
            q
 
28606
          }
 
28607
          /^X\(\/\).*/{
 
28608
            s//\1/
 
28609
            q
 
28610
          }
 
28611
          s/.*/./; q'`
 
28612
      test -d "$as_dir" && break
26716
28613
    done
26717
 
    test ! -n "$as_dirs" || mkdir $as_dirs
26718
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
26719
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
28614
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
28615
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
28616
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
26720
28617
   { (exit 1); exit 1; }; }; }
26721
 
 
26722
28618
    ac_builddir=.
26723
28619
 
26724
 
if test "$ac_dir" != .; then
26725
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
26726
 
  # A "../" for each directory in $ac_dir_suffix.
26727
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
26728
 
else
26729
 
  ac_dir_suffix= ac_top_builddir=
26730
 
fi
 
28620
case "$ac_dir" in
 
28621
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
28622
*)
 
28623
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
28624
  # A ".." for each directory in $ac_dir_suffix.
 
28625
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
28626
  case $ac_top_builddir_sub in
 
28627
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
28628
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
28629
  esac ;;
 
28630
esac
 
28631
ac_abs_top_builddir=$ac_pwd
 
28632
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
28633
# for backward compatibility:
 
28634
ac_top_builddir=$ac_top_build_prefix
26731
28635
 
26732
28636
case $srcdir in
26733
 
  .)  # No --srcdir option.  We are building in place.
 
28637
  .)  # We are building in place.
26734
28638
    ac_srcdir=.
26735
 
    if test -z "$ac_top_builddir"; then
26736
 
       ac_top_srcdir=.
26737
 
    else
26738
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
26739
 
    fi ;;
26740
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
28639
    ac_top_srcdir=$ac_top_builddir_sub
 
28640
    ac_abs_top_srcdir=$ac_pwd ;;
 
28641
  [\\/]* | ?:[\\/]* )  # Absolute name.
26741
28642
    ac_srcdir=$srcdir$ac_dir_suffix;
26742
 
    ac_top_srcdir=$srcdir ;;
26743
 
  *) # Relative path.
26744
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
26745
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
26746
 
esac
26747
 
 
26748
 
# Do not use `cd foo && pwd` to compute absolute paths, because
26749
 
# the directories may not exist.
26750
 
case `pwd` in
26751
 
.) ac_abs_builddir="$ac_dir";;
26752
 
*)
26753
 
  case "$ac_dir" in
26754
 
  .) ac_abs_builddir=`pwd`;;
26755
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
26756
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
26757
 
  esac;;
26758
 
esac
26759
 
case $ac_abs_builddir in
26760
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
26761
 
*)
26762
 
  case ${ac_top_builddir}. in
26763
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
26764
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
26765
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
26766
 
  esac;;
26767
 
esac
26768
 
case $ac_abs_builddir in
26769
 
.) ac_abs_srcdir=$ac_srcdir;;
26770
 
*)
26771
 
  case $ac_srcdir in
26772
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
26773
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
26774
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
26775
 
  esac;;
26776
 
esac
26777
 
case $ac_abs_builddir in
26778
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
26779
 
*)
26780
 
  case $ac_top_srcdir in
26781
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
26782
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
26783
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
26784
 
  esac;;
26785
 
esac
26786
 
 
26787
 
 
26788
 
    cd $ac_dir
 
28643
    ac_top_srcdir=$srcdir
 
28644
    ac_abs_top_srcdir=$srcdir ;;
 
28645
  *) # Relative name.
 
28646
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
28647
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
28648
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
28649
esac
 
28650
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
28651
 
 
28652
 
 
28653
    cd "$ac_dir"
26789
28654
 
26790
28655
    # Check for guested configure; otherwise get Cygnus style configure.
26791
 
    if test -f $ac_srcdir/configure.gnu; then
26792
 
      ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
26793
 
    elif test -f $ac_srcdir/configure; then
26794
 
      ac_sub_configure="$SHELL '$ac_srcdir/configure'"
26795
 
    elif test -f $ac_srcdir/configure.in; then
26796
 
      ac_sub_configure=$ac_configure
 
28656
    if test -f "$ac_srcdir/configure.gnu"; then
 
28657
      ac_sub_configure=$ac_srcdir/configure.gnu
 
28658
    elif test -f "$ac_srcdir/configure"; then
 
28659
      ac_sub_configure=$ac_srcdir/configure
 
28660
    elif test -f "$ac_srcdir/configure.in"; then
 
28661
      # This should be Cygnus configure.
 
28662
      ac_sub_configure=$ac_aux_dir/configure
26797
28663
    else
26798
 
      { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
26799
 
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
 
28664
      { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
 
28665
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
26800
28666
      ac_sub_configure=
26801
28667
    fi
26802
28668
 
26805
28671
      # Make the cache file name correct relative to the subdirectory.
26806
28672
      case $cache_file in
26807
28673
      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
26808
 
      *) # Relative path.
26809
 
        ac_sub_cache_file=$ac_top_builddir$cache_file ;;
 
28674
      *) # Relative name.
 
28675
        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
26810
28676
      esac
26811
28677
 
26812
 
      { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
26813
 
echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
 
28678
      { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
 
28679
$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
26814
28680
      # The eval makes quoting arguments work.
26815
 
      eval $ac_sub_configure $ac_sub_configure_args \
26816
 
           --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
26817
 
        { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
26818
 
echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
 
28681
      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
 
28682
           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
 
28683
        { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
 
28684
$as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
26819
28685
   { (exit 1); exit 1; }; }
26820
28686
    fi
26821
28687
 
26822
 
    cd $ac_popdir
 
28688
    cd "$ac_popdir"
26823
28689
  done
26824
28690
fi
26825
 
 
26826
 
 
26827
 
echo ======================================================
26828
 
echo sfcb configuration complete
26829
 
echo configuration features:
26830
 
echo -e "debug"\\t"${enable_debug:-no}"
26831
 
echo -e "indications"\\t"${enable_indications}"
26832
 
echo -e "ssl"\\t"${enable_ssl:-no}"
26833
 
echo -e "jdbc"\\t"${enable_jdbc:-no}"
26834
 
echo -e "slp"\\t"${enable_slp:-no}"
26835
 
echo -e "qualifierrep"\\t"${enable_qualifierrep:-no}"
 
28691
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
28692
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
28693
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
28694
fi
 
28695
 
 
28696
 
 
28697
echo =================================================================
 
28698
echo Configuration Features:
 
28699
echo -e "ssl"\\t\\t\\t\\t"${enable_ssl:-no}"
 
28700
echo -e "slp"\\t\\t\\t\\t"${enable_slp:-no}"
 
28701
echo -e "slp hostname lib"\\t\\t"${enable_slp_hostname_lib:-no}"
 
28702
echo -e "jdbc"\\t\\t\\t\\t"${enable_jdbc:-no}"
 
28703
echo -e "IPv6"\\t\\t\\t\\t"${enable_ipv6:-no}"
 
28704
echo -e "indications"\\t\\t\\t"${enable_indications}"
 
28705
echo -e "qualifierrep"\\t\\t\\t"${enable_qualifierrep:-no}"
 
28706
echo -e "Documentation"\\t\\t\\t"${enable_docs:-no}"
 
28707
echo -e "PAM authentication"\\t\\t"${enable_pam:-no}"
 
28708
echo -e "local connect only "\\t\\t"${enable_local_connect_only}"
26836
28709
echo -e "default instance properties"\\t"${enable_default_properties}"
26837
 
echo -e "PAM authentication"\\t"${enable_pam:-no}"
26838
 
echo -e "Documentation"\\t"${enable_docs:-no}"
26839
 
echo -e "IPv6"\\t"${enable_ipv6:-no}"
26840
 
echo ======================================================
 
28710
echo -e "uds"\\t\\t\\t\\t"${enable_uds:-no}"
 
28711
echo -e "tests"\\t\\t\\t\\t"${enable_tests:-no}"
 
28712
echo -e "debug"\\t\\t\\t\\t"${enable_debug:-no}"
 
28713
echo =================================================================
 
28714
echo
 
28715
echo "sfcb configuration complete.  you may now run 'make'"
 
28716
echo