~ubuntu-branches/ubuntu/trusty/protobuf/trusty-proposed

« back to all changes in this revision

Viewing changes to .pc/autogen.diff/configure

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2011-05-31 14:41:47 UTC
  • mfrom: (2.2.8 sid)
  • Revision ID: james.westby@ubuntu.com-20110531144147-s41g5fozgvyo462l
Tags: 2.4.0a-2ubuntu1
* Merge with Debian; remaining changes:
  - Fix linking with -lpthread.

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.61 for Protocol Buffers 2.3.0.
 
3
# Generated by GNU Autoconf 2.65 for Protocol Buffers 2.4.0a.
4
4
#
5
5
# Report bugs to <protobuf@googlegroups.com>.
6
6
#
 
7
#
7
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
 
10
# Inc.
 
11
#
 
12
#
9
13
# This configure script is free software; the Free Software Foundation
10
14
# gives unlimited permission to copy, distribute and modify it.
11
 
## --------------------- ##
12
 
## M4sh Initialization.  ##
13
 
## --------------------- ##
 
15
## -------------------- ##
 
16
## M4sh Initialization. ##
 
17
## -------------------- ##
14
18
 
15
19
# Be more Bourne compatible
16
20
DUALCASE=1; export DUALCASE # for MKS sh
17
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18
22
  emulate sh
19
23
  NULLCMD=:
20
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
24
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21
25
  # is contrary to our usage.  Disable this feature.
22
26
  alias -g '${1+"$@"}'='"$@"'
23
27
  setopt NO_GLOB_SUBST
24
28
else
25
 
  case `(set -o) 2>/dev/null` in
26
 
  *posix*) set -o posix ;;
 
29
  case `(set -o) 2>/dev/null` in #(
 
30
  *posix*) :
 
31
    set -o posix ;; #(
 
32
  *) :
 
33
     ;;
27
34
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
 
35
fi
 
36
 
 
37
 
 
38
as_nl='
 
39
'
 
40
export as_nl
 
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
46
# but without wasting forks for bash or zsh.
 
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
48
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
49
  as_echo='print -r --'
 
50
  as_echo_n='print -rn --'
 
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
52
  as_echo='printf %s\n'
 
53
  as_echo_n='printf %s'
 
54
else
 
55
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
56
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
57
    as_echo_n='/usr/ucb/echo -n'
 
58
  else
 
59
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
60
    as_echo_n_body='eval
 
61
      arg=$1;
 
62
      case $arg in #(
 
63
      *"$as_nl"*)
 
64
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
65
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
66
      esac;
 
67
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
68
    '
 
69
    export as_echo_n_body
 
70
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
71
  fi
 
72
  export as_echo_body
 
73
  as_echo='sh -c $as_echo_body as_echo'
 
74
fi
41
75
 
42
76
# The user is always right.
43
77
if test "${PATH_SEPARATOR+set}" != set; then
44
 
  echo "#! /bin/sh" >conf$$.sh
45
 
  echo  "exit 0"   >>conf$$.sh
46
 
  chmod +x conf$$.sh
47
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48
 
    PATH_SEPARATOR=';'
49
 
  else
50
 
    PATH_SEPARATOR=:
51
 
  fi
52
 
  rm -f conf$$.sh
53
 
fi
54
 
 
55
 
# Support unset when possible.
56
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57
 
  as_unset=unset
58
 
else
59
 
  as_unset=false
 
78
  PATH_SEPARATOR=:
 
79
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
80
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
81
      PATH_SEPARATOR=';'
 
82
  }
60
83
fi
61
84
 
62
85
 
65
88
# there to prevent editors from complaining about space-tab.
66
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67
90
# splitting by setting IFS to empty value.)
68
 
as_nl='
69
 
'
70
91
IFS=" ""        $as_nl"
71
92
 
72
93
# Find who we are.  Look in the path if we contain no directory separator.
73
 
case $0 in
 
94
case $0 in #((
74
95
  *[\\/]* ) as_myself=$0 ;;
75
96
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76
97
for as_dir in $PATH
77
98
do
78
99
  IFS=$as_save_IFS
79
100
  test -z "$as_dir" && as_dir=.
80
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81
 
done
 
101
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
102
  done
82
103
IFS=$as_save_IFS
83
104
 
84
105
     ;;
89
110
  as_myself=$0
90
111
fi
91
112
if test ! -f "$as_myself"; then
92
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93
 
  { (exit 1); exit 1; }
 
113
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
114
  exit 1
94
115
fi
95
116
 
96
 
# Work around bugs in pre-3.0 UWIN ksh.
97
 
for as_var in ENV MAIL MAILPATH
98
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
117
# Unset variables that we do not need and which cause bugs (e.g. in
 
118
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
119
# suppresses any "Segmentation fault" message there.  '((' could
 
120
# trigger a bug in pdksh 5.2.14.
 
121
for as_var in BASH_ENV ENV MAIL MAILPATH
 
122
do eval test x\${$as_var+set} = xset \
 
123
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
99
124
done
100
125
PS1='$ '
101
126
PS2='> '
102
127
PS4='+ '
103
128
 
104
129
# NLS nuisances.
105
 
for as_var in \
106
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108
 
  LC_TELEPHONE LC_TIME
109
 
do
110
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111
 
    eval $as_var=C; export $as_var
112
 
  else
113
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114
 
  fi
115
 
done
116
 
 
117
 
# Required to use basename.
118
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
119
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
120
 
  as_expr=expr
121
 
else
122
 
  as_expr=false
123
 
fi
124
 
 
125
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126
 
  as_basename=basename
127
 
else
128
 
  as_basename=false
129
 
fi
130
 
 
131
 
 
132
 
# Name of the executable.
133
 
as_me=`$as_basename -- "$0" ||
134
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135
 
         X"$0" : 'X\(//\)$' \| \
136
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137
 
echo X/"$0" |
138
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
139
 
            s//\1/
140
 
            q
141
 
          }
142
 
          /^X\/\(\/\/\)$/{
143
 
            s//\1/
144
 
            q
145
 
          }
146
 
          /^X\/\(\/\).*/{
147
 
            s//\1/
148
 
            q
149
 
          }
150
 
          s/.*/./; q'`
 
130
LC_ALL=C
 
131
export LC_ALL
 
132
LANGUAGE=C
 
133
export LANGUAGE
151
134
 
152
135
# CDPATH.
153
 
$as_unset CDPATH
154
 
 
 
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
155
137
 
156
138
if test "x$CONFIG_SHELL" = x; then
157
 
  if (eval ":") 2>/dev/null; then
 
139
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
140
  emulate sh
 
141
  NULLCMD=:
 
142
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
143
  # is contrary to our usage.  Disable this feature.
 
144
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
145
  setopt NO_GLOB_SUBST
 
146
else
 
147
  case \`(set -o) 2>/dev/null\` in #(
 
148
  *posix*) :
 
149
    set -o posix ;; #(
 
150
  *) :
 
151
     ;;
 
152
esac
 
153
fi
 
154
"
 
155
  as_required="as_fn_return () { (exit \$1); }
 
156
as_fn_success () { as_fn_return 0; }
 
157
as_fn_failure () { as_fn_return 1; }
 
158
as_fn_ret_success () { return 0; }
 
159
as_fn_ret_failure () { return 1; }
 
160
 
 
161
exitcode=0
 
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
167
 
 
168
else
 
169
  exitcode=1; echo positional parameters were not saved.
 
170
fi
 
171
test x\$exitcode = x0 || exit 1"
 
172
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
173
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
174
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
175
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
176
test \$(( 1 + 1 )) = 2 || exit 1"
 
177
  if (eval "$as_required") 2>/dev/null; then :
158
178
  as_have_required=yes
159
179
else
160
180
  as_have_required=no
161
181
fi
162
 
 
163
 
  if test $as_have_required = yes &&     (eval ":
164
 
(as_func_return () {
165
 
  (exit \$1)
166
 
}
167
 
as_func_success () {
168
 
  as_func_return 0
169
 
}
170
 
as_func_failure () {
171
 
  as_func_return 1
172
 
}
173
 
as_func_ret_success () {
174
 
  return 0
175
 
}
176
 
as_func_ret_failure () {
177
 
  return 1
178
 
}
179
 
 
180
 
exitcode=0
181
 
if as_func_success; then
182
 
  :
183
 
else
184
 
  exitcode=1
185
 
  echo as_func_success failed.
186
 
fi
187
 
 
188
 
if as_func_failure; then
189
 
  exitcode=1
190
 
  echo as_func_failure succeeded.
191
 
fi
192
 
 
193
 
if as_func_ret_success; then
194
 
  :
195
 
else
196
 
  exitcode=1
197
 
  echo as_func_ret_success failed.
198
 
fi
199
 
 
200
 
if as_func_ret_failure; then
201
 
  exitcode=1
202
 
  echo as_func_ret_failure succeeded.
203
 
fi
204
 
 
205
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206
 
  :
207
 
else
208
 
  exitcode=1
209
 
  echo positional parameters were not saved.
210
 
fi
211
 
 
212
 
test \$exitcode = 0) || { (exit 1); exit 1; }
213
 
 
214
 
(
215
 
  as_lineno_1=\$LINENO
216
 
  as_lineno_2=\$LINENO
217
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219
 
") 2> /dev/null; then
220
 
  :
221
 
else
222
 
  as_candidate_shells=
223
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
182
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
183
 
 
184
else
 
185
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
186
as_found=false
224
187
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225
188
do
226
189
  IFS=$as_save_IFS
227
190
  test -z "$as_dir" && as_dir=.
228
 
  case $as_dir in
 
191
  as_found=:
 
192
  case $as_dir in #(
229
193
         /*)
230
194
           for as_base in sh bash ksh sh5; do
231
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
195
             # Try only shells that exist, to save several forks.
 
196
             as_shell=$as_dir/$as_base
 
197
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
198
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
199
  CONFIG_SHELL=$as_shell as_have_required=yes
 
200
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
201
  break 2
 
202
fi
 
203
fi
232
204
           done;;
233
205
       esac
 
206
  as_found=false
234
207
done
 
208
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
209
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
210
  CONFIG_SHELL=$SHELL as_have_required=yes
 
211
fi; }
235
212
IFS=$as_save_IFS
236
213
 
237
214
 
238
 
      for as_shell in $as_candidate_shells $SHELL; do
239
 
         # Try only shells that exist, to save several forks.
240
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
242
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243
 
  emulate sh
244
 
  NULLCMD=:
245
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246
 
  # is contrary to our usage.  Disable this feature.
247
 
  alias -g '${1+"$@"}'='"$@"'
248
 
  setopt NO_GLOB_SUBST
249
 
else
250
 
  case `(set -o) 2>/dev/null` in
251
 
  *posix*) set -o posix ;;
252
 
esac
253
 
 
254
 
fi
255
 
 
256
 
 
257
 
:
258
 
_ASEOF
259
 
}; then
260
 
  CONFIG_SHELL=$as_shell
261
 
               as_have_required=yes
262
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
263
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
 
  emulate sh
265
 
  NULLCMD=:
266
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267
 
  # is contrary to our usage.  Disable this feature.
268
 
  alias -g '${1+"$@"}'='"$@"'
269
 
  setopt NO_GLOB_SUBST
270
 
else
271
 
  case `(set -o) 2>/dev/null` in
272
 
  *posix*) set -o posix ;;
273
 
esac
274
 
 
275
 
fi
276
 
 
277
 
 
278
 
:
279
 
(as_func_return () {
280
 
  (exit $1)
281
 
}
282
 
as_func_success () {
283
 
  as_func_return 0
284
 
}
285
 
as_func_failure () {
286
 
  as_func_return 1
287
 
}
288
 
as_func_ret_success () {
289
 
  return 0
290
 
}
291
 
as_func_ret_failure () {
292
 
  return 1
293
 
}
294
 
 
295
 
exitcode=0
296
 
if as_func_success; then
297
 
  :
298
 
else
299
 
  exitcode=1
300
 
  echo as_func_success failed.
301
 
fi
302
 
 
303
 
if as_func_failure; then
304
 
  exitcode=1
305
 
  echo as_func_failure succeeded.
306
 
fi
307
 
 
308
 
if as_func_ret_success; then
309
 
  :
310
 
else
311
 
  exitcode=1
312
 
  echo as_func_ret_success failed.
313
 
fi
314
 
 
315
 
if as_func_ret_failure; then
316
 
  exitcode=1
317
 
  echo as_func_ret_failure succeeded.
318
 
fi
319
 
 
320
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
321
 
  :
322
 
else
323
 
  exitcode=1
324
 
  echo positional parameters were not saved.
325
 
fi
326
 
 
327
 
test $exitcode = 0) || { (exit 1); exit 1; }
328
 
 
329
 
(
330
 
  as_lineno_1=$LINENO
331
 
  as_lineno_2=$LINENO
332
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
333
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
 
 
335
 
_ASEOF
336
 
}; then
337
 
  break
338
 
fi
339
 
 
340
 
fi
341
 
 
342
 
      done
343
 
 
344
 
      if test "x$CONFIG_SHELL" != x; then
345
 
  for as_var in BASH_ENV ENV
346
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347
 
        done
348
 
        export CONFIG_SHELL
349
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350
 
fi
351
 
 
352
 
 
353
 
    if test $as_have_required = no; then
354
 
  echo This script requires a shell more modern than all the
355
 
      echo shells that I found on your system.  Please install a
356
 
      echo modern shell, or manually run the script under such a
357
 
      echo shell if you do have one.
358
 
      { (exit 1); exit 1; }
359
 
fi
360
 
 
361
 
 
362
 
fi
363
 
 
364
 
fi
365
 
 
366
 
 
367
 
 
368
 
(eval "as_func_return () {
369
 
  (exit \$1)
370
 
}
371
 
as_func_success () {
372
 
  as_func_return 0
373
 
}
374
 
as_func_failure () {
375
 
  as_func_return 1
376
 
}
377
 
as_func_ret_success () {
378
 
  return 0
379
 
}
380
 
as_func_ret_failure () {
381
 
  return 1
382
 
}
383
 
 
384
 
exitcode=0
385
 
if as_func_success; then
386
 
  :
387
 
else
388
 
  exitcode=1
389
 
  echo as_func_success failed.
390
 
fi
391
 
 
392
 
if as_func_failure; then
393
 
  exitcode=1
394
 
  echo as_func_failure succeeded.
395
 
fi
396
 
 
397
 
if as_func_ret_success; then
398
 
  :
399
 
else
400
 
  exitcode=1
401
 
  echo as_func_ret_success failed.
402
 
fi
403
 
 
404
 
if as_func_ret_failure; then
405
 
  exitcode=1
406
 
  echo as_func_ret_failure succeeded.
407
 
fi
408
 
 
409
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410
 
  :
411
 
else
412
 
  exitcode=1
413
 
  echo positional parameters were not saved.
414
 
fi
415
 
 
416
 
test \$exitcode = 0") || {
417
 
  echo No shell found that supports shell functions.
418
 
  echo Please tell autoconf@gnu.org about your system,
419
 
  echo including any error possibly output before this
420
 
  echo message
421
 
}
422
 
 
423
 
 
424
 
 
425
 
  as_lineno_1=$LINENO
426
 
  as_lineno_2=$LINENO
427
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
428
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429
 
 
430
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
432
 
  # line-number line after each line using $LINENO; the second 'sed'
433
 
  # does the real work.  The second script uses 'N' to pair each
434
 
  # line-number line with the line containing $LINENO, and appends
435
 
  # trailing '-' during substitution so that $LINENO is not a special
436
 
  # case at line end.
437
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
439
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
215
      if test "x$CONFIG_SHELL" != x; then :
 
216
  # We cannot yet assume a decent shell, so we have to provide a
 
217
        # neutralization value for shells without unset; and this also
 
218
        # works around shells that cannot unset nonexistent variables.
 
219
        BASH_ENV=/dev/null
 
220
        ENV=/dev/null
 
221
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
222
        export CONFIG_SHELL
 
223
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
224
fi
 
225
 
 
226
    if test x$as_have_required = xno; then :
 
227
  $as_echo "$0: This script requires a shell more modern than all"
 
228
  $as_echo "$0: the shells that I found on your system."
 
229
  if test x${ZSH_VERSION+set} = xset ; then
 
230
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
231
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
232
  else
 
233
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
234
$0: protobuf@googlegroups.com about your system, including
 
235
$0: any error possibly output before this message. Then
 
236
$0: install a modern shell, or manually run the script
 
237
$0: under such a shell if you do have one."
 
238
  fi
 
239
  exit 1
 
240
fi
 
241
fi
 
242
fi
 
243
SHELL=${CONFIG_SHELL-/bin/sh}
 
244
export SHELL
 
245
# Unset more variables known to interfere with behavior of common tools.
 
246
CLICOLOR_FORCE= GREP_OPTIONS=
 
247
unset CLICOLOR_FORCE GREP_OPTIONS
 
248
 
 
249
## --------------------- ##
 
250
## M4sh Shell Functions. ##
 
251
## --------------------- ##
 
252
# as_fn_unset VAR
 
253
# ---------------
 
254
# Portably unset VAR.
 
255
as_fn_unset ()
 
256
{
 
257
  { eval $1=; unset $1;}
 
258
}
 
259
as_unset=as_fn_unset
 
260
 
 
261
# as_fn_set_status STATUS
 
262
# -----------------------
 
263
# Set $? to STATUS, without forking.
 
264
as_fn_set_status ()
 
265
{
 
266
  return $1
 
267
} # as_fn_set_status
 
268
 
 
269
# as_fn_exit STATUS
 
270
# -----------------
 
271
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
272
as_fn_exit ()
 
273
{
 
274
  set +e
 
275
  as_fn_set_status $1
 
276
  exit $1
 
277
} # as_fn_exit
 
278
 
 
279
# as_fn_mkdir_p
 
280
# -------------
 
281
# Create "$as_dir" as a directory, including parents if necessary.
 
282
as_fn_mkdir_p ()
 
283
{
 
284
 
 
285
  case $as_dir in #(
 
286
  -*) as_dir=./$as_dir;;
 
287
  esac
 
288
  test -d "$as_dir" || eval $as_mkdir_p || {
 
289
    as_dirs=
 
290
    while :; do
 
291
      case $as_dir in #(
 
292
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
293
      *) as_qdir=$as_dir;;
 
294
      esac
 
295
      as_dirs="'$as_qdir' $as_dirs"
 
296
      as_dir=`$as_dirname -- "$as_dir" ||
 
297
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
298
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
299
         X"$as_dir" : 'X\(//\)$' \| \
 
300
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
301
$as_echo X"$as_dir" |
 
302
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
303
            s//\1/
 
304
            q
 
305
          }
 
306
          /^X\(\/\/\)[^/].*/{
 
307
            s//\1/
 
308
            q
 
309
          }
 
310
          /^X\(\/\/\)$/{
 
311
            s//\1/
 
312
            q
 
313
          }
 
314
          /^X\(\/\).*/{
 
315
            s//\1/
 
316
            q
 
317
          }
 
318
          s/.*/./; q'`
 
319
      test -d "$as_dir" && break
 
320
    done
 
321
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
322
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
323
 
 
324
 
 
325
} # as_fn_mkdir_p
 
326
# as_fn_append VAR VALUE
 
327
# ----------------------
 
328
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
329
# advantage of any shell optimizations that allow amortized linear growth over
 
330
# repeated appends, instead of the typical quadratic growth present in naive
 
331
# implementations.
 
332
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
333
  eval 'as_fn_append ()
 
334
  {
 
335
    eval $1+=\$2
 
336
  }'
 
337
else
 
338
  as_fn_append ()
 
339
  {
 
340
    eval $1=\$$1\$2
 
341
  }
 
342
fi # as_fn_append
 
343
 
 
344
# as_fn_arith ARG...
 
345
# ------------------
 
346
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
347
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
348
# must be portable across $(()) and expr.
 
349
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
350
  eval 'as_fn_arith ()
 
351
  {
 
352
    as_val=$(( $* ))
 
353
  }'
 
354
else
 
355
  as_fn_arith ()
 
356
  {
 
357
    as_val=`expr "$@" || test $? -eq 1`
 
358
  }
 
359
fi # as_fn_arith
 
360
 
 
361
 
 
362
# as_fn_error ERROR [LINENO LOG_FD]
 
363
# ---------------------------------
 
364
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
365
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
366
# script with status $?, using 1 if that was 0.
 
367
as_fn_error ()
 
368
{
 
369
  as_status=$?; test $as_status -eq 0 && as_status=1
 
370
  if test "$3"; then
 
371
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
372
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
373
  fi
 
374
  $as_echo "$as_me: error: $1" >&2
 
375
  as_fn_exit $as_status
 
376
} # as_fn_error
 
377
 
 
378
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
379
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
380
  as_expr=expr
 
381
else
 
382
  as_expr=false
 
383
fi
 
384
 
 
385
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
386
  as_basename=basename
 
387
else
 
388
  as_basename=false
 
389
fi
 
390
 
 
391
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
392
  as_dirname=dirname
 
393
else
 
394
  as_dirname=false
 
395
fi
 
396
 
 
397
as_me=`$as_basename -- "$0" ||
 
398
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
399
         X"$0" : 'X\(//\)$' \| \
 
400
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
401
$as_echo X/"$0" |
 
402
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
403
            s//\1/
 
404
            q
 
405
          }
 
406
          /^X\/\(\/\/\)$/{
 
407
            s//\1/
 
408
            q
 
409
          }
 
410
          /^X\/\(\/\).*/{
 
411
            s//\1/
 
412
            q
 
413
          }
 
414
          s/.*/./; q'`
 
415
 
 
416
# Avoid depending upon Character Ranges.
 
417
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
418
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
419
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
420
as_cr_digits='0123456789'
 
421
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
422
 
 
423
 
 
424
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
425
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
426
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
427
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
428
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
440
429
  sed -n '
441
430
    p
442
431
    /[$]LINENO/=
453
442
      s/-\n.*//
454
443
    ' >$as_me.lineno &&
455
444
  chmod +x "$as_me.lineno" ||
456
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457
 
   { (exit 1); exit 1; }; }
 
445
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
458
446
 
459
447
  # Don't try to exec as it changes $[0], causing all sort of problems
460
448
  # (the dirname of $[0] is not the place where we might find the
464
452
  exit
465
453
}
466
454
 
467
 
 
468
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469
 
  as_dirname=dirname
470
 
else
471
 
  as_dirname=false
472
 
fi
473
 
 
474
455
ECHO_C= ECHO_N= ECHO_T=
475
 
case `echo -n x` in
 
456
case `echo -n x` in #(((((
476
457
-n*)
477
 
  case `echo 'x\c'` in
 
458
  case `echo 'xy\c'` in
478
459
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
479
 
  *)   ECHO_C='\c';;
 
460
  xy)  ECHO_C='\c';;
 
461
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
462
       ECHO_T=' ';;
480
463
  esac;;
481
464
*)
482
465
  ECHO_N='-n';;
483
466
esac
484
467
 
485
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
486
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
487
 
  as_expr=expr
488
 
else
489
 
  as_expr=false
490
 
fi
491
 
 
492
468
rm -f conf$$ conf$$.exe conf$$.file
493
469
if test -d conf$$.dir; then
494
470
  rm -f conf$$.dir/conf$$.file
495
471
else
496
472
  rm -f conf$$.dir
497
 
  mkdir conf$$.dir
 
473
  mkdir conf$$.dir 2>/dev/null
498
474
fi
499
 
echo >conf$$.file
500
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
501
 
  as_ln_s='ln -s'
502
 
  # ... but there are two gotchas:
503
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505
 
  # In both cases, we have to default to `cp -p'.
506
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
475
if (echo >conf$$.file) 2>/dev/null; then
 
476
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
477
    as_ln_s='ln -s'
 
478
    # ... but there are two gotchas:
 
479
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
480
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
481
    # In both cases, we have to default to `cp -p'.
 
482
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
483
      as_ln_s='cp -p'
 
484
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
485
    as_ln_s=ln
 
486
  else
507
487
    as_ln_s='cp -p'
508
 
elif ln conf$$.file conf$$ 2>/dev/null; then
509
 
  as_ln_s=ln
 
488
  fi
510
489
else
511
490
  as_ln_s='cp -p'
512
491
fi
514
493
rmdir conf$$.dir 2>/dev/null
515
494
 
516
495
if mkdir -p . 2>/dev/null; then
517
 
  as_mkdir_p=:
 
496
  as_mkdir_p='mkdir -p "$as_dir"'
518
497
else
519
498
  test -d ./-p && rmdir ./-p
520
499
  as_mkdir_p=false
531
510
  as_test_x='
532
511
    eval sh -c '\''
533
512
      if test -d "$1"; then
534
 
        test -d "$1/.";
 
513
        test -d "$1/.";
535
514
      else
536
 
        case $1 in
537
 
        -*)set "./$1";;
 
515
        case $1 in #(
 
516
        -*)set "./$1";;
538
517
        esac;
539
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
518
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
540
519
        ???[sx]*):;;*)false;;esac;fi
541
520
    '\'' sh
542
521
  '
551
530
 
552
531
 
553
532
 
554
 
 
555
533
# Check that we are running under the correct shell.
556
534
SHELL=${CONFIG_SHELL-/bin/sh}
557
535
 
700
678
 
701
679
 
702
680
 
703
 
exec 7<&0 </dev/null 6>&1
 
681
test -n "$DJDIR" || exec 7<&0 </dev/null
 
682
exec 6>&1
704
683
 
705
684
# Name of the host.
706
685
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
718
697
subdirs=
719
698
MFLAGS=
720
699
MAKEFLAGS=
721
 
SHELL=${CONFIG_SHELL-/bin/sh}
722
700
 
723
701
# Identity of this package.
724
702
PACKAGE_NAME='Protocol Buffers'
725
703
PACKAGE_TARNAME='protobuf'
726
 
PACKAGE_VERSION='2.3.0'
727
 
PACKAGE_STRING='Protocol Buffers 2.3.0'
 
704
PACKAGE_VERSION='2.4.0a'
 
705
PACKAGE_STRING='Protocol Buffers 2.4.0a'
728
706
PACKAGE_BUGREPORT='protobuf@googlegroups.com'
 
707
PACKAGE_URL=''
729
708
 
730
709
ac_unique_file="src/google/protobuf/message.cc"
731
710
# Factoring default headers for most tests.
764
743
# include <unistd.h>
765
744
#endif"
766
745
 
767
 
ac_subst_vars='SHELL
 
746
enable_option_checking=no
 
747
ac_subst_vars='am__EXEEXT_FALSE
 
748
am__EXEEXT_TRUE
 
749
LTLIBOBJS
 
750
subdirs
 
751
PTHREAD_CFLAGS
 
752
PTHREAD_LIBS
 
753
PTHREAD_CC
 
754
acx_pthread_config
 
755
USE_EXTERNAL_PROTOC_FALSE
 
756
USE_EXTERNAL_PROTOC_TRUE
 
757
PROTOC
 
758
HAVE_ZLIB_FALSE
 
759
HAVE_ZLIB_TRUE
 
760
POW_LIB
 
761
LIBOBJS
 
762
OTOOL64
 
763
OTOOL
 
764
LIPO
 
765
NMEDIT
 
766
DSYMUTIL
 
767
lt_ECHO
 
768
RANLIB
 
769
AR
 
770
OBJDUMP
 
771
LN_S
 
772
NM
 
773
ac_ct_DUMPBIN
 
774
DUMPBIN
 
775
LD
 
776
FGREP
 
777
SED
 
778
LIBTOOL
 
779
ISAINFO
 
780
PROTOBUF_OPT_FLAG
 
781
GCC_FALSE
 
782
GCC_TRUE
 
783
EGREP
 
784
GREP
 
785
CXXCPP
 
786
am__fastdepCXX_FALSE
 
787
am__fastdepCXX_TRUE
 
788
CXXDEPMODE
 
789
ac_ct_CXX
 
790
CXXFLAGS
 
791
CXX
 
792
am__fastdepCC_FALSE
 
793
am__fastdepCC_TRUE
 
794
CCDEPMODE
 
795
AMDEPBACKSLASH
 
796
AMDEP_FALSE
 
797
AMDEP_TRUE
 
798
am__quote
 
799
am__include
 
800
DEPDIR
 
801
OBJEXT
 
802
EXEEXT
 
803
ac_ct_CC
 
804
CPPFLAGS
 
805
LDFLAGS
 
806
CFLAGS
 
807
CC
 
808
am__untar
 
809
am__tar
 
810
AMTAR
 
811
am__leading_dot
 
812
SET_MAKE
 
813
AWK
 
814
mkdir_p
 
815
MKDIR_P
 
816
INSTALL_STRIP_PROGRAM
 
817
STRIP
 
818
install_sh
 
819
MAKEINFO
 
820
AUTOHEADER
 
821
AUTOMAKE
 
822
AUTOCONF
 
823
ACLOCAL
 
824
VERSION
 
825
PACKAGE
 
826
CYGPATH_W
 
827
am__isrc
 
828
INSTALL_DATA
 
829
INSTALL_SCRIPT
 
830
INSTALL_PROGRAM
 
831
target_os
 
832
target_vendor
 
833
target_cpu
 
834
target
 
835
host_os
 
836
host_vendor
 
837
host_cpu
 
838
host
 
839
build_os
 
840
build_vendor
 
841
build_cpu
 
842
build
 
843
target_alias
 
844
host_alias
 
845
build_alias
 
846
LIBS
 
847
ECHO_T
 
848
ECHO_N
 
849
ECHO_C
 
850
DEFS
 
851
mandir
 
852
localedir
 
853
libdir
 
854
psdir
 
855
pdfdir
 
856
dvidir
 
857
htmldir
 
858
infodir
 
859
docdir
 
860
oldincludedir
 
861
includedir
 
862
localstatedir
 
863
sharedstatedir
 
864
sysconfdir
 
865
datadir
 
866
datarootdir
 
867
libexecdir
 
868
sbindir
 
869
bindir
 
870
program_transform_name
 
871
prefix
 
872
exec_prefix
 
873
PACKAGE_URL
 
874
PACKAGE_BUGREPORT
 
875
PACKAGE_STRING
 
876
PACKAGE_VERSION
 
877
PACKAGE_TARNAME
 
878
PACKAGE_NAME
768
879
PATH_SEPARATOR
769
 
PACKAGE_NAME
770
 
PACKAGE_TARNAME
771
 
PACKAGE_VERSION
772
 
PACKAGE_STRING
773
 
PACKAGE_BUGREPORT
774
 
exec_prefix
775
 
prefix
776
 
program_transform_name
777
 
bindir
778
 
sbindir
779
 
libexecdir
780
 
datarootdir
781
 
datadir
782
 
sysconfdir
783
 
sharedstatedir
784
 
localstatedir
785
 
includedir
786
 
oldincludedir
787
 
docdir
788
 
infodir
789
 
htmldir
790
 
dvidir
791
 
pdfdir
792
 
psdir
793
 
libdir
794
 
localedir
795
 
mandir
796
 
DEFS
797
 
ECHO_C
798
 
ECHO_N
799
 
ECHO_T
800
 
LIBS
801
 
build_alias
802
 
host_alias
803
 
target_alias
804
 
build
805
 
build_cpu
806
 
build_vendor
807
 
build_os
808
 
host
809
 
host_cpu
810
 
host_vendor
811
 
host_os
812
 
target
813
 
target_cpu
814
 
target_vendor
815
 
target_os
816
 
INSTALL_PROGRAM
817
 
INSTALL_SCRIPT
818
 
INSTALL_DATA
819
 
am__isrc
820
 
CYGPATH_W
821
 
PACKAGE
822
 
VERSION
823
 
ACLOCAL
824
 
AUTOCONF
825
 
AUTOMAKE
826
 
AUTOHEADER
827
 
MAKEINFO
828
 
install_sh
829
 
STRIP
830
 
INSTALL_STRIP_PROGRAM
831
 
mkdir_p
832
 
AWK
833
 
SET_MAKE
834
 
am__leading_dot
835
 
AMTAR
836
 
am__tar
837
 
am__untar
838
 
CC
839
 
CFLAGS
840
 
LDFLAGS
841
 
CPPFLAGS
842
 
ac_ct_CC
843
 
EXEEXT
844
 
OBJEXT
845
 
DEPDIR
846
 
am__include
847
 
am__quote
848
 
AMDEP_TRUE
849
 
AMDEP_FALSE
850
 
AMDEPBACKSLASH
851
 
CCDEPMODE
852
 
am__fastdepCC_TRUE
853
 
am__fastdepCC_FALSE
854
 
CXX
855
 
CXXFLAGS
856
 
ac_ct_CXX
857
 
CXXDEPMODE
858
 
am__fastdepCXX_TRUE
859
 
am__fastdepCXX_FALSE
860
 
CXXCPP
861
 
GREP
862
 
EGREP
863
 
GCC_TRUE
864
 
GCC_FALSE
865
 
PROTOBUF_OPT_FLAG
866
 
ISAINFO
867
 
LIBTOOL
868
 
SED
869
 
FGREP
870
 
LD
871
 
DUMPBIN
872
 
ac_ct_DUMPBIN
873
 
NM
874
 
LN_S
875
 
AR
876
 
RANLIB
877
 
lt_ECHO
878
 
DSYMUTIL
879
 
NMEDIT
880
 
LIPO
881
 
OTOOL
882
 
OTOOL64
883
 
LIBOBJS
884
 
POW_LIB
885
 
HAVE_ZLIB_TRUE
886
 
HAVE_ZLIB_FALSE
887
 
PROTOC
888
 
USE_EXTERNAL_PROTOC_TRUE
889
 
USE_EXTERNAL_PROTOC_FALSE
890
 
acx_pthread_config
891
 
PTHREAD_CC
892
 
PTHREAD_LIBS
893
 
PTHREAD_CFLAGS
894
 
subdirs
895
 
LTLIBOBJS'
 
880
SHELL'
896
881
ac_subst_files=''
 
882
ac_user_opts='
 
883
enable_option_checking
 
884
with_zlib
 
885
with_protoc
 
886
enable_dependency_tracking
 
887
enable_64bit_solaris
 
888
enable_shared
 
889
enable_static
 
890
with_pic
 
891
enable_fast_install
 
892
with_gnu_ld
 
893
enable_libtool_lock
 
894
'
897
895
      ac_precious_vars='build_alias
898
896
host_alias
899
897
target_alias
911
909
# Initialize some variables set by options.
912
910
ac_init_help=
913
911
ac_init_version=false
 
912
ac_unrecognized_opts=
 
913
ac_unrecognized_sep=
914
914
# The variables have the same names as the options, with
915
915
# dashes changed to underlines.
916
916
cache_file=/dev/null
1009
1009
    datarootdir=$ac_optarg ;;
1010
1010
 
1011
1011
  -disable-* | --disable-*)
1012
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1012
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1013
1013
    # Reject names that are not valid shell variable names.
1014
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1015
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1016
 
   { (exit 1); exit 1; }; }
1017
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1018
 
    eval enable_$ac_feature=no ;;
 
1014
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1015
      as_fn_error "invalid feature name: $ac_useropt"
 
1016
    ac_useropt_orig=$ac_useropt
 
1017
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1018
    case $ac_user_opts in
 
1019
      *"
 
1020
"enable_$ac_useropt"
 
1021
"*) ;;
 
1022
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1023
         ac_unrecognized_sep=', ';;
 
1024
    esac
 
1025
    eval enable_$ac_useropt=no ;;
1019
1026
 
1020
1027
  -docdir | --docdir | --docdi | --doc | --do)
1021
1028
    ac_prev=docdir ;;
1028
1035
    dvidir=$ac_optarg ;;
1029
1036
 
1030
1037
  -enable-* | --enable-*)
1031
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1038
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1032
1039
    # Reject names that are not valid shell variable names.
1033
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1034
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1035
 
   { (exit 1); exit 1; }; }
1036
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1037
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
1040
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1041
      as_fn_error "invalid feature name: $ac_useropt"
 
1042
    ac_useropt_orig=$ac_useropt
 
1043
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1044
    case $ac_user_opts in
 
1045
      *"
 
1046
"enable_$ac_useropt"
 
1047
"*) ;;
 
1048
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1049
         ac_unrecognized_sep=', ';;
 
1050
    esac
 
1051
    eval enable_$ac_useropt=\$ac_optarg ;;
1038
1052
 
1039
1053
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1040
1054
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1225
1239
    ac_init_version=: ;;
1226
1240
 
1227
1241
  -with-* | --with-*)
1228
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1242
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1229
1243
    # Reject names that are not valid shell variable names.
1230
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1231
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1232
 
   { (exit 1); exit 1; }; }
1233
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1234
 
    eval with_$ac_package=\$ac_optarg ;;
 
1244
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1245
      as_fn_error "invalid package name: $ac_useropt"
 
1246
    ac_useropt_orig=$ac_useropt
 
1247
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1248
    case $ac_user_opts in
 
1249
      *"
 
1250
"with_$ac_useropt"
 
1251
"*) ;;
 
1252
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1253
         ac_unrecognized_sep=', ';;
 
1254
    esac
 
1255
    eval with_$ac_useropt=\$ac_optarg ;;
1235
1256
 
1236
1257
  -without-* | --without-*)
1237
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1258
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1238
1259
    # Reject names that are not valid shell variable names.
1239
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1240
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1241
 
   { (exit 1); exit 1; }; }
1242
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1243
 
    eval with_$ac_package=no ;;
 
1260
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1261
      as_fn_error "invalid package name: $ac_useropt"
 
1262
    ac_useropt_orig=$ac_useropt
 
1263
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1264
    case $ac_user_opts in
 
1265
      *"
 
1266
"with_$ac_useropt"
 
1267
"*) ;;
 
1268
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1269
         ac_unrecognized_sep=', ';;
 
1270
    esac
 
1271
    eval with_$ac_useropt=no ;;
1244
1272
 
1245
1273
  --x)
1246
1274
    # Obsolete; use --with-x.
1260
1288
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1261
1289
    x_libraries=$ac_optarg ;;
1262
1290
 
1263
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1264
 
Try \`$0 --help' for more information." >&2
1265
 
   { (exit 1); exit 1; }; }
 
1291
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1292
Try \`$0 --help' for more information."
1266
1293
    ;;
1267
1294
 
1268
1295
  *=*)
1269
1296
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1270
1297
    # Reject names that are not valid shell variable names.
1271
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1272
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1273
 
   { (exit 1); exit 1; }; }
 
1298
    case $ac_envvar in #(
 
1299
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1300
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1301
    esac
1274
1302
    eval $ac_envvar=\$ac_optarg
1275
1303
    export $ac_envvar ;;
1276
1304
 
1277
1305
  *)
1278
1306
    # FIXME: should be removed in autoconf 3.0.
1279
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1307
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1280
1308
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1281
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1309
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1282
1310
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1283
1311
    ;;
1284
1312
 
1287
1315
 
1288
1316
if test -n "$ac_prev"; then
1289
1317
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1290
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
1291
 
   { (exit 1); exit 1; }; }
1292
 
fi
1293
 
 
1294
 
# Be sure to have absolute directory names.
 
1318
  as_fn_error "missing argument to $ac_option"
 
1319
fi
 
1320
 
 
1321
if test -n "$ac_unrecognized_opts"; then
 
1322
  case $enable_option_checking in
 
1323
    no) ;;
 
1324
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1325
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1326
  esac
 
1327
fi
 
1328
 
 
1329
# Check all directory arguments for consistency.
1295
1330
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1296
1331
                datadir sysconfdir sharedstatedir localstatedir includedir \
1297
1332
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1298
1333
                libdir localedir mandir
1299
1334
do
1300
1335
  eval ac_val=\$$ac_var
 
1336
  # Remove trailing slashes.
 
1337
  case $ac_val in
 
1338
    */ )
 
1339
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1340
      eval $ac_var=\$ac_val;;
 
1341
  esac
 
1342
  # Be sure to have absolute directory names.
1301
1343
  case $ac_val in
1302
1344
    [\\/$]* | ?:[\\/]* )  continue;;
1303
1345
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1304
1346
  esac
1305
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1306
 
   { (exit 1); exit 1; }; }
 
1347
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1307
1348
done
1308
1349
 
1309
1350
# There might be people who depend on the old broken behavior: `$host'
1317
1358
if test "x$host_alias" != x; then
1318
1359
  if test "x$build_alias" = x; then
1319
1360
    cross_compiling=maybe
1320
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1361
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1321
1362
    If a cross compiler is detected then cross compile mode will be used." >&2
1322
1363
  elif test "x$build_alias" != "x$host_alias"; then
1323
1364
    cross_compiling=yes
1333
1374
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1334
1375
ac_ls_di=`ls -di .` &&
1335
1376
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1336
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
1337
 
   { (exit 1); exit 1; }; }
 
1377
  as_fn_error "working directory cannot be determined"
1338
1378
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1339
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1340
 
   { (exit 1); exit 1; }; }
 
1379
  as_fn_error "pwd does not report name of working directory"
1341
1380
 
1342
1381
 
1343
1382
# Find the source files, if location was not specified.
1344
1383
if test -z "$srcdir"; then
1345
1384
  ac_srcdir_defaulted=yes
1346
1385
  # Try the directory containing this script, then the parent directory.
1347
 
  ac_confdir=`$as_dirname -- "$0" ||
1348
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1349
 
         X"$0" : 'X\(//\)[^/]' \| \
1350
 
         X"$0" : 'X\(//\)$' \| \
1351
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1352
 
echo X"$0" |
 
1386
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1387
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1388
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1389
         X"$as_myself" : 'X\(//\)$' \| \
 
1390
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1391
$as_echo X"$as_myself" |
1353
1392
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1354
1393
            s//\1/
1355
1394
            q
1376
1415
fi
1377
1416
if test ! -r "$srcdir/$ac_unique_file"; then
1378
1417
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1379
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1380
 
   { (exit 1); exit 1; }; }
 
1418
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1381
1419
fi
1382
1420
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1383
1421
ac_abs_confdir=`(
1384
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1385
 
   { (exit 1); exit 1; }; }
 
1422
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1386
1423
        pwd)`
1387
1424
# When building in place, set srcdir=.
1388
1425
if test "$ac_abs_confdir" = "$ac_pwd"; then
1408
1445
  # Omit some internal or obsolete options to make the list less imposing.
1409
1446
  # This message is too long to be a string in the A/UX 3.1 sh.
1410
1447
  cat <<_ACEOF
1411
 
\`configure' configures Protocol Buffers 2.3.0 to adapt to many kinds of systems.
 
1448
\`configure' configures Protocol Buffers 2.4.0a to adapt to many kinds of systems.
1412
1449
 
1413
1450
Usage: $0 [OPTION]... [VAR=VALUE]...
1414
1451
 
1430
1467
 
1431
1468
Installation directories:
1432
1469
  --prefix=PREFIX         install architecture-independent files in PREFIX
1433
 
                          [$ac_default_prefix]
 
1470
                          [$ac_default_prefix]
1434
1471
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1435
 
                          [PREFIX]
 
1472
                          [PREFIX]
1436
1473
 
1437
1474
By default, \`make install' will install all the files in
1438
1475
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1442
1479
For better control, use the options below.
1443
1480
 
1444
1481
Fine tuning of the installation directories:
1445
 
  --bindir=DIR           user executables [EPREFIX/bin]
1446
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1447
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1448
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1449
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1450
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1451
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1452
 
  --includedir=DIR       C header files [PREFIX/include]
1453
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1454
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1455
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1456
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1457
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1458
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1459
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/protobuf]
1460
 
  --htmldir=DIR          html documentation [DOCDIR]
1461
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1462
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1463
 
  --psdir=DIR            ps documentation [DOCDIR]
 
1482
  --bindir=DIR            user executables [EPREFIX/bin]
 
1483
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1484
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1485
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1486
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1487
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1488
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1489
  --includedir=DIR        C header files [PREFIX/include]
 
1490
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1491
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1492
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1493
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1494
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1495
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1496
  --docdir=DIR            documentation root [DATAROOTDIR/doc/protobuf]
 
1497
  --htmldir=DIR           html documentation [DOCDIR]
 
1498
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1499
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1500
  --psdir=DIR             ps documentation [DOCDIR]
1464
1501
_ACEOF
1465
1502
 
1466
1503
  cat <<\_ACEOF
1479
1516
 
1480
1517
if test -n "$ac_init_help"; then
1481
1518
  case $ac_init_help in
1482
 
     short | recursive ) echo "Configuration of Protocol Buffers 2.3.0:";;
 
1519
     short | recursive ) echo "Configuration of Protocol Buffers 2.4.0a:";;
1483
1520
   esac
1484
1521
  cat <<\_ACEOF
1485
1522
 
1486
1523
Optional Features:
 
1524
  --disable-option-checking  ignore unrecognized --enable/--with options
1487
1525
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1488
1526
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1489
1527
  --disable-dependency-tracking  speeds up one-time build
1513
1551
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1514
1552
              nonstandard directory <lib dir>
1515
1553
  LIBS        libraries to pass to the linker, e.g. -l<library>
1516
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1554
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1517
1555
              you have headers in a nonstandard directory <include dir>
1518
1556
  CXX         C++ compiler command
1519
1557
  CXXFLAGS    C++ compiler flags
1530
1568
if test "$ac_init_help" = "recursive"; then
1531
1569
  # If there are subdirs, report their specific --help.
1532
1570
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1533
 
    test -d "$ac_dir" || continue
 
1571
    test -d "$ac_dir" ||
 
1572
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1573
      continue
1534
1574
    ac_builddir=.
1535
1575
 
1536
1576
case "$ac_dir" in
1537
1577
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1538
1578
*)
1539
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1579
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1540
1580
  # A ".." for each directory in $ac_dir_suffix.
1541
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1581
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1542
1582
  case $ac_top_builddir_sub in
1543
1583
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1544
1584
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1574
1614
      echo &&
1575
1615
      $SHELL "$ac_srcdir/configure" --help=recursive
1576
1616
    else
1577
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1617
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1578
1618
    fi || ac_status=$?
1579
1619
    cd "$ac_pwd" || { ac_status=$?; break; }
1580
1620
  done
1583
1623
test -n "$ac_init_help" && exit $ac_status
1584
1624
if $ac_init_version; then
1585
1625
  cat <<\_ACEOF
1586
 
Protocol Buffers configure 2.3.0
1587
 
generated by GNU Autoconf 2.61
 
1626
Protocol Buffers configure 2.4.0a
 
1627
generated by GNU Autoconf 2.65
1588
1628
 
1589
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1590
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1629
Copyright (C) 2009 Free Software Foundation, Inc.
1591
1630
This configure script is free software; the Free Software Foundation
1592
1631
gives unlimited permission to copy, distribute and modify it.
1593
1632
_ACEOF
1594
1633
  exit
1595
1634
fi
 
1635
 
 
1636
## ------------------------ ##
 
1637
## Autoconf initialization. ##
 
1638
## ------------------------ ##
 
1639
 
 
1640
# ac_fn_c_try_compile LINENO
 
1641
# --------------------------
 
1642
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1643
ac_fn_c_try_compile ()
 
1644
{
 
1645
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1646
  rm -f conftest.$ac_objext
 
1647
  if { { ac_try="$ac_compile"
 
1648
case "(($ac_try" in
 
1649
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1650
  *) ac_try_echo=$ac_try;;
 
1651
esac
 
1652
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1653
$as_echo "$ac_try_echo"; } >&5
 
1654
  (eval "$ac_compile") 2>conftest.err
 
1655
  ac_status=$?
 
1656
  if test -s conftest.err; then
 
1657
    grep -v '^ *+' conftest.err >conftest.er1
 
1658
    cat conftest.er1 >&5
 
1659
    mv -f conftest.er1 conftest.err
 
1660
  fi
 
1661
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1662
  test $ac_status = 0; } && {
 
1663
         test -z "$ac_c_werror_flag" ||
 
1664
         test ! -s conftest.err
 
1665
       } && test -s conftest.$ac_objext; then :
 
1666
  ac_retval=0
 
1667
else
 
1668
  $as_echo "$as_me: failed program was:" >&5
 
1669
sed 's/^/| /' conftest.$ac_ext >&5
 
1670
 
 
1671
        ac_retval=1
 
1672
fi
 
1673
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1674
  as_fn_set_status $ac_retval
 
1675
 
 
1676
} # ac_fn_c_try_compile
 
1677
 
 
1678
# ac_fn_cxx_try_compile LINENO
 
1679
# ----------------------------
 
1680
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1681
ac_fn_cxx_try_compile ()
 
1682
{
 
1683
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1684
  rm -f conftest.$ac_objext
 
1685
  if { { ac_try="$ac_compile"
 
1686
case "(($ac_try" in
 
1687
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1688
  *) ac_try_echo=$ac_try;;
 
1689
esac
 
1690
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1691
$as_echo "$ac_try_echo"; } >&5
 
1692
  (eval "$ac_compile") 2>conftest.err
 
1693
  ac_status=$?
 
1694
  if test -s conftest.err; then
 
1695
    grep -v '^ *+' conftest.err >conftest.er1
 
1696
    cat conftest.er1 >&5
 
1697
    mv -f conftest.er1 conftest.err
 
1698
  fi
 
1699
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1700
  test $ac_status = 0; } && {
 
1701
         test -z "$ac_cxx_werror_flag" ||
 
1702
         test ! -s conftest.err
 
1703
       } && test -s conftest.$ac_objext; then :
 
1704
  ac_retval=0
 
1705
else
 
1706
  $as_echo "$as_me: failed program was:" >&5
 
1707
sed 's/^/| /' conftest.$ac_ext >&5
 
1708
 
 
1709
        ac_retval=1
 
1710
fi
 
1711
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1712
  as_fn_set_status $ac_retval
 
1713
 
 
1714
} # ac_fn_cxx_try_compile
 
1715
 
 
1716
# ac_fn_cxx_try_cpp LINENO
 
1717
# ------------------------
 
1718
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1719
ac_fn_cxx_try_cpp ()
 
1720
{
 
1721
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1722
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1723
case "(($ac_try" in
 
1724
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1725
  *) ac_try_echo=$ac_try;;
 
1726
esac
 
1727
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1728
$as_echo "$ac_try_echo"; } >&5
 
1729
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1730
  ac_status=$?
 
1731
  if test -s conftest.err; then
 
1732
    grep -v '^ *+' conftest.err >conftest.er1
 
1733
    cat conftest.er1 >&5
 
1734
    mv -f conftest.er1 conftest.err
 
1735
  fi
 
1736
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1737
  test $ac_status = 0; } >/dev/null && {
 
1738
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
1739
         test ! -s conftest.err
 
1740
       }; then :
 
1741
  ac_retval=0
 
1742
else
 
1743
  $as_echo "$as_me: failed program was:" >&5
 
1744
sed 's/^/| /' conftest.$ac_ext >&5
 
1745
 
 
1746
    ac_retval=1
 
1747
fi
 
1748
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1749
  as_fn_set_status $ac_retval
 
1750
 
 
1751
} # ac_fn_cxx_try_cpp
 
1752
 
 
1753
# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1754
# ---------------------------------------------------------
 
1755
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1756
# the include files in INCLUDES and setting the cache variable VAR
 
1757
# accordingly.
 
1758
ac_fn_cxx_check_header_mongrel ()
 
1759
{
 
1760
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1761
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1762
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1763
$as_echo_n "checking for $2... " >&6; }
 
1764
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1765
  $as_echo_n "(cached) " >&6
 
1766
fi
 
1767
eval ac_res=\$$3
 
1768
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1769
$as_echo "$ac_res" >&6; }
 
1770
else
 
1771
  # Is the header compilable?
 
1772
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
1773
$as_echo_n "checking $2 usability... " >&6; }
 
1774
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1775
/* end confdefs.h.  */
 
1776
$4
 
1777
#include <$2>
 
1778
_ACEOF
 
1779
if ac_fn_cxx_try_compile "$LINENO"; then :
 
1780
  ac_header_compiler=yes
 
1781
else
 
1782
  ac_header_compiler=no
 
1783
fi
 
1784
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1785
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
1786
$as_echo "$ac_header_compiler" >&6; }
 
1787
 
 
1788
# Is the header present?
 
1789
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
1790
$as_echo_n "checking $2 presence... " >&6; }
 
1791
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1792
/* end confdefs.h.  */
 
1793
#include <$2>
 
1794
_ACEOF
 
1795
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
1796
  ac_header_preproc=yes
 
1797
else
 
1798
  ac_header_preproc=no
 
1799
fi
 
1800
rm -f conftest.err conftest.$ac_ext
 
1801
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
1802
$as_echo "$ac_header_preproc" >&6; }
 
1803
 
 
1804
# So?  What about this header?
 
1805
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
 
1806
  yes:no: )
 
1807
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
1808
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
1809
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1810
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1811
    ;;
 
1812
  no:yes:* )
 
1813
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
1814
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
1815
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
1816
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
1817
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
1818
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
1819
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
1820
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
1821
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1822
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1823
( cat <<\_ASBOX
 
1824
## ---------------------------------------- ##
 
1825
## Report this to protobuf@googlegroups.com ##
 
1826
## ---------------------------------------- ##
 
1827
_ASBOX
 
1828
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
1829
    ;;
 
1830
esac
 
1831
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1832
$as_echo_n "checking for $2... " >&6; }
 
1833
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1834
  $as_echo_n "(cached) " >&6
 
1835
else
 
1836
  eval "$3=\$ac_header_compiler"
 
1837
fi
 
1838
eval ac_res=\$$3
 
1839
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1840
$as_echo "$ac_res" >&6; }
 
1841
fi
 
1842
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1843
 
 
1844
} # ac_fn_cxx_check_header_mongrel
 
1845
 
 
1846
# ac_fn_cxx_try_run LINENO
 
1847
# ------------------------
 
1848
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1849
# that executables *can* be run.
 
1850
ac_fn_cxx_try_run ()
 
1851
{
 
1852
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1853
  if { { ac_try="$ac_link"
 
1854
case "(($ac_try" in
 
1855
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1856
  *) ac_try_echo=$ac_try;;
 
1857
esac
 
1858
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1859
$as_echo "$ac_try_echo"; } >&5
 
1860
  (eval "$ac_link") 2>&5
 
1861
  ac_status=$?
 
1862
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1863
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1864
  { { case "(($ac_try" in
 
1865
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1866
  *) ac_try_echo=$ac_try;;
 
1867
esac
 
1868
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1869
$as_echo "$ac_try_echo"; } >&5
 
1870
  (eval "$ac_try") 2>&5
 
1871
  ac_status=$?
 
1872
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1873
  test $ac_status = 0; }; }; then :
 
1874
  ac_retval=0
 
1875
else
 
1876
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1877
       $as_echo "$as_me: failed program was:" >&5
 
1878
sed 's/^/| /' conftest.$ac_ext >&5
 
1879
 
 
1880
       ac_retval=$ac_status
 
1881
fi
 
1882
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1883
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1884
  as_fn_set_status $ac_retval
 
1885
 
 
1886
} # ac_fn_cxx_try_run
 
1887
 
 
1888
# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
 
1889
# ---------------------------------------------------------
 
1890
# Tests whether HEADER exists and can be compiled using the include files in
 
1891
# INCLUDES, setting the cache variable VAR accordingly.
 
1892
ac_fn_cxx_check_header_compile ()
 
1893
{
 
1894
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1895
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1896
$as_echo_n "checking for $2... " >&6; }
 
1897
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1898
  $as_echo_n "(cached) " >&6
 
1899
else
 
1900
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1901
/* end confdefs.h.  */
 
1902
$4
 
1903
#include <$2>
 
1904
_ACEOF
 
1905
if ac_fn_cxx_try_compile "$LINENO"; then :
 
1906
  eval "$3=yes"
 
1907
else
 
1908
  eval "$3=no"
 
1909
fi
 
1910
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1911
fi
 
1912
eval ac_res=\$$3
 
1913
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1914
$as_echo "$ac_res" >&6; }
 
1915
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1916
 
 
1917
} # ac_fn_cxx_check_header_compile
 
1918
 
 
1919
# ac_fn_cxx_check_decl LINENO SYMBOL VAR
 
1920
# --------------------------------------
 
1921
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
 
1922
ac_fn_cxx_check_decl ()
 
1923
{
 
1924
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1925
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
 
1926
$as_echo_n "checking whether $2 is declared... " >&6; }
 
1927
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1928
  $as_echo_n "(cached) " >&6
 
1929
else
 
1930
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1931
/* end confdefs.h.  */
 
1932
$4
 
1933
int
 
1934
main ()
 
1935
{
 
1936
#ifndef $2
 
1937
  (void) $2;
 
1938
#endif
 
1939
 
 
1940
  ;
 
1941
  return 0;
 
1942
}
 
1943
_ACEOF
 
1944
if ac_fn_cxx_try_compile "$LINENO"; then :
 
1945
  eval "$3=yes"
 
1946
else
 
1947
  eval "$3=no"
 
1948
fi
 
1949
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1950
fi
 
1951
eval ac_res=\$$3
 
1952
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1953
$as_echo "$ac_res" >&6; }
 
1954
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1955
 
 
1956
} # ac_fn_cxx_check_decl
 
1957
 
 
1958
# ac_fn_c_try_link LINENO
 
1959
# -----------------------
 
1960
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1961
ac_fn_c_try_link ()
 
1962
{
 
1963
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1964
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1965
  if { { ac_try="$ac_link"
 
1966
case "(($ac_try" in
 
1967
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1968
  *) ac_try_echo=$ac_try;;
 
1969
esac
 
1970
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1971
$as_echo "$ac_try_echo"; } >&5
 
1972
  (eval "$ac_link") 2>conftest.err
 
1973
  ac_status=$?
 
1974
  if test -s conftest.err; then
 
1975
    grep -v '^ *+' conftest.err >conftest.er1
 
1976
    cat conftest.er1 >&5
 
1977
    mv -f conftest.er1 conftest.err
 
1978
  fi
 
1979
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1980
  test $ac_status = 0; } && {
 
1981
         test -z "$ac_c_werror_flag" ||
 
1982
         test ! -s conftest.err
 
1983
       } && test -s conftest$ac_exeext && {
 
1984
         test "$cross_compiling" = yes ||
 
1985
         $as_test_x conftest$ac_exeext
 
1986
       }; then :
 
1987
  ac_retval=0
 
1988
else
 
1989
  $as_echo "$as_me: failed program was:" >&5
 
1990
sed 's/^/| /' conftest.$ac_ext >&5
 
1991
 
 
1992
        ac_retval=1
 
1993
fi
 
1994
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1995
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1996
  # interfere with the next link command; also delete a directory that is
 
1997
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1998
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1999
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2000
  as_fn_set_status $ac_retval
 
2001
 
 
2002
} # ac_fn_c_try_link
 
2003
 
 
2004
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
2005
# -------------------------------------------------------
 
2006
# Tests whether HEADER exists and can be compiled using the include files in
 
2007
# INCLUDES, setting the cache variable VAR accordingly.
 
2008
ac_fn_c_check_header_compile ()
 
2009
{
 
2010
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2011
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2012
$as_echo_n "checking for $2... " >&6; }
 
2013
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2014
  $as_echo_n "(cached) " >&6
 
2015
else
 
2016
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2017
/* end confdefs.h.  */
 
2018
$4
 
2019
#include <$2>
 
2020
_ACEOF
 
2021
if ac_fn_c_try_compile "$LINENO"; then :
 
2022
  eval "$3=yes"
 
2023
else
 
2024
  eval "$3=no"
 
2025
fi
 
2026
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2027
fi
 
2028
eval ac_res=\$$3
 
2029
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2030
$as_echo "$ac_res" >&6; }
 
2031
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2032
 
 
2033
} # ac_fn_c_check_header_compile
 
2034
 
 
2035
# ac_fn_c_check_func LINENO FUNC VAR
 
2036
# ----------------------------------
 
2037
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
2038
ac_fn_c_check_func ()
 
2039
{
 
2040
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2041
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2042
$as_echo_n "checking for $2... " >&6; }
 
2043
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2044
  $as_echo_n "(cached) " >&6
 
2045
else
 
2046
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2047
/* end confdefs.h.  */
 
2048
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
2049
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
2050
#define $2 innocuous_$2
 
2051
 
 
2052
/* System header to define __stub macros and hopefully few prototypes,
 
2053
    which can conflict with char $2 (); below.
 
2054
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
2055
    <limits.h> exists even on freestanding compilers.  */
 
2056
 
 
2057
#ifdef __STDC__
 
2058
# include <limits.h>
 
2059
#else
 
2060
# include <assert.h>
 
2061
#endif
 
2062
 
 
2063
#undef $2
 
2064
 
 
2065
/* Override any GCC internal prototype to avoid an error.
 
2066
   Use char because int might match the return type of a GCC
 
2067
   builtin and then its argument prototype would still apply.  */
 
2068
#ifdef __cplusplus
 
2069
extern "C"
 
2070
#endif
 
2071
char $2 ();
 
2072
/* The GNU C library defines this for functions which it implements
 
2073
    to always fail with ENOSYS.  Some functions are actually named
 
2074
    something starting with __ and the normal name is an alias.  */
 
2075
#if defined __stub_$2 || defined __stub___$2
 
2076
choke me
 
2077
#endif
 
2078
 
 
2079
int
 
2080
main ()
 
2081
{
 
2082
return $2 ();
 
2083
  ;
 
2084
  return 0;
 
2085
}
 
2086
_ACEOF
 
2087
if ac_fn_c_try_link "$LINENO"; then :
 
2088
  eval "$3=yes"
 
2089
else
 
2090
  eval "$3=no"
 
2091
fi
 
2092
rm -f core conftest.err conftest.$ac_objext \
 
2093
    conftest$ac_exeext conftest.$ac_ext
 
2094
fi
 
2095
eval ac_res=\$$3
 
2096
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2097
$as_echo "$ac_res" >&6; }
 
2098
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2099
 
 
2100
} # ac_fn_c_check_func
 
2101
 
 
2102
# ac_fn_cxx_try_link LINENO
 
2103
# -------------------------
 
2104
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
2105
ac_fn_cxx_try_link ()
 
2106
{
 
2107
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2108
  rm -f conftest.$ac_objext conftest$ac_exeext
 
2109
  if { { ac_try="$ac_link"
 
2110
case "(($ac_try" in
 
2111
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2112
  *) ac_try_echo=$ac_try;;
 
2113
esac
 
2114
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2115
$as_echo "$ac_try_echo"; } >&5
 
2116
  (eval "$ac_link") 2>conftest.err
 
2117
  ac_status=$?
 
2118
  if test -s conftest.err; then
 
2119
    grep -v '^ *+' conftest.err >conftest.er1
 
2120
    cat conftest.er1 >&5
 
2121
    mv -f conftest.er1 conftest.err
 
2122
  fi
 
2123
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2124
  test $ac_status = 0; } && {
 
2125
         test -z "$ac_cxx_werror_flag" ||
 
2126
         test ! -s conftest.err
 
2127
       } && test -s conftest$ac_exeext && {
 
2128
         test "$cross_compiling" = yes ||
 
2129
         $as_test_x conftest$ac_exeext
 
2130
       }; then :
 
2131
  ac_retval=0
 
2132
else
 
2133
  $as_echo "$as_me: failed program was:" >&5
 
2134
sed 's/^/| /' conftest.$ac_ext >&5
 
2135
 
 
2136
        ac_retval=1
 
2137
fi
 
2138
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
2139
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
2140
  # interfere with the next link command; also delete a directory that is
 
2141
  # left behind by Apple's compiler.  We do this before executing the actions.
 
2142
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
2143
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2144
  as_fn_set_status $ac_retval
 
2145
 
 
2146
} # ac_fn_cxx_try_link
 
2147
 
 
2148
# ac_fn_cxx_check_func LINENO FUNC VAR
 
2149
# ------------------------------------
 
2150
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
2151
ac_fn_cxx_check_func ()
 
2152
{
 
2153
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2154
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2155
$as_echo_n "checking for $2... " >&6; }
 
2156
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2157
  $as_echo_n "(cached) " >&6
 
2158
else
 
2159
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2160
/* end confdefs.h.  */
 
2161
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
2162
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
2163
#define $2 innocuous_$2
 
2164
 
 
2165
/* System header to define __stub macros and hopefully few prototypes,
 
2166
    which can conflict with char $2 (); below.
 
2167
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
2168
    <limits.h> exists even on freestanding compilers.  */
 
2169
 
 
2170
#ifdef __STDC__
 
2171
# include <limits.h>
 
2172
#else
 
2173
# include <assert.h>
 
2174
#endif
 
2175
 
 
2176
#undef $2
 
2177
 
 
2178
/* Override any GCC internal prototype to avoid an error.
 
2179
   Use char because int might match the return type of a GCC
 
2180
   builtin and then its argument prototype would still apply.  */
 
2181
#ifdef __cplusplus
 
2182
extern "C"
 
2183
#endif
 
2184
char $2 ();
 
2185
/* The GNU C library defines this for functions which it implements
 
2186
    to always fail with ENOSYS.  Some functions are actually named
 
2187
    something starting with __ and the normal name is an alias.  */
 
2188
#if defined __stub_$2 || defined __stub___$2
 
2189
choke me
 
2190
#endif
 
2191
 
 
2192
int
 
2193
main ()
 
2194
{
 
2195
return $2 ();
 
2196
  ;
 
2197
  return 0;
 
2198
}
 
2199
_ACEOF
 
2200
if ac_fn_cxx_try_link "$LINENO"; then :
 
2201
  eval "$3=yes"
 
2202
else
 
2203
  eval "$3=no"
 
2204
fi
 
2205
rm -f core conftest.err conftest.$ac_objext \
 
2206
    conftest$ac_exeext conftest.$ac_ext
 
2207
fi
 
2208
eval ac_res=\$$3
 
2209
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2210
$as_echo "$ac_res" >&6; }
 
2211
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2212
 
 
2213
} # ac_fn_cxx_check_func
1596
2214
cat >config.log <<_ACEOF
1597
2215
This file contains any messages produced by compilers while
1598
2216
running configure, to aid debugging if configure makes a mistake.
1599
2217
 
1600
 
It was created by Protocol Buffers $as_me 2.3.0, which was
1601
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
2218
It was created by Protocol Buffers $as_me 2.4.0a, which was
 
2219
generated by GNU Autoconf 2.65.  Invocation command line was
1602
2220
 
1603
2221
  $ $0 $@
1604
2222
 
1634
2252
do
1635
2253
  IFS=$as_save_IFS
1636
2254
  test -z "$as_dir" && as_dir=.
1637
 
  echo "PATH: $as_dir"
1638
 
done
 
2255
    $as_echo "PATH: $as_dir"
 
2256
  done
1639
2257
IFS=$as_save_IFS
1640
2258
 
1641
2259
} >&5
1669
2287
    | -silent | --silent | --silen | --sile | --sil)
1670
2288
      continue ;;
1671
2289
    *\'*)
1672
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2290
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1673
2291
    esac
1674
2292
    case $ac_pass in
1675
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
2293
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1676
2294
    2)
1677
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
2295
      as_fn_append ac_configure_args1 " '$ac_arg'"
1678
2296
      if test $ac_must_keep_next = true; then
1679
2297
        ac_must_keep_next=false # Got value, back to normal.
1680
2298
      else
1690
2308
          -* ) ac_must_keep_next=true ;;
1691
2309
        esac
1692
2310
      fi
1693
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
2311
      as_fn_append ac_configure_args " '$ac_arg'"
1694
2312
      ;;
1695
2313
    esac
1696
2314
  done
1697
2315
done
1698
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1699
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
2316
{ ac_configure_args0=; unset ac_configure_args0;}
 
2317
{ ac_configure_args1=; unset ac_configure_args1;}
1700
2318
 
1701
2319
# When interrupted or exit'd, cleanup temporary files, and complete
1702
2320
# config.log.  We remove comments because anyway the quotes in there
1721
2339
    case $ac_val in #(
1722
2340
    *${as_nl}*)
1723
2341
      case $ac_var in #(
1724
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1725
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
2342
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
2343
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1726
2344
      esac
1727
2345
      case $ac_var in #(
1728
2346
      _ | IFS | as_nl) ;; #(
1729
 
      *) $as_unset $ac_var ;;
 
2347
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
2348
      *) { eval $ac_var=; unset $ac_var;} ;;
1730
2349
      esac ;;
1731
2350
    esac
1732
2351
  done
1755
2374
    do
1756
2375
      eval ac_val=\$$ac_var
1757
2376
      case $ac_val in
1758
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2377
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1759
2378
      esac
1760
 
      echo "$ac_var='\''$ac_val'\''"
 
2379
      $as_echo "$ac_var='\''$ac_val'\''"
1761
2380
    done | sort
1762
2381
    echo
1763
2382
 
1772
2391
      do
1773
2392
        eval ac_val=\$$ac_var
1774
2393
        case $ac_val in
1775
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2394
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1776
2395
        esac
1777
 
        echo "$ac_var='\''$ac_val'\''"
 
2396
        $as_echo "$ac_var='\''$ac_val'\''"
1778
2397
      done | sort
1779
2398
      echo
1780
2399
    fi
1790
2409
      echo
1791
2410
    fi
1792
2411
    test "$ac_signal" != 0 &&
1793
 
      echo "$as_me: caught signal $ac_signal"
1794
 
    echo "$as_me: exit $exit_status"
 
2412
      $as_echo "$as_me: caught signal $ac_signal"
 
2413
    $as_echo "$as_me: exit $exit_status"
1795
2414
  } >&5
1796
2415
  rm -f core *.core core.conftest.* &&
1797
2416
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1798
2417
    exit $exit_status
1799
2418
' 0
1800
2419
for ac_signal in 1 2 13 15; do
1801
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2420
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1802
2421
done
1803
2422
ac_signal=0
1804
2423
 
1805
2424
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1806
2425
rm -f -r conftest* confdefs.h
1807
2426
 
 
2427
$as_echo "/* confdefs.h */" > confdefs.h
 
2428
 
1808
2429
# Predefined preprocessor variables.
1809
2430
 
1810
2431
cat >>confdefs.h <<_ACEOF
1811
2432
#define PACKAGE_NAME "$PACKAGE_NAME"
1812
2433
_ACEOF
1813
2434
 
1814
 
 
1815
2435
cat >>confdefs.h <<_ACEOF
1816
2436
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1817
2437
_ACEOF
1818
2438
 
1819
 
 
1820
2439
cat >>confdefs.h <<_ACEOF
1821
2440
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1822
2441
_ACEOF
1823
2442
 
1824
 
 
1825
2443
cat >>confdefs.h <<_ACEOF
1826
2444
#define PACKAGE_STRING "$PACKAGE_STRING"
1827
2445
_ACEOF
1828
2446
 
1829
 
 
1830
2447
cat >>confdefs.h <<_ACEOF
1831
2448
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1832
2449
_ACEOF
1833
2450
 
 
2451
cat >>confdefs.h <<_ACEOF
 
2452
#define PACKAGE_URL "$PACKAGE_URL"
 
2453
_ACEOF
 
2454
 
1834
2455
 
1835
2456
# Let the site file select an alternate cache file if it wants to.
1836
 
# Prefer explicitly selected file to automatically selected ones.
 
2457
# Prefer an explicitly selected file to automatically selected ones.
 
2458
ac_site_file1=NONE
 
2459
ac_site_file2=NONE
1837
2460
if test -n "$CONFIG_SITE"; then
1838
 
  set x "$CONFIG_SITE"
 
2461
  ac_site_file1=$CONFIG_SITE
1839
2462
elif test "x$prefix" != xNONE; then
1840
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
2463
  ac_site_file1=$prefix/share/config.site
 
2464
  ac_site_file2=$prefix/etc/config.site
1841
2465
else
1842
 
  set x "$ac_default_prefix/share/config.site" \
1843
 
        "$ac_default_prefix/etc/config.site"
 
2466
  ac_site_file1=$ac_default_prefix/share/config.site
 
2467
  ac_site_file2=$ac_default_prefix/etc/config.site
1844
2468
fi
1845
 
shift
1846
 
for ac_site_file
 
2469
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1847
2470
do
1848
 
  if test -r "$ac_site_file"; then
1849
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1850
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
2471
  test "x$ac_site_file" = xNONE && continue
 
2472
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2473
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2474
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1851
2475
    sed 's/^/| /' "$ac_site_file" >&5
1852
2476
    . "$ac_site_file"
1853
2477
  fi
1854
2478
done
1855
2479
 
1856
2480
if test -r "$cache_file"; then
1857
 
  # Some versions of bash will fail to source /dev/null (special
1858
 
  # files actually), so we avoid doing that.
1859
 
  if test -f "$cache_file"; then
1860
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1861
 
echo "$as_me: loading cache $cache_file" >&6;}
 
2481
  # Some versions of bash will fail to source /dev/null (special files
 
2482
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2483
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2484
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2485
$as_echo "$as_me: loading cache $cache_file" >&6;}
1862
2486
    case $cache_file in
1863
2487
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1864
2488
      *)                      . "./$cache_file";;
1865
2489
    esac
1866
2490
  fi
1867
2491
else
1868
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1869
 
echo "$as_me: creating cache $cache_file" >&6;}
 
2492
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2493
$as_echo "$as_me: creating cache $cache_file" >&6;}
1870
2494
  >$cache_file
1871
2495
fi
1872
2496
 
1880
2504
  eval ac_new_val=\$ac_env_${ac_var}_value
1881
2505
  case $ac_old_set,$ac_new_set in
1882
2506
    set,)
1883
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1884
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2507
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2508
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1885
2509
      ac_cache_corrupted=: ;;
1886
2510
    ,set)
1887
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1888
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2511
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2512
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1889
2513
      ac_cache_corrupted=: ;;
1890
2514
    ,);;
1891
2515
    *)
1892
2516
      if test "x$ac_old_val" != "x$ac_new_val"; then
1893
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1894
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1895
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1896
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1897
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1898
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1899
 
        ac_cache_corrupted=:
 
2517
        # differences in whitespace do not lead to failure.
 
2518
        ac_old_val_w=`echo x $ac_old_val`
 
2519
        ac_new_val_w=`echo x $ac_new_val`
 
2520
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2521
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2522
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2523
          ac_cache_corrupted=:
 
2524
        else
 
2525
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2526
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2527
          eval $ac_var=\$ac_old_val
 
2528
        fi
 
2529
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2530
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2531
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2532
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1900
2533
      fi;;
1901
2534
  esac
1902
2535
  # Pass precious variables to config.status.
1903
2536
  if test "$ac_new_set" = set; then
1904
2537
    case $ac_new_val in
1905
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2538
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1906
2539
    *) ac_arg=$ac_var=$ac_new_val ;;
1907
2540
    esac
1908
2541
    case " $ac_configure_args " in
1909
2542
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1910
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2543
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1911
2544
    esac
1912
2545
  fi
1913
2546
done
1914
2547
if $ac_cache_corrupted; then
1915
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1916
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1917
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1918
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1919
 
   { (exit 1); exit 1; }; }
 
2548
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2549
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2550
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2551
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2552
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1920
2553
fi
1921
 
 
1922
 
 
1923
 
 
1924
 
 
1925
 
 
1926
 
 
1927
 
 
1928
 
 
1929
 
 
1930
 
 
1931
 
 
1932
 
 
1933
 
 
1934
 
 
1935
 
 
1936
 
 
1937
 
 
1938
 
 
1939
 
 
1940
 
 
1941
 
 
1942
 
 
1943
 
 
1944
 
 
 
2554
## -------------------- ##
 
2555
## Main body of script. ##
 
2556
## -------------------- ##
1945
2557
 
1946
2558
ac_ext=c
1947
2559
ac_cpp='$CPP $CPPFLAGS'
1959
2571
 
1960
2572
# autoconf's default CXXFLAGS are usually "-g -O2".  These aren't necessarily
1961
2573
# the best choice for libprotobuf.
1962
 
if test "x${ac_cv_env_CFLAGS_set}" = "x"; then
 
2574
if test "x${ac_cv_env_CFLAGS_set}" = "x"; then :
1963
2575
  CFLAGS=""
1964
2576
fi
1965
 
 
1966
 
if test "x${ac_cv_env_CXXFLAGS_set}" = "x"; then
 
2577
if test "x${ac_cv_env_CXXFLAGS_set}" = "x"; then :
1967
2578
  CXXFLAGS=""
1968
2579
fi
1969
2580
 
1970
 
 
1971
2581
ac_aux_dir=
1972
2582
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1973
 
  if test -f "$ac_dir/install-sh"; then
1974
 
    ac_aux_dir=$ac_dir
1975
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
1976
 
    break
1977
 
  elif test -f "$ac_dir/install.sh"; then
1978
 
    ac_aux_dir=$ac_dir
1979
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
1980
 
    break
1981
 
  elif test -f "$ac_dir/shtool"; then
1982
 
    ac_aux_dir=$ac_dir
1983
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
1984
 
    break
1985
 
  fi
 
2583
  for ac_t in install-sh install.sh shtool; do
 
2584
    if test -f "$ac_dir/$ac_t"; then
 
2585
      ac_aux_dir=$ac_dir
 
2586
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
2587
      break 2
 
2588
    fi
 
2589
  done
1986
2590
done
1987
2591
if test -z "$ac_aux_dir"; then
1988
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1989
 
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1990
 
   { (exit 1); exit 1; }; }
 
2592
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1991
2593
fi
1992
2594
 
1993
2595
# These three variables are undocumented and unsupported,
2001
2603
 
2002
2604
# Make sure we can run config.sub.
2003
2605
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2004
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2005
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2006
 
   { (exit 1); exit 1; }; }
 
2606
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2007
2607
 
2008
 
{ echo "$as_me:$LINENO: checking build system type" >&5
2009
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2010
 
if test "${ac_cv_build+set}" = set; then
2011
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2608
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
2609
$as_echo_n "checking build system type... " >&6; }
 
2610
if test "${ac_cv_build+set}" = set; then :
 
2611
  $as_echo_n "(cached) " >&6
2012
2612
else
2013
2613
  ac_build_alias=$build_alias
2014
2614
test "x$ac_build_alias" = x &&
2015
2615
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2016
2616
test "x$ac_build_alias" = x &&
2017
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2018
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2019
 
   { (exit 1); exit 1; }; }
 
2617
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2020
2618
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2021
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2022
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2023
 
   { (exit 1); exit 1; }; }
 
2619
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2024
2620
 
2025
2621
fi
2026
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2027
 
echo "${ECHO_T}$ac_cv_build" >&6; }
 
2622
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
2623
$as_echo "$ac_cv_build" >&6; }
2028
2624
case $ac_cv_build in
2029
2625
*-*-*) ;;
2030
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2031
 
echo "$as_me: error: invalid value of canonical build" >&2;}
2032
 
   { (exit 1); exit 1; }; };;
 
2626
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2033
2627
esac
2034
2628
build=$ac_cv_build
2035
2629
ac_save_IFS=$IFS; IFS='-'
2045
2639
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2046
2640
 
2047
2641
 
2048
 
{ echo "$as_me:$LINENO: checking host system type" >&5
2049
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2050
 
if test "${ac_cv_host+set}" = set; then
2051
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2642
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
2643
$as_echo_n "checking host system type... " >&6; }
 
2644
if test "${ac_cv_host+set}" = set; then :
 
2645
  $as_echo_n "(cached) " >&6
2052
2646
else
2053
2647
  if test "x$host_alias" = x; then
2054
2648
  ac_cv_host=$ac_cv_build
2055
2649
else
2056
2650
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2057
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2058
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2059
 
   { (exit 1); exit 1; }; }
 
2651
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2060
2652
fi
2061
2653
 
2062
2654
fi
2063
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2064
 
echo "${ECHO_T}$ac_cv_host" >&6; }
 
2655
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
2656
$as_echo "$ac_cv_host" >&6; }
2065
2657
case $ac_cv_host in
2066
2658
*-*-*) ;;
2067
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2068
 
echo "$as_me: error: invalid value of canonical host" >&2;}
2069
 
   { (exit 1); exit 1; }; };;
 
2659
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2070
2660
esac
2071
2661
host=$ac_cv_host
2072
2662
ac_save_IFS=$IFS; IFS='-'
2082
2672
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2083
2673
 
2084
2674
 
2085
 
{ echo "$as_me:$LINENO: checking target system type" >&5
2086
 
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2087
 
if test "${ac_cv_target+set}" = set; then
2088
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2675
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
 
2676
$as_echo_n "checking target system type... " >&6; }
 
2677
if test "${ac_cv_target+set}" = set; then :
 
2678
  $as_echo_n "(cached) " >&6
2089
2679
else
2090
2680
  if test "x$target_alias" = x; then
2091
2681
  ac_cv_target=$ac_cv_host
2092
2682
else
2093
2683
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2094
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2095
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2096
 
   { (exit 1); exit 1; }; }
 
2684
    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2097
2685
fi
2098
2686
 
2099
2687
fi
2100
 
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2101
 
echo "${ECHO_T}$ac_cv_target" >&6; }
 
2688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
 
2689
$as_echo "$ac_cv_target" >&6; }
2102
2690
case $ac_cv_target in
2103
2691
*-*-*) ;;
2104
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2105
 
echo "$as_me: error: invalid value of canonical target" >&2;}
2106
 
   { (exit 1); exit 1; }; };;
 
2692
*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2107
2693
esac
2108
2694
target=$ac_cv_target
2109
2695
ac_save_IFS=$IFS; IFS='-'
2126
2712
    NONENONEs,x,x, &&
2127
2713
  program_prefix=${target_alias}-
2128
2714
 
2129
 
am__api_version='1.10'
 
2715
am__api_version='1.11'
2130
2716
 
2131
2717
# Find a good install program.  We prefer a C program (faster),
2132
2718
# so one script is as good as another.  But avoid the broken or
2141
2727
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2142
2728
# OS/2's system install, which has a completely different semantic
2143
2729
# ./install, which can be erroneously created by make from ./install.sh.
2144
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2145
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
2730
# Reject install programs that cannot install multiple files.
 
2731
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
2732
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2146
2733
if test -z "$INSTALL"; then
2147
 
if test "${ac_cv_path_install+set}" = set; then
2148
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2734
if test "${ac_cv_path_install+set}" = set; then :
 
2735
  $as_echo_n "(cached) " >&6
2149
2736
else
2150
2737
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2151
2738
for as_dir in $PATH
2152
2739
do
2153
2740
  IFS=$as_save_IFS
2154
2741
  test -z "$as_dir" && as_dir=.
2155
 
  # Account for people who put trailing slashes in PATH elements.
2156
 
case $as_dir/ in
2157
 
  ./ | .// | /cC/* | \
 
2742
    # Account for people who put trailing slashes in PATH elements.
 
2743
case $as_dir/ in #((
 
2744
  ./ | .// | /[cC]/* | \
2158
2745
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2159
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2746
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2160
2747
  /usr/ucb/* ) ;;
2161
2748
  *)
2162
2749
    # OSF1 and SCO ODT 3.0 have their own names for install.
2174
2761
            # program-specific install script used by HP pwplus--don't use.
2175
2762
            :
2176
2763
          else
2177
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2178
 
            break 3
 
2764
            rm -rf conftest.one conftest.two conftest.dir
 
2765
            echo one > conftest.one
 
2766
            echo two > conftest.two
 
2767
            mkdir conftest.dir
 
2768
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2769
              test -s conftest.one && test -s conftest.two &&
 
2770
              test -s conftest.dir/conftest.one &&
 
2771
              test -s conftest.dir/conftest.two
 
2772
            then
 
2773
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2774
              break 3
 
2775
            fi
2179
2776
          fi
2180
2777
        fi
2181
2778
      done
2182
2779
    done
2183
2780
    ;;
2184
2781
esac
2185
 
done
 
2782
 
 
2783
  done
2186
2784
IFS=$as_save_IFS
2187
2785
 
 
2786
rm -rf conftest.one conftest.two conftest.dir
2188
2787
 
2189
2788
fi
2190
2789
  if test "${ac_cv_path_install+set}" = set; then
2197
2796
    INSTALL=$ac_install_sh
2198
2797
  fi
2199
2798
fi
2200
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2201
 
echo "${ECHO_T}$INSTALL" >&6; }
 
2799
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
2800
$as_echo "$INSTALL" >&6; }
2202
2801
 
2203
2802
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2204
2803
# It thinks the first close brace ends the variable substitution.
2208
2807
 
2209
2808
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2210
2809
 
2211
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2212
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 
2810
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
2811
$as_echo_n "checking whether build environment is sane... " >&6; }
2213
2812
# Just in case
2214
2813
sleep 1
2215
2814
echo timestamp > conftest.file
 
2815
# Reject unsafe characters in $srcdir or the absolute working directory
 
2816
# name.  Accept space and tab only in the latter.
 
2817
am_lf='
 
2818
'
 
2819
case `pwd` in
 
2820
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2821
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2822
esac
 
2823
case $srcdir in
 
2824
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2825
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2826
esac
 
2827
 
2216
2828
# Do `set' in a subshell so we don't clobber the current shell's
2217
2829
# arguments.  Must try -L first in case configure is actually a
2218
2830
# symlink; some systems play weird games with the mod time of symlinks
2219
2831
# (eg FreeBSD returns the mod time of the symlink's containing
2220
2832
# directory).
2221
2833
if (
2222
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
2834
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2223
2835
   if test "$*" = "X"; then
2224
2836
      # -L didn't work.
2225
 
      set X `ls -t $srcdir/configure conftest.file`
 
2837
      set X `ls -t "$srcdir/configure" conftest.file`
2226
2838
   fi
2227
2839
   rm -f conftest.file
2228
2840
   if test "$*" != "X $srcdir/configure conftest.file" \
2232
2844
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2233
2845
      # broken ls alias from the environment.  This has actually
2234
2846
      # happened.  Such a system could not be considered "sane".
2235
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2236
 
alias in your environment" >&5
2237
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2238
 
alias in your environment" >&2;}
2239
 
   { (exit 1); exit 1; }; }
 
2847
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2848
alias in your environment" "$LINENO" 5
2240
2849
   fi
2241
2850
 
2242
2851
   test "$2" = conftest.file
2245
2854
   # Ok.
2246
2855
   :
2247
2856
else
2248
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2249
 
Check your system clock" >&5
2250
 
echo "$as_me: error: newly created file is older than distributed files!
2251
 
Check your system clock" >&2;}
2252
 
   { (exit 1); exit 1; }; }
 
2857
   as_fn_error "newly created file is older than distributed files!
 
2858
Check your system clock" "$LINENO" 5
2253
2859
fi
2254
 
{ echo "$as_me:$LINENO: result: yes" >&5
2255
 
echo "${ECHO_T}yes" >&6; }
 
2860
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2861
$as_echo "yes" >&6; }
2256
2862
test "$program_prefix" != NONE &&
2257
2863
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2258
2864
# Use a double $ so make ignores it.
2259
2865
test "$program_suffix" != NONE &&
2260
2866
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2261
 
# Double any \ or $.  echo might interpret backslashes.
 
2867
# Double any \ or $.
2262
2868
# By default was `s,x,x', remove it if useless.
2263
 
cat <<\_ACEOF >conftest.sed
2264
 
s/[\\$]/&&/g;s/;s,x,x,$//
2265
 
_ACEOF
2266
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2267
 
rm -f conftest.sed
 
2869
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2870
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2268
2871
 
2269
2872
# expand $ac_aux_dir to an absolute path
2270
2873
am_aux_dir=`cd $ac_aux_dir && pwd`
2271
2874
 
2272
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
2875
if test x"${MISSING+set}" != xset; then
 
2876
  case $am_aux_dir in
 
2877
  *\ * | *\     *)
 
2878
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2879
  *)
 
2880
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2881
  esac
 
2882
fi
2273
2883
# Use eval to expand $SHELL
2274
2884
if eval "$MISSING --run true"; then
2275
2885
  am_missing_run="$MISSING --run "
2276
2886
else
2277
2887
  am_missing_run=
2278
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2279
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2280
 
fi
2281
 
 
2282
 
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2283
 
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
2888
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 
2889
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2890
fi
 
2891
 
 
2892
if test x"${install_sh}" != xset; then
 
2893
  case $am_aux_dir in
 
2894
  *\ * | *\     *)
 
2895
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2896
  *)
 
2897
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2898
  esac
 
2899
fi
 
2900
 
 
2901
# Installed binaries are usually stripped using `strip' when the user
 
2902
# run `make install-strip'.  However `strip' might not be the right
 
2903
# tool to use in cross-compilation environments, therefore Automake
 
2904
# will honor the `STRIP' environment variable to overrule this program.
 
2905
if test "$cross_compiling" != no; then
 
2906
  if test -n "$ac_tool_prefix"; then
 
2907
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2908
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2909
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2910
$as_echo_n "checking for $ac_word... " >&6; }
 
2911
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2912
  $as_echo_n "(cached) " >&6
 
2913
else
 
2914
  if test -n "$STRIP"; then
 
2915
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2916
else
 
2917
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2918
for as_dir in $PATH
 
2919
do
 
2920
  IFS=$as_save_IFS
 
2921
  test -z "$as_dir" && as_dir=.
 
2922
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2923
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2924
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2925
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2926
    break 2
 
2927
  fi
 
2928
done
 
2929
  done
 
2930
IFS=$as_save_IFS
 
2931
 
 
2932
fi
 
2933
fi
 
2934
STRIP=$ac_cv_prog_STRIP
 
2935
if test -n "$STRIP"; then
 
2936
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2937
$as_echo "$STRIP" >&6; }
 
2938
else
 
2939
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2940
$as_echo "no" >&6; }
 
2941
fi
 
2942
 
 
2943
 
 
2944
fi
 
2945
if test -z "$ac_cv_prog_STRIP"; then
 
2946
  ac_ct_STRIP=$STRIP
 
2947
  # Extract the first word of "strip", so it can be a program name with args.
 
2948
set dummy strip; ac_word=$2
 
2949
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2950
$as_echo_n "checking for $ac_word... " >&6; }
 
2951
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2952
  $as_echo_n "(cached) " >&6
 
2953
else
 
2954
  if test -n "$ac_ct_STRIP"; then
 
2955
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2956
else
 
2957
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2958
for as_dir in $PATH
 
2959
do
 
2960
  IFS=$as_save_IFS
 
2961
  test -z "$as_dir" && as_dir=.
 
2962
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2963
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2964
    ac_cv_prog_ac_ct_STRIP="strip"
 
2965
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2966
    break 2
 
2967
  fi
 
2968
done
 
2969
  done
 
2970
IFS=$as_save_IFS
 
2971
 
 
2972
fi
 
2973
fi
 
2974
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2975
if test -n "$ac_ct_STRIP"; then
 
2976
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2977
$as_echo "$ac_ct_STRIP" >&6; }
 
2978
else
 
2979
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2980
$as_echo "no" >&6; }
 
2981
fi
 
2982
 
 
2983
  if test "x$ac_ct_STRIP" = x; then
 
2984
    STRIP=":"
 
2985
  else
 
2986
    case $cross_compiling:$ac_tool_warned in
 
2987
yes:)
 
2988
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2989
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2990
ac_tool_warned=yes ;;
 
2991
esac
 
2992
    STRIP=$ac_ct_STRIP
 
2993
  fi
 
2994
else
 
2995
  STRIP="$ac_cv_prog_STRIP"
 
2996
fi
 
2997
 
 
2998
fi
 
2999
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
3000
 
 
3001
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
3002
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2284
3003
if test -z "$MKDIR_P"; then
2285
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2286
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3004
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
3005
  $as_echo_n "(cached) " >&6
2287
3006
else
2288
3007
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2289
3008
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2290
3009
do
2291
3010
  IFS=$as_save_IFS
2292
3011
  test -z "$as_dir" && as_dir=.
2293
 
  for ac_prog in mkdir gmkdir; do
 
3012
    for ac_prog in mkdir gmkdir; do
2294
3013
         for ac_exec_ext in '' $ac_executable_extensions; do
2295
3014
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2296
3015
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2302
3021
           esac
2303
3022
         done
2304
3023
       done
2305
 
done
 
3024
  done
2306
3025
IFS=$as_save_IFS
2307
3026
 
2308
3027
fi
2309
3028
 
 
3029
  test -d ./--version && rmdir ./--version
2310
3030
  if test "${ac_cv_path_mkdir+set}" = set; then
2311
3031
    MKDIR_P="$ac_cv_path_mkdir -p"
2312
3032
  else
2314
3034
    # value for MKDIR_P within a source directory, because that will
2315
3035
    # break other packages using the cache if that directory is
2316
3036
    # removed, or if the value is a relative name.
2317
 
    test -d ./--version && rmdir ./--version
2318
3037
    MKDIR_P="$ac_install_sh -d"
2319
3038
  fi
2320
3039
fi
2321
 
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2322
 
echo "${ECHO_T}$MKDIR_P" >&6; }
 
3040
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
3041
$as_echo "$MKDIR_P" >&6; }
2323
3042
 
2324
3043
mkdir_p="$MKDIR_P"
2325
3044
case $mkdir_p in
2331
3050
do
2332
3051
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2333
3052
set dummy $ac_prog; ac_word=$2
2334
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2335
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2336
 
if test "${ac_cv_prog_AWK+set}" = set; then
2337
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3053
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3054
$as_echo_n "checking for $ac_word... " >&6; }
 
3055
if test "${ac_cv_prog_AWK+set}" = set; then :
 
3056
  $as_echo_n "(cached) " >&6
2338
3057
else
2339
3058
  if test -n "$AWK"; then
2340
3059
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2344
3063
do
2345
3064
  IFS=$as_save_IFS
2346
3065
  test -z "$as_dir" && as_dir=.
2347
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3066
    for ac_exec_ext in '' $ac_executable_extensions; do
2348
3067
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2349
3068
    ac_cv_prog_AWK="$ac_prog"
2350
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3069
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2351
3070
    break 2
2352
3071
  fi
2353
3072
done
2354
 
done
 
3073
  done
2355
3074
IFS=$as_save_IFS
2356
3075
 
2357
3076
fi
2358
3077
fi
2359
3078
AWK=$ac_cv_prog_AWK
2360
3079
if test -n "$AWK"; then
2361
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2362
 
echo "${ECHO_T}$AWK" >&6; }
 
3080
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
3081
$as_echo "$AWK" >&6; }
2363
3082
else
2364
 
  { echo "$as_me:$LINENO: result: no" >&5
2365
 
echo "${ECHO_T}no" >&6; }
 
3083
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3084
$as_echo "no" >&6; }
2366
3085
fi
2367
3086
 
2368
3087
 
2369
3088
  test -n "$AWK" && break
2370
3089
done
2371
3090
 
2372
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2373
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2374
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2375
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2376
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3091
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
3092
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
3093
set x ${MAKE-make}
 
3094
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
3095
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
3096
  $as_echo_n "(cached) " >&6
2377
3097
else
2378
3098
  cat >conftest.make <<\_ACEOF
2379
3099
SHELL = /bin/sh
2390
3110
rm -f conftest.make
2391
3111
fi
2392
3112
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2393
 
  { echo "$as_me:$LINENO: result: yes" >&5
2394
 
echo "${ECHO_T}yes" >&6; }
 
3113
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3114
$as_echo "yes" >&6; }
2395
3115
  SET_MAKE=
2396
3116
else
2397
 
  { echo "$as_me:$LINENO: result: no" >&5
2398
 
echo "${ECHO_T}no" >&6; }
 
3117
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3118
$as_echo "no" >&6; }
2399
3119
  SET_MAKE="MAKE=${MAKE-make}"
2400
3120
fi
2401
3121
 
2414
3134
  am__isrc=' -I$(srcdir)'
2415
3135
  # test to see if srcdir already configured
2416
3136
  if test -f $srcdir/config.status; then
2417
 
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2418
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2419
 
   { (exit 1); exit 1; }; }
 
3137
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2420
3138
  fi
2421
3139
fi
2422
3140
 
2432
3150
 
2433
3151
# Define the identity of the package.
2434
3152
 PACKAGE='protobuf'
2435
 
 VERSION='2.3.0'
 
3153
 VERSION='2.4.0a'
2436
3154
 
2437
3155
 
2438
3156
cat >>confdefs.h <<_ACEOF
2460
3178
 
2461
3179
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2462
3180
 
2463
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2464
 
 
2465
 
# Installed binaries are usually stripped using `strip' when the user
2466
 
# run `make install-strip'.  However `strip' might not be the right
2467
 
# tool to use in cross-compilation environments, therefore Automake
2468
 
# will honor the `STRIP' environment variable to overrule this program.
2469
 
if test "$cross_compiling" != no; then
2470
 
  if test -n "$ac_tool_prefix"; then
2471
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2472
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2473
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2474
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2475
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2476
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2477
 
else
2478
 
  if test -n "$STRIP"; then
2479
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2480
 
else
2481
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2482
 
for as_dir in $PATH
2483
 
do
2484
 
  IFS=$as_save_IFS
2485
 
  test -z "$as_dir" && as_dir=.
2486
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2487
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2488
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2489
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2490
 
    break 2
2491
 
  fi
2492
 
done
2493
 
done
2494
 
IFS=$as_save_IFS
2495
 
 
2496
 
fi
2497
 
fi
2498
 
STRIP=$ac_cv_prog_STRIP
2499
 
if test -n "$STRIP"; then
2500
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2501
 
echo "${ECHO_T}$STRIP" >&6; }
2502
 
else
2503
 
  { echo "$as_me:$LINENO: result: no" >&5
2504
 
echo "${ECHO_T}no" >&6; }
2505
 
fi
2506
 
 
2507
 
 
2508
 
fi
2509
 
if test -z "$ac_cv_prog_STRIP"; then
2510
 
  ac_ct_STRIP=$STRIP
2511
 
  # Extract the first word of "strip", so it can be a program name with args.
2512
 
set dummy strip; ac_word=$2
2513
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2514
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2515
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2516
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2517
 
else
2518
 
  if test -n "$ac_ct_STRIP"; then
2519
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2520
 
else
2521
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2522
 
for as_dir in $PATH
2523
 
do
2524
 
  IFS=$as_save_IFS
2525
 
  test -z "$as_dir" && as_dir=.
2526
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2527
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2528
 
    ac_cv_prog_ac_ct_STRIP="strip"
2529
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2530
 
    break 2
2531
 
  fi
2532
 
done
2533
 
done
2534
 
IFS=$as_save_IFS
2535
 
 
2536
 
fi
2537
 
fi
2538
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2539
 
if test -n "$ac_ct_STRIP"; then
2540
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2541
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2542
 
else
2543
 
  { echo "$as_me:$LINENO: result: no" >&5
2544
 
echo "${ECHO_T}no" >&6; }
2545
 
fi
2546
 
 
2547
 
  if test "x$ac_ct_STRIP" = x; then
2548
 
    STRIP=":"
2549
 
  else
2550
 
    case $cross_compiling:$ac_tool_warned in
2551
 
yes:)
2552
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2553
 
whose name does not start with the host triplet.  If you think this
2554
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2555
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2556
 
whose name does not start with the host triplet.  If you think this
2557
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2558
 
ac_tool_warned=yes ;;
2559
 
esac
2560
 
    STRIP=$ac_ct_STRIP
2561
 
  fi
2562
 
else
2563
 
  STRIP="$ac_cv_prog_STRIP"
2564
 
fi
2565
 
 
2566
 
fi
2567
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2568
 
 
2569
3181
# We need awk for the "check" target.  The system "awk" is bad on
2570
3182
# some platforms.
2571
3183
# Always define AMTAR for backward compatibility.
2581
3193
 
2582
3194
 
2583
3195
# Check whether --with-zlib was given.
2584
 
if test "${with_zlib+set}" = set; then
 
3196
if test "${with_zlib+set}" = set; then :
2585
3197
  withval=$with_zlib;
2586
3198
else
2587
3199
  with_zlib=check
2590
3202
 
2591
3203
 
2592
3204
# Check whether --with-protoc was given.
2593
 
if test "${with_protoc+set}" = set; then
 
3205
if test "${with_protoc+set}" = set; then :
2594
3206
  withval=$with_protoc;
2595
3207
else
2596
3208
  with_protoc=no
2606
3218
if test -n "$ac_tool_prefix"; then
2607
3219
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2608
3220
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2609
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2610
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2611
 
if test "${ac_cv_prog_CC+set}" = set; then
2612
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3221
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3222
$as_echo_n "checking for $ac_word... " >&6; }
 
3223
if test "${ac_cv_prog_CC+set}" = set; then :
 
3224
  $as_echo_n "(cached) " >&6
2613
3225
else
2614
3226
  if test -n "$CC"; then
2615
3227
  ac_cv_prog_CC="$CC" # Let the user override the test.
2619
3231
do
2620
3232
  IFS=$as_save_IFS
2621
3233
  test -z "$as_dir" && as_dir=.
2622
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3234
    for ac_exec_ext in '' $ac_executable_extensions; do
2623
3235
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2624
3236
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2625
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3237
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2626
3238
    break 2
2627
3239
  fi
2628
3240
done
2629
 
done
 
3241
  done
2630
3242
IFS=$as_save_IFS
2631
3243
 
2632
3244
fi
2633
3245
fi
2634
3246
CC=$ac_cv_prog_CC
2635
3247
if test -n "$CC"; then
2636
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2637
 
echo "${ECHO_T}$CC" >&6; }
 
3248
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3249
$as_echo "$CC" >&6; }
2638
3250
else
2639
 
  { echo "$as_me:$LINENO: result: no" >&5
2640
 
echo "${ECHO_T}no" >&6; }
 
3251
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3252
$as_echo "no" >&6; }
2641
3253
fi
2642
3254
 
2643
3255
 
2646
3258
  ac_ct_CC=$CC
2647
3259
  # Extract the first word of "gcc", so it can be a program name with args.
2648
3260
set dummy gcc; ac_word=$2
2649
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2650
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2651
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2652
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3261
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3262
$as_echo_n "checking for $ac_word... " >&6; }
 
3263
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3264
  $as_echo_n "(cached) " >&6
2653
3265
else
2654
3266
  if test -n "$ac_ct_CC"; then
2655
3267
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2659
3271
do
2660
3272
  IFS=$as_save_IFS
2661
3273
  test -z "$as_dir" && as_dir=.
2662
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3274
    for ac_exec_ext in '' $ac_executable_extensions; do
2663
3275
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2664
3276
    ac_cv_prog_ac_ct_CC="gcc"
2665
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3277
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2666
3278
    break 2
2667
3279
  fi
2668
3280
done
2669
 
done
 
3281
  done
2670
3282
IFS=$as_save_IFS
2671
3283
 
2672
3284
fi
2673
3285
fi
2674
3286
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2675
3287
if test -n "$ac_ct_CC"; then
2676
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2677
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
3288
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3289
$as_echo "$ac_ct_CC" >&6; }
2678
3290
else
2679
 
  { echo "$as_me:$LINENO: result: no" >&5
2680
 
echo "${ECHO_T}no" >&6; }
 
3291
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3292
$as_echo "no" >&6; }
2681
3293
fi
2682
3294
 
2683
3295
  if test "x$ac_ct_CC" = x; then
2685
3297
  else
2686
3298
    case $cross_compiling:$ac_tool_warned in
2687
3299
yes:)
2688
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2689
 
whose name does not start with the host triplet.  If you think this
2690
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2691
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2692
 
whose name does not start with the host triplet.  If you think this
2693
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3300
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3301
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2694
3302
ac_tool_warned=yes ;;
2695
3303
esac
2696
3304
    CC=$ac_ct_CC
2703
3311
          if test -n "$ac_tool_prefix"; then
2704
3312
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2705
3313
set dummy ${ac_tool_prefix}cc; ac_word=$2
2706
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2707
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2708
 
if test "${ac_cv_prog_CC+set}" = set; then
2709
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3314
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3315
$as_echo_n "checking for $ac_word... " >&6; }
 
3316
if test "${ac_cv_prog_CC+set}" = set; then :
 
3317
  $as_echo_n "(cached) " >&6
2710
3318
else
2711
3319
  if test -n "$CC"; then
2712
3320
  ac_cv_prog_CC="$CC" # Let the user override the test.
2716
3324
do
2717
3325
  IFS=$as_save_IFS
2718
3326
  test -z "$as_dir" && as_dir=.
2719
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3327
    for ac_exec_ext in '' $ac_executable_extensions; do
2720
3328
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2721
3329
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2722
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3330
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2723
3331
    break 2
2724
3332
  fi
2725
3333
done
2726
 
done
 
3334
  done
2727
3335
IFS=$as_save_IFS
2728
3336
 
2729
3337
fi
2730
3338
fi
2731
3339
CC=$ac_cv_prog_CC
2732
3340
if test -n "$CC"; then
2733
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2734
 
echo "${ECHO_T}$CC" >&6; }
 
3341
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3342
$as_echo "$CC" >&6; }
2735
3343
else
2736
 
  { echo "$as_me:$LINENO: result: no" >&5
2737
 
echo "${ECHO_T}no" >&6; }
 
3344
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3345
$as_echo "no" >&6; }
2738
3346
fi
2739
3347
 
2740
3348
 
2743
3351
if test -z "$CC"; then
2744
3352
  # Extract the first word of "cc", so it can be a program name with args.
2745
3353
set dummy cc; ac_word=$2
2746
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2747
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2748
 
if test "${ac_cv_prog_CC+set}" = set; then
2749
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3354
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3355
$as_echo_n "checking for $ac_word... " >&6; }
 
3356
if test "${ac_cv_prog_CC+set}" = set; then :
 
3357
  $as_echo_n "(cached) " >&6
2750
3358
else
2751
3359
  if test -n "$CC"; then
2752
3360
  ac_cv_prog_CC="$CC" # Let the user override the test.
2757
3365
do
2758
3366
  IFS=$as_save_IFS
2759
3367
  test -z "$as_dir" && as_dir=.
2760
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3368
    for ac_exec_ext in '' $ac_executable_extensions; do
2761
3369
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2762
3370
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2763
3371
       ac_prog_rejected=yes
2764
3372
       continue
2765
3373
     fi
2766
3374
    ac_cv_prog_CC="cc"
2767
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3375
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2768
3376
    break 2
2769
3377
  fi
2770
3378
done
2771
 
done
 
3379
  done
2772
3380
IFS=$as_save_IFS
2773
3381
 
2774
3382
if test $ac_prog_rejected = yes; then
2787
3395
fi
2788
3396
CC=$ac_cv_prog_CC
2789
3397
if test -n "$CC"; then
2790
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2791
 
echo "${ECHO_T}$CC" >&6; }
 
3398
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3399
$as_echo "$CC" >&6; }
2792
3400
else
2793
 
  { echo "$as_me:$LINENO: result: no" >&5
2794
 
echo "${ECHO_T}no" >&6; }
 
3401
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3402
$as_echo "no" >&6; }
2795
3403
fi
2796
3404
 
2797
3405
 
2802
3410
  do
2803
3411
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2804
3412
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2805
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2806
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2807
 
if test "${ac_cv_prog_CC+set}" = set; then
2808
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3413
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3414
$as_echo_n "checking for $ac_word... " >&6; }
 
3415
if test "${ac_cv_prog_CC+set}" = set; then :
 
3416
  $as_echo_n "(cached) " >&6
2809
3417
else
2810
3418
  if test -n "$CC"; then
2811
3419
  ac_cv_prog_CC="$CC" # Let the user override the test.
2815
3423
do
2816
3424
  IFS=$as_save_IFS
2817
3425
  test -z "$as_dir" && as_dir=.
2818
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3426
    for ac_exec_ext in '' $ac_executable_extensions; do
2819
3427
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2820
3428
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2821
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3429
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2822
3430
    break 2
2823
3431
  fi
2824
3432
done
2825
 
done
 
3433
  done
2826
3434
IFS=$as_save_IFS
2827
3435
 
2828
3436
fi
2829
3437
fi
2830
3438
CC=$ac_cv_prog_CC
2831
3439
if test -n "$CC"; then
2832
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2833
 
echo "${ECHO_T}$CC" >&6; }
 
3440
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3441
$as_echo "$CC" >&6; }
2834
3442
else
2835
 
  { echo "$as_me:$LINENO: result: no" >&5
2836
 
echo "${ECHO_T}no" >&6; }
 
3443
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3444
$as_echo "no" >&6; }
2837
3445
fi
2838
3446
 
2839
3447
 
2846
3454
do
2847
3455
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2848
3456
set dummy $ac_prog; ac_word=$2
2849
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2850
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2851
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2852
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3457
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3458
$as_echo_n "checking for $ac_word... " >&6; }
 
3459
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3460
  $as_echo_n "(cached) " >&6
2853
3461
else
2854
3462
  if test -n "$ac_ct_CC"; then
2855
3463
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2859
3467
do
2860
3468
  IFS=$as_save_IFS
2861
3469
  test -z "$as_dir" && as_dir=.
2862
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3470
    for ac_exec_ext in '' $ac_executable_extensions; do
2863
3471
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2864
3472
    ac_cv_prog_ac_ct_CC="$ac_prog"
2865
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3473
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2866
3474
    break 2
2867
3475
  fi
2868
3476
done
2869
 
done
 
3477
  done
2870
3478
IFS=$as_save_IFS
2871
3479
 
2872
3480
fi
2873
3481
fi
2874
3482
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2875
3483
if test -n "$ac_ct_CC"; then
2876
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2877
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
3484
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3485
$as_echo "$ac_ct_CC" >&6; }
2878
3486
else
2879
 
  { echo "$as_me:$LINENO: result: no" >&5
2880
 
echo "${ECHO_T}no" >&6; }
 
3487
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3488
$as_echo "no" >&6; }
2881
3489
fi
2882
3490
 
2883
3491
 
2889
3497
  else
2890
3498
    case $cross_compiling:$ac_tool_warned in
2891
3499
yes:)
2892
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2893
 
whose name does not start with the host triplet.  If you think this
2894
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2895
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2896
 
whose name does not start with the host triplet.  If you think this
2897
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3500
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3501
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2898
3502
ac_tool_warned=yes ;;
2899
3503
esac
2900
3504
    CC=$ac_ct_CC
2904
3508
fi
2905
3509
 
2906
3510
 
2907
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2908
 
See \`config.log' for more details." >&5
2909
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
2910
 
See \`config.log' for more details." >&2;}
2911
 
   { (exit 1); exit 1; }; }
 
3511
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3512
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3513
as_fn_error "no acceptable C compiler found in \$PATH
 
3514
See \`config.log' for more details." "$LINENO" 5; }
2912
3515
 
2913
3516
# Provide some information about the compiler.
2914
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
2915
 
ac_compiler=`set X $ac_compile; echo $2`
2916
 
{ (ac_try="$ac_compiler --version >&5"
2917
 
case "(($ac_try" in
2918
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2919
 
  *) ac_try_echo=$ac_try;;
2920
 
esac
2921
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2922
 
  (eval "$ac_compiler --version >&5") 2>&5
2923
 
  ac_status=$?
2924
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2925
 
  (exit $ac_status); }
2926
 
{ (ac_try="$ac_compiler -v >&5"
2927
 
case "(($ac_try" in
2928
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2929
 
  *) ac_try_echo=$ac_try;;
2930
 
esac
2931
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2932
 
  (eval "$ac_compiler -v >&5") 2>&5
2933
 
  ac_status=$?
2934
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935
 
  (exit $ac_status); }
2936
 
{ (ac_try="$ac_compiler -V >&5"
2937
 
case "(($ac_try" in
2938
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2939
 
  *) ac_try_echo=$ac_try;;
2940
 
esac
2941
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2942
 
  (eval "$ac_compiler -V >&5") 2>&5
2943
 
  ac_status=$?
2944
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2945
 
  (exit $ac_status); }
 
3517
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
3518
set X $ac_compile
 
3519
ac_compiler=$2
 
3520
for ac_option in --version -v -V -qversion; do
 
3521
  { { ac_try="$ac_compiler $ac_option >&5"
 
3522
case "(($ac_try" in
 
3523
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3524
  *) ac_try_echo=$ac_try;;
 
3525
esac
 
3526
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3527
$as_echo "$ac_try_echo"; } >&5
 
3528
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3529
  ac_status=$?
 
3530
  if test -s conftest.err; then
 
3531
    sed '10a\
 
3532
... rest of stderr output deleted ...
 
3533
         10q' conftest.err >conftest.er1
 
3534
    cat conftest.er1 >&5
 
3535
  fi
 
3536
  rm -f conftest.er1 conftest.err
 
3537
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3538
  test $ac_status = 0; }
 
3539
done
2946
3540
 
2947
 
cat >conftest.$ac_ext <<_ACEOF
2948
 
/* confdefs.h.  */
2949
 
_ACEOF
2950
 
cat confdefs.h >>conftest.$ac_ext
2951
 
cat >>conftest.$ac_ext <<_ACEOF
 
3541
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2952
3542
/* end confdefs.h.  */
2953
3543
 
2954
3544
int
2960
3550
}
2961
3551
_ACEOF
2962
3552
ac_clean_files_save=$ac_clean_files
2963
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
3553
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2964
3554
# Try to create an executable without -o first, disregard a.out.
2965
3555
# It will help us diagnose broken compilers, and finding out an intuition
2966
3556
# of exeext.
2967
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2968
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2969
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2970
 
#
2971
 
# List of possible output files, starting from the most likely.
2972
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2973
 
# only as a last resort.  b.out is created by i960 compilers.
2974
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2975
 
#
2976
 
# The IRIX 6 linker writes into existing files which may not be
2977
 
# executable, retaining their permissions.  Remove them first so a
2978
 
# subsequent execution test works.
 
3557
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3558
$as_echo_n "checking whether the C compiler works... " >&6; }
 
3559
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3560
 
 
3561
# The possible output files:
 
3562
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3563
 
2979
3564
ac_rmfiles=
2980
3565
for ac_file in $ac_files
2981
3566
do
2982
3567
  case $ac_file in
2983
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3568
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2984
3569
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2985
3570
  esac
2986
3571
done
2987
3572
rm -f $ac_rmfiles
2988
3573
 
2989
 
if { (ac_try="$ac_link_default"
 
3574
if { { ac_try="$ac_link_default"
2990
3575
case "(($ac_try" in
2991
3576
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2992
3577
  *) ac_try_echo=$ac_try;;
2993
3578
esac
2994
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3579
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3580
$as_echo "$ac_try_echo"; } >&5
2995
3581
  (eval "$ac_link_default") 2>&5
2996
3582
  ac_status=$?
2997
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2998
 
  (exit $ac_status); }; then
 
3583
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3584
  test $ac_status = 0; }; then :
2999
3585
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3000
3586
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3001
3587
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3005
3591
do
3006
3592
  test -f "$ac_file" || continue
3007
3593
  case $ac_file in
3008
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
3594
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3009
3595
        ;;
3010
3596
    [ab].out )
3011
3597
        # We found the default executable, but exeext='' is most
3012
3598
        # certainly right.
3013
3599
        break;;
3014
3600
    *.* )
3015
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3601
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3016
3602
        then :; else
3017
3603
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3018
3604
        fi
3031
3617
else
3032
3618
  ac_file=''
3033
3619
fi
3034
 
 
3035
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
3036
 
echo "${ECHO_T}$ac_file" >&6; }
3037
 
if test -z "$ac_file"; then
3038
 
  echo "$as_me: failed program was:" >&5
 
3620
if test -z "$ac_file"; then :
 
3621
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3622
$as_echo "no" >&6; }
 
3623
$as_echo "$as_me: failed program was:" >&5
3039
3624
sed 's/^/| /' conftest.$ac_ext >&5
3040
3625
 
3041
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3042
 
See \`config.log' for more details." >&5
3043
 
echo "$as_me: error: C compiler cannot create executables
3044
 
See \`config.log' for more details." >&2;}
3045
 
   { (exit 77); exit 77; }; }
 
3626
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3627
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3628
{ as_fn_set_status 77
 
3629
as_fn_error "C compiler cannot create executables
 
3630
See \`config.log' for more details." "$LINENO" 5; }; }
 
3631
else
 
3632
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3633
$as_echo "yes" >&6; }
3046
3634
fi
3047
 
 
 
3635
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3636
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3637
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3638
$as_echo "$ac_file" >&6; }
3048
3639
ac_exeext=$ac_cv_exeext
3049
3640
 
3050
 
# Check that the compiler produces executables we can run.  If not, either
3051
 
# the compiler is broken, or we cross compile.
3052
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3053
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3054
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3055
 
# If not cross compiling, check that we can run a simple program.
3056
 
if test "$cross_compiling" != yes; then
3057
 
  if { ac_try='./$ac_file'
3058
 
  { (case "(($ac_try" in
3059
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3060
 
  *) ac_try_echo=$ac_try;;
3061
 
esac
3062
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3063
 
  (eval "$ac_try") 2>&5
3064
 
  ac_status=$?
3065
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3066
 
  (exit $ac_status); }; }; then
3067
 
    cross_compiling=no
3068
 
  else
3069
 
    if test "$cross_compiling" = maybe; then
3070
 
        cross_compiling=yes
3071
 
    else
3072
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3073
 
If you meant to cross compile, use \`--host'.
3074
 
See \`config.log' for more details." >&5
3075
 
echo "$as_me: error: cannot run C compiled programs.
3076
 
If you meant to cross compile, use \`--host'.
3077
 
See \`config.log' for more details." >&2;}
3078
 
   { (exit 1); exit 1; }; }
3079
 
    fi
3080
 
  fi
3081
 
fi
3082
 
{ echo "$as_me:$LINENO: result: yes" >&5
3083
 
echo "${ECHO_T}yes" >&6; }
3084
 
 
3085
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
3641
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3086
3642
ac_clean_files=$ac_clean_files_save
3087
 
# Check that the compiler produces executables we can run.  If not, either
3088
 
# the compiler is broken, or we cross compile.
3089
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3090
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3091
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3092
 
echo "${ECHO_T}$cross_compiling" >&6; }
3093
 
 
3094
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3095
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3096
 
if { (ac_try="$ac_link"
 
3643
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
3644
$as_echo_n "checking for suffix of executables... " >&6; }
 
3645
if { { ac_try="$ac_link"
3097
3646
case "(($ac_try" in
3098
3647
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3099
3648
  *) ac_try_echo=$ac_try;;
3100
3649
esac
3101
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3650
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3651
$as_echo "$ac_try_echo"; } >&5
3102
3652
  (eval "$ac_link") 2>&5
3103
3653
  ac_status=$?
3104
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105
 
  (exit $ac_status); }; then
 
3654
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3655
  test $ac_status = 0; }; then :
3106
3656
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3107
3657
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3108
3658
# work properly (i.e., refer to `conftest.exe'), while it won't with
3110
3660
for ac_file in conftest.exe conftest conftest.*; do
3111
3661
  test -f "$ac_file" || continue
3112
3662
  case $ac_file in
3113
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3663
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3114
3664
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3115
3665
          break;;
3116
3666
    * ) break;;
3117
3667
  esac
3118
3668
done
3119
3669
else
3120
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3121
 
See \`config.log' for more details." >&5
3122
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3123
 
See \`config.log' for more details." >&2;}
3124
 
   { (exit 1); exit 1; }; }
 
3670
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3671
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3672
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
3673
See \`config.log' for more details." "$LINENO" 5; }
3125
3674
fi
3126
 
 
3127
 
rm -f conftest$ac_cv_exeext
3128
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3129
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
3675
rm -f conftest conftest$ac_cv_exeext
 
3676
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
3677
$as_echo "$ac_cv_exeext" >&6; }
3130
3678
 
3131
3679
rm -f conftest.$ac_ext
3132
3680
EXEEXT=$ac_cv_exeext
3133
3681
ac_exeext=$EXEEXT
3134
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3135
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3136
 
if test "${ac_cv_objext+set}" = set; then
3137
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3682
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3683
/* end confdefs.h.  */
 
3684
#include <stdio.h>
 
3685
int
 
3686
main ()
 
3687
{
 
3688
FILE *f = fopen ("conftest.out", "w");
 
3689
 return ferror (f) || fclose (f) != 0;
 
3690
 
 
3691
  ;
 
3692
  return 0;
 
3693
}
 
3694
_ACEOF
 
3695
ac_clean_files="$ac_clean_files conftest.out"
 
3696
# Check that the compiler produces executables we can run.  If not, either
 
3697
# the compiler is broken, or we cross compile.
 
3698
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3699
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3700
if test "$cross_compiling" != yes; then
 
3701
  { { ac_try="$ac_link"
 
3702
case "(($ac_try" in
 
3703
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3704
  *) ac_try_echo=$ac_try;;
 
3705
esac
 
3706
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3707
$as_echo "$ac_try_echo"; } >&5
 
3708
  (eval "$ac_link") 2>&5
 
3709
  ac_status=$?
 
3710
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3711
  test $ac_status = 0; }
 
3712
  if { ac_try='./conftest$ac_cv_exeext'
 
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:${as_lineno-$LINENO}: $ac_try_echo\""
 
3718
$as_echo "$ac_try_echo"; } >&5
 
3719
  (eval "$ac_try") 2>&5
 
3720
  ac_status=$?
 
3721
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3722
  test $ac_status = 0; }; }; then
 
3723
    cross_compiling=no
 
3724
  else
 
3725
    if test "$cross_compiling" = maybe; then
 
3726
        cross_compiling=yes
 
3727
    else
 
3728
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3729
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3730
as_fn_error "cannot run C compiled programs.
 
3731
If you meant to cross compile, use \`--host'.
 
3732
See \`config.log' for more details." "$LINENO" 5; }
 
3733
    fi
 
3734
  fi
 
3735
fi
 
3736
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3737
$as_echo "$cross_compiling" >&6; }
 
3738
 
 
3739
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3740
ac_clean_files=$ac_clean_files_save
 
3741
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
3742
$as_echo_n "checking for suffix of object files... " >&6; }
 
3743
if test "${ac_cv_objext+set}" = set; then :
 
3744
  $as_echo_n "(cached) " >&6
3138
3745
else
3139
 
  cat >conftest.$ac_ext <<_ACEOF
3140
 
/* confdefs.h.  */
3141
 
_ACEOF
3142
 
cat confdefs.h >>conftest.$ac_ext
3143
 
cat >>conftest.$ac_ext <<_ACEOF
 
3746
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3144
3747
/* end confdefs.h.  */
3145
3748
 
3146
3749
int
3152
3755
}
3153
3756
_ACEOF
3154
3757
rm -f conftest.o conftest.obj
3155
 
if { (ac_try="$ac_compile"
 
3758
if { { ac_try="$ac_compile"
3156
3759
case "(($ac_try" in
3157
3760
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3158
3761
  *) ac_try_echo=$ac_try;;
3159
3762
esac
3160
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3763
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3764
$as_echo "$ac_try_echo"; } >&5
3161
3765
  (eval "$ac_compile") 2>&5
3162
3766
  ac_status=$?
3163
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164
 
  (exit $ac_status); }; then
 
3767
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3768
  test $ac_status = 0; }; then :
3165
3769
  for ac_file in conftest.o conftest.obj conftest.*; do
3166
3770
  test -f "$ac_file" || continue;
3167
3771
  case $ac_file in
3168
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
3772
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3169
3773
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3170
3774
       break;;
3171
3775
  esac
3172
3776
done
3173
3777
else
3174
 
  echo "$as_me: failed program was:" >&5
 
3778
  $as_echo "$as_me: failed program was:" >&5
3175
3779
sed 's/^/| /' conftest.$ac_ext >&5
3176
3780
 
3177
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3178
 
See \`config.log' for more details." >&5
3179
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
3180
 
See \`config.log' for more details." >&2;}
3181
 
   { (exit 1); exit 1; }; }
 
3781
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3782
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3783
as_fn_error "cannot compute suffix of object files: cannot compile
 
3784
See \`config.log' for more details." "$LINENO" 5; }
3182
3785
fi
3183
 
 
3184
3786
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3185
3787
fi
3186
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3187
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
3788
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
3789
$as_echo "$ac_cv_objext" >&6; }
3188
3790
OBJEXT=$ac_cv_objext
3189
3791
ac_objext=$OBJEXT
3190
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3191
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3192
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3193
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3792
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
3793
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
3794
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3795
  $as_echo_n "(cached) " >&6
3194
3796
else
3195
 
  cat >conftest.$ac_ext <<_ACEOF
3196
 
/* confdefs.h.  */
3197
 
_ACEOF
3198
 
cat confdefs.h >>conftest.$ac_ext
3199
 
cat >>conftest.$ac_ext <<_ACEOF
 
3797
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3200
3798
/* end confdefs.h.  */
3201
3799
 
3202
3800
int
3210
3808
  return 0;
3211
3809
}
3212
3810
_ACEOF
3213
 
rm -f conftest.$ac_objext
3214
 
if { (ac_try="$ac_compile"
3215
 
case "(($ac_try" in
3216
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3217
 
  *) ac_try_echo=$ac_try;;
3218
 
esac
3219
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3220
 
  (eval "$ac_compile") 2>conftest.er1
3221
 
  ac_status=$?
3222
 
  grep -v '^ *+' conftest.er1 >conftest.err
3223
 
  rm -f conftest.er1
3224
 
  cat conftest.err >&5
3225
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3226
 
  (exit $ac_status); } && {
3227
 
         test -z "$ac_c_werror_flag" ||
3228
 
         test ! -s conftest.err
3229
 
       } && test -s conftest.$ac_objext; then
 
3811
if ac_fn_c_try_compile "$LINENO"; then :
3230
3812
  ac_compiler_gnu=yes
3231
3813
else
3232
 
  echo "$as_me: failed program was:" >&5
3233
 
sed 's/^/| /' conftest.$ac_ext >&5
3234
 
 
3235
 
        ac_compiler_gnu=no
 
3814
  ac_compiler_gnu=no
3236
3815
fi
3237
 
 
3238
3816
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3239
3817
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3240
3818
 
3241
3819
fi
3242
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3243
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3244
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
3820
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
3821
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3822
if test $ac_compiler_gnu = yes; then
 
3823
  GCC=yes
 
3824
else
 
3825
  GCC=
 
3826
fi
3245
3827
ac_test_CFLAGS=${CFLAGS+set}
3246
3828
ac_save_CFLAGS=$CFLAGS
3247
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3248
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3249
 
if test "${ac_cv_prog_cc_g+set}" = set; then
3250
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3829
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
3830
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
3831
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3832
  $as_echo_n "(cached) " >&6
3251
3833
else
3252
3834
  ac_save_c_werror_flag=$ac_c_werror_flag
3253
3835
   ac_c_werror_flag=yes
3254
3836
   ac_cv_prog_cc_g=no
3255
3837
   CFLAGS="-g"
3256
 
   cat >conftest.$ac_ext <<_ACEOF
3257
 
/* confdefs.h.  */
3258
 
_ACEOF
3259
 
cat confdefs.h >>conftest.$ac_ext
3260
 
cat >>conftest.$ac_ext <<_ACEOF
 
3838
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3261
3839
/* end confdefs.h.  */
3262
3840
 
3263
3841
int
3268
3846
  return 0;
3269
3847
}
3270
3848
_ACEOF
3271
 
rm -f conftest.$ac_objext
3272
 
if { (ac_try="$ac_compile"
3273
 
case "(($ac_try" in
3274
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3275
 
  *) ac_try_echo=$ac_try;;
3276
 
esac
3277
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3278
 
  (eval "$ac_compile") 2>conftest.er1
3279
 
  ac_status=$?
3280
 
  grep -v '^ *+' conftest.er1 >conftest.err
3281
 
  rm -f conftest.er1
3282
 
  cat conftest.err >&5
3283
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3284
 
  (exit $ac_status); } && {
3285
 
         test -z "$ac_c_werror_flag" ||
3286
 
         test ! -s conftest.err
3287
 
       } && test -s conftest.$ac_objext; then
 
3849
if ac_fn_c_try_compile "$LINENO"; then :
3288
3850
  ac_cv_prog_cc_g=yes
3289
3851
else
3290
 
  echo "$as_me: failed program was:" >&5
3291
 
sed 's/^/| /' conftest.$ac_ext >&5
3292
 
 
3293
 
        CFLAGS=""
3294
 
      cat >conftest.$ac_ext <<_ACEOF
3295
 
/* confdefs.h.  */
3296
 
_ACEOF
3297
 
cat confdefs.h >>conftest.$ac_ext
3298
 
cat >>conftest.$ac_ext <<_ACEOF
 
3852
  CFLAGS=""
 
3853
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3299
3854
/* end confdefs.h.  */
3300
3855
 
3301
3856
int
3306
3861
  return 0;
3307
3862
}
3308
3863
_ACEOF
3309
 
rm -f conftest.$ac_objext
3310
 
if { (ac_try="$ac_compile"
3311
 
case "(($ac_try" in
3312
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3313
 
  *) ac_try_echo=$ac_try;;
3314
 
esac
3315
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3316
 
  (eval "$ac_compile") 2>conftest.er1
3317
 
  ac_status=$?
3318
 
  grep -v '^ *+' conftest.er1 >conftest.err
3319
 
  rm -f conftest.er1
3320
 
  cat conftest.err >&5
3321
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3322
 
  (exit $ac_status); } && {
3323
 
         test -z "$ac_c_werror_flag" ||
3324
 
         test ! -s conftest.err
3325
 
       } && test -s conftest.$ac_objext; then
3326
 
  :
 
3864
if ac_fn_c_try_compile "$LINENO"; then :
 
3865
 
3327
3866
else
3328
 
  echo "$as_me: failed program was:" >&5
3329
 
sed 's/^/| /' conftest.$ac_ext >&5
3330
 
 
3331
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3867
  ac_c_werror_flag=$ac_save_c_werror_flag
3332
3868
         CFLAGS="-g"
3333
 
         cat >conftest.$ac_ext <<_ACEOF
3334
 
/* confdefs.h.  */
3335
 
_ACEOF
3336
 
cat confdefs.h >>conftest.$ac_ext
3337
 
cat >>conftest.$ac_ext <<_ACEOF
 
3869
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3338
3870
/* end confdefs.h.  */
3339
3871
 
3340
3872
int
3345
3877
  return 0;
3346
3878
}
3347
3879
_ACEOF
3348
 
rm -f conftest.$ac_objext
3349
 
if { (ac_try="$ac_compile"
3350
 
case "(($ac_try" in
3351
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3352
 
  *) ac_try_echo=$ac_try;;
3353
 
esac
3354
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3355
 
  (eval "$ac_compile") 2>conftest.er1
3356
 
  ac_status=$?
3357
 
  grep -v '^ *+' conftest.er1 >conftest.err
3358
 
  rm -f conftest.er1
3359
 
  cat conftest.err >&5
3360
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3361
 
  (exit $ac_status); } && {
3362
 
         test -z "$ac_c_werror_flag" ||
3363
 
         test ! -s conftest.err
3364
 
       } && test -s conftest.$ac_objext; then
 
3880
if ac_fn_c_try_compile "$LINENO"; then :
3365
3881
  ac_cv_prog_cc_g=yes
3366
 
else
3367
 
  echo "$as_me: failed program was:" >&5
3368
 
sed 's/^/| /' conftest.$ac_ext >&5
3369
 
 
3370
 
 
3371
 
fi
3372
 
 
3373
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3374
 
fi
3375
 
 
3376
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3377
 
fi
3378
 
 
 
3882
fi
 
3883
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3884
fi
 
3885
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3886
fi
3379
3887
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3380
3888
   ac_c_werror_flag=$ac_save_c_werror_flag
3381
3889
fi
3382
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3383
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
3890
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
3891
$as_echo "$ac_cv_prog_cc_g" >&6; }
3384
3892
if test "$ac_test_CFLAGS" = set; then
3385
3893
  CFLAGS=$ac_save_CFLAGS
3386
3894
elif test $ac_cv_prog_cc_g = yes; then
3396
3904
    CFLAGS=
3397
3905
  fi
3398
3906
fi
3399
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3400
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3401
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
3402
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3907
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
3908
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
3909
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3910
  $as_echo_n "(cached) " >&6
3403
3911
else
3404
3912
  ac_cv_prog_cc_c89=no
3405
3913
ac_save_CC=$CC
3406
 
cat >conftest.$ac_ext <<_ACEOF
3407
 
/* confdefs.h.  */
3408
 
_ACEOF
3409
 
cat confdefs.h >>conftest.$ac_ext
3410
 
cat >>conftest.$ac_ext <<_ACEOF
 
3914
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3411
3915
/* end confdefs.h.  */
3412
3916
#include <stdarg.h>
3413
3917
#include <stdio.h>
3464
3968
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3465
3969
do
3466
3970
  CC="$ac_save_CC $ac_arg"
3467
 
  rm -f conftest.$ac_objext
3468
 
if { (ac_try="$ac_compile"
3469
 
case "(($ac_try" in
3470
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3471
 
  *) ac_try_echo=$ac_try;;
3472
 
esac
3473
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3474
 
  (eval "$ac_compile") 2>conftest.er1
3475
 
  ac_status=$?
3476
 
  grep -v '^ *+' conftest.er1 >conftest.err
3477
 
  rm -f conftest.er1
3478
 
  cat conftest.err >&5
3479
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3480
 
  (exit $ac_status); } && {
3481
 
         test -z "$ac_c_werror_flag" ||
3482
 
         test ! -s conftest.err
3483
 
       } && test -s conftest.$ac_objext; then
 
3971
  if ac_fn_c_try_compile "$LINENO"; then :
3484
3972
  ac_cv_prog_cc_c89=$ac_arg
3485
 
else
3486
 
  echo "$as_me: failed program was:" >&5
3487
 
sed 's/^/| /' conftest.$ac_ext >&5
3488
 
 
3489
 
 
3490
3973
fi
3491
 
 
3492
3974
rm -f core conftest.err conftest.$ac_objext
3493
3975
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3494
3976
done
3499
3981
# AC_CACHE_VAL
3500
3982
case "x$ac_cv_prog_cc_c89" in
3501
3983
  x)
3502
 
    { echo "$as_me:$LINENO: result: none needed" >&5
3503
 
echo "${ECHO_T}none needed" >&6; } ;;
 
3984
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
3985
$as_echo "none needed" >&6; } ;;
3504
3986
  xno)
3505
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
3506
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
3987
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
3988
$as_echo "unsupported" >&6; } ;;
3507
3989
  *)
3508
3990
    CC="$CC $ac_cv_prog_cc_c89"
3509
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3510
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
3991
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
3992
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3511
3993
esac
 
3994
if test "x$ac_cv_prog_cc_c89" != xno; then :
3512
3995
 
 
3996
fi
3513
3997
 
3514
3998
ac_ext=c
3515
3999
ac_cpp='$CPP $CPPFLAGS'
3524
4008
am_make=${MAKE-make}
3525
4009
cat > confinc << 'END'
3526
4010
am__doit:
3527
 
        @echo done
 
4011
        @echo this is the am__doit target
3528
4012
.PHONY: am__doit
3529
4013
END
3530
4014
# If we don't find an include directive, just comment out the code.
3531
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3532
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 
4015
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
4016
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3533
4017
am__include="#"
3534
4018
am__quote=
3535
4019
_am_result=none
3536
4020
# First try GNU make style include.
3537
4021
echo "include confinc" > confmf
3538
 
# We grep out `Entering directory' and `Leaving directory'
3539
 
# messages which can occur if `w' ends up in MAKEFLAGS.
3540
 
# In particular we don't look at `^make:' because GNU make might
3541
 
# be invoked under some other name (usually "gmake"), in which
3542
 
# case it prints its new name instead of `make'.
3543
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3544
 
   am__include=include
3545
 
   am__quote=
3546
 
   _am_result=GNU
3547
 
fi
 
4022
# Ignore all kinds of additional output from `make'.
 
4023
case `$am_make -s -f confmf 2> /dev/null` in #(
 
4024
*the\ am__doit\ target*)
 
4025
  am__include=include
 
4026
  am__quote=
 
4027
  _am_result=GNU
 
4028
  ;;
 
4029
esac
3548
4030
# Now try BSD make style include.
3549
4031
if test "$am__include" = "#"; then
3550
4032
   echo '.include "confinc"' > confmf
3551
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3552
 
      am__include=.include
3553
 
      am__quote="\""
3554
 
      _am_result=BSD
3555
 
   fi
 
4033
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
4034
   *the\ am__doit\ target*)
 
4035
     am__include=.include
 
4036
     am__quote="\""
 
4037
     _am_result=BSD
 
4038
     ;;
 
4039
   esac
3556
4040
fi
3557
4041
 
3558
4042
 
3559
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3560
 
echo "${ECHO_T}$_am_result" >&6; }
 
4043
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
4044
$as_echo "$_am_result" >&6; }
3561
4045
rm -f confinc confmf
3562
4046
 
3563
4047
# Check whether --enable-dependency-tracking was given.
3564
 
if test "${enable_dependency_tracking+set}" = set; then
 
4048
if test "${enable_dependency_tracking+set}" = set; then :
3565
4049
  enableval=$enable_dependency_tracking;
3566
4050
fi
3567
4051
 
3581
4065
 
3582
4066
depcc="$CC"   am_compiler_list=
3583
4067
 
3584
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3585
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3586
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3587
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4068
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
4069
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
4070
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
4071
  $as_echo_n "(cached) " >&6
3588
4072
else
3589
4073
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3590
4074
  # We make a subdir and do the tests there.  Otherwise we can end up
3609
4093
  if test "$am_compiler_list" = ""; then
3610
4094
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3611
4095
  fi
 
4096
  am__universal=false
 
4097
  case " $depcc " in #(
 
4098
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
4099
     esac
 
4100
 
3612
4101
  for depmode in $am_compiler_list; do
3613
4102
    # Setup a source with many dependencies, because some compilers
3614
4103
    # like to wrap large dependency lists on column 80 (with \), and
3626
4115
    done
3627
4116
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3628
4117
 
 
4118
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4119
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4120
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
4121
    # versions had trouble with output in subdirs
 
4122
    am__obj=sub/conftest.${OBJEXT-o}
 
4123
    am__minus_obj="-o $am__obj"
3629
4124
    case $depmode in
 
4125
    gcc)
 
4126
      # This depmode causes a compiler race in universal mode.
 
4127
      test "$am__universal" = false || continue
 
4128
      ;;
3630
4129
    nosideeffect)
3631
4130
      # after this tag, mechanisms are not by side-effect, so they'll
3632
4131
      # only be used when explicitly requested
3636
4135
        break
3637
4136
      fi
3638
4137
      ;;
 
4138
    msvisualcpp | msvcmsys)
 
4139
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4140
      # not run yet.  These depmodes are late enough in the game, and
 
4141
      # so weak that their functioning should not be impacted.
 
4142
      am__obj=conftest.${OBJEXT-o}
 
4143
      am__minus_obj=
 
4144
      ;;
3639
4145
    none) break ;;
3640
4146
    esac
3641
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3642
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3643
 
    # handle `-M -o', and we need to detect this.
3644
4147
    if depmode=$depmode \
3645
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
4148
       source=sub/conftest.c object=$am__obj \
3646
4149
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3647
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
4150
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3648
4151
         >/dev/null 2>conftest.err &&
3649
4152
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3650
4153
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3651
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
4154
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3652
4155
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3653
4156
      # icc doesn't choke on unknown options, it will just issue warnings
3654
4157
      # or remarks (even with -Werror).  So we grep stderr for any message
3672
4175
fi
3673
4176
 
3674
4177
fi
3675
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3676
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
4178
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4179
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3677
4180
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3678
4181
 
3679
4182
 if
3701
4204
  do
3702
4205
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3703
4206
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3704
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3705
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3706
 
if test "${ac_cv_prog_CXX+set}" = set; then
3707
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4207
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4208
$as_echo_n "checking for $ac_word... " >&6; }
 
4209
if test "${ac_cv_prog_CXX+set}" = set; then :
 
4210
  $as_echo_n "(cached) " >&6
3708
4211
else
3709
4212
  if test -n "$CXX"; then
3710
4213
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
3714
4217
do
3715
4218
  IFS=$as_save_IFS
3716
4219
  test -z "$as_dir" && as_dir=.
3717
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4220
    for ac_exec_ext in '' $ac_executable_extensions; do
3718
4221
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3719
4222
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3720
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4223
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3721
4224
    break 2
3722
4225
  fi
3723
4226
done
3724
 
done
 
4227
  done
3725
4228
IFS=$as_save_IFS
3726
4229
 
3727
4230
fi
3728
4231
fi
3729
4232
CXX=$ac_cv_prog_CXX
3730
4233
if test -n "$CXX"; then
3731
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
3732
 
echo "${ECHO_T}$CXX" >&6; }
 
4234
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 
4235
$as_echo "$CXX" >&6; }
3733
4236
else
3734
 
  { echo "$as_me:$LINENO: result: no" >&5
3735
 
echo "${ECHO_T}no" >&6; }
 
4237
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4238
$as_echo "no" >&6; }
3736
4239
fi
3737
4240
 
3738
4241
 
3745
4248
do
3746
4249
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3747
4250
set dummy $ac_prog; ac_word=$2
3748
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3749
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3750
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3751
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4252
$as_echo_n "checking for $ac_word... " >&6; }
 
4253
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
4254
  $as_echo_n "(cached) " >&6
3752
4255
else
3753
4256
  if test -n "$ac_ct_CXX"; then
3754
4257
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3758
4261
do
3759
4262
  IFS=$as_save_IFS
3760
4263
  test -z "$as_dir" && as_dir=.
3761
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4264
    for ac_exec_ext in '' $ac_executable_extensions; do
3762
4265
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3763
4266
    ac_cv_prog_ac_ct_CXX="$ac_prog"
3764
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4267
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3765
4268
    break 2
3766
4269
  fi
3767
4270
done
3768
 
done
 
4271
  done
3769
4272
IFS=$as_save_IFS
3770
4273
 
3771
4274
fi
3772
4275
fi
3773
4276
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3774
4277
if test -n "$ac_ct_CXX"; then
3775
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3776
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
 
4278
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 
4279
$as_echo "$ac_ct_CXX" >&6; }
3777
4280
else
3778
 
  { echo "$as_me:$LINENO: result: no" >&5
3779
 
echo "${ECHO_T}no" >&6; }
 
4281
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4282
$as_echo "no" >&6; }
3780
4283
fi
3781
4284
 
3782
4285
 
3788
4291
  else
3789
4292
    case $cross_compiling:$ac_tool_warned in
3790
4293
yes:)
3791
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3792
 
whose name does not start with the host triplet.  If you think this
3793
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3794
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3795
 
whose name does not start with the host triplet.  If you think this
3796
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4294
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4295
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3797
4296
ac_tool_warned=yes ;;
3798
4297
esac
3799
4298
    CXX=$ac_ct_CXX
3803
4302
  fi
3804
4303
fi
3805
4304
# Provide some information about the compiler.
3806
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3807
 
ac_compiler=`set X $ac_compile; echo $2`
3808
 
{ (ac_try="$ac_compiler --version >&5"
3809
 
case "(($ac_try" in
3810
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3811
 
  *) ac_try_echo=$ac_try;;
3812
 
esac
3813
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3814
 
  (eval "$ac_compiler --version >&5") 2>&5
3815
 
  ac_status=$?
3816
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3817
 
  (exit $ac_status); }
3818
 
{ (ac_try="$ac_compiler -v >&5"
3819
 
case "(($ac_try" in
3820
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3821
 
  *) ac_try_echo=$ac_try;;
3822
 
esac
3823
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3824
 
  (eval "$ac_compiler -v >&5") 2>&5
3825
 
  ac_status=$?
3826
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3827
 
  (exit $ac_status); }
3828
 
{ (ac_try="$ac_compiler -V >&5"
3829
 
case "(($ac_try" in
3830
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3831
 
  *) ac_try_echo=$ac_try;;
3832
 
esac
3833
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3834
 
  (eval "$ac_compiler -V >&5") 2>&5
3835
 
  ac_status=$?
3836
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3837
 
  (exit $ac_status); }
 
4305
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 
4306
set X $ac_compile
 
4307
ac_compiler=$2
 
4308
for ac_option in --version -v -V -qversion; do
 
4309
  { { ac_try="$ac_compiler $ac_option >&5"
 
4310
case "(($ac_try" in
 
4311
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4312
  *) ac_try_echo=$ac_try;;
 
4313
esac
 
4314
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4315
$as_echo "$ac_try_echo"; } >&5
 
4316
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
4317
  ac_status=$?
 
4318
  if test -s conftest.err; then
 
4319
    sed '10a\
 
4320
... rest of stderr output deleted ...
 
4321
         10q' conftest.err >conftest.er1
 
4322
    cat conftest.er1 >&5
 
4323
  fi
 
4324
  rm -f conftest.er1 conftest.err
 
4325
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4326
  test $ac_status = 0; }
 
4327
done
3838
4328
 
3839
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3840
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3841
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3842
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4329
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 
4330
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
4331
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
4332
  $as_echo_n "(cached) " >&6
3843
4333
else
3844
 
  cat >conftest.$ac_ext <<_ACEOF
3845
 
/* confdefs.h.  */
3846
 
_ACEOF
3847
 
cat confdefs.h >>conftest.$ac_ext
3848
 
cat >>conftest.$ac_ext <<_ACEOF
 
4334
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3849
4335
/* end confdefs.h.  */
3850
4336
 
3851
4337
int
3859
4345
  return 0;
3860
4346
}
3861
4347
_ACEOF
3862
 
rm -f conftest.$ac_objext
3863
 
if { (ac_try="$ac_compile"
3864
 
case "(($ac_try" in
3865
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3866
 
  *) ac_try_echo=$ac_try;;
3867
 
esac
3868
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3869
 
  (eval "$ac_compile") 2>conftest.er1
3870
 
  ac_status=$?
3871
 
  grep -v '^ *+' conftest.er1 >conftest.err
3872
 
  rm -f conftest.er1
3873
 
  cat conftest.err >&5
3874
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3875
 
  (exit $ac_status); } && {
3876
 
         test -z "$ac_cxx_werror_flag" ||
3877
 
         test ! -s conftest.err
3878
 
       } && test -s conftest.$ac_objext; then
 
4348
if ac_fn_cxx_try_compile "$LINENO"; then :
3879
4349
  ac_compiler_gnu=yes
3880
4350
else
3881
 
  echo "$as_me: failed program was:" >&5
3882
 
sed 's/^/| /' conftest.$ac_ext >&5
3883
 
 
3884
 
        ac_compiler_gnu=no
 
4351
  ac_compiler_gnu=no
3885
4352
fi
3886
 
 
3887
4353
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3888
4354
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3889
4355
 
3890
4356
fi
3891
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3892
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3893
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
 
4357
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 
4358
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
4359
if test $ac_compiler_gnu = yes; then
 
4360
  GXX=yes
 
4361
else
 
4362
  GXX=
 
4363
fi
3894
4364
ac_test_CXXFLAGS=${CXXFLAGS+set}
3895
4365
ac_save_CXXFLAGS=$CXXFLAGS
3896
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3897
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3898
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
3899
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4366
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 
4367
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
4368
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
4369
  $as_echo_n "(cached) " >&6
3900
4370
else
3901
4371
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3902
4372
   ac_cxx_werror_flag=yes
3903
4373
   ac_cv_prog_cxx_g=no
3904
4374
   CXXFLAGS="-g"
3905
 
   cat >conftest.$ac_ext <<_ACEOF
3906
 
/* confdefs.h.  */
3907
 
_ACEOF
3908
 
cat confdefs.h >>conftest.$ac_ext
3909
 
cat >>conftest.$ac_ext <<_ACEOF
 
4375
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3910
4376
/* end confdefs.h.  */
3911
4377
 
3912
4378
int
3917
4383
  return 0;
3918
4384
}
3919
4385
_ACEOF
3920
 
rm -f conftest.$ac_objext
3921
 
if { (ac_try="$ac_compile"
3922
 
case "(($ac_try" in
3923
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3924
 
  *) ac_try_echo=$ac_try;;
3925
 
esac
3926
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3927
 
  (eval "$ac_compile") 2>conftest.er1
3928
 
  ac_status=$?
3929
 
  grep -v '^ *+' conftest.er1 >conftest.err
3930
 
  rm -f conftest.er1
3931
 
  cat conftest.err >&5
3932
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3933
 
  (exit $ac_status); } && {
3934
 
         test -z "$ac_cxx_werror_flag" ||
3935
 
         test ! -s conftest.err
3936
 
       } && test -s conftest.$ac_objext; then
 
4386
if ac_fn_cxx_try_compile "$LINENO"; then :
3937
4387
  ac_cv_prog_cxx_g=yes
3938
4388
else
3939
 
  echo "$as_me: failed program was:" >&5
3940
 
sed 's/^/| /' conftest.$ac_ext >&5
3941
 
 
3942
 
        CXXFLAGS=""
3943
 
      cat >conftest.$ac_ext <<_ACEOF
3944
 
/* confdefs.h.  */
3945
 
_ACEOF
3946
 
cat confdefs.h >>conftest.$ac_ext
3947
 
cat >>conftest.$ac_ext <<_ACEOF
 
4389
  CXXFLAGS=""
 
4390
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3948
4391
/* end confdefs.h.  */
3949
4392
 
3950
4393
int
3955
4398
  return 0;
3956
4399
}
3957
4400
_ACEOF
3958
 
rm -f conftest.$ac_objext
3959
 
if { (ac_try="$ac_compile"
3960
 
case "(($ac_try" in
3961
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3962
 
  *) ac_try_echo=$ac_try;;
3963
 
esac
3964
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3965
 
  (eval "$ac_compile") 2>conftest.er1
3966
 
  ac_status=$?
3967
 
  grep -v '^ *+' conftest.er1 >conftest.err
3968
 
  rm -f conftest.er1
3969
 
  cat conftest.err >&5
3970
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971
 
  (exit $ac_status); } && {
3972
 
         test -z "$ac_cxx_werror_flag" ||
3973
 
         test ! -s conftest.err
3974
 
       } && test -s conftest.$ac_objext; then
3975
 
  :
 
4401
if ac_fn_cxx_try_compile "$LINENO"; then :
 
4402
 
3976
4403
else
3977
 
  echo "$as_me: failed program was:" >&5
3978
 
sed 's/^/| /' conftest.$ac_ext >&5
3979
 
 
3980
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
4404
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3981
4405
         CXXFLAGS="-g"
3982
 
         cat >conftest.$ac_ext <<_ACEOF
3983
 
/* confdefs.h.  */
3984
 
_ACEOF
3985
 
cat confdefs.h >>conftest.$ac_ext
3986
 
cat >>conftest.$ac_ext <<_ACEOF
 
4406
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3987
4407
/* end confdefs.h.  */
3988
4408
 
3989
4409
int
3994
4414
  return 0;
3995
4415
}
3996
4416
_ACEOF
3997
 
rm -f conftest.$ac_objext
3998
 
if { (ac_try="$ac_compile"
3999
 
case "(($ac_try" in
4000
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4001
 
  *) ac_try_echo=$ac_try;;
4002
 
esac
4003
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4004
 
  (eval "$ac_compile") 2>conftest.er1
4005
 
  ac_status=$?
4006
 
  grep -v '^ *+' conftest.er1 >conftest.err
4007
 
  rm -f conftest.er1
4008
 
  cat conftest.err >&5
4009
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010
 
  (exit $ac_status); } && {
4011
 
         test -z "$ac_cxx_werror_flag" ||
4012
 
         test ! -s conftest.err
4013
 
       } && test -s conftest.$ac_objext; then
 
4417
if ac_fn_cxx_try_compile "$LINENO"; then :
4014
4418
  ac_cv_prog_cxx_g=yes
4015
 
else
4016
 
  echo "$as_me: failed program was:" >&5
4017
 
sed 's/^/| /' conftest.$ac_ext >&5
4018
 
 
4019
 
 
4020
 
fi
4021
 
 
4022
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4023
 
fi
4024
 
 
4025
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4026
 
fi
4027
 
 
 
4419
fi
 
4420
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4421
fi
 
4422
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4423
fi
4028
4424
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4029
4425
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4030
4426
fi
4031
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4032
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
 
4427
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 
4428
$as_echo "$ac_cv_prog_cxx_g" >&6; }
4033
4429
if test "$ac_test_CXXFLAGS" = set; then
4034
4430
  CXXFLAGS=$ac_save_CXXFLAGS
4035
4431
elif test $ac_cv_prog_cxx_g = yes; then
4053
4449
 
4054
4450
depcc="$CXX"  am_compiler_list=
4055
4451
 
4056
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4057
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4058
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4059
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4452
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
4453
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
4454
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
4455
  $as_echo_n "(cached) " >&6
4060
4456
else
4061
4457
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4062
4458
  # We make a subdir and do the tests there.  Otherwise we can end up
4081
4477
  if test "$am_compiler_list" = ""; then
4082
4478
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4083
4479
  fi
 
4480
  am__universal=false
 
4481
  case " $depcc " in #(
 
4482
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
4483
     esac
 
4484
 
4084
4485
  for depmode in $am_compiler_list; do
4085
4486
    # Setup a source with many dependencies, because some compilers
4086
4487
    # like to wrap large dependency lists on column 80 (with \), and
4098
4499
    done
4099
4500
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4100
4501
 
 
4502
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4503
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4504
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
4505
    # versions had trouble with output in subdirs
 
4506
    am__obj=sub/conftest.${OBJEXT-o}
 
4507
    am__minus_obj="-o $am__obj"
4101
4508
    case $depmode in
 
4509
    gcc)
 
4510
      # This depmode causes a compiler race in universal mode.
 
4511
      test "$am__universal" = false || continue
 
4512
      ;;
4102
4513
    nosideeffect)
4103
4514
      # after this tag, mechanisms are not by side-effect, so they'll
4104
4515
      # only be used when explicitly requested
4108
4519
        break
4109
4520
      fi
4110
4521
      ;;
 
4522
    msvisualcpp | msvcmsys)
 
4523
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4524
      # not run yet.  These depmodes are late enough in the game, and
 
4525
      # so weak that their functioning should not be impacted.
 
4526
      am__obj=conftest.${OBJEXT-o}
 
4527
      am__minus_obj=
 
4528
      ;;
4111
4529
    none) break ;;
4112
4530
    esac
4113
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4114
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4115
 
    # handle `-M -o', and we need to detect this.
4116
4531
    if depmode=$depmode \
4117
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
4532
       source=sub/conftest.c object=$am__obj \
4118
4533
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4119
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
4534
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4120
4535
         >/dev/null 2>conftest.err &&
4121
4536
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4122
4537
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4123
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
4538
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4124
4539
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4125
4540
      # icc doesn't choke on unknown options, it will just issue warnings
4126
4541
      # or remarks (even with -Werror).  So we grep stderr for any message
4144
4559
fi
4145
4560
 
4146
4561
fi
4147
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4148
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
 
4562
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
4563
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4149
4564
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4150
4565
 
4151
4566
 if
4166
4581
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4167
4582
 
4168
4583
 
4169
 
cat >>confdefs.h <<\_ACEOF
4170
 
#define _GNU_SOURCE 1
4171
 
_ACEOF
4172
 
 
4173
 
 
4174
 
 
4175
4584
ac_ext=cpp
4176
4585
ac_cpp='$CXXCPP $CPPFLAGS'
4177
4586
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4178
4587
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4179
4588
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4180
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4181
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
 
4589
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
 
4590
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
4182
4591
if test -z "$CXXCPP"; then
4183
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
4184
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4592
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
 
4593
  $as_echo_n "(cached) " >&6
4185
4594
else
4186
4595
      # Double quotes because CXXCPP needs to be expanded
4187
4596
    for CXXCPP in "$CXX -E" "/lib/cpp"
4195
4604
  # <limits.h> exists even on freestanding compilers.
4196
4605
  # On the NeXT, cc -E runs the code through the compiler's parser,
4197
4606
  # not just through cpp. "Syntax error" is here to catch this case.
4198
 
  cat >conftest.$ac_ext <<_ACEOF
4199
 
/* confdefs.h.  */
4200
 
_ACEOF
4201
 
cat confdefs.h >>conftest.$ac_ext
4202
 
cat >>conftest.$ac_ext <<_ACEOF
 
4607
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4203
4608
/* end confdefs.h.  */
4204
4609
#ifdef __STDC__
4205
4610
# include <limits.h>
4208
4613
#endif
4209
4614
                     Syntax error
4210
4615
_ACEOF
4211
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4212
 
case "(($ac_try" in
4213
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4214
 
  *) ac_try_echo=$ac_try;;
4215
 
esac
4216
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4217
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4218
 
  ac_status=$?
4219
 
  grep -v '^ *+' conftest.er1 >conftest.err
4220
 
  rm -f conftest.er1
4221
 
  cat conftest.err >&5
4222
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4223
 
  (exit $ac_status); } >/dev/null && {
4224
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4225
 
         test ! -s conftest.err
4226
 
       }; then
4227
 
  :
 
4616
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
4617
 
4228
4618
else
4229
 
  echo "$as_me: failed program was:" >&5
4230
 
sed 's/^/| /' conftest.$ac_ext >&5
4231
 
 
4232
4619
  # Broken: fails on valid input.
4233
4620
continue
4234
4621
fi
4235
 
 
4236
4622
rm -f conftest.err conftest.$ac_ext
4237
4623
 
4238
4624
  # OK, works on sane cases.  Now check whether nonexistent headers
4239
4625
  # can be detected and how.
4240
 
  cat >conftest.$ac_ext <<_ACEOF
4241
 
/* confdefs.h.  */
4242
 
_ACEOF
4243
 
cat confdefs.h >>conftest.$ac_ext
4244
 
cat >>conftest.$ac_ext <<_ACEOF
 
4626
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4245
4627
/* end confdefs.h.  */
4246
4628
#include <ac_nonexistent.h>
4247
4629
_ACEOF
4248
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4249
 
case "(($ac_try" in
4250
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4251
 
  *) ac_try_echo=$ac_try;;
4252
 
esac
4253
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4254
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4255
 
  ac_status=$?
4256
 
  grep -v '^ *+' conftest.er1 >conftest.err
4257
 
  rm -f conftest.er1
4258
 
  cat conftest.err >&5
4259
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4260
 
  (exit $ac_status); } >/dev/null && {
4261
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4262
 
         test ! -s conftest.err
4263
 
       }; then
 
4630
if ac_fn_cxx_try_cpp "$LINENO"; then :
4264
4631
  # Broken: success on invalid input.
4265
4632
continue
4266
4633
else
4267
 
  echo "$as_me: failed program was:" >&5
4268
 
sed 's/^/| /' conftest.$ac_ext >&5
4269
 
 
4270
4634
  # Passes both tests.
4271
4635
ac_preproc_ok=:
4272
4636
break
4273
4637
fi
4274
 
 
4275
4638
rm -f conftest.err conftest.$ac_ext
4276
4639
 
4277
4640
done
4278
4641
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4279
4642
rm -f conftest.err conftest.$ac_ext
4280
 
if $ac_preproc_ok; then
 
4643
if $ac_preproc_ok; then :
4281
4644
  break
4282
4645
fi
4283
4646
 
4289
4652
else
4290
4653
  ac_cv_prog_CXXCPP=$CXXCPP
4291
4654
fi
4292
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
4293
 
echo "${ECHO_T}$CXXCPP" >&6; }
 
4655
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
 
4656
$as_echo "$CXXCPP" >&6; }
4294
4657
ac_preproc_ok=false
4295
4658
for ac_cxx_preproc_warn_flag in '' yes
4296
4659
do
4300
4663
  # <limits.h> exists even on freestanding compilers.
4301
4664
  # On the NeXT, cc -E runs the code through the compiler's parser,
4302
4665
  # not just through cpp. "Syntax error" is here to catch this case.
4303
 
  cat >conftest.$ac_ext <<_ACEOF
4304
 
/* confdefs.h.  */
4305
 
_ACEOF
4306
 
cat confdefs.h >>conftest.$ac_ext
4307
 
cat >>conftest.$ac_ext <<_ACEOF
 
4666
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4308
4667
/* end confdefs.h.  */
4309
4668
#ifdef __STDC__
4310
4669
# include <limits.h>
4313
4672
#endif
4314
4673
                     Syntax error
4315
4674
_ACEOF
4316
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4317
 
case "(($ac_try" in
4318
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4319
 
  *) ac_try_echo=$ac_try;;
4320
 
esac
4321
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4322
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4323
 
  ac_status=$?
4324
 
  grep -v '^ *+' conftest.er1 >conftest.err
4325
 
  rm -f conftest.er1
4326
 
  cat conftest.err >&5
4327
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4328
 
  (exit $ac_status); } >/dev/null && {
4329
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4330
 
         test ! -s conftest.err
4331
 
       }; then
4332
 
  :
 
4675
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
4676
 
4333
4677
else
4334
 
  echo "$as_me: failed program was:" >&5
4335
 
sed 's/^/| /' conftest.$ac_ext >&5
4336
 
 
4337
4678
  # Broken: fails on valid input.
4338
4679
continue
4339
4680
fi
4340
 
 
4341
4681
rm -f conftest.err conftest.$ac_ext
4342
4682
 
4343
4683
  # OK, works on sane cases.  Now check whether nonexistent headers
4344
4684
  # can be detected and how.
4345
 
  cat >conftest.$ac_ext <<_ACEOF
4346
 
/* confdefs.h.  */
4347
 
_ACEOF
4348
 
cat confdefs.h >>conftest.$ac_ext
4349
 
cat >>conftest.$ac_ext <<_ACEOF
 
4685
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4350
4686
/* end confdefs.h.  */
4351
4687
#include <ac_nonexistent.h>
4352
4688
_ACEOF
4353
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4354
 
case "(($ac_try" in
4355
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4356
 
  *) ac_try_echo=$ac_try;;
4357
 
esac
4358
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4359
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4360
 
  ac_status=$?
4361
 
  grep -v '^ *+' conftest.er1 >conftest.err
4362
 
  rm -f conftest.er1
4363
 
  cat conftest.err >&5
4364
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4365
 
  (exit $ac_status); } >/dev/null && {
4366
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4367
 
         test ! -s conftest.err
4368
 
       }; then
 
4689
if ac_fn_cxx_try_cpp "$LINENO"; then :
4369
4690
  # Broken: success on invalid input.
4370
4691
continue
4371
4692
else
4372
 
  echo "$as_me: failed program was:" >&5
4373
 
sed 's/^/| /' conftest.$ac_ext >&5
4374
 
 
4375
4693
  # Passes both tests.
4376
4694
ac_preproc_ok=:
4377
4695
break
4378
4696
fi
4379
 
 
4380
4697
rm -f conftest.err conftest.$ac_ext
4381
4698
 
4382
4699
done
4383
4700
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4384
4701
rm -f conftest.err conftest.$ac_ext
4385
 
if $ac_preproc_ok; then
4386
 
  :
 
4702
if $ac_preproc_ok; then :
 
4703
 
4387
4704
else
4388
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4389
 
See \`config.log' for more details." >&5
4390
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4391
 
See \`config.log' for more details." >&2;}
4392
 
   { (exit 1); exit 1; }; }
 
4705
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4706
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4707
as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
 
4708
See \`config.log' for more details." "$LINENO" 5; }
4393
4709
fi
4394
4710
 
4395
4711
ac_ext=cpp
4399
4715
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4400
4716
 
4401
4717
 
4402
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4403
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4404
 
if test "${ac_cv_path_GREP+set}" = set; then
4405
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4406
 
else
4407
 
  # Extract the first word of "grep ggrep" to use in msg output
4408
 
if test -z "$GREP"; then
4409
 
set dummy grep ggrep; ac_prog_name=$2
4410
 
if test "${ac_cv_path_GREP+set}" = set; then
4411
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4412
 
else
 
4718
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
4719
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
4720
if test "${ac_cv_path_GREP+set}" = set; then :
 
4721
  $as_echo_n "(cached) " >&6
 
4722
else
 
4723
  if test -z "$GREP"; then
4413
4724
  ac_path_GREP_found=false
4414
 
# Loop through the user's path and test for each of PROGNAME-LIST
4415
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4725
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4726
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4416
4727
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4417
4728
do
4418
4729
  IFS=$as_save_IFS
4419
4730
  test -z "$as_dir" && as_dir=.
4420
 
  for ac_prog in grep ggrep; do
4421
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4422
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4423
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4424
 
    # Check for GNU ac_path_GREP and select it if it is found.
 
4731
    for ac_prog in grep ggrep; do
 
4732
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4733
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4734
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4735
# Check for GNU ac_path_GREP and select it if it is found.
4425
4736
  # Check for GNU $ac_path_GREP
4426
4737
case `"$ac_path_GREP" --version 2>&1` in
4427
4738
*GNU*)
4428
4739
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4429
4740
*)
4430
4741
  ac_count=0
4431
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4742
  $as_echo_n 0123456789 >"conftest.in"
4432
4743
  while :
4433
4744
  do
4434
4745
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4435
4746
    mv "conftest.tmp" "conftest.in"
4436
4747
    cp "conftest.in" "conftest.nl"
4437
 
    echo 'GREP' >> "conftest.nl"
 
4748
    $as_echo 'GREP' >> "conftest.nl"
4438
4749
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4439
4750
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4440
 
    ac_count=`expr $ac_count + 1`
 
4751
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4441
4752
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4442
4753
      # Best one so far, save it but keep looking for a better one
4443
4754
      ac_cv_path_GREP="$ac_path_GREP"
4449
4760
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4450
4761
esac
4451
4762
 
4452
 
 
4453
 
    $ac_path_GREP_found && break 3
4454
 
  done
4455
 
done
4456
 
 
4457
 
done
 
4763
      $ac_path_GREP_found && break 3
 
4764
    done
 
4765
  done
 
4766
  done
4458
4767
IFS=$as_save_IFS
4459
 
 
4460
 
 
4461
 
fi
4462
 
 
4463
 
GREP="$ac_cv_path_GREP"
4464
 
if test -z "$GREP"; then
4465
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4466
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4467
 
   { (exit 1); exit 1; }; }
4468
 
fi
4469
 
 
 
4768
  if test -z "$ac_cv_path_GREP"; then
 
4769
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4770
  fi
4470
4771
else
4471
4772
  ac_cv_path_GREP=$GREP
4472
4773
fi
4473
4774
 
4474
 
 
4475
4775
fi
4476
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4477
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
4776
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
4777
$as_echo "$ac_cv_path_GREP" >&6; }
4478
4778
 GREP="$ac_cv_path_GREP"
4479
4779
 
4480
4780
 
4481
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
4482
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4483
 
if test "${ac_cv_path_EGREP+set}" = set; then
4484
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4781
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
4782
$as_echo_n "checking for egrep... " >&6; }
 
4783
if test "${ac_cv_path_EGREP+set}" = set; then :
 
4784
  $as_echo_n "(cached) " >&6
4485
4785
else
4486
4786
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4487
4787
   then ac_cv_path_EGREP="$GREP -E"
4488
4788
   else
4489
 
     # Extract the first word of "egrep" to use in msg output
4490
 
if test -z "$EGREP"; then
4491
 
set dummy egrep; ac_prog_name=$2
4492
 
if test "${ac_cv_path_EGREP+set}" = set; then
4493
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4494
 
else
 
4789
     if test -z "$EGREP"; then
4495
4790
  ac_path_EGREP_found=false
4496
 
# Loop through the user's path and test for each of PROGNAME-LIST
4497
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4791
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4792
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4498
4793
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4499
4794
do
4500
4795
  IFS=$as_save_IFS
4501
4796
  test -z "$as_dir" && as_dir=.
4502
 
  for ac_prog in egrep; do
4503
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4504
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4505
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4506
 
    # Check for GNU ac_path_EGREP and select it if it is found.
 
4797
    for ac_prog in egrep; do
 
4798
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4799
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4800
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4801
# Check for GNU ac_path_EGREP and select it if it is found.
4507
4802
  # Check for GNU $ac_path_EGREP
4508
4803
case `"$ac_path_EGREP" --version 2>&1` in
4509
4804
*GNU*)
4510
4805
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4511
4806
*)
4512
4807
  ac_count=0
4513
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4808
  $as_echo_n 0123456789 >"conftest.in"
4514
4809
  while :
4515
4810
  do
4516
4811
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4517
4812
    mv "conftest.tmp" "conftest.in"
4518
4813
    cp "conftest.in" "conftest.nl"
4519
 
    echo 'EGREP' >> "conftest.nl"
 
4814
    $as_echo 'EGREP' >> "conftest.nl"
4520
4815
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4521
4816
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4522
 
    ac_count=`expr $ac_count + 1`
 
4817
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4523
4818
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4524
4819
      # Best one so far, save it but keep looking for a better one
4525
4820
      ac_cv_path_EGREP="$ac_path_EGREP"
4531
4826
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4532
4827
esac
4533
4828
 
4534
 
 
4535
 
    $ac_path_EGREP_found && break 3
4536
 
  done
4537
 
done
4538
 
 
4539
 
done
 
4829
      $ac_path_EGREP_found && break 3
 
4830
    done
 
4831
  done
 
4832
  done
4540
4833
IFS=$as_save_IFS
4541
 
 
4542
 
 
4543
 
fi
4544
 
 
4545
 
EGREP="$ac_cv_path_EGREP"
4546
 
if test -z "$EGREP"; then
4547
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4548
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4549
 
   { (exit 1); exit 1; }; }
4550
 
fi
4551
 
 
 
4834
  if test -z "$ac_cv_path_EGREP"; then
 
4835
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4836
  fi
4552
4837
else
4553
4838
  ac_cv_path_EGREP=$EGREP
4554
4839
fi
4555
4840
 
4556
 
 
4557
4841
   fi
4558
4842
fi
4559
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4560
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
4843
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
4844
$as_echo "$ac_cv_path_EGREP" >&6; }
4561
4845
 EGREP="$ac_cv_path_EGREP"
4562
4846
 
4563
4847
 
4564
 
 
4565
 
{ echo "$as_me:$LINENO: checking for AIX" >&5
4566
 
echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
4567
 
cat >conftest.$ac_ext <<_ACEOF
4568
 
/* confdefs.h.  */
4569
 
_ACEOF
4570
 
cat confdefs.h >>conftest.$ac_ext
4571
 
cat >>conftest.$ac_ext <<_ACEOF
4572
 
/* end confdefs.h.  */
4573
 
#ifdef _AIX
4574
 
  yes
4575
 
#endif
4576
 
 
4577
 
_ACEOF
4578
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4579
 
  $EGREP "yes" >/dev/null 2>&1; then
4580
 
  { echo "$as_me:$LINENO: result: yes" >&5
4581
 
echo "${ECHO_T}yes" >&6; }
4582
 
cat >>confdefs.h <<\_ACEOF
4583
 
#define _ALL_SOURCE 1
4584
 
_ACEOF
4585
 
 
4586
 
else
4587
 
  { echo "$as_me:$LINENO: result: no" >&5
4588
 
echo "${ECHO_T}no" >&6; }
4589
 
fi
4590
 
rm -f conftest*
4591
 
 
4592
 
 
4593
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4594
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4595
 
if test "${ac_cv_header_stdc+set}" = set; then
4596
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4597
 
else
4598
 
  cat >conftest.$ac_ext <<_ACEOF
4599
 
/* confdefs.h.  */
4600
 
_ACEOF
4601
 
cat confdefs.h >>conftest.$ac_ext
4602
 
cat >>conftest.$ac_ext <<_ACEOF
 
4848
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
4849
$as_echo_n "checking for ANSI C header files... " >&6; }
 
4850
if test "${ac_cv_header_stdc+set}" = set; then :
 
4851
  $as_echo_n "(cached) " >&6
 
4852
else
 
4853
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4603
4854
/* end confdefs.h.  */
4604
4855
#include <stdlib.h>
4605
4856
#include <stdarg.h>
4614
4865
  return 0;
4615
4866
}
4616
4867
_ACEOF
4617
 
rm -f conftest.$ac_objext
4618
 
if { (ac_try="$ac_compile"
4619
 
case "(($ac_try" in
4620
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4621
 
  *) ac_try_echo=$ac_try;;
4622
 
esac
4623
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4624
 
  (eval "$ac_compile") 2>conftest.er1
4625
 
  ac_status=$?
4626
 
  grep -v '^ *+' conftest.er1 >conftest.err
4627
 
  rm -f conftest.er1
4628
 
  cat conftest.err >&5
4629
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4630
 
  (exit $ac_status); } && {
4631
 
         test -z "$ac_cxx_werror_flag" ||
4632
 
         test ! -s conftest.err
4633
 
       } && test -s conftest.$ac_objext; then
 
4868
if ac_fn_cxx_try_compile "$LINENO"; then :
4634
4869
  ac_cv_header_stdc=yes
4635
4870
else
4636
 
  echo "$as_me: failed program was:" >&5
4637
 
sed 's/^/| /' conftest.$ac_ext >&5
4638
 
 
4639
 
        ac_cv_header_stdc=no
 
4871
  ac_cv_header_stdc=no
4640
4872
fi
4641
 
 
4642
4873
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4643
4874
 
4644
4875
if test $ac_cv_header_stdc = yes; then
4645
4876
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4646
 
  cat >conftest.$ac_ext <<_ACEOF
4647
 
/* confdefs.h.  */
4648
 
_ACEOF
4649
 
cat confdefs.h >>conftest.$ac_ext
4650
 
cat >>conftest.$ac_ext <<_ACEOF
 
4877
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4651
4878
/* end confdefs.h.  */
4652
4879
#include <string.h>
4653
4880
 
4654
4881
_ACEOF
4655
4882
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4656
 
  $EGREP "memchr" >/dev/null 2>&1; then
4657
 
  :
 
4883
  $EGREP "memchr" >/dev/null 2>&1; then :
 
4884
 
4658
4885
else
4659
4886
  ac_cv_header_stdc=no
4660
4887
fi
4664
4891
 
4665
4892
if test $ac_cv_header_stdc = yes; then
4666
4893
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4667
 
  cat >conftest.$ac_ext <<_ACEOF
4668
 
/* confdefs.h.  */
4669
 
_ACEOF
4670
 
cat confdefs.h >>conftest.$ac_ext
4671
 
cat >>conftest.$ac_ext <<_ACEOF
 
4894
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4672
4895
/* end confdefs.h.  */
4673
4896
#include <stdlib.h>
4674
4897
 
4675
4898
_ACEOF
4676
4899
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4677
 
  $EGREP "free" >/dev/null 2>&1; then
4678
 
  :
 
4900
  $EGREP "free" >/dev/null 2>&1; then :
 
4901
 
4679
4902
else
4680
4903
  ac_cv_header_stdc=no
4681
4904
fi
4685
4908
 
4686
4909
if test $ac_cv_header_stdc = yes; then
4687
4910
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4688
 
  if test "$cross_compiling" = yes; then
 
4911
  if test "$cross_compiling" = yes; then :
4689
4912
  :
4690
4913
else
4691
 
  cat >conftest.$ac_ext <<_ACEOF
4692
 
/* confdefs.h.  */
4693
 
_ACEOF
4694
 
cat confdefs.h >>conftest.$ac_ext
4695
 
cat >>conftest.$ac_ext <<_ACEOF
 
4914
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4696
4915
/* end confdefs.h.  */
4697
4916
#include <ctype.h>
4698
4917
#include <stdlib.h>
4719
4938
  return 0;
4720
4939
}
4721
4940
_ACEOF
4722
 
rm -f conftest$ac_exeext
4723
 
if { (ac_try="$ac_link"
4724
 
case "(($ac_try" in
4725
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4726
 
  *) ac_try_echo=$ac_try;;
4727
 
esac
4728
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4729
 
  (eval "$ac_link") 2>&5
4730
 
  ac_status=$?
4731
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4733
 
  { (case "(($ac_try" in
4734
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4735
 
  *) ac_try_echo=$ac_try;;
4736
 
esac
4737
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4738
 
  (eval "$ac_try") 2>&5
4739
 
  ac_status=$?
4740
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741
 
  (exit $ac_status); }; }; then
4742
 
  :
 
4941
if ac_fn_cxx_try_run "$LINENO"; then :
 
4942
 
4743
4943
else
4744
 
  echo "$as_me: program exited with status $ac_status" >&5
4745
 
echo "$as_me: failed program was:" >&5
4746
 
sed 's/^/| /' conftest.$ac_ext >&5
4747
 
 
4748
 
( exit $ac_status )
4749
 
ac_cv_header_stdc=no
4750
 
fi
4751
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4752
 
fi
4753
 
 
4754
 
 
4755
 
fi
4756
 
fi
4757
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4758
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
4944
  ac_cv_header_stdc=no
 
4945
fi
 
4946
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
4947
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
4948
fi
 
4949
 
 
4950
fi
 
4951
fi
 
4952
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
4953
$as_echo "$ac_cv_header_stdc" >&6; }
4759
4954
if test $ac_cv_header_stdc = yes; then
4760
4955
 
4761
 
cat >>confdefs.h <<\_ACEOF
4762
 
#define STDC_HEADERS 1
4763
 
_ACEOF
 
4956
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4764
4957
 
4765
4958
fi
4766
4959
 
4767
4960
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4768
 
 
4769
 
 
4770
 
 
4771
 
 
4772
 
 
4773
 
 
4774
 
 
4775
 
 
4776
 
 
4777
4961
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4778
4962
                  inttypes.h stdint.h unistd.h
4779
 
do
4780
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4781
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4782
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4783
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4784
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4785
 
else
4786
 
  cat >conftest.$ac_ext <<_ACEOF
4787
 
/* confdefs.h.  */
4788
 
_ACEOF
4789
 
cat confdefs.h >>conftest.$ac_ext
4790
 
cat >>conftest.$ac_ext <<_ACEOF
4791
 
/* end confdefs.h.  */
4792
 
$ac_includes_default
4793
 
 
4794
 
#include <$ac_header>
4795
 
_ACEOF
4796
 
rm -f conftest.$ac_objext
4797
 
if { (ac_try="$ac_compile"
4798
 
case "(($ac_try" in
4799
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4800
 
  *) ac_try_echo=$ac_try;;
4801
 
esac
4802
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4803
 
  (eval "$ac_compile") 2>conftest.er1
4804
 
  ac_status=$?
4805
 
  grep -v '^ *+' conftest.er1 >conftest.err
4806
 
  rm -f conftest.er1
4807
 
  cat conftest.err >&5
4808
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4809
 
  (exit $ac_status); } && {
4810
 
         test -z "$ac_cxx_werror_flag" ||
4811
 
         test ! -s conftest.err
4812
 
       } && test -s conftest.$ac_objext; then
4813
 
  eval "$as_ac_Header=yes"
4814
 
else
4815
 
  echo "$as_me: failed program was:" >&5
4816
 
sed 's/^/| /' conftest.$ac_ext >&5
4817
 
 
4818
 
        eval "$as_ac_Header=no"
4819
 
fi
4820
 
 
4821
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4822
 
fi
4823
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4824
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4825
 
echo "${ECHO_T}$ac_res" >&6; }
4826
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4963
do :
 
4964
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4965
ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
4966
"
 
4967
eval as_val=\$$as_ac_Header
 
4968
   if test "x$as_val" = x""yes; then :
4827
4969
  cat >>confdefs.h <<_ACEOF
4828
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4970
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4829
4971
_ACEOF
4830
4972
 
4831
4973
fi
4833
4975
done
4834
4976
 
4835
4977
 
4836
 
if test "${ac_cv_header_minix_config_h+set}" = set; then
4837
 
  { echo "$as_me:$LINENO: checking for minix/config.h" >&5
4838
 
echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4839
 
if test "${ac_cv_header_minix_config_h+set}" = set; then
4840
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4841
 
fi
4842
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4843
 
echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4844
 
else
4845
 
  # Is the header compilable?
4846
 
{ echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4847
 
echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
4848
 
cat >conftest.$ac_ext <<_ACEOF
4849
 
/* confdefs.h.  */
4850
 
_ACEOF
4851
 
cat confdefs.h >>conftest.$ac_ext
4852
 
cat >>conftest.$ac_ext <<_ACEOF
4853
 
/* end confdefs.h.  */
4854
 
$ac_includes_default
4855
 
#include <minix/config.h>
4856
 
_ACEOF
4857
 
rm -f conftest.$ac_objext
4858
 
if { (ac_try="$ac_compile"
4859
 
case "(($ac_try" in
4860
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4861
 
  *) ac_try_echo=$ac_try;;
4862
 
esac
4863
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4864
 
  (eval "$ac_compile") 2>conftest.er1
4865
 
  ac_status=$?
4866
 
  grep -v '^ *+' conftest.er1 >conftest.err
4867
 
  rm -f conftest.er1
4868
 
  cat conftest.err >&5
4869
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4870
 
  (exit $ac_status); } && {
4871
 
         test -z "$ac_cxx_werror_flag" ||
4872
 
         test ! -s conftest.err
4873
 
       } && test -s conftest.$ac_objext; then
4874
 
  ac_header_compiler=yes
4875
 
else
4876
 
  echo "$as_me: failed program was:" >&5
4877
 
sed 's/^/| /' conftest.$ac_ext >&5
4878
 
 
4879
 
        ac_header_compiler=no
4880
 
fi
4881
 
 
4882
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4883
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4884
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
4885
 
 
4886
 
# Is the header present?
4887
 
{ echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4888
 
echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
4889
 
cat >conftest.$ac_ext <<_ACEOF
4890
 
/* confdefs.h.  */
4891
 
_ACEOF
4892
 
cat confdefs.h >>conftest.$ac_ext
4893
 
cat >>conftest.$ac_ext <<_ACEOF
4894
 
/* end confdefs.h.  */
4895
 
#include <minix/config.h>
4896
 
_ACEOF
4897
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4898
 
case "(($ac_try" in
4899
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4900
 
  *) ac_try_echo=$ac_try;;
4901
 
esac
4902
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4903
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4904
 
  ac_status=$?
4905
 
  grep -v '^ *+' conftest.er1 >conftest.err
4906
 
  rm -f conftest.er1
4907
 
  cat conftest.err >&5
4908
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4909
 
  (exit $ac_status); } >/dev/null && {
4910
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4911
 
         test ! -s conftest.err
4912
 
       }; then
4913
 
  ac_header_preproc=yes
4914
 
else
4915
 
  echo "$as_me: failed program was:" >&5
4916
 
sed 's/^/| /' conftest.$ac_ext >&5
4917
 
 
4918
 
  ac_header_preproc=no
4919
 
fi
4920
 
 
4921
 
rm -f conftest.err conftest.$ac_ext
4922
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4923
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
4924
 
 
4925
 
# So?  What about this header?
4926
 
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
4927
 
  yes:no: )
4928
 
    { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4929
 
echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4930
 
    { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4931
 
echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4932
 
    ac_header_preproc=yes
4933
 
    ;;
4934
 
  no:yes:* )
4935
 
    { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4936
 
echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4937
 
    { echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
4938
 
echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
4939
 
    { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4940
 
echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4941
 
    { echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
4942
 
echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
4943
 
    { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4944
 
echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4945
 
    { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4946
 
echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4947
 
    ( cat <<\_ASBOX
4948
 
## ---------------------------------------- ##
4949
 
## Report this to protobuf@googlegroups.com ##
4950
 
## ---------------------------------------- ##
4951
 
_ASBOX
4952
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
4953
 
    ;;
4954
 
esac
4955
 
{ echo "$as_me:$LINENO: checking for minix/config.h" >&5
4956
 
echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4957
 
if test "${ac_cv_header_minix_config_h+set}" = set; then
4958
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4959
 
else
4960
 
  ac_cv_header_minix_config_h=$ac_header_preproc
4961
 
fi
4962
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4963
 
echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4964
 
 
4965
 
fi
4966
 
if test $ac_cv_header_minix_config_h = yes; then
 
4978
 
 
4979
  ac_fn_cxx_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
 
4980
if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4967
4981
  MINIX=yes
4968
4982
else
4969
4983
  MINIX=
4970
4984
fi
4971
4985
 
4972
4986
 
4973
 
if test "$MINIX" = yes; then
4974
 
 
4975
 
cat >>confdefs.h <<\_ACEOF
4976
 
#define _POSIX_SOURCE 1
4977
 
_ACEOF
4978
 
 
4979
 
 
4980
 
cat >>confdefs.h <<\_ACEOF
4981
 
#define _POSIX_1_SOURCE 2
4982
 
_ACEOF
4983
 
 
4984
 
 
4985
 
cat >>confdefs.h <<\_ACEOF
4986
 
#define _MINIX 1
4987
 
_ACEOF
4988
 
 
4989
 
fi
4990
 
 
4991
 
 
4992
 
 
4993
 
 
4994
 
 
4995
 
 
4996
 
 
4997
 
 
4998
 
 
4999
 
 
5000
 
 
5001
 
 
5002
 
 
5003
 
  { echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
5004
 
echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; }
5005
 
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
5006
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4987
  if test "$MINIX" = yes; then
 
4988
 
 
4989
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
 
4990
 
 
4991
 
 
4992
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
 
4993
 
 
4994
 
 
4995
$as_echo "#define _MINIX 1" >>confdefs.h
 
4996
 
 
4997
  fi
 
4998
 
 
4999
 
 
5000
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
 
5001
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
 
5002
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
 
5003
  $as_echo_n "(cached) " >&6
5007
5004
else
5008
 
  cat >conftest.$ac_ext <<_ACEOF
5009
 
/* confdefs.h.  */
5010
 
_ACEOF
5011
 
cat confdefs.h >>conftest.$ac_ext
5012
 
cat >>conftest.$ac_ext <<_ACEOF
 
5005
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5013
5006
/* end confdefs.h.  */
5014
5007
 
5015
5008
#         define __EXTENSIONS__ 1
5022
5015
  return 0;
5023
5016
}
5024
5017
_ACEOF
5025
 
rm -f conftest.$ac_objext
5026
 
if { (ac_try="$ac_compile"
5027
 
case "(($ac_try" in
5028
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5029
 
  *) ac_try_echo=$ac_try;;
5030
 
esac
5031
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5032
 
  (eval "$ac_compile") 2>conftest.er1
5033
 
  ac_status=$?
5034
 
  grep -v '^ *+' conftest.er1 >conftest.err
5035
 
  rm -f conftest.er1
5036
 
  cat conftest.err >&5
5037
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5038
 
  (exit $ac_status); } && {
5039
 
         test -z "$ac_cxx_werror_flag" ||
5040
 
         test ! -s conftest.err
5041
 
       } && test -s conftest.$ac_objext; then
 
5018
if ac_fn_cxx_try_compile "$LINENO"; then :
5042
5019
  ac_cv_safe_to_define___extensions__=yes
5043
5020
else
5044
 
  echo "$as_me: failed program was:" >&5
5045
 
sed 's/^/| /' conftest.$ac_ext >&5
5046
 
 
5047
 
        ac_cv_safe_to_define___extensions__=no
 
5021
  ac_cv_safe_to_define___extensions__=no
5048
5022
fi
5049
 
 
5050
5023
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5051
5024
fi
5052
 
{ echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
5053
 
echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6; }
 
5025
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
 
5026
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5054
5027
  test $ac_cv_safe_to_define___extensions__ = yes &&
5055
 
    cat >>confdefs.h <<\_ACEOF
5056
 
#define __EXTENSIONS__ 1
5057
 
_ACEOF
5058
 
 
5059
 
  cat >>confdefs.h <<\_ACEOF
5060
 
#define _POSIX_PTHREAD_SEMANTICS 1
5061
 
_ACEOF
5062
 
 
5063
 
  cat >>confdefs.h <<\_ACEOF
5064
 
#define _TANDEM_SOURCE 1
5065
 
_ACEOF
 
5028
    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
 
5029
 
 
5030
  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
 
5031
 
 
5032
  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
 
5033
 
 
5034
  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
 
5035
 
 
5036
  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
 
5037
 
 
5038
 
 
5039
 
5066
5040
 
5067
5041
 
5068
5042
 
5077
5051
   # let the Makefile know if we're gcc
5078
5052
 
5079
5053
# test_util.cc takes forever to compile with GCC and optimization turned on.
5080
 
{ echo "$as_me:$LINENO: checking C++ compiler flags..." >&5
5081
 
echo $ECHO_N "checking C++ compiler flags...... $ECHO_C" >&6; }
5082
 
if test "x${ac_cv_env_CXXFLAGS_set}" = "x"; then
 
5054
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking C++ compiler flags..." >&5
 
5055
$as_echo_n "checking C++ compiler flags...... " >&6; }
 
5056
if test "x${ac_cv_env_CXXFLAGS_set}" = "x"; then :
5083
5057
 
5084
 
  if test "$GCC" = "yes"; then
 
5058
  if test "$GCC" = "yes"; then :
5085
5059
 
5086
5060
    PROTOBUF_OPT_FLAG="-O2"
5087
5061
    CXXFLAGS="${CXXFLAGS} -g"
5088
5062
 
5089
5063
fi
5090
5064
 
5091
 
 
5092
5065
  # Protocol Buffers contains several checks that are intended to be used only
5093
5066
  # for debugging and which might hurt performance.  Most users are probably
5094
5067
  # end users who don't want these checks, so add -DNDEBUG by default.
5095
5068
  CXXFLAGS="$CXXFLAGS -DNDEBUG"
5096
5069
 
5097
 
  { echo "$as_me:$LINENO: result: use default: $PROTOBUF_OPT_FLAG $CXXFLAGS" >&5
5098
 
echo "${ECHO_T}use default: $PROTOBUF_OPT_FLAG $CXXFLAGS" >&6; }
 
5070
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: use default: $PROTOBUF_OPT_FLAG $CXXFLAGS" >&5
 
5071
$as_echo "use default: $PROTOBUF_OPT_FLAG $CXXFLAGS" >&6; }
5099
5072
 
5100
5073
else
5101
5074
 
5102
 
  { echo "$as_me:$LINENO: result: use user-supplied: $CXXFLAGS" >&5
5103
 
echo "${ECHO_T}use user-supplied: $CXXFLAGS" >&6; }
 
5075
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: use user-supplied: $CXXFLAGS" >&5
 
5076
$as_echo "use user-supplied: $CXXFLAGS" >&6; }
5104
5077
 
5105
5078
fi
5106
5079
 
5108
5081
 
5109
5082
 
5110
5083
 
5111
 
 
5112
5084
  ac_ext=cpp
5113
5085
ac_cpp='$CXXCPP $CPPFLAGS'
5114
5086
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5115
5087
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5116
5088
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5117
5089
 
5118
 
  { echo "$as_me:$LINENO: checking whether __SUNPRO_CC is declared" >&5
5119
 
echo $ECHO_N "checking whether __SUNPRO_CC is declared... $ECHO_C" >&6; }
5120
 
if test "${ac_cv_have_decl___SUNPRO_CC+set}" = set; then
5121
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5122
 
else
5123
 
  cat >conftest.$ac_ext <<_ACEOF
5124
 
/* confdefs.h.  */
5125
 
_ACEOF
5126
 
cat confdefs.h >>conftest.$ac_ext
5127
 
cat >>conftest.$ac_ext <<_ACEOF
5128
 
/* end confdefs.h.  */
5129
 
$ac_includes_default
5130
 
int
5131
 
main ()
5132
 
{
5133
 
#ifndef __SUNPRO_CC
5134
 
  (void) __SUNPRO_CC;
5135
 
#endif
5136
 
 
5137
 
  ;
5138
 
  return 0;
5139
 
}
5140
 
_ACEOF
5141
 
rm -f conftest.$ac_objext
5142
 
if { (ac_try="$ac_compile"
5143
 
case "(($ac_try" in
5144
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5145
 
  *) ac_try_echo=$ac_try;;
5146
 
esac
5147
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5148
 
  (eval "$ac_compile") 2>conftest.er1
5149
 
  ac_status=$?
5150
 
  grep -v '^ *+' conftest.er1 >conftest.err
5151
 
  rm -f conftest.er1
5152
 
  cat conftest.err >&5
5153
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5154
 
  (exit $ac_status); } && {
5155
 
         test -z "$ac_cxx_werror_flag" ||
5156
 
         test ! -s conftest.err
5157
 
       } && test -s conftest.$ac_objext; then
5158
 
  ac_cv_have_decl___SUNPRO_CC=yes
5159
 
else
5160
 
  echo "$as_me: failed program was:" >&5
5161
 
sed 's/^/| /' conftest.$ac_ext >&5
5162
 
 
5163
 
        ac_cv_have_decl___SUNPRO_CC=no
5164
 
fi
5165
 
 
5166
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5167
 
fi
5168
 
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_CC" >&5
5169
 
echo "${ECHO_T}$ac_cv_have_decl___SUNPRO_CC" >&6; }
5170
 
if test $ac_cv_have_decl___SUNPRO_CC = yes; then
 
5090
  ac_fn_cxx_check_decl "$LINENO" "__SUNPRO_CC" "ac_cv_have_decl___SUNPRO_CC" "$ac_includes_default"
 
5091
if test "x$ac_cv_have_decl___SUNPRO_CC" = x""yes; then :
5171
5092
  SUNCC="yes"
5172
5093
else
5173
5094
  SUNCC="no"
5182
5103
 
5183
5104
 
5184
5105
  # Check whether --enable-64bit-solaris was given.
5185
 
if test "${enable_64bit_solaris+set}" = set; then
 
5106
if test "${enable_64bit_solaris+set}" = set; then :
5186
5107
  enableval=$enable_64bit_solaris; ac_enable_64bit="$enableval"
5187
5108
else
5188
5109
  ac_enable_64bit="yes"
5189
5110
fi
5190
5111
 
5191
5112
 
5192
 
  if test "$SUNCC" = "yes" -a "x${ac_cv_env_CXXFLAGS_set}" = "x"; then
 
5113
  if test "$SUNCC" = "yes" -a "x${ac_cv_env_CXXFLAGS_set}" = "x"; then :
5193
5114
 
5194
5115
            CXXFLAGS="-g0 -xO3 -xlibmil -xdepend -xbuiltin -mt -compat=5 -library=stlport4 -library=Crun -template=no%extdef ${CXXFLAGS}"
5195
5116
 
5196
5117
fi
5197
5118
 
5198
 
 
5199
5119
  case $host_os in
5200
5120
    *solaris*)
5201
5121
      for ac_prog in isainfo
5202
5122
do
5203
5123
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5204
5124
set dummy $ac_prog; ac_word=$2
5205
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5206
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5207
 
if test "${ac_cv_prog_ISAINFO+set}" = set; then
5208
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5125
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5126
$as_echo_n "checking for $ac_word... " >&6; }
 
5127
if test "${ac_cv_prog_ISAINFO+set}" = set; then :
 
5128
  $as_echo_n "(cached) " >&6
5209
5129
else
5210
5130
  if test -n "$ISAINFO"; then
5211
5131
  ac_cv_prog_ISAINFO="$ISAINFO" # Let the user override the test.
5215
5135
do
5216
5136
  IFS=$as_save_IFS
5217
5137
  test -z "$as_dir" && as_dir=.
5218
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5138
    for ac_exec_ext in '' $ac_executable_extensions; do
5219
5139
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5220
5140
    ac_cv_prog_ISAINFO="$ac_prog"
5221
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5141
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5222
5142
    break 2
5223
5143
  fi
5224
5144
done
5225
 
done
 
5145
  done
5226
5146
IFS=$as_save_IFS
5227
5147
 
5228
5148
fi
5229
5149
fi
5230
5150
ISAINFO=$ac_cv_prog_ISAINFO
5231
5151
if test -n "$ISAINFO"; then
5232
 
  { echo "$as_me:$LINENO: result: $ISAINFO" >&5
5233
 
echo "${ECHO_T}$ISAINFO" >&6; }
 
5152
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISAINFO" >&5
 
5153
$as_echo "$ISAINFO" >&6; }
5234
5154
else
5235
 
  { echo "$as_me:$LINENO: result: no" >&5
5236
 
echo "${ECHO_T}no" >&6; }
 
5155
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5156
$as_echo "no" >&6; }
5237
5157
fi
5238
5158
 
5239
5159
 
5241
5161
done
5242
5162
test -n "$ISAINFO" || ISAINFO="no"
5243
5163
 
5244
 
      if test "x$ISAINFO" != "xno"; then
 
5164
      if test "x$ISAINFO" != "xno"; then :
5245
5165
  isainfo_b=`${ISAINFO} -b`
5246
5166
else
5247
5167
  isainfo_b="x"
5248
5168
fi
5249
5169
 
5250
 
 
5251
 
      if test "$isainfo_b" != "x"; then
 
5170
      if test "$isainfo_b" != "x"; then :
5252
5171
 
5253
5172
 
5254
5173
        isainfo_k=`${ISAINFO} -k`
5255
5174
 
5256
 
        if test "x$ac_enable_64bit" = "xyes"; then
5257
 
 
5258
 
 
5259
 
          if test "x$libdir" = "x\${exec_prefix}/lib"; then
 
5175
        if test "x$ac_enable_64bit" = "xyes"; then :
 
5176
 
 
5177
 
 
5178
          if test "x$libdir" = "x\${exec_prefix}/lib"; then :
5260
5179
 
5261
5180
                                 libdir="${libdir}/${isainfo_k}"
5262
5181
 
5263
5182
fi
5264
5183
 
5265
 
 
5266
 
                                        if test "x${ac_cv_env_CXXFLAGS_set}" = "x"; then
 
5184
                                        if test "x${ac_cv_env_CXXFLAGS_set}" = "x"; then :
5267
5185
 
5268
5186
            CXXFLAGS="${CXXFLAGS} -m64"
5269
5187
            ac_cv_env_CXXFLAGS_set=set
5271
5189
 
5272
5190
fi
5273
5191
 
5274
 
 
5275
 
          if test "x${ac_cv_env_CFLAGS_set}" = "x"; then
 
5192
          if test "x${ac_cv_env_CFLAGS_set}" = "x"; then :
5276
5193
 
5277
5194
            CFLAGS="${CFLAGS} -m64"
5278
5195
            ac_cv_env_CFLAGS_set=set
5280
5197
 
5281
5198
fi
5282
5199
 
5283
 
 
5284
 
          if test "$target_cpu" = "sparc" -a "x$SUNCC" = "xyes" ; then
 
5200
          if test "$target_cpu" = "sparc" -a "x$SUNCC" = "xyes" ; then :
5285
5201
 
5286
5202
            CXXFLAGS="-xmemalign=8s ${CXXFLAGS}"
5287
5203
 
5288
5204
fi
5289
5205
 
5290
 
 
5291
 
fi
5292
 
 
5293
 
 
5294
 
fi
5295
 
 
 
5206
fi
 
5207
 
 
5208
fi
5296
5209
    ;;
5297
5210
  esac
5298
5211
 
5302
5215
# to the link
5303
5216
case `pwd` in
5304
5217
  *\ * | *\     *)
5305
 
    { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5306
 
echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
5218
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
5219
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5307
5220
esac
5308
5221
 
5309
5222
 
5310
5223
 
5311
 
macro_version='2.2.4'
5312
 
macro_revision='1.2976'
 
5224
macro_version='2.2.6b'
 
5225
macro_revision='1.3017'
5313
5226
 
5314
5227
 
5315
5228
 
5325
5238
 
5326
5239
ltmain="$ac_aux_dir/ltmain.sh"
5327
5240
 
5328
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5329
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
5330
 
if test "${ac_cv_path_SED+set}" = set; then
5331
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5241
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
5242
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
5243
if test "${ac_cv_path_SED+set}" = set; then :
 
5244
  $as_echo_n "(cached) " >&6
5332
5245
else
5333
5246
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5334
5247
     for ac_i in 1 2 3 4 5 6 7; do
5335
5248
       ac_script="$ac_script$as_nl$ac_script"
5336
5249
     done
5337
 
     echo "$ac_script" | sed 99q >conftest.sed
5338
 
     $as_unset ac_script || ac_script=
5339
 
     # Extract the first word of "sed gsed" to use in msg output
5340
 
if test -z "$SED"; then
5341
 
set dummy sed gsed; ac_prog_name=$2
5342
 
if test "${ac_cv_path_SED+set}" = set; then
5343
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5344
 
else
 
5250
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
5251
     { ac_script=; unset ac_script;}
 
5252
     if test -z "$SED"; then
5345
5253
  ac_path_SED_found=false
5346
 
# Loop through the user's path and test for each of PROGNAME-LIST
5347
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5254
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5255
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5348
5256
for as_dir in $PATH
5349
5257
do
5350
5258
  IFS=$as_save_IFS
5351
5259
  test -z "$as_dir" && as_dir=.
5352
 
  for ac_prog in sed gsed; do
5353
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5354
 
    ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5355
 
    { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5356
 
    # Check for GNU ac_path_SED and select it if it is found.
 
5260
    for ac_prog in sed gsed; do
 
5261
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5262
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
5263
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
5264
# Check for GNU ac_path_SED and select it if it is found.
5357
5265
  # Check for GNU $ac_path_SED
5358
5266
case `"$ac_path_SED" --version 2>&1` in
5359
5267
*GNU*)
5360
5268
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5361
5269
*)
5362
5270
  ac_count=0
5363
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
5271
  $as_echo_n 0123456789 >"conftest.in"
5364
5272
  while :
5365
5273
  do
5366
5274
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5367
5275
    mv "conftest.tmp" "conftest.in"
5368
5276
    cp "conftest.in" "conftest.nl"
5369
 
    echo '' >> "conftest.nl"
 
5277
    $as_echo '' >> "conftest.nl"
5370
5278
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5371
5279
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5372
 
    ac_count=`expr $ac_count + 1`
 
5280
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5373
5281
    if test $ac_count -gt ${ac_path_SED_max-0}; then
5374
5282
      # Best one so far, save it but keep looking for a better one
5375
5283
      ac_cv_path_SED="$ac_path_SED"
5381
5289
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5382
5290
esac
5383
5291
 
5384
 
 
5385
 
    $ac_path_SED_found && break 3
5386
 
  done
5387
 
done
5388
 
 
5389
 
done
 
5292
      $ac_path_SED_found && break 3
 
5293
    done
 
5294
  done
 
5295
  done
5390
5296
IFS=$as_save_IFS
5391
 
 
5392
 
 
5393
 
fi
5394
 
 
5395
 
SED="$ac_cv_path_SED"
5396
 
if test -z "$SED"; then
5397
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
5398
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
5399
 
   { (exit 1); exit 1; }; }
5400
 
fi
5401
 
 
 
5297
  if test -z "$ac_cv_path_SED"; then
 
5298
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
5299
  fi
5402
5300
else
5403
5301
  ac_cv_path_SED=$SED
5404
5302
fi
5405
5303
 
5406
5304
fi
5407
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
5408
 
echo "${ECHO_T}$ac_cv_path_SED" >&6; }
 
5305
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
5306
$as_echo "$ac_cv_path_SED" >&6; }
5409
5307
 SED="$ac_cv_path_SED"
5410
5308
  rm -f conftest.sed
5411
5309
 
5422
5320
 
5423
5321
 
5424
5322
 
5425
 
{ echo "$as_me:$LINENO: checking for fgrep" >&5
5426
 
echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
5427
 
if test "${ac_cv_path_FGREP+set}" = set; then
5428
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5323
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 
5324
$as_echo_n "checking for fgrep... " >&6; }
 
5325
if test "${ac_cv_path_FGREP+set}" = set; then :
 
5326
  $as_echo_n "(cached) " >&6
5429
5327
else
5430
5328
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5431
5329
   then ac_cv_path_FGREP="$GREP -F"
5432
5330
   else
5433
 
     # Extract the first word of "fgrep" to use in msg output
5434
 
if test -z "$FGREP"; then
5435
 
set dummy fgrep; ac_prog_name=$2
5436
 
if test "${ac_cv_path_FGREP+set}" = set; then
5437
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5438
 
else
 
5331
     if test -z "$FGREP"; then
5439
5332
  ac_path_FGREP_found=false
5440
 
# Loop through the user's path and test for each of PROGNAME-LIST
5441
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5333
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5334
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5442
5335
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5443
5336
do
5444
5337
  IFS=$as_save_IFS
5445
5338
  test -z "$as_dir" && as_dir=.
5446
 
  for ac_prog in fgrep; do
5447
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5448
 
    ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5449
 
    { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5450
 
    # Check for GNU ac_path_FGREP and select it if it is found.
 
5339
    for ac_prog in fgrep; do
 
5340
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5341
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
5342
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
5343
# Check for GNU ac_path_FGREP and select it if it is found.
5451
5344
  # Check for GNU $ac_path_FGREP
5452
5345
case `"$ac_path_FGREP" --version 2>&1` in
5453
5346
*GNU*)
5454
5347
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5455
5348
*)
5456
5349
  ac_count=0
5457
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
5350
  $as_echo_n 0123456789 >"conftest.in"
5458
5351
  while :
5459
5352
  do
5460
5353
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5461
5354
    mv "conftest.tmp" "conftest.in"
5462
5355
    cp "conftest.in" "conftest.nl"
5463
 
    echo 'FGREP' >> "conftest.nl"
 
5356
    $as_echo 'FGREP' >> "conftest.nl"
5464
5357
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5465
5358
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5466
 
    ac_count=`expr $ac_count + 1`
 
5359
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5467
5360
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5468
5361
      # Best one so far, save it but keep looking for a better one
5469
5362
      ac_cv_path_FGREP="$ac_path_FGREP"
5475
5368
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5476
5369
esac
5477
5370
 
5478
 
 
5479
 
    $ac_path_FGREP_found && break 3
5480
 
  done
5481
 
done
5482
 
 
5483
 
done
 
5371
      $ac_path_FGREP_found && break 3
 
5372
    done
 
5373
  done
 
5374
  done
5484
5375
IFS=$as_save_IFS
5485
 
 
5486
 
 
5487
 
fi
5488
 
 
5489
 
FGREP="$ac_cv_path_FGREP"
5490
 
if test -z "$FGREP"; then
5491
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5492
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5493
 
   { (exit 1); exit 1; }; }
5494
 
fi
5495
 
 
 
5376
  if test -z "$ac_cv_path_FGREP"; then
 
5377
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5378
  fi
5496
5379
else
5497
5380
  ac_cv_path_FGREP=$FGREP
5498
5381
fi
5499
5382
 
5500
 
 
5501
5383
   fi
5502
5384
fi
5503
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
5504
 
echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
 
5385
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 
5386
$as_echo "$ac_cv_path_FGREP" >&6; }
5505
5387
 FGREP="$ac_cv_path_FGREP"
5506
5388
 
5507
5389
 
5526
5408
 
5527
5409
 
5528
5410
# Check whether --with-gnu-ld was given.
5529
 
if test "${with_gnu_ld+set}" = set; then
 
5411
if test "${with_gnu_ld+set}" = set; then :
5530
5412
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5531
5413
else
5532
5414
  with_gnu_ld=no
5535
5417
ac_prog=ld
5536
5418
if test "$GCC" = yes; then
5537
5419
  # Check if gcc -print-prog-name=ld gives a path.
5538
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5539
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
5420
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
5421
$as_echo_n "checking for ld used by $CC... " >&6; }
5540
5422
  case $host in
5541
5423
  *-*-mingw*)
5542
5424
    # gcc leaves a trailing carriage return which upsets mingw
5565
5447
    ;;
5566
5448
  esac
5567
5449
elif test "$with_gnu_ld" = yes; then
5568
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
5569
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
5450
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
5451
$as_echo_n "checking for GNU ld... " >&6; }
5570
5452
else
5571
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5572
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
5453
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
5454
$as_echo_n "checking for non-GNU ld... " >&6; }
5573
5455
fi
5574
 
if test "${lt_cv_path_LD+set}" = set; then
5575
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5456
if test "${lt_cv_path_LD+set}" = set; then :
 
5457
  $as_echo_n "(cached) " >&6
5576
5458
else
5577
5459
  if test -z "$LD"; then
5578
5460
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5602
5484
 
5603
5485
LD="$lt_cv_path_LD"
5604
5486
if test -n "$LD"; then
5605
 
  { echo "$as_me:$LINENO: result: $LD" >&5
5606
 
echo "${ECHO_T}$LD" >&6; }
 
5487
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
5488
$as_echo "$LD" >&6; }
5607
5489
else
5608
 
  { echo "$as_me:$LINENO: result: no" >&5
5609
 
echo "${ECHO_T}no" >&6; }
 
5490
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5491
$as_echo "no" >&6; }
5610
5492
fi
5611
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5612
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5613
 
   { (exit 1); exit 1; }; }
5614
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5615
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
5616
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
5617
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5493
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
5494
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
5495
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
5496
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
5497
  $as_echo_n "(cached) " >&6
5618
5498
else
5619
5499
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5620
5500
case `$LD -v 2>&1 </dev/null` in
5626
5506
  ;;
5627
5507
esac
5628
5508
fi
5629
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5630
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
5509
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
5510
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5631
5511
with_gnu_ld=$lt_cv_prog_gnu_ld
5632
5512
 
5633
5513
 
5638
5518
 
5639
5519
 
5640
5520
 
5641
 
{ echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5642
 
echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
5643
 
if test "${lt_cv_path_NM+set}" = set; then
5644
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5521
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 
5522
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
5523
if test "${lt_cv_path_NM+set}" = set; then :
 
5524
  $as_echo_n "(cached) " >&6
5645
5525
else
5646
5526
  if test -n "$NM"; then
5647
5527
  # Let the user override the test.
5687
5567
  : ${lt_cv_path_NM=no}
5688
5568
fi
5689
5569
fi
5690
 
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5691
 
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
 
5570
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 
5571
$as_echo "$lt_cv_path_NM" >&6; }
5692
5572
if test "$lt_cv_path_NM" != "no"; then
5693
5573
  NM="$lt_cv_path_NM"
5694
5574
else
5698
5578
  do
5699
5579
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5700
5580
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5701
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5702
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5703
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5704
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5581
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5582
$as_echo_n "checking for $ac_word... " >&6; }
 
5583
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
5584
  $as_echo_n "(cached) " >&6
5705
5585
else
5706
5586
  if test -n "$DUMPBIN"; then
5707
5587
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5711
5591
do
5712
5592
  IFS=$as_save_IFS
5713
5593
  test -z "$as_dir" && as_dir=.
5714
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5594
    for ac_exec_ext in '' $ac_executable_extensions; do
5715
5595
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5716
5596
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5717
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5597
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5718
5598
    break 2
5719
5599
  fi
5720
5600
done
5721
 
done
 
5601
  done
5722
5602
IFS=$as_save_IFS
5723
5603
 
5724
5604
fi
5725
5605
fi
5726
5606
DUMPBIN=$ac_cv_prog_DUMPBIN
5727
5607
if test -n "$DUMPBIN"; then
5728
 
  { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5729
 
echo "${ECHO_T}$DUMPBIN" >&6; }
 
5608
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 
5609
$as_echo "$DUMPBIN" >&6; }
5730
5610
else
5731
 
  { echo "$as_me:$LINENO: result: no" >&5
5732
 
echo "${ECHO_T}no" >&6; }
 
5611
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5612
$as_echo "no" >&6; }
5733
5613
fi
5734
5614
 
5735
5615
 
5742
5622
do
5743
5623
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5744
5624
set dummy $ac_prog; ac_word=$2
5745
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5746
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5747
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5748
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5625
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5626
$as_echo_n "checking for $ac_word... " >&6; }
 
5627
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
5628
  $as_echo_n "(cached) " >&6
5749
5629
else
5750
5630
  if test -n "$ac_ct_DUMPBIN"; then
5751
5631
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5755
5635
do
5756
5636
  IFS=$as_save_IFS
5757
5637
  test -z "$as_dir" && as_dir=.
5758
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5638
    for ac_exec_ext in '' $ac_executable_extensions; do
5759
5639
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5760
5640
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5761
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5641
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5762
5642
    break 2
5763
5643
  fi
5764
5644
done
5765
 
done
 
5645
  done
5766
5646
IFS=$as_save_IFS
5767
5647
 
5768
5648
fi
5769
5649
fi
5770
5650
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5771
5651
if test -n "$ac_ct_DUMPBIN"; then
5772
 
  { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5773
 
echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
 
5652
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 
5653
$as_echo "$ac_ct_DUMPBIN" >&6; }
5774
5654
else
5775
 
  { echo "$as_me:$LINENO: result: no" >&5
5776
 
echo "${ECHO_T}no" >&6; }
 
5655
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5656
$as_echo "no" >&6; }
5777
5657
fi
5778
5658
 
5779
5659
 
5785
5665
  else
5786
5666
    case $cross_compiling:$ac_tool_warned in
5787
5667
yes:)
5788
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5789
 
whose name does not start with the host triplet.  If you think this
5790
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5791
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5792
 
whose name does not start with the host triplet.  If you think this
5793
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5668
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5669
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5794
5670
ac_tool_warned=yes ;;
5795
5671
esac
5796
5672
    DUMPBIN=$ac_ct_DUMPBIN
5809
5685
 
5810
5686
 
5811
5687
 
5812
 
{ echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5813
 
echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
5814
 
if test "${lt_cv_nm_interface+set}" = set; then
5815
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5688
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 
5689
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
5690
if test "${lt_cv_nm_interface+set}" = set; then :
 
5691
  $as_echo_n "(cached) " >&6
5816
5692
else
5817
5693
  lt_cv_nm_interface="BSD nm"
5818
5694
  echo "int some_variable = 0;" > conftest.$ac_ext
5819
 
  (eval echo "\"\$as_me:5819: $ac_compile\"" >&5)
 
5695
  (eval echo "\"\$as_me:5695: $ac_compile\"" >&5)
5820
5696
  (eval "$ac_compile" 2>conftest.err)
5821
5697
  cat conftest.err >&5
5822
 
  (eval echo "\"\$as_me:5822: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5698
  (eval echo "\"\$as_me:5698: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5823
5699
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5824
5700
  cat conftest.err >&5
5825
 
  (eval echo "\"\$as_me:5825: output\"" >&5)
 
5701
  (eval echo "\"\$as_me:5701: output\"" >&5)
5826
5702
  cat conftest.out >&5
5827
5703
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5828
5704
    lt_cv_nm_interface="MS dumpbin"
5829
5705
  fi
5830
5706
  rm -f conftest*
5831
5707
fi
5832
 
{ echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5833
 
echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
 
5708
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 
5709
$as_echo "$lt_cv_nm_interface" >&6; }
5834
5710
 
5835
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
5836
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
 
5711
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
5712
$as_echo_n "checking whether ln -s works... " >&6; }
5837
5713
LN_S=$as_ln_s
5838
5714
if test "$LN_S" = "ln -s"; then
5839
 
  { echo "$as_me:$LINENO: result: yes" >&5
5840
 
echo "${ECHO_T}yes" >&6; }
 
5715
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5716
$as_echo "yes" >&6; }
5841
5717
else
5842
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5843
 
echo "${ECHO_T}no, using $LN_S" >&6; }
 
5718
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
5719
$as_echo "no, using $LN_S" >&6; }
5844
5720
fi
5845
5721
 
5846
5722
# find the maximum length of command line arguments
5847
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5848
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5849
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5850
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5723
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 
5724
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
5725
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
5726
  $as_echo_n "(cached) " >&6
5851
5727
else
5852
5728
    i=0
5853
5729
  teststring="ABCD"
5868
5744
    lt_cv_sys_max_cmd_len=-1;
5869
5745
    ;;
5870
5746
 
5871
 
  cygwin* | mingw*)
 
5747
  cygwin* | mingw* | cegcc*)
5872
5748
    # On Win9x/ME, this test blows up -- it succeeds, but takes
5873
5749
    # about 5 minutes as the teststring grows exponentially.
5874
5750
    # Worse, since 9x/ME are not pre-emptively multitasking,
5964
5840
fi
5965
5841
 
5966
5842
if test -n $lt_cv_sys_max_cmd_len ; then
5967
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5968
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
 
5843
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 
5844
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5969
5845
else
5970
 
  { echo "$as_me:$LINENO: result: none" >&5
5971
 
echo "${ECHO_T}none" >&6; }
 
5846
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 
5847
$as_echo "none" >&6; }
5972
5848
fi
5973
5849
max_cmd_len=$lt_cv_sys_max_cmd_len
5974
5850
 
5981
5857
: ${MV="mv -f"}
5982
5858
: ${RM="rm -f"}
5983
5859
 
5984
 
{ echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5985
 
echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
 
5860
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 
5861
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5986
5862
# Try some XSI features
5987
5863
xsi_shell=no
5988
5864
( _lt_dummy="a/b/c"
5991
5867
    && eval 'test $(( 1 + 1 )) -eq 2 \
5992
5868
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5993
5869
  && xsi_shell=yes
5994
 
{ echo "$as_me:$LINENO: result: $xsi_shell" >&5
5995
 
echo "${ECHO_T}$xsi_shell" >&6; }
5996
 
 
5997
 
 
5998
 
{ echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
5999
 
echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
 
5870
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 
5871
$as_echo "$xsi_shell" >&6; }
 
5872
 
 
5873
 
 
5874
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 
5875
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6000
5876
lt_shell_append=no
6001
5877
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6002
5878
    >/dev/null 2>&1 \
6003
5879
  && lt_shell_append=yes
6004
 
{ echo "$as_me:$LINENO: result: $lt_shell_append" >&5
6005
 
echo "${ECHO_T}$lt_shell_append" >&6; }
 
5880
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 
5881
$as_echo "$lt_shell_append" >&6; }
6006
5882
 
6007
5883
 
6008
5884
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6036
5912
 
6037
5913
 
6038
5914
 
6039
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6040
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
6041
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
6042
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5915
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 
5916
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
5917
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
5918
  $as_echo_n "(cached) " >&6
6043
5919
else
6044
5920
  lt_cv_ld_reload_flag='-r'
6045
5921
fi
6046
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6047
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
 
5922
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 
5923
$as_echo "$lt_cv_ld_reload_flag" >&6; }
6048
5924
reload_flag=$lt_cv_ld_reload_flag
6049
5925
case $reload_flag in
6050
5926
"" | " "*) ;;
6069
5945
 
6070
5946
 
6071
5947
 
6072
 
 
6073
 
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
6074
 
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
6075
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
6076
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5948
if test -n "$ac_tool_prefix"; then
 
5949
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
5950
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
5951
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5952
$as_echo_n "checking for $ac_word... " >&6; }
 
5953
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
5954
  $as_echo_n "(cached) " >&6
 
5955
else
 
5956
  if test -n "$OBJDUMP"; then
 
5957
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
5958
else
 
5959
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5960
for as_dir in $PATH
 
5961
do
 
5962
  IFS=$as_save_IFS
 
5963
  test -z "$as_dir" && as_dir=.
 
5964
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5965
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5966
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
5967
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5968
    break 2
 
5969
  fi
 
5970
done
 
5971
  done
 
5972
IFS=$as_save_IFS
 
5973
 
 
5974
fi
 
5975
fi
 
5976
OBJDUMP=$ac_cv_prog_OBJDUMP
 
5977
if test -n "$OBJDUMP"; then
 
5978
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
5979
$as_echo "$OBJDUMP" >&6; }
 
5980
else
 
5981
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5982
$as_echo "no" >&6; }
 
5983
fi
 
5984
 
 
5985
 
 
5986
fi
 
5987
if test -z "$ac_cv_prog_OBJDUMP"; then
 
5988
  ac_ct_OBJDUMP=$OBJDUMP
 
5989
  # Extract the first word of "objdump", so it can be a program name with args.
 
5990
set dummy objdump; ac_word=$2
 
5991
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5992
$as_echo_n "checking for $ac_word... " >&6; }
 
5993
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
5994
  $as_echo_n "(cached) " >&6
 
5995
else
 
5996
  if test -n "$ac_ct_OBJDUMP"; then
 
5997
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
5998
else
 
5999
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6000
for as_dir in $PATH
 
6001
do
 
6002
  IFS=$as_save_IFS
 
6003
  test -z "$as_dir" && as_dir=.
 
6004
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6005
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6006
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
6007
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6008
    break 2
 
6009
  fi
 
6010
done
 
6011
  done
 
6012
IFS=$as_save_IFS
 
6013
 
 
6014
fi
 
6015
fi
 
6016
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
6017
if test -n "$ac_ct_OBJDUMP"; then
 
6018
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
6019
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
6020
else
 
6021
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6022
$as_echo "no" >&6; }
 
6023
fi
 
6024
 
 
6025
  if test "x$ac_ct_OBJDUMP" = x; then
 
6026
    OBJDUMP="false"
 
6027
  else
 
6028
    case $cross_compiling:$ac_tool_warned in
 
6029
yes:)
 
6030
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6031
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6032
ac_tool_warned=yes ;;
 
6033
esac
 
6034
    OBJDUMP=$ac_ct_OBJDUMP
 
6035
  fi
 
6036
else
 
6037
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
6038
fi
 
6039
 
 
6040
test -z "$OBJDUMP" && OBJDUMP=objdump
 
6041
 
 
6042
 
 
6043
 
 
6044
 
 
6045
 
 
6046
 
 
6047
 
 
6048
 
 
6049
 
 
6050
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 
6051
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 
6052
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
6053
  $as_echo_n "(cached) " >&6
6077
6054
else
6078
6055
  lt_cv_file_magic_cmd='$MAGIC_CMD'
6079
6056
lt_cv_file_magic_test_file=
6123
6100
  fi
6124
6101
  ;;
6125
6102
 
 
6103
cegcc)
 
6104
  # use the weaker test based on 'objdump'. See mingw*.
 
6105
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
6106
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
6107
  ;;
 
6108
 
6126
6109
darwin* | rhapsody*)
6127
6110
  lt_cv_deplibs_check_method=pass_all
6128
6111
  ;;
6181
6164
  ;;
6182
6165
 
6183
6166
# This must be Linux ELF.
6184
 
linux* | k*bsd*-gnu)
 
6167
linux* | k*bsd*-gnu | kopensolaris*-gnu)
6185
6168
  lt_cv_deplibs_check_method=pass_all
6186
6169
  ;;
6187
6170
 
6188
 
netbsd*)
 
6171
netbsd* | netbsdelf*-gnu)
6189
6172
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6190
6173
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6191
6174
  else
6260
6243
esac
6261
6244
 
6262
6245
fi
6263
 
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
6264
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
 
6246
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 
6247
$as_echo "$lt_cv_deplibs_check_method" >&6; }
6265
6248
file_magic_cmd=$lt_cv_file_magic_cmd
6266
6249
deplibs_check_method=$lt_cv_deplibs_check_method
6267
6250
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6280
6263
if test -n "$ac_tool_prefix"; then
6281
6264
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6282
6265
set dummy ${ac_tool_prefix}ar; ac_word=$2
6283
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6284
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6285
 
if test "${ac_cv_prog_AR+set}" = set; then
6286
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6266
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6267
$as_echo_n "checking for $ac_word... " >&6; }
 
6268
if test "${ac_cv_prog_AR+set}" = set; then :
 
6269
  $as_echo_n "(cached) " >&6
6287
6270
else
6288
6271
  if test -n "$AR"; then
6289
6272
  ac_cv_prog_AR="$AR" # Let the user override the test.
6293
6276
do
6294
6277
  IFS=$as_save_IFS
6295
6278
  test -z "$as_dir" && as_dir=.
6296
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6279
    for ac_exec_ext in '' $ac_executable_extensions; do
6297
6280
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6298
6281
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6299
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6282
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6300
6283
    break 2
6301
6284
  fi
6302
6285
done
6303
 
done
 
6286
  done
6304
6287
IFS=$as_save_IFS
6305
6288
 
6306
6289
fi
6307
6290
fi
6308
6291
AR=$ac_cv_prog_AR
6309
6292
if test -n "$AR"; then
6310
 
  { echo "$as_me:$LINENO: result: $AR" >&5
6311
 
echo "${ECHO_T}$AR" >&6; }
 
6293
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
6294
$as_echo "$AR" >&6; }
6312
6295
else
6313
 
  { echo "$as_me:$LINENO: result: no" >&5
6314
 
echo "${ECHO_T}no" >&6; }
 
6296
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6297
$as_echo "no" >&6; }
6315
6298
fi
6316
6299
 
6317
6300
 
6320
6303
  ac_ct_AR=$AR
6321
6304
  # Extract the first word of "ar", so it can be a program name with args.
6322
6305
set dummy ar; ac_word=$2
6323
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6324
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6325
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6326
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6306
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6307
$as_echo_n "checking for $ac_word... " >&6; }
 
6308
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
6309
  $as_echo_n "(cached) " >&6
6327
6310
else
6328
6311
  if test -n "$ac_ct_AR"; then
6329
6312
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6333
6316
do
6334
6317
  IFS=$as_save_IFS
6335
6318
  test -z "$as_dir" && as_dir=.
6336
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6319
    for ac_exec_ext in '' $ac_executable_extensions; do
6337
6320
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6338
6321
    ac_cv_prog_ac_ct_AR="ar"
6339
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6322
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6340
6323
    break 2
6341
6324
  fi
6342
6325
done
6343
 
done
 
6326
  done
6344
6327
IFS=$as_save_IFS
6345
6328
 
6346
6329
fi
6347
6330
fi
6348
6331
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6349
6332
if test -n "$ac_ct_AR"; then
6350
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6351
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
 
6333
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
6334
$as_echo "$ac_ct_AR" >&6; }
6352
6335
else
6353
 
  { echo "$as_me:$LINENO: result: no" >&5
6354
 
echo "${ECHO_T}no" >&6; }
 
6336
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6337
$as_echo "no" >&6; }
6355
6338
fi
6356
6339
 
6357
6340
  if test "x$ac_ct_AR" = x; then
6359
6342
  else
6360
6343
    case $cross_compiling:$ac_tool_warned in
6361
6344
yes:)
6362
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6363
 
whose name does not start with the host triplet.  If you think this
6364
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6365
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6366
 
whose name does not start with the host triplet.  If you think this
6367
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6345
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6346
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6368
6347
ac_tool_warned=yes ;;
6369
6348
esac
6370
6349
    AR=$ac_ct_AR
6389
6368
if test -n "$ac_tool_prefix"; then
6390
6369
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6391
6370
set dummy ${ac_tool_prefix}strip; ac_word=$2
6392
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6393
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6394
 
if test "${ac_cv_prog_STRIP+set}" = set; then
6395
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6371
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6372
$as_echo_n "checking for $ac_word... " >&6; }
 
6373
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
6374
  $as_echo_n "(cached) " >&6
6396
6375
else
6397
6376
  if test -n "$STRIP"; then
6398
6377
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6402
6381
do
6403
6382
  IFS=$as_save_IFS
6404
6383
  test -z "$as_dir" && as_dir=.
6405
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6384
    for ac_exec_ext in '' $ac_executable_extensions; do
6406
6385
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6407
6386
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6408
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6387
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6409
6388
    break 2
6410
6389
  fi
6411
6390
done
6412
 
done
 
6391
  done
6413
6392
IFS=$as_save_IFS
6414
6393
 
6415
6394
fi
6416
6395
fi
6417
6396
STRIP=$ac_cv_prog_STRIP
6418
6397
if test -n "$STRIP"; then
6419
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
6420
 
echo "${ECHO_T}$STRIP" >&6; }
 
6398
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
6399
$as_echo "$STRIP" >&6; }
6421
6400
else
6422
 
  { echo "$as_me:$LINENO: result: no" >&5
6423
 
echo "${ECHO_T}no" >&6; }
 
6401
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6402
$as_echo "no" >&6; }
6424
6403
fi
6425
6404
 
6426
6405
 
6429
6408
  ac_ct_STRIP=$STRIP
6430
6409
  # Extract the first word of "strip", so it can be a program name with args.
6431
6410
set dummy strip; ac_word=$2
6432
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6433
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6434
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6435
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6411
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6412
$as_echo_n "checking for $ac_word... " >&6; }
 
6413
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
6414
  $as_echo_n "(cached) " >&6
6436
6415
else
6437
6416
  if test -n "$ac_ct_STRIP"; then
6438
6417
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6442
6421
do
6443
6422
  IFS=$as_save_IFS
6444
6423
  test -z "$as_dir" && as_dir=.
6445
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6424
    for ac_exec_ext in '' $ac_executable_extensions; do
6446
6425
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6447
6426
    ac_cv_prog_ac_ct_STRIP="strip"
6448
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6427
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6449
6428
    break 2
6450
6429
  fi
6451
6430
done
6452
 
done
 
6431
  done
6453
6432
IFS=$as_save_IFS
6454
6433
 
6455
6434
fi
6456
6435
fi
6457
6436
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6458
6437
if test -n "$ac_ct_STRIP"; then
6459
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6460
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 
6438
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
6439
$as_echo "$ac_ct_STRIP" >&6; }
6461
6440
else
6462
 
  { echo "$as_me:$LINENO: result: no" >&5
6463
 
echo "${ECHO_T}no" >&6; }
 
6441
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6442
$as_echo "no" >&6; }
6464
6443
fi
6465
6444
 
6466
6445
  if test "x$ac_ct_STRIP" = x; then
6468
6447
  else
6469
6448
    case $cross_compiling:$ac_tool_warned in
6470
6449
yes:)
6471
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6472
 
whose name does not start with the host triplet.  If you think this
6473
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6474
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6475
 
whose name does not start with the host triplet.  If you think this
6476
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6450
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6451
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6477
6452
ac_tool_warned=yes ;;
6478
6453
esac
6479
6454
    STRIP=$ac_ct_STRIP
6492
6467
if test -n "$ac_tool_prefix"; then
6493
6468
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6494
6469
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6495
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6496
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6497
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
6498
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6470
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6471
$as_echo_n "checking for $ac_word... " >&6; }
 
6472
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
6473
  $as_echo_n "(cached) " >&6
6499
6474
else
6500
6475
  if test -n "$RANLIB"; then
6501
6476
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6505
6480
do
6506
6481
  IFS=$as_save_IFS
6507
6482
  test -z "$as_dir" && as_dir=.
6508
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6483
    for ac_exec_ext in '' $ac_executable_extensions; do
6509
6484
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6510
6485
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6511
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6486
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6512
6487
    break 2
6513
6488
  fi
6514
6489
done
6515
 
done
 
6490
  done
6516
6491
IFS=$as_save_IFS
6517
6492
 
6518
6493
fi
6519
6494
fi
6520
6495
RANLIB=$ac_cv_prog_RANLIB
6521
6496
if test -n "$RANLIB"; then
6522
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
6523
 
echo "${ECHO_T}$RANLIB" >&6; }
 
6497
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
6498
$as_echo "$RANLIB" >&6; }
6524
6499
else
6525
 
  { echo "$as_me:$LINENO: result: no" >&5
6526
 
echo "${ECHO_T}no" >&6; }
 
6500
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6501
$as_echo "no" >&6; }
6527
6502
fi
6528
6503
 
6529
6504
 
6532
6507
  ac_ct_RANLIB=$RANLIB
6533
6508
  # Extract the first word of "ranlib", so it can be a program name with args.
6534
6509
set dummy ranlib; ac_word=$2
6535
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6536
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6537
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6538
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6510
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6511
$as_echo_n "checking for $ac_word... " >&6; }
 
6512
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
6513
  $as_echo_n "(cached) " >&6
6539
6514
else
6540
6515
  if test -n "$ac_ct_RANLIB"; then
6541
6516
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6545
6520
do
6546
6521
  IFS=$as_save_IFS
6547
6522
  test -z "$as_dir" && as_dir=.
6548
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6523
    for ac_exec_ext in '' $ac_executable_extensions; do
6549
6524
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6550
6525
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6551
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6526
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6552
6527
    break 2
6553
6528
  fi
6554
6529
done
6555
 
done
 
6530
  done
6556
6531
IFS=$as_save_IFS
6557
6532
 
6558
6533
fi
6559
6534
fi
6560
6535
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6561
6536
if test -n "$ac_ct_RANLIB"; then
6562
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6563
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
 
6537
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
6538
$as_echo "$ac_ct_RANLIB" >&6; }
6564
6539
else
6565
 
  { echo "$as_me:$LINENO: result: no" >&5
6566
 
echo "${ECHO_T}no" >&6; }
 
6540
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6541
$as_echo "no" >&6; }
6567
6542
fi
6568
6543
 
6569
6544
  if test "x$ac_ct_RANLIB" = x; then
6571
6546
  else
6572
6547
    case $cross_compiling:$ac_tool_warned in
6573
6548
yes:)
6574
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6575
 
whose name does not start with the host triplet.  If you think this
6576
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6577
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6578
 
whose name does not start with the host triplet.  If you think this
6579
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6549
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6550
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6580
6551
ac_tool_warned=yes ;;
6581
6552
esac
6582
6553
    RANLIB=$ac_ct_RANLIB
6653
6624
 
6654
6625
 
6655
6626
# Check for command to grab the raw symbol name followed by C symbol from nm.
6656
 
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6657
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6658
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6659
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6627
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 
6628
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 
6629
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
6630
  $as_echo_n "(cached) " >&6
6660
6631
else
6661
6632
 
6662
6633
# These are sane defaults that work on at least a few old systems.
6673
6644
aix*)
6674
6645
  symcode='[BCDT]'
6675
6646
  ;;
6676
 
cygwin* | mingw* | pw32*)
 
6647
cygwin* | mingw* | pw32* | cegcc*)
6677
6648
  symcode='[ABCDGISTW]'
6678
6649
  ;;
6679
6650
hpux*)
6771
6742
int main(){nm_test_var='a';nm_test_func();return(0);}
6772
6743
_LT_EOF
6773
6744
 
6774
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6745
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6775
6746
  (eval $ac_compile) 2>&5
6776
6747
  ac_status=$?
6777
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6778
 
  (exit $ac_status); }; then
 
6748
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6749
  test $ac_status = 0; }; then
6779
6750
    # Now try to grab the symbols.
6780
6751
    nlist=conftest.nm
6781
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 
6752
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6782
6753
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6783
6754
  ac_status=$?
6784
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6785
 
  (exit $ac_status); } && test -s "$nlist"; then
 
6755
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6756
  test $ac_status = 0; } && test -s "$nlist"; then
6786
6757
      # Try sorting and uniquifying the output.
6787
6758
      if sort "$nlist" | uniq > "$nlist"T; then
6788
6759
        mv -f "$nlist"T "$nlist"
6835
6806
          lt_save_CFLAGS="$CFLAGS"
6836
6807
          LIBS="conftstm.$ac_objext"
6837
6808
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6838
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
6809
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6839
6810
  (eval $ac_link) 2>&5
6840
6811
  ac_status=$?
6841
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6842
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 
6812
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6813
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6843
6814
            pipe_works=yes
6844
6815
          fi
6845
6816
          LIBS="$lt_save_LIBS"
6873
6844
  lt_cv_sys_global_symbol_to_cdecl=
6874
6845
fi
6875
6846
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6876
 
  { echo "$as_me:$LINENO: result: failed" >&5
6877
 
echo "${ECHO_T}failed" >&6; }
 
6847
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 
6848
$as_echo "failed" >&6; }
6878
6849
else
6879
 
  { echo "$as_me:$LINENO: result: ok" >&5
6880
 
echo "${ECHO_T}ok" >&6; }
 
6850
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
6851
$as_echo "ok" >&6; }
6881
6852
fi
6882
6853
 
6883
6854
 
6903
6874
 
6904
6875
 
6905
6876
# Check whether --enable-libtool-lock was given.
6906
 
if test "${enable_libtool_lock+set}" = set; then
 
6877
if test "${enable_libtool_lock+set}" = set; then :
6907
6878
  enableval=$enable_libtool_lock;
6908
6879
fi
6909
6880
 
6915
6886
ia64-*-hpux*)
6916
6887
  # Find out which ABI we are using.
6917
6888
  echo 'int i;' > conftest.$ac_ext
6918
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6889
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6919
6890
  (eval $ac_compile) 2>&5
6920
6891
  ac_status=$?
6921
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6922
 
  (exit $ac_status); }; then
 
6892
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6893
  test $ac_status = 0; }; then
6923
6894
    case `/usr/bin/file conftest.$ac_objext` in
6924
6895
      *ELF-32*)
6925
6896
        HPUX_IA64_MODE="32"
6933
6904
  ;;
6934
6905
*-*-irix6*)
6935
6906
  # Find out which ABI we are using.
6936
 
  echo '#line 6936 "configure"' > conftest.$ac_ext
6937
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6907
  echo '#line 6907 "configure"' > conftest.$ac_ext
 
6908
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6938
6909
  (eval $ac_compile) 2>&5
6939
6910
  ac_status=$?
6940
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6941
 
  (exit $ac_status); }; then
 
6911
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6912
  test $ac_status = 0; }; then
6942
6913
    if test "$lt_cv_prog_gnu_ld" = yes; then
6943
6914
      case `/usr/bin/file conftest.$ac_objext` in
6944
6915
        *32-bit*)
6972
6943
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6973
6944
  # Find out which ABI we are using.
6974
6945
  echo 'int i;' > conftest.$ac_ext
6975
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6946
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6976
6947
  (eval $ac_compile) 2>&5
6977
6948
  ac_status=$?
6978
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6979
 
  (exit $ac_status); }; then
 
6949
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6950
  test $ac_status = 0; }; then
6980
6951
    case `/usr/bin/file conftest.o` in
6981
6952
      *32-bit*)
6982
6953
        case $host in
7025
6996
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7026
6997
  SAVE_CFLAGS="$CFLAGS"
7027
6998
  CFLAGS="$CFLAGS -belf"
7028
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
7029
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
7030
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
7031
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6999
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 
7000
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
7001
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
7002
  $as_echo_n "(cached) " >&6
7032
7003
else
7033
7004
  ac_ext=c
7034
7005
ac_cpp='$CPP $CPPFLAGS'
7036
7007
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7037
7008
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7038
7009
 
7039
 
     cat >conftest.$ac_ext <<_ACEOF
7040
 
/* confdefs.h.  */
7041
 
_ACEOF
7042
 
cat confdefs.h >>conftest.$ac_ext
7043
 
cat >>conftest.$ac_ext <<_ACEOF
 
7010
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7044
7011
/* end confdefs.h.  */
7045
7012
 
7046
7013
int
7051
7018
  return 0;
7052
7019
}
7053
7020
_ACEOF
7054
 
rm -f conftest.$ac_objext conftest$ac_exeext
7055
 
if { (ac_try="$ac_link"
7056
 
case "(($ac_try" in
7057
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7058
 
  *) ac_try_echo=$ac_try;;
7059
 
esac
7060
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7061
 
  (eval "$ac_link") 2>conftest.er1
7062
 
  ac_status=$?
7063
 
  grep -v '^ *+' conftest.er1 >conftest.err
7064
 
  rm -f conftest.er1
7065
 
  cat conftest.err >&5
7066
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7067
 
  (exit $ac_status); } && {
7068
 
         test -z "$ac_c_werror_flag" ||
7069
 
         test ! -s conftest.err
7070
 
       } && test -s conftest$ac_exeext &&
7071
 
       $as_test_x conftest$ac_exeext; then
 
7021
if ac_fn_c_try_link "$LINENO"; then :
7072
7022
  lt_cv_cc_needs_belf=yes
7073
7023
else
7074
 
  echo "$as_me: failed program was:" >&5
7075
 
sed 's/^/| /' conftest.$ac_ext >&5
7076
 
 
7077
 
        lt_cv_cc_needs_belf=no
 
7024
  lt_cv_cc_needs_belf=no
7078
7025
fi
7079
 
 
7080
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7081
 
      conftest$ac_exeext conftest.$ac_ext
 
7026
rm -f core conftest.err conftest.$ac_objext \
 
7027
    conftest$ac_exeext conftest.$ac_ext
7082
7028
     ac_ext=c
7083
7029
ac_cpp='$CPP $CPPFLAGS'
7084
7030
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7086
7032
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7087
7033
 
7088
7034
fi
7089
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7090
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
 
7035
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 
7036
$as_echo "$lt_cv_cc_needs_belf" >&6; }
7091
7037
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7092
7038
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7093
7039
    CFLAGS="$SAVE_CFLAGS"
7096
7042
sparc*-*solaris*)
7097
7043
  # Find out which ABI we are using.
7098
7044
  echo 'int i;' > conftest.$ac_ext
7099
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7045
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7100
7046
  (eval $ac_compile) 2>&5
7101
7047
  ac_status=$?
7102
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7103
 
  (exit $ac_status); }; then
 
7048
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7049
  test $ac_status = 0; }; then
7104
7050
    case `/usr/bin/file conftest.o` in
7105
7051
    *64-bit*)
7106
7052
      case $lt_cv_prog_gnu_ld in
7126
7072
    if test -n "$ac_tool_prefix"; then
7127
7073
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7128
7074
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7129
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7130
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7131
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7132
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7075
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7076
$as_echo_n "checking for $ac_word... " >&6; }
 
7077
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
7078
  $as_echo_n "(cached) " >&6
7133
7079
else
7134
7080
  if test -n "$DSYMUTIL"; then
7135
7081
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7139
7085
do
7140
7086
  IFS=$as_save_IFS
7141
7087
  test -z "$as_dir" && as_dir=.
7142
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7088
    for ac_exec_ext in '' $ac_executable_extensions; do
7143
7089
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7144
7090
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7145
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7091
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7146
7092
    break 2
7147
7093
  fi
7148
7094
done
7149
 
done
 
7095
  done
7150
7096
IFS=$as_save_IFS
7151
7097
 
7152
7098
fi
7153
7099
fi
7154
7100
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7155
7101
if test -n "$DSYMUTIL"; then
7156
 
  { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7157
 
echo "${ECHO_T}$DSYMUTIL" >&6; }
 
7102
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 
7103
$as_echo "$DSYMUTIL" >&6; }
7158
7104
else
7159
 
  { echo "$as_me:$LINENO: result: no" >&5
7160
 
echo "${ECHO_T}no" >&6; }
 
7105
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7106
$as_echo "no" >&6; }
7161
7107
fi
7162
7108
 
7163
7109
 
7166
7112
  ac_ct_DSYMUTIL=$DSYMUTIL
7167
7113
  # Extract the first word of "dsymutil", so it can be a program name with args.
7168
7114
set dummy dsymutil; ac_word=$2
7169
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7170
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7171
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7172
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7115
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7116
$as_echo_n "checking for $ac_word... " >&6; }
 
7117
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
7118
  $as_echo_n "(cached) " >&6
7173
7119
else
7174
7120
  if test -n "$ac_ct_DSYMUTIL"; then
7175
7121
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7179
7125
do
7180
7126
  IFS=$as_save_IFS
7181
7127
  test -z "$as_dir" && as_dir=.
7182
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7128
    for ac_exec_ext in '' $ac_executable_extensions; do
7183
7129
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7184
7130
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7185
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7131
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7186
7132
    break 2
7187
7133
  fi
7188
7134
done
7189
 
done
 
7135
  done
7190
7136
IFS=$as_save_IFS
7191
7137
 
7192
7138
fi
7193
7139
fi
7194
7140
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7195
7141
if test -n "$ac_ct_DSYMUTIL"; then
7196
 
  { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7197
 
echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
 
7142
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 
7143
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7198
7144
else
7199
 
  { echo "$as_me:$LINENO: result: no" >&5
7200
 
echo "${ECHO_T}no" >&6; }
 
7145
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7146
$as_echo "no" >&6; }
7201
7147
fi
7202
7148
 
7203
7149
  if test "x$ac_ct_DSYMUTIL" = x; then
7205
7151
  else
7206
7152
    case $cross_compiling:$ac_tool_warned in
7207
7153
yes:)
7208
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7209
 
whose name does not start with the host triplet.  If you think this
7210
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7211
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7212
 
whose name does not start with the host triplet.  If you think this
7213
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7154
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7155
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7214
7156
ac_tool_warned=yes ;;
7215
7157
esac
7216
7158
    DSYMUTIL=$ac_ct_DSYMUTIL
7222
7164
    if test -n "$ac_tool_prefix"; then
7223
7165
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7224
7166
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7225
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7226
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7227
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then
7228
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7167
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7168
$as_echo_n "checking for $ac_word... " >&6; }
 
7169
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
7170
  $as_echo_n "(cached) " >&6
7229
7171
else
7230
7172
  if test -n "$NMEDIT"; then
7231
7173
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7235
7177
do
7236
7178
  IFS=$as_save_IFS
7237
7179
  test -z "$as_dir" && as_dir=.
7238
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7180
    for ac_exec_ext in '' $ac_executable_extensions; do
7239
7181
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7240
7182
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7241
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7183
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7242
7184
    break 2
7243
7185
  fi
7244
7186
done
7245
 
done
 
7187
  done
7246
7188
IFS=$as_save_IFS
7247
7189
 
7248
7190
fi
7249
7191
fi
7250
7192
NMEDIT=$ac_cv_prog_NMEDIT
7251
7193
if test -n "$NMEDIT"; then
7252
 
  { echo "$as_me:$LINENO: result: $NMEDIT" >&5
7253
 
echo "${ECHO_T}$NMEDIT" >&6; }
 
7194
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 
7195
$as_echo "$NMEDIT" >&6; }
7254
7196
else
7255
 
  { echo "$as_me:$LINENO: result: no" >&5
7256
 
echo "${ECHO_T}no" >&6; }
 
7197
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7198
$as_echo "no" >&6; }
7257
7199
fi
7258
7200
 
7259
7201
 
7262
7204
  ac_ct_NMEDIT=$NMEDIT
7263
7205
  # Extract the first word of "nmedit", so it can be a program name with args.
7264
7206
set dummy nmedit; ac_word=$2
7265
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7266
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7267
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7268
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7207
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7208
$as_echo_n "checking for $ac_word... " >&6; }
 
7209
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
7210
  $as_echo_n "(cached) " >&6
7269
7211
else
7270
7212
  if test -n "$ac_ct_NMEDIT"; then
7271
7213
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7275
7217
do
7276
7218
  IFS=$as_save_IFS
7277
7219
  test -z "$as_dir" && as_dir=.
7278
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7220
    for ac_exec_ext in '' $ac_executable_extensions; do
7279
7221
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7280
7222
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7281
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7223
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7282
7224
    break 2
7283
7225
  fi
7284
7226
done
7285
 
done
 
7227
  done
7286
7228
IFS=$as_save_IFS
7287
7229
 
7288
7230
fi
7289
7231
fi
7290
7232
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7291
7233
if test -n "$ac_ct_NMEDIT"; then
7292
 
  { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7293
 
echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
 
7234
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 
7235
$as_echo "$ac_ct_NMEDIT" >&6; }
7294
7236
else
7295
 
  { echo "$as_me:$LINENO: result: no" >&5
7296
 
echo "${ECHO_T}no" >&6; }
 
7237
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7238
$as_echo "no" >&6; }
7297
7239
fi
7298
7240
 
7299
7241
  if test "x$ac_ct_NMEDIT" = x; then
7301
7243
  else
7302
7244
    case $cross_compiling:$ac_tool_warned in
7303
7245
yes:)
7304
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7305
 
whose name does not start with the host triplet.  If you think this
7306
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7307
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7308
 
whose name does not start with the host triplet.  If you think this
7309
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7246
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7247
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7310
7248
ac_tool_warned=yes ;;
7311
7249
esac
7312
7250
    NMEDIT=$ac_ct_NMEDIT
7318
7256
    if test -n "$ac_tool_prefix"; then
7319
7257
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7320
7258
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7321
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7322
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7323
 
if test "${ac_cv_prog_LIPO+set}" = set; then
7324
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7259
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7260
$as_echo_n "checking for $ac_word... " >&6; }
 
7261
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
7262
  $as_echo_n "(cached) " >&6
7325
7263
else
7326
7264
  if test -n "$LIPO"; then
7327
7265
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7331
7269
do
7332
7270
  IFS=$as_save_IFS
7333
7271
  test -z "$as_dir" && as_dir=.
7334
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7272
    for ac_exec_ext in '' $ac_executable_extensions; do
7335
7273
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7336
7274
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7337
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7275
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7338
7276
    break 2
7339
7277
  fi
7340
7278
done
7341
 
done
 
7279
  done
7342
7280
IFS=$as_save_IFS
7343
7281
 
7344
7282
fi
7345
7283
fi
7346
7284
LIPO=$ac_cv_prog_LIPO
7347
7285
if test -n "$LIPO"; then
7348
 
  { echo "$as_me:$LINENO: result: $LIPO" >&5
7349
 
echo "${ECHO_T}$LIPO" >&6; }
 
7286
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
7287
$as_echo "$LIPO" >&6; }
7350
7288
else
7351
 
  { echo "$as_me:$LINENO: result: no" >&5
7352
 
echo "${ECHO_T}no" >&6; }
 
7289
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7290
$as_echo "no" >&6; }
7353
7291
fi
7354
7292
 
7355
7293
 
7358
7296
  ac_ct_LIPO=$LIPO
7359
7297
  # Extract the first word of "lipo", so it can be a program name with args.
7360
7298
set dummy lipo; ac_word=$2
7361
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7362
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7363
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
7364
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7299
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7300
$as_echo_n "checking for $ac_word... " >&6; }
 
7301
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
7302
  $as_echo_n "(cached) " >&6
7365
7303
else
7366
7304
  if test -n "$ac_ct_LIPO"; then
7367
7305
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7371
7309
do
7372
7310
  IFS=$as_save_IFS
7373
7311
  test -z "$as_dir" && as_dir=.
7374
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7312
    for ac_exec_ext in '' $ac_executable_extensions; do
7375
7313
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7376
7314
    ac_cv_prog_ac_ct_LIPO="lipo"
7377
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7315
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7378
7316
    break 2
7379
7317
  fi
7380
7318
done
7381
 
done
 
7319
  done
7382
7320
IFS=$as_save_IFS
7383
7321
 
7384
7322
fi
7385
7323
fi
7386
7324
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7387
7325
if test -n "$ac_ct_LIPO"; then
7388
 
  { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
7389
 
echo "${ECHO_T}$ac_ct_LIPO" >&6; }
 
7326
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 
7327
$as_echo "$ac_ct_LIPO" >&6; }
7390
7328
else
7391
 
  { echo "$as_me:$LINENO: result: no" >&5
7392
 
echo "${ECHO_T}no" >&6; }
 
7329
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7330
$as_echo "no" >&6; }
7393
7331
fi
7394
7332
 
7395
7333
  if test "x$ac_ct_LIPO" = x; then
7397
7335
  else
7398
7336
    case $cross_compiling:$ac_tool_warned in
7399
7337
yes:)
7400
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7401
 
whose name does not start with the host triplet.  If you think this
7402
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7403
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7404
 
whose name does not start with the host triplet.  If you think this
7405
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7338
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7339
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7406
7340
ac_tool_warned=yes ;;
7407
7341
esac
7408
7342
    LIPO=$ac_ct_LIPO
7414
7348
    if test -n "$ac_tool_prefix"; then
7415
7349
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7416
7350
set dummy ${ac_tool_prefix}otool; ac_word=$2
7417
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7418
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7419
 
if test "${ac_cv_prog_OTOOL+set}" = set; then
7420
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7351
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7352
$as_echo_n "checking for $ac_word... " >&6; }
 
7353
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
7354
  $as_echo_n "(cached) " >&6
7421
7355
else
7422
7356
  if test -n "$OTOOL"; then
7423
7357
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7427
7361
do
7428
7362
  IFS=$as_save_IFS
7429
7363
  test -z "$as_dir" && as_dir=.
7430
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7364
    for ac_exec_ext in '' $ac_executable_extensions; do
7431
7365
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7432
7366
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7433
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7367
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7434
7368
    break 2
7435
7369
  fi
7436
7370
done
7437
 
done
 
7371
  done
7438
7372
IFS=$as_save_IFS
7439
7373
 
7440
7374
fi
7441
7375
fi
7442
7376
OTOOL=$ac_cv_prog_OTOOL
7443
7377
if test -n "$OTOOL"; then
7444
 
  { echo "$as_me:$LINENO: result: $OTOOL" >&5
7445
 
echo "${ECHO_T}$OTOOL" >&6; }
 
7378
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 
7379
$as_echo "$OTOOL" >&6; }
7446
7380
else
7447
 
  { echo "$as_me:$LINENO: result: no" >&5
7448
 
echo "${ECHO_T}no" >&6; }
 
7381
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7382
$as_echo "no" >&6; }
7449
7383
fi
7450
7384
 
7451
7385
 
7454
7388
  ac_ct_OTOOL=$OTOOL
7455
7389
  # Extract the first word of "otool", so it can be a program name with args.
7456
7390
set dummy otool; ac_word=$2
7457
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7458
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7459
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
7460
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7391
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7392
$as_echo_n "checking for $ac_word... " >&6; }
 
7393
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
7394
  $as_echo_n "(cached) " >&6
7461
7395
else
7462
7396
  if test -n "$ac_ct_OTOOL"; then
7463
7397
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7467
7401
do
7468
7402
  IFS=$as_save_IFS
7469
7403
  test -z "$as_dir" && as_dir=.
7470
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7404
    for ac_exec_ext in '' $ac_executable_extensions; do
7471
7405
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7472
7406
    ac_cv_prog_ac_ct_OTOOL="otool"
7473
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7407
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7474
7408
    break 2
7475
7409
  fi
7476
7410
done
7477
 
done
 
7411
  done
7478
7412
IFS=$as_save_IFS
7479
7413
 
7480
7414
fi
7481
7415
fi
7482
7416
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7483
7417
if test -n "$ac_ct_OTOOL"; then
7484
 
  { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
7485
 
echo "${ECHO_T}$ac_ct_OTOOL" >&6; }
 
7418
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 
7419
$as_echo "$ac_ct_OTOOL" >&6; }
7486
7420
else
7487
 
  { echo "$as_me:$LINENO: result: no" >&5
7488
 
echo "${ECHO_T}no" >&6; }
 
7421
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7422
$as_echo "no" >&6; }
7489
7423
fi
7490
7424
 
7491
7425
  if test "x$ac_ct_OTOOL" = x; then
7493
7427
  else
7494
7428
    case $cross_compiling:$ac_tool_warned in
7495
7429
yes:)
7496
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7497
 
whose name does not start with the host triplet.  If you think this
7498
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7499
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7500
 
whose name does not start with the host triplet.  If you think this
7501
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7430
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7431
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7502
7432
ac_tool_warned=yes ;;
7503
7433
esac
7504
7434
    OTOOL=$ac_ct_OTOOL
7510
7440
    if test -n "$ac_tool_prefix"; then
7511
7441
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7512
7442
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7513
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7514
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7515
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then
7516
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7443
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7444
$as_echo_n "checking for $ac_word... " >&6; }
 
7445
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
7446
  $as_echo_n "(cached) " >&6
7517
7447
else
7518
7448
  if test -n "$OTOOL64"; then
7519
7449
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7523
7453
do
7524
7454
  IFS=$as_save_IFS
7525
7455
  test -z "$as_dir" && as_dir=.
7526
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7456
    for ac_exec_ext in '' $ac_executable_extensions; do
7527
7457
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7528
7458
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7529
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7459
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7530
7460
    break 2
7531
7461
  fi
7532
7462
done
7533
 
done
 
7463
  done
7534
7464
IFS=$as_save_IFS
7535
7465
 
7536
7466
fi
7537
7467
fi
7538
7468
OTOOL64=$ac_cv_prog_OTOOL64
7539
7469
if test -n "$OTOOL64"; then
7540
 
  { echo "$as_me:$LINENO: result: $OTOOL64" >&5
7541
 
echo "${ECHO_T}$OTOOL64" >&6; }
 
7470
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 
7471
$as_echo "$OTOOL64" >&6; }
7542
7472
else
7543
 
  { echo "$as_me:$LINENO: result: no" >&5
7544
 
echo "${ECHO_T}no" >&6; }
 
7473
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7474
$as_echo "no" >&6; }
7545
7475
fi
7546
7476
 
7547
7477
 
7550
7480
  ac_ct_OTOOL64=$OTOOL64
7551
7481
  # Extract the first word of "otool64", so it can be a program name with args.
7552
7482
set dummy otool64; ac_word=$2
7553
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7554
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7555
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
7556
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7483
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7484
$as_echo_n "checking for $ac_word... " >&6; }
 
7485
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
7486
  $as_echo_n "(cached) " >&6
7557
7487
else
7558
7488
  if test -n "$ac_ct_OTOOL64"; then
7559
7489
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7563
7493
do
7564
7494
  IFS=$as_save_IFS
7565
7495
  test -z "$as_dir" && as_dir=.
7566
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7496
    for ac_exec_ext in '' $ac_executable_extensions; do
7567
7497
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7568
7498
    ac_cv_prog_ac_ct_OTOOL64="otool64"
7569
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7499
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7570
7500
    break 2
7571
7501
  fi
7572
7502
done
7573
 
done
 
7503
  done
7574
7504
IFS=$as_save_IFS
7575
7505
 
7576
7506
fi
7577
7507
fi
7578
7508
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7579
7509
if test -n "$ac_ct_OTOOL64"; then
7580
 
  { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
7581
 
echo "${ECHO_T}$ac_ct_OTOOL64" >&6; }
 
7510
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 
7511
$as_echo "$ac_ct_OTOOL64" >&6; }
7582
7512
else
7583
 
  { echo "$as_me:$LINENO: result: no" >&5
7584
 
echo "${ECHO_T}no" >&6; }
 
7513
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7514
$as_echo "no" >&6; }
7585
7515
fi
7586
7516
 
7587
7517
  if test "x$ac_ct_OTOOL64" = x; then
7589
7519
  else
7590
7520
    case $cross_compiling:$ac_tool_warned in
7591
7521
yes:)
7592
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7593
 
whose name does not start with the host triplet.  If you think this
7594
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7595
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7596
 
whose name does not start with the host triplet.  If you think this
7597
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7522
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7523
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7598
7524
ac_tool_warned=yes ;;
7599
7525
esac
7600
7526
    OTOOL64=$ac_ct_OTOOL64
7629
7555
 
7630
7556
 
7631
7557
 
7632
 
    { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7633
 
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
7634
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7635
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7558
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 
7559
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
7560
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
7561
  $as_echo_n "(cached) " >&6
7636
7562
else
7637
7563
  lt_cv_apple_cc_single_mod=no
7638
7564
      if test -z "${LT_MULTI_MODULE}"; then
7656
7582
        rm -f conftest.*
7657
7583
      fi
7658
7584
fi
7659
 
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7660
 
echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
7661
 
    { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7662
 
echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
7663
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7664
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7585
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 
7586
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
7587
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 
7588
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
7589
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
7590
  $as_echo_n "(cached) " >&6
7665
7591
else
7666
7592
  lt_cv_ld_exported_symbols_list=no
7667
7593
      save_LDFLAGS=$LDFLAGS
7668
7594
      echo "_main" > conftest.sym
7669
7595
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7670
 
      cat >conftest.$ac_ext <<_ACEOF
7671
 
/* confdefs.h.  */
7672
 
_ACEOF
7673
 
cat confdefs.h >>conftest.$ac_ext
7674
 
cat >>conftest.$ac_ext <<_ACEOF
 
7596
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7675
7597
/* end confdefs.h.  */
7676
7598
 
7677
7599
int
7682
7604
  return 0;
7683
7605
}
7684
7606
_ACEOF
7685
 
rm -f conftest.$ac_objext conftest$ac_exeext
7686
 
if { (ac_try="$ac_link"
7687
 
case "(($ac_try" in
7688
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7689
 
  *) ac_try_echo=$ac_try;;
7690
 
esac
7691
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7692
 
  (eval "$ac_link") 2>conftest.er1
7693
 
  ac_status=$?
7694
 
  grep -v '^ *+' conftest.er1 >conftest.err
7695
 
  rm -f conftest.er1
7696
 
  cat conftest.err >&5
7697
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7698
 
  (exit $ac_status); } && {
7699
 
         test -z "$ac_c_werror_flag" ||
7700
 
         test ! -s conftest.err
7701
 
       } && test -s conftest$ac_exeext &&
7702
 
       $as_test_x conftest$ac_exeext; then
 
7607
if ac_fn_c_try_link "$LINENO"; then :
7703
7608
  lt_cv_ld_exported_symbols_list=yes
7704
7609
else
7705
 
  echo "$as_me: failed program was:" >&5
7706
 
sed 's/^/| /' conftest.$ac_ext >&5
7707
 
 
7708
 
        lt_cv_ld_exported_symbols_list=no
 
7610
  lt_cv_ld_exported_symbols_list=no
7709
7611
fi
7710
 
 
7711
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7712
 
      conftest$ac_exeext conftest.$ac_ext
 
7612
rm -f core conftest.err conftest.$ac_objext \
 
7613
    conftest$ac_exeext conftest.$ac_ext
7713
7614
        LDFLAGS="$save_LDFLAGS"
7714
7615
 
7715
7616
fi
7716
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7717
 
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
 
7617
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 
7618
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7718
7619
    case $host_os in
7719
7620
    rhapsody* | darwin1.[012])
7720
7621
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7750
7651
    ;;
7751
7652
  esac
7752
7653
 
7753
 
 
7754
7654
for ac_header in dlfcn.h
7755
 
do
7756
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7757
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7758
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7759
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7760
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7761
 
else
7762
 
  cat >conftest.$ac_ext <<_ACEOF
7763
 
/* confdefs.h.  */
7764
 
_ACEOF
7765
 
cat confdefs.h >>conftest.$ac_ext
7766
 
cat >>conftest.$ac_ext <<_ACEOF
7767
 
/* end confdefs.h.  */
7768
 
$ac_includes_default
7769
 
 
7770
 
#include <$ac_header>
7771
 
_ACEOF
7772
 
rm -f conftest.$ac_objext
7773
 
if { (ac_try="$ac_compile"
7774
 
case "(($ac_try" in
7775
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7776
 
  *) ac_try_echo=$ac_try;;
7777
 
esac
7778
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7779
 
  (eval "$ac_compile") 2>conftest.er1
7780
 
  ac_status=$?
7781
 
  grep -v '^ *+' conftest.er1 >conftest.err
7782
 
  rm -f conftest.er1
7783
 
  cat conftest.err >&5
7784
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7785
 
  (exit $ac_status); } && {
7786
 
         test -z "$ac_c_werror_flag" ||
7787
 
         test ! -s conftest.err
7788
 
       } && test -s conftest.$ac_objext; then
7789
 
  eval "$as_ac_Header=yes"
7790
 
else
7791
 
  echo "$as_me: failed program was:" >&5
7792
 
sed 's/^/| /' conftest.$ac_ext >&5
7793
 
 
7794
 
        eval "$as_ac_Header=no"
7795
 
fi
7796
 
 
7797
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7798
 
fi
7799
 
ac_res=`eval echo '${'$as_ac_Header'}'`
7800
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
7801
 
echo "${ECHO_T}$ac_res" >&6; }
7802
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
7655
do :
 
7656
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
7657
"
 
7658
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7803
7659
  cat >>confdefs.h <<_ACEOF
7804
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7660
#define HAVE_DLFCN_H 1
7805
7661
_ACEOF
7806
7662
 
7807
7663
fi
7824
7680
  do
7825
7681
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7826
7682
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7827
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7828
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7829
 
if test "${ac_cv_prog_CXX+set}" = set; then
7830
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7683
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7684
$as_echo_n "checking for $ac_word... " >&6; }
 
7685
if test "${ac_cv_prog_CXX+set}" = set; then :
 
7686
  $as_echo_n "(cached) " >&6
7831
7687
else
7832
7688
  if test -n "$CXX"; then
7833
7689
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
7837
7693
do
7838
7694
  IFS=$as_save_IFS
7839
7695
  test -z "$as_dir" && as_dir=.
7840
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7696
    for ac_exec_ext in '' $ac_executable_extensions; do
7841
7697
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7842
7698
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7843
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7699
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7844
7700
    break 2
7845
7701
  fi
7846
7702
done
7847
 
done
 
7703
  done
7848
7704
IFS=$as_save_IFS
7849
7705
 
7850
7706
fi
7851
7707
fi
7852
7708
CXX=$ac_cv_prog_CXX
7853
7709
if test -n "$CXX"; then
7854
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
7855
 
echo "${ECHO_T}$CXX" >&6; }
 
7710
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 
7711
$as_echo "$CXX" >&6; }
7856
7712
else
7857
 
  { echo "$as_me:$LINENO: result: no" >&5
7858
 
echo "${ECHO_T}no" >&6; }
 
7713
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7714
$as_echo "no" >&6; }
7859
7715
fi
7860
7716
 
7861
7717
 
7868
7724
do
7869
7725
  # Extract the first word of "$ac_prog", so it can be a program name with args.
7870
7726
set dummy $ac_prog; ac_word=$2
7871
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7872
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7873
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
7874
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7727
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7728
$as_echo_n "checking for $ac_word... " >&6; }
 
7729
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
7730
  $as_echo_n "(cached) " >&6
7875
7731
else
7876
7732
  if test -n "$ac_ct_CXX"; then
7877
7733
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7881
7737
do
7882
7738
  IFS=$as_save_IFS
7883
7739
  test -z "$as_dir" && as_dir=.
7884
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7740
    for ac_exec_ext in '' $ac_executable_extensions; do
7885
7741
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7886
7742
    ac_cv_prog_ac_ct_CXX="$ac_prog"
7887
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7743
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7888
7744
    break 2
7889
7745
  fi
7890
7746
done
7891
 
done
 
7747
  done
7892
7748
IFS=$as_save_IFS
7893
7749
 
7894
7750
fi
7895
7751
fi
7896
7752
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7897
7753
if test -n "$ac_ct_CXX"; then
7898
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7899
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
 
7754
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 
7755
$as_echo "$ac_ct_CXX" >&6; }
7900
7756
else
7901
 
  { echo "$as_me:$LINENO: result: no" >&5
7902
 
echo "${ECHO_T}no" >&6; }
 
7757
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7758
$as_echo "no" >&6; }
7903
7759
fi
7904
7760
 
7905
7761
 
7911
7767
  else
7912
7768
    case $cross_compiling:$ac_tool_warned in
7913
7769
yes:)
7914
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7915
 
whose name does not start with the host triplet.  If you think this
7916
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7917
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7918
 
whose name does not start with the host triplet.  If you think this
7919
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7770
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7771
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7920
7772
ac_tool_warned=yes ;;
7921
7773
esac
7922
7774
    CXX=$ac_ct_CXX
7926
7778
  fi
7927
7779
fi
7928
7780
# Provide some information about the compiler.
7929
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
7930
 
ac_compiler=`set X $ac_compile; echo $2`
7931
 
{ (ac_try="$ac_compiler --version >&5"
7932
 
case "(($ac_try" in
7933
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7934
 
  *) ac_try_echo=$ac_try;;
7935
 
esac
7936
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7937
 
  (eval "$ac_compiler --version >&5") 2>&5
7938
 
  ac_status=$?
7939
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7940
 
  (exit $ac_status); }
7941
 
{ (ac_try="$ac_compiler -v >&5"
7942
 
case "(($ac_try" in
7943
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7944
 
  *) ac_try_echo=$ac_try;;
7945
 
esac
7946
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7947
 
  (eval "$ac_compiler -v >&5") 2>&5
7948
 
  ac_status=$?
7949
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7950
 
  (exit $ac_status); }
7951
 
{ (ac_try="$ac_compiler -V >&5"
7952
 
case "(($ac_try" in
7953
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7954
 
  *) ac_try_echo=$ac_try;;
7955
 
esac
7956
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7957
 
  (eval "$ac_compiler -V >&5") 2>&5
7958
 
  ac_status=$?
7959
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7960
 
  (exit $ac_status); }
 
7781
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 
7782
set X $ac_compile
 
7783
ac_compiler=$2
 
7784
for ac_option in --version -v -V -qversion; do
 
7785
  { { ac_try="$ac_compiler $ac_option >&5"
 
7786
case "(($ac_try" in
 
7787
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7788
  *) ac_try_echo=$ac_try;;
 
7789
esac
 
7790
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
7791
$as_echo "$ac_try_echo"; } >&5
 
7792
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
7793
  ac_status=$?
 
7794
  if test -s conftest.err; then
 
7795
    sed '10a\
 
7796
... rest of stderr output deleted ...
 
7797
         10q' conftest.err >conftest.er1
 
7798
    cat conftest.er1 >&5
 
7799
  fi
 
7800
  rm -f conftest.er1 conftest.err
 
7801
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7802
  test $ac_status = 0; }
 
7803
done
7961
7804
 
7962
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7963
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
7964
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7965
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7805
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 
7806
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
7807
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
7808
  $as_echo_n "(cached) " >&6
7966
7809
else
7967
 
  cat >conftest.$ac_ext <<_ACEOF
7968
 
/* confdefs.h.  */
7969
 
_ACEOF
7970
 
cat confdefs.h >>conftest.$ac_ext
7971
 
cat >>conftest.$ac_ext <<_ACEOF
 
7810
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7972
7811
/* end confdefs.h.  */
7973
7812
 
7974
7813
int
7982
7821
  return 0;
7983
7822
}
7984
7823
_ACEOF
7985
 
rm -f conftest.$ac_objext
7986
 
if { (ac_try="$ac_compile"
7987
 
case "(($ac_try" in
7988
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7989
 
  *) ac_try_echo=$ac_try;;
7990
 
esac
7991
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7992
 
  (eval "$ac_compile") 2>conftest.er1
7993
 
  ac_status=$?
7994
 
  grep -v '^ *+' conftest.er1 >conftest.err
7995
 
  rm -f conftest.er1
7996
 
  cat conftest.err >&5
7997
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7998
 
  (exit $ac_status); } && {
7999
 
         test -z "$ac_cxx_werror_flag" ||
8000
 
         test ! -s conftest.err
8001
 
       } && test -s conftest.$ac_objext; then
 
7824
if ac_fn_cxx_try_compile "$LINENO"; then :
8002
7825
  ac_compiler_gnu=yes
8003
7826
else
8004
 
  echo "$as_me: failed program was:" >&5
8005
 
sed 's/^/| /' conftest.$ac_ext >&5
8006
 
 
8007
 
        ac_compiler_gnu=no
 
7827
  ac_compiler_gnu=no
8008
7828
fi
8009
 
 
8010
7829
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8011
7830
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
8012
7831
 
8013
7832
fi
8014
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
8015
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
8016
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
 
7833
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 
7834
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
7835
if test $ac_compiler_gnu = yes; then
 
7836
  GXX=yes
 
7837
else
 
7838
  GXX=
 
7839
fi
8017
7840
ac_test_CXXFLAGS=${CXXFLAGS+set}
8018
7841
ac_save_CXXFLAGS=$CXXFLAGS
8019
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
8020
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
8021
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
8022
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7842
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 
7843
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
7844
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
7845
  $as_echo_n "(cached) " >&6
8023
7846
else
8024
7847
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
8025
7848
   ac_cxx_werror_flag=yes
8026
7849
   ac_cv_prog_cxx_g=no
8027
7850
   CXXFLAGS="-g"
8028
 
   cat >conftest.$ac_ext <<_ACEOF
8029
 
/* confdefs.h.  */
8030
 
_ACEOF
8031
 
cat confdefs.h >>conftest.$ac_ext
8032
 
cat >>conftest.$ac_ext <<_ACEOF
 
7851
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8033
7852
/* end confdefs.h.  */
8034
7853
 
8035
7854
int
8040
7859
  return 0;
8041
7860
}
8042
7861
_ACEOF
8043
 
rm -f conftest.$ac_objext
8044
 
if { (ac_try="$ac_compile"
8045
 
case "(($ac_try" in
8046
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8047
 
  *) ac_try_echo=$ac_try;;
8048
 
esac
8049
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8050
 
  (eval "$ac_compile") 2>conftest.er1
8051
 
  ac_status=$?
8052
 
  grep -v '^ *+' conftest.er1 >conftest.err
8053
 
  rm -f conftest.er1
8054
 
  cat conftest.err >&5
8055
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8056
 
  (exit $ac_status); } && {
8057
 
         test -z "$ac_cxx_werror_flag" ||
8058
 
         test ! -s conftest.err
8059
 
       } && test -s conftest.$ac_objext; then
 
7862
if ac_fn_cxx_try_compile "$LINENO"; then :
8060
7863
  ac_cv_prog_cxx_g=yes
8061
7864
else
8062
 
  echo "$as_me: failed program was:" >&5
8063
 
sed 's/^/| /' conftest.$ac_ext >&5
8064
 
 
8065
 
        CXXFLAGS=""
8066
 
      cat >conftest.$ac_ext <<_ACEOF
8067
 
/* confdefs.h.  */
8068
 
_ACEOF
8069
 
cat confdefs.h >>conftest.$ac_ext
8070
 
cat >>conftest.$ac_ext <<_ACEOF
 
7865
  CXXFLAGS=""
 
7866
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8071
7867
/* end confdefs.h.  */
8072
7868
 
8073
7869
int
8078
7874
  return 0;
8079
7875
}
8080
7876
_ACEOF
8081
 
rm -f conftest.$ac_objext
8082
 
if { (ac_try="$ac_compile"
8083
 
case "(($ac_try" in
8084
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8085
 
  *) ac_try_echo=$ac_try;;
8086
 
esac
8087
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8088
 
  (eval "$ac_compile") 2>conftest.er1
8089
 
  ac_status=$?
8090
 
  grep -v '^ *+' conftest.er1 >conftest.err
8091
 
  rm -f conftest.er1
8092
 
  cat conftest.err >&5
8093
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8094
 
  (exit $ac_status); } && {
8095
 
         test -z "$ac_cxx_werror_flag" ||
8096
 
         test ! -s conftest.err
8097
 
       } && test -s conftest.$ac_objext; then
8098
 
  :
 
7877
if ac_fn_cxx_try_compile "$LINENO"; then :
 
7878
 
8099
7879
else
8100
 
  echo "$as_me: failed program was:" >&5
8101
 
sed 's/^/| /' conftest.$ac_ext >&5
8102
 
 
8103
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
7880
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8104
7881
         CXXFLAGS="-g"
8105
 
         cat >conftest.$ac_ext <<_ACEOF
8106
 
/* confdefs.h.  */
8107
 
_ACEOF
8108
 
cat confdefs.h >>conftest.$ac_ext
8109
 
cat >>conftest.$ac_ext <<_ACEOF
 
7882
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8110
7883
/* end confdefs.h.  */
8111
7884
 
8112
7885
int
8117
7890
  return 0;
8118
7891
}
8119
7892
_ACEOF
8120
 
rm -f conftest.$ac_objext
8121
 
if { (ac_try="$ac_compile"
8122
 
case "(($ac_try" in
8123
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8124
 
  *) ac_try_echo=$ac_try;;
8125
 
esac
8126
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8127
 
  (eval "$ac_compile") 2>conftest.er1
8128
 
  ac_status=$?
8129
 
  grep -v '^ *+' conftest.er1 >conftest.err
8130
 
  rm -f conftest.er1
8131
 
  cat conftest.err >&5
8132
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8133
 
  (exit $ac_status); } && {
8134
 
         test -z "$ac_cxx_werror_flag" ||
8135
 
         test ! -s conftest.err
8136
 
       } && test -s conftest.$ac_objext; then
 
7893
if ac_fn_cxx_try_compile "$LINENO"; then :
8137
7894
  ac_cv_prog_cxx_g=yes
8138
 
else
8139
 
  echo "$as_me: failed program was:" >&5
8140
 
sed 's/^/| /' conftest.$ac_ext >&5
8141
 
 
8142
 
 
8143
 
fi
8144
 
 
8145
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8146
 
fi
8147
 
 
8148
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8149
 
fi
8150
 
 
 
7895
fi
 
7896
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7897
fi
 
7898
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7899
fi
8151
7900
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8152
7901
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8153
7902
fi
8154
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
8155
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
 
7903
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 
7904
$as_echo "$ac_cv_prog_cxx_g" >&6; }
8156
7905
if test "$ac_test_CXXFLAGS" = set; then
8157
7906
  CXXFLAGS=$ac_save_CXXFLAGS
8158
7907
elif test $ac_cv_prog_cxx_g = yes; then
8176
7925
 
8177
7926
depcc="$CXX"  am_compiler_list=
8178
7927
 
8179
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
8180
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
8181
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
8182
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7928
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
7929
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
7930
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
7931
  $as_echo_n "(cached) " >&6
8183
7932
else
8184
7933
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
8185
7934
  # We make a subdir and do the tests there.  Otherwise we can end up
8204
7953
  if test "$am_compiler_list" = ""; then
8205
7954
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
8206
7955
  fi
 
7956
  am__universal=false
 
7957
  case " $depcc " in #(
 
7958
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
7959
     esac
 
7960
 
8207
7961
  for depmode in $am_compiler_list; do
8208
7962
    # Setup a source with many dependencies, because some compilers
8209
7963
    # like to wrap large dependency lists on column 80 (with \), and
8221
7975
    done
8222
7976
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
8223
7977
 
 
7978
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
7979
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
7980
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
7981
    # versions had trouble with output in subdirs
 
7982
    am__obj=sub/conftest.${OBJEXT-o}
 
7983
    am__minus_obj="-o $am__obj"
8224
7984
    case $depmode in
 
7985
    gcc)
 
7986
      # This depmode causes a compiler race in universal mode.
 
7987
      test "$am__universal" = false || continue
 
7988
      ;;
8225
7989
    nosideeffect)
8226
7990
      # after this tag, mechanisms are not by side-effect, so they'll
8227
7991
      # only be used when explicitly requested
8231
7995
        break
8232
7996
      fi
8233
7997
      ;;
 
7998
    msvisualcpp | msvcmsys)
 
7999
      # This compiler won't grok `-c -o', but also, the minuso test has
 
8000
      # not run yet.  These depmodes are late enough in the game, and
 
8001
      # so weak that their functioning should not be impacted.
 
8002
      am__obj=conftest.${OBJEXT-o}
 
8003
      am__minus_obj=
 
8004
      ;;
8234
8005
    none) break ;;
8235
8006
    esac
8236
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
8237
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
8238
 
    # handle `-M -o', and we need to detect this.
8239
8007
    if depmode=$depmode \
8240
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
8008
       source=sub/conftest.c object=$am__obj \
8241
8009
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
8242
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
8010
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
8243
8011
         >/dev/null 2>conftest.err &&
8244
8012
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
8245
8013
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
8246
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
8014
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
8247
8015
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8248
8016
      # icc doesn't choke on unknown options, it will just issue warnings
8249
8017
      # or remarks (even with -Werror).  So we grep stderr for any message
8267
8035
fi
8268
8036
 
8269
8037
fi
8270
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
8271
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
 
8038
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
8039
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
8272
8040
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
8273
8041
 
8274
8042
 if
8290
8058
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8291
8059
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8292
8060
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8293
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
8294
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
 
8061
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
 
8062
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
8295
8063
if test -z "$CXXCPP"; then
8296
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
8297
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8064
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
 
8065
  $as_echo_n "(cached) " >&6
8298
8066
else
8299
8067
      # Double quotes because CXXCPP needs to be expanded
8300
8068
    for CXXCPP in "$CXX -E" "/lib/cpp"
8308
8076
  # <limits.h> exists even on freestanding compilers.
8309
8077
  # On the NeXT, cc -E runs the code through the compiler's parser,
8310
8078
  # not just through cpp. "Syntax error" is here to catch this case.
8311
 
  cat >conftest.$ac_ext <<_ACEOF
8312
 
/* confdefs.h.  */
8313
 
_ACEOF
8314
 
cat confdefs.h >>conftest.$ac_ext
8315
 
cat >>conftest.$ac_ext <<_ACEOF
 
8079
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8316
8080
/* end confdefs.h.  */
8317
8081
#ifdef __STDC__
8318
8082
# include <limits.h>
8321
8085
#endif
8322
8086
                     Syntax error
8323
8087
_ACEOF
8324
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
8325
 
case "(($ac_try" in
8326
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8327
 
  *) ac_try_echo=$ac_try;;
8328
 
esac
8329
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8330
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8331
 
  ac_status=$?
8332
 
  grep -v '^ *+' conftest.er1 >conftest.err
8333
 
  rm -f conftest.er1
8334
 
  cat conftest.err >&5
8335
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8336
 
  (exit $ac_status); } >/dev/null && {
8337
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8338
 
         test ! -s conftest.err
8339
 
       }; then
8340
 
  :
 
8088
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
8089
 
8341
8090
else
8342
 
  echo "$as_me: failed program was:" >&5
8343
 
sed 's/^/| /' conftest.$ac_ext >&5
8344
 
 
8345
8091
  # Broken: fails on valid input.
8346
8092
continue
8347
8093
fi
8348
 
 
8349
8094
rm -f conftest.err conftest.$ac_ext
8350
8095
 
8351
8096
  # OK, works on sane cases.  Now check whether nonexistent headers
8352
8097
  # can be detected and how.
8353
 
  cat >conftest.$ac_ext <<_ACEOF
8354
 
/* confdefs.h.  */
8355
 
_ACEOF
8356
 
cat confdefs.h >>conftest.$ac_ext
8357
 
cat >>conftest.$ac_ext <<_ACEOF
 
8098
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8358
8099
/* end confdefs.h.  */
8359
8100
#include <ac_nonexistent.h>
8360
8101
_ACEOF
8361
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
8362
 
case "(($ac_try" in
8363
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8364
 
  *) ac_try_echo=$ac_try;;
8365
 
esac
8366
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8367
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8368
 
  ac_status=$?
8369
 
  grep -v '^ *+' conftest.er1 >conftest.err
8370
 
  rm -f conftest.er1
8371
 
  cat conftest.err >&5
8372
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8373
 
  (exit $ac_status); } >/dev/null && {
8374
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8375
 
         test ! -s conftest.err
8376
 
       }; then
 
8102
if ac_fn_cxx_try_cpp "$LINENO"; then :
8377
8103
  # Broken: success on invalid input.
8378
8104
continue
8379
8105
else
8380
 
  echo "$as_me: failed program was:" >&5
8381
 
sed 's/^/| /' conftest.$ac_ext >&5
8382
 
 
8383
8106
  # Passes both tests.
8384
8107
ac_preproc_ok=:
8385
8108
break
8386
8109
fi
8387
 
 
8388
8110
rm -f conftest.err conftest.$ac_ext
8389
8111
 
8390
8112
done
8391
8113
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8392
8114
rm -f conftest.err conftest.$ac_ext
8393
 
if $ac_preproc_ok; then
 
8115
if $ac_preproc_ok; then :
8394
8116
  break
8395
8117
fi
8396
8118
 
8402
8124
else
8403
8125
  ac_cv_prog_CXXCPP=$CXXCPP
8404
8126
fi
8405
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
8406
 
echo "${ECHO_T}$CXXCPP" >&6; }
 
8127
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
 
8128
$as_echo "$CXXCPP" >&6; }
8407
8129
ac_preproc_ok=false
8408
8130
for ac_cxx_preproc_warn_flag in '' yes
8409
8131
do
8413
8135
  # <limits.h> exists even on freestanding compilers.
8414
8136
  # On the NeXT, cc -E runs the code through the compiler's parser,
8415
8137
  # not just through cpp. "Syntax error" is here to catch this case.
8416
 
  cat >conftest.$ac_ext <<_ACEOF
8417
 
/* confdefs.h.  */
8418
 
_ACEOF
8419
 
cat confdefs.h >>conftest.$ac_ext
8420
 
cat >>conftest.$ac_ext <<_ACEOF
 
8138
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8421
8139
/* end confdefs.h.  */
8422
8140
#ifdef __STDC__
8423
8141
# include <limits.h>
8426
8144
#endif
8427
8145
                     Syntax error
8428
8146
_ACEOF
8429
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
8430
 
case "(($ac_try" in
8431
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8432
 
  *) ac_try_echo=$ac_try;;
8433
 
esac
8434
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8435
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8436
 
  ac_status=$?
8437
 
  grep -v '^ *+' conftest.er1 >conftest.err
8438
 
  rm -f conftest.er1
8439
 
  cat conftest.err >&5
8440
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8441
 
  (exit $ac_status); } >/dev/null && {
8442
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8443
 
         test ! -s conftest.err
8444
 
       }; then
8445
 
  :
 
8147
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
8148
 
8446
8149
else
8447
 
  echo "$as_me: failed program was:" >&5
8448
 
sed 's/^/| /' conftest.$ac_ext >&5
8449
 
 
8450
8150
  # Broken: fails on valid input.
8451
8151
continue
8452
8152
fi
8453
 
 
8454
8153
rm -f conftest.err conftest.$ac_ext
8455
8154
 
8456
8155
  # OK, works on sane cases.  Now check whether nonexistent headers
8457
8156
  # can be detected and how.
8458
 
  cat >conftest.$ac_ext <<_ACEOF
8459
 
/* confdefs.h.  */
8460
 
_ACEOF
8461
 
cat confdefs.h >>conftest.$ac_ext
8462
 
cat >>conftest.$ac_ext <<_ACEOF
 
8157
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8463
8158
/* end confdefs.h.  */
8464
8159
#include <ac_nonexistent.h>
8465
8160
_ACEOF
8466
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
8467
 
case "(($ac_try" in
8468
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8469
 
  *) ac_try_echo=$ac_try;;
8470
 
esac
8471
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8472
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8473
 
  ac_status=$?
8474
 
  grep -v '^ *+' conftest.er1 >conftest.err
8475
 
  rm -f conftest.er1
8476
 
  cat conftest.err >&5
8477
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8478
 
  (exit $ac_status); } >/dev/null && {
8479
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8480
 
         test ! -s conftest.err
8481
 
       }; then
 
8161
if ac_fn_cxx_try_cpp "$LINENO"; then :
8482
8162
  # Broken: success on invalid input.
8483
8163
continue
8484
8164
else
8485
 
  echo "$as_me: failed program was:" >&5
8486
 
sed 's/^/| /' conftest.$ac_ext >&5
8487
 
 
8488
8165
  # Passes both tests.
8489
8166
ac_preproc_ok=:
8490
8167
break
8491
8168
fi
8492
 
 
8493
8169
rm -f conftest.err conftest.$ac_ext
8494
8170
 
8495
8171
done
8496
8172
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8497
8173
rm -f conftest.err conftest.$ac_ext
8498
 
if $ac_preproc_ok; then
8499
 
  :
 
8174
if $ac_preproc_ok; then :
 
8175
 
8500
8176
else
8501
 
  _lt_caught_CXX_error=yes
 
8177
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
8178
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
8179
_lt_caught_CXX_error=yes; }
8502
8180
fi
8503
8181
 
8504
8182
ac_ext=cpp
8525
8203
 
8526
8204
 
8527
8205
            # Check whether --enable-shared was given.
8528
 
if test "${enable_shared+set}" = set; then
 
8206
if test "${enable_shared+set}" = set; then :
8529
8207
  enableval=$enable_shared; p=${PACKAGE-default}
8530
8208
    case $enableval in
8531
8209
    yes) enable_shared=yes ;;
8556
8234
 
8557
8235
 
8558
8236
  # Check whether --enable-static was given.
8559
 
if test "${enable_static+set}" = set; then
 
8237
if test "${enable_static+set}" = set; then :
8560
8238
  enableval=$enable_static; p=${PACKAGE-default}
8561
8239
    case $enableval in
8562
8240
    yes) enable_static=yes ;;
8588
8266
 
8589
8267
 
8590
8268
# Check whether --with-pic was given.
8591
 
if test "${with_pic+set}" = set; then
 
8269
if test "${with_pic+set}" = set; then :
8592
8270
  withval=$with_pic; pic_mode="$withval"
8593
8271
else
8594
8272
  pic_mode=default
8604
8282
 
8605
8283
 
8606
8284
  # Check whether --enable-fast-install was given.
8607
 
if test "${enable_fast_install+set}" = set; then
 
8285
if test "${enable_fast_install+set}" = set; then :
8608
8286
  enableval=$enable_fast_install; p=${PACKAGE-default}
8609
8287
    case $enableval in
8610
8288
    yes) enable_fast_install=yes ;;
8685
8363
   setopt NO_GLOB_SUBST
8686
8364
fi
8687
8365
 
8688
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
8689
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
8690
 
if test "${lt_cv_objdir+set}" = set; then
8691
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8366
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 
8367
$as_echo_n "checking for objdir... " >&6; }
 
8368
if test "${lt_cv_objdir+set}" = set; then :
 
8369
  $as_echo_n "(cached) " >&6
8692
8370
else
8693
8371
  rm -f .libs 2>/dev/null
8694
8372
mkdir .libs 2>/dev/null
8700
8378
fi
8701
8379
rmdir .libs 2>/dev/null
8702
8380
fi
8703
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8704
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
 
8381
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 
8382
$as_echo "$lt_cv_objdir" >&6; }
8705
8383
objdir=$lt_cv_objdir
8706
8384
 
8707
8385
 
8793
8471
case $deplibs_check_method in
8794
8472
file_magic*)
8795
8473
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8796
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8797
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
8798
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8799
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8474
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 
8475
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
8476
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
8477
  $as_echo_n "(cached) " >&6
8800
8478
else
8801
8479
  case $MAGIC_CMD in
8802
8480
[\\/*] |  ?:[\\/]*)
8846
8524
 
8847
8525
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8848
8526
if test -n "$MAGIC_CMD"; then
8849
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8850
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
8527
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
8528
$as_echo "$MAGIC_CMD" >&6; }
8851
8529
else
8852
 
  { echo "$as_me:$LINENO: result: no" >&5
8853
 
echo "${ECHO_T}no" >&6; }
 
8530
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8531
$as_echo "no" >&6; }
8854
8532
fi
8855
8533
 
8856
8534
 
8859
8537
 
8860
8538
if test -z "$lt_cv_path_MAGIC_CMD"; then
8861
8539
  if test -n "$ac_tool_prefix"; then
8862
 
    { echo "$as_me:$LINENO: checking for file" >&5
8863
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
8864
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8865
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8540
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 
8541
$as_echo_n "checking for file... " >&6; }
 
8542
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
8543
  $as_echo_n "(cached) " >&6
8866
8544
else
8867
8545
  case $MAGIC_CMD in
8868
8546
[\\/*] |  ?:[\\/]*)
8912
8590
 
8913
8591
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8914
8592
if test -n "$MAGIC_CMD"; then
8915
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8916
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
8593
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
8594
$as_echo "$MAGIC_CMD" >&6; }
8917
8595
else
8918
 
  { echo "$as_me:$LINENO: result: no" >&5
8919
 
echo "${ECHO_T}no" >&6; }
 
8596
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8597
$as_echo "no" >&6; }
8920
8598
fi
8921
8599
 
8922
8600
 
8996
8674
if test "$GCC" = yes; then
8997
8675
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8998
8676
 
8999
 
  { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9000
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
9001
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
9002
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8677
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
8678
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
8679
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
8680
  $as_echo_n "(cached) " >&6
9003
8681
else
9004
8682
  lt_cv_prog_compiler_rtti_exceptions=no
9005
8683
   ac_outfile=conftest.$ac_objext
9014
8692
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9015
8693
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9016
8694
   -e 's:$: $lt_compiler_flag:'`
9017
 
   (eval echo "\"\$as_me:9017: $lt_compile\"" >&5)
 
8695
   (eval echo "\"\$as_me:8695: $lt_compile\"" >&5)
9018
8696
   (eval "$lt_compile" 2>conftest.err)
9019
8697
   ac_status=$?
9020
8698
   cat conftest.err >&5
9021
 
   echo "$as_me:9021: \$? = $ac_status" >&5
 
8699
   echo "$as_me:8699: \$? = $ac_status" >&5
9022
8700
   if (exit $ac_status) && test -s "$ac_outfile"; then
9023
8701
     # The compiler can only warn and ignore the option if not recognized
9024
8702
     # So say no if there are warnings other than the usual output.
9031
8709
   $RM conftest*
9032
8710
 
9033
8711
fi
9034
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9035
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
8712
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
8713
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9036
8714
 
9037
8715
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9038
8716
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9051
8729
lt_prog_compiler_pic=
9052
8730
lt_prog_compiler_static=
9053
8731
 
9054
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
9055
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
8732
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
8733
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9056
8734
 
9057
8735
  if test "$GCC" = yes; then
9058
8736
    lt_prog_compiler_wl='-Wl,'
9086
8764
      # PIC is the default for these OSes.
9087
8765
      ;;
9088
8766
 
9089
 
    mingw* | cygwin* | pw32* | os2*)
 
8767
    mingw* | cygwin* | pw32* | os2* | cegcc*)
9090
8768
      # This hack is so that the source file can tell whether it is being
9091
8769
      # built for inclusion in a dll (and should export symbols for example).
9092
8770
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9101
8779
      ;;
9102
8780
 
9103
8781
    hpux*)
9104
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9105
 
      # not for PA HP-UX.
 
8782
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
8783
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
8784
      # sets the default TLS model and affects inlining.
9106
8785
      case $host_cpu in
9107
 
      hppa*64*|ia64*)
 
8786
      hppa*64*)
9108
8787
        # +Z the default
9109
8788
        ;;
9110
8789
      *)
9154
8833
      fi
9155
8834
      ;;
9156
8835
 
9157
 
    mingw* | cygwin* | pw32* | os2*)
 
8836
    mingw* | cygwin* | pw32* | os2* | cegcc*)
9158
8837
      # This hack is so that the source file can tell whether it is being
9159
8838
      # built for inclusion in a dll (and should export symbols for example).
9160
8839
      lt_prog_compiler_pic='-DDLL_EXPORT'
9182
8861
      lt_prog_compiler_static='-non_shared'
9183
8862
      ;;
9184
8863
 
9185
 
    linux* | k*bsd*-gnu)
 
8864
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
9186
8865
      case $cc_basename in
9187
 
      icc* | ecc* | ifort*)
 
8866
      # old Intel for x86_64 which still supported -KPIC.
 
8867
      ecc*)
9188
8868
        lt_prog_compiler_wl='-Wl,'
9189
8869
        lt_prog_compiler_pic='-KPIC'
9190
8870
        lt_prog_compiler_static='-static'
9191
8871
        ;;
 
8872
      # icc used to be incompatible with GCC.
 
8873
      # ICC 10 doesn't accept -KPIC any more.
 
8874
      icc* | ifort*)
 
8875
        lt_prog_compiler_wl='-Wl,'
 
8876
        lt_prog_compiler_pic='-fPIC'
 
8877
        lt_prog_compiler_static='-static'
 
8878
        ;;
 
8879
      # Lahey Fortran 8.1.
 
8880
      lf95*)
 
8881
        lt_prog_compiler_wl='-Wl,'
 
8882
        lt_prog_compiler_pic='--shared'
 
8883
        lt_prog_compiler_static='--static'
 
8884
        ;;
9192
8885
      pgcc* | pgf77* | pgf90* | pgf95*)
9193
8886
        # Portland Group compilers (*not* the Pentium gcc compiler,
9194
8887
        # which looks to be a dead project)
9308
9001
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9309
9002
    ;;
9310
9003
esac
9311
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9312
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
 
9004
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
 
9005
$as_echo "$lt_prog_compiler_pic" >&6; }
9313
9006
 
9314
9007
 
9315
9008
 
9320
9013
# Check to make sure the PIC flag actually works.
9321
9014
#
9322
9015
if test -n "$lt_prog_compiler_pic"; then
9323
 
  { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9324
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
9325
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
9326
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9016
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
9017
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
9018
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
9019
  $as_echo_n "(cached) " >&6
9327
9020
else
9328
9021
  lt_cv_prog_compiler_pic_works=no
9329
9022
   ac_outfile=conftest.$ac_objext
9338
9031
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9339
9032
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9340
9033
   -e 's:$: $lt_compiler_flag:'`
9341
 
   (eval echo "\"\$as_me:9341: $lt_compile\"" >&5)
 
9034
   (eval echo "\"\$as_me:9034: $lt_compile\"" >&5)
9342
9035
   (eval "$lt_compile" 2>conftest.err)
9343
9036
   ac_status=$?
9344
9037
   cat conftest.err >&5
9345
 
   echo "$as_me:9345: \$? = $ac_status" >&5
 
9038
   echo "$as_me:9038: \$? = $ac_status" >&5
9346
9039
   if (exit $ac_status) && test -s "$ac_outfile"; then
9347
9040
     # The compiler can only warn and ignore the option if not recognized
9348
9041
     # So say no if there are warnings other than the usual output.
9355
9048
   $RM conftest*
9356
9049
 
9357
9050
fi
9358
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
9359
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
 
9051
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 
9052
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9360
9053
 
9361
9054
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9362
9055
    case $lt_prog_compiler_pic in
9379
9072
# Check to make sure the static flag actually works.
9380
9073
#
9381
9074
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9382
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9383
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
9384
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
9385
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9075
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
9076
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
9077
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
9078
  $as_echo_n "(cached) " >&6
9386
9079
else
9387
9080
  lt_cv_prog_compiler_static_works=no
9388
9081
   save_LDFLAGS="$LDFLAGS"
9407
9100
   LDFLAGS="$save_LDFLAGS"
9408
9101
 
9409
9102
fi
9410
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
9411
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
 
9103
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 
9104
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9412
9105
 
9413
9106
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9414
9107
    :
9422
9115
 
9423
9116
 
9424
9117
 
9425
 
  { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9426
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
9427
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9428
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9429
 
else
9430
 
  lt_cv_prog_compiler_c_o=no
9431
 
   $RM -r conftest 2>/dev/null
9432
 
   mkdir conftest
9433
 
   cd conftest
9434
 
   mkdir out
9435
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9436
 
 
9437
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9438
 
   # Insert the option either (1) after the last *FLAGS variable, or
9439
 
   # (2) before a word containing "conftest.", or (3) at the end.
9440
 
   # Note that $ac_compile itself does not contain backslashes and begins
9441
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9442
 
   lt_compile=`echo "$ac_compile" | $SED \
9443
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9444
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9445
 
   -e 's:$: $lt_compiler_flag:'`
9446
 
   (eval echo "\"\$as_me:9446: $lt_compile\"" >&5)
9447
 
   (eval "$lt_compile" 2>out/conftest.err)
9448
 
   ac_status=$?
9449
 
   cat out/conftest.err >&5
9450
 
   echo "$as_me:9450: \$? = $ac_status" >&5
9451
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9452
 
   then
9453
 
     # The compiler can only warn and ignore the option if not recognized
9454
 
     # So say no if there are warnings
9455
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9456
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9457
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9458
 
       lt_cv_prog_compiler_c_o=yes
9459
 
     fi
9460
 
   fi
9461
 
   chmod u+w . 2>&5
9462
 
   $RM conftest*
9463
 
   # SGI C++ compiler will create directory out/ii_files/ for
9464
 
   # template instantiation
9465
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9466
 
   $RM out/* && rmdir out
9467
 
   cd ..
9468
 
   $RM -r conftest
9469
 
   $RM conftest*
9470
 
 
9471
 
fi
9472
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9473
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
9474
 
 
9475
 
 
9476
 
 
9477
 
 
9478
 
 
9479
 
 
9480
 
  { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9481
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
9482
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9483
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9484
 
else
9485
 
  lt_cv_prog_compiler_c_o=no
9486
 
   $RM -r conftest 2>/dev/null
9487
 
   mkdir conftest
9488
 
   cd conftest
9489
 
   mkdir out
9490
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9491
 
 
9492
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9493
 
   # Insert the option either (1) after the last *FLAGS variable, or
9494
 
   # (2) before a word containing "conftest.", or (3) at the end.
9495
 
   # Note that $ac_compile itself does not contain backslashes and begins
9496
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9497
 
   lt_compile=`echo "$ac_compile" | $SED \
9498
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9499
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9500
 
   -e 's:$: $lt_compiler_flag:'`
9501
 
   (eval echo "\"\$as_me:9501: $lt_compile\"" >&5)
9502
 
   (eval "$lt_compile" 2>out/conftest.err)
9503
 
   ac_status=$?
9504
 
   cat out/conftest.err >&5
9505
 
   echo "$as_me:9505: \$? = $ac_status" >&5
9506
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9507
 
   then
9508
 
     # The compiler can only warn and ignore the option if not recognized
9509
 
     # So say no if there are warnings
9510
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9511
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9512
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9513
 
       lt_cv_prog_compiler_c_o=yes
9514
 
     fi
9515
 
   fi
9516
 
   chmod u+w . 2>&5
9517
 
   $RM conftest*
9518
 
   # SGI C++ compiler will create directory out/ii_files/ for
9519
 
   # template instantiation
9520
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9521
 
   $RM out/* && rmdir out
9522
 
   cd ..
9523
 
   $RM -r conftest
9524
 
   $RM conftest*
9525
 
 
9526
 
fi
9527
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9528
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
 
9118
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9119
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
9120
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
9121
  $as_echo_n "(cached) " >&6
 
9122
else
 
9123
  lt_cv_prog_compiler_c_o=no
 
9124
   $RM -r conftest 2>/dev/null
 
9125
   mkdir conftest
 
9126
   cd conftest
 
9127
   mkdir out
 
9128
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9129
 
 
9130
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
9131
   # Insert the option either (1) after the last *FLAGS variable, or
 
9132
   # (2) before a word containing "conftest.", or (3) at the end.
 
9133
   # Note that $ac_compile itself does not contain backslashes and begins
 
9134
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9135
   lt_compile=`echo "$ac_compile" | $SED \
 
9136
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9137
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9138
   -e 's:$: $lt_compiler_flag:'`
 
9139
   (eval echo "\"\$as_me:9139: $lt_compile\"" >&5)
 
9140
   (eval "$lt_compile" 2>out/conftest.err)
 
9141
   ac_status=$?
 
9142
   cat out/conftest.err >&5
 
9143
   echo "$as_me:9143: \$? = $ac_status" >&5
 
9144
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
9145
   then
 
9146
     # The compiler can only warn and ignore the option if not recognized
 
9147
     # So say no if there are warnings
 
9148
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9149
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
9150
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
9151
       lt_cv_prog_compiler_c_o=yes
 
9152
     fi
 
9153
   fi
 
9154
   chmod u+w . 2>&5
 
9155
   $RM conftest*
 
9156
   # SGI C++ compiler will create directory out/ii_files/ for
 
9157
   # template instantiation
 
9158
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
9159
   $RM out/* && rmdir out
 
9160
   cd ..
 
9161
   $RM -r conftest
 
9162
   $RM conftest*
 
9163
 
 
9164
fi
 
9165
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
9166
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
9167
 
 
9168
 
 
9169
 
 
9170
 
 
9171
 
 
9172
 
 
9173
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9174
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
9175
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
9176
  $as_echo_n "(cached) " >&6
 
9177
else
 
9178
  lt_cv_prog_compiler_c_o=no
 
9179
   $RM -r conftest 2>/dev/null
 
9180
   mkdir conftest
 
9181
   cd conftest
 
9182
   mkdir out
 
9183
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9184
 
 
9185
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
9186
   # Insert the option either (1) after the last *FLAGS variable, or
 
9187
   # (2) before a word containing "conftest.", or (3) at the end.
 
9188
   # Note that $ac_compile itself does not contain backslashes and begins
 
9189
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9190
   lt_compile=`echo "$ac_compile" | $SED \
 
9191
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9192
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9193
   -e 's:$: $lt_compiler_flag:'`
 
9194
   (eval echo "\"\$as_me:9194: $lt_compile\"" >&5)
 
9195
   (eval "$lt_compile" 2>out/conftest.err)
 
9196
   ac_status=$?
 
9197
   cat out/conftest.err >&5
 
9198
   echo "$as_me:9198: \$? = $ac_status" >&5
 
9199
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
9200
   then
 
9201
     # The compiler can only warn and ignore the option if not recognized
 
9202
     # So say no if there are warnings
 
9203
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9204
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
9205
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
9206
       lt_cv_prog_compiler_c_o=yes
 
9207
     fi
 
9208
   fi
 
9209
   chmod u+w . 2>&5
 
9210
   $RM conftest*
 
9211
   # SGI C++ compiler will create directory out/ii_files/ for
 
9212
   # template instantiation
 
9213
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
9214
   $RM out/* && rmdir out
 
9215
   cd ..
 
9216
   $RM -r conftest
 
9217
   $RM conftest*
 
9218
 
 
9219
fi
 
9220
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
9221
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9529
9222
 
9530
9223
 
9531
9224
 
9533
9226
hard_links="nottested"
9534
9227
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9535
9228
  # do not overwrite the value of need_locks provided by the user
9536
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9537
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
9229
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
9230
$as_echo_n "checking if we can lock with hard links... " >&6; }
9538
9231
  hard_links=yes
9539
9232
  $RM conftest*
9540
9233
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9541
9234
  touch conftest.a
9542
9235
  ln conftest.a conftest.b 2>&5 || hard_links=no
9543
9236
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9544
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
9545
 
echo "${ECHO_T}$hard_links" >&6; }
 
9237
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
9238
$as_echo "$hard_links" >&6; }
9546
9239
  if test "$hard_links" = no; then
9547
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9548
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
9240
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
9241
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9549
9242
    need_locks=warn
9550
9243
  fi
9551
9244
else
9557
9250
 
9558
9251
 
9559
9252
 
9560
 
  { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9561
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
9253
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
9254
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9562
9255
 
9563
9256
  runpath_var=
9564
9257
  allow_undefined_flag=
9602
9295
  extract_expsyms_cmds=
9603
9296
 
9604
9297
  case $host_os in
9605
 
  cygwin* | mingw* | pw32*)
 
9298
  cygwin* | mingw* | pw32* | cegcc*)
9606
9299
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9607
9300
    # When not using gcc, we currently assume that we are using
9608
9301
    # Microsoft Visual C++.
9617
9310
  openbsd*)
9618
9311
    with_gnu_ld=no
9619
9312
    ;;
 
9313
  linux* | k*bsd*-gnu)
 
9314
    link_all_deplibs=no
 
9315
    ;;
9620
9316
  esac
9621
9317
 
9622
9318
  ld_shlibs=yes
9638
9334
    fi
9639
9335
    supports_anon_versioning=no
9640
9336
    case `$LD -v 2>&1` in
 
9337
      *GNU\ gold*) supports_anon_versioning=yes ;;
9641
9338
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9642
9339
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9643
9340
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9689
9386
      fi
9690
9387
      ;;
9691
9388
 
9692
 
    cygwin* | mingw* | pw32*)
 
9389
    cygwin* | mingw* | pw32* | cegcc*)
9693
9390
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9694
9391
      # as there is no search path for DLLs.
9695
9392
      hardcode_libdir_flag_spec='-L$libdir'
9729
9426
      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'
9730
9427
      ;;
9731
9428
 
9732
 
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
9429
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9733
9430
      tmp_diet=no
9734
9431
      if test "$host_os" = linux-dietlibc; then
9735
9432
        case $cc_basename in
9755
9452
          tmp_addflag=' -i_dynamic -nofor_main' ;;
9756
9453
        ifc* | ifort*)                  # Intel Fortran compiler
9757
9454
          tmp_addflag=' -nofor_main' ;;
 
9455
        lf95*)                          # Lahey Fortran 8.1
 
9456
          whole_archive_flag_spec=
 
9457
          tmp_sharedflag='--shared' ;;
9758
9458
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9759
9459
          tmp_sharedflag='-qmkshrobj'
9760
9460
          tmp_addflag= ;;
9796
9496
      fi
9797
9497
      ;;
9798
9498
 
9799
 
    netbsd*)
 
9499
    netbsd* | netbsdelf*-gnu)
9800
9500
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9801
9501
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9802
9502
        wlarc=
9971
9671
        if test "$aix_use_runtimelinking" = yes; then
9972
9672
          shared_flag="$shared_flag "'${wl}-G'
9973
9673
        fi
 
9674
        link_all_deplibs=no
9974
9675
      else
9975
9676
        # not using gcc
9976
9677
        if test "$host_cpu" = ia64; then
9986
9687
        fi
9987
9688
      fi
9988
9689
 
 
9690
      export_dynamic_flag_spec='${wl}-bexpall'
9989
9691
      # It seems that -bexpall does not export symbols beginning with
9990
9692
      # underscore (_), so it is better to generate a list of symbols to export.
9991
9693
      always_export_symbols=yes
9995
9697
        allow_undefined_flag='-berok'
9996
9698
        # Determine the default libpath from the value encoded in an
9997
9699
        # empty executable.
9998
 
        cat >conftest.$ac_ext <<_ACEOF
9999
 
/* confdefs.h.  */
10000
 
_ACEOF
10001
 
cat confdefs.h >>conftest.$ac_ext
10002
 
cat >>conftest.$ac_ext <<_ACEOF
 
9700
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10003
9701
/* end confdefs.h.  */
10004
9702
 
10005
9703
int
10010
9708
  return 0;
10011
9709
}
10012
9710
_ACEOF
10013
 
rm -f conftest.$ac_objext conftest$ac_exeext
10014
 
if { (ac_try="$ac_link"
10015
 
case "(($ac_try" in
10016
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10017
 
  *) ac_try_echo=$ac_try;;
10018
 
esac
10019
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10020
 
  (eval "$ac_link") 2>conftest.er1
10021
 
  ac_status=$?
10022
 
  grep -v '^ *+' conftest.er1 >conftest.err
10023
 
  rm -f conftest.er1
10024
 
  cat conftest.err >&5
10025
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10026
 
  (exit $ac_status); } && {
10027
 
         test -z "$ac_c_werror_flag" ||
10028
 
         test ! -s conftest.err
10029
 
       } && test -s conftest$ac_exeext &&
10030
 
       $as_test_x conftest$ac_exeext; then
 
9711
if ac_fn_c_try_link "$LINENO"; then :
10031
9712
 
10032
9713
lt_aix_libpath_sed='
10033
9714
    /Import File Strings/,/^$/ {
10041
9722
if test -z "$aix_libpath"; then
10042
9723
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10043
9724
fi
10044
 
else
10045
 
  echo "$as_me: failed program was:" >&5
10046
 
sed 's/^/| /' conftest.$ac_ext >&5
10047
 
 
10048
 
 
10049
9725
fi
10050
 
 
10051
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10052
 
      conftest$ac_exeext conftest.$ac_ext
 
9726
rm -f core conftest.err conftest.$ac_objext \
 
9727
    conftest$ac_exeext conftest.$ac_ext
10053
9728
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10054
9729
 
10055
9730
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10062
9737
        else
10063
9738
         # Determine the default libpath from the value encoded in an
10064
9739
         # empty executable.
10065
 
         cat >conftest.$ac_ext <<_ACEOF
10066
 
/* confdefs.h.  */
10067
 
_ACEOF
10068
 
cat confdefs.h >>conftest.$ac_ext
10069
 
cat >>conftest.$ac_ext <<_ACEOF
 
9740
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10070
9741
/* end confdefs.h.  */
10071
9742
 
10072
9743
int
10077
9748
  return 0;
10078
9749
}
10079
9750
_ACEOF
10080
 
rm -f conftest.$ac_objext conftest$ac_exeext
10081
 
if { (ac_try="$ac_link"
10082
 
case "(($ac_try" in
10083
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10084
 
  *) ac_try_echo=$ac_try;;
10085
 
esac
10086
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10087
 
  (eval "$ac_link") 2>conftest.er1
10088
 
  ac_status=$?
10089
 
  grep -v '^ *+' conftest.er1 >conftest.err
10090
 
  rm -f conftest.er1
10091
 
  cat conftest.err >&5
10092
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10093
 
  (exit $ac_status); } && {
10094
 
         test -z "$ac_c_werror_flag" ||
10095
 
         test ! -s conftest.err
10096
 
       } && test -s conftest$ac_exeext &&
10097
 
       $as_test_x conftest$ac_exeext; then
 
9751
if ac_fn_c_try_link "$LINENO"; then :
10098
9752
 
10099
9753
lt_aix_libpath_sed='
10100
9754
    /Import File Strings/,/^$/ {
10108
9762
if test -z "$aix_libpath"; then
10109
9763
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10110
9764
fi
10111
 
else
10112
 
  echo "$as_me: failed program was:" >&5
10113
 
sed 's/^/| /' conftest.$ac_ext >&5
10114
 
 
10115
 
 
10116
9765
fi
10117
 
 
10118
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10119
 
      conftest$ac_exeext conftest.$ac_ext
 
9766
rm -f core conftest.err conftest.$ac_objext \
 
9767
    conftest$ac_exeext conftest.$ac_ext
10120
9768
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10121
9769
 
10122
9770
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10152
9800
      export_dynamic_flag_spec=-rdynamic
10153
9801
      ;;
10154
9802
 
10155
 
    cygwin* | mingw* | pw32*)
 
9803
    cygwin* | mingw* | pw32* | cegcc*)
10156
9804
      # When not using gcc, we currently assume that we are using
10157
9805
      # Microsoft Visual C++.
10158
9806
      # hardcode_libdir_flag_spec is actually meaningless, as there is
10183
9831
  whole_archive_flag_spec=''
10184
9832
  link_all_deplibs=yes
10185
9833
  allow_undefined_flag="$_lt_dar_allow_undefined"
10186
 
  if test "$GCC" = "yes"; then
 
9834
  case $cc_basename in
 
9835
     ifort*) _lt_dar_can_shared=yes ;;
 
9836
     *) _lt_dar_can_shared=$GCC ;;
 
9837
  esac
 
9838
  if test "$_lt_dar_can_shared" = "yes"; then
10187
9839
    output_verbose_link_cmd=echo
10188
9840
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10189
9841
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10275
9927
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10276
9928
          ;;
10277
9929
        ia64*)
10278
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9930
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10279
9931
          ;;
10280
9932
        *)
10281
9933
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10324
9976
        # implicitly export all symbols.
10325
9977
        save_LDFLAGS="$LDFLAGS"
10326
9978
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10327
 
        cat >conftest.$ac_ext <<_ACEOF
 
9979
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9980
/* end confdefs.h.  */
10328
9981
int foo(void) {}
10329
9982
_ACEOF
10330
 
rm -f conftest.$ac_objext conftest$ac_exeext
10331
 
if { (ac_try="$ac_link"
10332
 
case "(($ac_try" in
10333
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10334
 
  *) ac_try_echo=$ac_try;;
10335
 
esac
10336
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10337
 
  (eval "$ac_link") 2>conftest.er1
10338
 
  ac_status=$?
10339
 
  grep -v '^ *+' conftest.er1 >conftest.err
10340
 
  rm -f conftest.er1
10341
 
  cat conftest.err >&5
10342
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10343
 
  (exit $ac_status); } && {
10344
 
         test -z "$ac_c_werror_flag" ||
10345
 
         test ! -s conftest.err
10346
 
       } && test -s conftest$ac_exeext &&
10347
 
       $as_test_x conftest$ac_exeext; then
 
9983
if ac_fn_c_try_link "$LINENO"; then :
10348
9984
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10349
9985
 
10350
 
else
10351
 
  echo "$as_me: failed program was:" >&5
10352
 
sed 's/^/| /' conftest.$ac_ext >&5
10353
 
 
10354
 
 
10355
9986
fi
10356
 
 
10357
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10358
 
      conftest$ac_exeext conftest.$ac_ext
 
9987
rm -f core conftest.err conftest.$ac_objext \
 
9988
    conftest$ac_exeext conftest.$ac_ext
10359
9989
        LDFLAGS="$save_LDFLAGS"
10360
9990
      else
10361
9991
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10368
9998
      link_all_deplibs=yes
10369
9999
      ;;
10370
10000
 
10371
 
    netbsd*)
 
10001
    netbsd* | netbsdelf*-gnu)
10372
10002
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10373
10003
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10374
10004
      else
10611
10241
    fi
10612
10242
  fi
10613
10243
 
10614
 
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10615
 
echo "${ECHO_T}$ld_shlibs" >&6; }
 
10244
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 
10245
$as_echo "$ld_shlibs" >&6; }
10616
10246
test "$ld_shlibs" = no && can_build_shared=no
10617
10247
 
10618
10248
with_gnu_ld=$with_gnu_ld
10648
10278
      # Test whether the compiler implicitly links with -lc since on some
10649
10279
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10650
10280
      # to ld, don't add -lc before -lgcc.
10651
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10652
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
 
10281
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
10282
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10653
10283
      $RM conftest*
10654
10284
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10655
10285
 
10656
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
10286
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10657
10287
  (eval $ac_compile) 2>&5
10658
10288
  ac_status=$?
10659
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10660
 
  (exit $ac_status); } 2>conftest.err; then
 
10289
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10290
  test $ac_status = 0; } 2>conftest.err; then
10661
10291
        soname=conftest
10662
10292
        lib=conftest
10663
10293
        libobjs=conftest.$ac_objext
10671
10301
        libname=conftest
10672
10302
        lt_save_allow_undefined_flag=$allow_undefined_flag
10673
10303
        allow_undefined_flag=
10674
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
10304
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10675
10305
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10676
10306
  ac_status=$?
10677
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10678
 
  (exit $ac_status); }
 
10307
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10308
  test $ac_status = 0; }
10679
10309
        then
10680
10310
          archive_cmds_need_lc=no
10681
10311
        else
10686
10316
        cat conftest.err 1>&5
10687
10317
      fi
10688
10318
      $RM conftest*
10689
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10690
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
 
10319
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
 
10320
$as_echo "$archive_cmds_need_lc" >&6; }
10691
10321
      ;;
10692
10322
    esac
10693
10323
  fi
10850
10480
 
10851
10481
 
10852
10482
 
10853
 
  { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10854
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 
10483
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
10484
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10855
10485
 
10856
10486
if test "$GCC" = yes; then
10857
10487
  case $host_os in
11013
10643
  # libtool to hard-code these into programs
11014
10644
  ;;
11015
10645
 
11016
 
cygwin* | mingw* | pw32*)
 
10646
cygwin* | mingw* | pw32* | cegcc*)
11017
10647
  version_type=windows
11018
10648
  shrext_cmds=".dll"
11019
10649
  need_version=no
11020
10650
  need_lib_prefix=no
11021
10651
 
11022
10652
  case $GCC,$host_os in
11023
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
10653
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11024
10654
    library_names_spec='$libname.dll.a'
11025
10655
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11026
10656
    postinstall_cmds='base_file=`basename \${file}`~
11043
10673
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11044
10674
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11045
10675
      ;;
11046
 
    mingw*)
 
10676
    mingw* | cegcc*)
11047
10677
      # MinGW DLLs use traditional 'lib' prefix
11048
10678
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11049
10679
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11258
10888
  ;;
11259
10889
 
11260
10890
# This must be Linux ELF.
11261
 
linux* | k*bsd*-gnu)
 
10891
linux* | k*bsd*-gnu | kopensolaris*-gnu)
11262
10892
  version_type=linux
11263
10893
  need_lib_prefix=no
11264
10894
  need_version=no
11272
10902
  save_libdir=$libdir
11273
10903
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11274
10904
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11275
 
  cat >conftest.$ac_ext <<_ACEOF
11276
 
/* confdefs.h.  */
11277
 
_ACEOF
11278
 
cat confdefs.h >>conftest.$ac_ext
11279
 
cat >>conftest.$ac_ext <<_ACEOF
 
10905
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11280
10906
/* end confdefs.h.  */
11281
10907
 
11282
10908
int
11287
10913
  return 0;
11288
10914
}
11289
10915
_ACEOF
11290
 
rm -f conftest.$ac_objext conftest$ac_exeext
11291
 
if { (ac_try="$ac_link"
11292
 
case "(($ac_try" in
11293
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11294
 
  *) ac_try_echo=$ac_try;;
11295
 
esac
11296
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11297
 
  (eval "$ac_link") 2>conftest.er1
11298
 
  ac_status=$?
11299
 
  grep -v '^ *+' conftest.er1 >conftest.err
11300
 
  rm -f conftest.er1
11301
 
  cat conftest.err >&5
11302
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11303
 
  (exit $ac_status); } && {
11304
 
         test -z "$ac_c_werror_flag" ||
11305
 
         test ! -s conftest.err
11306
 
       } && test -s conftest$ac_exeext &&
11307
 
       $as_test_x conftest$ac_exeext; then
11308
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
10916
if ac_fn_c_try_link "$LINENO"; then :
 
10917
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11309
10918
  shlibpath_overrides_runpath=yes
11310
10919
fi
11311
 
 
11312
 
else
11313
 
  echo "$as_me: failed program was:" >&5
11314
 
sed 's/^/| /' conftest.$ac_ext >&5
11315
 
 
11316
 
 
11317
10920
fi
11318
 
 
11319
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11320
 
      conftest$ac_exeext conftest.$ac_ext
 
10921
rm -f core conftest.err conftest.$ac_objext \
 
10922
    conftest$ac_exeext conftest.$ac_ext
11321
10923
  LDFLAGS=$save_LDFLAGS
11322
10924
  libdir=$save_libdir
11323
10925
 
11341
10943
  dynamic_linker='GNU/Linux ld.so'
11342
10944
  ;;
11343
10945
 
 
10946
netbsdelf*-gnu)
 
10947
  version_type=linux
 
10948
  need_lib_prefix=no
 
10949
  need_version=no
 
10950
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
10951
  soname_spec='${libname}${release}${shared_ext}$major'
 
10952
  shlibpath_var=LD_LIBRARY_PATH
 
10953
  shlibpath_overrides_runpath=no
 
10954
  hardcode_into_libs=yes
 
10955
  dynamic_linker='NetBSD ld.elf_so'
 
10956
  ;;
 
10957
 
11344
10958
netbsd*)
11345
10959
  version_type=sunos
11346
10960
  need_lib_prefix=no
11512
11126
  version_type=linux
11513
11127
  need_lib_prefix=no
11514
11128
  need_version=no
11515
 
  library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11129
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11516
11130
  shlibpath_var=LD_LIBRARY_PATH
11517
11131
  shlibpath_overrides_runpath=no
11518
11132
  hardcode_into_libs=yes
11529
11143
  dynamic_linker=no
11530
11144
  ;;
11531
11145
esac
11532
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11533
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
11146
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
11147
$as_echo "$dynamic_linker" >&6; }
11534
11148
test "$dynamic_linker" = no && can_build_shared=no
11535
11149
 
11536
11150
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11631
11245
 
11632
11246
 
11633
11247
 
11634
 
  { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11635
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
11248
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
11249
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11636
11250
hardcode_action=
11637
11251
if test -n "$hardcode_libdir_flag_spec" ||
11638
11252
   test -n "$runpath_var" ||
11656
11270
  # directories.
11657
11271
  hardcode_action=unsupported
11658
11272
fi
11659
 
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
11660
 
echo "${ECHO_T}$hardcode_action" >&6; }
 
11273
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 
11274
$as_echo "$hardcode_action" >&6; }
11661
11275
 
11662
11276
if test "$hardcode_action" = relink ||
11663
11277
   test "$inherit_rpath" = yes; then
11689
11303
    lt_cv_dlopen_self=yes
11690
11304
    ;;
11691
11305
 
11692
 
  mingw* | pw32*)
 
11306
  mingw* | pw32* | cegcc*)
11693
11307
    lt_cv_dlopen="LoadLibrary"
11694
11308
    lt_cv_dlopen_libs=
11695
11309
    ;;
11701
11315
 
11702
11316
  darwin*)
11703
11317
  # if libdl is installed we need to link against it
11704
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11705
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11706
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11707
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11318
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
11319
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
11320
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11321
  $as_echo_n "(cached) " >&6
11708
11322
else
11709
11323
  ac_check_lib_save_LIBS=$LIBS
11710
11324
LIBS="-ldl  $LIBS"
11711
 
cat >conftest.$ac_ext <<_ACEOF
11712
 
/* confdefs.h.  */
11713
 
_ACEOF
11714
 
cat confdefs.h >>conftest.$ac_ext
11715
 
cat >>conftest.$ac_ext <<_ACEOF
 
11325
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11716
11326
/* end confdefs.h.  */
11717
11327
 
11718
11328
/* Override any GCC internal prototype to avoid an error.
11730
11340
  return 0;
11731
11341
}
11732
11342
_ACEOF
11733
 
rm -f conftest.$ac_objext conftest$ac_exeext
11734
 
if { (ac_try="$ac_link"
11735
 
case "(($ac_try" in
11736
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11737
 
  *) ac_try_echo=$ac_try;;
11738
 
esac
11739
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11740
 
  (eval "$ac_link") 2>conftest.er1
11741
 
  ac_status=$?
11742
 
  grep -v '^ *+' conftest.er1 >conftest.err
11743
 
  rm -f conftest.er1
11744
 
  cat conftest.err >&5
11745
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11746
 
  (exit $ac_status); } && {
11747
 
         test -z "$ac_c_werror_flag" ||
11748
 
         test ! -s conftest.err
11749
 
       } && test -s conftest$ac_exeext &&
11750
 
       $as_test_x conftest$ac_exeext; then
 
11343
if ac_fn_c_try_link "$LINENO"; then :
11751
11344
  ac_cv_lib_dl_dlopen=yes
11752
11345
else
11753
 
  echo "$as_me: failed program was:" >&5
11754
 
sed 's/^/| /' conftest.$ac_ext >&5
11755
 
 
11756
 
        ac_cv_lib_dl_dlopen=no
 
11346
  ac_cv_lib_dl_dlopen=no
11757
11347
fi
11758
 
 
11759
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11760
 
      conftest$ac_exeext conftest.$ac_ext
 
11348
rm -f core conftest.err conftest.$ac_objext \
 
11349
    conftest$ac_exeext conftest.$ac_ext
11761
11350
LIBS=$ac_check_lib_save_LIBS
11762
11351
fi
11763
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11764
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11765
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
11352
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
11353
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11354
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11766
11355
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11767
11356
else
11768
11357
 
11775
11364
    ;;
11776
11365
 
11777
11366
  *)
11778
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
11779
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
11780
 
if test "${ac_cv_func_shl_load+set}" = set; then
11781
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11782
 
else
11783
 
  cat >conftest.$ac_ext <<_ACEOF
11784
 
/* confdefs.h.  */
11785
 
_ACEOF
11786
 
cat confdefs.h >>conftest.$ac_ext
11787
 
cat >>conftest.$ac_ext <<_ACEOF
11788
 
/* end confdefs.h.  */
11789
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11790
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11791
 
#define shl_load innocuous_shl_load
11792
 
 
11793
 
/* System header to define __stub macros and hopefully few prototypes,
11794
 
    which can conflict with char shl_load (); below.
11795
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11796
 
    <limits.h> exists even on freestanding compilers.  */
11797
 
 
11798
 
#ifdef __STDC__
11799
 
# include <limits.h>
11800
 
#else
11801
 
# include <assert.h>
11802
 
#endif
11803
 
 
11804
 
#undef shl_load
11805
 
 
11806
 
/* Override any GCC internal prototype to avoid an error.
11807
 
   Use char because int might match the return type of a GCC
11808
 
   builtin and then its argument prototype would still apply.  */
11809
 
#ifdef __cplusplus
11810
 
extern "C"
11811
 
#endif
11812
 
char shl_load ();
11813
 
/* The GNU C library defines this for functions which it implements
11814
 
    to always fail with ENOSYS.  Some functions are actually named
11815
 
    something starting with __ and the normal name is an alias.  */
11816
 
#if defined __stub_shl_load || defined __stub___shl_load
11817
 
choke me
11818
 
#endif
11819
 
 
11820
 
int
11821
 
main ()
11822
 
{
11823
 
return shl_load ();
11824
 
  ;
11825
 
  return 0;
11826
 
}
11827
 
_ACEOF
11828
 
rm -f conftest.$ac_objext conftest$ac_exeext
11829
 
if { (ac_try="$ac_link"
11830
 
case "(($ac_try" in
11831
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11832
 
  *) ac_try_echo=$ac_try;;
11833
 
esac
11834
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11835
 
  (eval "$ac_link") 2>conftest.er1
11836
 
  ac_status=$?
11837
 
  grep -v '^ *+' conftest.er1 >conftest.err
11838
 
  rm -f conftest.er1
11839
 
  cat conftest.err >&5
11840
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11841
 
  (exit $ac_status); } && {
11842
 
         test -z "$ac_c_werror_flag" ||
11843
 
         test ! -s conftest.err
11844
 
       } && test -s conftest$ac_exeext &&
11845
 
       $as_test_x conftest$ac_exeext; then
11846
 
  ac_cv_func_shl_load=yes
11847
 
else
11848
 
  echo "$as_me: failed program was:" >&5
11849
 
sed 's/^/| /' conftest.$ac_ext >&5
11850
 
 
11851
 
        ac_cv_func_shl_load=no
11852
 
fi
11853
 
 
11854
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11855
 
      conftest$ac_exeext conftest.$ac_ext
11856
 
fi
11857
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11858
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
11859
 
if test $ac_cv_func_shl_load = yes; then
 
11367
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
11368
if test "x$ac_cv_func_shl_load" = x""yes; then :
11860
11369
  lt_cv_dlopen="shl_load"
11861
11370
else
11862
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11863
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
11864
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11865
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11371
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 
11372
$as_echo_n "checking for shl_load in -ldld... " >&6; }
 
11373
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
11374
  $as_echo_n "(cached) " >&6
11866
11375
else
11867
11376
  ac_check_lib_save_LIBS=$LIBS
11868
11377
LIBS="-ldld  $LIBS"
11869
 
cat >conftest.$ac_ext <<_ACEOF
11870
 
/* confdefs.h.  */
11871
 
_ACEOF
11872
 
cat confdefs.h >>conftest.$ac_ext
11873
 
cat >>conftest.$ac_ext <<_ACEOF
 
11378
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11874
11379
/* end confdefs.h.  */
11875
11380
 
11876
11381
/* Override any GCC internal prototype to avoid an error.
11888
11393
  return 0;
11889
11394
}
11890
11395
_ACEOF
11891
 
rm -f conftest.$ac_objext conftest$ac_exeext
11892
 
if { (ac_try="$ac_link"
11893
 
case "(($ac_try" in
11894
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11895
 
  *) ac_try_echo=$ac_try;;
11896
 
esac
11897
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11898
 
  (eval "$ac_link") 2>conftest.er1
11899
 
  ac_status=$?
11900
 
  grep -v '^ *+' conftest.er1 >conftest.err
11901
 
  rm -f conftest.er1
11902
 
  cat conftest.err >&5
11903
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11904
 
  (exit $ac_status); } && {
11905
 
         test -z "$ac_c_werror_flag" ||
11906
 
         test ! -s conftest.err
11907
 
       } && test -s conftest$ac_exeext &&
11908
 
       $as_test_x conftest$ac_exeext; then
 
11396
if ac_fn_c_try_link "$LINENO"; then :
11909
11397
  ac_cv_lib_dld_shl_load=yes
11910
11398
else
11911
 
  echo "$as_me: failed program was:" >&5
11912
 
sed 's/^/| /' conftest.$ac_ext >&5
11913
 
 
11914
 
        ac_cv_lib_dld_shl_load=no
 
11399
  ac_cv_lib_dld_shl_load=no
11915
11400
fi
11916
 
 
11917
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11918
 
      conftest$ac_exeext conftest.$ac_ext
 
11401
rm -f core conftest.err conftest.$ac_objext \
 
11402
    conftest$ac_exeext conftest.$ac_ext
11919
11403
LIBS=$ac_check_lib_save_LIBS
11920
11404
fi
11921
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11922
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
11923
 
if test $ac_cv_lib_dld_shl_load = yes; then
 
11405
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 
11406
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
11407
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11924
11408
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11925
11409
else
11926
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
11927
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
11928
 
if test "${ac_cv_func_dlopen+set}" = set; then
11929
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11930
 
else
11931
 
  cat >conftest.$ac_ext <<_ACEOF
11932
 
/* confdefs.h.  */
11933
 
_ACEOF
11934
 
cat confdefs.h >>conftest.$ac_ext
11935
 
cat >>conftest.$ac_ext <<_ACEOF
11936
 
/* end confdefs.h.  */
11937
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11938
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11939
 
#define dlopen innocuous_dlopen
11940
 
 
11941
 
/* System header to define __stub macros and hopefully few prototypes,
11942
 
    which can conflict with char dlopen (); below.
11943
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11944
 
    <limits.h> exists even on freestanding compilers.  */
11945
 
 
11946
 
#ifdef __STDC__
11947
 
# include <limits.h>
11948
 
#else
11949
 
# include <assert.h>
11950
 
#endif
11951
 
 
11952
 
#undef dlopen
11953
 
 
11954
 
/* Override any GCC internal prototype to avoid an error.
11955
 
   Use char because int might match the return type of a GCC
11956
 
   builtin and then its argument prototype would still apply.  */
11957
 
#ifdef __cplusplus
11958
 
extern "C"
11959
 
#endif
11960
 
char dlopen ();
11961
 
/* The GNU C library defines this for functions which it implements
11962
 
    to always fail with ENOSYS.  Some functions are actually named
11963
 
    something starting with __ and the normal name is an alias.  */
11964
 
#if defined __stub_dlopen || defined __stub___dlopen
11965
 
choke me
11966
 
#endif
11967
 
 
11968
 
int
11969
 
main ()
11970
 
{
11971
 
return dlopen ();
11972
 
  ;
11973
 
  return 0;
11974
 
}
11975
 
_ACEOF
11976
 
rm -f conftest.$ac_objext conftest$ac_exeext
11977
 
if { (ac_try="$ac_link"
11978
 
case "(($ac_try" in
11979
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11980
 
  *) ac_try_echo=$ac_try;;
11981
 
esac
11982
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11983
 
  (eval "$ac_link") 2>conftest.er1
11984
 
  ac_status=$?
11985
 
  grep -v '^ *+' conftest.er1 >conftest.err
11986
 
  rm -f conftest.er1
11987
 
  cat conftest.err >&5
11988
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11989
 
  (exit $ac_status); } && {
11990
 
         test -z "$ac_c_werror_flag" ||
11991
 
         test ! -s conftest.err
11992
 
       } && test -s conftest$ac_exeext &&
11993
 
       $as_test_x conftest$ac_exeext; then
11994
 
  ac_cv_func_dlopen=yes
11995
 
else
11996
 
  echo "$as_me: failed program was:" >&5
11997
 
sed 's/^/| /' conftest.$ac_ext >&5
11998
 
 
11999
 
        ac_cv_func_dlopen=no
12000
 
fi
12001
 
 
12002
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12003
 
      conftest$ac_exeext conftest.$ac_ext
12004
 
fi
12005
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12006
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
12007
 
if test $ac_cv_func_dlopen = yes; then
 
11410
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
11411
if test "x$ac_cv_func_dlopen" = x""yes; then :
12008
11412
  lt_cv_dlopen="dlopen"
12009
11413
else
12010
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12011
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12012
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12013
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11414
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
11415
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
11416
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11417
  $as_echo_n "(cached) " >&6
12014
11418
else
12015
11419
  ac_check_lib_save_LIBS=$LIBS
12016
11420
LIBS="-ldl  $LIBS"
12017
 
cat >conftest.$ac_ext <<_ACEOF
12018
 
/* confdefs.h.  */
12019
 
_ACEOF
12020
 
cat confdefs.h >>conftest.$ac_ext
12021
 
cat >>conftest.$ac_ext <<_ACEOF
 
11421
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12022
11422
/* end confdefs.h.  */
12023
11423
 
12024
11424
/* Override any GCC internal prototype to avoid an error.
12036
11436
  return 0;
12037
11437
}
12038
11438
_ACEOF
12039
 
rm -f conftest.$ac_objext conftest$ac_exeext
12040
 
if { (ac_try="$ac_link"
12041
 
case "(($ac_try" in
12042
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12043
 
  *) ac_try_echo=$ac_try;;
12044
 
esac
12045
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12046
 
  (eval "$ac_link") 2>conftest.er1
12047
 
  ac_status=$?
12048
 
  grep -v '^ *+' conftest.er1 >conftest.err
12049
 
  rm -f conftest.er1
12050
 
  cat conftest.err >&5
12051
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12052
 
  (exit $ac_status); } && {
12053
 
         test -z "$ac_c_werror_flag" ||
12054
 
         test ! -s conftest.err
12055
 
       } && test -s conftest$ac_exeext &&
12056
 
       $as_test_x conftest$ac_exeext; then
 
11439
if ac_fn_c_try_link "$LINENO"; then :
12057
11440
  ac_cv_lib_dl_dlopen=yes
12058
11441
else
12059
 
  echo "$as_me: failed program was:" >&5
12060
 
sed 's/^/| /' conftest.$ac_ext >&5
12061
 
 
12062
 
        ac_cv_lib_dl_dlopen=no
 
11442
  ac_cv_lib_dl_dlopen=no
12063
11443
fi
12064
 
 
12065
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12066
 
      conftest$ac_exeext conftest.$ac_ext
 
11444
rm -f core conftest.err conftest.$ac_objext \
 
11445
    conftest$ac_exeext conftest.$ac_ext
12067
11446
LIBS=$ac_check_lib_save_LIBS
12068
11447
fi
12069
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12070
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12071
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
11448
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
11449
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11450
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12072
11451
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12073
11452
else
12074
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12075
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
12076
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12077
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11453
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 
11454
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 
11455
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
11456
  $as_echo_n "(cached) " >&6
12078
11457
else
12079
11458
  ac_check_lib_save_LIBS=$LIBS
12080
11459
LIBS="-lsvld  $LIBS"
12081
 
cat >conftest.$ac_ext <<_ACEOF
12082
 
/* confdefs.h.  */
12083
 
_ACEOF
12084
 
cat confdefs.h >>conftest.$ac_ext
12085
 
cat >>conftest.$ac_ext <<_ACEOF
 
11460
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12086
11461
/* end confdefs.h.  */
12087
11462
 
12088
11463
/* Override any GCC internal prototype to avoid an error.
12100
11475
  return 0;
12101
11476
}
12102
11477
_ACEOF
12103
 
rm -f conftest.$ac_objext conftest$ac_exeext
12104
 
if { (ac_try="$ac_link"
12105
 
case "(($ac_try" in
12106
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12107
 
  *) ac_try_echo=$ac_try;;
12108
 
esac
12109
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12110
 
  (eval "$ac_link") 2>conftest.er1
12111
 
  ac_status=$?
12112
 
  grep -v '^ *+' conftest.er1 >conftest.err
12113
 
  rm -f conftest.er1
12114
 
  cat conftest.err >&5
12115
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12116
 
  (exit $ac_status); } && {
12117
 
         test -z "$ac_c_werror_flag" ||
12118
 
         test ! -s conftest.err
12119
 
       } && test -s conftest$ac_exeext &&
12120
 
       $as_test_x conftest$ac_exeext; then
 
11478
if ac_fn_c_try_link "$LINENO"; then :
12121
11479
  ac_cv_lib_svld_dlopen=yes
12122
11480
else
12123
 
  echo "$as_me: failed program was:" >&5
12124
 
sed 's/^/| /' conftest.$ac_ext >&5
12125
 
 
12126
 
        ac_cv_lib_svld_dlopen=no
 
11481
  ac_cv_lib_svld_dlopen=no
12127
11482
fi
12128
 
 
12129
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12130
 
      conftest$ac_exeext conftest.$ac_ext
 
11483
rm -f core conftest.err conftest.$ac_objext \
 
11484
    conftest$ac_exeext conftest.$ac_ext
12131
11485
LIBS=$ac_check_lib_save_LIBS
12132
11486
fi
12133
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12134
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
12135
 
if test $ac_cv_lib_svld_dlopen = yes; then
 
11487
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 
11488
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
11489
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12136
11490
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12137
11491
else
12138
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12139
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
12140
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12141
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11492
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 
11493
$as_echo_n "checking for dld_link in -ldld... " >&6; }
 
11494
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
11495
  $as_echo_n "(cached) " >&6
12142
11496
else
12143
11497
  ac_check_lib_save_LIBS=$LIBS
12144
11498
LIBS="-ldld  $LIBS"
12145
 
cat >conftest.$ac_ext <<_ACEOF
12146
 
/* confdefs.h.  */
12147
 
_ACEOF
12148
 
cat confdefs.h >>conftest.$ac_ext
12149
 
cat >>conftest.$ac_ext <<_ACEOF
 
11499
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12150
11500
/* end confdefs.h.  */
12151
11501
 
12152
11502
/* Override any GCC internal prototype to avoid an error.
12164
11514
  return 0;
12165
11515
}
12166
11516
_ACEOF
12167
 
rm -f conftest.$ac_objext conftest$ac_exeext
12168
 
if { (ac_try="$ac_link"
12169
 
case "(($ac_try" in
12170
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12171
 
  *) ac_try_echo=$ac_try;;
12172
 
esac
12173
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12174
 
  (eval "$ac_link") 2>conftest.er1
12175
 
  ac_status=$?
12176
 
  grep -v '^ *+' conftest.er1 >conftest.err
12177
 
  rm -f conftest.er1
12178
 
  cat conftest.err >&5
12179
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12180
 
  (exit $ac_status); } && {
12181
 
         test -z "$ac_c_werror_flag" ||
12182
 
         test ! -s conftest.err
12183
 
       } && test -s conftest$ac_exeext &&
12184
 
       $as_test_x conftest$ac_exeext; then
 
11517
if ac_fn_c_try_link "$LINENO"; then :
12185
11518
  ac_cv_lib_dld_dld_link=yes
12186
11519
else
12187
 
  echo "$as_me: failed program was:" >&5
12188
 
sed 's/^/| /' conftest.$ac_ext >&5
12189
 
 
12190
 
        ac_cv_lib_dld_dld_link=no
 
11520
  ac_cv_lib_dld_dld_link=no
12191
11521
fi
12192
 
 
12193
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12194
 
      conftest$ac_exeext conftest.$ac_ext
 
11522
rm -f core conftest.err conftest.$ac_objext \
 
11523
    conftest$ac_exeext conftest.$ac_ext
12195
11524
LIBS=$ac_check_lib_save_LIBS
12196
11525
fi
12197
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12198
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
12199
 
if test $ac_cv_lib_dld_dld_link = yes; then
 
11526
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 
11527
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
11528
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12200
11529
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12201
11530
fi
12202
11531
 
12235
11564
    save_LIBS="$LIBS"
12236
11565
    LIBS="$lt_cv_dlopen_libs $LIBS"
12237
11566
 
12238
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12239
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
12240
 
if test "${lt_cv_dlopen_self+set}" = set; then
12241
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11567
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 
11568
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 
11569
if test "${lt_cv_dlopen_self+set}" = set; then :
 
11570
  $as_echo_n "(cached) " >&6
12242
11571
else
12243
11572
          if test "$cross_compiling" = yes; then :
12244
11573
  lt_cv_dlopen_self=cross
12246
11575
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12247
11576
  lt_status=$lt_dlunknown
12248
11577
  cat > conftest.$ac_ext <<_LT_EOF
12249
 
#line 12249 "configure"
 
11578
#line 11578 "configure"
12250
11579
#include "confdefs.h"
12251
11580
 
12252
11581
#if HAVE_DLFCN_H
12287
11616
#  endif
12288
11617
#endif
12289
11618
 
12290
 
#ifdef __cplusplus
12291
 
extern "C" void exit (int);
12292
 
#endif
12293
 
 
12294
11619
void fnord() { int i=42;}
12295
11620
int main ()
12296
11621
{
12306
11631
  else
12307
11632
    puts (dlerror ());
12308
11633
 
12309
 
    exit (status);
 
11634
  return status;
12310
11635
}
12311
11636
_LT_EOF
12312
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
11637
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12313
11638
  (eval $ac_link) 2>&5
12314
11639
  ac_status=$?
12315
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12316
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11640
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11641
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12317
11642
    (./conftest; exit; ) >&5 2>/dev/null
12318
11643
    lt_status=$?
12319
11644
    case x$lt_status in
12330
11655
 
12331
11656
 
12332
11657
fi
12333
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12334
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
 
11658
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 
11659
$as_echo "$lt_cv_dlopen_self" >&6; }
12335
11660
 
12336
11661
    if test "x$lt_cv_dlopen_self" = xyes; then
12337
11662
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12338
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12339
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
12340
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
12341
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11663
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 
11664
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 
11665
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
11666
  $as_echo_n "(cached) " >&6
12342
11667
else
12343
11668
          if test "$cross_compiling" = yes; then :
12344
11669
  lt_cv_dlopen_self_static=cross
12346
11671
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12347
11672
  lt_status=$lt_dlunknown
12348
11673
  cat > conftest.$ac_ext <<_LT_EOF
12349
 
#line 12349 "configure"
 
11674
#line 11674 "configure"
12350
11675
#include "confdefs.h"
12351
11676
 
12352
11677
#if HAVE_DLFCN_H
12387
11712
#  endif
12388
11713
#endif
12389
11714
 
12390
 
#ifdef __cplusplus
12391
 
extern "C" void exit (int);
12392
 
#endif
12393
 
 
12394
11715
void fnord() { int i=42;}
12395
11716
int main ()
12396
11717
{
12406
11727
  else
12407
11728
    puts (dlerror ());
12408
11729
 
12409
 
    exit (status);
 
11730
  return status;
12410
11731
}
12411
11732
_LT_EOF
12412
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
11733
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12413
11734
  (eval $ac_link) 2>&5
12414
11735
  ac_status=$?
12415
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12416
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11736
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11737
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12417
11738
    (./conftest; exit; ) >&5 2>/dev/null
12418
11739
    lt_status=$?
12419
11740
    case x$lt_status in
12430
11751
 
12431
11752
 
12432
11753
fi
12433
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12434
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
 
11754
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 
11755
$as_echo "$lt_cv_dlopen_self_static" >&6; }
12435
11756
    fi
12436
11757
 
12437
11758
    CPPFLAGS="$save_CPPFLAGS"
12469
11790
 
12470
11791
striplib=
12471
11792
old_striplib=
12472
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12473
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
 
11793
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 
11794
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12474
11795
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12475
11796
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12476
11797
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12477
 
  { echo "$as_me:$LINENO: result: yes" >&5
12478
 
echo "${ECHO_T}yes" >&6; }
 
11798
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11799
$as_echo "yes" >&6; }
12479
11800
else
12480
11801
# FIXME - insert some real tests, host_os isn't really good enough
12481
11802
  case $host_os in
12483
11804
    if test -n "$STRIP" ; then
12484
11805
      striplib="$STRIP -x"
12485
11806
      old_striplib="$STRIP -S"
12486
 
      { echo "$as_me:$LINENO: result: yes" >&5
12487
 
echo "${ECHO_T}yes" >&6; }
 
11807
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11808
$as_echo "yes" >&6; }
12488
11809
    else
12489
 
      { echo "$as_me:$LINENO: result: no" >&5
12490
 
echo "${ECHO_T}no" >&6; }
 
11810
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11811
$as_echo "no" >&6; }
12491
11812
    fi
12492
11813
    ;;
12493
11814
  *)
12494
 
    { echo "$as_me:$LINENO: result: no" >&5
12495
 
echo "${ECHO_T}no" >&6; }
 
11815
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11816
$as_echo "no" >&6; }
12496
11817
    ;;
12497
11818
  esac
12498
11819
fi
12509
11830
 
12510
11831
 
12511
11832
  # Report which library types will actually be built
12512
 
  { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12513
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
12514
 
  { echo "$as_me:$LINENO: result: $can_build_shared" >&5
12515
 
echo "${ECHO_T}$can_build_shared" >&6; }
 
11833
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 
11834
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
11835
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 
11836
$as_echo "$can_build_shared" >&6; }
12516
11837
 
12517
 
  { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12518
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
 
11838
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 
11839
$as_echo_n "checking whether to build shared libraries... " >&6; }
12519
11840
  test "$can_build_shared" = "no" && enable_shared=no
12520
11841
 
12521
11842
  # On AIX, shared libraries and static libraries use the same namespace, and
12535
11856
    fi
12536
11857
    ;;
12537
11858
  esac
12538
 
  { echo "$as_me:$LINENO: result: $enable_shared" >&5
12539
 
echo "${ECHO_T}$enable_shared" >&6; }
 
11859
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 
11860
$as_echo "$enable_shared" >&6; }
12540
11861
 
12541
 
  { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12542
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
 
11862
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 
11863
$as_echo_n "checking whether to build static libraries... " >&6; }
12543
11864
  # Make sure either enable_shared or enable_static is yes.
12544
11865
  test "$enable_shared" = yes || enable_static=yes
12545
 
  { echo "$as_me:$LINENO: result: $enable_static" >&5
12546
 
echo "${ECHO_T}$enable_static" >&6; }
 
11866
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 
11867
$as_echo "$enable_static" >&6; }
12547
11868
 
12548
11869
 
12549
11870
 
12683
12004
 
12684
12005
 
12685
12006
# Check whether --with-gnu-ld was given.
12686
 
if test "${with_gnu_ld+set}" = set; then
 
12007
if test "${with_gnu_ld+set}" = set; then :
12687
12008
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12688
12009
else
12689
12010
  with_gnu_ld=no
12692
12013
ac_prog=ld
12693
12014
if test "$GCC" = yes; then
12694
12015
  # Check if gcc -print-prog-name=ld gives a path.
12695
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12696
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
12016
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
12017
$as_echo_n "checking for ld used by $CC... " >&6; }
12697
12018
  case $host in
12698
12019
  *-*-mingw*)
12699
12020
    # gcc leaves a trailing carriage return which upsets mingw
12722
12043
    ;;
12723
12044
  esac
12724
12045
elif test "$with_gnu_ld" = yes; then
12725
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
12726
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
12046
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
12047
$as_echo_n "checking for GNU ld... " >&6; }
12727
12048
else
12728
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12729
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
12049
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
12050
$as_echo_n "checking for non-GNU ld... " >&6; }
12730
12051
fi
12731
 
if test "${lt_cv_path_LD+set}" = set; then
12732
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12052
if test "${lt_cv_path_LD+set}" = set; then :
 
12053
  $as_echo_n "(cached) " >&6
12733
12054
else
12734
12055
  if test -z "$LD"; then
12735
12056
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12759
12080
 
12760
12081
LD="$lt_cv_path_LD"
12761
12082
if test -n "$LD"; then
12762
 
  { echo "$as_me:$LINENO: result: $LD" >&5
12763
 
echo "${ECHO_T}$LD" >&6; }
 
12083
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
12084
$as_echo "$LD" >&6; }
12764
12085
else
12765
 
  { echo "$as_me:$LINENO: result: no" >&5
12766
 
echo "${ECHO_T}no" >&6; }
 
12086
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12087
$as_echo "no" >&6; }
12767
12088
fi
12768
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12769
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12770
 
   { (exit 1); exit 1; }; }
12771
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12772
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
12773
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
12774
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12089
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
12090
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
12091
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
12092
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
12093
  $as_echo_n "(cached) " >&6
12775
12094
else
12776
12095
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
12777
12096
case `$LD -v 2>&1 </dev/null` in
12783
12102
  ;;
12784
12103
esac
12785
12104
fi
12786
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12787
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
12105
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
12106
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12788
12107
with_gnu_ld=$lt_cv_prog_gnu_ld
12789
12108
 
12790
12109
 
12838
12157
    fi
12839
12158
 
12840
12159
    # PORTME: fill in a description of your system's C++ link characteristics
12841
 
    { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12842
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
12160
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
12161
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12843
12162
    ld_shlibs_CXX=yes
12844
12163
    case $host_os in
12845
12164
      aix3*)
12928
12247
          fi
12929
12248
        fi
12930
12249
 
 
12250
        export_dynamic_flag_spec_CXX='${wl}-bexpall'
12931
12251
        # It seems that -bexpall does not export symbols beginning with
12932
12252
        # underscore (_), so it is better to generate a list of symbols to
12933
12253
        # export.
12938
12258
          allow_undefined_flag_CXX='-berok'
12939
12259
          # Determine the default libpath from the value encoded in an empty
12940
12260
          # executable.
12941
 
          cat >conftest.$ac_ext <<_ACEOF
12942
 
/* confdefs.h.  */
12943
 
_ACEOF
12944
 
cat confdefs.h >>conftest.$ac_ext
12945
 
cat >>conftest.$ac_ext <<_ACEOF
 
12261
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12946
12262
/* end confdefs.h.  */
12947
12263
 
12948
12264
int
12953
12269
  return 0;
12954
12270
}
12955
12271
_ACEOF
12956
 
rm -f conftest.$ac_objext conftest$ac_exeext
12957
 
if { (ac_try="$ac_link"
12958
 
case "(($ac_try" in
12959
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12960
 
  *) ac_try_echo=$ac_try;;
12961
 
esac
12962
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12963
 
  (eval "$ac_link") 2>conftest.er1
12964
 
  ac_status=$?
12965
 
  grep -v '^ *+' conftest.er1 >conftest.err
12966
 
  rm -f conftest.er1
12967
 
  cat conftest.err >&5
12968
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12969
 
  (exit $ac_status); } && {
12970
 
         test -z "$ac_cxx_werror_flag" ||
12971
 
         test ! -s conftest.err
12972
 
       } && test -s conftest$ac_exeext &&
12973
 
       $as_test_x conftest$ac_exeext; then
 
12272
if ac_fn_cxx_try_link "$LINENO"; then :
12974
12273
 
12975
12274
lt_aix_libpath_sed='
12976
12275
    /Import File Strings/,/^$/ {
12984
12283
if test -z "$aix_libpath"; then
12985
12284
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12986
12285
fi
12987
 
else
12988
 
  echo "$as_me: failed program was:" >&5
12989
 
sed 's/^/| /' conftest.$ac_ext >&5
12990
 
 
12991
 
 
12992
12286
fi
12993
 
 
12994
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12995
 
      conftest$ac_exeext conftest.$ac_ext
 
12287
rm -f core conftest.err conftest.$ac_objext \
 
12288
    conftest$ac_exeext conftest.$ac_ext
12996
12289
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12997
12290
 
12998
12291
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13006
12299
          else
13007
12300
            # Determine the default libpath from the value encoded in an
13008
12301
            # empty executable.
13009
 
            cat >conftest.$ac_ext <<_ACEOF
13010
 
/* confdefs.h.  */
13011
 
_ACEOF
13012
 
cat confdefs.h >>conftest.$ac_ext
13013
 
cat >>conftest.$ac_ext <<_ACEOF
 
12302
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13014
12303
/* end confdefs.h.  */
13015
12304
 
13016
12305
int
13021
12310
  return 0;
13022
12311
}
13023
12312
_ACEOF
13024
 
rm -f conftest.$ac_objext conftest$ac_exeext
13025
 
if { (ac_try="$ac_link"
13026
 
case "(($ac_try" in
13027
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13028
 
  *) ac_try_echo=$ac_try;;
13029
 
esac
13030
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13031
 
  (eval "$ac_link") 2>conftest.er1
13032
 
  ac_status=$?
13033
 
  grep -v '^ *+' conftest.er1 >conftest.err
13034
 
  rm -f conftest.er1
13035
 
  cat conftest.err >&5
13036
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13037
 
  (exit $ac_status); } && {
13038
 
         test -z "$ac_cxx_werror_flag" ||
13039
 
         test ! -s conftest.err
13040
 
       } && test -s conftest$ac_exeext &&
13041
 
       $as_test_x conftest$ac_exeext; then
 
12313
if ac_fn_cxx_try_link "$LINENO"; then :
13042
12314
 
13043
12315
lt_aix_libpath_sed='
13044
12316
    /Import File Strings/,/^$/ {
13052
12324
if test -z "$aix_libpath"; then
13053
12325
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13054
12326
fi
13055
 
else
13056
 
  echo "$as_me: failed program was:" >&5
13057
 
sed 's/^/| /' conftest.$ac_ext >&5
13058
 
 
13059
 
 
13060
12327
fi
13061
 
 
13062
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13063
 
      conftest$ac_exeext conftest.$ac_ext
 
12328
rm -f core conftest.err conftest.$ac_objext \
 
12329
    conftest$ac_exeext conftest.$ac_ext
13064
12330
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13065
12331
 
13066
12332
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13098
12364
        esac
13099
12365
        ;;
13100
12366
 
13101
 
      cygwin* | mingw* | pw32*)
 
12367
      cygwin* | mingw* | pw32* | cegcc*)
13102
12368
        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13103
12369
        # as there is no search path for DLLs.
13104
12370
        hardcode_libdir_flag_spec_CXX='-L$libdir'
13131
12397
  whole_archive_flag_spec_CXX=''
13132
12398
  link_all_deplibs_CXX=yes
13133
12399
  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13134
 
  if test "$GCC" = "yes"; then
 
12400
  case $cc_basename in
 
12401
     ifort*) _lt_dar_can_shared=yes ;;
 
12402
     *) _lt_dar_can_shared=$GCC ;;
 
12403
  esac
 
12404
  if test "$_lt_dar_can_shared" = "yes"; then
13135
12405
    output_verbose_link_cmd=echo
13136
12406
    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}"
13137
12407
    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13341
12611
        inherit_rpath_CXX=yes
13342
12612
        ;;
13343
12613
 
13344
 
      linux* | k*bsd*-gnu)
 
12614
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
13345
12615
        case $cc_basename in
13346
12616
          KCC*)
13347
12617
            # Kuck and Associates, Inc. (KAI) C++ Compiler
13800
13070
        ;;
13801
13071
    esac
13802
13072
 
13803
 
    { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13804
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
 
13073
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
 
13074
$as_echo "$ld_shlibs_CXX" >&6; }
13805
13075
    test "$ld_shlibs_CXX" = no && can_build_shared=no
13806
13076
 
13807
13077
    GCC_CXX="$GXX"
13828
13098
};
13829
13099
_LT_EOF
13830
13100
 
13831
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
13101
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13832
13102
  (eval $ac_compile) 2>&5
13833
13103
  ac_status=$?
13834
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13835
 
  (exit $ac_status); }; then
 
13104
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13105
  test $ac_status = 0; }; then
13836
13106
  # Parse the compiler output and extract the necessary
13837
13107
  # objects, libraries and library flags.
13838
13108
 
14013
13283
lt_prog_compiler_pic_CXX=
14014
13284
lt_prog_compiler_static_CXX=
14015
13285
 
14016
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14017
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
13286
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
13287
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14018
13288
 
14019
13289
  # C++ specific cases for pic, static, wl, etc.
14020
13290
  if test "$GXX" = yes; then
14048
13318
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14049
13319
      # PIC is the default for these OSes.
14050
13320
      ;;
14051
 
    mingw* | cygwin* | os2* | pw32*)
 
13321
    mingw* | cygwin* | os2* | pw32* | cegcc*)
14052
13322
      # This hack is so that the source file can tell whether it is being
14053
13323
      # built for inclusion in a dll (and should export symbols for example).
14054
13324
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
14074
13344
      fi
14075
13345
      ;;
14076
13346
    hpux*)
14077
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14078
 
      # not for PA HP-UX.
 
13347
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
13348
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
13349
      # sets the default TLS model and affects inlining.
14079
13350
      case $host_cpu in
14080
 
      hppa*64*|ia64*)
 
13351
      hppa*64*)
14081
13352
        ;;
14082
13353
      *)
14083
13354
        lt_prog_compiler_pic_CXX='-fPIC'
14168
13439
            ;;
14169
13440
        esac
14170
13441
        ;;
14171
 
      linux* | k*bsd*-gnu)
 
13442
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
14172
13443
        case $cc_basename in
14173
13444
          KCC*)
14174
13445
            # KAI C++ Compiler
14175
13446
            lt_prog_compiler_wl_CXX='--backend -Wl,'
14176
13447
            lt_prog_compiler_pic_CXX='-fPIC'
14177
13448
            ;;
14178
 
          icpc* | ecpc* )
14179
 
            # Intel C++
 
13449
          ecpc* )
 
13450
            # old Intel C++ for x86_64 which still supported -KPIC.
14180
13451
            lt_prog_compiler_wl_CXX='-Wl,'
14181
13452
            lt_prog_compiler_pic_CXX='-KPIC'
14182
13453
            lt_prog_compiler_static_CXX='-static'
14183
13454
            ;;
 
13455
          icpc* )
 
13456
            # Intel C++, used to be incompatible with GCC.
 
13457
            # ICC 10 doesn't accept -KPIC any more.
 
13458
            lt_prog_compiler_wl_CXX='-Wl,'
 
13459
            lt_prog_compiler_pic_CXX='-fPIC'
 
13460
            lt_prog_compiler_static_CXX='-static'
 
13461
            ;;
14184
13462
          pgCC* | pgcpp*)
14185
13463
            # Portland Group C++ compiler
14186
13464
            lt_prog_compiler_wl_CXX='-Wl,'
14225
13503
            ;;
14226
13504
        esac
14227
13505
        ;;
14228
 
      netbsd*)
 
13506
      netbsd* | netbsdelf*-gnu)
14229
13507
        ;;
14230
13508
      *qnx* | *nto*)
14231
13509
        # QNX uses GNU C++, but need to define -shared option too, otherwise
14322
13600
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14323
13601
    ;;
14324
13602
esac
14325
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14326
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
 
13603
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
 
13604
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14327
13605
 
14328
13606
 
14329
13607
 
14331
13609
# Check to make sure the PIC flag actually works.
14332
13610
#
14333
13611
if test -n "$lt_prog_compiler_pic_CXX"; then
14334
 
  { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14335
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
14336
 
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
14337
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13612
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
13613
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
 
13614
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
 
13615
  $as_echo_n "(cached) " >&6
14338
13616
else
14339
13617
  lt_cv_prog_compiler_pic_works_CXX=no
14340
13618
   ac_outfile=conftest.$ac_objext
14349
13627
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14350
13628
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14351
13629
   -e 's:$: $lt_compiler_flag:'`
14352
 
   (eval echo "\"\$as_me:14352: $lt_compile\"" >&5)
 
13630
   (eval echo "\"\$as_me:13630: $lt_compile\"" >&5)
14353
13631
   (eval "$lt_compile" 2>conftest.err)
14354
13632
   ac_status=$?
14355
13633
   cat conftest.err >&5
14356
 
   echo "$as_me:14356: \$? = $ac_status" >&5
 
13634
   echo "$as_me:13634: \$? = $ac_status" >&5
14357
13635
   if (exit $ac_status) && test -s "$ac_outfile"; then
14358
13636
     # The compiler can only warn and ignore the option if not recognized
14359
13637
     # So say no if there are warnings other than the usual output.
14366
13644
   $RM conftest*
14367
13645
 
14368
13646
fi
14369
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14370
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
 
13647
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
13648
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14371
13649
 
14372
13650
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14373
13651
    case $lt_prog_compiler_pic_CXX in
14387
13665
# Check to make sure the static flag actually works.
14388
13666
#
14389
13667
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14390
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14391
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14392
 
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
14393
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13668
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
13669
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
13670
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
 
13671
  $as_echo_n "(cached) " >&6
14394
13672
else
14395
13673
  lt_cv_prog_compiler_static_works_CXX=no
14396
13674
   save_LDFLAGS="$LDFLAGS"
14415
13693
   LDFLAGS="$save_LDFLAGS"
14416
13694
 
14417
13695
fi
14418
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14419
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
 
13696
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
13697
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14420
13698
 
14421
13699
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14422
13700
    :
14427
13705
 
14428
13706
 
14429
13707
 
14430
 
    { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14431
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14432
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14433
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14434
 
else
14435
 
  lt_cv_prog_compiler_c_o_CXX=no
14436
 
   $RM -r conftest 2>/dev/null
14437
 
   mkdir conftest
14438
 
   cd conftest
14439
 
   mkdir out
14440
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14441
 
 
14442
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14443
 
   # Insert the option either (1) after the last *FLAGS variable, or
14444
 
   # (2) before a word containing "conftest.", or (3) at the end.
14445
 
   # Note that $ac_compile itself does not contain backslashes and begins
14446
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14447
 
   lt_compile=`echo "$ac_compile" | $SED \
14448
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14449
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14450
 
   -e 's:$: $lt_compiler_flag:'`
14451
 
   (eval echo "\"\$as_me:14451: $lt_compile\"" >&5)
14452
 
   (eval "$lt_compile" 2>out/conftest.err)
14453
 
   ac_status=$?
14454
 
   cat out/conftest.err >&5
14455
 
   echo "$as_me:14455: \$? = $ac_status" >&5
14456
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14457
 
   then
14458
 
     # The compiler can only warn and ignore the option if not recognized
14459
 
     # So say no if there are warnings
14460
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14461
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14462
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14463
 
       lt_cv_prog_compiler_c_o_CXX=yes
14464
 
     fi
14465
 
   fi
14466
 
   chmod u+w . 2>&5
14467
 
   $RM conftest*
14468
 
   # SGI C++ compiler will create directory out/ii_files/ for
14469
 
   # template instantiation
14470
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14471
 
   $RM out/* && rmdir out
14472
 
   cd ..
14473
 
   $RM -r conftest
14474
 
   $RM conftest*
14475
 
 
14476
 
fi
14477
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14478
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
14479
 
 
14480
 
 
14481
 
 
14482
 
    { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14483
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14484
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14485
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14486
 
else
14487
 
  lt_cv_prog_compiler_c_o_CXX=no
14488
 
   $RM -r conftest 2>/dev/null
14489
 
   mkdir conftest
14490
 
   cd conftest
14491
 
   mkdir out
14492
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14493
 
 
14494
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14495
 
   # Insert the option either (1) after the last *FLAGS variable, or
14496
 
   # (2) before a word containing "conftest.", or (3) at the end.
14497
 
   # Note that $ac_compile itself does not contain backslashes and begins
14498
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14499
 
   lt_compile=`echo "$ac_compile" | $SED \
14500
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14501
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14502
 
   -e 's:$: $lt_compiler_flag:'`
14503
 
   (eval echo "\"\$as_me:14503: $lt_compile\"" >&5)
14504
 
   (eval "$lt_compile" 2>out/conftest.err)
14505
 
   ac_status=$?
14506
 
   cat out/conftest.err >&5
14507
 
   echo "$as_me:14507: \$? = $ac_status" >&5
14508
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14509
 
   then
14510
 
     # The compiler can only warn and ignore the option if not recognized
14511
 
     # So say no if there are warnings
14512
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14513
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14514
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14515
 
       lt_cv_prog_compiler_c_o_CXX=yes
14516
 
     fi
14517
 
   fi
14518
 
   chmod u+w . 2>&5
14519
 
   $RM conftest*
14520
 
   # SGI C++ compiler will create directory out/ii_files/ for
14521
 
   # template instantiation
14522
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14523
 
   $RM out/* && rmdir out
14524
 
   cd ..
14525
 
   $RM -r conftest
14526
 
   $RM conftest*
14527
 
 
14528
 
fi
14529
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14530
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
13708
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
13709
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
13710
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
13711
  $as_echo_n "(cached) " >&6
 
13712
else
 
13713
  lt_cv_prog_compiler_c_o_CXX=no
 
13714
   $RM -r conftest 2>/dev/null
 
13715
   mkdir conftest
 
13716
   cd conftest
 
13717
   mkdir out
 
13718
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
13719
 
 
13720
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
13721
   # Insert the option either (1) after the last *FLAGS variable, or
 
13722
   # (2) before a word containing "conftest.", or (3) at the end.
 
13723
   # Note that $ac_compile itself does not contain backslashes and begins
 
13724
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
13725
   lt_compile=`echo "$ac_compile" | $SED \
 
13726
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
13727
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
13728
   -e 's:$: $lt_compiler_flag:'`
 
13729
   (eval echo "\"\$as_me:13729: $lt_compile\"" >&5)
 
13730
   (eval "$lt_compile" 2>out/conftest.err)
 
13731
   ac_status=$?
 
13732
   cat out/conftest.err >&5
 
13733
   echo "$as_me:13733: \$? = $ac_status" >&5
 
13734
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
13735
   then
 
13736
     # The compiler can only warn and ignore the option if not recognized
 
13737
     # So say no if there are warnings
 
13738
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
13739
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
13740
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
13741
       lt_cv_prog_compiler_c_o_CXX=yes
 
13742
     fi
 
13743
   fi
 
13744
   chmod u+w . 2>&5
 
13745
   $RM conftest*
 
13746
   # SGI C++ compiler will create directory out/ii_files/ for
 
13747
   # template instantiation
 
13748
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
13749
   $RM out/* && rmdir out
 
13750
   cd ..
 
13751
   $RM -r conftest
 
13752
   $RM conftest*
 
13753
 
 
13754
fi
 
13755
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
13756
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
13757
 
 
13758
 
 
13759
 
 
13760
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
13761
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
13762
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
13763
  $as_echo_n "(cached) " >&6
 
13764
else
 
13765
  lt_cv_prog_compiler_c_o_CXX=no
 
13766
   $RM -r conftest 2>/dev/null
 
13767
   mkdir conftest
 
13768
   cd conftest
 
13769
   mkdir out
 
13770
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
13771
 
 
13772
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
13773
   # Insert the option either (1) after the last *FLAGS variable, or
 
13774
   # (2) before a word containing "conftest.", or (3) at the end.
 
13775
   # Note that $ac_compile itself does not contain backslashes and begins
 
13776
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
13777
   lt_compile=`echo "$ac_compile" | $SED \
 
13778
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
13779
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
13780
   -e 's:$: $lt_compiler_flag:'`
 
13781
   (eval echo "\"\$as_me:13781: $lt_compile\"" >&5)
 
13782
   (eval "$lt_compile" 2>out/conftest.err)
 
13783
   ac_status=$?
 
13784
   cat out/conftest.err >&5
 
13785
   echo "$as_me:13785: \$? = $ac_status" >&5
 
13786
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
13787
   then
 
13788
     # The compiler can only warn and ignore the option if not recognized
 
13789
     # So say no if there are warnings
 
13790
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
13791
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
13792
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
13793
       lt_cv_prog_compiler_c_o_CXX=yes
 
13794
     fi
 
13795
   fi
 
13796
   chmod u+w . 2>&5
 
13797
   $RM conftest*
 
13798
   # SGI C++ compiler will create directory out/ii_files/ for
 
13799
   # template instantiation
 
13800
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
13801
   $RM out/* && rmdir out
 
13802
   cd ..
 
13803
   $RM -r conftest
 
13804
   $RM conftest*
 
13805
 
 
13806
fi
 
13807
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
13808
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14531
13809
 
14532
13810
 
14533
13811
 
14535
13813
hard_links="nottested"
14536
13814
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14537
13815
  # do not overwrite the value of need_locks provided by the user
14538
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14539
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
13816
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
13817
$as_echo_n "checking if we can lock with hard links... " >&6; }
14540
13818
  hard_links=yes
14541
13819
  $RM conftest*
14542
13820
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14543
13821
  touch conftest.a
14544
13822
  ln conftest.a conftest.b 2>&5 || hard_links=no
14545
13823
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14546
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
14547
 
echo "${ECHO_T}$hard_links" >&6; }
 
13824
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
13825
$as_echo "$hard_links" >&6; }
14548
13826
  if test "$hard_links" = no; then
14549
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14550
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
13827
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
13828
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14551
13829
    need_locks=warn
14552
13830
  fi
14553
13831
else
14556
13834
 
14557
13835
 
14558
13836
 
14559
 
    { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14560
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
13837
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
13838
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14561
13839
 
14562
13840
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14563
13841
  case $host_os in
14573
13851
  pw32*)
14574
13852
    export_symbols_cmds_CXX="$ltdll_cmds"
14575
13853
  ;;
14576
 
  cygwin* | mingw*)
 
13854
  cygwin* | mingw* | cegcc*)
14577
13855
    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'
14578
13856
  ;;
 
13857
  linux* | k*bsd*-gnu)
 
13858
    link_all_deplibs_CXX=no
 
13859
  ;;
14579
13860
  *)
14580
13861
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14581
13862
  ;;
14582
13863
  esac
14583
13864
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14584
13865
 
14585
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14586
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
 
13866
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
 
13867
$as_echo "$ld_shlibs_CXX" >&6; }
14587
13868
test "$ld_shlibs_CXX" = no && can_build_shared=no
14588
13869
 
14589
13870
with_gnu_ld_CXX=$with_gnu_ld
14610
13891
      # Test whether the compiler implicitly links with -lc since on some
14611
13892
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14612
13893
      # to ld, don't add -lc before -lgcc.
14613
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14614
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
 
13894
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
13895
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14615
13896
      $RM conftest*
14616
13897
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14617
13898
 
14618
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
13899
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14619
13900
  (eval $ac_compile) 2>&5
14620
13901
  ac_status=$?
14621
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14622
 
  (exit $ac_status); } 2>conftest.err; then
 
13902
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13903
  test $ac_status = 0; } 2>conftest.err; then
14623
13904
        soname=conftest
14624
13905
        lib=conftest
14625
13906
        libobjs=conftest.$ac_objext
14633
13914
        libname=conftest
14634
13915
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14635
13916
        allow_undefined_flag_CXX=
14636
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
13917
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14637
13918
  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14638
13919
  ac_status=$?
14639
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14640
 
  (exit $ac_status); }
 
13920
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13921
  test $ac_status = 0; }
14641
13922
        then
14642
13923
          archive_cmds_need_lc_CXX=no
14643
13924
        else
14648
13929
        cat conftest.err 1>&5
14649
13930
      fi
14650
13931
      $RM conftest*
14651
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14652
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
 
13932
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
 
13933
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
14653
13934
      ;;
14654
13935
    esac
14655
13936
  fi
14719
14000
 
14720
14001
 
14721
14002
 
14722
 
    { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14723
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 
14003
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
14004
$as_echo_n "checking dynamic linker characteristics... " >&6; }
14724
14005
 
14725
14006
library_names_spec=
14726
14007
libname_spec='lib$name'
14831
14112
  # libtool to hard-code these into programs
14832
14113
  ;;
14833
14114
 
14834
 
cygwin* | mingw* | pw32*)
 
14115
cygwin* | mingw* | pw32* | cegcc*)
14835
14116
  version_type=windows
14836
14117
  shrext_cmds=".dll"
14837
14118
  need_version=no
14838
14119
  need_lib_prefix=no
14839
14120
 
14840
14121
  case $GCC,$host_os in
14841
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
14122
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14842
14123
    library_names_spec='$libname.dll.a'
14843
14124
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14844
14125
    postinstall_cmds='base_file=`basename \${file}`~
14861
14142
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14862
14143
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14863
14144
      ;;
14864
 
    mingw*)
 
14145
    mingw* | cegcc*)
14865
14146
      # MinGW DLLs use traditional 'lib' prefix
14866
14147
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14867
14148
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15075
14356
  ;;
15076
14357
 
15077
14358
# This must be Linux ELF.
15078
 
linux* | k*bsd*-gnu)
 
14359
linux* | k*bsd*-gnu | kopensolaris*-gnu)
15079
14360
  version_type=linux
15080
14361
  need_lib_prefix=no
15081
14362
  need_version=no
15089
14370
  save_libdir=$libdir
15090
14371
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15091
14372
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15092
 
  cat >conftest.$ac_ext <<_ACEOF
15093
 
/* confdefs.h.  */
15094
 
_ACEOF
15095
 
cat confdefs.h >>conftest.$ac_ext
15096
 
cat >>conftest.$ac_ext <<_ACEOF
 
14373
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15097
14374
/* end confdefs.h.  */
15098
14375
 
15099
14376
int
15104
14381
  return 0;
15105
14382
}
15106
14383
_ACEOF
15107
 
rm -f conftest.$ac_objext conftest$ac_exeext
15108
 
if { (ac_try="$ac_link"
15109
 
case "(($ac_try" in
15110
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15111
 
  *) ac_try_echo=$ac_try;;
15112
 
esac
15113
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15114
 
  (eval "$ac_link") 2>conftest.er1
15115
 
  ac_status=$?
15116
 
  grep -v '^ *+' conftest.er1 >conftest.err
15117
 
  rm -f conftest.er1
15118
 
  cat conftest.err >&5
15119
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15120
 
  (exit $ac_status); } && {
15121
 
         test -z "$ac_cxx_werror_flag" ||
15122
 
         test ! -s conftest.err
15123
 
       } && test -s conftest$ac_exeext &&
15124
 
       $as_test_x conftest$ac_exeext; then
15125
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
14384
if ac_fn_cxx_try_link "$LINENO"; then :
 
14385
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15126
14386
  shlibpath_overrides_runpath=yes
15127
14387
fi
15128
 
 
15129
 
else
15130
 
  echo "$as_me: failed program was:" >&5
15131
 
sed 's/^/| /' conftest.$ac_ext >&5
15132
 
 
15133
 
 
15134
14388
fi
15135
 
 
15136
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15137
 
      conftest$ac_exeext conftest.$ac_ext
 
14389
rm -f core conftest.err conftest.$ac_objext \
 
14390
    conftest$ac_exeext conftest.$ac_ext
15138
14391
  LDFLAGS=$save_LDFLAGS
15139
14392
  libdir=$save_libdir
15140
14393
 
15158
14411
  dynamic_linker='GNU/Linux ld.so'
15159
14412
  ;;
15160
14413
 
 
14414
netbsdelf*-gnu)
 
14415
  version_type=linux
 
14416
  need_lib_prefix=no
 
14417
  need_version=no
 
14418
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
14419
  soname_spec='${libname}${release}${shared_ext}$major'
 
14420
  shlibpath_var=LD_LIBRARY_PATH
 
14421
  shlibpath_overrides_runpath=no
 
14422
  hardcode_into_libs=yes
 
14423
  dynamic_linker='NetBSD ld.elf_so'
 
14424
  ;;
 
14425
 
15161
14426
netbsd*)
15162
14427
  version_type=sunos
15163
14428
  need_lib_prefix=no
15329
14594
  version_type=linux
15330
14595
  need_lib_prefix=no
15331
14596
  need_version=no
15332
 
  library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14597
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15333
14598
  shlibpath_var=LD_LIBRARY_PATH
15334
14599
  shlibpath_overrides_runpath=no
15335
14600
  hardcode_into_libs=yes
15346
14611
  dynamic_linker=no
15347
14612
  ;;
15348
14613
esac
15349
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15350
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
14614
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
14615
$as_echo "$dynamic_linker" >&6; }
15351
14616
test "$dynamic_linker" = no && can_build_shared=no
15352
14617
 
15353
14618
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15397
14662
 
15398
14663
 
15399
14664
 
15400
 
    { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15401
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
14665
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
14666
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15402
14667
hardcode_action_CXX=
15403
14668
if test -n "$hardcode_libdir_flag_spec_CXX" ||
15404
14669
   test -n "$runpath_var_CXX" ||
15422
14687
  # directories.
15423
14688
  hardcode_action_CXX=unsupported
15424
14689
fi
15425
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15426
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
 
14690
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
 
14691
$as_echo "$hardcode_action_CXX" >&6; }
15427
14692
 
15428
14693
if test "$hardcode_action_CXX" = relink ||
15429
14694
   test "$inherit_rpath_CXX" = yes; then
15482
14747
 
15483
14748
 
15484
14749
# Checks for header files.
15485
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
15486
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
15487
 
if test "${ac_cv_header_stdc+set}" = set; then
15488
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14750
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
14751
$as_echo_n "checking for ANSI C header files... " >&6; }
 
14752
if test "${ac_cv_header_stdc+set}" = set; then :
 
14753
  $as_echo_n "(cached) " >&6
15489
14754
else
15490
 
  cat >conftest.$ac_ext <<_ACEOF
15491
 
/* confdefs.h.  */
15492
 
_ACEOF
15493
 
cat confdefs.h >>conftest.$ac_ext
15494
 
cat >>conftest.$ac_ext <<_ACEOF
 
14755
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15495
14756
/* end confdefs.h.  */
15496
14757
#include <stdlib.h>
15497
14758
#include <stdarg.h>
15506
14767
  return 0;
15507
14768
}
15508
14769
_ACEOF
15509
 
rm -f conftest.$ac_objext
15510
 
if { (ac_try="$ac_compile"
15511
 
case "(($ac_try" in
15512
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15513
 
  *) ac_try_echo=$ac_try;;
15514
 
esac
15515
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15516
 
  (eval "$ac_compile") 2>conftest.er1
15517
 
  ac_status=$?
15518
 
  grep -v '^ *+' conftest.er1 >conftest.err
15519
 
  rm -f conftest.er1
15520
 
  cat conftest.err >&5
15521
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15522
 
  (exit $ac_status); } && {
15523
 
         test -z "$ac_cxx_werror_flag" ||
15524
 
         test ! -s conftest.err
15525
 
       } && test -s conftest.$ac_objext; then
 
14770
if ac_fn_cxx_try_compile "$LINENO"; then :
15526
14771
  ac_cv_header_stdc=yes
15527
14772
else
15528
 
  echo "$as_me: failed program was:" >&5
15529
 
sed 's/^/| /' conftest.$ac_ext >&5
15530
 
 
15531
 
        ac_cv_header_stdc=no
 
14773
  ac_cv_header_stdc=no
15532
14774
fi
15533
 
 
15534
14775
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15535
14776
 
15536
14777
if test $ac_cv_header_stdc = yes; then
15537
14778
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15538
 
  cat >conftest.$ac_ext <<_ACEOF
15539
 
/* confdefs.h.  */
15540
 
_ACEOF
15541
 
cat confdefs.h >>conftest.$ac_ext
15542
 
cat >>conftest.$ac_ext <<_ACEOF
 
14779
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15543
14780
/* end confdefs.h.  */
15544
14781
#include <string.h>
15545
14782
 
15546
14783
_ACEOF
15547
14784
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15548
 
  $EGREP "memchr" >/dev/null 2>&1; then
15549
 
  :
 
14785
  $EGREP "memchr" >/dev/null 2>&1; then :
 
14786
 
15550
14787
else
15551
14788
  ac_cv_header_stdc=no
15552
14789
fi
15556
14793
 
15557
14794
if test $ac_cv_header_stdc = yes; then
15558
14795
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15559
 
  cat >conftest.$ac_ext <<_ACEOF
15560
 
/* confdefs.h.  */
15561
 
_ACEOF
15562
 
cat confdefs.h >>conftest.$ac_ext
15563
 
cat >>conftest.$ac_ext <<_ACEOF
 
14796
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15564
14797
/* end confdefs.h.  */
15565
14798
#include <stdlib.h>
15566
14799
 
15567
14800
_ACEOF
15568
14801
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15569
 
  $EGREP "free" >/dev/null 2>&1; then
15570
 
  :
 
14802
  $EGREP "free" >/dev/null 2>&1; then :
 
14803
 
15571
14804
else
15572
14805
  ac_cv_header_stdc=no
15573
14806
fi
15577
14810
 
15578
14811
if test $ac_cv_header_stdc = yes; then
15579
14812
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15580
 
  if test "$cross_compiling" = yes; then
 
14813
  if test "$cross_compiling" = yes; then :
15581
14814
  :
15582
14815
else
15583
 
  cat >conftest.$ac_ext <<_ACEOF
15584
 
/* confdefs.h.  */
15585
 
_ACEOF
15586
 
cat confdefs.h >>conftest.$ac_ext
15587
 
cat >>conftest.$ac_ext <<_ACEOF
 
14816
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15588
14817
/* end confdefs.h.  */
15589
14818
#include <ctype.h>
15590
14819
#include <stdlib.h>
15611
14840
  return 0;
15612
14841
}
15613
14842
_ACEOF
15614
 
rm -f conftest$ac_exeext
15615
 
if { (ac_try="$ac_link"
15616
 
case "(($ac_try" in
15617
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15618
 
  *) ac_try_echo=$ac_try;;
15619
 
esac
15620
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15621
 
  (eval "$ac_link") 2>&5
15622
 
  ac_status=$?
15623
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15624
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15625
 
  { (case "(($ac_try" in
15626
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15627
 
  *) ac_try_echo=$ac_try;;
15628
 
esac
15629
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15630
 
  (eval "$ac_try") 2>&5
15631
 
  ac_status=$?
15632
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633
 
  (exit $ac_status); }; }; then
15634
 
  :
 
14843
if ac_fn_cxx_try_run "$LINENO"; then :
 
14844
 
15635
14845
else
15636
 
  echo "$as_me: program exited with status $ac_status" >&5
15637
 
echo "$as_me: failed program was:" >&5
15638
 
sed 's/^/| /' conftest.$ac_ext >&5
15639
 
 
15640
 
( exit $ac_status )
15641
 
ac_cv_header_stdc=no
15642
 
fi
15643
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15644
 
fi
15645
 
 
15646
 
 
15647
 
fi
15648
 
fi
15649
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
15650
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
14846
  ac_cv_header_stdc=no
 
14847
fi
 
14848
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
14849
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
14850
fi
 
14851
 
 
14852
fi
 
14853
fi
 
14854
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
14855
$as_echo "$ac_cv_header_stdc" >&6; }
15651
14856
if test $ac_cv_header_stdc = yes; then
15652
14857
 
15653
 
cat >>confdefs.h <<\_ACEOF
15654
 
#define STDC_HEADERS 1
15655
 
_ACEOF
 
14858
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
15656
14859
 
15657
14860
fi
15658
14861
 
15659
 
 
15660
 
 
15661
 
 
15662
 
 
15663
 
 
15664
14862
for ac_header in fcntl.h inttypes.h limits.h stdlib.h unistd.h
15665
 
do
15666
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15667
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15668
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
15669
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15670
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15671
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15672
 
fi
15673
 
ac_res=`eval echo '${'$as_ac_Header'}'`
15674
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
15675
 
echo "${ECHO_T}$ac_res" >&6; }
15676
 
else
15677
 
  # Is the header compilable?
15678
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
15679
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15680
 
cat >conftest.$ac_ext <<_ACEOF
15681
 
/* confdefs.h.  */
15682
 
_ACEOF
15683
 
cat confdefs.h >>conftest.$ac_ext
15684
 
cat >>conftest.$ac_ext <<_ACEOF
15685
 
/* end confdefs.h.  */
15686
 
$ac_includes_default
15687
 
#include <$ac_header>
15688
 
_ACEOF
15689
 
rm -f conftest.$ac_objext
15690
 
if { (ac_try="$ac_compile"
15691
 
case "(($ac_try" in
15692
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15693
 
  *) ac_try_echo=$ac_try;;
15694
 
esac
15695
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15696
 
  (eval "$ac_compile") 2>conftest.er1
15697
 
  ac_status=$?
15698
 
  grep -v '^ *+' conftest.er1 >conftest.err
15699
 
  rm -f conftest.er1
15700
 
  cat conftest.err >&5
15701
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15702
 
  (exit $ac_status); } && {
15703
 
         test -z "$ac_cxx_werror_flag" ||
15704
 
         test ! -s conftest.err
15705
 
       } && test -s conftest.$ac_objext; then
15706
 
  ac_header_compiler=yes
15707
 
else
15708
 
  echo "$as_me: failed program was:" >&5
15709
 
sed 's/^/| /' conftest.$ac_ext >&5
15710
 
 
15711
 
        ac_header_compiler=no
15712
 
fi
15713
 
 
15714
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15715
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15716
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
15717
 
 
15718
 
# Is the header present?
15719
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
15720
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15721
 
cat >conftest.$ac_ext <<_ACEOF
15722
 
/* confdefs.h.  */
15723
 
_ACEOF
15724
 
cat confdefs.h >>conftest.$ac_ext
15725
 
cat >>conftest.$ac_ext <<_ACEOF
15726
 
/* end confdefs.h.  */
15727
 
#include <$ac_header>
15728
 
_ACEOF
15729
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
15730
 
case "(($ac_try" in
15731
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15732
 
  *) ac_try_echo=$ac_try;;
15733
 
esac
15734
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15735
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15736
 
  ac_status=$?
15737
 
  grep -v '^ *+' conftest.er1 >conftest.err
15738
 
  rm -f conftest.er1
15739
 
  cat conftest.err >&5
15740
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15741
 
  (exit $ac_status); } >/dev/null && {
15742
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
15743
 
         test ! -s conftest.err
15744
 
       }; then
15745
 
  ac_header_preproc=yes
15746
 
else
15747
 
  echo "$as_me: failed program was:" >&5
15748
 
sed 's/^/| /' conftest.$ac_ext >&5
15749
 
 
15750
 
  ac_header_preproc=no
15751
 
fi
15752
 
 
15753
 
rm -f conftest.err conftest.$ac_ext
15754
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15755
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
15756
 
 
15757
 
# So?  What about this header?
15758
 
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15759
 
  yes:no: )
15760
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15761
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15762
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15763
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15764
 
    ac_header_preproc=yes
15765
 
    ;;
15766
 
  no:yes:* )
15767
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15768
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15769
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15770
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15771
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15772
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15773
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15774
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15775
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15776
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15777
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15778
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15779
 
    ( cat <<\_ASBOX
15780
 
## ---------------------------------------- ##
15781
 
## Report this to protobuf@googlegroups.com ##
15782
 
## ---------------------------------------- ##
15783
 
_ASBOX
15784
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
15785
 
    ;;
15786
 
esac
15787
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
15788
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15789
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15790
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15791
 
else
15792
 
  eval "$as_ac_Header=\$ac_header_preproc"
15793
 
fi
15794
 
ac_res=`eval echo '${'$as_ac_Header'}'`
15795
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
15796
 
echo "${ECHO_T}$ac_res" >&6; }
15797
 
 
15798
 
fi
15799
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
14863
do :
 
14864
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
14865
ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
14866
eval as_val=\$$as_ac_Header
 
14867
   if test "x$as_val" = x""yes; then :
15800
14868
  cat >>confdefs.h <<_ACEOF
15801
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
14869
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15802
14870
_ACEOF
15803
14871
 
15804
14872
fi
15807
14875
 
15808
14876
 
15809
14877
# Checks for library functions.
15810
 
{ echo "$as_me:$LINENO: checking for working memcmp" >&5
15811
 
echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; }
15812
 
if test "${ac_cv_func_memcmp_working+set}" = set; then
15813
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14878
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
 
14879
$as_echo_n "checking for working memcmp... " >&6; }
 
14880
if test "${ac_cv_func_memcmp_working+set}" = set; then :
 
14881
  $as_echo_n "(cached) " >&6
15814
14882
else
15815
 
  if test "$cross_compiling" = yes; then
 
14883
  if test "$cross_compiling" = yes; then :
15816
14884
  ac_cv_func_memcmp_working=no
15817
14885
else
15818
 
  cat >conftest.$ac_ext <<_ACEOF
15819
 
/* confdefs.h.  */
15820
 
_ACEOF
15821
 
cat confdefs.h >>conftest.$ac_ext
15822
 
cat >>conftest.$ac_ext <<_ACEOF
 
14886
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15823
14887
/* end confdefs.h.  */
15824
14888
$ac_includes_default
15825
14889
int
15854
14918
  return 0;
15855
14919
}
15856
14920
_ACEOF
15857
 
rm -f conftest$ac_exeext
15858
 
if { (ac_try="$ac_link"
15859
 
case "(($ac_try" in
15860
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15861
 
  *) ac_try_echo=$ac_try;;
15862
 
esac
15863
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15864
 
  (eval "$ac_link") 2>&5
15865
 
  ac_status=$?
15866
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15867
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15868
 
  { (case "(($ac_try" in
15869
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15870
 
  *) ac_try_echo=$ac_try;;
15871
 
esac
15872
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15873
 
  (eval "$ac_try") 2>&5
15874
 
  ac_status=$?
15875
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15876
 
  (exit $ac_status); }; }; then
 
14921
if ac_fn_cxx_try_run "$LINENO"; then :
15877
14922
  ac_cv_func_memcmp_working=yes
15878
14923
else
15879
 
  echo "$as_me: program exited with status $ac_status" >&5
15880
 
echo "$as_me: failed program was:" >&5
15881
 
sed 's/^/| /' conftest.$ac_ext >&5
15882
 
 
15883
 
( exit $ac_status )
15884
 
ac_cv_func_memcmp_working=no
15885
 
fi
15886
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15887
 
fi
15888
 
 
15889
 
 
15890
 
fi
15891
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
15892
 
echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
 
14924
  ac_cv_func_memcmp_working=no
 
14925
fi
 
14926
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
14927
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
14928
fi
 
14929
 
 
14930
fi
 
14931
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
 
14932
$as_echo "$ac_cv_func_memcmp_working" >&6; }
15893
14933
test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
15894
14934
  *" memcmp.$ac_objext "* ) ;;
15895
14935
  *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
15897
14937
esac
15898
14938
 
15899
14939
 
15900
 
{ echo "$as_me:$LINENO: checking for working strtod" >&5
15901
 
echo $ECHO_N "checking for working strtod... $ECHO_C" >&6; }
15902
 
if test "${ac_cv_func_strtod+set}" = set; then
15903
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14940
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
 
14941
$as_echo_n "checking for working strtod... " >&6; }
 
14942
if test "${ac_cv_func_strtod+set}" = set; then :
 
14943
  $as_echo_n "(cached) " >&6
15904
14944
else
15905
 
  if test "$cross_compiling" = yes; then
 
14945
  if test "$cross_compiling" = yes; then :
15906
14946
  ac_cv_func_strtod=no
15907
14947
else
15908
 
  cat >conftest.$ac_ext <<_ACEOF
15909
 
/* confdefs.h.  */
15910
 
_ACEOF
15911
 
cat confdefs.h >>conftest.$ac_ext
15912
 
cat >>conftest.$ac_ext <<_ACEOF
 
14948
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15913
14949
/* end confdefs.h.  */
15914
14950
 
15915
14951
$ac_includes_default
15942
14978
}
15943
14979
 
15944
14980
_ACEOF
15945
 
rm -f conftest$ac_exeext
15946
 
if { (ac_try="$ac_link"
15947
 
case "(($ac_try" in
15948
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15949
 
  *) ac_try_echo=$ac_try;;
15950
 
esac
15951
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15952
 
  (eval "$ac_link") 2>&5
15953
 
  ac_status=$?
15954
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15955
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15956
 
  { (case "(($ac_try" in
15957
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15958
 
  *) ac_try_echo=$ac_try;;
15959
 
esac
15960
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15961
 
  (eval "$ac_try") 2>&5
15962
 
  ac_status=$?
15963
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15964
 
  (exit $ac_status); }; }; then
 
14981
if ac_fn_cxx_try_run "$LINENO"; then :
15965
14982
  ac_cv_func_strtod=yes
15966
14983
else
15967
 
  echo "$as_me: program exited with status $ac_status" >&5
15968
 
echo "$as_me: failed program was:" >&5
15969
 
sed 's/^/| /' conftest.$ac_ext >&5
15970
 
 
15971
 
( exit $ac_status )
15972
 
ac_cv_func_strtod=no
15973
 
fi
15974
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15975
 
fi
15976
 
 
15977
 
 
15978
 
fi
15979
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
15980
 
echo "${ECHO_T}$ac_cv_func_strtod" >&6; }
 
14984
  ac_cv_func_strtod=no
 
14985
fi
 
14986
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
14987
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
14988
fi
 
14989
 
 
14990
fi
 
14991
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
 
14992
$as_echo "$ac_cv_func_strtod" >&6; }
15981
14993
if test $ac_cv_func_strtod = no; then
15982
14994
  case " $LIBOBJS " in
15983
14995
  *" strtod.$ac_objext "* ) ;;
15985
14997
 ;;
15986
14998
esac
15987
14999
 
15988
 
{ echo "$as_me:$LINENO: checking for pow" >&5
15989
 
echo $ECHO_N "checking for pow... $ECHO_C" >&6; }
15990
 
if test "${ac_cv_func_pow+set}" = set; then
15991
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15992
 
else
15993
 
  cat >conftest.$ac_ext <<_ACEOF
15994
 
/* confdefs.h.  */
15995
 
_ACEOF
15996
 
cat confdefs.h >>conftest.$ac_ext
15997
 
cat >>conftest.$ac_ext <<_ACEOF
15998
 
/* end confdefs.h.  */
15999
 
/* Define pow to an innocuous variant, in case <limits.h> declares pow.
16000
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16001
 
#define pow innocuous_pow
16002
 
 
16003
 
/* System header to define __stub macros and hopefully few prototypes,
16004
 
    which can conflict with char pow (); below.
16005
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16006
 
    <limits.h> exists even on freestanding compilers.  */
16007
 
 
16008
 
#ifdef __STDC__
16009
 
# include <limits.h>
16010
 
#else
16011
 
# include <assert.h>
16012
 
#endif
16013
 
 
16014
 
#undef pow
16015
 
 
16016
 
/* Override any GCC internal prototype to avoid an error.
16017
 
   Use char because int might match the return type of a GCC
16018
 
   builtin and then its argument prototype would still apply.  */
16019
 
#ifdef __cplusplus
16020
 
extern "C"
16021
 
#endif
16022
 
char pow ();
16023
 
/* The GNU C library defines this for functions which it implements
16024
 
    to always fail with ENOSYS.  Some functions are actually named
16025
 
    something starting with __ and the normal name is an alias.  */
16026
 
#if defined __stub_pow || defined __stub___pow
16027
 
choke me
16028
 
#endif
16029
 
 
16030
 
int
16031
 
main ()
16032
 
{
16033
 
return pow ();
16034
 
  ;
16035
 
  return 0;
16036
 
}
16037
 
_ACEOF
16038
 
rm -f conftest.$ac_objext conftest$ac_exeext
16039
 
if { (ac_try="$ac_link"
16040
 
case "(($ac_try" in
16041
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16042
 
  *) ac_try_echo=$ac_try;;
16043
 
esac
16044
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16045
 
  (eval "$ac_link") 2>conftest.er1
16046
 
  ac_status=$?
16047
 
  grep -v '^ *+' conftest.er1 >conftest.err
16048
 
  rm -f conftest.er1
16049
 
  cat conftest.err >&5
16050
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051
 
  (exit $ac_status); } && {
16052
 
         test -z "$ac_cxx_werror_flag" ||
16053
 
         test ! -s conftest.err
16054
 
       } && test -s conftest$ac_exeext &&
16055
 
       $as_test_x conftest$ac_exeext; then
16056
 
  ac_cv_func_pow=yes
16057
 
else
16058
 
  echo "$as_me: failed program was:" >&5
16059
 
sed 's/^/| /' conftest.$ac_ext >&5
16060
 
 
16061
 
        ac_cv_func_pow=no
16062
 
fi
16063
 
 
16064
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16065
 
      conftest$ac_exeext conftest.$ac_ext
16066
 
fi
16067
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5
16068
 
echo "${ECHO_T}$ac_cv_func_pow" >&6; }
 
15000
ac_fn_cxx_check_func "$LINENO" "pow" "ac_cv_func_pow"
 
15001
if test "x$ac_cv_func_pow" = x""yes; then :
 
15002
 
 
15003
fi
16069
15004
 
16070
15005
if test $ac_cv_func_pow = no; then
16071
 
  { echo "$as_me:$LINENO: checking for pow in -lm" >&5
16072
 
echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6; }
16073
 
if test "${ac_cv_lib_m_pow+set}" = set; then
16074
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15006
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
 
15007
$as_echo_n "checking for pow in -lm... " >&6; }
 
15008
if test "${ac_cv_lib_m_pow+set}" = set; then :
 
15009
  $as_echo_n "(cached) " >&6
16075
15010
else
16076
15011
  ac_check_lib_save_LIBS=$LIBS
16077
15012
LIBS="-lm  $LIBS"
16078
 
cat >conftest.$ac_ext <<_ACEOF
16079
 
/* confdefs.h.  */
16080
 
_ACEOF
16081
 
cat confdefs.h >>conftest.$ac_ext
16082
 
cat >>conftest.$ac_ext <<_ACEOF
 
15013
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16083
15014
/* end confdefs.h.  */
16084
15015
 
16085
15016
/* Override any GCC internal prototype to avoid an error.
16097
15028
  return 0;
16098
15029
}
16099
15030
_ACEOF
16100
 
rm -f conftest.$ac_objext conftest$ac_exeext
16101
 
if { (ac_try="$ac_link"
16102
 
case "(($ac_try" in
16103
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16104
 
  *) ac_try_echo=$ac_try;;
16105
 
esac
16106
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16107
 
  (eval "$ac_link") 2>conftest.er1
16108
 
  ac_status=$?
16109
 
  grep -v '^ *+' conftest.er1 >conftest.err
16110
 
  rm -f conftest.er1
16111
 
  cat conftest.err >&5
16112
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16113
 
  (exit $ac_status); } && {
16114
 
         test -z "$ac_cxx_werror_flag" ||
16115
 
         test ! -s conftest.err
16116
 
       } && test -s conftest$ac_exeext &&
16117
 
       $as_test_x conftest$ac_exeext; then
 
15031
if ac_fn_cxx_try_link "$LINENO"; then :
16118
15032
  ac_cv_lib_m_pow=yes
16119
15033
else
16120
 
  echo "$as_me: failed program was:" >&5
16121
 
sed 's/^/| /' conftest.$ac_ext >&5
16122
 
 
16123
 
        ac_cv_lib_m_pow=no
 
15034
  ac_cv_lib_m_pow=no
16124
15035
fi
16125
 
 
16126
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16127
 
      conftest$ac_exeext conftest.$ac_ext
 
15036
rm -f core conftest.err conftest.$ac_objext \
 
15037
    conftest$ac_exeext conftest.$ac_ext
16128
15038
LIBS=$ac_check_lib_save_LIBS
16129
15039
fi
16130
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
16131
 
echo "${ECHO_T}$ac_cv_lib_m_pow" >&6; }
16132
 
if test $ac_cv_lib_m_pow = yes; then
 
15040
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
 
15041
$as_echo "$ac_cv_lib_m_pow" >&6; }
 
15042
if test "x$ac_cv_lib_m_pow" = x""yes; then :
16133
15043
  POW_LIB=-lm
16134
15044
else
16135
 
  { echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5
16136
 
echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
16137
 
fi
16138
 
 
16139
 
fi
16140
 
 
16141
 
fi
16142
 
 
16143
 
 
16144
 
 
16145
 
 
16146
 
 
16147
 
 
 
15045
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
 
15046
$as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
 
15047
fi
 
15048
 
 
15049
fi
 
15050
 
 
15051
fi
16148
15052
 
16149
15053
for ac_func in ftruncate memset mkdir strchr strerror strtol
16150
 
do
16151
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16152
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
16153
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16154
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16155
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16156
 
else
16157
 
  cat >conftest.$ac_ext <<_ACEOF
16158
 
/* confdefs.h.  */
16159
 
_ACEOF
16160
 
cat confdefs.h >>conftest.$ac_ext
16161
 
cat >>conftest.$ac_ext <<_ACEOF
16162
 
/* end confdefs.h.  */
16163
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16164
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16165
 
#define $ac_func innocuous_$ac_func
16166
 
 
16167
 
/* System header to define __stub macros and hopefully few prototypes,
16168
 
    which can conflict with char $ac_func (); below.
16169
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16170
 
    <limits.h> exists even on freestanding compilers.  */
16171
 
 
16172
 
#ifdef __STDC__
16173
 
# include <limits.h>
16174
 
#else
16175
 
# include <assert.h>
16176
 
#endif
16177
 
 
16178
 
#undef $ac_func
16179
 
 
16180
 
/* Override any GCC internal prototype to avoid an error.
16181
 
   Use char because int might match the return type of a GCC
16182
 
   builtin and then its argument prototype would still apply.  */
16183
 
#ifdef __cplusplus
16184
 
extern "C"
16185
 
#endif
16186
 
char $ac_func ();
16187
 
/* The GNU C library defines this for functions which it implements
16188
 
    to always fail with ENOSYS.  Some functions are actually named
16189
 
    something starting with __ and the normal name is an alias.  */
16190
 
#if defined __stub_$ac_func || defined __stub___$ac_func
16191
 
choke me
16192
 
#endif
16193
 
 
16194
 
int
16195
 
main ()
16196
 
{
16197
 
return $ac_func ();
16198
 
  ;
16199
 
  return 0;
16200
 
}
16201
 
_ACEOF
16202
 
rm -f conftest.$ac_objext conftest$ac_exeext
16203
 
if { (ac_try="$ac_link"
16204
 
case "(($ac_try" in
16205
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16206
 
  *) ac_try_echo=$ac_try;;
16207
 
esac
16208
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16209
 
  (eval "$ac_link") 2>conftest.er1
16210
 
  ac_status=$?
16211
 
  grep -v '^ *+' conftest.er1 >conftest.err
16212
 
  rm -f conftest.er1
16213
 
  cat conftest.err >&5
16214
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16215
 
  (exit $ac_status); } && {
16216
 
         test -z "$ac_cxx_werror_flag" ||
16217
 
         test ! -s conftest.err
16218
 
       } && test -s conftest$ac_exeext &&
16219
 
       $as_test_x conftest$ac_exeext; then
16220
 
  eval "$as_ac_var=yes"
16221
 
else
16222
 
  echo "$as_me: failed program was:" >&5
16223
 
sed 's/^/| /' conftest.$ac_ext >&5
16224
 
 
16225
 
        eval "$as_ac_var=no"
16226
 
fi
16227
 
 
16228
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16229
 
      conftest$ac_exeext conftest.$ac_ext
16230
 
fi
16231
 
ac_res=`eval echo '${'$as_ac_var'}'`
16232
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
16233
 
echo "${ECHO_T}$ac_res" >&6; }
16234
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
15054
do :
 
15055
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
15056
ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
15057
eval as_val=\$$as_ac_var
 
15058
   if test "x$as_val" = x""yes; then :
16235
15059
  cat >>confdefs.h <<_ACEOF
16236
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
15060
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16237
15061
_ACEOF
16238
15062
 
16239
15063
fi
16242
15066
 
16243
15067
# Check for zlib.
16244
15068
HAVE_ZLIB=0
16245
 
if test "$with_zlib" != no; then
 
15069
if test "$with_zlib" != no; then :
16246
15070
 
16247
 
  { echo "$as_me:$LINENO: checking zlib version" >&5
16248
 
echo $ECHO_N "checking zlib version... $ECHO_C" >&6; }
 
15071
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking zlib version" >&5
 
15072
$as_echo_n "checking zlib version... " >&6; }
16249
15073
 
16250
15074
  # First check the zlib header version.
16251
 
  cat >conftest.$ac_ext <<_ACEOF
16252
 
/* confdefs.h.  */
16253
 
_ACEOF
16254
 
cat confdefs.h >>conftest.$ac_ext
16255
 
cat >>conftest.$ac_ext <<_ACEOF
 
15075
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16256
15076
/* end confdefs.h.  */
16257
15077
 
16258
15078
        #include <zlib.h>
16268
15088
  return 0;
16269
15089
}
16270
15090
_ACEOF
16271
 
rm -f conftest.$ac_objext
16272
 
if { (ac_try="$ac_compile"
16273
 
case "(($ac_try" in
16274
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16275
 
  *) ac_try_echo=$ac_try;;
16276
 
esac
16277
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16278
 
  (eval "$ac_compile") 2>conftest.er1
16279
 
  ac_status=$?
16280
 
  grep -v '^ *+' conftest.er1 >conftest.err
16281
 
  rm -f conftest.er1
16282
 
  cat conftest.err >&5
16283
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16284
 
  (exit $ac_status); } && {
16285
 
         test -z "$ac_cxx_werror_flag" ||
16286
 
         test ! -s conftest.err
16287
 
       } && test -s conftest.$ac_objext; then
 
15091
if ac_fn_cxx_try_compile "$LINENO"; then :
16288
15092
 
16289
 
    { echo "$as_me:$LINENO: result: ok (1.2.0.4 or later)" >&5
16290
 
echo "${ECHO_T}ok (1.2.0.4 or later)" >&6; }
 
15093
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok (1.2.0.4 or later)" >&5
 
15094
$as_echo "ok (1.2.0.4 or later)" >&6; }
16291
15095
 
16292
15096
    # Also need to add -lz to the linker flags and make sure this succeeds.
16293
 
    { echo "$as_me:$LINENO: checking for library containing zlibVersion" >&5
16294
 
echo $ECHO_N "checking for library containing zlibVersion... $ECHO_C" >&6; }
16295
 
if test "${ac_cv_search_zlibVersion+set}" = set; then
16296
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15097
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
 
15098
$as_echo_n "checking for library containing zlibVersion... " >&6; }
 
15099
if test "${ac_cv_search_zlibVersion+set}" = set; then :
 
15100
  $as_echo_n "(cached) " >&6
16297
15101
else
16298
15102
  ac_func_search_save_LIBS=$LIBS
16299
 
cat >conftest.$ac_ext <<_ACEOF
16300
 
/* confdefs.h.  */
16301
 
_ACEOF
16302
 
cat confdefs.h >>conftest.$ac_ext
16303
 
cat >>conftest.$ac_ext <<_ACEOF
 
15103
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16304
15104
/* end confdefs.h.  */
16305
15105
 
16306
15106
/* Override any GCC internal prototype to avoid an error.
16325
15125
    ac_res=-l$ac_lib
16326
15126
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16327
15127
  fi
16328
 
  rm -f conftest.$ac_objext conftest$ac_exeext
16329
 
if { (ac_try="$ac_link"
16330
 
case "(($ac_try" in
16331
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16332
 
  *) ac_try_echo=$ac_try;;
16333
 
esac
16334
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16335
 
  (eval "$ac_link") 2>conftest.er1
16336
 
  ac_status=$?
16337
 
  grep -v '^ *+' conftest.er1 >conftest.err
16338
 
  rm -f conftest.er1
16339
 
  cat conftest.err >&5
16340
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16341
 
  (exit $ac_status); } && {
16342
 
         test -z "$ac_cxx_werror_flag" ||
16343
 
         test ! -s conftest.err
16344
 
       } && test -s conftest$ac_exeext &&
16345
 
       $as_test_x conftest$ac_exeext; then
 
15128
  if ac_fn_cxx_try_link "$LINENO"; then :
16346
15129
  ac_cv_search_zlibVersion=$ac_res
16347
 
else
16348
 
  echo "$as_me: failed program was:" >&5
16349
 
sed 's/^/| /' conftest.$ac_ext >&5
16350
 
 
16351
 
 
16352
15130
fi
16353
 
 
16354
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16355
 
      conftest$ac_exeext
16356
 
  if test "${ac_cv_search_zlibVersion+set}" = set; then
 
15131
rm -f core conftest.err conftest.$ac_objext \
 
15132
    conftest$ac_exeext
 
15133
  if test "${ac_cv_search_zlibVersion+set}" = set; then :
16357
15134
  break
16358
15135
fi
16359
15136
done
16360
 
if test "${ac_cv_search_zlibVersion+set}" = set; then
16361
 
  :
 
15137
if test "${ac_cv_search_zlibVersion+set}" = set; then :
 
15138
 
16362
15139
else
16363
15140
  ac_cv_search_zlibVersion=no
16364
15141
fi
16365
15142
rm conftest.$ac_ext
16366
15143
LIBS=$ac_func_search_save_LIBS
16367
15144
fi
16368
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_zlibVersion" >&5
16369
 
echo "${ECHO_T}$ac_cv_search_zlibVersion" >&6; }
 
15145
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_zlibVersion" >&5
 
15146
$as_echo "$ac_cv_search_zlibVersion" >&6; }
16370
15147
ac_res=$ac_cv_search_zlibVersion
16371
 
if test "$ac_res" != no; then
 
15148
if test "$ac_res" != no; then :
16372
15149
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16373
15150
 
16374
15151
 
16375
 
cat >>confdefs.h <<\_ACEOF
16376
 
#define HAVE_ZLIB 1
16377
 
_ACEOF
 
15152
$as_echo "#define HAVE_ZLIB 1" >>confdefs.h
16378
15153
 
16379
15154
      HAVE_ZLIB=1
16380
15155
 
16381
15156
else
16382
15157
 
16383
 
      if test "$with_zlib" != check; then
16384
 
 
16385
 
        { { echo "$as_me:$LINENO: error: --with-zlib was given, but no working zlib library was found
16386
 
See \`config.log' for more details." >&5
16387
 
echo "$as_me: error: --with-zlib was given, but no working zlib library was found
16388
 
See \`config.log' for more details." >&2;}
16389
 
   { (exit 1); exit 1; }; }
16390
 
 
16391
 
fi
16392
 
 
16393
 
 
16394
 
fi
16395
 
 
16396
 
 
16397
 
else
16398
 
  echo "$as_me: failed program was:" >&5
16399
 
sed 's/^/| /' conftest.$ac_ext >&5
16400
 
 
16401
 
 
16402
 
    if test "$with_zlib" = check; then
16403
 
 
16404
 
      { echo "$as_me:$LINENO: result: headers missing or too old (requires 1.2.0.4)" >&5
16405
 
echo "${ECHO_T}headers missing or too old (requires 1.2.0.4)" >&6; }
16406
 
 
16407
 
else
16408
 
 
16409
 
      { { echo "$as_me:$LINENO: error: --with-zlib was given, but zlib headers were not present or were too old (requires 1.2.0.4)
16410
 
See \`config.log' for more details." >&5
16411
 
echo "$as_me: error: --with-zlib was given, but zlib headers were not present or were too old (requires 1.2.0.4)
16412
 
See \`config.log' for more details." >&2;}
16413
 
   { (exit 1); exit 1; }; }
16414
 
 
16415
 
fi
16416
 
 
16417
 
 
16418
 
fi
16419
 
 
 
15158
      if test "$with_zlib" != check; then :
 
15159
 
 
15160
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
15161
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
15162
as_fn_error "--with-zlib was given, but no working zlib library was found
 
15163
See \`config.log' for more details." "$LINENO" 5; }
 
15164
 
 
15165
fi
 
15166
 
 
15167
fi
 
15168
 
 
15169
 
 
15170
else
 
15171
 
 
15172
    if test "$with_zlib" = check; then :
 
15173
 
 
15174
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: headers missing or too old (requires 1.2.0.4)" >&5
 
15175
$as_echo "headers missing or too old (requires 1.2.0.4)" >&6; }
 
15176
 
 
15177
else
 
15178
 
 
15179
      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
15180
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
15181
as_fn_error "--with-zlib was given, but zlib headers were not present or were too old (requires 1.2.0.4)
 
15182
See \`config.log' for more details." "$LINENO" 5; }
 
15183
 
 
15184
fi
 
15185
 
 
15186
fi
16420
15187
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16421
15188
 
16422
15189
fi
16423
 
 
16424
15190
 if test $HAVE_ZLIB = 1; then
16425
15191
  HAVE_ZLIB_TRUE=
16426
15192
  HAVE_ZLIB_FALSE='#'
16430
15196
fi
16431
15197
 
16432
15198
 
16433
 
if test "$with_protoc" != "no"; then
 
15199
if test "$with_protoc" != "no"; then :
16434
15200
 
16435
15201
  PROTOC=$with_protoc
16436
 
  if test "$with_protoc" == "yes"; then
 
15202
  if test "$with_protoc" = "yes"; then :
16437
15203
 
16438
15204
    # No argument given.  Use system protoc.
16439
15205
    PROTOC=protoc
16440
15206
 
16441
15207
fi
16442
 
 
16443
 
  if echo "$PROTOC" | grep -q '^[^/].*/'; then
 
15208
  if echo "$PROTOC" | grep -q '^[^/].*/'; then :
16444
15209
 
16445
15210
    # Does not start with a slash, but contains a slash.  So, it's a relative
16446
15211
    # path (as opposed to an absolute path or an executable in $PATH).
16453
15218
fi
16454
15219
 
16455
15220
 
16456
 
 
16457
15221
fi
16458
 
 
16459
15222
 if test "$with_protoc" != "no"; then
16460
15223
  USE_EXTERNAL_PROTOC_TRUE=
16461
15224
  USE_EXTERNAL_PROTOC_FALSE='#'
16488
15251
        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
16489
15252
        save_LIBS="$LIBS"
16490
15253
        LIBS="$PTHREAD_LIBS $LIBS"
16491
 
        { echo "$as_me:$LINENO: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
16492
 
echo $ECHO_N "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... $ECHO_C" >&6; }
16493
 
        cat >conftest.$ac_ext <<_ACEOF
16494
 
/* confdefs.h.  */
16495
 
_ACEOF
16496
 
cat confdefs.h >>conftest.$ac_ext
16497
 
cat >>conftest.$ac_ext <<_ACEOF
 
15254
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
 
15255
$as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
 
15256
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16498
15257
/* end confdefs.h.  */
16499
15258
 
16500
15259
/* Override any GCC internal prototype to avoid an error.
16512
15271
  return 0;
16513
15272
}
16514
15273
_ACEOF
16515
 
rm -f conftest.$ac_objext conftest$ac_exeext
16516
 
if { (ac_try="$ac_link"
16517
 
case "(($ac_try" in
16518
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16519
 
  *) ac_try_echo=$ac_try;;
16520
 
esac
16521
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16522
 
  (eval "$ac_link") 2>conftest.er1
16523
 
  ac_status=$?
16524
 
  grep -v '^ *+' conftest.er1 >conftest.err
16525
 
  rm -f conftest.er1
16526
 
  cat conftest.err >&5
16527
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16528
 
  (exit $ac_status); } && {
16529
 
         test -z "$ac_c_werror_flag" ||
16530
 
         test ! -s conftest.err
16531
 
       } && test -s conftest$ac_exeext &&
16532
 
       $as_test_x conftest$ac_exeext; then
 
15274
if ac_fn_c_try_link "$LINENO"; then :
16533
15275
  acx_pthread_ok=yes
16534
 
else
16535
 
  echo "$as_me: failed program was:" >&5
16536
 
sed 's/^/| /' conftest.$ac_ext >&5
16537
 
 
16538
 
 
16539
15276
fi
16540
 
 
16541
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16542
 
      conftest$ac_exeext conftest.$ac_ext
16543
 
        { echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
16544
 
echo "${ECHO_T}$acx_pthread_ok" >&6; }
 
15277
rm -f core conftest.err conftest.$ac_objext \
 
15278
    conftest$ac_exeext conftest.$ac_ext
 
15279
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
 
15280
$as_echo "$acx_pthread_ok" >&6; }
16545
15281
        if test x"$acx_pthread_ok" = xno; then
16546
15282
                PTHREAD_LIBS=""
16547
15283
                PTHREAD_CFLAGS=""
16602
15338
 
16603
15339
        case $flag in
16604
15340
                none)
16605
 
                { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
16606
 
echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
 
15341
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
 
15342
$as_echo_n "checking whether pthreads work without any flags... " >&6; }
16607
15343
                ;;
16608
15344
 
16609
15345
                -*)
16610
 
                { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
16611
 
echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
 
15346
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
 
15347
$as_echo_n "checking whether pthreads work with $flag... " >&6; }
16612
15348
                PTHREAD_CFLAGS="$flag"
16613
15349
                ;;
16614
15350
 
16615
15351
                pthread-config)
16616
15352
                # Extract the first word of "pthread-config", so it can be a program name with args.
16617
15353
set dummy pthread-config; ac_word=$2
16618
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
16619
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16620
 
if test "${ac_cv_prog_acx_pthread_config+set}" = set; then
16621
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15354
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15355
$as_echo_n "checking for $ac_word... " >&6; }
 
15356
if test "${ac_cv_prog_acx_pthread_config+set}" = set; then :
 
15357
  $as_echo_n "(cached) " >&6
16622
15358
else
16623
15359
  if test -n "$acx_pthread_config"; then
16624
15360
  ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
16628
15364
do
16629
15365
  IFS=$as_save_IFS
16630
15366
  test -z "$as_dir" && as_dir=.
16631
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
15367
    for ac_exec_ext in '' $ac_executable_extensions; do
16632
15368
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16633
15369
    ac_cv_prog_acx_pthread_config="yes"
16634
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15370
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16635
15371
    break 2
16636
15372
  fi
16637
15373
done
16638
 
done
 
15374
  done
16639
15375
IFS=$as_save_IFS
16640
15376
 
16641
15377
  test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
16643
15379
fi
16644
15380
acx_pthread_config=$ac_cv_prog_acx_pthread_config
16645
15381
if test -n "$acx_pthread_config"; then
16646
 
  { echo "$as_me:$LINENO: result: $acx_pthread_config" >&5
16647
 
echo "${ECHO_T}$acx_pthread_config" >&6; }
 
15382
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
 
15383
$as_echo "$acx_pthread_config" >&6; }
16648
15384
else
16649
 
  { echo "$as_me:$LINENO: result: no" >&5
16650
 
echo "${ECHO_T}no" >&6; }
 
15385
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15386
$as_echo "no" >&6; }
16651
15387
fi
16652
15388
 
16653
15389
 
16657
15393
                ;;
16658
15394
 
16659
15395
                *)
16660
 
                { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
16661
 
echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
 
15396
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
 
15397
$as_echo_n "checking for the pthreads library -l$flag... " >&6; }
16662
15398
                PTHREAD_LIBS="-l$flag"
16663
15399
                ;;
16664
15400
        esac
16677
15413
        # pthread_cleanup_push because it is one of the few pthread
16678
15414
        # functions on Solaris that doesn't have a non-functional libc stub.
16679
15415
        # We try pthread_create on general principles.
16680
 
        cat >conftest.$ac_ext <<_ACEOF
16681
 
/* confdefs.h.  */
16682
 
_ACEOF
16683
 
cat confdefs.h >>conftest.$ac_ext
16684
 
cat >>conftest.$ac_ext <<_ACEOF
 
15416
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16685
15417
/* end confdefs.h.  */
16686
15418
#include <pthread.h>
16687
15419
int
16694
15426
  return 0;
16695
15427
}
16696
15428
_ACEOF
16697
 
rm -f conftest.$ac_objext conftest$ac_exeext
16698
 
if { (ac_try="$ac_link"
16699
 
case "(($ac_try" in
16700
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16701
 
  *) ac_try_echo=$ac_try;;
16702
 
esac
16703
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16704
 
  (eval "$ac_link") 2>conftest.er1
16705
 
  ac_status=$?
16706
 
  grep -v '^ *+' conftest.er1 >conftest.err
16707
 
  rm -f conftest.er1
16708
 
  cat conftest.err >&5
16709
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16710
 
  (exit $ac_status); } && {
16711
 
         test -z "$ac_c_werror_flag" ||
16712
 
         test ! -s conftest.err
16713
 
       } && test -s conftest$ac_exeext &&
16714
 
       $as_test_x conftest$ac_exeext; then
 
15429
if ac_fn_c_try_link "$LINENO"; then :
16715
15430
  acx_pthread_ok=yes
16716
 
else
16717
 
  echo "$as_me: failed program was:" >&5
16718
 
sed 's/^/| /' conftest.$ac_ext >&5
16719
 
 
16720
 
 
16721
15431
fi
16722
 
 
16723
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16724
 
      conftest$ac_exeext conftest.$ac_ext
 
15432
rm -f core conftest.err conftest.$ac_objext \
 
15433
    conftest$ac_exeext conftest.$ac_ext
16725
15434
 
16726
15435
        LIBS="$save_LIBS"
16727
15436
        CFLAGS="$save_CFLAGS"
16728
15437
 
16729
 
        { echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
16730
 
echo "${ECHO_T}$acx_pthread_ok" >&6; }
 
15438
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
 
15439
$as_echo "$acx_pthread_ok" >&6; }
16731
15440
        if test "x$acx_pthread_ok" = xyes; then
16732
15441
                break;
16733
15442
        fi
16745
15454
        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
16746
15455
 
16747
15456
        # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
16748
 
        { echo "$as_me:$LINENO: checking for joinable pthread attribute" >&5
16749
 
echo $ECHO_N "checking for joinable pthread attribute... $ECHO_C" >&6; }
 
15457
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
 
15458
$as_echo_n "checking for joinable pthread attribute... " >&6; }
16750
15459
        attr_name=unknown
16751
15460
        for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
16752
 
            cat >conftest.$ac_ext <<_ACEOF
16753
 
/* confdefs.h.  */
16754
 
_ACEOF
16755
 
cat confdefs.h >>conftest.$ac_ext
16756
 
cat >>conftest.$ac_ext <<_ACEOF
 
15461
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16757
15462
/* end confdefs.h.  */
16758
15463
#include <pthread.h>
16759
15464
int
16764
15469
  return 0;
16765
15470
}
16766
15471
_ACEOF
16767
 
rm -f conftest.$ac_objext conftest$ac_exeext
16768
 
if { (ac_try="$ac_link"
16769
 
case "(($ac_try" in
16770
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16771
 
  *) ac_try_echo=$ac_try;;
16772
 
esac
16773
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16774
 
  (eval "$ac_link") 2>conftest.er1
16775
 
  ac_status=$?
16776
 
  grep -v '^ *+' conftest.er1 >conftest.err
16777
 
  rm -f conftest.er1
16778
 
  cat conftest.err >&5
16779
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16780
 
  (exit $ac_status); } && {
16781
 
         test -z "$ac_c_werror_flag" ||
16782
 
         test ! -s conftest.err
16783
 
       } && test -s conftest$ac_exeext &&
16784
 
       $as_test_x conftest$ac_exeext; then
 
15472
if ac_fn_c_try_link "$LINENO"; then :
16785
15473
  attr_name=$attr; break
16786
 
else
16787
 
  echo "$as_me: failed program was:" >&5
16788
 
sed 's/^/| /' conftest.$ac_ext >&5
16789
 
 
16790
 
 
16791
15474
fi
16792
 
 
16793
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16794
 
      conftest$ac_exeext conftest.$ac_ext
 
15475
rm -f core conftest.err conftest.$ac_objext \
 
15476
    conftest$ac_exeext conftest.$ac_ext
16795
15477
        done
16796
 
        { echo "$as_me:$LINENO: result: $attr_name" >&5
16797
 
echo "${ECHO_T}$attr_name" >&6; }
 
15478
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
 
15479
$as_echo "$attr_name" >&6; }
16798
15480
        if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
16799
15481
 
16800
15482
cat >>confdefs.h <<_ACEOF
16803
15485
 
16804
15486
        fi
16805
15487
 
16806
 
        { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
16807
 
echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
 
15488
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
 
15489
$as_echo_n "checking if more special flags are required for pthreads... " >&6; }
16808
15490
        flag=no
16809
15491
        case "${host_cpu}-${host_os}" in
16810
15492
            *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
16811
15493
            *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
16812
15494
        esac
16813
 
        { echo "$as_me:$LINENO: result: ${flag}" >&5
16814
 
echo "${ECHO_T}${flag}" >&6; }
 
15495
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
 
15496
$as_echo "${flag}" >&6; }
16815
15497
        if test "x$flag" != xno; then
16816
15498
            PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
16817
15499
        fi
16824
15506
do
16825
15507
  # Extract the first word of "$ac_prog", so it can be a program name with args.
16826
15508
set dummy $ac_prog; ac_word=$2
16827
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
16828
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16829
 
if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then
16830
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15509
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15510
$as_echo_n "checking for $ac_word... " >&6; }
 
15511
if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then :
 
15512
  $as_echo_n "(cached) " >&6
16831
15513
else
16832
15514
  if test -n "$PTHREAD_CC"; then
16833
15515
  ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
16837
15519
do
16838
15520
  IFS=$as_save_IFS
16839
15521
  test -z "$as_dir" && as_dir=.
16840
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
15522
    for ac_exec_ext in '' $ac_executable_extensions; do
16841
15523
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16842
15524
    ac_cv_prog_PTHREAD_CC="$ac_prog"
16843
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15525
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16844
15526
    break 2
16845
15527
  fi
16846
15528
done
16847
 
done
 
15529
  done
16848
15530
IFS=$as_save_IFS
16849
15531
 
16850
15532
fi
16851
15533
fi
16852
15534
PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
16853
15535
if test -n "$PTHREAD_CC"; then
16854
 
  { echo "$as_me:$LINENO: result: $PTHREAD_CC" >&5
16855
 
echo "${ECHO_T}$PTHREAD_CC" >&6; }
 
15536
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
 
15537
$as_echo "$PTHREAD_CC" >&6; }
16856
15538
else
16857
 
  { echo "$as_me:$LINENO: result: no" >&5
16858
 
echo "${ECHO_T}no" >&6; }
 
15539
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15540
$as_echo "no" >&6; }
16859
15541
fi
16860
15542
 
16861
15543
 
16899
15581
        # compiler.  If not (and OS X's ld, for instance, does not accept -z),
16900
15582
        # then we can't do this test.
16901
15583
        if test x"$done" = xno; then
16902
 
           { echo "$as_me:$LINENO: checking whether to check for GCC pthread/shared inconsistencies" >&5
16903
 
echo $ECHO_N "checking whether to check for GCC pthread/shared inconsistencies... $ECHO_C" >&6; }
16904
 
           cat >conftest.$ac_ext <<_ACEOF
16905
 
/* confdefs.h.  */
16906
 
_ACEOF
16907
 
cat confdefs.h >>conftest.$ac_ext
16908
 
cat >>conftest.$ac_ext <<_ACEOF
 
15584
           { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to check for GCC pthread/shared inconsistencies" >&5
 
15585
$as_echo_n "checking whether to check for GCC pthread/shared inconsistencies... " >&6; }
 
15586
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16909
15587
/* end confdefs.h.  */
16910
15588
 
16911
15589
int
16916
15594
  return 0;
16917
15595
}
16918
15596
_ACEOF
16919
 
rm -f conftest.$ac_objext conftest$ac_exeext
16920
 
if { (ac_try="$ac_link"
16921
 
case "(($ac_try" in
16922
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16923
 
  *) ac_try_echo=$ac_try;;
16924
 
esac
16925
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16926
 
  (eval "$ac_link") 2>conftest.er1
16927
 
  ac_status=$?
16928
 
  grep -v '^ *+' conftest.er1 >conftest.err
16929
 
  rm -f conftest.er1
16930
 
  cat conftest.err >&5
16931
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16932
 
  (exit $ac_status); } && {
16933
 
         test -z "$ac_c_werror_flag" ||
16934
 
         test ! -s conftest.err
16935
 
       } && test -s conftest$ac_exeext &&
16936
 
       $as_test_x conftest$ac_exeext; then
16937
 
  :
 
15597
if ac_fn_c_try_link "$LINENO"; then :
 
15598
 
16938
15599
else
16939
 
  echo "$as_me: failed program was:" >&5
16940
 
sed 's/^/| /' conftest.$ac_ext >&5
16941
 
 
16942
 
        done=yes
 
15600
  done=yes
16943
15601
fi
16944
 
 
16945
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16946
 
      conftest$ac_exeext conftest.$ac_ext
 
15602
rm -f core conftest.err conftest.$ac_objext \
 
15603
    conftest$ac_exeext conftest.$ac_ext
16947
15604
 
16948
15605
           if test "x$done" = xyes ; then
16949
 
              { echo "$as_me:$LINENO: result: no" >&5
16950
 
echo "${ECHO_T}no" >&6; }
 
15606
              { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15607
$as_echo "no" >&6; }
16951
15608
           else
16952
 
              { echo "$as_me:$LINENO: result: yes" >&5
16953
 
echo "${ECHO_T}yes" >&6; }
 
15609
              { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15610
$as_echo "yes" >&6; }
16954
15611
           fi
16955
15612
        fi
16956
15613
 
16957
15614
        if test x"$done" = xno; then
16958
 
           { echo "$as_me:$LINENO: checking whether -pthread is sufficient with -shared" >&5
16959
 
echo $ECHO_N "checking whether -pthread is sufficient with -shared... $ECHO_C" >&6; }
16960
 
           cat >conftest.$ac_ext <<_ACEOF
16961
 
/* confdefs.h.  */
16962
 
_ACEOF
16963
 
cat confdefs.h >>conftest.$ac_ext
16964
 
cat >>conftest.$ac_ext <<_ACEOF
 
15615
           { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is sufficient with -shared" >&5
 
15616
$as_echo_n "checking whether -pthread is sufficient with -shared... " >&6; }
 
15617
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16965
15618
/* end confdefs.h.  */
16966
15619
#include <pthread.h>
16967
15620
int
16974
15627
  return 0;
16975
15628
}
16976
15629
_ACEOF
16977
 
rm -f conftest.$ac_objext conftest$ac_exeext
16978
 
if { (ac_try="$ac_link"
16979
 
case "(($ac_try" in
16980
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16981
 
  *) ac_try_echo=$ac_try;;
16982
 
esac
16983
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16984
 
  (eval "$ac_link") 2>conftest.er1
16985
 
  ac_status=$?
16986
 
  grep -v '^ *+' conftest.er1 >conftest.err
16987
 
  rm -f conftest.er1
16988
 
  cat conftest.err >&5
16989
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16990
 
  (exit $ac_status); } && {
16991
 
         test -z "$ac_c_werror_flag" ||
16992
 
         test ! -s conftest.err
16993
 
       } && test -s conftest$ac_exeext &&
16994
 
       $as_test_x conftest$ac_exeext; then
 
15630
if ac_fn_c_try_link "$LINENO"; then :
16995
15631
  done=yes
16996
 
else
16997
 
  echo "$as_me: failed program was:" >&5
16998
 
sed 's/^/| /' conftest.$ac_ext >&5
16999
 
 
17000
 
 
17001
15632
fi
17002
 
 
17003
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17004
 
      conftest$ac_exeext conftest.$ac_ext
 
15633
rm -f core conftest.err conftest.$ac_objext \
 
15634
    conftest$ac_exeext conftest.$ac_ext
17005
15635
 
17006
15636
           if test "x$done" = xyes; then
17007
 
              { echo "$as_me:$LINENO: result: yes" >&5
17008
 
echo "${ECHO_T}yes" >&6; }
 
15637
              { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15638
$as_echo "yes" >&6; }
17009
15639
           else
17010
 
              { echo "$as_me:$LINENO: result: no" >&5
17011
 
echo "${ECHO_T}no" >&6; }
 
15640
              { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15641
$as_echo "no" >&6; }
17012
15642
           fi
17013
15643
        fi
17014
15644
 
17017
15647
        # about -lpthread
17018
15648
        #
17019
15649
        if test x"$done" = xno; then
17020
 
           { echo "$as_me:$LINENO: checking whether -lpthread fixes that" >&5
17021
 
echo $ECHO_N "checking whether -lpthread fixes that... $ECHO_C" >&6; }
 
15650
           { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lpthread fixes that" >&5
 
15651
$as_echo_n "checking whether -lpthread fixes that... " >&6; }
17022
15652
           LIBS="-lpthread $PTHREAD_LIBS $save_LIBS"
17023
 
           cat >conftest.$ac_ext <<_ACEOF
17024
 
/* confdefs.h.  */
17025
 
_ACEOF
17026
 
cat confdefs.h >>conftest.$ac_ext
17027
 
cat >>conftest.$ac_ext <<_ACEOF
 
15653
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17028
15654
/* end confdefs.h.  */
17029
15655
#include <pthread.h>
17030
15656
int
17037
15663
  return 0;
17038
15664
}
17039
15665
_ACEOF
17040
 
rm -f conftest.$ac_objext conftest$ac_exeext
17041
 
if { (ac_try="$ac_link"
17042
 
case "(($ac_try" in
17043
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17044
 
  *) ac_try_echo=$ac_try;;
17045
 
esac
17046
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17047
 
  (eval "$ac_link") 2>conftest.er1
17048
 
  ac_status=$?
17049
 
  grep -v '^ *+' conftest.er1 >conftest.err
17050
 
  rm -f conftest.er1
17051
 
  cat conftest.err >&5
17052
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053
 
  (exit $ac_status); } && {
17054
 
         test -z "$ac_c_werror_flag" ||
17055
 
         test ! -s conftest.err
17056
 
       } && test -s conftest$ac_exeext &&
17057
 
       $as_test_x conftest$ac_exeext; then
 
15666
if ac_fn_c_try_link "$LINENO"; then :
17058
15667
  done=yes
17059
 
else
17060
 
  echo "$as_me: failed program was:" >&5
17061
 
sed 's/^/| /' conftest.$ac_ext >&5
17062
 
 
17063
 
 
17064
15668
fi
17065
 
 
17066
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17067
 
      conftest$ac_exeext conftest.$ac_ext
 
15669
rm -f core conftest.err conftest.$ac_objext \
 
15670
    conftest$ac_exeext conftest.$ac_ext
17068
15671
 
17069
15672
           if test "x$done" = xyes; then
17070
 
              { echo "$as_me:$LINENO: result: yes" >&5
17071
 
echo "${ECHO_T}yes" >&6; }
 
15673
              { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15674
$as_echo "yes" >&6; }
17072
15675
              PTHREAD_LIBS="-lpthread $PTHREAD_LIBS"
17073
15676
           else
17074
 
              { echo "$as_me:$LINENO: result: no" >&5
17075
 
echo "${ECHO_T}no" >&6; }
 
15677
              { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15678
$as_echo "no" >&6; }
17076
15679
           fi
17077
15680
        fi
17078
15681
        #
17079
15682
        # FreeBSD 4.10 gcc forgets to use -lc_r instead of -lc
17080
15683
        #
17081
15684
        if test x"$done" = xno; then
17082
 
           { echo "$as_me:$LINENO: checking whether -lc_r fixes that" >&5
17083
 
echo $ECHO_N "checking whether -lc_r fixes that... $ECHO_C" >&6; }
 
15685
           { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc_r fixes that" >&5
 
15686
$as_echo_n "checking whether -lc_r fixes that... " >&6; }
17084
15687
           LIBS="-lc_r $PTHREAD_LIBS $save_LIBS"
17085
 
           cat >conftest.$ac_ext <<_ACEOF
17086
 
/* confdefs.h.  */
17087
 
_ACEOF
17088
 
cat confdefs.h >>conftest.$ac_ext
17089
 
cat >>conftest.$ac_ext <<_ACEOF
 
15688
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17090
15689
/* end confdefs.h.  */
17091
15690
#include <pthread.h>
17092
15691
int
17099
15698
  return 0;
17100
15699
}
17101
15700
_ACEOF
17102
 
rm -f conftest.$ac_objext conftest$ac_exeext
17103
 
if { (ac_try="$ac_link"
17104
 
case "(($ac_try" in
17105
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17106
 
  *) ac_try_echo=$ac_try;;
17107
 
esac
17108
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17109
 
  (eval "$ac_link") 2>conftest.er1
17110
 
  ac_status=$?
17111
 
  grep -v '^ *+' conftest.er1 >conftest.err
17112
 
  rm -f conftest.er1
17113
 
  cat conftest.err >&5
17114
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17115
 
  (exit $ac_status); } && {
17116
 
         test -z "$ac_c_werror_flag" ||
17117
 
         test ! -s conftest.err
17118
 
       } && test -s conftest$ac_exeext &&
17119
 
       $as_test_x conftest$ac_exeext; then
 
15701
if ac_fn_c_try_link "$LINENO"; then :
17120
15702
  done=yes
17121
 
else
17122
 
  echo "$as_me: failed program was:" >&5
17123
 
sed 's/^/| /' conftest.$ac_ext >&5
17124
 
 
17125
 
 
17126
15703
fi
17127
 
 
17128
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17129
 
      conftest$ac_exeext conftest.$ac_ext
 
15704
rm -f core conftest.err conftest.$ac_objext \
 
15705
    conftest$ac_exeext conftest.$ac_ext
17130
15706
 
17131
15707
           if test "x$done" = xyes; then
17132
 
              { echo "$as_me:$LINENO: result: yes" >&5
17133
 
echo "${ECHO_T}yes" >&6; }
 
15708
              { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15709
$as_echo "yes" >&6; }
17134
15710
              PTHREAD_LIBS="-lc_r $PTHREAD_LIBS"
17135
15711
           else
17136
 
              { echo "$as_me:$LINENO: result: no" >&5
17137
 
echo "${ECHO_T}no" >&6; }
 
15712
              { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15713
$as_echo "no" >&6; }
17138
15714
           fi
17139
15715
        fi
17140
15716
        if test x"$done" = xno; then
17141
15717
           # OK, we have run out of ideas
17142
 
           { echo "$as_me:$LINENO: WARNING: Impossible to determine how to use pthreads with shared libraries" >&5
17143
 
echo "$as_me: WARNING: Impossible to determine how to use pthreads with shared libraries" >&2;}
 
15718
           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Impossible to determine how to use pthreads with shared libraries" >&5
 
15719
$as_echo "$as_me: WARNING: Impossible to determine how to use pthreads with shared libraries" >&2;}
17144
15720
 
17145
15721
           # so it's not safe to assume that we may use pthreads
17146
15722
           acx_pthread_ok=no
17147
15723
        fi
17148
15724
 
 
15725
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether what we have so far is sufficient with -nostdlib" >&5
 
15726
$as_echo_n "checking whether what we have so far is sufficient with -nostdlib... " >&6; }
 
15727
        CFLAGS="-nostdlib $CFLAGS"
 
15728
        # we need c with nostdlib
 
15729
        LIBS="$LIBS -lc"
 
15730
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15731
/* end confdefs.h.  */
 
15732
#include <pthread.h>
 
15733
int
 
15734
main ()
 
15735
{
 
15736
pthread_t th; pthread_join(th, 0);
 
15737
               pthread_attr_init(0); pthread_cleanup_push(0, 0);
 
15738
               pthread_create(0,0,0,0); pthread_cleanup_pop(0);
 
15739
  ;
 
15740
  return 0;
 
15741
}
 
15742
_ACEOF
 
15743
if ac_fn_c_try_link "$LINENO"; then :
 
15744
  done=yes
 
15745
else
 
15746
  done=no
 
15747
fi
 
15748
rm -f core conftest.err conftest.$ac_objext \
 
15749
    conftest$ac_exeext conftest.$ac_ext
 
15750
 
 
15751
        if test "x$done" = xyes; then
 
15752
           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15753
$as_echo "yes" >&6; }
 
15754
        else
 
15755
           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15756
$as_echo "no" >&6; }
 
15757
        fi
 
15758
 
 
15759
        if test x"$done" = xno; then
 
15760
           { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lpthread saves the day" >&5
 
15761
$as_echo_n "checking whether -lpthread saves the day... " >&6; }
 
15762
           LIBS="-lpthread $LIBS"
 
15763
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15764
/* end confdefs.h.  */
 
15765
#include <pthread.h>
 
15766
int
 
15767
main ()
 
15768
{
 
15769
pthread_t th; pthread_join(th, 0);
 
15770
               pthread_attr_init(0); pthread_cleanup_push(0, 0);
 
15771
               pthread_create(0,0,0,0); pthread_cleanup_pop(0);
 
15772
  ;
 
15773
  return 0;
 
15774
}
 
15775
_ACEOF
 
15776
if ac_fn_c_try_link "$LINENO"; then :
 
15777
  done=yes
 
15778
else
 
15779
  done=no
 
15780
fi
 
15781
rm -f core conftest.err conftest.$ac_objext \
 
15782
    conftest$ac_exeext conftest.$ac_ext
 
15783
 
 
15784
           if test "x$done" = xyes; then
 
15785
              { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15786
$as_echo "yes" >&6; }
 
15787
              PTHREAD_LIBS="$PTHREAD_LIBS -lpthread"
 
15788
           else
 
15789
              { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15790
$as_echo "no" >&6; }
 
15791
              { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Impossible to determine how to use pthreads with shared libraries and -nostdlib" >&5
 
15792
$as_echo "$as_me: WARNING: Impossible to determine how to use pthreads with shared libraries and -nostdlib" >&2;}
 
15793
           fi
 
15794
        fi
 
15795
 
17149
15796
        CFLAGS="$save_CFLAGS"
17150
15797
        LIBS="$save_LIBS"
17151
15798
        CC="$save_CC"
17160
15807
# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
17161
15808
if test x"$acx_pthread_ok" = xyes; then
17162
15809
 
17163
 
cat >>confdefs.h <<\_ACEOF
17164
 
#define HAVE_PTHREAD 1
17165
 
_ACEOF
 
15810
$as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
17166
15811
 
17167
15812
        :
17168
15813
else
17176
15821
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17177
15822
 
17178
15823
 
17179
 
{ echo "$as_me:$LINENO: checking the location of hash_map" >&5
17180
 
echo $ECHO_N "checking the location of hash_map... $ECHO_C" >&6; }
 
15824
 
 
15825
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking the location of hash_map" >&5
 
15826
$as_echo_n "checking the location of hash_map... " >&6; }
17181
15827
 
17182
15828
   ac_ext=cpp
17183
15829
ac_cpp='$CXXCPP $CPPFLAGS'
17185
15831
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17186
15832
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17187
15833
 
17188
 
   ac_cv_cxx_hash_map_header=""
17189
 
   ac_cv_cxx_hash_map_class=""
17190
 
   for location in tr1/unordered_map ext/hash_map hash_map; do
17191
 
     for namespace in std::tr1 __gnu_cxx "" std stdext; do
17192
 
       for name in unordered_map hash_map; do
17193
 
 
17194
 
         if test -z "$ac_cv_cxx_hash_map_header"; then
17195
 
 
17196
 
           # On OSX 1.5 / GCC 4.0.1 (the standard compiler on that platform),
17197
 
           # calling find() on a const unordered_map does not compile.  So, we
17198
 
           # include a call to find() in our test to detect this broken
17199
 
           # implementation and avoid using it.  Note that ext/hash_map works
17200
 
           # fine on this platform, so we'll end up using that.
17201
 
           cat >conftest.$ac_ext <<_ACEOF
17202
 
/* confdefs.h.  */
17203
 
_ACEOF
17204
 
cat confdefs.h >>conftest.$ac_ext
17205
 
cat >>conftest.$ac_ext <<_ACEOF
 
15834
   ac_cv_cxx_hash_map=""
 
15835
   # First try unordered_map, but not on gcc's before 4.2 -- I've
 
15836
   # seen unexplainable unordered_map bugs with -O2 on older gcc's.
 
15837
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17206
15838
/* end confdefs.h.  */
17207
 
#include <$location>
 
15839
#if defined(__GNUC__) && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 2))
 
15840
                   # error GCC too old for unordered_map
 
15841
                   #endif
 
15842
 
17208
15843
int
17209
15844
main ()
17210
15845
{
17211
 
const ${namespace}::$name<int, int> t;
17212
 
                           t.find(1);
 
15846
/* no program body necessary */
17213
15847
  ;
17214
15848
  return 0;
17215
15849
}
17216
15850
_ACEOF
17217
 
rm -f conftest.$ac_objext
17218
 
if { (ac_try="$ac_compile"
17219
 
case "(($ac_try" in
17220
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17221
 
  *) ac_try_echo=$ac_try;;
17222
 
esac
17223
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17224
 
  (eval "$ac_compile") 2>conftest.er1
17225
 
  ac_status=$?
17226
 
  grep -v '^ *+' conftest.er1 >conftest.err
17227
 
  rm -f conftest.er1
17228
 
  cat conftest.err >&5
17229
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17230
 
  (exit $ac_status); } && {
17231
 
         test -z "$ac_cxx_werror_flag" ||
17232
 
         test ! -s conftest.err
17233
 
       } && test -s conftest.$ac_objext; then
17234
 
  ac_cv_cxx_hash_map_header="<$location>";
17235
 
                           ac_cv_cxx_hash_namespace="$namespace";
17236
 
                           ac_cv_cxx_hash_map_class="$name";
 
15851
if ac_fn_cxx_try_compile "$LINENO"; then :
 
15852
  stl_hash_old_gcc=no
17237
15853
else
17238
 
  echo "$as_me: failed program was:" >&5
17239
 
sed 's/^/| /' conftest.$ac_ext >&5
17240
 
 
17241
 
 
17242
 
fi
17243
 
 
17244
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17245
 
         fi
17246
 
       done
17247
 
     done
17248
 
   done
17249
 
   ac_cv_cxx_hash_set_header=`echo "$ac_cv_cxx_hash_map_header" | sed s/map/set/`;
 
15854
  stl_hash_old_gcc=yes
 
15855
fi
 
15856
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
15857
   for location in unordered_map tr1/unordered_map; do
 
15858
     for namespace in std std::tr1; do
 
15859
       if test -z "$ac_cv_cxx_hash_map" -a "$stl_hash_old_gcc" != yes; then
 
15860
         # Some older gcc's have a buggy tr1, so test a bit of code.
 
15861
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15862
/* end confdefs.h.  */
 
15863
#include <$location>
 
15864
int
 
15865
main ()
 
15866
{
 
15867
const ${namespace}::unordered_map<int, int> t;
 
15868
                         return t.find(5) == t.end();
 
15869
  ;
 
15870
  return 0;
 
15871
}
 
15872
_ACEOF
 
15873
if ac_fn_cxx_try_compile "$LINENO"; then :
 
15874
  ac_cv_cxx_hash_map="<$location>";
 
15875
                         ac_cv_cxx_hash_namespace="$namespace";
 
15876
                         ac_cv_cxx_hash_map_class="unordered_map";
 
15877
fi
 
15878
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
15879
       fi
 
15880
     done
 
15881
   done
 
15882
   # Now try hash_map
 
15883
   for location in ext/hash_map hash_map; do
 
15884
     for namespace in __gnu_cxx "" std stdext; do
 
15885
       if test -z "$ac_cv_cxx_hash_map"; then
 
15886
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15887
/* end confdefs.h.  */
 
15888
#include <$location>
 
15889
int
 
15890
main ()
 
15891
{
 
15892
${namespace}::hash_map<int, int> t
 
15893
  ;
 
15894
  return 0;
 
15895
}
 
15896
_ACEOF
 
15897
if ac_fn_cxx_try_compile "$LINENO"; then :
 
15898
  ac_cv_cxx_hash_map="<$location>";
 
15899
                         ac_cv_cxx_hash_namespace="$namespace";
 
15900
                         ac_cv_cxx_hash_map_class="hash_map";
 
15901
fi
 
15902
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
15903
       fi
 
15904
     done
 
15905
   done
 
15906
   ac_cv_cxx_hash_set=`echo "$ac_cv_cxx_hash_map" | sed s/map/set/`;
17250
15907
   ac_cv_cxx_hash_set_class=`echo "$ac_cv_cxx_hash_map_class" | sed s/map/set/`;
17251
 
   if test -n "$ac_cv_cxx_hash_map_header"; then
17252
 
 
17253
 
cat >>confdefs.h <<\_ACEOF
17254
 
#define HAVE_HASH_MAP 1
17255
 
_ACEOF
17256
 
 
17257
 
 
17258
 
cat >>confdefs.h <<\_ACEOF
17259
 
#define HAVE_HASH_SET 1
17260
 
_ACEOF
17261
 
 
17262
 
 
17263
 
cat >>confdefs.h <<_ACEOF
17264
 
#define HASH_MAP_H $ac_cv_cxx_hash_map_header
17265
 
_ACEOF
17266
 
 
17267
 
 
17268
 
cat >>confdefs.h <<_ACEOF
17269
 
#define HASH_SET_H $ac_cv_cxx_hash_set_header
 
15908
   if test -n "$ac_cv_cxx_hash_map"; then
 
15909
 
 
15910
$as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
 
15911
 
 
15912
 
 
15913
$as_echo "#define HAVE_HASH_SET 1" >>confdefs.h
 
15914
 
 
15915
 
 
15916
cat >>confdefs.h <<_ACEOF
 
15917
#define HASH_MAP_H $ac_cv_cxx_hash_map
 
15918
_ACEOF
 
15919
 
 
15920
 
 
15921
cat >>confdefs.h <<_ACEOF
 
15922
#define HASH_SET_H $ac_cv_cxx_hash_set
 
15923
_ACEOF
 
15924
 
 
15925
 
 
15926
cat >>confdefs.h <<_ACEOF
 
15927
#define HASH_NAMESPACE $ac_cv_cxx_hash_namespace
17270
15928
_ACEOF
17271
15929
 
17272
15930
 
17279
15937
#define HASH_SET_CLASS $ac_cv_cxx_hash_set_class
17280
15938
_ACEOF
17281
15939
 
17282
 
 
17283
 
cat >>confdefs.h <<_ACEOF
17284
 
#define HASH_NAMESPACE $ac_cv_cxx_hash_namespace
17285
 
_ACEOF
17286
 
 
17287
 
      { echo "$as_me:$LINENO: result: $ac_cv_cxx_hash_map_header" >&5
17288
 
echo "${ECHO_T}$ac_cv_cxx_hash_map_header" >&6; }
 
15940
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_hash_map" >&5
 
15941
$as_echo "$ac_cv_cxx_hash_map" >&6; }
17289
15942
   else
17290
 
      { echo "$as_me:$LINENO: result: " >&5
17291
 
echo "${ECHO_T}" >&6; }
17292
 
      { echo "$as_me:$LINENO: WARNING: could not find an STL hash_map" >&5
17293
 
echo "$as_me: WARNING: could not find an STL hash_map" >&2;}
 
15943
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
 
15944
$as_echo "" >&6; }
 
15945
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find an STL hash_map" >&5
 
15946
$as_echo "$as_me: WARNING: could not find an STL hash_map" >&2;}
17294
15947
   fi
17295
15948
 
17296
15949
 
17299
15952
#   too.
17300
15953
export CFLAGS
17301
15954
export CXXFLAGS
 
15955
 
 
15956
 
17302
15957
subdirs="$subdirs gtest"
17303
15958
 
17304
15959
 
17331
15986
    case $ac_val in #(
17332
15987
    *${as_nl}*)
17333
15988
      case $ac_var in #(
17334
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
17335
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
15989
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
15990
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17336
15991
      esac
17337
15992
      case $ac_var in #(
17338
15993
      _ | IFS | as_nl) ;; #(
17339
 
      *) $as_unset $ac_var ;;
 
15994
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
15995
      *) { eval $ac_var=; unset $ac_var;} ;;
17340
15996
      esac ;;
17341
15997
    esac
17342
15998
  done
17344
16000
  (set) 2>&1 |
17345
16001
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
17346
16002
    *${as_nl}ac_space=\ *)
17347
 
      # `set' does not quote correctly, so add quotes (double-quote
17348
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
16003
      # `set' does not quote correctly, so add quotes: double-quote
 
16004
      # substitution turns \\\\ into \\, and sed turns \\ into \.
17349
16005
      sed -n \
17350
16006
        "s/'/'\\\\''/g;
17351
16007
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17368
16024
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17369
16025
  if test -w "$cache_file"; then
17370
16026
    test "x$cache_file" != "x/dev/null" &&
17371
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
17372
 
echo "$as_me: updating cache $cache_file" >&6;}
 
16027
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
16028
$as_echo "$as_me: updating cache $cache_file" >&6;}
17373
16029
    cat confcache >$cache_file
17374
16030
  else
17375
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
17376
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
16031
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
16032
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17377
16033
  fi
17378
16034
fi
17379
16035
rm -f confcache
17389
16045
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17390
16046
  # 1. Remove the extension, and $U if already installed.
17391
16047
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17392
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
16048
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17393
16049
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
17394
16050
  #    will be set to the directory where LIBOBJS objects are built.
17395
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17396
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
16051
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
16052
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17397
16053
done
17398
16054
LIBOBJS=$ac_libobjs
17399
16055
 
17400
16056
LTLIBOBJS=$ac_ltlibobjs
17401
16057
 
17402
16058
 
 
16059
 if test -n "$EXEEXT"; then
 
16060
  am__EXEEXT_TRUE=
 
16061
  am__EXEEXT_FALSE='#'
 
16062
else
 
16063
  am__EXEEXT_TRUE='#'
 
16064
  am__EXEEXT_FALSE=
 
16065
fi
 
16066
 
17403
16067
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17404
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
17405
 
Usually this means the macro was only invoked conditionally." >&5
17406
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
17407
 
Usually this means the macro was only invoked conditionally." >&2;}
17408
 
   { (exit 1); exit 1; }; }
 
16068
  as_fn_error "conditional \"AMDEP\" was never defined.
 
16069
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17409
16070
fi
17410
16071
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17411
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
17412
 
Usually this means the macro was only invoked conditionally." >&5
17413
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
17414
 
Usually this means the macro was only invoked conditionally." >&2;}
17415
 
   { (exit 1); exit 1; }; }
 
16072
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
16073
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17416
16074
fi
17417
16075
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17418
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
17419
 
Usually this means the macro was only invoked conditionally." >&5
17420
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
17421
 
Usually this means the macro was only invoked conditionally." >&2;}
17422
 
   { (exit 1); exit 1; }; }
 
16076
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
16077
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17423
16078
fi
17424
16079
if test -z "${GCC_TRUE}" && test -z "${GCC_FALSE}"; then
17425
 
  { { echo "$as_me:$LINENO: error: conditional \"GCC\" was never defined.
17426
 
Usually this means the macro was only invoked conditionally." >&5
17427
 
echo "$as_me: error: conditional \"GCC\" was never defined.
17428
 
Usually this means the macro was only invoked conditionally." >&2;}
17429
 
   { (exit 1); exit 1; }; }
 
16080
  as_fn_error "conditional \"GCC\" was never defined.
 
16081
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17430
16082
fi
17431
16083
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17432
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
17433
 
Usually this means the macro was only invoked conditionally." >&5
17434
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
17435
 
Usually this means the macro was only invoked conditionally." >&2;}
17436
 
   { (exit 1); exit 1; }; }
 
16084
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
16085
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17437
16086
fi
17438
16087
if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
17439
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_ZLIB\" was never defined.
17440
 
Usually this means the macro was only invoked conditionally." >&5
17441
 
echo "$as_me: error: conditional \"HAVE_ZLIB\" was never defined.
17442
 
Usually this means the macro was only invoked conditionally." >&2;}
17443
 
   { (exit 1); exit 1; }; }
 
16088
  as_fn_error "conditional \"HAVE_ZLIB\" was never defined.
 
16089
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17444
16090
fi
17445
16091
if test -z "${USE_EXTERNAL_PROTOC_TRUE}" && test -z "${USE_EXTERNAL_PROTOC_FALSE}"; then
17446
 
  { { echo "$as_me:$LINENO: error: conditional \"USE_EXTERNAL_PROTOC\" was never defined.
17447
 
Usually this means the macro was only invoked conditionally." >&5
17448
 
echo "$as_me: error: conditional \"USE_EXTERNAL_PROTOC\" was never defined.
17449
 
Usually this means the macro was only invoked conditionally." >&2;}
17450
 
   { (exit 1); exit 1; }; }
 
16092
  as_fn_error "conditional \"USE_EXTERNAL_PROTOC\" was never defined.
 
16093
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17451
16094
fi
17452
16095
 
17453
16096
: ${CONFIG_STATUS=./config.status}
 
16097
ac_write_fail=0
17454
16098
ac_clean_files_save=$ac_clean_files
17455
16099
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17456
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
17457
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
17458
 
cat >$CONFIG_STATUS <<_ACEOF
 
16100
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
16101
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
16102
as_write_fail=0
 
16103
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17459
16104
#! $SHELL
17460
16105
# Generated by $as_me.
17461
16106
# Run this file to recreate the current configuration.
17465
16110
debug=false
17466
16111
ac_cs_recheck=false
17467
16112
ac_cs_silent=false
 
16113
 
17468
16114
SHELL=\${CONFIG_SHELL-$SHELL}
17469
 
_ACEOF
17470
 
 
17471
 
cat >>$CONFIG_STATUS <<\_ACEOF
17472
 
## --------------------- ##
17473
 
## M4sh Initialization.  ##
17474
 
## --------------------- ##
 
16115
export SHELL
 
16116
_ASEOF
 
16117
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
16118
## -------------------- ##
 
16119
## M4sh Initialization. ##
 
16120
## -------------------- ##
17475
16121
 
17476
16122
# Be more Bourne compatible
17477
16123
DUALCASE=1; export DUALCASE # for MKS sh
17478
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
16124
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17479
16125
  emulate sh
17480
16126
  NULLCMD=:
17481
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
16127
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17482
16128
  # is contrary to our usage.  Disable this feature.
17483
16129
  alias -g '${1+"$@"}'='"$@"'
17484
16130
  setopt NO_GLOB_SUBST
17485
16131
else
17486
 
  case `(set -o) 2>/dev/null` in
17487
 
  *posix*) set -o posix ;;
 
16132
  case `(set -o) 2>/dev/null` in #(
 
16133
  *posix*) :
 
16134
    set -o posix ;; #(
 
16135
  *) :
 
16136
     ;;
17488
16137
esac
17489
 
 
17490
 
fi
17491
 
 
17492
 
 
17493
 
 
17494
 
 
17495
 
# PATH needs CR
17496
 
# Avoid depending upon Character Ranges.
17497
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17498
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17499
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17500
 
as_cr_digits='0123456789'
17501
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
16138
fi
 
16139
 
 
16140
 
 
16141
as_nl='
 
16142
'
 
16143
export as_nl
 
16144
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
16145
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
16146
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
16147
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
16148
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
16149
# but without wasting forks for bash or zsh.
 
16150
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
16151
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
16152
  as_echo='print -r --'
 
16153
  as_echo_n='print -rn --'
 
16154
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
16155
  as_echo='printf %s\n'
 
16156
  as_echo_n='printf %s'
 
16157
else
 
16158
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
16159
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
16160
    as_echo_n='/usr/ucb/echo -n'
 
16161
  else
 
16162
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
16163
    as_echo_n_body='eval
 
16164
      arg=$1;
 
16165
      case $arg in #(
 
16166
      *"$as_nl"*)
 
16167
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
16168
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
16169
      esac;
 
16170
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
16171
    '
 
16172
    export as_echo_n_body
 
16173
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
16174
  fi
 
16175
  export as_echo_body
 
16176
  as_echo='sh -c $as_echo_body as_echo'
 
16177
fi
17502
16178
 
17503
16179
# The user is always right.
17504
16180
if test "${PATH_SEPARATOR+set}" != set; then
17505
 
  echo "#! /bin/sh" >conf$$.sh
17506
 
  echo  "exit 0"   >>conf$$.sh
17507
 
  chmod +x conf$$.sh
17508
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
17509
 
    PATH_SEPARATOR=';'
17510
 
  else
17511
 
    PATH_SEPARATOR=:
17512
 
  fi
17513
 
  rm -f conf$$.sh
17514
 
fi
17515
 
 
17516
 
# Support unset when possible.
17517
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
17518
 
  as_unset=unset
17519
 
else
17520
 
  as_unset=false
 
16181
  PATH_SEPARATOR=:
 
16182
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
16183
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
16184
      PATH_SEPARATOR=';'
 
16185
  }
17521
16186
fi
17522
16187
 
17523
16188
 
17526
16191
# there to prevent editors from complaining about space-tab.
17527
16192
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
17528
16193
# splitting by setting IFS to empty value.)
17529
 
as_nl='
17530
 
'
17531
16194
IFS=" ""        $as_nl"
17532
16195
 
17533
16196
# Find who we are.  Look in the path if we contain no directory separator.
17534
 
case $0 in
 
16197
case $0 in #((
17535
16198
  *[\\/]* ) as_myself=$0 ;;
17536
16199
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17537
16200
for as_dir in $PATH
17538
16201
do
17539
16202
  IFS=$as_save_IFS
17540
16203
  test -z "$as_dir" && as_dir=.
17541
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17542
 
done
 
16204
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
16205
  done
17543
16206
IFS=$as_save_IFS
17544
16207
 
17545
16208
     ;;
17550
16213
  as_myself=$0
17551
16214
fi
17552
16215
if test ! -f "$as_myself"; then
17553
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17554
 
  { (exit 1); exit 1; }
 
16216
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
16217
  exit 1
17555
16218
fi
17556
16219
 
17557
 
# Work around bugs in pre-3.0 UWIN ksh.
17558
 
for as_var in ENV MAIL MAILPATH
17559
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
16220
# Unset variables that we do not need and which cause bugs (e.g. in
 
16221
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
16222
# suppresses any "Segmentation fault" message there.  '((' could
 
16223
# trigger a bug in pdksh 5.2.14.
 
16224
for as_var in BASH_ENV ENV MAIL MAILPATH
 
16225
do eval test x\${$as_var+set} = xset \
 
16226
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17560
16227
done
17561
16228
PS1='$ '
17562
16229
PS2='> '
17563
16230
PS4='+ '
17564
16231
 
17565
16232
# NLS nuisances.
17566
 
for as_var in \
17567
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
17568
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
17569
 
  LC_TELEPHONE LC_TIME
17570
 
do
17571
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
17572
 
    eval $as_var=C; export $as_var
17573
 
  else
17574
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
16233
LC_ALL=C
 
16234
export LC_ALL
 
16235
LANGUAGE=C
 
16236
export LANGUAGE
 
16237
 
 
16238
# CDPATH.
 
16239
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
16240
 
 
16241
 
 
16242
# as_fn_error ERROR [LINENO LOG_FD]
 
16243
# ---------------------------------
 
16244
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
16245
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
16246
# script with status $?, using 1 if that was 0.
 
16247
as_fn_error ()
 
16248
{
 
16249
  as_status=$?; test $as_status -eq 0 && as_status=1
 
16250
  if test "$3"; then
 
16251
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
16252
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
17575
16253
  fi
17576
 
done
17577
 
 
17578
 
# Required to use basename.
 
16254
  $as_echo "$as_me: error: $1" >&2
 
16255
  as_fn_exit $as_status
 
16256
} # as_fn_error
 
16257
 
 
16258
 
 
16259
# as_fn_set_status STATUS
 
16260
# -----------------------
 
16261
# Set $? to STATUS, without forking.
 
16262
as_fn_set_status ()
 
16263
{
 
16264
  return $1
 
16265
} # as_fn_set_status
 
16266
 
 
16267
# as_fn_exit STATUS
 
16268
# -----------------
 
16269
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
16270
as_fn_exit ()
 
16271
{
 
16272
  set +e
 
16273
  as_fn_set_status $1
 
16274
  exit $1
 
16275
} # as_fn_exit
 
16276
 
 
16277
# as_fn_unset VAR
 
16278
# ---------------
 
16279
# Portably unset VAR.
 
16280
as_fn_unset ()
 
16281
{
 
16282
  { eval $1=; unset $1;}
 
16283
}
 
16284
as_unset=as_fn_unset
 
16285
# as_fn_append VAR VALUE
 
16286
# ----------------------
 
16287
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
16288
# advantage of any shell optimizations that allow amortized linear growth over
 
16289
# repeated appends, instead of the typical quadratic growth present in naive
 
16290
# implementations.
 
16291
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
16292
  eval 'as_fn_append ()
 
16293
  {
 
16294
    eval $1+=\$2
 
16295
  }'
 
16296
else
 
16297
  as_fn_append ()
 
16298
  {
 
16299
    eval $1=\$$1\$2
 
16300
  }
 
16301
fi # as_fn_append
 
16302
 
 
16303
# as_fn_arith ARG...
 
16304
# ------------------
 
16305
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
16306
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
16307
# must be portable across $(()) and expr.
 
16308
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
16309
  eval 'as_fn_arith ()
 
16310
  {
 
16311
    as_val=$(( $* ))
 
16312
  }'
 
16313
else
 
16314
  as_fn_arith ()
 
16315
  {
 
16316
    as_val=`expr "$@" || test $? -eq 1`
 
16317
  }
 
16318
fi # as_fn_arith
 
16319
 
 
16320
 
17579
16321
if expr a : '\(a\)' >/dev/null 2>&1 &&
17580
16322
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
17581
16323
  as_expr=expr
17589
16331
  as_basename=false
17590
16332
fi
17591
16333
 
 
16334
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
16335
  as_dirname=dirname
 
16336
else
 
16337
  as_dirname=false
 
16338
fi
17592
16339
 
17593
 
# Name of the executable.
17594
16340
as_me=`$as_basename -- "$0" ||
17595
16341
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17596
16342
         X"$0" : 'X\(//\)$' \| \
17597
16343
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17598
 
echo X/"$0" |
 
16344
$as_echo X/"$0" |
17599
16345
    sed '/^.*\/\([^/][^/]*\)\/*$/{
17600
16346
            s//\1/
17601
16347
            q
17610
16356
          }
17611
16357
          s/.*/./; q'`
17612
16358
 
17613
 
# CDPATH.
17614
 
$as_unset CDPATH
17615
 
 
17616
 
 
17617
 
 
17618
 
  as_lineno_1=$LINENO
17619
 
  as_lineno_2=$LINENO
17620
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
17621
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
17622
 
 
17623
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
17624
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
17625
 
  # line-number line after each line using $LINENO; the second 'sed'
17626
 
  # does the real work.  The second script uses 'N' to pair each
17627
 
  # line-number line with the line containing $LINENO, and appends
17628
 
  # trailing '-' during substitution so that $LINENO is not a special
17629
 
  # case at line end.
17630
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
17631
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
17632
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
17633
 
  sed -n '
17634
 
    p
17635
 
    /[$]LINENO/=
17636
 
  ' <$as_myself |
17637
 
    sed '
17638
 
      s/[$]LINENO.*/&-/
17639
 
      t lineno
17640
 
      b
17641
 
      :lineno
17642
 
      N
17643
 
      :loop
17644
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
17645
 
      t loop
17646
 
      s/-\n.*//
17647
 
    ' >$as_me.lineno &&
17648
 
  chmod +x "$as_me.lineno" ||
17649
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
17650
 
   { (exit 1); exit 1; }; }
17651
 
 
17652
 
  # Don't try to exec as it changes $[0], causing all sort of problems
17653
 
  # (the dirname of $[0] is not the place where we might find the
17654
 
  # original and so on.  Autoconf is especially sensitive to this).
17655
 
  . "./$as_me.lineno"
17656
 
  # Exit status is that of the last command.
17657
 
  exit
17658
 
}
17659
 
 
17660
 
 
17661
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17662
 
  as_dirname=dirname
17663
 
else
17664
 
  as_dirname=false
17665
 
fi
 
16359
# Avoid depending upon Character Ranges.
 
16360
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
16361
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
16362
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
16363
as_cr_digits='0123456789'
 
16364
as_cr_alnum=$as_cr_Letters$as_cr_digits
17666
16365
 
17667
16366
ECHO_C= ECHO_N= ECHO_T=
17668
 
case `echo -n x` in
 
16367
case `echo -n x` in #(((((
17669
16368
-n*)
17670
 
  case `echo 'x\c'` in
 
16369
  case `echo 'xy\c'` in
17671
16370
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
17672
 
  *)   ECHO_C='\c';;
 
16371
  xy)  ECHO_C='\c';;
 
16372
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
16373
       ECHO_T=' ';;
17673
16374
  esac;;
17674
16375
*)
17675
16376
  ECHO_N='-n';;
17676
16377
esac
17677
16378
 
17678
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
17679
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
17680
 
  as_expr=expr
17681
 
else
17682
 
  as_expr=false
17683
 
fi
17684
 
 
17685
16379
rm -f conf$$ conf$$.exe conf$$.file
17686
16380
if test -d conf$$.dir; then
17687
16381
  rm -f conf$$.dir/conf$$.file
17688
16382
else
17689
16383
  rm -f conf$$.dir
17690
 
  mkdir conf$$.dir
 
16384
  mkdir conf$$.dir 2>/dev/null
17691
16385
fi
17692
 
echo >conf$$.file
17693
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
17694
 
  as_ln_s='ln -s'
17695
 
  # ... but there are two gotchas:
17696
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17697
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17698
 
  # In both cases, we have to default to `cp -p'.
17699
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
16386
if (echo >conf$$.file) 2>/dev/null; then
 
16387
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
16388
    as_ln_s='ln -s'
 
16389
    # ... but there are two gotchas:
 
16390
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
16391
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
16392
    # In both cases, we have to default to `cp -p'.
 
16393
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
16394
      as_ln_s='cp -p'
 
16395
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
16396
    as_ln_s=ln
 
16397
  else
17700
16398
    as_ln_s='cp -p'
17701
 
elif ln conf$$.file conf$$ 2>/dev/null; then
17702
 
  as_ln_s=ln
 
16399
  fi
17703
16400
else
17704
16401
  as_ln_s='cp -p'
17705
16402
fi
17706
16403
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17707
16404
rmdir conf$$.dir 2>/dev/null
17708
16405
 
 
16406
 
 
16407
# as_fn_mkdir_p
 
16408
# -------------
 
16409
# Create "$as_dir" as a directory, including parents if necessary.
 
16410
as_fn_mkdir_p ()
 
16411
{
 
16412
 
 
16413
  case $as_dir in #(
 
16414
  -*) as_dir=./$as_dir;;
 
16415
  esac
 
16416
  test -d "$as_dir" || eval $as_mkdir_p || {
 
16417
    as_dirs=
 
16418
    while :; do
 
16419
      case $as_dir in #(
 
16420
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
16421
      *) as_qdir=$as_dir;;
 
16422
      esac
 
16423
      as_dirs="'$as_qdir' $as_dirs"
 
16424
      as_dir=`$as_dirname -- "$as_dir" ||
 
16425
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
16426
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
16427
         X"$as_dir" : 'X\(//\)$' \| \
 
16428
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
16429
$as_echo X"$as_dir" |
 
16430
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
16431
            s//\1/
 
16432
            q
 
16433
          }
 
16434
          /^X\(\/\/\)[^/].*/{
 
16435
            s//\1/
 
16436
            q
 
16437
          }
 
16438
          /^X\(\/\/\)$/{
 
16439
            s//\1/
 
16440
            q
 
16441
          }
 
16442
          /^X\(\/\).*/{
 
16443
            s//\1/
 
16444
            q
 
16445
          }
 
16446
          s/.*/./; q'`
 
16447
      test -d "$as_dir" && break
 
16448
    done
 
16449
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
16450
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
16451
 
 
16452
 
 
16453
} # as_fn_mkdir_p
17709
16454
if mkdir -p . 2>/dev/null; then
17710
 
  as_mkdir_p=:
 
16455
  as_mkdir_p='mkdir -p "$as_dir"'
17711
16456
else
17712
16457
  test -d ./-p && rmdir ./-p
17713
16458
  as_mkdir_p=false
17724
16469
  as_test_x='
17725
16470
    eval sh -c '\''
17726
16471
      if test -d "$1"; then
17727
 
        test -d "$1/.";
 
16472
        test -d "$1/.";
17728
16473
      else
17729
 
        case $1 in
17730
 
        -*)set "./$1";;
 
16474
        case $1 in #(
 
16475
        -*)set "./$1";;
17731
16476
        esac;
17732
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
16477
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17733
16478
        ???[sx]*):;;*)false;;esac;fi
17734
16479
    '\'' sh
17735
16480
  '
17744
16489
 
17745
16490
 
17746
16491
exec 6>&1
 
16492
## ----------------------------------- ##
 
16493
## Main body of $CONFIG_STATUS script. ##
 
16494
## ----------------------------------- ##
 
16495
_ASEOF
 
16496
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17747
16497
 
17748
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
16498
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16499
# Save the log message, to keep $0 and so on meaningful, and to
17749
16500
# report actual input values of CONFIG_FILES etc. instead of their
17750
16501
# values after options handling.
17751
16502
ac_log="
17752
 
This file was extended by Protocol Buffers $as_me 2.3.0, which was
17753
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
16503
This file was extended by Protocol Buffers $as_me 2.4.0a, which was
 
16504
generated by GNU Autoconf 2.65.  Invocation command line was
17754
16505
 
17755
16506
  CONFIG_FILES    = $CONFIG_FILES
17756
16507
  CONFIG_HEADERS  = $CONFIG_HEADERS
17763
16514
 
17764
16515
_ACEOF
17765
16516
 
17766
 
cat >>$CONFIG_STATUS <<_ACEOF
 
16517
case $ac_config_files in *"
 
16518
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
16519
esac
 
16520
 
 
16521
case $ac_config_headers in *"
 
16522
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
16523
esac
 
16524
 
 
16525
 
 
16526
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17767
16527
# Files that config.status was made for.
17768
16528
config_files="$ac_config_files"
17769
16529
config_headers="$ac_config_headers"
17771
16531
 
17772
16532
_ACEOF
17773
16533
 
17774
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
16534
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17775
16535
ac_cs_usage="\
17776
 
\`$as_me' instantiates files from templates according to the
17777
 
current configuration.
 
16536
\`$as_me' instantiates files and other configuration actions
 
16537
from templates according to the current configuration.  Unless the files
 
16538
and actions are specified as TAGs, all are instantiated by default.
17778
16539
 
17779
 
Usage: $0 [OPTIONS] [FILE]...
 
16540
Usage: $0 [OPTION]... [TAG]...
17780
16541
 
17781
16542
  -h, --help       print this help, then exit
17782
16543
  -V, --version    print version number and configuration settings, then exit
17783
 
  -q, --quiet      do not print progress messages
 
16544
      --config     print configuration, then exit
 
16545
  -q, --quiet, --silent
 
16546
                   do not print progress messages
17784
16547
  -d, --debug      don't remove temporary files
17785
16548
      --recheck    update $as_me by reconfiguring in the same conditions
17786
 
  --file=FILE[:TEMPLATE]
17787
 
                   instantiate the configuration file FILE
17788
 
  --header=FILE[:TEMPLATE]
17789
 
                   instantiate the configuration header FILE
 
16549
      --file=FILE[:TEMPLATE]
 
16550
                   instantiate the configuration file FILE
 
16551
      --header=FILE[:TEMPLATE]
 
16552
                   instantiate the configuration header FILE
17790
16553
 
17791
16554
Configuration files:
17792
16555
$config_files
17797
16560
Configuration commands:
17798
16561
$config_commands
17799
16562
 
17800
 
Report bugs to <bug-autoconf@gnu.org>."
 
16563
Report bugs to <protobuf@googlegroups.com>."
17801
16564
 
17802
16565
_ACEOF
17803
 
cat >>$CONFIG_STATUS <<_ACEOF
 
16566
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16567
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17804
16568
ac_cs_version="\\
17805
 
Protocol Buffers config.status 2.3.0
17806
 
configured by $0, generated by GNU Autoconf 2.61,
17807
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
16569
Protocol Buffers config.status 2.4.0a
 
16570
configured by $0, generated by GNU Autoconf 2.65,
 
16571
  with options \\"\$ac_cs_config\\"
17808
16572
 
17809
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
16573
Copyright (C) 2009 Free Software Foundation, Inc.
17810
16574
This config.status script is free software; the Free Software Foundation
17811
16575
gives unlimited permission to copy, distribute and modify it."
17812
16576
 
17814
16578
srcdir='$srcdir'
17815
16579
INSTALL='$INSTALL'
17816
16580
MKDIR_P='$MKDIR_P'
 
16581
AWK='$AWK'
 
16582
test -n "\$AWK" || AWK=awk
17817
16583
_ACEOF
17818
16584
 
17819
 
cat >>$CONFIG_STATUS <<\_ACEOF
17820
 
# If no file are specified by the user, then we need to provide default
17821
 
# value.  By we need to know if files were specified by the user.
 
16585
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16586
# The default lists apply if the user does not specify any file.
17822
16587
ac_need_defaults=:
17823
16588
while test $# != 0
17824
16589
do
17840
16605
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17841
16606
    ac_cs_recheck=: ;;
17842
16607
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17843
 
    echo "$ac_cs_version"; exit ;;
 
16608
    $as_echo "$ac_cs_version"; exit ;;
 
16609
  --config | --confi | --conf | --con | --co | --c )
 
16610
    $as_echo "$ac_cs_config"; exit ;;
17844
16611
  --debug | --debu | --deb | --de | --d | -d )
17845
16612
    debug=: ;;
17846
16613
  --file | --fil | --fi | --f )
17847
16614
    $ac_shift
17848
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
16615
    case $ac_optarg in
 
16616
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
16617
    esac
 
16618
    as_fn_append CONFIG_FILES " '$ac_optarg'"
17849
16619
    ac_need_defaults=false;;
17850
16620
  --header | --heade | --head | --hea )
17851
16621
    $ac_shift
17852
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
16622
    case $ac_optarg in
 
16623
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
16624
    esac
 
16625
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17853
16626
    ac_need_defaults=false;;
17854
16627
  --he | --h)
17855
16628
    # Conflict between --help and --header
17856
 
    { echo "$as_me: error: ambiguous option: $1
17857
 
Try \`$0 --help' for more information." >&2
17858
 
   { (exit 1); exit 1; }; };;
 
16629
    as_fn_error "ambiguous option: \`$1'
 
16630
Try \`$0 --help' for more information.";;
17859
16631
  --help | --hel | -h )
17860
 
    echo "$ac_cs_usage"; exit ;;
 
16632
    $as_echo "$ac_cs_usage"; exit ;;
17861
16633
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17862
16634
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
17863
16635
    ac_cs_silent=: ;;
17864
16636
 
17865
16637
  # This is an error.
17866
 
  -*) { echo "$as_me: error: unrecognized option: $1
17867
 
Try \`$0 --help' for more information." >&2
17868
 
   { (exit 1); exit 1; }; } ;;
 
16638
  -*) as_fn_error "unrecognized option: \`$1'
 
16639
Try \`$0 --help' for more information." ;;
17869
16640
 
17870
 
  *) ac_config_targets="$ac_config_targets $1"
 
16641
  *) as_fn_append ac_config_targets " $1"
17871
16642
     ac_need_defaults=false ;;
17872
16643
 
17873
16644
  esac
17882
16653
fi
17883
16654
 
17884
16655
_ACEOF
17885
 
cat >>$CONFIG_STATUS <<_ACEOF
 
16656
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17886
16657
if \$ac_cs_recheck; then
17887
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
17888
 
  CONFIG_SHELL=$SHELL
 
16658
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
16659
  shift
 
16660
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
16661
  CONFIG_SHELL='$SHELL'
17889
16662
  export CONFIG_SHELL
17890
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
16663
  exec "\$@"
17891
16664
fi
17892
16665
 
17893
16666
_ACEOF
17894
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
16667
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17895
16668
exec 5>>config.log
17896
16669
{
17897
16670
  echo
17898
16671
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17899
16672
## Running $as_me. ##
17900
16673
_ASBOX
17901
 
  echo "$ac_log"
 
16674
  $as_echo "$ac_log"
17902
16675
} >&5
17903
16676
 
17904
16677
_ACEOF
17905
 
cat >>$CONFIG_STATUS <<_ACEOF
 
16678
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17906
16679
#
17907
16680
# INIT-COMMANDS
17908
16681
#
17944
16717
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17945
16718
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17946
16719
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16720
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17947
16721
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17948
16722
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17949
16723
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
18102
16876
lt_SP2NL \
18103
16877
lt_NL2SP \
18104
16878
reload_flag \
 
16879
OBJDUMP \
18105
16880
deplibs_check_method \
18106
16881
file_magic_cmd \
18107
16882
AR \
18259
17034
 
18260
17035
_ACEOF
18261
17036
 
18262
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
17037
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18263
17038
 
18264
17039
# Handling of arguments.
18265
17040
for ac_config_target in $ac_config_targets
18273
17048
    "protobuf.pc") CONFIG_FILES="$CONFIG_FILES protobuf.pc" ;;
18274
17049
    "protobuf-lite.pc") CONFIG_FILES="$CONFIG_FILES protobuf-lite.pc" ;;
18275
17050
 
18276
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
18277
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
18278
 
   { (exit 1); exit 1; }; };;
 
17051
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18279
17052
  esac
18280
17053
done
18281
17054
 
18302
17075
  trap 'exit_status=$?
18303
17076
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
18304
17077
' 0
18305
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
17078
  trap 'as_fn_exit 1' 1 2 13 15
18306
17079
}
18307
17080
# Create a (secure) tmp directory for tmp files.
18308
17081
 
18313
17086
{
18314
17087
  tmp=./conf$$-$RANDOM
18315
17088
  (umask 077 && mkdir "$tmp")
18316
 
} ||
18317
 
{
18318
 
   echo "$me: cannot create a temporary directory in ." >&2
18319
 
   { (exit 1); exit 1; }
18320
 
}
18321
 
 
18322
 
#
18323
 
# Set up the sed scripts for CONFIG_FILES section.
18324
 
#
18325
 
 
18326
 
# No need to generate the scripts if there are no CONFIG_FILES.
18327
 
# This happens for instance when ./config.status config.h
 
17089
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
17090
 
 
17091
# Set up the scripts for CONFIG_FILES section.
 
17092
# No need to generate them if there are no CONFIG_FILES.
 
17093
# This happens for instance with `./config.status config.h'.
18328
17094
if test -n "$CONFIG_FILES"; then
18329
17095
 
18330
 
_ACEOF
18331
 
 
18332
 
 
18333
 
 
18334
 
ac_delim='%!_!# '
18335
 
for ac_last_try in false false false false false :; do
18336
 
  cat >conf$$subs.sed <<_ACEOF
18337
 
SHELL!$SHELL$ac_delim
18338
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
18339
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
18340
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
18341
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
18342
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
18343
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
18344
 
exec_prefix!$exec_prefix$ac_delim
18345
 
prefix!$prefix$ac_delim
18346
 
program_transform_name!$program_transform_name$ac_delim
18347
 
bindir!$bindir$ac_delim
18348
 
sbindir!$sbindir$ac_delim
18349
 
libexecdir!$libexecdir$ac_delim
18350
 
datarootdir!$datarootdir$ac_delim
18351
 
datadir!$datadir$ac_delim
18352
 
sysconfdir!$sysconfdir$ac_delim
18353
 
sharedstatedir!$sharedstatedir$ac_delim
18354
 
localstatedir!$localstatedir$ac_delim
18355
 
includedir!$includedir$ac_delim
18356
 
oldincludedir!$oldincludedir$ac_delim
18357
 
docdir!$docdir$ac_delim
18358
 
infodir!$infodir$ac_delim
18359
 
htmldir!$htmldir$ac_delim
18360
 
dvidir!$dvidir$ac_delim
18361
 
pdfdir!$pdfdir$ac_delim
18362
 
psdir!$psdir$ac_delim
18363
 
libdir!$libdir$ac_delim
18364
 
localedir!$localedir$ac_delim
18365
 
mandir!$mandir$ac_delim
18366
 
DEFS!$DEFS$ac_delim
18367
 
ECHO_C!$ECHO_C$ac_delim
18368
 
ECHO_N!$ECHO_N$ac_delim
18369
 
ECHO_T!$ECHO_T$ac_delim
18370
 
LIBS!$LIBS$ac_delim
18371
 
build_alias!$build_alias$ac_delim
18372
 
host_alias!$host_alias$ac_delim
18373
 
target_alias!$target_alias$ac_delim
18374
 
build!$build$ac_delim
18375
 
build_cpu!$build_cpu$ac_delim
18376
 
build_vendor!$build_vendor$ac_delim
18377
 
build_os!$build_os$ac_delim
18378
 
host!$host$ac_delim
18379
 
host_cpu!$host_cpu$ac_delim
18380
 
host_vendor!$host_vendor$ac_delim
18381
 
host_os!$host_os$ac_delim
18382
 
target!$target$ac_delim
18383
 
target_cpu!$target_cpu$ac_delim
18384
 
target_vendor!$target_vendor$ac_delim
18385
 
target_os!$target_os$ac_delim
18386
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
18387
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
18388
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
18389
 
am__isrc!$am__isrc$ac_delim
18390
 
CYGPATH_W!$CYGPATH_W$ac_delim
18391
 
PACKAGE!$PACKAGE$ac_delim
18392
 
VERSION!$VERSION$ac_delim
18393
 
ACLOCAL!$ACLOCAL$ac_delim
18394
 
AUTOCONF!$AUTOCONF$ac_delim
18395
 
AUTOMAKE!$AUTOMAKE$ac_delim
18396
 
AUTOHEADER!$AUTOHEADER$ac_delim
18397
 
MAKEINFO!$MAKEINFO$ac_delim
18398
 
install_sh!$install_sh$ac_delim
18399
 
STRIP!$STRIP$ac_delim
18400
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
18401
 
mkdir_p!$mkdir_p$ac_delim
18402
 
AWK!$AWK$ac_delim
18403
 
SET_MAKE!$SET_MAKE$ac_delim
18404
 
am__leading_dot!$am__leading_dot$ac_delim
18405
 
AMTAR!$AMTAR$ac_delim
18406
 
am__tar!$am__tar$ac_delim
18407
 
am__untar!$am__untar$ac_delim
18408
 
CC!$CC$ac_delim
18409
 
CFLAGS!$CFLAGS$ac_delim
18410
 
LDFLAGS!$LDFLAGS$ac_delim
18411
 
CPPFLAGS!$CPPFLAGS$ac_delim
18412
 
ac_ct_CC!$ac_ct_CC$ac_delim
18413
 
EXEEXT!$EXEEXT$ac_delim
18414
 
OBJEXT!$OBJEXT$ac_delim
18415
 
DEPDIR!$DEPDIR$ac_delim
18416
 
am__include!$am__include$ac_delim
18417
 
am__quote!$am__quote$ac_delim
18418
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
18419
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
18420
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
18421
 
CCDEPMODE!$CCDEPMODE$ac_delim
18422
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
18423
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
18424
 
CXX!$CXX$ac_delim
18425
 
CXXFLAGS!$CXXFLAGS$ac_delim
18426
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
18427
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
18428
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
18429
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
18430
 
CXXCPP!$CXXCPP$ac_delim
18431
 
GREP!$GREP$ac_delim
18432
 
EGREP!$EGREP$ac_delim
18433
 
GCC_TRUE!$GCC_TRUE$ac_delim
18434
 
_ACEOF
18435
 
 
18436
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
18437
 
    break
18438
 
  elif $ac_last_try; then
18439
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
18440
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
18441
 
   { (exit 1); exit 1; }; }
18442
 
  else
18443
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18444
 
  fi
18445
 
done
18446
 
 
18447
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
18448
 
if test -n "$ac_eof"; then
18449
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
18450
 
  ac_eof=`expr $ac_eof + 1`
18451
 
fi
18452
 
 
18453
 
cat >>$CONFIG_STATUS <<_ACEOF
18454
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
18455
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18456
 
_ACEOF
18457
 
sed '
18458
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
18459
 
s/^/s,@/; s/!/@,|#_!!_#|/
18460
 
:n
18461
 
t n
18462
 
s/'"$ac_delim"'$/,g/; t
18463
 
s/$/\\/; p
18464
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
18465
 
' >>$CONFIG_STATUS <conf$$subs.sed
18466
 
rm -f conf$$subs.sed
18467
 
cat >>$CONFIG_STATUS <<_ACEOF
18468
 
CEOF$ac_eof
18469
 
_ACEOF
18470
 
 
18471
 
 
18472
 
ac_delim='%!_!# '
18473
 
for ac_last_try in false false false false false :; do
18474
 
  cat >conf$$subs.sed <<_ACEOF
18475
 
GCC_FALSE!$GCC_FALSE$ac_delim
18476
 
PROTOBUF_OPT_FLAG!$PROTOBUF_OPT_FLAG$ac_delim
18477
 
ISAINFO!$ISAINFO$ac_delim
18478
 
LIBTOOL!$LIBTOOL$ac_delim
18479
 
SED!$SED$ac_delim
18480
 
FGREP!$FGREP$ac_delim
18481
 
LD!$LD$ac_delim
18482
 
DUMPBIN!$DUMPBIN$ac_delim
18483
 
ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim
18484
 
NM!$NM$ac_delim
18485
 
LN_S!$LN_S$ac_delim
18486
 
AR!$AR$ac_delim
18487
 
RANLIB!$RANLIB$ac_delim
18488
 
lt_ECHO!$lt_ECHO$ac_delim
18489
 
DSYMUTIL!$DSYMUTIL$ac_delim
18490
 
NMEDIT!$NMEDIT$ac_delim
18491
 
LIPO!$LIPO$ac_delim
18492
 
OTOOL!$OTOOL$ac_delim
18493
 
OTOOL64!$OTOOL64$ac_delim
18494
 
LIBOBJS!$LIBOBJS$ac_delim
18495
 
POW_LIB!$POW_LIB$ac_delim
18496
 
HAVE_ZLIB_TRUE!$HAVE_ZLIB_TRUE$ac_delim
18497
 
HAVE_ZLIB_FALSE!$HAVE_ZLIB_FALSE$ac_delim
18498
 
PROTOC!$PROTOC$ac_delim
18499
 
USE_EXTERNAL_PROTOC_TRUE!$USE_EXTERNAL_PROTOC_TRUE$ac_delim
18500
 
USE_EXTERNAL_PROTOC_FALSE!$USE_EXTERNAL_PROTOC_FALSE$ac_delim
18501
 
acx_pthread_config!$acx_pthread_config$ac_delim
18502
 
PTHREAD_CC!$PTHREAD_CC$ac_delim
18503
 
PTHREAD_LIBS!$PTHREAD_LIBS$ac_delim
18504
 
PTHREAD_CFLAGS!$PTHREAD_CFLAGS$ac_delim
18505
 
subdirs!$subdirs$ac_delim
18506
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
18507
 
_ACEOF
18508
 
 
18509
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 32; then
18510
 
    break
18511
 
  elif $ac_last_try; then
18512
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
18513
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
18514
 
   { (exit 1); exit 1; }; }
18515
 
  else
18516
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18517
 
  fi
18518
 
done
18519
 
 
18520
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
18521
 
if test -n "$ac_eof"; then
18522
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
18523
 
  ac_eof=`expr $ac_eof + 1`
18524
 
fi
18525
 
 
18526
 
cat >>$CONFIG_STATUS <<_ACEOF
18527
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
18528
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
18529
 
_ACEOF
18530
 
sed '
18531
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
18532
 
s/^/s,@/; s/!/@,|#_!!_#|/
18533
 
:n
18534
 
t n
18535
 
s/'"$ac_delim"'$/,g/; t
18536
 
s/$/\\/; p
18537
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
18538
 
' >>$CONFIG_STATUS <conf$$subs.sed
18539
 
rm -f conf$$subs.sed
18540
 
cat >>$CONFIG_STATUS <<_ACEOF
18541
 
:end
18542
 
s/|#_!!_#|//g
18543
 
CEOF$ac_eof
18544
 
_ACEOF
18545
 
 
 
17096
 
 
17097
ac_cr=`echo X | tr X '\015'`
 
17098
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
17099
# But we know of no other shell where ac_cr would be empty at this
 
17100
# point, so we can use a bashism as a fallback.
 
17101
if test "x$ac_cr" = x; then
 
17102
  eval ac_cr=\$\'\\r\'
 
17103
fi
 
17104
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
17105
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
17106
  ac_cs_awk_cr='\r'
 
17107
else
 
17108
  ac_cs_awk_cr=$ac_cr
 
17109
fi
 
17110
 
 
17111
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
17112
_ACEOF
 
17113
 
 
17114
 
 
17115
{
 
17116
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
17117
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
17118
  echo "_ACEOF"
 
17119
} >conf$$subs.sh ||
 
17120
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
17121
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
17122
ac_delim='%!_!# '
 
17123
for ac_last_try in false false false false false :; do
 
17124
  . ./conf$$subs.sh ||
 
17125
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
17126
 
 
17127
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
17128
  if test $ac_delim_n = $ac_delim_num; then
 
17129
    break
 
17130
  elif $ac_last_try; then
 
17131
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
17132
  else
 
17133
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
17134
  fi
 
17135
done
 
17136
rm -f conf$$subs.sh
 
17137
 
 
17138
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
17139
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
17140
_ACEOF
 
17141
sed -n '
 
17142
h
 
17143
s/^/S["/; s/!.*/"]=/
 
17144
p
 
17145
g
 
17146
s/^[^!]*!//
 
17147
:repl
 
17148
t repl
 
17149
s/'"$ac_delim"'$//
 
17150
t delim
 
17151
:nl
 
17152
h
 
17153
s/\(.\{148\}\)..*/\1/
 
17154
t more1
 
17155
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
17156
p
 
17157
n
 
17158
b repl
 
17159
:more1
 
17160
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
17161
p
 
17162
g
 
17163
s/.\{148\}//
 
17164
t nl
 
17165
:delim
 
17166
h
 
17167
s/\(.\{148\}\)..*/\1/
 
17168
t more2
 
17169
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
17170
p
 
17171
b
 
17172
:more2
 
17173
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
17174
p
 
17175
g
 
17176
s/.\{148\}//
 
17177
t delim
 
17178
' <conf$$subs.awk | sed '
 
17179
/^[^""]/{
 
17180
  N
 
17181
  s/\n//
 
17182
}
 
17183
' >>$CONFIG_STATUS || ac_write_fail=1
 
17184
rm -f conf$$subs.awk
 
17185
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
17186
_ACAWK
 
17187
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
17188
  for (key in S) S_is_set[key] = 1
 
17189
  FS = ""
 
17190
 
 
17191
}
 
17192
{
 
17193
  line = $ 0
 
17194
  nfields = split(line, field, "@")
 
17195
  substed = 0
 
17196
  len = length(field[1])
 
17197
  for (i = 2; i < nfields; i++) {
 
17198
    key = field[i]
 
17199
    keylen = length(key)
 
17200
    if (S_is_set[key]) {
 
17201
      value = S[key]
 
17202
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
17203
      len += length(value) + length(field[++i])
 
17204
      substed = 1
 
17205
    } else
 
17206
      len += 1 + keylen
 
17207
  }
 
17208
 
 
17209
  print line
 
17210
}
 
17211
 
 
17212
_ACAWK
 
17213
_ACEOF
 
17214
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17215
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
17216
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
17217
else
 
17218
  cat
 
17219
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
17220
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
17221
_ACEOF
18546
17222
 
18547
17223
# VPATH may cause trouble with some makes, so we remove $(srcdir),
18548
17224
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
18559
17235
}'
18560
17236
fi
18561
17237
 
18562
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
17238
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18563
17239
fi # test -n "$CONFIG_FILES"
18564
17240
 
18565
 
 
18566
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
17241
# Set up the scripts for CONFIG_HEADERS section.
 
17242
# No need to generate them if there are no CONFIG_HEADERS.
 
17243
# This happens for instance with `./config.status Makefile'.
 
17244
if test -n "$CONFIG_HEADERS"; then
 
17245
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
17246
BEGIN {
 
17247
_ACEOF
 
17248
 
 
17249
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
17250
# here-document in config.status, that substitutes the proper values into
 
17251
# config.h.in to produce config.h.
 
17252
 
 
17253
# Create a delimiter string that does not exist in confdefs.h, to ease
 
17254
# handling of long lines.
 
17255
ac_delim='%!_!# '
 
17256
for ac_last_try in false false :; do
 
17257
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
17258
  if test -z "$ac_t"; then
 
17259
    break
 
17260
  elif $ac_last_try; then
 
17261
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
17262
  else
 
17263
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
17264
  fi
 
17265
done
 
17266
 
 
17267
# For the awk script, D is an array of macro values keyed by name,
 
17268
# likewise P contains macro parameters if any.  Preserve backslash
 
17269
# newline sequences.
 
17270
 
 
17271
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
17272
sed -n '
 
17273
s/.\{148\}/&'"$ac_delim"'/g
 
17274
t rset
 
17275
:rset
 
17276
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
17277
t def
 
17278
d
 
17279
:def
 
17280
s/\\$//
 
17281
t bsnl
 
17282
s/["\\]/\\&/g
 
17283
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
17284
D["\1"]=" \3"/p
 
17285
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
17286
d
 
17287
:bsnl
 
17288
s/["\\]/\\&/g
 
17289
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
17290
D["\1"]=" \3\\\\\\n"\\/p
 
17291
t cont
 
17292
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
17293
t cont
 
17294
d
 
17295
:cont
 
17296
n
 
17297
s/.\{148\}/&'"$ac_delim"'/g
 
17298
t clear
 
17299
:clear
 
17300
s/\\$//
 
17301
t bsnlc
 
17302
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
17303
d
 
17304
:bsnlc
 
17305
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
17306
b cont
 
17307
' <confdefs.h | sed '
 
17308
s/'"$ac_delim"'/"\\\
 
17309
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
17310
 
 
17311
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
17312
  for (key in D) D_is_set[key] = 1
 
17313
  FS = ""
 
17314
}
 
17315
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
17316
  line = \$ 0
 
17317
  split(line, arg, " ")
 
17318
  if (arg[1] == "#") {
 
17319
    defundef = arg[2]
 
17320
    mac1 = arg[3]
 
17321
  } else {
 
17322
    defundef = substr(arg[1], 2)
 
17323
    mac1 = arg[2]
 
17324
  }
 
17325
  split(mac1, mac2, "(") #)
 
17326
  macro = mac2[1]
 
17327
  prefix = substr(line, 1, index(line, defundef) - 1)
 
17328
  if (D_is_set[macro]) {
 
17329
    # Preserve the white space surrounding the "#".
 
17330
    print prefix "define", macro P[macro] D[macro]
 
17331
    next
 
17332
  } else {
 
17333
    # Replace #undef with comments.  This is necessary, for example,
 
17334
    # in the case of _POSIX_SOURCE, which is predefined and required
 
17335
    # on some systems where configure will not decide to define it.
 
17336
    if (defundef == "undef") {
 
17337
      print "/*", prefix defundef, macro, "*/"
 
17338
      next
 
17339
    }
 
17340
  }
 
17341
}
 
17342
{ print }
 
17343
_ACAWK
 
17344
_ACEOF
 
17345
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17346
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
17347
fi # test -n "$CONFIG_HEADERS"
 
17348
 
 
17349
 
 
17350
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
17351
shift
 
17352
for ac_tag
18567
17353
do
18568
17354
  case $ac_tag in
18569
17355
  :[FHLC]) ac_mode=$ac_tag; continue;;
18570
17356
  esac
18571
17357
  case $ac_mode$ac_tag in
18572
17358
  :[FHL]*:*);;
18573
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
18574
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
18575
 
   { (exit 1); exit 1; }; };;
 
17359
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
18576
17360
  :[FH]-) ac_tag=-:-;;
18577
17361
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18578
17362
  esac
18600
17384
           [\\/$]*) false;;
18601
17385
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18602
17386
           esac ||
18603
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
18604
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
18605
 
   { (exit 1); exit 1; }; };;
 
17387
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18606
17388
      esac
18607
 
      ac_file_inputs="$ac_file_inputs $ac_f"
 
17389
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
17390
      as_fn_append ac_file_inputs " '$ac_f'"
18608
17391
    done
18609
17392
 
18610
17393
    # Let's still pretend it is `configure' which instantiates (i.e., don't
18611
17394
    # use $as_me), people would be surprised to read:
18612
17395
    #    /* config.h.  Generated by config.status.  */
18613
 
    configure_input="Generated from "`IFS=:
18614
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
17396
    configure_input='Generated from '`
 
17397
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
17398
        `' by configure.'
18615
17399
    if test x"$ac_file" != x-; then
18616
17400
      configure_input="$ac_file.  $configure_input"
18617
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
18618
 
echo "$as_me: creating $ac_file" >&6;}
 
17401
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
17402
$as_echo "$as_me: creating $ac_file" >&6;}
18619
17403
    fi
 
17404
    # Neutralize special characters interpreted by sed in replacement strings.
 
17405
    case $configure_input in #(
 
17406
    *\&* | *\|* | *\\* )
 
17407
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
17408
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
17409
    *) ac_sed_conf_input=$configure_input;;
 
17410
    esac
18620
17411
 
18621
17412
    case $ac_tag in
18622
 
    *:-:* | *:-) cat >"$tmp/stdin";;
 
17413
    *:-:* | *:-) cat >"$tmp/stdin" \
 
17414
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
18623
17415
    esac
18624
17416
    ;;
18625
17417
  esac
18629
17421
         X"$ac_file" : 'X\(//\)[^/]' \| \
18630
17422
         X"$ac_file" : 'X\(//\)$' \| \
18631
17423
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18632
 
echo X"$ac_file" |
18633
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18634
 
            s//\1/
18635
 
            q
18636
 
          }
18637
 
          /^X\(\/\/\)[^/].*/{
18638
 
            s//\1/
18639
 
            q
18640
 
          }
18641
 
          /^X\(\/\/\)$/{
18642
 
            s//\1/
18643
 
            q
18644
 
          }
18645
 
          /^X\(\/\).*/{
18646
 
            s//\1/
18647
 
            q
18648
 
          }
18649
 
          s/.*/./; q'`
18650
 
  { as_dir="$ac_dir"
18651
 
  case $as_dir in #(
18652
 
  -*) as_dir=./$as_dir;;
18653
 
  esac
18654
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
18655
 
    as_dirs=
18656
 
    while :; do
18657
 
      case $as_dir in #(
18658
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
18659
 
      *) as_qdir=$as_dir;;
18660
 
      esac
18661
 
      as_dirs="'$as_qdir' $as_dirs"
18662
 
      as_dir=`$as_dirname -- "$as_dir" ||
18663
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18664
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
18665
 
         X"$as_dir" : 'X\(//\)$' \| \
18666
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18667
 
echo X"$as_dir" |
18668
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18669
 
            s//\1/
18670
 
            q
18671
 
          }
18672
 
          /^X\(\/\/\)[^/].*/{
18673
 
            s//\1/
18674
 
            q
18675
 
          }
18676
 
          /^X\(\/\/\)$/{
18677
 
            s//\1/
18678
 
            q
18679
 
          }
18680
 
          /^X\(\/\).*/{
18681
 
            s//\1/
18682
 
            q
18683
 
          }
18684
 
          s/.*/./; q'`
18685
 
      test -d "$as_dir" && break
18686
 
    done
18687
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
18688
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
18689
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
18690
 
   { (exit 1); exit 1; }; }; }
 
17424
$as_echo X"$ac_file" |
 
17425
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
17426
            s//\1/
 
17427
            q
 
17428
          }
 
17429
          /^X\(\/\/\)[^/].*/{
 
17430
            s//\1/
 
17431
            q
 
17432
          }
 
17433
          /^X\(\/\/\)$/{
 
17434
            s//\1/
 
17435
            q
 
17436
          }
 
17437
          /^X\(\/\).*/{
 
17438
            s//\1/
 
17439
            q
 
17440
          }
 
17441
          s/.*/./; q'`
 
17442
  as_dir="$ac_dir"; as_fn_mkdir_p
18691
17443
  ac_builddir=.
18692
17444
 
18693
17445
case "$ac_dir" in
18694
17446
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18695
17447
*)
18696
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
17448
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18697
17449
  # A ".." for each directory in $ac_dir_suffix.
18698
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
17450
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18699
17451
  case $ac_top_builddir_sub in
18700
17452
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18701
17453
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18740
17492
  esac
18741
17493
_ACEOF
18742
17494
 
18743
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
17495
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18744
17496
# If the template does not know about datarootdir, expand it.
18745
17497
# FIXME: This hack should be removed a few years after 2.60.
18746
17498
ac_datarootdir_hack=; ac_datarootdir_seen=
18747
 
 
18748
 
case `sed -n '/datarootdir/ {
 
17499
ac_sed_dataroot='
 
17500
/datarootdir/ {
18749
17501
  p
18750
17502
  q
18751
17503
}
18753
17505
/@docdir@/p
18754
17506
/@infodir@/p
18755
17507
/@localedir@/p
18756
 
/@mandir@/p
18757
 
' $ac_file_inputs` in
 
17508
/@mandir@/p'
 
17509
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18758
17510
*datarootdir*) ac_datarootdir_seen=yes;;
18759
17511
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18760
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18761
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
17512
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
17513
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18762
17514
_ACEOF
18763
 
cat >>$CONFIG_STATUS <<_ACEOF
 
17515
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18764
17516
  ac_datarootdir_hack='
18765
17517
  s&@datadir@&$datadir&g
18766
17518
  s&@docdir@&$docdir&g
18767
17519
  s&@infodir@&$infodir&g
18768
17520
  s&@localedir@&$localedir&g
18769
17521
  s&@mandir@&$mandir&g
18770
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
17522
  s&\\\${datarootdir}&$datarootdir&g' ;;
18771
17523
esac
18772
17524
_ACEOF
18773
17525
 
18774
17526
# Neutralize VPATH when `$srcdir' = `.'.
18775
17527
# Shell code in configure.ac might set extrasub.
18776
17528
# FIXME: do we really want to maintain this feature?
18777
 
cat >>$CONFIG_STATUS <<_ACEOF
18778
 
  sed "$ac_vpsub
 
17529
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
17530
ac_sed_extra="$ac_vpsub
18779
17531
$extrasub
18780
17532
_ACEOF
18781
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
17533
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18782
17534
:t
18783
17535
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18784
 
s&@configure_input@&$configure_input&;t t
 
17536
s|@configure_input@|$ac_sed_conf_input|;t t
18785
17537
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
17538
s&@top_build_prefix@&$ac_top_build_prefix&;t t
18786
17539
s&@srcdir@&$ac_srcdir&;t t
18787
17540
s&@abs_srcdir@&$ac_abs_srcdir&;t t
18788
17541
s&@top_srcdir@&$ac_top_srcdir&;t t
18793
17546
s&@INSTALL@&$ac_INSTALL&;t t
18794
17547
s&@MKDIR_P@&$ac_MKDIR_P&;t t
18795
17548
$ac_datarootdir_hack
18796
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
17549
"
 
17550
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
17551
  || as_fn_error "could not create $ac_file" "$LINENO" 5
18797
17552
 
18798
17553
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18799
17554
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
18800
17555
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
18801
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
17556
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18802
17557
which seems to be undefined.  Please make sure it is defined." >&5
18803
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
17558
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18804
17559
which seems to be undefined.  Please make sure it is defined." >&2;}
18805
17560
 
18806
17561
  rm -f "$tmp/stdin"
18807
17562
  case $ac_file in
18808
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
18809
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
18810
 
  esac
 
17563
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
17564
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
17565
  esac \
 
17566
  || as_fn_error "could not create $ac_file" "$LINENO" 5
18811
17567
 ;;
18812
17568
  :H)
18813
17569
  #
18814
17570
  # CONFIG_HEADER
18815
17571
  #
18816
 
_ACEOF
18817
 
 
18818
 
# Transform confdefs.h into a sed script `conftest.defines', that
18819
 
# substitutes the proper values into config.h.in to produce config.h.
18820
 
rm -f conftest.defines conftest.tail
18821
 
# First, append a space to every undef/define line, to ease matching.
18822
 
echo 's/$/ /' >conftest.defines
18823
 
# Then, protect against being on the right side of a sed subst, or in
18824
 
# an unquoted here document, in config.status.  If some macros were
18825
 
# called several times there might be several #defines for the same
18826
 
# symbol, which is useless.  But do not sort them, since the last
18827
 
# AC_DEFINE must be honored.
18828
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18829
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
18830
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
18831
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
18832
 
# just an empty string.
18833
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
18834
 
ac_dB='\\)[      (].*,\\1define\\2'
18835
 
ac_dC=' '
18836
 
ac_dD=' ,'
18837
 
 
18838
 
uniq confdefs.h |
18839
 
  sed -n '
18840
 
        t rset
18841
 
        :rset
18842
 
        s/^[     ]*#[    ]*define[       ][      ]*//
18843
 
        t ok
18844
 
        d
18845
 
        :ok
18846
 
        s/[\\&,]/\\&/g
18847
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
18848
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
18849
 
  ' >>conftest.defines
18850
 
 
18851
 
# Remove the space that was appended to ease matching.
18852
 
# Then replace #undef with comments.  This is necessary, for
18853
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
18854
 
# on some systems where configure will not decide to define it.
18855
 
# (The regexp can be short, since the line contains either #define or #undef.)
18856
 
echo 's/ $//
18857
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
18858
 
 
18859
 
# Break up conftest.defines:
18860
 
ac_max_sed_lines=50
18861
 
 
18862
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
18863
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
18864
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
18865
 
# et cetera.
18866
 
ac_in='$ac_file_inputs'
18867
 
ac_out='"$tmp/out1"'
18868
 
ac_nxt='"$tmp/out2"'
18869
 
 
18870
 
while :
18871
 
do
18872
 
  # Write a here document:
18873
 
    cat >>$CONFIG_STATUS <<_ACEOF
18874
 
    # First, check the format of the line:
18875
 
    cat >"\$tmp/defines.sed" <<\\CEOF
18876
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
18877
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
18878
 
b
18879
 
:def
18880
 
_ACEOF
18881
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
18882
 
  echo 'CEOF
18883
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
18884
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
18885
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
18886
 
  grep . conftest.tail >/dev/null || break
18887
 
  rm -f conftest.defines
18888
 
  mv conftest.tail conftest.defines
18889
 
done
18890
 
rm -f conftest.defines conftest.tail
18891
 
 
18892
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
18893
 
cat >>$CONFIG_STATUS <<\_ACEOF
18894
17572
  if test x"$ac_file" != x-; then
18895
 
    echo "/* $configure_input  */" >"$tmp/config.h"
18896
 
    cat "$ac_result" >>"$tmp/config.h"
18897
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
18898
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
18899
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
17573
    {
 
17574
      $as_echo "/* $configure_input  */" \
 
17575
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
17576
    } >"$tmp/config.h" \
 
17577
      || as_fn_error "could not create $ac_file" "$LINENO" 5
 
17578
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
17579
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
17580
$as_echo "$as_me: $ac_file is unchanged" >&6;}
18900
17581
    else
18901
 
      rm -f $ac_file
18902
 
      mv "$tmp/config.h" $ac_file
 
17582
      rm -f "$ac_file"
 
17583
      mv "$tmp/config.h" "$ac_file" \
 
17584
        || as_fn_error "could not create $ac_file" "$LINENO" 5
18903
17585
    fi
18904
17586
  else
18905
 
    echo "/* $configure_input  */"
18906
 
    cat "$ac_result"
 
17587
    $as_echo "/* $configure_input  */" \
 
17588
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
17589
      || as_fn_error "could not create -" "$LINENO" 5
18907
17590
  fi
18908
 
  rm -f "$tmp/out12"
18909
 
# Compute $ac_file's index in $config_headers.
18910
 
_am_arg=$ac_file
 
17591
# Compute "$ac_file"'s index in $config_headers.
 
17592
_am_arg="$ac_file"
18911
17593
_am_stamp_count=1
18912
17594
for _am_header in $config_headers :; do
18913
17595
  case $_am_header in
18922
17604
         X"$_am_arg" : 'X\(//\)[^/]' \| \
18923
17605
         X"$_am_arg" : 'X\(//\)$' \| \
18924
17606
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18925
 
echo X"$_am_arg" |
 
17607
$as_echo X"$_am_arg" |
18926
17608
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18927
17609
            s//\1/
18928
17610
            q
18942
17624
          s/.*/./; q'`/stamp-h$_am_stamp_count
18943
17625
 ;;
18944
17626
 
18945
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
18946
 
echo "$as_me: executing $ac_file commands" >&6;}
 
17627
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
17628
$as_echo "$as_me: executing $ac_file commands" >&6;}
18947
17629
 ;;
18948
17630
  esac
18949
17631
 
18950
17632
 
18951
17633
  case $ac_file$ac_mode in
18952
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
18953
 
  # Strip MF so we end up with the name of the file.
18954
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
18955
 
  # Check whether this is an Automake generated Makefile or not.
18956
 
  # We used to match only the files named `Makefile.in', but
18957
 
  # some people rename them; so instead we look at the file content.
18958
 
  # Grep'ing the first line is not enough: some people post-process
18959
 
  # each Makefile.in and add a new line on top of each file to say so.
18960
 
  # Grep'ing the whole file is not good either: AIX grep has a line
18961
 
  # limit of 2048, but all sed's we know have understand at least 4000.
18962
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18963
 
    dirpart=`$as_dirname -- "$mf" ||
 
17634
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
17635
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
17636
  # are listed without --file.  Let's play safe and only enable the eval
 
17637
  # if we detect the quoting.
 
17638
  case $CONFIG_FILES in
 
17639
  *\'*) eval set x "$CONFIG_FILES" ;;
 
17640
  *)   set x $CONFIG_FILES ;;
 
17641
  esac
 
17642
  shift
 
17643
  for mf
 
17644
  do
 
17645
    # Strip MF so we end up with the name of the file.
 
17646
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
17647
    # Check whether this is an Automake generated Makefile or not.
 
17648
    # We used to match only the files named `Makefile.in', but
 
17649
    # some people rename them; so instead we look at the file content.
 
17650
    # Grep'ing the first line is not enough: some people post-process
 
17651
    # each Makefile.in and add a new line on top of each file to say so.
 
17652
    # Grep'ing the whole file is not good either: AIX grep has a line
 
17653
    # limit of 2048, but all sed's we know have understand at least 4000.
 
17654
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
17655
      dirpart=`$as_dirname -- "$mf" ||
18964
17656
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18965
17657
         X"$mf" : 'X\(//\)[^/]' \| \
18966
17658
         X"$mf" : 'X\(//\)$' \| \
18967
17659
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18968
 
echo X"$mf" |
 
17660
$as_echo X"$mf" |
18969
17661
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18970
17662
            s//\1/
18971
17663
            q
18983
17675
            q
18984
17676
          }
18985
17677
          s/.*/./; q'`
18986
 
  else
18987
 
    continue
18988
 
  fi
18989
 
  # Extract the definition of DEPDIR, am__include, and am__quote
18990
 
  # from the Makefile without running `make'.
18991
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18992
 
  test -z "$DEPDIR" && continue
18993
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
18994
 
  test -z "am__include" && continue
18995
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18996
 
  # When using ansi2knr, U may be empty or an underscore; expand it
18997
 
  U=`sed -n 's/^U = //p' < "$mf"`
18998
 
  # Find all dependency output files, they are included files with
18999
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
19000
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
19001
 
  # expansion.
19002
 
  for file in `sed -n "
19003
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19004
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
19005
 
    # Make sure the directory exists.
19006
 
    test -f "$dirpart/$file" && continue
19007
 
    fdir=`$as_dirname -- "$file" ||
 
17678
    else
 
17679
      continue
 
17680
    fi
 
17681
    # Extract the definition of DEPDIR, am__include, and am__quote
 
17682
    # from the Makefile without running `make'.
 
17683
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
17684
    test -z "$DEPDIR" && continue
 
17685
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
17686
    test -z "am__include" && continue
 
17687
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
17688
    # When using ansi2knr, U may be empty or an underscore; expand it
 
17689
    U=`sed -n 's/^U = //p' < "$mf"`
 
17690
    # Find all dependency output files, they are included files with
 
17691
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
17692
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
17693
    # expansion.
 
17694
    for file in `sed -n "
 
17695
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
17696
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
17697
      # Make sure the directory exists.
 
17698
      test -f "$dirpart/$file" && continue
 
17699
      fdir=`$as_dirname -- "$file" ||
19008
17700
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19009
17701
         X"$file" : 'X\(//\)[^/]' \| \
19010
17702
         X"$file" : 'X\(//\)$' \| \
19011
17703
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19012
 
echo X"$file" |
19013
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19014
 
            s//\1/
19015
 
            q
19016
 
          }
19017
 
          /^X\(\/\/\)[^/].*/{
19018
 
            s//\1/
19019
 
            q
19020
 
          }
19021
 
          /^X\(\/\/\)$/{
19022
 
            s//\1/
19023
 
            q
19024
 
          }
19025
 
          /^X\(\/\).*/{
19026
 
            s//\1/
19027
 
            q
19028
 
          }
19029
 
          s/.*/./; q'`
19030
 
    { as_dir=$dirpart/$fdir
19031
 
  case $as_dir in #(
19032
 
  -*) as_dir=./$as_dir;;
19033
 
  esac
19034
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
19035
 
    as_dirs=
19036
 
    while :; do
19037
 
      case $as_dir in #(
19038
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
19039
 
      *) as_qdir=$as_dir;;
19040
 
      esac
19041
 
      as_dirs="'$as_qdir' $as_dirs"
19042
 
      as_dir=`$as_dirname -- "$as_dir" ||
19043
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19044
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
19045
 
         X"$as_dir" : 'X\(//\)$' \| \
19046
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19047
 
echo X"$as_dir" |
19048
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19049
 
            s//\1/
19050
 
            q
19051
 
          }
19052
 
          /^X\(\/\/\)[^/].*/{
19053
 
            s//\1/
19054
 
            q
19055
 
          }
19056
 
          /^X\(\/\/\)$/{
19057
 
            s//\1/
19058
 
            q
19059
 
          }
19060
 
          /^X\(\/\).*/{
19061
 
            s//\1/
19062
 
            q
19063
 
          }
19064
 
          s/.*/./; q'`
19065
 
      test -d "$as_dir" && break
 
17704
$as_echo X"$file" |
 
17705
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
17706
            s//\1/
 
17707
            q
 
17708
          }
 
17709
          /^X\(\/\/\)[^/].*/{
 
17710
            s//\1/
 
17711
            q
 
17712
          }
 
17713
          /^X\(\/\/\)$/{
 
17714
            s//\1/
 
17715
            q
 
17716
          }
 
17717
          /^X\(\/\).*/{
 
17718
            s//\1/
 
17719
            q
 
17720
          }
 
17721
          s/.*/./; q'`
 
17722
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
17723
      # echo "creating $dirpart/$file"
 
17724
      echo '# dummy' > "$dirpart/$file"
19066
17725
    done
19067
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
19068
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
19069
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
19070
 
   { (exit 1); exit 1; }; }; }
19071
 
    # echo "creating $dirpart/$file"
19072
 
    echo '# dummy' > "$dirpart/$file"
19073
17726
  done
19074
 
done
 
17727
}
19075
17728
 ;;
19076
17729
    "libtool":C)
19077
17730
 
19195
17848
reload_flag=$lt_reload_flag
19196
17849
reload_cmds=$lt_reload_cmds
19197
17850
 
 
17851
# An object symbol dumper.
 
17852
OBJDUMP=$lt_OBJDUMP
 
17853
 
19198
17854
# Method to check whether dependent libraries are shared objects.
19199
17855
deplibs_check_method=$lt_deplibs_check_method
19200
17856
 
19877
18533
done # for ac_tag
19878
18534
 
19879
18535
 
19880
 
{ (exit 0); exit 0; }
 
18536
as_fn_exit 0
19881
18537
_ACEOF
19882
 
chmod +x $CONFIG_STATUS
19883
18538
ac_clean_files=$ac_clean_files_save
19884
18539
 
 
18540
test $ac_write_fail = 0 ||
 
18541
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
18542
 
19885
18543
 
19886
18544
# configure is writing to config.log, and then calls config.status.
19887
18545
# config.status does its own redirection, appending to config.log.
19901
18559
  exec 5>>config.log
19902
18560
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19903
18561
  # would make configure fail if this is the last instruction.
19904
 
  $ac_cs_success || { (exit 1); exit 1; }
 
18562
  $ac_cs_success || as_fn_exit $?
19905
18563
fi
19906
18564
 
19907
18565
#
19909
18567
#
19910
18568
if test "$no_recursion" != yes; then
19911
18569
 
19912
 
  # Remove --cache-file and --srcdir arguments so they do not pile up.
 
18570
  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
 
18571
  # so they do not pile up.
19913
18572
  ac_sub_configure_args=
19914
18573
  ac_prev=
19915
18574
  eval "set x $ac_configure_args"
19938
18597
      ac_prev=prefix ;;
19939
18598
    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
19940
18599
      ;;
 
18600
    --disable-option-checking)
 
18601
      ;;
19941
18602
    *)
19942
18603
      case $ac_arg in
19943
 
      *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
18604
      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
19944
18605
      esac
19945
 
      ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
 
18606
      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
19946
18607
    esac
19947
18608
  done
19948
18609
 
19950
18611
  # in subdir configurations.
19951
18612
  ac_arg="--prefix=$prefix"
19952
18613
  case $ac_arg in
19953
 
  *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
18614
  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
19954
18615
  esac
19955
18616
  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
19956
18617
 
19959
18620
    ac_sub_configure_args="--silent $ac_sub_configure_args"
19960
18621
  fi
19961
18622
 
 
18623
  # Always prepend --disable-option-checking to silence warnings, since
 
18624
  # different subdirs can have different --enable and --with options.
 
18625
  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
 
18626
 
19962
18627
  ac_popdir=`pwd`
19963
18628
  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
19964
18629
 
19967
18632
    test -d "$srcdir/$ac_dir" || continue
19968
18633
 
19969
18634
    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
19970
 
    echo "$as_me:$LINENO: $ac_msg" >&5
19971
 
    echo "$ac_msg" >&6
19972
 
    { as_dir="$ac_dir"
19973
 
  case $as_dir in #(
19974
 
  -*) as_dir=./$as_dir;;
19975
 
  esac
19976
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
19977
 
    as_dirs=
19978
 
    while :; do
19979
 
      case $as_dir in #(
19980
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
19981
 
      *) as_qdir=$as_dir;;
19982
 
      esac
19983
 
      as_dirs="'$as_qdir' $as_dirs"
19984
 
      as_dir=`$as_dirname -- "$as_dir" ||
19985
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19986
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
19987
 
         X"$as_dir" : 'X\(//\)$' \| \
19988
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19989
 
echo X"$as_dir" |
19990
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19991
 
            s//\1/
19992
 
            q
19993
 
          }
19994
 
          /^X\(\/\/\)[^/].*/{
19995
 
            s//\1/
19996
 
            q
19997
 
          }
19998
 
          /^X\(\/\/\)$/{
19999
 
            s//\1/
20000
 
            q
20001
 
          }
20002
 
          /^X\(\/\).*/{
20003
 
            s//\1/
20004
 
            q
20005
 
          }
20006
 
          s/.*/./; q'`
20007
 
      test -d "$as_dir" && break
20008
 
    done
20009
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
20010
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20011
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
20012
 
   { (exit 1); exit 1; }; }; }
 
18635
    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
 
18636
    $as_echo "$ac_msg" >&6
 
18637
    as_dir="$ac_dir"; as_fn_mkdir_p
20013
18638
    ac_builddir=.
20014
18639
 
20015
18640
case "$ac_dir" in
20016
18641
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20017
18642
*)
20018
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
18643
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20019
18644
  # A ".." for each directory in $ac_dir_suffix.
20020
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
18645
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20021
18646
  case $ac_top_builddir_sub in
20022
18647
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20023
18648
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20056
18681
      # This should be Cygnus configure.
20057
18682
      ac_sub_configure=$ac_aux_dir/configure
20058
18683
    else
20059
 
      { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
20060
 
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
 
18684
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
 
18685
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
20061
18686
      ac_sub_configure=
20062
18687
    fi
20063
18688
 
20070
18695
        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
20071
18696
      esac
20072
18697
 
20073
 
      { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
20074
 
echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
 
18698
      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
 
18699
$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
20075
18700
      # The eval makes quoting arguments work.
20076
18701
      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
20077
18702
           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
20078
 
        { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
20079
 
echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
20080
 
   { (exit 1); exit 1; }; }
 
18703
        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
20081
18704
    fi
20082
18705
 
20083
18706
    cd "$ac_popdir"
20084
18707
  done
20085
18708
fi
 
18709
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
18710
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
18711
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
18712
fi
20086
18713